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.
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
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
,
, and
, respectively. The performance is assessed through the calculation of root mean square error (RMSE), which is computed by
where
and
are the true location and the estimated location, respectively, of the target node in the
i-th Mc run. In this paper, we set
for all simulations. Based on common wireless communication environments and empirical experience, the reference received signal power,
, is set to
dBm, and the reference distance,
, 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
. In the comparison, we vary the number of anchor nodes
N, the length of the measurement sequence
T, and the distribution variables
,
, and
. 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
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,
, of the azimuth measurement errors.
Figure 4 shows the comparison results when
,
,
deg, and
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,
, of the measurement errors in elevation angle.
Figure 5 displays the comparison results when
,
,
deg, and
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,
, of the RSS measurement errors.
Figure 6 presents the comparison results when
,
,
deg, and
deg. From the figure, it can be observed that the RMSEs of the TSLS, WLS-d, and ENWLS are insensitive to changes in
, while the LS exhibits a significant increase with the increase in
. Different weight calculations lead to different outcomes, even though they are all WLS methods. The RMSE of the CRLB increases slightly as
increases, which means that the theoretical lower bound of the localization error also increases with
. 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
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
deg,
deg, and
dB, and the time steps of the sequential measurement as
.
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
, while varying the number of time steps,
T from 3 to 10, with a fixed parameters of the measurement error distributions are
deg,
deg, and
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
and
, 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
, the proposed method achieves high localization accuracy, with RMSE values close to the CRLB.