You are on page 1of 5

Proceedings of the 2007 International Conference on Information Acquisition

July 9-11, 2007, Jeju City, Korea

An Auto-adaptive Routing algorithm for Wireless Sensor


Networks*
Wanming Chen 1,2, Tao Meil, Yangming Li" 2, Huawei Liang', Yumei Liu3 and Max Q.-H. Meng'
'Institute ofIntelligent Machines 3Department of Computer Science and Technology
Chinese Academy of Science
2Department of Automation University of Science and Technology of China
University of Science and Technology of China
Hefei, Anhui Province, China Hefei, Anhui Province, China
{wmchen, tmei, hwliang,qhmeng}giim.ac.cn piaoliugmail.ustc.edu.cn

Abstract - Considering on the insufficiency of using different communication of nodes and the nodes' residual energy, it
routing algorithms for different applications, we proposed reduced the network's energy consumption. On the
an auto-adaptive routing algorithm for wireless sensor applications of object tracking and calamity succouring, it is
networks. It firstly proposed two different routing methods very important to using routing protocol which is based on
using for the sensor node's localization and the for the verypimporta ongTherui pRotocolawhichi asd on
object's localization respectively. When we had obtained the
nodes' positions through some localization algorithms, it
georaphynpositin. GEA (Graph andengy
aware routing) routing[3] and GEM(Graph Embedding)[4]
used an energy aware geography position based routing routing agrh as rethe classical ones between them. Onthe
method for the object's information acquisition. In order to applications such as environment detection where it needs to
satisfy this application, it designed an auto-adaptive routing query the sensor nodes' data, it is good for routing protocol
mechanism facilitate the use of the two or more routing which is based on querying. DD(Directed diffusion) algorithm
methods. It has been shown that the routing algorithm has a is a routing mechanism focused on nodes' data and based on
high performance in getting a shorter path routing or querying. The DD algorithm is deemed to a landmark of
energy balanced routing by adjusting of its parameters. routing algorithm in wireless sensor networks. And many
routing algorithms for wireless sensor networks are proposed
Into-adeptier algorithm
auto-adaptive Wirs s rn on the foundation of it presently [5][6]. The sink node sent
query tasks through the interest message, and transmitted them
I. INTRODUCTION in the wireless sensor network by flooding. In the process of
interest message transmitting, the DD algorithm built a data
transmitting gradient for each sensor node from the data
The wireless sensor network is a burgeoning and high source node to the sink node. And then the data source node
potential network system. It consists of a lot of sensor nodes carried the gathering data to the sink node in the direction of
and wireless communication device. It has a lot of application the data gradient [7].
foreground on the military affairs, environment detection, These routing algorithms for wireless sensor networks
medical treatment, home nursing, and other commercial realm referred above are just fit for some special applications. When
[1]. The network's routing mechanism is on duty of the application demands change, the routing algorithm needs
transmitting information from one sensor node to another to change correspondingly. And in a lot of instances, we must
through the network. It is the foundation to achieve a high change the routing demand of wireless sensor networks to
efficient communication for wireless sensor networks. accomplish a certain task. This makes these routing algorithms
The wireless sensor network is an application interrelated much limited and highly unwieldy for use. Let's takes the
network. Aiming at the different demand on application, some object tracking application in wireless sensor networks for
authors inside and outside of our country have designed many example. At beginning, the sensor nodes need to use
routing algorithms for wireless sensor networks. In order to localization algorithm to obtain each node's position in
use the limited energy of the wireless sensor network wireless sensor networks. In the process of localization, they
effectively, Rahul C. Shah et al. proposed an energy aware need to communication mutually and transmit data for each
routing for low energy ad hoc sensor networks [2]. By the other. At this time it needs a routing algorithm to achieve the
integrative consideration of energy consumption on localization task. By all appearances, it is not feasible to using

*Supposed by Key Program of the National Natural Science Foundation of China under Grant No. 60535010; the National
Natural Science Foundation of China under Grant No. 60475027.

l1-4244-1l220-X/07/$25.OO ©C2007 IEEE 574


those routing algorithms based on node's geography position, broadcast their position coordinates information to the entire
because it has not gotten each node's position. It can use wireless sensor network. The 3rd instance: in the process of
flooding routing or the restricted flooding routing algorithms localization, it is most likely that sensor nodes need to
at that time. Because the flooding routing consumes a lot of exchange localization related data with the nodes several hops
network's energy, we'd better not use it when the network's away. There required a routing method in all of the three
localization process has finished. When it began to track the instances above to guarantee that the sensor nodes in the
object, it is much appropriate to use routing algorithm based network finish the data exchanging. When sensor nodes don't
on node's geography position. In one word, it needs more than have their neighbors' information, it's a common method to
one routing algorithms for each application such as object use flooding or restricted flooding routing in wireless sensor
tracking in a lot of applications. We need to design an auto- networks. Some authors have pay attention to the flooding
adaptive routing mechanism for these applications. Using the routing [8][9], but not to the routing for node's localization.
auto-adaptive routing mechanism, we need not care about The restricted flooding routing method for node's
when to change routing algorithm and which to change. We localization is as follows:
just transfer the routing mechanism and the routing If a node wants to communicate with other nodes, it will
mechanism will choose an appropriate routing protocol to use broadcast a message to all its neighbors. The message includes
automatically. the content which it wants to communicate with others, and a
Summarizing the above analysis, we designed a new auto- Lift Value (LV). If other nodes received the message and the
adaptive routing algorithm for wireless sensor networks. To LV>O, it will subtract 1 from LV (LV=LV-1) and transmit the
achieve the demand for some application such as object message to its other neighbors. If the LV=O, the nodes will
localization, we use a uniform routing algorithm interface for just receive it and not transmit it.
the routing in wireless sensor networks and the routing In order to fit for the three instances talked above, the LV
algorithm will choose an appropriate routing method can be set in the three values initially.
automatically for different situations. In the paper, on the When a sensor node just wants to communicate with its
background application of object localization in wireless neighbors, it will set the LV with 0 (LV=O). The neighbors
sensor networks, we proposed the two routing methods will receive the message but not transmit it.
needing for nodes' localization and the object localization When a beacon node wants to broadcast it information to
separately, and designed an auto-adaptive routing algorithm to the entire network, it will set the LV with equal or more than
manage the different routing method for different instance. the maximal hop from itself to the entire network. If it doesn't
This paper is organized as follows. Section 2 describes the two know the maximal hop, it can first set with INF.
routing methods for sensor nodes' and the object's When a node wants to communicate with the n hop of
localization. And then designs the new auto-adaptive routing neighbors to get the localization information, it can set the LV
selecting mechanism. Section 3 analyzes the experiment for with n.
the proposed routing algorithm and Section 4 gives the From this way, the routing method can effectively prevent
conclusion. the message from been transmit infinitely in the network.
II. A NEW AUTO-ADAPTIVE ROUTING SELECTING MECHANISM
FORNODE'S AND OBJECT'S LOCALIZATION B. A Routing Method Based on Node's Geography
Position(RGP)
In this section, we first proposed two routing methods for When the positions of the wireless sensor network's nodes
wireless sensor network's nodes and for object's localization have been obtained, a first idea is that let the nodes route along
respectively. And then, we combine these two or more routing the minimal distance between the nodes and the target node.
methods, and design a new auto-adaptive routing selecting However, it has some disadvantages. Because the energy of
mechanism for the application of object's localization. node is limited, if a certain node was used time and time
again, it would die and may bring a transmitting hole for the
network. Therefore, we considered node's energy with the
routing path and importantly, we joined probability into the
First, let's analyze the process of sensor node's routing algorithm and made node selecting limitedly random
localization for routing. When the sensor nodes in wireless within the combining of shorter path and balanced energy.
sensor networks began to localize their geography position, This method is something similar with the Ant Colony
the three instances would occur. The 1st instance: for each Optimization Algorithm. At the time of t, /ik(t) denotes the
blind node (who does not know its own position coordinates), pheromone, 1k (t) denotes the energy of the node k, and
it mainly need to obtain the distance measured from its
neighbor sensor nodes and get the position coordinates pi (t)istheprobabilityofnodeiselectingnode]forthenext
information of the beacon nodes( who knows its position hop (x y denotesthepositionofnode i
coordinates). After that it may have the ability to calculate its .I
position coordinates by localization algorithms. The 2nd When we obtain the nodes' positions, we can calculate the
instance: for the beacon nodes, in order to make eachlnd ditne rmechnd o h ageaoe
node use their position information, they mainly need to

575
If u>4, the sensor nodes are inclined to choose the path
Dist yt)2
(x1Dis- At ) + yi -Yt which have been routed to transmit data.
At beginning, for each node i, it got its neighbours' Else if o<j, the sensor nodes are inclined to choose a path
distance information and calculated the pheromone ,U on which the node's energy is relatively high.
IJ Parameter c assists to changes the probability of each
between the node i and its each neighborj. path. For example, if c= 1, it doesn't select the minimal /,uk (t)
,j(0) =D1i-sjt node for routing and the maximal ,uk (t) node has a larger
(1)
E Diskt probability to be selected.
ke neighbor(i) When it had actually select node j for the next hop, the
Start for routing pheromone ,. between the node i and its each neighbor j
______________________________ would be updated.
Obtain neighbour nodes' (3)
positions, residual energy and Where the Au is the parameter for li 's updating.
lAl>(t) The routing flow ofthe proposed method is in Fig. 1.

Calculate and choose the next C. A New Auto-adaptive Routing Selecting Mechanism
hop The above two routing methods are used for sensor nodes'
localization and then object's localization respectively. But for
increase the /'k object's localization we need to first localize the sensor nodes
(electedrout)ng nofde and then the object. That is, in this application, we need the
both two routing methods. Therefore, we need a new auto-
adaptive routing selecting mechanism to facilitate the use of
the two or more routing methods.
Thenode's enery I

is under the Wi oil1wu bt i> t ol ig


thrPchnIr6 NO ti&fods
ES h

Notify its neighbour its


residual energy Th& bo . Th& bod
_,~~
~ ~ ~ ~ ~ ~~~~oORFR ,;D 6f RGP
| mc~~~~~~~~~~~~~ffi&thd
IC ) ffiedt6
I Transmit Data Iw\

|II Ia The Data poi in ffie node6


NO Fig.2 The architecture of the proposed routing mechanism
Isdination? The architecture of the routing algorithm is shown in
Fig.2. The sensor node collects data information such as
+YES YES
position and energy in the Data pool. The arbitrator uses
End for one data Information collecting mechanism to get the interested
Fig. 1 The flow chart or the routing
it in
method based on node's position information from the pool. If he gets the position information
Irri ri

of the node's neighbors, he thinks that he can use the RGP


When the initial f,U (0) had been obtained, at the time t, routing method to get the next hop. If the node is a beacon
node i would select neighbor node j for the next hop at the node and wants to broadcast its position data, the arbitrator
will select the RFR routing method to broadcast. In this
probabilityJof
(t).~ situation, the users can just tell the arbitrator through the
interface that they need a routing method; the arbitrator will
p, (t) = ~[/j (t) - [7i c.min(7k (t))]8
c.min(A,k (t))] a - select a routing method for them automatically.
, [dk (t) c.min(Aik (t))]a - Cmin(7k (t))]?
- III. SIMULATION RESULTS AND DISCUSSION
keneighbor(i)
(2) We deploy 200 sensor nodes randomly in a two-
.<<
0. 0 .c
.1.p~(t)
.pjt is the probability to dimensional space, which is 160m*160m. The object is at
Where a, f30
choose node j for routing.
to coordinates (160,160) and the sink node is at coordinates
(0,0). The communication range is 40 meters. Assume that the

576
power consumption for sending data is 666mw and for When o=O, the algorithm just take the energy into account.
receiving data is 395mw. The initial energy for all nodes is the It will more likely to select the node whose energy is larger for
same, which is OOOJ. The object sends 2 packets per second the next hop. As is shown in Fig 5, the energy of node is
(2p/s). Each packet is same in size, which is 64K bytes. The similar with each other. It will not happen that some nodes is
transmitting rate is 1.6Mb/s.Al=0.2, and c=1. The simulation out of energy prematurely and make the wireless sensor
time is lOOOs. network die unexpectedly.
Because the first routing method (The Restricted
Flooding) is very simple, we don't want to pay more attention 7 -
on its simulation. Assuming we have got the position , -
information for each node after a certain localization - I-
algorithm, we simulate the performance of the routing method / / -
based on Node's Geography Position. ,
Because the sensor nodes just have a limited energy and c 800 , ,/.
may not change battery after been deployed for a certain 600 /1 // I
application, the nodes' energy is very importance for wireless E // /
sensor networks. Therefore, we compare the energy c 400 / / /
consumption with the other routing algorithm such as DD ° 200
algorithm. 0 16 (D
0/
' /0 g/ 100~~~~~~ 0<,X
20
*eor Avrage dissipated energy for DD algorih 5
cD
D
0.16
0.1
Average dissipated energy for our algorithm 100

50 AX

7
a
0.14
~~~~~~~~~~~~~~~~~~~~~~y 0

cm lFig.4. Distributing of energy consumption in wireless sensor networks when


e) 0.12 c=2, ,=O (T=lOOOs)
-~0.1
a) 0 r I

() 0.06
03) 024 -- i

>0 258-i,

Time (s) o 25I ' ~


Fig.3 Comparison ofthe Proposed Algorithm with DD algorithm 22',,- : 0;. -: >' --
E) 256- ,- .,--- /s1
In figure 3, we obtain data information per 20s. And in DD tL 150 ' ','
algorithm, it re-initializes the routing algorithm per 60s. 10
Because in our algorithm, we use the probability (in 50 50
formula 2) to select the next hop and don't need to re-initialize X
the routing, the average energy consumption is smaller than
DD. Fig.5 Distributing of energy consumption in wireless sensor networks when
We then compare the algorithm with different parameter. >c=o ,B2 (T=lOOOs)
When we use oc=2 f30 and uoc= f32, the energy consumption
is shown is Fig. 4 and 5. IV. CONCLUSIONS
As is shown in formula 2, when f30, the algorithm doesn't In this paper, we proposed an auto-adaptive routing
take the energy of nodes into account. It will more likely to algorithm for wireless sensor networks. It can automatically
select the node whose ,Ujis bigger for the next hop. Because select different routing methods according to the different
demands. It facilitates the use of routing methods on different
the U(0) iS correlatlve with the distance from the node to the
sink node (in formula 1), it the node of smaller path routing and the energy balanced routing.
distance to route. Therefore, the algorithm will select the
minimal distance path (which is correlative) for routing. The REFERENCES
result is shown in Fig. 4. But in this situation, the sensor nodes [1] I. F. Akyildiz, W. Su, Y. Sankarasubramanian, ECayirci, A survey on
in correlative will go out of energy after a while and the sensor sensor networks. IEEE Communications Magazine, 2002, 40(8): 102-
network may not be able to transmit data. The network will [2]c114.
[2] Shah R C, Rabaey J M. Energy aware routing for low energy ad hoc
dle. sensor networks. In: Proc IEEE Wireless Communications and
Networking Conference(WCNC'02), IEEE, Volume 1,17-21 March, 2002

577
[3] Yu Y, Govindan R, Estrin D. Geographical and energy aware routing: A
recursive data dissemination protocol for wireless sensor networks.
UCLA Computer Science Department Technical Report UCLA/CSD-TR-
01-0023, May 2001
[4] Newsome J, Song D. GEM: Graph Embedding for routing and data-
centric storage in sensor networks without geographic information. In:
Proc 1 st ACM Conf on Embedded Networked Sensor Systems, Redwood,
CA. November 2003.
[5] K. Akkaya, M. Younis, A Survey on Routing Protocols for Wireless
Sensor Networks[J].Ad Hoc Networks. 2005, 3(3): 325-349.
[6] Haibin Yu, peng Zheng, Intellegent wireless sensor networks, Sciencep
Press, 2006.1, 124-125
[7] C. Intanagonwiwat, R. Govindan and D. Estrin, Directed diffusion: A
scalable and robust communication paradigm for sensor networks, in the
Proceedings of the 6th Annual ACM/IEEE International Conference on
Mobile Computing and Networking (MobiCom'00), Boston, MA, August
2000. 56-67.
[8] Ying Zhang and Markus Fromherz, Constrained Flooding: A Robust and
Efficient Routing Framework for Wireless Sensor Networks, Proceedings
of the 20th International Conference on Advanced Information
Networking and Applications (AINA'06), 2006
[9] Huai Wu,Zhi Ren and Wei Guo, A MPR-flooding-based On-demand
Routing Algorithm in Wireless Sensor Networks, Proceedings of the 2006
IEEE International Conference on Mechatronics and Automation,
Luoyang, China, June 25 - 28, 2006, p1937-1941

578

You might also like