Next Article in Journal
Swelling-Based Distributed Chemical Sensing with Standard Acrylate Coated Optical Fibers
Previous Article in Journal
Quantitative Study on the Impact of Energy Consumption Based Dynamic Selfishness in MANETs
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

An Enhanced Indoor Positioning Technique Based on a Novel Received Signal Strength Indicator Distance Prediction and Correction Model

by
Mohammed Nagah Amr
1,
Hussein M. ELAttar
2,
Mohamed H. Abd El Azeem
2 and
Hesham El Badawy
3,*
1
Department of Electronics and Communications Engineering, Canadian International College (CIC), Cairo 12588, Egypt
2
Department of Electronics and Communications Engineering, Arab Academy for Science, Technology and Maritime Transport (AASTMT), Cairo 11799, Egypt
3
Network Planning Department, National Telecommunication Institute (NTI), Cairo 11432, Egypt
*
Author to whom correspondence should be addressed.
Sensors 2021, 21(3), 719; https://doi.org/10.3390/s21030719
Submission received: 21 December 2020 / Revised: 16 January 2021 / Accepted: 19 January 2021 / Published: 21 January 2021
(This article belongs to the Section Sensor Networks)

Abstract

:
Indoor positioning has become a very promising research topic due to the growing demand for accurate node location information for indoor environments. Nonetheless, current positioning algorithms typically present the issue of inaccurate positioning due to communication noise and interferences. In addition, most of the indoor positioning techniques require additional hardware equipment and complex algorithms to achieve high positioning accuracy. This leads to higher energy consumption and communication cost. Therefore, this paper proposes an enhanced indoor positioning technique based on a novel received signal strength indication (RSSI) distance prediction and correction model to improve the positioning accuracy of target nodes in indoor environments, with contributions including a new distance correction formula based on RSSI log-distance model, a correction factor (Beta) with a correction exponent (Sigma) for each distance between unknown node and beacon (anchor nodes) which are driven from the correction formula, and by utilizing the previous factors in the unknown node, enhanced centroid positioning algorithm is applied to calculate the final node positioning coordinates. Moreover, in this study, we used Bluetooth Low Energy (BLE) beacons to meet the principle of low energy consumption. The experimental results of the proposed enhanced centroid positioning algorithm have a significantly lower average localization error (ALE) than the currently existing algorithms. Also, the proposed technique achieves higher positioning stability than conventional methods. The proposed technique was experimentally tested for different received RSSI samples’ number to verify its feasibility in real-time. The proposed technique’s positioning accuracy is promoted by 80.97% and 67.51% at the office room and the corridor, respectively, compared with the conventional RSSI trilateration positioning technique. The proposed technique also improves localization stability by 1.64 and 2.3-fold at the office room and the corridor, respectively, compared to the traditional RSSI localization method. Finally, the proposed correction model is totally possible in real-time when the RSSI sample number is 50 or more.

1. Introduction

One of the essential elements of contextual information is the position of a user or device in a given space. The widespread use of sensors, smartphones and the mobile internet has allowed precise positioning in real-time, and this approach is being extended slowly to different situations [1]. A secure, user-friendly and precise navigation location information method for mobile applications could open the door to many innovative applications and create opportunities for new businesses. Therefore, it is considered a milestone in the realization of the Internet of Things (IoT). For example, location-based services, ambient assisted living (AAL), health applications, robotics, and cellular network- based indoor positioning are promising applications to achieve complete navigation systems [2].
This demand for indoor localization for universal mobile computing has led to impressive amount of research in the past few years. Some of the fundamental research involved specific sensors and emitters installed inside buildings to position people and objects (infrastructure-based indoor positioning). Though very accurate, this method is not scalable for business deployments and includes a specific overhead cost to install and maintain the extra infrastructure. A different popular method employs the existing infrastructure utilizing wireless access points to locate and triangulate using mobile devices. This approach is very accurate, but it normally needs a comprehensive surveying and training effort to establish a radio frequency (RF) map of the building. There are further enhancements to this method, which decrease the efforts or discharge them entirely but at the expense of accuracy. With mobile technology growing more powerful over the last few years, it is presently embedded with more sensors, promoting the prediction’s accuracy by merging them with certain earlier technologies without any support from the existing infrastructures (infrastructure-less indoor positioning).
Different technologies such as ultra-wideband [3], Bluetooth [4], wireless local area networks (WLANs) [5], radio frequency identification (RFID) [6], micro-electro-mechanical (MEMS) [7], magnetic field [8], ultrasonic [9], computer vision [10], infrared signal [11] and other techniques have been used for indoor localization. However, Bluetooth low-power sources are preferred in indoor positioning due to their advantages, including fast installation, low power consumption and low cost. Apple introduced the Bluetooth low-energy (BLE)-based iBeacon technology and this paved the way for BLE to be widely used in different indoor environments [12]. In this work, the proposed positioning method depends on BLE-based beacons as a stable signal source with low cost and energy consumption sources.
Measuring the distance between the unknown node and beacons is an essential part of the positioning process within indoor environments. Most of the existing node localization algorithms used nowadays can be divided into two categories depending on whether distance measurements are required or not. One of these categories is the range-free measurement localization algorithm and the other is the range-based measurement localization algorithm [13,14]. The distance measurement algorithm calculates the distance between the known beacon node and the unknown node connected to it, utilizing their communication link parameters. The main categories of distance measurement algorithms are the angle of arrival (AOA) based-algorithm [15,16], time of arrival (TOA) based-algorithm, time difference of arrival (TDOA) based-algorithm [17,18] and the received signal strength indication (RSSI) based-algorithm [19,20,21,22,23]. In the previously mentioned algorithms, the TOA, TDOA, and AOA need to correctly determine the distance between the unknown target node and the specified beacon node by using a high-complexity algorithm that requires high energy consumption and additional hardware. Each of these considerably increases the communication cost of the positioning system. Therefore, the proposed indoor positioning technique is based on RSSI distance measurement algorithm aiming at a cost-effective indoor positioning solution without neglecting the positioning accuracy.
One of the essential procedures to accomplish the positioning process is the positioning algorithm. As previously mentioned, the measurement distance algorithm estimates the actual distance between the unknown node and the beacon. The positioning algorithm is responsible for calculating the final coordinates of the unknown node by using the distance measurements between the beacon and the unknown node. The positioning algorithm can be constructed by using several methods. A centroid localization algorithm based on the distance or angle information between the unknown node and the beacon is presented in [24,25,26,27]. However, this algorithm produces a large positioning error as the node distribution issue is not fully considered in addition to the presence of severe fluctuation in distance measurements. Another algorithm based on the centroid algorithm called the weighted centroid algorithm is developed in [28,29,30,31]. In this algorithm, a weighting factor is introduced to compensate for the error in estimated distance from measurements. Nevertheless, the positioning error is still relatively high, especially in modern indoor architectures. In [32], a fingerprint-based positioning algorithm is proposed by collecting RSSI samples in the fingerprint database. In [33], the authors have executed and analyzed several positioning algorithms (centroid localization, proximity localization, weighted centroid localization, weight-compensated weighted centroid localization based on RSSI, fingerprinting, and trilateration localization). The authors also suggested and performed a fuzzy logic-based system to choose the most suitable algorithm depending upon the room’s area, the beacon’s number available, and the signal strength. They concluded that the fingerprinting positioning algorithm is the most fitting one. In [34], the authors implemented a fingerprinting algorithm with fuzzy logic type-2 suitable for employment as an indoor positioning method with BLE beacons with ALE of 0.43 m, but as fingerprint positioning technology methods need several additional algorithms to support them, thus the computational resource consumption and algorithmic program complexity are comparatively high. Also, this methodology needs a large amount of a priori information support which adds a high-cost issue. Besides, the RF signal may suffer from multipath effects and electromagnetic interference in complex indoor environments.
To address the low positioning accuracy problem, many researchers have introduced the hybrid positioning solutions. A hybrid positioning technique using hybrid metrics including time-of-flight (ToF) and angle-of-arrival (AoA) which are combined with the RSS fingerprinting system is presented in [35]. Another hybrid positioning method based on Bluetooth beacons, geomagnetic field, inertial measurement unit (IMU) sensors, and smartphone cameras is presented in [36]. These methods enhance the localization accuracy, but hybrid positioning techniques require additional hardware equipment which increases the communication cost. For low cost and high positioning accuracy, an iterative centroid positioning algorithm based on an RSSI distance model is presented in [37]. In this algorithm, a distance deviation coefficient was driven to correct the distance iteratively based on the noise impact factor which is considered a better theoretical approach to improving positioning accuracy. Nonetheless, the positioning results based on the assumption that the noise impact factor is the same among all beacons is an impractical assumption as the RSSI has time-varying characteristics.
Aiming at addressing the previously mentioned issues, this paper presents an improved indoor positioning technique based on a new RSSI distance prediction and correction model. The proposed technique’ correction factors are based on a novel method for collecting and obtaining the correction factors, which improves both the localization accuracy and stability. Moreover, the proposed technique does not require any additional hardware; hence it can be considered a cost-effective, low energy consumption solution for indoor localization. Our proposed method is experimentally tested and verified in an indoor office environment and a corridor using BLE beacons. In this paper, our contributions may be summarized in the following parts:
  • A new distance prediction and correction formula is introduced. The correction factors are based on RSSI log-distance distribution model. A large number of RSSI samples are collected and each RSSI sample is converted into its equivalent distance based on the logarithmic relationship between received signal strength and distance. The correction factors are driven from the RSSI-distances samples rather than the RSSI samples themselves. We proved that this approach has more measurement stability, which leads to higher positioning stability results with improved accuracy.
  • A correction factor and a correction exponent for different distances are driven from the correction formula at each beacon. First, the correction factor for a certain distance is determined by calculating the mean and the median of RSSI samples equivalent distances. Then, the correction exponent is driven for each distance from the correction formula. Each beacon has its correction factors for certain distances according to the indoor environment area.
  • At the unknown terminal, the calculated correction factors for each beacon are stored in a lookup table. By utilizing those factors on the unknown node, an enhanced centroid positioning algorithm is applied by correcting the estimated distance from the real-time RSSI samples and finally calculate the real coordinates of the unknown node. The algorithm does not consume much time to find the position of the unknown terminal. Thus, complexity is relatively lower. The experimental results of our method show improvement in both positioning accuracy and stability compared to other existed algorithms.
The remainder of this paper is organized as follows: Section 2 describes our positioning technique. In Section 3, we illustrate the implementation of our experiment and the software and hardware devices used in experiments. In Section 4, we present our positioning results compared to other algorithms and conventional methods. Finally, Section 5 presents the conclusions of the paper and suggestions for future work.

2. Methods

This section presents the RSSI log-distance model and the positioning methods used in this work. Section 4 discusses the positioning results of the proposed technique.

2.1. RSSI Distance Model

The main concept of RSSI ranging method is to measure the distance between the receiving signal node and the transmitting signal node by measuring the received signal strength as the propagation loss affects the transmitted wireless signal. The Bluetooth signal propagation model follows the log-distance distribution model [38,39,40], which described by:
P L ( d ) = P L ( d 0 ) + 10 n   l o g ( d d 0 ) + X δ
where P L ( d ) is the RSSI at the receiving node separated from the transmitting source by distance d ; P L ( d 0 ) is the RSSI at the receiving node separated from the source by a reference distance d 0 ; n is the path-loss propagation exponent which takes different values depending on the surrounding wireless transmission environment; X δ is a Gaussian random variable with zero mean and σ 2 variance. It worth mentioning that the measurement error in RSSI does not regularly produce a Gaussian distribution. However, by using approximation (curve fitting), the RSSI measurement error is treated as a gaussian random variable for simplicity. consequently, the reference distance is usually taken as one meter, and the equation is simplified as follows:
R S S I = A 10 n l o g ( d )
where R S S I is the signal strength at a distance d from the transmitting source, and A refers to signal strength at 1 m distance from the signal source. The distance can be expressed from Equation (2) as follows:
d = 10 A R S S I 10 n

2.2. RSSI Distance Prediction and Correction Model

The emitted RSS from the BLE beacons is affected by several factors such as multipath effects (reflection, refraction) and absorption from water bodies. Moreover, channel hopping influencing the RSS values since the advertisement packages are sent in three different channels. Therefore, it is challenging to calculate the actual distance using the RSSI log-distance distribution model because severe RSSI fluctuation may occur especially in complex indoor environments. To minimize the localization error introduced by RSSI fluctuation, a new RSSI distance prediction and correction model is proposed in this paper. To predict the real distance, 5000 RSSI samples are collected (95% confidence interval) at 1 m, 2 m, 3 m, 4 m, 5 m and 6 m distances from each Bluetooth beacon. A series of signal strength values can be given as follows:
R S S I = { r s s i i }   ( i = 1 , 2 , 3 , , 5000 ) ,
Each RSSI sample is converted to its equivalent distance using RSSI log-distance relationship in Equation (3). A series of distance values can be given as follows:
D = { d i }   ( i = 1 , 2 , 3 , , 5000 ) ,
RSSI fluctuation is an indispensable concern for wireless signals. Therefore reducing the variance range for measurements is vital for improving the stability and accuracy of the positioning. To achieve this, we calculated the standard deviation of the 5000 collected RSSI samples and their 5000 equivalent distances, as shown in Table 1.
As presented in Table 1, the standard deviation of distance samples is smaller than that of RSSI samples. Hence, the correction model is based on the equivalent distances rather than RSSI samples itself as it is considered a more stable measurement value. It is necessary to define a characteristic quantity to represent the overall node distance measurement. The two statistical parameters, the mean value and the median of distance measurements, can be closely used to denote the overall distance measurement. The mean and the median values of the distances are calculated as shown in Equations (6) and (7):
D m e a n = 1 n i = 1 n d i ( n = 5000 ) ,
D m e d i a n = 1 2 ( D s ( n + 1 ) / 2 + D s ( n + 1 ) / 2 ) ( n = 5000 ) ,
where D s is an ordered list of the i distance values in Equation (5), and . and . are the floor and ceiling functions, respectively. After calculating the previous values, the training stage of data is finished. Now we introduce the prediction formula as follows:
D p r e d i c t e d = { D m e a n · β σ , | D m e a n D m e d i a n   D m e d i a n · β σ , | D m e a n > D m e d i a n
where D p r e d i c t e d is the predicted distance based on 5000 RSSI samples; β is the correction factor which should have a specific value for 1, 2, 3, 4, 5 and 6 m distances, and its value is defined in Equation (9); σ is the correction exponent of the correction factor which also should have a specific value for the chosen distances. The 5000 RSSI samples are collected for each beacon independently at 1, 2, 3, 4, 5 and 6 m distances, which means 30,000 RSSI samples are collected from each beacon. The experiments are carried out on two experimental sites, and each site has four beacons, which result in a total of 240,000 collected RSSI samples. Based on extensive experimental measurements of 240,000 RSSI samples, the values of D m e a n and   D m e d i a n are found to be always larger than the real distance value. However, D m e a n and D m e d i a n inequality is not certain for all the distances. Figure 1 shows the distribution of RSSI distance samples fitted to the normal density function at 1 m ( D m e a n > D m e d i a n ) and 2 m ( D m e a n < D m e d i a n ) distances.
Therefore, the smaller value between D m e a n and D m e d i a n is taken as a primary distance to be corrected as mentioned in Equation (8):
β = {   D m e a n D m e d i a n , D m e a n D m e d i a n D m e d i a n D m e a n , D m e a n > D m e d i a n
As indicated in Equation (9), the value of the correction factor β is chosen based on the values of D m e a n and D m e d i a n to be less than unity to fit the fact that the measured RSSI distance is always larger than the real distance. The distance correction factor β is considered as a deviation factor between D m e a n and D m e d i a n , which can be used to correct one of them iteratively as in [37]. However, the iterations criteria require additional RSSI real-time processing and more complexity. Therefore, the correction exponent σ is introduced in Equation (8) to compensate for the number of iterations required to correct D m e a n and D m e d i a n . Accordingly, the correction computations are done once for each distance. In order to derive the appropriate value of the correction exponent, D p r e d i c t e d is replaced with the real distance values which are 1, 2, 3, 4, 5 and 6 m, respectively, so Equation (8) can be written as:
D r e a l = { D m e a n · β σ , | D m e a n D m e d i a n   D m e d i a n · β σ , | D m e a n > D m e d i a n
β σ = { D r e a l D m e a n , | D m e a n D m e d i a n D r e a l D m e d i a n , | D m e a n > D m e d i a n
σ log β = { log ( D r e a l D m e a n ) , | D m e a n D m e d i a n log ( D r e a l D m e d i a n ) , | D m e a n > D m e d i a n
σ = { log ( D r e a l D m e a n ) / log β , | D m e a n D m e d i a n log ( D r e a l D m e d i a n )   / log β , | D m e a n > D m e d i a n
Equation (13) represents an expression of the correction exponent for different distances. In this work, we found the correction factor and correction exponent at 1, 2, 3, 4, 5 and 6 m distances for each beacon to fit the experimental areas’ size. The proposed relationship for the correction factor and correction exponent may be considered as an asymptotic correction formula based on our experiments and measurements that extended to 240,000 RSSI samples. We found that this approximation is some sort of reasonable fitness to the correction of the indoor localization problem. We justify these values based on the proposed relation, and we predict its accuracy in the proposed experimental areas. In addition, the proposed equations are trying to correlate between the expectation of the measured values versus the accumulation of the readings so that we can predict (approximately) the real distance. In other words, by using the proposed relationship, we may approach a good estimation of the concurrent real distance between the unknown node and the beacon in the indoor application and we can claim that this approximation is suited enough for indoor application and localization scenario. Figure 2 summarizes the process of our RSSI distance prediction and correction algorithm.
It is very important to mention that the process of collection of RSSI samples at certain distances per beacon was performed in the same experimental environment where we test our enhanced positioning centroid algorithm. In other words, the effects of electromagnetic interference in the indoor environment are considered when the correction factor and correction exponent are derived. Hence, the positioning process is performed more accurately.

2.3. The Triangle Centroid Positioning Algorithm

The main concept of the triangle centroid localization algorithm is described as follows: three beacons are placed where their coordinates represent the centers of three circles and the distance between each beacon and the unknown node is treated as a radius of each circle. The three circles are intersecting in six points where a triangle is formed from the inner intersection points. Then, the unknown node coordinates can be found by calculating the centroid of the triangle. Figure 3 shows a schematic diagram of the triangle centroid localization algorithm.
As depicted in Figure 3, C1, C2, and C3 are defined as the three beacons positions with coordinates of ( x c 1 , y c 1 ) ,   ( x c 2 , y c 2 ) and ( x c 3 , y c 3 ) as centers of circles and their corresponding radiuses are d1, d2, and d3, respectively. The points I 1 ( x 1 , y 1 ) ,   I 2 ( x 2 , y 2 ) and I 3 ( x 3 , y 3 ) are the three inner intersection points of the three circles which are considered as the vertexes of the triangle centroid localization algorithm.
The coordinates of the intersection point between the circles C2 and C3 can be obtained by solving Equation (14):
{   ( x x c 2 ) 2 + ( y y c 2 ) 2 =   d 2 2   ( x x c 3 ) 2 + ( y y c 3 ) 2 =   d 3 2  
By solving the two sets of coordinates in Equation (14), the coordinates of the inner intersection point I 1 ( x 1 , y 1 ) can be obtained. The remaining inner intersection points I 2 ( x 2 , y 2 ) and I 3 ( x 3 , y 3 ) is calculated similarly as the point I 1 ( x 1 , y 1 ) .
Finally, the coordinates of the unknown node U ( x u , y u ) can be calculated using Equation (15):
{ x u = 1 k i = 1 k x i   y u = 1 k i = 1 k y i   ( k = 3 ) ,

2.4. The Weighted Centroid Positioning Algorithm

As mentioned earlier in this paper, the centroid localization algorithm does not fully consider the node distribution issue, which leads to high positioning errors. By taking the geometric distribution of the beacon nodes into consideration, the weighted centroid localization algorithm is developed in [28,29,30,31]. A new weighting factor is introduced to reflect the impact of each beacon node on the centroid position. In this paper, we used the weighting factors as in [25] where the weighting factor of the inner intersection point equals the reciprocal of the radiuses of the intersecting circles at that point. Referring to Figure 3, the weighting factors can be expressed as follows:
{ w 1 = 1 d 2 + d 3 w 2 = 1 d 1 + d 3 w 3 = 1 d 1 + d 2   ,
where w 1 ,   w 2 and w 3 are the weighting factors of the three inner intersection points I 1 ( x 1 , y 1 ) ,   I 2 ( x 2 , y 2 ) and I 3 ( x 3 , y 3 ) , respectively. The final coordinates of the unknown node U ( x u , y u ) can be obtained using Equation (17):
{ x u = 1 k i = 1 k w i x i w i   y u = 1 k i = 1 k w i y i w i   ( k = 3 ) ,

2.5. The Iterative Centroid Positioning Algorithm

The iterative centroid localization algorithm is presented in [37] and it is based on RSSI log-distance distribution model. As we use the iterative centroid algorithm in the comparison between our enhanced centroid algorithm and the other localization algorithms, we will briefly summarize the main principle of it in the following steps:
  • After receiving RSSI samples from the beacons, The blind (unknown node) chooses the highest three RSSI values and calculate their distances from log-distance model using Equation (3), recall them d p 1 , 2 , 3 ; where d p 1 is the calculated distance between the unknown node and one of the closest beacons to it using the log-distance distribution model.
  • The distances between the three beacons and the unknown node are used in the triangle centroid positioning algorithm to calculate the initial coordinates of the unknown node. Then the calculated coordinates of the unknown node are used to find the distance between it and the three beacon nodes, recall them d c 1 , 2 , 3 ; where d c 1 is the calculated distance between the unknown node and one of the closest beacons to it using the triangle centroid positioning algorithm.
  • To measure the deviation between the RSSI log-distance model calculated distances and the triangle centroid localization algorithm calculated distances, a distance deviation coefficient is introduced using Equation (18);
    C d e v = d p 1 , 2 , 3 d c 1 , 2 , 3   ,
  • The distance deviation coefficients are sorted to find the median value of them, recall it C m d e v ; where C m d e v is the median distance deviation coefficient, which is used to correct the log-distance model calculated distances.
  • The corrected distances can be obtained by using Equation (19):
    d n 1 , 2 , 3 = d p 1 , 2 , 3 c m d e v   ,
  • The corrected distances are inserted into the triangle centroid localization algorithm iteratively starting from step 2 until a termination condition is satisfied. Since the iteration error no longer varies after 10 iterations, we set the number of iterations to be 10 in our comparative analysis.

2.6. The Proposed Enhanced Centroid Positioning Algorithm

In this subsection, we present our enhanced centroid positioning algorithm based on the proposed RSSI distance correction and prediction method. Depending on the correction factor, the correction exponent and the mean distance of the selected distances in each beacon node, the enhanced centroid positioning algorithm is capable of correcting the real-time RSSI based distances and using those corrected distances as an input to the centroid localization algorithm to calculate the final coordinates of the unknown node. Since each beacon node has a universally unique identifier (UUID), the enhanced centroid localization algorithm can identify the stored correction factors and the mean distances of each beacon uniquely.
The process of the enhanced centroid localization algorithm is described as follows: the unknown terminal collects RSSI samples from each beacon node. The RSSI samples are converted to equivalent distances using the RSSI log-distance distribution relationship expressed in Equation (3). The mean value of the equivalent distances is obtained from Equation (6) and the smallest three mean distance values are chosen to represent the nearest three beacons to the unknown node. As the source of the three mean distance values is identified by a unique UUID for each beacon, the correction factor and the correction exponent is found by approximating each mean distance value of the three values to the nearest D m e a n value in the corresponding correction table. The prediction and correction formula used in the unknown node is expressed in Equation (20):
D c o r r e c t e d = D m e a n · β σ
where D m e a n is the mean value of the equivalent distances from each beacon node; β σ is the correction factor with its correction exponent based on the approximation of the mean distance value to the nearest D m e a n value in the corresponding correction table for each beacon UUID; D c o r r e c t e d is the corrected distance between each beacon and the unknown node. Finally, the corrected three distances are treated as an input to the centroid positioning algorithm, where the final unknown node coordinates are obtained. Figure 4 depicts the proposed positioning technique.
By implementing the previous procedures, the positioning error caused by randomness in RSSI values can be dramatically minimized. Besides, the errors caused by complex indoor environment geometric distribution are minified since the correction factors are driven in the same indoor environment to be positioned. The process of the enhanced centroid positioning algorithm from the perspective of an unknown node is summarized in Figure 5.

3. Experiments

In this section, we will display our experiment implementation, including the used software, hardware devices, and the experimental site details.

3.1. Device and Software

Our experiment is constructed using five Android terminals, one of them is treated as the unknown node and the other four terminals are acting as BLE iBeacons. Using Beacon Simulator software [41], the Android terminal can be transformed into a virtual BLE beacon transmitter and advertiser. This software offers different beacon configurations to emulate a physical beacon. In this experiment, we used iBeacon platform in all Android terminals to broadcast and advertise iBeacon frames.
Figure 6 illustrates the application user interface and the iBeacon configuration used in the experiment. The RSSI is continuously measured for one minute at a distance of 1 m from each beacon, and the mean value of the measured RSSI is taken as the value of A in Equation (3). The path loss exponent value was approximated to 3 as a typical value in office indoor environments at 2.4 GHz operating frequency [42]. As can be seen from Figure 6, frequency mode is set to 10 Hz which means that the transmission interval is 0.1 s and hence facilitate our 5000 RSSI samples collection process for the selected distances on each beacon node.

3.2. Experimental Sites

We carried out our experiment in an 7   m   × 7   m office room with multiple desks and chairs, and a 6.5   m   × 1.5   m corridor with a printer and a single chair. The BLE beacons are placed at the four corners of the office room with coordinates B 1 ( 0 , 0 ) ,   B 2 ( 0 , 7 ) , B 3 ( 7 , 0 )   and   B 4 ( 7 , 7 ) as illustrated in Figure 7a, and with coordinates B 1 ( 0 , 0 ) ,   B 2 ( 6.5 , 0 ) , B 3 ( 0 , 1.5 )   and   B 4 ( 6.5 , 1.5 ) for the corridor as depicted in Figure 7b. At the data training stage, 5000 RSSI samples are collected and recorded at 1, 2, 3, 4, 5 and 6 m distances from each beacon node. The RSSI values collection takes place at the experimental sites themselves to consider the multipath and geometric distribution effects on the signal intensity when the correction factors per distance are driven.
The 1, 2, 3, 4 5 and 6 m distances are taken at a 45-degree angle from each corner beacon node. All beacon nodes are placed at the same height at 1.3 m above the ground. Moreover, some people walk randomly during the data training stage and the positioning stage to emulate a real case scenario.

4. Results and Discussion

This section presents our experimental results of the proposed positioning technique compared to other positioning algorithms from the localization accuracy and positioning stability point of view. Moreover, the proposed enhanced centroid algorithm performance is evaluated when a different number of RSSI samples are collected in real-time to ensure the proposed technique’s feasibility.

4.1. The Correction Factors of the Proposed RSSI Distance Prediction and Correction Model

We used a Bluetooth scanner application, namely Beacon Scanner [43], with no delay between each scan, and the logging frequency is adjusted to be every scan. Then a logging endpoint is recording the received RSSI values for the correction factors’ derivation. We collect the RSSI Values for each distance independently at each beacon, and the values are recorded and sent to a weblogger (logging endpoint). The process of receiving and collecting the RSSI Values takes around 12 min average time at each distance. It worth noting that at 10 Hz mode, two consecutive readings would have precisely the same RSSI values as they could come from the same sensor readings. This means the 5000 samples could come from a much lower quantity of sensor readings (Beacons). This duplication in RSSI values does not affect the proposed technique correction factors’ accuracy as the number of RSSI samples is relatively large. The outcomes of our proposed RSSI distance prediction and correction method at the two experimental sites are shown in Table 2 and Table 3.
As can be seen from Table 2 and Table 3, the mean distance, correction factor, and correction exponent are calculated and driven at 1, 2, 3, 4, 5 and 6 m distances using Equations (6), (7), (9) and (13), respectively. Each beacon is used to calculate its correction factors based on the previously mentioned technique. Those tables are saved on the unknown terminal as it is used later in the enhanced centroid positioning algorithm to correct the real-time RSSI equivalent distances.

4.2. Predicted Distances Accuracy

Our proposed RSSI distance prediction and correction model improves the accuracy of the RSSI estimated distances. To verify this, the unknown node is placed at predefined distances from each BLE beacon to test the correction formula and the correction factors. The unknown Android terminal uses the Android Beacon Library [44] to interact with beacons. This library uses RSSI average values to calculate the unknown distances. Therefore, the average RSSI filter is used as a conventional method to calculate the distance between the unknown node and other beacons before applying the positioning algorithm and hence used in our comparison.
Figure 8 shows the error in the measured distances using the RSSI averaging method and the predicted distances using the correction factor and the correction exponent based on Equation (20). We took 18 different distances from each beacon to test the proposed correction formula compared with the mean RSSI filter estimated distances. In addition, the root-mean-square error (RMSE) of the measured distances is calculated to compare the proposed prediction method and the conventional average method.
As shown in Figure 8, using the correction factors and correction exponents to correct the measured distance based on our RSSI distance prediction model decreases the error significantly. The RMSE values obtained from the RSSI average filter at the predefined distances are 2.559, 2.585, 2.528 and 2.444 m while the RMSE values obtained from the proposed correction method are 0.163, 0.175, 0.219 and 0.241 m at beacons B1, B2, B3, and B4, respectively. Hence our proposed technique can extremely decrease the errors resulting from RSSI values uncertainty and thus the positioning error can be reduced.

4.3. Localization Accuracy

Next, a quantitative analysis of the positioning errors of different positioning algorithms is constructed. We compared our enhanced centroid positioning algorithm based on the proposed RSSI distance prediction and correction model with other positioning algorithms, namely, the triangle centroid algorithm, the weighted triangle centroid algorithm, and the iterative centroid positioning algorithm which were previously discussed.
In the positioning stage, the unknown node (Android terminal) was placed in 30 different locations inside the office room and 15 different locations in the corridor to calculate its final positioning coordinates. Figure 9 shows the positioning errors in meters and the cumulative distribution function (CDF) of the positioning error as recommended by the ISO18305:2016 standard for real-time locating systems [45] for the 30 locations (office room) and the 15 locations (corridor) using different localization algorithms, including our enhanced centroid algorithm.
It is evident from the figure that almost all the errors obtained by using the enhanced centroid positioning algorithm based on the proposed RSSI distance correction model were less than the other positioning algorithms. It is important to mention that the other positioning algorithms use the measured distances between the unknown terminal and other beacon nodes based on averaging the received RSSI samples at the Android terminal.
In Figure 10, the average localization error (ALE) and the percentage of accuracy are shown with respect to total unknown locations ranging from 5 to 30 unknown location (office) and from 3 to 15 unknown location (corridor).
As shown on the left in Figure 10a,b, the average localization error values of the proposed enhanced centroid algorithm at both the office room and the corridor are considerably less than the centroid, weighted centroid, and iterative centroid algorithms. The average localization error is obtained at the office room for 5, 10, 15, 20, 25, and 30 unknown nodes and the corridor for 3, 6, 9, 12, and 15 unknown nodes. As also can be seen in Figure 10a,b on the right, the accuracy percentage of the proposed enhanced centroid algorithm at the office room ranges from 94.19% to 95.707%, while its range changes from 77.465% to 81.358%, 81.042% to 83.74%, and 87.859% to 89.14% for the centroid, weighted centroid and iterative centroid algorithms, respectively. The accuracy percentage of the proposed enhanced centroid algorithm at the corridor ranges from 94.57% to 95.776%, while its range changes from 82.7% to 87.15%, 85.95% to 92.44%, and 90.367% to 93.777% for the centroid, weighted centroid and iterative centroid algorithms, respectively.
Table 4 summarizes the localization accuracy of the four positioning algorithms at the two experimental sites. Hence the enhanced centroid algorithm based on the proposed RSSI distance prediction and correction model outperforms the other positioning algorithms in terms of localization accuracy.
The positioning error parameters of the proposed enhanced centroid algorithm and the other positioning algorithms, including the average localization error (ALE), maximum error, minimum error, and the RSME at both experimental sites, are presented in Figure 11.
As depicted in Figure 11a, the RMSE, maximum error, and minimum error values of the positioning results obtained by the enhanced centroid positioning algorithm based on the proposed RSSI distance prediction and correction model at the office room are lower than the other positioning algorithms. Moreover, the average localization errors of the four algorithms are 0.3, 0.76, 1.327 and 1.577 m, respectively, and the localization accuracy of the proposed enhanced centroid algorithm is improved by 80.97%, 77.39% and 60.526% compared with the centroid algorithm, the weighted centroid algorithm and the iterative centroid algorithm, respectively. As depicted in Figure 11b, the four algorithms’ average localization errors at the corridor are 0.278, 0.404, 0.491 and 0.855 m, respectively. The proposed enhanced centroid algorithm’s localization accuracy is improved by 67.51%, 43.42%, and 31.3% compared with the centroid algorithm, the weighted centroid algorithm, and the iterative centroid algorithm, respectively. Finally, Figure 12 presents a comparison between the actual test points position and the predicted position using the proposed enhanced centroid algorithm at the two experimental sites.
Thus, it can be clarified that the enhanced centroid localization algorithm based on the proposed RSSI distance prediction and correction method dramatically improves the positioning accuracy in indoor environments. Our proposed method can be used in small and medium indoor environments, especially at room level. However, the limitation of the proposed method enlarges in wide indoor environments since more beacon nodes are required to cover the localized area; accordingly, more pre-trained distances are needed to obtain correction factors at the expense of time factor.

4.4. Positioning Stability

Figure 13 presents the calculated positioning errors in sequence. The positioning error is calculated 10 times at random five test points in both the office and the corridor. Based on each test point’s accuracy fluctuations, the proposed positioning technique’s errors vary little, while the errors by the other positioning algorithms using average RSSI filter change significantly. Fortunately, the proposed technique also almost gains the best accuracy in every positioning trial’s overall improvement.
The overall positioning stability is measured using the sample standard deviation (SSD); the SSD can be obtained using the following formula:
S S D =   S T D ( E ) M E A N ( E )
where S T D ( _ ) is the standard deviation, M E A N ( _ ) is the average value; E is the positioning error for 10 times at each test-point.
Table 5 and Table 6 show that the proposed positioning technique achieves smaller sample variance and closer average positions for each test point than the other positioning algorithms deploying average filter.
The office room’s overall positioning stability is 1.64, 2.077, and 2.14-fold better for the proposed enhanced centroid than the centroid, weighted centroid, and iterative centroid, respectively. The corridor’s overall positioning stability is 2.3, 1.94, and 1.29-fold better for the proposed enhanced centroid than the centroid, weighted centroid, and iterative centroid, respectively. Thus, we can claim that our enhanced centroid algorithm based on the proposed RSSI distance correction model improves indoor environments’ overall positioning stability. The reason for that is due to the low deviation characteristics of proposed RSSI distance correction measurements as early discussed in Section 2.2 in Table 1.

4.5. The Effect of Different RSSI Samples’ Number on the Localization Accuracy

In this experiment, the proposed enhanced centroid algorithm was performed at 5 random test points in both experimental sites. The proposed enhanced centroid algorithm was performed at each point when a different number of RSSI samples is collected. The proposed algorithm was conducted 100 times for each number of collected RSSI samples, and the average error of the 100 trials was computed. Table 7 and Table 8 presents the proposed technique’s localization error at the office room and the corridor when a different number of RSSI samples is collected.
The proposed enhanced centroid algorithms’ overall average localization error at the five test points varies from 0.313 to 0.337 m and from 0.326 to 0.354 m at the office room and corridor, respectively, when the number of received RSSI samples varies from 100 to 50 RSSI sample. It can be inferred that the received RSSI samples’ number has no great impact on the localization accuracy of the proposed technique. However, if the RSSI samples’ number becomes lower than the 50 RSSI sample, 40 RSSI samples, such as or below, the proposed enhanced centroid algorithm sometimes becomes infeasible. That is it, the RSSI samples’ number is not enough to correctly calculate the proposed model correction factors, and the corrected estimated distance becomes smaller than the real distance. Therefore, it is recommended to collect at least 50 RSSI samples or more at the unknown node to ensure the feasibility of the proposed correction model.

5. Conclusions

Due to the rapid development of wireless communication technology, the position information of nodes has become a critical feature in different applications. Indoor localization techniques face common issues, including poor localization accuracy, expensive communication costs and high energy consumption. A new cost-effective and high accuracy and stability localization solution is presented in this paper to overcome these problems. The proposed RSSI distance prediction and correction model introduced new correction factors to accurately predict the real distance between the unknown terminal and the anchor (beacon) nodes. Importantly, our practical results provide evidence for the correctness of the estimated distances based on the proposed RSSI distance correction model.
Moreover, the experimental results of the enhanced centroid localization algorithm based on the proposed RSSI distance prediction and correction model shows a significant improvement in the positioning accuracy of the unknown nodes. The proposed enhanced centroid algorithm’s localization accuracy is improved by 80.97% and 67.51% in an office room and a corridor, respectively, compared with the traditional RSSI positioning algorithm. The proposed technique also promotes positioning stability by 1.64 and 2.3-fold at the office room and the corridor, respectively, compared to the conventional RSSI positioning method. The proposed correction model is entirely feasible in real-time when the RSSI sample number is 50 or more. However, if the received RSSI samples are less than 50, the proposed technique is partially feasible. Finally, the proposed technique is intended for small to medium indoor environments, especially at the room level. In the future, we can utilize the proposed method in trajectory planning and navigation of objects moving at high speed in larger indoor environments.

Author Contributions

Conceptualization, M.N.A. and H.E.B.; methodology, M.N.A. and H.M.E.; software, M.N.A.; validation, M.N.A. and H.E.B.; investigation, M.N.A.; resources, M.N.A.; writing—original draft preparation, M.N.A.; writing—review and editing, M.N.A., H.E.B., H.M.E. and M.H.A.E.A.; visualization, H.E.B.; supervision, H.E.B., H.M.E. and M.H.A.E.A.; project administration, H.M.E. All authors have read and agreed to the published version of the manuscript.

Funding

This research received no external funding.

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

Data sharing not applicable.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Wu, T.; Xia, H.; Liu, S.; Qiao, Y. Probability-based indoor positioning algorithm using ibeacons. Sensors 2019, 19, 5226. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  2. Paul, A.K.; Sato, T. Localization in wireless sensor networks: A survey on algorithms, measurement techniques, applications and challenges. J. Sens. Actuator Netw. 2017, 6, 24. [Google Scholar] [CrossRef] [Green Version]
  3. Ren, A.; Zhou, F.; Rahman, A.; Wang, X.; Zhao, N.; Yang, X. A study of indoor positioning based on UWB base-station configurations. In Proceedings of the 2017 IEEE 2nd Advanced Information Technology, Electronic and Automation Control Conference (IAEAC), Chongqing, China, 25–26 March 2017; pp. 1939–1943. [Google Scholar]
  4. Davidson, P.; Piché, R. A survey of selected indoor positioning methods for smartphones. IEEE Commun. Surv. Tutor. 2017, 19, 1347–1370. [Google Scholar] [CrossRef]
  5. Tian, Y.; Shigaki, D.; Wang, W.; Ahn, C.J. A weighted least-squares method using received signal strength measurements for WLAN indoor positioning system. In Proceedings of the 2017 20th International Symposium on Wireless Personal Multimedia Communications (WPMC), Bali, Indonesia, 17–20 December 2017; pp. 310–314. [Google Scholar]
  6. Saab, S.S.; Nakad, Z.S. A standalone RFID indoor positioning system using passive tags. IEEE Trans. Ind. Electron. 2011, 58, 1961–1970. [Google Scholar] [CrossRef]
  7. Wu, C.; Mu, Q.; Zhang, Z.; Jin, Y.; Wang, Z.; Shi, G. Indoor positioning system based on inertial MEMS sensors: Design and realization. In Proceedings of the 2016 IEEE International Conference on Cyber Technology in Automation, Control, and Intelligent Systems (CYBER), Chengdu, China, 19–22 June 2016; pp. 370–375. [Google Scholar]
  8. Pasku, V.; Angelis, A.D.; Dionigi, M.; Angelis, G.D.; Moschitta, A.; Carbone, P. A positioning system based on low-frequency magnetic fields. IEEE Trans. Ind. Electron. 2016, 63, 2457–2468. [Google Scholar] [CrossRef]
  9. Qi, J.; Liu, G.P. A robust high-accuracy ultrasound indoor positioning system based on a wireless sensor network. Sensors 2017, 17, 2554. [Google Scholar] [CrossRef] [Green Version]
  10. Kim, J.; Jun, H. Vision-based location positioning using augmented reality for indoor navigation. IEEE Trans. Consum. Electron. 2008, 54, 954–962. [Google Scholar] [CrossRef]
  11. Raharijaona, T.; Mawonou, R.; Nguyen, T.V.; Colonnier, F.; Boyron, M.; Diperi, J.; Viollet, S. Local positioning system using flickering infrared LEDs. Sensors 2017, 17, 2518. [Google Scholar] [CrossRef] [Green Version]
  12. Newman, N. Apple ibeacon technology briefing. J. Direct Data Digit. Mark. Pract. 2014, 15, 222–225. [Google Scholar] [CrossRef] [Green Version]
  13. Sahu, P.K.; Wu, E.H.-K.; Sahoo, J. DuRT: Dual RSSI trend based localization for wireless sensor networks. IEEE Sens. J. 2013, 13, 3115–3123. [Google Scholar] [CrossRef]
  14. Han, D.; Yu, Y.; Li, K.-C.; de Mello, R.F. Enhancing the sensor node localization algorithm based on improved DV-hop and DE algorithms in wireless sensor networks. Sensors 2020, 20, 343. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  15. Hou, Y.; Yang, X.; Abbasi, Q.H. Efficient AoA-based wireless indoor localization for hospital outpatients using mobile devices. Sensors 2018, 18, 3698. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  16. Zhang, Y.; Deng, Z.; Gao, Y. Angle of arrival passive location algorithm based on proximal policy optimization. Electronics 2019, 8, 1558. [Google Scholar] [CrossRef] [Green Version]
  17. Shin, D.-H.; Sung, T.-K. Comparisons of error characteristics between TOA and TDOA positioning. IEEE Trans. Aerosp. Electron. Syst. 2002, 38, 307–311. [Google Scholar]
  18. Gioia, C.; Sermi, F.; Tarchi, D. Multi-network asynchronous TDOA algorithm test in a simulated maritime scenario. Sensors 2020, 20, 1842. [Google Scholar] [CrossRef] [Green Version]
  19. Yaghoubi, F.; Abbasfar, A.A.; Maham, B. Energy-efficient RSSI-based localization for wireless sensor networks. IEEE Commun. Lett. 2014, 18, 973–976. [Google Scholar] [CrossRef]
  20. Li, J.Z.; Ren, P.; Shi, L.L.; Zhang, S.X. Optimisation of moving target’s low-power and high-precision monitoring with RSSI based on static and dynamic clustering. Int. J. Embed. Syst. 2015, 7, 334–344. [Google Scholar]
  21. Tomic, S.; Beko, M.; Dinis, R. RSS-based localization in wireless sensor networks using convex relaxation: Noncooperative and cooperative schemes. IEEE Trans. Veh. Technol. 2015, 64, 2037–2050. [Google Scholar] [CrossRef] [Green Version]
  22. Shi, Y.; Shi, W.; Liu, X.; Xiao, X. An RSSI classification and tracing algorithm to improve trilateration-based positioning. Sensors 2020, 20, 4244. [Google Scholar] [CrossRef]
  23. Bullmann, M.; Fetzer, T.; Ebner, F.; Ebner, M.; Deinzer, F.; Grzegorzek, M. Comparison of 2.4 GHz WiFi FTM- and RSSI-based indoor positioning methods in realistic scenarios. Sensors 2020, 20, 4515. [Google Scholar] [CrossRef]
  24. Zhang, D.; Yin, H. Study on centroid localization algorithm based on the cellular distribution of anchor nodes. In Proceedings of the 2013 Joint International Conference on Pervasive Computing and the Networked World (ICPCA/SWS), Vina del Mar, Chile, 5–7 December 2013; pp. 783–789. [Google Scholar]
  25. Zhang, C.W.; Zhao, X. The wireless sensor network (WSN) triangle centroid localization algorithm based on RSSI. MATEC Web Conf. 2016, 63, 05008. [Google Scholar] [CrossRef] [Green Version]
  26. Zhang, Z.; Chen, D. An improved RSSI-based centroid localization algorithm in wireless sensor networks. In Proceedings of the 2011 IEEE International Conference on Computer Science and Service System (CSSS), Nanjing, China, 27–29 June 2011; pp. 3008–3011. [Google Scholar]
  27. Bai, Y.; Li, C.M.; Xue, Y. A centroid localization algorithm for wireless sensor networks based on RSSI. Appl. Mech. Mater. 2013, 303–306, 197–200. [Google Scholar] [CrossRef]
  28. Xie, S.; Hu, Y.; Wang, Y. Weighted centroid localization for wireless sensor networks. In Proceedings of the 2014 IEEE International Conference on Consumer Electronics, Shenzhen, China, 9–13 April 2014; pp. 1–4. [Google Scholar]
  29. Liu, Q.; Xu, X.; Zhang, T. Positioning method of weighted centroid aided inertial measurement. Preprints 2018, 2018030124. [Google Scholar] [CrossRef] [Green Version]
  30. Wang, Z.-M.; Zheng, Y. The study of the weighted centroid localization algorithm based on RSSI. In Proceedings of the 2014 IEEE International Conference on Wireless Communication and Sensor Network, Wuhan, China, 13–14 December 2014; pp. 276–279. [Google Scholar]
  31. Sharma, N.; Chawla, G.; Khurana, M. Weighted centroid range free localization algorithm based on IOT. Int. J. Comput. Appl. 2013, 83, 27–30. [Google Scholar] [CrossRef]
  32. Lee, S.; Kim, J.; Moon, N. Random forest and WiFi fingerprint-based indoor location recognition system using smart watch. Hum. Centric Comput. Inform. Sci. 2019, 9, 6. [Google Scholar] [CrossRef]
  33. Orujov, F.; Maskeliūnas, R.; Damaševičius, R.; Wei, W.; Li, Y. Smartphone based intelligent indoor positioning using fuzzy logic. Future Gener. Comput. Syst. 2018, 89, 335–348. [Google Scholar] [CrossRef]
  34. AL-Madani, B.; Orujov, F.; Maskeliūnas, R.; Damaševičius, R.; Venčkauskas, A. Fuzzy logic type-2 based wireless indoor localization system for navigation of visually impaired people in buildings. Sensors 2019, 19, 2114. [Google Scholar] [CrossRef] [Green Version]
  35. Li, C.; Trogh, J.; Plets, D.; Tanghe, E.; Hoebeke, J.; Poorter, E.D.; Joseph, W. CRLB-based positioning performance of indoor hybrid AoA/RSS/ToF localization. In Proceedings of the 2019 IEEE International Conference on Indoor Positioning and Indoor Navigation (IPIN), Pisa, Italy, 30 September–3 October 2019; pp. 1–6. [Google Scholar]
  36. Gang, H.-S.; Pyun, J.-Y. A smartphone indoor positioning system using hybrid localization technology. Energies 2019, 12, 3702. [Google Scholar] [CrossRef] [Green Version]
  37. Chen, J.; Wang, S.; Ouyang, M.; Xuan, Y.; Li, K.-C. Iterative positioning algorithm for indoor node based on distance correction in WSNs. Sensors 2019, 19, 4871. [Google Scholar] [CrossRef] [Green Version]
  38. Yoshida, S. Propagation measurements and models for wireless communications channels. IEEE Commun. Mag. 1995, 33, 42–49. [Google Scholar]
  39. Canton Paterna, V.; Calveras Auge, A.; Paradells Aspas, J.; Perez Bullones, M.A. A bluetooth low energy indoor positioning system with channel diversity, weighted trilateration and kalman filtering. Sensors 2017, 17, 2927. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  40. Jung, S.; Lee, C.-O.; Han, D. Wi-Fi fingerprint-based approaches following log-distance path loss model for indoor positioning. In Proceedings of the 2011 IEEE MTT-S International Microwave Workshop Series on Intelligent Radio for Future Personal Terminals, Daejeon, Korea, 24–25 August 2011; pp. 1–2. [Google Scholar]
  41. Google Play. Available online: https://play.google.com/store/apps/details?id=net.alea.beaconsimulator (accessed on 27 August 2020).
  42. Liu, G.-Y.; Chang, T.-Y.; Chiang, Y.-C.; Lin, P.-C.; Mar, J. Path loss measurements of indoor LTE system for the internet of things. Appl. Sci. 2017, 7, 537. [Google Scholar] [CrossRef] [Green Version]
  43. Google Play. Available online: https://play.google.com/store/apps/details?id=com.bridou_n.beaconscanner (accessed on 15 January 2021).
  44. Android Beacon Library. Available online: https://altbeacon.github.io/android-beacon-library/ (accessed on 28 August 2020).
  45. ISO. Information Technology–Real Time Locating Systems–Test. and Evaluation of Localization and Tracking Systems (ISO/IEC 18305:2016); International Organization for Standardization: Geneva, Switzerland, 2016; pp. 1–76.
Figure 1. The distribution of RSSI distance samples fitted to the normal density function at: (a) 1 m where (Dmean > Dmedian); (b) 2 m where ( D m e a n < D m e d i a n ) .
Figure 1. The distribution of RSSI distance samples fitted to the normal density function at: (a) 1 m where (Dmean > Dmedian); (b) 2 m where ( D m e a n < D m e d i a n ) .
Sensors 21 00719 g001
Figure 2. A flow chart of the RSSI distance prediction and correction algorithm for a certain distance.
Figure 2. A flow chart of the RSSI distance prediction and correction algorithm for a certain distance.
Sensors 21 00719 g002
Figure 3. A schematic diagram of the triangle centroid localization algorithm [24,25,26,27].
Figure 3. A schematic diagram of the triangle centroid localization algorithm [24,25,26,27].
Sensors 21 00719 g003
Figure 4. Overall schematic of the proposed positioning technique.
Figure 4. Overall schematic of the proposed positioning technique.
Sensors 21 00719 g004
Figure 5. A Flow chart of the proposed enhanced centroid positioning algorithm.
Figure 5. A Flow chart of the proposed enhanced centroid positioning algorithm.
Sensors 21 00719 g005
Figure 6. Beacon Simulator application user interface. (a) Different beacon platforms; (b) iBeacon main configuration used in the experiment [41].
Figure 6. Beacon Simulator application user interface. (a) Different beacon platforms; (b) iBeacon main configuration used in the experiment [41].
Sensors 21 00719 g006
Figure 7. Experimental sites: (a) Office room; (b) Corridor.
Figure 7. Experimental sites: (a) Office room; (b) Corridor.
Sensors 21 00719 g007
Figure 8. Error and RMSE in the measured distances based on RSSI average filter vs. Proposed RSSI distance prediction model at: (a) Beacon 1 (B1); (b) Beacon 2 (B2); (c) Beacon 3 (B3); (d) Beacon 4 (B4).
Figure 8. Error and RMSE in the measured distances based on RSSI average filter vs. Proposed RSSI distance prediction model at: (a) Beacon 1 (B1); (b) Beacon 2 (B2); (c) Beacon 3 (B3); (d) Beacon 4 (B4).
Sensors 21 00719 g008
Figure 9. Positioning errors and cumulative distribution function (CDF) of the positioning error of the proposed enhanced centroid algorithm and the other positioning algorithms: (a) The office room; (b) The corridor.
Figure 9. Positioning errors and cumulative distribution function (CDF) of the positioning error of the proposed enhanced centroid algorithm and the other positioning algorithms: (a) The office room; (b) The corridor.
Sensors 21 00719 g009
Figure 10. The number of unknown locations and its corresponding Average positioning error and Accuracy percentage: (a) The office room; (b) The corridor.
Figure 10. The number of unknown locations and its corresponding Average positioning error and Accuracy percentage: (a) The office room; (b) The corridor.
Sensors 21 00719 g010
Figure 11. Positioning error parameters of different positioning algorithms: (a) The office room; (b) The corridor.
Figure 11. Positioning error parameters of different positioning algorithms: (a) The office room; (b) The corridor.
Sensors 21 00719 g011
Figure 12. Comparison between the actual test points position and the predicted position using the proposed enhanced centroid algorithm at: (a) The office room; (b) The corridor.
Figure 12. Comparison between the actual test points position and the predicted position using the proposed enhanced centroid algorithm at: (a) The office room; (b) The corridor.
Sensors 21 00719 g012
Figure 13. Positioning error comparison of the proposed positioning technique and the other positioning algorithms deploying the average RSSI filter at 5 test points for 10 trials: (a) The office room; (b) The corridor.
Figure 13. Positioning error comparison of the proposed positioning technique and the other positioning algorithms deploying the average RSSI filter at 5 test points for 10 trials: (a) The office room; (b) The corridor.
Sensors 21 00719 g013aSensors 21 00719 g013b
Table 1. The standard deviation of the collected RSSI samples and their equivalent distances.
Table 1. The standard deviation of the collected RSSI samples and their equivalent distances.
Real Distance (m)Standard Deviation
RSSI Samples (dBm)Distance Samples (m)
13.320.547
22.6420.792
32.6581.258
42.5711.171
52.5761.802
63.0172.281
Table 2. The output factors of the RSSI distance prediction and correction model from one beacon at the office room.
Table 2. The output factors of the RSSI distance prediction and correction model from one beacon at the office room.
Real Distance (m)Correction Exponent (σ)Correction Factor (β)Mean Distance in Meters (Dmean)
17.1140.9172.014
221.9930.973.863
319.5610.9646.085
415.2850.9935.519
511.1090.9598.281
6130.3540.99610.039
Table 3. The output factors of the RSSI distance prediction and correction model from one beacon at the corridor.
Table 3. The output factors of the RSSI distance prediction and correction model from one beacon at the corridor.
Real Distance (m)Correction Exponent (σ)Correction Factor (β)Mean Distance in Meters (Dmean)
16.5680.911.847
226.6540.9753.883
328.650.9795.411
411.9130.9930.965
512.2820.9637.943
678.7460.9939.999
Table 4. The localization accuracy percentage range of the four positioning algorithms at the two experimental sites.
Table 4. The localization accuracy percentage range of the four positioning algorithms at the two experimental sites.
Experimental SiteLocalization Accuracy Percentage Range
CentroidWeighted CentroidIterative CentroidProposed
Enhanced
Centroid
Office Room77.46–81.36%81.042–83.74%87.86–89.14%94.19–95.707%
Corridor82.7–87.15%85.95–92.44%90.36–93.78%94.57–95.776%
Table 5. The sample standard deviation (SSD) of the four positioning algorithms at five test points in the office room.
Table 5. The sample standard deviation (SSD) of the four positioning algorithms at five test points in the office room.
Test Point NumberSample Standard Deviation (SSD) in Meters
CentroidWeighted CentroidIterative CentroidProposed
Enhanced
Centroid
10.120.0880.0580.031
20.1760.0460.0420.05
30.1570.2290.1810.153
40.1370.1430.0660.044
50.1130.1150.0660.041
Average SSD0.1410.1780.1840.086
Table 6. The sample standard deviation (SSD) of the four positioning algorithms at five test points in the corridor.
Table 6. The sample standard deviation (SSD) of the four positioning algorithms at five test points in the corridor.
Test Point NumberSample Standard Deviation (SSD) in Meters
CentroidWeighted CentroidIterative CentroidProposed
Enhanced
Centroid
10.1170.0880.0580.032
20.0430.0460.0420.05
30.3650.2290.1810.153
40.1470.1430.0660.044
50.0640.1150.0660.041
Average SSD0.1470.1240.0830.064
Table 7. The localization errors of the proposed technique at five test points for different RSSI samples’ number in the office room.
Table 7. The localization errors of the proposed technique at five test points for different RSSI samples’ number in the office room.
RSSI Samples’ Number Localization Error (m)
Test-Point 1Test-Point 2Test-Point 3Test-Point 4Test-Point 5Overall
ALE
100 RSSI 0.3110.2860.2230.4320.3120.313
90 RSSI0.3310.290.2030.4250.3220.314
80 RSSI0.3050.3030.2170.4340.3260.317
70 RSSI 0.3120.3070.220.4380.3160.319
60 RSSI 0.3290.320.2350.4220.330.327
50 RSSI0.3520.320.2330.4420.3410.337
Table 8. The localization errors of the proposed technique at five test points for different RSSI samples’ number in the corridor.
Table 8. The localization errors of the proposed technique at five test points for different RSSI samples’ number in the corridor.
RSSI Samples’ Number Localization Error (m)
Test-Point 1Test-Point 2Test-Point 3 Test-Point 4Test-Point 5Overall
ALE
100 RSSI 0.4110.4450.1440.3540.2780.326
90 RSSI0.4110.4550.1560.3610.2860.334
80 RSSI0.4170.4550.1590.3680.2910.338
70 RSSI 0.4180.4670.1650.3810.2880.344
60 RSSI 0.4150.4650.1760.3820.2930.346
50 RSSI0.4230.4680.1930.3860.30.354
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

Nagah Amr, M.; ELAttar, H.M.; Abd El Azeem, M.H.; El Badawy, H. An Enhanced Indoor Positioning Technique Based on a Novel Received Signal Strength Indicator Distance Prediction and Correction Model. Sensors 2021, 21, 719. https://doi.org/10.3390/s21030719

AMA Style

Nagah Amr M, ELAttar HM, Abd El Azeem MH, El Badawy H. An Enhanced Indoor Positioning Technique Based on a Novel Received Signal Strength Indicator Distance Prediction and Correction Model. Sensors. 2021; 21(3):719. https://doi.org/10.3390/s21030719

Chicago/Turabian Style

Nagah Amr, Mohammed, Hussein M. ELAttar, Mohamed H. Abd El Azeem, and Hesham El Badawy. 2021. "An Enhanced Indoor Positioning Technique Based on a Novel Received Signal Strength Indicator Distance Prediction and Correction Model" Sensors 21, no. 3: 719. https://doi.org/10.3390/s21030719

APA Style

Nagah Amr, M., ELAttar, H. M., Abd El Azeem, M. H., & El Badawy, H. (2021). An Enhanced Indoor Positioning Technique Based on a Novel Received Signal Strength Indicator Distance Prediction and Correction Model. Sensors, 21(3), 719. https://doi.org/10.3390/s21030719

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