# An Efficient Bypassing Void Routing Algorithm for Wireless Sensor Network

Authors: Xunli Fan; Feifei Du
Journal: Journal of Sensors
 (2015)

---

## Abstract

Since the sensor node’s distribution in a wireless sensor network (WSN) is irregular, geographic routing protocols using the greedy algorithm can cause local minima problem. This problem may fail due to routing voids and lead to failure of data transmission. Based on the virtual coordinate mapping, this paper proposes an efficient bypassing void routing protocol to solve the control packet overhead and transmission delay in routing void of WSN, which is called EBVRPVCM. The basic idea is to transfer the random structure of void edge to a regular one through mapping the coordinates on a virtual circle. In EBVRPVCM, some strategies, executed in different regions, are selected through virtual coordinates to bypass routing void efficiently. The regular edge is established by coordinate mapping that can shorten the average routing path length and decrease the transmission delay. The virtual coordinate mapping is not affected by the real geographic node position, and the control packet overhead can be reduced accordingly. Compared with RGP and GPSR, simulation results demonstrate that EBVRPVCM can successfully find the shortest routing path with higher delivery ratio and less control packet overhead and energy consumption.


---

## Body

## 1. Introduction

In recent years, wireless sensor network (WSN) has been widely used in various fields [1]. Routing is one of the key technologies in WSN. Geographic routing [2] selects path only relying on the location information of neighbor nodes. Since geographic routing protocol has the characteristic of better scalability and is less affected by the network size, it has broad application prospects [3] in large-scale WSNs. Due to the node’s irregularity in distribution, geographic routing protocol using greedy algorithm can cause local minima problem thus leading to data transmission failure eventually [4], which is called routing void problem.To solve the routing void, [5] designated a quarantine program around the cavity. The program using the ban in the area of separation node acts as a relay node to avoid routing void. Reference [6] put forward a RCF (Ring-Constraint Forwarding) algorithm. RCF creates an annular cavity around the band. To avoid voids, the policy routing is created by selecting the relay node in the annular band. Chang et al. proposed the RGP (Route-Guiding Protocol) algorithm [7]. To avoid routing voids, RGP is selected for each node in the network from the overall perspective of the destination node according to the position relationship between the relay node and the void area. While the above methods are adopted to select a special area designating relay node to reduce computational complexity, the implementation process will have greater control packet overhead and transmission delays. RGP is not conducive to network energy-saving and also unable to resolve planning given special area inside the node routing void problem. Reference [4] proposed GPSR (greedy perimeter stateless routing) protocol. To solve the problem, GPSR used a network link topology through a combination of greedy mode and edge forwarding mode. Reference [8] presented a subeffective interface routing algorithm. But the routing algorithms in [4, 8] need to build and maintain peripheral node link diagram (such as Gabriel Graph), which is not conducive to the expansion of large-scale networks.At present the method which uses virtual geography information to solve the routing void problem has achieved some initial research results [9, 10]. But the key problem is that network nodes use the preselected reference node [9] or the neighbor node information to rebuild their coordinate information [10]. If the network node corresponding to the destination node is changed, it uses the virtual reconstruction location information. It can only apply to a fixed destination node, and the network is inevitably void. Node in virtual position based routing protocol is limited by the real physical position, and the virtual location can be adjusted. Although the greedy algorithm is simple and less complex, the existing virtual routing protocols are not suitable for every node in the network.To overcome the drawbacks of the above protocols, an effective bypass void routing protocol based on the virtual coordinates mapping (EBVRPVCM) is proposed in this paper. The protocol not only maps the routing void of edge node coordinate to a void in the center of the cavity so as to cover a virtual circle in the network, but also creates the virtual coordinate of the edge node. Therefore the edge node with a virtual coordinate can be selected as a relay node. For the void area on the network, a circular virtual structure can effectively bypass routing void. Compared with the traditional protocols, the proposed protocol selects the relay node by greedy algorithm on one node and saves the energy consumption effectively. Through establishing the virtual location, it is independent of the destination node. There is no need to rebuild the virtual location information even if the destination node changes.The rest of the paper is organized as follows. Section2 describes the related work of routing void generation and network edge structure. Section 3 describes the components, stages, and design of the proposed protocol. Section 4 analyzes the virtual coordinated, actual coordinates, path, and control cost of EBVRPVCM. Section 5 evaluates the performance through numerical simulation on NS2 platform. Section 6 is the conclusion and future work.


## 2. The Related Work

### 2.1. Routing Void Generation

For routing based geographic information, we use the greedy algorithm to choose the relay nodes which is closer than their neighbor nodes to the destination. If such neighbor node does not exist, there will be routing void [11]. Figure 1 illustrates the void generate schematic.Figure 1
Void generate schematic.As shown in Figure1, node n2 receives the data transmitted by n1, and the destination node is d1. A set of neighbor nodes for the node n2 is {n1,n3,andn4}; since the distances from the nodes n1, n3, and n4 to the destination node d1 are greater than that of n2, the route appears void according to the greedy algorithm [12]. The data will not be able to pass through. Similarly, when the node n5 sends data to the destination node d2, routing void will appear too.


### 2.2. No Routing Void Network Edge Structure

Suppose, in WSN, the number of edge nodes around an obstacle area isNb and the set of edge nodes is bk∣k=1,2,…,Nb. The edge node must meet(1)dbk,bk+1<Tc,k=1,2,…,Nb-1,db1,bNb<Tc,bk+i∣dbk,bk+i<Tc=ϕ,k=2,…,Nb-2,2≤i≤Nb-k,bk∣db1,bk<Tc=ϕ,k=3,…,Nb-1,where d(x,y) is the Euclidean distance between the nodes x and y, Tc is the communication radius of the node, i is an integer, the edge node set is bk∣k=1,…,Nb, and any node can only communicate with the two adjacent nodes.If the distance between the edge node of obstacle and a fixed nodeO satisfies(2)dbk,O=R,k=1,…,Nbthe distribution of the edge node to the center of the circle O is determined. R is the radius of the circle, as shown in Figure 2. In the edge of the structure around the area of the obstacle, each edge node has only two neighbor edge nodes. From isotropic circular geometry, the packet routing is not void for any destination node while going through the region.Figure 2
No routing void network diagram.Each node uses the greedy algorithm to select the relay node path. As an example, the source nodes sends packets to destination node d and shows the generation of free routing void. The edge node b1 receives the packet and uses the greedy algorithm to find the next hop relay node. The same is for edge node b2. The two nodes are distributed in a concentric circle, and the distance of b2 to destination node d is less than that of b1. Then b1 selects b2 as the next hop node, and the routing void problem does not occur. Packets in the edge node b3 will not either incur routing void problem. The edge node b4 uses greedy algorithm to select the next hop node n5, and the packet is sent to the edge node b4. Until the data is sent to the destination node d, in this process, the greedy algorithm mechanism has not failed.


## 2.1. Routing Void Generation

For routing based geographic information, we use the greedy algorithm to choose the relay nodes which is closer than their neighbor nodes to the destination. If such neighbor node does not exist, there will be routing void [11]. Figure 1 illustrates the void generate schematic.Figure 1
Void generate schematic.As shown in Figure1, node n2 receives the data transmitted by n1, and the destination node is d1. A set of neighbor nodes for the node n2 is {n1,n3,andn4}; since the distances from the nodes n1, n3, and n4 to the destination node d1 are greater than that of n2, the route appears void according to the greedy algorithm [12]. The data will not be able to pass through. Similarly, when the node n5 sends data to the destination node d2, routing void will appear too.


## 2.2. No Routing Void Network Edge Structure

Suppose, in WSN, the number of edge nodes around an obstacle area isNb and the set of edge nodes is bk∣k=1,2,…,Nb. The edge node must meet(1)dbk,bk+1<Tc,k=1,2,…,Nb-1,db1,bNb<Tc,bk+i∣dbk,bk+i<Tc=ϕ,k=2,…,Nb-2,2≤i≤Nb-k,bk∣db1,bk<Tc=ϕ,k=3,…,Nb-1,where d(x,y) is the Euclidean distance between the nodes x and y, Tc is the communication radius of the node, i is an integer, the edge node set is bk∣k=1,…,Nb, and any node can only communicate with the two adjacent nodes.If the distance between the edge node of obstacle and a fixed nodeO satisfies(2)dbk,O=R,k=1,…,Nbthe distribution of the edge node to the center of the circle O is determined. R is the radius of the circle, as shown in Figure 2. In the edge of the structure around the area of the obstacle, each edge node has only two neighbor edge nodes. From isotropic circular geometry, the packet routing is not void for any destination node while going through the region.Figure 2
No routing void network diagram.Each node uses the greedy algorithm to select the relay node path. As an example, the source nodes sends packets to destination node d and shows the generation of free routing void. The edge node b1 receives the packet and uses the greedy algorithm to find the next hop relay node. The same is for edge node b2. The two nodes are distributed in a concentric circle, and the distance of b2 to destination node d is less than that of b1. Then b1 selects b2 as the next hop node, and the routing void problem does not occur. Packets in the edge node b3 will not either incur routing void problem. The edge node b4 uses greedy algorithm to select the next hop node n5, and the packet is sent to the edge node b4. Until the data is sent to the destination node d, in this process, the greedy algorithm mechanism has not failed.


## 3. EBVRPVCM Routing Protocol

EBVRPVCM is composed of the greedy mode and the void processing mode. In this protocol, the relay node uses the conventional greedy mode to forward data. If the greedy mode fails, and the routing void appears, it changes to the void processing mode. According to the execution sequence, the void processing is divided into void detection, virtual coordinate mapping, and void area division. Through the void processing, the virtual coordinates of edge node are established. After starting the greedy mode again, these edge nodes with virtual coordinates can be selected as relay nodes. The details of designing the void processing mode about EBVRPVCM are given in the following subsection. There are three main stages of the given protocol.


### 3.1. Void Probe Stage

The void detection stage is responsible for collecting information of the void edge node after routing void appears. When the packets meet the routing void during data transmission within the network, we called it the failed node of the greedy algorithm and try to find a substitute node. When the substitute node detects the routing void, it caches the data packets, generates a void robe packet, and initiates the process of void detection. The void probe packet stores the whole founded time and labels each edge node and geographic coordinates. The detection process can be implemented through using left (right) hand technology [11]. When the detection packet goes back to the founded node, it contains the information of the edge node set that is named bk∣k=1,2,…,Nb.In the detection process, it is found that there are multiple nodes and multiple probe packets within the same void detection area simultaneously. To reduce the detection of repeated forwarding different probe packets to the same node, the node receives probe packets and labels the void founded time recorded in the probe packets. According to the void founded time, it discards the probe packets if the founded time in the node labeled by new probe packets is later than that in the node and otherwise continues to probe until it reaches the corresponding founded node. Eventually only the probe packets sent by the earliest founded node complete the void detection in the entire void region.


### 3.2. Virtual Coordinate Mapping Stage

The virtual coordinate mapping stage mainly maps the node information to a virtual circle, where the founded node is obtained from the void edge node. Eventually it is converted into the structure without the routing void network edge as mentioned in Section2.2.The probe packets launched by the discovery node and eventually returned to the founded node contain the ID and the corresponding geographic coordinate information of the edge nodes in the routing void. Let(x1,y1),(x2,y2),…,(xNb,yNb) denote the coordinates of each edge node, and the coordinates of the void center point O are(3)xo,yo=1Nb∑k=1Nbxk,1Nb∑k=1Nbyk.The maximum distance from the edge node to the void center is(4)do=max⁡k=1,2,…,Nb⁡dk∣dk=xk-xo2+yk-yo2.Here, void centerO is the center of the circle, and do is the radius of virtual circle for mapping of virtual circle. When the mapping of virtual circle is determined, the virtual coordinate maps the void edge node [12].LetU indicate the line segments of the connection of adjacent edge node, which maps the virtual circle of center O as a starting point and denotes the rays passing by node bk as rk. M is a set temporarily storing a plurality of node information, c stands for the base, and the virtual coordinates of the edge node need to be determined, respectively. The pseudo code of virtual coordinate mapping algorithm is shown in Pseudocode 1.Pseudocode 1:Pseudocode of virtual coordinate mapping.
initializei=j, M=ϕ
while (i≤Nb) do
ifri with Uonly has one intersection point (x′, y′) then
(xi′,yi′) = (x′, y′)
if  M==ϕ  then
(xtemp, ytemp) = (x′, y′)
elsewhile  c!=0  do
xi-c′=x′+(x′-xtemp)×c/(c+1)
yi-c′=y′+(y′-ytemp)×c/(c+1)
deletedbi-c from M
Endwhile
Endif
else add the bi to M
Endif
i++
EndwhileFigure3 is the diagram of virtual coordinate mapping schematic. As shown in Figure 3, O stands for the void center, and the arc is the part of the mapping virtual circular. Edge nodes b1 and b5 are the mapped virtual location of b1′ and b5′, respectively. After mapping, the virtual positions of edge nodes b2, b3, and b4 are between the virtual nodes b1′ and b5′. The mapped nodes are b2′, b3′, and b4′, respectively.Figure 3
Virtual coordinate mapping strategy.Once the virtual coordinate mapping is completed, the discovered node initializes the virtual location distribution package. Also it distributes the virtual location coordinates of the edge nodes and the void center to the edge of the corresponding node and sends the probe packets along with the path (void edge). After receiving the virtual location of the distribution package, each edge node broadcasts the information to the neighbor nodes. The broadcast message contains a virtual coordinate of edge node itself and that of the void center point.


### 3.3. Void Zone Division Stage

In order to perform different routing strategies in different regions, the void zone division stage is responsible for the current void surrounding dividing. According to the location of void and the destination node, the void and the surrounding area are divided into the closer region and the free zone, as shown in Figure4.Figure 4
View of the region division of the void.In Figure4, O is mapped as the virtual circle center, d is the destination node, and the dotted line, as shown in the circle, determines the mapping of virtual circle. We draw two tangents from the destination node d to the mapped virtual circle which crosses at the points m and n, respectively. The quadrilateral region surrounded by O, m, d, and n is the detachment area of the mapped virtual circle, which is the area B shown in Figure 4. The rest of the region within the two tangent lines and mapped virtual circle with the removal of detachment area is called the closer region of the mapped virtual circle, that is, the area A shown in Figure 4. The lateral region from the tangent of the mapped virtual circle is known as the free zone of the mapped virtual circle, which is the area C shown in Figure 4. The three areas are divided according to the current route void based on the different destination node correspondingly.


### 3.4. Virtual Coordinate Based Routing Design

After performing above three phases, the edge node of the void contains the location information of the actual coordinates and virtual coordinates. According to the destination node, the peripheral void is divided into three different regions. The founded nodes use the virtual coordinate to initiate a routing event and send the cached packets in the first phase to the related nodes. In route search, the nodes distributed in three different regions select the relay nodes in different ways. But they adopt the conventional greedy algorithm. The main steps of EBVRPVCM are as follows.Step 1.
A node receives a data packet.Step 2.
The node determines whether itself or a neighbor uses the virtual coordinates. If it does, go to Step3, otherwise to Step 4.Step 3.
If the node is closer to the area, it uses the virtual coordinates to select a relay node; if the node is out of the area, it uses the actual coordinate prior to selecting nonedge node as the relay node; if it is in the free zone, it uses the actual coordinate to select a relay node.Step 4.
If there is no void during the process of selecting relay node using the greedy mode, go to Step6, otherwise to Step 5.Step 5.
The node starts void processing mode and establishes the current void virtual coordinates and returns to Step2.Step 6.
The node sends data packets to the selected relay node.Since the mapping of virtual round void constitutes a nonvoid edge routing structure, the packets going through the void can bypass the void. It is not affected by the position of source node and destination node.


## 3.1. Void Probe Stage

The void detection stage is responsible for collecting information of the void edge node after routing void appears. When the packets meet the routing void during data transmission within the network, we called it the failed node of the greedy algorithm and try to find a substitute node. When the substitute node detects the routing void, it caches the data packets, generates a void robe packet, and initiates the process of void detection. The void probe packet stores the whole founded time and labels each edge node and geographic coordinates. The detection process can be implemented through using left (right) hand technology [11]. When the detection packet goes back to the founded node, it contains the information of the edge node set that is named bk∣k=1,2,…,Nb.In the detection process, it is found that there are multiple nodes and multiple probe packets within the same void detection area simultaneously. To reduce the detection of repeated forwarding different probe packets to the same node, the node receives probe packets and labels the void founded time recorded in the probe packets. According to the void founded time, it discards the probe packets if the founded time in the node labeled by new probe packets is later than that in the node and otherwise continues to probe until it reaches the corresponding founded node. Eventually only the probe packets sent by the earliest founded node complete the void detection in the entire void region.


## 3.2. Virtual Coordinate Mapping Stage

The virtual coordinate mapping stage mainly maps the node information to a virtual circle, where the founded node is obtained from the void edge node. Eventually it is converted into the structure without the routing void network edge as mentioned in Section2.2.The probe packets launched by the discovery node and eventually returned to the founded node contain the ID and the corresponding geographic coordinate information of the edge nodes in the routing void. Let(x1,y1),(x2,y2),…,(xNb,yNb) denote the coordinates of each edge node, and the coordinates of the void center point O are(3)xo,yo=1Nb∑k=1Nbxk,1Nb∑k=1Nbyk.The maximum distance from the edge node to the void center is(4)do=max⁡k=1,2,…,Nb⁡dk∣dk=xk-xo2+yk-yo2.Here, void centerO is the center of the circle, and do is the radius of virtual circle for mapping of virtual circle. When the mapping of virtual circle is determined, the virtual coordinate maps the void edge node [12].LetU indicate the line segments of the connection of adjacent edge node, which maps the virtual circle of center O as a starting point and denotes the rays passing by node bk as rk. M is a set temporarily storing a plurality of node information, c stands for the base, and the virtual coordinates of the edge node need to be determined, respectively. The pseudo code of virtual coordinate mapping algorithm is shown in Pseudocode 1.Pseudocode 1:Pseudocode of virtual coordinate mapping.
initializei=j, M=ϕ
while (i≤Nb) do
ifri with Uonly has one intersection point (x′, y′) then
(xi′,yi′) = (x′, y′)
if  M==ϕ  then
(xtemp, ytemp) = (x′, y′)
elsewhile  c!=0  do
xi-c′=x′+(x′-xtemp)×c/(c+1)
yi-c′=y′+(y′-ytemp)×c/(c+1)
deletedbi-c from M
Endwhile
Endif
else add the bi to M
Endif
i++
EndwhileFigure3 is the diagram of virtual coordinate mapping schematic. As shown in Figure 3, O stands for the void center, and the arc is the part of the mapping virtual circular. Edge nodes b1 and b5 are the mapped virtual location of b1′ and b5′, respectively. After mapping, the virtual positions of edge nodes b2, b3, and b4 are between the virtual nodes b1′ and b5′. The mapped nodes are b2′, b3′, and b4′, respectively.Figure 3
Virtual coordinate mapping strategy.Once the virtual coordinate mapping is completed, the discovered node initializes the virtual location distribution package. Also it distributes the virtual location coordinates of the edge nodes and the void center to the edge of the corresponding node and sends the probe packets along with the path (void edge). After receiving the virtual location of the distribution package, each edge node broadcasts the information to the neighbor nodes. The broadcast message contains a virtual coordinate of edge node itself and that of the void center point.


## 3.3. Void Zone Division Stage

In order to perform different routing strategies in different regions, the void zone division stage is responsible for the current void surrounding dividing. According to the location of void and the destination node, the void and the surrounding area are divided into the closer region and the free zone, as shown in Figure4.Figure 4
View of the region division of the void.In Figure4, O is mapped as the virtual circle center, d is the destination node, and the dotted line, as shown in the circle, determines the mapping of virtual circle. We draw two tangents from the destination node d to the mapped virtual circle which crosses at the points m and n, respectively. The quadrilateral region surrounded by O, m, d, and n is the detachment area of the mapped virtual circle, which is the area B shown in Figure 4. The rest of the region within the two tangent lines and mapped virtual circle with the removal of detachment area is called the closer region of the mapped virtual circle, that is, the area A shown in Figure 4. The lateral region from the tangent of the mapped virtual circle is known as the free zone of the mapped virtual circle, which is the area C shown in Figure 4. The three areas are divided according to the current route void based on the different destination node correspondingly.


## 3.4. Virtual Coordinate Based Routing Design

After performing above three phases, the edge node of the void contains the location information of the actual coordinates and virtual coordinates. According to the destination node, the peripheral void is divided into three different regions. The founded nodes use the virtual coordinate to initiate a routing event and send the cached packets in the first phase to the related nodes. In route search, the nodes distributed in three different regions select the relay nodes in different ways. But they adopt the conventional greedy algorithm. The main steps of EBVRPVCM are as follows.Step 1.
A node receives a data packet.Step 2.
The node determines whether itself or a neighbor uses the virtual coordinates. If it does, go to Step3, otherwise to Step 4.Step 3.
If the node is closer to the area, it uses the virtual coordinates to select a relay node; if the node is out of the area, it uses the actual coordinate prior to selecting nonedge node as the relay node; if it is in the free zone, it uses the actual coordinate to select a relay node.Step 4.
If there is no void during the process of selecting relay node using the greedy mode, go to Step6, otherwise to Step 5.Step 5.
The node starts void processing mode and establishes the current void virtual coordinates and returns to Step2.Step 6.
The node sends data packets to the selected relay node.Since the mapping of virtual round void constitutes a nonvoid edge routing structure, the packets going through the void can bypass the void. It is not affected by the position of source node and destination node.


## 4. Analysis of EBVRPVCM

### 4.1. The Virtual Coordinates and Actual Coordinates

After executing the virtual coordinate mapping algorithm, virtual coordinates of edge nodes are sequentially distributed on the current mapped virtual void circle correspondingly. So it is possible that there exists the dislocation among the mapped edge virtual coordinates and the nonvoid edge node coordinates. It is known from Section3.3 that the virtual coordinate is only used between the void edge node and its neighbor nodes. According to the routing steps mentioned in Section 3.4, it uses the virtual coordinate to select the relay node in the closer region. Once bypassing the current void and entering the detachment region, it prefers to use the actual coordinate to select the relay node. The virtual coordinate plays a guiding role in the process of selecting relay node. Since it is independent of geographical coordinates [13], the execution of greedy algorithm [12] is only limited either within the geographical coordinates or within the virtual coordinates. Therefore, even if there is coordinates overlap between the virtual coordinate of the edge and the coordinates of nodes on the nonvoid edge, it does not affect the routing selection.


### 4.2. Path Analysis

From Section3.2, it is known that all the neighbor nodes of edge node receive the broadcast void information after mapping the virtual coordinate. Nodes use this void information to judge the void in advance, and correspondingly the transmission path is shortened. As shown in Figure 5(a), the node bs sends a packet to the destination node, and the void appears when bs sends data packets to node bv using the greedy algorithm [12] before the establishment of virtual coordinates.Figure 5
The transmission path of the discovered virtual coordinate and optimization scheme.
(a)
(b)If we use the edge forwarding protocol to solve void problem, the packet is always atbv to enter the edge forwarding mode. Assuming that there is a uniform distribution of the network nodes, the node density is ρ. When the current void virtual coordinate is established using EBVRPVCM routing protocol, the probability of at least one edge node falling in the communication radius of node bs and node bv is(5)P=1-exp⁡-ρσ,where σ is the area of intersection region within communication radius that does not contain the obstacle region. In this case, the edge node bd will be directly selected as the forwarding node according to the virtual coordinate, which shortens the transmission path. With the increase of the node’s probability density ρ, the probability of shortening the transmission path is increased gradually. Therefore, EBVRPVCM can obtain the shortest routing path. Meanwhile, it is conducive to further shorten the routing path in the case of using the whole information of void during the process of relay node selection.As shown in Figure5(b), nodes s and d are the source node and destination node, respectively. P2 is the ideal transmission path of nonvoid. P1 is the transmission path selected by routing protocol based on the edge forwarding. P3 is the transmission path selected by EBVRPVCM.Because edge forwarding protocol can only forward packets in one direction, the selected path is longer. Virtual coordinate chooses forwarding direction flexibly according to the void information. Correspondingly, it shortens the routing path.


### 4.3. Control Cost Analysis

Note that the control packet size is CPSgr in the greedy routing algorithm, while the void probe packet size and the distribution package size are VPSdet⁡ and DPSdis, respectively, in EBVRPVCM route. The number of void edge nodes is VENvs, the average number of hops to reach the destination node is hrdEBVRPVCM, and the number of control packets used to send n packets is LEBVRPVCM in the following:(6)LEBVRPVCM=VPSdet⁡+DPSdisVENvs+CPSgrhrdEBVRPVCMn.The average size of a control packet for each data packet is(7)ACPEBVRPVCM=VPSdet⁡+DPSdisVENvsn+CPSgrhrdEBVRPVCM.As the numbern of packet sent across the network increases, the average size of the control packet in EBVRPVCM protocol is close to the greedy algorithm.To compare with the edge forwarding protocol, we have the following notations. The edge forwarding control packet size is FCPefp, the ratio of the greedy algorithm for routing is r, and the average number of hops data reaching the destination node is hrdgr, and then the number of control packets used to send n packets is(8)Lgr=CPSgrr+FCPefp1-rhrdgrn.The average size of a control packet is(9)ACPefp=CPSgrr+FCPefp1-rhrdgr.From Section4.2, because under the edge forwarding mode FCPfp>CPSgr and 0<r<1, it is known that(10)hrdEBVRPVCM<hrdgr.Correspondingly, we obtain the following results:(11)CPSgrhrdEBVRPVCM<CPSgrhrdgr<ACPefp<FCPefphrdgr.For the same fixed node of wireless sensor network,r is constant. From (9), the average control packet size ACPefp is independent of the amount of data packet size n, and the range of the value is set in (11). While LEBVRPVCM is reduced with the increase of data packets sent in the network, there exists nc that satisfies ACPEBVRPVCM<ACPefp, when n>nc. So the size of control packet used in EBVRPVCM is smaller than that in the edge forwarding protocol.


## 4.1. The Virtual Coordinates and Actual Coordinates

After executing the virtual coordinate mapping algorithm, virtual coordinates of edge nodes are sequentially distributed on the current mapped virtual void circle correspondingly. So it is possible that there exists the dislocation among the mapped edge virtual coordinates and the nonvoid edge node coordinates. It is known from Section3.3 that the virtual coordinate is only used between the void edge node and its neighbor nodes. According to the routing steps mentioned in Section 3.4, it uses the virtual coordinate to select the relay node in the closer region. Once bypassing the current void and entering the detachment region, it prefers to use the actual coordinate to select the relay node. The virtual coordinate plays a guiding role in the process of selecting relay node. Since it is independent of geographical coordinates [13], the execution of greedy algorithm [12] is only limited either within the geographical coordinates or within the virtual coordinates. Therefore, even if there is coordinates overlap between the virtual coordinate of the edge and the coordinates of nodes on the nonvoid edge, it does not affect the routing selection.


## 4.2. Path Analysis

From Section3.2, it is known that all the neighbor nodes of edge node receive the broadcast void information after mapping the virtual coordinate. Nodes use this void information to judge the void in advance, and correspondingly the transmission path is shortened. As shown in Figure 5(a), the node bs sends a packet to the destination node, and the void appears when bs sends data packets to node bv using the greedy algorithm [12] before the establishment of virtual coordinates.Figure 5
The transmission path of the discovered virtual coordinate and optimization scheme.
(a)
(b)If we use the edge forwarding protocol to solve void problem, the packet is always atbv to enter the edge forwarding mode. Assuming that there is a uniform distribution of the network nodes, the node density is ρ. When the current void virtual coordinate is established using EBVRPVCM routing protocol, the probability of at least one edge node falling in the communication radius of node bs and node bv is(5)P=1-exp⁡-ρσ,where σ is the area of intersection region within communication radius that does not contain the obstacle region. In this case, the edge node bd will be directly selected as the forwarding node according to the virtual coordinate, which shortens the transmission path. With the increase of the node’s probability density ρ, the probability of shortening the transmission path is increased gradually. Therefore, EBVRPVCM can obtain the shortest routing path. Meanwhile, it is conducive to further shorten the routing path in the case of using the whole information of void during the process of relay node selection.As shown in Figure5(b), nodes s and d are the source node and destination node, respectively. P2 is the ideal transmission path of nonvoid. P1 is the transmission path selected by routing protocol based on the edge forwarding. P3 is the transmission path selected by EBVRPVCM.Because edge forwarding protocol can only forward packets in one direction, the selected path is longer. Virtual coordinate chooses forwarding direction flexibly according to the void information. Correspondingly, it shortens the routing path.


## 4.3. Control Cost Analysis

Note that the control packet size is CPSgr in the greedy routing algorithm, while the void probe packet size and the distribution package size are VPSdet⁡ and DPSdis, respectively, in EBVRPVCM route. The number of void edge nodes is VENvs, the average number of hops to reach the destination node is hrdEBVRPVCM, and the number of control packets used to send n packets is LEBVRPVCM in the following:(6)LEBVRPVCM=VPSdet⁡+DPSdisVENvs+CPSgrhrdEBVRPVCMn.The average size of a control packet for each data packet is(7)ACPEBVRPVCM=VPSdet⁡+DPSdisVENvsn+CPSgrhrdEBVRPVCM.As the numbern of packet sent across the network increases, the average size of the control packet in EBVRPVCM protocol is close to the greedy algorithm.To compare with the edge forwarding protocol, we have the following notations. The edge forwarding control packet size is FCPefp, the ratio of the greedy algorithm for routing is r, and the average number of hops data reaching the destination node is hrdgr, and then the number of control packets used to send n packets is(8)Lgr=CPSgrr+FCPefp1-rhrdgrn.The average size of a control packet is(9)ACPefp=CPSgrr+FCPefp1-rhrdgr.From Section4.2, because under the edge forwarding mode FCPfp>CPSgr and 0<r<1, it is known that(10)hrdEBVRPVCM<hrdgr.Correspondingly, we obtain the following results:(11)CPSgrhrdEBVRPVCM<CPSgrhrdgr<ACPefp<FCPefphrdgr.For the same fixed node of wireless sensor network,r is constant. From (9), the average control packet size ACPefp is independent of the amount of data packet size n, and the range of the value is set in (11). While LEBVRPVCM is reduced with the increase of data packets sent in the network, there exists nc that satisfies ACPEBVRPVCM<ACPefp, when n>nc. So the size of control packet used in EBVRPVCM is smaller than that in the edge forwarding protocol.


## 5. Simulation Analysis

### 5.1. Parameter Setting

To verify the performance of EBVRPVCM routing protocol, this paper simulates it on the platform of NS2 [14] and compares it with RGP and GPSR. Simulation scenario is a square area, and sensor nodes are evenly distributed within the square area. We simulate routing void of the real application environment through prohibiting deploying nodes around the center.For the convenience of comparison, we randomly select the destination nodes in the lower region of the square area and source nodes in the upper region, respectively. The source nodes send packets to the destination nodes. During the simulation, we randomly select one node as the destination node and 4 nodes as the source node. The void radius changes from 90 m to 270 m. The simulation performance indexes are ratio of packet successfully transmitted, end-to-end delay, average number of hops, cost of control packet, and energy consumption. Because the routing protocols of [5, 9] do not guarantee that any node in the network is effective, even if there exists a routing path, it may not be possible to establish a link. So we compare the performance of EBVRPVCM with RGP [7] and GPSR [4]. Specific parameters are shown in Table 1.Table 1
Simulation parameters.
Parameter
Value
Simulation area
1000 m × 1000 m
The number of nodes
1000
Node communication radius
50 m
Bandwidth
200 Kbps
Packet transmission rate
1 pkt/s
Transmitting power
1.6 W
Received power
1.2 W
Idle listening power
0.04 W
Simulation time
200 s


### 5.2. Scenario 1: Effects of Void Radius on Transmission Ratio

Effect of void size on the successful transmission ratio is shown in Figure6.Figure 6
Effects of void radius on transmission ratio.With the gradual increasing of void radius, the successful transmission ratios of EBVRPVCM and GPSR are in the trend of decreasing. While the successful transmission ratio of RGP keeps at around 95%. When the void is small, the performance of EBVRPVCM and GPSR is better than that of RGP.With the increase of void radius, RGP remains the stable success transmission ratio because it is a flooding based routing protocol that has stronger ability to establish an effective path. When the void radius is over 210 m, the success transmission ratio of EBVRPVCM is lower than that of RGP.


### 5.3. Scenario 2: Effects of Void Radius on Average Transmission Delay

Figure7 illustrates the effects of void size on the average transmission delay.Figure 7
Effects of void radius on average transmission delay.The average transmission delay is mean value of transmission delay of packet successfully reaching destination node. As the RGP needs to establish a routing path firstly and then transmits data, the transmission delay is higher, and the transmission delay is two times more than that of the other two kinds of routing protocols. When the void is small, the transmission delay of EBVRPVCM is slightly smaller than that of GPSR. With the increasing of void radius, the transmission delay is increased accordingly, but the growth of transmission delay of GPSR is faster than that of EBVRPVCM.


### 5.4. Scenario 3: Effects of Void Size on Average Hops

The effect of void size on the average hops is shown in Figure8. The number of average hops of EBVRPVCM is around 8 hops less than that of RGP. With the increasing void radius, the number of average hops becomes larger gradually.Figure 8
Effects of void size on average hop.When the void radius is over 240 m, there is relatively substantial increase of the average number of hops of GPSR routing. As the EBVRPVCM routing can select the shortest path to bypass the void region according to position of void and the destination, the corresponding growth of average transmission delay and hop increases flatly with the growing of the void radius as shown in Figures7 and 8.


### 5.5. Scenario 4: Effects of Void Size on Average Energy Consumption

Table2 shows the statistical results of average energy consumed by sending the unit packet under different void radius during the simulation periods of 0~100 s and 0~200 s, respectively.Table 2
Average energy consumed under different void radius.
Void Radius (m)
Average Energy Consumed (J/pkt)
EBVRPVCM
GPSR
RGP
0~100 ms
0~200 ms
0~100 ms
0~200 ms
0~100 ms
0~200 ms
90
15.23
12.35
16.17
16.19
110.46
62.46
120
15.28
12.78
16.63
16.93
235.42
115.42
150
15.29
13.54
17.87
17.93
270.64
124.42
180
15.73
14.23
19.81
20.32
384.56
214.32
210
16.54
14.84
22.36
21.85
484.45
238.26
240
16.45
15.03
25.73
24.98
848.28
416.35
270
16.86
15.16
26.64
26.21
980.95
564.34Because there are more nodes participating in path establishment in RGP and needs to maintain the link, the average energy consumption is far higher than that of the other two kinds of routing algorithms. The routing path establishment of EBVRPVCM and GPSR only needs the information of neighbor nodes, so the average energy consumption is less than that of RGP. But after void is mapped through the virtual coordinate, EBVRPVCM uses the greedy mode to select routing path. Correspondingly, the average energy consumption of EBVRPVCM is less than that of GPSR.The subsequent routing uses greedy mode to alleviate it. With the simulation time increasing, the average energy consumption reduces gradually. So the longer the network’s working cycle, the more the advantages EBVRPVCM has.


### 5.6. Scenario 5: Effects of Packet Size on Routing Performance

When the size of data packet increases, the average transmission delay becomes higher. The collision probability is increasing during wireless transmission. The collision causes the decreasing of the transmission success ratio and increasing of the transmission delay. Figures9 and 10 illustrate the effects on transmission success ratio and average transmission delay when the source node sends different packet sizes under the condition of maintaining the void radius at 150 m, respectively.Figure 9
Effect of packet size on success transmission ratio.Figure 10
Effect of packet size on average transmission delay.As shown in Figure9, EBVRPVCM has the minimum effect caused by the packet size. With the increasing of packet size from 128 bytes to 512 bytes, the transmission success ratio of EBVRPVCM is decreased about 5%, while that of GPSR and RGP is decreased by approximately 15% and 25%, respectively.Since there are more control packets in RGP, with the increasing of the packet size, the collision probability during wireless transmission becomes higher, which leads to the rapid increasing of packet loss rate. GPSR did not optimize the transmission path in path selection, so the data is overconcentrated in the edge nodes of the void, which caused the increasing of transmission collision. While EBVRPVCM optimized transmission path and rationally dispersed the data packets, it alleviated the transmission collision problem.Known from Figure10, the average transmission delay of RGP is very sensitive to data packet size, and the average transmission delay increases nearly 8 times with data packet increasing from 128 bytes to 512 bytes, while EBVRPVCM and GPSR are less affected by the packet size, and the transmission delay of EBVRPVCM is slightly less than that of GPSR.


### 5.7. Scenario 6: The Cost of Control Packet

The smaller routing control packet overhead can improve the energy efficiency of wireless sensor network and prolong the network lifetime. Figure11 illustrates the relationship between the void radius and control packet cost.Figure 11
The relationship between control packet cost and void radius.As the EBVRPVCM gets the whole void information only through one routing void detecting, it makes the subsequent data packets, generated by other source nodes and bypass the void, only work in the single greedy mode while passing the void. Therefore EBVRPVCM not only has less control packet cost, but also is less affected by the void size, although the control packet cost of RGP routing is less affected by void radius, since it uses the flooding mechanism, which causes the larger control packet cost.While each time GPSR routing passes through the routing void, it enters into edge forwarding mode using more control packets. With the increasing of void, correspondingly there are more nodes switching to edge forwarding mode. And each time when the different data packets pass through the void surrounding, they enter the edge forwarding mode, which cause the control packet cost growing faster.


## 5.1. Parameter Setting

To verify the performance of EBVRPVCM routing protocol, this paper simulates it on the platform of NS2 [14] and compares it with RGP and GPSR. Simulation scenario is a square area, and sensor nodes are evenly distributed within the square area. We simulate routing void of the real application environment through prohibiting deploying nodes around the center.For the convenience of comparison, we randomly select the destination nodes in the lower region of the square area and source nodes in the upper region, respectively. The source nodes send packets to the destination nodes. During the simulation, we randomly select one node as the destination node and 4 nodes as the source node. The void radius changes from 90 m to 270 m. The simulation performance indexes are ratio of packet successfully transmitted, end-to-end delay, average number of hops, cost of control packet, and energy consumption. Because the routing protocols of [5, 9] do not guarantee that any node in the network is effective, even if there exists a routing path, it may not be possible to establish a link. So we compare the performance of EBVRPVCM with RGP [7] and GPSR [4]. Specific parameters are shown in Table 1.Table 1
Simulation parameters.
Parameter
Value
Simulation area
1000 m × 1000 m
The number of nodes
1000
Node communication radius
50 m
Bandwidth
200 Kbps
Packet transmission rate
1 pkt/s
Transmitting power
1.6 W
Received power
1.2 W
Idle listening power
0.04 W
Simulation time
200 s


## 5.2. Scenario 1: Effects of Void Radius on Transmission Ratio

Effect of void size on the successful transmission ratio is shown in Figure6.Figure 6
Effects of void radius on transmission ratio.With the gradual increasing of void radius, the successful transmission ratios of EBVRPVCM and GPSR are in the trend of decreasing. While the successful transmission ratio of RGP keeps at around 95%. When the void is small, the performance of EBVRPVCM and GPSR is better than that of RGP.With the increase of void radius, RGP remains the stable success transmission ratio because it is a flooding based routing protocol that has stronger ability to establish an effective path. When the void radius is over 210 m, the success transmission ratio of EBVRPVCM is lower than that of RGP.


## 5.3. Scenario 2: Effects of Void Radius on Average Transmission Delay

Figure7 illustrates the effects of void size on the average transmission delay.Figure 7
Effects of void radius on average transmission delay.The average transmission delay is mean value of transmission delay of packet successfully reaching destination node. As the RGP needs to establish a routing path firstly and then transmits data, the transmission delay is higher, and the transmission delay is two times more than that of the other two kinds of routing protocols. When the void is small, the transmission delay of EBVRPVCM is slightly smaller than that of GPSR. With the increasing of void radius, the transmission delay is increased accordingly, but the growth of transmission delay of GPSR is faster than that of EBVRPVCM.


## 5.4. Scenario 3: Effects of Void Size on Average Hops

The effect of void size on the average hops is shown in Figure8. The number of average hops of EBVRPVCM is around 8 hops less than that of RGP. With the increasing void radius, the number of average hops becomes larger gradually.Figure 8
Effects of void size on average hop.When the void radius is over 240 m, there is relatively substantial increase of the average number of hops of GPSR routing. As the EBVRPVCM routing can select the shortest path to bypass the void region according to position of void and the destination, the corresponding growth of average transmission delay and hop increases flatly with the growing of the void radius as shown in Figures7 and 8.


## 5.5. Scenario 4: Effects of Void Size on Average Energy Consumption

Table2 shows the statistical results of average energy consumed by sending the unit packet under different void radius during the simulation periods of 0~100 s and 0~200 s, respectively.Table 2
Average energy consumed under different void radius.
Void Radius (m)
Average Energy Consumed (J/pkt)
EBVRPVCM
GPSR
RGP
0~100 ms
0~200 ms
0~100 ms
0~200 ms
0~100 ms
0~200 ms
90
15.23
12.35
16.17
16.19
110.46
62.46
120
15.28
12.78
16.63
16.93
235.42
115.42
150
15.29
13.54
17.87
17.93
270.64
124.42
180
15.73
14.23
19.81
20.32
384.56
214.32
210
16.54
14.84
22.36
21.85
484.45
238.26
240
16.45
15.03
25.73
24.98
848.28
416.35
270
16.86
15.16
26.64
26.21
980.95
564.34Because there are more nodes participating in path establishment in RGP and needs to maintain the link, the average energy consumption is far higher than that of the other two kinds of routing algorithms. The routing path establishment of EBVRPVCM and GPSR only needs the information of neighbor nodes, so the average energy consumption is less than that of RGP. But after void is mapped through the virtual coordinate, EBVRPVCM uses the greedy mode to select routing path. Correspondingly, the average energy consumption of EBVRPVCM is less than that of GPSR.The subsequent routing uses greedy mode to alleviate it. With the simulation time increasing, the average energy consumption reduces gradually. So the longer the network’s working cycle, the more the advantages EBVRPVCM has.


## 5.6. Scenario 5: Effects of Packet Size on Routing Performance

When the size of data packet increases, the average transmission delay becomes higher. The collision probability is increasing during wireless transmission. The collision causes the decreasing of the transmission success ratio and increasing of the transmission delay. Figures9 and 10 illustrate the effects on transmission success ratio and average transmission delay when the source node sends different packet sizes under the condition of maintaining the void radius at 150 m, respectively.Figure 9
Effect of packet size on success transmission ratio.Figure 10
Effect of packet size on average transmission delay.As shown in Figure9, EBVRPVCM has the minimum effect caused by the packet size. With the increasing of packet size from 128 bytes to 512 bytes, the transmission success ratio of EBVRPVCM is decreased about 5%, while that of GPSR and RGP is decreased by approximately 15% and 25%, respectively.Since there are more control packets in RGP, with the increasing of the packet size, the collision probability during wireless transmission becomes higher, which leads to the rapid increasing of packet loss rate. GPSR did not optimize the transmission path in path selection, so the data is overconcentrated in the edge nodes of the void, which caused the increasing of transmission collision. While EBVRPVCM optimized transmission path and rationally dispersed the data packets, it alleviated the transmission collision problem.Known from Figure10, the average transmission delay of RGP is very sensitive to data packet size, and the average transmission delay increases nearly 8 times with data packet increasing from 128 bytes to 512 bytes, while EBVRPVCM and GPSR are less affected by the packet size, and the transmission delay of EBVRPVCM is slightly less than that of GPSR.


## 5.7. Scenario 6: The Cost of Control Packet

The smaller routing control packet overhead can improve the energy efficiency of wireless sensor network and prolong the network lifetime. Figure11 illustrates the relationship between the void radius and control packet cost.Figure 11
The relationship between control packet cost and void radius.As the EBVRPVCM gets the whole void information only through one routing void detecting, it makes the subsequent data packets, generated by other source nodes and bypass the void, only work in the single greedy mode while passing the void. Therefore EBVRPVCM not only has less control packet cost, but also is less affected by the void size, although the control packet cost of RGP routing is less affected by void radius, since it uses the flooding mechanism, which causes the larger control packet cost.While each time GPSR routing passes through the routing void, it enters into edge forwarding mode using more control packets. With the increasing of void, correspondingly there are more nodes switching to edge forwarding mode. And each time when the different data packets pass through the void surrounding, they enter the edge forwarding mode, which cause the control packet cost growing faster.


## 6. Conclusion and Future Work

For routing void problems in geographical position, we use the network edge structure of nonrouting void to design an EBVRPVCM routing protocol. EBVRPVCM routing is implemented through void detection and virtual coordinate mapping. The void process is divided into three stages. In the void and the surrounding area routing, it selects the relay nodes using the corresponding virtual coordinate information. For a routing void, EBVRPVCM routing only needs one probe and mapping process. Thus it can greatly reduce the complexity of routing protocols. The simulation results show that the proposed EBVRPVCM routing protocol has a better performance of average transmission success rate, delay, and the average hops. The control packet overhead is less, and the proposed EBVRPVCM is conducive to save network energy.We are trying to monitor the habitat information and establish the monitoring WSN of Qinling stub-nosed monkey. Because of its habitat, Qinling Mountain is a complex terrain with many obstacles, the void of monitoring WSN is unavoidable. For the further work, we will optimize EBVRPVCM and use it in the habitat monitoring WSN of the Qinling stub-nosed monkey.



---

*Source: 686809-2015-04-30.xml*