Next Article in Journal
Contactless Inductive Flow Tomography for Real-Time Control of Electromagnetic Actuators in Metal Casting
Previous Article in Journal
De-Bonding Numerical Characterization and Detection in Aeronautic Multi-Element Spars
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Transmission Power Influence on WSN-Based Indoor Localization Efficiency

Institute of Electronics and Computer Science, 14 Dzerbenes St., LV-1006 Riga, Latvia
*
Author to whom correspondence should be addressed.
These authors contributed equally to this work.
Sensors 2022, 22(11), 4154; https://doi.org/10.3390/s22114154
Submission received: 22 April 2022 / Revised: 26 May 2022 / Accepted: 26 May 2022 / Published: 30 May 2022
(This article belongs to the Section Sensor Networks)

Abstract

:
Performing a good-quality indoor localization of a mobile target is a challenging task, which can be affected by many factors such as radio wave behavior, the nature of the experimental environment, and available infrastructure. (1) Background: An indoor localization experiment using an Internet of Things (IoT) wireless sensor network (WSN) testbed is performed, in order to study the influence of transmission power level on the quality of received signals, and consequently, the estimated target positional coordinates. (2) Methods: A received signal strength indicator (RSSI) range-based localization system using a geometrical constrained weighted least squares (WLS) estimator multilateration technique is selected to validate the influence of the transmission power level on the performance of the localization algorithm. (3) Results: Fair localization quality was obtained at the highest transmission power level instead of the proposed transmission power level. (4) Conclusion: Additional factors are discussed to fully represent the required operational transmission power for a better localization quality, along with suggested improvements of the infrastructure configuration as a future work.

1. Introduction

Localization of objects inside an indoor environment is emerging as an important requirement in many fields and industries. The definition of localization is to estimate the positional coordinates with a sufficient certainty, with respect to the dimensions and nature of a defined environment. Example applications of indoor localization could be localizing a person in a room, a forklift within a warehouse, or a mobile agent within a laboratory. Localization is the first and principal step of the see–think–act cycle for tasks to be executed by any mobile agent [1]; for example a forklift driver navigating the warehouse to reach a destination point while being aware of its current location or a medical staff localizing a patient in a hospital as a part of a patient surveillance system. Another large and fast growing domain that will take advantage of indoor localization is human–robot collaboration [2], whereby the accurate localization of a moving human worker might provide additional safety and efficiency benefits if integrated correctly.
Although the global navigation satellite system (GNSS) is a well-known absolute location system for localization in a wide variety of applications, the GNSS does not provide a reliable signal for indoor environments, because of the abundance of barriers and obstructions inside such environments [3]. A popular example of GNSS would be the global positioning system (GPS), which uses a shared frame of reference for all located objects (GPS receiver uses longitude, latitude, and altitude); on the other hand, a relative location system would use its own frame of reference [4]. The radio frequency (RF)-based localization algorithms can be classified into two basic models: range-based and range-free models. Both models rely on an infrastructure of anchor nodes, transmitting/receiving beacons, installed at fixed spatial locations within the environment for the sake of localizing a mobile target node. Range-free models assume no prior knowledge about RSSI signal strength, which means no initial calibration of anchor nodes is required, in contrast to range-based models, which need both signal strength and location calibration of anchor nodes [5].
Indoor localization systems can be categorized according to their measurement parameter such as received signal strength indicator (RSSI), time of arrival (ToA) and angle of arrival (AoA). The RSSI technique is a popular option because it is easy to implement and needs no specific hardware [6].
The relative distance information between transmitter and receiver can be extracted from the RSSI value by using a mathematical formula mapping the RSSI value to a relative distance, known as radio channel model or path-loss model [7]. In this particular indoor localization problem, the location of a target or an object is represented as an absolute position within the room frame of reference, which is obtained by using several relative distances between the mobile target and a fixed number of anchor nodes. The algorithm responsible for translating a set of relative distances between anchor nodes and mobile nodes to an absolute position of the mobile node could be multilateration (or trilateration when the number of anchor nodes is 3) [8].
The radio transceiver is an embedded electronic chip inside the transmitter/receiver device responsible for sending and receiving radio packets from/to the target to be localized (the direction of packets depends on the system’s topology). In case of a successful reception of a radio packet, the power of the packet can be represented as a RSSI digital value, stored in a built-in register of the radio transceiver [9].

1.1. Related Work

Although the RSSI is widely used as a core variable in indoor localization applications due its simplicity and hardware availability, it is constantly prone to multiple sources of error and could be easily affected by environmental noises.
RSSI-based localization algorithms have evolved over time in order to mitigate the effects of various sources of noise on the localization quality. The classical localization range-based systems, relying mainly on the path-loss radio channel model and multilateration localization algorithm could be used as a baseline to survey the evolution of the available RSSI localization approaches. The path-loss model is used to estimate the relative distances between transmitters and receivers [10], which can be further translated into an absolute distance of the target node by using any localization algorithm such as the multilateration algorithm or the min-max algorithm [11]. Range-based models usually provide a poor description of the environment in terms of flexibility and precision due to the negative effects of multi-path and non-line-of-sight propagation, which in turn degrades the localization accuracy [6].
Another category of advanced localization models includes range-free models and time-based techniques, which are considerably researched compared to the range-based models [12]. The range-free models or fingerprinting relies on a fingerprint database or a radio map, consisting of radio wave signatures gathered from several anchor nodes or access points at reference positions throughout the area of interest [13]. Although fingerprinting models try to ensure a higher accuracy in various environmental conditions, it requires a special environmental survey for each deployment environment, and it still suffers from RSSI fluctuations, signal interference, and multi-path fading. The time-based techniques can be used to overcome some of the fingerprinting model drawbacks by utilizing the signal’s propagation time and velocity, but additional stages of filtering or map matching are required in order to improve the localization performance [12].
Beside the well-known deterministic approaches discussed above, probabilistic or machine-learning solutions proposed in [14] could be applied to this localization problem. Ref. [15] proposes a statistical (recursive) algorithm that outperforms the conventional algorithms of Kalman and particle filters for both static and dynamic environment use cases. Although the main purpose behind the aforementioned nondeterministic solutions is to mitigate the effect of some noise sources, it will make the existent localization problem more complex. The classical localization range-based systems can be adjusted or augmented in order to increase the localization accuracy by performing various sets of calibration routines or an extensive analysis of radio signal propagation [6]. Another option is to increase the number of anchor nodes so that a greater amount of information is gathered. The interference level between signals would potentially increase as a result, which imposes signal filtering as a must to improve system’s accuracy [16]. The reasonable approach of exclusively tuning the transmission power while preserving the same structure, hardware setup, and calibration routine is proposed by [17] and would be validated and extended in our work due to its uniqueness and simplicity.
The rest of this subsection presents a summary of procedures and work done in [17], which is used as a starting point for our work based on specific experiment conditions, infrastructure, and environment. The purpose of the work done in [17] is to find the optimal transmission power level of the mobile node which increases the accuracy of the overall localization system, by improving the quality of individual relative distances measured by anchor nodes. These relative distances are used as an input to the multilateration algorithm. The RSSI parameter is used as a core variable for distances estimation; that is why a path-loss model from [18] is chosen, to extract distance information out of the RSSI value. The main approach for improving the accuracy is to maximize the system’s overall sensibility according to [17], which in turn allows the detection of smaller variation of distances. A heuristic approach is followed to describe the sensibility of the entire system as a single parameter N. A classical multilateration algorithm is used to perform the mobile node localization as a part of a range-based localization system by utilizing a setup of 5 Z1 Zolertia anchor nodes attached to the walls and a single mobile Z1 Zolertia node fixed on a tripod. Six test points in total are recorded, five of which are contributing to the calibration process and path-loss model derivation, while the sixth point is left out for result validation. The calibration step defines the path-loss model of each anchor’s antenna and plays a vital role in figuring out the optimal transmission power of the system by estimating the intrinsic and extrinsic parameters of each anchor’s antenna. The multilateration algorithm is used to estimate absolute position of the mobile target node in six predetermined test positions; then the output results of the algorithm are visualized and evaluated by using mean error and root mean square error (RMSE) metrics. The RMSE value of the validation point (sixth point) is found out to be the lowest, at a certain power level. This power level is directly linked to maximizing the system’s sensibility.

1.2. Purpose of Paper

This work is an extension of the work done in [17] with an objective of testing the effectiveness of the power tuning approach for reducing the localization error in RSSI-based localization systems and validating results obtained in the previous research through a detailed experiment executed on the EDI TestBed [19,20]. The EDI TestBed is a 100+ node heterogeneous Internet of Things and wireless sensor network testbed distributed around a 7-floor building, inside and outside for validation and research of Internet of Things and wireless sensor network protocols. Our work aims to present an initial evaluation of the EDI TestBed Infrastructure as a Service (IaaS) provided by the DevOps-ready IoT testbed [21]. We would like to contribute to the current indoor localization research by deploying a geometrical constrained range-based RSSI indoor localization system and investigating power consumption levels for energy-harvesting realization
Relative distances between anchor nodes and the mobile target to be localized are estimated by using a path-loss radio channel model and then fed to the multilateration algorithm responsible for estimating the absolute location of the mobile target. The deployed localization system is intended to verify the work and results of [17], achieving the lowest estimation error by finding the optimal transmission RF output power through tuning the power level of anchor nodes (transmitters). The results of this paper did not completely match the utilized concept of [17] because of different infrastructure setup and environmental factors. Eventually this paper added new criteria to the proposed approach of [17] for obtaining the correct power level and proposed future ideas and improvements. The main design choices of our deployment in addition to the underlying motivation are listed below:
  • EDI TestBed workstation anchor nodes are not equipped with external antennas in order to evaluate our existing testbed’s infrastructure readiness for similar experiments;
  • the target node acts as a gateway and network sniffer to keep the architecture simple and take into consideration the privacy of location data;
  • same-system sensibility criterion as in [17] is selected in order to obtain comparable results for further validation;
  • a geometrically constrained multilateration algorithm is utilized to enhance the quality of measurements by means of constraining distance estimations using a descriptive algorithm.

2. Materials and Methods

In order to build a complete RSSI range-based indoor localization system, three main components must exist:
  • RF transceivers (anchor nodes and target node);
  • radio channel model;
  • Multilateration localization algorithm.
RF transceivers of anchor or stationary nodes are responsible for sending network packets to the target node, which in turn tries to receive packets correctly and extract the RSSI information out of it. Configuration and internal components of anchor nodes are described in Section 2.1, and hardware/software configuration of the target node (gateway) is described in Section 2.2. The RSSI data is recorded at a number of test points, described in Section 2.3 in order to build radio models of anchor nodes (Section 2.4), describe system sensibility (Section 2.5), and evaluate the overall system’s performance as a result. The final part of the localization system is the multilateration algorithm, which is described in Section 2.6, and then modified/enhanced to include the geometry constraints of Section 2.7.

2.1. Anchor Nodes

Being used as anchor nodes, 4 EDI TestBed workstations connected to XM1000 sensor nodes (called Devices Under Test or DUTs in EDI TestBed) [19] are attached to the ceiling of a 5.8 m × 5.6 m × 2.7 m office room. A complete testbed workstation consists of: (1) DUT, (2) testbed adaptor, and (3) Ethernet router as shown in Figure 1 below.
Locations of workstations are chosen to be at the corners, which is the case for 3 nodes, whereas the fourth node is near the midpoint of the ceiling, being away from any wall is aimed to give more uniform wave propagation toward the target node, while providing an easy access and space for calibration as described in Section 2.4.1. Figure 2 illustrates positional coordinates of anchor nodes with respect to the room environment at a height of 2.7 m (z = 2.7 at the ceiling level).
The anchor nodes send network packets periodically over the air with their information through the CC2420 radio transceiver [9], programmed by using a C program of the MansOS embedded operating system [22] which is flashed on XM1000 sensor nodes. The main content of messages/packets is anchor number (or NodeID, as described in Section 2.2). When the message is successfully received by the target node, the content is parsed. Then the RSSI value is utilized to estimate the relative distance between the sending anchor node and the mobile target to be localized.

2.2. Gateway

The gateway consists of the mobile target node (packet sniffer) connected to a laptop [18]. The main role of the packet sniffer is listening to packets being sent from anchor nodes, transferring them to the computer where the received packets are parsed and processed. The Texas Instrument (TI) LaunchPad CC1352R1 [23] is used as the mobile target node hardware. The Launchpad is equipped with an external antenna (2.4 GHz dipole antenna with 2.8 dBi peak gain) which is mounted to a Subminiature version A (SMA) connector on the circuit board as shown in Figure 3.
The omnidirectional antenna of the target node is used to boost the gain of RF power and to add some uniformity to the wave’s radiation pattern, which should eventually increase the probability of receiving packets successfully. Anchor nodes use their embedded antennas (no external antenna is attached), which cuts down setup cost and avoids additional manual work, while evaluating the EDI TestBed performance in its normal state without any modifications as compared to the work done in [17] where all sending/receiving devices are equipped with external antennas.
The SmartRF Packet Sniffer [24] software is installed on the gateway’s laptop. The software is developed by TI and it provides a graphical user interface (GUI) along with a compatible plugin with the open-source packet analyzer software Wireshark [25]. The SmartRF software is piping packets received from the CC1352R1 mobile target to the Wireshark software. By using Wireshark, the RSSI values are extracted by the radio packet information (RPI) plugin and general packets’ information are logged to the screen. The GUIs of SmartRF Packet Sniffer software and Wireshark software during the receiving process are shown in Figure 4 and Figure 5 respectively.
The “Length” column in the Wireshark interface (Figure 5) represents the size (in bytes) of received packets, with a signal strength of RSSI value indicated in the adjacent column. Received packets are distinguished based on their lengths and afterward assigned a unique N o d e I D value subject to the length. For example, a packet with a length of 51 bytes received from an anchor node means that the first anchor node is the sender and accordingly is assigned a N o d e I D of 1. Each log of packets represents the recorded data for one test/validation point at a certain power level; afterwards it is exported as a comma-separated values (CSV) file to be processed as a DataFrame using a Python script.
It is obvious that packets arriving from different anchor nodes are usually received in a random order by the target node (Figure 5), subsequently making the processing task more challenging. The ideal structure of processed packets would be chunks of sorted packets (due to their NodeIDs), each of length equal to M packets (M is total number of anchor nodes). In case a packets chunk is incomplete (contains less packets than M), the chunk is assumed to be corrupted and will not be further advanced by the multilateration algorithm.
A sorting routine is made to facilitate the multilateration step by arranging packets and discarding incomplete chucks in advance. A numerical example for the sorting/ordering routine, assuming a configuration of 4 anchor nodes ( M = 4 ) can be described as: when the target node receives a packet from the ith anchor node ( N o d e I D = i), then anchor i rank counter a n c h _ r a n k s [ i ] is incremented by 1, in case the a n c h _ r a n k s [ i ] value equals to 2. This means that a new chunk is created (increment the chunk c o u n t e r and reset rank counter a n c h _ r a n k s ). An example of raw packets data is illustrated in Figure 6a, ordered packets structure with the first chunk being corrupted (the missed packet has an RSSI of None) is shown in Figure 6b and a flowchart of the sorting routine is illustrated in Figure 7.

2.3. Test and Validation Points

In order to derive the radio channel model (which tries to describe the radio wave behavior which maps RSSI values to a relative distance between the transmitter and receiver) of each anchor node antenna and to evaluate the overall performance of the localization system, a number of test points data are recorded at different RF output power levels [17]. The CC2420 radio transceiver provides 8 distinct transmission power levels, with power level 31 being the highest level and power level 3 being the lowest level in dBm. Full information about power levels can be found in the datasheet [9].
Test points can be featured by positional coordinates ( x , y , z ) and the received RSSI value from each anchor node. Nine test points in total are recorded, and three of them are left out as validation points (not included in fitting the radio channel model) to evaluate the localization algorithm through root mean square error (RMSE) metric. Test points are distributed around the room at the same height of 1.26 m above the ground level ( z = 1.44 below ceiling level) as shown in Figure 8.

2.4. Radio Channel Model

The propagation of radio (electromagnetic) waves obeys the mechanisms of reflection, diffraction and scattering [10]. Therefore, a general characterization model for waves behavior is selected. Then this model is tweaked to match the particular conditions of the environment of interest. A simple logarithmic radio channel model, called Path loss model, is chosen to describe the RSSI at the receiver side (target node):
P r = 10 η log 10 d + A
where:
  • P r : strength of the received signal;
  • η : signal propagation exponent;
  • d: relative distance between sender and receiver; and
  • A: nominal transmission power at a reference distance of 1 m [17,18].
The signal propagation exponent η represents the nature of the test environment while A represents the radio behavior between transmitters and receiver. Both A and η values are obtained empirically [7]. The relative distance between transmitter and receiver can be calculated from the received power P r using the inverse formula of Equation (1) as:
d = 10 P r A 10 η .

2.4.1. Nominal Transmission Power

The nominal transmission power coefficient A represents the received power at a reference distance, one meter in distance from where the transmitting device is chosen. A number of packets are measured at certain positions within a circumference of the reference distance, then averaged to get an estimation of A [18]. The location of the workstation or anchor node affects its accessibility during the calibration step; hence four calibration sets as shown in Figure 9a can be performed to the node in the middle of the room ( N o d e I D = 3 ), and the rest of anchor nodes in the corners allow only two sets of packets due to their limited accessibility as shown in Figure 9b.

2.4.2. Signal Propagation Exponent

For each anchor node i, the signal propagation exponent η i is chosen to fit the best curve matching the real Euclidean distances d i between the target node and the corresponding anchor node i, to the received signal strength P r measured by the target node of Equation (1) (given the nominal transmission power A i ). The logarithmic curve representing Equation (1) that best fits the test points will include the estimated value of  η  [17].

2.5. Improving System Accuracy

The accuracy of the localization system depends on the overall behavior of anchor nodes. By increasing antennas’ sensibility, any small variation of relative distance d i could be detected; thus a better performance of the system is obtained. A heuristic Formula (3) is used to describe the entire system sensibility in terms of signal propagation exponent η and its variability [17].
N = μ [ η i ( A i R S S I m i n ) ] σ 2 [ η i ( A i R S S I m i n ) ]
where
  • μ : mean operation between anchor nodes;
  • σ 2 : variance operation between anchor nodes; and
  • R S S I m i n : minimum detected RSSI by the corresponding anchor node.

2.6. Multilateration Algorithm

An estimation ( x ^ , y ^ ) of the target node’s real absolute position ( x , y ) could be obtained by using the multilateration algorithm, by translating estimated relative distances between anchor nodes and target node, given absolute positions of anchor nodes ( x i , y i ) [4]. The multilateration algorithm tries to find the estimation ( x ^ , y ^ ) within room boundaries, which minimizes the sum of the squared errors in the measured relative distances d ˜ i . The minimization equation is given by [8,26]:
ϵ = min i = 1 M | ( x i x ^ ) 2 + ( y i y ^ ) 2 d ˜ i | 2 .
The minimization problem of Equation (4) can be solved by using least squares estimator by first converting the problem into a linear system of equations. The square of relative distance d i between anchor node i and the target node is:
d i 2 = ( x i x ) 2 + ( y i y ) 2
where
  • ( x i , y i ) : i t h anchor node positional coordinates; and
  • ( x , y ) : target node positional coordinates [26].
By taking the first node ( i = 1 ) as a reference node, subtracting Equation (5) of other nodes ( i = 2 , 3 , 4 , . . . , M ) from the reference node ( i = 1 ) equation, a system of linear equations is built as
A . x ¯ = b ˜
where
A = 2 ( x 1 x 2 ) 2 ( y 1 y 2 ) 2 ( x 1 x N ) 2 ( x 1 x N ) , x ¯ = x ^ y ^
and
b ˜ = ( d 1 2 ˜ d 2 2 ˜ ) ( x 1 2 x 2 2 ) ( y 1 2 y 2 2 ) ( d 1 2 ˜ d N 2 ˜ ) ( x 1 2 x N 2 ) ( y 1 2 y N 2 ) .
The estimated positional coordinates of the target node x ¯ can be obtained by using the LSE method as x ¯ = ( A T A ) 1 A T b ˜ [8].
To improve the quality of the measurements, weights are assigned to each estimated distance due to its value, which turns the least squares estimation into a weighted least squares (WLS) estimation. The set of 1 2 , 1 4 , 1 8 and 1 16 weights are used by [17] to form the weights matrix W. The highest weight is assigned to the strongest signal (shortest measured relative distance d ˜ m i n ), as it tends to be more trustworthy. The weights matrix W is a bit similar to the the S matrix proposed in [26], with a modification of variances to be constants and off-diagonal elements to be zeros. The weights matrix W is described as:
W = w 1 + w 2 0 0 0 w 1 + w 3 0 0 0 w 1 + w N
and accordingly the estimated coordinates of target node x ¯ can be obtained as x ¯ = ( A T W A ) 1 A T W b ˜ .

2.7. Geometry Constraints

Due to the random Doppler shift inducement of radio waves and unpredictable environmental conditions, the RSSI measurement could be faulty (extremely high/low), which does not reflect a logical distance measurement [27].
Practically, measured distances between anchor nodes and target node should be within a certain range, which is defined by room dimensions and anchor node locations. This condition could help building a system of constraints to bound the distances and/or dismiss the corrupted measurements. The anchor nodes 1, 2, and 4 are assumed to be exactly at the room corners whereas node 3 is at the center of the room, this assumption is used to make the constrained system applicable and simplifies the calculations. A room layout after applying the proposed approximations, illustrating the target node as a blue star in a general position, is shown in Figure 10.
As discussed in multilateration Section 2.6, the strongest signal (or minimum measured distance) tends to be more trustworthy, accordingly it will be used as an initial distance to refine the rest of measurements by applying geometry constraints in a sequence. Distances ( d 1 , d 2 , d 3 , d 4 and G) to be used in the following geometric constraints Algorithms 1 and 2 are illustrated in Figure 10.
After applying geometry constraints Algorithms 1 and 2, a final refinement stage is done to assure that distances d 1 , d 2 , d 4 are less than 2G distance while d 3 is less than G distance. Comparison between our methodology and [17] work is described in Table 1.
Algorithm 1 Case 1: d m i n d 3
Require: L 2 < α < L 2 ,
Require: W 2 < β < W 2
 1:
α d 2 2 d 1 2
 2:
β d 2 2 d 4 2
 3:
if d m i n = d 1 then
d 2 2 = d 1 2 + L 2 , if α > L 2 | L 2 d 1 2 | , if α < L 2
d 4 2 = | W 2 d 2 2 | , if β > W 2 d 2 2 + W 2 , if β < W 2
 4:
else if d m i n = d 2 then
d 1 2 = | L 2 d 2 2 | , if α > L 2 d 2 2 + L 2 , if α < L 2
d 4 2 = | W 2 d 2 2 | , if β > W 2 d 2 2 + W 2 , if β < W 2
 5:
else if d m i n = d 4 then
d 2 2 = d 4 2 + W 2 , if β > W 2 | W 2 d 4 2 | , if β < W 2
d 1 2 = | L 2 d 2 2 | , if α > L 2 d 2 2 + L 2 , if α < L 2
 6:
end if
Algorithm 2 Case 2: d m i n = d 3
 ▹ d m i n 2 : second minimum distance
 ▹ d m i n 3 : third minimum distance
Require: G 2 < γ < G 2
 1:
if d m i n 2 = d 1 then
 2:
     γ d 1 2 d 3 2
d 1 2 = d 3 2 + G 2 , if γ > G 2 | G 2 d 3 2 | , if γ < G 2
 3:
     d m i n d 1
▹ execute Algorithm 1
 4:
else if d m i n 2 = d 2 then
 5:
     d m i n d m i n 3
▹ execute Algorithm 1
 6:
else if d m i n 2 = d 4 then
 7:
     γ d 4 2 d 3 2
d 4 2 = d 3 2 + G 2 , if γ > G 2 | G 2 d 3 2 | , if γ < G 2
 8:
     d m i n d 4
▹ execute Algorithm 1
 9:
end if

3. Results

In order to set up the localization system according to the procedures mentioned in the Materials and Methods Section, the first step is to calibrate anchor nodes in order to derive the radio model of each node’s antenna for the range-based localization system. The estimated values of nominal transmission power A [dBm] and signal propagation exponent η are listed in Table 2 and Table 3 respectively. A short description about power levels can be found in Section 2.3.

3.1. System Sensibility

Given A, η (Table 2 and Table 3) and R S S I m i n values, the Formula (3) is used to figure out the optimum power level which maximizes the system sensibility according to [17], which therefore increases accuracy of the localization system as a result. The calculated values of N for each RF power level is illustrated in the upper side of Figure 11, while the packet delivery ratio (PDR) is illustrated in the lower side of the Figure 11.
The PDR is defined to be the ratio of number of packets received at the target node to the number of packets sent from anchor nodes. For every single test/validation point, there were approximately 100 packets sent from each anchor node, which sums up to around 400 packets in total to be received at the target node. Although the N variable is maximized for power level 3, the PDR plot shows that power level 3 (the lowest available RF transmission power level in the CC2420 chip) has around a 15 % loss of packets, which makes the usage of the N value solely (without considering the corresponding PDR) at this power level unreliable because of the different (low) number of packets involved in N calculation for power level 3. For this reason, the power level 3 will be discarded from evaluation for the rest of the results section. The second highest N value is obtained for power level 11 with less than a 1 % packet loss, which matches the finding of [17].

3.2. Performance Evaluation

The localization system is evaluated by using MSE (for test points) and RMSE (for validation points) metrics. The MSE is calculated by using Equation (10) by comparing the estimated ( x ^ , y ^ ) to the real mobile target location ( x , y ) , then averaged by the number of samples or measurements K (K = 100 network packets for each test/validation point) [28]; the RMSE is the square root of the MSE.
MSE = 1 K j = 1 K ( x x ^ ) 2 + ( y y ^ ) 2
The MSE and RMSE values of test and validation point measurements are illustrated in Figure 12 and Figure 13 respectively. The legend on the top-right side of each figure indicates the (x,y) positional coordinates of the point.
Vertical blue bins in Figure 13 indicates the RMSE summation for each validation point. Numerical values of the RMSEs are listed in Table 4.

4. Discussion

The illustrated analysis of test points data in Figure 12 shows that the majority of test points data across different power levels has an MSE range of less than 10 m, which is acceptable for such a metric taking into account operational conditions, with the exception of 4 outliers with extreme values of MSE of 20–50 m 2 range. These outliers are caused by the continuous faulty behavior of one or more anchor node(s), which would accumulate error over samples if not instantaneously detected, then discarded (or compensated), even if the constraints of Section 2.7 are applied.
The point (2.9, 1.0) at power level 11 had a misbehaving first anchor node ( N o d e I D = 1 ) with a mean absolute error (MAE) of 40.4 m, whereas the rest of anchor nodes had MAE of less than 3 m. Although the power level 11 meets the condition of maximizing the system’s sensibility according to Equation (3), a single faulty node would undoubtedly ruin the localization performance. Both first and second anchor nodes ( N o d e I D = 1 , 2 ) of the peak MSE point (1.1, 1.6) at power level 15 are faulty, with MAEs of 63 and 6.8 m respectively. For the rest of the outliers, either the first node or both the first and second nodes have faulty measurements, which magnify the MSE as a result.
In order to evaluate the performance of the localization system in a stochastic environment, three accuracy classes are presumed:
  • Fair accuracy if the RMSE is less than 2 m;
  • Marginal accuracy if the RMSE is more than 2 m and less than 3 m; and
  • Low accuracy if the RMSE is more than 3 m.
The second accuracy class might turn into either first or third class in case a higher number of measurements K is used; hence it is called the marginal accuracy class. The power level with the least total RMSE is 31 with all validation points data belonging to the fair accuracy class, followed by two (out of three) validation points at power levels of 7 and 11. By aggregating factors of N variable, PDR (Figure 11), total RMSE (Figure 13) and accuracy classes, it could be clear that power levels 31, 7, and 11 are superior to other power levels, whereas power levels 7 and 11 could be more favourable due to their lower transmission power (lower current consumption). Although the power level 7 has lower total RMSE than level 11, the RMSE of its measurements are more disparate, which might generate a higher total RMSE value over a larger set of validation points.
According to the system sensibility Equation (3), it was expected to have the best localization performance (lowest error) at the power level meeting the maximum N value condition, which was validated in [17] by using a single validation point with the lowest RMSE occurring at power level 11. Three validation points were used in our experiment and it turned out that it is not the case to guarantee the best accuracy for validation points at the proposed power level (power level 11 due to Figure 11). Another factor to be considered is the PDR, for the reason that it might be misleading to rely on a power level with low PDR for evaluation; hence it is a must to assure a minimum level of PDR. According to our experiment, the minimum requirement of PDR is empirically estimated to be higher than 98% (with 2% packets loss) to obtain a balanced data set for further analysis. Regarding the utilized infrastructure of the EDI TestBed, the XM1000 devices of anchor nodes were not equipped with external antennas (embedded antennas were used), in contrast to the work of [17]. This choice was made to evaluate our testbed’s original infrastructure readiness for such an experiment. Another design choice is selecting 4 anchor nodes, sending network packets to the target node, which was made for simplicity. As a future improvement, the system could make use of more anchor nodes to mitigate the harmful effect of faulty anchor nodes; hence a better localization accuracy could be obtained. We also intend to invert the communication scheme, meaning that the target node would send one network packet at a time to anchor nodes (not the other way around), which must cancel the risk of packets collision and will bypass any routines for packets sorting (e.g., the routine described in Section 2.2). Fine tuning the transmission power levels is a beneficial feature to be added, because exploring the continuous power level range between 11–7 levels and 31–27 levels, based on our results, may reveal a better localization accuracy. The fine tuning feature is available in other IoT devices than XM1000, which demands at least a section of the EDI TestBed infrastructure to be replaced for the sake of supporting such a feature. Eventually, increasing the number of validation points may give new information about the potential reliable power level with maximum precision over a large set of measurements.
This work managed to overcome the lack of crucial information in [17] to reproduce the experiment such as: environment description (e.g., room dimensions, test points and anchor nodes positional coordinates), RSSI data analysis and processing, complete specifications of the multilateration algorithm and numerical values of calibration parameters A , η .

5. Conclusions

This work set out to validate the findings of [17] for investigating the influence of transmission power level on the performance of an RSSI-based indoor localization system. Reproducible implementation steps of the experiment are outlined, a geometrical constrained multilateration algorithm is developed, new factors were added to refine the system sensibility approach representation of [17], and in-depth validation results are discussed.

Author Contributions

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

Funding

This research was funded by European Union’s H2020 Programme under grant agreement no 826452.

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Acknowledgments

The authors express their acknowledgement to Atis Elsts for providing guidelines and necessary hardware of the gateway setup and necessary firmware. The authors would also like to thank Gatis Gaigals for technical support regarding antenna theory and antenna selection.

Conflicts of Interest

The authors declare no conflict of interest. The funders had no role in the design of the study; in the collection, analyses, or interpretation of data; in the writing of the manuscript, or in the decision to publish the results.

Abbreviations

The following abbreviations are used in this manuscript:
GNSSGlobal Navigation Satellite System
RFRadio Frequency
RSSIReceived Signal Strength Indicator
GUIGraphical User Interface
MSEMean Square Error
RMSERoot Mean Square Error
MAEMean Absolute Error
LSELeast Squares Estimation
WLSWeighted Least Squares
GC-WLSEGeometrical Constrained Weighted Least Squares Estimator
PDRPacket Delivery Ratio

References

  1. Siegwart, R.; Nourbakhsh, I.R.; Scaramuzza, D. Introduction to Autonomous Mobile Robots; MIT Press: Cambridge, MA, USA, 2011. [Google Scholar]
  2. Arents, J.; Abolins, V.; Judvaitis, J.; Vismanis, O.; Oraby, A.; Ozols, K. Human–Robot Collaboration Trends and Safety Aspects: A Systematic Review. J. Sens. Actuator Netw. 2021, 10, 48. [Google Scholar] [CrossRef]
  3. Motroni, A.; Buffi, A.; Nepa, P. Forklift Tracking: Industry 4.0 Implementation in Large-Scale Warehouses through UWB Sensor Fusion. Appl. Sci. 2021, 11, 10607. [Google Scholar] [CrossRef]
  4. Hightower, J.; Borriello, G. Location systems for ubiquitous computing. Computer 2001, 34, 57–66. [Google Scholar] [CrossRef] [Green Version]
  5. Luo, X.; O’Brien, W.J.; Julien, C.L. Comparative evaluation of Received Signal-Strength Index (RSSI) based indoor localization techniques for construction jobsites. Adv. Eng. Inform. 2011, 25, 355–363. [Google Scholar] [CrossRef]
  6. Kim Geok, T.; Zar Aung, K.; Sandar Aung, M.; Thu Soe, M.; Abdaziz, A.; Pao Liew, C.; Hossain, F.; Tso, C.P.; Yong, W.H. Review of indoor positioning: Radio wave technology. Appl. Sci. 2021, 11, 279. [Google Scholar] [CrossRef]
  7. Mazumder, S.K. Wireless Networking Based Control; Springer: Cham, Switzerland, 2011. [Google Scholar]
  8. Chuku, N.; Pal, A.; Nasipuri, A. An RSSI based localization scheme for wireless sensor networks to mitigate shadowing effects. In Proceedings of the IEEE Southeastcon, Jacksonville, FL, USA, 4–7 April 2013; pp. 1–6. [Google Scholar]
  9. Chipcon Products from Texas Intrument. CC2420 2.4 GHz IEEE 802.15.4 /ZigBee-Ready RF Transceiver Data Sheet (rev. SWRS041c). Available online: https://www.ti.com/lit/ds/symlink/cc2420.pdf (accessed on 10 December 2021).
  10. Rappaport, T.S. Wireless Communications–Principles and Practice, (The Book End). Microw. J. 2002, 45, 128–129. [Google Scholar]
  11. Zanca, G.; Zorzi, F.; Zanella, A.; Zorzi, M. Experimental comparison of RSSI-based localization algorithms for indoor wireless sensor networks. In Proceedings of the Workshop on Real-World Wireless Sensor Networks, Glasgow, UK, 1–2 April 2008; pp. 1–5. [Google Scholar]
  12. Rizk, H.; Elmogy, A.; Yamaguchi, H. A Robust and Accurate Indoor Localization Using Learning-Based Fusion of Wi-Fi RTT and RSSI. Sensors 2022, 22, 2700. [Google Scholar] [CrossRef] [PubMed]
  13. Quan, M.; Navarro, E.; Peuker, B. Wi-Fi Localization Using RSSI Fingerprinting. Ph.D. Thesis, California Polytechnic State University, San Luis Obispo, CA, USA, 2010. [Google Scholar]
  14. Abbas, M.; Elhamshary, M.; Rizk, H.; Torki, M.; Youssef, M. WiDeep: WiFi-based accurate and robust indoor localization system using deep learning. In Proceedings of the 2019 IEEE International Conference on Pervasive Computing and Communications, Kyoto, Japan, 11–15 March 2019; pp. 1–10. [Google Scholar]
  15. Xue, W.; Qiu, W.; Hua, X.; Yu, K. Improved Wi-Fi RSSI measurement for indoor localization. IEEE Sens. J. 2017, 17, 2224–2230. [Google Scholar] [CrossRef]
  16. Sadowski, S.; Spachos, P. Rssi-based indoor localization with the internet of things. IEEE Access 2018, 6, 30149–30161. [Google Scholar] [CrossRef]
  17. Polese, D.; Pazzini, L.; Minotti, A.; Maiolo, L.; Pecora, A. Tunable transmission power to improve 2D RSSI based localization algorithm. In Proceedings of the SENSORNETS 2015—4th InternationalConferenceonSensorNetworks, Angers, France, 11–15 February 2015; pp. 151–156. [Google Scholar]
  18. Aamodt, K. CC2431 location engine. In Application Note AN042 (Rev. 1.0); SWRA095; Texas Instruments: Dallas, TX, USA, 2006; Volume 2, pp. 2–4. [Google Scholar]
  19. Ruskuls, R.; Lapsa, D.; Selavo, L. Edi wsn testbed: Multifunctional, 3d wireless sensor network testbed. In Proceedings of the 2015 Advances in Wireless and Optical Communications (RTUWO), Riga, Latvia, 5–6 November 2015; pp. 50–53. [Google Scholar]
  20. Salmins, A.; Judvaitis, J.; Balass, R.; Nesenbergs, K. Mobile wireless sensor network TestBed. In Proceedings of the 25th Telecommunication Forum (TELFOR), Belgrade, Serbia, 21–22 November 2017; pp. 1–4. [Google Scholar]
  21. Judvaitis, J.; Nesenbergs, K.; Balass, R.; Greitans, M. Challenges of DevOps ready IoT Testbed. In Proceedings of the MDE4IoT/ModComp@ MoDELS, Munich, Germany, 15–17 September 2019; pp. 3–6. [Google Scholar]
  22. Strazdins, G.; Elsts, A.; Selavo, L. Mansos: Easy to use, portable and resource efficient operating system for networked embedded devices. In Proceedings of the 8th ACM Conference on Embedded Networked Sensor Systems, Zurich, Switzerland, 3–5 November 2010; pp. 427–428. [Google Scholar]
  23. Texas Instrument. CC1352R SimpleLink™ High-Performance Multi-Band Wireless MCU; CC1352R2018 Data Sheet; Texas Instruments: Dallas, TX, USA, 2018. [Google Scholar]
  24. SmartRF Packet Sniffer 2 User Guide. Available online: https://software-dl.ti.com/lprf/packet_sniffer_2/docs/user_guide/html/users_guide.html. (accessed on 8 February 2021).
  25. Wireshark Network Protocol Analyzer. Available online: https://www.wireshark.org/ (accessed on 11 January 2022).
  26. Tarrío, P.; Bernardos, A.M.; Casar, J.R. Weighted least squares techniques for improved received signal strength based localization. Sensors 2011, 11, 8569–8592. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  27. Hua, Z.; Hang, L.; Yue, L.; Hang, L.; Kan, Z. Geometrical constrained least squares estimation in wireless location systems. In Proceedings of the 2014 4th IEEE International Conference on Network Infrastructure and Digital Content, Beijing, China, 19–21 September 2014; pp. 159–163. [Google Scholar]
  28. Mass-Sanchez, J.; Vargas-Rosales, C.; Ruiz-Ibarra, E.; Espinoza-Ruiz, A.; Vazquez-Castillo, J.; Garcia-Berumen, A. Weighted Multilateration Algorithm With a Correcting Factor for Mobile Wireless Sensor Networks. IEEE Access 2021, 9, 161937–161958. [Google Scholar] [CrossRef]
Figure 1. EDI TestBed workstation [19].
Figure 1. EDI TestBed workstation [19].
Sensors 22 04154 g001
Figure 2. Locations of anchor nodes inside the room.
Figure 2. Locations of anchor nodes inside the room.
Sensors 22 04154 g002
Figure 3. Target node hardware.
Figure 3. Target node hardware.
Sensors 22 04154 g003
Figure 4. SmartRF Packet Sniffer GUI.
Figure 4. SmartRF Packet Sniffer GUI.
Sensors 22 04154 g004
Figure 5. Wireshark GUI.
Figure 5. Wireshark GUI.
Sensors 22 04154 g005
Figure 6. Packets processing. (a) Raw packets (before processing); (b) Processed chunks of packets.
Figure 6. Packets processing. (a) Raw packets (before processing); (b) Processed chunks of packets.
Sensors 22 04154 g006
Figure 7. Packet sorting routine.
Figure 7. Packet sorting routine.
Sensors 22 04154 g007
Figure 8. Locations of test and validation points.
Figure 8. Locations of test and validation points.
Sensors 22 04154 g008
Figure 9. Proposed positions for estimating A coefficient. (a) Four calibration sets for the middle node; (b) Two calibration sets for corner nodes.
Figure 9. Proposed positions for estimating A coefficient. (a) Four calibration sets for the middle node; (b) Two calibration sets for corner nodes.
Sensors 22 04154 g009
Figure 10. Relative distances to the target node.
Figure 10. Relative distances to the target node.
Sensors 22 04154 g010
Figure 11. N vs. PDR for different power levels.
Figure 11. N vs. PDR for different power levels.
Sensors 22 04154 g011
Figure 12. Test points MSEs.
Figure 12. Test points MSEs.
Sensors 22 04154 g012
Figure 13. Validation points RMSEs.
Figure 13. Validation points RMSEs.
Sensors 22 04154 g013
Table 1. Comparison between our work and work done in [17].
Table 1. Comparison between our work and work done in [17].
CriterionOur WorkWork of [17]
Radio channel modelPath loss model
Power level selectionEquation (3)Equation (3) and PDR
System architectureStar topology (target node as a network sniffer)not stated
Multilateration algorithmGC-WLSEprobably WLSE
(not clear)
Number of test, validation points6, 35, 1
Anchor nodes setup4 EDI TestBed workstations
(with embedded antennas)
5 Zolertia Z1 nodes
(with external antennas)
Evaluation metricsMSE, RMSEmean error, RMSE
Table 2. Nominal transmission power A of anchor nodes in dBm.
Table 2. Nominal transmission power A of anchor nodes in dBm.
Power Level31272319151173
Anchor Node
1−51.02−55.73−54.89−55.06−59.95−60.15−64.54−76.16
2−46.49−46.17−57.08−52.27−53.77−60.45−59.22−74.16
3−43.99−44.82−46.61−53.60−50.27−55.12−58.82−71.10
4−40.74−43.80−43.25−49.94−49.67−55.20−56.74−64.30
Table 3. Signal propagation exponent η of anchor nodes.
Table 3. Signal propagation exponent η of anchor nodes.
Power Level31272319151173
Anchor Node
10.9110.3530.4391.0430.3831.6751.2581.244
22.4152.4750.9751.9652.5851.5212.9172.113
32.8393.0513.0581.5822.8282.6592.9682.486
42.6522.1983.1372.5432.4433.1462.5712.587
Table 4. Validation points total RMSE.
Table 4. Validation points total RMSE.
Power LevelTotal RMSE [m]Power LevelTotal RMSE [m]
314.45158.22
279.99116.82
239.1976.09
198.613discarded
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

Elkenawy, A.; Judvaitis, J. Transmission Power Influence on WSN-Based Indoor Localization Efficiency. Sensors 2022, 22, 4154. https://doi.org/10.3390/s22114154

AMA Style

Elkenawy A, Judvaitis J. Transmission Power Influence on WSN-Based Indoor Localization Efficiency. Sensors. 2022; 22(11):4154. https://doi.org/10.3390/s22114154

Chicago/Turabian Style

Elkenawy, Amr, and Janis Judvaitis. 2022. "Transmission Power Influence on WSN-Based Indoor Localization Efficiency" Sensors 22, no. 11: 4154. https://doi.org/10.3390/s22114154

APA Style

Elkenawy, A., & Judvaitis, J. (2022). Transmission Power Influence on WSN-Based Indoor Localization Efficiency. Sensors, 22(11), 4154. https://doi.org/10.3390/s22114154

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