Next Article in Journal
Intelligent Method of Identifying the Nonlinear Dynamic Model for Helicopter Turboshaft Engines
Previous Article in Journal
Comparative Approach to Performance Estimation of Pulsed Wave Doppler Equipment Based on Kiviat Diagram
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

UWB-Assisted Bluetooth Localization Using Regression Models and Multi-Scan Processing

1
School of Aerospace Science and Technology, Xidian University, Xi’an 710126, China
2
Laboratory of Transport Safety and Emergency Technology, Transport Planning and Research Institute, Beijing 100029, China
3
Beijing Leiyin Electronic Technology Development Co., Ltd., Beijing 100070, China
*
Author to whom correspondence should be addressed.
Sensors 2024, 24(19), 6492; https://doi.org/10.3390/s24196492
Submission received: 19 August 2024 / Revised: 26 September 2024 / Accepted: 5 October 2024 / Published: 9 October 2024
(This article belongs to the Section Navigation and Positioning)

Abstract

:
Bluetooth devices have been widely used for pedestrian positioning and navigation in complex indoor scenes. Bluetooth beacons are scattered throughout the entire indoor walkable area containing stairwells, and pedestrian positioning can be obtained by the received Bluetooth packets. However, the positioning performance is sharply deteriorated by the multipath effects originating from indoor clutter and walls. In this work, an ultra-wideband (UWB)-assisted Bluetooth acquisition of signal strength value method is proposed for the construction of a Bluetooth fingerprint library, and a multi-frame fusion particle filtering approach is proposed for indoor pedestrian localization for online matching. First, a polynomial regression model is developed to fit the relationship between signal strength and location. Then, particle filtering is utilized to continuously update the hypothetical location and combine the data from multiple frames before and after to attenuate the interference generated by the multipath. Finally, the position corresponding to the maximum likelihood probability of the multi-frame signal is used to obtain a more accurate position estimation with an average error as low as 70 cm.

1. Introduction

In contemporary society, indoor positioning technology has significantly enhanced the functionality and interactivity of various spaces such as indoor navigation [1,2]. The quintessence of this technology lies in its ability to provide precise location data within indoor environments, where traditional Global Positioning Systems (GPSs) falter due to signal attenuation and obstruction [3,4]. The devices for the indoor positioning include Wireless Fidelity (Wi-Fi), Radio Frequency Identification (RFID), Ultrasonic positioning systems, Inertial Navigation Systems (INS), UWB technology, and Bluetooth [5]. Figure 1 organizes the current state of research in indoor positioning in recent years.
  • Wi-Fi, often available without extra hardware, is cost-effective for indoor positioning [6,7]. It offers moderate accuracy without needing line of sight. However, its accuracy can suffer from signal interference by electronics and physical obstacles. Signal strength varies with device density and network traffic, causing inconsistent results. Wi-Fi positioning’s effectiveness also relies on the existing infrastructure, which may vary in robustness.
  • RFID [8,9] technology is cost-effective and easy to deploy, offering high accuracy and scalability. Its limitations include a short range for passive tags, the need for strategic reader placement, susceptibility to metal and electromagnetic interference, limited data capacity, and security and privacy concerns.
  • Ultrasonic indoor positioning systems are accurate, immune to electromagnetic interference, cost-effective, and safe. However, they have a limited range, are sensitive to environmental factors, and can be affected by obstructions and reflections. Installation and calibration can be complex, and environmental conditions may impact their precision due to variations in sound speed.
  • INS are advantageous for indoor positioning as they are independent of external signals and provide continuous, initially accurate tracking. However, INS cannot determine absolute positions and are prone to accumulating errors over time, and the accuracy and reliability are reduced.
  • UWB technology [10] excels in indoor positioning with its high accuracy, obstacle penetration, and secure, low-interference data transmission. However, its higher cost, limited range, specialized infrastructure needs, and regulatory constraints are significant considerations.
  • Bluetooth is a favorable choice for indoor positioning due to its ubiquity, low energy use, and cost-effectiveness [11]. It provides decent accuracy, is scalable and easy to install. Therefore, it is suitable for various applications like navigation and asset tracking. However, it faces issues with signal interference, physical barriers, and range limitations.
Considering the necessity of a cost-effective, wide-area indoor positioning system for pedestrian navigation, the choice of a Bluetooth system is strategic and well-founded. It offers the required positional accuracy for indoor pedestrian navigation at a fraction of the cost and complexity compared to other systems. The methods involved in Bluetooth-based indoor positioning include:
  • Received Signal Strength Indicator (RSSI) [12,13,14,15,16]: This method calculates the distance between the device and the Bluetooth beacon based on the strength of the received signal. Closer proximity to the beacon results in a stronger signal. The system can accurately determine the device’s position by calculating the intersection of these distances.
  • Angle of Arrival (AoA): These techniques measure the angle at which the signal arrives at or departs from the device or beacon. These data, combined with distance measurements, can enhance the accuracy of the positioning.
  • Fingerprinting [17,18,19,20]: This method involves creating a map of signal strength throughout the building. The system then matches the observed signal strengths from various beacons to this map to locate the device [21].
  • Data Fusion with Other Technologies [22,23,24,25]: Combining Bluetooth data with information from other technologies like Wi-Fi, GPS (where applicable), or inertial sensors in smartphones can lead to more accurate positioning, especially in complex indoor environments.
These systems are useful in various applications like navigation in malls or airports, asset tracking in warehouses, and in context-aware advertising. The accuracy and reliability of Bluetooth-based indoor positioning can vary depending on the environment [26], number of beacons, and the specific technology used.
However, there are still great challenges to achieve high precision position information and trajectories for indoor positioning of pedestrians, and there are six issues that need to be addressed to obtain satisfactory trajectories, which can be summarized as follows:
  • Bluetooth multipath effect. Due to the occlusion of indoor objects and the varied terrain [27], the signal strength will be subject to different situations such as reflection, superposition, and missing, etc.
  • Complex indoor environment. The localization area consists of several relatively independent regions, and each region has its own characteristics, in addition to the need to consider the possibility of object movement.
  • Processing of Bluetooth data. The key features of the data are extracted, the clutter is filtered out, and the missing items are filled in.
  • Layout selection of Bluetooth beacons [28]. Fewer beacons may prevent the device from receiving the Bluetooth signal, thus preventing it from localization, and more new tables will cause interference with each other and reduce accuracy.
  • A large amount of workload for fingerprint library collection. The movement of indoor objects and the requirements of high-precision positioning require time-consuming and irregular updating of the fingerprint library [29].
  • Higher accuracy positioning algorithm. The current K-Nearest Neighbor (KNN) algorithm has an accuracy of about 1.5 m [30], which is not able to meet the current localization requirements and requires a more accurate algorithm for localization.
This study aims to achieve low-cost, high-precision, cross-floor indoor positioning using Bluetooth technology. UWB is utilized to assist Bluetooth in the fingerprint database collection. The collected RSSI data are then analyzed and optimized using Kalman filtering. Finally, the positioning and optimization of the results are carried out by combining regression models, particle filtering, and multi-frame algorithms. The proposed method offers the following advantages:
  • The use of UWB-assisted Bluetooth enables rapid database construction, reducing time and labor costs.
  • Applying Kalman filtering to multi-frame RSSI data reduces multipath interference and improves data accuracy.
  • The combination of regression models, particle filtering, and multi-frame algorithms extracts feature parameters to enhance positioning accuracy and efficiency, and constrain positioning results.
The structure of this paper is as follows: Section 2 provides an overview of the system, including the system model and measurement model. Section 3 describes the specific steps of the proposed method. Section 4 validates the superiority of the method through experiments in complex indoor scenarios. Section 5 summarizes the limitations of the proposed method and outlines future work.

2. System Overview and Notation

2.1. System Model

The study utilizes a network composed of low-power Bluetooth beacons, which are deployed to determine and localize pedestrian positional data and motion trajectories within designated areas. In this context, AP denotes the Bluetooth beacons present in the area, N represents the index of each Bluetooth beacon, t signifies time, and i indicates the current position of the target.

2.1.1. Target Model

Assuming pedestrians move within the designated area, their state variables at time t are represented as ( x t , y t , h t , v t , a t ) , where ( x t , y t , h t ) denotes the current position, v t signifies the current walking speed, and a t indicates the direction or orientation of the pedestrian. The motion model of pedestrians at time t can be expressed as follows:
x t + 1 = x t + v t cos ( α t ) Δ t + ω x t y t + 1 = y t + v t sin ( α t ) Δ t + ω y t h t + 1 = h t + ω h t v t + 1 = v t + ω v t α t + 1 = α t + ω t Δ t + ω α t
where Δt represents the time interval, ω t denotes angular velocity, and ω x t , ω y t , ω v t , ω a t signifies process noise, indicative of system uncertainty.
For example, in a region populated with N Bluetooth beacons, each situated at known co-ordinates ( x i , y i , h i ) , the distances d i from a pedestrian to each beacon at time t can be determined by measuring the corresponding RSSI values. Based on the relationship between RSSI and distance, the following equation is derived:
d i = ( x t x i ) 2 + ( y t y i ) 2 + ( h t h i ) 2
this computation provides the pedestrian’s position at each discrete time step.

2.1.2. Measurement Model

A network of low-power Bluetooth beacons is strategically deployed throughout the designated area, each beacon emitting signals in the iBeacon protocol at intervals of 100 ms with a transmission power of 0 dBm. Upon entering this area, a pedestrian’s device, such as a smartphone, captures signals from multiple beacons with varying intensities. The strength of the received signal is inversely proportional to the distance from the beacon: a stronger signal corresponds to a shorter distance, while a complete absence of signal indicates the device’s location is beyond the effective range of the beacon.
The measurement model, depicted in Figure 2, leverages the distance attenuation properties inherent in RSSI. Within a consistent scenario, varying locations exhibit different distances from the AP, leading to unique RSSI values at each position. These variations facilitate positional differentiation and the construction of an offline reference database.
In the operational positioning phase, signal strength data are acquired and compared against the closest entry in the fingerprint database. The algorithm for distance estimation is outlined as follows:
R S S I = 10 n log 10 ( d ) + A
d i = 10 A R S S I N 10 n
where RSSI denotes the received signal strength, n denotes the environmental attenuation factor, A indicates the signal strength at a distance of 1 m between the transmitter and receiver, d signifies the distance between the transmitter and receiver, and RSSIN specifies the received signal strength from the Nth access point AP.

2.2. Framework

Utilizing UWB Bluetooth technology, an offline fingerprint database is established, which is subsequently integrated with a regression model and multi-Frame fusion particle filtering for real-time pedestrian localization, as illustrated in Figure 3.
  • A substantial volume of robust Bluetooth signal data is essential for constructing the regression model. Concurrently, environmental factors and inter-beacon interference are addressed to extract pertinent features and iteratively refine model parameters.
  • Jointly analyzing Bluetooth signal data across multiple time points mitigates errors associated with individual time points, thus enhancing localization accuracy. Although this approach demands increased data storage and computational resources, it significantly improves the reliability of the localization trajectory.
  • This phase encompasses offline data collection using UWB-assisted Bluetooth beacons, which reduces both initial time and labor costs. However, due to the inherent variability in indoor environments, it is crucial to regularly update UWB map data to promptly detect and address environmental changes, thereby ensuring the provision of reliable localization map data.

3. Processing

This study consists of three main components: the first component focuses on utilizing UWB technology instead of manually assisted Bluetooth for data acquisition, the second component involves the determination of a regression model, and the last part is localisation by multi-frame fusion particle filtering.

3.1. UWB-Assisted Bluetooth Map Building

In the offline stage of Bluetooth fingerprint library localization, it is common to arrange multiple Bluetooth beacons in the area of interest and divide the area into grids. Points are then uniformly selected within the area, and their position co-ordinates and RSSI sequences are recorded to establish a comprehensive fingerprint library. To enhance the efficiency and accuracy of fingerprint data collection, this study incorporates UWB technology to assist in Bluetooth map building. A remote-controlled cart equipped with UWB and Bluetooth collection modules is used for automated data collection. This approach improves the efficiency of data collection without compromising positioning accuracy, the specific process is shown in Figure 4.

3.1.1. UWB Node Deployment

The UWB nodes are typically installed at fixed locations within a building to cover the entire area of interest for localization. The number and placement of these nodes are determined based on the building’s structure and positioning requirements, ensuring comprehensive coverage of the indoor area. Figure 5 illustrates the deployment, where the red rectangular boxes represent the UWB base stations. These base stations are arranged at the four corners of the area, allowing the targets within the area to receive signals transmitted by the base stations. The received signals are then processed and provided as feedback to the base stations themselves.

3.1.2. Distance Measurement

In this paper, the UWB localization experiment utilizes the trilateral ranging localization method. As depicted in Figure 6, the numbers 1, 2, and 3 represent three distinct UWB base stations involved in localization, while X represents the UWB tag. By employing the DS-TWR ranging method, the distances between the three base stations and the tag X can be measured. Subsequently, the distance equations of these three base stations can be solved to determine the location co-ordinates of the tag. The principle behind this method is illustrated in Figure 7. Geometrically, the three circles formed based on the ranging information and the ranging centers will intersect at a single point, which corresponds to the calculated location of the tag.
Assuming that the co-ordinates of base stations 1, 2, 3 and the tag are ( x 1 , y 1 ) , ( x 2 , y 2 ) , ( x 3 , y 3 ) and ( x , y ) respectively, the following equation can be derived:
{ ( x x 1 ) 2 + ( y y 1 ) 2 = r 1 2 ( x x 2 ) 2 + ( y y 2 ) 2 = r 2 2 ( x x 3 ) 2 + ( y y 3 ) 2 = r 3 2 ,   A X = B
among them,
X = [ x y ] ,   A = [ 2 ( x 1 x 3 ) 2 ( y 1 y 3 ) 2 ( x 2 x 3 ) 2 ( y 2 y 3 ) ] , B = [ x 1 2 x 3 2 + y 1 2 y 3 2 r 1 2 x 2 2 x 3 2 + y 2 2 y 3 2 r 2 2 ]
The two-dimensional co-ordinates of the tag can be obtained by solving the system of equations.

3.1.3. Map Construction

Based on the distance information obtained from the UWB nodes, the localization system initiates the construction of an indoor environment map [31]. The setup for data collection is illustrated in Figure 8, where the central area is occupied by the mobile collection equipment represented by a red rectangular box. Surrounding the equipment are four UWB base stations labeled as A, B, C, and D. During the data collection process, the mobile device remains stationary at various locations within the designated area. At each location, it captures the Bluetooth RSSI signal data, which is subsequently filtered and processed. This data processing step generates fingerprint points representing the current position. The collection of all fingerprint points obtained at different positions forms an offline fingerprint library.

3.1.4. UWB and Bluetooth Signal Fusion

By integrating the map information obtained from the UWB technology, the localization system enhances its ability to correct errors in Bluetooth signals. This fusion of data allows for a more precise and reliable localization of the device’s position. The UWB technology provides additional information that helps improve the accuracy and reliability of the localization system by compensating for any potential inaccuracies or inconsistencies in the Bluetooth signals.

3.2. Positioning Algorithm Based on Regression Model

To begin, the determination of the regression model is a crucial step in our algorithm, as shown in Figure 9. In this paper, we employ polynomial regression to analyze the non-linear relationship between variables. The polynomial interpolation theorem supports our approach, indicating that for any continuous function, a polynomial function can be found under specific conditions. This polynomial function closely aligns with the original function within a certain range. By utilizing polynomial regression, we can effectively capture and model the complex relationships between variables, improving the accuracy of our positioning algorithm.

3.2.1. Least Squares Fitting Bluetooth Fingerprint Library

Input the fingerprint library and perform least squares to extract the features of the fingerprint library and determine the various parameters of the polynomial: in order to extract the features of the fingerprint library and determine the various parameters of the polynomial, we utilize the method of least squares. Least squares is a widely used mathematical fitting technique that aims to find the best fit for the model parameters by minimizing the error between observed and predicted values. It achieves this by seeking the derivative of the error function to approximate the minimum value. This method is known for its simplicity in thinking, mathematical comprehensibility, and effectiveness in estimating model parameters. Least squares is commonly employed in solving regression model parameters and is particularly suitable for our analysis of the fingerprint library.
Assuming that J ( w ) is minimal when W = W ^ , we can obtain the following by finding the maximum value of J ( w ) differentiation:
X T X W = X T Y
if the matrix is non-singular, there is a unique solution:
W = ( X T X ) 1 X T Y

3.2.2. Determine Regression Parameters and Model

An initial model is determined and the parameters obtained in the previous step were used to iterate the model eigenvalues to obtain the regression model and regression parameters: To obtain the regression model and regression parameters, an initial model is determined using the parameters obtained in the previous step. Polynomial regression is chosen as it is highly applicable in this context. The general binary quadratic polynomial equation is given by:
y i = w 0 i + w 1 i x 1 i + w 2 i x 2 i + w 3 i x 1 i x 2 i + w 4 i ( x 1 i ) 2 + w 5 i ( x 2 i ) 2
where ( x 1 i , x 2 i ) represents the independent variable and y i represents the dependent variable, and w is the parameter of the polynomial.
RSSI decays continuously as the distance between the receiving end and the transmitting end increases. This decay relationship is non-linear and cannot be adequately fitted by linear regression models or classification models. Therefore, a polynomial equation is chosen to model the relationship between the co-ordinates of the receiving end position and the corresponding RSSI. Assuming there are k Bluetooth beacons and RSSI data for n positions, with the co-ordinates ( x 1 , y 1 ) as the independent variable and the RSSI as the dependent variable, the above equation can be expressed in matrix form as follows:
Y = X W , J ( w ) = i = 1 n ( y i w i x i ) 2 , Y = [ y 1 y 2 y n ] = [ R S S I 1 1 R S S I 2 1 R S S I k 1 R S S I 1 2 R S S I 2 2 R S S I k 2 R S S I 1 n R S S I 2 n R S S I k n ] X = [ 1 x 1 1 x 2 1 x 1 1 x 2 1 ( x 1 1 ) 2 ( x 2 1 ) 2 1 x 1 2 x 2 2 x 1 2 x 2 2 ( x 1 2 ) 2 ( x 2 2 ) 2 1 x 1 n x 2 n x 1 n x 2 n ( x 1 n ) 2 ( x 2 n ) 2 ] , W = [ w 0 1 w 0 2 w 0 k w 1 1 w 1 2 w 1 k w 2 1 w 2 2 w 2 k w 3 1 w 3 2 w 3 k w 4 1 w 4 2 w 4 k w 5 1 w 5 2 w 5 k ]
here, the loss function J ( w ) represents the error between the predicted value and the actual value. To achieve the best fit, the parameter matrix W needs to be solved in order to minimize this error. The regression model is updated by inputting multiple fingerprint libraries and repeating the above steps until the fingerprint library features and the regression model are determined.
Figure 10 depicts the fitting effect of the three Bluetooth AP fingerprint databases. It covers the majority of the fingerprint database data, with an average fitting error of 6.81 dBm. This provides a solid foundation for subsequent particle filtering and multi-frame joint matching.

3.3. Localization Using Multi-Frame Fusion Particle Filter

Particle filtering is a state estimation algorithm that relies on random sampling. It employs a set of particles generated randomly to approximate the distribution of the system’s state. These particles are drawn uniformly or according to prior distributions in the state space. The algorithm then updates and estimates the system’s state based on the state equations and measurement equations. Multi-frame fusion, on the other hand, involves analyzing features using data from multiple time points preceding and succeeding the current time. This analysis helps constrain the output results at the current time and minimize error value.

3.3.1. Particle Filtering Processing for Bluetooth Fingerprints

To process the input RSSI sequence, we establish the position hypothesis as the initial particle, with the initial positions randomly distributed in the pre-established fingerprint library. Next, we utilize a constructed polynomial model to calculate the Bluetooth signal strength of each particle. We assign weights to the particles based on the deviation between the calculated value and the actual value. The assigned weights are inversely proportional to the deviation, with higher deviations resulting in smaller weights and lower probability of establishment. Subsequently, we update the set of positional hypotheses, removing hypotheses with lower likelihood probabilities and using the position with a higher likelihood probability as the center to generate a new set of positional hypotheses. Finally, the iteration is terminated when the particle center position no longer changes or the number of iterations reaches a set value. The hypothesis position with the highest likelihood probability is then taken as the calculation result.
  • Expected signal strength calculation: for each particle position x i , we calculate its expected signal strength using the following formula:
b l e s t 1 k ( x i ) = A m p l i t u d e c a l ( var , x i )
where x i represents the current position of particle i, var is a signal-related parameter, and k denotes the dimension of the signal. This formula b l e s t 1 k ( x i ) indicates the expected signal strength of particle x i in the kth dimension.
  • Distance metric: we calculate the difference between the expected signal strength at the particle location and the actual observed signal strength using the following formula:
d i s p a r t 1 ( x i ) = k | o n t h i s 1 k b l e s t 1 k ( x i ) |
where o n t h i s 1 k represents the observed signal strength in frame i, b l e s t 1 k represents the expected signal strength of particle x i in the kth dimension, and d i s p a r t 1 ( x i ) denotes the signal strength difference of x i in frame i.
  • Weight update: we update the weights of the particles based on the measurement model using the following formula:
w i exp ( d i s p a r t 1 ( x i ) 2 σ 2 )
where w i is the weight of particle x i , and σ denotes the standard deviation of the measurement noise.
  • Particle resampling: based on the updated weights, we select a new set of particles. By sorting the distances, we choose the top 30 particles with the largest weights. Then, we generate new particles around these selected particles.

3.3.2. Optimization of Positioning Results Using Multiple Frames

To improve the accuracy and reliability of positioning, a multi-frame optimization approach is proposed. Firstly, the RSSI sequence of the target position is inputted. After obtaining the initial particle swarm or the particle swarm after resampling, the approximate co-ordinates of the first two positions are estimated for each particle based on the positional assumption. Then, the corresponding RSSI sequences for these three positions are calculated using a polynomial model.
Secondly, the actual input RSSI sequences of the two positions prior to the target point are extracted. By comparing the calculated RSSI sequences from the estimated positions with the actual input RSSI sequences, the signal difference of the multi-frame positions is evaluated to assess the probability of the current position assumption being accurate. This evaluation process is illustrated in Figure 11.
The multi-frame fusion technique utilizes the calculation results of previous positions to constrain the current position, thereby effectively reducing the localization error. The calculation formula is as follows:
d i s ( x i ) = d i s 00 ( x i ) + d i s 0 ( x i ) + d i s 1 ( x i ) + d i s 2 ( x i ) 4
where dis00(xi), dis0(xi), dis1(xi), dis2(xi) represent the RSSI data of the top four position hypotheses with the highest probability of being accurate, obtained through resampling of particle x i , dis(xi) represents the average RSSI data of particle x i after multi-frame processing.

4. Case Study

4.1. Experimental Environment

To analyze the improvement brought by the proposed matching algorithm compared to traditional algorithms, experiments were conducted in the experimental building of a university in Xi’an, as depicted in Figure 12 and Figure 13. The experimental site included a first floor area of 24 m × 8 m and a second floor area of 26 m × 8 m. The experiments were conducted in Building G, comprising the first floor, stairwells, and the second floor. A total of 13, 4, and 12 beacons were deployed on the first floor, stairwells, and second floor, respectively, spaced every 4 m with a height of 2 m. The experimental scenario covered approximately 300 m2 of irregular, multi-level space with multiple independent areas.

4.2. In Comparison with KNN-Based Algorithms

The KNN algorithm can be directly applied to new datasets for classification without the need for pre-training a fingerprint database. It calculates the distance between the sample and the dataset, classifying the K nearest samples into one category. In fingerprint matching localization, the algorithm calculates the difference between the offline database and the actual collected RSSI, selects the K samples with the smallest differences, and determines the coordinates of the target location through the mean of these samples’ position coordinates.
The localization results are depicted in Figure 14 and Figure 15. The analysis of localization results is presented in Table 1. It can be observed that the proposed matching algorithm yields localization results with considerable accuracy, surpassing the KNN/WKNN algorithms [32,33]. The overall average error is 1.13 m, which meets the requirements for daily life localization, demonstrating the feasibility of achieving large-scale continuous indoor Bluetooth localization.
For the trajectory point co-ordinates (5, 2.4), the co-ordinates predicted by the KNN/WKNN algorithms are 5.2 and 4.5, while the co-ordinates predicted by the algorithm in this paper are 4.8 and 2.3. The errors for both are 2.11 m and 0.22 m, respectively. For the trajectory point co-ordinates (15.4, 2.4), the KNN/WKNN algorithms predict the co-ordinates as (16, 4.3), while this paper’s algorithm predicts them as (15.3, 2.5). The errors for these points are 1.99 m and 0.14 m, respectively. Additionally, the y co-ordinate deviation of the KNN/WKNN algorithms is significant, while the algorithm proposed in this paper shows only a slight deviation. Additionally, the execution times for the two methods are 47.32 ms and 25.77 ms, respectively, indicating that the latter has higher operational efficiency.
From the above figure, it can be seen that the trajectory obtained by the KNN/WKNN algorithm [32,33] is more chaotic and cannot reflect the user’s real trajectory. While the shape and contour of the trajectory obtained by the algorithm in this paper are more obvious and very close to the real trajectory.
KNN method is simple and easy to implement, but it is very easily affected by RSSI fluctuation, WKNN algorithm chooses weighting to improve, but the effect is small. In this paper, the algorithm is based on the particle filtering solution, the introduction of multi-frame joint strategy for optimization, joint before and after the calculation of multiple positions, and this strategy on the current positioning results for the constraints prevents the occurrence of the position of the jump, to a certain extent, and attenuates the impact of the fluctuations of the RSSI. Combined with the experimental comparison results in this section, it is proved that the algorithm proposed in this paper improves the performance in all aspects compared with the traditional algorithms KNN and WKNN, and achieves the expected results.

4.3. Comparison before and after Kalman Filtering

The Kalman filtering algorithm is a mathematical method used to estimate the states of dynamic systems, widely applied in signal processing and control systems. It provides optimal estimates of the system states by combining prior information about the system with measurement data. The algorithm consists of two main steps: prediction and update. In the prediction phase, the algorithm uses the previous state to estimate the current state; in the update phase, it corrects the prediction using the current measurement values. This method is particularly effective in handling noisy measurement data, allowing for significant reductions in uncertainty and improvements in localization accuracy.
The filtering results for a randomly selected Bluetooth AP are shown in Figure 16, with positioning errors detailed in Table 2. During the mapping phase, the proposed RSSI signal filtering method can reduce mapping signal errors, thereby improving positioning accuracy.
As can be seen from the Figure and Table, the sliding average filter smooths the data only by a simple averaging operation, which reduces random noise but does not distinguish between systematic and measurement noise; the Gaussian filter uses a Gaussian function for weighted averaging but also lacks refinement of the noise; and the Kalman filter, through a Kalman gain computation, allows the filter to make trade-offs between different observations and predictions, thus providing a good estimate in the presence of noise can still provide a better estimate. Therefore, Kalman filtering is the most effective, and the processed data have smaller variance and range of fluctuation compared to the other two filtering methods, which can effectively remove outliers and reduce the interference of noise.

4.4. Overall Tracking Performance

The impact of UWB-assisted database construction on Bluetooth positioning accuracy is illustrated in Figure 17 and Figure 18. As shown, UWB positioning demonstrates high accuracy, with an average error within 10 cm. The obtained trajectory closely aligns with the actual trajectory.
Figure 18 infers that the difference in positioning results between UWB-assisted and manually constructed databases is acceptable, with an average error difference of less than 4% and a variance difference of less than 3%. This indicates that the introduction of UWB improves the efficiency of database construction without compromising the positioning accuracy of Bluetooth fingerprints. The impact on accuracy is negligible, demonstrating the feasibility of the UWB-assisted database construction method for automatic database creation.

5. Conclusions

Nowadays, satellite signals have serious attenuation indoors and cannot provide effective positioning services. In this paper, Bluetooth fingerprint positioning with low power consumption and considerable accuracy was selected as the research object: for the offline collection phase of Bluetooth fingerprint positioning, it was proposed to introduce UWB as an auxiliary positioning means to complete the collection work, which not only saves a lot of time, but also improves the degree of freedom of the offline collection work, and the error is within 10 cm. The Bluetooth RSSI data were processed by kalman filtering, which controls the fluctuation range within 3 dBm and reduces the noise interference; for the online positioning stage, the matching algorithm was proposed to use the regression model to fit the fingerprint database data and the position assumption by particle filtering, and in order to further improve the positioning accuracy, the calculation of multiple frames before and after the proposed joint calculation was carried out to solve the problem of the positional jumps, through experiments, in single-floor indoor positioning, the positioning accuracy of the first and second floors can reach 0.94 m and 1.70 m respectively, and in the multi-floor indoor positioning, the positioning accuracy can reach 1 m, which reduces error by 23.5% compared to existing methods. However, it is still challenging to achieve seamless switching between floors and higher accuracy of positioning, therefore, in future research work, Bluetooth can be combined with other positioning technologies [34,35] for more accurate positioning.

Author Contributions

Conceptualization, P.L. and R.G.; methodology, P.L.; software, R.G.; validation, B.C.; formal analysis, S.X.; investigation, D.X.; resources, L.X.; data curation, B.Y.; writing—original draft preparation, P.L.; writing—review and editing, R.G.; visualization, D.X.; supervision, B.Y.; project administration, B.Y.; funding acquisition, B.C. and S.X. All authors have read and agreed to the published version of the manuscript.

Funding

This work is supported by Foundation of Traffic Safety Emergency Technology Laboratory Open Research Project, Research on Intelligent Target Tracking Processing Technology for VTS Radar. This research is supported by the National Natural Science Foundation of China (No. 62231010) and the National Key Laboratory Foundation (No.2024-CXPT-GF-JJ-013). This work was supported in part by National Natural Science Foundation of China (62071363), Key R & D plan of Shaanxi Province (2021LLRH-06). This study was supported by the Shaanxi Province Postdoctoral Funding Project (grant number 2023BSHEDZZ216), Qinchuangyuan cites high-level innovation and entrepreneurship talent project (QCYRCXM2023-110), The China Postdoctoral Science Foundation (2024M752739).

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

The dataset used in this paper cannot be easily obtained because the data requires pre-installation of hardware equipment layout and post-debugging of related information, and the acquisition process is relatively time-consuming. If you need to access the dataset please send a request to [email protected].

Conflicts of Interest

Shaojian Xu was employed by the Beijing Leiyin Electronic Technology Development Co., Ltd. The remaining authors declare that the research was conducted in the absence of any commercial or financial relationships that could be construed as a potential conflict of interest.

Abbreviations

The following abbreviations are used in this manuscript:
UWBUltra-wideband
GPSsGlobal Positioning Systems
Wi-FiWireless Fidelity
RFIDRadio Frequency Identification
INSInertial Navigation Systems
RSSIReceived Signal Strength Indicator
AoAAngle of Arrival
KNNK-Nearest Neighbor
APAccess Point
DS-TWRDouble-Sided Two-Way Ranging
WKNNWeighted K-Nearest Neighbors
BLEBluetooth Low Energy
PDRPedestrian Dead Reckoning
GPSGlobal Positioning System

References

  1. Li, R. Research on Information Privacy Protection in Location-Based Service. Master’s Thesis, University of Electronic Science and Technology of China, Chengdu, China, 2019. [Google Scholar]
  2. Jiang, W.; Guo, C.; Zuo, W. Progress and thought of navigation and location servicesin of china. Bull. Surv. Mapp. 2020, 1, 1–4+25. [Google Scholar]
  3. Ye, X.; Zhang, Y. The principle of satellite navigation and positioning system and its ap-plication in engineering construction. Electron. Test 2017, 15, 62–63. [Google Scholar]
  4. Wang, J. The development ad innovation of the beidou navigation satellite system. Stud. Hist. Nat. Sci. 2023, 42, 365–376. [Google Scholar]
  5. Leitch, S.G.; Ahmed, Q.Z.; Abbas, W.B.; Hafeez, M.; Laziridis, P.I.; Sureephong, P.; Alade, T. On indoor localization using wifi, ble, uwb, and imu technologies. Sensors 2023, 23, 8598. [Google Scholar] [CrossRef]
  6. Yang, J.; Xiao, W.; Lu, H.; Barnawi, A. Wireless high-frequency nlos monitoring system for heart disease combined with hospital and home. Future Gener. Comput. Syst. 2020, 110, 772–780. [Google Scholar] [CrossRef]
  7. Gui, L.; Yang, M.; Fang, P.; Yang, S. Rss-based indoor localisation using mdcf. IET Wirel. Sens. Syst. 2017, 7, 98–104. [Google Scholar] [CrossRef]
  8. Zeng, Y.; Chen, X.; Li, R.; Tan, H.Z. Uhf rfid indoor positioning system with phase interference based on double tag array. IEEE Access 2019, 7, 76768–76778. [Google Scholar] [CrossRef]
  9. Xu, H. An rfid indoor positioning algorithm based on bayesian probability and k-nearest neighbor. Sensors 2017, 17, 1806. [Google Scholar] [CrossRef]
  10. Gao, Q.; Shen, C.; Chen, X.; Zhang, K. Weighted moving average-based differential uwb indoor localisation system for high external disturbance environment. Int. J. Internet Protoc. Technol. 2019, 12, 136–143. [Google Scholar]
  11. Bouse, L.; King, S.A.; Chu, T. Simplified indoor localization using bluetooth beacons and received signal strength fingerprinting with smartwatch. Sensors 2024, 24, 2088. [Google Scholar] [CrossRef]
  12. Martins, P.; Abbasi, M.; Sá, F.; Cecílio, J.; Morgado, F.; Caldeira, F. Improving bluetooth beacon-based indoor location and fingerprinting. J. Ambient. Intell. Humaniz. Comput. 2020, 11, 3907–3919. [Google Scholar] [CrossRef]
  13. Minjie, G.; Zihan, Z. Indoor positioning system for internet of things based on bluetooth technology. Intell. Process. Appl. 2021, 11, 52–57. [Google Scholar]
  14. Zhou, C. Bluetooth indoor positioning based on rssi and kalman filter. Wirel. Pers. Commun. 2017, 96, 4115–4130. [Google Scholar] [CrossRef]
  15. Dekang, Z. Research on Bluetooth Localization Algorithm Using Rssi and Aoa Measurements. Master’s Thesis, Nanjing University of Posts and Telecommunications, Nanjing, China, 2023. [Google Scholar]
  16. Wang, X. Neural network indoor ranging method considering signal statistical characteristics. J. Navig. Position. 2024, 12, 139–146. [Google Scholar]
  17. Wang, Z. Research on Indoor Localization Method of Hybrid Fingerprint Based on Improved CNN. Master’s Thesis, Nanjing University of Posts and Telecommunications, Nanjing, China, 2023. [Google Scholar]
  18. Ruan, L.; Zhang, L.; Zhou, T.; Long, Y. An improved bluetooth indoor positioning method using dynamic fingerprint window. Sensors 2020, 20, 7269. [Google Scholar] [CrossRef]
  19. Ye, Y. Research on bluetooth indoor location based on kmeans clustering. Urban Geotech. Investig. Surv. 2019, 5, 34–38. [Google Scholar]
  20. Guo, L.; Zhen, J. Effects of base station layout scheme on bluetooth fingerprint positioning. J. Navig. Position. 2018, 6, 93–96+110. [Google Scholar]
  21. Al-Jumaili, S.K.; Pearson, M.R.; Holford, K.M.; Eaton, M.J.; Pullin, R. Acoustic emission source location in complex structures using full automatic delta T mapping technique. Mech. Syst. Signal Process. 2016, 72–73, 513–524. [Google Scholar] [CrossRef]
  22. Guo, S.; Zhang, Y.; Gui, X.; Han, L. An improved pdr/uwb integrated system for indoor navigation applications. IEEE Sens. J. 2020, 20, 8046–8061. [Google Scholar] [CrossRef]
  23. Huang, G.; Hou, L. Precise rescue system for building fires based on bluetooth and uwb fusion positioning. Mod. Inf. Technol. 2023, 7, 93–96. [Google Scholar]
  24. Ai, Q.; Yang, J. Improved indoor localization method based on fusion of pdr and rssi. Transducer Microsyst. Technol. 2023, 42, 75–78+82. [Google Scholar]
  25. Chang, K.; Zhen, J. Indoor integrated positioning method based on bluetooth array/imu/odometer. J. Navig. Position. 2022, 10, 88–96. [Google Scholar]
  26. Su, S.; Chen, J. A review of indoor and outdoor positioning technology. Intell. Comput. Appl. 2023, 13, 179–183. [Google Scholar]
  27. Dong, L.; Hu, Q.; Tong, X.; Liu, Y. Velocity-Free MS/AE Source Location Method for Three-Dimensional Hole-Containing Structures. Engineering 2020, 6, 827–834. [Google Scholar] [CrossRef]
  28. Wang, F.; Shen, Q. Ble mesh based iot solution. Comput. Program. Ski. Maint. 2024, 1, 10–13. [Google Scholar]
  29. Wei, W.F. Design of Link Layer for Bluetooth Low Energy 5.2 Protocol. Master’s Thesis, Southeast University, Chengdu, China, 2022. [Google Scholar]
  30. Han, F. An improved knn location fingerprint algorithm based on ibeacon. Wirel. Internet Sci. Technol. 2018, 15, 113–115. [Google Scholar]
  31. Bo, Y.; Giorgetti, A.; Paolini, E. A track-before-detect algorithm for UWB radar sensor networks. Signal Process. 2021, 189, 108257. [Google Scholar]
  32. Tang, J.; Fu, Z. Kalman filtered knn fingerprint localization for bluetooth indoor localization. Digit. Space 2020, 13–15. [Google Scholar]
  33. Jing, Z. A Research on WIFI Indoor Positioning Method Based on Improved k-Means Clustering and Wknn Algorithm. Master’s Thesis, Inner Mongolia University, Hohhot, China, 2022. [Google Scholar]
  34. Yan, B.; Paolini, E.; Xu, L.; Lu, H. A Target Detection and Tracking Method for Multiple Radar Systems. IEEE Trans. Geosci. Remote Sens. 2022, 60, 1–21. [Google Scholar] [CrossRef]
  35. Wang, W.; Bo, Y.; Li, X.; Tian, M.; Jiao, R.; Zhang, H. Multiple Pedestrian Tracking Using LiDAR Network in Complex Indoor Scenarios. IEEE Sens. J. 2024, 24, 13175–13192. [Google Scholar] [CrossRef]
Figure 1. The comparison of other devices and current positioning methods.
Figure 1. The comparison of other devices and current positioning methods.
Sensors 24 06492 g001
Figure 2. Bluetooth localization measurement model.
Figure 2. Bluetooth localization measurement model.
Sensors 24 06492 g002
Figure 3. UWB collection and Bluetooth localization flowchart.
Figure 3. UWB collection and Bluetooth localization flowchart.
Sensors 24 06492 g003
Figure 4. UWB-assisted Bluetooth offline fingerprint database.
Figure 4. UWB-assisted Bluetooth offline fingerprint database.
Sensors 24 06492 g004
Figure 5. UWB node deployment.
Figure 5. UWB node deployment.
Sensors 24 06492 g005
Figure 6. Distance triangulation.
Figure 6. Distance triangulation.
Sensors 24 06492 g006
Figure 7. DS-TWR ranging method.
Figure 7. DS-TWR ranging method.
Sensors 24 06492 g007
Figure 8. Fingerprinting using mobile devices.
Figure 8. Fingerprinting using mobile devices.
Sensors 24 06492 g008
Figure 9. Determination of regression model.
Figure 9. Determination of regression model.
Sensors 24 06492 g009
Figure 10. (a) AP1. (b) AP2. (c) AP3.
Figure 10. (a) AP1. (b) AP2. (c) AP3.
Sensors 24 06492 g010
Figure 11. Multi-frame schematic.
Figure 11. Multi-frame schematic.
Sensors 24 06492 g011
Figure 12. First floor Bluetooth setup.
Figure 12. First floor Bluetooth setup.
Sensors 24 06492 g012
Figure 13. Second floor Bluetooth setup.
Figure 13. Second floor Bluetooth setup.
Sensors 24 06492 g013
Figure 14. Positioning result.
Figure 14. Positioning result.
Sensors 24 06492 g014
Figure 15. Comparison of localization trajectories.
Figure 15. Comparison of localization trajectories.
Sensors 24 06492 g015
Figure 16. Comparison of filtering methods.
Figure 16. Comparison of filtering methods.
Sensors 24 06492 g016
Figure 17. UWB localization results.
Figure 17. UWB localization results.
Sensors 24 06492 g017
Figure 18. UWB localization error.
Figure 18. UWB localization error.
Sensors 24 06492 g018
Table 1. Average localization error.
Table 1. Average localization error.
Positioning AlgorithmFirst FloorSecond Floor
KNN [32]0.95 m1.71 m
WKNN [33]0.94 m1.70 m
OURS0.71 m1.31 m
Table 2. Average filtering error.
Table 2. Average filtering error.
Filtering MethodMeanVarianceRange of Fluctuation
Original Data−69.48 dBm7.40 dBm212.00 dBm
Moving Average−69.48 dBm2.54 dBm28.00 dBm
Gaussian Filter−69.47 dBm3.91 dBm28.67 dBm
Ours−69.09 dBm0.24 dBm22.97 dBm
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Li, P.; Guan, R.; Chen, B.; Xu, S.; Xiao, D.; Xu, L.; Yan, B. UWB-Assisted Bluetooth Localization Using Regression Models and Multi-Scan Processing. Sensors 2024, 24, 6492. https://doi.org/10.3390/s24196492

AMA Style

Li P, Guan R, Chen B, Xu S, Xiao D, Xu L, Yan B. UWB-Assisted Bluetooth Localization Using Regression Models and Multi-Scan Processing. Sensors. 2024; 24(19):6492. https://doi.org/10.3390/s24196492

Chicago/Turabian Style

Li, Pan, Runyu Guan, Bing Chen, Shaojian Xu, Danli Xiao, Luping Xu, and Bo Yan. 2024. "UWB-Assisted Bluetooth Localization Using Regression Models and Multi-Scan Processing" Sensors 24, no. 19: 6492. https://doi.org/10.3390/s24196492

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