Next Article in Journal
Acoustic Classification of Surface and Underwater Vessels in the Ocean Using Supervised Machine Learning
Next Article in Special Issue
Calibration of BeiDou Triple-Frequency Receiver-Related Pseudorange Biases and Their Application in BDS Precise Positioning and Ambiguity Resolution
Previous Article in Journal
Practical Considerations for Accuracy Evaluation in Sensor-Based Machine Learning and Deep Learning
Previous Article in Special Issue
Reliable and Fast Localization in Ambiguous Environments Using Ambiguity Grid Map
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

A Robust Indoor Positioning Method based on Bluetooth Low Energy with Separate Channel Information

1
State Key Laboratory of Information Engineering in Surveying, Mapping and Remote Sensing, Wuhan University, Wuhan 430079, China
2
Department of Remote Sensing and Photogrammetry and the Center of Excellence in Laser Scanning Research, Finnish Geospatial Research Institute, 02430 Masala, Finland
3
Key Laboratory of Precise Engineering and Industry Surveying, National Administration of Surveying, Mapping and Geoinformation, Wuhan University, Wuhan 430079, China
4
Wuhan Geomatics Institute, Wuhan 430079, China
5
State Key Laboratory of Geodesy and Earth’s Geodynamics, Chinese Academy of Sciences, Wuhan 430079, China
*
Author to whom correspondence should be addressed.
Submission received: 22 June 2019 / Revised: 20 July 2019 / Accepted: 7 August 2019 / Published: 9 August 2019
(This article belongs to the Collection Positioning and Navigation)

Abstract

:
Among the current indoor positioning technologies, Bluetooth low energy (BLE) has gained increasing attention. In particular, the traditional distance estimation derived from aggregate RSS and signal-attenuation models is generally unstable because of the complicated interference in indoor environments. To improve the adaptability and robustness of the BLE positioning system, we propose making full use of the three separate channels of BLE instead of their combination, which has generally been used before. In the first step, three signal-attenuation models are separately established for each BLE advertising channel in the offline phase, and a more stable distance in the online phase can be acquired by assembling measurements from all three channels with the distance decision strategy. Subsequently, a weighted trilateration method with uncertainties related to the distances derived in the first step is proposed to determine the user’s optimal position. The test results demonstrate that our proposed algorithm for determining the distance error achieves a value of less than 2.2 m at 90%, while for the positioning error, it achieves a value of less than 2.4 m at 90%. Compared with the traditional methods, the positioning error of our method is reduced by 33% to 38% for different smartphones and scenarios.

1. Introduction

Positioning, navigation, timing, remote sensing and communication (PNTRC) systems will change our life greatly in the future [1]. In the PNTRC system, the most fundamental and important technologies are seamless positioning and ubiquitous navigation. In fact, outdoor positioning the technology is relatively mature, owing to satellite positioning systems like Global Navigation Satellite System (GNSS). However, currently, there is no single indoor positioning technology that is able to balance cost, accuracy, performance, robustness, complexity, and limitations [2,3,4]. The general indoor positioning technologies include infrared positioning [3,5], ultrasound positioning [3,6], radio frequency positioning [4], magnetic positioning [7], microelectromechanical systems positioning [8,9], vision-based positioning [10] and audible sound positioning [11,12]. In particular, radio positioning technologies, such as radio frequency identification (RFID), wireless LAN (WLAN), ZigBee, Bluetooth low energy (BLE) and ultrawideband (UWB), have drawn much attention because of the issuance of many wireless radio standards [2,3]. Among these wireless systems, the most commonly used ones for indoor positioning are WiFi and Bluetooth [13].
WiFi has over 50 sub-bands on the 2.4 GHz band, and each of them has a bandwidth of 20 MHz. Most of the past pioneering work simply used the WiFi received signal strength indication (RSSI), which reflects the aggregate value of all channel information [14]. The reason why they did not take advantage of the sub-band information is that the WiFi Access Point (AP) used to collect information such as RSSI, but RSSI was originally designed for communication so that the sub-band information remains private for users. The use of RSSI in previous works [4,13,15,16,17] has suffered from many problems, such as body blockage, the temporal environmental change effect, etc. Unlike the RSSI, the recent studies leveraging channel state information (CSI) from all sub-bands have revealed that CSI has more fine-grained information than RSSI; hence, CSI is more robust against body blockage and the temporal environmental change effect, and therefore, a better positioning performance can be expected [16,18,19].
The concept of sub-bands can also be employed in BLE positioning. Similarly, BLE has 40 channels on the 2.4 GHz band, and each channel has a bandwidth of 2 MHz [14]. In addition, the BLE has become the focus of current indoor positioning technologies because it takes advantage of low power consumption and easy deployment [20]. A comparison of the frequency bands between WiFi and BLE is illustrated in Figure 1a. Channels 37, 38 and 39 of BLE are advertising channels, broadcasting messages in loops, and the other 36 channels are designed for communication in connection [21]. Meanwhile, the aggregate received signal strength (RSS) is sampled in the loop of three advertising channels [14], see Figure 1b,c. In fact, the different channels will produce the distinguished RSS measures because of the frequency band the channel occupies. Therefore, an aggregate RSS loses the fine-grained information and will diminish the details of the RSS measure from each channel. To this end, we propose taking advantage of the three separate channels of the BLE, similar to the CSI approach that has been successfully applied for WiFi positioning systems.
To date, BLE-based indoor positioning technologies can be classified into a geometric mapping approach and fingerprinting approach, with the former being the primary focus of this study [16]. In this case, methods such as triangulation, trilateration, and multilateration are generally used to locate the target [22]. The aim of these methods is to accurately measure the distance between the target and APs by leveraging the time of arrival (TOA), time difference of arrival (TDOA), RSS, time of flight (TOF) and received signal phase [4,16]. Regarding only the RSS approach, the distance can be calculated by using the instant RSS measure and a radio-propagation model that was established in advance. However, the distance estimation with the prebuilt radio propagation model in a complicated indoor environment suffers from many problems, for instance, NLOS (not line of sight) [23], the multipath effect and path loss [14], signal reflection [22], moving objects [4,24], a noise floor [25], and 802.11 interference [25], which are summarized as spatial variations. In detail, the so-called 802.11 interference of BLE denotes the effect caused by WiFi because WiFi and BLE run on the same band (2.4 GHz); see Figure 1a [14,21,25]. In addition, the narrow bandwidth of BLE advertising channels makes individual RSS tend to fade fast, and the protocol of receiving an advertising package makes the aggregate RSS tend to fluctuate [20]. Because of the interference depicted before, the traditional RSS measurement (aggregate RSS from three channels) usually presents a larger uncertainty, which leads to an incorrect distance estimate with the prebuilt single radio propagation model.
In this paper, we aim to achieve a more robust and precise indoor positioning system. The structure of the paper is as follows: Section 2 presents the previous work and the background of the indoor positioning of BLE. In Section 3, the algorithms contain a stable RSS inquire, the separate signal-attenuation models with the strategy of distance decision and weighted trilateration. Separate channels and signal-attenuation models are designed to obtain a more stable RSS. In the meantime, the distance decision and weighted trilateration strategies are used to increase the precision and adaptability. Section 4 demonstrates the experimental setup and performance of the algorithms. Finally, Section 5 presents the conclusions and future directions of research.

2. Related Work

To obtain a more stable RSS, Kim [26] proposed an accurate indoor proximity zone detection technique based on the time window and frequency of the RSS. Ozer [27] improved the performance of BLE indoor positioning using the Kalman filter to make the RSS smoother. However, he could not avoid the use of dirty data, resulting in a bad result. Furthermore, Ishida [28] first proposed BLE separate channel fingerprinting using channel-specific features. Jovan [21] and Ramsey [14] used three advertising channels to build fingerprinting maps in the process of removing fast fades with an iPhone to investigate the value of separate channel information. Moreover, Giovanelli [29] used the CC2650 tag and nRF52840 to estimate the distance covered by the signal corresponding to the RSS. Nikoukar [25] measured the noise floor in different channels using nRF52480 SoC in different environments to mitigate the noise and measured the separate RSS values. Although these authors tried to simulate the real environment, they obtained only separate channel information with specific devices. In this paper, we focus on the need for easy deployment. Beacons are arranged in separate channels so that an off-the-shelf smartphone can work in our system.
To improve the precision and adaptability, Subha [30] and Ali [25] proposed adding particular terms to the original model to absorb the multipath error. Yu [31] put forward a new BLE propagation model according to the location of the BLE beacons and fused the propagation model and multiple sensors through the Kalman filter. Moreover, Canton Paterna [32] used frequency diversity, the Kalman filter and a trilateration method to improve the precision of the BLE system. He compared the largest RSS value, the mean RSS value and the maximum ratio combined with separate RSS (channel 37, 38 or 39) to choose the best RSS value. He also compared the log-distance path loss model with shadowing, the International Telecommunication Union (ITU) model for indoor environments and the empirical model to choose the best model for indoor location in the large analysis. However, Canton Paterna did not improve the model to simulate the real environment. He chose only the best channel to estimate the most accurate position without considering the changeable space and time variations in indoor environments. Zhuang [33] combined the channel-separate polynomial regression model, channel-separate fingerprinting, outlier detection and the extended Kalman filter. He experimented in densely and sparsely distributed BLE beacons in all three advertising channels to fit the best model and to generate the fingerprinting without considering the bad channel results. However, these authors ignored the fact that indoor environments are changeable and complicated. In contrast, we combine the separated channels and the distance decision strategy to improve the adaptability. In particular, separate signal-attenuation models provide the estimate distance for the distance decision strategy. The distance decision strategy is directly applied to every channel and evaluates the comparison of each. Moreover, weighted trilateration with the estimate distance derived from the distance decision strategy performs well in obtaining the optimal position.

3. Algorithm

3.1. Separation of the BLE Channels for a More Stable Signal

BLE broadcasts the messages in quick succession. In the protocol layer, CH 37 (channel 37), CH 38 (channel 38), and CH 39 (channel 39) broadcast the same message repeatedly to avoid package loss. Regarding the listening rule, devices such as smartphones listen to broadcasted messages circulating in CH 37, CH 38 and CH 39. However, the final RSS obtained from BLE is indeed CH all (the aggregated RSS from all channels), which is summed from the three separate channels in loops. According to the rule of error propagation, the aggregated RSS has a larger uncertainty than that of each channel. Acquiring a more stable RSS, deemed the foundation of positioning, requires separate channels. Fortunately, separate channel can’t keep in bad and stable character all the time [21]. In this design, three beacons are scheduled to run separately in CH 37, CH 38 and CH 39, while the other beacon is a normal beacon that broadcasts the aggregated RSS as a benchmark. A simple experiment was carried out between two brands of mobile phones to demonstrate the behaviors of individual RSS and the aggregated RSS (see Figure 2).
It can be seen from Figure 2a that the RSS of CH 37 ranges from −31 dBm to −27 dBm. In addition, the RSS ranges from −31 dBm to −28 dBm for CH 38 and from −29 dBm to −25 dBm for CH 39. The variance of CH all (1.6756) is higher than one of CH 37 (0.9915), CH 38 (0.6654) and CH 39 (0.7756). The results imply that the RSS varies greatly with the channel, which is also supported by Figure 2b. Furthermore, it can be seen that the aggregate RSS ranges from −31 dBm to −25 dBm. The aggregate RSS apparently has a larger variance than that of each channel, at almost all distances (see Figure 2c,d). The variance of CH all (1.6465) is higher than one of CH 37 (0.3555), CH 38 (0.4885) and CH 39 (0.5952). The results are consistent with our previous assertation that an individual RSS should be more stable. Therefore, with the challenge of temporal variations, separate channels instead of an aggregate one are adopted in this study to acquire a more stable RSS measurement and to improve the positioning performance because of the stability of data source.

3.2. The Distance Decision Strategy

As separate channels are used in this study, a distance decision strategy regarding the distance between the receivers (smartphones) and senders (BLE beacons) should be developed to fully exploit all the channel information. Here, three steps are taken to achieve the objective; see the workflow shown in Figure 3. In the first step, three separate signal-attenuation models are trained in the offline phase. It’s necessary but not complex. Second, data filtering is implemented to eliminate abnormal RSS points (outliers) and interpolate the fixed point. Finally, a method is proposed for fusing the separate distances estimated for each channel and outputting the final distance.

3.2.1. Separate Signal-Attenuation Models in the Offline Phase

The distance can be estimated by measuring the instant RSS and using a prebuilt radio propagation model that reveals the one-to-one corresponding relationship between distance and RSS. Actually, the log-distance path loss model was most frequently used in previous works because the channel fading characteristic contains a log-normal distribution [23,32,33]. Therefore, our study chooses this model as well to train the signal-attention models, as shown below:
R S S = R S S ( d r e f ) + 10 α log ( d d r e f ) + X σ
where R S S is a dependent variable, d is an independent variable, d r e f is the reference distance, and R S S ( d r e f ) is the RSS at the reference point. α is the parameter representing the path-loss exponent, and X σ follows a Gaussian distribution, with zero mean [33].
It is apparent that three sets of signal-attenuation models are needed because the information of three BLE channels is utilized in our design. Therefore, we establish three signal-attenuation models ( denoted   as   M 37 ,   M 38 and M 39 ) with respect to CH 37, CH 38 and CH 39, respectively, in the offline training phase. However, only one model was trained for the aggregated RSS in the conventional method. It is apparent that three separate models can better reveal the feature of each channel information. This offline training phase normally includes two steps: (1) collection of the RSS during a given time period at a fixed position, and use of the mean value of the RSS measurements as the “observation” of this position; (2) the recording of a set of “observations” and the distances between the receivers (smartphones) and senders (BLE beacons). In this way, a least-square method can be utilized to find the optimal value of parameter α in Equation (1) in the offline phase. Under the framework of the least-square method, the three parameters can be obtained. α 37 represents the path-loss exponent in CH 37. CH 38 and CH 39 each may have a different parameter as α 38 or α 39 .
To test the separate signal-attenuation models, a long corridor is selected as our experimental environment, with the Google Pixel 3 L being used. Sixteen positions are chosen, and the distance between each pair of adjacent positions is 1.2 m. Collection of the RSS for 5 minutes at every fixed position to a distance of 19.2 m is carried out, and the mean value of the collection is regarded as the raw RSS. The raw RSS values are recorded with the true distance at every fixed position. In the offline phase, the record is trained to fit the signal-attenuation models (see Figure 4). The dotted line represents the mean value of the collected RSS at every fixed position, and the symbol ’*’ represents the signal-attenuation models. R 2 , called the goodness of fit, is employed to evaluate the established model. It is apparent from Figure 4 that the separate signal-attenuation models have a higher R 2 values than those of the aggregate signal-attenuation models. In the offline phase, the separate signal-attenuation models represent the relatively optimal models.
In the online phase, the distance should then be estimated from each signal-attenuation model ( M 37 , M 38 and M 39 ). To verify the separate models in practice, another test in the same long corridor using the Google Pixel 3 L is carried out. In this phase, the RSS is collected for 10 s at every fixed point, as in the offline phase. Every received RSS is input into the separate signal-attenuation models to obtain an estimate distance. By recording the true distance and the estimated distance inferred from the models, we can output the CDF (cumulative distribution function) map of the errors, as shown in Table 1.
The implication of the results shown in Table 1 is that all three signal-attenuation models can estimate a distance from the smartphones to the beacons. The 90 percentile distance errors are no less than 4.0 m, which is not sufficient for precise indoor positioning. For this, a distance decision algorithm with data filtering is proposed to achieve adaptable and robust indoor positioning.

3.2.2. Data Filtering

In this study, three beacons (each of them is coded in the level of firmware to broadcast only one channel) are combined as a station to achieve the broadcast of separate channel information. It is worth mentioning that some of the past works directly modified the hardware of a single beacon to achieve the broadcast of three channels of information at the same time. Unlike previous works, we bypass the technical difficulty of modifying the hardware and manage to obtain the three channels of information by simply combining three beacons as a station (each of them is coded in the level of firmware to broadcast only one channel). Despite this convenience, our method may introduce a new problem, that is, the packet loss of some channels during one round of a scanning. We have assumed that the RSSs from the three channels are completely synchronized, which is contrary to reality. Hence, we develop a “lost detection” method to tag the channel that is unavailable for one round of a scanning. In addition, outliers that make great jumps should be detected and removed/smoothed at this stage, which can be achieved by the median filter algorithm [34]. The details are expanded in the following.
During a given time period, the received package has a different number of detected beacons. If one beacon is not detected, the RSS of this beacon in this round of scanning is an empty one, that is, it is lost. The “lost” RSS is critical for the later distance decision, so we have to distinguish which beacon is “lost”. To this end, we carry out loss detection as follows (see Equation (2)), which is actually a process of tagging. When R i is empty, T i is equal to 0. In contrast, T i is equal to 1 if R i is not empty. Loss detection provides the tags needed for median filtering:
T i = { 0           R i   i s   e m p t y               1           R i   i s   n o t   e m p t y
where T i is the tag in time period i and R i represents the received RSS in time period i .
After loss detection, median filtering is carried out to address the data with tags sequentially. Here, we take CH 37 as an example to illustrate the process of median filtering. { R S S 37 , 1 , R S S 37 , 2 , R S S 37 , 3 ,   ,   R S S 37 , i } , which denotes the RSS sequence of CH 37 (different smartphones have different sampling frequencies) during the sampling period, has a matched tag sequence { t a g 37 , 1 , t a g 37 , 2 , t a g 37 , 3 ,   ,   t a g 37 , i } , found by Equation (2). A sliding window of W L 1 in length is adopted to sample the median value. For i = 1 , 2 ,   t W L 1 + 1 , we have:
R F i = { R i , R i + 1 , R i + W L 1 + 1 T i = 1   N o n e T i = 0  
where W L 1 is the length of the sliding window, R F i is the selected RSS and R i represents the RSS of CH 37 in time period i ; when the total count is t , the max of i is t W L 1 + 1 .
In other words, the purpose of median filtering is to remove the outlier, which behaves as a sudden jumping point. Mainly, T i , the tag of the last point in the sliding window, is deemed the decisive point. If the value of the decisive point is zero, the whole sliding window should be thrown out. Correspondingly, some fixed points, the median values of the sliding window, should be inserted.
To test the approach of median filtering and loss detection, in the same long corridor, RSS values are collected at every fixed position for 10 s, as in the online phase. For example, the set of RSS values for the Huawei P20 at a fixed position 3 m away before and after the methodology is shown in Figure 5. When the value of W L 1   is 5, the probability of the outlier being here is 15%. In fact, the probability of outliers mainly depends on the environment, which we cannot improve. Figure 5a shows the plot of raw data, while the reprocessed data are shown in Figure 5b. The number of outliers in Figure 5a has been considerably reduced in Figure 5b. After median filtering, the sharp noise was deleted fully. Meanwhile, the process of loss detection is shown in Figure 5b. The fixed point has been inserted. On the whole, the process of data filtering makes the RSS values more gathered and smooth. The combination of loss detection and median filtering can output a reprocessed and clean sequence of RSSs for later use in the distance decision strategy.

3.2.3. Distance Decision

After data filtering, the three sets of RSS values correspond with a series of distances in separate channels. For example, the i th point of the filtered RSS in CH 37 can output a distance result called D 37 , as well as D 38 and D 39 . However, it should be noted that one can never expect to acquire D 37 , D 38 and D 39 every time, as some of these parameters might be lost, as depicted before. To synthesize the final distance, the distance decision algorithm is implemented to analyze and optimally combine the three estimated distances derived from the separate signal-attenuation models. With the hypothesis that three beacons in three channels can be used to output the final distance, our distance decision strategy is illustrated as follows according to the number of valid distances.
2-Channel is used when the number of valid distances (valid channel information) is two. In this case, the possible combinations are presumably D 37 and D 38 , D 37 and D 39 , or D 38 and D 39 . Two steps are followed: (1) detecting the variance of a single channel and (2) detecting the difference between the two channels.
For instance, D Q and D P ( Q , P = 37, 38, 39) are valid here. In the first step, there is a threshold and a sliding window for variance detection. The variance detection requires that σ < T h r 1       (where σ is the variance of a single channel and T h r 1 represents the threshold of variance in step one). Only if the two specific channels meet the requirement of variance detection does step two, called difference detection, commence. The process of difference detection in 2-Channel can be described mathematically as shown in Equation (4):
i = 1 i + W L 2 1 | D Q , i D P , i | W L 2 < T h r 2
where W L 2 is the length of the sliding window, T h r 2 represents the threshold of variance in difference detection in time period i ,   D Q , i is the value of the distance in channel Q and D P , i is the value of the distance in channel P.
As a consequence, the ultimate output distance D i is the weighted average of D Q and D P :
{ D i = m 1 D Q , i + m 2 D P , i m 1 = σ P σ Q + σ P m 2 = σ Q σ Q + σ P
where m 1 and m 2 are the weights for channel Q and channel P, respectively, σ Q is the variance of channel Q, and σ P is the variance of channel P. High variance in variance detection means more interference and lower weight.
3-Channel is used when the number of valid distances is three. In addition, 3-Channel is more precise and persuasive than 2-Channel in practice because of the greater availability of measurements. Similarly, two steps are also followed: (1) detecting the variance of each of the three channels separately and (2) detecting the difference between every two channels. The differences between any two of the three distances ( D 37 , D 38 , and D 39 ) should be taken into account.
In the first step, there is a threshold and a sliding window for variance detection. The variance detection requires that σ < T h r 1 , as demanded by 2-Channel (where σ is the variance of a single channel and T h r 1       represents the threshold of variance in step one). Only if all three separate channels fulfill the requirement of variance detection is step two, called difference detection, commenced. The process of difference detection in 3-Channel can be described mathematically as shown in Equation (6):
{ i = 1 i + W L 3 1 | D 37 , i D 38 , i | W L 3 < T h r 3 i = 1 i + W L 3 1 | D 37 , i D 39 , i | W L 3 < T h r 3 i = 1 i + W L 3 1 | D 38 , i D 39 , i | W L 3 < T h r 3
where W L 3 is the length of the sliding window, T h r 3 represents the threshold of variance in difference detection in time period i , D 37 , i is the value of the distance in CH 37, D 38 , i is the value of the distance in CH 38 and D 39 , i is the value of the distance in CH 39.
Accordingly, the ultimate output distance D i is the weighted average of distance 37, distance 38 and distance 39:
{ D i = m 1 D 37 , i + m 2 D 38 , i + m 3 D 39 , i m 1 = σ 38 + σ 39 2 ( σ 37 + σ 38 + σ 39 ) m 2 = σ 37 + σ 38 2 ( σ 37 + σ 38 + σ 39 ) m 3 = σ 37 + σ 38 2 ( σ 37 + σ 38 + σ 39 )
where m 1 , m 2 and m 3 are the weights for CH 37, CH 38 and CH 39, respectively, σ 37 is the variance of CH 37, σ 38 is the variance of CH 38 and σ 39 is the variance of CH 39.
In conclusion, the quality of broadcasting signal is affected by many reasons like walking people, fixed obstacle (desk, chair, cupboard…) and state of transmitter/receiver, etc. Because of these complicate factors in indoor environment, the quality of broadcasting is varying time to time, and there should be thus no fixed relation between the quality and the real distance. However, a direct quality evaluation is possible in our method, by step (1) detecting the variance of each channel separately and step (2) detecting the difference between every two channels. In this way, our method only employs the RSS of “good quality”, resulting in a better distance estimation in theory.
The basic rationale behind our distance decision strategy is that: the interruptions caused by unpredictable factor like walking people on the three channels are different. In another word, the three channels will consistently reflect a same distance estimate if no interruption, however, a large interruption will lead to a large discrepancy of distance estimates between the three channels. By detecting how large is the discrepancy between channels, our distance decision strategy can tell if this is a good or bad measure, and avoid to output result in bad quality. However, the traditional method will adopt all channel outputs without any particular treatment with the error.
In particular, a validation is set up to test our distance decision strategy, as Figure 6 illustrates. The distance between the station and the smartphone (Google Pixel 3 L) is 5 m. The test is set up as real as possible by (1) distributing some desks and cupboards as obstacles and (2) rotating the smartphones. Although the real case is usually more complicated than our setup, we suggest that the experimental results under our setup still make sense. In addition, three locations (A, B, C) are tested in the experiment: case A in Figure 6 represents the status of inherent influence. The case of a smartphone backing away from the station is marked as case C (blocked). In this case, the line of sight is blocked. The case in which a smartphone is positioned vertically with straight lines between the station and smartphones is considered case B (not blocked). The three cases provide powerful evidence that the direction of the smartphone makes a difference. Table 2 shows the results of the different cases when T h r 1 is 3 m 2 in the first step of the distance decision strategy, and T h r 2 in Equation (4), T h r 3 in Equation (6) are both 5 m .
In fact, NLOS is one of the main factors that may deteriorate distance estimation from RF signals (WiFi/BLE), and many papers in previous dedicate to minimize the NLOS effect [35], while none of them claims to completely solve the NLOS problem as far as we know. Unlike the previous work that try to calibrate the RSS measures even in NLOS case, this study prefers to avoid result output (usually in bad quality) in NLOS case (or other cases, not limited to NLOS) so as to stabilize the positioning. As Table 2 demonstrates, in this trial, no results are output when the line of sight is blocked in case C. Because of the tails of the separate signal-attenuation models, a small jitter will result in a large change. When the line of sight is blocked, the value of the RSS becomes very small, which will cause a large error in terms of the distance. Hence, the case will not meet the requirement of the distance decision. In other words, the probability of no output in case C is 100%. In case B, the direction of the smartphones does not improve stability compared with that in case A, being marked as an inherent influence. Thus, the number of times no output occurs in case B is higher than that in case A. The rationale behind our distance decision strategy is that a more precise distance can be obtained with more consistent channel information among the three advertising channels. In brief, the distance result is convincing when the three channels output similar distances.
By combining the use of separate channel information and the distance decision strategy, we suggest that the result should have more adaptability and more robustness to signal interruption caused by, for example, body blockage. Our distance decision strategy based on a relatively long sequence can achieve greater positioning accuracy, which is the major objective of this study.

3.3. Weighted Trilateration

With the distances measured from several stations, a weighted trilateration method is proposed to realize positioning. In our experimental setup, a location station is equipped with three beacons, and each beacon is arranged such that it has one advertising channel, as described before. Considering the occurrence of packet loss at our location station, a four-station setup is suggested, which is also very popular among the state-of-the-art geometric positioning systems.
Trilateration can succeed in locating the target when the measurements taken converge at a single point. However, in a practical environment, there are some distance errors that lead to an area of possible locations instead of a single location point. Derivation from the difference detection of each station in Section 3.2.2 is utilized to increase confidence regarding the receivers (smartphones) closer to the senders (stations) by moving the target point.
In the case of evaluated errors shown in Figure 7, the intersection of circles creates an area. The maximum likelihood estimate, the least-square method or the triangle centroid localization algorithm can solve this problem. Here, the triangle centroid localization algorithm is adopted. In step one, the center point P of the intersecting area should be given:
{ x = P 1 x + P 2 x + P 3 x + P 4 x 4 y = P 1 y + P 2 y + P 3 y + P 4 y 4
where P 1 is the point of intersection between station 3 and station 4, P 1 x is the value of P 1 along the X-axis, and P 1 y is the value of P 1 along the Y-axis.
In step two, the weight derived from difference detection for every side can be calculated as shown in Equation (9). Assume that the levels of difference detection of the four stations are Σ 1 , Σ 2 , Σ 3 and Σ 4 . A low level of difference detection means that the real target’s location is more likely near the station. In reality, the occurrence of intersecting circles with evaluated errors is an event with high probability; thus, the distance decision strategy plays an important role in trilateration. Consequently, we give the weight for every side as follows:
{ k 1 = Σ 2 + Σ 3 + Σ 4 3 ( Σ 1 + Σ 2 + Σ 3 + Σ 4 ) k 2 = Σ 1 + Σ 3 + Σ 4 3 ( Σ 1 + Σ 2 + Σ 3 + Σ 4 ) k 3 = Σ 1 + Σ 2 + Σ 4 3 ( Σ 1 + Σ 2 + Σ 3 + Σ 4 ) k 4 = Σ 1 + Σ 2 + Σ 3 3 ( Σ 1 + Σ 2 + Σ 3 + Σ 4 )
where k 1 , k 2 , k 3 and k 4 are the weights for P 1 , P 2 , P 3 and P 4 , respectively. A low level of difference detection means a more precise and larger weight. According to the order of weights, we move the center point P to the four intersection points in turn. For example, if k 1 > k 2 > k 3 > k 4 , we move the center point P to P 01 on the way towards P 1 at d 1 , then we move point P 01 to P 12 on the way towards P 2 at d 2 , then we move point P 12 to P 23 on the way towards P 3 at d 3 , and then we move point P 23 to P 34 on the way towards P 4 at d 4 . P 34 is the final location point. In detail, the length of the distance moved is shown in Equation (10):
{ d 1 = | | P P 1 | | k 1 d 2 = | | P 01 P 2 | | k 2 d 3 = | | P 12 P 3 | | k 3 d 4 = | | P 23 P 4 | | k 4

4. Results

4.1. Experimental Setup

MAX Beacon, from a company called Bright Beacon (Chungking, China), iwas chosen as the test beacon. MAX Beacon is equipped with a Nordic51822AA unit, which is a BLE system on a chip. MAX Beacon weighs 65 g and has a lifetime of 2 to 3 years with a broadcast power of −30 dBm to 4 dBm, broadcast frequency of 100 to 1000 ms, and broadcast distance of 3 to 100 m. With a broadcast power of 0 dBm, we can detect the advertising package to as far as 20 m. By adjusting the firmware, we can make MAX Beacon advertise in one channel. We set up a location station with three MAX Beacons. The three MAX Beacons are denoted as MAX beacon1, MAX beacon2 and MAX beacon3. MAX beacon1 broadcasts the message in CH 37, MAX beacon2 broadcasts the message in CH 38 and MAX beacon3 broadcasts the message in CH 39.
Figure 8 shows two experimental setups. In Figure 8a, four stations are deployed in an office room with a size of 5 m × 10 m. Some furniture (like cupboards, so as to simulate NLOS), WiFi APs and devices embedded with Bluetooth (to simulate 802.11 interruption) are placed in a classroom. Figure 8b is a typical office room, which is similar to Figure 8a but with however a different layout. This office room is in a size of 9 m × 12 m and filled with a big cupboard and a desk. The experimental setup is as real as possible, with some extra artificial interference like moving people and WiFi Aps, to verify the reliability of our proposed methods. It’s true that the practical indoor environment (like a shopping mall) may include several rooms and corridors. However, due to the limitations of BLE technology itself, four station-based BLE trilateration method can only realize accurate positioning inside a room, otherwise the NLOS effect caused by walls can heavily contaminate the RSS measures [32,36].

4.2. Performance of the Algorithm

4.2.1. The Distance Decision Strategy

Some of the messages broadcast in the separate channels could be lost. The loss is random and unpredictable, particularly in a complex environment. The typical raw data of the distance decision are illustrated in Figure 9a. Figure 9a demonstrates the typical distribution when we input the median value of the sliding window into the traditional log-distance path loss model to obtain a distance; see Equation (1). The X-axis represents time. From 0 s to 20 s, there are only two valid channels (CH 37 and CH 39). From 30 s to 60 s, the valid channels are CH 37 and CH 38. From 100 s to 180 s, all three channels are available.
As we addressed before, no distance value is output when the number of valid distances is one, which is shown as a gap in Figure 9. The test uses two smartphones (Google Pixel 3 L and Huawei P20) to evaluate the impact of device heterogeneity. For each smartphone, the RSS values of separate channels should be collected in the offline phase at every fixed position of less than 10 m in our study. The range of 10 m is selected because (1) it is enough for our test field and (2) small fluctuations in the RSS will lead to a large change in the estimated distance if a larger range is chosen. Figure 9a,b and Figure 9c,d demonstrate the results of the estimated distance with and without the proposed distance decision strategy.
In Figure 9a,b, without the distance decision strategy, the distance error in separate channels is posted, being as much as ten meters and even more. In contrast, the distance error when using the distance decision strategy, as shown in Figure 9c,d, is less than 2.5 m all the time. About 75% of all scans can output results with Google Pixel 3 L in Figure 9c and around 67% with Huawei P20 in Figure 9d, which shows the effective continuity of proposed methods. Though, the proposed methods will recover from no outputs quickly, see Figure 9d in 60 s. In detail, with consideration of the distance error, Figure 9a,b show better results, implying that both the 2-Channel algorithm and the 3-Channel algorithm can output great results. There is a typical distribution in Figure 9a. We use 3-Channel mostly to determine the distance. Figure 9b not only utilizes 2-Channel but also represents the case of a single channel, which outputs no result. After approximately 170 s in Figure 9a, 2-Channel is adopted instead of 3-Channel, even though three separate RSSs are available, as the case cannot meet the requirement of difference detection of 3-Channel. In other words, 2-Channel and 3-Channel are effective at reducing the distance error to 2 m.
In our experiment, by using separate signal-attenuation models and the distance decision strategy, the complex interference influences the separate channels, which leads to a bad result. To our knowledge, no interference can have the same effect on all separate channels. More carefully, Table 3 shows that for different smartphones, the mean distance error can be less than 2.3 m in such a complicated and changing indoor environment. The mean distance error becomes larger when the real distance increases and smaller when the real distance decreases. The algorithm aims to avoid sudden interference as much as possible rather than facing unpredictable and complicated indoor environments. Therefore, the distance decision strategy possesses the ability to recover from a complicated indoor environment efficiently and effectively.

4.2.2. The Weighted Trilateration

To obtain the performance of weighted trilateration derived from the distance decision strategy, an experimental setup with the Google Pixel 3 L is set up, as shown in Figure 8, with four stations, where 46 points are uniformly distributed. The experiments are carried out by testing at one point (the center of the block) 100 times to calculate the mean absolute error of the positioning results. Each center of the grid in Figure 10 denotes a test position, excluding the black ones, which depict the actual distribution of stations.
In the experiment, the distance between the farthest point and one of the stations is 5 m, and the mean absolute error of the algorithm above is less than 2.4 m at all the points (see Figure 10). This shows the great performance of weighted trilateration according to the decided distance. The mean absolute error decreases when the position is closer to the station and increases when the position is far from the station. Similarly, the error values near the WiFi APs and devices embedded with Bluetooth are larger than those of positions that are far away. The experiment shows that our proposed algorithm could obtain a distance mean error of less than 2.4 m in scenario #1 with the Google Pixel 3 L.
More importantly, a comparison between different algorithms in scenario #1 with the Google Pixel 3 L should be carried out. Table 4 reveals the symbols denoting the different algorithms, and table 5 illustrates the mean absolute error of the different algorithms. Specifically, in a comparison of the precision of the distance errors, aggregate signal-attenuation models with normal distance decision ( A 1 + B 1 ), separate signal-attenuation models with normal distance decision ( A 2 + B 1 ) or a combination of separate signal-attenuation models and the distance decision strategy ( A 2 + B 2 ) is adopted to show the distance error in relation to one of the four stations. Furthermore, in a comparison of the precision of the positioning errors, aggregate signal-attenuation models with the distance decision strategy and traditional trilateration ( A 1 + B 1 + C 1 ) or separate signal-attenuation models with the distance decision strategy and traditional trilateration ( A 2 + B 2 + C 1 ) or weighted trilateration ( A 2 + B 2 + C 2 ) are intensively utilized to analyze the distinct results.
In theory, a wrong distance estimated from any channel will destroy the fusion result in the online phase. The traditional method will adopt all channel information, despite of large error in certain channel. However, the proposed method in this study fully consider the situation of one or two channel’s failure in the distance decision. Additionally, three aggregate distances fused with 2-Channel or 3-Channel ( A 1 + B 2 ) is not good as our proposed fusion methods ( A 2 + B 2 ) due to that the value of separate channel has the lower variance than value of aggregated channel. Unfortunately, the unstable RSS of aggregate channel make 2-Channel and 3-Channel not working at most of time. All the reason is that the proposed fusion method has a more pure and more stable source data than the aggregated method.
Table 5 shows the different results of the different algorithms. A 1 + B 1 ’ cannot obtain a perfect result in our real indoor environment because the distance error can be 8.5 m at 98%. The result of A 2 + B 1 could be better, but the MAE is not stable. Furthermore, A 2 + B 2 can improve the resulting MAE greatly to 2.0 m at 90%. In view of the positioning error, A 1 + B 1 + C 1 can yield 12.8 m at 98%. For A 2 + B 2 + C 2 , we can obtain a better result, that is, 2.2 m at 90%, in contrast to the result of A 2 + B 2 + C 1 with a 90% error, that is, 3.6 m. To test our proposed methods using different smartphones in different scenarios, more experiments should be conducted.
Strictly speaking, the “ A 1 + B 1 ” is the aggregated (fusion) methods, and the “ A 2 + B 2 “ is the proposed methods (separate channel plus distance decision). For positioning, the “ A 1 + B 1 + C 1 ” is the most method with traditional trilateration, and the “ A 2 + B 2 + C 1 ” is completely proposed by our study with weighted trilateration.
Here, three experiments are set up: (1) Google Pixel 3 L in scenario #1; (2) Huawei P20 in scenario #1; and (3) Google Pixel 3 L in scenario #2. Experiments (1) and (2) aim to evaluate the effect of different smartphones in the same scenario, while experiments (1) and (3) explore the effect of the same smartphone in different scenarios.
In experiment (1), the distance error of traditional methods is 8.5 m at 98%, and the result of test methods is 5.2 m at 98%, but they are not stable. Our proposed methods can improve the error to 2.0 m at 90%. In view of the positioning error, traditional methods yields 12.8 m at 98%, and proposed methods is 2.2 m at 90%, in contrast to the result of test methods with a 90% error, namely, 3.6 m; see Figure 11a,b. Errors will change for different smartphones.
In experiment (2), the Huawei P20 is used in scenario #1, and the curve of the CDF is more dispersed than the one in Figure 11a. The distance error of traditional methods is 5.7 m at 50%, and the result of test methods is 3.8 m at 50%. The distance error of traditional methods is 9.1 m at 98%, and the result of test methods is 5.8 m at 98%, both of which are higher values than those in experiment (1) because different smartphones have different responses owing to different chips, electric circuits and materials being used. The result shows that the Google Pixel 3 L has a better response than that of the Huawei P20 in scenario #1. Luckily, our proposed methods can obtain an error of 2.2 m at 90%, which is close to the performance of the Google Pixel 3 L. The result of proposed methods implies that the distance decision strategy can output a good result even when worse results appear for different smartphones. In view of the positioning error, traditional methods result in a value of 14.0 m at 98%, and proposed methods result in a value of 2.4 m at 90%, in contrast to the result of test methods with a 90% error, namely, 4.5 m. The positioning error results add credibility to the idea that our proposed methods can recover from a bad response with smartphones in terms of the distance and positioning errors; see Figure 11c,d. Experiments (1) and (2) show the reliability in the heterogeneity of smartphones.
In experiment (3), the Google Pixel 3 L is used in scenario #2. Fewer WiFi APs or devices embedded with Bluetooth but more space are used in scenario #2, which depicts an office room. The distance error of traditional methods is 8.5 m at 98%, and the result of test methods is 5.1 m at 98%, both of which are smaller than those in experiment (1) because the influence of some devices running in 802.11 [21] is smaller. The result shows that scenario #2 is purer than scenario #1. Of course, the performance of proposed methods can be improved because the distance error is calculated in relation to one station, whose distance error is 2.1 m at 98%. Different scenarios yield different results. In view of the positioning error, traditional methods yields a value of 13.9 m at 98%. Test methods yield a value of 3.9 m at 90%, and proposed methods, a value of 2.4 m at 90%. The positioning error is slightly larger than that in scenario #1. In the experimental setup, the distance error is larger when the smartphone is far from the station, which affects the positioning error. Additionally, our proposed methods can recover in different scenarios (see Figure 11c,d). It is apparent that a more precise result can be obtained when more location stations are deployed, but this will lead to higher cost and complexity. Experiments (1) and (3) show the reliability in the heterogeneity of environment.
In summary, Figure 11 demonstrates the CDF (cumulative distribution function) of different algorithms for different smartphones in different scenarios. The proposed methods (separate channel plus distance decision) is better than the aggregated (fusion) methods in estimating distance. Even different smartphones have different responses: The proposed methods can output a distance with less error. Similarly, the proposed methods with weighted trilateration can output a stable and precise position in different scenarios, making it better than the most methods with traditional trilateration. The advantage of our proposed methods is demonstrated above in the stability of data source, the robustness against complex indoor environment, the effective continuity of outputting results, the powerful recovery from inactive state, the reliability in the heterogeneity of smartphones environments.

5. Conclusions and Future Work

This paper proposed an adaptable and robust algorithm based on separate channels, separate signal-attenuation models, the distance decision strategy and weighted trilateration using BLE beacons with off-the-shelf smartphones. The experimental results show that the proposed methods (separate channel plus distance decision) for obtaining the distance accuracy yields values less than 2.2 m at 90%; moreover, the result of the aggregated (fusion) methods was 7.1 m for different smartphones. In addition, the proposed methods with weighted trilateration for achieved the positioning accuracy of less than 2.4 m at 90% from 3.6 m away with the most methods with traditional trilateration. The positioning error was reduced by 33% to 38% for different building environments. Based on the test results, we conclude that the method is robust and precise for indoor positioning with BLE beacons and smartphones.
In the future, much of this work could be improved. The system should be improved to a decimeter positioning system that can handle greater demands and more stations, resulting in more accuracy. First, the positioning errors of different deployments of stations should be investigated. Second, complicated interference, such as interruption at the same radio frequency, should be explored and at least minimized. The measurement of interference can provide a reference for reducing any negative influence on indoor positioning. Last, the new standard of Bluetooth 5.1 can supply a method for measuring the AOA and AOD with off-the-shelf products rather than simply simulating data [19]. Combining the information from separate channels with AOA and AOD should be considered. Above all, a more precise, robust, cheap, easily deployed, popular and well-maintained system for indoor positioning should be put forward.

Author Contributions

B.H.: Writing−original draft, formal analysis, investigation, validation, software; J.L.: Methodology, funding acquisition; W.S.: Data curation; F.Y.: Writing−review & editing, visualization.

Funding

This study was supported in part by the National Natural Science Foundation of China (Grant No. 41804016), the China Postdoctoral Science Foundation (Grant No. 2017M622517), the National Research Development Program of China under Project No. 2016YFB0502204, the Technology Innovation Program of Hubei Province under Project No. 2018AAA070, the Natural Science Fund of Hubei Province under Project No. 2018CFA007 and the Key Laboratory of Precise Engineering and Industry Surveying, National Administration of Surveying, Mapping and Geoinformation under Grant No. PF2017−11.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Li, D.; Shen, X.; Li, D.; Li, S. On civil-military integrated space-based real-time information service system. Geomat. Inf. Sci. Wuhan Univ. 2017, 42, 1501–1505. [Google Scholar]
  2. Gu, Y.; Anthony, L.; Ignas, N. A survey of indoor positioning systems for wireless personal networks. IEEE Commun. Surv. Tut. 2009, 11, 13–32. [Google Scholar] [CrossRef] [Green Version]
  3. Dardari, D.; Pau, C.; Petar, M.D. Indoor tracking: Theory, methods, and technologies. IEEE Trans. Veh. Technol. 2015, 64, 1263–1278. [Google Scholar] [CrossRef]
  4. Liu, H.; Darabi, H.; Banerjee, P.; Liu, J. Survey of wireless indoor positioning techniques and systems. IEEE Trans. Syst. Man Cybern. Part C 2007, 37, 1067–1080. [Google Scholar] [CrossRef]
  5. Shieh, W.Y.; Hsu, C.J.; Wang, T.H. Vehicle positioning and trajectory tracking by infrared signal-direction discrimination for short-range vehicle-to-infrastructure communication systems. IEEE Trans. Intell. Transp. Syst. 2017, 19, 368–379. [Google Scholar] [CrossRef]
  6. Ma, F.; Liu, F.; Zhang, X.; Wang, P.; Bai, H.; Guo, H. An ultrasonic positioning algorithm based on maximum correntropy criterion extended Kalman filter weighted centroid. Signal Image Video Process. 2018, 12, 1207–1215. [Google Scholar] [CrossRef]
  7. Lee, N.; Ahn, S.; Han, D. AMID: Accurate magnetic indoor localization using deep learning. Sensors 2018, 18, 1598. [Google Scholar] [CrossRef]
  8. Liu, J.; Chen, R.; Pei, L.; Guinness, R.; Kuusniemi, H. A hybrid smartphone indoor positioning solution for mobile LBS. Sensors 2012, 12, 17208–17233. [Google Scholar] [CrossRef] [PubMed]
  9. Liu, J.; Chen, R.; Chen, Y.; Pei, L.; Chen, L. iParking: An intelligent indoor location-based smartphone parking service. Sensors 2012, 12, 14612–14629. [Google Scholar] [CrossRef]
  10. Wu, T.; Liu, J.; Li, Z.; Liu, K.; Xu, B. Accurate smartphone indoor visual positioning based on a high-precision 3D photorealistic map. Sensors 2018, 18, 1974. [Google Scholar] [CrossRef]
  11. Mandal, A.; Lopes, C.V.; Givargis, T.; Haghighat, A.; Jurdak, R.; Baldi, P. Beep: 3D indoor positioning using audible sound. In Proceedings of the 5th Consumer Communications and Networking Conference, Las Vegas, NV, USA, 3–6 January 2005. [Google Scholar]
  12. Rishabh, I.; Kimber, D.; Adcock, J. Indoor localization using controlled ambient sounds. In Proceedings of the 3rd International Conference on Indoor Positioning and Indoor Navigation (IPIN), Sydney, Australia, 13–15 November 2012. [Google Scholar]
  13. Li, Z.; Liu, J.; Yang, F.; Niu, X.; Li, L.; Wang, Z.; Chen, R. A bayesian density model based radio signal fingerprinting positioning method for enhanced usability. Sensors 2018, 18, 4063. [Google Scholar] [CrossRef] [PubMed]
  14. Faragher, R.; Robert, H. Location fingerprinting with Buetooth low energy beacons. IEEE J. Sel. Area. Commun. 2015, 33, 2418–2428. [Google Scholar] [CrossRef]
  15. Li, W.; Wei, D.; Lai, Q.; Li, X.; Yuan, H. Geomagnetism-aided indoor Wi-Fi radio-map construction via smartphone crowdsourcing. Sensors 2018, 18, 1462. [Google Scholar] [CrossRef] [PubMed]
  16. Yang, Z.; Zhou, Z.; Liu, Y. From RSSI to CSI: Indoor localization via channel response. Acm Comput. Surv. 2013, 46, 25. [Google Scholar] [CrossRef]
  17. Yang, F.; Xiong, J.; Liu, J.; Wang, C.; Li, Z.; Tong, P.; Chen, R. A pairwise SSD fingerprinting method of smartphone indoor localization for enhanced usability. Remote Sens. 2019, 11, 566. [Google Scholar] [CrossRef]
  18. Wu, Z.; Jiang, L.; Jiang, Z.; Chen, B.; Liu, K.; Xuan, Q.; Xiang, Y. Accurate indoor localization based on CSI and visibility graph. Sensors 2018, 18, 2549. [Google Scholar] [CrossRef] [PubMed]
  19. Liu, J.B.; Huang, B.C.; Zhang, B.; Li, L.L.; Yang, F.; Zhang, Z.B.; Li, Z.; Tong, P.F. AOA estimation based on channel state information extracted from WiFi with double antenna. Geomat. Inf. Sci. Wuhan Univ. 2018, 43, 2167–2172. [Google Scholar]
  20. Faragher, R.; Robert, H. An analysis of the accuracy of Bluetooth low energy for indoor positioning applications. In Proceedings of the 27th International Technical Meeting of the Satellite Division of The Institute of Navigation (ION GNSS + 2014), Tampa, FL, USA, 8–12 September 2014. [Google Scholar]
  21. Powar, J.; Gao, C.; Harle, R. Assessing the impact of multi-channel BLE beacons on fingerprint-based positioning. In Proceedings of the 8th International Conference on Indoor Positioning and Indoor Navigation (IPIN), Sapporo, Japan, 18–21 September 2017. [Google Scholar]
  22. Tomic, S.; Beko, M.; Dinis, R.; Bernardo, L. On target localization using combined RSS and AoA measurements. Sensors 2018, 18, 1266. [Google Scholar] [CrossRef]
  23. Li, G.; Geng, E.; Ye, Z.; Xu, Y.; Lin, J.; Pang, Y. Indoor positioning algorithm based on the improved RSSI distance model. Sensors 2018, 18, 2820. [Google Scholar] [CrossRef]
  24. Hashemi, H. The indoor radio propagation channel. Proc. IEEE 1993, 81, 943–968. [Google Scholar] [CrossRef]
  25. Nikoukar, A.; Abboud, M.; Samadi, B.; Güneş, M.; Dezfouli, B. Empirical analysis and modeling of Bluetooth low-energy (BLE) advertisement channels. In Proceedings of the 17th Annual Mediterranean Ad Hoc Networking Workshop (Med-Hoc-Net), Capri, Italy, 20–22 June 2018. [Google Scholar]
  26. Kim, D.Y.; Kim, S.H.; Choi, D.; Jin, S.H. Accurate indoor proximity zone detection based on time window and frequency with Bluetooth low energy. Procedia Comput. Sci. 2015, 56, 88–95. [Google Scholar] [CrossRef]
  27. Ozer, A.; John, E. Improving the accuracy of Bluetooth low energy indoor positioning system using kalman filtering. In Proceedings of the 3rd International Conference on Computational Science and Computational Intelligence (CSCI), Las Vegas, NV, USA, 15–17 December 2016. [Google Scholar]
  28. Ishida, S.; Takashima, Y.; Tagashira, S.; Fukuda, A. Proposal of separate channel fingerprinting using Bluetooth low energy. In Proceedings of the 5th IIAI International Congress on Advanced Applied Informatics (IIAI-AAI), Kumamoto, Japan, 10–14 July 2016. [Google Scholar]
  29. Giovanelli, D.; Farella, E.; Fontanelli, D.; Macii, D. Bluetooth-based indoor positioning through ToF and RSSI data fusion. In Proceedings of the 9th International Conference on Indoor Positioning and Indoor Navigation (IPIN), Nantes, France, 24–27 September 2018. [Google Scholar]
  30. Viswanathan, S.; Srinivasan, S. Improved path loss prediction model for short range indoor positioning using Bluetooth low energy. Proceedings of 14th IEEE Sensors Conference, Busan, Korea, 1–4 November 2015. [Google Scholar]
  31. Yu, N.; Zhan, X.; Zhao, S.; Wu, Y.; Feng, R. A precise dead reckoning algorithm based on Bluetooth and multiple sensors. IEEE Internet Things J. 2017, 5, 336–351. [Google Scholar] [CrossRef]
  32. Cantón, P.V.; Calveras, A.A.; Paradells, A.J.; Pérez, B.M. A Bluetooth low energy indoor positioning system with channel diversity, weighted trilateration and kalman filtering. Sensors 2017, 17, 2927. [Google Scholar] [CrossRef] [PubMed]
  33. Zhuang, Y.; Yang, J. Smartphone-based indoor localization with Bluetooth low energy beacons. Sensors 2016, 16, 596. [Google Scholar] [CrossRef] [PubMed]
  34. Perreault, S.; Hébert, P. Median filtering in constant time. IEEE Trans. Image Process. 2007, 16, 2389–2394. [Google Scholar] [CrossRef] [PubMed]
  35. Jo, H.J.; Kim, S. Indoor smartphone localization based on LOS and NLOS identification. Sensors 2018, 18, 3987. [Google Scholar] [CrossRef] [PubMed]
  36. Jian, Y.Z.; Hai, Y.L.; Zi, L.C.; Zhao, H.L. RSSI based Bluetooth low energy indoor positioning. Proceedings of 5th International Conference on Indoor Positioning & Indoor Navigation, Busan, Korea, 27–30 October 2014. [Google Scholar]
Figure 1. (a) The three advertising channels of BLE and the three most common WiFi sub-bands. Channels 37, 38 and 39 are the advertising channels of BLE. The workflow of (b) aggregated RSS and (c) Separate RSS (i.e., Channel 37).
Figure 1. (a) The three advertising channels of BLE and the three most common WiFi sub-bands. Channels 37, 38 and 39 are the advertising channels of BLE. The workflow of (b) aggregated RSS and (c) Separate RSS (i.e., Channel 37).
Sensors 19 03487 g001
Figure 2. Comparisons between separate RSS values and the aggregate RSS when using the (a) Google Pixel 3 L and (b) Huawei P20 (for a distance of 2 meters). The variance of the separate RSS values and the aggregate RSS with increasing distance using the (c) Google Pixel 3 L and (d) Huawei P20.
Figure 2. Comparisons between separate RSS values and the aggregate RSS when using the (a) Google Pixel 3 L and (b) Huawei P20 (for a distance of 2 meters). The variance of the separate RSS values and the aggregate RSS with increasing distance using the (c) Google Pixel 3 L and (d) Huawei P20.
Sensors 19 03487 g002
Figure 3. Overview of the proposed algorithm for outputting the final distance.
Figure 3. Overview of the proposed algorithm for outputting the final distance.
Sensors 19 03487 g003
Figure 4. The signal-attenuation models for the Google Pixel 3 L: the fitting model for (a) CH all: R 2 = 0.5570; (b) CH 37:   R 2 = 0.7733; (c) CH 38:   R 2 = 0.7494; and (d) CH 39:   R 2 = 0.7313.
Figure 4. The signal-attenuation models for the Google Pixel 3 L: the fitting model for (a) CH all: R 2 = 0.5570; (b) CH 37:   R 2 = 0.7733; (c) CH 38:   R 2 = 0.7494; and (d) CH 39:   R 2 = 0.7313.
Sensors 19 03487 g004
Figure 5. The scatter plot of (a) raw data; (b) processed data. Here, W L 1   is 5 in Equation (3).
Figure 5. The scatter plot of (a) raw data; (b) processed data. Here, W L 1   is 5 in Equation (3).
Sensors 19 03487 g005
Figure 6. Test setup: the red point is the station; the gray bars denote desks and cupboards; and the different positions of people represent different cases.
Figure 6. Test setup: the red point is the station; the gray bars denote desks and cupboards; and the different positions of people represent different cases.
Sensors 19 03487 g006
Figure 7. Four intersecting circles with evaluated errors.
Figure 7. Four intersecting circles with evaluated errors.
Sensors 19 03487 g007
Figure 8. The test setup: (a) a classroom (scenario #1); (b) an office room (scenario #2). The red point is the location station; the gray bars denote desks and cupboards.
Figure 8. The test setup: (a) a classroom (scenario #1); (b) an office room (scenario #2). The red point is the location station; the gray bars denote desks and cupboards.
Sensors 19 03487 g008
Figure 9. Distance inferred from the information for each channel when using the (a) Google Pixel 3 L and (b) Huawei P20. Distance value output with the distance decision strategy when using the (c) Google Pixel 3 L and (d) Huawei P20.
Figure 9. Distance inferred from the information for each channel when using the (a) Google Pixel 3 L and (b) Huawei P20. Distance value output with the distance decision strategy when using the (c) Google Pixel 3 L and (d) Huawei P20.
Sensors 19 03487 g009
Figure 10. Heatmap of positioning mean absolute error (MAE).
Figure 10. Heatmap of positioning mean absolute error (MAE).
Sensors 19 03487 g010
Figure 11. CDF values of the distance error and positioning error when using the (a,b) Google Pixel 3 L in scenario #1; (c,d) Huawei P20 in scenario #1; and (e,f) Google Pixel 3 L in scenario #2.
Figure 11. CDF values of the distance error and positioning error when using the (a,b) Google Pixel 3 L in scenario #1; (c,d) Huawei P20 in scenario #1; and (e,f) Google Pixel 3 L in scenario #2.
Sensors 19 03487 g011
Table 1. Distance errors in CH 37, CH 38 and CH 39.
Table 1. Distance errors in CH 37, CH 38 and CH 39.
Channel ID30% of Time in Error (m)60% of Time in Error (m)90% of Time in Error (m)
CH 372.03.55.2
CH 381.62.64.6
CH 391.11.94.0
Table 2. Results of the test for different cases.
Table 2. Results of the test for different cases.
CaseABC
Number of Tests101010
Number of Empty Outputs1610
Table 3. The mean distance error with increasing distance for different phones.
Table 3. The mean distance error with increasing distance for different phones.
Dist. (m)0.21.42.63.85.06.27.48.69.8
Error (m)
Google Pixel 3 L0.10.20.81.11.21.51.21.92.0
Huawei P200.10.40.11.41.31.51.31.82.3
Table 4. Symbols denoting different algorithms.
Table 4. Symbols denoting different algorithms.
AlgorithmSymbol
Aggregate Channel A 1
Separate Channel A 2
Normal Distance Decision B 1
Proposed Distance Decision B 2
Traditional Trilateration C 1
Weighted Trilateration C 2
Table 5. Comparison of the precision of the mean absolute error (m).
Table 5. Comparison of the precision of the mean absolute error (m).
Mean Absolute ErrorAlgorithm90%98%
Distance Error A 1 + B 1 (Tradition)7.18.5
A 2 + B 1 (Test)4.65.2
A 2 + B 2 (Proposed) 2.02.2
Positioning Error A 1 + B 1 + C 1 (Tradition)8.812.8
A 2 + B 2 + C 1 (Test)3.64.3
A 2 + B 2 + C 2 (Proposed)2.22.5

Share and Cite

MDPI and ACS Style

Huang, B.; Liu, J.; Sun, W.; Yang, F. A Robust Indoor Positioning Method based on Bluetooth Low Energy with Separate Channel Information. Sensors 2019, 19, 3487. https://0-doi-org.brum.beds.ac.uk/10.3390/s19163487

AMA Style

Huang B, Liu J, Sun W, Yang F. A Robust Indoor Positioning Method based on Bluetooth Low Energy with Separate Channel Information. Sensors. 2019; 19(16):3487. https://0-doi-org.brum.beds.ac.uk/10.3390/s19163487

Chicago/Turabian Style

Huang, Baichuan, Jingbin Liu, Wei Sun, and Fan Yang. 2019. "A Robust Indoor Positioning Method based on Bluetooth Low Energy with Separate Channel Information" Sensors 19, no. 16: 3487. https://0-doi-org.brum.beds.ac.uk/10.3390/s19163487

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