[go: up one dir, main page]

Next Article in Journal
Mitigating the Impact of the COVID-19 Pandemic on Adult Cancer Patients through Telehealth Adoption: A Systematic Review
Previous Article in Journal
High-Frequency Vibration Analysis of Piezoelectric Array Sensor under Lateral-Field-Excitation Based on Crystals with 3 m Point Group
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

A Two-Step Fusion Method of Wi-Fi FTM for Indoor Positioning

1
Key Laboratory of Land Environment and Disaster Monitoring, MNR, China University of Mining and Technology, Xuzhou 221116, China
2
School of Environmental Science and Spatial Informatics, China University of Mining and Technology, Xuzhou 221116, China
*
Author to whom correspondence should be addressed.
Sensors 2022, 22(9), 3593; https://doi.org/10.3390/s22093593
Submission received: 24 April 2022 / Revised: 6 May 2022 / Accepted: 6 May 2022 / Published: 9 May 2022
(This article belongs to the Section Navigation and Positioning)
Figure 1
<p>The procedure of the Wi-Fi FTM protocol.</p> ">
Figure 2
<p>The schematic diagram of the NLOS effect.</p> ">
Figure 3
<p>The principle of the geometric positioning method.</p> ">
Figure 4
<p>The process of constructing the distance database.</p> ">
Figure 5
<p>The process of fusion positioning.</p> ">
Figure 6
<p>The architecture of the proposed fusion method.</p> ">
Figure 7
<p>The test site is the 54th Research Institute of China Electronics Technology Group Corporation.</p> ">
Figure 8
<p>Comparison of real-time range measurements in different scenarios: (<b>a</b>) features of real-time range measurements in outdoor setting; (<b>b</b>) features of real-time range measurements in the corridor; and (<b>c</b>) features of real-time range measurements in the room.</p> ">
Figure 9
<p>The deployment of APs and the test points in the test site.</p> ">
Figure 10
<p>Diagram of the coverage of grid points.</p> ">
Figure 11
<p>The performance of the improved matching method with different spacing. (<b>a</b>) The box plot of the improved matching method with different spacing. (<b>b</b>) The cumulative errors of the ranging fingerprint positioning with different spacing.</p> ">
Figure 12
<p>Positioning error of five methods. (<b>a</b>) The comparison of positioning error of five methods based on group data set one. (<b>b</b>) The comparison of positioning error of five methods based on group data set two.</p> ">
Figure 12 Cont.
<p>Positioning error of five methods. (<b>a</b>) The comparison of positioning error of five methods based on group data set one. (<b>b</b>) The comparison of positioning error of five methods based on group data set two.</p> ">
Figure 13
<p>Positioning error spatial distribution of the proposed methods including single-point positioning, improved matching positioning, and the fusion positioning methods from top to bottom. (<b>a</b>) Error spatial distribution of t group data set one. (<b>b</b>) Error spatial distribution of t group data set two.</p> ">
Figure 14
<p>Cumulative errors of different positioning methods. (<b>a</b>) The comparison of cumulative errors of five methods based on the first group data set. (<b>b</b>) The comparison of cumulative errors of five methods based on the second group data set.</p> ">
Review Reports Versions Notes

Abstract

:
The Wi-Fi fine time measurement (FTM) protocol specified in the IEEE 802.11-2016 standard provides a new two-way ranging approach to enhance positioning capability. Similar to other wireless signals, the accuracy of the real-time range measurement of FTM is influenced by various errors. In this work, the characteristics of the ranging errors is analyzed and an abstract ranging model is introduced. From the perspective of making full use of the range measurements from FTM, this paper designs two positioning steps and proposes a fusion method to refine the performance of indoor positioning. The first step is named single-point positioning, locating the position with the real-time range measurements based on the geometric principle. The second step is named the improved matching positioning, which constructs a distance database by utilizing the existing scene information and uses the modified matching algorithm to obtain the position. In view of the different positioning accuracies and error distributions from the results of the aforementioned two steps, a fusion method using the indirect adjustment principle is proposed to adjust the positioning results, and the advantages of the matching scene information and the range measurements are served simultaneously. Finally, a number of tests are conducted to assess the performance of the proposed method. The experimental results demonstrate that the precision and stability of indoor positioning are improved by the proposed fusion method.

1. Introduction

Driven by trends of the Internet of things (IoT) and intelligent equipment penetration, people’s living behavior and time spent indoors have been changing. Indoor position and navigation techniques have played a vital role in retail, marketing, transportation, healthcare, emergency and rescue, and more [1]. To provide reliable and accurate position information similar to the global navigation satellite system (GNSS) in indoor environments, various techniques including wireless fidelity (Wi-Fi) [2,3,4,5], Bluetooth low energy (BLE) beacons [6,7], radio frequency identification (RFID) [8,9], ultrasonic [10], ultra-wideband (UWB) [11,12], and pseudolite [13,14] have been attempted. Solutions based on these studies behave well in certain circumstances but suffer limited accuracy and coverage.
Among these techniques, Wi-Fi-based positioning techniques are the most popular indoor positioning method due to the wide deployment of Wi-Fi access points (APs) everywhere. With RSSs from nearby APs, the distance to each AP can be calculated by utilizing the lognormal model, and subsequently, the position of the device is obtained by applying trilateration techniques [15]. This method needs a low computation, however, with the fluctuation and unpredictability of RSS, the accuracy of this method is limited. Another approach is to collect RSSs at known locations to construct the fingerprint database, and the target is located by matching the real-time RSSs with the database [16,17]. This technique is popular due to its simplicity but is time-consuming and labor-intensive. With more fine-grained channel state information (CSI) open to access, a high-precision fingerprint database can be constructed to achieve high positioning accuracy [18,19,20,21]. To be able to find a balance between accuracy and efficiency, time-based techniques including the time of arrival (TOA)/time of flight (TOF) and time of difference arrival (TDOA) are critical for ranging with high accuracy in early time [22,23,24]. For one-way time measurements of these techniques, it is difficult to realize strict time synchronization and implement it on smartphones. Then, a new protocol of the fine time measurement (FTM) specified in the 802.11-REVmc2 stand in 2016 has received increasing attention due to its capability to measure accurate ranging [25]. The protocol provides a new way to estimate the round-trip time (RTT) of the signal flight between the transmitter and the receiver without considering the clock synchronization. To apply this technique widely, the Android Pie (Android 9.0 and later ) operating system released by Google implemented this specification and the interfaces for the developers at the software level were also provided [26]. Compulab’s Wi-Fi Indoor Location Device (WILD), Google Wi-Fi routers, and Nest Wi-Fi routers support the protocol as well [27,28,29].
As a common problem of wireless signals, RTT measurement also suffers from reflection, fading, and shadowing in the indoor environment. Analyzing the composition, characteristics, and distribution of the errors is helpful to construct an accurate ranging model. Research has been conducted on the factors that affect FTM signal propagation including the clock skew, bandwidth effect, sampling effect, multipath effect, and position-dependent error in different scenarios [30,31,32,33]. However, some of these errors are hardware related and the compensation algorithms have been incorporated into the firmware. Most of the remaining errors are caused by the multipath propagation or non-line-of-sight (NLOS) effect, which is strongly correlated with the environment. Therefore, an accurate ranging model is context dependent. Guo et al. introduced an algorithm based on the Kalman filter to fuse the Wi-Fi RTT and RSS to improve the accuracy of the range measurement [34]. The polynomial fitting method was proposed in Sun et al.’s work [35]. Cao et al. proposed a range calibration model for different scenarios based on the gaussian process regression [36]. In addition, other studies concentrate on combining methods such as pedestrian dead reckoning (PDR) and map matching for improving the performance of Wi-Fi FTM positioning [35,37,38,39]. These methods locate the target based on geometric principles without making full use of the information. To compensate for this shortcoming, this paper designed two positioning steps and proposed a fusion method based on the same range measurement set to refine the performance of Wi-Fi-based indoor positioning. The first step is named single-point positioning, locating the position with the real-time range measurements based on the geometric principle. The second step is named improved matching positioning, which constructs a distance database by utilizing the existing scene information and uses the modified matching algorithm to obtain the position. Due to the error distribution of the two methods being different, a fusion method was proposed to adjust the positioning results based on the indirect adjustment principle [40,41,42]. Our major contributions are summarized as follows:
  • We demonstrated the procedure of the Wi-Fi FTM protocol and analyzed the characteristics of several types of errors that may occur in the range measurement including clock drift, multipath propagation and NLOS effect, and random noise. An abstract ranging model based on the previous error was introduced.
  • We analyzed and presented some geometric positioning methods to resolve the 2D position and a single-point positioning method with the advantages of resisting coarse ranging errors and numerical stability.
  • Another approach called improved matching positioning was proposed. The method contains the offline stage and online stage. The offline stage was to construct the distance database by utilizing the extent of the location scenario and Wi-Fi APs coordinates. In the online stage, a modified matching method was utilized to process the real-time ranging fingerprint.
  • To be able to combine the two methods from the perspective of the accuracy and error distribution, a fusion positioning method was proposed to adjust the positioning results.
The remainder of this paper is organized as follows: Section 2 presents the related works of Wi-Fi FTM in detail. Section 3 introduces the characteristics of ranging errors, the principles of the single point positioning, the improved matching positioning, and the fusion positioning methods. Section 4 describes the experiments and analyzes the results. Then, the discussion of the paper and the conclusions are presented in Section 5 and Section 6.

2. Related Works

Wi-Fi-based positioning techniques can be divided into two types: the fingerprint-based positioning method and the range-based method. For the first type of method, the RADAR system was the first fingerprint system, developed by Bahl et al. for indoor localization by utilizing a KNN algorithm [43]. Since then, many researchers have devoted themselves to the improvement of Wi-Fi RSS signal collection, fingerprint database construction, and positioning methods to promote the development of fingerprint indoor positioning. Song et al. analyzed the interference between Wi-Fi APs and proposed a novel AP selection method based on the relief and correlation coefficient method to select the appropriate AP signal [44]. Bi et al. introduced a fast construction method by using an adaptive path loss model interpolation to construct the fingerprint database in large-scale buildings combined with the current powerful deep learning methods [17]. Chen et al. designed a local feature-based deep long short-term memory (LF-DLSTM) approach to extract robust local features for Wi-Fi fingerprint indoor localization [45]. These studies involve each part of the fingerprint positioning technique. Moreover, fine-grained CSI measurements were used for locating the device with higher accuracy and stability. Wang et al. presented a novel deep-learning-based indoor fingerprint system based on CSI which effectively reduced location errors [19]. Wu et al. presented a fingerprint-based device-free system that enabled precise localization in indoor spaces by aggregating the CSI measurements based on Bayes classification [20]. However, the fingerprint-based methods have to construct the fingerprint database offline and update it constantly, which is time-consuming and labor-intensive, becoming a factor restricting the development of this kind of method.
For the second type of method, the Wi-Fi range-based methods mainly depended on the RSS inversion or time-related measurement. The logarithmic path-loss model is usually applied to map the relationship between RSS and ranging. These studies analyzed the features of signal strength from multiple aspects and adopted different methods to construct the logarithmic path loss model that suited the environment. After obtaining the accurate ranging, the target position was estimated by the multilateration method. This method can directly utilize RSS signals without additional equipment or protocols, but due to signal volatility, it is difficult to obtain accurate and stable ranging models. Therefore, time-related Wi-Fi positioning techniques were introduced. For example, the signal of the time of difference arrival (TDOA) and time of arrival (TOA) protocols was utilized to construct the ranging model to locate the device in early time [22,24]. Prieto et al. implemented an autonomous positioning technique based on IEEE 802.11 RTS/CTS two-frame exchange in a real scenario in 2009 [46]. Banin et al. introduced the Wi-Fi time of flight (TOF) protocol and described the development stages from the aspects of protocol conception, algorithm construction, and simulation to deployment in 2013 [23]. These related works show this technology is very attractive, even if it is difficult to implement on smartphones and requires special hardware. In 2016, a new two-way ranging approach provided by the Wi-Fi FTM protocol specified in EEE 802.11-REVmc2 attracted many scholars to participate in research. Ibrahim et al. analyzed the key factors and parameters that affected the Wi-Fi FTM ranging performance and introduced a general, repeatable, and accurate measurement framework to evaluate the time-based ranging system that was deployed at an open platform [30]. Dvorecki et al. utilized several machine learning approaches to estimate the Wi-Fi RTT ranging in contrast with the “ground-truth” information collected using a LiDAR system. The experimental results showed that the artificial neural network (ANN) approach outperformed the accuracy of the other method [47]. Choi et al. pointed out that the distance estimation strategy of range-based positioning techniques should adaptively change depending on the environment. They proposed an unsupervised learning approach based on the neural network (NN) to estimate the distance. The result illustrated that the proposed method can output the estimated distance and its standard deviation [48]. Cao et al. utilized the Gaussian process regression (GPR) to construct the position model for harsh environments and estimated the three-dimensional position in another literature by utilizing the information of the Wi-Fi FTM and estimated the 3D position of the target based on the stand particle swarm optimization algorithm based on the Wi-Fi FTM in another paper [36,49]. Si et al. made the positioning result more accurate and stable after identifying the NLOS errors [50]. The key to these methods is to construct an accurate ranging model in a particular scenario through the models.
To improve the accuracy and stability of positioning, it is more advisable to use other favorable information for fusion positioning. In view of the fusion positioning of Wi-Fi FTM, there are also many related studies. Banin et al. presented a fusion method that combined the Bayesian approach and additional map information to provide a more accurate position estimation [37]. Guo et al. introduced the clock skew, analyzed the distribution of RTT ranging error, and presented a calibration method to eliminate the RTT range offset. An integrated ranging algorithm based on the Kalman filter to fuse the Wi-Fi RTT and RSS inversion ranging was proposed to enhance the scalability and robustness of the positioning system [34]. Sun et al. proposed a new tightly coupled positioning algorithm based on an extended Kalman filter to fuse the Wi-Fi FTM and PDR data to improve accuracy [35]. Choi et al. proposed a calibration-free positioning technique using Wi-Fi ranging and PDR, where every parameter in the system is optimized in real time. The experimental results demonstrated that the proposed method achieved good performance [39]. Huang et al. presented the idea of the ranging fingerprint in their paper and built a fingerprint database through a CNN method. A particle filter was utilized to integrate the Wi-Fi ranging fingerprint, PDR, and map information to achieve sub-meter-level positioning. The results showed that the integrated system could obtain the mean positioning error of 0.41 m [38]. For the positioning accuracy of different methods, Gustafsson et al. presented models for RSS, TOA, and angle of arrival (AOA) measurements and proposed the position accuracy boundary criterion accordingly based on the Cramer–Rao lower bounds (CRLB) [51]. Patwari et al. focused on the shorter-range, low-antenna, sensor network environment to construct the CRLB model to help system designers and researchers select measurement technologies and evaluate localization algorithms [52].
In summary, these studies focused on ranging error analysis and compensation, ranging model construction under certain circumstances, and positioning methods integrating other signals for indoor positioning. Compared with other positioning techniques, Wi-Fi FTM is worth studying as a Wi-Fi-based positioning technique due to its convenience.

3. Materials and Methods

3.1. Ranging Model Based on Wi-Fi Fine Time Measurement

The Wi-Fi FTM protocol enables a new two-way ranging approach between initiator and responder. The initiator is usually a smartphone (SP), and the responder is a Wi-Fi access point (AP), both of which support the FTM protocol. The procedure of the FTM protocol is shown in Figure 1.
The whole procedure starts with the SP sending an FTM request to the AP and waiting for the acknowledgment (Ack) packet from the AP. Then, one measurement of the two-way ranging occurs as follows: the AP sends the FTM frame to SP and records the time of departure (TOD)   t 1 . The SP receives the FTM frame and records the time of arrival (TOA)   t 2 . Then, it sends the Ack instruction back to the AP after processing the frame and records TOD   t 3 . The AP receives the Ack information and records the TOA   t 4 . During the next measurement, the times   t 1 and t 4   are sent to the SP. The ideal time of flight between two devices is denoted as   t f which can be extracted as follows:
  t f = (   t 4 t 1 ) (   t 3 t 2 ) 2 =   t a p t s p 2  
where t s p and t a p represent the time delay of the measurement in both devices, respectively. The distance between SP and AP is estimated in Equation (2) by multiplying the time of flight   t f and speed of the light c :
d = c ·   t f
The procedure demonstrates that the two-way ranging of the protocol allows two devices without common clock synchronization.
However, the independent and unsynchronized clocks of two devices are affected by imperfections in the time references. The clock drift is assumed as the dominant component in the time imperfections [53] and is modeled as the following expressions:
  t ^ s p = ( 1 + e s p ) t s p   t ^ a p = ( 1 + e a p ) t a p
where   t ^ s p and   t ^ a p represent the nominal time difference values in SP and the AP, respectively, and e s p and e a p model the deviation from the nominal frequency of the two devices. Based on Equations (2) and (3), the estimated time of flight   t ^ f becomes
  t ^ f = 1 2 (   t ^ a p t ^ s p )  
and the error equals:
  t ^ f t f = 1 2 ( e a p t a p e s p t s p ) = e a p t f + t s p 2 ( e a p e s p )  
The time delay t s p is determined by the processing time of the packets to be received and transmitted. For the same device processing the same signal, the time delay t s p is assumed as a constant value and is expressed as a certain multiple of the time of flight. The error can be simplified to a variable only related to the time of flight in Equation (6):
  t ^ f t f = e a p t f + t s p 2 ( e a p e s p ) = e a p   t f + k   t f 2 ( e a p e s p ) = e f t f  
where e f is the error factor including the deviation from the nominal frequency and the time delay of processing the signal. Therefore, the time of flight distance error d e f is increased with the distance measurement.
d e f = c ·   e f t f  
To verify the performance of the error d e f , a group of experiments under the condition of line-of-sight (LOS) outdoors, in which it is assumed the error of the ranging is only related to the error e f , was carried out. Experimental results show that the performance of the distance error is consistent with the previous analysis, increased with the distance, and has a negative term. Moreover, similar to other wireless signals, FTM measurement suffers from reflection, fading, and shadowing. The multipath propagation and non-line-of-sight effects, which are caused by the surrounding environment, such as building structure, materials, and people, have significant influence on the time of signal flight. A schematic diagram of this type of error is shown in Figure 2. In the figure, the green line represents the true path and the red line represents the possible path of signal propagation. When the signal is received by the smartphone under this circumstance, the signal propagates directly through the material or spreads through the reflective surface to the smartphone. Both cases will result in longer signal flight time. Increasing the channel bandwidth or applying super-resolution algorithms can improve the device’s ability to distinguish the first arrival through a direct path to suppress the multipath propagation effect [30,54]. In addition, the RSS can be collected in the ranging procedure to help identify the NLOS effect [50].
Except for the above-introduced errors, the random error e r , which conforms to the normal distribution, is inevitable. Therefore, taking all these error items into account, the ranging model is expressed in Equation (8):
d ^ = d + d e f + d e m + d e r
where   d ^ is the observed distance, d is the actual distance, and d e f ,   d e m , and d e r are distance errors caused by e f , e m , and e r . Among these errors, the errors e f and e m have rules to follow and can be suppressed easily. Due to the complexity of the indoor environment, the error e m   is complex and varies with different scenarios, which is difficult to eliminate.

3.2. Single Point Positioning Method

After getting the range measurements, the position can be resolved by geometric positioning. To achieve a bi-dimensional (2D) position, at least three Wi-Fi FTM range measurements from different APs are required. Figure 3 shows the principle of the geometric positioning method in a 2D plane.
Suppose the coordinate of the SP is S = ( x , y ) and the distance to i t h AP, whose position is ( x i , y i ) , is d i . The distances from SP to each AP can be calculated by the Euclidean distance in the following form:
{ ( x 1 x ) 2 + ( y 1 y ) 2 = d 1 ( x n x ) 2 + ( y n y ) 2 = d n
Due to the errors in the range measurements, Equation (9) is squared and simplified to a linear equation and is written as follows:
A ( n 1 ) × 2 × S L ( n 1 ) = V ( n 1 ) A ( n 1 ) × 2 = 2 [ x 1 x 2 x 1 x n y 1 y 2 y 1 y n ] L ( n 1 ) = [ d 2 2 d 1 2 ( x 2 2 x 1 2 ) ( y 2 2 y 1 2 ) d n 2 d 1 2 ( x n 2 x 1 2 ) ( y n 2 y 1 2 ) ]
where V is the distance measurement noise. The object of the Equation (10) is to minimize the value V T V . The S is commonly resolved by using the least square (LS) method, which is expressed in Equation (11):
S = ( A T A ) 1 A T L
This approach is easy to implement and run fast, which is called the multilateration positioning method. It is the most commonly used method in the distance-based positioning system.
Another way is to perform the Taylor series of nonlinear Equation (9) at the approximate coordinate S 0 = ( x 0 , y 0 ) and resolve the result iteratively by the Newton method. The details are described as follows. Firstly, Equation (9) is converted to Equation (12) in the form of first-order Taylor series:
{ x x 0 d 0 1 d x + y y 0 d 0 1 d y = d 1 d 0 1 x x 0 d n 1 d x + y y 0 d n 1 d y = d n d 0 n d 0 i = ( x 0 x i ) 2 + ( y 0 y i ) 2
where d 0 i is the distance from the approximate position S 0 to the i t h AP and = [ d x , d y ] are the corrections coordinates of S 0 . Similarly, Equation (12) can be written in matrix form because of the random range measurement errors:
V n × 1 = A n × 2 × n × 1 L n × 1 A n × 2 = [ x 1 x 0 d 0 1 x n x 0 d n 1 y 1 y 0 d 0 1 x n y 0 d n 1 ] L n × 1 = [ d 1 d 0 1 d n d 0 n ]
The corrections can also be solved by the least square (LS) method, as shown in Equation (14) and estimation of S is obtained by Equation (15):
= ( A T A ) 1 A T L
S = S 0 +
The procedure needs to be iterated multiple times and will not stop until the corrections fall below a threshold or the iteration number is larger than a certain value. This method is called the single-point positioning method and the pseudocode of this method is shown in Table 1.
Compared with the multilateration positioning, the single-point positioning can resist coarse ranging errors and has the characteristic of numerical stability. The single-point positioning method is a better choice for geometric positioning in a complex indoor environment.

3.3. Improved Matching Positioning Method

Literature shows that the range measurements provided by Wi-Fi FTM may have standard deviations of 1–2 m under favorable circumstances [54]. Positioning based on geometric principles is still the mainstream solution of this technique. However, due to the complexity of the indoor environment, this technique needs to construct an accurate ranging model for different scenarios. In reference [36], three range compensation models were proposed for one scene. To solve this problem, this paper proposed an improved matching positioning method without needing to construct the ranging model in advance.
The proposed method is similar to fingerprint positioning containing two stages: the offline stage and the online stage. The main task of the offline stage is to construct a distance database while the online stage is real-time matching positioning. During the offline stage, the distance database is constructed based on the coordinates of APs and the extent of the location scenario. Figure 4 shows the process of constructing the distance database.
The whole process is described as follows:
  • Step 1: determining the extent of the current location scenario from the map. The point ( x m i n , y m i n ) refers to the minimum coordinate of the map whereas the point ( x m a x , y m a x ) refers to the maximum coordinate.
  • Step 2: to facilitate the construction of the distance database, we choose the form of grid topology. With the minimum coordinate as the lower-left and the maximum coordinate as the upper-right to form an outer rectangle. The rectangle is then divided into grids with a certain spacing s , where it is divided into m parts along the x-axis and n parts along the y-axis. x i refers to the i t h point along the x-axis while y j refers to the j t h point along the y-axis. Therefore, the coordinates of the whole grid can be constructed in the matrix form (16).
    x i = x m i n + i · s                             i 0 , 1 , , m y j = y m i n + j · s                             j 0 , 1 , , n [ ( x 0 , y n ) ( x m , y n ) ( x 0 , y 0 ) ( x m , y 0 ) ]
  • Step 3: suppose there are k APs in the location scenario and the coordinates of the l t h   AP are expressed ( x l , y l ) . The Euclidean distance d i s q , A P ( l ) is calculated from q t h   grid point ( x i , y j ) to l t h   AP. The distances of q t h   grid point to k APs form a fingerprint is expressed as (17).
    f p q = [ d i s q , A P ( 1 ) , d i s q , A P ( 2 ) , , d i s q , A P ( k ) ]
  • Step 4: the whole distance fingerprints of all grid points are stored to form a distance database. The form of the distance database is illustrated in Table 2.
During the online stage, the smartphone collects real-time range measurements to match the database to resolve the position. K-nearest neighbor (KNN) is one of the most common and effective classifier algorithms.
To obtain good results, the range measurements need to be transformed during the matching process. Assuming that, in an indoor environment with a good electromagnetic environment, the error caused by multipath propagation and NLOS effects is small, the rule of transformation mainly depends on the error e f . The range measurement d ^ is considered to be composed of the true distance d and the error d   e f , which can be expressed as Equation (18):
d ^ d + d   e f + d   e r
According to the previous error analysis, the range measurement d ^ requires to be normalized as N o r m   e t with the expected value in Equation (19) to remove the influence related to the distance:
E ( N o r m   e t ) = E ( d ^ d 1 ) = E ( d + d   e f + d   e r d ) 1 = E ( c ·   e f   t f c ·   t f ) = e f
When we stand at the q t h grid point to survey the distance to the l t h AP, the true distance is d i s q , A P ( l ) and the real-time distance is d i s r , A P ( l ) . Therefore, in the process of real-time positioning, when the user moves to a position, the sum of errors with the real-time fingerprint matching with some items in the database is the minimum:
e r r o r = i = 1 k ( d i s r , A P ( i ) d i s q , A P ( i ) 1 ) 2 = i = 1 k (   e f ) 2 = i = 1 k |   e f |   q 0 , 1 , , m × n
The real-time ranging fingerprint matches all items in the database and we choose the first K items of the small sum errors averaging the coordinates to obtain the final positioning result which is shown in Equation (21):
( x , y ) = 1 K i = 1 K ( x i , y i )
Compared with the single-point positioning method, the principle of the improved matching positioning is more concise and has the extra constraint of the spatial grid, which has a certain constraint effect on coarse errors. However, this method requires the construction of spatial grids in advance, and the positioning performance will be different with the resolution of grids changing.

3.4. Fusion Positioning Method

In this paper, two indoor positioning methods based on Wi-Fi FTM range measurements are introduced, respectively. Because the principles of the two positioning methods are completely different, this paper proposed a fusion positioning algorithm based on the principle of indirect adjustment to integrate the two positioning results. Before fusion, the positioning accuracy of each method should be determined in advance, which is closely related to the error variance.
Suppose that the resulting coordinate of the single-point positioning method is X ^ 1 , and the distance between this position and each AP constitutes a group of pseudo-distances L 1 with the error ε l 1 and variance σ l 1 . Then, the error ε p 1 of the positioning result is amplified by the error ε l according to Equation (14)
ε p 1 = ( A 1 T A 1 ) 1 A 1 T ε l 1
and the corresponding variance of σ p 1 can be amplified by Equation (23):
σ p 1 = E ε p 1 ε p 1 T = E ( A 1 T A 1 ) 1 A 1 T ε l 1 ( ( A 1 T A 1 ) 1 A 1 T ε l 1 ) T = ( A 1 T A 1 ) 1 σ l 1
Based on the same rules, the resulting coordinate of the improved matching positioning method is X ^ 2 , the corresponding variances of pseudo distances and the positioning result are σ l 1 and σ p 2 , respectively. The variance σ p 2 is amplified by the variance σ l 1 based on Equation (24):
σ p2 ( A 2 T A 2 ) 1 σ l2
Since the positioning results of the two methods are obtained based on the same set of range measurements, it can be considered that the corresponding pseudo-distances accuracy is the same, that is, σ l 1 equals σ l 2 and both of them are equal to the variance of unit weight σ 0 . Therefore, the variances in the positioning results X ^ 1 and X ^ 2 are σ 1 and σ 2 , respectively, which can be expressed in Equation (25):
σ 1 = t r a c e ( ( A 1 T A 1 ) 1 ) σ 0 σ 2 = t r a c e ( ( A 2 T A 2 ) 1 ) σ 0
The corresponding weights are set to p 1 and p 2 , which can be determined by the reciprocal of the variance in the following Equation (26):
p 1 = 1 σ 1 p 2 = 1 σ 2
According to the principle of the indirect adjustment, the error equations of the fusion positioning result X with X ^ 1 and X ^ 2 can be expressed in Equation (27):
{ V 1 = X X ^ 1 V 2 = X X ^ 2
where V 1 and V 2 are the random errors of positioning results. The indirect adjustment equation of two-precision observations is expressed in Equation (28):
V = A X L
where A is a matrix composed of A 1 and A 2 , in the form of [ 1 1 ] T . L is a matrix composed of X ^ 1 and X ^ 2 , in the form of [ X ^ 1 X ^ 2 ] T . P is a matrix composed of p 1 and p 2 , in the form of [ p 1   0   0 p 2   ] . The objective function of Equation (29) is to minimize the error V V T . Then, the weighted least square (WLS) principle is used to estimate the result in Equation (29).
X ^ = ( A T P A ) 1 A T P L
The fusion positioning result is finally obtained by Equation (30) after simplification:
X ^ = p 1 p 1 + p 2 X ^ 1 + p 2 p 1 + p 2 X ^ 2
The variance of the fusion positioning result is calculated in (31), which is smaller than the variances of the two methods.
σ x = σ 1 σ 2 σ 1 + σ 2 σ x = σ 1 σ 1 / σ 2 + 1 < σ 1 σ x = σ 2 1 + σ 2 / σ 1 < σ 2
The above Equation (31) shows that the fusion positioning result is more stable than the single positioning result.
Figure 5 demonstrates the process of fusion positioning.
The process consists of two stages: one is the parameter calculation and the other is the fusion positioning. During the parameter calculation stage, the improved matching positioning result and the Wi-Fi APs coordinates were utilized to calculate the coefficient matrix A 1 at the positioning result X ^ 1 . The coefficient matrix A 2 was calculated in the same way. Then, both variances of the two positioning results are obtained by Equation (25) based on the coefficient matrix and the corresponding weights are the inverse of the variances. Finally, the fusion positioning result Equation (30) is derived from the principle of the indirect adjustment and obtained by a weighted average of the two positioning results.
In summary, the architecture of the two-step fusion positioning is illustrated in Figure 6. Firstly, the Wi-Fi APs coordinates and map information are utilized to construct the true distance database. Secondly, the range measurements of FTM are applied to obtain the positioning results by using the two proposed positioning approaches, respectively. Lastly, the final positioning results are resolved based on the principle of the indirect adjustment by combing the aforementioned two positioning results, making full use of the range measurements.

4. Experiments and Analysis

4.1. Environment Description and Experimental Setup

The experiments were set up on the second floor of the test site in the 54th Research Institute of China Electronics Technology Group Corporation. Figure 7 shows the experimental environment, including two rooms and a corridor adjacent to each other. Each room is 9.5 m long and 5.83 m wide, while the corridor is 19.51 m long and 1.74 m wide. The site consists of various materials, such as concrete, wood, glass, and some furniture. The Wi-Fi APs used in the experiment are equipped with the Intel Dual Band Wireless-AC 8260 to provide FTM functionality running on 2.4 GHz of default settings, and the smartphone is a Google Pixel 3 running on Android 9, which can gather the range measurement.
Three experiments were carried out at this test site. The first experiment was to analyze the features of several groups of real-time range measurements in different scenarios. The second experiment was to assess the accuracy and efficiency of the improved matching positioning method under different grid resolutions. The third experiment was to evaluate the performance of the proposed methods including the improved matching positioning, the single-point positioning, and the fusion positioning methods. To prove the superiority of the proposed methods, the other two methods multilateral positioning and WLS positioning [35], which were applied in the literature, were also conducted.

4.2. Features of Real-Time Range Measurements in Different Scenarios

In this experiment, three groups of real-time range measurements were collected in three scenarios including outdoor, corridor, and in the room. The AP and SP were put on tripods, 1.3 m tall, making them in the same plane. Each group of range measurements is 36 sets of data collected with the same device at 0.5 m intervals between 0.5 m and 18 m under LOS conditions. The sampling time of each data set was 5 s and the sampling frequency was 5 Hz. The range measurements were averaged per second as real-time data. Therefore, each point had five real-time range measurements in the same scenario. Figure 8 shows the observed distance, the actual distance, and the estimated distance in three scenarios.
In Figure 8, blue points and red points denote the observed distance and the true distance, respectively. The estimated result of the observed distance is represented by the green line. As can be seen from Figure 8b,c, even under LOS conditions, the distance measurements are easily affected by the multipath propagation effect, resulting in larger errors and measurement fluctuations, which is particularly obvious in the room environment.
Moreover, the distance linear models of three scenarios are in Equation (32), respectively.
d ^ o = 0.865 × d 0.157 d ^ c = 0.870 × d 0.212 d ^ r = 0.791 × d + 0.458
where d ^ o , d ^ c , and d ^ r are the estimated distance of the outdoor setting, the corridor, and the room, respectively.
From Equation (32), the distance model is different in different scenarios. The model will be more complex and changeable especially in the indoor environment to describe the characteristics of the real-time range measurements. For positioning methods based on the geometric principle, the distance model needs to be constructed to obtain higher precision positioning results, which is a great challenge.

4.3. Evaluation of Improved Matching Positioning with Different Spacing

This experiment was carried out to verify the positioning performance of the improved matching positioning method under different grid spacing. There are 4 Wi-Fi APs with the same configuration deployed on tripods 1.3 m tall, making APs and SP on the same plane, to resolve the 2D position. The SP was used to collect the real-time range measurements in 1 s and the mean value of the sampling data was utilized in the algorithm.
Figure 9 shows the deployment and the test points at the test site. The specific positions of APs are marked with the red five-pointed star. Subsequently, 193 test points are designed in advance, and marked with blue squares, with an interval of 1.2 m.
To make the distance database cover the entire test site, we artificially expanded the extent of the current location scenario by 2 m upwards, east, west, south, and north. The lower-left corner of the site was made as the minimum coordinate, and the upper right corner as the maximum coordinate, with a certain spacing to construct the distance database. The certain spacing was designed as 0.2 m, 0.5 m, 1 m, 1.5 m, and 2 m. Figure 10 shows a schematic diagram of the coverage of grid points.
The distance database is automatically constructed by the program, and the range measurements of 193 test points were used for evaluating the accuracy and efficiency of the improved matching positioning method with different spacings. Table 3 shows the entry number of the distance database with different spacing and the method running time, which is the average time of 10 runs of the method. From Table 3, we can conclude that the running time is approximately proportional to the entry number.
We calculated the positioning results through the improved KNN matching method and compared them with the true coordinates of the test points to estimate the positioning error. The value of K of the KNN algorithm is 5. Figure 11 intuitively shows the performance of the improved matching positioning with different spacing by utilizing the box plot and cumulative errors plot. From the figure, the blue dotted line represents the method with a spacing of 0.2 m, red corresponds to 0.5 m, green refers to 1 m, magenta denotes 1.5 m, and black represents 2 m. It can be seen from Figure 11a that each type of positioning has some outlier errors. The position accuracy decreased with the increase in spacing and the result of 1.5 and below is close and better than that of the distance database with a resolution of 2.0 m. The blue, red, green, and magenta curves trend in Figure 11b is similar, and has a better performance than the black lines. The conclusions are consistent with Figure 11a.
Table 4 shows a more detailed positioning error comparison with data. Based on the error cumulative distribution function shown in Figure 12b, the positioning error in the top 50%, 70%, and 80% under different spacings are respectively counted, and the corresponding mean error (ME) and root mean square error (RMSE) are calculated. From the perspective of data analysis, the improved matching positioning method with a resolution of 1.5 m and below has almost a close performance in the top 50%.
From the overall ME and RMSE, the improved matching positioning method based on the distance database has the advantages of high accuracy and good stability. However, as the indoor scenario area increases, the number of grid points will grow in a multiple of squares, making calculations more time consuming. Considering the balance of operating efficiency and positioning accuracy, the improved matching positioning method with 1.5 m spacing is used in our experiments.

4.4. Fusion Positioning Experiment

The experimental settings were the same as described in Section 4.3. To verify the effectiveness of the proposed methods, multilateral positioning and WLS positioning were carried out on the other two methods to compare with the proposed methods based on the same real-time range measurements group. The group data were respectively composed of two sets, and each set is the mean value of the sampling data in 1 s at each test point. Among them, the weight matrix of the WLS method construction method is consistent with that adopted in reference [35], which is based on the inverse distance weights. A line chart in Figure 12 is used to show the positioning error of different methods intuitively. In Figure 12, the blue line, cyan line, magenta line, green line, and red line refer to the positioning errors of the multilateration, improved matching, single-point, and fusion positioning methods. The positioning errors of different positioning methods based on the two groups of data are similar. The blue line and cyan line have more ups and downs; the red line has fewer ups and downs and the fluctuations are more stable. The magenta line and the green line are between the two blue and red lines, and the positioning error is smaller than the blue line.
Figure 13 shows the performance of the three proposed methods from the perspective of the spatial distribution of positioning errors, which plots the positioning error on a 2D plane, and the color depth is used to represent the error size. In the figure, blue represents the smaller error, yellow represents the larger error, black points refer to the test point, and the points with the position error of 1 m are connected with contour lines. From the figure, we can see that the positioning accuracies and error distributions of the proposed methods are different. Compared with the single-point positioning and the improved matching methods, the spatial error distribution of the fusion positioning method has no obvious bright yellow; the overall color is blue and dark blue, indicating that the proposed method has indeed improved accuracy and stability compared with a single method.
Figure 14 demonstrates the cumulative errors of the five positioning methods based on two group data. As shown in the figure, compared with the multilaterion and the weight least squares positioning methods, the single-point positioning method has better anti-difference performance, but it will still be affected when there is a gross error in the real-time range measurements. The error accumulation curve of the improved matching method is very close to that of the single-point positioning. Moreover, the fusion positioning method combines the advantages of the two methods and is on the far left in the figure. About 53.9% of the positioning error of points are lower than 1 m and 89.6% of the positioning error of points are lower than 2 m based on the group data one and these two indices are 47.2% and 87.6% on group data two.
Table 5 and Table 6 show the detail of the different indices of the five positioning methods based on the two group data set.
As shown in the tables, the statistical results of the proposed methods are better than that of the multilateration positioning and the WLS positioning methods. The mean error of the single-point and improved matching positioning methods are close, which are 1.385 m and 1.344 m, and the corresponding RMSE is 1.936 m and 1.332 m based on the first group data set, respectively. The corresponding indices on group data set two are 1.450 m and 1.461 m, and the corresponding RMSE is 1.742 m and 1.773 m. Among them, the best performance of positioning is the proposed fusion positioning method. The positioning errors of the first 50%, 70%, and 80% of the cumulative error are all smaller than the two positioning methods introduced in the paper. The ME and RMSE of the fusion method are 1.108 m and 1.318 m on the first group data set, respectively. Compared with the single-point and improved matching positioning method, the ME was improved by 20.0% and 21.3%, and the RMSE was improved by 23.4% and 24.8%, respectively. In the second group of data set, the fusion positioning method showed a similar degree of improvement. The ME was improved by 19.1% and 20.0% and the RMSE was improved by 18.7% and 20.8%, respectively. It can be concluded from the experimental results that the proposed method achieved improvement in stability and precision.

5. Discussion

The Wi-Fi FTM protocol specified in the IEEE 802.11-2016 standard provides a new two-way ranging approach to estimate the accurate range enhancing the positioning capability. It is necessary to analyze the error characteristics of range measurements. We analyzed the ranging error in different scenarios and found that the ranging error based on the FTM protocol had a systematic error, and the error is related to the clock drift caused by the deviation from the nominal frequency in the equipment. This phenomenon is not consistent with what was previously reported in some papers [30,33], possibly because of the differences in the equipment in the environment used in the experiments.
For the same set of data, it is necessary to use as much information as possible, and the target of this manuscript is consistent with this by applying two positioning methods based on the different principles and integrating them to make full use of the same set of real-time range measurements. In addition to the single point positioning method based on the geometric principle, an improved matching positioning method is also proposed in this paper. According to the characteristics of ranging error, the KNN algorithm was improved to suppress this error. Experimental results show that the positioning effect of this method is equivalent to that of single-point positioning. With the increase in grid spacing, the positioning accuracy will be improved, but the calculation time will also increase. Although the error accumulations of the two positioning methods are very similar, the spatial distribution of the errors is different, making it possible to integrate the two positioning methods. Since the same data are used, the positioning results of the two methods are fused based on the principle of indirect adjustment. Evaluations of the proposed methods and the other two methods show that the fusion positioning method can achieve a better improvement in stability and precision.
The experimental results show that the fusion positioning method is better than the single positioning method. However, this method is based on the accuracy of the two positioning methods. If the indoor environment has a serious impact on multi-path propagation or NLOS, resulting in a large error of the above two positioning methods, the improvement effect of the fusion positioning method will be reduced. The identification of multi-path propagation or NLOS and the studies on the spatial layout of base stations will be of great interest in our future work.

6. Conclusions

In this paper, we proposed a fusion positioning method combining a single-point positioning method and an improved matching positioning method based on one real-time range measurement. We first analyzed the error characteristics of range measurements in different scenarios and proposed an abstract ranging model. To make full use of the range measurements, two positioning methods were proposed in this paper. Method one is called the single-point positioning method based on the geometric principle. The other method is an improved matching positioning method similar to the traditional fingerprint positioning method. This paper elaborated on the process of constructing the distance database and an improved matching positioning method is proposed. Although the error accumulations of the two positioning methods are very similar, the spatial distribution of the errors is different, making it possible to integrate the two positioning methods. Since the same data are used, the positioning results of the two methods are fused based on the principle of indirect adjustment. To validate the efficiency of the proposed method, some experiments are carried out at the test site. Experiments show the performance of the improved matching positioning method with a spacing of 1.5 m is close to the single-point positioning method, and the accuracy and stability of the two methods are better than the multilateration and WLS positioning methods. Moreover, the fusion positioning method has the advantages of both methods. Compared with the two methods, the ME, the RMSE, and the other indices of the fusion method are better than that of the single positioning method. It can be concluded from the experimental results that the proposed method achieved improvement in stability and precision. The related issues of identifying and suppressing the NLOS effect in complex indoor environments will be considered in our feature work. The effect on the positioning performance caused by the deployment of the base stations will be studied in our future work.

Author Contributions

Conceptualization, S.X. and Y.W.; formal analysis, S.X.; methodology, S.X.; project administration, Y.W.; data curation, M.S.; writing—original draft preparation, S.X. All authors have read and agreed to the published version of the manuscript.

Funding

This research was funded by the National Key Research and Development Program of China under grant number 2016YFB0502102.

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

The experiment uses an internal data set and the data presented in this study are available on request from the corresponding author.

Conflicts of Interest

The authors declare no conflict of interest. The funding sponsors had no role in the design of the study; in the writing of the manuscript; and in the decision to publish the results.

References

  1. Haverinen, J. A 2016 Global Research Report On The Indoor Positioning Market. Available online: https://www.indooratlas.com/wp-content/uploads/2016/09/A-2016-Global-Research-Report-On-The-Indoor-Positioning-Market.pdf (accessed on 1 September 2016).
  2. Sun, W.; Xue, M.; Yu, H.; Tang, H.; Lin, A. Augmentation of Fingerprints for Indoor WiFi Localization Based on Gaussian Process Regression. IEEE Trans. Veh. Technol. 2018, 67, 10896–10905. [Google Scholar] [CrossRef]
  3. Song, X.; Fan, X.; Xiang, C.; Ye, Q.; Liu, L.; Wang, Z.; He, X.; Yang, N.; Fang, G. A Novel Convolutional Neural Network Based Indoor Localization Framework With WiFi Fingerprinting. IEEE Access 2019, 7, 110698–110709. [Google Scholar] [CrossRef]
  4. Zhang, W.; Hua, X.; Yu, K.; Qiu, W.; Zhang, S.; He, X. A novel WiFi indoor positioning strategy based on weighted squared Euclidean distance and local principal gradient direction. Sens. Rev. 2019, 39, 99–106. [Google Scholar] [CrossRef]
  5. He, S.; Chan, S.-H.G. Wi-Fi Fingerprint-Based Indoor Positioning: Recent Advances and Comparisons. IEEE Commun. Surv. Tutor. 2016, 18, 466–490. [Google Scholar] [CrossRef]
  6. Topak, F.; Pekeriçli, M.K.; Tanyer, A.M. Technological Viability Assessment of Bluetooth Low Energy Technology for Indoor Localization. J. Comput. Civ. Eng. 2018, 32, 04018034. [Google Scholar] [CrossRef]
  7. Mackey, A.; Spachos, P.; Song, L.; Plataniotis, K.N. Improving BLE Beacon Proximity Estimation Accuracy Through Bayesian Filtering. IEEE Internet Things J. 2020, 7, 3160–3169. [Google Scholar] [CrossRef] [Green Version]
  8. Xu, H.; Ding, Y.; Li, P.; Wang, R.C.; Li, Y.Z. An RFID Indoor Positioning Algorithm Based on Bayesian Probability and K-Nearest Neighbor. Sensors 2017, 17, 1806. [Google Scholar] [CrossRef] [Green Version]
  9. Zhang, D.; Yang, L.T.; Chen, M.; Zhao, S.; Guo, M.; Zhang, Y. Real-Time Locating Systems Using Active RFID for Internet of Things. IEEE Syst. J. 2016, 10, 1226–1235. [Google Scholar] [CrossRef]
  10. Murano, S.; Perez-Rubio, C.; Gualda, D.; Álvarez, F.J.; Aguilera, T.; Marziani, C.D. Evaluation of Zadoff Chu, Kasami, and Chirp-Based Encoding Schemes for Acoustic Local Positioning Systems. IEEE Trans. Instrum. Meas. 2020, 69, 5356–5368. [Google Scholar] [CrossRef]
  11. Yu, K.; Wen, K.; Li, Y.; Zhang, S.; Zhang, K. A Novel NLOS Mitigation Algorithm for UWB Localization in Harsh Indoor Environments. IEEE Trans. Veh. Technol. 2019, 68, 686–699. [Google Scholar] [CrossRef]
  12. Alvarez-Merino, C.S.; Luo-Chen, H.Q.; Khatib, E.J.; Barco, R. WiFi FTM, UWB and Cellular-Based Radio Fusion for Indoor Positioning. Sensors 2021, 21, 7020. [Google Scholar] [CrossRef] [PubMed]
  13. Huang, L.; Gan, X.L.; Yu, B.G.; Zhang, H.; Li, S.; Cheng, J.Q.; Liang, X.H.; Wang, B.Y. An Innovative Fingerprint Location Algorithm for Indoor Positioning Based on Array Pseudolite. Sensors 2019, 19, 4420. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  14. Li, X.; Zhang, P.; Huang, G.; Zhang, Q.; Guo, J.; Zhao, Y.; Zhao, Q. Performance analysis of indoor pseudolite positioning based on the unscented Kalman filter. GPS Solut. 2019, 23, 1–13. [Google Scholar] [CrossRef]
  15. Yang, J.; Chen, Y. Indoor Localization Using Improved RSS-Based Lateration Methods. In Proceedings of the GLOBECOM 2009—2009 IEEE Global Telecommunications Conference, Honolulu, HI, USA, 30 November–4 December 2009; pp. 1–6. [Google Scholar] [CrossRef]
  16. Sun, T.; Zheng, L.; Peng, A.; Tang, B.; Ou, G. Building information aided Wi-Fi fingerprinting positioning system. Comput. Electr. Eng. 2018, 71, 558–568. [Google Scholar] [CrossRef]
  17. Bi, J.X.; Wang, Y.J.; Li, Z.K.; Xu, S.L.; Zhou, J.P.; Sun, M.; Si, M.H. Fast Radio Map Construction by using Adaptive Path Loss Model Interpolation in Large-Scale Building. Sensors 2019, 19, 712. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  18. Yang, Z.; Zhou, Z.; Liu, Y. From RSSI to CSI. ACM Comput. Surv. (CSUR) 2013, 46, 1–32. [Google Scholar] [CrossRef]
  19. Wang, X.; Gao, L.; Mao, S. CSI Phase Fingerprinting for Indoor Localization With a Deep Learning Approach. IEEE Internet Things J. 2016, 3, 1113–1123. [Google Scholar] [CrossRef]
  20. Wu, Z.; Xu, Q.; Li, J.; Fu, C.; Xuan, Q.; Xiang, Y. Passive Indoor Localization Based on CSI and Naive Bayes Classification. IEEE Trans. Syst. Man Cybern. Syst. 2018, 48, 1566–1577. [Google Scholar] [CrossRef]
  21. Huynh, M.K.; Nguyen, D.A. A Research on Automated Guided Vehicle Indoor Localization System Via CSI. In Proceedings of the 2019 International Conference on System Science and Engineering (ICSSE), Dong Hoi, Vietnam, 20–21 July 2019; pp. 581–585. [Google Scholar]
  22. He, Z.; Ma, Y.; Tafazolli, R. Improved High Resolution TOA Estimation for OFDM-WLAN Based Indoor Ranging. IEEE Wirel. Commun. Lett. 2013, 2, 163–166. [Google Scholar] [CrossRef]
  23. Banin, L.; Schatzberg, U.; Amizur, Y.; Inst, N. Next Generation Indoor Positioning System Based on WiFi Time of Flight. In Proceedings of the 26th International Technical Meeting of The Satellite-Division-of-the-Institute-of-Navigation (ION GNSS), Nashville, TN, USA, 16–20 September 2013; pp. 975–982. [Google Scholar]
  24. Golden, S.A.; Bateman, S.S. Sensor measurements for Wi-Fi location with emphasis on time-of-arrival ranging. IEEE Trans. Mob. Comput. 2007, 6, 1185–1198. [Google Scholar] [CrossRef] [Green Version]
  25. The IEEE Standards Association. IEEE Standard for Information Technology—Telecommunications and Information Exchange between Systems–Local and Metropolitan Area Networks-Specific Requirements—Part 11: Wireless LAN Medium Access Control (MAC) and Physical Layer (PHY) Specifications—Amendment 3: Wake-Up Radio Operation; The IEEE Standards Association: Piscataway, NJ, USA, 2016. [Google Scholar]
  26. Google. Wi-Fi Location: Ranging With RTT. Developers. Available online: https://developer.android.com/guide/topics/connectivity/wifi-rtt.html (accessed on 1 January 2016).
  27. Compulab. WiFi Indoor Location Device. Available online: https://fit-iot.com/web/products/wild/ (accessed on 1 January 2019).
  28. Google. Google WiFi Router. Available online: https://store.google.com/us/product/google_wifi_first_gen?hl=en-US (accessed on 1 January 2019).
  29. Google. Google Nest WiFi:Smart Speaker and Mesh Network. Available online: https://www.smarthome.news/how-tos/google/google-nest-wifi-guide (accessed on 1 January 2020).
  30. Ibrahim, M.; Liu, H.S.; Jawahar, M.; Nguyen, V.; Gruteser, M.; Howard, R.; Yu, B.; Bai, F. Verification: Accuracy Evaluation of WiFi Fine Time Measurements on an Open Platform. In Proceedings of the 24th Annual International Conference on Mobile Computing and Networking, New Delhi, India, 15 October 2018; pp. 417–427. [Google Scholar]
  31. Banin, L.; Bar-Shalom, O.; Dvorecki, N.; Amizur, Y. Scalable Wi-Fi Client Self-Positioning Using Cooperative FTM-Sensors. IEEE Trans. Instrum. Meas. 2019, 68, 3686–3698. [Google Scholar] [CrossRef]
  32. Bullmann, M.; Fetzer, T.; Ebner, F.; Ebner, M.; Deinzer, F.; Grzegorzek, M. Comparison of 2.4 GHz WiFi FTM- and RSSI-Based Indoor Positioning Methods in Realistic Scenarios. Sensors 2020, 20, 515. [Google Scholar] [CrossRef] [PubMed]
  33. Horn, B.K.P. Doubling the Accuracy of Indoor Positioning: Frequency Diversity. Sensors 2020, 20, 1489. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  34. Guo, G.; Chen, R.; Ye, F.; Peng, X.; Liu, Z.; Pan, Y. Indoor Smartphone Localization: A Hybrid WiFi RTT-RSS Ranging Approach. IEEE Access 2019, 7, 176767–176781. [Google Scholar] [CrossRef]
  35. Sun, M.; Wang, Y.; Xu, S.; Qi, H.; Hu, X. Indoor Positioning Tightly Coupled Wi-Fi FTM Ranging and PDR Based on the Extended Kalman Filter for Smartphones. IEEE Access 2020, 8, 49671–49684. [Google Scholar] [CrossRef]
  36. Cao, H.; Wang, Y.; Bi, J.; Xu, S.; Qi, H.; Si, M.; Yao, G. WiFi RTT Indoor Positioning Method Based on Gaussian Process Regression for Harsh Environments. IEEE Access 2020, 8, 215777–215786. [Google Scholar] [CrossRef]
  37. Banin, L. WiFi FTM and Map Information Fusion for Accurate Positioning. In Proceedings of the 2016 International Conference on Indoor Positioning and Indoor Navigation (IPIN), Alcala de Henares, Spain, 4–7 October 2016. [Google Scholar]
  38. Huang, L.; Yu, B.G.; Li, H.S.; Zhang, H.; Li, S.; Zhu, R.H.; Li, Y.N. HPIPS: A High-Precision Indoor Pedestrian Positioning System Fusing WiFi-RTT, MEMS, and Map Information. Sensors 2020, 20, 6795. [Google Scholar] [CrossRef]
  39. Choi, J.; Choi, Y.-S. Calibration-Free Positioning Technique Using Wi-Fi Ranging and Built-In Sensors of Mobile Devices. IEEE Internet Things J. 2021, 8, 541–554. [Google Scholar] [CrossRef]
  40. Olliver, J.G.; D. Parker, K.T.P.; M.B., W. Analysis and Adjustment of Survey Measurements. Surv. Rev. 1982, 26, 393–397. [Google Scholar] [CrossRef]
  41. Jang, J.-H.; Lee, D.-Y.; Zhang, J.; Jho, Y.-C.; Lee, C.-H. A Study on Error Reduction of Indoor Location Determination using triangulation Method and Least Square Method. J. Korea Saf. Manag. Sci. 2012, 14, 217–224. [Google Scholar]
  42. Chen, X. A Universal Model for Classic Adjustment Model. Economics 2013. [Google Scholar]
  43. Bahl, P.; Padmanabhan, V.N. RADAR: An in-building RF-based user location and tracking system. In Proceedings of the IEEE INFOCOM 2000. Conference on Computer Communications. Nineteenth Annual Joint Conference of the IEEE Computer and Communications Societies (Cat. No.00CH37064), Tel Aviv, Israel, 26 March 2000; Volume 2, pp. 775–784. [Google Scholar]
  44. Song, C.; Wang, J.J.; Yuan, G. Hidden Naive Bayes Indoor Fingerprinting Localization Based on Best-Discriminating AP Selection. ISPRS Int. J. Geo Inf. 2016, 5, 189. [Google Scholar] [CrossRef]
  45. Chen, Z.; Zou, H.; Yang, J.; Jiang, H.; Xie, L. WiFi Fingerprinting Indoor Localization Using Local Feature-Based Deep LSTM. IEEE Syst. J. 2020, 14, 3001–3010. [Google Scholar] [CrossRef]
  46. Prieto, J.; Bahillo, A.; Mazuelas, S.; Lorenzo, R.M.; Blas, J.; Fernández, P. NLOS mitigation based on range estimation error characterization in an RTT-based IEEE 802.11, indoor location system. In Proceedings of the 2009 IEEE International Symposium on Intelligent Signal Processing, Budapest, Hungary, 26–28 August 2009; pp. 61–66. [Google Scholar]
  47. Dvorecki, N.; Bar-Shalom, O.; Banin, L.; Amizur, Y. A Machine Learning Approach for Wi-Fi RTT Ranging. In Proceedings of the 2019 International Technical Meeting of The Institute of Navigation, Reston, Virginia, 28–31 January 2019. [Google Scholar]
  48. Choi, J.; Choi, Y.-S.; Talwar, S. Unsupervised Learning Techniques for Trilateration: From Theory to Android APP Implementation. IEEE Access 2019, 7, 134525–134538. [Google Scholar] [CrossRef]
  49. Cao, H.; Wang, Y.; Bi, J. Smartphones: 3D Indoor Localization Using Wi-Fi RTT. IEEE Commun. Lett. 2021, 25, 1201–1205. [Google Scholar] [CrossRef]
  50. Si, M.; Wang, Y.; Xu, S.; Sun, M.; Cao, H. A Wi-Fi FTM-Based Indoor Positioning Method with LOS/NLOS Identification. Appl. Sci. 2020, 10, 956. [Google Scholar] [CrossRef] [Green Version]
  51. Gustafsson, F.K.; Gunnarsson, F. Mobile positioning using wireless networks: Possibilities and fundamental limitations based on available wireless network measurements. IEEE Signal Process. Mag. 2005, 22, 41–53. [Google Scholar] [CrossRef]
  52. Patwari, N.; Ash, J.N.; Kyperountas, S.; Hero, A.O.; Moses, R.L.; Correal, N.S. Locating the nodes: Cooperative localization in wireless sensor networks. IEEE Signal Process. Mag. 2005, 22, 54–69. [Google Scholar] [CrossRef]
  53. 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), Jacobs Univ., Bremen, Germany, 19–20 October 2016. [Google Scholar]
  54. Houle, D.E. Analysis of the Position-Dependent Error in FTM RTT Indoor Navigation. Ph.D. Dissertation, Massachusetts Institute of Technology, Cambridge, MA, USA, 2021. [Google Scholar]
Figure 1. The procedure of the Wi-Fi FTM protocol.
Figure 1. The procedure of the Wi-Fi FTM protocol.
Sensors 22 03593 g001
Figure 2. The schematic diagram of the NLOS effect.
Figure 2. The schematic diagram of the NLOS effect.
Sensors 22 03593 g002
Figure 3. The principle of the geometric positioning method.
Figure 3. The principle of the geometric positioning method.
Sensors 22 03593 g003
Figure 4. The process of constructing the distance database.
Figure 4. The process of constructing the distance database.
Sensors 22 03593 g004
Figure 5. The process of fusion positioning.
Figure 5. The process of fusion positioning.
Sensors 22 03593 g005
Figure 6. The architecture of the proposed fusion method.
Figure 6. The architecture of the proposed fusion method.
Sensors 22 03593 g006
Figure 7. The test site is the 54th Research Institute of China Electronics Technology Group Corporation.
Figure 7. The test site is the 54th Research Institute of China Electronics Technology Group Corporation.
Sensors 22 03593 g007
Figure 8. Comparison of real-time range measurements in different scenarios: (a) features of real-time range measurements in outdoor setting; (b) features of real-time range measurements in the corridor; and (c) features of real-time range measurements in the room.
Figure 8. Comparison of real-time range measurements in different scenarios: (a) features of real-time range measurements in outdoor setting; (b) features of real-time range measurements in the corridor; and (c) features of real-time range measurements in the room.
Sensors 22 03593 g008
Figure 9. The deployment of APs and the test points in the test site.
Figure 9. The deployment of APs and the test points in the test site.
Sensors 22 03593 g009
Figure 10. Diagram of the coverage of grid points.
Figure 10. Diagram of the coverage of grid points.
Sensors 22 03593 g010
Figure 11. The performance of the improved matching method with different spacing. (a) The box plot of the improved matching method with different spacing. (b) The cumulative errors of the ranging fingerprint positioning with different spacing.
Figure 11. The performance of the improved matching method with different spacing. (a) The box plot of the improved matching method with different spacing. (b) The cumulative errors of the ranging fingerprint positioning with different spacing.
Sensors 22 03593 g011
Figure 12. Positioning error of five methods. (a) The comparison of positioning error of five methods based on group data set one. (b) The comparison of positioning error of five methods based on group data set two.
Figure 12. Positioning error of five methods. (a) The comparison of positioning error of five methods based on group data set one. (b) The comparison of positioning error of five methods based on group data set two.
Sensors 22 03593 g012aSensors 22 03593 g012b
Figure 13. Positioning error spatial distribution of the proposed methods including single-point positioning, improved matching positioning, and the fusion positioning methods from top to bottom. (a) Error spatial distribution of t group data set one. (b) Error spatial distribution of t group data set two.
Figure 13. Positioning error spatial distribution of the proposed methods including single-point positioning, improved matching positioning, and the fusion positioning methods from top to bottom. (a) Error spatial distribution of t group data set one. (b) Error spatial distribution of t group data set two.
Sensors 22 03593 g013
Figure 14. Cumulative errors of different positioning methods. (a) The comparison of cumulative errors of five methods based on the first group data set. (b) The comparison of cumulative errors of five methods based on the second group data set.
Figure 14. Cumulative errors of different positioning methods. (a) The comparison of cumulative errors of five methods based on the first group data set. (b) The comparison of cumulative errors of five methods based on the second group data set.
Sensors 22 03593 g014
Table 1. The pseudocode of single-point positioning algorithm.
Table 1. The pseudocode of single-point positioning algorithm.
InputDistance measurements set D = [ d 1 , , d n ] from SP to APs,
the coordinates of APs ( x i , y i ) ,
and initial approximate coordinate S 0 = ( x 0 , y 0 ) .
ProcessWhile
for d i D
construct the approximate distance set D 0 = [ d 0 1 , , d 0 n ] ;
              construct the observed distance matrix L;
              construct the coefficient matrix A;
end for
calculate the corrections coordinate ; according to Equation (14);
update the approximate coordinate S 0 based on Equation (15);
until meeting the condition of stop
end while
Output S , the final coordinate of the SP
Table 2. The distance database.
Table 2. The distance database.
IdCoordinateDistance Fingerprint Item
1 ( x 0 , y 0 ) [ d i s 1 , A P ( 1 ) , d i s 1 , A P ( 2 ) , , d i s 1 , A P ( k ) ]
2 ( x 0 , y 1 ) [ d i s 2 , A P ( 1 ) , d i s 2 , A P ( 2 ) , , d i s 2 , A P ( k ) ]
m × n ( x m , y n ) [ d i s m × n , A P ( 1 ) , d i s m × n , A P ( 2 ) , , d i s m × n , A P ( k ) ]
Table 3. The entry number of the distance database and running time comparison.
Table 3. The entry number of the distance database and running time comparison.
SpacingNumberMean Running Time/(s)
0.2 m68440.635
0.5 m11280.125
1.0 m2880.031
1.5 m1280.014
2.0 m720.007
Table 4. Positioning error comparison/(m).
Table 4. Positioning error comparison/(m).
Spacing50%70%80%MERMSE
0.2 m0.9691.3611.3891.1441.381
0.5 m0.9971.3791.5571.1461.369
1.0 m1.1211.5021.7211.2371.475
1.5 m1.1511.7062.0891.4441.765
2.0 m1.7592.4122.8041.8612.161
Table 5. Positioning error comparison based on the first group data set/(m).
Table 5. Positioning error comparison based on the first group data set/(m).
Method50%70%80%MERMSE
Multilateration 1.7952.5892.9912.2162.907
Weighted least square1.8222.6012.9182.1682.809
Single-point1.1421.5811.9091.3851.626
Improved matching1.1181.6282.0001.3441.645
Fusion 0.9341.2421.5031.1081.318
Table 6. Positioning error comparison based on the second group data set/(m).
Table 6. Positioning error comparison based on the second group data set/(m).
Method50%70%80%MERMSE
Multilateration 1.7892.7983.3562.4013.198
Weighted least square1.8482.7293.2442.4162.192
Single-point1.1841.7151.9411.4501.742
Improved matching1.2081.7462.1021.4611.773
Fusion 1.0451.3611.6661.2171.468
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

Xu, S.; Wang, Y.; Si, M. A Two-Step Fusion Method of Wi-Fi FTM for Indoor Positioning. Sensors 2022, 22, 3593. https://doi.org/10.3390/s22093593

AMA Style

Xu S, Wang Y, Si M. A Two-Step Fusion Method of Wi-Fi FTM for Indoor Positioning. Sensors. 2022; 22(9):3593. https://doi.org/10.3390/s22093593

Chicago/Turabian Style

Xu, Shenglei, Yunjia Wang, and Minghao Si. 2022. "A Two-Step Fusion Method of Wi-Fi FTM for Indoor Positioning" Sensors 22, no. 9: 3593. https://doi.org/10.3390/s22093593

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