You are currently viewing a new version of our website. To view the old version click .
Sensors
  • Article
  • Open Access

7 May 2025

An Enhanced ZigBee-Based Indoor Localization Method Using Multi-Stage RSSI Filtering and LQI-Aware MLE

,
,
and
1
School of Computer Science, Civil Aviation Flight University of China, Guanghan 618307, China
2
Yuanpei College, Shaoxing University, Shaoxing 312000, China
*
Author to whom correspondence should be addressed.
This article belongs to the Special Issue Sensors and Techniques for Indoor Positioning and Localization: 2nd Edition

Abstract

Accurate indoor localization in wireless sensor networks remains a non-trivial challenge, particularly in complex environments characterized by signal variability and multipath propagation. This study presents a ZigBee-based localization approach that integrates multi-stage preprocessing of received signal strength indicator (RSSI) data with a reliability-aware extension of the maximum likelihood estimation (MLE) algorithm. To improve measurement stability, a hybrid filtering framework combining Kalman filtering, Dixon’s Q test, Gaussian smoothing, and mean averaging is applied to reduce the influence of noise and outliers. Building on the filtered data, the proposed method introduces a noise and link quality indicator (LQI)-based dynamic weighting mechanism that adjusts the contribution of each distance estimate during localization. The approach was evaluated under simulated and semi-physical non-line-of-sight (NLOS) indoor conditions designed to reflect practical deployment scenarios. While based on a limited set of representative test points, the method yielded improved positioning consistency and achieved an average accuracy gain of 11.7% over conventional MLE in the tested environments. These results suggest that the proposed method may offer a feasible solution for resource-constrained localization applications requiring robustness to signal degradation.

1. Introduction

In 2000, Hightower et al. [1] proposed a SpotON system. This system utilizes multiple readers, using the target’s received signal strength indicator (RSSI) [2] as a parameter to estimate distance, which is then used to determine the target’s location through triangulation. Although this method has relatively low accuracy, it provides an important reference for subsequent positioning research. Currently, positioning algorithms based on distance measurement primarily include angle of arrival (AOA) [3,4], time of arrival (TOA) [5,6], and time difference of arrival (TDOA) [7]. Among them, positioning methods based on TOA and TDOA rely heavily on the synchronization precision of transmitters and receivers, imposing high requirements on the equipment. Distance measurement methods can also use hyperbolic positioning in addition to geometric triangulation. By deploying three nodes at different locations, two hyperbolas can be constructed based on the difference in distances between the target and two pairs of nodes, and their intersection determines the target’s position. The distance difference can be obtained through TDOA. However, distance-based positioning methods usually require multiple readers, making the system more complex and costly. In complex indoor environments, wireless signal propagation is severely affected, significantly degrading positioning performance.
Given the limitations of traditional distance-based methods such as reliance on multiple readers, hardware complexity, and vulnerability to signal degradation in indoor environments, this study adopts ZigBee as the underlying communication platform. ZigBee offers several advantages for wireless sensor network-based localization, including low power consumption, mesh networking, and native support for both RSSI and link quality indicator (LQI) metrics. Unlike radio frequency identification (RFID), which typically requires external readers and supports only unidirectional communication, ZigBee enables real-time, bidirectional data transmission and flexible network topology. These characteristics allow for continuous data collection and adaptive signal processing, making ZigBee particularly suitable for the implementation of the proposed multi-stage filtering and dynamic weighting strategies. Prior research has also demonstrated ZigBee’s robustness in dense, multipath-prone environments [8,9,10,11,12], supporting its selection as a practical foundation for scalable indoor 3D localization.
To improve positioning accuracy in complex indoor environments, this study proposes an enhanced localization approach that integrates a multi-stage signal preprocessing framework with a reliability-aware estimation model. Specifically, a hybrid Kalman-Dixon-Gaussian-Mean (KDGM) filtering pipeline is introduced to suppress noise and remove outliers in the collected RSSI signals. On this basis, a noise and link quality indicator (LQI) weighted maximum likelihood estimation (NLW-MLE) method is applied, which dynamically adjusts the influence of each ranging value according to its estimated reliability. Measurements with lower noise levels and higher LQI values are assigned greater weights, while those affected by significant interference or link degradation contribute less to the final position calculation.
This approach addresses several limitations observed in conventional localization methods. Traditional centroid and weighted centroid algorithms are known to exhibit large errors in weak signal conditions or when anchor node distribution is uneven. Likewise, standard maximum likelihood estimation MLE [13,14] models typically assume uniform measurement quality, making them sensitive to fluctuations in signal reliability. By incorporating dynamic signal weighting and lightweight preprocessing, the proposed method enhances positioning robustness and estimation accuracy without incurring substantial computational overhead.
Experimental evaluations conducted under simulated and semi-physical non-line-of-sight (NLOS) indoor conditions show that the NLW-MLE algorithm achieves an average improvement of 11.7% in localization accuracy compared to the conventional MLE baseline. These results demonstrate the practical effectiveness of the method for reliable, real-time positioning in complex indoor wireless sensor network environments.
The remainder of this paper is organized as follows. Section 2 reviews the relevant background and existing methods in three-dimensional indoor localization, focusing on the triangular centroid, weighted centroid, and maximum likelihood estimation (MLE) algorithms. Following this, Section 3 introduces the preprocessing techniques adopted to improve RSSI signal reliability, including a multi-stage filtering pipeline that integrates Kalman filtering [15], Dixon’s Q test [16], and Gaussian filtering [17]. In Section 4, the proposed NLW-MLE algorithm is presented in detail, highlighting the incorporation of noise and LQI into a dynamic weighting mechanism to enhance localization accuracy. Subsequently, Section 5 describes the simulation and experiments conducted to evaluate the performance of the proposed method, accompanied by analyses and visualizations of the results. Finally, Section 6 and Section 7 discuss and conclude this study, respectively.

3. RSSI Preprocessing via Using Multi-Stage Filtering Techniques

In ZigBee-based positioning systems, RSSI measurements between nodes are frequently influenced by various environmental factors such as temperature, humidity, shadow fading, and multipath propagation. These effects result in RSSI signals that exhibit considerable fluctuations and noise. Since positioning calculations often rely directly on these unstable measurements, the resulting location estimates can be significantly affected by signal variability.
Moreover, RSSI values received by the nodes can vary substantially over time, and the presence of outliers due to random environmental interference is common. Such abnormalities not only degrade the reliability of wireless sensor network platforms but also lead to increased errors in distance estimation and localization.
To address these challenges, it is necessary to apply signal preprocessing techniques that can effectively enhance data quality before localization is performed. Filtering methods play a critical role in suppressing noise, identifying abnormal measurements, and stabilizing signal trends. In this section, we introduce a multi-stage RSSI filtering framework composed of several complementary techniques tailored to the characteristics of ZigBee signal environments.
Mean filtering [20] is widely adopted for its simplicity and computational efficiency, providing a basic level of noise suppression. Dixon’s Q test is useful for identifying and eliminating statistical outliers, thereby improving the accuracy of RSSI-based measurements. Gaussian filtering contributes to further signal smoothing by applying a weighted averaging scheme, while Kalman filtering enables dynamic state estimation by modeling system uncertainty. Together, these techniques form a multi-stage preprocessing framework that significantly enhances the robustness of localization systems under real-world signal conditions. Prior research confirms that combining multiple filtering strategies is crucial to improving positioning accuracy in RSSI-based indoor localization scenarios.

3.1. Mean Filtering

The mean filtering method processes the set of RSSI data received by the node through statistical operations to generate a new sequence of data points. Typically, the length of the data set is fixed, and when a new data point is added, the oldest data point is removed, dynamically updating the data set.
During this process, all data points are considered equally weighted, with no prioritization or differentiation in importance. Therefore, a moving average filtering method can be directly applied. Its mathematical expression is given by:
R S S I =   1 n i = 1 n   R S S I i ,
where R S S I represents the received signal strength, n is the number of signal strength samples, and R S S I i denotes the signal strength value of the ith sample.
Although Equation (13) defines RSSI as the average of n received signal samples, the value of n in our implementation is fixed and kept relatively small (typically 10–20 samples). These samples are collected at the ZigBee module’s native transmission rate (10–50 Hz), resulting in a total acquisition time of only a few hundred milliseconds. This level of delay is negligible in the context of most static or semi-dynamic indoor localization tasks.
Moreover, signal preprocessing including the mean filtering step is executed on a host computer or control terminal after data collection, rather than on embedded sensor nodes. This architectural design offloads computational complexity from resource-constrained ZigBee devices, ensuring that processing latency does not interfere with real-time communication or data acquisition.
We acknowledge that in latency-critical applications such as human–robot interaction or real-time navigation–response delay may be a more prominent concern. In such cases, adaptive filtering schemes with tunable sample windows or predictive estimation strategies may be explored in future work to further minimize response time without compromising stability.

3.2. Dixon’s Q Test for Outlier Detection

Dixon’s Q test is a statistical method used to identify and eliminate outliers in a dataset, playing a crucial role in improving the accuracy of distance measurements. This is particularly important when using RSSI data for distance estimation, as the presence of outliers can significantly affect the accuracy of the results.
The steps for applying Dixon’s Q test to filter RSSI values are as follows:
Step 1: Collect n RSSI data points and arrange them in ascending order as R S S I 1 R S S I 2 R S S I 3 R S S I n , then determine the significance level α = 0.05 .
Step 2: Based on the sample size (30 in this case), use Dixon’s Q test formula to check for outliers at both ends of the dataset. For sample sizes between 14 and 30, the formula is:
D n   =   x n x n 1 x n x 3   D n   =   x 3 x 1 x n 2 x 1 ,
where D n is the test statistic for detecting high-end outliers, and D n is the test statistic for detecting low-end outliers.
Step 3: In this study, a significance level of α = 0.05 is chosen, and the corresponding critical value D α , n is obtained from Dixon’s Q test critical value table.
Step 4: Compare the calculated Dixon’s Q test statistic with the critical value. If the Dixon’s Q test statistic exceeds the critical value, the dataset is determined to contain outliers.
Step 5: Remove the detected outliers and repeat the above steps using the remaining RSSI values until no more outliers exist in the dataset.

3.3. Filtering for RSSI Smoothing

By constructing a Gaussian distribution model based on multiple RSSI values received by the same node, this method filters RSSI values by selecting those with high probability as valid data according to the characteristics of the Gaussian distribution.
The measurement of signal amplitude follows the probability density function of a Gaussian distribution, which is given by:
ϕ x   =   1 2 π σ e ( x μ ) 2 2 σ 2 ,
where:
μ =   1 n i = 1 n   x i ,
σ = 1 n 1 i = 1 n   x i μ 2 .
Gaussian filtering is a widely used signal processing technique, particularly suitable for handling noisy and highly fluctuating signals. By applying a weighted average calculation to the signal, this method effectively reduces noise interference while enhancing signal accuracy and stability.
However, Gaussian filtering has certain limitations. Its performance depends on the number of sample data points, and when the sample size is insufficient, it may not significantly reduce noise effects. Additionally, it has limited effectiveness against persistent interference, such as energy reflections or shadowing effects. Furthermore, if signal processing takes too long, it may negatively impact the real-time performance of the system. Therefore, in practical applications, parameters should be adjusted based on specific scenarios to achieve a proper balance between noise reduction and system response speed.
In this study, a probability range of 0.68 ≤ ϕ(x) ≤ 1 was selected for analyzing RSSI signal strength values. Choosing this range means focusing on RSSI values within ±1σ of the mean, which includes the most representative data points, as they are tightly distributed around the overall average. Gaussian filtering effectively captures consistent and dominant signal strength characteristics in the environment while ignoring outliers that may result from sudden environmental fluctuations, device errors, or other random anomalies.

3.4. Kalman Filtering for Dynamic Signal Estimation

Kalman filtering is a recursive method used to estimate the state of a dynamic system. By combining the system model and observational data, Kalman filtering continuously updates the state estimate and state covariance matrix, achieving optimal estimation. This method performs exceptionally well in dynamic and frequently changing environments for signal processing. By simplifying and optimizing the algorithm, such as using efficient data structures and workflows, the filter can operate efficiently and stably.
Kalman filtering consists of two main stages: the prediction stage and the update stage.
In the prediction stage, the system state is estimated using the dynamic model, with the following equations:
  • State Prediction:
x k = A k x k 1 + B k u k ,
where x k represents the estimated state at time step k, A k is the state transition matrix, B k is the control input matrix, and u k is the control input.
2.
Error Covariance Prediction
This equation predicts the error covariance, where P k is the current error covariance matrix, and Q k represents the process noise covariance matrix.
In the update stage, the prediction is combined with the observed data by computing the Kalman gain, which is then used to correct the state and error covariance using the following equations.
3.
Computation of the Kalman Gain
K k   =   P k H k T ( H k P k H k T + R k ) 1 ,
where H k is the observation matrix, and R k is the observation noise covariance matrix.
4.
State Correction
x k = x k + K k z k H k x k ,
where z k represents the observed measurement.
5.
Error Covariance Correction
P k   =   I K k H k P k ,
where I is the identity matrix. Equations (18)–(21) form the core of the Kalman filter, which recursively estimates the state by combining predictions with observed data, thereby improving the accuracy of state estimation and error correction.

3.5. KDGM: A Combined Filtering Framework

First, the Kalman filtering algorithm is applied to the initial RSSI values. Kalman filtering is a recursive filtering technique that reduces noise and uncertainty by continuously estimating and correcting the system state, thereby improving the accuracy and stability of the data.
Next, the Dixon filtering method is applied to the Kalman-filtered RSSI values. At a significance level of α = 0.05 , the computed Dixon statistic is compared with the critical value until no more outliers exist in the dataset. Dixon filtering is a statistical method that identifies and removes outliers by calculating the deviation of sample data from the median and comparing it with other samples, significantly reducing data errors and biases.
Then, the Gaussian filtering algorithm is used to smooth the Dixon-filtered RSSI values and select values within the probability range of 0.68 F R S S I 1 . Gaussian filtering, based on Gaussian distribution, smooths data through weighted averaging or convolution operations, effectively eliminating noise and sudden interference while improving data stability and reliability.
Finally, the Gaussian-filtered RSSI values undergo accumulation and averaging operations to obtain the final RSSI value. This accumulation and averaging process further enhances the accuracy and stability of the data, reducing measurement errors and providing a more precise reflection of wireless signal strength and propagation distance.

4. Proposed Localization Method: NLW-MLE

The previous sections reviewed several representative localization techniques, including centroid-based algorithms and standard likelihood estimation approaches. While these methods have demonstrated effectiveness in ideal or low-noise environments, their performance may degrade significantly in the presence of unstable wireless signals and irregular multipath effects. Based on these limitations, this section presents an extension of the classical maximum likelihood estimation (MLE) model, incorporating dynamic signal quality awareness and multi-source error mitigation into the estimation process.
MLE is a robust probabilistic localization technique widely adopted in wireless sensor networks. Combining RSSI with LQI measurements enhances the MLE approach, providing superior accuracy and robustness under diverse environmental conditions [21]. Moreover, recent studies have demonstrated that applying adaptive weight optimization strategies to the likelihood estimation process can further enhance localization performance by accounting for measurement uncertainty and varying signal quality.
In practical applications, ranging errors are influenced not only by noise but also by link quality. To improve positioning accuracy, this method introduces a noise and LQI weighting mechanism into the traditional MLE positioning method to enhance location estimation. Specifically, the traditional MLE method estimates the target position by minimizing the sum of squared ranging errors. However, in the presence of high noise levels and unstable signal quality, this approach can be significantly affected by ranging data with large errors. To address this issue, we dynamically adjust the weight of each ranging measurement based on its noise level and LQI. In this method, ranging values with lower noise levels and higher LQI are considered more reliable and are assigned higher weights. Conversely, ranging values with higher noise levels or lower LQI contribute less to location estimation and are assigned lower weights. This weighting mechanism effectively reduces the impact of noisy or low-quality ranging data on the final position estimate, thereby improving positioning accuracy.
To implement this weighting mechanism, we first compute the weight for each ranging measurement. The weight calculation process integrates two key factors: ranging noise level and LQI value. Ranging values with low noise and high LQI receive higher weights, while those with high noise and low LQI are assigned lower weights. Finally, the weight of each ranging measurement is dynamically adjusted based on the combined influence of noise and LQI, leading to a weighted final position estimate.

4.1. Dynamic Weight Calculation Based on Noise and LQI

To dynamically adjust the weights based on ranging noise and LQI, the noise weight and LQI weight are first computed separately and then combined to form the final weighted value.
Assuming there are N anchor nodes, the ranging distance between the blind node and the ith anchor node is denoted as d i , the noise level as σ i , and LQI as L i . The weight calculation process is as follows:
  • Noise Weight
The lower the noise level, the more reliable the ranging result. Therefore, the noise weight can be expressed as the inverse square of the ranging noise. The specific formula is:
w n o i s e , i = 1 ( σ i 2 + ϵ ) ( d i 2 + ϵ ) ,
where σ i is the noise level of the iith anchor node, d i is the ranging distance between the blind node and the ith anchor node, and ϵ is a small constant used to avoid division by zero errors.
2.
LQI Weight
LQI reflects the quality of the signal, namely, the higher the LQI, the better the signal quality. To adjust the weight based on link quality, the LQI values of all anchor nodes are first normalized to ensure they fall within the range [0,1]. The LQI weight is then calculated using the following formula:
w i = 1 ( σ i 2 + ϵ ) ( d i 2 + ϵ ) L i max L ,
3.
Comprehensive Weight
By combining the noise weight and the LQI weight, the final weight for each anchor node is obtained. The comprehensive weight is calculated as the product of the noise weight and the LQI weight, given by the following formula:
w i = 1 σ i 2 + ϵ L i max L ,
4.
Weighted Sum and Normalization
To ensure that the sum of the weights equals 1 and to prevent extreme weights from excessively influencing the result, the final comprehensive weighted value is calculated through weighting followed by normalization, given by the following formula:
w i = w i w L Q I , i i = 1 N   w i w L Q I , i ,
This step ensures that the sum of all weights equals 1, preventing any single weight from having an excessive or insufficient impact on the position estimation. This improves the stability and accuracy of the calculation.
By applying the above formulas, all weights satisfy the normalization requirement, ensuring that they do not introduce any unreasonable influence on the final positioning result.

4.2. Formulation of the Weighted Error Function

The weighted error function is obtained by summing the weighted ranging error terms. The specific formula is given by:
f x , y , z = i = 1 n   w i [ ( x i x ) 2 + ( y i y ) 2 + ( z i z ) 2 d i 2 ] 2 ,
where w i is the comprehensive weight of the ith reference point, representing its contribution to the position estimation.
By minimizing the weighted error function f ( x , y , z ) , the estimated coordinates of the blind node are obtained. The specific linear equation system follows a structure similar to the standard MLE method, with the difference that the error terms in the equations are adjusted according to the assigned weights.
Finally, the estimated coordinates of the blind node X ^ are determined using the following formula:
X ^ = ( A T A ) 1 A T b  
By using the NLW-MLE method, we can achieve more accurate positioning results while accounting for the effects of noise and link quality.

5. Experimental Evaluation and Results

5.1. Simulation Setup

This study uses MATLAB (R2020b) as the simulation tool to conduct a simulation for the three-dimensional positioning problem. During the simulation, 50 blind nodes are randomly generated and simulated within the three-dimensional space of a room. The simulation parameter settings are as follows: the anchor node positions include six anchors located at (0, 0, 0), (5, 0, 0), (0, 5, 0), (0, 0, 5), (2.5, 2.5, 5), and (5, 5, 5). Each unknown node performs ranging measurements with each anchor node, with each measurement repeated 80 times to account for measurement variations.
In the simulation, the parameters of the path loss model are set as follows: P 0 = 40.41 , n = 2.05 , X σ = 3.9 . Additionally, the simulation considers the effects of Rician fading, where the K-factor is set to 1.79, and dynamic obstacles, with a fading coefficient of σ = 0.9 . These parameters, combined with the path loss model, simulate the positioning accuracy under different channel conditions, adjusting the ranging error through different RSSI values and noise levels.
Additionally, four positioning methods are compared, namely the triangular centroid method, the triangular weighted centroid method, MLE, and NLW-MLE. Each method calculates the positioning error separately and performs statistical analysis. The errors record the positioning accuracy of each method, ultimately outputting the mean error and standard deviation of different positioning methods.

5.2. Simulation Results and Discussion

To verify the accuracy and robustness of the NLW-MLE positioning algorithm, the triangular centroid method (TCM), triangular weighted centroid method (TWCM), and MLE were compared with the proposed NLW-MLE algorithm. The simulation experiments were conducted using the parameter settings described in the Section 5.1, yielding positioning results for 50 blind nodes. Some of the experimental results are presented in Table 1 and Table 2.
Table 1. Comparison of triangular centroid and weighted centroid methods.
Table 2. Comparison of positioning results between MLE and NLW-MLE algorithms.
From Table 1 and Table 2, it can be observed that the triangular centroid method (TCM) and triangular weighted centroid method (TWCM) exhibit relatively large positioning errors. Comparing MLE with the proposed NLW-MLE algorithm, the positioning error of NLW-MLE is much lower than that of MLE at certain data points, providing more accurate results. The positioning accuracy of NLW-MLE is improved by 11.7% compared to traditional MLE.
To further highlight the superiority of the NLW-MLE positioning algorithm, its performance across different data points is analyzed using a heatmap, line graph, and 3D positioning result visualization.
As shown in Figure 5, the heatmap clearly illustrates that NLW-MLE achieves positioning errors below 2 m for most nodes, with a uniform error distribution, demonstrating its advantage in positioning accuracy. In contrast, TCM and TWCM show generally higher errors, with significant fluctuations at certain nodes, indicating their limitations in terms of accuracy and stability.
Figure 5. Heatmap of positioning errors for different methods.
The line graph in Figure 6 compares the error variation trends among different positioning algorithms. It is evident that NLW-MLE has the lowest and most stable positioning error, maintaining a consistent error range between 0.5 and 1 m. In comparison, MLE exhibits significantly higher errors than NLW-MLE at blind node indices 1, 8, 17, 33, and 44.
Figure 6. Comparison of positioning errors across different methods.
Finally, the 3D positioning result visualization in Figure 7 provides a comparative analysis of the positioning accuracy and distribution across different methods, offering a clearer understanding of the precision and stability of the NLW-MLE algorithm.
Figure 7. 3D positioning result visualization for different methods.

5.3. Experimental Validation in a Simulated Fuel Depot Environment

The software testing of the aviation fuel pipeline leak point localization system was conducted in Laboratory 1228 of the university. The reasons for choosing this laboratory as the test environment are as follows: the non-line-of-sight (NLOS) conditions within the laboratory can effectively simulate the actual situation of pipeline obstruction in fuel depots. In real fuel depots, due to the structure and layout of pipelines, obstructions may occur, which can affect wireless signal propagation and lead to changes in positioning accuracy. Therefore, the indoor NLOS environment provides a suitable testing scenario for the system, allowing for a realistic evaluation of its performance in actual fuel depot conditions. The coordinates of the anchor nodes used in this test are: (0, 0, 0), (1.8, 0, 0), (0, 3, 0), (1.8, 3, 1.5), (0, 3, 1.5), and (1.8, 3, 0). Since it was not possible to accurately capture the layout of each node in photographs, a 3D schematic diagram was drawn instead, in which all anchor nodes are marked with blue dots, as shown in Figure 8, which illustrates the simulated test environment.
Figure 8. Schematic diagram of the simulated environment.
In the experiment, several positioning points within the coverage area of the anchor nodes were first selected, and their actual positions were measured. Then, the blind node was placed at these positioning points sequentially, and the system’s measurement results were obtained from the upper computer interface. Next, the actual positions of the positioning points were compared with the system’s measured positions and recorded. The final experimental positioning results are shown in Table 3.
Table 3. Experimental positioning results.
Figure 9 illustrates the system’s response upon detecting volatile gases: the monitoring status indicator changes from green to red, signaling an alarm state. At the same time, a blue dot clearly appears on the coordinate axis of the upper computer interface, indicating the actual positioning coordinates to help users locate the leakage point. Additionally, the system supports displaying the positioning results in both three-dimensional space and two-dimensional plane, providing more intuitive information to assist users in accurately identifying the leakage location. From Table 3, it can be seen that the actual positioning error is significantly higher than the positioning error in the simulation. The real-world results indicate that the system successfully achieves 3D positioning of the blind node. However, the positioning error is larger compared to the simulation results. The main sources of this error include the following aspects:
Figure 9. Alarm diagram on the upper computer interface.
(1) Antenna Error Impact
The installation position of each node’s antenna may cause variations in signal strength across different directions and areas. When the signal strength is uneven, the received signal strength at the receiver is affected, impacting the accuracy of the positioning algorithm. In real-world environments, due to the directional characteristics and propagation properties of the antenna, signals may experience attenuation or reflection, leading to positioning errors. Additionally, if the antenna’s directionality and radiation pattern are not optimal, misalignment or deviation may result in weak or distorted signals, causing inaccurate distance measurements. This error is particularly pronounced in complex environments with obstacles or walls, which can cause the positioning results to deviate from the actual position.
(2) Positioning Range and Node Deployment
In practical applications, the deployment of anchor nodes may not be as ideal as in simulations. In simulations, nodes are typically placed in optimal positions to ensure good coverage and high positioning accuracy. However, in real-world scenarios, suboptimal deployment or signal obstruction may lead to positioning errors.

5.4. Planned Field Deployment and Practical Constraints

To support real-world validation, this study originally planned to deploy the proposed NLW-MLE system in an operational aviation fuel depot at a civil aviation flight training airport. The target site provides a highly representative environment with dense metal pipelines, structural occlusions, and complex signal propagation conditions commonly encountered in practical applications.
However, due to safety regulations governing electronic equipment deployment in civil aviation fuel storage facilities, field testing requires formal approval and strict site clearance procedures. At the time of this study, the approval process was still ongoing. As a result, only preliminary site investigations and environmental documentation were completed.
Figure 10 presents an interior view of the intended deployment site, highlighting the metal enclosures and compact pipeline layout that are expected to influence wireless signal behavior. Upon obtaining the necessary authorization, the system will be deployed and evaluated on-site as part of the next phase of this research project.
Figure 10. Planned deployment site inside an aviation fuel depot at a civil aviation flight training airport.

6. Discussion

Although several recent localization approaches have been cited in this study, including AOA, TOA, and TDOA based methods [3,4,5,6,7], direct experimental comparisons with these works were not performed due to fundamental differences in signal models, hardware assumptions, and implementation platforms. For example, the AOA based techniques in [3,4] require antenna arrays to estimate signal arrival angles, while the TOA and TDOA methods in [5,6,7] depend on precise time synchronization and timestamping modules. These hardware configurations are incompatible with the ZigBee based system used in our study, which relies on low-power RSSI and LQI measurements without external synchronization or directional antennas. This makes direct comparison with those methods technically infeasible within our hardware and software constraints.
Furthermore, the evaluation environments and performance metrics used in these studies differ substantially, with some focusing on RFID systems or ultra-wide band (UWB) based platforms, and others employing distinct signal processing pipelines or assumptions about network topology and device capabilities. Due to these discrepancies, directly replicating or benchmarking such methods within our experimental setup may not yield fair or interpretable comparisons.
Given these constraints, we focused our evaluation on classical localization baselines such as MLE and centroid based methods that share a similar signal acquisition and deployment context. This allows for a more controlled and meaningful assessment of the improvements introduced by the proposed multi-stage filtering and LQI-aware weighting strategy. Future work will explore integrating additional signal modalities or simulation-based comparisons to broaden the scope of performance benchmarking under diverse technical conditions.
In addition, the current evaluation is based on a limited set of representative test points in both the simulation and semi-physical environments. These points were selected to capture typical localization scenarios, including central, edge, and non-line-of-sight (NLOS) conditions. Although additional test positions were explored during the development phase, only a subset was presented in the manuscript for clarity, interpretability, and space considerations.
We acknowledge that a broader distribution of test points and more comprehensive statistical metrics such as cumulative distribution functions (CDFs) could further enhance the analysis. However, given the limited scale of the current deployment and the sparsity of available real-world positions, we chose to prioritize robust pointwise comparisons over statistical representations that may not be fully supported by the dataset. We plan to include expanded test coverage and CDF based evaluation in future work when larger-scale field deployments become feasible. Such extensions will also enable more robust statistical modeling and comprehensive algorithmic benchmarking.

7. Conclusions

This study presents a refined three-dimensional indoor localization method, NLW-MLE, which extends the conventional maximum likelihood estimation framework by integrating multi-stage RSSI signal preprocessing and a dynamic weighting mechanism based on noise level and link quality indicator (LQI). The proposed approach aims to improve positioning robustness under practical constraints such as multipath propagation, signal fluctuations, and anchor placement irregularities.
Through simulation and semi-physical experiments, the NLW-MLE method demonstrated improved localization accuracy and stability compared to classical MLE and centroid based algorithms. The integration of filtering techniques, namely, Kalman, Dixon’s Q, and Gaussian smoothing helped reduce the impact of outliers and environmental noise, contributing to more reliable ranging inputs. Evaluation results also showed that the algorithm maintained relatively consistent performance across different spatial conditions.
While the current evaluation is based on a limited set of representative test points, the observed improvements suggest that the proposed method may be applicable in resource-constrained wireless sensor network scenarios such as indoor monitoring and infrastructure sensing. Future work will focus on expanding the evaluation scope, exploring support for dynamic target tracking, and adapting the approach to other wireless platforms, including UWB and Bluetooth-based systems.

Author Contributions

Conceptualization, J.L., S.Y., Z.W. and Z.Z.; methodology, J.L., S.Y., Z.W. and Z.Z.; software, J.L., S.Y., Z.W. and Z.Z.; validation, Z.Z.; formal analysis, J.L., S.Y., Z.W. and Z.Z.; investigation, J.L., S.Y., Z.W. and Z.Z.; resources, J.L., S.Y., Z.W. and Z.Z.; data curation, Z.Z.; writing—original draft preparation, J.L., S.Y., Z.W. and Z.Z.; writing—review and editing, J.L., S.Y., Z.W. and Z.Z.; visualization, J.L., S.Y., Z.W. and Z.Z.; supervision, Z.W.; project administration, Z.W.; funding acquisition, J.L. and Z.W. All authors have read and agreed to the published version of the manuscript.

Funding

This work is partially supported by the Fundamental Research Funds for the Central Universities under grant Nos. 25CAFUC03036, 25CAFUC03037, 25CAFUC09010, 24CAFUC04015 and 24CAFUC03042, the Civil Aviation Professional Project under grant No. MHJY2023027, and the 2024 Statistical Education Reform Project under No. 2024JG0226.

Data Availability Statement

The data used to support the findings of this study are available from the corresponding author upon request.

Acknowledgments

The authors express their gratitude to the anonymous reviewers for their invaluable suggestions.

Conflicts of Interest

The authors declare no conflicts of interest.

References

  1. Hightower, J.; Want, R.; Borrielo, G. SpotON: An Indoor 3D Location Sensing Technology Based on RF Signal Strength. Technical Report; University of Washington: Seattle, WA, USA, 2000. [Google Scholar]
  2. Wei, Z.; Chen, J.; Tang, H.; Zhang, H. RSSI-based location fingerprint method for RFID indoor positioning: A review. Nondestruct. Test. Eval. 2023, 39, 3–31. [Google Scholar] [CrossRef]
  3. Ding, W.; Li, L.; Chang, S. A Simple and Efficient Method for RSS-AOA-Based Localization with Heterogeneous Anchor Nodes. Sensors 2025, 25, 2028. [Google Scholar] [CrossRef] [PubMed]
  4. Hu, S.; Guo, L.; Liu, Z.; Gao, S. Multipath-Assisted Ultra-Wideband Vehicle Localization in Underground Parking Environment Using Ray-Tracing. Sensors 2025, 25, 2082. [Google Scholar] [CrossRef] [PubMed]
  5. Tang, J.; Chang, T.; Jiang, Q.; Ding, X.; Liu, D. Time-of-Arrival and Angle-of-Arrival Measurement-Assisted 3D Inter-Unmanned Aerial Vehicle Relative Localization Under Distance-Dependent Noise Model. Electronics 2025, 14, 90. [Google Scholar] [CrossRef]
  6. Li, M.; Li, M.; Wang, J.; Duan, A.; Sun, H.; Meng, Q. Optimization of a Time-of-Arrival-Ridge Estimation Iterative Model for Ultra-Wideband Positioning in a Long Linear Area. Sensors 2025, 25, 2229. [Google Scholar] [CrossRef] [PubMed]
  7. Zhang, Y.; Liu, C.; Gang, Y.; Wang, Y. TDOA-AOA Localization Algorithm for 5G Intelligent Reflecting Surfaces. Electronics 2024, 13, 4347. [Google Scholar] [CrossRef]
  8. Wei, Z.; Zhou, Z. A Combined Filtering Method for ZigBee Indoor Distance Measurement. Sensors 2024, 24, 3164. [Google Scholar] [CrossRef] [PubMed]
  9. Wang, X.; Wang, T.; Gao, J.; Yang, M.; Lin, F.; Jia, Y. A Novel Grouting Diffusion Monitoring System Based on ZigBee Wireless Sensor Network. Sensors 2025, 25, 2693. [Google Scholar] [CrossRef]
  10. Lv, H.; Liu, L.; Li, J.; Xu, Y.; Sheng, Y. Design of Hybrid Topology Wireless Sensor Network Nodes Based on ZigBee Protocol. Electronics 2025, 14, 115. [Google Scholar] [CrossRef]
  11. Rehman, A.; Haseeb, K.; Fati, S.M.; Lloret, J.; Peñalver, L. Reliable Bidirectional Data Transfer Approach for the Internet of Secured Medical Things Using ZigBee Wireless Network. Appl. Sci. 2021, 11, 9947. [Google Scholar] [CrossRef]
  12. Zeng, Z.; Zeng, F.; Han, X.; Elkhouchlaa, H.; Yu, Q.; Lü, E. Real-Time Monitoring of Environmental Parameters in a Commercial Gestating Sow House Using a ZigBee-Based Wireless Sensor Network. Appl. Sci. 2021, 11, 972. [Google Scholar] [CrossRef]
  13. Zhou, L.; Ma, S. Improved Hybrid Localization Algorithm of Maximum Likelihood and Centroid Localization Based on RSSI. In Proceedings of the 2017 4th International Conference on Information Science and Control Engineering (ICISCE), Changsha, China, 21–23 July 2017; pp. 385–389. [Google Scholar] [CrossRef]
  14. Sengijpta, S.K. Fundamentals of Statistical Signal Processing: Estimation Theory. Control Eng. Pract. 1994, 37, 465–466. [Google Scholar] [CrossRef]
  15. Li, J.; Wang, Z.; Hu, J.; Caballero-Aguila, R. Cubature Kalman Filtering for Nonlinear Systems with Energy Harvesting Sensors Under Probabilistic Quantization Effects. IEEE Sens. J. 2025, 25, 12143–12155. [Google Scholar] [CrossRef]
  16. Yi, W.; Gerasimov, I.V.; He, H.; Kuzmin, S.A. Design and implementation of a processing algorithm of measurement errors in multi-dimensional data acquisition. In Proceedings of the 2017 IEEE Conference of Russian Young Researchers in Electrical and Electronic Engineering (EIConRus), St. Petersburg, Russia, 1–3 February 2017; pp. 605–608. [Google Scholar] [CrossRef]
  17. Singh, A.K. Major development under Gaussian filtering since unscented Kalman filter. IEEE/CAA J. Autom. Sin. 2020, 7, 1308–1325. [Google Scholar] [CrossRef]
  18. Fang, Y.; Ma, W.; Chen, M.; Chai, C.; Zhang, X. Research on Indoor 3D Positioning Model Using Improved Triangular Centroid Position Algorithm Based on UWB. Appl. Sci. 2022, 12, 11572. [Google Scholar] [CrossRef]
  19. Fu, T.; Yang, L.; Li, X.; Yang, S. A Hybrid Algorithm Based on TDOA And Triangle Weighted Centroid Localization. Microcomput. Inf. 2012, 28, 395–396+480. [Google Scholar]
  20. Singh, D.; Kaur, A. Fuzzy based fast non local mean filter to denoise Rician noise. Mater. Today Proc. 2021, 46 Pt 15, 6445–6452. [Google Scholar] [CrossRef]
  21. Liu, H.; Darabi, H.; Banerjee, P.; Liu, J. Survey of Wireless Indoor Positioning Techniques and Systems. IEEE Trans. Syst. Man Cybern. Part C (Appl. Rev.) 2007, 37, 1067–1080. [Google Scholar] [CrossRef]
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.

Article Metrics

Citations

Article Access Statistics

Multiple requests from the same IP address are counted as one view.