Next Article in Journal
Tell the Device Password: Smart Device Wi-Fi Connection Based on Audio Waves
Next Article in Special Issue
Global Monocular Indoor Positioning of a Robotic Vehicle with a Floorplan
Previous Article in Journal
Power Consumption Modeling of Discontinuous Reception for Cellular Machine Type Communications
Previous Article in Special Issue
Constrained Unscented Particle Filter for SINS/GNSS/ADS Integrated Airship Navigation in the Presence of Wind Field Disturbance
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Numerical and Experimental Evaluation of Error Estimation for Two-Way Ranging Methods †

Cognitronics and Sensor Systems Group (CITEC), Bielefeld University, 33619 Bielefeld, Germany
*
Author to whom correspondence should be addressed.
This paper is an extended version of our paper published in “C. Lian Sang, M. Adams, T. Hörmann, M. Hesse, M. Porrman, U. Rückert. An Analytical Study of Time of Flight Error Estimation in Two-Way Ranging Methods. In Proceedings of the 2018 International Conference on Indoor Positioning and Indoor Navigation (IPIN), Nantes, France, 24–27 September 2018, doi:10.4119/unibi/2919795”.
Sensors 2019, 19(3), 616; https://doi.org/10.3390/s19030616
Submission received: 31 December 2018 / Revised: 28 January 2019 / Accepted: 29 January 2019 / Published: 1 February 2019
(This article belongs to the Special Issue Sensor Fusion and Novel Technologies in Positioning and Navigation)

Abstract

:
The Two-Way Ranging (TWR) method is commonly used for measuring the distance between two wireless transceiver nodes, especially when clock synchronization between the two nodes is not available. For modeling the time-of-flight (TOF) error between two wireless transceiver nodes in TWR, the existing error model, described in the IEEE 802.15.4-2011 standard, is solely based on clock drift. However, it is inadequate for in-depth comparative analysis between different TWR methods. In this paper, we propose a novel TOF Error Estimation Model (TEEM) for TWR methods. Using the proposed model, we evaluate the comparative analysis between different TWR methods. The analytical results were validated with both numerical simulation and experimental results. Moreover, we demonstrate the pitfalls of the symmetric double-sided TWR (SDS-TWR) method, which is the most highlighted TWR method in the literature because of its highly accurate performance on clock-drift error reduction when reply times are symmetric. We argue that alternative double-sided TWR (AltDS-TWR) outperforms SDS-TWR. The argument was verified with both numerical simulation and experimental evaluation results.

1. Introduction

The field of localization systems in wireless communications is growing since it enables a wireless mobile node to have both data communication and positioning capabilities. The localization process is typically categorized into two phases: (i) ranging (measurement) phase, during which the distance between the transceivers is measured, and (ii) positioning (location-update) phase, during which the current position of the wireless node is determined using the knowledge from the ranging phase and positioning algorithms [1]. Regarding positioning, besides wireless-only positioning systems, multiple sensor approaches, like diversity navigation, have been proposed as well [1]. In those systems, ranging is supported by using additional information, e.g., from an Inertial Measurement Unit (IMU). In this paper, we focus on the accuracy of wireless ranging based on Ultrawide Bandwidth (UWB), and specifically study different Two-Way Ranging (TWR) methods available in the literature.
TWR plays an important role in measuring the distance between two wireless transceiver devices when clock synchronization is not available or absent in a time-based localization system. By knowing the Time of Flight (TOF) between the two transceivers, i.e., a signal’s traveling time in free space, the distance between them can easily be measured using the speed of light. However, it is necessary that the two transceivers have a synchronized clock (same clock domain) in such one-way ranging systems.
In the TWR approach, a set of time periods (e.g., t r o u n d = 10   μ s and t r e p l y = 4   μ s ) is used to calculate the distance between two transceivers (Section 2) instead of using direct timestamps. This is because the period of a certain time is the same for every device regardless of their own clock references. However, because of the imperfections of clock oscillators in the real physical world, a clock drifts away even if it is perfectly tuned in the initial state [2]. These clock drifts cause inaccuracy in measuring the mentioned time periods, especially when the application requires centimeter-level accuracy. This is because 1 n s of TOF error can lead to an approximate error of 30 cm in distance estimation [3]. For this reason, there are several TWR methods available in the literature to minimize this inaccuracy in ranging due to clock drifts (Section 2).
As a consequence, the existing TOF error-estimation model for TWR, described in the IEEE 802.15.4-2011 standard, tackles clock drifts as the only dominant errors [3] (pp. 258–275). However, this model is inadequate for analysis of system performance between different TWR methods, especially when it is important to identify a better method for a certain application. For instance, the performance difference between two closely related TWRs, such as a symmetric double-sided TWR (SDS-TWR) and alternative double-sided TWR (AltDS-TWR), cannot be definitely clarified using the existing model [4]. Moreover, AltDS-TWR is robust against the variation of reply time, as we discuss in Section 7.3.1, which cannot be explained with a conventional clock-drift model, as above.
In this paper, we propose a novel Time-of-Flight Error Estimation Model (TEEM) for TWR methods, which is an extended version of the IEEE 802.15.4-2011 standard [3] (pp. 258–275). Regarding this, a delay in message delivery (Section 3.1) is accounted as a feature in the proposed model. In fact, this delay is crucial and fundamental, because TOF error is affected not only by clock drift in the oscillator but also by other error sources, such as propagation time delay [5], transmission time delay, and receiving time delay [2]. That includes the delay introduced by the antenna, PCB, and other external and internal electronic components.
In addition, we demonstrate the pitfalls of the most highlighted TWR techniques in the literature, namely, SDS-TWR. Conventionally, SDS-TWR is commonly used to illustrate the reduction of TOF error due to clock drifts in wireless ranging systems [3]. Concerning this, we argue that AltDS-TWR is more robust than SDS-TWR in all aspects.
This article is the extended version of our previous conference paper, presented in IPIN 2018 [6]. Three significant changes were made. Firstly, experiment results for different TWR methods are given to validate the simulation results presented in the conference paper (Section 7). Secondly, we provide the generic delay model for TWR methods (Section 3.1 and Section 3.2), which was regarded as a propagation time-delay error in our previous work [6]. Thirdly, we verify our argument, which is that AltDS-TWR method outperforms SDS-TWR, with both numerical simulation (Section 6) and experimental evaluation (Section 7) results.
This paper is organized as follows: In Section 2, the overview of TWR methods, the existing standard TOF error-estimation approach, and related work are addressed. Then, the foundation of the proposed TOF error-estimation model is established in Section 3, followed by analytical comparison between the proposed and conventional TOF error estimation in Section 4. A comparative study between four TWR methods using the proposed model is provided in Section 5, and the numerical simulation results are presented in Section 6. Then, the experimental evaluation results are given in Section 7, and a summarized discussion in Section 8. Final conclusions are drawn in Section 9.

2. State of the Art for TWR Methods and Related Work

In this section, we address four commonly used TWR methods in time-based wireless localization systems and the existing TOF error-estimation model, given in the IEEE 802.15.4-2011 standard. IEEE 802.15.4 uses clock drifts as the only dominant error to compare TOF errors among different TWR methods [3].
Brief introductions for each of the evaluated TWR methods, which are the single-sided TWR (SS-TWR), (symmetric) DS-TWR, AltDS-TWR, and asymmetric double-sided TWR (ADS-TWR), are presented in this section. These methods were carefully chosen to reflect the general overview of the available TWR methods in the literature. The remaining TWR methods, derived mainly from the presented techniques, are: SDS-TWR with multiple acknowledgments [7], asynchronous double TWR (D-TWR) [8], burst-mode SDS-TWR [9], SDS-TWR with unequal reply-time method [10], TWR using estimated frequency offsets [11], parallel DS-TWR [12], and passive extended DS-TWR [13].
Apart from measuring distances between transceivers in wireless communications, TWR has also been widely applied in networkwide clock-synchronization algorithms for wireless sensor networks (WSN) [14,15,16,17].

2.1. (Simple) SS-TWR

For SS-TWR [3,18] (the shaded area in Figure 1), the round-trip time of the signal can be formulated as:
t r o u n d A = 2 T t o f + t r e p l y B
where t r o u n d A = τ A R x τ A T x is the true round-trip time of a signal measured at Device A and t r e p l y B = τ B T x τ B R x is the true reply time of a signal measured at Device B (Figure 1). τ A T x and τ A R x are the transmitted and received timestamps measured at Device A, and τ B T x and τ B R x are the transmitted and received timestamps measured at Device B, respectively.
In particular, the round-trip time of a signal ( t r o u n d A ) is measured from the beginning of Device A transmitting the ranging message ( τ A T x in Figure 1) until the reception of the replied signal back from Device B ( τ A R x in Figure 1). Therefore, the TOF for the SS-TWR method can be obtained as:
T t o f = 1 2 ( t r o u n d A t r e p l y B )

2.2. SDS-TWR

The round-trip time of double-sided TWR [3,18] (Figure 1) can be formulated as:
t r o u n d A = 2 T t o f + t r e p l y B
t r o u n d B = 2 T t o f + t r e p l y A
where t r o u n d A and t r o u n d B are the true round-trip times of a signal measured at Device A and B, respectively. t r e p l y A and t r e p l y B are the true reply times measured at Device A and B, respectively.
By combining Equations (3a) and (3b), the resulting TOF for SDS-TWR or DS-TWR can be expressed as:
T t o f = 1 4 ( ( t r o u n d A t r e p l y A ) + ( t r o u n d B t r e p l y B ) )
In DS-TWR, the ranging time for a single measurement is approximately less than twice as long as SS-TWR due to the additional reply time, as depicted in Figure 1.

2.3. AltDS-TWR

The AltDS-TWR method [4] shares the same core concept as Equations (3a) and (3b) from Section 2.2 (Figure 1), as follows:
t r o u n d A = 2 T t o f + t r e p l y B
t r o u n d B = 2 T t o f + t r e p l y A
However, instead of combining the two equations, the AltDS-TWR method is achieved by multiplying Equations (5a) and (5b) as:
t r o u n d A · t r o u n d B = ( 2 T t o f + t r e p l y B ) · ( 2 T t o f + t r e p l y A )
By simplifying the equation, the T t o f is obtained as follows:
T t o f = t r o u n d A · t r o u n d B t r e p l y A · t r e p l y B t r o u n d A + t r e p l y A + t r o u n d B + t r e p l y B
The detailed derivation of the formula can be found in Reference [4].

2.4. ADS-TWR

Asymmetric double-sided TWR [19] (Figure 2) can be formulated as follows:
t r o u n d A = 2 T t o f + t r e p l y B
t r o u n d B = 2 T t o f
By combining Equations (7a) and (7b), the T t o f for ADS-TWR can be achieved as:
T t o f = 1 4 ( t r o u n d A + t r o u n d B t r e p l y B )
The major motivation behind the implementation of ADS-TWR is to reduce the ranging time of the system while attaining the same performance level as SDS-TWR or AltDS-TWR.

2.5. Conventional TOF Error Estimation Approaches

The existing conventional TOF error-estimation approach, i.e., the IEEE 802.15.4-2011 standard [3] (pp. 258–275), is specifically only based on clock-drift error effects in TWR methods. The fundamental model can be simplified as in the following equations according to the method originally proposed in Reference [18] and presented in Reference [3]. Then, the method was later extensively applied and studied in References [4,8,9,19,20]. The corresponding concept is depicted in Figure 1. The representation of the equations is inspired by the work in Reference [4].
t ^ r o u n d A = ( 1 + e A ) t r o u n d A
t ^ r e p l y A = ( 1 + e A ) t r e p l y A
t ^ r o u n d B = ( 1 + e B ) t r o u n d B
t ^ r e p l y B = ( 1 + e B ) t r e p l y B
where t ^ r o u n d A and t ^ r o u n d B are the estimated round-trip times of Devices A and B, respectively. t r o u n d A and t r o u n d B are the true round-trip times of Devices A and B, respectively. t ^ r e p l y A and t ^ r e p l y B are the estimated replied times of Devices A and B, respectively. t r e p l y A and t r e p l y B are the true replied times of Devices A and B, respectively. e A and e B are the clock-drift errors introduced by Devices A and B, respectively. It is conventionally assumed that T t o f < < t r e p l y A or t r e p l y B . The reason is that reply times are in the order of several milliseconds, while T t o f is in the order of nanoseconds [3].
Moreover, a linear algebra approach on error analysis of a co-operative position system using GPS and TWR was performed in Reference [21]. The overall concept is interesting because the presented method can be used as a transition system that bridges the localization systems of UWB (indoor) and GPS (outdoor). However, error analysis performed for TWR in the work is too shallow. The authors assumed in their work that, firstly, clock-drift errors are compensated just by using the SDS-TWR method, and secondly, ranging measurement error is purely white Gaussian noises. This assumption is too broad to reflect the actual TOF error in the TWR method. In addition, the error model and protocol specifically for the parallel double-sided TWR (PDS-TWR) method were performed in Reference [12]. The authors clearly sketch the source of error in two phases, namely, the ranging and localization processes, and focused on the former phase. Then, the variation of ranging error upon symmetric and quasisymmetric cases are discussed. It was proven in their work that PDS-TWR outperforms SDS-TWR. However, the error term used in their proposed model is unclear, which is defined as the difference between a duration measured with the PHY of a node and real duration ( ppm ). In addition, the presented error model is not generic and defined only for PDS-TWR method.

3. Proposed Analytical Model

In the following, we outline the problem statement and sketch various error sources (Section 3.1). Subsequently, we describe our extended error model (Section 3.2).

3.1. Problem Statement

TWR methods are excellent in ranging distances between two wireless transceiver devices without using clock synchronization. However, clock-drift errors in oscillators (e.g., ± 20 ppm in the IEEE 802.51.4-2011 standard [3]) degrade their performance. The conventional TOF error approach specifically tackles clock drifts as the only dominant error source in TWR methods.
However, the estimation of T t o f in a time-based wireless communication system is fundamentally perturbed by various delay error sources as already mentioned in Section 1. These delay sources, especially for time-based localization schemes, can be categorized as follows:
  • Propagation-Time Delay (PTD): propagation time is the time required for a message to be transmitted from the transmitter to the receiver in a wireless channel [2]. PTD occurs in two cases: When the direct path signal is completely obstructed or blocked, or when the signal has to traverse through different materials [5]. In other words, PTD occurs when the path of the signal has been reflected or obstructed by obstacles.
  • Transmission-Time Delay (TTD): This is the delay caused by the time required for building a message at the application layer (software), accessing time in the medium access control (MAC) layer (protocol), and transmitting time of the message in the physical (PHY) layer [2,14]. This includes delays introduced by the antenna, PCB, and other external and internal electronic components.
  • Receiving-Time Delay (RTD): The delay caused by the time required for receiving a message at the PHY, MAC, and application layers, similar to transmission-time delay [2,14].
  • Preamble Accumulation-Time Delay (PATD: This is the time required for detecting a certain preamble sequence and finding the start-frame delimiter (SFD) sequence in the PHY layer [22], especially when a coherent receiver [23] is used in the system. PATD is influenced by the presence of a multipath [24] and quick frame arrival time [3] (pp. 261–263) because of a relatively short distance measurement [22] (p. 32). It is more significant when the reflected signal arrives within the chip period of the first path signal [24].
For the sake of simplicity without loss of generality, the mentioned delay errors for T t o f estimation in wireless communication systems can be modeled as a simple linear equation. For a single round-trip time in the SS-TWR technique (Figure 1), the total round-trip time delay can be formulated as:
Δ A B A = i = 1 n ( AB _ Delay i + BA _ Delay i ) 2 · i = 1 n Delay i 2 · ( TTD + PTD + PATD + RTD )
where Δ A B A is the total delay that occurred within a single round-trip-time of a signal in the TWR method measured at Device A (Figure 1). That is, the total delay produced by a signal transmitted from Device A to B and back to Device A. The D e l a y can be one or more of the previously mentioned individual delays, which are TTD, PTD, PATD, and RTD. The total number of delays that could affect the mentioned round-trip delay error in the SS-TWR method is given as n (10). Note that the constant “2” in Equation (10) appears to represent the two-way traveling routes of a signal in the SS-TWR method for a single measurement. Here, it is assumed that the delays produced in the first route (Device A to B) and the second route (Device B to A) are the same.
Regarding this, the absolute error and relative error for the above-mentioned total delay in the single round-trip-time of TWR (shaded area in Figure 1) can be calculated as follows [25] (p. 62):
ϵ = estimated value exact value = t ^ r o u n d A t r o u n d A
ξ = absolute error exact value = ϵ t r o u n d A = t ^ r o u n d A t r o u n d A t r o u n d A
where ϵ and ξ are the absolute error and relative error of the above-mentioned delay ( Δ A B A ).
Assuming that the absolute error is only affected by the above-mentioned delay ( Δ A B A ) in the measurement, the estimated round-trip-time for SS-TWR becomes t ^ r o u n d A = t r o u n d A + Δ A B A . By substituting this value into Equation (12), the relative error for the total delay within the single-round-trip time of SS-TWR can be represented as:
ξ A B A = Δ A B A t r o u n d A
where ξ A B A is the relative error of the total delay in a single-round-trip time of a signal in SS-TWR method measured at Device A (shaded area in Figure 1).
If there is absolutely no delay ( Δ A B A = 0 ) between the two transceivers in the SS-TWR method, the corresponding relative error upon round-trip time delay ( ξ A B A ) equals zero. Otherwise, the round-trip time delay ( ξ A B A ) is the relative error achieved from the summation of all related delays along the path. Correspondingly, relative delay errors for the DS-TWR method are ξ B A B and ξ A B A .

3.2. Proposed TOF Error-Estimation Model

As it is explained in Section 3.1, our proposed model is based on both clock-drift error and the relative error in a round-trip time delay. The analytical formulas for the proposed TOF error-estimation model are provided as follows, in reference to Figure 1:
t ^ r o u n d A = ( 1 + e A + ξ A B A ) t r o u n d A
t ^ r e p l y A = ( 1 + e A ) t r e p l y A
t ^ r o u n d B = ( 1 + e B + ξ B A B ) t r o u n d B
t ^ r e p l y B = ( 1 + e B ) t r e p l y B
where ξ A B A and ξ B A B (as introduced in Section 3.1) represent the delay defined as the relative error in the single round-trip time of a signal measured at Device A or B respectively.
Since ξ A B A and ξ B A B represent the relative error of the total delay within a single round trip of a TWR system, it is sufficient that their effects are represented in the estimated round-trip time ( t ^ r o u n d A Equation (14a) and t ^ r o u n d B ) alone as provided in Equations (14a) and (14c). Therefore, the estimated reply time ( t ^ r e p l y A and t ^ r e p l y B ) can stay unchanged as in the conventional clock-drift error approach (Section 2.5).
It should be noted that ξ A B A and ξ B A B in Equations (14a) and (14c), defined in Section 3.1, are completely different parameters from clock-drift errors e A and e B , which are susceptible to the finite crystal tolerance of the clock oscillators [3].

4. Extended State-of-the-Art TWR Methods

In this section, we compare the proposed and conventional TOF error-estimation models on the evaluated four TWR methods.

4.1. Extended SS-TWR Method

By using Equation (2), the estimated TOF for the SS-TWR method can be written as:
T ^ t o f = 1 2 ( t ^ r o u n d A t ^ r e p l y B )
where T ^ t o f is the estimated TOF in the system.
The difference between the estimated and true TOF for SS-TWR is:
T ^ t o f T t o f = ( t ^ r o u n d A t ^ r e p l y B ) 2 ( t r o u n d A t r e p l y B ) 2
By applying Equations (14a) and (14d), the equation becomes:
T ^ t o f T t o f = 1 2 [ ( e A + ξ A B A ) t r o u n d A e B t r e p l y B ]
Substituting t r o u n d A with Equation (1) yields:
T ^ t o f T t o f = 1 2 [ 2 T t o f ( e A + ξ A B A ) + ( e A e B + ξ A B A ) t r e p l y B ]
This leads to the TOF error for SS-TWR as:
T ^ t o f T t o f = T t o f ( e A + ξ A B A ) + 1 2 ( e A e B ) t r e p l y B + 1 2 ξ A B A t r e p l y B
For the sake of comparison, the TOF error for SS-TWR using the conventional approach from Equations (9a) and (9d) is:
T ^ t o f T t o f = T t o f e A + 1 2 ( e A e B ) t r e p l y B
It should be noted that our model Equation (15) reduces to conventional Model Equation(16), if ξ A B A = 0 .

4.2. Extended SDS-TWR Method

Similar to Section 4.1, if Equation (4) is applied in the proposed error model from Equations (14a)–(14d), and by replacing t r o u n d A and t r o u n d B with Equations (3a) and (3b), the T O F error between the estimated and the true value for SDS-TWR becomes:
T ^ t o f T t o f = 1 2 T t o f ( e A + e B + ξ B A B + ξ A B A ) + 1 4 ( e A e B ) ( t r e p l y B t r e p l y A ) + 1 4 ( ξ B A B t r e p l y A + ξ A B A t r e p l y B )
For the sake of comparison, the conventional model for TOF error in the SDS-TWR method using Equations (9a)–(9d) is:
T ^ t o f T t o f = 1 2 T t o f ( e A + e B ) + 1 4 ( e A e B ) ( t r e p l y B t r e p l y A )
Again, Equation (17) reduces to (18), if there is no delay in message delivery.

4.3. Extended AltDS-TWR Method

By applying Equation (6) into the proposed error model from Equations (14a)–(14d), and by assuming T t o f < < t r e p l y A ( or ) t r e p l y B (Section 5.1), the TOF error between the estimated and the true value for AltDS-TWR becomes:
T ^ t o f T t o f C 1 t r e p l y A t r e p l y B C 2 t r e p l y A + C 3 t r e p l y B
where C 1 = ξ B A B ( 1 + e A ) + ξ A B A ( 1 + e B ) + ξ B A B ξ A B A , C 2 = 2 + e A + e B + ξ B A B and C 3 = 2 + e A + e B + ξ A B A . The formula derivation is publicly available in Reference [26].
For the sake of comparison, the TOF error for the AltDS-TWR method [4] using the conventional model from Equations (9a)–(9d) is:
T ^ t o f T t o f = e A · T t o f ( or ) T ^ t o f T t o f = e B · T t o f
Again, Equation (19) equals zero if it is assumed that ξ B A B = 0 and ξ A B A = 0 . This explains that the actual TOF error is associated only with T t o f as in Equation (20). This is because it is assumed that T t o f is negligible ( T t o f < < t r e p l y A ( or ) T t o f < < t r e p l y B ) when Equation (19) is formulated [26].

4.4. Extended ADS-TWR Method

By substituting Equations (14a), (14c) and (14d) in Equation (8), and by replacing the t r o u n d A and t r o u n d B with Equations (7a) and (7b), the T O F error for the ADS-TWR method can be formulated as:
T ^ t o f T t o f = 1 2 T t o f ( e A + e B + ξ A B A + ξ B A B ) + 1 4 ( e A e B ) t r e p l y B + 1 4 ( ξ A B A ξ B A B ) t r e p l y B
For comparison, the TOF error for the ADS-TWR method using the conventional model from Equations (9a), (9c) and (9d) is:
T ^ t o f T t o f = 1 2 T t o f ( e A + e B ) + 1 4 ( e A e B ) t r e p l y B

5. Analytical Comparison of TWR Methods

In this section, we compare the analytical results of TOF error among different TWR methods. To do this, we classify three types of assumptions as defined in Section 5.1.

5.1. Error-Model Classification in Three Types

In order to uniformly compare the four evaluated TWR methods, we establish three assumptions (Table 1). In each of the three assumptions, it is assumed that T t o f is negligible compared to reply time ( t r e p l y A and t r e p l y B ), i.e., T t o f < < t r e p l y , t r e p l y A , t r e p l y B . Detailed comparison and discussion upon these three assumptions are addressed in Section 5.2, Section 5.3 and Section 5.4. The three types of assumptions (Table 1) are:
Type I Assumption: This is an ideal case. Assume T t o f < < t r e p l y , e A = e B = e = 0 , and t r e p l y A = t r e p l y B = t r e p l y . In this assumption, not only are there no clock-drift errors between the two evaluated devices, but reply times are also assumed to be the same.
Type II Assumption: This is a special case. Assume T t o f < < t r e p l y and t r e p l y A = t r e p l y B = t r e p l y . In this assumption, clock-drift error does exist in the evaluated two devices. However, reply times between them are assumed to be the same.
Type III Assumption: This is a typical case. Assume T t o f < < t r e p l y and t r e p l y A t r e p l y B . In this assumption, not only does clock-drift error exist in the evaluated two devices, but also the reply time between them is different.

5.2. Comparison of TWR Methods in Ideal Cases (Type I)

According to the Type I assumption, we can conclude that ξ B A B = ξ A B A = ξ . By applying this ideal assumption to Equations (15), (17), (19) and (21), the TOF error between the estimated and true value among TWR methods can be summarized as follows:
T ^ t o f T t o f 1 2 ξ t r e p l y
The TOF error for all methods is now approximated as given in Equation (23). The formula derivation for AltDS-TWR is publicly available in Reference [26].

5.3. Comparison of TWR Methods in Special Cases (Type II)

By applying a Type II assumption in Equations (15), (17), (19), and (21), the TOF error between the estimated and true value among TWR methods can be represented as follows:
The SS-TWR method becomes:
T ^ t o f T t o f 1 2 ( e A e B + ξ A B A ) t r e p l y
The SDS-TWR method turns into:
T ^ t o f T t o f 1 4 ( ξ B A B + ξ A B A ) t r e p l y
The AltDS-TWR method is:
T ^ t o f T t o f K A K B t r e p l y
where, K A = ξ B A B ( 1 + e A ) + ξ A B A ( 1 + e B ) + ξ B A B ξ A B A and K B = 4 + 2 ( e A + e B ) + ξ B A B + ξ A B A . The formula derivation is publicly available in Reference [26].
The ADS-TWR method becomes:
T ^ t o f T t o f 1 4 ( e A e B + ξ A B A ξ B A B ) t r e p l y
By comparing Equation (24) to (27), we can conclude that SDS-TWR (25) and AltDS-TWR (26) are superior to SS-TWR (24) and ADS-TWR (27). The reason is that, if ξ B A B = 0 and ξ A B A = 0 , the TOF error for SDS-TWR (25) and AltDS-TWR (26) is approximately equal to zero.

5.4. Comparison of TWR Methods in Typical Cases (Type III)

By applying a Type III assumption in Equations (15), (17), (19) and (21), the TOF error among the evaluated TWR methods is as follows:
The SS-TWR method becomes:
T ^ t o f T t o f 1 2 ( e A e B + ξ A B A ) t r e p l y B
The SDS-TWR method turns into:
T ^ t o f T t o f 1 4 ( e A e B ) ( t r e p l y B t r e p l y A ) + 1 4 ( ξ B A B t r e p l y A + ξ A B A t r e p l y B )
The AltDS-TWR method is:
T ^ t o f T t o f C 1 t r e p l y A t r e p l y B C 2 t r e p l y A + C 3 t r e p l y B
where C 1 = ξ B A B ( 1 + e A ) + ξ A B A ( 1 + e B ) + ξ B A B ξ A B A , C 2 = 2 + e A + e B + ξ B A B and C 3 = 2 + e A + e B + ξ A B A . The formula derivation is available in Reference [26].
The ADS-TWR method becomes:
T ^ t o f T t o f 1 4 ( e A e B + ξ A B A ξ B A B ) t r e p l y B
By comparing Equations (28)–(31), we can conclude that the AltDS-TWR Equation (30) method stands out to be the best choice for minimizing TOF error. This is because the TOF error is approximately equal to zero if it is assumed that there are absolutely no delay errors in the message delivery, i.e., ξ B A B = 0 and ξ A B A = 0 .

6. Numerical Simulation Results

In this section, we present the numerical simulation results of the proposed analytical model given in Section 5. Simulations have been performed upon the parameters, which are clock-drift errors e A and e B , the reply time of responder device ( t r e p l y A and t r e p l y B ), and the relative delay error in the round-trip time of a signal ( ξ B A B and ξ A B A ), introduced in Section 3.1. The numerical sample values used for the simulations are shown in Table 2. The relative delay error in round-trip time for both transceivers is assumed to be the same, i.e., ξ = ξ B A B = ξ A B A , in the presented simulation results. Moreover, the same random seed value is used for e A and e B throughout the simulations.

6.1. Simulation Results for Ideal Cases (Type I)

The ideal condition is the simplest and also the reference case because it defines how the system is expected to behave. From Figure 3, it is observed that TOF error in an ideal case increases monotonically as both round-trip time delay ( ξ ) and reply time ( t r e p l y ) are increased. Moreover, all TWR methods perform equally well in ideal conditions.

6.2. Simulation Results for Special Cases (Type II)

A comparison between the TWR methods for special cases (Type II) is illustrated in Figure 4 relative to round-trip time delay ( ξ ) and reply time ( t r e p l y ). Fxed reply time t r e p l y = 490   μ s is set in the simulation to match the hardware setup in the experimental evaluation (Section 7). Interestingly, it is evident that the AltDS-TWR method retains the exact same performance as the SDS-TWR method (Figure 4c).
In this special case, both the AltDS-TWR and SDS-TWR method provide numerically stable outputs for TOF error estimation (Figure 4c). In essence, TOF error in all evaluated methods is perpetually increased due to clock drifts as reply time ( t r e p l y ) and round-trip time delay ( ξ ) are increased (Figure 4).
According to the value of parameters used in the simulation (Table 2), the TOF error for both the SDS-TWR and AltDS-TWR method is less than 1 n s if ξ < 3 ppm and t r e p l y < 650 μ s. This corresponds to approximately less than 30 cm error in physical-distance measurement. Under the assumption that the round-trip time delay for both transceivers is symmetric, if ξ can be decreased to 2 ppm, then t r e p l y can be relaxed up to 1 m s without the loss of the above-mentioned accuracy (30 cm). The same principle applies the other way around, too, i.e, decreasing t r e p l y relaxes the increase of ξ .

6.3. Simulation Results for Typical Cases (Type III)

The simulation results for a typical condition (Type III) between the four evaluated TWR methods are provided in Figure 5. Figure 5a compares the performance of the TWR methods when the reply time in Device A ( t r e p l y A = 840   μ s ) is greater than the reply time in Device B ( t r e p l y B = 400   μ s ). In contrast, Figure 5b compares the performance of the TWR methods when the two reply times are in the opposite order ( t r e p l y A < t r e p l y B ) by switching the value of the mentioned reply times. Figure 5c–e illustrates the variation of TOF error in SDS-TWR upon different reply times. The reply-time values in the simulation (Figure 5) were chosen to match with the hardware setup in the experimental evaluation (Section 7).
It is evident that the SDS-TWR method suffers severe clock-drift error effects in a typical condition (Type III) when the reply time is asymmetric (Figure 5a–e). However, the AltDS-TWR method still holds a numerically stable result in each evaluation (Figure 5f).
Note that the ADS-TWR and SS-TWR methods rely solely on one-sided reply time ( t r e p l y B ). Therefore, the duration of t r e p l y B is crucial for their performance. On the one hand, when t r e p l y B < t r e p l y A , the ADS-TWR method yields a lower TOF error than the SDS-TWR method, while SS-TWR has a fairly comparable result (Figure 5a). On the other hand, when t r e p l y B > t r e p l y A , the performance of the SS-TWR and ADS-TWR methods degrades, while the performance of the SDS-TWR method is unchanged. In this scenario, the TOF error in the SDS-TWR method is lower than both the SS-TWR and ADS-TWR method (Figure 5b). The severity of the TOF error in SDS-TWR increases as the magnitudes of difference between the two reply times increases (Figure 5a–e).

7. Experimental Evaluation Results

The experimental evaluations of the three TWR methods, namely, SS-TWR, SDS-TWR, and AltDS-TWR, are conducted in this section. Note that the ADS-TWR method is not included in the experimental evaluation because the hardware used in the experiment doesn’t support the necessary mechanism for ADS-TWR (Figure 2) at the time of our evaluation, which is the instant reply time in Device A ( t r e p l y A = 0 ) or an autoacknowledgment mechanism in one of the two devices.
This section is categorized into three parts. The first part is the experiment setup, where the hardware and its corresponding configurations used in the evaluation are introduced. In the second part, the experiment results for fixed reply times at different locations (LOS at a hall, a multipath scenario at the corridor in an office building, and close LOS less then 2 m ) are expressed. The goal is to clarify the errors caused by the delays (PTD and PATD) as mentioned in Section 3.1. In the third part, comparative analysis between three TWRs is conducted at a fixed location (distance) in the laboratory with varying reply times. The goal is to point out the pitfalls of the SDS-TWR method in a typical case, and to prove that AltDS-TWR holds stable results in each reply-time variation. The test environments where the experimental evaluations presented in this section were conducted are illustrated in Figure 6.

7.1. Setup and Data-Collection Process for Experimental Evaluations

For experimental evaluations, we used a DWM1000 module [27] from Decawave as the UWB hardware, and an STM32 development board (NUCLEO-L476RG) from STMicroelectronics as the main microcontroller (MCU). Moreover, the built-in high-speed internal (HSI) clock source (16 MHz) from the MCU was applied to all of the evaluation results presented in this article. No external oscillators were connected to the MCU. The HSI has an accuracy of ± 1 using the factory-trimmed RC oscillator according to the datasheet [28].
Aggregated antenna delay calibration was conducted before measurement according to the procedure and algorithm provided by the manufacturer [29,30]. This aggregated antenna delay corresponds to transmission and receiving time delays (TTD and RTD) of the evaluated hardware described in Section 3.1. Therefore, the remaining error that influences the accuracy of TOF error estimation in our measurement would be PTD and PATD. The results presented in Section 7 are the errors and their corresponding parameters in distance (not in TOF). This is because all of the references used in the experiment are measured in distance, which means that TOF value is already calculated as a distance by multiplying with the speed of light (299,702,547 ms−1 in air).
During measurement, one of the transceivers (Device A in Figure 1) is connected to a computer for logging the data received from the MCU via serial USART port. Two-way ranging software, provided by Decawave for production testing of their evaluation kit (EVK1000), which is available online (https://www.decawave.com/software/) on Decawave’s website, was executed on the two transceivers. The software was modified so that the four periods of time ( t r o u n d A , t r o u n d B , t r e p l y A , and t r e p l y B ) were individually logged and saved into a file at each measurement. The above-mentioned time periods from the log file were afterward processed with the TWR formulas provided in Section 2 using Matlab. This ensured that the same raw data (time periods) were used for the three TWRs in the evaluation. For instance, a subset of the four collected time periods, i.e., t r o u n d A and t r e p l y B , was used to study SS-TWR.
All of the reference distances in the evaluation were measured with a laser distance meter, CEM iLDM-150 model (http://www.cem-instruments.in/product.php?pname=iLDM-150), which has an accuracy of ± 1.5   m m according to the manufacturer. The hardware configuration of the used UWB module in the experimental evaluations is described in Table 3. Antenna height was 1.06 m in all the experiments reported in this paper. This ensured that the effect of Fresnel zones did not perturb measurement results.
For a symmetric condition in special cases (Type II), the hardware for the two transceivers was tuned until the two reply times were approximately equal (symmetric). The histogram of the sample data for symmetric replied time (special case, or Type II) collected from one of our measurements is shown in Figure 7. The figure shows the measured time periods for a single trial conducted roughly around 5 min with an updated rate of 10 Hz . The mean values of the reply times are t r e p l y A = 490.94   μ s and t r e p l y B = 491.25   μ s (Figure 7 and Table 4). This setting and reply time were used throughout all of the evaluation results presented in this paper for a symmetry case (Type II).
For an asymmetric condition in a typical case (Type III), the histogram of the sample data collected from one of our measurement is illustrated in Figure 8. Again, the figure illustrates the measured time periods for a single trial. The mean values of the reply times are t r e p l y A = 836.8   μ s , and t r e p l y B = 397.4   μ s (Figure 8 and Table 4). Note that this is the default setup (out of the box) achieved from the software provided by Decawave. This setting and reply times are used for the measurement conducted in LOS (hall), multipath (Corridor), and close LOS. However, reply time was varied on one device at each evaluation conducted in Section 7.3 to compare the performance difference between the SDS- and AltDS-TWR methods.
Table 4 represents the sample data of reply times for Types II and III, which were randomly drawn from the measurement conducted in the three categories, at LOS, close LOS, and multipath scenarios. It was confirmed that the magnitude of difference (similarity) between the two reply times ( t r e p l y A and t r e p l y B ), which is annotated as root mean square error (RMSE) in Table 4, for the symmetry case (Type II) in all of our measurements was always less than 0.35 μ s in average.

7.2. Comparative Analysis of Distance Errors in Fixed Reply Times at Different Scenarios

In this subsection, experimental evaluations of three scenarios, that is, close LOS, LOS (Hall), and multipath (Corridor), were conducted to validate the error influenced by the PTD and PATD. The effect of PTD can be seen in the multipath scenario, where measurement was conducted in the corridor of an office building (Section 7.2.1), and in the Non-LOS (NLOS) scenario (Section 7.3.2). In the same way, the effect of PATD can be seen in the close LOS scenario, where measurement was conducted within less than 2 m (Section 7.2.2). The complete detailed report of the three scenarios is presented in Section 7.2.3 (see Table 5 for the special case (Type II) and Table 6 for the typical case (Type III)).

7.2.1. Distance Error Comparison for Types II and III at LOS and Multipath Scenarios

To evaluate the distance error caused by the effect of a multipath signal in TWR, measurement was conducted at different ranges for both an LOS scenario (Figure 6c) where measurement was done in a big hall, and a multipath scenario (Figure 6d) where measurement was conducted in the narrow corridor of an office environment. Note that the UWB signal natively overcomes the multipath effects compared to other narrow-band signals. However, signal disturbance because of multipath effects in UWB is still noticeable in distance error estimation, as is shown in the following paragraphs.
Figure 9 depicts the measurement results for the exact same distance (4 m ) for two separate scenarios (LOS at hall and multipath at corridor). The first row, Figure 9a–c, illustrates the results achieved from the LOS condition, and the second row, Figure 9d–f, illustrates the results achieved from the multipath scenario.
Furthermore, the measured results for both Type II and III are compared side by side in Figure 9 to clearly see the differentiation between the two cases. It can be seen in the experiment result that SDS and AltDS have approximately the same performance level in the special case (Type II) as already stated in the simulation results (Section 6, see Figure 9a,d). However, a significant variation between SDS and AltDS can be observed in the typical case (Type III) as expected from the simulation results (Section 6, see Figure 9b,e).
Regarding distance error in the TWR approach, it was observed that both SDS and AltDS outperformed SS-TWR with significant distinction in all cases (Figure 9). Particularly for the LOS scenario (first row in Figure 9), the measured distances of both SDS and AltDS were very close to the reference value in Type II (Figure 9a). However, AltDS had the smallest error between the three in the typical case (Figure 9b). In the multipath scenario (second row in Figure 9), the distance error caused by SDS and AltDS was still small compared to that of SS-TWR in the special case (Figure 9d), even though their errors were slightly higher compared with the LOS case (Figure 9a,d). In the typical case (Type III), the figure suggests that SDS had the smallest error beetween the three methods (Figure 9e). This condition is further analyzed for clarity in Section 7.3.
In general, the multipath effect caused a big data shift in all of the measurements for all three of the evaluated methods. This shift can clearly be seen by comparing the empirical cumulative distribution function (eCDF) for the LOS scenario, presented in Figure 9c, and for the multipath scenario, presented in Figure 9f. This corresponds to the contribution of the delay caused by the multipath signal in distance or TOF error estimation as stated in Section 3.1. This delay could be the PTD because of the reflection of the signal as well as the PATD in the case of multiple signals arriving within the chip period of the first path signal, as described in Section 3.1.
Figure 9 gives inside knowledge for visualizing the experimental data for the two scenarios (LOS and multipath), specifically measured at true reference 4 m . The complete dataset for Types II and III at different ranges in two scenarios (LOS and multipath) is provided in Figure 10. The data in Figure 10 represent the RMSE, which is the square root of the mean error between the measurement and the true reference of the special and typical cases (Types II and III) for the three evaluated TWR (AltDS, SDS, and SS) at different locations in two scenarios (LOS and multipath).
In general, it was observed that the distance error for AltDS was less than 6.43 cm in all of the measurements at both the special case (Type II) and the typical case (Type III) (see the first two columns in Figure 10). Moreover, the measured distance error for all locations in AltDS and SDS was approximately equal in the special case (Type II) (see the first and third columns in Figure 10). Obviously, the largest distance errors in the measurement occurred in SS-TWR (Figure 10).
In the multipath scenario at Type III (esp. 4, 8, and 12 m ), the figure suggests that the distance error in SDS provides the smallest among the three evaluated methods (the fourth column in Figure 10). This happens because of the chosen fixed reply time ( t r e p l y A = 836.8   μ s and t r e p l y B = 397.4   μ s ) for a typical case in this particular multipath condition. The issue is further clarified by varying the reply time of one device using different values in the measurement (see Section 7.3).

7.2.2. Distance Error Comparison for Types II and III at a Close LOS Scenario

To evaluate the PATD effect, measurement for close LOS (measured distances range from 0.25 up to 2 m ) was conducted at one of the CITEC laboratories, Bielefeld University (Figure 6b). PATD occurrence is significant in close LOS, especially when a coherent receiver architecture is used in the hardware [22]. The reason is that a sequence of preamble code is necessary to synchronize in the physical layer before data communication between transceivers can be started using the property of perfect periodic autocorrelation [3,22]. Moreover, most of the commercially available UWB hardware modules, including DWM1000, used in this evaluation are based on a coherent receiver structure. In this experiment evaluation, preamble sequence code index no. 3 was used, which has the code sequence pattern of “ + 0 + + 000 + + + 00 + + 0 + 00 0000 0 + 0 ” according to References [3,22] (p. 203). This sequence is regarded as a short one in UWB configurations. It is expected that, the longer the code sequence is, the more likely to have severe error in close LOS measurement. The reason is that the base symbol rate for the synchronization header is proportional to the preamble symbol transmission rate [3] (pp. 200–207). This means that the longer the preamble length is, the longer it takes to detect the start of frame delimiter (SFD) during accumulation time.
Regarding this, data visualization using boxplots for Types II and III at a true reference of 0.5, 1.0, and 1.5 m is presented in Figure 11. The RMSE regarding measured distance error for the three evaluated TWRs in Types II and III, conducted at close LOS, is provided in Figure 12.
In general, a significantly high rate of outliers (symbolized with red plus signs) is presented in the data of measurement results less than 0.75 m (see the sample data measured at 0.5 m (Figure 11a,d). It can also be seen that the measured SDS data relatively skew at a 0.5 m reference (Figure 11d). The contribution of outliers in the data decreases as the true-reference distances between the two transceivers increase. Specifically, the RMSE for all TWRs in both cases was roughly greater than 11 cm at reference distances less than 0.75 m (first three rows in Figure 12). Moreover, it can be stated (for this particular UWB setup) that the effect of the PATD on the LOS condition decreases, starting from 1.5 m of the true reference (last three rows in Figure 12). In this case, the measured RMSE for AltDS (both Type II and Type III) and SDS (Type II) is always less than 5 cm. The transition phase (RMSE between 5 and 10 cm) can be spotted in the measured results at the true reference of somewhere between 0.75 and 1.5 m .

7.2.3. Detailed Summary of Experiment Results for Fixed Reply Time

The detailed summary of the measurement results reported in Section 7.2.1 and Section 7.2.2 is expressed in Table 5 (Type II) and Table 6 (Type III). The smallest value between the three methods is presented in bold in the tables. Two numbers less than 0.02 cm apart were considered equal. It is interesting to observe that the data spread (the difference between maximum and minimum values in the recorded data) in the symmetry case (Type II) was less than 10 cm for both SDS and AltDS when measured in the LOS scenario (rows of “LOS” and columns of “Spread of data” in Table 5). That is the best-case scenario spotted in the measurement. In fact, this condition matches the reported precision range of the manufacturer, i.e., 10 cm. In the worst-case scenario, the data spread reaches up to 41.23 cm in both AltDS and SDS TWRs, while it reaches up to 54.54 cm in SS-TWR. As a whole, the spread of data generally increased in the typical case (Type III) (see Table 5 and Table 6). Moreover, the measured data were also spread wider, in general, in both the multipath and the close LOS scenario (Table 5 and Table 6).

7.3. Comparative Analysis of Distance Error in Variable Reply Times at a Fixed Distance

This section mainly focuses on comparative analysis between AltDS and SDS TWR (Section 7.3.1). The goal is to demonstrate SDS pitfalls with an experimental evaluation. At the same time, it also aims to prove, with experiment results, the efficiency of the AltDS method in a typical case when reply times are varied. Additionally, the effects of NLOS on distance error are also reported in Section 7.3.2 to assure the influence of PTD on the measurement.

7.3.1. Distance Error Analysis between SDS and AltDS at Fixed Reference

A total of ten trials for variable reply times with the magnitude of difference between the two reply times ( t r e p l y A and t r e p l y B ) starting from 0.0003 (symmetry case) up to 4.2 m s are provided in (Table 7). The first four trials from Table 7 are illustrated in Figure 13 to visualize the data for better analysis. Note that only one of the two reply times, specifically, t r e p l y A , is varied in the experiment by manipulating the value of delays on the ranging software (see Columns 6 and 7 from Table 7, denoted as “Reply Time ( m s )”).
The symmetry case is again evaluated in this scenario as provided in Trial 1 to demonstrate comparative analysis between the special case (Type II) and typical case (Type III). In the symmetry case, both AltDS and SDS had identical performance level and the RMSE in distance estimation was also the same in this particular experiment, with an exact value of 3.44 cm (Figure 13 and the first-row in Table 7). A similar result was already reported in Section 7.2. However, distance error using SS-TWR is significantly higher than both of AltDS and SDS.
Figure 13 also clearly demonstrates the pitfall of SDS-TWR, frequently mentioned throughout this article. As the name symmetric is applied in the method itself, a very small error occurs in SDS when the two reply times are exactly the same (Trial 1 in Figure 13). Moreover, we witnessed that SDS is comparable to AltDS in the symmetry case. Note that it rarely happens to have a symmetric reply time in a real-world situation. In this experiment, the two reply times ( t r e p l y A and t r e p l y B ) were tuned to the software until they approximately had the same value (see the tuned value of their magnitude of difference ( t r e p l y A t r e p l y B )) in Table 7 (second column), which had 0.0003 m s in symmetry case (first row). When symmetry in the reply time is broken down, SDS encounters significant distance error. The severity in error monotonously increases as the difference between the reply times ( t r e p l y A t r e p l y B ) increases (Figure 13 and Table 7). Distance error even reaches 50.75 cm when the the magnitude of difference between the two reply times ( t r e p l y A t r e p l y B ) is 4.24 m s (last row in Table 7).
It is interesting to observe that variation in the reply time ( t r e p y A and t r e p l y B ) does not affect distance error in the AltDS-TWR method. The consistency in distance error using AltDS-TWR across several trials is illustrated in Figure 13, and the exact numerical values are provided in Table 7. The distance error in RMSE for AltDS-TWR ranges in a consistent manner throughout the measurement. The exact value of RMSE varies from 2.74 to 3.72 cm, which is very small, when the magnitude of difference between reply times ( t r e p l y A t r e p l y B ) varied between 0.0003 and 4.24 m s (Table 7). This proves the consistency of distance estimation in AltDS-TWR, which is very useful for multiple application areas. For instance, the presented delay could be thought of as a nondeterministic sensor-data reading and processing time in body area network application, where both positioning and sensor data are necessary to be loaded onto the payload of the UWB MAC layer protocol.
Regarding the SS-TWR, it can be examined that distance error is consistent across the evaluated trials (Figure 13). The reason is that SS-TWR is based only on one reply time, namely, t r e p l y B (2). In the experiment, only one reply time ( t r e p l y A ) was varied, and the other reply time ( t r e p l y B ) was approximately constant throughout the evaluation (see the seventh column in Table 7).

7.3.2. Distance Error Comparison for Type II and Type III in NLOS Scenario

In order to have a complete measurement report, the NLOS scenario was also evaluated in the experiment. In this scenario, the evaluation was recorded for roughly three minutes in total for both Type II and Type III cases at a reference distance of 2 m . As it is shown in Figure 14, pure LOS data were recorded in the first minute. Then, a human subject blocked the communication between the two transceivers by standing in the middle at a distance of 1 m . After that, the blocking was removed and the pure LOS is recorded again for the remaining one minute. The mean reply times used in this evaluation were t r e p l y A = 490.94   μ s and t r e p l y B = 491.25   μ s for the symmetric case (Type II), and t r e p l y A = 836.80   μ s and t r e p l y B = 397.40   μ s for the asymmetric case (Type III), respectively.
As expected, the NLOS condition caused huge error in the measurement (roughly around 40 cm) at both of the two types in all of the evaluated TWRs (Figure 14). This shows that signal-traveling time was obstructed by the reflected signals from the environment and/or the penetration of the human body in this particular NLOS case. Therefore, it is absolutely necessary that NLOS identification and mitigation techniques are mandatory for an application where NLOS is expected to exist. It can also be seen that there were some spikes in Figure 14, which was caused by the body movement of the human subject during measurement. In the special case (Type II), both AltDS and SDS had the same measurement results, as can be seen in the upper graphic of Figure 14, in which AltDS results (blue color) were merged into the SDS (green color). In the typical case (Type III), diversity among the three TWR methods is visible, as shown in the bottom graphic of Figure 14.

8. Discussion

In the last decade, SDS-TWR was the most highlighted TWR technique in the literature. The reason is that it provides an impressive output of TOF error against clock drifts when reply times ( t r e p l y A and t r e p l y B ) are symmetric. SDS-TWR was so popular that it even became a kind of standard. This means that, whenever a new TWR technique emerges, its performance is benchmarked with SDS-TWR as in References [4,7,8,9,10,11]. However, SDS-TWR only provides robust TOF outputs when reply times are symmetric. When the symmetry in reply time is unachievable, it encounters severe error effects (Figure 5 and Figure 13, Table 7). In fact, this is a major drawback and the pitfall of the SDS-TWR method. The constraint on strict symmetry in SDS-TWR has also been addressed in References [7,31].
In contrast, we found that AltDS-TWR method was robust against clock drift in any tested condition (Figure 4, Figure 5 and Figure 13 and Table 7). In general, minimal reply times ( t r e p l y A and t r e p l y B ) and relative delay errors of round-trip time ( ξ A B A and ξ B A B ) are desirable at any condition in every evaluated TWR method. The reason is that, the shorter the mentioned time in the system is, the better the ranging accuracy (Figure 4 and Figure 5). Note that the default (out of the box) setup achieved from Decawave’s software was used in the typical-case (Type III) experiments in LOS, close LOS, and multipath scenarios, except for the variable reply time conducted in Section 7.3.1.
Nonetheless, we proved that the corrupting effect of the delay in reply time does not affect distance-estimation accuracy in AltDS-TWR (Section 7.3.1). This point is important because the current state of the art in UWB-based localization systems only focuses on the accuracy of the positioning algorithm. The available resource space of the data payload section in MAC layer [3] (p. 57), [22] (p. 220) are not used in most of the system-level applications presented in the literature. To mention a few as examples, the system implementation of UWB in References [32,33,34,35] mainly focus on the accuracy of the positioning algorithm by assuming that no payload is included in data communication except for necessary timestamps to be used in the positioning algorithm. Therefore, if the sensor data should also be transmitted, secondary wireless technology is used in such a system.
AltDS-TWR uncovers the ability to provide both positioning and sensor data on the payload of a single UWB system without loss of accuracy in the positioning algorithm. This further ensures that AltDS can be used in sensor systems with nondeterministic processing time. For instance, variation of reply time, provided in Table 7 in Section 7.3.1, can be thought of as a representation of sensor data processing time for wireless communication systems. As an example application, AltDS-TWR can be used in a UWB-based body-sensor network in sports analysis, where position and sensor data from a mobile node are necessary to access in the central server (coach) and analyze the performance of the athlete. Note that it could take unpredictable processing time for reading the data from the sensor depending on the hardware in such a scenario.
Moreover, AltDS-TWR is preferred in real-world scenarios because it is robust against variation of reply time and clock drifts (Section 6 and Section 7). Therefore, we conclude that the performance of the AltDS-TWR method is the most reliable between the four evaluated TWR methods, under the evaluation made in our numerical and experimental development at different scenarios.
It should also be noted that the relative error presented in the simulation results (Section 6) includes all delays (PTD, PATD, TTD, and RTD) mentioned in Section 3.1. However, the relative errors regarding TTD and RTD were excluded in the experiment results (Section 7). In practice, a certain approximately constant delay error (with regard to a complete hardware setup) can be identified by evaluating two transceivers under the known ground-truth reference distance in a pure LOS scenario. The procedure of eliminating this constant, which is subtracting the mentioned constant from the measured (estimated) TOF value to match with the ground-truth reference distance, is typically called an aggregated antenna delay calibration in the world of UWB hardware implementation [29]. This corresponds with the elimination of TTD and RTD delays in our case, which was calibrated before measurement was started, as stated in Section 7.1.
Based on the evaluation results presented in this paper, a few recommendations can be drawn as follows: Firstly, distance should not be smaller than 0.75 m . The anchor (fixed) nodes should be placed far away from the dedicated region so that the distance between anchor and mobile nodes is always greater than 0.75 m . Secondly, a fairly small distance error (less than 10 cm) from both AltDS- and SDS-TWRs can be achieved if the difference between the reply times ( | t r e p l y A t r e p l y B | ) is less than 400 μ s . Thirdly, AltDS-TWR is the only solution in the evaluated TWRs when the nondeterministic processing time (e.g. sensor-data reading) are expected in the positioning system.

9. Conclusions and Future Work

In this paper, we proposed a novel TEEM for TWR methods. The proposed model completely holds the characteristics of the conventional clock-drift error model in TWR methods (Section 4), as defined in Reference [3]. We found that, under ideal conditions, all TWR methods perform equally well (Section 6.1). Subsequently, we showed that AltDS-TWR is superior to SDS-TWR under conditions found in typical applications (Section 6 and Section 7). SDS-TWR produces smaller TOF error against clock drifts only when reply times ( t r e p l y A and t r e p l y B ) are symmetric. In contrast, AltDS-TWR provides the same level of accuracy to SDS-TWR in the symmetric case, and the most robust solution out of any of the three evaluated conditions in the asymmetric case (Section 6 and Section 7).
Distance error estimation between two transceivers was evaluated in this article. For future work, the error caused by multiple anchors (fixed-reference) nodes and a single mobile node will be analyzed. This corresponds to error analysis in a positioning algorithm between multiple anchor nodes and a single mobile node using AltDS-TWR as a ranging method.

Author Contributions

Conceptualization, C.L.S.; methodology, C.L.S. and T.H.; software, C.L.S, M.A. and T.H.; validation, M.A., T.H., M.H., M.P., and U.R.; formal analysis, T.H. and M.H.; investigation, M.A., T.H., M.H., M.P., and U.R.; writing—original draft preparation, C.L.S.; writing—review and editing, M.A., T.H., M.H., M.P., and U.R.; visualization, C.L.S, T.H., and M.H.; supervision, U.R.; project administration, M.H., M.P., and U.R.; funding acquisition, U.R.

Funding

We acknowledge support for the Article Processing Charge by the Deutsche Forschungsgemeinschaft and the Open Access Publication Fund of Bielefeld University.

Acknowledgments

This work was supported by the Cluster of Excellence Cognitive Interaction Technology ’CITEC’(EXC 277) at Bielefeld University, which is funded by the German Research Foundation (DFG). Author Cung Lian Sang was supported by the German Academic Exchange Service (DAAD). The authors are responsible for the contents of this publication.

Conflicts of Interest

The authors declare no conflict of interest. The founding sponsors had no role in the design of the study; in the collection, analyses, or interpretation of data; in the writing of the manuscript, or in the decision to publish the results.

Abbreviations

The following abbreviations are used in this manuscript:
ADS-TWRAsymmetric Double-Sided Two-Way Ranging
AltDS-TWRAlternative Double-Sided Two-Way Ranging
DS-TWRDouble-Sided Two-Way Ranging
GPSGlobal Positioning System
IMUInertial Measurement Unit
LOSLine of Sight
MACMedium Access Control layer
NLOSNonline of Sight
PATDPreamble Accumulation Time Delay
PDS-TWRParallel Double-Sided Two-way Ranging
PTDPropagation Time Delay
RTDReceiving Time Delay
RMSERoot Mean Square Error
SDS-TWRSymmetric Double-Sided Two-Way Ranging
SS-TWRSingle-sided Two-Way Ranging
STDStandard Deviation
TEEMTime-of-Flight Error Estimation Model
TOFTime-of-Flight
TTDTransmission Time Delay
TWRTwo-Way Ranging
WSNWireless Sensor Network

References

  1. Conti, A.; Dardari, D.; Guerra, M.; Mucchi, L.; Win, M.Z. Experimental Characterization of Diversity Navigation. IEEE Syst. J. 2014, 8, 115–124. [Google Scholar] [CrossRef]
  2. Wu, Y.C.; Chaudhari, Q.; Serpedin, E. Clock synchronization of wireless sensor networks. IEEE Signal Process. Mag. 2011, 28, 124–138. [Google Scholar] [CrossRef]
  3. IEEE 802.15.4. IEEE Standard for Local and Metropolitan Area Networks–Part 15.4: Low-Rate Wireless Personal Area Networks (LR-WPANs). IEEE Std 802.15.4-2011 (Revision of IEEE Std 802.15.4-2006); LAN/MAN Standard Committee; IEEE Computer Society: New York, NY, USA, 2011; pp. 1–314. [Google Scholar]
  4. Neirynck, D.; Luk, E.; McLaughlin, M. An alternative double-sided two-way ranging method. In Proceedings of the 13th Workshop on Positioning, Navigation and Communications (WPNC), Bremen, Germany, 19–20 October 2016; pp. 1–4. [Google Scholar] [CrossRef]
  5. Dardari, D.; Conti, A.; Ferner, U.; Giorgetti, A.; Win, M.Z. Ranging with ultrawide bandwidth signals in multipath environments. Proc. IEEE 2009, 97, 404–426. [Google Scholar] [CrossRef]
  6. Sang, C.L.; Adams, M.; Hörmann, T.; Hesse, M.; Porrmann, M.; Rückert, U. An Analytical Study of Time of Flight Error Estimation in Two-Way Ranging Methods. In Proceedings of the 2018 International Conference on Indoor Positioning and Indoor Navigation (IPIN) Nantes, Nantes, France, 30 September–3 Ocotober 2018; pp. 1–8. [Google Scholar] [CrossRef]
  7. Kim, H. Double-sided two-way ranging algorithm to reduce ranging time. IEEE Commun. Lett. 2009, 13, 486–488. [Google Scholar] [CrossRef]
  8. Kwak, M.; Chong, J. A new double two-way ranging algorithm for ranging system. In Proceedings of the 2nd IEEE International Conference on Network Infrastructure and Digital Content, Beijing, China, 24–26 September 2010; pp. 470–473. [Google Scholar] [CrossRef]
  9. Baba, A.I.; Atia, M.M. Burst mode symmetric double sided two way ranging. In Proceedings of the IFIP Wireless Days (WD), Niagara Falls, ON, Canada, 10–12 October2011; pp. 1–3. [Google Scholar] [CrossRef]
  10. Lee, J.X.; Lin, Z.; Francois, C.P.S. Symmetric double side two way ranging with unequal reply time. In Proceedings of the IEEE 66th Vehicular Technology Conference, Baltimore, MD, USA, 15 October 2007; pp. 1980–1983. [Google Scholar] [CrossRef]
  11. Nam, Y.; Lee, H.; Kim, J.; Park, K. Two-way ranging algorithms using estimated frequency offsets in WPAN and WBAN. In Proceedings of the 3rd International Conference on Convergence and Hybrid Information Technology, Busan, Korea, 11–13 November 2008; pp. 842–847. [Google Scholar] [CrossRef]
  12. Dalce, R.; van den Bossche, A.; Val, T. A study of the ranging error for parallel double sided-two way ranging protocol. In Proceedings of the IEEE 84th Vehicular Technology Conference (VTC-Fall), Montreal, QC, Canada, 18–21 September 2016; pp. 1–5. [Google Scholar] [CrossRef]
  13. Horváth, K.A.; Ill, G.; Milánkovich, Á. Passive extended double-sided two-way ranging algorithm for UWB positioning. In Proceedings of the 9th International Conference on Ubiquitous and Future Networks (ICUFN), Milan, Italy, 4–7 July 2017; pp. 482–487. [Google Scholar] [CrossRef]
  14. Ganeriwal, S.; Kumar, R.; Srivastava, M.B. Timing-sync protocol for sensor networks. In Proceedings of the 1st International Conference on Embedded Networked Sensor Systems (SenSys ’03), Los Angeles, CA, USA, 5–7 November 2003; ACM: New York, NY, USA, 2003; pp. 138–149. [Google Scholar] [CrossRef]
  15. Chaudhari, Q.M.; Serpedin, E.; Qaraqe, K. On Maximum Likelihood Estimation of Clock Offset and Skew in Networks with Exponential Delays. IEEE Trans. Signal Process. 2008, 56, 1685–1697. [Google Scholar] [CrossRef]
  16. Leng, M.; Wu, Y. On Clock Synchronization Algorithms for Wireless Sensor Networks Under Unknown Delay. IEEE Trans. Veh. Technol. 2010, 59, 182–190. [Google Scholar] [CrossRef] [Green Version]
  17. Dwivedi, S.; de Angelis, A.; Zachariah, D.; Händel, P. Joint Ranging and Clock Parameter Estimation by Wireless Round Trip Time Measurements. IEEE J. Sel. Areas Commun. 2015, 33, 2379–2390. [Google Scholar] [CrossRef]
  18. Hach, R. Symmetric double side two way ranging. In Contribution to IEEE 802.15.4A, IEEE P802.15 Working Group for Wireless Personal Area Networks (WPAN), Doc. IEEE P.802.15-05-0334-00-004a; IEEE Computer Society: New York, NY, USA, 2005. [Google Scholar]
  19. Jiang, Y.; Leung, V.C.M. An asymmetric double sided two-way ranging for crystal offset. In Proceedings of the International Symposium on Signals, Systems and Electronics, Montreal, QC, Canada, 30 July–2 August 2007; pp. 525–528. [Google Scholar] [CrossRef]
  20. Baba, A.I. Calibrating time of flight in Two Way ranging. In Proceedings of the 7th International Conference on Mobile Ad-Hoc and Sensor Networks, Beijing, China, 16–18 December 2011; pp. 393–397. [Google Scholar] [CrossRef]
  21. Lim, J.M.; Yoo, S.H.; Park, J.K.; Sung, T.K.; Oh, J.H.; Jeong, S.; Lee, K.E. Error analysis of cooperative positioning system using two-way ranging measurements. In Proceedings of the 8th International Conference on Signal Processing and Communication Systems (ICSPCS), Gold Coast, QLD, Australia, 15–17 December 2014; pp. 1–4. [Google Scholar] [CrossRef]
  22. DW1000 User Manual: How to Use, Configure and Program the DW1000 UWB Transceiver; Revision 2.15; Decawave: Dublin, Ireland, 2017.
  23. McElroy, C.; Neirynck, D.; McLaughlin, M. Comparison of wireless clock synchronization algorithms for indoor location systems. In Proceedings of the IEEE International Conference on Communications Workshops (ICC), Sydney, NSW, Australia, 10–14 June 2014; pp. 157–162. [Google Scholar] [CrossRef]
  24. Caffery, J.J.; Stuber, G.L. Overview of radiolocation in CDMA cellular systems. IEEE Commun. Mag. 1998, 36, 38–45. [Google Scholar] [CrossRef] [Green Version]
  25. Hoffman, J.D. Numerical Methods for Engineers and Scientists, 2nd ed.; Revised and Expended; Marcel Dekker Press: New York, NY, USA, 2001. [Google Scholar]
  26. Sang, C.L.; Adams, M.; Hörmann, T.; Hesse, M.; Porrman, M.; Rückert, U. Supplementary Data for the Paper entitled “An Analytical Study of Time of Flight Error Estimation in Two-Way Ranging Methods”. Bielef. Univ. 2018. Available online: https://pub.uni-bielefeld.de/data/2919795 (accessed on 14 May 2018). [CrossRef]
  27. DW1000 Datasheet—DW1000 IEEE802.15.4-2011 UWB Transceiver (Datasheet for DW1000); Revision 2.17; Decawave: Dublin, Ireland, 2018.
  28. STM32L476XX Datasheet—Ultra-Low-Power Arm Cortex-M4 32-Bit MCU+FPU, 100DMIPS, up to 1MB Flash, 128 KB SRAM, USB OTG FS, LCD, Ext. SMPS; DS10198, Rev. 7; STMicroelectronics: Geneva, Switzerland, 2018.
  29. APS014 Application Note—Antenna Delay Calibration of DW1000-Based Products and Systems, 1st ed.; DecaWave: Dublin, Ireland, 2018.
  30. APS012 Application Note—Production Tests for DW1000-Based Products (Typical Production Tests That Should Be Applied to DW1000-Based Products), 1st ed.; Decawave: Dublin, Ireland, 2015.
  31. Fofana, N.I.; van den Bossche, A.; Dalcé, R.; Val, T. An Original Correction Method for Indoor Ultra Wide Band Ranging-Based Localisation System. In Lecture Notes in Computer Science, Proceedings of the International Conference on Ad-Hoc Networks and Wireless, Lille, France, 4–6 July 2016; Springer: Cham, Switzerland, 2016; Volume 9724. [Google Scholar]
  32. Ledergerber, A.; Hamer, M.; D’Andrea, R. A robot self-localization system using one-way ultra-wideband communication. In Proceedings of the IEEE/RSJ International Conference on Intelligent Robots and Systems (IROS), Hamburg, Germany, 28 September–3 October 2015; pp. 3131–3137. [Google Scholar] [CrossRef]
  33. Zandian, R.; Witkowski, U. Robot self-localization in ultra-wideband large scale multi-node setups. In Proceedings of the 14th Workshop on Positioning, Navigation and Communications (WPNC), Bremen, Germany, 25–26 October 2017; pp. 1–6. [Google Scholar] [CrossRef]
  34. Hamer, M.; D’Andrea, R. Self-Calibrating Ultra-Wideband Network Supporting Multi-Robot Localization. IEEE Access 2018, 6, 22292–22304. [Google Scholar] [CrossRef]
  35. Tiemann, J.; Eckermann, F.; Wietfeld, C. Multi-user interference and wireless clock synchronization in TDOA-based UWB localization. In Proceedings of the International Conference on Indoor Positioning and Indoor Navigation (IPIN), Alcala de Henares, Spain, 4–7 October 2016; pp. 1–6. [Google Scholar] [CrossRef]
Figure 1. Illustration of single- and double-sided Two-Way Ranging (TWR) methods (©2018 IEEE. Reprinted with permission).
Figure 1. Illustration of single- and double-sided Two-Way Ranging (TWR) methods (©2018 IEEE. Reprinted with permission).
Sensors 19 00616 g001
Figure 2. Illustration of the asymmetric double-sided TWR method (©2018 IEEE. Reprinted with permission).
Figure 2. Illustration of the asymmetric double-sided TWR method (©2018 IEEE. Reprinted with permission).
Sensors 19 00616 g002
Figure 3. TOF error comparison using a Type I assumption (ideal case) as in Equation (23) (©2018 IEEE. Reprinted, with permission).
Figure 3. TOF error comparison using a Type I assumption (ideal case) as in Equation (23) (©2018 IEEE. Reprinted, with permission).
Sensors 19 00616 g003
Figure 4. TOF error comparison using a Type II assumption (special case) in accordance with Equations (24)–(27). (a) TOF error for SS-TWR and SDS-TWR on 65 sample points (see Table 2); (b) TOF error vs. delay ( ξ ); and (c) TOF error specifically for SDS-TWR and AltDS-TWR.
Figure 4. TOF error comparison using a Type II assumption (special case) in accordance with Equations (24)–(27). (a) TOF error for SS-TWR and SDS-TWR on 65 sample points (see Table 2); (b) TOF error vs. delay ( ξ ); and (c) TOF error specifically for SDS-TWR and AltDS-TWR.
Sensors 19 00616 g004
Figure 5. TOF error comparison between TWR methods using Type III assumption (typical case) as in Equations (28)–(31). (a) TOF error when t r e p l y A > t r e p l y B , (b) TOF error when t r e p l y A < t r e p l y B , (c) TOF error when t r e p l y A = 1140   μ s and t r e p l y B = 400   μ s , (d) TOF error when t r e p l y A = 1640   μ s and t r e p l y B = 400   μ s , (e) TOF error when t r e p l y A = 2140   μ s and t r e p l y B = 400   μ s , and (f) TOF error specifically for AltDS-TWR method at different reply times.
Figure 5. TOF error comparison between TWR methods using Type III assumption (typical case) as in Equations (28)–(31). (a) TOF error when t r e p l y A > t r e p l y B , (b) TOF error when t r e p l y A < t r e p l y B , (c) TOF error when t r e p l y A = 1140   μ s and t r e p l y B = 400   μ s , (d) TOF error when t r e p l y A = 1640   μ s and t r e p l y B = 400   μ s , (e) TOF error when t r e p l y A = 2140   μ s and t r e p l y B = 400   μ s , and (f) TOF error specifically for AltDS-TWR method at different reply times.
Sensors 19 00616 g005
Figure 6. Test environments of the experimental evaluations: (a) overview of office floor plan for the LOS experiment in hall (blue arrow) and the multipath experiment in a corridor (red arrow), (b) fixed-distance experiment in the laboratory, (c) LOS experiment in a hall (office environment), and (d) multipath experiment in a corridor (office environment).
Figure 6. Test environments of the experimental evaluations: (a) overview of office floor plan for the LOS experiment in hall (blue arrow) and the multipath experiment in a corridor (red arrow), (b) fixed-distance experiment in the laboratory, (c) LOS experiment in a hall (office environment), and (d) multipath experiment in a corridor (office environment).
Sensors 19 00616 g006
Figure 7. Measured data for fixed reply times used in the experiments for the special case (Type II).
Figure 7. Measured data for fixed reply times used in the experiments for the special case (Type II).
Sensors 19 00616 g007
Figure 8. Measured data for fixed reply times used in the experiments for a typical case (Type III).
Figure 8. Measured data for fixed reply times used in the experiments for a typical case (Type III).
Sensors 19 00616 g008
Figure 9. Comparison of Type II and Type III for LOS and multipath scenarios at a 4 m true reference. (ac) measured data from the LOS (Hall), and (df) measured data from the multipath (Corridor) scenario.
Figure 9. Comparison of Type II and Type III for LOS and multipath scenarios at a 4 m true reference. (ac) measured data from the LOS (Hall), and (df) measured data from the multipath (Corridor) scenario.
Sensors 19 00616 g009
Figure 10. Measured distance error comparison of Types II and III for three TWRs evaluated in different locations in LOS and multipath scenarios.
Figure 10. Measured distance error comparison of Types II and III for three TWRs evaluated in different locations in LOS and multipath scenarios.
Sensors 19 00616 g010
Figure 11. Results comparison of Types II and III for close LOS at true reference 0.25, 1.00, and 1.50 m . (ac) measurement results for Type II (special case), and (df) corresponding results for Type III (typical case).
Figure 11. Results comparison of Types II and III for close LOS at true reference 0.25, 1.00, and 1.50 m . (ac) measurement results for Type II (special case), and (df) corresponding results for Type III (typical case).
Sensors 19 00616 g011
Figure 12. Measured distance error (RMSE) comparison of Types II and III for three TWRs in a close LOS scenario.
Figure 12. Measured distance error (RMSE) comparison of Types II and III for three TWRs in a close LOS scenario.
Sensors 19 00616 g012
Figure 13. Variable reply times at fixed distance measurement.
Figure 13. Variable reply times at fixed distance measurement.
Sensors 19 00616 g013
Figure 14. NLOS scenarios for Types II and III at 2 m when a human subject is blocking.
Figure 14. NLOS scenarios for Types II and III at 2 m when a human subject is blocking.
Sensors 19 00616 g014
Table 1. Three assumption types for time-of-flight (TOF) Classification Errors (©2018 IEEE. Reprinted with permission).
Table 1. Three assumption types for time-of-flight (TOF) Classification Errors (©2018 IEEE. Reprinted with permission).
TypesRound-Trip DelayClock DriftsReply Time
Type I ξ = ξ B A B = ξ A B A e A = e B = 0 t r e p l y A = t r e p l y B
Type II ξ B A B , ξ A B A e A , e B t r e p l y A = t r e p l y B
Type III ξ B A B , ξ A B A e A , e B t r e p l y A t r e p l y B
Table 2. Sample Values used in Numerical Simulations (©2018 IEEE. Reprinted with permission).
Table 2. Sample Values used in Numerical Simulations (©2018 IEEE. Reprinted with permission).
ParametersSymbolsRange of ValueUnit
Relative delay error in round-trip time ξ = ξ B A B = ξ A B A 0:0.025:5ppm
Reply times in responder device t r e p l y = t r e p l y B 0:5:1000 μ s
t r e p l y A 0 :11:2200 μ s
Clock-drift error e A , e B ± 20 as stated inppm
(pseudorandom) 802.15.4-2011 [3]
Table 3. Used Ultrawide Bandwidth (UWB) configuration in the evaluations.
Table 3. Used Ultrawide Bandwidth (UWB) configuration in the evaluations.
PropertiesValues
Data rate 6.8 Mbps
Channel2
Center frequency 3993.6 M Hz
Bandwidth 499.2 M Hz
Pulse-repetition frequency (PRF)16 M Hz
Preamble code sequence index [3] (p. 203)3
Module nameDWM1000
ManufacturerDecawave
Reported precision [27] 10 cm
Table 4. Sample reply time drawn randomly from each of the three categories (LOS, close LOS, and multipath scenarios). Note: RMSE, Root Mean Square Error.
Table 4. Sample reply time drawn randomly from each of the three categories (LOS, close LOS, and multipath scenarios). Note: RMSE, Root Mean Square Error.
CasesRMSE ( μ s)Mean ( μ s)STD (ns)Data Spread (ns)Sample Size
( t replyA t replyB ) t replyA t replyB t replyA t replyB t replyA t replyB
Special case0.31490.94491.252.292.328.178.002350
(Type II)0.28490.97491.252.302.328.478.002450
0.26491.0491.252.342.349.148.002000
Typical case439.41836.80397.40357.14357.111754.51754.02350
(Type III)439.58836.90397.33375.07375.074451.34451.62450
439.83837.04397.221369.11369.116,474.016,474.02000
Table 5. Experiment evaluation results for the special case (Type II) at different scenarios.
Table 5. Experiment evaluation results for the special case (Type II) at different scenarios.
CasesRef. (cm)RMSE (cm)Standard Deviation (cm)Spread of Data (cm)Sample Size
AltDSSDSSSAltDSSDSSSAltDSSDSSS
Close25.6317.8717.8523.403.413.412.0030.5630.569.852000
LOS50.0814.7214.725.306.856.855.1941.2341.2354.542000
75.4411.7811.776.952.342.345.0513.1913.1920.062000
103.905.795.8312.922.792.793.5914.1914.1916.892000
125.186.566.558.082.802.804.9615.9515.9524.622000
150.302.112.1115.591.841.841.5915.0615.0620.642000
175.273.983.9813.913.883.884.0916.1816.1817.532000
200.773.463.4613.312.192.192.4015.7115.7114.712000
LOS399.822.092.0915.032.082.084.1314.3014.3124.332450
(Hall)806.702.932.9321.411.331.331.348.448.4411.732450
1206.201.881.8920.751.321.321.539.039.0310.552450
1600.202.472.4714.302.152.159.2913.5913.6040.342450
2002.002.002.0014.561.971.976.1616.1716.1834.942450
Multipath402.125.415.4120.911.871.872.9611.4311.4315.952350
(Corridor)802.055.195.2019.462.372.372.6011.8411.8414.072350
1200.445.545.5518.972.052.052.9312.7812.7815.712350
1601.583.003.0013.672.882.886.8016.5316.5335.412350
2003.243.323.3114.931.861.861.7911.9611.9612.662350
Table 6. Experiment evaluation results for typical case (Type III) at different scenarios.
Table 6. Experiment evaluation results for typical case (Type III) at different scenarios.
CasesRef. (cm)RMSE (cm)Standard Deviation (cm)Spread of Data (cm)Sample Size
AltDSSDSSSAltDSSDSSSAltDSSDSSS
Close25.6318.0611.9923.953.3211.961.2631.2630.8633.792000
LOS50.0812.3635.113.594.7913.963.3938.6039.6518.062000
75.4412.3116.156.962.493.004.8014.1317.8830.312000
103.906.6712.315.792.412.494.0516.5715.4225.802000
125.185.0712.219.402.171.892.8913.1313.2516.652000
150.303.488.238.762.742.514.7416.3813.1329.252000
175.273.438.4412.443.393.203.6714.3214.5415.892000
200.774.789.886.902.342.414.0114.4414.4222.752000
LOS399.821.508.0114.311.461.451.7410.799.9712.372450
(Hall)806.702.045.7912.781.921.874.8712.5313.8426.272450
1206.202.097.1316.621.551.531.7313.2513.3713.372450
1600.203.694.9617.991.551.571.8411.2810.4416.182450
2002.002.935.1310.452.742.899.2826.3422.4048.482450
Multipath402.125.532.1217.321.581.802.6813.5512.1317.122350
(Corridor)802.055.033.1217.551.931.982.1210.8810.2013.842350
1200.444.972.5213.861.872.514.2113.5016.6523.842350
1601.583.207.0412.183.023.555.9318.3823.8035.882350
2003.246.4310.768.843.004.838.8417.6926.9740.102350
Table 7. Experimental evaluation results for variable reply times at fixed reference distance ( 5.494 m ).
Table 7. Experimental evaluation results for variable reply times at fixed reference distance ( 5.494 m ).
RMSE (ms)RMSE (cm)Reply Time (ms)
No. of TrialsReply TimeDistance ErrorMeanSample Size
( t replyA t replyB )AltDSSDSSS t replyA t replyB
1.0.00033.443.4418.400.49090.49132850
2.0.242.742.2715.160.640.402966
3.0.743.518.8715.761.140.402435
4.1.243.6315.5815.1451.640.402496
5.1.743.5022.2714.562.140.402523
6.2.243.7228.6014.512.640.402320
7.2.743.5034.3313.973.140.402454
8.3.243.5139.1713.553.640.402485
9.3.743.5944.4013.404.140.402574
10.4.243.5150.7513.394.640.402446

Share and Cite

MDPI and ACS Style

Lian Sang, C.; Adams, M.; Hörmann, T.; Hesse, M.; Porrmann, M.; Rückert, U. Numerical and Experimental Evaluation of Error Estimation for Two-Way Ranging Methods. Sensors 2019, 19, 616. https://doi.org/10.3390/s19030616

AMA Style

Lian Sang C, Adams M, Hörmann T, Hesse M, Porrmann M, Rückert U. Numerical and Experimental Evaluation of Error Estimation for Two-Way Ranging Methods. Sensors. 2019; 19(3):616. https://doi.org/10.3390/s19030616

Chicago/Turabian Style

Lian Sang, Cung, Michael Adams, Timm Hörmann, Marc Hesse, Mario Porrmann, and Ulrich Rückert. 2019. "Numerical and Experimental Evaluation of Error Estimation for Two-Way Ranging Methods" Sensors 19, no. 3: 616. https://doi.org/10.3390/s19030616

APA Style

Lian Sang, C., Adams, M., Hörmann, T., Hesse, M., Porrmann, M., & Rückert, U. (2019). Numerical and Experimental Evaluation of Error Estimation for Two-Way Ranging Methods. Sensors, 19(3), 616. https://doi.org/10.3390/s19030616

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop