Professional Documents
Culture Documents
University, Chennai, Tamil Nadu, India. Dec. 20-22, 2007. pp. 908-915.
Abstrast A Wireless Sensor Network (WSN) consists of a large number of randomly deployed sensor nodes. These sensor nodes organize themseleves into a cooperative network and perform the three basic functions of sensing, computations and communications.This paper proposes a at-routing technique for such a network consisting of homogenous nodes. It is an energy-efcient data gathering protocol where sensor nodes in the network form an Antchain. The role of Antchain head and Antchain tail for each data gathering process is scheduled by means of a Time Division Multiple Access technique which ensures uniform depletion of energy among sensor nodes. The real advantage comes to light in the event of the death of a node. The proposed algorithm heals the network in such a way that only one node communicates with the base station at the end of the data gathering process. Simulation results indicate that Self-Healing AntChain performs better than other AntChain systems in terms of network lifetime, average energy consumed and aggregated data delivery ratio, in addition to being a highly fault-tolerant, exible and adaptive system. KeywordsWireless Sensor Network, aggregated data delivery ratio, energy efciency, network lifetime, antchain.
cm in diameter and 1 cm in thickness) [1]. Of the three domains of sensing, computation and communications, a sensor node expends maximum energy in data communications, which involve both data transmission and reception. Hence it becomes important to minimize power consumption for communications in order to have improved performance and hence to increase the lifespan of the network. Sensor nodes are deployed by aerial scattering within the target sensing area. Their absolute position can be determined using a Global Positioning System. WSNs are now being applied to environmental applications like forest-re and ood detection, health applications with bio-sensors implanted in the human body, homeautomation and smart environments. The other applications include environmental control, military applications such as battleeld surveillance, nuclear, biological and chemical attack detection and reconnaissance, motion-monitoring which can be used to detect worn out parts in machines, motors, airplane wings and bridges. WSNs are subjected to resource contraints such as energy, bandwidth, memory and processing ability. Among them, energy is of prime concern since it is severely constrained at the sensor nodes and there is no way it can be replenished because of the sensors being usually deployed in hostile environments. The lifespan of the sensor nodes can be increased by saving the energy consumption of the network. Efcient routing techniques are employed to maximize the lifespan of the sensors by reducing the number of messages in transit and hence the total transmission cost. In the event of a dead node, the network is healed and the ow of messages is continued. The nodes close to the base station (BS) will be depleted of their energy at a faster rate than other sensors because the nearer the sensor is to the BS, the more information it will relay. This is referred to as unbalanced energy consumption problem. Designing algorithms to overcome this problem is a major challenge in WSN. In this paper, we present energy-efcient at-routing algorithms to improve the lifespan of the WSN. The
I. INTRODUCTION A Wireless Sensor Network consists of a large number of ramdomly deployed sensor nodes. Several hundreds to thousands of nodes within tens of feet of each other are deployed throughout the sensor eld. The node densities may be as high as 20 nodes/m3 . These battery powered tiny sensor nodes possess computing, sensing and communicating capabilities. The sensor node components need to t into a matchbox-sized module. The required size may be smaller than even a cubic-centimeter, which is light enough to remain suspended in the air . Sensor nodes are low cost, estimated to be less than a dollar, consume low power (0.5Ah, 1.2V) and operate unattended. The total energy of the sensor node is in the order of 1J. The total average supply currents of the system must be less than 30A to provide a long operating life. Sensor nodes are powered from Lithium coin cells (2.5
908
II. RELATED WORK San et al. [2], propose a novel population-based algorithm which was originally designed as an analytical tool. To prove the advantage of their work, they have demostrated the MAX-MIN Ant System as a function of time in two well-known travelling salesman problems. A power efcient algorithm for computing 1-D Fast Fourier Transform over single and multi-hop WSNs is proposed in [3]. This algorithm reduces the number of transmissions, eliminates typical redundant computations in a distributed environment and uniformly maps complex multiplications over all the sensor nodes by introducing an extra bit-complement permutation stage after the rst (log2 N )/2 iterations. The impact of overhearing transmissions on total energy costs data gathering and dissemination is investigated in [4]. An attempt is made to systematically minimize the total energy cost in the network. The minimum energy data gathering technique is modeled as a directed minimum energy spanning tree. Simulation results through augmented cost metric indicate a 10 times increase in energy efciency, without additional hardware and with minimal additional complexity. A routing protocol characterised as a Hybrid Routing Protocol is proposed in [5]. This works on the basis of a virtual cluster, consisting of a collection of only those nodes that are one-hop away. The key feature of this proposed scheme is that it draws one short packet transfer delay of Proactive Routing Protocol and the small control overheads performance of Reactive Routing Protocols. This protocol signicantly reduces the control overheads as well as the ooding time for collecting information of the network topology through route query packets. Prithwish et al. [6] have presented a power-efcient broadcast routing algorithm which effectively exploits the broadcast efciency. This is a heuristic algorithm possessing a property that adaptively assigns transmit energy to each node depending on how densely the nodes are distributed, and has the favourable ability of choosing multiple nodes at the same time. In [7], the radio range adjustment that saves energy considerably, when combined with a topology management scheme is formulated. A relationship deduced between optimal radio range and trafc demostrates that one half of the total power can be saved if the radio range is adjusted appropriately in a linear network. The impact of communications when Ant Colony Optimization algorithm is parallelized for Travelling Salesman Problem using message passing libraries is studied
909
910
For these parameters, receiving a message is not a low cost operation; the protocols should thus try to minimize not only the transmit distances but also the number of transmit and receive operations for each message. The size of the network packet is assumed to be 336 kbits in all our computations. IV. PROBLEM DEFINITION We denote a wireless sensor network as a weighted directed graph GW SN = (N, A) with a set of N nodes and a set A of directed edges (links), A = (i, j). The sensor nodes are labeled with node IDs 1, 2, ...., |N |. The objectives of our algorithm is to: increase the network lifetime of the wireless sensor network. reduce the energy consumption in the sensor nodes. build a fault-tolerant system. increase the scalability of the sensor network. reduce unbalanced energy consumption problem in the network. A. Assumptions The following are the assumptions made for the WSN consisting of a large number of sensors : The sensors are uniformly placed and each of them are equidistant from the base station. The physical ID of sensors are consecutive. The nodes are static after deployment. The nodes have limited energy and the base station has unlimited energy. Base station is xed, farther from the place where the sensor nodes are deployed and not located in the sensor eld. Chain tail consumes more energy for transmission than other nodes in the network due to the bigger aggregated packet length transmitted. Each of the the nodes in the network, are equipped with a Global Positioning System. B. Algorithm Recursive-Bidirection is a at-routing algorithm consisting of n homogenous nodes equipped with the same amount of energy. In the rst iteration of operation, the data gathering process starts from the rst node (node 1) which acts as the chain head and sends its data to the next node (node 2). This process continues sequentially until the last node n is reached. The last node acts as the chain tail and sends the aggregated data to the base station directly. In the second iteration, node n acts as the chain head and node 1 acts as the chain tail, the data gathering process being similar to the rst iteration.
911
0 ........ 1 ........ p1 CH
p ..................... q1 DN
q ..................... n1 DN CT
In the event that only a few nodes in the network die, say p and q, several UniAntchains are formed as shown in Figure 1. (i) The rst UniAntchain is formed with node 1 as the chain head and node p 1 as the chain tail and sends the aggregated data to the base station. (ii) In a similar manner, several UniAntchains are formed between nodes p + 1 to q 1 and from q + 1 to n. This process continues until the last node in the network is completed depleted of its energy (dead node). Recursive-BIdirection Antchain (RBI) is represented by an edge-weighted graph given by Gwsn (N, E, BS) where N is the number of sensor nodes, E is the energy of the nodes and BS is the base station. The protocol steps are described in Table 1. Intially all the n nodes are furnished with equal amounts of energy Ei . There are two kinds of iterations for the transmission of the messages-Forward Direction (FD) and Reverse Direction (RD). In the FD, the chain head being node 1, receives a message M from the BS. The data gathering process starts from this node (i in each iteration) and the data is sent to the next node (i + 1) and this continues until the last node is reached. The aggregated message nally reaches the BS. Similar to FD, in RD the chain head being node n, receives a message from the BS. The data gathering process starts from this node (i in each iteration) and sends it to the next node. This continues till the last node, which nally sends the data to the BS. Self-Healing AntChain (SHANTCHAIN) is also a atrouting algorithm consisting of n homogeneous nodes, with all nodes equipped with equal amounts of energy.
RBI(Gwsn (N, E, BS)) begin n = N umof N odes; for (i = 1 to n) // Energy initialization begin Ei = E; end msgKind = F D; switch(msgKind) begin case FD : begin init = 1; send(M, init); //Send message to chain head for i = init to n begin AggregateData(M, i); send(M, i + 1); end msgKind = RD; // Reverse Direction send(M, BS); end case RD : begin init = n; send(M, init); //Send message to chain tail for i = n to 1 begin AggregateData(M, i); send(M, i - 1); end msgKind = F D; // Forward Direction send(M, BS); end end end
BS
1 .................... p1 CH
p ..................... q
In the rst iteration of operation, the data gathering process starts from the rst node (node 1) which acts as the chain head and sends its data to the next node (node
2). This process continues sequentially until the last node n is reached. The last node acts as the chain tail and sends the aggregated data to the base station directly as shown in Figure 2. In the second iteration, node n acts as the chain head and node 1 acts as the chain tail, the data gathering process being similar to the rst round as shown in Figure 3. In the third iteration, the data gathering process starts with node 2 as the chain head and ends with node 1 as the chain tail. In the fourth iteration, the data gathering process starts with node n 1 (chain head) and ends with node n 2 (chain tail). In the subsequent iterations of the data gathering process, the role of the chain head and chain tail are rotated among the nodes as: If node i was the chain head in the previous iteration, then node i + 1, now becomes the chain head with node i acting as the chain tail. In the event that a few nodes die, say p and q as shown in Figure 4, then a single UniAntchain is formed consisting of all the alive nodes with the chain head and chain tail chosen as explained in previous step.
912
n1 CT
1 .................. p1
p ..................... q
q+1 ...... n2 CH
0 ..................... p CH DN
p+1 ................. q DN
q+1 ................ n1 CT
Fig. 4.
SHANTCHAIN is represented by an edge-weighted graph given by Gwsn (N, E, BS) where N is the number of sensor nodes, E is the energy of the nodes and BS is the base station. Intially all the nodes are equipped with an equal amount of energy Ei . There are two kinds of iterations for the transmission of the messages-init f orward and init reverse. In init f orward, the chain head is initialized to the node 1, and in init reverse, the chain head is node n. In each iteration of init f orward and init reverse, the role of the chain head is rotated as i+1 and i1 respectively. In the init f orward, the chain head being node 1, receives a message M from the BS. The data gathering process starts from this node (i in each iteration) and the data is sent to the next node (i + 1) and continues till the last node. In this way, the message nally reaches the BS. In the similar way, in init reverse, with the chain head as node n, receives a message from the BS. The data gathering process starts from this node (i in each iteration) and sends it to the next node. This continues till the last node is reached, which nally sends the data to the BS. V. PERFORMANCE ANALYSIS The effectiveness of RBI and SHANTCHAIN are validated through simulations. Our investigations are based on the simulations carried out by using OMNeT++. The sensor nodes were deployed on a 50mx50m area with the sensing radius of each node set to 1.5m. The initial energy of all the nodes was assumed equal, which was 8565mJ (milli Joules). The system performed according to specications as long as the BS did not crash and until the last node in the network was active and alive. The chain head had to receive a message to initiate the process in the network. Initially, the number of nodes selected were ve, which were scaled to a maximum of 200 nodes. Several simulation runs were carried out in order to
SHAN T CHAIN (Gwsn (N, E, BS)) begin n = N umof N odes; for (i = 1 to n) // Energy initialization begin Ei = E; end msgKind = F D; init f orward = 1; init reverse = n; switch(msgKind) begin case FD : begin send(M, init); //Send message to chain head for i = init f orward to n begin if(i + 1 n) then i = init f orward AggregateData(M, i); send(M, i + 1); end msgKind = RD; // Reverse Direction init f orward = init f orward + 1; send(M, BS); end case RD : begin send(M, init reverse); //Send message to chain tail for i = init reverse to 1 begin if(i 1 0) then i = init reverse AggregateData(M, i); send(M, i - 1); end msgKind = F D; // Forward Direction init reverse = init reverse 1; send(M, BS); end end end
arrive at consistent results. Under the given conditions, when the number of nodes was increased beyond 500, the response time was found to be very high. The network lifetime was found to be longest for SHANTCHAIN, decreasing steadily with other algorithms and lowest for UniAntchain. From Figure 5, it is clear that upto 50 nodes, the time taken for the energy depletion of rst node and is quite rapid and slows down as the number of nodes increase. This is due to the fact that in our algorithm, the role of antchain tail and its corresponding antchain head is rotated among the sensors in each iteration, wheras in UniAntchain, the same node acts as antchain tail in all iterations. In Bidirection, the two terminal nodes of Bidirection take the role of the antchain head and antchain tail alternatively, which also applies to Recursive-BIdirection. Average Remaining Energy is dened as the amount of energy dissipated on the nodes, given a stipulated time. From Figure 6, it is clear that both algorithms consume the same
913
120
250
100
Network Lifetime(in s)
200
80
150
60
100
40
20
50
50
100
150
200
Number of Nodes
Number of Nodes
Fig. 5.
9 8 7
Fig. 7. Antchain Operation Time versus the Number of Nodes in the Network
50
6 5 4 3 2 1 0
30
20
10
10
20
30
40
50
60
70
Number of Iterations
10
12
14
Number of Iterations
Fig. 6.
Fig. 8.
amount of energy until network lifetime. Compared to RBI, SHANTCHAIN consumes less energy, which is because it permits only one node in each iteration to communicate with the base station in the face of occurrence of the dead nodes, whearas in RBI several UniAntchains are formed depending on the number of dead nodes. Antchain Operation Time is dened as the time taken for the last node in the network to be completed depleted of its energy. This metric applies well to RBI and SHANTCHAIN algorithms. Simulation results indicate that for less than 50 nodes, this time is decreasing, which is illustrated in Figure 7. The operation time gradually decreases as the number of nodes increase from 50 to 200 nodes. In our algorithm the death of a node is postponed to the maximum extent possible due to the rotation of the roles, resulting in higher operation
time. Even if a node dies, the network is healed by detecting the dead node and eliminating it from the antchain so that the operation of the network goes on, undeterred. With the increase in the operation time of the sensor network, the number of dead nodes also increases. As seen from Figure 8, during the rst ten iterations, our algorithm has more number of alive nodes giving rise to a live network as compared to RBI. As the number of iterations increase, the number of alive nodes decreases greatly. In Recursive-Bidirection, as the number of dead nodes increase, the number of UniAntchains formed also increase proportionately. Due to this, the number of nodes communicating with the base station also increases as the base station is far away from the place where the sensor nodes are deployed. This ensures linear depletion of energy of the sensor nodes. In contrast, our algorithm forms only one UniAntchain consisting of only alive and active
914
915