Next Article in Journal
MSDSANet: Multimodal Emotion Recognition Based on Multi-Stream Network and Dual-Scale Attention Network Feature Representation
Previous Article in Journal
Clustering and Interpretability of Residential Electricity Demand Profiles
Previous Article in Special Issue
Enhancing Localization Accuracy and Reducing Processing Time in Indoor Positioning Systems: A Comparative Analysis of AI Models
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

A Simple and Efficient Method for RSS-AOA-Based Localization with Heterogeneous Anchor Nodes

School of Cyber Science and Engineering, Ningbo University of Technology, Ningbo 315211, China
*
Author to whom correspondence should be addressed.
These authors contributed equally to this work.
Sensors 2025, 25(7), 2028; https://doi.org/10.3390/s25072028
Submission received: 20 February 2025 / Revised: 18 March 2025 / Accepted: 21 March 2025 / Published: 24 March 2025

Abstract

:
Accurate and reliable localization is crucial for various wireless communication applications. A multitude of studies have presented accurate localization methods using hybrid received signal strength (RSS) and angle of arrival (AOA) measurements. However, these studies typically assume identical measurement noise distributions for different anchor nodes, which may not accurately reflect real-world scenarios with varying noise distributions. In this paper, we propose a simple and efficient localization method based on hybrid RSS-AOA measurements that accounts for the varying measurement noises of different anchor nodes. We develop a closed-form estimator for the target location employing the linear-weighted least squares (LWLS) algorithm, where the weight of each LWLS equation is the inverse of its residual variance. Due to the unknown variances of LWLS equation residuals, we employ a two-stage LWLS method for estimation. The proposed method is computationally efficient, adaptable to different types of wireless communication systems and environments, and provides more accurate and reliable localization results compared to existing RSS-AOA localization techniques. Additionally, we derive the Cramer–Rao lower bound (CRLB) for the RSS-AOA signal sequences used in the proposed method. Simulation results demonstrate the superiority of the proposed method.

1. Introduction

With the rapid development and widespread utilization of wireless sensor networks (WSNs) [1,2,3,4,5] and mobile devices, the demand for accurate and reliable localization has increased significantly. This is particularly evident in indoor positioning [6], autonomous navigation [7], and intelligent transportation systems [8], where the ability to locate objects, vehicles, and people with high accuracy is essential. Additionally, in the context of the Internet of Things (IoT) [9], localizing devices and objects has become increasingly vital for optimizing IoT system performance, reducing energy consumption, and improving user experiences. Consequently, the creation of localization techniques that are accurate, reliable, and efficient has emerged as an essential research focus in recent years. One of the most promising localization approaches involves the use of hybrid received signal strength (RSS) and angle of arrival (AOA) measurements. By merging these two signals, it is possible to achieve greater accuracy and robustness than by relying on either signal independently.
Hybrid RSS-AOA measurements have been widely used for localization. The measurement model utilizes RSS measurements to represent distance (where the RSS measurement value decreases as the distance increases), and AOA measurements to represent angle. This approach allows three-dimensional localization to be achieved with only one anchor node whose location is known, while using a single measurement model requires three or more anchor nodes. Additionally, the RSS-AOA measurement model offers high robustness against shadowing and multipath effects [10], which makes it a more resilient option compared to other localization methods.
Numerous localization methods based on hybrid RSS-AOA measurements have been proposed. Among them, linearly weighted least squares (LWLS) methods are promising and most widely used, offering both high accuracy and low computational complexity. The main procedure of this approach involves converting the distance between anchor nodes and the target node into a linear expression of the target node’s location using spherical coordinate transformation. The LWLS method is then utilized to construct a closed-form solution for the target node’s location.
The accuracy of these methods depends on the choice of weight matrices, and various weight matrix computation methods have been proposed in the literature to achieve high localization accuracy.
Many commonly used weight matrix computation methods have been proposed in the literature. The least squares (LS) method in [11], which did not use any weight matrix (i.e., the weight matrix was a unit matrix), was often used as a benchmark for comparison in simulations. The distance-related WLS method, as proposed by Tomic et al. in [12], has been shown to improve localization accuracy without adding complexity. However, using weights that only change based on the distance between the target node and anchor nodes may not be optimal. Kang et al. [13] developed the error covariance-weighted least squares (ECWLS) method, which computes weights based on an approximate error covariance matrix calculated from the LS method estimation of the target location. This approach led to more accurate weights, but estimating the variance of measurement noise was challenging, and directly multiplying the estimated variance into the weight could increase error. Watanabe presented the two-step error variance-weighted least squares (TSLS) method based on AOA measurement [14], which estimated the target location using the LS method and then calculated the variance as the weight. However, this method only considered the noise variance of the evaluation function items and not the noise value of the measurements. To address this, Ding et al. [15] proposed an error variance and noise value WLS (ENWLS) that could adjust the weight to account for measurement noise values, giving more weight to measurements with smaller noise values.
In addition to the LWLS methods, two other commonly used approaches were convex relaxation [16] and constructing the generalized trust-region subproblem (GTRS) [17]. The main process of using convex relaxation for localization involved formulating a convex optimization problem that sought to minimize the localization error subject to a set of constraints. Convex relaxation methods could achieve high-precision localization, but they were computationally complex and therefore not suitable for real-time applications. The main process of constructing GTRS for localization involved formulating the GTRS and using the bisection method to search for the optimal solution. To provide a benchmark for comparison in simulations, this paper included two state-of-the-art methods based on convex relaxation and GTRS as references. The SDP-SOCP method was proposed by Chang et al. [18] and had been shown to achieve high accuracy. To formulate the convex optimization problem, semi-definite programming (SDP) and second-order cone programming (SOCP) were used to transform the non-convex system into a convex system. However, the complexity of these methods was relatively high, which might limit the practical applications. In [19], Tomic et al. proposed a novel localization method based on GTRS, which derived a non-convex estimator that could be transformed into a GTRS framework.
However, all the above-mentioned RSS-AOA localization methods assume that the measurement noise of all the anchor nodes follows the same distribution, which does not accurately reflect the real-world scenarios. In reality, measurement noise distributions can vary significantly due to factors such as device type, node location, antenna orientation, and signal propagation environment. Therefore, while these methods can achieve high accuracy in simulations, they may have significant localization errors in practical scenarios.
To address this issue, this paper proposes a novel approach that takes into account the varying measurement noise distributions of different nodes and estimates the weights of each LWLS equation based on its residual variance. However, the variances of LWLS equation residuals are unknown, and thus we propose a two-stage LWLS method to estimate the variance of each LWLS equation. In the first stage, we use the LWLS method based on the distances between the target node and the anchor nodes to calculate a rough location estimate. In the second stage, we use the rough estimate as input to the LWLS estimator to calculate the residual for each equation, and then use the inverse of the residual variances as the weights to calculate an accurate estimate of the target node’s location using LWLS.
Calculating the variance of each LWLS equation requires a time series of measurements, which is referred to as the RSS-AOA time series in this paper. The RSS-AOA time series refers to a series of mixed RSS-AOA measurements arranged in chronological order. RSS time series are often utilized to improve the positioning accuracy in fingerprint-based localization methods [20,21,22,23]. The model of RSS-AOA time series is introduced in detail in Section 2.
To demonstrate the excellent localization performance of the proposed method, this paper compared the proposed method with the state-of-the-art methods in simulation.
In localization, Cramer–Rao lower bound (CRLB) is a commonly used performance lower bound for evaluating the performance of localization methods. CRLB describes the minimum variance of estimated location error, which means that no matter what estimation method is used, the estimated location error variance cannot be less than this lower bound. By comparing the performance of algorithms with CRLB, the feasibility and reliability of methods can be determined, and whether the methods have reached the theoretically optimal performance can also be determined. The CRLB of the RSS-AOA time series model is different from that of the traditional hybrid RSS-AOA model. In Section 2, the CRLB of the RSS-AOA time series model is derived.
Through simulation experiments, we found that the proposed method has good performance in different positioning scenarios and is very close to the CRLB. Although the computational complexity is slightly higher than that of the traditional LWLS (higher computational complexity when calculating weights), the computational complexity is still within an acceptable range, and the calculation speed is fast, which can achieve real-time positioning. This indicates that the proposed method can achieve high accuracy, reliability, and real-time performance.
The main contributions of this paper are as follows:
(1)
Diverse Anchor Node Scenarios: This paper considers a more practical scenario, specifically localization scenarios involving different types of anchor nodes, which closely reflects real-world situations.
(2)
Innovative Algorithm: A novel localization method based on hybrid RSS-AOA measurements is proposed, which accounts for the differences in measurement noise distributions across different nodes to enhance localization accuracy and reliability.
(3)
Two-stage LWLS Method: This paper introduces a two-stage LWLS method for estimating the residual variance of each LWLS equation, thereby achieving more accurate target node localization.
(4)
RSS-AOA Time Series Model: This paper incorporates an RSS-AOA time series model that utilizes the time series information of RSS-AOA measurements to further improve localization accuracy.
(5)
CRLB Derivation: A detailed derivation of the CRLB of the RSS-AOA time series model is provided, establishing a theoretical foundation for evaluating the performance of localization methods.
In the remaining sections of this paper, the sequential hybrid RSS-AOA system model is presented and the CRLB of the measurement model is derived in Section 2. The details of the proposed method are shown in Section 3. The extensive simulation results demonstrate the good performance of the proposed method in Section 4. We conclude the paper with a summary and discussion of the future work in Section 5.

2. Problem Formulation and Cramer–Rao Lower Bound

In this section, the system model is first described in detail, followed by the formulation of the localization problem. The CRLB for RSS-AOA time series-based localization is also derived.

2.1. System Model and Problem Formulation

Consider a three-dimensional (3D) WSN consisting of N anchor nodes whose locations are known, denoted by a i = [ a i 1 , a i 2 , a i 3 ] T , i = 1 , , N , and a target node whose location is unknown, denoted by x = [ x 1 , x 2 , x 3 ] T .
As shown in Figure 1, the true value of the azimuth angle and elevation angle between the target node and the i-th anchor node is referred to as ϕ ˙ i and α ˙ i , which can be written as
ϕ ˙ i = arctan ( x 2 a i 2 x 1 a i 1 ) , i = 1 , , N ,
α ˙ i = arccos ( x 3 a i 3 x a i ) , i = 1 , , N ,
where ϕ ˙ i ( π , π ) and α ˙ i ( π 2 , π 2 ) .
The RSS measurements without noise are denoted by
P ˙ i = P 0 10 γ log 10 x a i d 0 , i = 1 , , N ,
where P 0 represents the reference received signal power when the reference distance is d 0 , and γ is referred to as the path loss exponent which is environment-related.
Taking measurement noise into consideration, the hybrid RSS-AOA time series model can be represented as
ϕ i t = ϕ ˙ i + m i t , t = 1 , , T ,
α i t = α ˙ i + v i t , t = 1 , , T ,
P i t = P ˙ i + n i t , t = 1 , , T ,
where T denotes the number of time steps, which means the total number of discrete time intervals or steps in the time series. m i t , v i t , and n i t refer to measurement noise of the t-th time step of the azimuth angle, elevation angle and received signal strength, respectively, between the target node and the i-th anchor node. Generally, it is assumed that m i t follows independent identical distributions, where i = 1 , , N and t = 1 , , T . v i t and n i t also follow independent identical distributions. However, AOA and RSS measurements are subject to measurement noise that is related to many factors, such as the quality of the hardware components, the location of the nodes, the orientation of the antennas, and the characteristics of the signal propagation environment. Therefore, it is possible that the variances of measurement noises from different anchor nodes are different. So, in this paper, the measurement noise from different anchor nodes follows different distributions, which can be modeled as a zero-mean Gaussian random variables, i.e., m i t N 0 , σ m i 2 , v i t N 0 , σ v i 2 , n i t N 0 , σ n i 2 , where σ m i , σ v i and σ n i are the standard deviation of m i t , v i t and n i t , respectively. To make the standard deviation of measurement noise of different anchor nodes different, such that m p is not equal to m q , p q , p, q = 1 , , N , the standard deviations can be assumed to follow exponential distributions with the means of μ m , μ v , and μ n . It can be expressed as σ m i Exp ( μ m ) , σ v i Exp ( μ v ) , and σ n i Exp ( μ n ) . Then, the conditional probability density function (PDF) of the hybrid RSS-AOA measurement θ that x is given can be expressed as
P ( θ | x ) = i = 1 N t = 1 T 1 2 π σ m i exp ϕ i t arctan ( x 2 a i 2 x 1 a i 1 ) 2 2 σ m i 2 · 1 2 π σ v i exp α i t arccos ( x 3 a i 3 x a i ) 2 2 σ v i 2 · 1 2 π σ n i exp P i t P 0 + 10 γ log 10 x a i d 0 2 2 σ v i 2 ,
where θ = [ ϕ 11 , ϕ 12 , , ϕ 1 T , ϕ N 1 , ϕ N T , α 11 , α 12 , , α 1 T , α N 1 , α N T , P 11 , P 12 , , P 1 T , P N 1 , , P N T ] T . It is worth noting that modeling the standard deviations of different anchor nodes in real-world localization scenarios is challenging, and Gaussian models are a possible and reasonable approach. However, in this paper, exponential distributions are considered to account for the possibility of extremely imprecise anchor nodes, allowing for greater variation in the precision of different nodes.
Then, the maximum likelihood (ML) estimator of the hybrid RSS-AOA measurement is obtained as
x ^ = arg max x P ( θ | x ) .
After derivation, the ML estimation can be expressed as
x ^ = arg min x i = 1 N t = 1 T ( ϕ i t arctan ( x 2 a i 2 x 1 a i 1 ) 2 σ m i 2 + α i t arccos ( x 3 a i 3 x a i ) 2 σ v i 2 + P i t P 0 10 γ log 10 x a i d 0 2 σ n i 2 ) .

2.2. Cramer–Rao Lower Bound

The Cramer–Rao lower bound (CRLB) is a theoretical lower bound on the variance of any unbiased estimator of a parameter in a statistical model. In other words, it provides a lower limit on how well we can estimate a parameter, given the statistical properties of the data and the model used to describe them. In the hybrid RSS-AOA measurement sequences, the CRLB of location estimation depends on the locations of the anchor nodes, the true location of the target node, and the measurement noise variances.
The CRLB can be calculated based on the Fisher information matrix (FIM). The FIM is a mathematical tool that measures the amount of information that an observable random variable carries about an unknown parameter in a statistical model. In the localization system model, it can be defined as
FIM ( x ) i j = E 2 ln P ( θ | x ) x i x j ,
where 1 i , j 3 .
For the RSS-AOA time series model, the FIM is calculated using the PDF that have been given in (7). Specifically, each term has been derived as follows
FIM ( x ) 11 = T i = 1 N ( x 2 a i 2 ) 2 σ m i 2 d 2 i 4 + ( x 1 a i 1 ) 2 ( x 3 a i 3 ) 2 σ v i 2 d 2 i 2 d i 4 η i ( x 1 a i 1 ) 2 x a i 4 , FIM ( x ) 22 = T i = 1 N ( x 1 a i 1 ) 2 σ m i 2 d 2 i 4 + ( x 2 a i 2 ) 2 ( x 3 a i 3 ) 2 σ v i 2 d 2 i 2 d i 4 η i ( x 2 a i 2 ) 2 x a i 4 , FIM ( x ) 33 = T i = 1 N d 2 i 2 σ v i 2 d i 4 η i ( x 3 a i 3 ) 2 x a i 4 , FIM ( x ) 13 = T i = 1 N ( x 1 a i 1 ) ( x 3 a i 3 ) σ v i 2 d i 4 η i ( x 1 a i 1 ) ( x 3 a i 3 ) x a i 4 , FIM ( x ) 23 = T i = 1 N ( x 2 a i 2 ) ( x 3 a i 3 ) σ v i 2 d i 4 η i ( x 2 a i 2 ) ( x 3 a i 3 ) x a i 4 , FIM ( x ) 12 = T i = 1 N ( x 1 a i 1 ) ( x 2 a i 2 ) σ m i 2 d 2 i 4 + ( x 1 a i 1 ) ( x 2 a i 2 ) ( x 3 a i 3 ) 2 σ v i 2 d 2 i 2 d i 4 η i ( x 1 a i 1 ) ( x 2 a i 2 ) x a i 4 ,
where FIM ( x ) is a symmetric matrix, e.g., FIM ( x ) i j = FIM ( x ) j i , i , j = 1 , 2 , 3 , η i = 10 γ σ n i log 10 10 2 , d 2 i = ( x 1 a i 1 ) 2 + ( x 2 a i 2 ) 2 , and d i = ( x 1 a i 1 ) 2 + ( x 2 a i 2 ) 2 + ( x 3 a i 3 ) 2 .
Then, the CRLB of the hybrid RSS-AOA time series model is obtained as
CRLB = trace ( FIM 1 ) .
In order to provide a more intuitive illustration of the CRLB for the RSS-AOA time series, we simulated a specific scenario.
Figure 2 illustrates a simple wireless localization scenario with randomly located target nodes and fixed anchor node locations. In this scenario, four anchor nodes are positioned at [ 0 , 10 , 10 ] T , [ 10 , 30 , 15 ] T , [ 30 , 10 , 20 ] T , and [ 30 , 30 , 25 ] T , with the noise variances of σ m 1 = 5 deg, σ v 1 = 5 deg, and σ n 1 = 1 dB for the first anchor node, and σ m i = 10 deg, σ v i = 10 deg, and σ n i = 2 dB for the rest anchor nodes, where i = 2 , 3 , 4 . The target nodes are randomly placed within a square with sides ranging from 1 to 40 m for x 1 and x 2 , and at x 3 = 0 . The number of time steps is set as T = 5 .
Figure 3 presents the CRLBs for only RSS, only AOA, and RSS-AOA time series models in the simple localization scenario. It is evident that the CRLB of RSS-AOA is the lowest. Moreover, at four specific target node locations, the FIM in (11) becomes a singular matrix without a matrix inverse, which explains the white spots in Figure 3a,c. It is worth noting that both CRLBs with AOA only and RSS only decrease as the target node approaches the center of the square region, while the CRLB of RSS-AOA reaches its minimum at the projection of the first anchor node in the square region. This is because RSS-AOA measurement only requires one node to achieve 3D localization and the first anchor node is highly accurate, resulting in lower CRLB for RSS-AOA when approaching the node, which means a lower theoretical minimum localization error.

3. Proposed Two-Stage Localization Method

In this section, we propose a two-stage LWLS method for solving the RSS-AOA time series localization problem with multiple types of anchor nodes. The first stage is to estimate the target node location roughly using the time-averaged RSS-AOA values. The second stage is to estimate the variance of each residual of the LWLS equation. Based on these variances, a weight matrix is calculated and used to reapply the LWLS method to obtain a more accurate solution for the target node location.

3.1. The First Stage

In the first stage, a rough estimation of the target location is calculated. First, the measured time series are averaged over time as ϕ ^ i = 1 T t = 1 T ϕ i t , α ^ i = 1 T t = 1 T α i t , P ^ i = 1 T t = 1 T P i t . Using spherical coordinates, we can express the distance between the target node and the i-th anchor node, x     a i , as u ˙ i T ( x a i ) , where u ˙ i is a unit vector in the direction of the target node from the i-th anchor node, which is given by
u ˙ i = [ cos ϕ ˙ i sin α ˙ i , sin ϕ ˙ i sin α ˙ i , cos α ˙ i ] T .
To simplify the process, the unit vector u ^ i was defined based on the average values of the sequential measurements that incorporate actual measurement noise as
u ^ i = [ cos ϕ ^ i sin α ^ i , sin ϕ ^ i sin α ^ i , cos α ^ i ] T .
Subsequently, the time-averaged RSS-AOA values can be expressed as follows:
c i T x a i 0 ,
cos α ^ i u ^ i k T x a i 0 ,
λ i u ^ i T x a i β ,
where c i = [ sin ϕ ^ i , cos ϕ ^ i , 0 ] T , k = [ 0 , 0 , 1 ] T , λ i = 10 P ^ i 10 γ , β = d 0 10 P 0 10 γ . In particular, we refer to each equation in (15)–(17) as LWLS equations. Then, the target location can be obtained by applying the LWLS estimation to these 3 N LWLS equations as follows:
x ^ WLS = arg min x i = 1 N w i 2 c i T x a i 2 + i = 1 N w N + i 2 cos α ^ i u ^ i k T x a i 2 + i = 1 N w 2 N + i 2 λ i u ^ i T x a i β 2 ,
where w is a 3 N × 1 vector which denotes the weights of the LWLS equations. The weights in the first stage are range-based, which can be expressed as w i = w N + i = w 2 N + i = 1 d ^ i i = 1 N d ^ i , d ^ i = d 0 10 P 0 P ^ i 10 γ , i = 1 , 2 , , N .
For ease of solving, (18) can be expressed as the following matrix form:
x ^ WLS = arg min x W A x b 2 ,
where W = diag ( w 1 , w 2 , , w 3 N ) is the weight matrix, w i is referred as to the weight of the i-th LWLS equation, and A = c i T cos α ^ i u ^ i k T λ i u ^ i T is a 3 N × 3 matrix, b = c i T a i cos α ^ i u ^ i k T a i λ i u ^ i T a i + β is a 3 N × 1 vector.
Then, the closed-form solution of (19) can be obtained as follows:
x ^ WLS = A T W T W A 1 A T W T W b .

3.2. The Second Stage

In the second stage, the weight matrix is constructed by using the estimated variances of the LWLS equation residuals. Therefore, the variances of the residuals in (15)–(17) are first estimated.
To estimate the variance of the residual for each item in Equations (15)–(17), we can express all RSS-AOA time series measurements in the form of N T equations as follows:
r ˜ 1 i t = c ˜ i t T x a i ,
r ˜ 2 i t = cos α ^ i u ˜ i t k T x a i ,
r ˜ 3 i t = λ ˜ i j u ˜ i t T x a i β ,
where r ˜ 1 i t , r ˜ 2 i t , and r ˜ 3 i t are the residuals of (21), (22), and (23), respectively. c ˜ i j = [ sin ϕ i j , cos ϕ i j , 0 ] T , u ˜ i j = [ cos ϕ i j sin α i j , sin ϕ i j sin α i j , cos α i j ] T , λ ˜ i j = 10 P i j 10 γ .
The rough estimate of the target node location x ^ WLS obtained in the first stage is substituted into Equations (21)–(23) to estimate the residual for each term. Then, we obtain the estimated residuals as
r ^ 1 i t = c ˜ i t T x ^ WLS a i ,
r ^ 2 i t = cos α ^ i u ˜ i t k T x ^ WLS a i ,
r ^ 3 i t = λ ˜ i j u ˜ i t T x ^ WLS a i β .
Then, the estimated variances of the residuals in (15)–(17) are calculated as follows:
σ ^ r 1 i 2 = 1 T t = 1 T r ^ 1 i t ,
σ ^ r 2 i 2 = 1 T t = 1 T r ^ 2 i t ,
σ ^ r 3 i 2 = 1 T t = 1 T r ^ 3 i t .
The LWLS estimation is used again using the residual variance-based weights, which is expressed as
x ^ ML = arg min x i = 1 N c i T x a i 2 σ ^ r 1 i 2 + i = 1 N cos α ^ i u ^ i k T x a i 2 σ ^ r 2 i 2 + i = 1 N λ i u ^ i T x a i β 2 σ ^ r 3 i 2 .
As can be seen, (30) is very similar to (18). The main difference is the weights in the first stage are range-based, while the weights in the second stage are variance-based, where w i 2 = 1 σ r 1 i 2 , w N + i 2 = 1 σ r 2 i 2 , and w 2 N + i 2 = 1 σ r 3 i 2 .
The matrix form of the ML estimation is written as
x ^ ML = arg min x W ˜ A x b 2 ,
where W ˜ = diag ( 1 σ ^ r 11 , 1 σ ^ r 12 , , 1 σ ^ r 1 N , 1 σ ^ r 21 , 1 σ ^ r 22 , , 1 σ ^ r 2 N , 1 σ ^ r 31 , 1 σ ^ r 32 , , 1 σ ^ r 3 N ) .
Finally, the closed-form solution of the estimated target localization in the second stage is obtained as
x ^ WLS 2 = A T W ˜ T W ˜ A 1 A T W ˜ T W ˜ b .
It is worth noting that the proposed algorithm can combine AOA with any signal propagation model that provides distance measurements, including ultra-wideband ranging. To adapt the algorithm, Equation (17) should be modified to u ^ i T x a i d i , where d i is the measured distance. Additionally, the noise modeling for Equation (17) should be updated accordingly.

4. Simulation Results

In this section, simulations are conducted to demonstrate the performance of the proposed localization method. The simulations can be considered as locating a smartphone (target node) using routers (anchor nodes), where the AOA can be calculated using the MUSIC algorithm with the router’s antennas, and the RSS can be obtained directly from the communication protocol, for example, Wi-Fi (IEEE 802.11) or Bluetooth (IEEE 802.15.1). The performance of the proposed method is compared with existing state-of-the-art methods, including LS [11], WLS-d [12], ECWLS [13], TSLS [14], ENWLS [15], SDP-SOCP [18], and GTRS [19]. These methods do not use time series measurements, so the average values of time series measurements over time are taken as the input data for the compared methods. It is worth noting that the average measurement values over time are more accurate than the measurement values at any given time, and the variance of the measurement noise becomes 1 T of the measurement noise variance at any given time. The CRLB is also included in each simulation to provide a theoretical benchmark for comparison with the actual performance of the considered localization methods.
In all simulations, the anchor and target nodes were randomly distributed within a cubic space with a side length of 40 m. M independent Monte Carlo (Mc) runs were performed, where the locations of both the anchor and target nodes were re-randomized in each run. The measurement noise for each anchor node followed a zero-mean Gaussian distribution. Note that the variance of each measurement noise is not identical. The standard deviation of the measurement noise for RSS, azimuth angle, and elevation angle followed an exponential distribution with mean values of μ n , μ m , and μ v , respectively. The performance is assessed through the calculation of root mean square error (RMSE), which is computed by
RMSE = 1 M i = 1 M x i x ^ i 2 ,
where x i and x ^ i are the true location and the estimated location, respectively, of the target node in the i-th Mc run. In this paper, we set M = 3000 for all simulations. Based on common wireless communication environments and empirical experience, the reference received signal power, P 0 , is set to 10 dBm, and the reference distance, d 0 , is set to 1 m. The path-loss exponent, γ , represents the rate at which the signal attenuates with increasing distance. In open spaces, γ is typically 2. However, in complex environments, γ can be larger, usually ranging between 2 and 6. Without loss of generality, this paper selects γ = 2.7 . In the comparison, we vary the number of anchor nodes N, the length of the measurement sequence T, and the distribution variables μ n , μ m , and μ v . These values will be introduced in each scenario. The MATLAB toolbox CVX [24] is utilized to solve the SDP and SOCP, with SeDuMi [25] as the selected solver.
The computational complexity of the proposed method and the compared methods are first presented, followed by the comparison between the proposed method and the state-of-the-art methods.

4.1. Computational Complexity

Table 1 lists the complexity of all the considered methods. N and T denote the numbers of the anchor nodes and the time steps. K represents the number of iterations in the bisection method used in solving the GTRS problem. As shown in this table, the complexity of LS, WLS-d, ECWLS, TSLS, and ENWLS is linear, while the proposed algorithm has the largest complexity among the LWLS methods. This is because the proposed method requires T N iteration calculations for computing the weight matrix, while the other methods only require N iteration calculations. But this does not affect the real-time implementation of the proposed method, as will be demonstrated in the average runtime table. The SDP-SOCP method has the highest computational complexity among the compared methods, which may hinder its real-time implementation.
To provide a more intuitive understanding, the average runtime for the considered method is also investigated in Table 2, which was obtained using a MacBook with an M1 chip. Clearly, the results in Table 2 support the key findings about the computational complexity of the considered methods in Table 1. Although the proposed method has higher complexity and longer runtime than the compared LWLS methods, it can still achieve real-time localization. This is because its runtime is very low in practice (less than 1 ms), and it scales linearly with the number of anchor nodes and time steps, making it suitable for real-time applications.

4.2. Comparison with the State-of-the-Art Methods

4.2.1. Scenario 1

In this scenario, we examine the localization performance of different methods by varying the mean standard deviation, μ m , of the azimuth measurement errors. Figure 4 shows the comparison results when N = 5 , T = 5 , μ v = 10 deg, and μ n = 6 dB. It is evident that the proposed method exhibits an absolute advantage among the compared methods, owing to its analysis of the measurement errors of each node and the calculation of reasonable weights for weighted least squares. Therefore, it performs well in this scenario.

4.2.2. Scenario 2

In this scenario, we investigate the impact of varying the mean standard deviation, μ v , of the measurement errors in elevation angle. Figure 5 displays the comparison results when N = 5 , T = 5 , μ m = 10 deg, and μ n = 6 dB. The proposed method stands out from other algorithms, as it accounts for the measurement errors at each node and employs a weighted least squares approach with appropriate weights. This results in superior performance in the considered scenario, validating the effectiveness of the proposed approach.

4.2.3. Scenario 3

In this scenario, we examine the localization performance of different methods by varying the mean standard deviation, μ n , of the RSS measurement errors. Figure 6 presents the comparison results when N = 5 , T = 5 , μ m = 10 deg, and μ v = 10 deg. From the figure, it can be observed that the RMSEs of the TSLS, WLS-d, and ENWLS are insensitive to changes in μ n , while the LS exhibits a significant increase with the increase in μ n . Different weight calculations lead to different outcomes, even though they are all WLS methods. The RMSE of the CRLB increases slightly as μ n increases, which means that the theoretical lower bound of the localization error also increases with μ n . This implies that the weights of RSS measurement are either too small (in TSLS, WLS-d, and ENWLS methods) or too large (in LS methods). The RMSE of the proposed method increases slightly as μ n increases, which is consistent with the trend of the CRLB. This shows that the weights calculated by the proposed method are reasonable.

4.2.4. Scenario 4

In this scenario, we set the parameters of the measurement error distributions as μ m = 6 deg, μ v = 6 deg, and μ n = 4 dB, and the time steps of the sequential measurement as T = 5 . Figure 7 shows the RMSEs versus the number of anchor nodes, N. From this figure, we can see that the RMSEs of all the considered methods decrease when N increases. Furthermore, one can see that more anchors lead to better performance for all algorithms, as they provide more reliable information. It also demonstrates the advantage of using combined measurements in hybrid systems over using single measurements in traditional systems.

4.2.5. Scenario 5

In this scenario, we keep the number of anchor nodes fixed and vary the time steps of the measurements. Specifically, we fix the number of anchor bodes to N = 10 , while varying the number of time steps, T from 3 to 10, with a fixed parameters of the measurement error distributions are μ m = 6 deg, μ v = 6 deg, and μ n = 4 dB. The results in Figure 8 show that the performance of the considered method improves as the time steps increase. We can see from the figure that the proposed method has low localization accuracy when T = 3 and T = 4 , because there are not enough data points to estimate the standard deviation of measurement errors at each anchor node. This leads to significant errors in the weight calculations and consequently, large positioning errors. However, when T 5 , the proposed method achieves high localization accuracy, with RMSE values close to the CRLB.

5. Conclusions and Future Work

This paper presents a novel localization approach that uses hybrid RSS-AOA time series measurements and considers the varying measurement noise distributions among different types of anchor nodes. This improves the positioning accuracy and reliability in heterogeneous anchor node scenarios. We propose a two-stage LWLS method that uses weights based on the residual variances to handle different types of anchor nodes.The proposed method consists of two stages. In the first stage, we use the range-based LWLS method to estimate a rough target location. In the second stage, we estimate the residual variances of LWLS equations and use them as the LWLS weights to reapply the LWLS method and obtain a more accurate location. Simulation experiments show the superior performance of the proposed method. It achieves more accurate and reliable localization results in heterogeneous anchor node scenarios than existing methods. Moreover, the proposed method does not increase the complexity of the localization system significantly, making it practical for real applications.
The simulation results show that using the residual variances of LWLS equations as weights for localization is an effective approach in heterogeneous anchor node scenarios. Our future work will focus on three main aspects: (1) Improving the accuracy of estimating the residual variances of LWLS equations to further enhance the localization performance. (2) Developing noise models for the unit vectors in spherical coordinates to better reflect real-world conditions. (3) Reducing the number of time steps required in the time series, making the proposed method more efficient and adaptable to various application scenarios. We will also investigate the applicability of the proposed method in real-world application scenarios and evaluate its performance in practical environments.

Author Contributions

All the authors are contributed equally to prepare this article. Conceptualization, W.D., L.L. and S.C.; Formal analysis, W.D., L.L. and S.C.; methodology, S.C. and L.L.; writing—original draft, W.D., L.L. and S.C.; writing—review and editing, W.D., L.L. and S.C. All authors have read and agreed to the published version of the manuscript.

Funding

This work was supported by the Scientific Research Program of Zhejiang Provincial Department of Education under Grant Y202454865 and Zhejiang Provincial Higher Education Key Project of “14th Five-Year Plan” for the Second Batch of Undergraduate Teaching Reform under Grant JGZD2024078.

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

No new data were created or analyzed in this study. Data sharing is not applicable to this article.

Conflicts of Interest

The authors declare no conflicts of interest.

References

  1. Ahmad, R.; Wazirali, R.; Abu-Ain, T. Machine learning for wireless sensor networks security: An overview of challenges and issues. Sensors 2022, 22, 4730. [Google Scholar] [CrossRef] [PubMed]
  2. Majid, M.; Habib, S.; Javed, A.R.; Rizwan, M.; Srivastava, G.; Gadekallu, T.R.; Lin, J.C.-W. Applications of wireless sensor networks and internet of things frameworks in the industry revolution 4.0: A systematic literature review. Sensors 2022, 22, 2087. [Google Scholar] [CrossRef] [PubMed]
  3. Ganesh, D.E. Analysis of Wireless Sensor Networks Through Secure Routing Protocols Using Directed Diffusion Methods. Int. J. Wirel. Netw. Secur. 2022, 7, 28–35. [Google Scholar]
  4. Temene, N.; Sergiou, C.; Georgiou, C.; Vassiliou, V. A survey on mobility in Wireless Sensor Networks. Ad Hoc Netw. 2022, 125, 102726. [Google Scholar]
  5. Gulati, K.; Boddu, R.S.K.; Kapila, D.; Bangare, S.L.; Chandnani, N.; Saravanan, G. A review paper on wireless sensor network techniques in Internet of Things (IoT). Mater. Today Proc. 2022, 51, 161–165. [Google Scholar] [CrossRef]
  6. Liu, H.; Darabi, H.; Banerjee, P.; Liu, J. Survey of wireless indoor positioning techniques and systems. IEEE Trans. Syst. Man Cybern. Part C (Appl. Rev.) 2007, 37, 1067–1080. [Google Scholar] [CrossRef]
  7. Shalal, N.; Low, T.; McCarthy, C.; Hancock, N. A review of autonomous navigation systems in agricultural environments. In Proceedings of the SEAg 2013: Innovative Agricultural Technologies for a Sustainable Future, Barton, Australia, 22–25 September 2013. [Google Scholar]
  8. Jimenez, J.A. Smart transportation systems. In Smart Cities: Applications, Technologies, Standards, and Driving Factors; Springer: Cham, Switzerland, 2018; pp. 123–133. [Google Scholar]
  9. Koohang, A.; Sargent, C.S.; Nord, J.H.; Paliszkiewicz, J. Internet of Things (IoT): From awareness to continued use. Int. J. Inf. Manag. 2022, 62, 102442. [Google Scholar] [CrossRef]
  10. Kos, T.; Markezic, I.; Pokrajcic, J. Effects of multipath reception on GPS positioning performance. In Proceedings of the ELMAR-2010, Zadar, Croatia, 15–17 September 2010; IEEE: Piscataway, NJ, USA, 2010; pp. 399–402. [Google Scholar]
  11. Yu, K. 3-D localization error analysis in wireless networks. IEEE Trans. Wirel. Commun. 2007, 6, 3472–3481. [Google Scholar]
  12. Tomic, S.; Beko, M.; Dinis, R. A closed-form solution for RSS/AoA target localization by spherical coordinates conversion. IEEE Wireless Commun. Lett. 2016, 5, 680–683. [Google Scholar] [CrossRef]
  13. Kang, S.; Kim, T.; Chung, W. Hybrid RSS/AOA localization using approximated weighted least square in wireless sensor networks. Sensors 2020, 20, 1159. [Google Scholar] [CrossRef] [PubMed]
  14. Watanabe, F. Wireless sensor network localization using AoA measurements with two-step error variance-weighted least squares. IEEE Access 2021, 9, 10820–10828. [Google Scholar] [CrossRef]
  15. Ding, W.; Chang, S.; Li, J. A novel weighted localization method in wireless sensor networks 410 based on hybrid RSS/AoA measurements. IEEE Access 2021, 9, 150677–150685. [Google Scholar] [CrossRef]
  16. Boyd, S.; Vandenberghe, L. Convex Optimization; Cambridge University Press: Cambridge, UK, 2004. [Google Scholar]
  17. Pong, T.K.; Wolkowicz, H. The generalized trust region subproblem. Comput. Optim. Appl. 2014, 58, 273–322. [Google Scholar]
  18. 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]
  19. Tomic, S.; Beko, M.; Dinis, R. 3-D target localization in wireless sensor networks using RSS and AoA measurements. IEEE Trans. Veh. Technol. 2017, 66, 3197–3210. [Google Scholar] [CrossRef]
  20. Ibrahim, M.; Torki, M.; ElNainay, M. CNN based indoor localization using RSS time-series. In Proceedings of the 2018 IEEE Symposium on Computers and Communications (ISCC), Natal, Brazil, 25–28 June 2018; IEEE: Piscataway, NJ, USA, 2018; pp. 01044–01049. [Google Scholar]
  21. Li, Q.; Fan, H.; Sun, W.; Li, J.; Chen, L.; Liu, Z. Fingerprints in the air: Unique identification of wireless devices using RF RSS fingerprints. IEEE Sensors J. 2017, 17, 3568–3579. [Google Scholar] [CrossRef]
  22. Ye, Q.; Fan, X.; Fang, G.; Bie, H. Exploiting temporal dependency of RSS data with deep learning for IoT-oriented wireless indoor localization. Internet Technol. Lett. 2023, 6, e366. [Google Scholar] [CrossRef]
  23. Klus, L.; Quezada-Gaibor, D.; Torres-Sospedra, J.; Lohan, E.S.; Granell, C.; Nurmi, J. RSS fingerprinting dataset size reduction using feature-wise adaptive k-means clustering. In Proceedings of the 2020 12th International Congress on Ultra Modern Telecommunications and Control Systems and Workshops (ICUMT), Brno, Czech Republic, 5–7 October 2020; IEEE: Piscataway, NJ, USA, 2020; pp. 195–200. [Google Scholar]
  24. Grant, M.; Boyd, S. CVX: Matlab Software for Disciplined Convex Programming. Available online: https://www.edx.org/learn/engineering/stanford-university-convex-optimization (accessed on 1 January 2022).
  25. Sturm, J.F. Using SeDuMi 1.02, a MATLAB toolbox for optimization over symmetric cones. Optim. Methods Softw. 1999, 11, 625–653. [Google Scholar]
Figure 1. Illustration of an anchor node and the target node in 3D space.
Figure 1. Illustration of an anchor node and the target node in 3D space.
Sensors 25 02028 g001
Figure 2. Node placement of a simple localization scenario.
Figure 2. Node placement of a simple localization scenario.
Sensors 25 02028 g002
Figure 3. The CRLBs for the simple localization scenario. (a) CRLB for only AOA time series. (b) CRLB for only RSS time series. (c) CRLB for RSS-AOA time series.
Figure 3. The CRLBs for the simple localization scenario. (a) CRLB for only AOA time series. (b) CRLB for only RSS time series. (c) CRLB for RSS-AOA time series.
Sensors 25 02028 g003
Figure 4. Comparison of RMSE as mean standard deviation, μ m , of azimuth measurement error distribution.
Figure 4. Comparison of RMSE as mean standard deviation, μ m , of azimuth measurement error distribution.
Sensors 25 02028 g004
Figure 5. Comparison of RMSE as mean standard deviation, μ v , of elevation measurement error distribution.
Figure 5. Comparison of RMSE as mean standard deviation, μ v , of elevation measurement error distribution.
Sensors 25 02028 g005
Figure 6. Comparison of RMSE as mean standard deviation, μ n , of RSS measurement error distribution.
Figure 6. Comparison of RMSE as mean standard deviation, μ n , of RSS measurement error distribution.
Sensors 25 02028 g006
Figure 7. Comparison of RMSE as the number of anchor nodes, N.
Figure 7. Comparison of RMSE as the number of anchor nodes, N.
Sensors 25 02028 g007
Figure 8. Comparison of RMSE as time steps, T.
Figure 8. Comparison of RMSE as time steps, T.
Sensors 25 02028 g008
Table 1. The complexity of the considered localization methods.
Table 1. The complexity of the considered localization methods.
AlgorithmComplexity
the proposed algorithm O ( T N )
LS in [11] O ( N )
WLS-d in [12] O ( N )
ECWLS in [13] O ( N )
TSLS in [14] O ( N )
ENWLS in [15] O ( N )
SDP-SOCP in [18] O ( N 3.5 )
GTRS in [19] O ( K N )
Table 2. The average runtime of the considered algorithms.
Table 2. The average runtime of the considered algorithms.
AlgorithmTime (s)
The proposed algorithm 7.46 × 10 4
LS in [11] 7.00 × 10 5
WLS-d in [12] 9.13 × 10 5
ECWLS in [13] 2.64 × 10 4
TSLS in [14] 1.80 × 10 4
ENWLS in [15] 3.03 × 10 4
SDP-SOCP in [18] 7.65 × 10 1
GTRS in [19] 7.40 × 10 4
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

Ding, W.; Li, L.; Chang, S. A Simple and Efficient Method for RSS-AOA-Based Localization with Heterogeneous Anchor Nodes. Sensors 2025, 25, 2028. https://doi.org/10.3390/s25072028

AMA Style

Ding W, Li L, Chang S. A Simple and Efficient Method for RSS-AOA-Based Localization with Heterogeneous Anchor Nodes. Sensors. 2025; 25(7):2028. https://doi.org/10.3390/s25072028

Chicago/Turabian Style

Ding, Weizhong, Lincan Li, and Shengming Chang. 2025. "A Simple and Efficient Method for RSS-AOA-Based Localization with Heterogeneous Anchor Nodes" Sensors 25, no. 7: 2028. https://doi.org/10.3390/s25072028

APA Style

Ding, W., Li, L., & Chang, S. (2025). A Simple and Efficient Method for RSS-AOA-Based Localization with Heterogeneous Anchor Nodes. Sensors, 25(7), 2028. https://doi.org/10.3390/s25072028

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