Next Article in Journal
Feature Extraction for Low-Speed Bearing Fault Diagnosis Based on Spectral Amplitude Modulation and Wavelet Threshold Denoising
Previous Article in Journal
An Enhanced Cascaded Deep Learning Framework for Multi-Cell Voltage Forecasting and State of Charge Estimation in Electric Vehicle Batteries Using LSTM Networks
Previous Article in Special Issue
Secure Fusion with Labeled Multi-Bernoulli Filter for Multisensor Multitarget Tracking Against False Data Injection Attacks
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

A Modified Differential Evolution for Source Localization Using RSS Measurements

School of Cyber Science and Engineering, Ningbo University of Technology, Ningbo 315211, China
*
Author to whom correspondence should be addressed.
Current address: No. 201, Fenghua Road, Jiangbei District, Ningbo 315211, China.
These authors contributed equally to this work.
Sensors 2025, 25(12), 3787; https://doi.org/10.3390/s25123787
Submission received: 5 April 2025 / Revised: 9 June 2025 / Accepted: 14 June 2025 / Published: 17 June 2025

Abstract

:
In wireless sensor networks, evolutionary algorithms have emerged as pivotal tools for addressing complex localization challenges inherent in non-convex and nonlinear maximum likelihood estimation problems associated with received signal strength (RSS) measurements. While differential evolution (DE) has demonstrated notable efficacy in optimizing multimodal cost functions, conventional implementations often grapple with suboptimal convergence rates and susceptibility to local optima. To overcome these limitations, this paper proposes a novel enhancement of DE by integrating opposition-based learning (OBL) principles. The proposed method introduces an adaptive scaling factor that dynamically balances global exploration and local exploitation during the evolutionary process, coupled with a penalty-augmented cost function to effectively utilize boundary information while eliminating explicit constraint handling. Comparative evaluations against state-of-the-art techniques—including semidefinite programming, linear least squares, and simulated annealing—reveal significant improvements in both convergence speed and positioning precision. Experimental results under diverse noise conditions and network configurations further validate the robustness and superiority of the proposed approach, particularly in scenarios characterized by high environmental uncertainty or sparse anchor node deployments.

1. Introduction

Wireless sensor networks (WSNs), composed of spatially distributed nodes with sensing, computation, and communication capabilities, have become indispensable in applications ranging from environmental monitoring to industrial automation [1]. These networks typically comprise two distinct node categories: anchor nodes (ANs), with precisely known coordinates, and a target node (TN), requiring localization. While WSNs offer substantial benefits in data collection efficiency, their positioning accuracy remains hindered by environmental noise, hardware imperfections, and non-line-of-sight (NLOS) propagation effects [2]. The criticality of accurate localization stems from the spatial dependency of sensor data, where positional context fundamentally determines information relevance in scenarios such as disaster response and military surveillance.
Distance-based localization methodologies, including time of arrival (TOA) [3], time difference of arrival (TDOA) [4], angle of arrival (AOA) [5], and received signal strength (RSS) [6] techniques, have been extensively investigated. Among these, RSS-based approaches dominate practical implementations due to their hardware simplicity and energy efficiency [7]. The RSS localization framework typically formulates a maximum likelihood (ML) estimation problem derived from the log-normal shadowing model [1]. Despite its prevalence, RSS localization has two inherent limitations: sensitivity to path-loss exponent variations and non-convexity in ML estimation when the transmitter power is unknown.
Conventional optimization techniques, such as least squares (LS), weighted least squares (WLS), and semidefinite programming (SDP) [8], often require meticulous initialization to avoid convergence to local minima in multimodal cost landscapes. Evolutionary algorithms—notably differential evolution (DE) [9], particle swarm optimization (PSO) [10], and simulated annealing (SA) [11]—have demonstrated superior global optimization capabilities for such non-convex problems. DE, in particular, has gained prominence due to its balance of computational efficiency and robustness [12]. Recent advancements integrate opposition-based learning (OBL) [13,14,15,16,17] to enhance population diversity, as exemplified in DEOR variants [18]. Nevertheless, two critical limitations persist in existing DE implementations: (1) fixed scaling factors (F), that enforce suboptimal exploration–exploitation trade-offs; and (2) restrictive boundary constraints, that disregard valuable information from infeasible solutions during early iterations.
This paper addresses these limitations through two synergistic enhancements to DE. Firstly, an adaptive scaling factor mechanism is proposed. This mechanism adjusts the scaling factor F dynamically according to the running state of the algorithm during the optimization process. When F 0.5 , the algorithm focuses on global exploration, widely searching the solution space to obtain the approximate feasible region of the problem. As the optimization progresses, when F 0.5 , the algorithm automatically switches to the local refinement mode, conducting a detailed search for the feasible region obtained earlier to improve the accuracy of the solution. Secondly, a penalty-augmented cost function is introduced. In the early stages of algorithm iteration, feasible solutions close to the boundary are fully utilized to provide directional guidance for the search. At the same time, as the number of iterations increases, this function gradually increases the penalty for constraint violations, effectively guiding the algorithm to find the optimal solution that satisfies the constraint conditions. In addition, in this study, the initial search boundary is strategically broadened to ensure that the algorithm can cover a wider solution space and avoid becoming trapped in local optima. Moreover, the traditional explicit constraint-handling link is removed, simplifying the algorithm process. Through the above improvements, this method can significantly accelerate the convergence speed while ensuring that the quality of the solution is not affected, providing an efficient algorithm support for solving complex optimization problems.
The remainder of this paper is organized as follows: Section 2 formalizes the localization problem and DE fundamentals. Section 3 details the proposed algorithmic enhancements. A parameter sensitivity analysis appears in Section 4, followed by comprehensive performance comparisons in Section 5. Conclusions and future directions are discussed in Section 6.

2. Source Localization with Differential Evolution

2.1. Localization Problem Formulation

Consider a two-dimensional (2-D) WSNs comprising N ANs with known coordinates x n = ( x n , y n ) R 2 for n = 1 , , N , and a TN at unknown position x 0 = ( x 0 , y 0 ) . The RSS at the n-th anchor node follows the log-normal shadowing model [1]:
P n = P 0 10 γ log 10 x n x 0 + χ n ,
where · denotes the Euclidean norm, P 0 denotes the transmit power, γ is the path-loss exponent, and  χ n N ( 0 , σ n 2 ) represents log-normal shadowing noise. The localization task reduces to solving the ML estimation problem:
x ^ 0 = arg min x f ( x ) ,
with the ML cost function defined as
f ( x ) = n = 1 N P n P 0 + 10 γ log 10 x n x 2 σ n 2 ,
where x ^ 0 is the estimated position, and both x and x n are vectors in R 2 .

2.2. Differential Evolution Framework

DE is a population-based optimization technique that works through successive generations of candidate solutions. The algorithm begins by creating an initial random population within the specified search boundaries. It then iteratively improves the solutions through its unique combination of evolutionary operations, carefully balancing global exploration with local refinement. A key feature is its selection mechanism that consistently preserves better solutions while discarding inferior ones. This approach allows the method to efficiently search complex spaces while maintaining diversity and avoiding early convergence to suboptimal solutions.
Firstly, we use a set I n g to represent the n-th individual in generation g, which represents a 2-D vector I n 1 g , I n 2 g , representing the candidate for the estimated position of the TN in the localization problem. These initial individuals must constantly move towards the unknown position x 0 in the solution space through the three processes of mutation, crossover, and selection. The solution space can be expressed in the following form:
Z = z 1 , z 2 | a 1 < z 1 < b 1 , a 1 < z 2 < b 1 ,
In the optimization framework, a 1 and b 1 represent the upper and lower bounds of the solution space, respectively, defining the constrained domain for all feasible solutions. We formally denote the initial population as I 1 1 , which corresponds to the first generation of individuals in the evolutionary process. This notation specifically refers to the population that needs to be properly initialized before the algorithm begins its search procedure. The initialization of I 1 1 involves the generation of candidate solutions within the prescribed limits [ a 1 , b 1 ] , establishing the starting point for subsequent optimization operations.

2.2.1. Mutation Operator

I ^ n g is generated from the initial population using the following mutation methods:
I ^ n g = I k g + F I p g I q g ,
where F denotes the scaling factor in the DE algorithm, which plays a crucial role in controlling the mutation operation. The value of F directly determines the magnitude of the variation range during the mutation process. When the scaling factor F assumes a relatively small value (typically F < 0.5 ), the corresponding variation range becomes constrained. In such cases, the algorithm exhibits stronger local search characteristics, demonstrating a pronounced tendency to explore and exploit the neighborhood of current solutions within a limited search space. This behavior enhances the algorithm’s ability to perform intensive local search and fine-tune solutions. Conversely, when F takes a larger value (generally F > 0.8 ), it results in an expanded mutation range. Under these circumstances, the algorithm manifests more prominent global search properties, showing greater propensity to explore distant regions in the solution space. This characteristic improves the algorithm’s capacity to escape local optima and discover potentially better solutions in broader search areas. It is worth noting that the selection of an appropriate F value requires careful consideration, as it represents a trade-off between the algorithm’s local exploitation capability and global exploration potential. The optimal setting of F may vary depending on specific problem characteristics and should be determined through empirical testing or adaptive mechanisms.

2.2.2. Crossover Operation

Next, we cross the individual obtained by mutation and the original individual to obtain a new individual U n g :
U n g = I ^ n g , r a n d C R I n g , r a n d > C R ,
where r a n d represents a uniformly distributed random variable sampled from the interval [ 0 , 1 ] , which is independently generated during each iteration of the algorithm. C R denotes the crossover rate, a critical control parameter that governs the genetic recombination process by probabilistically determining whether to preserve the genetic material of the parent individual or to incorporate the genetic material of the mutant individual. This fundamental mechanism enables DE to effectively balance exploration and exploitation during the optimization process.

2.2.3. Selection Mechanism

The new individual after crossover is compared to the original individual and the fitness value of each individual is calculated using the fitness function. The latest individual with the smallest fitness value is selected:
I n g + 1 = arg min I n g , U n g f I n g , f U n g .
After repeating for G generations, the retained individual I D E is the estimated position of the TN:
I D E = arg min I n G f I n G .

3. Enhanced Differential Evolution Framework

To address the limitations of conventional DE in RSS-based localization, we propose two key algorithmic improvements that significantly accelerate the convergence speed while improving the positioning accuracy. In this paper, the improved differential evolution is called MDE. First, based on OBL principles, we develop an adaptive scaling factor mechanism that dynamically adjusts the conventional scaling factor during the optimization process. Second, we introduce an improved cost function formulation by incorporating a penalty term into the original objective function, which enables a more accurate fitness evaluation during evolutionary computation. These innovations collectively improve global search capability while maintaining solution precision.

3.1. Opposition-Based Population Initialization

We randomly generate n original individuals within a given search range, which is recorded as the first-generation population I n 1 . It is worth noting that in this paper we appropriately expand the given search range. We refer to the scaling factor for boundary expansion as α , which is explained in detail later. Then, another generation of population I ˜ n 1 is obtained using the OBL processing method. These two population generations are centrosymmetric in search range. Then, the two population generations are merged, V n 1 = I n 1 , I ˜ n 1 , and the fitness value of each individual is calculated by the cost function (11), and then sorted from small to large, and the first n individuals V ˜ n 1 are retained.

3.2. Adaptive Mutation Operator

According to the mutation formula,
V ¨ n 1 = V ˜ n 1 k + F V ˜ n 1 p V ˜ n 1 q ,
a new population set is obtained, where F is an adaptive scaling factor:
F = F 0 2 e 1 G 1 + G g ,
where F 0 represents the initial scaling factor value, G denotes the maximum number of generations (total population count), and g indicates the current generation index in the evolutionary process. As clearly demonstrated by the mathematical relationship, during the early evolutionary stages ( g G ), the scaling factor F maintains relatively higher values, consequently producing larger mutation step sizes. This characteristic facilitates an extensive exploration of the solution space. As evolution progresses to later stages ( g G ), F gradually decreases, resulting in finer, more localized mutation steps. This behavior enhances the algorithm’s ability to perform intensive local search around promising regions. This adaptive mechanism provides two key optimization benefits: First, a significant improvement in the initial population diversity through global exploration. Second, a precise refinement of the local exploitation capability during the final convergence. Compared to traditional DE, the adaptive scaling factor can expand the mutation step size in the early stages to quickly cover potential optimal regions, while refining the search in later stages, effectively accelerating convergence speed. Traditional DE requires manual tuning of the scaling factor, preventing the method from adapting well to dynamic environments.

3.3. Crossover

The original population and the mutated population are crossed using the traditional DE method, which is the same as the method in Section 2. The crossed population is recorded as U.

3.4. Selection

The fitness value of the crossed population is calculated by a new cost function,
f ^ x = n = 1 N 1 σ n 2 P n P 0 + 10 γ log 10 x n x 2 + M f ˙ ,
where M is the penalty factor,
M = g 2 2 ,
and M increases with the increase in the number of iterations. The penalty term represents the degree of individual violation of the constraint, because when the population is initialized, we appropriately expand the search range, so there will be some individuals outside the search range. For these individuals,
f ˙ = U n g a 1 + b 1 2 , a 1 + b 1 2 .
However, for those individuals who are within the constraints themselves,
f ˙ = 0 .
Finally, the minimum fitness value is selected as the new initial point, and the above steps are repeated until the number of iterations reaches the algebra G of the population. The individual with the smallest fitness value in the last generation is used as the estimated position of the TN:
I M D E = arg min U n G f ^ U n G .
Figure 1 illustrates the architectural workflow of the proposed enhanced differential evolution algorithm, with its corresponding pseudo-code formalization provided in Algorithm 1.
Algorithm 1 Pseudo-code of the Proposed MDE Algorithm
Input: 
Locations x i and number N of anchor nodes, crossover probability C R , the number of iterations of the population G, scaling factor F 0 , extension factor a 0 , population size n
Output: 
Estimated location x ^ of the target node
1:
Initialization
//generate initial population
2:
Get a new generation of populations V ˜ n 1
//Two vectors V n 1 = [ I n 1 , I ˜ n 1 ] are merged after using OBL, and the first n vectors are selected by the cost function (4).
3:
Repeat G times
//Mutate via (9)
//Perform crossover as (6)
//Select best individual with (11)
4:
Select I M D E with (15)
//generate mutated population
5:
End

4. Parameter Sensitivity Analysis

It is well known that the DE algorithm involves multiple key parameters that significantly influence its performance and convergence behavior. Among these variables, the number of iterations of the population G plays a crucial role in determining the maximum number of evolutionary generations that the algorithm undergoes. Furthermore, the population size N P , which represents the number of individuals in each generation, directly affects the diversity and exploration capacity of the algorithm. Another essential parameter is the probability of crossover C R , which controls the rate at which genetic information is exchanged between candidate solutions during the recombination phase. Furthermore, in our proposed enhanced DE algorithm, we introduce an adaptive scaling factor F 0 as its initial value, which dynamically adjusts to improve the efficiency of convergence. Alongside this, we incorporate an expansion factor α , which is utilized to modify the constraint conditions, thereby enhancing the algorithm’s flexibility and robustness in handling optimization problems under varying conditions. In this section, we study the values of each variable in turn and find the values that improve the performance of DE. Through systematic experimentation, we investigate the effects of four critical parameters. All experiments maintain constant environmental conditions ( σ   =   2 , γ   =   3 , N   =   10 ) within a 40 × 40   m 2 search domain. The performance criterion is the root mean square error (RMSE), which is defined as
RMSE = 1 M c i = 1 M c x i x ^ i 2 .
All comparative experiments adopt the optimized parameters from Section 4 unless otherwise specified. The environmental parameters follow the log-normal shadowing model (1) and real-world restaurant deployment constraints. For ease of reference, all the parameters are presented in Table 1.

4.1. Population Size Optimization

Figure 2 demonstrates the non-monotonic relationship between population size ( N P ) and localization accuracy RMSE. In this figure, we first take C R = 0.9 , according to the empirical value, and then randomly select the values of G, F 0 , and α . Extensive experimental results demonstrate that the population size parameter in the DE algorithm exhibits a non-trivial impact on optimization performance. Specifically, our systematic investigations reveal that selecting excessively small or unduly large values for the individual count ( N P ) in the population leads to suboptimal algorithmic performance. When the population contains too few individuals (that is, N P is set below a certain threshold), the algorithm fails to maintain sufficient genetic diversity, limiting its exploration ability in the solution space. In contrast, a population size that is too large (that is, N P exceeds an optimal range) results in unnecessary computational overhead without providing the corresponding improvements in solution quality. Through comprehensive testing across multiple benchmark functions, we have quantitatively verified that there exists an optimal range for the individual count that maximizes the performance enhancement potential of the DE algorithm. Deviating from this optimal range in either direction, whether by choosing a value that is too conservative or too aggressive, will inevitably compromise the algorithm’s ability to leverage its full performance improvement capabilities. When N P = 200 , performance is the best in our experiment. Then, we determined the value of N P , and other variables remained fixed. The experiments were repeated to study the influence of the number of iterations of the population G on DE.

4.2. Generation Limit Selection

Figure 3 shows that the number of iterations of the population also affects DE to a greater or lesser extent, and the experimental results are the best when G = 30 in our experiment. Next, we determine n and G, and we discuss whether the value of F 0 also affects the experiment.

4.3. Scaling Factor Adaptation

The non-convex RMSE landscape in Figure 4 reveals an optimal initial scaling factor F 0 = 0.5 . This value enables a smooth transition from global exploration ( F > 0.8 in early generations) to local refinement ( F < 0.5 in final stages), as governed by the adaptive law in (10).

4.4. Boundary Expansion Analysis

Figure 5 demonstrates the critical role of the expansion factor α in balancing the exploration capability and computational efficiency. The experimental results reveal an optimal boundary expansion ratio at α = 1.4 . This configuration achieves a minimum RMSE of 0.5 m by effectively utilizing potential solutions near constraint edges while avoiding excessive computational overhead from over-expanded search domains.
Through a systematic parameter sensitivity analysis, we establish the empirically determined optimal parameters: N P = 200 , G = 30 , F 0 = 0.5 , α = 1.4 . These are used to compare the performance of MDE with other algorithms.

5. Performance Evaluation and Comparative Analysis

5.1. Experimental Validation

The proposed MDE algorithm is rigorously evaluated in realistic indoor positioning scenarios, specifically addressing the operational challenges of intelligent food delivery robots in commercial restaurants.
In practical restaurant deployment scenarios, intelligent food delivery robots face significant positioning challenges when performing order delivery tasks. When receiving an order, the robot must first achieve real-time self-localization to determine its current position within the restaurant’s dynamic environment, while simultaneously identifying the customer’s location through a multisensor fusion system. The positioning infrastructure comprises a distributed network of strategically placed wireless anchors and beacons on the ceiling at regular intervals, forming a sensor array that ensures full coverage of the area. However, the random initial position of the robot and the constantly changing layout of the restaurant, with moving furniture, staff, and other dynamic obstacles, create complex signal propagation conditions where the number and spatial distribution of detectable sensors vary significantly. These challenges become particularly acute in large dining establishments during peak operating hours, where high customer density leads to signal interference, frequent blockages, and variable noise levels in different frequency bands. Under such demanding conditions, the robot’s positioning performance in terms of both accuracy and speed is crucial for its operational effectiveness. The system’s ability to determine its position effectively directly impacts its path planning efficiency, obstacle avoidance reliability, and ultimately the success rate of food delivery. This makes the development of robust localization algorithms essential for ensuring operation in commercial environments, where system performance affects service quality. The proposed enhanced positioning system MDE algorithm addresses these operational requirements through its adaptive processing capabilities and optimized computational efficiency.
To compare the positioning performance of MDE, we compare the LSRE method based on error estimation (WLS) [8], SDP [7], and localization based on simulated annealing optimization (SA) [11], standard DEOR [18], and improved DEOR-F [19]. For the sake of convenience, we list all the methods that are compared in Table 2. The algorithms of these methods were implemented in MATLAB R2021a. For the SDP method, we used the well-known CVX software package [20].
To generate RSS measurements, we set the path loss P 0 = 10 dBm, the path-loss exponent γ = 3 , and the reference distance d 0 = 1 m. In all the experiments in this paper, the number of Monte Carlo runs is M c = 10 , 000 . The anchor nodes and target node are randomly distributed in a square area of 40 × 40 m 2 . And the target node can communicate with all the anchor nodes. The performance criterion is the RMSE.
Figure 6 shows a comparison between the performance of our proposed method and several other methods when the number of AN nodes is fixed, with increasing noise. The results show that our proposed method is superior to the traditional methods, having a smaller RMSE. Our proposed algorithm demonstrates superior performance compared to other population-based approaches (DEOR, SA, and DEOR-F) in low-noise environments.
In Figure 7, we show that when the noise is constant, the RMSE changes with an increase in the number of anchor nodes ANs. The MDE algorithm yields lower RMSE values with increasing numbers of anchor nodes. It should be noted that these suggested parameter values (namely, of α , C R , N P , and G) are not absolute or universally valid, as their appropriate settings fundamentally depend on the characteristics of each particular problem.

5.2. Comparative Analysis

The proposed MDE algorithm demonstrates superior performance compared to traditional positioning methods due to its inherent population-based heuristic characteristics and strong global optimization capabilities, making it particularly effective for addressing complex positioning problems. Our improved DE strategy achieves a faster convergence speed than conventional DE implementations through several key enhancements. The incorporation of an adaptive scaling factor F significantly improves the algorithm’s flexibility by dynamically adjusting the mutation step sizes during the evolutionary process, enabling more efficient search range adaptation that accelerates convergence toward the global optimum. Furthermore, we introduce a novel cost function that serves a dual purpose: it not only eliminates the need for separate boundary processing but also actively utilizes boundary information to guide the global search toward optimal solutions.
Regarding computational complexity, the computational complexity analyses of all the algorithms are summarized in Table 3. Specifically, SDP exhibits the highest complexity with substantial computational resource consumption. While WLS demonstrates the lowest complexity, its positioning accuracy is insufficient. Similarly, SA also features relatively low complexity, though its stochastic search nature may imply a larger constant factor. The proposed method shows comparable complexity to both DEOR and DEOR-F, with all three methods primarily depending on the number of iterations (G), population size ( N P ), and anchor node count (N). This clearly indicates that the introduced adaptive mechanism does not significantly increase computational overhead. The synergistic combination of these enhancements results in a more robust and efficient positioning solution that effectively balances exploration and exploitation throughout the optimization process.
Finally, in Table 4, we present the average computation times of all the algorithms. While our proposed method, which incorporates OBL and employs an adaptive scaling factor, along with the innovative introduction of a novel penalty function in the cost function, results in slightly higher computation times compared to DEOR and DEOR-F, its superior localization accuracy sufficiently compensates for this marginal increase in runtime.

5.3. Convergence Analysis

Table 5 presents the convergence performance of MDE in comparison with DEOR and DEOR-F under the fixed conditions of N = 10 anchor nodes and a population size of N P = 80 . All the algorithms were executed under identical settings to ensure fair benchmarking. From the results, it is observed that DEOR-F achieves the fastest convergence (8 generations), followed by DEOR (10 generations) and MDE (12 generations). However, despite requiring slightly more iterations to converge, MDE yields the lowest RMSE, demonstrating better positioning accuracy. This trade-off in convergence speed is primarily attributed to the adaptive scaling factor employed by MDE. In the early stages of the evolutionary process, MDE maintains a relatively large scaling factor F, promoting broad exploration of the search space and enhancing global search capabilities. As iterations progress, F gradually decreases, shifting the search behavior toward local refinement. This dynamic adjustment helps avoid premature convergence but slightly delays reaching the termination criterion.
It is worth noting that the added complexity introduced by the adaptive mechanism does not increase computational overhead. As shown in the runtime column, the execution time of MDE remains comparable to DEOR and DEOR-F, validating the efficiency of the proposed strategy.

6. Conclusions

This paper presents a systematic advancement in RSS-based localization through a modified differential evolution framework that addresses two fundamental challenges in evolutionary optimization: the exploration–exploitation dilemma and constraint boundary utilization. By integrating an adaptive scaling factor with opposition-based learning principles, the proposed algorithm dynamically adjusts its search strategy during the optimization process, enabling robust performance across diverse operational environments. The novel penalty-augmented cost function further enhances positioning accuracy by strategically incorporating spatial constraints without imposing restrictive boundary conditions.
Experimental validation confirms significant improvements in both accuracy and efficiency: (1) Superior robustness under challenging noise conditions compared to state-of-the-art evolutionary methods (DEOR, DEOR-F), particularly where traditional approaches deteriorate; (2) accelerated convergence relative to convex optimization and stochastic search techniques (SDP, SA), achieving real-time capability critical for dynamic applications; (3) computational efficiency on par with advanced DE variants despite enhanced mechanisms, maintaining scalability for large-scale networks. The numerical results substantiate these improvements: Under high noise ( σ = 3 dB), MDE achieves an RMSE of 2.2 m, outperforming DEOR-F ( 2.3 m) and SA ( 2.4 m). With N = 10 anchors, MDE reduces the RMSE to 2.8 m, exceeding SDP ( 3.5 m) and WLS ( 4.0 m). Computationally, MDE maintains O ( G · N P · N ) complexity with an average runtime of 0.0048 s—100× faster than SDP ( O ( N 3.5 ) ). Although requiring 12 generations for convergence (vs. DEOR-F’s 8), MDE achieves the lowest RMSE ( 2.96 m) under identical settings.
The synergistic combination of population diversity preservation and adaptive parameter control enables efficient navigation of multimodal solution spaces. Looking forward, this work establishes a foundation for several promising research directions. Extending the framework to three-dimensional environments could address multi-floor localization challenges in smart infrastructure applications. The integration of real-time parameter adaptation mechanisms may further improve mobile target tracking capabilities in dynamic scenarios. Additionally, exploring hybrid architectures that combine evolutionary optimization with deep learning techniques could unlock new possibilities for autonomous navigation systems. The methodology’s inherent flexibility suggests broader applicability beyond wireless sensor networks, potentially benefiting emerging domains such as swarm robotics and industrial IoT deployments. While this study focuses on algorithmic innovation under standardized models, future work will incorporate public RSS datasets to quantify NLOS mitigation gains.

Author Contributions

All the authors contributed equally to preparing this article. Conceptualization, Y.T., L.L., and S.C.; formal analysis, Y.T., L.L., and S.C.; methodology, S.C. and L.L.; writing—original draft, Y.T., L.L., and S.C.; writing—review and editing, Y.T., L.L., and S.C. All authors have read and agreed to the published version of the manuscript.

Funding

This work was supported by part of the Research Start-up Fund of Ningbo University of Technology under grant 2022KQ24, by part of the Research and Training Fund of Ningbo University of Technology under grant 2022TS25.

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. Rappaport, T.S. Wireless Communications: Principles and Practice; Prentice-Hall: Upper Saddle River, NJ, USA, 1996. [Google Scholar]
  2. Yu, K. 3-D localization error analysis in wireless networks. IEEE Trans. Wirel. Commun. 2007, 6, 3472–3481. [Google Scholar]
  3. Zhang, S.; Wang, E.; Zhu, Z.; Yi, J.; Wang, Y.; Kuai, E. UKF-FNN-RIC: A Highly accurate UWB localization algorithm for TOA scenario. IEEE Trans. Instrum. Meas. 2024, 73, 8508013. [Google Scholar] [CrossRef]
  4. Choi, J.; Kim, J.; Im, S. Robust TDOA Estimation Using Kernel Density Estimation for Noisy Environments. In Proceedings of the 2025 IEEE International Conference On Consumer Electronics (ICCE), Las Vegas, NV, USA, 11-14 January 2025; pp. 1–5. [Google Scholar]
  5. Zhong, C.M.; Lin, R.H.; Zhu, H.L.; Lin, Y.H.; Zheng, X.; Zhu, L.H.; Gao, Y.L.; Zhuang, J.B.; Hu, H.Q.; Lu, Y.J.; et al. UWB-Based AOA Indoor Position-Tracking System and Data Processing Algorithm. IEEE Sens. J. 2024, 24, 30522–30529. [Google Scholar] [CrossRef]
  6. Zheng, X.; Cheng, R.; Wang, Y. Rssi-knn: A rssi indoor localization approach with knn. In Proceedings of the 2023 IEEE 2nd International Conference on Electrical Engineering, Big Data and Algorithms (EEBDA), Changchun, China, 24-26 February 2023; pp. 600–604. [Google Scholar]
  7. Wang, Z.; Zhang, H.; Lu, T.; Gulliver, T. 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]
  8. Beck, A.; Stoica, P.; Li, J. Exact and approximate solutions of source localization problems. IEEE Trans. Signal Process. 2008, 56, 1770–1778. [Google Scholar] [CrossRef]
  9. Storn, R.; Price, K. Differential evolution—A simple and efficient heuristic for global optimization over continuous spaces. J. Global Optim. 1997, 11, 341–359. [Google Scholar] [CrossRef]
  10. Hu, W.; Yen, G.G. Adaptive multiobjective particle swarm optimization based on parallel cell coordinate system. IEEE Trans. Evol. Comput. 2015, 19, 1–18. [Google Scholar]
  11. Konishi, T.; Kojima, H.; Nakagawa, H.; Tsuchiya, T. Using simulated annealing for locating array construction. Inf. Softw. Technol. 2020, 126, 106346. [Google Scholar] [CrossRef]
  12. Yildiz, A.R. Comparison of evolutionary-based optimization algorithms for structural design optimization. Eng. Appl. Artif. Intell. 2013, 26, 327–333. [Google Scholar] [CrossRef]
  13. Tizhoosh, H.R. Opposition-based learning: A new scheme for machine intelligence. In Proceedings of the International Conference on Computational Intelligence for Modelling, Control and Automation and International Conference on Intelligent Agents, Web Technologies and Internet Commerce (CIMCA-IAWTIC’06), Vienna, Austria, 28–30 November 2005; pp. 695–701. [Google Scholar]
  14. Ahandani, M.A. Opposition-based learning in the shuffled bidirectional differential evolution algorithm. Swarm Evol. Comput. 2016, 26, 64–75. [Google Scholar] [CrossRef]
  15. Ahandani, M.A.; Alavi-Rad, H. Opposition-based learning in the shuffled differential evolution algorithm. Soft Comput. 2012, 16, 1303–1337. [Google Scholar] [CrossRef]
  16. Rahnamayan, S.; Tizhoosh, H.R.; Salama, M.M.A. Opposition-Based Differential Evolution Algorithms. In Proceedings of the 2006 IEEE International Conference on Evolutionary Computation, Vancouver, BC, Canada, 16–21 July 2006; pp. 2010–2017. [Google Scholar]
  17. Wang, W.; Wang, H.; Sun, H.; Rahnamayan, S. Using opposition-based learning to enhance differential evolution: A comparative study. In Proceedings of the 2016 IEEE Congress on Evolutionary Computation (CEC), Vancouver, BC, Canada, 24–29 July 2016; pp. 71–77. [Google Scholar]
  18. Najarro Lismer, 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, 1–12. [Google Scholar]
  19. Najarro, L.A.C.; Song, I.; Tomic, S.; Kim, K. Fast localization with unknown transmit power and path-loss exponent in WSNs based on RSS measurements. IEEE Commun. Lett. 2020, 24, 2756–2760. [Google Scholar] [CrossRef]
  20. Grant, M.; Boyd, S. CVX: Matlab Software for Disciplined Convex Programming. Version 1.21. Available online: http://cvxr.com/cvx (accessed on 15 April 2010).
Figure 1. Flowchart of the MDE.
Figure 1. Flowchart of the MDE.
Sensors 25 03787 g001
Figure 2. Population size sensitivity: RMSE vs. N P ( G = 50 , F 0   =   0.9 , α   =   2 , C R   =   0.9 ).
Figure 2. Population size sensitivity: RMSE vs. N P ( G = 50 , F 0   =   0.9 , α   =   2 , C R   =   0.9 ).
Sensors 25 03787 g002
Figure 3. Convergence analysis: RMSE vs. maximum generations G ( N P = 200 , F 0 = 0.9 , α = 2 , C R = 0.9 ).
Figure 3. Convergence analysis: RMSE vs. maximum generations G ( N P = 200 , F 0 = 0.9 , α = 2 , C R = 0.9 ).
Sensors 25 03787 g003
Figure 4. Scaling factor optimization: RMSE vs. F 0 ( N P = 200 , G = 30 , α = 2 , C R = 0.9 ).
Figure 4. Scaling factor optimization: RMSE vs. F 0 ( N P = 200 , G = 30 , α = 2 , C R = 0.9 ).
Sensors 25 03787 g004
Figure 5. Boundary expansion trade-off: RMSE vs. α ( N P = 200 , G = 30 , F 0 = 0.5 , C R = 0.9 ).
Figure 5. Boundary expansion trade-off: RMSE vs. α ( N P = 200 , G = 30 , F 0 = 0.5 , C R = 0.9 ).
Sensors 25 03787 g005
Figure 6. RMSE versus variance of log-shadowing when N = 10 , G = 30 , C R = 0.9 , F 0 = 0.5 , α = 1.4 , N P = 200 .
Figure 6. RMSE versus variance of log-shadowing when N = 10 , G = 30 , C R = 0.9 , F 0 = 0.5 , α = 1.4 , N P = 200 .
Sensors 25 03787 g006
Figure 7. RMSE versus the number of ANs when G = 30 , C R = 0.9 , F 0 = 0.5 , α = 1.4 , N P = 200 , σ = 2 .
Figure 7. RMSE versus the number of ANs when G = 30 , C R = 0.9 , F 0 = 0.5 , α = 1.4 , N P = 200 , σ = 2 .
Sensors 25 03787 g007
Table 1. Summary of experimental parameters.
Table 1. Summary of experimental parameters.
Parameter NameSymbolValue/RangeRemarks
Population size N P 200Sensitivity analysis (Section 4.1)
Maximum generationsG30Convergence analysis (Section 4.2)
Initial scaling factor F 0 0.5 Parametric optimization (Section 4.3)
Boundary expansion factor α 1.4 Boundary trade-off (Section 4.4)
Crossover probability C R 0.9 Empirically determined value
Path-loss exponent γ 3Fixed environmental parameter
Reference distance d 0 1 mFixed environmental parameter
Transmit power P 0 10 dBmFixed environmental parameter
Noise standard deviation σ 1–6 dBFixed (varied in some experiments)
Monte Carlo runs M c 10,000Number of repeated experiments
Search area 40 × 40   m 2 2-D square region
Anchor node countN8–13Fixed/variable parameter
Table 2. Comparison of localization methods: Benchmarking against MDE.
Table 2. Comparison of localization methods: Benchmarking against MDE.
MethodDescription
MDEThe proposed enhanced differential evolution method for localization.
WLSLeast squares based on error estimation, from [8], considering error factors for localization.
SDPSemidefinite programming method in [7], handling constraints and objectives for localization.
SALocalization via simulated annealing optimization, as in [11], for searching optimal solutions.
DEORStandard differential evolution with opposition and redirection, from [18], using relevant strategies for localization.
DEOR-FImproved DEOR method in [19], with extra features for better performance.
Table 3. Comparison of computational complexity.
Table 3. Comparison of computational complexity.
MethodComplexity
MDE O ( G · N P · N )
WLS [8] O ( N )
SDP [7] O ( N 3.5 )
SA [11] O ( N )
DEOR [18] O ( G · N P · N )
DEOR-F [19] O ( G · N P · N )
Table 4. Average execution time of the algorithms.
Table 4. Average execution time of the algorithms.
MethodMDEWLSSDPSADEORDEOR-F
Time (s) 0.0048 0.0002 0.3160 0.0011 0.0029 0.0017
Table 5. Performance benchmarking against OBL-DE variants.
Table 5. Performance benchmarking against OBL-DE variants.
AlgorithmConvergence GenerationRMSE (m)Runtime (s)
MDE12 2.9596 0.0048
DEOR10 3.1395 0.0029
DEOR-F8 4.1858 0.0017
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

Tao, Y.; Li, L.; Chang, S. A Modified Differential Evolution for Source Localization Using RSS Measurements. Sensors 2025, 25, 3787. https://doi.org/10.3390/s25123787

AMA Style

Tao Y, Li L, Chang S. A Modified Differential Evolution for Source Localization Using RSS Measurements. Sensors. 2025; 25(12):3787. https://doi.org/10.3390/s25123787

Chicago/Turabian Style

Tao, Yunjie, Lincan Li, and Shengming Chang. 2025. "A Modified Differential Evolution for Source Localization Using RSS Measurements" Sensors 25, no. 12: 3787. https://doi.org/10.3390/s25123787

APA Style

Tao, Y., Li, L., & Chang, S. (2025). A Modified Differential Evolution for Source Localization Using RSS Measurements. Sensors, 25(12), 3787. https://doi.org/10.3390/s25123787

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