Next Article in Journal
Application of Optical Measurements to Assess Form Deviations of Cylindrical Parts Made Using FDM Additive Technology
Previous Article in Journal
Ergo4Workers: A User-Centred App for Tracking Posture and Workload in Healthcare Professionals
Previous Article in Special Issue
A Complete Solution for Ultra-Wideband Based Real-Time Positioning
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

An Environment-Adaptive Multi-Channel Ranging Optimization Algorithm Based on a Multi-Objective Evolutionary Model for Multipath Wireless Sensor Networks

School of Network Security, Jinling Institute of Technology, Nanjing 211100, China
*
Author to whom correspondence should be addressed.
Sensors 2025, 25(18), 5851; https://doi.org/10.3390/s25185851
Submission received: 12 August 2025 / Revised: 8 September 2025 / Accepted: 17 September 2025 / Published: 19 September 2025

Abstract

Recently, high-precision WSN (wireless sensor network) ranging and positioning algorithms based on RSSI (Received Signal Strength Indicator) in complex indoor environments have become a popular research topic. This is because RSSI is easy to obtain and more suitable for the large-scale deployment of WSNs. However, WSN ranging and positioning algorithms using RSSI are severely affected by the presence of noise and multipath effects in complex indoor environments. To reduce multipath effects, a multi-channel ranging algorithm was developed. This algorithm must obtain accurate initial parameter values or the target–reference distance in advance; otherwise, it will fall into local optima. We propose an environment-adaptive algorithm for multi-channel ranging optimization based on an innovative evolutionary model with multiple objectives and an existing adaptive extended Kalman filter. This novel model includes a newly created objective function of the relationship between weighted multi-channel RSSI and node distance, which allows it to achieve globally optimal results without requiring extensive training to obtain accurate initial parameter values or the target–reference distance beforehand. Extensive simulations and experiments show that our proposed algorithm always has much higher ranging accuracy than the existing algorithm, regardless of whether the multi-channel RSSI is regular or the number of paths matches.

Graphical Abstract

1. Introduction

GPS (Global Positioning System) cannot achieve high-precision indoor positioning. Therefore, developing methods to achieve high-precision indoor localization has become a research hotspot. To address this issue, WSN (wireless sensor network)-based indoor positioning algorithms have been proposed [1,2,3]. A WSN is an adaptive network composed of many inexpensive nodes [4,5,6], such as wireless transceivers, microprocessors, and sensors capable of measuring temperature and humidity. Wireless transceivers can measure the RSSI (Received Signal Strength Indicator) between nodes, which is often employed by WSN positioning algorithms to estimate distance [7,8,9].
The main localization algorithms that use RSSI are ranging [10], DFS (Doppler Frequency Shift) [11], Radar [12], and fingerprint [13], among others. Fingerprint positioning establishes a fingerprint map by utilizing different locations’ RSSIs and then matching fingerprints to obtain the target position. In the case of a relatively stable RSSI, fingerprint localization can achieve high accuracy. However, RSSI is easily affected by environmental noise and becomes unstable, resulting in a significant decrease in positioning accuracy. Similarly to fingerprint localization, Radar also needs to establish a fingerprint map to achieve positioning. The difference is that Radar does not entail time-consuming fingerprint matching, but a simple linear-time search. DFS utilizes the Doppler effect to estimate the positions of mobile nodes. However, indoor multipath effects can interfere with localization results. A multi-channel ranging technique based on a multipath signal propagation model is developed to eliminate multipath effects on positioning accuracy using RSSIs.
There are also ranging techniques that do not use RSSIs, instead using TOA (time of arrival), TDOA (time difference of arrival), AOA (angle of arrival), joint TOA and AOA estimation, newton-type forward backward compressed sensing for AOA estimation, and others [14,15,16,17,18]. The TOA-based method employs the signal transmission time to calculate the node distance, while the TDOA approach uses the difference between different nodes’ signal arrival times to compute the distance. In contrast to TOA and TDOA methods, the AOA-based approach needs multiple antennas to measure the angle of wireless signal arrival, which is converted into the distance between nodes. Joint TOA and AOA estimation can always obtain the position of the target node by mapping the pair of TOA and AOA to the coordinates of the target node, even in the presence of many obstacles in the propagation channel. In addition, the newton-type forward backward compressed sensing method is used for estimating AOA parameters to locate target nodes, which can reduce time and space to reconstruct signals and converge faster to the optimal estimate. Due to the extremely fast propagation speed of wireless signals, TOA, TDOA, and AOA all require high-precision clock synchronization, which cannot be applied to wireless sensor nodes with limited energy consumption and cost. Ranging technology with RSSIs does not require high-precision clock synchronization, so it is widely applied in WSN localization.
Although RSSI-based ranging technology does not involve additional hardware costs, it is susceptible to indoor multipath effects. Therefore, the diversity of multi-channel RSSIs is used to improve positioning accuracy in multipath environments [19,20,21]. Multi-channel ranging techniques increase the parameter fitting accuracy of the multipath signal propagation model utilizing multiple channels’ RSSIs. However, since the number of fitted parameters is greater than the objective number, this can lead to an ill-conditioned matrix problem in the fitting process, causing the fitting results to fall into local optima. To estimate the globally optimal node distance, we propose a multi-channel ranging optimization (MCRO) algorithm based on a newly established evolutionary model with multiple objectives. This innovative model evolves the fitting parameters of the multipath signal propagation model towards the global optimum by creating a weighted multi-channel RSSI objective function.
Our contributions mainly include the following aspects.
(1)
We establish a multi-objective evolutionary model based on the relationship between weighted multi-channel RSSI and node distance. To our knowledge, this novel model is the only one that utilizes the relationship between weighted multi-channel RSSI and node distance to constrain the evolution parameters so that they do not fall into local optima.
(2)
Based on this newly created multi-objective evolutionary model, we propose a multi-channel ranging optimization algorithm for wireless sensor networks in multipath environments. Compared with existing multi-channel ranging algorithms, our proposed algorithm does not require extensive training beforehand to obtain accurate initial parameter values and the target–reference distance.
(3)
We employ extensive simulations and experiments to verify the proposed algorithm’s effectiveness and efficiency. The simulations and experiments reveal that, regardless of the accuracy of the initial parameter values, our algorithm always achieves higher accuracy than other ranging algorithms.
The paper is divided into six sections. Related work on multi-channel ranging algorithms with RSSIs is described in Section 2. Section 3 provides the formal expression of the optimization problem for multi-channel ranging, while Section 4 presents the proposed algorithm’s detailed implementation steps, and Section 5 analyzes the simulations and experiments. Finally, a summary is provided in Section 6.

2. Related Work

Currently, positioning algorithms for WSNs are mainly divided into two categories: those that require ranging [22,23] and those that do not [24,25]. Ranging-based WSN localization algorithms use the angle and distance to calculate the target location, mainly through triangulation [26], trilateration [27], or multilateration [28]. Triangulation converts the anchor angles into distances, which are then used to compute the target position, while trilateration directly utilizes the distances of three anchor nodes to compute the target location. Multilateration is an extension of trilateration but employs maximum likelihood estimation to calculate the target position when there are more than three anchor nodes.
WSN positioning algorithms that are not based on ranging include CPE (convex position estimation), DV-Hop (distance vector-hop), MDS-MAP (multidimensional scaling-map), centroid, and fingerprint positioning [29,30,31,32,33]. In CPE, convex optimization planning is transformed into a localization problem. After planning is complete, the target position, represented by the rectangular range, is determined. DV-Hop first obtains the hop number between nodes and then uses it to represent distance to estimate the target location. MDS-MAP applies multidimensional scaling to fit the relative target position using the connectivity between nodes. The centroid method determines whether the target node is within the range of three anchor nodes, continues to choose another three anchor nodes that contain the target node, and finally utilizes the centroid of the overlapping parts of all ranges to represent the target location. Fingerprint localization typically uses neural networks and machine learning to establish the relationship between RSSI and location, while neural networks establish path mapping between input and output by training RSSIs measured at different locations. Similarly, machine learning discovers the corresponding classification between RSSI and location through data mining. However, both methods require a significant amount of time and are greatly affected by changes in RSSIs.
The low accuracy of WSN localization algorithms that do not require ranging has led to proposals of ranging-based positioning algorithms, which are mainly based on RSSI, TOA, TDOA, and AOA. Of these, the RSSI-based ranging algorithm is easier to implement, so it is widely applied in resource-limited WSNs. Depending on the channel number required during ranging, ranging algorithms with RSSIs are classified as multi-channel and single-channel. Ranging algorithms based on single-channel RSSIs mainly include Radar, LNSM (log-normal shadowing model), Rips, and Landmarc [34,35,36,37]. LNSM computes the target location by establishing a relationship between RSSI and distance. However, there are two issues with this algorithm: One shortcoming is that training requires significant time to obtain a combination of distance and RSSI samples for fitting the path attenuation exponent. The other issue is that the multipath environment actually varies between the various nodes used for training. The path attenuation exponent obtained using this training method describes the “overall multipath environment”, which differs from the actual situation between different nodes, leading to significant deviation in distance estimation. Rips can obtain accurate distances between nodes through radio interferometry, but it is severely affected by multipath effects. Radar first creates a map based on RSSIs and then uses the map to calculate the target location. Similarly, Landmarc also matches the target node’s RSSI with different locations’ RSSIs to obtain the position. However, they are not suitable for multipath environments where the RSSI is variable.
To eliminate multipath effects, multi-channel ranging algorithms using RSSIs have been developed. The algorithm proposed in [38] utilizes the multi-channel RSSIs’ diversity to eliminate multipath effects. However, this algorithm only averages the RSSIs of different channels and does not model the RSSIs of different signal propagation paths. The multipath-distinguishing-based ranging (MUDR) algorithm proposed in [39] can distinguish between RSSIs of different signal propagation paths. This algorithm estimates the distance by fitting the multipath signal propagation model’s parameters for different channels. However, this algorithm utilizes the least-squares method to fit the model parameters, so if the initial parameters are inaccurate, it will fall into local optima, resulting in large distance estimation errors. Additionally, to decrease the deviation of distance measurement results caused by the antenna gain between different nodes, this algorithm needs to determine the inter-node antenna gain through training in advance. To solve this issue, a multi-channel ranging algorithm using reference nodes is proposed in [40]. This algorithm utilizes the reference and target nodes with the same signal propagation model, eliminating the antenna gain parameter from the node distance estimation process. Although this algorithm eliminates antenna gain parameters by using reference nodes, there is often a significant difference in antenna gain between target and reference nodes, resulting in significant distance estimation errors. Additionally, all target nodes need to use reference nodes to participate in distance estimation, so this algorithm is not suitable for deployment in large-scale WSNs.

3. Problem Formalization

The multi-channel ranging optimization problem in multipath environments is formalized in this section. Multi-channel ranging optimization uses measured multi-channel RSSIs to eliminate the impact of multipath signal propagation on distance estimation.
During the measurement of RSSIs of multiple channels, WSN nodes can change the frequency of signal transmission. Presently, there are ready-made products that support this feature.
In a multipath environment, n denotes the number of signal propagation paths for a node. Without loss of generality, the LOS (Line-Of-Sight) path is assumed to be d1, and the NLOS (Non-Line-Of-Sight) path is considered di, i = 2,…, n. ρ i represents the i-th path’s reflection coefficient, where ρ 1 = 1, and ρ i < 1. Assuming that there are m channels for transmitting signals between nodes, their corresponding frequencies and wavelengths are fj and λ j , j = 1,…, m, respectively.
In a multipath environment, the signal strength measured by a node is the vector sum of signals from multiple propagation paths [41]. The signal strength of n propagation paths synthesized from the j-th channel is as follows:
P x , λ j = i = 1 n ρ i c λ j 2 d i 2 sin d i λ j 1 2 + i = 1 n ρ i c λ j 2 d i 2 cos d i λ j 1 2 1 / 2
where x is the parameter set of the multipath signal propagation model, i.e., x = c , ρ 2 , , ρ n , d 1 , , d n ; c = P t G t G r 4 π 2 ; Gt is the sending node’s antenna gain; Pt is the transmission power; and Gr is the receiving node’s antenna gain.
The j-th channel’s RSSI is assumed to be Pj. The optimization goal with multi-channel ranging is to obtain the optimal distance estimation by fitting the parameters of the multipath signal propagation model.

4. Proposed Algorithm

4.1. Existing AEKF

The AEKF (adaptive extended Kalman filter) is better at filtering the RSSI noise that varies with the environment than the traditional EKF (extended Kalman filter) [42]. The AEKF perceives changes in noise through its NSE (noise statistics estimator).
  • Predict state
x ^ k k 1 = f x ^ k 1
F k = f x x ^ k 1
P k k 1 = F k P k 1 F k T + Q k
where x ^ k 1 is the state estimation of the dynamic system at time step k − 1, x ^ k k 1 is the state prediction of the dynamic system at time step k − 1, F k is the Jacobian matrix of function f calculated based on x ^ k 1 ,   P k 1 is the expected covariance matrix of the state estimation, and P k k 1 is the state estimation covariance matrix predicted according to P k 1 .
2.
Correct state
z ^ k = h x ^ k k 1
H k = h x x ^ k k 1
S k = H k P k k 1 H k T + R k
K k = P k k 1 H k T S k 1
x ^ k = x ^ k k 1 + K k z k z ^ k
P k = P k k 1 K k H k P k k 1
where z ^ k is the measurement estimate of the dynamic system at time step k, H k is the Jacobian of function h calculated based on x ^ k k 1 ,   S k is the expected measurement estimation covariance matrix, K k is a feedback matrix for state correction, x ^ k is the system state estimate corrected based on feedback, and P k is the corrected state estimation covariance.
3.
Estimate noise statistics
R k + 1 = 1 u k R k + u k ε k ε k T H k P k k 1 H k T
where ε k is the estimated and actual measurements’ residual, and u k is a forgetting factor.
ε k = z k z ^ k
u k = 1 b / 1 b k + 1
where b is an amnestic factor between 0.95 and 0.995, which is often set to 0.96 [43].
Equations (12) and (13) are substituted into Equation (11), and the following equation is derived.
R k + 1 = 1 1 b / 1 b k + 1 R k + 1 b / 1 b k + 1 z k z ^ k z k z ^ k T H k P k k 1 H k T

4.2. Established Evolutionary Model with Multiple Objectives

The execution steps of an MOEA (multi-objective evolutionary algorithm) for obtaining the optimal distance estimation between nodes are demonstrated in this subsection, and then an evolutionary model with multiple objectives is established.
The MOEA simulates the process of species evolution to iteratively evolve the model parameters towards the optimal solution based on the created multiple objective functions [44]. In contrast to least-squares optimization, the MOEA does not require precise initial parameter estimates and is not easily trapped in local optima.
Step 1. The algorithm randomly initializes a population Pt consisting of N individuals and then employs genetic operations (tournament selection, crossover, and mutation) to generate a descendant population Ot.
Step 2. The algorithm creates a mixed population It of 2N individuals by merging Pt and Ot and obtains non-dominated fronts by sorting It according to the non-dominated set.
Step 3. Until Pt+1 is filled, the non-dominated fronts are added to a new population Pt+1 containing N individuals.
Step 4. The evolution of the algorithm ends when the number of iterations reaches the set threshold.
The form of the multi-objective evolutionary model is expressed as
m i n i m i z e   :   g x = g 1 x , g 2 x
s u b j e c t   t o : e x = e 1 x , , e w x 0
where g(x) consists of two objective functions, e represents the constraint conditions, and x is composed of several decision variables.
Objective Function 1 searches for the RSSI estimate that best matches the measured multi-channel RSSI by iterating the model parameters in a multipath environment.
g 1 x = j = 1 m P x , λ j P j 2
where the j-th channel’s RSSI estimation is P x , λ j , j = 1 , , m in a multipath environment.
P x , λ j = c λ j 2 d 1 2 sin d 1 λ j 1 + i = 2 n ρ i c λ j 2 d i 2 sin d i λ j 1 2 + c λ j 2 d 1 2 cos d 1 λ j 1 + i = 2 n ρ i c λ j 2 d i 2 cos d i λ j 1 2 1 / 2
The multi-channel weighted RSSI and the distance between nodes have the approximate expression [45]
1 m j = 1 m s j c v 2 d 1 2
where sj represents the weighted RSSI of the j-th channel, and v represents the speed of signal propagation.
s j = f j 2 P j , j = 1 , , m
According to the above expression, Objective Function 2 is established, which can constrain the parameter set evolved by Objective Function 1, accelerating their evolution towards the globally optimal direction.
g 2 x = 1 m j = 1 m s j / c v 2 d 1 2 1
The multi-objective evolutionary model consists of Objective Functions 1 and 2, which mutually constrain each other to prevent parameter evolution from falling into local optima and to obtain global optima.
m i n i m i z e   :   g x = g 1 x , g 2 x
s u b j e c t   t o : m i n x i x i m a x x i , i = 1 , , 2 n
w h e r e : x = c , ρ 2 , , ρ n , d 1 , , d n

4.3. Proposed MCRO

Algorithm 1 provides detailed execution steps for MCRO.
Algorithm 1: MCRO
Input: Multi-channel RSSI z
Output: Optimal distance estimate d ^
1. Set initial values for MOEA parameters
2. Initialize parameters of AEKF
3. Obtain filtered RSSI z ˜ based on AEKF and z
4. Calculate weighted multi-channel RSSI z ¯ using z ˜ , frequency f
5. MOEA generates N decision vectors x
6. t = 1
7. tmax = the maximum generations
8. while ttmax do
9. Employ x , z ˜ , and f to Compute N g1
10. Utilize x , z ¯ to Calculate N corresponding g2
11. New N  x is produced by g1 and g2
12. t = t + 1
13. end while
14. d1 of first x is chosen as d ^ with ascending g1
15. return  d ^
The proposed algorithm utilizes the evolutionary model with multiple objectives to obtain optimized distance estimates between nodes. Figure 1 reveals the execution process of each functional module in the MCRO algorithm. Firstly, the AEKF module is employed to filter out time-varying RSSI measurement noise. Next, the weighting module utilizes the filtered RSSI to compute the weighted multi-channel RSSI. Finally, the MOEA evolutionary module obtains the optimal distance estimation based on the weighted RSSI.

5. Performance Evaluation

In this section, the proposed algorithm’s performance is validated through the results of extensive experiments and simulations, which reveal that MCRO always has higher ranging accuracy than the existing algorithm. This is the case regardless of whether the multipath number is matched or unmatched or whether the multi-channel RSSI is irregular or regular. In order to compare the ranging accuracy of MUDR and MCRO, MUDR also used the same RSSI filtered by AEKF as MCRO in this paper.

5.1. Experimental Configuration

We conducted indoor ranging experiments using TelosB WSN nodes produced by the Crossbow company. The low-cost wireless communication chip CC2420 is installed on the TelosB node, which can provide a continuous available communication bandwidth from 2400 MHz to 2483.5 MHz. We set the channel frequency sequence to fj = (2405 + 5(j − 1)) MHz, j = 1, 2,…, 16. The target node sends signals to the beacon node every 0.1 s on 16 channels in sequence, and the beacon node obtains the RSSI value by measuring the signal strength. The target node is randomly placed in an experimental area of 8 by 8 m, as shown in Figure 2. The beacon nodes transmitted multi-channel signals at multiple different distances. Finally, we used the evaluated algorithm to complete ranging.
The values of the parameters are listed in Table 1 for the multi-objective evolutionary model in the experiment. In order to obtain the optimal distance estimation, the number of generations for multi-objective evolution was set to 1000. The parameter values were set based on actual experiments [46]. The parameters and values not listed were set to the most commonly used settings for the multi-objective evolutionary algorithm, and their variations have little impact on the proposed algorithm’s ranging accuracy.
The AEKF’s measurement and state functions are both diag [1,…, 1], and the diagonal matrix diag has the same dimension as the number of channels. Due to the static nature of the nodes, the process noise statistics are set to diag [0,…, 0]. The AEKF can perceive noise, so the measurement noise statistics are set to diag [3,…, 3], and the state estimation covariance is set to diag [1,…, 1]. The AEKF performs 10 time steps each time to filter out measurement noise in the RSSI.
The difference between the node distance estimated by the evaluated algorithm and the actual distance is used to measure the ranging accuracy of the algorithm. Its definition is
R a n g i n g   error = d d ^
where d represents the actual distance between the target node and the beacon node, and d ^ represents the distance estimated by the ranging algorithm. The symbol represents an operator that calculates the absolute value of two numbers.

5.1.1. Influence of Unmatched Multipath Number

Ranging errors obtained from 960 experiments using the MUDR and MCRO algorithms with different multipath numbers and node distances are depicted in Figure 3, where the number of paths and node distances are set to 2 to 5 and 1 m to 8 m, respectively. The subscript of the algorithm name represents the number of paths. Because the path number in the experiment is unknown, the path number set in the algorithm is usually not equal to the actual path number. Since the RSSI vectors of different path numbers in the multipath signal propagation model are equivalent, different path numbers can be used to estimate the same node distance. From the figure, it can be seen that regardless of whether the set number of paths is the same as the actual number of paths, the proposed algorithm’s ranging accuracy is always much higher than that of the existing algorithm, even if ranging errors increase with the distance between nodes.

5.1.2. Influence of Irregular Multi-Channel RSSI

The distance estimation errors of MUDR and MCRO with different channel numbers and node distances in 1920 experiments are depicted in Figure 4. In the actual experiment, the RSSIs measured in multiple channels are irregular compared with the simulated ones. The channel numbers are set to 8, 12, and 16 to observe the impact of the channel number on the distance estimation accuracy. As shown in the figure, the irregular RSSI increases the ranging error of the evaluated algorithm compared to the simulation. However, due to the addition of Objective Function 2 to constrain the relationship between the evolutionary parameters in our proposed algorithm, it always has a much higher ranging accuracy than the other algorithm, regardless of how the channel number changes.

5.2. Simulation Configuration

We ran simulations with the algorithm using Matlab to observe the influence of matching path numbers and regular channel RSSIs on ranging accuracy. In the simulation, the distance between the target and beacon nodes is set within 8 m, and the antenna height is set to 0.5 m. The frequencies of 16 channels are set to fj = (2405 + 5 (j−1)) MHz, j = 1, 2,…, 16. In addition to the shortest communication path between nodes, multiple reflection paths randomly generated in multipath environments are also added; that is, there is at least one reflection signal path in addition to the direct signal path. In order to obtain optimized results, the number of evolutionary generations was set to 1000. The measurement noise of multi-channel RSSIs is set to follow a normal distribution with a standard deviation of 1. Due to AEKF’s ability to perceive time-varying noise, the initial measurement noise covariance is set to diag [3,…, 3]. The values of other parameters for the MOEA and AEKF in the simulation are the same as in the experiment.

5.2.1. Influence of Matched Multipath Number

The ranging errors of 960 simulations of MUDR and MCRO using different path numbers and node distances are revealed in Figure 5. In the simulations, the path number between nodes is set to two, three, four, and five. Because the path number in the simulation is known, we set the algorithm parameters to be the same as the number of simulated paths to observe the impact of different path numbers on ranging accuracy under matching path numbers. The use of matching path numbers is mainly intended to reduce the impact of path number mismatch on the algorithm evolution results, in order to observe the influence of different path numbers containing different numbers of evolution parameters on the algorithm results. In the figure, it can be observed that, compared with the situation where the algorithm runs with different numbers of mismatched paths in the experiment, due to the matching of path numbers in the simulation, the final evolved parameters are more in line with the model, leading to the evaluated algorithm obtaining more accurate distance estimates. Moreover, due to the added constraints on the model parameters in the proposed algorithm, regardless of how the path number changes, our algorithm always achieves a more optimized node distance estimation.

5.2.2. Influence of Regular Multi-Channel RSSI

The ranging errors obtained from 1920 simulations of MUDR and MCRO using different channel numbers and node distances are presented in Figure 6. To reduce the influence of the number of paths on the distance estimation results, we set the number of simulated and evolved paths to two, three, four, and five. In the simulation, the multi-channel RSSI is generated based on noise following a normal distribution, which is regular, while in the experiment, the noise of the multi-channel RSSI does not strictly follow a normal distribution, which is irregular. Since the simulated multi-channel RSSI is regular, we observed the effect of channel numbers on ranging accuracy by setting them to 8, 12, and 16. From the figure, we can find that increasing the channel number does not significantly improve ranging accuracy. On the contrary, increasing the number of measured channels actually prolongs the execution time of the algorithm. Therefore, even with a moderate number of channels, we can ensure that the proposed algorithm always has a higher accuracy than the existing algorithm.

5.3. Computational Complexity Analysis

The evaluated algorithms were implemented based on Matlab in the simulations and experiments, and their average running time was computed from all the experiments and simulations. Because MUDR does not require evolutionary computation to obtain optimized node distance estimates, its average execution time is around 10 ms. MCRO evolves 1000 generations to obtain optimized node distance estimates, so its run time is slightly longer, at around 400 ms. Although the computation time of MCRO has increased, its ranging accuracy is much higher than that of MUDR. Since MCRO is composed of AEKF and MOEA, and MOEA has a much higher computational complexity than AEKF, the computational complexity of MCRO is equivalent to that of MOEA, that is, MCRO’s computational complexity is O (MN2) [47], where M represents the objective number and N represents the population size. Thus, we can choose a small population size so that the proposed algorithm can achieve real-time goals.

5.4. Ranging-Based Trilateration Positioning

We conducted 90 experiments on trilateration positioning using MUDR and MCRO. Anchor nodes and beacon nodes are randomly deployed in an 8- by 8-m area, and they send messages on 16 channels in sequence. The positioning error of trilateration is defined as
P o s i t i o n i n g   error = x 1 x ^ 1 + x 2 x ^ 2
where x 1 , x 2 represents the actual coordinates of the target node, and x ^ 1 , x ^ 2 represents the coordinates of the target node calculated by trilateration.
Figure 7 shows the trilateration positioning errors based on MUDR and MCRO in 90 experiments. Due to the unknown number of paths in the actual environment, the number of paths used for MUDR and MCRO is set to five. From the figure, it can be observed that the trilateration positioning error based on MCRO is much smaller than that based on MUDR, with average errors of 1.21 m and 2.92 m, respectively. The main reason for this is that the ranging error of MCRO is much smaller than that of MUDR, which leads to the convergence point of the three sides based on MCRO being closer to the target node.

6. Conclusions

In this study, we propose an algorithm for multi-channel ranging optimization based on a novel evolutionary model with multiple objectives. This innovative multi-objective evolutionary model consists of two objective functions: one to evolve the model parameters and the other to constrain the evolved parameters based on the relationship between the weighted multi-channel RSSI and node distance to avoid falling into local optima. MCRO does not need additional training to obtain the path attenuation exponent and node antenna gain when estimating the distance between wireless sensor nodes. It also avoids the problems of reduced accuracy in the ranging model and the need for additional nodes to participate in the ranging process due to the use of reference nodes. Therefore, it achieves the ranging goals of environmental adaptation, high model accuracy, and low deployment cost, and is suitable for the high-precision positioning of nodes in large-scale WSNs in multipath environments. From the simulation and experimental results, it can be concluded that the MCRO algorithm provides more accurate and reliable ranging results compared to the existing multi-channel RSSI-based ranging algorithm, reducing ranging errors. In the experiment and simulation, the average ranging errors of all results decreased by 64%.

Author Contributions

X.F. conceived, designed, and conducted the experiments and analyzed the data. Z.J. contributed materials/analysis tools. X.F. wrote the paper. Z.J. contributed to the paper’s modification and refinement. All authors have read and agreed to the published version of the manuscript.

Funding

This research was financially supported by the Natural Science Foundation of the Jiangsu Higher Education Institutions of China (No. 19KJB520034), the Doctoral Scientific Research Startup Foundation of Jinling Institute of Technology (No. jit-b-201723), the Top-notch Academic Programs Project of Jiangsu Higher Education Institutions (No. PPZY2015B140), and the National Natural Science Foundation of China (No. 61272418).

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

The data presented in this study are available from the corresponding authors on request.

Conflicts of Interest

The authors declare no conflicts of interest.

References

  1. Famili, A.; Stavrou, A.; Wang, H.; Park, J.M. Pilot: High-precision indoor localization for autonomous drones. IEEE Trans. Veh. Technol. 2022, 72, 6445–6459. [Google Scholar] [CrossRef]
  2. Oliveira, L.L.D.; Eisenkraemer, G.H.; Carara, E.A.; Martins, J.B.; Monteiro, J. Mobile localization techniques for wireless sensor networks: Survey and recommendations. ACM Trans. Sens. Netw. 2023, 19, 1–39. [Google Scholar] [CrossRef]
  3. Souissi, R.; Sahnoun, S.; Baazaoui, M.K.; Fromm, R.; Fakhfakh, A.; Derbel, F. A self-localization algorithm for mobile targets in indoor wireless sensor networks using wake-up media access control protocol. Sensors 2024, 24, 802. [Google Scholar] [CrossRef]
  4. Temene, N.; Sergiou, C.; Georgiou, C.; Vassiliou, V. A survey on mobility in wireless sensor networks. Ad Hoc Netw. 2022, 125, 102726. [Google Scholar] [CrossRef]
  5. Gao, X.; Zhu, X.; Zhai, L. AoI-sensitive data collection in multi-UAV-assisted wireless sensor networks. IEEE Trans. Wirel. Commun. 2023, 22, 5185–5197. [Google Scholar] [CrossRef]
  6. Tabella, G.; Ciuonzo, D.; Paltrinieri, N.; Rossi, P.S. Bayesian fault detection and localization through wireless sensor networks in industrial plants. IEEE Internet Things J. 2024, 11, 13231–13246. [Google Scholar] [CrossRef]
  7. Sangrit, K.; Karnjana, J.; Laitrakun, S.; Fukawa, K.; Fugkeaw, S.; Keerativittayanun, S. Distance estimation between wireless sensor nodes using RSSI and CSI with bounded-error estimation and theory of evidence for a landslide monitoring system. In Proceedings of the 13th International Conference on Information Technology and Electrical Engineering, Chiang Mai, Thailand, 14–15 October 2021; IEEE: Piscataway Township, NJ, USA, 2021; pp. 40–45. [Google Scholar]
  8. Shilpi, R.G.P.; Kumar, S.; Kumar, A. An optimized sensor node localization approach for wireless sensor networks using RSSI. J. Supercomput. 2023, 79, 7692–7716. [Google Scholar] [CrossRef]
  9. Agualimpia-Arriaga, C.; Govindasamy, S.; Soni, B.; Páez-Rueda, C.I.; Fajardo, A. RSSI-Based Indoor Localization Using Machine Learning for Wireless Sensor Networks: A Recent Review. In Proceedings of the 2024 IEEE ANDESCON, Cusco, Peru, 11–13 September 2024. [Google Scholar]
  10. Ahirwal, S.; Singh, J. A review of range-based rssi algorithms for indoor wireless sensor network localization. Int. J. Adv. Comput. Technol. 2023, 12, 7–12. [Google Scholar]
  11. Datta, A.; Dasgupta, M. On accurate localization of sensor nodes in underwater sensor networks: A Doppler shift and modified genetic algorithm based localization technique. Evol. Intell. 2021, 14, 119–131. [Google Scholar] [CrossRef]
  12. Khan, M.Z. TriSense: RFID, Radar, and USRP-Based Hybrid Sensing System for Enhanced Sensing and Monitoring. Ph.D. Thesis, University of Glasgow, Glasgow, Scotland, 2024. [Google Scholar]
  13. Wu, S.; Huang, W.; Li, M.; Xu, K. A novel RSSI fingerprint positioning method based on virtual AP and convolutional neural network. IEEE Sens. J. 2022, 22, 6898–6909. [Google Scholar] [CrossRef]
  14. Xu, S.; Wu, L.; Doğançay, K.; Alaee-Kerahroodi, M. A hybrid approach to optimal TOA-sensor placement with fixed shared sensors for simultaneous multi-target localization. IEEE Trans. Signal Process. 2022, 70, 1197–1212. [Google Scholar] [CrossRef]
  15. Dang, X.; Ma, W.; Habets, E.A.; Zhu, H. TDOA-based robust sound source localization with sparse regularization in wireless acoustic sensor networks. IEEE/ACM Trans. Audio Speech Lang. Process. 2022, 30, 1108–1123. [Google Scholar] [CrossRef]
  16. Wang, S.; Jiang, X.; Wymeersch, H. Cooperative localization in wireless sensor networks with AOA measurements. IEEE Trans. Wirel. Commun. 2022, 21, 6760–6773. [Google Scholar] [CrossRef]
  17. Wang, D.; Bazzi, A.; Chafii, M. RIS-Enabled Integrated Sensing and Communication for 6G Systems. In Proceedings of the IEEE Wireless Communications and Networking Conference, Dubai, United Arab Emirates, 21–24 April 2024; IEEE: Piscataway, NJ, USA, 2024; pp. 1–6. [Google Scholar]
  18. Bazzi, A.; Slock, D.T.; Meilhac, L. A Newton-type Forward Backward Greedy method for multi-snapshot compressed sensing. In Proceedings of the 51st Asilomar Conference on Signals, Systems, and Computers, Pacific Grove, CA, USA, 29 October–1 November 2017; IEEE: Piscataway, NJ, USA, 2017; pp. 1178–1182. [Google Scholar]
  19. Kim, M.J.; Kim, K.H.; Kee, C.; Kim, O. Neural network-based multipath mitigation method for precise indoor positioning. In Proceedings of the 36th International Technical Meeting of the Satellite Division of The Institute of Navigation, Denver, CO, USA, 11–15 September 2023; ION: Washington, DC, USA, 2023; pp. 1999–2012. [Google Scholar]
  20. Guo, G.; Chen, R.; Yan, K.; Li, P.; Yuan, L.; Chen, L. Multichannel and multi-RSS based BLE range estimation for indoor tracking of commercial smartphones. IEEE Sens. J. 2023, 23, 30728–30738. [Google Scholar] [CrossRef]
  21. Xu, G.; Kan, E.C. Phase offset calibration in multi-channel radio-frequency transceivers. IEEE J. Microw. 2023, 4, 111–122. [Google Scholar] [CrossRef]
  22. Nain, M.; Goyal, N.; Awasthi, L.K.; Malik, A. A range based node localization scheme with hybrid optimization for underwater wireless sensor network. Int. J. Commun. Syst. 2022, 35, e5147. [Google Scholar] [CrossRef]
  23. Luomala, J.; Hakala, I. Adaptive range-based localization algorithm based on trilateration and reference node selection for outdoor wireless sensor networks. Comput. Netw. 2022, 210, 108865. [Google Scholar] [CrossRef]
  24. Jin, Y.; Zhou, L.; Zhang, L.; Hu, Z.; Han, J. A novel range-free node localization method for wireless sensor networks. IEEE Wirel. Commun. Lett. 2022, 11, 688–692. [Google Scholar] [CrossRef]
  25. Kanwar, V.; Kumar, A. DV-Hop-based range-free localization algorithm for wireless sensor network using runner-root optimization. J. Supercomput. 2021, 77, 3044–3061. [Google Scholar] [CrossRef]
  26. Sfendourakis, M.; Zakynthinaki, M.; Vasilaki, E.; Antonidakis, E.; Nilavalan, R. Coverage Area of a Localization Fixed Sensors Network System with the process of Triangulation. WSEAS Trans. Inf. Sci. Appl. 2021, 18, 39–56. [Google Scholar] [CrossRef]
  27. An, T.T.; Son, T.T.; Hien, D.Q.; Ai, D.H. A trilateration-based positioning model for the real-time 2d map wireless sensor networks. In Proceedings of the International Conference on Advanced Technologies for Communications, Da Nang, Vietnam, 19–21 October 2023; IEEE: Piscataway, NJ, USA, 2023; pp. 399–403. [Google Scholar]
  28. Aouthu, S.; Jyothsna, V.; Swaraja, K.; Dilli, R. Gauss-Newton Multilateration Localization Algorithm in Large-scale Wireless Sensor Networks for IoT Applications. Telecommun. Radio Eng. 2023, 82, 13–29. [Google Scholar] [CrossRef]
  29. Ma, W.; Dang, X.; Cheng, Q.; Zhu, H. Sensor selection based on sparse sensing in the presence of sensor position error. IEEE Trans. Aerosp. Electron. Syst. 2023, 59, 8915–8930. [Google Scholar] [CrossRef]
  30. Cao, Y.; Xu, J. DV-Hop-based localization algorithm using optimum anchor nodes subsets for wireless sensor network. Ad Hoc Netw. 2023, 139, 103035. [Google Scholar] [CrossRef]
  31. Kanchi, S. Localization in Wireless Sensor Networks Using MDS with Inter-node Angle Estimation. In Proceedings of the International Conference on Computational Science and Its Applications, Cagliari, Italy, 13–16 September 2021; Springer: Berlin/Heidelberg, Germany, 2021; pp. 622–630. [Google Scholar]
  32. Yu, W.; Yu, C. Application of weighted centroid algorithm based on weight correction in node localization of wireless sensor networks. Sci. Rep. 2025, 15, 23400. [Google Scholar] [CrossRef]
  33. Zhu, X.; Qu, W.; Qiu, T.; Zhao, L.; Atiquzzaman, M.; Wu, D.O. Indoor intelligent fingerprint-based localization: Principles, approaches and challenges. IEEE Commun. Surv. Tut. 2020, 22, 2634–2657. [Google Scholar] [CrossRef]
  34. You, Y.; Yoon, J.; Kang, D.; Kim, J.; Lee, H. Collagemap: Tailoring generative fingerprint map via obstacle-aware adaptation for site-survey-free indoor localization. In Proceedings of the IEEE International Conference on Pervasive Computing and Communications, Washington, DC, USA, 17–21 March 2025; IEEE: Piscataway, NJ, USA, 2025; pp. 197–207. [Google Scholar]
  35. Budi, B.; Machdi, A.R. Distance Testing on Point to Point Communication with Lora Based on RSSI and Log Normal Shadowing Model. J. Energy Electr. Eng. 2024, 5, 89–93. [Google Scholar]
  36. Khodabandeh, A. Bias-bounded estimation of ambiguity: A method for radio interferometric positioning. IEEE Trans. Signal Process. 2022, 70, 3042–3057. [Google Scholar] [CrossRef]
  37. Song, S.; Li, C. Complex Environmental Localization of Scenic Spots by Integrating LANDMARC Localization System and Traditional Location Fingerprint Localization. Int. J. Adv. Comput. Sci. Appl. 2024, 15, 860–870. [Google Scholar] [CrossRef]
  38. Assayag, Y.; Oliveira, H.; Souto, E.; Barreto, R.; Pazzi, R. Indoor positioning system using synthetic training and data fusion. IEEE Access 2021, 9, 115687–115699. [Google Scholar] [CrossRef]
  39. Stefanoni, M.; Kovács, I.; Sarcevic, P.; Odry, Á. A Survey on the Main Techniques Adopted in Indoor and Outdoor Localization. Electronics 2025, 14, 2069. [Google Scholar] [CrossRef]
  40. Li, Y. Resource Allocation for Coordinated Multipoint Joint Transmission System and Received Signal Strength Based Positioning in Long Term Evolution Network. Ph.D. Thesis, University of Liverpool, Liverpool, UK, 2017. [Google Scholar]
  41. Li, Y.; Fu, L.; Chen, M.; Chi, K.; Zhu, Y.H. RF-based charger placement for duty cycle guarantee in battery-free sensor networks. IEEE Commun. Lett. 2015, 19, 1802–1805. [Google Scholar] [CrossRef]
  42. Wang, C.; Li, R.; Cao, Y.; Li, M. A hybrid model for state of charge estimation of lithium-ion batteries utilizing improved adaptive extended Kalman filter and long short-term memory neural network. J. Power Sources 2024, 620, 235272. [Google Scholar] [CrossRef]
  43. Fang, X.; Jiang, Z.; Nan, L.; Chen, L. Noise-aware localization algorithms for wireless sensor networks based on multidimensional scaling and adaptive Kalman filtering. Comput. Commun. 2017, 101, 57–68. [Google Scholar] [CrossRef]
  44. Ma, H.; Zhang, Y.; Sun, S.; Liu, T.; Shan, Y. A comprehensive survey on NSGA-II for multi-objective optimization and applications. Artif. Intell. Rev. 2023, 56, 15217–15270. [Google Scholar] [CrossRef]
  45. Zhang, C.; Qi, W.; Liu, P.; Wei, L. Multipath cancellation by frequency diversity: A training-free and analytical approach to accurate RSS ranging in ground-deployed wireless sensor networks. Electron. Lett. 2014, 50, 471–473. [Google Scholar] [CrossRef]
  46. Fang, X.; Chen, L. An optimal multi-channel trilateration localization algorithm by radio-multipath multi-objective evolution in RSS-ranging-based wireless sensor networks. Sensors 2020, 20, 1798. [Google Scholar] [CrossRef] [PubMed]
  47. Wu, X.; Wang, L.; Chen, B.; Feng, Z.; Qin, Y.; Liu, Q.; Liu, Y. Multi-objective optimization of shield construction parameters based on random forests and NSGA-II. Adv. Eng. Inform. 2022, 54, 101751. [Google Scholar] [CrossRef]
Figure 1. The structure of MCRO.
Figure 1. The structure of MCRO.
Sensors 25 05851 g001
Figure 2. The experimental scenario.
Figure 2. The experimental scenario.
Sensors 25 05851 g002
Figure 3. Distance estimation errors of MUDR and MCRO in the experiments using different node distances and path numbers.
Figure 3. Distance estimation errors of MUDR and MCRO in the experiments using different node distances and path numbers.
Sensors 25 05851 g003
Figure 4. Distance estimation errors of MUDR and MCRO in the experiments using different node distances and channel numbers.
Figure 4. Distance estimation errors of MUDR and MCRO in the experiments using different node distances and channel numbers.
Sensors 25 05851 g004
Figure 5. Distance estimation errors of MUDR and MCRO in the simulations using different node distances and path numbers.
Figure 5. Distance estimation errors of MUDR and MCRO in the simulations using different node distances and path numbers.
Sensors 25 05851 g005
Figure 6. Distance estimation errors of MUDR and MCRO in the simulations using different node distances and channel numbers.
Figure 6. Distance estimation errors of MUDR and MCRO in the simulations using different node distances and channel numbers.
Sensors 25 05851 g006
Figure 7. Trilateration positioning error based on MUDR and MCRO in the experiments.
Figure 7. Trilateration positioning error based on MUDR and MCRO in the experiments.
Sensors 25 05851 g007
Table 1. The MOEA’s parameters.
Table 1. The MOEA’s parameters.
ParametersValues
max d8 m
min d0 m
max ρ3 × 10−1
min ρ0
max c10−5
min c0
Generation103
Population10
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

Fang, X.; Ji, Z. An Environment-Adaptive Multi-Channel Ranging Optimization Algorithm Based on a Multi-Objective Evolutionary Model for Multipath Wireless Sensor Networks. Sensors 2025, 25, 5851. https://doi.org/10.3390/s25185851

AMA Style

Fang X, Ji Z. An Environment-Adaptive Multi-Channel Ranging Optimization Algorithm Based on a Multi-Objective Evolutionary Model for Multipath Wireless Sensor Networks. Sensors. 2025; 25(18):5851. https://doi.org/10.3390/s25185851

Chicago/Turabian Style

Fang, Xuming, and Zuqin Ji. 2025. "An Environment-Adaptive Multi-Channel Ranging Optimization Algorithm Based on a Multi-Objective Evolutionary Model for Multipath Wireless Sensor Networks" Sensors 25, no. 18: 5851. https://doi.org/10.3390/s25185851

APA Style

Fang, X., & Ji, Z. (2025). An Environment-Adaptive Multi-Channel Ranging Optimization Algorithm Based on a Multi-Objective Evolutionary Model for Multipath Wireless Sensor Networks. Sensors, 25(18), 5851. https://doi.org/10.3390/s25185851

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