# Multihops Fitting Approach for Node Localization in Underwater Wireless Sensor Networks

Authors: Linfeng Liu; Jiagao Wu; Zhiwen Zhu
Journal: International Journal of Distributed Sensor Networks
 (2015)

---

## Abstract

Nodes in underwater wireless sensor networks (UWSNs) keep moving and dispersing due to force of water flow and aquatic creatures touching, and thus some isolated unknown nodes emerge. This type of isolated unknown nodes cannot directly communicate with enough beacons in their neighborhoods, which makes localizations for them disabled or the localization error unbearable. To this end, a multihops fitting localization approach is proposed in this paper. Firstly, some intermediate nodes between beacons and unknown nodes are set as routers to construct paths via a greedy method; then, the multihop paths are approximately fitted into straight lines; finally, the positions of unknown nodes can be estimated by trilateration. The proposed algorithm is analyzed and simulated in terms of localization error and error variance, and the results are proven preferable.


---

## Body

## 1. Introduction

Water covers more than 70 percent of the surface on the earth. In order to utilize the underwater resources, there is great interest in the exploration of underwater wireless sensor networks (UWSNs). UWSNs are regarded as extension of terrestrial wireless sensor networks, and they are composed of a large number of underwater sensors. This system can collect hydrologic data such as temperature, pressure, PH value, and salinity-alkalinity and so on; hence many applications can be made such as environment management, resources protection, hazard monitoring, and military detecting [1]. These applications are usually required to learn the coordinates of sensor nodes; accordingly, localization for unknown nodes in UWSNs is very important. There are three types of nodes in UWSNs: surface buoys, beacons, and unknown nodes. The given phenomenon is observed mostly by unknown nodes and beacon nodes, which are interconnected and are in charge of relaying the data to surface sinks. The architecture of UWSNs is depicted in Figure 1.Figure 1
UWSN architecture.(a) Surface buoys are equipped with GPS systems [2]; thus they can get their coordinates easily. Each buoy communicates with the beacon nodes using acoustic transceiver periodically and then sends messages including the information of its position and so on [3]. The acoustic communication can be available even in deep underwater [4].(b) Beacon nodes mainly give help to estimating the coordinates of unknown nodes. They usually own more energy and larger communication ranges. Every unknown node keeps listening until more than 3 position messages from beacons have been received.(c) Unknown nodes are generally used to gather interest data and are assumed to own limited battery energy, so they usually keep silent until they hear from beacon nodes by broadcasting messages [5]; then their coordinates are estimated approximatively.In traditional 3D underwater localization algorithms, at least four beacons are necessary to locate one unknown sensor node’s position (X coordinate, Y coordinate, and Z coordinate). It is assumed that all the underwater nodes including beacons and unknown nodes are equipped with pressure sensors so that the depths (Z coordinate) of the nodes can be acquired directly by USP [6]. Then we can use three beacons to finish the localization.Underwater sensor nodes keep moving and diffusing due to water flowing or aquatic creatures touching after they are deployed [7], what produces some isolated nodes. These isolated nodes cannot search for enough beacons in their neighboring ranges and thus the localizations are disabled. There are two kinds of methods for this problem. The first one is called AUV-aided algorithm [8, 9], in which AUV travels to an area where isolated nodes exist and then it serves as a localization reference. However, this method cannot provide real-time localization, especially in large scale UWSNs, because the number of AUVs is scarce and they move slowly; the other is multihop localization algorithm, which takes intermediate nodes between beacons and unknown nodes as routers to transmit the coordinates from beacons. This method will be adopted and improved in the remaining part of this paper.The remainder of the current study is organized as follows. Section2 provides a brief overview of related work. In Section 3, we propose a multihop localization algorithm for UWSNs. Section 4 gives some mathematical analysis about the scheme of our research. In Section 5, the proposed algorithm is validated by simulations in terms of localization error and error variance. Section 6 is the conclusion.This work is the extension of our early work [10]; the main differences between the two papers are as follows. (1) The algorithm is given additional explanation and is discussed from different cases; (2) the theoretical analysis of algorithm has been improved and extended; (3) more simulations have been done and supplied.


## 2. Related Work

The localization schemes of terrestrial sensor networks usually use radio wave to communicate among nodes. However, the radio wave underwater can propagate a very short distance, and the fact makes the existing terrestrial localization algorithms be not suitable for UWSNs. In UWSNs, sensor nodes communicate with each other by acoustic channels because sound is the only available medium for long distance transmission underwater [11–13]. In this section, we will briefly review some localization algorithms for UWSNs.Most localization algorithms for UWSNs can be roughly divided into two steps: (1) calculation of distance between unknown nodes and beacons; (2) implement of localization. Range-free protocols [14] and range-based protocols [15] are usually used in the first step. In [16], an improved DV-Hop localization method based on range-free is proposed, and it overcomes the bad localization accuracy. In range-based protocols, more accurate distance information is used for localization, such as Received Signal Strength Indicator (RSSI) [17], Time of Arrival (ToA) [18], Time Difference of Arrival (TDoA), and Angle of Arrival (AoA) [19]. In the second step, the most typical algorithm is trilateration [20], where the localizations of unknown nodes are supported by not less than three beacons [21]. Nevertheless, if unknown nodes cannot find enough beacons, then this algorithm will be disabled due to lacking of distance for localization.Reference [22] applies a static path to improve the localization accuracy by considering the path of a mobile beacon and the deployment of beacons. This research suggests the determined static path provides higher localization accuracy than a random path or others, but the path interval abates localization accuracy greatly and the movement trajectory of mobile beacon nodes is almost unpredictable. In [23], authors assume a sparse UWSN where sensor nodes have poor connectivity with each other and then proposes an algorithm named Mobility Assisted MDS-MAP(P), which is based on Multidimensional Scaling (MDS). In this method, mobile sensor nodes keep moving and recording the distances to neighbor nodes at some intermediate locations, which provides extra range measurements. In [24], an Efficient Mobility Based Localization (EMBL) is proposed. During the localization process every node predicts its future mobility pattern according to its historical trajectory. The contacting with beacons is not necessary for isolated nodes due to mobility prediction. But nodes prediction has a poor accuracy when the underwater environment is extremely complex. Reference [25] employs intermediate nodes between beacons and unknown nodes as routers [26] to build a shortest path via greedy approach, as shown in Figure 2; the shortest path is approximately taken as a straight line linking unknown nodes and beacons. However, this algorithm manifests poor performance when the routers are too much. The problem of multihops localization has not been paid enough attention, and especially large error is easily produced by current multihops localization approaches. The traditional multihop localization methods using greedy arithmetic result in an unsatisfactory localization error, which motivates us to put forward the Multihops Fitting Localization Approach (MFLA).Figure 2
Path selection.


## 3. Algorithm

Suppose that plenty of sensors nodes are deployed in 3D underwater cuboid spaceD∈IR3, the volume of which is L×W×H. U, and B denote unknown nodes set and beacons set, respectively, where U={U1,U2,…,Um}, B={B1,B2,…,Bn}. The number of unknown nodes and beacons are denoted as m, n, and m+n is the total number of nodes. The coordinate of one node Vi (Vi∈U∪B) is marked as (xi,yi,zi).Each node has a rotatable acoustic transmitter and receiver. As shown in Figure3, acoustic transmitter and receiver on nodes can rotate anticlockwise in the horizontal direction.Figure 3
Rotatable acoustic transmitter and receiver.MFLA will be executed when unknown nodes cannot find 3 neighboring beacons. Some intermediate nodes are employed to form a polygonal line from the unknown nodes to the nearest beacons; subsequently, this polygonal line is fitted (by a recursion of cosine computation) for trilateration localization. The detailed description and flowchart of MFLA are given as follows.Step 1.
Each beacon (supposeBi) broadcasts an announce_msg after a random backoff time. After reception of the message from Bi, the unknown node (suppose Uj) replies a reply_msg. Thus the distance dis(Bi,Uj) can be computed by measured time-of-arrival (TOA) [27]. In detail, the distance dis(Bi,Uj) is calculated through the following formula [28]:(1)disBi,Uj=1449.2+4.623t-0.0546t2+1.391σ-35·Tr-Ts,where t is water temperature, σ is water salinity, Tr is the sending time of beacon message from Bi, and Ts is the arrival time of message.Step 2.
All neighboring beacons ofUj will be recorded as a beacon set bec_list(Uj).Step 3.
If|bec_list(Uj)|≥3, the coordinate of Uj will be computed via trilateration localization; else go to Step 4.Step 4.
SupposeUj satisfies |bec_list(Uj)|<3; then Uj broadcasts an inquire_msg to neighboring unknown nodes. This message will be forwarded until all unknown nodes have received one copy. Every receiver will forward inquire_msg provided that it has not received before, so this forwarding manner is a kind of flooding. Receivers answer Uj with their beacon sets via a directed diffusion way [29]; after that, information of other beacons is obtained by Uj; thus the routing paths from new beacons to Uj can be calculated at Uj, as shown in Figure 4. Then intermediate nodes record the intersection angles between receivers and senders. In Figure 4, the antenna of Uj rotates to a particular direction to receive the announce_msg from Bi; afterwards, Uj sends a reply_msg. The receiving time and sending time (denoted as t1 and t2, resp.) will also be recorded by Uj. Then, Uj rotates its antenna to communicate with Uk, and the rotating angle will be taken as the intersection angle between Bi and Uk. The structure of bec_list is shown as Table 1.
Besides, an example for routing formation is given in Figure5. Neighboring beacons (at least 3) will be found by a greedy method, and routing table can be produced. The path from B1 to U1 is B1→I1→I2→I4→U1, and the path from B2 to U1 is B2→I3→I4→U1.Table 1
Structure ofbec_list.
Field
Description
B
e
c
_
I
D
Identifier of beacons
X
Coordination ofx axis
Y
Coordination ofy axis
Z
Coordination ofz axis
Distance
Distance from it to beacons
Router_set
Intermediate nodes between it and beaconsFigure 4
Polygonal line paths.Figure 5
Example of routing formation.
(a)
Diagram of forwarding
(b)
Routing tableStep 5.
A path with minimum hops from an unknown nodeUm to a remote beacon Bi (as shown in Figure 4) is selected. We define an intermediate node as Ik; moreover, Bi always is the I1; The distance between Ik-1 and Ik is, namely, d(Bi,Um)(k-1,k);  θ(Bi,Um)(k) denotes the interior angle between d(Bi,Um)(k-1,k) and d(Bi,Um)(k,k+1); d(Bi,Um)(k-1,k+1) is a fitted straight line between Ik-1 and Ik+1. The computation of interior angle should be discussed from the following cases.Case 1.
Whenk=2, d(Bi,Um)(i,k) can be obtained directly.Case 2.
Whenk=3, as shown in Figure 6, if θ(Bi,Um)(k-1)<π then there will be d(Bi,Um)(i,k)={d(Bi,Um)(i,k-1)2+d(Bi,Um)(k-1,k)2-2d(Bi,Um)(i,k-1)·d(Bi,Um)(k-1,k)·cosθ(Bi,Um)(k-1)}1/2; else if θ(Bi,Um)(k-1)≥π then d(Bi,Um)(i,k)={d(Bi,Um)(i,k-1)2+d(Bi,Um)(k-1,k)2 − 2d(Bi,Um)(i,k-1)·d(Bi,Um)(k-1,k)·cos(2π-θ(Bi,Um)(k-1))}1/2.Figure 6
Computation of interior angle (k=3).
(a)
θ
B
i
,
U
m
(
k
-
1
)
<
π
(b)
θ
B
i
,
U
m
(
k
-
1
)
≥
πCase 3.
Whenk>3, there will be four different conditions of interior angles (Figure 7), which is marked as δ(Bi,Um)(k-1):
(
a
) if θ(Bi,Um)(k-2)<π,θ(Bi,Um)(k-1)<π, then δ(Bi,Um)(k-1)=θ(Bi,Um)(k-1)-α(Bi,Um)(k-1);
(
b
) if θ(Bi,Um)(k-2)<π,θ(Bi,Um)(k-1)≥π, then δ(Bi,Um)(k-1)=2π-θ(Bi,Um)(k-1)+α(Bi,Um)(k-1);
(
c
) if θ(Bi,Um)(k-2)≥π,θ(Bi,Um)(k-1)<π, then δ(Bi,Um)(k-1)=θ(Bi,Um)(k-1)+α(Bi,Um)(k-1);
(
d
) else if θ(Bi,Um)(k-2)≥π,θ(Bi,Um)(k-1)≥π, then δ(Bi,Um)(k-1)=2π-θ(Bi,Um)(k-1)-α(Bi,Um)(k-1). Moreover, the computation of α(Bi,Um)(k-1) can be given as αBi,Um(k-1) = arccos⁡((dBi,Um(i,k-1)2+dBi,Um(k-2,k-1)2dBi,Um(i,k-2)2)/(2·dBi,Umi,k-1·dBi,Um(k-2,k-1))). Therefore,(2)dBi,Umi,k=dBi,Umk-1,k2+dBi,Umi,k-12-2·dBi,Umk-1,k·dBi,Umi,k-1·cos⁡δBi,Umk-11/2.Figure 7
Computation of interior angle (k>3).
(a)
θ
B
i
,
U
m
k
-
2
<
π
,
θ
B
i
,
U
m
(
k
-
1
)
<
π
(b)
θ
B
i
,
U
m
k
-
2
<
π
,
θ
B
i
,
U
m
(
k
-
1
)
≥
π
(c)
θ
B
i
,
U
m
k
-
2
≥
π
,
θ
B
i
,
U
m
(
k
-
1
)
<
π
(d)
θ
B
i
,
U
m
k
-
2
≥
π
,
θ
B
i
,
U
m
(
k
-
1
)
≥
πStep 6.
Trilateration method is applied to locate the unknown node.
The execution flowchart of MFLA is given as Figure8.Figure 8
Flowchart of MFLA.


## 4. Mathematical Analysis

### 4.1. Distance Error

Firstly, assume that the real distance between nodeIk-1 and node Ik within one hop is d(Bi,Um)(k-1,k) and the estimated distance is d′(Bi,Um)(k-1,k). This error can be considered as a result of underwater acoustic transmission, and larger distance will lead to a larger error. Thus, Δd(Bi,Um)(k-1,k) is linearly correlated with d(Bi,Um)(k-1,k) approximately. A factor variable ɛ(ɛ∈(-1,1)) is introduced to analyze a deviation distance Δd(Bi,Um)(k-1,k), and there are Δd(Bi,Um)(k-1,k)=|d(Bi,Um)(k-1,k)-d′(Bi,Um)(k-1,k)| and Δd(Bi,Um)(k-1,k)=ɛ·d(Bi,Um)(k-1,k). So one can get(3)d′Bi,Umk-1,k=1+ɛ·dBi,Umk-1,k.


### 4.2. Multihops Fitting Error

The fitting error should also be discussed from the following cases.Case 1.
Whenk=2, d′(Bi,Um)(1,2) is apparently expressed as(4)d′Bi,Um1,2=1+ɛ·dBi,Um1,2.Case 2.
Whenk=3,(5)d′Bi,Um1,3=1+ɛ·dBi,Um1,22+dBi,Um2,32-2·dBi,Um1,2·dBi,Um2,3·cos⁡θBi,Um21/2.
Becauseπ/3≤θ(Bi,Um)(2)≤π, therefore -1≤cosθ(Bi,Um)(2)≤1/2.
Furthermore, there is-d(Bi,Um)(1,2)d(Bi,Um)(2,3)≤-2d(Bi,Um)(1,2)d(Bi,Um)(2,3)cosθ(Bi,Um)(2)≤2d(Bi,Um)(1,2)d(Bi,Um)(2,3); then obviously there is (6)dBi,Um1,2dBi,Um2,31/2≤dBi,Um1,22+dBi,Um2,32-2dBi,Um1,2dBi,Um2,3cos⁡θBi,Um21/2≤dBi,Um1,2+dBi,Um2,3.Therefore,(7)1+ɛ·dBi,Um1,22+dBi,Um2,32-dBi,Um1,2·dBi,Um2,31/2≤d′Bi,Um1,3≤1+ɛ·dBi,Um1,2+dBi,Um2,3.Case 3.
Whenk=4, the first recursion is (8)d′Bi,Um1,4=1+ɛ2·dBi,Um3,42+d′Bi,Um1,32-21+ɛ·dBi,Um3,4·d′Bi,Um1,3·cos⁡δBi,Um31/2.Because the following inequality certainly holds, (9)-1≤cos⁡δBi,Um3≤121+ɛ·dBi,Um1,22+dBi,Um2,32-dBi,Um1,2dBi,Um2,31/2≤d′Bi,Um1,3≤1+ɛ·dBi,Um1,2+dBi,Um2,3,which derives(10)1+ɛ·dBi,Um1,22+dBi,Um2,32+dBi,Um3,42-dBi,Um1,2·dBi,Um2,3-dBi,Um1,2·dBi,Um3,4-dBi,Um2,3·dBi,Um3,41/2≤d′Bi,Um1,4≤1+ɛ·dBi,Um1,2+dBi,Um2,3+dBi,Um3,4.Case 4.
Whenk=κ>4, then the kth recursion(11)1+ɛ·∑k=2κdBi,Umk-1,k2-dBi,Umm-1,m·∑k=2κdBi,Umk-1,k1/2≤d′Bi,Um1,κ≤1+ɛ·∑k=2κdBi,Umk-1,k,where m∈[k+1,κ].


### 4.3. Localization Error

Trilateration is the most common approach for getting a coordinate. Suppose three beacon nodes are(x1a,y1a,z1a),(x2a,y2a,z2a),(x3a,y3a,z3a). A real coordinate of one unknown node is marked as (xk,yk,zk), and its estimated coordinate is (xk′,yk′,zk′). As mentioned in Section 4.2, the distances of fitting straight lines from the unknown node to three beacon nodes are denoted as d1′(Bi,Um)(i,k),d2′(Bi,Um)(i,k),d3′(Bi,Um)(i,k). Then, because the Z coordinate can be got by underwater pressure directly, we can obtain a group of mathematic relationships by using trilateration method: (12)xk′-x1a2+yk′-y1a2=d1′Bi,Umi,k2,xk′-x2a2+yk′-y2a2=d2′Bi,Umi,k2,xk′-x3a2+yk′-y3a2=d3′Bi,Umi,k2,which can be derived as (13)xk′=x1a2+y1a2-d1′Bi,Umi,k2·y2a-y3a-x2a2-y2a2-d2′Bi,Umi,k2·y1a-y3a+x3a2+y3a2-d3′Bi,Umi,k2·y1a-y2a2x1a-x3a·y1a-y3a-x2a-x3a·y1a-y3a,yk′=x1a2+y1a2-d1′Bi,Umi,k2·x2a-x3a-x2a2+y2a2-d2′Bi,Umi,k2·x1a-x3a+x3a2+y3a2-d3′Bi,Umi,k2·x1a-x2a2y1a-y3a·x1a-x3a-y2a-y3a·x1a-x3a.


## 4.1. Distance Error

Firstly, assume that the real distance between nodeIk-1 and node Ik within one hop is d(Bi,Um)(k-1,k) and the estimated distance is d′(Bi,Um)(k-1,k). This error can be considered as a result of underwater acoustic transmission, and larger distance will lead to a larger error. Thus, Δd(Bi,Um)(k-1,k) is linearly correlated with d(Bi,Um)(k-1,k) approximately. A factor variable ɛ(ɛ∈(-1,1)) is introduced to analyze a deviation distance Δd(Bi,Um)(k-1,k), and there are Δd(Bi,Um)(k-1,k)=|d(Bi,Um)(k-1,k)-d′(Bi,Um)(k-1,k)| and Δd(Bi,Um)(k-1,k)=ɛ·d(Bi,Um)(k-1,k). So one can get(3)d′Bi,Umk-1,k=1+ɛ·dBi,Umk-1,k.


## 4.2. Multihops Fitting Error

The fitting error should also be discussed from the following cases.Case 1.
Whenk=2, d′(Bi,Um)(1,2) is apparently expressed as(4)d′Bi,Um1,2=1+ɛ·dBi,Um1,2.Case 2.
Whenk=3,(5)d′Bi,Um1,3=1+ɛ·dBi,Um1,22+dBi,Um2,32-2·dBi,Um1,2·dBi,Um2,3·cos⁡θBi,Um21/2.
Becauseπ/3≤θ(Bi,Um)(2)≤π, therefore -1≤cosθ(Bi,Um)(2)≤1/2.
Furthermore, there is-d(Bi,Um)(1,2)d(Bi,Um)(2,3)≤-2d(Bi,Um)(1,2)d(Bi,Um)(2,3)cosθ(Bi,Um)(2)≤2d(Bi,Um)(1,2)d(Bi,Um)(2,3); then obviously there is (6)dBi,Um1,2dBi,Um2,31/2≤dBi,Um1,22+dBi,Um2,32-2dBi,Um1,2dBi,Um2,3cos⁡θBi,Um21/2≤dBi,Um1,2+dBi,Um2,3.Therefore,(7)1+ɛ·dBi,Um1,22+dBi,Um2,32-dBi,Um1,2·dBi,Um2,31/2≤d′Bi,Um1,3≤1+ɛ·dBi,Um1,2+dBi,Um2,3.Case 3.
Whenk=4, the first recursion is (8)d′Bi,Um1,4=1+ɛ2·dBi,Um3,42+d′Bi,Um1,32-21+ɛ·dBi,Um3,4·d′Bi,Um1,3·cos⁡δBi,Um31/2.Because the following inequality certainly holds, (9)-1≤cos⁡δBi,Um3≤121+ɛ·dBi,Um1,22+dBi,Um2,32-dBi,Um1,2dBi,Um2,31/2≤d′Bi,Um1,3≤1+ɛ·dBi,Um1,2+dBi,Um2,3,which derives(10)1+ɛ·dBi,Um1,22+dBi,Um2,32+dBi,Um3,42-dBi,Um1,2·dBi,Um2,3-dBi,Um1,2·dBi,Um3,4-dBi,Um2,3·dBi,Um3,41/2≤d′Bi,Um1,4≤1+ɛ·dBi,Um1,2+dBi,Um2,3+dBi,Um3,4.Case 4.
Whenk=κ>4, then the kth recursion(11)1+ɛ·∑k=2κdBi,Umk-1,k2-dBi,Umm-1,m·∑k=2κdBi,Umk-1,k1/2≤d′Bi,Um1,κ≤1+ɛ·∑k=2κdBi,Umk-1,k,where m∈[k+1,κ].


## 4.3. Localization Error

Trilateration is the most common approach for getting a coordinate. Suppose three beacon nodes are(x1a,y1a,z1a),(x2a,y2a,z2a),(x3a,y3a,z3a). A real coordinate of one unknown node is marked as (xk,yk,zk), and its estimated coordinate is (xk′,yk′,zk′). As mentioned in Section 4.2, the distances of fitting straight lines from the unknown node to three beacon nodes are denoted as d1′(Bi,Um)(i,k),d2′(Bi,Um)(i,k),d3′(Bi,Um)(i,k). Then, because the Z coordinate can be got by underwater pressure directly, we can obtain a group of mathematic relationships by using trilateration method: (12)xk′-x1a2+yk′-y1a2=d1′Bi,Umi,k2,xk′-x2a2+yk′-y2a2=d2′Bi,Umi,k2,xk′-x3a2+yk′-y3a2=d3′Bi,Umi,k2,which can be derived as (13)xk′=x1a2+y1a2-d1′Bi,Umi,k2·y2a-y3a-x2a2-y2a2-d2′Bi,Umi,k2·y1a-y3a+x3a2+y3a2-d3′Bi,Umi,k2·y1a-y2a2x1a-x3a·y1a-y3a-x2a-x3a·y1a-y3a,yk′=x1a2+y1a2-d1′Bi,Umi,k2·x2a-x3a-x2a2+y2a2-d2′Bi,Umi,k2·x1a-x3a+x3a2+y3a2-d3′Bi,Umi,k2·x1a-x2a2y1a-y3a·x1a-x3a-y2a-y3a·x1a-x3a.


## 5. Simulations

MFLA is evaluated by observing the performance (localization error) variation when adopting different model parameters (such as the number of nodes, the number of beacons, and value ofɛ). Table 2 shows the values of parameters, which will be adopted for simulations unless otherwise specified. The localization error is calculated as follows:(14)error=∑k=1mxk-xk′2+yk-yk′2m·L2+W2.Table 2
Simulation parameters.
Parameter
Description
Value
D
Deployment space
100 m × 100 m × 100 m
m
Number of unknown nodes
100
n
Number of beacon nodes
10
R
C
m
a
x
Maximum communication radius
10 m
t
Water temperature
20°C
σ
Water salinity
3.5%
ε
Error factor
0.1


### 5.1. Impact of Multihops Fitting

Figure9 illustrates the impact of multihops fitting on localization error. MFLA adopts multihops fitting method, and it is obvious that the plot with fitting is much lower than the one without fitting. This is because distance in localization without fitting is obtained via calculating the distance summation of multihops simply, and so localization error is greatly influenced by distribution of intermediate nodes, especially when routing path is serrated. The localization error is largely determined by distance error, and distance error will be reduced after multiple curves fitting; thus localization error is observably decreased. Moreover, the error of algorithm without fitting gradually becomes small with the increase of node quantity. This mechanism is attributed to the fact that when node deployment is more dense the multihop paths will be more inclined to appear as a straight line; hence the plot is more stable. With regard to the plot with fitting, straight distance is derived by multihops’ recursive fitting, so localization error has little relation with node quantity. In Figure 10, the error variances of two methods are provided. the plot of algorithm without fitting has a larger variance than the other because the distances by fitting are more close to real ranges.Figure 9
Error comparison of MFLA and trilateration.Figure 10
Variance comparison of MFLA and trilateration.


### 5.2. Impacts of the Number of Nodes and Error Factor

As shown in Figure11(a), it is distinct that localization error is diminishing with the growth of beacon nodes from 6 to 12. Besides, as the number of unknown beacons grows, the localization error is also decreasing generally. This phenomenon reflects that MFLA is scalable with the number of nodes. In addition, it is found that the reduction of localization error is not linear to the increase of unknown nodes, which is also reflected in Figure 11(b). The reason is that the probability of unknown nodes’ neighboring beacons less than 3 is also reduced; thus the effect of fitting is weakened and localization accuracy is raising up accordingly. In Figure 12, localization error is observed when error factor ɛ is changing from 0.02 to 0.12. It shows the plot of larger ɛ is higher than others, which tallies with the conclusion of theoretical analysis.Figure 11
Localization error of MFLA versusm and n.
(a)
Localization error versusm
(b)
Localization error versusnFigure 12
Localization error of MFLA versusɛ.In Figures13 and 14, three observations are made: (a) error variance decreases with the increase of m. This mechanism is attributed to the fact that more unknown nodes are beneficial to the multihops fittings, and more accurate distances will be achieved; (b) larger n gives rise to smaller error variance because more suitable beacons for localization can be found when more beacons exist in UWSNs; (c) when error factor ɛ becomes larger it is obvious that variance grows up as well.Figure 13
Error variance versusm and n.Figure 14
Error variance versusɛ.


### 5.3. Comparisons

To make more comparisons, we compare MFLA with other algorithms (DV-Hop, trilateration, and Centroid). From Figure15, MFLA outperforms other algorithms in terms of localization error. The reason is that MFLA adopts multihops fitting for distance estimation; thus coordinates of unknown nodes are calculated more precisely when neighboring beacons are less than 3.Figure 15
Comparisons of different algorithms.


## 5.1. Impact of Multihops Fitting

Figure9 illustrates the impact of multihops fitting on localization error. MFLA adopts multihops fitting method, and it is obvious that the plot with fitting is much lower than the one without fitting. This is because distance in localization without fitting is obtained via calculating the distance summation of multihops simply, and so localization error is greatly influenced by distribution of intermediate nodes, especially when routing path is serrated. The localization error is largely determined by distance error, and distance error will be reduced after multiple curves fitting; thus localization error is observably decreased. Moreover, the error of algorithm without fitting gradually becomes small with the increase of node quantity. This mechanism is attributed to the fact that when node deployment is more dense the multihop paths will be more inclined to appear as a straight line; hence the plot is more stable. With regard to the plot with fitting, straight distance is derived by multihops’ recursive fitting, so localization error has little relation with node quantity. In Figure 10, the error variances of two methods are provided. the plot of algorithm without fitting has a larger variance than the other because the distances by fitting are more close to real ranges.Figure 9
Error comparison of MFLA and trilateration.Figure 10
Variance comparison of MFLA and trilateration.


## 5.2. Impacts of the Number of Nodes and Error Factor

As shown in Figure11(a), it is distinct that localization error is diminishing with the growth of beacon nodes from 6 to 12. Besides, as the number of unknown beacons grows, the localization error is also decreasing generally. This phenomenon reflects that MFLA is scalable with the number of nodes. In addition, it is found that the reduction of localization error is not linear to the increase of unknown nodes, which is also reflected in Figure 11(b). The reason is that the probability of unknown nodes’ neighboring beacons less than 3 is also reduced; thus the effect of fitting is weakened and localization accuracy is raising up accordingly. In Figure 12, localization error is observed when error factor ɛ is changing from 0.02 to 0.12. It shows the plot of larger ɛ is higher than others, which tallies with the conclusion of theoretical analysis.Figure 11
Localization error of MFLA versusm and n.
(a)
Localization error versusm
(b)
Localization error versusnFigure 12
Localization error of MFLA versusɛ.In Figures13 and 14, three observations are made: (a) error variance decreases with the increase of m. This mechanism is attributed to the fact that more unknown nodes are beneficial to the multihops fittings, and more accurate distances will be achieved; (b) larger n gives rise to smaller error variance because more suitable beacons for localization can be found when more beacons exist in UWSNs; (c) when error factor ɛ becomes larger it is obvious that variance grows up as well.Figure 13
Error variance versusm and n.Figure 14
Error variance versusɛ.


## 5.3. Comparisons

To make more comparisons, we compare MFLA with other algorithms (DV-Hop, trilateration, and Centroid). From Figure15, MFLA outperforms other algorithms in terms of localization error. The reason is that MFLA adopts multihops fitting for distance estimation; thus coordinates of unknown nodes are calculated more precisely when neighboring beacons are less than 3.Figure 15
Comparisons of different algorithms.


## 6. Conclusions

In this paper a multihops localization algorithm for underwater sensor networks is proposed to provide localization for isolated unknown nodes. The mathematical analysis and simulations are carried out, which indicate that MFLA can improve the positioning accuracy of nodes in severe environments efficiently.



---

*Source: 682182-2015-07-01.xml*