CN108235427B - A method to measure Tof and Tdoa - Google Patents
A method to measure Tof and Tdoa Download PDFInfo
- Publication number
- CN108235427B CN108235427B CN201810121387.4A CN201810121387A CN108235427B CN 108235427 B CN108235427 B CN 108235427B CN 201810121387 A CN201810121387 A CN 201810121387A CN 108235427 B CN108235427 B CN 108235427B
- Authority
- CN
- China
- Prior art keywords
- node
- anchor node
- data packet
- label
- time
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W56/00—Synchronisation arrangements
- H04W56/001—Synchronization between nodes
- H04W56/0015—Synchronization between nodes one node acting as a reference for the others
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W24/00—Supervisory, monitoring or testing arrangements
- H04W24/08—Testing, supervising or monitoring using real traffic
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/02—Services making use of location information
- H04W4/023—Services making use of location information using mutual or relative location information between multiple location based services [LBS] targets or of distance thresholds
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
本发明涉及一种测量Tof和Tdoa的方法,发起通信主锚节点与标签节点的一次请求‑响应‑再响应式通信,在通信过程中进行以下操作:标签节点设定或测量接收请求数据包到发送响应数据包的时间、每个副锚节点测量接收通信主锚节点发送的请求数据包到接收标签节点发送的响应数据包的时间、每个副锚节点测量接收受通信主锚节点发送的请求数据包到接受通信主锚节点发送再响应请求数据包的时间。最后计算通信主锚节点到标签节点的传播时间和所述响应数据包从标签节点到副锚节点的传播时间、主锚节点发送两次请求数据包到副锚节点的时间差。本发明具有定位速度较快、定位成本低、定位精度较高的优点,尤其适合于室内定位系统中的无线网络中设备的定位。
The present invention relates to a method for measuring Tof and Tdoa, which initiates a request-response-re-response communication between a communication master anchor node and a label node, and performs the following operations in the communication process: label node sets or measures to receive request data packets to The time of sending the response data packet, each sub-anchor node measuring the time from receiving the request data packet sent by the communication main anchor node to receiving the response data packet sent by the label node, each sub-anchor node measuring and receiving the request sent by the communication main anchor node The time from the data packet to the time when the communication master anchor node sends and then responds to the request data packet. Finally, calculate the propagation time from the primary anchor node of the communication to the label node, the propagation time of the response data packet from the label node to the secondary anchor node, and the time difference between the primary anchor node sending two request packets to the secondary anchor node. The invention has the advantages of fast positioning speed, low positioning cost and high positioning accuracy, and is especially suitable for positioning equipment in wireless networks in indoor positioning systems.
Description
技术领域technical field
本发明涉及一种测量Tof和Tdoa的方法,尤其是一种为无线传感器网络的节点定位或者无线接入设备的节点定位提供技术基础的测量方法,属于信号检测技术领域。The invention relates to a method for measuring Tof and Tdoa, in particular to a measuring method which provides a technical basis for node positioning of wireless sensor networks or node positioning of wireless access equipment, and belongs to the technical field of signal detection.
背景技术Background technique
在日常生活、生产过程中常常需要测量无线设备的地理位置信息,测量的瞬时相位越准确,应用的效果往往更好。ToF测距方法属于双向测距技术,它主要利用信号在两个异步收发机之间往返的飞行时间来测量节点间的距离,则一个节点的定位需要多次Tof测量才能达到定位所需要的数据。不同于TOA,传统的TDOA(到达时间差)是通过检测信号到达两个基站的时间差,而不是到达的绝对时间来确定移动台的位置,定位过程中被定位节点只需要发送一次信息即可完成定位,但这也提高了对设备的时钟同步要求。已申请专利201710256773,主要通过使用通信主锚节点对通信主锚节点到标签的时间进行测量,需要在通信主锚节点、标签、副锚节点三个节点获取数据,相较于传统的Tof技术,虽然缩短了定位时间,但是对于测量的精准度会有所下降。因此,需要一种既能够缩短定位时间又能保证测量精准度的测量方法。In daily life and production processes, it is often necessary to measure the geographic location information of wireless devices. The more accurate the instantaneous phase measured is, the better the application effect is. The ToF ranging method is a two-way ranging technology. It mainly uses the flight time of the signal to and fro between two asynchronous transceivers to measure the distance between nodes. The positioning of a node requires multiple Tof measurements to achieve the data required for positioning. . Different from TOA, the traditional TDOA (Time Difference of Arrival) determines the position of the mobile station by detecting the time difference between the arrival of the signal to the two base stations, rather than the absolute time of arrival. During the positioning process, the positioned node only needs to send the information once to complete the positioning. , but this also increases the clock synchronization requirements for the device. The patent 201710256773 has been applied for, mainly by using the communication master anchor node to measure the time from the communication master anchor node to the label, it is necessary to obtain data from the three nodes of the communication master anchor node, the label and the sub-anchor node. Compared with the traditional Tof technology, Although the positioning time is shortened, the accuracy of the measurement will be reduced. Therefore, a measurement method that can not only shorten the positioning time but also ensure the measurement accuracy is required.
发明内容SUMMARY OF THE INVENTION
本发明的目的在于:针对现有技术存在的缺陷,提出一种测量Tof和Tdoa的方法,通过副锚节点接受两次请求数据包的时间来测量主锚节点到标签的时间,与现有技术相比,不仅能够缩短定位时间,降低系统冗余度;同时还能够减少测量数据的误差,保证测量精度。The purpose of the present invention is: in view of the defects existing in the prior art, a method for measuring Tof and Tdoa is proposed. In comparison, it can not only shorten the positioning time, but also reduce the system redundancy; at the same time, it can also reduce the error of the measurement data and ensure the measurement accuracy.
为了达到以上目的,本发明提供了一种测量Tof和Tdoa的方法,定位系统中包含需要定位的标签节点以及至少三个锚节点,所述锚节点包含至少一个通信主锚节点及至少两个副锚节点,所述通信主锚节点进行与标签节点的双向通信,副锚节点用来监听通信主锚节点和标签节点,包括以下步骤:In order to achieve the above objects, the present invention provides a method for measuring Tof and Tdoa. The positioning system includes a label node to be located and at least three anchor nodes, and the anchor nodes include at least one communication master anchor node and at least two secondary anchor nodes. An anchor node, the communication main anchor node performs two-way communication with the label node, and the sub-anchor node is used to monitor the communication main anchor node and the label node, including the following steps:
步骤1),选取与标签节点保持连接的一个锚节点作为通信主锚节点,其余锚节点作为副锚节,发起通信主锚节点与标签节点的一次请求-响应-再响应式通信:Step 1), select an anchor node that is connected to the label node as the main communication anchor node, and the other anchor nodes are used as secondary anchor nodes to initiate a request-response-re-response communication between the communication main anchor node and the label node:
步骤1.1),通信主锚节点发出请求数据包;Step 1.1), the communication master anchor node sends a request packet;
步骤1.2),标签节点与副锚节点接收通信主锚节点发出的请求数据包;Step 1.2), the label node and the secondary anchor node receive the request data packet sent by the communication main anchor node;
步骤1.3),标签节点发出响应数据包;Step 1.3), the label node sends a response packet;
步骤1.4),通信主锚节与和副锚节点接收标签节点发出的响应数据包;Step 1.4), the communication main anchor node and the sub-anchor node receive the response data packet sent by the label node;
步骤1.5),通信主锚节点发出再响应请求数据包;Step 1.5), the communication master anchor node sends out a re-response request data packet;
步骤1.6),标签节点与副锚节点接收通信主锚节点发出的再响应请求数据包;所述通信主锚节点发出的再响应请求数据包作为下一轮定位通信的请求数据包,再响应请求数据包内包含下一轮定位的标签地址;Step 1.6), the label node and the secondary anchor node receive the re-response request data packet sent by the communication main anchor node; the re-response request data packet sent by the communication main anchor node is used as the request data packet of the next round of positioning communication, and then responds to the request The data packet contains the label address of the next round of positioning;
步骤2),在通信主锚节点与标签节点的请求-响应-再响应式通信的过程中,标签节点对接收请求数据包到发送响应数据包的时间及发送响应数据包到接收来自通信主锚节点的再响应请求数据包的时间进行设定或测量;所述标签节点将其接收请求数据包到发送响应数据包的时间放置于响应数据包中,以方便副锚节点进行计算;当接收请求数据包到发送响应数据包的时间为设定值时,该设定值可以不经过网络传送;通信主锚节点对接收响应数据包到发送再响应数据包的时间进行设定或测量,所述通信主锚节点将其接收响应数据包到发送再响应数据包的时间放置于再响应数据包中,以方便副锚节点进行计算;当接收响应数据包到发送再响应数据包的时间为设定值时,该设定值可以不经过网络传送;Step 2), in the process of the request-response-re-response communication between the communication master anchor node and the label node, the label node is responsible for the time from receiving the request packet to sending the response packet and sending the response packet to receiving from the communication master anchor. The time of the node's re-response request packet is set or measured; the label node places the time from receiving the request packet to sending the response packet in the response packet, so as to facilitate the calculation of the secondary anchor node; when receiving the request When the time from the data packet to sending the response data packet is the set value, the set value may not be transmitted through the network; the communication master anchor node sets or measures the time from receiving the response data packet to sending the re-response data packet, the said The communication master anchor node places the time from receiving the response data packet to sending the re-response data packet in the re-response data packet to facilitate the calculation of the secondary anchor node; the time from receiving the response data packet to sending the re-response data packet is set When the value is set, the set value can not be transmitted through the network;
步骤3),在通信主锚节点与标签节点的请求-响应-再响应式通信的过程中,每个副锚节点对接收通信主锚节点发送的请求数据包到接收标签节点发送的响应数据包的时间及接收通信主锚节点发送的请求数据包到接收通信主锚节点发送的再响应请求数据包的时间进行测量;所述副锚节点在通信过程中仅接收通信主锚节点发送的两次请求数据包和标签节点发送的响应数据包,测量并记录接收通信主锚节点发送的两次请求数据包到接收标签节点发送的响应数据包的时间;Step 3), in the process of request-response-re-response communication between the communication main anchor node and the label node, each sub-anchor node receives the request data packet sent by the communication main anchor node to the response data packet sent by the label node. The time from receiving the request data packet sent by the communication master anchor node to the time of receiving the re-response request data packet sent by the communication master anchor node is measured; the secondary anchor node only receives twice the communication master anchor node during the communication process. The request data packet and the response data packet sent by the label node, measure and record the time from receiving the two request data packets sent by the communication master anchor node to receiving the response data packet sent by the label node;
步骤4),根据各个锚节点的地理坐标或各个锚节点之间的距离,计算通信主锚节点到标签节点的传播时间和响应数据包从标签到各个副锚节点的传播时间;Step 4), according to the geographical coordinates of each anchor node or the distance between each anchor node, calculate the propagation time of the communication main anchor node to the label node and the propagation time of the response data packet from the label to each sub-anchor node;
通信主锚节点到标签节点的传播时间的计算方法如下:The calculation method of the propagation time from the communication master anchor node to the label node is as follows:
通信主锚节点到标签节点的传播时间=(副锚节点接收通信主锚节点发送的请求数据包到接收通信主锚节点发送的再响应请求数据包的时间-标签节点接收请求数据包到发送响应数据包的时间-通信主锚节点接收响应数据包到发送再响应数据包的时间)/2;The propagation time from the communication master anchor node to the label node = (the time from the secondary anchor node receiving the request packet sent by the communication master anchor node to the time of receiving the re-response request packet sent by the communication master anchor node - the label node receiving the request packet to sending the response The time of the data packet - the time from the communication master anchor node receiving the response data packet to sending the re-response data packet)/2;
对于每个副锚节点,所述标签节点到副锚节点的传播时间的计算方法如下:For each sub-anchor node, the calculation method of the propagation time from the label node to the sub-anchor node is as follows:
步骤4.1),根据通信主锚节点、副锚节点的地理坐标或者通信主锚节点与副锚节点之间的距离,计算出副锚节点到通信主锚节点的传播时间;Step 4.1), according to the geographic coordinates of the communication main anchor node, the sub-anchor node or the distance between the communication main anchor node and the sub-anchor node, calculate the propagation time from the sub-anchor node to the communication main anchor node;
步骤4.2),标签节点到副锚节点的传播时间=副锚节点接收通信主锚节点发送的请求数据包到接收标签节点发送的响应数据包的时间+副锚节点到通信主锚节点的传播时间-通信主锚节点到标签节点的传播时间-标签节点接收请求数据包到发送响应数据包的时间;Step 4.2), the propagation time from the label node to the secondary anchor node = the time from when the secondary anchor node receives the request data packet sent by the communication main anchor node to the time it receives the response data packet sent by the label node + the propagation time from the secondary anchor node to the communication main anchor node - The propagation time from the communication master anchor node to the label node - the time from the label node receiving the request data packet to sending the response data packet;
同时生成所述标签节点发送的响应数据包到任意两个锚节点之间的传播时间差;其计算方法如下:At the same time, the propagation time difference between the response data packet sent by the label node and any two anchor nodes is generated; the calculation method is as follows:
对于涉及到的两个锚节点,分别获取标签节点到其的传播时间后进行作差。For the two anchor nodes involved, the difference is performed after obtaining the propagation time from the label node to it respectively.
优选地,采用以下方法解决各锚节点和标签节点的时钟稳定度问题:Preferably, the following methods are adopted to solve the clock stability problem of each anchor node and label node:
通信主锚节点周期性的发送一种广播数据包或者发送至少两次包含发送时间的广播数据包,标签节点或副锚节点根据接收的两个广播数据包的到达时间作如下计算:The communication master anchor node periodically sends a broadcast data packet or sends a broadcast data packet containing the sending time at least twice, and the label node or the secondary anchor node performs the following calculation according to the arrival time of the two received broadcast data packets:
频率比因子=标签节点或副锚节点接收的两个广播数据包的到达时间差/标签节点或副锚节点从两个广播数据包中提取的通信主锚节点的发送时间差;若标签节点对其接收请求数据包到发送响应数据包的时间进行设定,在设定数据基础上乘以所述频率比因子进行校正;Frequency ratio factor = the arrival time difference of two broadcast packets received by the label node or the secondary anchor node/the sending time difference of the main anchor node of the communication extracted by the label node or the secondary anchor node from the two broadcast data packets; if the label node receives it The time from the request data packet to the sending of the response data packet is set, and the set data is multiplied by the frequency ratio factor for correction;
若标签节点对其接收请求数据包到发送响应数据包的时间进行测量,在测量数据基础上除以所述频率比因子进行校正;If the label node measures the time from receiving the request data packet to sending the response data packet, it divides the measured data by the frequency ratio factor for correction;
副锚节点在测量时间参数时,在测量数据基础上除以所述频率比因子进行校正。When measuring the time parameter, the secondary anchor node divides the measured data by the frequency ratio factor for correction.
优选地,对测量的传播时间进行空气折射率、无线电波自由空间衰减、电路延迟和天线延迟的校正。Preferably, the measured travel times are corrected for air refractive index, radio wave free space attenuation, circuit delay and antenna delay.
本发明采用以上技术方案与现有技术相比,具有以下技术效果:Compared with the prior art, the present invention adopts the above technical scheme, and has the following technical effects:
1)传统的Tof技术在进行节点定位时需要进行多次Tof测量,繁琐冗余,而本发明采用的方法利用地理信息,仅需在通信主锚节点发送一次请求数据包、标签节点发送一次响应数据包,通信主锚节点再发送一次再响应请求数据包的情况下即可完成对所有锚节点和标签节点之间传播时间的采集与计算,大大缩短了定位时间。1) The traditional Tof technology needs to perform multiple Tof measurements when performing node positioning, which is cumbersome and redundant, and the method adopted in the present invention utilizes geographic information, and only needs to send a request packet once at the communication main anchor node, and the label node sends a response once Data packets, the communication master anchor node can complete the collection and calculation of the propagation time between all anchor nodes and label nodes when the communication master node sends the data packet again and responds to the request packet, which greatly shortens the positioning time.
2)传统的Tdoa技术在进行节点定位时需要严格的时钟同步,本发明采用的方法利用多一次发送数据包的方法解决了标签节点和通信主锚节点的时钟同步问题。对于副锚节点而言,利用已知通信主锚节点和副锚节点的固定位置,以及通信主锚节点的时钟频率比来可以解决副锚节点的时钟同步,此方法不需要严格的时钟同步就可以较为精确的测量。2) The traditional Tdoa technology requires strict clock synchronization during node positioning. The method adopted by the present invention solves the problem of clock synchronization between the label node and the communication master anchor node by using the method of sending data packets one more time. For the sub-anchor node, the clock synchronization of the sub-anchor node can be solved by using the fixed positions of the known communication main and sub-anchor nodes and the clock frequency ratio of the communication main-anchor node. This method does not require strict clock synchronization. can be measured more accurately.
附图说明Description of drawings
下面结合附图对本发明作进一步的说明。The present invention will be further described below in conjunction with the accompanying drawings.
图1是采用本发明对1个标签进行Tof和Tdoa测量的示意图。FIG. 1 is a schematic diagram of measuring Tof and Tdoa for one tag using the present invention.
图2是采用本发明对2个标签节点进行Tof和Tdoa测量的示意图。FIG. 2 is a schematic diagram of measuring Tof and Tdoa on two label nodes using the present invention.
具体实施方式Detailed ways
本实施例提供了一种在定位系统中测量Tof和Tdoa的方法,其中,定位系统中包含需要定位的标签节点以及至少三个锚节点。该锚节点包含至少一个与标签节点保持连接的通信主锚节点以及至少两个副锚节点。通信主锚节点进行与标签节点的双向通信,副锚节点在系统中起监听作用,用以监听通信主锚节点和标签节点。This embodiment provides a method for measuring Tof and Tdoa in a positioning system, wherein the positioning system includes a label node to be positioned and at least three anchor nodes. The anchor node includes at least one communication master anchor node that keeps connection with the label node and at least two secondary anchor nodes. The main communication anchor node performs two-way communication with the label node, and the sub-anchor node plays a monitoring role in the system to monitor the communication main anchor node and the label node.
图1为采用本发明对1个标签节点进行Tof和Tdoa测量的示意图,具体步骤如下:Fig. 1 is the schematic diagram that adopts the present invention to carry out Tof and Tdoa measurement to 1 label node, concrete steps are as follows:
通信主锚节点根据标签地址发起与标签的一次请求-响应-再响应式通信,即通信主锚节点发出请求数据包1,标签节点和各个副锚节点接收通信主锚节点发出的请求数据包1;其次,标签节点发出响应数据包2;再次,通信主锚节点和各个副锚节点接收标签节点发出的响应数据包2;之后,通信主节点发送再响应请求数据包3,该再响应请求数据包3也作为下一轮定位通信的请求数据包;最后,标签节点和各个副节点接收通信主节点发出的再响应请求数据包3。The communication master anchor node initiates a request-response-re-response communication with the tag according to the tag address, that is, the communication master anchor node sends a
在通信主锚节点与标签节点的请求-响应-再响应式通信的过程中,首先对标签节点接收请求数据包1到发送响应数据包2的时间(Treply1)和通信主锚节点接收来自标签节点的响应数据包到发送再响应请求数据包的时间(Treply2)进行测量,若Treply1与Treply2为设定值时,这两个数值可以不经过网络传送。In the process of request-response-re-response communication between the communication master anchor node and the label node, firstly, the time (T reply1) from the label node receiving the
对每个副锚节点i接收通信主锚节点发送的请求数据包到接收标签节点发送的响应数据包2的时间(Tdi),和每个副锚节点i接收通信主锚节点发送的请求数据包到接收通信主锚节点发送的再响应请求数据包3的时间(Ti)进行测量。For each secondary anchor node i receives the request data packet sent by the communication master anchor node to the time (T di ) from receiving the
i表示参与定位的第i个副锚节点,i≥2。图1只画了一个副锚节点,其他锚节点的处理方式同副锚节点i。i represents the i-th sub-anchor node participating in localization, i≥2. Figure 1 only draws one sub-anchor node, and other anchor nodes are processed in the same way as sub-anchor node i.
通信主锚节点到标签节点的传播时间的计算方法如下:The calculation method of the propagation time from the communication master anchor node to the label node is as follows:
通信主锚节点到标签节点的传播时间(Tp)=(副锚节点i接收通信主锚节点发送的请求数据包1到接收通信主锚节点发送的再响应请求数据包3的时间(Ti)-标签节点接收请求数据包1到发送响应数据包2的时间(Treply1)-通信主锚节点接收来自标签节点的响应数据包到发送二次请求数据包的时间(Treply2))/2。Propagation time from the communication master anchor node to the label node (T p ) = (the time from when the secondary anchor node i receives the
其中标签节点接收请求数据包1到发送响应数据包2的时间(Treply1)和标签节点发送响应数据包2到接收来自通讯主锚节点的再响应请求数据包3的时间(Tround2)由标签节点进行测量,当标签接收请求数据包到发送响应数据包的时间与通信主锚节点接收响应数据包到发送再响应数据包的时间两者均是设定值时,这两个数值可以不经过网络传送。The time between the label node receiving the
副锚节点i到标签节点的传播时间的计算方法如下:The calculation method of the propagation time from the sub-anchor node i to the label node is as follows:
由于副锚节点在通信的整个过程中只能接收通信主锚节点发送的两次请求数据包(分别为请求数据包1和再响应请求数据包3)和标签节点发送的响应数据包2,测量并记录接收通信主锚节点发送的前述两次请求数据包到接收标签节点发送的响应数据包2的时间。该时间与通信主锚节点和副锚节点之间距离折算的传播时间之和表示的是通信主锚节点发送请求数据包到副节点接收标签节点发送的响应数据包的时间,通信主锚节点发送请求数据包到副锚节点接收标签节点发送的响应数据包的时间可进一步分解为通信主锚节点到标签节点的传播时间、标签节点接收请求数据包到发送响应数据包的时间、标签节点到副锚节点的传播时间。通信主锚节点到标签节点的传播时间已经由副锚节点解算得出,标签节点接收请求数据包到发送响应数据包的时间是一个设定的时间(经过测量获得该时间),因此标签节点到副锚节点的传播时间也可以通过解算直接获取。Since the secondary anchor node can only receive two request packets (
由于通信主锚节点和副锚节点i的位置是固定的,因此可根据通信主锚节点和副锚节点i的地理坐标或者锚节点之间的距离,计算副锚节点i和通信主锚节点的传播时间。则副锚节点i到标签节点的传播时间(TPi)=副锚节点i接收通信主锚节点发送的请求数据包到接收标签节点发送的响应数据包的时间(Tdi)+由通信主锚节点和副锚节点i之间距离折算的传播时间(TCi)-通信主锚节点到标签节点的传播时间(Tp)-标签节点接收请求数据包到发送响应数据包的时间(Treply1)。Since the positions of the main communication anchor node and the sub-anchor node i are fixed, the distance between the sub-anchor node i and the main communication anchor node can be calculated according to the geographic coordinates of the main communication anchor node and the sub-anchor node i or the distance between the anchor nodes. propagation time. Then the propagation time from the secondary anchor node i to the label node (T Pi ) = the time from when the secondary anchor node i receives the request packet sent by the communication master anchor node to the time it receives the response packet sent by the label node (Tdi) + the communication master anchor node The propagation time (T Ci ) converted from the distance between the secondary anchor node i - the propagation time from the communication main anchor node to the label node (T p ) - the time from the label node receiving the request packet to sending the response data packet (T reply1 ).
其中通信主锚节点到标签节点的传播时间(Tp)以由副锚节点解算获取;标签节点接收请求数据包到发送响应数据包的时间(Treply1)由标签节点进行测量或者设定;通信主锚节点和副锚节点i之间距离折算的传播时间(TCi)由通信主锚节点、副锚节点i的地理坐标或者通信主锚节点、副锚节点i之间的距离计算获取;副锚节点i接收通信主锚节点发送的请求数据包到接收标签节点发送的响应数据包的时间(Tdi)由副锚节点i进行测量。Among them, the propagation time (T p ) from the communication main anchor node to the label node is calculated and obtained by the secondary anchor node; the time from the label node receiving the request data packet to the sending of the response data packet (T reply1 ) is measured or set by the label node; The distance-converted propagation time (T Ci ) between the communication main anchor node and the sub-anchor node i is obtained by calculating the geographic coordinates of the communication main anchor node and sub-anchor node i or the distance between the communication main anchor node and sub-anchor node i; The time (T di ) from the time when the secondary anchor node i receives the request data packet sent by the communication master anchor node to the time when it receives the response data packet sent by the label node is measured by the secondary anchor node i.
标签节点接收请求数据包到发送响应数据包的时间(Treply1)和通信主锚节点接收来自标签节点的响应数据包到发送再响应请求数据包的时间(Treply2)可以是一个互相约定的时间,或者标签节点根据自己实际的收发时间差,将该时间差放置在响应数据包中,以方便副锚节点进行相关计算。The time between the label node receiving the request data packet and sending the response data packet (T reply1 ) and the time from the communication master anchor node receiving the response data packet from the label node to sending the re-response request data packet (T reply2 ) can be a mutually agreed time , or the label node places the time difference in the response data packet according to its actual time difference between sending and receiving, so as to facilitate the relevant calculation of the secondary anchor node.
由上述步骤获取的锚节点到标签节点之间的传播时间,选取任意两个锚节点的锚节点到标签节点的传播时间,进行减法操作即可生成所述标签节点到任意两个锚节点之间的传播时间差。From the propagation time between the anchor node and the label node obtained in the above steps, select the propagation time from the anchor node of any two anchor nodes to the label node, and perform a subtraction operation to generate the label node to any two anchor nodes. propagation time difference.
获取上述锚节点的坐标以及所述信号从标签节点到锚节点的传播时间和/或从标签节点到锚节点的传播时间差的统计信息,采用TOF、TDOA、TOF/TDOA混合算法确定标签的最终位置估计值。Obtain the coordinates of the anchor node and the statistical information of the propagation time of the signal from the label node to the anchor node and/or the propagation time difference from the label node to the anchor node, and use TOF, TDOA, TOF/TDOA hybrid algorithm to determine the final position of the label estimated value.
通信中标签节点具有表明其唯一身份的标签地址,通信主锚节点在其发送的请求数据包1或3内包含标签地址、一组标签地址或广播地址,标签节点根据所述请求数据包1或3内包含的标签地址、一组标签地址或广播地址来确认是否进行响应以及在何时进行响应,即通过所述标签地址来确认系统中的单个标签节点或系统中的多标签节点。In the communication, the label node has a label address that indicates its unique identity. The communication master anchor node contains the label address, a group of label addresses or broadcast addresses in the
对于标签节点或者副锚节点而言,其时钟稳定度可以利用频率比解决。其方法如下:For a label node or a sub-anchor node, its clock stability can be solved by using the frequency ratio. The method is as follows:
通信主锚节点周期性的发送一种广播数据包或者发送至少两次包含发送时间的广播数据包,标签或副锚节点根据接收的两个广播数据包的到达时间作如下计算:The communication master anchor node periodically sends a broadcast data packet or sends a broadcast data packet containing the sending time at least twice, and the tag or secondary anchor node calculates the following according to the arrival time of the two received broadcast data packets:
频率比因子=标签节点或副锚节点接收的两个广播数据包的到达时间差/标签或副锚节点从两个广播数据包中提取的通信主锚节点的发送时间差。Frequency ratio factor=arrival time difference of two broadcast data packets received by the label node or secondary anchor node/transmission time difference of the communication master anchor node extracted by the label or secondary anchor node from the two broadcast data packets.
若标签节点对其接收请求数据包到发送响应数据包的时间进行设定,在设定数据基础上乘所述频率比因子进行校正;If the label node sets the time from receiving the request data packet to sending the response data packet, it is corrected by multiplying the frequency ratio factor on the basis of the set data;
若标签节点对其接收请求数据包到发送响应数据包的时间进行测量,在测量数据基础上除所述频率比因子进行校正;If the label node measures the time from receiving the request data packet to sending the response data packet, it divides the frequency ratio factor on the basis of the measurement data for correction;
副锚节点在测量时间参数时,在测量数据基础上除所述频率比因子进行校正。When the secondary anchor node measures the time parameter, it divides the frequency ratio factor on the basis of the measurement data for correction.
校正行为可以在服务器上进行。Corrective actions can be performed on the server.
优选方案是各模块采用高精度时钟而无需计算频率比。The preferred solution is that each module uses a high-precision clock without calculating the frequency ratio.
由于射频芯片产生的输出的射频信号会经过放大电路、天线进入媒体,从媒体接收的射频信号会经过天线、调理电路后进入射频芯片,而信号在电路和天线中的传播需要时间,对测量结果进行电路延迟和天线延迟的校正可获得更为准确的测量结果。Since the output radio frequency signal generated by the radio frequency chip will enter the medium through the amplifier circuit and antenna, and the radio frequency signal received from the medium will enter the radio frequency chip after passing through the antenna and conditioning circuit, and the propagation of the signal in the circuit and the antenna takes time, and the measurement results Correcting for circuit delay and antenna delay results in more accurate measurements.
图2是采用本发明对2个标签节点进行Tof和Tdoa测量的示意图,具体过程不再赘述。FIG. 2 is a schematic diagram of measuring Tof and Tdoa on two label nodes using the present invention, and the specific process will not be repeated.
传统的以Tof为基础的定位技术由于采用多次测距而造成定位时间长的缺点,传统的Tdoa为基础的定位技术由于需要高精度的时钟而造成定位成本高昂的缺点。The traditional Tof-based positioning technology has the disadvantage of long positioning time due to the use of multiple ranging, and the traditional Tdoa-based positioning technology has the disadvantage of high positioning cost due to the need for a high-precision clock.
除上述实施例外,本发明还可以有其他实施方式。凡采用等同替换或等效变换形成的技术方案,均落在本发明要求的保护范围。In addition to the above-described embodiments, the present invention may also have other embodiments. All technical solutions formed by equivalent replacement or equivalent transformation fall within the protection scope of the present invention.
Claims (3)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810121387.4A CN108235427B (en) | 2018-02-07 | 2018-02-07 | A method to measure Tof and Tdoa |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810121387.4A CN108235427B (en) | 2018-02-07 | 2018-02-07 | A method to measure Tof and Tdoa |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108235427A CN108235427A (en) | 2018-06-29 |
CN108235427B true CN108235427B (en) | 2020-12-15 |
Family
ID=62670697
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810121387.4A Active CN108235427B (en) | 2018-02-07 | 2018-02-07 | A method to measure Tof and Tdoa |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108235427B (en) |
Families Citing this family (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110730413A (en) * | 2018-06-29 | 2020-01-24 | 阿里巴巴集团控股有限公司 | Terminal positioning method and device |
CN109109744B (en) * | 2018-07-27 | 2020-12-01 | 上海理工大学 | A system and arrangement method for displaying missing images |
CN108919960B (en) * | 2018-07-27 | 2020-12-25 | 上海理工大学 | System for displaying missing image |
CN109109745B (en) * | 2018-07-27 | 2020-12-25 | 上海理工大学 | System for displaying missing image |
CN108965644B (en) * | 2018-07-27 | 2020-12-01 | 上海理工大学 | A system and arrangement method for displaying missing images |
CN108834071A (en) * | 2018-09-12 | 2018-11-16 | 西安维德汇通工业自动化有限公司 | A method of positioning Wireless-wire message is merged based on TOF/TDOA |
CN110850367B (en) * | 2019-11-14 | 2024-11-29 | 南京邮电大学 | Method for measuring air refractive index and crystal vibration actual frequency in positioning system and applying method to distance measurement |
CN110850368B (en) * | 2019-11-14 | 2024-01-23 | 南京邮电大学 | Method for measuring error coefficient in positioning system and applying to distance measurement |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103220781A (en) * | 2013-04-24 | 2013-07-24 | 哈尔滨工业大学深圳研究生院 | Method and system of locating wireless sensor network static target |
CN103344955A (en) * | 2013-06-13 | 2013-10-09 | 常州大学 | Wireless ranging node and wireless ranging method |
WO2017048779A1 (en) * | 2015-09-14 | 2017-03-23 | Red Point Positioning Corporation | Method to estimate and compensate for nlos bias in time difference of arrival estimate |
CN106954188A (en) * | 2017-04-19 | 2017-07-14 | 南京邮电大学 | A method for measuring Tof and Tdoa in a positioning system |
Family Cites Families (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7843848B2 (en) * | 2006-10-31 | 2010-11-30 | Freescale Semiconductor, Inc. | Methods and apparatus for round trip time measurements |
CN100596363C (en) * | 2007-05-31 | 2010-03-31 | 北京泛亚创知科技发展有限公司 | Distance-finding method between center node and equipment node in beacon wireless personal area network |
US8700924B2 (en) * | 2008-05-21 | 2014-04-15 | International Electronic Machines Corp. | Modular sensor node and communications system |
CN101742262B (en) * | 2009-12-25 | 2015-01-07 | 北京智慧图科技发展有限责任公司 | Indoor positioning method and device |
CN103686991A (en) * | 2012-09-06 | 2014-03-26 | 中国人民解放军信息工程大学 | A method and device for realizing wireless sensor network node positioning |
CN104345296A (en) * | 2014-10-16 | 2015-02-11 | 林伟 | Method for label to actively send signals to anchoring nodes for realizing positioning |
CN104602340A (en) * | 2014-12-31 | 2015-05-06 | 深圳市科松电子有限公司 | Positioning system and method based on ultra-wide band technology |
US9681267B2 (en) * | 2015-06-24 | 2017-06-13 | Apple Inc. | Positioning techniques for narrowband wireless signals under dense multipath conditions |
CN107580295A (en) * | 2017-08-24 | 2018-01-12 | 中国电子科技集团公司第五十四研究所 | Trilateration localization method with optimum choice is propagated based on minimal error |
-
2018
- 2018-02-07 CN CN201810121387.4A patent/CN108235427B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103220781A (en) * | 2013-04-24 | 2013-07-24 | 哈尔滨工业大学深圳研究生院 | Method and system of locating wireless sensor network static target |
CN103344955A (en) * | 2013-06-13 | 2013-10-09 | 常州大学 | Wireless ranging node and wireless ranging method |
WO2017048779A1 (en) * | 2015-09-14 | 2017-03-23 | Red Point Positioning Corporation | Method to estimate and compensate for nlos bias in time difference of arrival estimate |
CN106954188A (en) * | 2017-04-19 | 2017-07-14 | 南京邮电大学 | A method for measuring Tof and Tdoa in a positioning system |
Also Published As
Publication number | Publication date |
---|---|
CN108235427A (en) | 2018-06-29 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108235427B (en) | A method to measure Tof and Tdoa | |
CN106954188B (en) | A method for measuring Tof and Tdoa in a positioning system | |
CN103118333B (en) | Similarity based wireless sensor network mobile node positioning method | |
CN110099354A (en) | A kind of ultra-wideband communications two-dimensional location method of combination TDOA and TOF | |
CN101835259B (en) | Wireless sensor network node positioning method based on distance assistance | |
CN100512516C (en) | Method for positioning moving platform | |
CN105898865B (en) | Co-localization method based on EKF and PF under nonlinear non-Gaussian conditions | |
CN103476116B (en) | The anti-NLoS error location method merged based on positioning unit quality and many algorithm data | |
CN103096464B (en) | Single base station user method of locating terminal and system | |
CN110856106A (en) | Indoor high-precision three-dimensional positioning method based on UWB and barometer | |
CN103209474B (en) | Method, location-server and the serving BS of a kind of mobile terminal location | |
CN108112071A (en) | Localization method, locating base station, location-server and alignment system | |
CN108333558B (en) | Method for rapidly measuring Tof and Tdoa in indoor positioning system | |
CN105137391B (en) | CSS accurate positioning methods based on TDOA | |
CN107708202B (en) | DV-Hop-based wireless sensor network node positioning method | |
CN103513229A (en) | Positioning method based on WIFI signal | |
WO2013086393A1 (en) | Positioning technique for wireless communication system | |
CN108872936A (en) | A kind of terminal device three dimension location method based on LoRa | |
CN103152824A (en) | Positioning method of node in wireless sensor network | |
CN102395198A (en) | Signal intensity-based node positioning method and device for wireless sensing network | |
CN111157943B (en) | TOA-Based Sensor Position Error Suppression in Asynchronous Networks | |
CN110850364B (en) | A UWB Positioning Method to Eliminate Antenna Delay Error | |
CN105848288A (en) | Wireless positioning method of mobile communication system based on distributed antenna elements | |
CN108093474B (en) | Method and system for indoor positioning using virtual time synchronization | |
CN114900888A (en) | Arrival angle positioning method and system of Bluetooth terminal |
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 | ||
CB02 | Change of applicant information | ||
CB02 | Change of applicant information |
Address after: 210003 Gulou District, Jiangsu, Nanjing new model road, No. 66 Applicant after: NANJING University OF POSTS AND TELECOMMUNICATIONS Address before: 210023 Jiangsu city of Nanjing province Ya Dong new Yuen Road No. 9 Applicant before: NANJING University OF POSTS AND TELECOMMUNICATIONS |
|
GR01 | Patent grant | ||
GR01 | Patent grant |