I Introduction
The ability to locate a device’s position is highly valuable in our modern and connected world. A considerable amount of research has therefore been conducted on that field, most recently in particular in the area of tof based positioning. In a typical tof setup, radio signals are used to estimate distances between so called Anchor and Tag nodes. Anchors have known positions and
Tags are to be located. There are two main approaches in tof, which lead to different solving algorithms. The first one is toa which measures the sending and receiving time of a signal and is using these values to calculate a distance between two devices. For instance, in a 2D space the distances of one Tag to three Anchors are required to locate the Tag with multilateration algorithms [1]. In toa the time of signal transmission as well as time of arrival has to be measured. In this basic version, all Anchors and Tags need to have synchronized clocks to perform the measurement.
The second approach is tdoa which measures the difference of signal arrivals. For instance, in a 2D space a signal sent from a Tag which is arriving at three different Anchors can be located by hyperbolic solver algorithms [2]. tdoa approaches do not require the time of signal transmission. Only the differences of the arrival times of the signal at the Anchors need to be known. Unlike the toa case, this requires the Anchors to be synchronized among each other. No synchronization between Anchors and Tag is needed.
To have synchronized clocks is a considerable infrastructure requirement and, therefore, alternative methods to do synchronization-less toa and tdoa have been developed [3, 4, 5, 6, 7]. Moreover, the fact that some of these methods work with radio waves, some with ultrasound is posing different requirements on the tolerable clock accuracy. The goal of this work is to analyze the relevant toa and tdoa methods from the field of synchronization-less tof. To achieve this, an error model is defined and applied to the approaches in order compare them against each other and to point out commonalities and differences.
Ii Unified Error Model
Our error model is inspired by the works of Neirynck et al. [8] and Tschirschnitz and Wagner [6]. We adopt and optimize their underlying principle to make it applicable to the methods we assess in this paper.
Ii-a Clock Drift and Synchronization
Every clock contains imperfections, making it run at an inconstant rate. No existing clock is able to keep the perfect time [9]. Since tof-based methods rely on the measurements of signals propagating with high speeds such as the speed of sound or the speed of light (), clock imperfections make the runtime measurements inaccurate.
To reach a better understanding of clock errors, their deviation is typically described in the parts-per notation which is in the following in the order of magnitude of millions, hence ppm [10]. The parts-per notation specify the ratio of how many clock ticks the current clock-value is expected to deviate from the real time. As notation for the rest of this paper we introduce the symbol of to describe the clock error of device or oscillator . For quartz oscillators a typical value for is ppm as defined in IEEE802.15.4 [11].
The current time of device can therefore be expressed as:
is the ideal, error-free clock counter value and is the error-affected counterpart.
Since in this paper we focus on tof, which implies measurement of propagation of radio waves, clock counter precision needs to be below nanoseconds. For instance, ns corresponds to m of signal propagating with the speed of light.
A typical assumption in the field of tof is that the drift of a specific clock is constant to allow measurements with the same clock error for some time [8].
Ii-B Measurement Errors and Multipath
The accuracy of time of flight measurements can be affected by additional error factors. The two most relevant factors are nlos errors and multipath-propagation effects.
Multipath-Propagation Effect
The multipath-effect describes the fact that electromagnetic signals can reach a receiver on multiple paths. They can be reflected by walls or other obstacles for instance. As a consequence, a measured signal propagation time is not always that of the shortest possible path between the emitter and the receiver. However, for accurate distance measurements, the identification of the direct signal path, the so called primary signal is essential.
nlos Error
nlos errors occur if the direct path between a sender and a receiver is blocked by a material with different propagation properties than for example air. The signal traveling on the direct path between sender and receiver goes through the obstacle before reaching the antenna of the receiver. The obstacle changes the propagation speed.
As a consequence of having such material changes in real-world settings, it is impossible to make accurate assumptions about the signals traveling speed between the sender and the receiver. Moreover, nlos scenarios make the identification of the primary signal under multipath-propagation harder.
Though the previously described problems have high relevance, we assume in the following los scenarios where the measurement errors can be neglected.
A more detailed description and analysis of those effects can be found in [12].
Iii Time of Arrival
Having defined this error-model we can now apply it to the relevant tof methods from the state of the art. We will group the analyzed methods into toa and tdoa, beginning with the former one.
Iii-a Simple Time-of-Arrival
The simplest tof setup imaginable would be the one of simple Time-of-Arrival (simple-toa). Simple-toa consists of two devices and between which one signal is exchanged (compare Fig. 1). This signal sent by is timestamped (using
s clock) at the moment of transmission as well as when it is received at
(using s clock). If we now consider for a moment the synchronization between the devices clocks to be perfect, the difference between and s timestamps would resemble the exact tof between both.(1) |
Then the distance between both could be calculated as:
(2) |
Problems arise if we now reconsider the calculation under the assumption that synchronization is not provided and also when considering the presence of clock drift effects (like described in Section II-A). For example, even if we assume to have both clocks to be synchronized at one distinct moment (), the error would then accumulate from that moment on. We can calculate that worst-case error in the final distance estimate using our clock error model (Section II).
Like in (II-A) we define a clock error model:
Based on these erroneous timestamps and using (1) and (2) we then define the erroneous toa () and distance value () as:
Consequently, we define the difference between the erroneous and error-free value as the error.
Moreover, using the fact that we can substitute :
And since ( is in order of magnitude of nanoseconds) in almost all realistic scenarios, we get the approximation:
When assuming the default clock drift of ppm the worst value can take on is . So the worst-case error introduced can be estimated as:
Therefore we expect an worst case error of meters for every second elapsed on on from the moment of the last synchronization until the moment the measurement took place. This effect would without question, render such a system for almost all applications unusable.
Iii-B Two-Way-Ranging
A first simple solution to compensate the missing synchronization between devices is the concept of twr as determined in IEEE802.15.4 described in [13]. twr systems include two devices and , that are communicating bi-directional to measure a round-trip-time. This concept is simply described by sending a message at to (received at ) which gets then acknowledged after a fixed and known delay at time (sent from ). That acknowledgment arrives back at device at . According to [13], can now calculate the tof as follows:
(3) |
with and (comp. Fig. 2)
This method is expected to be better conditioned since we do not rely on the clocks being synchronized at the beginning of the measurement. Therefore the error should not accumulate in the same way as in simple toa (Section III-A). This intuition is now substantiated. Similar as in Section (II-A) we define an erroneous model for the here relevant values:
(4) | ||||
(5) |
And by using (3) we can define:
Again the difference between erroneous and error-free value states the error.
Using the fact that it follows:
And since in realistic scenarios, we get the approximation:
With clock-drift-error the worst value can take on is , so the worst case error introduced can be calculated as:
We observe that the clock error is only affecting the measurement during (on both clocks) and does not accumulate over the whole operation time. Nevertheless, we still consider the system too error prone in most cases since even a of one millisecond causes already six meters of error. A similar analysis is shown in [11, D1.3.1].
Iii-C Double-Sided Two-Way-Ranging
Iii-C1 Concept
To reduce the influence of drift-error in twr, a new method called ds-twr is proposed. This method is described and defined in the IEEE 802.15.4 standard [11, D1.3.2]. They suggested adding a third message to the scheme as depicted in Fig. 3. Using this method the respectively can (in the ideal case) be calculated as follows from Hach [3]:
(6) |
(7) |
Similar to the previous method we can also calculate the error margin. First, we create a clock error model for this method like in (II-A):
(8) |
And by using (6) and (7) we derive:
Again the difference between erroneous and error-free value states the error.
We then add and subtract to the inner brackets respectively :
And since as well as we can substitute those:
is in order of magnitude of nanoseconds and multiplied with a ppm value, so it follows that the second term is in sub-picosecond order of magnitude. Even under multiplication with the large value of , this would leave that part of the term as not significant for our accuracy requirements. Therefore only the first part of the term is relevant to us:
Again assuming ppm as drift error (comp. Section II-A), the worst case value can then be calculated:
Where can take on the value in the worst case. So as long as the difference is relatively small, we can assume a very low error.
In the following, we denote this method as sds-twr. With this method, it is at least in theory, possible to eliminate the drift error completely by selecting and to be identical. However, this is, in reality not possible (e.g. due to inaccuracy of scheduling sending time). To remove this requirement, the asymmetric approach was developed.
Iii-C2 Asymmetric Formula
Keeping the difference small is not always possible or desired (for instance through technical limitations of the measuring/processing device). To address those restrictions, Neirynck et al. [8] developed a different (asymmetric) formula for the same scheme:
(9) | ||||
(10) | ||||
(11) |
Using (comp. Fig. 3)
(12) |
When this adjusted formula is applied, we refer to the method as asym-ds-twr. The formula is in the following proven to be more resilient to differences between and .
Using the same clock error model as for the symmetric solution (8) and applying it to (9) we define:
And equivalently using (10) we derive:
With (11) it follows the definition:
(13) |
The difference between erroneous and error-free value states the absolute error.
and | |||
Like in (12) we can combine those:
So in the worst case we can assume to have an error of which is non-significant in almost all cases. This is achieved without having similar and . It is important to note that we assumed a constant clock drift during the time of measurement in our clock-model (II-A) .
Iv Time Difference of Arrival
Beside the toa methods described there is the group of tdoa-based methods.
In contrast to toa, tdoa methods have less strict device capability requirements. For example, some of the following methods allow to position Tags which are not actively responding in reaction to the Anchors’ signals, while some methods allow the Anchor network to stay silent (no transmission) during positioning. A few beneficial features resulting from that are for instance the possibility to increase the number of Nodes that are simultaneously positioned or the ability to position devices without their knowledge or devices which are incapable of measuring time.
The difference between toa and tdoa becomes clear when looking at an example for a simplified version of a tdoa method.
Iv-a Simple TDoA
Simple-tdoa is a method in which we do not measure the tof between two devices. Instead, we measure the difference in distances/time between each of two devices and to one device (comp. Fig. 4). This value is called a Time-Difference-of-Arrival- or short tdoa-value and is in this document denoted as .
The mathematical definition of this tdoa value is:
The simplest setup in which we would effectively gather that value would consist of three perfectly synchronized and drift-free devices from which transmits a message at a time , and the signal arrives at at time , and at at time as depicted in Fig. 5
We can then calculate:
(14) |
The transmitting device is here interpreted as Tag while and are operating as Anchors. Multiple such measurements on additional Anchor devices (with known positions), in relation to the same Tag, would allow to apply hyperbolic solver algorithms like Chan and Ho [2] to determine the Tags position.
When calculating the error of this setup we have to assume that since the last perfect synchronization (), drift effects have been accumulated by the individual clocks.
As with toa methods previously we now primarily define our erroneous model like in (II-A):
And using (14):
Again the difference between erroneous and error-free value states the error.
Using the fact that we can write
And since is in order of magnitude of nanoseconds and is multiplied with a ppm value the second part of the term is in sub-picosecond order of magnitude. Therefore only the first part of the term appears to be relevant, and we can approximate it with:
(15) |
That means that we have to assume a worst-case error of . Which makes the method already after a short time of operation unusable for realistic scenarios.
Iv-B Whistle
To resolve that issue of fast degrading synchronization. Xu et al. [5] proposed a method called Whistle. Whistle tries to reduce the timespan in which the synchronization drift can occur. That is achieved by adding another signal into the simple tdoa scheme as shown in Fig. 6
This additional message exchange between and can be interpreted as a form of “resynchronization” between both devices. According to Xu et al. [5] the tdoa value between those devices can now be calculated by:
(16) |
The Anchor that is replying (here ) is called Mirror. Note that we require that the distance between the Mirror and the other Anchor devices is known.
Now we calculate the error resulting from this improved protocol. First, we define the erroneous model like in (II-A):
Then using (16):
Again the difference between erroneous and error-free value states the error.
And using the fact that it follows:
and are in order of magnitude of nanoseconds. And since those are multiplied with a ppm value in the first part of the term, that part of the term is in sub-picosecond order of magnitude. Therefore only the second part of the term is relevant.
(17) |
Assuming the same realistic worst case drift values as previously we end up with a worst-case error estimate of . This is an improvement compared to the simple tdoa method since the error is not dependent on synchronized clocks and is therefore also not accumulating. On the other hand, a typical value for is one millisecond which leads already to nanoseconds meters of error. This approach is therefore not practically usable with radio platforms that operate with industry standard clocks.
Iv-C Djaja-Josko-Kolakowski Method
A method combining the benefits of sds-twr and Whistle was proposed by Djaja-Josko and Kolakowski [7], and therefore we refer to it as djkm.
The essential idea of djkm is to execute an optimized version of sds-twr in a group of Anchor devices. While doing so, it is possible for eavesdropping Tags to collect tdoa information to those Anchors. To simplify the explanation of the method the sequence diagram Fig. 7 was reduced to two Anchors (one of them could be interpreted as “acting Mirror”) and a single Tag. For details about the interaction between more than two Anchors we refer to the original paper [7].
The authors derived the following formula to calculate the tdoa values:
(18) |
It is important to note that Tag is only in receiving mode which is an essential functional difference to Whistle where the Tag is at all times in transmit mode only. Moreover, when comparing djkms tdoa calculation with the one from Whistle (16) and comparing the modes of operation of Anchors and Tags between both method djkm appears to us like an “inverse Whistle” method. Especially in uwb it is common that transmission operations use significantly less energy than receiving (comp. [14, Sct 7.2]), so for battery driven Tag devices the Whistle approach is consuming less energy.
Now we demonstrate that the worst-case error for djkm is identical to Whistle. Again we first define the erroneous model like in (II-A):
Using (18)
The difference between erroneous and error-free value states the error.
Using the fact that :
For the same reason we described in Whistle (IV-B) we can neglect the first part as not significant and so approximate the term with.
(19) |
When choosing worst-case epsilons, we end up with the worst case estimate . That is identical to the estimate for Whistle.
Djaja-Josko and Kolakowski [7] also point out that their scheme simultaneously allows for the calculation of sds-twr values between certain Anchors in the ranging scheme.
Iv-D Double-Pulsed-Whistle
We have shown that the tdoa values of djkm have a similar error as Whistle. That means that all described methods of synchronization-free tdoa are still prone to clock-drift errors on a scale too large for most radio-based applications. To circumvent these problems with tdoa and to make the methods more applicable in practice a new approach was proposed by Tschirschnitz and Wagner [6]. This method called dpw introduces a second pulse to the known Whistle scheme and uses symmetries to reduce the clock error significantly. The error reduction uses similar effects like the methods of DS-twr. The transmission scheme is displayed in Fig. 8.
Clock-Drift induced Error | Anchor Nodes | Tag Nodes | |
---|---|---|---|
Simple toa ((III-A)) | RX | TX | |
twr (III-B) | TX + RX | TX + RX | |
sds-twr (III-C) | TX + RX | TX + RX | |
Asym-DS-twr (III-C2) | TX + RX | TX + RX | |
Simple TDOA (IV-A) | RX | TX | |
Whistle (IV-B) | RX + one TX | TX | |
djkm (IV-C) | RX + TX | RX | |
DP-Whistle (IV-D) | RX + one TX | TX |
Using the findings from Tschirschnitz and Wagner [6] the tdoa value can then be calculated as follows:
(20) | ||||
(21) |
Using we conclude:
(22) |
Again we use the same erroneous clock model as in (8) conforming to our model design in (II-A) to define the erronous timespans (). Then applying it to (20) we define:
And equivalently using (21) we derive:
We transform the term with denominator :
Adding and subtracting to the term brings:
Then substituting with (20) delivers:
The difference between the erroneous and error-free value is the error:
The fact that justifies the last step here. That is true since the tdoa () can never grow larger than the distance between the measuring Anchor pair ().
Equivalently we can apply this to the term with the divisor :
Combining the two fraction like in (22) we end up with:
(23) |
We observe that the error is now only depending on the distance value which is in order of nanoseconds for typical positioning setups. We further multiply it with ’s which are in magnitudes of ppm. That means that the error is in no significant magnitudes.
V Summary and Conclusion
In the Table I all of the methods described in this paper are listed. Their worst-case clock-error and the required device capabilities for Anchors and Tags are listed for each method. For better comparison of the worst-case clock-drift errors the methods are divided into toa and tdoa methods. On the right, the interface requirements for Anchor- and Tag-Nodes are noted for each method.
The table reiterates that all methods which use double-pulses like dpw and asym-ds-twr are much more robust against clock errors. Especially for radio based tof methods like UWB it is important to reduce these error sources because the contributions of the clock error in Whistle and djkm could significantly distort the result.
In future work, approaches like djkm can be extended to incorporate the Double-Pulse similar to the transition from Whistle to dpw. This would keep the advantages of djkm like allowing unlimited number of Tags with the advantages of high robustness against clock errors.
This approach is related to our efforts in designing Double Pulsed Positioning [15] a novel infrastructure-less and synchronisation-free tof method.
References
- Murphy and Hereman [1995] W. Murphy and W. Hereman, “Determination of a position in three dimensions using trilateration and approximate distances,” Department of Mathematical and Computer Sciences, Colorado School of Mines, Golden, Colorado, MCS-95, vol. 7, p. 19, 1995.
- Chan and Ho [1994] Y. T. Chan and K. C. Ho, “A simple and efficient estimator for hyperbolic location,” IEEE Transactions on Signal Processing, vol. 42, no. 8, pp. 1905–1915, 8 1994.
- Hach [2005] R. Hach, “Symmetric double side two way ranging,” IEEE 802.15 WPAN Documents, 15-05-0334-r00, 2005.
- Sahinoglu and Gezici [2006] Z. Sahinoglu and S. Gezici, “Ranging in the ieee 802.15.4a standard,” in 2006 IEEE Annual Wireless and Microwave Technology Conference, 12 2006, pp. 1–5.
- Xu et al. [2011] B. Xu, R. Yu, G. Sun, and Z. Yang, “Whistle: Synchronization-free tdoa for localization,” in 2011 31st International Conference on Distributed Computing Systems, 6 2011, pp. 760–769.
- Tschirschnitz and Wagner [2018] M. V. Tschirschnitz and M. Wagner, “Synchronization-free and low power tdoa for radio based indoor positioning,” in 2018 International Conference on Indoor Positioning and Indoor Navigation (IPIN), 9 2018, pp. 1–4.
- Djaja-Josko and Kolakowski [2016] V. Djaja-Josko and J. Kolakowski, “A new transmission scheme for wireless synchronization and clock errors reduction in uwb positioning system,” 2016 International Conference on Indoor Positioning and Indoor Navigation (IPIN), pp. 1–6, 2016.
- Neirynck et al. [2016] D. Neirynck, E. Luk, and M. McLaughlin, “An alternative double-sided two-way ranging method,” in 2016 13th Workshop on Positioning, Navigation and Communications (WPNC), 8 2016, pp. 1–4.
- Kamas and Howe [1979] G. Kamas and S. L. Howe, Time and Frequency Users’ Manual. US Department of Commerce, National Bureau of Standards, 1979, vol. 559.
- [10] D. I. Inc. What’s all this ppm stuff? [Online]. Available: https://www.dataq.com/blog/data-logger/whats-all-this-ppm-stuff/
- commitee [2007] I. commitee, “Ieee standard for information technology - telecommunications and information exchange between systems - local and metropolitan area networks - specific requirement part 15.4: Wireless medium access control (mac) and physical layer (phy) specifications for low-rate wireless personal area networks (wpans),” IEEE Std 802.15.4a-2007 (Amendment to IEEE Std 802.15.4-2006), pp. 1–203, 2007.
- Dec [2018a] APS006 PART 3 APPLICATION NOTE DW1000 Metrics for Estimation of Non Line Of Sight Operating Conditions, Decawave Ltd., 10 2018, rev. 1.1.
- Karapistoli et al. [2010] E. Karapistoli, F. Pavlidou, I. Gragopoulos, and I. Tsetsinas, “An overview of the ieee 802.15.4a standard,” IEEE Communications Magazine, vol. 48, no. 1, pp. 47–53, 1 2010.
- Dec [2018b] APS002 APPLICATION NOTE Minimizing Power Consumption in DW1000 Based Systems, Decawave Ltd., 10 2018, rev. 1.1.
- Tschirschnitz et al. [2019] M. V. Tschirschnitz, M. Wagner, M. Oliver-Pahl, and G. Carle, “A generalized tdoa/toa model for tof positioning,” in 2019 International Conference on Indoor Positioning and Indoor Navigation (IPIN), 9 2019, pp. 1–8.
Comments
There are no comments yet.