Next Article in Journal
Research on Guidance Methods of Digital Twin Robotic Arms Based on User Interaction Experience Quantification
Next Article in Special Issue
Research on Positioning Accuracy of Mobile Robot in Indoor Environment Based on Improved RTABMAP Algorithm
Previous Article in Journal
A Joint Encryption and Compression Algorithm for Multiband Remote Sensing Image Transmission
Previous Article in Special Issue
A Novel Optimized iBeacon Localization Algorithm Modeling
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Efficient Localization Method Based on RSSI for AP Clusters

Sino-European Institute of Aviation Engineering, Civil Aviation University of China, Tianjin 300300, China
*
Author to whom correspondence should be addressed.
Sensors 2023, 23(17), 7599; https://doi.org/10.3390/s23177599
Submission received: 13 July 2023 / Revised: 25 August 2023 / Accepted: 30 August 2023 / Published: 1 September 2023
(This article belongs to the Collection Sensors and Systems for Indoor Positioning)

Abstract

:
The localization accuracy is susceptible to the received signal strength indication (RSSI) fluctuations for RSSI-based wireless localization methods. Moreover, the maximum likelihood estimation (MLE) of the target location is nonconvex, and locating target presents a significant computational complexity. In this paper, an RSSI-based access point cluster localization (APCL) method is proposed for locating a moving target. Multiple location-constrained access points (APs) are used in the APCL method to form an AP cluster as an anchor node (AN) in the wireless sensor network (WSN), and the RSSI of the target is estimated with several RSSI samples obtained by the AN. With the estimated RSSI for each AN, the solution for the target location can be obtained quickly and accurately due to the fact that the MLE localization problem is transformed into an eigenvalue problem by constructing an eigenvalue equation. Simulation and experimental results show that the APCL method can meet the requirement of high-precision real-time localization of moving targets in WSN with higher localization accuracy and lower computational effort compared to the existing classical RSSI-based localization methods.

1. Introduction

In recent years, location-based services related to daily life and work have been launched [1]. For large indoor areas, such as factories, hospitals, and shopping malls, the ability to locate moving targets inside them in real time is necessary for purposes such as navigation, surveillance, and business model optimization [2]. The commonly employed techniques for indoor wireless localization techniques encompass Wi-Fi, radio frequency identification (RFID), ultra-wideband (UWB), long-range radio (LoRa), bluetooth low energy (BLE), and ZigBee, etc. [3,4,5,6]. The increasing density of Wi-Fi coverage and the widespread adoption of mobile devices equipped with wireless network interface controllers have significantly enhanced the ubiquity of Wi-Fi-based localization technologies, eliminating the need for additional hardware. For Wi-Fi-based localization technology, the wireless access points (APs) are used as the anchor nodes (ANs) to form a wireless sensor network (WSN), and the target is considered as the blind node. The AP measures the radio signal parameters emitted by the target for localization, such as time of arrival (TOA) [7], time difference of arrival (TDOA) [8], angle of arrival (AOA) [9], received signal strength indication (RSSI) [10], etc. Measuring the target RSSI requires neither clock synchronization nor antenna arrays, and has a lower cost, so RSSI-based localization methods are more promising for application and have received wide attention from scholars [11].
The RSSI-based localization problem consists in the need to obtain the distance information between the target and AN using the target RSSI samples measured by the ANs, and then obtain the target location estimate with the distance information. The essence of this localization problem is the obtention of the maximum likelihood estimation (MLE) of the target location [12,13]. However, this problem is a nonconvex optimization problem with multiple locally optimal solutions. Moreover, the complexity of the indoor Wi-Fi channel leads to drastic fluctuations in the RSSI measured by the ANs, which leads to a reduction in the accuracy of the traditional iterative methods for solving the target location. The search for ways in which RSSI can be effectively used to localize target with superior accuracy has become a hot issue in the field of indoor localization.
To improve the accuracy of the RSSI-based localization, it is necessary to improve the accuracy of the RSSI for the target characterized by AN. RSSI samples measured by the AN are processed, such as mean filter [14], Kalman filter [15], Gaussian filter [16], etc., to reduce the influence of random factors and improve the accuracy of the target RSSI. However, existing methods for treating RSSI do not consider the restriction on the number of RSSI samples. During real-time localization, the number of RSSI samples measured by AN is mostly limited due to the limited frequency of RSSI measurements, which leads to degraded performance of these methods.
For non-convexity of the RSSI-based localization problem, commonly used methods include the convex relaxation method [17,18,19,20,21] and objective function approximation method [22,23]. The convex relaxation method transforms a nonconvex optimization problem into a convex optimization problem by relaxing the constraints to find a globally optimal solution. Typical convex relaxation methods contain the semidefinite programming (SDP) algorithm [17], the second-order cone programming (SOCP) algorithm [20,21], etc. Despite the better accuracy, the computational complexity of the convex relaxation method is significant. The objective function approximation method approximates the original problem in order to find the global optimal solution of the approximated problem. Typical methods include weighted least squares (WLS) [22], squared range least squares (SRLS) [23], etc. Although the objective function approximation method has a relatively simple computational procedure, the approximation procedure introduces additional errors that lead to lower localization accuracy. Existing methods for solving the non-convexity of localization problems fail to balance accuracy and computational complexity at the same time, thus failing to meet the demand for high-precision real-time localization.
To address the localization error and the computational cost caused by RSSI fluctuation and non-convexity of the localization problem during real-time localization, in this paper, an RSSI-based AP cluster localization (APCL) method is proposed for high-precision real-time localization of indoor mobile targets. First, the AP cluster is proposed to form the AN in order to increase the number of RSSI samples measured by a single AN. Then, the optimal RSSI of the target is estimated from the samples measured by AN to reduce the error due to fluctuations. Finally, the MLE problem is constructed as an eigenvalue problem and the global optimal solution can be solved directly and quickly to reduce the error and computational complexity due to non-convexity. The main contributions of this paper are as follows.
(1)
It is proposed to construct the AN in the form of an AP cluster, and use the AP cluster to obtain multiple RSSI samples of a single AN. The proposed target RSSI estimation method is based on a limited number of RSSI samples, and the optimal RSSI estimation is beneficial to improve the target localization accuracy.
(2)
A method is proposed to transform the RSSI-based localization problem into an eigenvalue problem, which can well solve the nonconvex problem and obtain the global optimal solution with great accuracy and low computational complexity.
The rest of the paper is organized as follows: In Section 2, the problem studied in this paper is described. Theoretical analysis on utilizing multiple APs for establishing an AN is presented in Section 3. The method presented in Section 4 is used to estimate the optimal RSSI of a target using samples from AP cluster measurements. In Section 5, a way to transform the MLE problem into an eigenvalue problem is described. The proposed APCL method is summarized in Section 6. The Cramer–Rao lower bound (CRLB) of the localization method which utilizes the AP cluster to form the AN is analyzed in Section 7. The computational complexity of the APCL method is analyzed in Section 8. Several simulations and experimental results are discussed in Section 9 and Section 10, respectively. Finally, some conclusions are given for the paper in Section 11. Key notations are given in Table 1.

2. Problem Statement

We consider a target in a WSN comprising N ANs, where each AN is composed of a cluster of K APs located in close proximity to each other, as depicted in Figure 1. The location of the nth AN within the WSN is known and represented by position vector s n = x n , y n T . On the other hand, position vector u = x , y T indicates the unknown position of the target. Consequently, we can express the distance between the target and the nth AN as
d n = u s n ,
where · is the Frobenius norm. It is evident that the localization system depicted in Figure 1 conforms to a conventional WSN localization system when K = 1 .
Performance discrepancies among APs in a WSN can be rectified through device calibration during the initial setup, thereby ensuring uniform performance across all APs within the network. The received RSSI of a target detected by the kth AP in the nth AN is denoted as r n , k . Based on the log-normal model for RSSI measurements [24], r n , k can be mathematically expressed as
r n , k = r 0 10 η ln d n + ϵ n , k , k = 1 , 2 , , K ,
where r 0 represents the RSSI of the target, which is measured by the AP at a distance of 1 m in an ideal environment. The symbol η denotes the path loss exponent in the localization environment. Additionally, ϵ n , k signifies the shadow fading term for the kth AP in the nth AN. Significantly, these shadow fading terms at different APs are commonly modeled as independent and identically distributed Gaussian random variables with zero mean and variance σ 2 [17,18,19,20].
For the nth AN, the K APs within it are capable of obtaining K RSSI measurements from the target, which collectively form the set of RSSI samples measured by this AN:
S n = r n , 1 , r n , 2 , , r n , K .
Using the samples in S n , an appropriate method can be employed to obtain the optimal estimate r ^ n , opt of the target RSSI for the nth AN. By substituting r ^ n , opt into Equation (2), it is possible to estimate the distance between the nth AN and the target
d ^ n = exp r 0 r ^ n , opt / 10 η .
Based on the optimal estimates of the target RSSI for N ANs, the likelihood function regarding the target location can be derived from the model presented in Equation (2):
L r ^ 1 , opt , r ^ 2 , opt , , r ^ N , opt | u = n = 1 N 1 2 π σ exp 1 2 σ 2 r ^ n , opt r 0 + 10 η ln d n 2 .
By utilizing Equations (4) and (5), it can be further simplified as
L r ^ 1 , opt , r ^ 2 , opt , , r ^ N , opt | u = n = 1 N 1 2 π σ exp 10 η 2 2 σ 2 ln d n ln d ^ n 2 .
According to Equation (1), it can be inferred that d n is a function of u . Therefore, the maximization of the likelihood function presented in Equation (6) is equivalent to the minimization the cost function with respect to u :
C u = n = 1 N ln d n 2 ln d ^ n 2 2 .
For the purpose of enhancing the subsequent cost function C u minimization, we opt for d n 2 over d n due to its superior convenience. Evidently, the target location estimation can be achieved by efficiently minimizing C u :
u ^ = arg min u C u .
As observed from the aforementioned analysis, there are three issues that need to be addressed in order to acquire the location estimate of the target: first, constructing an AP cluster in which multiple APs function collectively as a unified AN; second, determining the optimal RSSI estimate r ^ n , opt of the target based on R n ; finally, minimizing the cost function C u to obtain the maximum likelihood estimate u ^ of the target location.

3. Establishing an AN with Multiple APs

The K APs comprising an AN are assumed to be positioned in a circular arrangement with a radius of R, centered at the location of AN, as shown in Figure 2. In the graph, the position vector of the kth AP is s n , k = x n , k , y n , k T , and d n , k represents the distance between the target and the kth AP. It can be seen from the geometric relationship in the graph that for any two d n , k 1 and d n , k 2 , there exists
d n , k 1 d n , k 2 2 R .
The equality in Equation (9) holds when the k1th and k2th APs are positioned on the straight line connecting AN and the target, with separate circles on both sides of AN. The current layout of the two APs is evidently the worst. Assuming d n , k 1 > d n , k 2 , the RSSI from both APs satisfies r n , k 1 > r n , k 2 . Disregarding noise, Equation (2) can be utilized to derive this relationship:
r n , k 2 r n , k 1 = 10 η ln d n , k 1 d n , k 2 = 10 η ln d n + d n , k 1 d n d n d n + d n , k 2 = 10 η ln d n + R d n R .
The measurement accuracy of RSSI by AP in practical is typically 1 dBm. Therefore, the two APs are considered to belong to the same AN when the difference between the theoretical measurements of r n , k 1 and r n , k 2 is less than 1 dBm. Hence,
10 η ln d n + R d n R 1 .
It can be obtained from Equation (11) that
R max = exp 1 / 10 η 1 exp 1 / 10 η + 1 d n .
The value of the maximum radius R max of the smallest circle surrounding the AP cluster is evidently influenced by both distance d n between the target and AN and environmental parameter η . The constraint on the radius of the AP cluster is relatively relaxed for targets located at a distance. The layout of WSN in indoor positioning applications typically exceeds 10 m, and the distance between the target and the sensor is seldom less than 1 m. Hence, d n in Equation (12) may have a value of 1 m. The value range of environmental parameter η was analyzed and provided in [25]. Under the condition of natural logarithm, η 2.6 . Consequently, Equation (12) yields R max = 2 cm.
The antennas of the multiple APs that constitute the AP cluster should be strategically positioned in a circular arrangement with a radius not exceeding R max . The center of the circle corresponds to the AN position.

4. Estimating the Optimal RSSI of a Target

According to the log-normal model presented in Equation (2), there exists an approximate logarithmic relationship between the RSSI measurement error and the ranging error, resulting in a wider range of variation in the ranging errors compared to RSSI measurement errors. To enhance target localization accuracy, the primary task is to improve the precision of RSSI used for ranging by preprocessing AN-measured RSSI samples to obtain the optimal RSSI estimate of target [26].
Since the shadow fading term, which is responsible for RSSI fluctuations, follows a zero-mean Gaussian distribution, the optimal estimate r ^ n , opt of the target RSSI for the nth AN can be obtained by the following equation:
r ^ n , opt = arg min r n k = 1 K r n , k r n 2 .
Then, the solution of Equation (13) is the sample mean r ¯ n of S n :
r ^ n , opt = r ¯ n .
Obviously, the accuracy of r ^ n , opt is closely related to K. When K reaches a certain threshold, highly accurate results for r ^ n , opt can be yielded from Equation (14). However, due to cost considerations, typically only two or three APs are deployed by a single AN at a time. In such cases, the use of sample mean r ¯ n as r ^ n , opt can lead to significant error, and it thus necessitates the development of a new method for determining r ^ n , opt .
Replacing r ^ n , opt in Equation (4) with the sample r n , k in S n yields the corresponding distance estimate d ^ n , k . It is evident that a more reliable estimate can be obtained by utilizing a larger r n , k resulting in a smaller d ^ n , k . Therefore, employing the distance estimates to define weights
γ n , k = 2 d ^ n , k d ¯ n , d ^ n , k < d ¯ n d ¯ n d ^ n , k , d ^ n , k d ¯ n ,
where d ¯ n represents the estimated distance obtained by substituting r ^ n , opt in Equation (4) with the sample mean r ¯ n . By incorporating the weights illustrated in Equations (15), Equations (14) can be adjusted as
r ^ n , opt = 1 γ n k = 1 K γ n , k r n , k ,
where γ n is utilized for weight normalization, representing the cumulative sum of weights assigned to all APs within the nth AN, denoted as γ n = k = 1 K γ n , k .

5. Revising the MLE for Determining the Location of the Target

Performing a first-order Taylor expansion of ln d n 2 in the cost function C u at d ^ n 2 yields
ln d n 2 = ln d ^ n 2 + 1 d ^ n 2 d n 2 d ^ n 2 .
Substituting Equation (17) and Equation (1) into Equation (7), we obtain the following expression:
C u = n = 1 N 1 d ^ n 4 u s n 2 d ^ n 2 2 .
It can be observed that cost function C u is a weighted aggregation of the error functions of the ANs where 1 / d ^ n 4 serves as the weight factor. The process of weight normalization is executed:
w n = 1 / d ^ n 4 w ,
where w = n = 1 N 1 / d ^ n 4 is utilized for weight normalization. Subsequently, the cost function C u can be updated as
C u = n = 1 N w n u s n 2 d ^ n 2 2 .
Minimizing C u is equivalent to determining u that yields a first-order derivative of C u equal to zero, thereby solving the following equation:
C u = 4 n = 1 N w n u T u 2 u T s n + s n T s n d ^ n 2 u s n = 0 .
Assuming s w = n = 1 N w n s n , s w represents the weighted location vector of N AN’s coordinates. Relocating the coordinate origin to s w yields
u = u s w s n = s n s w .
Therefore, we have n = 1 N w n s n = 0 . By substituting Equation (22) into Equation (21), we obtain
n = 1 N w n u T u 2 u T s n + s n T s n d ^ n 2 u s n = 0 .
Consequently, we have
u T u u + A u + b = 0 ,
where
A = n = 1 N w n 2 s n s n T + s n T s n d ^ n 2 I 2
and
b = n = 1 N w n d ^ n 2 s n T s n s n ,
where I 2 is the second-order identity matrix.
From Equation (25), it is evident that A = A T holds, thus enabling the possibility of performing an eigenvalue decomposition on A :
A = U D U T ,
where D is a diagonal matrix composed of the eigenvalues obtained from A , U is a unitary matrix consisting of the eigenvectors derived from A . Considering v = U T u and b = U T b , we can deduce u = U v and b = U b accordingly. By substituting u = U v , b = U b , and Equation (27) into Equation (24), followed by pre-multiplying with U T , we obtain
v T v v = D v b .
By further performing the Hadamard product of Equation (28) with v , we obtain
v T v v = D v v diag b v ,
where ⊙ denotes the Hadamard product operation, and diag · denotes the transformation of a column vector into a diagonal matrix. Therefore, we obtain
v T v = 1 T v v ,
where 1 denotes a two-dimensional column vector consisting of all elements equal to one.
By integrating Equations (28)–(30), a matrix is formulated:
M z = λ z ,
where λ = v T v , and M is a 5 × 5 matrix that can be represented as
M = D diag b 0 2 × 1 0 2 × 2 D b 1 T 0 1 × 2 0 ,
where 0 i × k is a matrix of size i × k , consisting entirely of zero elements, z = v v , v , 1 T is the eigenvector of M , and λ = v T v corresponds to the eigenvalue associated with z . As per Equation (30), we can infer that λ equals the sum of the first two elements in z .
The eigenvalue decomposition of M yields
M = U M D M U M 1 ,
where D M is a diagonal matrix composed of λ m m = 1 , , 5 , which represent the eigenvalues of M , U M is the matrix consisting of z m , which are the corresponding eigenvectors of M and are normalized. However, since the sum of the first two elements in each row of z m does not equal to λ m , it cannot be directly used to extract v m . Therefore, scaling z m with λ m and adjusting for the sum of its first two elements is necessary before extracting the third and fourth elements as an estimate for v m :
v ^ m = λ m e T z m 0 2 × 2 , I 2 , 0 2 × 1 z m ,
where e = 1 , 1 , 0 , 0 , 0 T . Based on this, it is possible to derive an estimate of the potential target location:
u ^ m = U v ^ m + s w .
With varying z m , distinct u ^ m can be obtained and subsequently substituted into Equation (20) to compute the values of the cost function C u . The u ^ m that minimizes C u is then selected as the estimate for the target location.

6. APCL Method

As mentioned above, the APCL method proposed in this paper comprises two relatively independent components: one aims to achieve the optimal RSSI estimation of the target by utilizing the RSSI measurements obtained from each AP in the AN, and the other focuses on solving the maximum likelihood estimate of the target location within the WSN.
The algorithm for estimating the optimal RSSI from an AN to a target is known as the relative distance weighting (RDW) algorithm, which is summarized in Algorithm Section 6. For the nth AN, the RDW algorithm first uses all the RSSI samples r n , k k = 1 K measured by this AN and the sample mean r ¯ n to calculate the corresponding distance estimates d ^ n , k k = 1 K and d ¯ n based on the log-normal model. Then, weights γ n , k k = 1 K are assigned to each sample according to their respective distances. Finally, the optimal estimate of target RSSI is obtained by normalizing the weighted sum of all RSSI samples, as demonstrated in Equation (16). By traversing all ANs, we can obtain r ^ n , opt n = 1 N .
Algorithm 1 Relative distance weighting for estimating the optimal RSSI of the target.
Input: r 0 and η , parameters of the log-normal model, and S n n = 1 N , a set of RSSI samples measured by each AN
Output: r ^ n , opt n = 1 N , a set of optimal estimates of the target RSSI for each AN
1: for n = 1 , 2 , , N  do
2: Calculate the sample mean r ¯ n and its corresponding distance estimate d ¯ n for the n-th AN;
3: Refine the distance estimates d ^ n , k k = 1 K for samples r n , k k = 1 K in the nth AN;
4: The weights γ n , k k = 1 K corresponding to all APs within the nth AN can be obtained by substituting d ^ n , k k = 1 K and d ¯ n into Equation (15);
5: Calculate the sum of γ n , k k = 1 K to obtain γ n ;
6: Substitute γ n , k k = 1 K , γ n and r n , k k = 1 K into Equation (16) to obtain the optimal estimate of the target RSSI for the nth AN.
7: end for
8: return r ^ n , opt n = 1 N
After obtaining the optimal RSSI estimate of the target for each AN, an eigenvector-based target localization (ETL) algorithm is proposed in this paper to obtain the maximum likelihood estimate of the target location. The algorithm is summarized in Algorithm Section 6. The first two steps of the ETL algorithm constitute the initialization phase. According to r ^ n , opt n = 1 N , the distance estimates d ^ n n = 1 N between each AN and the target can be calculated in order to obtain the normalized weights w n n = 1 N for each AN. Steps 3 to 8 represent the second phase of the ETL algorithm, with its main objective being the construction of data matrix M . To simplify the process of minimizing cost function C u as depicted in Equation (20), a weighted location vector is employed. By translating the coordinate system, we transform the problem of minimizing C u into that shown in Equation (24). Subsequently, we perform variable substitution on Equation (24) using U to obtain Equation (28). Based on Equations (28), Equation (31) is constructed using the Hadamard product. The data matrix M is constructed with the eigenvalues matrix D and the vector b as in Equation (32). The final phase of the ETL algorithm involves obtaining the corresponding eigenvalue matrix D M and the eigenvector matrix U M through the eigenvalue decomposition of M . Each pair of eigenvalue λ m and eigenvector z m can be used to derive a potential target location estimate u ^ m . The u ^ m that minimizes C u is selected as the estimated target location u ^ .
Algorithm 2 Eigenvector-based target localization algorithm.
Input: r 0 and η , parameters of the log-normal model, s n n = 1 N , a set of location vectors for each AN, and r ^ n , opt n = 1 N , a set of optimal target RSSI estimates for each AN
Output: u ^ , the maximum likelihood estimate of the target location
Initialization
1: Substitute r ^ n , opt n = 1 N into Equation (4) to calculate the estimated distance d ^ n n = 1 N between each AN and the target;
2: Sum 1 / d ^ n 4 n = 1 N to obtain w, and then calculate the normalized weights w n n = 1 N for all ANs from Equation (19);
Constructing the data matrix
3: Calculate the weighted location vector s w = n = 1 N w n s n of N ANs;
4: Based on vector s w , the new location vector of each AN s n n = 1 N can be obtained from Equation (22) after translating the coordinate system;
5: Construct the matrix A and the vector b according to Equations (25) and (26), respectively;
6: Perform the eigenvalue decomposition of matrix A to obtain the diagonal matrix D consisting of its eigenvalues and the unitary matrix U composed of its eigenvectors;
7: Transform the vector b to the vector b = U T b by using U ;
8: Substitute D and b into Equation (32) to construct the data matrix M ;
Estimation of target location using eigenvalues
9: Perform the eigenvalue decomposition of M to obtain the diagonal matrix D M consisting of the eigenvalues λ m m = 1 5 and the matrix U M composed of the corresponding eigenvectors z m m = 1 5 ;
10: Apply Equation (34) to scale z m using λ m , and then use Equation (35) to calculate the estimated potential location of the target, denoted as u ^ m ;
11: By substituting u ^ m into Equation (20) to calculating the cost function C u ^ m , the u ^ m that minimizes C u ^ m is utilized as the estimate for the target location, denoted by u ^ = u ^ m .
12: return u ^
Hence, the APCL method initially employs the RDW algorithm to estimate the optimal RSSIs r ^ n , opt n = 1 N of the target for all ANs based on the set of RSSI samples S n n = 1 N . Subsequently, it utilizes the ETL algorithm to derive the maximum likelihood estimate u ^ of the target location by integrating the location vector information s n n = 1 N of multiple ANs.
The source codes are available for download from: https://blog.csdn.net/weixin_42428226/article/details/132175267?spm=1001.2014.3001.5501 (accessed on 9 August 2023).

7. Analysis of Cramer–Rao Lower Bound

For a WSN comprising N ANs, each containing K APs, based on the log-normal model presented in Equation (2), the likelihood function for estimating the target location u is
L S | u = n = 1 N k = 1 K 1 2 π σ exp 1 2 σ 2 r n , k r 0 + 10 η ln u s n 2 ,
where S is the amalgamation of the RSSI sample sets obtained from each AN, i.e., S = S 1 S 2 S N .
To facilitate the subsequent derivation of the CRLB, it is necessary to define
g n , k u = 1 σ r n , k r 0 + 10 η ln u s n .
Obviously, g n , k u represents a standard Gaussian random variable, and the independence of g n , k u holds for different n and k. If h u = ln L S | u denotes the log-likelihood function, then
h u = N K ln 2 π σ 1 2 n = 1 N k = 1 K g n , k 2 u .
The element of the Fisher matrix J in the i-h row and the jth column is
J i j = E 2 h u u i u j ,
where E · denotes the mathematical operation of calculating the expected value, i , j = 1 , 2 , u 1 = x and u 2 = y . Then, we have
h u x = α n = 1 N k = 1 K g n , k u x x n u s n 2 ,
h u y = α n = 1 N k = 1 K g n , k u y y n u s n 2 ,
where α = 10 η / σ is a constant. The second derivative of h u with respect to x is
2 h u x 2 = K α 2 n = 1 N x x n 2 u s n 4 α n = 1 N k = 1 K g n , k u y y n 2 x x n 2 u s n 4 .
The second term on the right side of Equation (42) represents a weighted sum of zero mean Gaussian random variables, thereby making it a zero mean Gaussian random variable as well. Hence,
J 11 = E 2 h u x 2 = K α 2 n = 1 N x x n 2 u s n 4 .
Similarly, we can acquire
J 22 = K α 2 n = 1 N y y n 2 u s n 4 ,
J 12 = J 21 = K α 2 n = 1 N x x n y y n u s n 4 .
By combining Equations (43)–(45), we can establish the relationship J = K α 2 G , which links the elements of G to J :
G i j = 1 K α 2 J i j .
Generally, the deviation u ^ u is used to characterize the localization error in the WSNs, encompassing errors in both x and y directions. Therefore, the CRLB of the localization system can be determined:
CRLB = tr J 1 = 1 K α tr G 1 .
As depicted in Equation (47), the CRLB of the localization system exhibits an inverse proportionality to the arithmetic square root of the number of APs within each AN. In other words, as K increases, the CRLB decreases accordingly. Therefore, leveraging AP clusters can effectively enhance the localization performance of the system.

8. Complexity Analysis

In addition to localization accuracy, the computational complexity should also be considered as the performance of localization methods. The increase in computational complexity not only results in higher energy consumption, but also leads to longer time consumption for localization, which subsequently affects the accuracy of tracking and localizing moving targets. In the following, we analyze the asymptotic complexity of the APCL method in its worst-case scenario. As the APCL method is composed of both RDW and ETL algorithms, their computational complexities can be calculated separately to obtain that of the entire APCL method.
The operations in the algorithm can be categorized into two groups: numerical and matrix operations. Numerical operations encompass addition, subtraction, multiplication, division, exponentiation, and comparison, while matrix operations involve matrix multiplication, inversion, eigenvalue decomposition, assignment and scalar multiplication. The computational complexity of the numerical operations is evidently O ( 1 ) . R p × q denotes a p × q dimensional matrix. If Q R p × q and G R q × g hold, then the multiplication of Q and G exhibits a computational complexity of O ( p · q · g ) . In case H R n × n holds, either inversion or eigenvalue decomposition for H demonstrates a computational complexity of O ( n 3 ) , while assignment or scalar multiplication of H has a computational complexity of O ( n 2 ) .
In the RDW algorithm, it can be found that each of the N ANs involved in localization performs operations from Step 2 to Step 6, as depicted in Algorithm Section 6. The operations executed at each step of the RDW algorithm and their corresponding complexities are presented in Table 2, the sum of the complexities of Steps 2 to 6 is O ( 11 K + 3 ) . Considering that all N ANs need to perform these operations, the computational complexity of the RDW algorithm is O ( 11 K N + 3 N ) .
The ETL algorithm, in contrast to the RDW algorithm, incorporates not only numerical operations but also matrix operations. The specific operations executed at each step of the ETL algorithm and their corresponding complexities are presented in Table 3. In summary, the complexity of the ETL algorithm is O ( 81 N + 319 ) .
Therefore, the computational complexity of the RDW algorithm and the ETL algorithm combined is O ( 11 K N + 84 N + 319 ) . To analyze the growth trend of the computational complexity of the APCL method on K and N, we consider only the highest-order term and ignore its constant coefficient, resulting in an asymptotic computational complexity of O ( K N ) for the APCL method.

9. Simulation Results

9.1. Simulation Setup

In this section, the performance of the APCL method is evaluated through Monte Carlo simulation experiments, utilizing MATLAB R2018b. It is assumed that the RSSI measured by each AP follows the log-normal model, represented by Equation (2). In this model, parameter r 0 is a constant determined by the performance of both transmitting and receiving devices in the system. Typically, this parameter is estimated by fitting a logarithmic curve to actual measured values, such as the reference value of 37.47 dBm mentioned in [24]. It should be noted that r 0 is measured prior to conducting experiments and not during online experimentation. Therefore, for simulation purposes, it may be appropriate to set r 0 = 40 dBm. The path loss exponent, denoted as η , is assigned η = 1.2 based on obstructed scenarios in [25]. σ represents the standard deviation of the shadow fading term and serves as a variable due to its relation to the fluctuation degree of RSSI. The range of σ is considered from 1 dBm to 6 dBm. The simulation includes multiple ANs, each consisting of a cluster of K APs. As mentioned in Section 3, these APs are distributed in a circular pattern centered around the AN, with a maximum radius of R max . By substituting η = 1.2 into Equation (12), we can determine that R max is equal to 4.16 cm.
As the APCL method comprises a cascade of RDW and ETL algorithms, each algorithm is analyzed separately. Whether for estimating the target RSSI or localizing the target, the corresponding estimation accuracy is dependent on the location of the target in the scene. The performance of the algorithm cannot be described by its performance at a single location alone; it must be evaluated using estimation results from a sufficient number of points in the scene. Therefore, the total root mean square error (TRMSE) is defined as
TRMSE = 1 M t m = 1 M t RMSE m ,
where M t is the number of distinct experimental locations for the target in the simulation scene, and RMSE m denotes the RMSE obtained at each location. Therefore, TRMSE can serve as a reliable metric to assess algorithmic performance in estimating the entire scene.

9.2. Comparison of RSSI Estimation Algorithms for Target

To assess the accuracy of the RDW algorithm in estimating the RSSI of the target, a comparative analysis was conducted with conventional algorithms, including mean filter [14], Kalman filter [15], and Gaussian filter [16]. The value of σ was set to 6 dBm in order to represent a more severe fluctuation in RSSI. The location vector of AN is 0 , 0 T , and the K APs constituting AN were distributed in a circular pattern centered around 0 , 0 T with a radius of 4 cm. The target was deployed at intervals of 1 m within a distance range of 1 m to 30 m from this AN location on the x-axis. To estimate the target RSSI for ranging, 1000 Monte Carlo experiments were conducted at each deployment location. The RMSE of ranging was calculated for each location. By combining the RMSE values obtained from all 30 deployment locations using Equation (48), the TRMSE was determined. The curves in Figure 3 illustrate the variation of TRMSE across different values of K for various RSSI estimation algorithms.
As depicted in Figure 3, at K = 1 , all algorithms exhibit equivalent TRMSEs since they degrade to RSSI estimation using a single sample. At K > 1 , the TRMSEs of all algorithms decrease with an increase in K, with exceptional performance observed for the RDW algorithm and the mean filter. Specifically, the RDW algorithm outperforms the mean filter for a small sample size (i.e., K = 2 or 3). As the number of samples increases, the mean filter gradually demonstrates its advantages while exhibiting performance comparable to that of the RDW algorithm. The analysis of Figure 3 reveals that as K increases, the diminishing trend of TRMSEs for different algorithms gradually attenuates, indicating a reduced impact of K on enhancing ranging accuracy. Considering limitations in cost and space, it is advisable to opt for K = 2 or 3.

9.3. Evaluation of Localization Algorithms

To assess the efficacy of the ETL algorithm and the APCL method, which comprises the ETL algorithm and the RDW algorithm, in estimating target location, they were compared with conventional localization algorithms including SDP RSS [17], SOCP1 [20], WLS [22], and SRLS [23]. Both the SDP RSS algorithm and the SOCP1 algorithm utilized the MATLAB package CVX with SeDuMi [27] as a solver to solve convex optimization problems.
The simulation localization scene is defined as a 20 m × 20 m area, with the lower left corner serving as the origin and arranging ANs at s 1 = 1 , 1 T , s 2 = 1 , 19 T , s 3 = 19 , 19 T , and s 4 = 19 , 1 T , respectively. Each AN is a cluster consisting of K = 2 APs, and the K APs that make up AN are distributed in a circular pattern centered around the AN with a radius of 4 cm. In the simulation scenario, the target is deployed at intervals of 2 m × 2 m; then, the target can be deployed at most 121 different locations in the scenario, i.e., M t = 121 in Equation (48). The RMSE at each location is calculated by performing 50 Monte Carlo localization experiments, and the corresponding algorithm’s TRMSE is computed using Equation (48). Total Cramer–Rao lower-bound (TCRLB) can also be defined as
TCRLB = 1 M t m = 1 M t CRLB m .
The trend of TRMSE for different localization algorithms with σ is illustrated in Figure 4.
As shown in Figure 4, the TRMSEs of various algorithms exhibit an upward trend with increasing standard deviation of shadow fading σ increases. In terms of the same σ , both the WLS algorithm and the SRLS algorithm demonstrate higher TRMSEs compared to other algorithms. Furthermore, as σ increases, there is a significant increase in the TRMSEs for both the WLS and SRLS algorithms. Obviously, the inclusion of additional error components resulting from the approximation of the MLE problem by both the WLS and SRLS algorithms leads to a reduction in target localization accuracy. At lower σ , the TRMSEs of the ETL, SDP RSS , and SOCP1 algorithms are nearly identical. However, as σ increases, there is an increasing divergence in TRMSEs among these three algorithms, with the SOCP1 algorithm exhibiting superior performance while the SDP RSS algorithm performs relatively worse. Therefore, the localization accuracy of the ETL algorithm is comparable to that of the convex relaxation method, disregarding the optimization of the target RSSI estimation. From Figure 4, it can be observed that the APCL method, which integrates the ETL algorithm with the RDW algorithm, exhibits superior localization accuracy. Since the APCL method yields a biased estimate of the target location, its TRMSE may be lower than the TCRLB when encountering higher-standard deviation of shadow fading σ . Similar findings have been documented in other studies, e.g., [13,17,20]. TCRLB represents the minimum achievable TRMSE for any unbiased estimator, while the APCL method exhibits a lower TRMSE than the TCRLB. This indicates that the target localization accuracy of the APCL method surpasses that of any unbiased estimator.

9.4. Comparison of Computational Complexity

The asymptotic computational complexity of the APCL method and several other typical target localization algorithms are presented in Table 4. It is evident that the WLS and SRLS algorithms exhibit significantly lower computational complexity compared to the SDP RSS and SOCP1 algorithms. Furthermore, the computational complexity of the APCL method is dependent not only on the number of ANs but also on the number of APs within an AP cluster. For the purpose of cost efficiency, the AP cluster typically consists of only 2 or 3 APs (i.e., K = 2 or 3). In such cases, the computational complexity of the APCL method is comparable to that of WLS and SRLS algorithms.
To provide a more intuitive comparison of the computational complexity among different algorithms, we calculate the trend of the average running time with respect to N for each algorithm. The localization scenario used in simulation remains a 20 m × 20 m area with the target located at [ 10 , 10 ] T , which is situated at the center of this area. Each AN utilized for localization comprises an AP cluster consisting of K APs, where K = 2 , 3 . The simulation environmental parameters are configured to r 0 = 40 dBm, η = 1.2 and σ = 3 dBm. To analyze the average running time for target localization with varying numbers of ANs, 50 random layouts are performed in the simulation area for a given N. Different algorithms with different AN layouts are utilized to localize the target, and the average running time of each algorithm is calculated as shown in Figure 5.
As shown in Figure 5, the average running time for individual localization of SDP RSS and SOCP1 algorithms exhibits a significantly higher value compared to other methods. When K = 2 or 3, the average localization time for the APCL method is marginally lower than those of the WLS and SRLS algorithms. The mean localization durations of APCL, WLS and SRLS algorithms remain relatively stable as N increases without any substantial changes, consistently within the millisecond range. These algorithms exhibit a lower computational complexity and are better suited for localization of moving targets.

10. Experimental Results

10.1. Experimental Setup

To further assess the performance of the APCL method, we conduct localization experiments in a real indoor environment. The experiment utilizes the Wi-Fi probe as an AP and a personal computer as the target. The Wi-Fi probes used are the DS006S and DS006N models manufactured by Chengdu Data Sky Technology Co., Ltd. (Chengdu, China). Both DS006S and DS006N have identical functional parameters, with the only distinction being that DS006S has external antennas while DS006N has internal antennas. The personal computer employed is the Lenovo Legion Y7000 notebook manufactured by Lenovo (Beijing, China), with the Windows 10 operating system. The carrier frequency for communication between APs and target is 2.4 GHz. During the data measurement, the APs monitor probe request frames broadcasted by the target, extracting MAC address and RSSI from these frames. The collected data from each AP are transmitted to the system processing center using the TCP protocol and processed for localization. The APs measure RSSI and transmit the data to the system processing center at a frequency of 1 Hz.
The experimental scene is a room with dimensions of 11 m × 8.5 m × 3 m, where eight APs are deployed as depicted in Figure 6. Each pair of APs forms an AP cluster, constituting an AN, resulting in a total of four ANs. All APs are positioned on a 1.25 m high experimental table, and the target’s movement also takes place at a height of 1.25 m for the two-dimensional localization experiments. The RSSI samples of the target at various distances are premeasured within the scene, and the log-normal model parameters r 0 = 50 dBm and η = 0.76 in the environment are obtained through curve fitting functions in MATLAB. According to Equation (12), R max = 6.57 cm can be obtained. In the subsequent experiment, we position each pair of APs comprising the AN in a circular pattern centered around the AN with a radius of 4 cm.
The position vectors of the four ANs are s 1 = 3.3 , 6.3 T , s 2 = 3.3 , 2.1 T , s 3 = 7.1 , 2.1 T and s 4 = 7.1 , 6.3 T respectively, while the position vectors of each AP are s 1 , 1 = 3.3 , 6.34 T , s 1 , 2 = 3.3 , 6.26 T , s 2 , 1 = 3.3 , 2.14 T , s 2 , 2 = 3.3 , 2.06 T , s 3 , 1 = 7.1 , 2.14 T , s 3 , 2 = 7.1 , 2.06 T , s 4 , 1 = 7.1 , 6.34 T and s 4 , 2 = 7.1 , 6.26 T . The floor plan of our experimental setting is depicted in Figure 7, where the target follows a dashed trajectory from Point 1 to Point 30. Its position is recorded at every interval of 0.5 m along the track. There are a total of 30 sample points on the track, and Points 1 through 7 fall within the enclosed area formed by four ANs, as illustrated in Figure 7. The target RSSI is measured 50 times at each sample point by each AP, resulting in a test set of 3000 RSSI samples.

10.2. Localization Results

To mitigate the impact of stochastic factors, a total of 50 localizations was conducted according to the samples in the test set for each sample point on the trajectory depicted in Figure 7. The resulting localization outcomes were utilized to calculate the RMSEs at various locations, as illustrated in Figure 8. Considering the inadequate precision exhibited by both the WLS and SRLS algorithms, as indicated in Figure 4, only the SDP RSS and SOCP1 algorithms are employed in Figure 8 for comparative analysis with the APCL method.
As shown in Figure 8, the RMSEs of the APCL method and the SOCP1 algorithm are comparable for the first seven points. However, for subsequent points, the RMSE of the SOCP1 algorithm is significantly higher than that of APCL method, indicating that APCL’s localization accuracy is less affected by the AN layout. Furthermore, at all points, the APCL method outperforms the SDP RSS algorithm in terms of RMSE.
The results in Table 5 demonstrate that the APCL method outperforms the SDP RSS and SOCP1 algorithms in terms of TRMSE, with a significantly lower value. Additionally, the APCL method exhibits a much shorter average running time compared to both SDP RSS and SOCP1 algorithms.

10.3. Localization Experiments Based on Public Datasets

The localization performance of the APCL method in more complex scenes is further examined through experiments conducted using the public dataset [28]. Figure 9 illustrates the scene plan schematic of the public dataset, which has a size of 21 m × 16 m. The scene consists of six ANs, and the target follows a dashed trajectory from Point 1 to Point 122. The AN in the public dataset is composed of individual AP, whereas in this paper, the AN is composed of K APs. As discussed in Section 3, it is evident that the K APs forming the AN can be considered equivalent to a single AP with K samples. Hence, if each K sample of the AN in the public dataset is treated as a singular measurement, it can be regarded as composed of K APs.
The 122 sample points in Figure 9 were individually localized 25 times according to the public dataset, and subsequently, the RMSEs were computed for each point based on the localization results, as illustrated in Figure 10.
The target is in close proximity to several ANs from Point 1 to Point 31, as depicted in Figure 10. Both the APCL method and the SOCP1 algorithm exhibit small RMSEs during this interval. From Point 31 to Point 61, the target initially approaches AN5 and then moves away from it, while also becoming more distant from other ANs. Consequently, the RMSEs of various methods show a decreasing trend followed by an increasing trend. The results from Point 61 to Point 93 exhibit a similar trend as those from Point 31 to Point 61. Moving from Point 93 to Point 122, the target gradually shifts towards an area with dense ANs, leading to a gradual decrease in the RMSEs of different methods. Across various locations, the APCL method consistently demonstrates lower RMSEs compared to the SDP RSS and SOCP1 algorithms. The TRMSEs of the APCL, SDP RSS , and SOCP1 are 3.9438 m, 5.4709 m, and 4.8937 m, respectively. Consequently, it can be concluded that the APCL method exhibits superior localization accuracy compared to the other two algorithms.

11. Conclusions

The APCL method proposed in this paper is a technique for achieving active target localization using a WSN constructed by the AP clusters. The APCL method comprises the RDW algorithm for estimating RSSI of the target, followed by the ETL algorithm for localization. The RDW algorithm utilizes target RSSI samples acquired from the AP cluster to estimate the optimal RSSI of the target. In scenarios with limited sample sizes, the RDW algorithm exhibits superior advantages and achieves significantly higher accuracy in estimating the target RSSI compared to mean filter, Kalman filter, and Gaussian filter. The ETL algorithm transforms the MLE problem into an eigenvalue problem by constructing the eigenvalue equation using the estimated RSSI of each AN. The approach enables fast and accurate estimation of the target position. The positioning accuracy of the ETL algorithm is comparable to that of convex relaxation method while surpassing WLS and SRLS algorithms. The APCL method, consisting of the RDW and ETL algorithms, exhibits superior positioning accuracy, minimal positioning time, and low computational complexity. In the actual indoor positioning scenarios, the APCL method demonstrates more stable performance. Consequently, when compared to classical localization algorithms, the APCL method demonstrates significantly superior performance in terms of both positioning accuracy and average positioning time. Its high precision and efficient localization make it particularly suitable for indoor mobile target tracking.
The proposed method effectively reduces the computational effort of localization and achieves high accuracy. However, it necessitates prior knowledge of the parameters in the log-normal model for the localization scene. Further research is warranted to explore how to extend this paper’s method to target localization when environmental parameters are unknown. In addition, the proposed method assumes that all APs within the AP cluster possess identical hardware parameters. However, further research is required to address device heterogeneity and enhance the applicability of this approach.

Author Contributions

Conceptualization, Z.S.; methodology, Z.S.; software, Z.T. and J.H.; validation, Z.S. and J.H.; formal analysis, Z.S. and Z.T.; investigation, Z.T. and J.H.; resources, Z.S.; data curation, Z.T.; writing—original draft preparation, Z.S. and Z.T.; writing—review and editing, Z.S. and J.H.; supervision, Z.S.; project administration, Z.S.; funding acquisition, Z.S. All authors have read and agreed to the published version of the manuscript.

Funding

This research was funded by the Fundamental Research Funds for the Central Universities under Grant No. 3122017111.

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

Not applicable.

Conflicts of Interest

The authors declare no conflict of interest.

Abbreviations

The following abbreviations are used in this manuscript:
RFIDRadio frequency identification
UWBUltra-wideband
LoRaLong-range radio
BLEBluetooth low energy
TOATime of arrival
TDOATime difference of arrival
AOAAngle of arrival
RSSIReceived signal strength indication
MLEMaximum-likelihood estimation
APCLAccess point clusters localization
APAccess point
WSNWireless sensor network
ANAnchor node
SDPSemidefinite programming
SOCPSecond-order cone programming
WLSWeighted least squares
SRLSSquared range least squares
RDWRelative distance weighting
ETLEigenvector-based target localization
TCRLBTotal Cramer–Rao lower bound
TRMSETotal root mean square error

References

  1. Hayward, S.J.; van Lopik, K.; Hinde, C.; West, A.A. A Survey of Indoor Location Technologies, Techniques and Applications in Industry. Internet Things 2022, 20, 100608. [Google Scholar] [CrossRef]
  2. Farahsari, P.S.; Farahzadi, A.; Rezazadeh, J.; Bagheri, A. A Survey on Indoor Positioning Systems for IoT-Based Applications. IEEE Internet Things J. 2022, 9, 7680–7699. [Google Scholar] [CrossRef]
  3. Zafari, F.; Gkelias, A.; Leung, K.K. A Survey of Indoor Localization Systems and Technologies. IEEE Commun. Surv. Tutor. 2019, 21, 2568–2599. [Google Scholar] [CrossRef]
  4. Simka, M.; Polak, L. On the RSSI-Based Indoor Localization Employing LoRa in the 2.4 GHz ISM Band. Radioengineering 2022, 31, 135–143. [Google Scholar] [CrossRef]
  5. Botta, M.; Simek, M. Adaptive Distance Estimation Based on RSSI in 802.15.4 Network. Radioengineering 2013, 22, 1162–1168. [Google Scholar]
  6. Polak, L.; Rozum, S.; Slanina, M.; Bravenec, T.; Fryza, T.; Pikrakis, A. Received Signal Strength Fingerprinting-Based Indoor Location Estimation Employing Machine Learning. Sensors 2021, 21, 4605. [Google Scholar] [CrossRef]
  7. Zhao, S.; Zhang, X.P.; Cui, X.; Lu, M. A New TOA Localization and Synchronization System with Virtually Synchronized Periodic Asymmetric Ranging Network. IEEE Internet Things J. 2021, 8, 9030–9044. [Google Scholar] [CrossRef]
  8. Zou, Y.; Liu, H. Semidefinite Programming Methods for Alleviating Clock Synchronization Bias and Sensor Position Errors in TDOA Localization. IEEE Signal Process Lett. 2020, 27, 241–245. [Google Scholar] [CrossRef]
  9. Chang, S.; Zheng, Y.; An, P.; Bao, J.; Li, J. 3-D RSS-AOA Based Target Localization Method in Wireless Sensor Networks Using Convex Relaxation. IEEE Access 2020, 8, 106901–106909. [Google Scholar] [CrossRef]
  10. Booranawong, A.; Sengchuai, K.; Buranapanichkit, D.; Jindapetch, N.; Saito, H. RSSI-Based Indoor Localization Using Multi-Lateration With Zone Selection and Virtual Position-Based Compensation Methods. IEEE Access 2021, 9, 46223–46239. [Google Scholar] [CrossRef]
  11. Liu, Y.; Han, G.; Wang, Y.; Xue, Z.; Chen, J.; Liu, C. Received Signal Strength-Based Wireless Source Localization With In-accurate Anchor Positions. IEEE Sens. J. 2022, 22, 23539–23551. [Google Scholar] [CrossRef]
  12. Mukhopadhyay, B.; Srirangarajan, S.; Kar, S. Invex Relaxation Based Cooperative Localization Using RSS Measurements. IEEE Trans. Commun. 2022, 70, 5482–5497. [Google Scholar] [CrossRef]
  13. Najarro, L.A.C.; Song, I.; Kim, K. Differential Evolution With Opposition and Redirection for Source Localization Using RSS Measurements in Wireless Sensor Networks. IEEE Trans. Autom. Sci. Eng. 2020, 17, 1736–1747. [Google Scholar] [CrossRef]
  14. Booranawong, A.; Sengchuai, K.; Jindapetch, N. Implementation and test of an RSSI-based indoor target localization system: Human movement effects on the accuracy. Measurement 2019, 133, 370–382. [Google Scholar] [CrossRef]
  15. Zhang, K.; Zhang, Y.; Wan, S. Research of RSSI indoor ranging algorithm based on Gaussian-Kalman linear filtering. In Proceedings of the 2016 IEEE Advanced Information Management, Communicates, Electronic and Automation Control Conference (IMCEC), Xi’an, China, 3–5 October 2016; pp. 1628–1632. [Google Scholar]
  16. Dong, Z.Y.; Xu, W.M.; Zhuang, H. Research on ZigBee indoor technology positioning based on RSSI. Procedia Comput. Sci. 2019, 154, 424–429. [Google Scholar] [CrossRef]
  17. Ouyang, R.W.; Wong, A.K.S.; Lea, C.T. Received Signal Strength-Based Wireless Localization via Semidefinite Programming: Noncooperative and Cooperative Schemes. IEEE Trans. Veh. Technol. 2010, 59, 1307–1318. [Google Scholar] [CrossRef]
  18. Biswas, P.; Liang, T.C.; Toh, K.C.; Ye, Y.; Wang, T.C. Semidefinite Programming Approaches for Sensor Network Localization with Noisy Distance Measurements. IEEE Trans. Autom. Sci. Eng. 2006, 3, 360–371. [Google Scholar] [CrossRef]
  19. Vaghefi, R.M.; Gholami, M.R.; Buehrer, R.M.; Strom, E.G. Cooperative Received Signal Strength-Based Sensor Localization with Unknown Transmit Powers. IEEE Trans. Signal Process. 2012, 61, 1389–1403. [Google Scholar] [CrossRef]
  20. Tomic, S.; Beko, M.; Dinis, R. RSS-Based Localization in Wireless Sensor Networks Using Convex Relaxation: Noncooperative and Cooperative Schemes. IEEE Trans. Veh. Technol. 2014, 64, 2037–2050. [Google Scholar] [CrossRef]
  21. Chang, S.; Li, Y.; Wang, H.; Hu, W.; Wu, Y. RSS-Based Cooperative Localization in Wireless Sensor Networks via Second-Order Cone Relaxation. IEEE Access 2018, 6, 54097–54105. [Google Scholar] [CrossRef]
  22. Wang, G.; Yang, K. A New Approach to Sensor Node Localization Using RSS Measurements in Wireless Sensor Networks. IEEE Trans. Wirel. Commun. 2011, 10, 1389–1395. [Google Scholar] [CrossRef]
  23. Beck, A.; Stoica, P.; Li, J. Exact and Approximate Solutions of Source Localization Problems. IEEE Trans. Signal Process. 2008, 56, 1770–1778. [Google Scholar] [CrossRef]
  24. Miao, Q.; Huang, B.; Jia, B. Estimating distances via received signal strength and connectivity in wireless sensor networks. Wireless. Netw. 2020, 26, 971–982. [Google Scholar] [CrossRef]
  25. Dharmadhikari, V.; Pusalkar, N.; Ghare, P. Path Loss Exponent Estimation for Wireless Sensor Node Positioning: Practical Approach. In Proceedings of the 2018 IEEE International Conference on Advanced Networks and Telecommunications Systems (ANTS), Indore, India, 16–19 December 2018; pp. 1–4. [Google Scholar]
  26. Huang, C.H.; Lee, L.H.; Ho, C.C.; Wu, L.L.; Lai, Z.H. Real-Time RFID Indoor Positioning System Based on Kalman-Filter Drift Removal and Heron-Bilateration Location Estimation. IEEE Trans. Instrum. Meas. 2015, 64, 728–739. [Google Scholar] [CrossRef]
  27. Addendum to the SeDuMi User Guide Version 1.1. Available online: http://sedumi.ie.lehigh.edu/?page_id=58 (accessed on 23 March 2023).
  28. Hoang, M.T.; Yuen, B.; Dong, X.; Lu, T.; Westendorp, R.; Reddy, K. Recurrent Neural Networks for Accurate RSSI Indoor Localization. IEEE Internet Things J. 2019, 6, 10639–10651. [Google Scholar] [CrossRef]
Figure 1. Schematic diagram of AP clusters measuring target RSSI.
Figure 1. Schematic diagram of AP clusters measuring target RSSI.
Sensors 23 07599 g001
Figure 2. Schematic diagram of the formation of an AP cluster in AN.
Figure 2. Schematic diagram of the formation of an AP cluster in AN.
Sensors 23 07599 g002
Figure 3. RSSI-based ranging error trend of different RSSI estimation algorithms with K.
Figure 3. RSSI-based ranging error trend of different RSSI estimation algorithms with K.
Sensors 23 07599 g003
Figure 4. Localization error trend of different localization algorithms with σ .
Figure 4. Localization error trend of different localization algorithms with σ .
Sensors 23 07599 g004
Figure 5. Average running time vs. number of ANs on an intel core i5-8300 H 2.30 GHz processor manufactured by Intel (Santa Clara, CA, USA).
Figure 5. Average running time vs. number of ANs on an intel core i5-8300 H 2.30 GHz processor manufactured by Intel (Santa Clara, CA, USA).
Sensors 23 07599 g005
Figure 6. Indoor measurements environment.
Figure 6. Indoor measurements environment.
Sensors 23 07599 g006
Figure 7. Floor plan of the experimental scene.
Figure 7. Floor plan of the experimental scene.
Sensors 23 07599 g007
Figure 8. Localization error at different sample points of different localization algorithms.
Figure 8. Localization error at different sample points of different localization algorithms.
Sensors 23 07599 g008
Figure 9. Floor plan of the experimental scene for the public dataset.
Figure 9. Floor plan of the experimental scene for the public dataset.
Sensors 23 07599 g009
Figure 10. Localization errors on public dataset.
Figure 10. Localization errors on public dataset.
Sensors 23 07599 g010
Table 1. List of Key Notations.
Table 1. List of Key Notations.
NotationExplanationNotationExplanation
NNumber of the ANsKNumber of the APs in an AP cluster
s n Location of the nth AN u Location of the target
u ^ Estimated location of the target d n Distance between the nth AN and the target
d ^ n Estimated distance between the nth AN and the target r n , k RSSI measured by the kth AP in the nth AN
r ^ n , opt RSSI estimated by the nth AN r 0 RSSI at a distance of 1 m
η Path loss exponent σ 2 Variance of the shadow fading term
Table 2. Operations and complexities associated with the RDW algorithm.
Table 2. Operations and complexities associated with the RDW algorithm.
Step No.Operations InvolvedComplexity
Step 2 K 1 additions and 1 division operation to derive r ¯ n ; 1 subtraction, 2 divisions and 1 exponentiation to obtain d ¯ n O ( K + 4 )
Step 3K subtractions, 2 K divisions and K exponentiations to obtain d ¯ n , k k = 1 K O ( 4 K )
Step 4K comparisons, K subtractions and K divisions to obtain γ n , k k = 1 K O ( 3 K )
Step 5 K 1 additions to obtain γ n O ( K 1 )
Step 6 K 1 additions, K multiplications and 1 division to obtain r ^ n , opt O ( 2 K )
Table 3. Operations and complexities associated with the ETL algorithm.
Table 3. Operations and complexities associated with the ETL algorithm.
Step No.Operations InvolvedComplexity
Step 1N subtractions, 2 N divisions and N exponentiations to obtain d ^ n n = 1 N O ( 4 N )
Step 2 N 1 additions are required to obtain w and N divisions to acquire w n n = 1 N O ( 2 N 1 )
Step 3 2 N multiplications and 2 ( N 1 ) additions to obtain s w O ( 4 N 2 )
Step 4 2 N subtractions to obtain s n n = 1 N O ( 2 N )
Step 5 13 N multiplications and 3 N additions to derive A ; 6 N multiplications and 2 N additions to obtain b O ( 24 N )
Step 6Eigenvalue decomposition on A with A R 2 × 2 O ( 8 )
Step 7Multiplication of matrix U with matrix b to obtain b with U R 2 × 2 and b R 2 × 1 O ( 4 )
Step 8Construction of M with M R 5 × 5 O ( 25 )
Step 9Eigenvalue decomposition on M O ( 125 )
Step 10For each m, 3 multiplications and 1 scalar multiplication of matrix, 1 division and 2 additions to obtain u ^ m O ( 160 )
Step 11For each m, 3 subtractions, 5 multiplications and 1 addition to obtain C ( u ^ m ) O ( 45 N )
Table 4. Comparison of asymptotic computational complexity.
Table 4. Comparison of asymptotic computational complexity.
AlgorithmDescriptionComplexity
APCLThe proposed method O K N
SDP RSS The SDP estimator in [17] O N 4.5
SOCP1The SOCP estimator in [20] O N 3.5
WLSThe WLS estimator in [22] O N
SRLSThe localization method in [23] O N
Table 5. TRMSE and running time of different algorithms on an intel core i5-8300 H 2.30 GHz processor manufactured by Intel (Santa Clara, CA, USA).
Table 5. TRMSE and running time of different algorithms on an intel core i5-8300 H 2.30 GHz processor manufactured by Intel (Santa Clara, CA, USA).
AlgorithmTRMSE/mAverage Running Time/s
APCL1.61040.0083
SDP RSS 4.02641.7703
SOCP12.60580.4836
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Su, Z.; Tian, Z.; Hao, J. Efficient Localization Method Based on RSSI for AP Clusters. Sensors 2023, 23, 7599. https://doi.org/10.3390/s23177599

AMA Style

Su Z, Tian Z, Hao J. Efficient Localization Method Based on RSSI for AP Clusters. Sensors. 2023; 23(17):7599. https://doi.org/10.3390/s23177599

Chicago/Turabian Style

Su, Zhigang, Zeyu Tian, and Jingtang Hao. 2023. "Efficient Localization Method Based on RSSI for AP Clusters" Sensors 23, no. 17: 7599. https://doi.org/10.3390/s23177599

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