Next Article in Journal
An Adaptive Obstacle Avoidance Model for Autonomous Robots Based on Dual-Coupling Grouped Aggregation and Transformer Optimization
Previous Article in Journal
Two Degrees of Freedom Synchronous Motion Modulation Technique Using MEMS Voltage-Controlled Oscillator-Based Phase-Locked Loop for Magnetoresistive Sensing
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

A Two-Step SD/SOCP-GTRS Method for Improved RSS-Based Localization in Wireless Sensor Networks

School of Cyber Science and Engineering, Ningbo University of Technology, No. 201, Fenghua Road, Jiangbei District, Ningbo 315211, China
*
Author to whom correspondence should be addressed.
These authors contributed equally to this work.
Sensors 2025, 25(6), 1837; https://doi.org/10.3390/s25061837
Submission received: 10 February 2025 / Revised: 10 March 2025 / Accepted: 14 March 2025 / Published: 15 March 2025
(This article belongs to the Section Sensor Networks)

Abstract

:
Wireless localization is a fundamental component of modern sensor networks, with applications spanning environmental monitoring and smart cities. Ensuring accurate and efficient localization is critical for enhancing network performance and reliability, particularly in the presence of signal attenuation and noise. This study proposes a novel two-step localization framework, SD/SOCP-GTRS, to improve the precision of target localization using received signal strength (RSS) measurements. In the first step (SD/SOCP), semidefinite programming (SDP) and second-order cone programming (SOCP)-based convex relaxation are applied to the maximum likelihood (ML) estimator, generating an initial coarse estimate. The second step (GTRS) refines this estimate using weighted least squares (WLS) and the generalized trust region subproblem (GTRS), mitigating performance degradation caused by relaxation. Monte Carlo simulations validate that the proposed SD/SOCP-GTRS approach effectively reduces root mean square error (RMSE) compared to other methods. These findings demonstrate that the SD/SOCP-GTRS framework consistently outperforms existing techniques, approaching the theoretical performance limit and offering a robust solution for high-precision localization in wireless sensor networks.

1. Introduction

Wireless sensor networks (WSNs) have become integral to various applications, such as localization, environmental monitoring, emergency services, precision agriculture, smart homes, and intelligent transportation [1,2,3]. Accurate target localization is crucial for the effectiveness of these networks. In environmental monitoring, for instance, poor localization accuracy may lead to incorrect mapping of pollution sources or wildlife habitats, resulting in flawed ecological assessments and ineffective mitigation strategies [4]. For autonomous systems (e.g., drones or self-driving vehicles), even minor localization errors can cause navigation failures, increasing collision risks and compromising safety [5]. In emergency scenarios, such as disaster response, inaccurate node positioning may delay rescue operations, directly threatening human lives [6]. Furthermore, localization inaccuracies degrade network efficiency by necessitating redundant data retransmissions and excessive energy consumption, ultimately shortening network lifetime [7]. The localization process begins by deploying anchor nodes, whose locations are known, while target nodes estimate their locations using a suitable algorithm. Common localization techniques include time of arrival (TOA) [8,9,10], time difference of arrival (TDOA) [11,12], angle of arrival (AOA) [13,14,15], and received signal strength (RSS) [16,17,18,19,20,21,22], often combined to improve accuracy [23,24,25,26,27,28,29,30,31,32]. Among these, RSS-based localization stands out due to its simplicity, low hardware requirements, and minimal communication overhead. However, RSS measurements are prone to errors caused by log-normal distributions, often approximated by Gaussian distributions.
The problem of RSS-based localization is often tackled using the maximum likelihood (ML) estimator. While the ML estimator is asymptotically optimal, it is nonlinear and nonconvex, and its accuracy is highly dependent on the initial guess. An improper initial guess can result in significant localization errors. To overcome this issue, closed-form solutions and multidimensional scaling (MDS)-based methods have been introduced, which eliminate the need for an initial guess and perform well under low error conditions. A novel approach combining a differential evolution algorithm, opposition-based learning, and adaptive redirection has been proposed. This method avoids approximating the ML cost function, does not require a good initial point, and offers superior performance with relatively low computational complexity in practical scenarios [33].
Convex relaxation techniques, such as semidefinite programming (SDP) and second-order cone programming (SOCP), have been employed to approximate the ML estimator with a convex estimator through relaxation [34,35]. These methods demonstrate robust performance even in noisy environments. Recent studies have increasingly favored convex relaxation methods [19,20,21,23]. In [19], the authors eliminate the logarithmic terms and reformulate the ML problem into a min–max optimization, which is relaxed into an SDP estimator. Similarly, ref. [20] proposes a convex SDP estimator based on relative error estimation. Another approach [21] introduces a new objective function based on least squares (LS) to address the RSS localization problem and uses SOCP relaxation to convert the problem into a convex one.
However, these relaxation-based approaches often suffer from performance degradation due to two key limitations: (1) simplified convex models fail to fully capture the nonlinear effects of signal attenuation and log-normal shadowing, leading to biased estimates in high-noise scenarios [20]; (2) most existing methods neglect the heterogeneous impact of noise across anchor nodes, particularly the stronger influence of distant anchors with weaker RSS signals [19]. Additionally, traditional weighted strategies rely on fixed heuristics (e.g., uniform weights or simple distance thresholds), which cannot adaptively prioritize reliable measurements under dynamic noise conditions [21]. To address these limitations, various nonconvex optimization approaches and weighting strategies have been proposed. For instance, ref. [23] introduces an LS-based nonconvex estimator that approximates the ML estimator and reformulates it within a generalized trust region subproblem (GTRS) framework, effectively reducing computational complexity and improving solution speed. Additionally, ref. [25] proposes an error covariance matrix-based weighting approach to enhance localization accuracy using WLS. Other studies, such as [31,36], introduce distance-based weighting methods to prioritize nearby links for improved accuracy. Similarly, ref. [15] presents a two-step error variance-WLS method, where the first step estimates the target’s location using LS, and the second step refines this estimate with WLS, incorporating weights based on error variance from the first step. This approach mitigates the impact of uncertain anchors and terms, resulting in enhanced accuracy [33]. Despite these advancements, existing studies have not fully addressed the aforementioned gaps, leaving room for further improvement in localization accuracy and network efficiency. By comparing the static nature of traditional weighting strategies with the dynamic nature of the proposed method, it is evident that there is a need for more adaptive and efficient approaches to address the limitations of current techniques.
In this paper, we introduce a two-step localization method, SD/SOCP-GTRS, to achieve globally optimal target localization using RSS measurements. The proposed method directly addresses the above gaps through two synergistic innovations: In Step 1, the convex relaxation process is designed to minimize initial bias by incorporating signal attenuation characteristics into the relaxation constraints, thereby preserving the nonlinear relationship between RSS and distance even under severe shadowing. In Step 2, a dynamic weighting mechanism is developed to refine the estimate. Unlike prior static weighting schemes, our weights adaptively combine Euclidean distance (to emphasize nearby anchors) and noise variance (to suppress high-noise measurements), enabling real-time adjustment based on the initial coarse estimate from Step 1. This dual-weighting strategy, coupled with the GTRS framework, effectively mitigates both relaxation-induced errors and measurement noise. The interplay between these steps ensures that the proposed method maintains robustness against signal attenuation while recovering the optimality lost in convex approximations.
The primary contributions of this paper are as follows:
(1) A nonconvex estimator is derived that approximates the ML estimator while eliminating the logarithmic term in the residual. A convex estimator is then obtained through convex relaxation.
(2) A weight is calculated based on the Euclidean distance and standard deviation, using the initial estimate from Step 1.
(3) The accuracy of the estimate is further refined using WLS and GTRS methods to recover performance degradation from the relaxation and approximation processes.
Throughout this paper, the following notations are used: R n denotes the set of n-dimensional real column vectors. The boldface lowercase letter x R n represents a column vector, while the boldface uppercase letter A R M × N represents an M × N matrix. The entry d i denotes the i-th element of the vector d . The notation · refers to the 2 -norm, and max 1 i N | b i | represents the -norm, also known as the Chebyshev norm. The transpose of vector a is denoted as a T , and V ( a ) represents the variance of variable a. The operator diag ( M ) denotes the diagonal matrix with M as its diagonal elements, and I N represents an N × N identity matrix. For Hermitian matrices A and B , the notation A B indicates that A B is positive semidefinite.
The remainder of this paper is organized as follows. Section 2 introduces the RSS models, the localization scenario, and the localization problem. Section 3 outlines the derivation of the proposed two-step localization method. Section 4 discusses the computational complexity of the proposed method. Section 5 presents computer simulation results and compares the performance of the proposed method with other approaches. Finally, Section 6 concludes the paper.

2. System Model and Problem Formulation

Consider a WSN consisting of N anchor nodes and a target node. The anchor nodes are randomly deployed at known locations s 1 , s 2 , , s N ( s i = ( s i 1 , s i 2 ) T R 2 ), while the target node’s location x = ( x 1 , x 2 ) T R 2 is unknown. A designated reference node is positioned at a known reference distance d 0 from the target node. It provides the reference path loss L 0 (in dB) at d 0 , which serves as a baseline for signal strength normalization. Using this reference, the i-th anchor node can determine the path loss L i between itself and the target node, as illustrated in Figure 1. The corresponding measurement model is expressed as follows:
L i = L 0 + 10 γ log 10 x s i d 0 + n i ,
where γ is the path loss exponent (PLE), and n i represents log-normal shadowing terms (herein termed noise), which are modeled as n i N ( 0 , σ n i 2 ) .
Given the RSS measurements L i ( i = 1 , 2 , , N ), the goal of RSS-based localization is to estimate the target’s location x using the model (1). The ML estimator of the target’s location is derived by minimizing the following expression:
min x i = 1 N L i L 0 10 γ log 10 x s i d 0 2 .
The goal is to obtain the most accurate estimate of the target node’s location, x . However, it is clear that (2) is nonconvex, posing significant challenges in its solution.

3. The Proposed Localization Method

In this section, we will detail the implementation of the proposed two-step SD/SOCP-GTRS method. The methodology is structured into two steps:
Step 1 (Convex Relaxation): The nonconvex ML problem is transformed into a convex problem by applying SDP and SOCP relaxation. This step generates an initial coarse estimate of the target location.
Step 2 (Refinement): Measurements are dynamically weighted based on their Euclidean distance and noise variance. The weighted data are then processed using the WLS-GTRS framework to refine the initial estimate, converging toward the global optimum.
The framework of the proposed scheme is illustrated in Figure 2.

3.1. Step 1: Convex Relaxation

To derive a convex estimator, the following lemmas are introduced.
Lemma 1.
If x R d , then
(1) x x 2 d x ;
(2) x x 1 d x .
Lemma 2.
The norms x a and x b are equivalent if there exist positive constants c 1 and c 2 , such that c 1 x b x a c 2 x b for any x R d .
Lemma 3.
For any m , n R , max { m , n } m + n 2 .
Next, the proposed localization method is derived.
First, (1) is rewritten as follows:
L i L 0 5 γ = log 10 x s i 2 d 0 2 + n i 5 γ .
Using the change in base formula, (3) is expressed as follows:
ln 10 ( L i L 0 ) 5 γ = ln x s i 2 d 0 2 + ln 10 5 γ n i .
Applying the logarithmic identity, (4) becomes the following:
ln e ln 10 ( L i L 0 ) 5 γ = ln x s i 2 d 0 2 + ln 10 5 γ n i .
Let β i 2 = d 0 2 e ln 10 ( L i L 0 ) 5 γ , where e is the base of the natural logarithm. Ref. (5) is then transformed into the following:
ln β i 2 x s i 2 = ln 10 5 γ n i .
Thus, the ML estimator is formulated as follows:
min x i = 1 N ln β i 2 x s i 2 2 .
By applying Lemmas 1 and 2 and replacing the 2 norm with the norm (also known as the Chebyshev norm), the optimization problem (7) can be reformulated into a Chebyshev norm form:
min x max 1 i N | ln β i 2 x s i 2 | .
Then,
| ln β i 2 x s i 2 | = ln β i 2 x s i 2 , β i 2 x s i 2 1 , ln x s i 2 β i 2 , 0 < β i 2 x s i 2 < 1 .
The following can then be derived:
max 1 i N | ln β i 2 x s i 2 | = max 1 i N ln max β i 2 x s i 2 , x s i 2 β i 2 .
Substituting (10) into (8) results in the following:
min x max 1 i N ln max β i 2 x s i 2 , x s i 2 β i 2 .
Since f ( x ) = ln x is a strictly monotonic function within its domain, (11) can be simplified by eliminating the logarithm, resulting in the following form:
min x max 1 i N max β i 2 x s i 2 , x s i 2 β i 2 .
Using Lemma 3, the following inequality is obtained:
max β i 2 x s i 2 , x s i 2 β i 2 β i 2 x s i 2 + x s i 2 β i 2 2 .
Thus, the (12) can be reformulated as follows:
min x max 1 i N β i 2 x s i 2 + x s i 2 β i 2 2 .
By applying Lemmas 1 and 2 and substituting the norm with the 2 norm, the optimization problem (14) is expressed as follows:
min x i = 1 N β i 2 x s i 2 + x s i 2 β i 2 2 2 .
Introducing auxiliary variables u i = β i 2 x s i 2 , v i = x s i 2 β i 2 and z i = u i + v i 2 , (15) can be further expressed as follows:
min x , z , u i , v i z 2 ,
s . t .
z i = u i + v i 2 ,
u i = β i 2 x s i 2 ,
v i = x s i 2 β i 2 .
To solve (14) more effectively, an epigraph variable t is introduced, and semidefinite and second-order cone relaxations are applied in the forms of 1 u i v i and z 2 t , respectively. As a result, the optimization problem (16) is transformed into the following epigraph form:
min x , z , u i , v i , t t ,
s . t .
z i = u i + v i 2 ,
u i = β i 2 x s i 2 ,
v i = x s i 2 β i 2 ,
2 z t 1 t + 1 ,
u i 1 1 v i 0 .
Next, let y = x 2 . Using the relationship between SDP and SOCP, we can express the nonconvex constraint y = x 2 as x 2 y . This allows the problem (17) to be reformulated as the following convex problem:
min x , z , u i , v i , t , y t ,
s . t .
z i = u i + v i 2 ,
u i β i β i y 2 s i T x + s i 2 0 ,
v i = y 2 s i T x + s i 2 β i 2 ,
2 z t 1 t + 1 ,
u i 1 1 v i 0 ,
2 x y 1 y + 1 .
Upon solving the convex problem (18), a preliminary estimate of the target’s location, denoted as x cvx , is obtained. This estimator is referred to as “SD/SOCP”.

3.2. Step 2: Refinement

In Step 1, the effects of noise and distance on localization performance are not considered. In this step, the approximate solution x cvx obtained in Step 1 is utilized to account for the impact of log-normal shadowing terms. Additionally, weights are introduced to emphasize nearby links, incorporating the influence of the distance between anchor nodes and the target node to further enhance localization accuracy.
First, note that (6) can be reformulated as follows:
ln x s i 2 β i 2 = ln 10 5 γ n i .
Next, a first-order Taylor series approximation is applied to the logarithmic terms, leading to the following expression:
x s i 2 β i 2 ξ i ,
where ξ i = β i 2 ln 10 5 γ n i .
The Variance of ξ i is calculated as follows:
V ( ξ i ) = E ( ( ξ i E ( ξ i ) ) 2 ) = β i 2 ln 10 5 γ 2 σ i 2 .
For simplicity, assume that σ i = σ for all anchor nodes. In this case, the weight w 1 i can be expressed as follows:
w 1 i = σ 2 V ( ξ i ) = 1 β i 2 ln 10 5 γ 2 .
To further enhance the localization accuracy, an additional weight w 2 i is introduced to prioritize nearby links:
w 2 i = 1 d ^ i i = 1 N d ^ i ,
where d ^ i = x cvx s i , and x cvx is the target node’s estimated location from Step 1. This weighting scheme is based on the fact that RSS short-range measurements are more reliable than long-range ones. The RSS measurements have a constant multiplicative factor with distance, leading to larger errors for remote links compared to nearby ones. Thus, this weight definition better reflects the reliability of different links, improving localization accuracy.
The final comprehensive weight is then calculated as follows:
w i = w 1 i w 2 i .
Thus, the WLS estimator becomes the following:
min x i = 1 N w i x s i 2 β i 2 2 .
By introducing the substitution x ˜ = [ x , x ] T , the optimization problem (27) can be reformulated into a GTRS form:
min x ˜ W ( A x ˜ b ) 2 ,
s . t .
x ˜ T D x ˜ + 2 ι T x ˜ = 0 ,
where D = d i a g ( [ 1 , 1 , 0 , 0 ] ) , ι = 0 , 0 , 1 2 T , W = diag ( [ w i ] ) , and A = 2 s 1 T 1 2 s N T 1 , b = β 1 2 s 1 2 β N 2 s N 2 .
The refinement step involves using the estimate from Step 1 to calculate the weights, giving more importance to nearby links and accounting for the noise variance at each anchor node to improve the accuracy of the target’s location estimation. Simulation results in Section 5 demonstrate the effectiveness of the proposed method. In the following sections, we refer to the convex problem (26) as “SD/SOCP-GTRS”.
Figure 3 illustrates the two-step localization process. For (a), the original nonconvex ML problem (red curve) exhibits multiple local minima, making it challenging to find the global optimum. This complexity is due to the nonlinear effects of signal attenuation and noise. For (b), convex relaxation (blue region) transforms the nonconvex problem into a convex problem by expanding the feasible space. This step simplifies the search space, enabling an efficient global search for an initial estimate ( x cvx ). Although this may introduce slight bias, it ensures a feasible initial estimate even under severe noise conditions. For (c), refinement via WLS-GTRS (green arrow) adjusts the initial estimate toward the true ML optimum. This refinement prioritizes reliable measurements by dynamically weighting based on Euclidean distance and noise variance, effectively ’pulling’ the solution closer to the true target location. The interplay between these steps ensures robustness against signal attenuation and noise while recovering the optimality lost in convex approximations.

4. Computational Complexity Analysis

This section analyzes the computational complexity of the proposed SD/SOCP-GTRS method and compares it with existing approaches. Grasping the computational demands of each step is vital for evaluating the method’s practicality and efficiency. All considered methods involve an inherent trade-off between estimation accuracy and implementation complexity. Here, the method for the worst-case complexity of the mixed SD/SOCP, as presented in [37], is adopted to analyze the complexities of the proposed method and other methods considered in this paper. The computational complexity formula is as follows:
O L m i = 1 N s d c n i s d c 3 + m 2 i = 1 N s d c n i s d c 2 + m 2 i = 1 N s o c n i s o c + i = 1 N s o c n i s o c 2 + m 3 ,
where L represents the number of iterations of the method, m is the number of equality constraints, N s d c and N s o c are the numbers of semi-definite cone (SDC) and second-order constraints (SOC), respectively, and n i s d c and n i s o c are the dimensions of the i-th SDC and i-th SOC, respectively. Assume K max is the maximum number of steps in the bisection procedure used by GTRS.
For the proposed SD/SOCP-GTRS method, in Step 1, it needs to solve a SOCP with two constraints and an SDP with 2 N constraints. The worst-case complexity, mainly determined by the interior point algorithm, scales as O ( N 3.5 ) . This step is crucial as it transforms the nonconvex problem into a tractable convex form, thus providing a reliable initial estimate. In Step 2, GTRS has to solve a quadratically constrained quadratic program. With the bisection method involving K max iterations, the complexity is O ( K max N ) . This refinement step improves the accuracy of the initial estimate by adaptively weighing measurements according to their reliability. Consequently, the overall complexity of the proposed method is the sum of the complexities of these two steps, namely O ( N 3.5 ) + O ( K max N ) .
Table 1 summarizes the worst-case complexities of each method. The proposed SD/SOCP-GTRS method strikes a favorable balance between computational complexity and localization accuracy. By effectively integrating convex relaxation with a refinement step, it attains high accuracy while maintaining manageable computational requirements. This makes it especially suitable for real-time applications in WSNs and other resource-constrained scenarios.

5. Simulation Results

In this section, we evaluate the performance of the proposed SD/SOCP-GTRS estimator through Monte Carlo (Mc) simulations. We simulate a relatively small environment, such as a home or a small office, where one target node is randomly and uniformly distributed within a square area of 20 × 20   m 2 . Figure 4 shows an example of a network deployed with one target node and five anchor nodes. We examine networks with two different anchor node deployments. In the first network, the anchor nodes are regularly placed at the corners and the center of the area, as shown in Figure 4a. In the second network, the anchor nodes are irregularly placed, as depicted in Figure 4b. In the simulations, unless otherwise specified, in the simulated experiments, the positions of the target node and the anchor nodes are irregularly and randomly distributed within the square area of 20 × 20   m 2 . Initially, it is assumed that the network is fully connected; that is, all anchor nodes and the target node can communicate with each other. The path loss exponent of the RSS measurement model (1) is set to γ = 2.5 , and the shadowing standard deviation is set to σ = 4 dB. It is assumed that all nodes have the same transmission power, and the received power at the reference distance d 0 = 1 m is set to L 0 = 40 dB. We use the CVX toolbox to solve the SDP and SOCP problems [34,35,37,38,39,40] and use MATLAB’s lsqnonlin function to solve the ML estimator. The proposed method is compared with three other algorithms in the literature, and these algorithms are described in Table 1. For context, we also include the CRLB and the ML solution using the true target location as the starting point, referred to as “ML-True”. In the following sections, we will assess the performance of the proposed method across various scenarios. The performance of the discussed methods is evaluated using the root mean square error (RMSE), defined as follows:
RMSE = 1 Mc i = 1 Mc x x ^ 2 ,
where x ^ and x represent the estimated and true locations for the i-th Monte Carlo run, respectively, and Mc = 3000 denotes the number of runs.

5.1. Effect of the Shadowing Standard Deviation

Figure 5 shows the RMSE performance of different localization methods under different shadowing standard deviations ( σ ). As σ increases from low to high values, the RMSE of all methods increases due to reduced RSS measurement reliability from higher noise levels. Specifically, the RMSE of the DEOR method shows a significant increase at higher σ values, while the proposed SD/SOCP-GTRS method achieves a notable reduction in error compared to others. Although the intermediate estimate of the first step (SD/SOCP) remains stable with a certain level of RMSE, it is slightly less accurate than the SDP-LSRE method. However, after the second step (GTRS refinement), the RMSE of SD/SOCP-GTRS further decreases, outperforming others and staying close to the theoretical bounds across all σ values. This indicates that the proposed method can maintain robustness through two-step optimization even under strong noise interference, with performance approaching the theoretical optimum.

5.2. Effect of the Number of the Anchor Nodes

Figure 6 shows how the number of anchor nodes (N) affects localization accuracy when σ = 4 dB and γ = 2.5 . As N increases from 4 to 16, the RMSE of all methods decreases significantly. For instance, the RMSE of our SD/SOCP-GTRS method drops substantially with increasing N, showing a marked improvement in localization accuracy. More anchor nodes provide redundant RSS measurements, and their spatial diversity effectively suppresses noise. Notably, SD/SOCP-GTRS outperforms other methods (except ML-True) across all anchor node configurations. At moderate N values, its RMSE is significantly lower than SDP’s and remains close to the theoretical bounds. This indicates that SD/SOCP-GTRS remains robust, whether in sparse or dense anchor node deployments, offering a flexible precision-cost trade-off for real-world networks like urban environments or industrial facilities.

6. Conclusions

This paper presents a two-step localization method for RSS-based localization in WSNs. In the first step, a convex estimator is derived using SDP and SOCP. In the second step, a weight is introduced to further enhance localization accuracy. Monte Carlo simulations are conducted to evaluate the effects of shadowing standard deviation and the number of anchor nodes. The results demonstrate that the proposed SD/SOCP-GTRS method consistently outperforms the other methods, establishing it as the optimal choice for RSS-based localization in WSNs. This method has practical deployment potential in critical applications such as smart cities, enabling precise tracking of vehicles and pedestrians. Future work will extend it to 3D environments and integrate hybrid measurement systems to enhance the robustness of 6G-enabled smart infrastructures. Additionally, the impact of non-uniform anchor node distribution on localization accuracy will be studied, and the integration of this method with other localization techniques, such as AOA or TDOA, will be explored.

Author Contributions

All the authors are contributed equally to prepare this article. Conceptualization, S.C. and L.L.; Formal analysis, S.C. and L.L.; Methodology, S.C. and L.L.; Writing—original draft, S.C. and L.L.; Writing—review and editing, S.C. and L.L. 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.

Abbreviations

The following abbreviations are used in this paper:
TOATime of Arrival
TDOATime Difference of Arrival
AOAAngle of Arrival
RSSReceived Signal Strength
WLSWeighted Least Square
WSNsWireless Sensor Networks
MLMaximum likelihood
LSLeast Squares
PLEPath Loss Exponent
SDPSemidefinite Programming
SOCPSecond-Order Cone Programming
GTRSGeneralized Trust Region Subproblem
CRLBCramér-Rao Lower Bound
MDSMultidimensional Scaling
McMonte Carlo
RMSERoot Mean Square Error

References

  1. Rappaport, T.S. Wireless Communications: Principles and Practice; Prentice-Hall: Upper Saddle River, NJ, USA, 1996. [Google Scholar]
  2. Patwari, N.; Ash, J.N.; Kyperountas, S.; Hero, A.; Moses, R.L.; Correal, N.S. Locating the nodes: Cooperative localization in wireless sensor networks. IEEE Signal Process. Mag. 2005, 22, 54–69. [Google Scholar] [CrossRef]
  3. Akyildiz, I.F.; Su, W.; Sankarasubramaniam, Y.; Cayirci, E. Wireless sensor networks: A survey. Comput. Netw. 2002, 38, 393–422. [Google Scholar] [CrossRef]
  4. Butt, F.A.; Jalil, M.; Liaquat, S.; Alawsh, S.A.; Naqvi, I.H.; Mahyuddin, N.M.; Muqaibel, A.H. Self-calibration of wireless sensor networks using adaptive filtering techniques. Results Eng. 2025, 25, 103775. [Google Scholar] [CrossRef]
  5. Zhang, S.; Xu, Y.; Yu, S.A.; Liao, Q.; Yu, J.; Wang, Y. Localization matters too: How localization error affects UAV flight. arXiv 2024, arXiv:2403.01428. [Google Scholar]
  6. Hu, X.; Wang, Z.; Zhao, J.; Wang, R.; Lei, H.; Liu, W.; Long, B. Location method for emergency rescue node on expressways based on spatio-temporal characteristics of vehicle operation. Sci. Rep. 2024, 14, 19435. [Google Scholar] [CrossRef]
  7. Saju, S.; Swaminathan, K.; Ravindran, V.; Ponraj, R.P.; Mary, P.D.; Sureshkumar, A. Enhancing Network Lifespan Longevity Through Optimal Routing in Wireless Sensor Networks. In World Conference on Artificial Intelligence: Advances and Applications; Springer Nature: Singapore, 2024; pp. 361–371. [Google Scholar]
  8. Zhao, S.H.; Zhang, X.P.; Cui, X.W.; Lu, M.Q. Semidefinite Programming Two-Way TOA Localization for User Devices with Motion and Clock Drift. IEEE Signal Process. Lett. 2021, 28, 578–582. [Google Scholar] [CrossRef]
  9. Wu, S.; Zhang, S.; Huang, D. A TOA-Based Localization Algorithm with Simultaneous NLOS Mitigation and Synchronization Error Elimination. IEEE Sens. Lett. 2019, 3, 1. [Google Scholar] [CrossRef]
  10. Shi, Q.; Cui, X.W.; Zhao, S.H.; Lu, M.Q. Sequential TOA-Based Moving Target Localization in Multi-Agent Networks. IEEE Commun. Lett. 2020, 24, 1719–1723. [Google Scholar] [CrossRef]
  11. Wang, G.; Chen, H.; Zhu, W.; Ansari, N. Robust TDOA-Based Localization for IoT via Joint Source Position and NLOS Error Estimation. IEEE Int. Things J. 2019, 6, 4119–4129. [Google Scholar] [CrossRef]
  12. Dong, J.Q.; Lian, Z.Z.; Xu, J.C.; Yue, Z. An Improved Adaptive Sparrow Search Algorithm for TDOA-Based Localization. ISPRS Int. J. Geo-Inf. 2023, 12, 334. [Google Scholar] [CrossRef]
  13. Xu, S.; Dogancay, K. Optimal Sensor Placement for 3D Angle-of-Arrival Target Localization. IEEE Trans. Aerosp. Electron. Syst. 2017, 53, 1196–1211. [Google Scholar] [CrossRef]
  14. Wang, Y.; Ho, K.C. An Asymptotically Efficient Estimator in Closed-Form for 3-D AOA Localization Using a Sensor Network. IEEE Trans. Wirel. Commun. 2015, 14, 6524–6535. [Google Scholar] [CrossRef]
  15. 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]
  16. 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]
  17. Tomic, S.; Beko, M.; Dinis, R.; Lipovac, V. RSS-based Localization in Wireless Sensor Networks Using SOCP Relaxation. In Proceedings of the 2013 IEEE 14th Workshop on Signal Processing Advances in Wireless Communications (SPAWC), Darmstadt, Germany, 16–19 June 2013; pp. 749–753. [Google Scholar]
  18. Yin, F.; Zhao, Y.; Gunnarsson, F. Distributed Recursive Gaussian Processes for RSS Map Applied to Target Tracking. IEEE Trans. Signal Process. 2007, 11, 492–503. [Google Scholar] [CrossRef]
  19. 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. Vehic. Technol. 2010, 59, 1307–1318. [Google Scholar] [CrossRef]
  20. Wang, Z.; Zhang, H.; Lu, T.; Gulliver, T.A. Cooperative RSS-Based Localization in Wireless Sensor Networks Using Relative Error Estimation and Semidefinite Programming. IEEE Trans. Veh. Technol. 2019, 68, 483–497. [Google Scholar] [CrossRef]
  21. Tomic, S.; Beko, M.; Dinis, R. RSS-based Localization in Wireless Sensor Networks Using Convex Relaxation: Noncooperative and Cooperative Schemes. IEEE Trans. Veh. Technol. 2015, 64, 2037–2050. [Google Scholar] [CrossRef]
  22. Yan, Q.; Xiong, W.; Wang, H.M. TransGAN-based secure indoor localization against adversarial attacks. IEEE Internet Things J. 2025, 12, 5918–5930. [Google Scholar] [CrossRef]
  23. Tomic, S.; Beko, M.; Dinis, R. 3-D target localization in wireless sensor network using RSS and AOA measurement. IEEE Trans. Veh. Technol. 2017, 66, 3197–3210. [Google Scholar] [CrossRef]
  24. Xiong, H.L.; Peng, M.; Gong, S.; Du, Z.F. A Novel Hybrid RSS and TOA Positioning Algorithm for Multi-Objective Cooperative Wireless Sensor Networks. IEEE Sen. J. 2018, 18, 9343–9351. [Google Scholar] [CrossRef]
  25. Khan, M.W.; Salman, N.; Kemp, A.H.; Mihaylova, L. Localisation of sensor nodes with hybrid measurements in wireless sensor networks. Sensors 2016, 16, 1143. [Google Scholar] [CrossRef] [PubMed]
  26. Xiong, W.; Mohanty, S.; Schindelhauer, C.; Rupitsch, S.J.; So, H.C. Convex Relaxation Approaches to Robust RSS-TOA Based Source Localization in NLOS Environments. IEEE Trans. Veh. Technol. 2023, 72, 11068–11073. [Google Scholar] [CrossRef]
  27. Yu, K. 3-D localization error analysis in wireless networks. IEEE Trans. Wirel. Commun. 2007, 6, 3472–3481. [Google Scholar]
  28. Sun, Y.; Zhou, Z.P.; Tang, S.L.; Ding, X.K.; Yin, J.; Wan, Q. 3D hybrid TOA-AOA source localization using an active and a passive station. In Proceedings of the 2016 IEEE 13th International Conference on Signal Processing (ICSP), Chengdu, China, 6–10 November 2016; pp. 257–260. [Google Scholar]
  29. Wang, Y.; Ho, K.C. Unified Near-Field and Far-Field Localization for AOA and Hybrid AOA-TDOA Positionings. IEEE Trans. Wirel. Commun. 2018, 17, 1242–1254. [Google Scholar] [CrossRef]
  30. Kang, X.; Wang, D.J.; Shao, Y.; Ma, M.Y.; Zhang, T. An Efficient Hybrid Multi-station TDOA and Single-station AOA Localization Method. IEEE Trans. Wirel. Commun. 2023, 22, 5657–5670. [Google Scholar] [CrossRef]
  31. Tomic, S.; Beko, M.; Dinis, R. A Closed-Form Solution for RSS/AOA Target Localization by Spherical Coordinates Conversion. IEEE Wirel. Commun. Lett. 2016, 5, 680–683. [Google Scholar] [CrossRef]
  32. Chang, S.M.; Zheng, Y.; An, P.; Bao, J.Y.; 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]
  33. 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]
  34. Boyd, S.; Vandenberghe, L. Convex Optimization; Cambridge University Press: Cambridge, MA, USA, 2004. [Google Scholar]
  35. Ben-Tal, A.; Nemirovski, A. Lectures on Modern Convex Optimization: Analysis, Algorithms, and Engineering Applications; ser. MPS-SIAM Series on Optimization; Society for Industrial and Applied Mathematics: Philadelphia, PA, USA, 2001. [Google Scholar]
  36. Chang, B.; Zhang, X.; Bian, H. An Accurate Cooperative Localization Algorithm Based on RSS Model and Error Correction in Wireless Sensor Networks. Electronic 2024, 13, 2131. [Google Scholar] [CrossRef]
  37. Pólik, I.; Terlaky, T. Interior Point Methods for Nonlinear Optimization. In Nonlinear Optimization, 1st ed.; Di Pillo, G., Schoen, F., Eds.; Springer: Berlin/Heidelberg, Germany, 2010. [Google Scholar]
  38. Sturm, J.F. Using SeDuMi 1.02, a MATLAB Toolbox for Optimization Over Symmetric Cones. Opt. Meth. Soft. 1999, 11, 625–653. [Google Scholar] [CrossRef]
  39. Toh, K.C.; Todd, M.J.; Tütüncü, R.H. On the implementation and usage of SDPT3—A MATLAB software package for semidefinite quadratic linear programming, version 4.0. In Handbook on Semidefinite, Conic and Polynomial Optimization; ser. International Series in Operations Research and Management Science; Springer Science+Business Media, LLC: New York, NY, USA, 2012; Volume 166, pp. 715–754. [Google Scholar]
  40. Grant, M.; Boyd, S. CVX: Matlab Software for Disciplined Convex Programming. Version 1.21. Available online: https://cvxr.com/cvx/ (accessed on 15 April 2010).
Figure 1. Illustration of the link between the target node and the i-th anchor node in WSNs.
Figure 1. Illustration of the link between the target node and the i-th anchor node in WSNs.
Sensors 25 01837 g001
Figure 2. Proposed two-step SD/SOCP-GTRS method flowchart.
Figure 2. Proposed two-step SD/SOCP-GTRS method flowchart.
Sensors 25 01837 g002
Figure 3. Geometric interpretation of convex relaxation and refinement for the nonconvex ML problem.
Figure 3. Geometric interpretation of convex relaxation and refinement for the nonconvex ML problem.
Sensors 25 01837 g003
Figure 4. Two networks with different anchor nodes deployments. The target node and anchor nodes are represented by circles and squares, respectively. (a) The first network with a regular deployment. (b) The second network with an irregular deployment.
Figure 4. Two networks with different anchor nodes deployments. The target node and anchor nodes are represented by circles and squares, respectively. (a) The first network with a regular deployment. (b) The second network with an irregular deployment.
Sensors 25 01837 g004
Figure 5. RMSE versus shadowing standard deviation σ (dB) for N = 8 , γ = 2.5 , L 0 = 40 dB, d 0 = 1 m, and M c = 3000 .
Figure 5. RMSE versus shadowing standard deviation σ (dB) for N = 8 , γ = 2.5 , L 0 = 40 dB, d 0 = 1 m, and M c = 3000 .
Sensors 25 01837 g005
Figure 6. RMSE versus the number of anchor nodes N for σ = 4 dB, γ = 2.5 , L 0 = 40 dB, d 0 = 1 m, and M c = 3000 .
Figure 6. RMSE versus the number of anchor nodes N for σ = 4 dB, γ = 2.5 , L 0 = 40 dB, d 0 = 1 m, and M c = 3000 .
Sensors 25 01837 g006
Table 1. Worst-case computational complexities of considered methods.
Table 1. Worst-case computational complexities of considered methods.
MethodDescriptionComplexity
SDPThe SDP method in [19] O ( N 4.5 )
SDP-LSREThe SDP-LSRE method in [20] O ( N 4.5 )
ECLAThe ECLA method in [36] O ( K m a x N )
DEORThe DEOR method in [33] O ( K m a x N )
SD/SOCPThe proposed method in Section 3.1 O ( N 3.5 )
SD/SOCP-GTRSThe proposed method in Section 3.2 O ( N 3.5 ) + O ( K m a x N )
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

Chang, S.; Li, L. A Two-Step SD/SOCP-GTRS Method for Improved RSS-Based Localization in Wireless Sensor Networks. Sensors 2025, 25, 1837. https://doi.org/10.3390/s25061837

AMA Style

Chang S, Li L. A Two-Step SD/SOCP-GTRS Method for Improved RSS-Based Localization in Wireless Sensor Networks. Sensors. 2025; 25(6):1837. https://doi.org/10.3390/s25061837

Chicago/Turabian Style

Chang, Shengming, and Lincan Li. 2025. "A Two-Step SD/SOCP-GTRS Method for Improved RSS-Based Localization in Wireless Sensor Networks" Sensors 25, no. 6: 1837. https://doi.org/10.3390/s25061837

APA Style

Chang, S., & Li, L. (2025). A Two-Step SD/SOCP-GTRS Method for Improved RSS-Based Localization in Wireless Sensor Networks. Sensors, 25(6), 1837. https://doi.org/10.3390/s25061837

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