Next Article in Journal / Special Issue
Improving Prediction Accuracy for WSN Data Reduction by Applying Multivariate Spatio-Temporal Correlation
Previous Article in Journal
Application of Terahertz Radiation to Soil Measurements: Initial Results
Previous Article in Special Issue
A Multi-Sensorial Hybrid Control for Robotic Manipulation in Human-Robot Workspaces
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Collaborative Localization Algorithms for Wireless Sensor Networks with Reduced Localization Error

1
Department of Computer Science and Information Engineering, Chang Gung University, Kwei-Shan, 33302, Taiwan
2
Department of Information Communication, Yuan-Ze University, Chungli, 32003, Taiwan
3
Department of Computer Science and Engineering, Yuan-Ze University, Chungli, 32003, Taiwan
*
Author to whom correspondence should be addressed.
Sensors 2011, 11(10), 9989-10009; https://doi.org/10.3390/s111009989
Submission received: 23 August 2011 / Revised: 12 October 2011 / Accepted: 18 October 2011 / Published: 21 October 2011
(This article belongs to the Special Issue Collaborative Sensors)

Abstract

: Localization is an important research issue in Wireless Sensor Networks (WSNs). Though Global Positioning System (GPS) can be used to locate the position of the sensors, unfortunately it is limited to outdoor applications and is costly and power consuming. In order to find location of sensor nodes without help of GPS, collaboration among nodes is highly essential so that localization can be accomplished efficiently. In this paper, novel localization algorithms are proposed to find out possible location information of the normal nodes in a collaborative manner for an outdoor environment with help of few beacons and anchor nodes. In our localization scheme, at most three beacon nodes should be collaborated to find out the accurate location information of any normal node. Besides, analytical methods are designed to calculate and reduce the localization error using probability distribution function. Performance evaluation of our algorithm shows that there is a tradeoff between deployed number of beacon nodes and localization error, and average localization time of the network can be increased with increase in the number of normal nodes deployed over a region.

1. Introduction

In recent years, with rapid advances in Micro Electro Mechanical Systems (MEMS) technology, research on Wireless Sensor Networks (WSNs) has received extensive interest. It is getting popular due to its low cost and small size and its applications in military and civilian surveillance. However, wireless sensor networks have a few inherent limitations. e.g., limited hardware, limited transmission range, and large scale network system and the traditional protocols or mechanisms cannot use in WSNs. Hence, several issues are needed to consider in WSNs to construct an efficient and robust network. For example, sensor nodes have limited computation capability and limited power supply, and therefore low complexity algorithms and power saving schemes should be designed.

In wireless sensor networks, localization of nodes plays an important role in most of the applications. When sensors are deployed over a network, normally they have only connectivity information with their neighbors, without knowing their own location information. In some situations, the problem can have easy solution if location information of the nodes is available. For example, routing path can be constructed easily, and coverage hole can easily be detected, if nodes have location information. Knowing relative location of sensors allows the location-based addressing and routing protocols, which can improve network robustness and energy-efficiency effectively. Recent research results show that nodes with location information lead to increased performance of applications and reduced power consumption. In addition, more accurate location information leads to the more accurate result that application needs. In summary, localization is an essential part of WSNs.

Sensors are intended to be low-cost disposable devices, and currently developed solutions such as global position system (GPS) [1] are inadequate for the hardware and power-limited sensors. Traditional localization techniques are not well-suited for these requirements. Besides, a global positioning system (GPS) receiver on each device is cost and energy prohibitive for many applications, not sufficiently robust to jamming for military applications, and limited to outdoor applications. Local positioning systems (LPS) [2] rely on high-capability base stations being deployed in each coverage area, and is an expensive burden for most low-configuration wireless sensor networks. Hence, automatic localization of the sensors in wireless networks is a key enabling technology. The overwhelming reason is that a sensor’s location must be known for its data to be meaningful. As an additional motivation, sensor location information can be extremely useful for scalable, and geographic routing algorithms.

In wireless sensor networks, localization is an important task that refers to the ability of determining relative or absolute position of sensor nodes with an acceptable accuracy. Collaboration among nodes is highly essential so that localization can be accomplished by the nodes themselves without any human intervention. In WSNs, normally such collaboration occurs among nodes located in a certain region. In this paper, we propose the localization of sensors through collaboration among nodes to minimize the localization error and to find localization accuracy as much as possible. In our localization algorithms, the normal, beacon and anchor nodes collaborate with each other to calculate the location information of the nodes by considering several aspects like limited energy resource, number and density of nodes and existence of obstacles. A novel localization scheme along with localization error determination and correction methods are also proposed to calculate the relative location of the nodes in a collaborative manner with help of anchor and beacon nodes. The main contributions of our work can be summarized as follows.

  • We combine the range-free and range-based localization schemes to determine the location of normal nodes distributively by using limited beacon nodes with location information. Due to the use of fewer beacon nodes, our algorithm could be cost effective.

  • In most of the localization algorithms, a free space model is considered for the propagation of signal, which is an over idealization case. Since noise and obstacle must affect the localization system, we develop localization algorithms that consider the fading and shadowing effect. Hence, our localization model can be useful for both outdoor and indoor environment.

  • In range-based localization schemes, a node has to depend on the location information of other nodes to determine its own location and all most all localization schemes are probabilistic by nature. Hence, error must be incurred as a node may receive location information from more than one beacon nodes. In this work, analytical methods are developed using probability distribution function to find out the probability of wrongly identifying a transmission arriving from a node with location information.

  • Analytical methods are developed to reduce the localization error and therefore our localization system can provide more accurate location information of a node.

The rest of the paper is organized as follows. An overview of the related work is presented in Section 2. Our proposed localization algorithm, localization error determination and correction methods are described in Section 3. Performance evaluation of our algorithms is presented in Section 4 of the paper and concluding remarks are made in Section 5.

2. Related Work

Localization in wireless sensor networks is different from the traditional wireless communication technology. It is an important aspect in WSNs as the events detected by sensors usually should contain location of those nodes that detect a target. For example, location of a military tank should be informed to the sink if it is detected by the sensors, which can be achieved through location information of the sensors. Besides, many network operations also depend on the locations of sensors, such as geographic routing, key distribution protocols, and location-based authentication. Incorrect locations may lead to severe consequences. For example, lack of location information of sensors may lead to wrong military decisions on the battlefield and falsely granting access rights to people. Thus it is important and essential to ensure the correctness of sensors’ locations. There has been an increasing interest in the localization techniques for WSNs in recent years and many localization algorithms [35] have been proposed. Constraint on limited hardware supports and power supply, sensor nodes can only find its approximate location information. In order to find node’s location effectively, various localization algorithms are proposed, which can be further classified into range-based and range-free localization schemes. The range-based localization scheme [6] uses measurements of distance or angle to estimate the node’s location. According to signal propagation and receive time, two kinds of technology are mentioned to obtain the distance. They are: time of arrival (TOA) [7], time of difference of arrival (TODA) [8]. TOA method is used to obtain the range between the sender and receiver nodes by signal arrival time. TODA technique is based on the difference in time between two different signals arrival time and is widely proposed as a necessary measurement method in localization solution for WSNs.

The algorithms proposed in [9] and [10] are self-organized methods to establish the relative coordinate system on every known nodes through the TODA. Angle of arrival (AOA) technique [11] is another ranged-based localization algorithm. In this algorithm, normal nodes have ability to detect the angle to neighbor nodes by directional antenna or smart antenna. Using the angle information, location of the nodes can also be calculated. However, these three methods require additional equipments and hardware supports, which may incur additional cost and energy consumption. Hence, these protocols seem less suitable for the low-power WSNs. With help of global position system (GPS), few beacon nodes can obtain their absolute location information and other unknown nodes estimate their location information by receiving the beacon packets from the beacon nodes. In [12], authors propose a localization scheme called approximate point in triangular test (APIT) algorithm. In APIT, each beacon node first broadcasts the beacon packet to the neighbor nodes, which is later flooded into the whole network. Then each unknown node determines if it is within a particular triangle formed by a set of beacon nodes. Finally, an unknown node estimates its location by the center of gravity of the overlapped area. Although location information of the unknown nodes can be obtained by this algorithm, still some problems exist in it. First, the accuracy relies heavily on the percentage of beacon nodes, and communication cost is high as each node needs to listen many times to different beacon packets. Besides, the complexity of computations is high when the unknown node estimates the overlapped area.

A range-free localization scheme called distance vector hop (DV hop) is proposed in [13,14]. It uses topological information and number of hops alternative to the real distance. In the beginning, the beacon node floods the packet with hop count and node ID to the rest of the network. Unknown nodes compute the average hop size of their nearest beacon nodes, translate the number of hops into real distance and estimate their position. However, some drawbacks exist in DV-hop algorithm, since localization accuracy depends on the node density. Besides, irregular deployment will cause the inaccuracy of average hop size and communication cost is still high. In order to improve the accuracy of location information, a distributed location estimation scheme (DLS) is proposed in [15]. In this algorithm, each beacon node exchanges the node ID and location information to all nodes of the network. The unknown node calculates its own estimated rectangle (ER) and regards the center of ER as its location. In [5], the authors propose a distributed range-free algorithm, called Concentric Anchor Beacon (CAB) localization algorithm. In CAB, each beacon node emits several beacon packets with different power levels and each node maintains a table that includes the ID, location, transmit power level and constraint region of the beacon node. Each normal node determines the particular ring or circle it belongs to within range of different anchors. From the intersection points of different rings, the average of those intersection points is estimated as the location of a node.

Although CAB uses few beacon nodes for localization, it has still some drawbacks. Firstly, it is not a good method for beacon nodes to transmit packets with different power level. Moreover, averaging the intersection point is not accurate result. If some nodes have same intersection points, then the algorithm will give same location information to those nodes. From the discussion of those two kinds of localization schemes, it is clear that each of them have unique properties. In range-based scheme, it can provide more accurate location estimation, but needs additional equipments. In range-free scheme, low cost location system can be built, but estimated location is not accurate enough than range-based schemes. The lognormal shadowing model is used [16] in wireless sensor networks to analyze the path loss characteristics versus distance relationship through a distance power exponent and random shadowing effects. Subsequently the model is used in their work to synthesize the propagation environments.

The authors in [17] propose a localization estimation scheme for the wireless sensor networks in Non-Line-of-Sight environments, where appropriate signal strength is not received due to multi-path fading and shadowing. Though they have considered the lognormal shadowing model in their work, they have used four beacon nodes to estimate the location of a normal node without taking the possible localization error into account. The relationship between the Received Signal Strength Indication (RSSI) values and distance in wireless sensor networks is analyzed in [18] taking lognormal model. They use the lognormal shadowing model in wireless sensor networks to estimate the coefficients in the model, which could be dynamically adjusted with the changed environments. In our work, we design algorithms to find location of normal nodes with help of the location of few beacon nodes. We consider the lognormal shadowing model in our protocol as it affects the received signal strength. The detail procedures of our localization methods are described in the following sections.

3. DIstributed Localization (DIL) Algorithm

In this section, we propose our DIstributed Localization (DIL) algorithm, where a rectangular outdoor monitoring region is considered to find the location of the nodes. In our localization scheme, all deployed nodes are classified as Normal, Beacon or Anchor nodes to locate the position of the normal nodes. Normal nodes and beacon nodes are deployed randomly over the monitoring region, where normal nodes have no location information. However, beacon nodes have location information with higher capability of computation and energy resource. Anchor nodes have larger communication range and are deployed manually. In our protocol, it is assumed that anchor nodes provide angle information to each normal nodes of the network and percentage of anchor nodes is less than the beacon nodes. As shown in Figure 1, the whole network is divided into several clusters such that only one anchor node can be available in each cluster. In order to ensure that each normal node gets enough information to calculate its location, there must be at least one beacon node in each cluster. Otherwise, additional beacon nodes should be redeployed in each cluster. Though more than one beacon node may be available in each cluster, incoming packets from at most three different beacon nodes are used to find the location of a normal node. The deployment strategy of those three types (anchor, beacon and normal) of nodes is described in the following subsection.

3.1. Node Deployment Strategy

In our localization system, normal nodes should receive enough information from the beacon and anchor nodes to calculate their location information correctly. In order to ensure every normal node get enough information, it is necessary to design a proper node deployment strategy so that nodes can be localized efficiently. As per our assumption, normal nodes get angle information from the anchor nodes. Hence, first the anchor nodes are deployed randomly to make sure that the entire monitoring region is fully covered. It is assumed that the size of the monitoring region is m × n, and communication range of the anchor node is Rc = 2Rs, where Rs is the sensing range of each normal node. It is to be noted that each anchor node knows its location via GPS.

A small percentage of beacon nodes that is more than the number of the anchor nodes are deployed on the monitoring region randomly after deployment of the anchor nodes. After random deployment of the anchor and beacon nodes, higher percentage of the normal nodes that is more than the number of the beacon nodes are deployed randomly. Hence, in our localization scheme, it is assumed that percentage of Anchor nodes < percentage of Beacon nodes < percentage of Normal nodes.

3.2. Localization Algorithm

In the localization algorithms, first the distance measurement mechanism of the normal nodes is introduced from the received signal strength indicator (RSSI) value of the beacon nodes. The algorithms are proposed to compute the coordinate of each normal node based on the angle information from an anchor node and distance information from at most three beacon nodes taking the fading and shadowing effects due to noise and obstacles, as described below.

Distance Measurement

The received signal strength indicator (RSSI) is one type of distance estimation technology to obtain the distance between the transmitter and receiver [19,20]. This measurement technology is a standard feature found in most wireless devices and is attractive as they do not need any additional hardware support. When the transmitter sends packet to the receiver, receiver gets the RSSI value as the inverse square of the distance. In most of the localization algorithms, the propagation of signal is considered as an over idealization case, e.g., free space model. However, because of the noise and obstacle, the fading and shadowing effects must be considered in node localization. Experimental results [21] show that many well-designed protocols in WSNs fail in a realistic wireless environment. Typically, the mean RSSI decays between the transmitter and receiver (T-R) can be predicted by some radio propagation model. Because of multi-path fading and shadowing, the received signal strength in wireless channel cannot be obtained appropriately and location estimation error is inevitable. However, log-normal shadowing model can better describe the relationship between the RSSI value and distance. Hence, the log normal shadowing model is a most commonly used propagation model that considers the shadowing effect, whether in outdoor or indoor environment. This model indicates that decrease in average received signal strength with distance is logarithmical. In general, the average path loss for an arbitrary T-R separation can be expressed as given in Equation (1),

P r ( d ) = P t ( d 0 ) 10 n log ( d d 0 ) + X σ
where n is the path loss exponent, which depends on the specific propagation environment, d is the distance between T-R, Pr(d) represents the received signal strength indicator (RSSI), and Pt(d0) represents the transmission power at reference distance (d0). The term Xσ is a random variable, which accounts for the random variation of the shadowing effect and is supposed to be Gaussian distribution with zero mean random variable (in dB) with standard deviation σ (also in dB). Based on Equation (1), we can obtain the distance d from Equation (2).
d = d 0 * 10 ( P t ( d 0 ) P r ( d ) X σ 10 n )

Coordinate Computation

After measuring the distance between the beacon and normal nodes based on the RSSI value, coordinate of each normal node can be calculated. According to our assumptions, a normal node must have received location information from at least one beacon node and angle information from only one anchor node to calculate its own location. To satisfy the conditions of the assumption, a normal node must wait for a predefined timeout Tn units to receive RSSI value from at least one and at most three beacon nodes. During the waiting time, if a normal node does not receive any RSSI value from at least one beacon node, it has to again wait for the Tn units and the process continues till a normal node receives RSSI value from any beacon nodes within its communication range. Upon receiving RSSI value from the beacon nodes and angle information from the anchor node, a normal node starts calculating the possible coordinates of its own location.

Let (x, y) be the coordinate of the normal node, (x1, y1) be the location of a beacon node B1, and (xa, ya) be the location of an anchor node. Distance between the beacon and normal node is d1, which is calculated as described later. Let the angle between the anchor node’s x-axis and the line joining the normal and anchor node be θ. Based on these information, we can obtain two equations. We consider the linear equation that passes through the anchor and normal node, as shown in Figure 2 and given in Equation (3).

y = x tan θ + k
where k is a constant, which is obtained by substituting location of the anchor node.
k = y a x a tan θ
Taking communication range of a beacon node as a uniform circular disc, Equation (5) can be obtained as follows.
( x x 1 ) 2 + ( y y 1 ) 2 = d 1 2
Substituting Equation (3) in Equation (5) and upon simplification, Equation (6) can be obtained.
( 1 + tan 2 θ ) x 2 ( 2 x 1 + 2 y 1 tan θ 2 ktan θ ) x + R = 0
where, R is
R = x 1 2 + k 2 2 ky 1 + y 1 2 d 1 2
Since Equation (6) is a simple quadratic equation, x coordinate of the location of the normal node can be calculated easily. Now y coordinate of the location can be obtained by substituting value of x in Equation (3). However, it could be possible that a normal node may receive beacon packets from two or more beacon nodes. It is to be noted that each normal node can have at least one beacon node within its communication range as per our assumptions. As described previously, first a normal node listens to the network and checks the arrival of the beacon packets. Normal node continues to wait for Tn units and maintains a coordinate table as shown in Table 1 to record the beacon packet’s information. Each normal node maintains the coordinate table with four fields. They are the ID, location and RSSI value of the beacon nodes from which beacon packets are received. Besides, the last column of the table records the possible estimated location (P-Loc) information of the normal node. Normally, a normal node computes the possible location (P-Loc) from all of its received data as soon as its waiting time expires.

For example, suppose a normal node receives beacon packet from two different beacon nodes B1 and B2. As shown in Figure 3(a), from the sensing range of B1, the line joining the normal and anchor node can have two possible coordinates P1 and P1. Similarly, from the sensing range of B2, another two possible coordinates P2 and P2 can be obtained. Then, the normal node compares the distance between each combination of points, i.e., P1 with P2 or P2 with P1 or any other pairs. Finally, it chooses the pair of points having minimum distance or very negligible distance.

As shown in Figure 3(a), obviously points P1 and P2 are selected as the most possible location of the nodes. As shown in Figure 3(b), if more than two beacon packets are received from three different beacon nodes, normal node continues to update the coordinate table and use the same procedure to compute the possible coordinates P3 and P3 and determines the correct coordinate. If more than three beacon packets are received from different beacon nodes after the waiting time is elapsed, a normal node selects three of all entity in the table having smallest RSSI value, as the error measurement of distance increases if the RSSI value is increased. By choosing the smallest RSSI value, the percentage of localization error can be minimized. In case, one beacon packet is received by the normal node during its waiting time, it implies that there is only one entity in the table with two possible coordinates P1 and P1. In this case, a normal node randomly chooses one of the two possible coordinates as its estimated location.

The detail procedure of executing the localization algorithm is given in Table 2. Since there may be slight differences between the final coordinates, the error estimation and correction methods as described in Subsection 3.3 can be used to find the most accurate location of a normal node.

3.3. Localization Error Determination

It is to be noted that we propose the distributed localization algorithm taking three different types of nodes. We use location information of at least one or at most three beacon nodes to calculate the location of normal nodes. The anchor nodes do not provide location information neither to beacon nor to normal nodes. In our algorithm, they can provide only angle information to the normal nodes. Since we consider at most three beacon nodes to calculate location of the normal nodes, it could be possible that a normal node may calculate three different locations from the RSSI values received from three different beacon nodes. Hence, we use here the probability distribution function (PDF) to determine the probability of wrong identification of a transmission from the beacon node A as if it is originating either from the location of beacon node B or C. Besides, we also give the analytical methods to determine the probability of wrong identification from the beacon nodes B and C with respect to the beacon node A.

It is obvious that only one pair of coordinate is used as the location of the normal node, if only one beacon node is used to calculate the location of the normal node. However, the presence of more beacon nodes can enhance the accuracy of the localization. Hence, we propose our system with two or three beacon nodes for error analysis as follows. Consider three beacon nodes A, B and C located at different positions but within the communication range of a normal node. Let SA, SB and SC be the received signal strength (RSSI) by a normal node from those beacon nodes A, B and C, respectively. fA, fB and fC are the probability density functions (PDF) of the received signal strength SA, SB and SC, respectively, which are received by a normal node. Taking SA as the RSSI value received by the normal node from beacon node A and using this value in fA and fB, we can calculate fA(SA) and fB(SA), respectively. In this process, if fA(SA) < fB(SA), the normal node wrongly decides that the transmission has originated from B instead of A. As shown in Figure 4, as an example, fB(SA) is determined from the RSSI value received from node A and the shaded area represents the probability of wrong identification, which can be expressed analytically as follows,

P A B = P ( f A ( S A ) < f B ( S A ) )
and
P A C = P ( f A ( S A ) < f C ( S A ) )
where PA→B is the probability of wrongly identifying a transmission arriving from beacon node A as if it originates from beacon node B. Similarly, PA→C is the probability of wrongly identifying a transmission arriving from beacon node A as if it originates from beacon node C.

It is to be noted that a normal node also receives RSSI value from other beacon nodes B and C. Taking SB as the RSSI value of beacon node B, the probability of wrong identification of a transmission arriving from beacon node B with respect to beacon nodes A and C can be expressed analytically as follows,

P B A = P ( f B ( S B ) < f A ( S B ) )
and
P B C = P ( f B ( S B ) < f C ( S B ) )
Similarly, the probability of wrong identification of a transmission arriving from beacon node C with respect to beacon nodes A and B can be expressed analytically as follows,
P C A = P ( f C ( S C ) < f A ( S C ) )
and
P C B = P ( f C ( S C ) < f B ( S C ) )
As given in Equations (8)(13), probability of erroneous localization can be measured in a probabilistic location determination system, which can be used further to reduce the localization error as described in the following subsection.

3.4. Localization Error Reduction

In this section, probabilistic methods for improving the localization accuracy of the normal nodes with respect to the locations of at most three beacon nodes are designed. Let fA, fB and fC be the probability density functions of the RSSI SA, SB and SC, received from the beacon nodes A, B and C, respectively. Suppose μA, μB and μC are the mean and σA, σB and σC are the standard deviations of fA, fB and fC, respectively. Let μA < μB and μA < μC. Let us define S(fA = fB) be the RSSI value when fA(S) = fB(S) and S(fA = fC) be the RSSI value when fA(S) = fC(S). As shown in Figure 5, for a given range of SA, fA(SA) < fB(SA) and fA(SA) < fC(SA), which implies that S(fA = fB) < SA < ∞ and S(fA = fC) < SA < ∞. Hence, the probability of getting an RSSI value in this range at the normal node from beacon node B is given by the following equation.

P A B = P ( f A ( S A ) < f B ( S A ) ) = S ( f A = f B )   f A ( S ) d S
Similarly, probability of getting an RSSI value in this range at the normal node from beacon node C is given by the following equation.
P A C = P ( f A ( S A ) < f C ( S A ) ) = S ( f A = f C )   f A ( S ) dS
Here, PAB represents the probability of identification of a beacon located at A as if it is the beacon B and PAC represents the probability of identification of a beacon located at A as if it is the beacon C. S(fA = fB) represents the RSSI value at the normal node, where the PDFs from beacons A and B are equal to each other and S(fA = fC) represents the RSSI value at the normal node, where the PDFs from beacons A and C are equal to each other.

By considering a suitable method proposed in [22], the variance of the signal strength distribution at the normal node from the beacon node B is reduced to σB, where σB < σB. Here, we define a new RSSI value for which S(fA = f′B) such that S(fA = fB) < S(fA = f′B). Hence, the probability of identification of location of beacon A as location B based on the new signal strength distribution from a transmitter located at B with reduced variance can be expressed in the following equation.

P A B = S ( f A = f B )   f A ( S ) dS
Similarly, by reducing the variance of the signal strength distribution to σC at the normal node from beacon C, where σC < σC, a new RSSI value could be defined so that S(fA = f′C), where S(fA = fC) < S(fA = f′C). Then the probability of identifying location of beacon A as location C based on the new signal strength distribution from a transmitter located at C with reduced variance can be expressed in the following equation.
P A C = S ( f A = f C )   f A ( S ) d S
Similarly, the probability of identification of location of beacon B as location C based on the new signal strength distribution from a transmitter located at C with reduced variance can be expressed in the following equation.
P B C = S ( f B = f C )   f B ( S ) dS
Thus, the probability of identification of location of beacon B as location A based on the new signal strength distribution from a transmitter located at A with reduced variance can be expressed in the following equation.
P B A = S ( f B = f A )   f B ( S ) d S
Using the method of induction, the probability of identification of location of beacon C as location A based on the new signal strength distribution from a transmitter located at A with reduced variance can be expressed in the following equation.
P C A = S ( f C = f A )   f C ( S ) d S
And, the probability of identification of location of beacon C as location B based on the new signal strength distribution from a transmitter located at B with reduced variance can be expressed as
P C B = S ( f C = f B )   f C ( S ) d S
After getting f′B and f′C, as shown in Figure 6, and taking the reduced variance as discussed above, a new PDF f″ could be designed such that S′(f′B = f′C) < S′(f′C = f″). Similarly, after getting f′A and f′C, and taking the reduced variance, the new PDF f″ could be designed such that S′(f′A = f′C) < S′(f′C = f″). Finally, the probability of correctly identifying location of all beacons A, B and C at the normal node with reduced variance can be expressed in the following equation.
P normal = S ( f C = f )   f A ( S ) dS
where, Pnormal is the reduced probability of wrongly identifying a transmission from an object at location A as originating from location C. By considering three beacon nodes A, B and C at the same time, probability of error correction can be made as the combination among any two of those three beacon nodes, which can be similar to the above equation. Hence, by reducing in variance of each distributions, the location determination error could be reduced as discussed above.

4. Performance Evaluation

In this section, we evaluate the performance of our distributed localization algorithms. Detail description of the simulation setups and results are given as follows.

4.1. Simulation Setup

To analyze the performance of our algorithm, a rectangular monitoring region of size 200 × 300 m2 is taken and the algorithm is simulated using ns 2.33. The number of nodes deployed over the said monitoring region varies from 250 to 500 including normal, beacon and anchor nodes. In our simulation, 80% to 90% of the total number of deployed nodes is taken as the normal nodes without location information and rests are considered as the nodes with known location (beacon and anchor nodes). In our simulation, IEEE 802.15.4 MAC is considered as the medium access mechanism. Communication range of all normal nodes is fixed at 40 m and value of path loss exponent is set to 2. Each beacon node transmits beacon packet in an interval of 2 ms and the initial energy resource of each sensor node is considered as 50 joules, which is decreased by 0.3 joules in each transmission. Besides, Shadowing Model is used in our simulation to simulate the shadow effect of obstructions between the transmitter and receiver. In the simulation, the shadowing deviation of 10 dB and path loss (β) is taken 3, which are suitable for the shadowed outdoor environment [23,24].

4.2. Simulation Results

We first find out the average estimated localization error, which is defined as the square root of the mean-square error (RMSE) that is due to difference between the estimated coordinate and the real coordinate of a normal node. As shown in Figure 7, the average estimated localization error for different number of beacon nodes with fixed number of total nodes (N) is analyzed. In this simulation, the number of anchor nodes among the total number of nodes N is also fixed. From this figure, it is observed that the average estimated localization error decreases if number of beacon nodes increases. Besides, if more number of nodes N are deployed over the monitoring region, the average estimated localization error is also decreased. It is to be noted that the average localization error is more than 9 m when the number of beacon nodes is 35. Hence, in order to get more localization accuracy of the normal nodes, deployment of more beacon nodes is essential.

As discussed in Section 3, we use the path loss shadowing model as our propagation model given in Equation (3). In this model, Xσ is a random variable with standard deviation σ, which affects the RSSI value and thereby influences the estimated average localization error. As shown in Figure 8, we simulated the percentage of deployed normal nodes with different standard deviation (σ) to study the average estimated localization error. The number of anchor and beacon nodes in this experiment is fixed. It is noticed that the average estimated localization error is more for large value of the standard deviation. It is quite reasonable, as the large value of standard deviation means the degree of probability distribution is large, and therefore the average localization error is increased. Besides, the estimated localization error increases if percentage of deployed normal nodes is increased. It is to be noted that the average localization error is increased in Figure 8 due to the effect of standard deviation (σ), only when 80%88% of normal nodes out of the total number of deployed nodes is considered in the simulation.

Figure 9 indicates how the average estimated localization error is affected for different percentage of normal nodes. This experiment is carried out for different communication range of the beacon nodes with fixed number of anchor nodes, which is equal to 9. From this figure, it is found that the average estimated localization error is reduced, if communication range of the beacon nodes is increased. This situation happens, since most of the normal nodes can receive enough beacon packets to calculate their location and thereby reducing the localization error. However, if percentage of normal node increases, average estimated localization error also increases, which is compatible with the results given in Figure 8.

In Figure 10, the localization time for different number of network size N with different number of beacon nodes is shown. Here, the localization time increases with increase in number of beacon nodes. This situation arises as a normal node waits for Tn units and the communication time is also increased if number of beacon nodes increases. From Figure 10, it is interesting to note that the variation in localization time is much less although the node density changes. The analysis of average residual power for different communication range with different percentage of normal nodes is presented in Figure 11. In this experiment, first we measure the residual power of the beacon, anchor and normal nodes and then take the average of the total residual power. As shown in Figure 11, we observe that the average energy consumption is increased if number of normal nodes is increased. Besides, the residual power decreases if communication range of the normal nodes increases. This is because of the more power consumption due to higher communication range.

The comparison of the performance of our DIstributed Localization (DIL) algorithm is made with other similar localization algorithms CAB [5] and APIT [11]. The concentric anchor beacon (CAB) localization algorithm uses a small number of anchor nodes. Each anchor emits several beacon signals at different power levels, which are received by the sensors to calculate their location. We have considered CAB to compare with our simulation results, as we use three beacons that transmit signals to the normal nodes. The normal nodes calculate their location based on the RSSI values of the beacons. In APIT (Approximate Point In Triangle), a reference node sends location information periodically to the sensors. Then each sensor makes triangles based on the received location information of the reference nodes in order to calculate its own location. We compare APIT with our simulation results, as in our protocol, the beacon node transmits the location information to each normal node, which ultimately calculates its location. As shown in Figure 12, the average localization error of our algorithm is compared with CAB and APIT for different number of beacon nodes. It is observed that the average localization error decreases if number of beacon nodes increases. If the number of beacon nodes is about 40, the average estimated localization error of our scheme can have up to 18.36 % error, whereas CAB and APIT can have larger localization error, which is up to 22.82 % and 32.17 %, respectively. Obviously, DIL can have better performance over CAB and APIT. Besides, CAB can have limited improvement in localization error if number of beacon nodes is increased, but we can get better localization accuracy of normal nodes if number of beacons are increased in our protocol.

As shown in Figure 13, we simulate and compare with CAB and APIT to study the effect of different standard deviation (σ) on estimated localization error. It is noted that the standard deviation has slight effect on other two schemes, but have larger effect on our algorithm. It is reasonable in case of CAB and APIT as they do not use RSSI to find location of a node. Figure 14 shows the average estimated localization error with variation in communication range. Our algorithm as well as APIT scheme have better performance when the communication range increases. Since the communication range increases, it implies that more normal node can receive more beacon packets from different beacon nodes. Thus, the accuracy of localization is improved. However, CAB is not affected as the beacon nodes in CAB always transmit data with fixed power level. Beside, it is found that the average estimated localization error is decreased if the number of beacon nodes is increased.

Figure 15 indicates the comparisons of localization time for different protocols, while different localization schemes are executed. The results show that DIL algorithm gives better performance on localization time, which is due to the limited transmission overheads. It is to be noted that, in our protocol, each anchor node and beacon nodes transmit packets to their neighbors only once.

5. Conclusions

In this paper, a novel distributed localization algorithm is proposed to find location of the normal nodes using only two or three beacon nodes. The localization error determination and error correction methods are proposed to give theoretical basis to the proposed algorithms. The advantage of our algorithm is that it can work even if only one beacon node provides location information to a normal node. From the performance evaluation of our algorithm, it is observed that our algorithms outperform over similar protocols. Besides, using the proposed method, location of the nodes can be calculated with the simplest ways with less time complexity, which is quite suitable for the memory and energy constraint sensors.

Acknowledgments

Prasan Kumar Sahoo’s research is sponsored by NSC Grants No. 100-2221-E-182-069 and No. 100-2221-E-182-027.

References

  1. Hofmann-Wellenhof, B; Lichtenegger, H; Collins, J. Global Positioning System: Theory and Practice, 4th ed; Springer-Verlag: Berlin, Germany, 1997. [Google Scholar]
  2. Werb, J; Lanzl, C. Designing a positioning system for finding things and people indoors. IEEE Spectrum 1998, 35, 71–78. [Google Scholar]
  3. Langendoen, K; Reijers, N. Distributed localization in wireless sensor networks: A quantitative comparison. Comput. Netw 2003, 43, 499–518. [Google Scholar]
  4. Savarese, C; Rabaey, JM; Beutel, J. Locationing in distributed ad-hoc wireless sensor networks. Proc. ICASSP 2001, 4, 2037–2040. [Google Scholar]
  5. Vivekanandan, V; Wong, VWS. Concentric anchor beacon localization algorithm for wireless sensor networks. IEEE Trans. Veh. Tech 2007, 56, 2733–2744. [Google Scholar]
  6. Peng, R; Sichitiu, ML. Probabilistic localization for outdoor wireless sensor networks. ACM SIGMOBILE Mob. Comput. Commun 2007, 11, 53–64. [Google Scholar]
  7. McGuire, M; Plataniotis, KN; Venetsanopoulos, AN. Location of mobile terminals using time measurements and survey points. IEEE Trans. Veh. Tech 2003, 52, 999–1011. [Google Scholar]
  8. Savvides, A; Han, CC; Srivastava, MB. Dynamic fine-grained localization in ad-hoc networks of sensors. Proceedings of Seventh Annual International Conference on Mobile Computing and Networking, Rome, Italy, 16–21 July 2001.
  9. Li, X; Shi, H; Shang, YA. map-growing localization algorithm for ad-hoc wireless sensor networks. Proceedings of IEEE International Conference on Parallel and Distributed Systems, Newport Beach, CA, USA, 7–9 July 2004.
  10. Capkun, S; Hamdi, M; Hubaux, JP. GPS-Free Positioning in Mobile Ad-Hoc Networks. Proceedings of IEEE International Conference on System Sciences, Maui, HI, USA, 3–6 January 2001.
  11. Peng, R; Sichitiu, ML. Angle of Arrival localization for wireless sensor networks. Proceedings of IEEE Communications Society on Sensor and Ad Hoc Communications and Networks, Reston, VA, USA, 28 September 2006; pp. 374–382.
  12. He, T; Huang, C; Blum, BM; Stankovic, JA; Abdelzaher, T. Range free localization schemes for large scale sensor networks. Proceedings of ACM International Conference on Mobile Computing and Networking, San Diego, CA, USA, 14–19 September 2003; pp. 81–95.
  13. Niculescu, D; Nath, B. Ad-hoc positioning system (APS). Proceedings of IEEE Global Telecommunications Conference, San Antonio, TX, USA, 25–29 November 2001; pp. 2926–2931.
  14. Savarese, C; Langendoen, K; Rabaey, J. Robust positioning algorithms for distributed ad-hoc wireless sensor networks. Proceedings of USENIX Technical Annual Conference, Monterey, CA, USA, 10–15 June 2002; pp. 317–328.
  15. Sheu, JP; Hsu, CS; Li, JM. A distributed location estimating algorithm for wireless sensor networks. Proceedings of IEEE International Conference on Sensor Networks, Ubiquitous, and Trustworthy Computing, Taichung, Taiwan, 5–7 June 2006; pp. 218–225.
  16. Fanimokun, A; Frolik, J. Effects of natural propagation environments on wireless sensor network coverage area. Proceedings of the 35th Southeastern Symposium on System Theory, Morgantown, WV, USA, 16–18 March 2003; pp. 16–20.
  17. Lee, Y-K; Kwon, EH; Lim, JS. Self location estimation scheme using ROA in wireless sensor networks. LNCS 2005, 3823, 1169–1177. [Google Scholar]
  18. Xu, J; Liu, W; Lang, F; Zhang, Y; Wang, C. Distance measurement model based on RSSI in WSN. Sci. Res. Wirel. Sens. Netw 2010, 2, 606–611. [Google Scholar]
  19. Li, X; Shi, H; Shang, Y. A sorted RSSI quantization based algorithm for sensor network localization. Proceedings of IEEE International Conference on Parallel and Distributed Systems, Fukuoka, Japan, 20–22 July 2005; pp. 557–563.
  20. Savvides, A; Park, H; Srivastava, M. The bits and flops of the N-hop multilateration primitive for node localization problems. Proceedings of ACM International Workshop on Wireless Sensor Networks and Application, Atlanta, GA, USA, 28 September 2002; pp. 112–121.
  21. Liu, BH; Otis, B; Challa, S; Axon, P; Chou, CT; Jha, S. On the fading and shadowing effects for wireless sensor networks. Proceedings of IEEE International Conference on Mobile Ad-Hoc and Sensor Systems, Vancouver, BC, Canada, 9–12 October 2006; pp. 51–60.
  22. Youssef, M; Agrawala, A. On the Optimality of WLAN Location Determination Systems; Technical Report; UMIACSTR 2003-29 and CS-TR 4459; University of Maryland: College Park, MD, USA, 2003. [Google Scholar]
  23. Radio Propagation Models Implemented in Ns2. Available online: kom.aau.dk/group/05gr1120/ref/Channel.pdf (accessed on 18 Ocotber 2011).
  24. Wu, X. Simulate 802.11b Channel within NS2. Available online: http://cir.nus.edu.sg/reactivetcp/report/80211ChannelinNS2_new.pdf (accessed on 18 Ocotber 2011).
Figure 1. Example of node deployment strategy in the localization system.
Figure 1. Example of node deployment strategy in the localization system.
Sensors 11 09989f1 1024
Figure 2. Location computation of a normal node with help of one beacon node.
Figure 2. Location computation of a normal node with help of one beacon node.
Sensors 11 09989f2 1024
Figure 3. Location determination of normal node: (a) with help of two beacon nodes, (b) with help of three beacon nodes.
Figure 3. Location determination of normal node: (a) with help of two beacon nodes, (b) with help of three beacon nodes.
Sensors 11 09989f3 1024
Figure 4. Probability density functions of RSSI received from beacon node A.
Figure 4. Probability density functions of RSSI received from beacon node A.
Sensors 11 09989f4 1024
Figure 5. Probability density functions of signal strength received from three beacon nodes.
Figure 5. Probability density functions of signal strength received from three beacon nodes.
Sensors 11 09989f5 1024
Figure 6. Probability density functions of signal strength received from three beacon nodes.
Figure 6. Probability density functions of signal strength received from three beacon nodes.
Sensors 11 09989f6 1024
Figure 7. Average estimated localization error for different number of beacon nodes.
Figure 7. Average estimated localization error for different number of beacon nodes.
Sensors 11 09989f7 1024
Figure 8. Effect of Standard Deviation (SD) on localization error for different number of normal nodes.
Figure 8. Effect of Standard Deviation (SD) on localization error for different number of normal nodes.
Sensors 11 09989f8 1024
Figure 9. Average estimated localization error for different communication ranges.
Figure 9. Average estimated localization error for different communication ranges.
Sensors 11 09989f9 1024
Figure 10. Average localization time for different number of beacon nodes.
Figure 10. Average localization time for different number of beacon nodes.
Sensors 11 09989f10 1024
Figure 11. Average residual power for different number of beacon nodes.
Figure 11. Average residual power for different number of beacon nodes.
Sensors 11 09989f11 1024
Figure 12. Comparison of average estimated localization error for different number of beacon nodes.
Figure 12. Comparison of average estimated localization error for different number of beacon nodes.
Sensors 11 09989f12 1024
Figure 13. Comparison of average estimated localization error for different standard deviations.
Figure 13. Comparison of average estimated localization error for different standard deviations.
Sensors 11 09989f13 1024
Figure 14. Comparison of average estimated localization error for different number of beacon nodes.
Figure 14. Comparison of average estimated localization error for different number of beacon nodes.
Sensors 11 09989f14 1024
Figure 15. Comparison of localization time.
Figure 15. Comparison of localization time.
Sensors 11 09989f15 1024
Table 1. Coordinate table.
Table 1. Coordinate table.
BN-IDBN-loc.RSSIP-loc
B1(XB1,YB1)RSSIB1P1
B2(XB2,YB2)RSSIB2P2
B3(XB3,YB3)RSSIB3P3
B4(XB4,YB4)RSSIB4P4
............
Table 2. Distributed Localization (DIL) Algorithm.
Table 2. Distributed Localization (DIL) Algorithm.
Initialize:
    Waiting time Tn for each normal node;
    All fields of coordinate table ={ϕ};
    Start: Node deployment strategy;
Do
    {
For each Anchor node:
    Check: Neighbors of each normal nodes;
    Measure: Angle information for each neighbor of normal nodes;
    Transmit: Angle information to each normal nodes;
For each Beacon node:
    Broadcast the beacon packets;
For each Normal node:
    Setup: Waiting time Tn;
    Do
    {
      Listen to the network;
      If (any beacon packet is received)
        Translate: RSSI into Distance;
        Start location computation;
        Update the coordinate table;
      End If
    } While (Tn is not expired);
    Calculate: Final result from all entries of the table;
    Output: Normal node’s location;
    }
End

Share and Cite

MDPI and ACS Style

Sahoo, P.K.; Hwang, I.-S. Collaborative Localization Algorithms for Wireless Sensor Networks with Reduced Localization Error. Sensors 2011, 11, 9989-10009. https://doi.org/10.3390/s111009989

AMA Style

Sahoo PK, Hwang I-S. Collaborative Localization Algorithms for Wireless Sensor Networks with Reduced Localization Error. Sensors. 2011; 11(10):9989-10009. https://doi.org/10.3390/s111009989

Chicago/Turabian Style

Sahoo, Prasan Kumar, and I-Shyan Hwang. 2011. "Collaborative Localization Algorithms for Wireless Sensor Networks with Reduced Localization Error" Sensors 11, no. 10: 9989-10009. https://doi.org/10.3390/s111009989

Article Metrics

Back to TopTop