<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE article PUBLIC "-//NLM//DTD Journal Publishing DTD v2.3 20070202//EN" "journalpublishing.dtd">
<article xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink" xml:lang="en" article-type="research-article">
  <front>
    <journal-meta>
      <journal-id journal-id-type="publisher-id">jsan</journal-id>
      <journal-title>Journal of Sensor and Actuator Networks</journal-title>
      <abbrev-journal-title abbrev-type="publisher">JSAN</abbrev-journal-title>
      <abbrev-journal-title abbrev-type="pubmed">JSAN</abbrev-journal-title>
      <issn pub-type="epub">2224-2708</issn>
      <publisher>
        <publisher-name>MDPI</publisher-name>
      </publisher>
    </journal-meta>
    <article-meta>
      <article-id pub-id-type="doi">10.3390/jsan2010025</article-id>
      <article-id pub-id-type="publisher-id">jsan-02-00025</article-id>
      <article-categories>
        <subj-group>
          <subject>Article</subject>
        </subj-group>
      </article-categories>
      <title-group>
        <article-title>Detour Path Angular Information Based Range-Free Localization in Wireless Sensor Network</article-title>
      </title-group>
     
      <contrib-group>
        <contrib contrib-type="author">
          <name>
            <surname>Kumar Paul</surname>
            <given-names>Anup</given-names>
          </name>
          <xref rid="c1-jsan-02-00025" ref-type="corresp">*</xref>
        </contrib>
        <contrib contrib-type="author">
          <name>
            <surname>Sato</surname>
            <given-names>Takuro</given-names>
          </name>
        </contrib>
      </contrib-group>
       <aff id="af1-jsan-02-00025">Graduate School of Global Information and Telecommunication Studies, Waseda University, 1-3-10 Nishi-Waseda, Shinjuku-ku 169-0051, Tokyo, Japan; E-Mail: t-sato@waseda.jp</aff>
      <author-notes>
        <corresp id="c1-jsan-02-00025"><label>*</label> Author to whom correspondence should be addressed; E-Mail: <email>anup@fuji.waseda.jp</email>; Tel.: +81-3-5286-9839; Fax: +81-3-5286-3832. </corresp>
      </author-notes>
      <pub-date pub-type="epub">
        <day>17</day>
        <month>01</month>
        <year>2013</year>
      </pub-date>
      <pub-date pub-type="collection"><month>03</month>
        <year>2013</year>
      </pub-date>
      <volume>2</volume>
      <issue>1</issue>
      <fpage>25</fpage>
      <lpage>45</lpage>
      <history>
        <date date-type="received">
          <day>14</day>
          <month>11</month>
          <year>2012</year>
        </date>
        <date date-type="rev-recd">
          <day>04</day>
          <month>01</month>
          <year>2013</year>
        </date>
        <date date-type="accepted">
          <day>08</day>
          <month>01</month>
          <year>2013</year>
        </date>
      </history>
      <permissions>
        <copyright-statement>©  2013 by the authors; licensee MDPI, Basel, Switzerland.</copyright-statement>
        <copyright-year>2013</copyright-year>
        <license xmlns:xlink="http://www.w3.org/1999/xlink" license-type="open-access" xlink:href="http://creativecommons.org/licenses/by/3.0/">
          <p>This article is an open-access article distributed under the terms and conditions of the Creative Commons Attribution license (http://creativecommons.org/licenses/by/3.0/).</p>
        </license>
      </permissions>
      <abstract>
        <p>Range-free localization algorithm continues to be an important and challenging research topic in anisotropic Wireless Sensor Networks (WSNs).  Designing range-free localization algorithms without considering obstacles or holes inside the network area does not reflect the real world conditions.  In this paper, we have proposed Detour Path Angular Information (DPAI) based sensor localization algorithm to accurately estimate the distance between an anchor node and a sensor node. We utilized the Euclidean distance and transmission path distance among anchor nodes to calculate the angle of the transmission path between them one by one. Then the estimated hop distance is adjusted by the angle between the anchor pairs. Based on the angle of the detoured path (which is the key factor for accuracy), our algorithm determines whether the path is straight or detoured by anisotropic factors. Our proposed algorithm does not require any global knowledge of network topology to tolerate the network anisotropy nor require high sensor node density for satisfactory localization accuracy. Extensive simulations are performed and the results are observed to be in good agreement with the theoretical analysis. DPAI achieved average sensor localization accuracy better than 0.3<italic>r</italic> in isotropic network and 0.35<italic>r</italic> in anisotropic network when the sensor density is above 8.</p>
      </abstract>
      <kwd-group>
        <kwd>angular information</kwd>
        <kwd>range-freelocalization</kwd>
        <kwd>detour path</kwd>
        <kwd>anisotropic network</kwd>
      </kwd-group>
    </article-meta>
  </front>
  <body>
    <sec sec-type="intro">
      <title>1. Introduction</title>
      <p>By the advances of the Micro Electro Mechanical Systems (MEMS) and communication theory, wireless networking and embedded processing, ad-hoc networks of devices and sensors capabilities are becoming increasingly available for commercial applications such as environmental monitoring (e.g., traffic, habitat, security), industrial sensing (e.g., factory, appliances), and critical infrastructure protection applications (e.g., power grids, water distribution, waste disposal).  For these purposes, each sensor node collaborates with others in sensing, monitoring, and tracking events of interests by exchanging acquired data, usually stamped with the time and position information. In many of these applications, knowledge about sensors’ geometrical positions are critical for many network protocols, e.g., topology control, geographical routing, and clustering [<xref ref-type="bibr" rid="B1-jsan-02-00025">1</xref>]. It thus becomes one of the fundamental issues in Wireless Sensor Networks (WSNs) to acquire sensor position knowledge, called sensor localization problem.</p>
      <p>In WSNs, positioning errors can often be masked by features such as fault tolerance, node redundancy, data aggregation and other means [<xref ref-type="bibr" rid="B2-jsan-02-00025">2</xref>,<xref ref-type="bibr" rid="B3-jsan-02-00025">3</xref>]. This makes coarse accuracy of sensor localization sufficient for many WSNs applications. Range-free localization is therefore pursued as a cost effective alternative for expensive range based scheme, by having no dependence on the availability or validity of hardware to provide range information. The key idea is to place a small fraction of anchors (<italic>i.e</italic>., special sensors with known positions) across the network. Positioning of sensors is obtained from the estimated distance to multiple anchors and their coordinates, according to trilateral algorithm.</p>
      <p>Previous range-free localization work mainly focuses on regular sensor deployment areas [<xref ref-type="bibr" rid="B4-jsan-02-00025">4</xref>], <italic>i.e</italic>., sensors are uniformly and densely distributed in a convex region. However, this assumption does not hold when a sensor network is deployed in irregular areas with obstacles, because the packet delivery path between two sensors can be detoured by obstacles and this shortest path distance is dramatically different from its geographical Euclidean distance. These detoured obstacles are inevitable in natural areas such as valleys where sensors are deployed for habitat monitoring, as well as in urban areas where sensors can be separated by buildings. Therefore, when applying range-free techniques to the concave areas, the position estimates may in fact contain large errors [<xref ref-type="bibr" rid="B5-jsan-02-00025">5</xref>]. One response to this irregular area problem is to partially ignore the erroneous distance information by using an improved multi-hop algorithm [<xref ref-type="bibr" rid="B6-jsan-02-00025">6</xref>]. Yet, distorted anchor information can mislead accurate position estimates. One way to improve the accuracy of localization would be to rule out distorted path information from some anchors, which however has two particular difficulties. First, because sensors do not have the global view of their network, they have no way of determining which path information is distorted and which is not. Second, anchors can rely on the information that they receive from other anchors that are in an unobstructed straight line path, because they are able to determine their mutual reliability based on the calculation of an expected hop length. However, anchors and sensors cannot rely on each other in this way because sensors do not know their own locations and so cannot make an expected hop-length calculation.</p>
      <p>In this paper we introduce a novel method based on angular information of the detour transmission path to estimate the optimal path distance between any pair of sensor nodes in WSNs with arbitrary node density and low anchor to sensor ratio. The proposed algorithm leads to a good position determination for WSNs as compared with some existing positioning schemes such as pattern-driven [<xref ref-type="bibr" rid="B7-jsan-02-00025">7</xref>], DV-Hop [<xref ref-type="bibr" rid="B8-jsan-02-00025">8</xref>], Gang <italic>et al</italic>. [<xref ref-type="bibr" rid="B9-jsan-02-00025">9</xref>], Chen <italic>et al</italic>. [<xref ref-type="bibr" rid="B10-jsan-02-00025">10</xref>] and Hop-Count-based Neighbor Parition (HCNP) [<xref ref-type="bibr" rid="B11-jsan-02-00025">11</xref>].  The main contributions of this paper are as follows: </p>
      <p>The average localization error is approximately less than 0.3r (r is the radio range of sensors) and 0.35r in isotropic and anisotropic network respectively. This localization accuracy can satisfy the needs of many location-dependent protocols and applications, including geographical routing and tracking [<xref ref-type="bibr" rid="B2-jsan-02-00025">2</xref>]. Compared with previous localization algorithms that declares to tolerate network anisotropy, our localization scheme excels in (1) higher accuracy stemming from its ability to tolerate multiple anisotropic factors, including the existence of obstacles, sparse sensor distribution, and anisotropic terrain condition; (2) localization accuracy guaranteed by theoretical analysis and simulation results; and (3) a distributed solution with comparative communication overhead but high accuracy and enhanced robustness to different network topologies and different degree of irregualrities.</p>
      <p>The rest of the paper is organized as follows. We start by related work in <xref ref-type="sec" rid="sec2-jsan-02-00025">Section 2</xref>.  <xref ref-type="sec" rid="sec3-jsan-02-00025">Section 3</xref> describes the network model. Our proposed algorithm is presented in <xref ref-type="sec" rid="sec4-jsan-02-00025">Section 4</xref>. In <xref ref-type="sec" rid="sec5-jsan-02-00025">Section 5</xref>, simulation results are shown and localization performances are discussed. Finally, we present our conclusions in <xref ref-type="sec" rid="sec6-jsan-02-00025">Section 6</xref>.</p>
    </sec>
    <sec id="sec2-jsan-02-00025">
      <title>2. Related Work</title>
      <p>Many range-free approaches have been proposed to determine sensor locations in WSNs.  For example, the Centroid method [<xref ref-type="bibr" rid="B12-jsan-02-00025">12</xref>] is probably the earliest and simplest range-free approach, in which each node estimates its location by calculating the center of all the anchors it hears. APIT [<xref ref-type="bibr" rid="B2-jsan-02-00025">2</xref>] lets each node estimate whether it resides inside or outside several triangular regions bounded by the anchors it hears, and refines the computed location by overlapping the regions a sensor could possibly reside in. In order to improve accuracy, APIT needs many anchors and assumes that the anchors have radio ranges that are 10 times larger than those of ordinary nodes. Another proposed space embedding approach [<xref ref-type="bibr" rid="B13-jsan-02-00025">13</xref>] rely on Multidimensional Scaling (MDS) or Singular Value Decomposition (SVD) based techniques to project the node proximities into geographic distances.</p>
      <p>DV-Hop employs a constant number of anchors and relies on the heuristic of proportionality between the distance and hop count in isotropic networks. The system estimates the average distance per hop from anchor locations and the hop count among anchors. Each node measures the hop count to at least three anchors and translates these into distances. By triangulation, the location is then calculated. However, the DV-Hop method yields high localization errors in anisotropic networks, where the existence of holes breaks the proportionality between the distance and hop count and thus leads to inaccurate location estimates.</p>
      <p>To modify the disadvantage of existing DV-Hop localization algorithm, the relevant literature proposed many improved algorithms  [<xref ref-type="bibr" rid="B9-jsan-02-00025">9</xref>,<xref ref-type="bibr" rid="B10-jsan-02-00025">10</xref>,<xref ref-type="bibr" rid="B14-jsan-02-00025">14</xref>,<xref ref-type="bibr" rid="B15-jsan-02-00025">15</xref>].  In [<xref ref-type="bibr" rid="B9-jsan-02-00025">9</xref>],  the location accuracy is improved bymodifying the network average hop distance based on minimum mean square error criteria as <inline-graphic xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="jsan-02-00025-i001.tif"/>, where <italic>d<sub>ij</sub></italic> is the straight line distance between the anchor node <italic>i</italic> and <italic>j</italic>, <italic>h<sub>j</sub></italic> is the hop segment number between the anchor nodes <italic>i</italic> and <italic>j</italic>. Another algorithm in [<xref ref-type="bibr" rid="B10-jsan-02-00025">10</xref>] calculates the error <italic>e<sup>ij</sup></italic> as <inline-graphic xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="jsan-02-00025-i002.tif"/>, where <inline-graphic xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="jsan-02-00025-i003.tif"/>  is the estimated distance between anchor nodes <italic>i</italic> and <italic>j</italic>, <inline-graphic xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="jsan-02-00025-i004.tif"/> is is the Euclidean distance between anchor <italic>i</italic> and <italic>j</italic>. The average hop distance is finally adjusted by <inline-graphic xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="jsan-02-00025-i005.tif"/>  where <italic>m</italic> is the closest anchor node to anchor node <italic>i</italic> and <italic>HopSize<sub>i</sub></italic> is calculated as <inline-graphic xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="jsan-02-00025-i006.tif"/>  where (<italic>x<sub>i</sub></italic>, <italic>y<sub>i</sub></italic>) (<italic>x<sub>j</sub></italic>, <italic>y<sub>j</sub></italic>) are the coordinates of anchor node <italic>i</italic>and <italic>j</italic> and <italic>h<sub>ij</sub></italic> is the number of hops between anchor <italic>i</italic>and <italic>j</italic>.  The Algorithms [9,10] made improvements on distance estimation and localization of the DV-Hop algorithm. There are still some disadvantages in the improved algorithms, such as no obvious improvement on localization accuracy, especially when the transmission route is not straight but detoured.</p>
      <p>Another pattern driven localization scheme is proposed in [<xref ref-type="bibr" rid="B7-jsan-02-00025">7</xref>] to tolerate network anisotropy. The paper proposes three different methods of anchor-sensor distance calculation based on three patterns, namely Concentric Ring (CR): isotropic pattern, Centrifugal Gradient (CG): anisotropic but slightly detoured, and Distorted Gradient (DG): anisotropic and strongly detoured. For the CR pattern, it utilizes the last hop distance for overall distance calculation. The method is based on the neighbor node degree of a sensor node. It requires high node density to work properly. For the CG pattern, the author proposes DiffTriangle to revise the anchor-sensor distance estimates with the assistance from the nearest anchor to the sensor (namely Reference Station), which exhibits the CR pattern. This implies that these reference stations should appear in normal sensors’ CR category and thus the distance from sensors to their dominating reference stations should be no more than three or four hops.  This assumption implicitly places a high demand for anchor distribution density.  In DG pattern, the anchors which falls in DG category are dropped and no longer be used for location estimation. However it may be impossible in practice to accurately recognize the slightly detoured anchors from the strongly detoured anchors or even moderately detoured anchors, without the global knowledge on network topology, <italic>i.e</italic>., network boundary and obstacles shapes.</p>
      <p>In the REndered Path (REP) algorithm [<xref ref-type="bibr" rid="B16-jsan-02-00025">16</xref>], the authors assumed that the boundaries of holes in the network have been detected and every node knows if it is a boundary node or not. The authors proposed an approach for computing the straight line distance between two nodes by arguing corresponding shortest path with virtual holes.  In HCNP [<xref ref-type="bibr" rid="B11-jsan-02-00025">11</xref>], the author proposed source to destination distance estimation algorithm based on the observation that the neighbors of a destination can have different hop counts with respect to the same source and such information is used to improve the localization accuracy only in isotropic network.</p>
    </sec>
    <sec id="sec3-jsan-02-00025">
      <title>3. Network Model</title>
      <p>When sensor nodes are randomly deployed in WSNs, we cannot assume any regularity in spacing or pattern of the sensors. This is due to the fact that most of the cases sensors are deployed from the low flying airplanes or unmanned ground vehicles. However anchors can be placed randomly or in the form of regular tile across the network so as to help in estimating the sensors positions [<xref ref-type="bibr" rid="B17-jsan-02-00025">17</xref>]. In this paper we place anchor and sensor nodes randomly, which is more practical.</p>
      <p>Consider a WSNs in a 2D plane with <italic>N</italic> sensors, denoted by a set <inline-graphic xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="jsan-02-00025-i007.tif"/>  where <italic>s<sub>i</sub></italic> is the <italic>i<sup>th</sup></italic> sensor node.  All sensor nodes are uniformly and independently deployed in a square area <italic>A</italic> = <italic>L</italic>× <italic>L</italic>. Such a random deployment results in a 2D Poisson distribution of sensors with sensor density <inline-graphic xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="jsan-02-00025-i008.tif"/> . All sensors are assumed to be homogeneous and stationary and omnidirectional. Therefore the network can be seen as static or regarded as a snapshot of mobile ad hoc sensor networks. In order to simplify the discussion, we are not concerned with the issues of energy consumption and robustness of sensor nodes. We believe that these missing issues do not invalidate the correctness of the proposed method.</p>
      <p><bold>Definition 1</bold>: Let <italic>a</italic> (<italic>s<sub>i</sub></italic>,<italic>r</italic>) define the transmission range or radio coverage area of a sensor <italic>s<sub>i</sub></italic> ,where the center is sensor <italic>s<sub>i</sub></italic> and the transmission radius is <italic>r</italic>. The radio coverage area of any sensor is assumed to be circular and symmetrical. So <italic>a</italic> (<italic>s<sub>i</sub></italic>,<italic>r</italic>) = <italic>πr<sup>2</sup></italic>. Any sensor nodes that are located within this area can directly communicate with each other and is defined as neighbors of each other. It is because we assume that all the sensors have the same transmission capability.</p>
      <p><bold>Definition 2</bold>:  Let <italic>N<sub>E</sub></italic> be the average number of sensors located in the radio coverage area.  The average connectivity denoted by <italic>C<sub>E</sub></italic> is defined as the average number of neighbor sensors located in the sensors transmission range.  Following definition 1, the transmission coverage area is <italic>a</italic> (<italic>s<sub>i</sub></italic>,<italic>r</italic>) = <italic>πr<sup>2</sup></italic>. The sensor density of the network is <inline-graphic xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="jsan-02-00025-i008.tif"/> . Therefore <italic>N<sub>E</sub></italic>  = <italic>λπr</italic><sup>2</sup> and <italic>C<sub>E</sub></italic> = <italic>N<sub>E</sub></italic> − 1. </p>
    </sec>
    <sec id="sec4-jsan-02-00025">
      <title>4. The Proposed Algorithm (DPAI)</title>
      <p>In real life scenarios, the sensor nodes are deployed randomly from the airplanes in areas where obstacles or holes may exist. Because of obstacles or holes, the packet transmission paths among anchor and sensor nodes are not always straight but detoured. In range-free localization, the exact hop distance calculation is the key problem for estimating location. The average hop distance of the network heavily depends on the data transmission path, <italic>i.e</italic>., if the transmission path is almost straight, then the average hop distance is almost accurate, otherwise deviated from its actual value if there is an obstacle in between. We observe that, if we can associate the angle of the detoured transmission path with the calculation of the average hop distance, then we can accurately calculate the average hop distance and hence the localization. Utilizing this concept of angular information of the detoured transmission path, we propose the DPAI algorithm for precise localization.</p>
      <sec>
        <title>4.1. Detour Path Angular Information Based Localization</title>
        <p>Suppose that two anchor nodes A and B are separated by an obstacle and thus connected by a detoured shortest transmission path <italic>A</italic> – <italic>S1</italic> – <italic>S2</italic> – <italic>S3</italic> – <italic>S4</italic> – <italic>S5</italic> – <italic>B</italic> as shown in <xref ref-type="fig" rid="jsan-02-00025-f001">Figure 1</xref> (left hand side). From the figure, we can see that the angle <italic>α</italic> between the two anchors and the middle of the shortest transmission path is closely related to the length of the transmission path. The angle approaches to 180° if the transmission path is almost straight (<italic>A</italic> – <italic>S1</italic> – <italic>S2</italic> – <italic>S3</italic> – <italic>B</italic>) as shown in <xref ref-type="fig" rid="jsan-02-00025-f001">Figure 1</xref> (right hand side), otherwise the angle is much smaller as shown in <xref ref-type="fig" rid="jsan-02-00025-f001">Figure 1</xref> (left hand side). Suppose the Euclidean distance between anchor nodes <italic>A</italic> and <italic>B</italic> is <italic>D</italic>, the distance from anchor <italic>A</italic> and <italic>B</italic> to the middle of the transmission path is <italic>d</italic>and the number of hop between these anchor nodes is <italic>N<sub>h</sub>.</italic></p>
        <fig id="jsan-02-00025-f001" position="float">
          <label>Figure 1</label>
          <caption>
            <p>Packet transmission path between two anchors with obstacle and without obstacle.</p>
          </caption>
          <graphic xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="jsan-02-00025-g001.tif"/>
        </fig>
        <p>Now from Δ<italic>AMB</italic> , we can write,</p>
        <disp-formula id="jsan-02-00025-i009">
<inline-graphic xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="jsan-02-00025-i009.tif"/>
<label>(1)</label>
</disp-formula>
 
        <p>Therefore the average hop distance is
        <disp-formula id="jsan-02-00025-i010">
<inline-graphic xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="jsan-02-00025-i010.tif"/>
<label>(2)</label></disp-formula></p>
        <p>From <xref ref-type="fig" rid="jsan-02-00025-f002">Figure 2</xref> we can see the relation between transmission path length and the angle <italic>α</italic>. There are three different transmission paths from anchor <italic>A</italic> to anchor <italic>B</italic>, namely transmission paths <italic>AMB,</italic> <italic>ANB</italic> and <italic>AOB</italic> respectively. Obviously the path lengths are different, <italic>i.e</italic>., <italic>AMB</italic> &lt; <italic>ANB</italic> &lt; <italic>AOB</italic>. We draw the line <italic>AP</italic> through the middle <italic>M</italic> of the transmission path <italic>AMB</italic> and draw one line from <italic>P</italic> to <italic>B</italic> in such a way that the triangle △<italic>APB</italic> is right angle triangle, where ∠<italic>ABP</italic> is the right angle. Similarly we draw the line <italic>AQ</italic> and <italic>AR</italic>. From every middle point of the transmission path we draw one line to <italic>B</italic>. The lines are <italic>MB</italic>, <italic>NB</italic> and <italic>OB</italic>. Thus the angles <italic>α</italic>1,<italic>α</italic>2 and <italic>α</italic>3 denote the transmission paths route bend degree, when the transmission path lengths are <italic>AMB</italic>, <italic>ANB</italic> and <italic>AOB</italic> respectively. The angles <italic>β</italic>1, <italic>β</italic>2 and <italic>β</italic>3 are deﬁned as follows: 
        
        <disp-formula id="jsan-02-00025-i011">
<inline-graphic xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="jsan-02-00025-i011.tif"/>
<label>(3)</label>
 </disp-formula>
<disp-formula id="jsan-02-00025-i012">
<inline-graphic xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="jsan-02-00025-i012.tif"/>
<label>(4)</label></disp-formula>
<disp-formula id="jsan-02-00025-i013">
<inline-graphic xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="jsan-02-00025-i013.tif"/>
<label>(5)</label></disp-formula>
        </p>
        
        
        
        <p>From the above equations, we notice that the value of <italic>β</italic> is dependent on the length of transmission paths <italic>AP</italic>, <italic>AQ</italic> and <italic>AR</italic>. This is because the path length <italic>AB</italic> between two anchor nodes <italic>A</italic> and <italic>B</italic>, is constant for static sensor network. The longer the transmission paths, the larger the value of <italic>β</italic>. Consequently the shorter the transmission path, the larger is the value of <italic>α</italic>. In <xref ref-type="fig" rid="jsan-02-00025-f002">Figure 2</xref>, <italic>β</italic>3 &gt;<italic>β</italic>2 &gt;<italic>β</italic>1 and <italic>α</italic>1 &gt;<italic>α</italic>2 &gt;<italic>α</italic>3. To calculate the value of α we present one example as follows: </p>
        <p>Suppose in <xref ref-type="fig" rid="jsan-02-00025-f003">Figure 3</xref>, <italic>A</italic>, <italic>B</italic> and <italic>C</italic> are three anchor nodes. The Euclidean distance between <italic>A</italic> and <italic>B</italic> is 20, <italic>A</italic> and <italic>C</italic> is 36 and <italic>B</italic> and <italic>C</italic> is 40 (the ﬁgure is not drawn to scale). Th number of hops between <italic>A</italic> and <italic>B</italic> is 4, <italic>A</italic> and <italic>C</italic> is 4 and <italic>B</italic> and <italic>C</italic> is 5. Each anchor node calculates the average hop distance as follows: 
        <disp-formula id="jsan-02-00025-i014">
<inline-graphic xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="jsan-02-00025-i014.tif"/>
</disp-formula>

        
        
        Now for simplicity, we can consider the case of anchor <italic>A</italic>. After calculating the average hop distance, <italic>A</italic> will calculate the Transmission Path Length (<italic>TPL</italic>) by multiplying the number of hops and average hop distance. So from <italic>A</italic> to <italic>B</italic>, the <italic>TPL</italic> is 4 × 7 = 28. But the Euclidean Distance(<italic>ED</italic>) between <italic>A</italic> and <italic>B</italic> is 20, which is shorter than the <italic>TPL</italic>. Since <italic>TPL</italic> &gt; <italic>ED</italic>, <italic>A</italic> assumes that the <italic>TPL</italic> is detoured. To calculate the angle of the detoured transmission path, we draw one line <italic>AP</italic> from <italic>A</italic> to <italic>P</italic> through the middle of the transmission path <italic>M</italic> (Because the length of the transmission path is known) and whose length is the length of <italic>TPL i.e.</italic>, in our example 28. We draw one line from <italic>P</italic> to <italic>B</italic> in such a way that the angle ∠<italic>ABP</italic> is right angle. From the middle <italic>M</italic>, we draw another line to <italic>B</italic>. From Δ<italic>AMB</italic>, the two sides <italic>AM</italic> and <italic>BM</italic> are equal. Hence the angle <italic>β</italic> = <italic>γ</italic>. From Δ<italic>ABP</italic>, we know that, 
        <disp-formula id="jsan-02-00025-i015">
<inline-graphic xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="jsan-02-00025-i015.tif"/>
<label>(6)</label>
</disp-formula>
        The anchor node knows the value of <italic>AB</italic> and <italic>AP</italic>. So it can calculate the angle <italic>β</italic>. Now from Δ<italic>AMB</italic>, we know that </p>
     
        <disp-formula>
       <italic> β</italic> + <italic>α</italic>+ <italic>γ</italic> = 180<sup>0 </sup>
        </disp-formula>
       
         
        
        <disp-formula><italic>α</italic> = 180<sup>0 </sup>− (2 × <italic>β</italic>)[<italic>Sinceγ</italic> = <italic>β</italic>]<label>(7)</label></disp-formula> 
        <p>In a similar manner, A can calculate the angle between <italic>A</italic> and <italic>C</italic> and accordingly adjust the average hop distance by (2). If <italic>TPL</italic> ≤ <italic>ED</italic>, then the value of <italic>β</italic> is set to 0<sup>0 </sup>and accordingly, <italic>α</italic>can be calculated by (7). </p>
        <fig id="jsan-02-00025-f002" position="float">
          <label>Figure 2</label>
          <caption>
            <p>Relation between transmission path length and the angle α. </p>
          </caption>
          <graphic xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="jsan-02-00025-g002.tif"/>
        </fig>
        <fig id="jsan-02-00025-f003" position="float">
          <label>Figure 3</label>
          <caption>
            <p>Calculation of angle <italic>α</italic>. </p>
          </caption>
          <graphic xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="jsan-02-00025-g003.tif"/>
        </fig>
         <disp-formula id="jsan-02-00025-i016">
<inline-graphic xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="jsan-02-00025-i016.tif"/>
 </disp-formula> 
        <p>Algorithms 1 and 2 represent the pseudo codes of DPAI schemes. They represent the localization algorithms conducted in anchors and sensors respectively. <italic>V<sub>A</sub></italic> represents the set of anchor nodes, <italic>TPL<sub>ik</sub></italic> represents the transmission path length and <italic>D<sub>ik</sub></italic> represents the Euclidean distance between anchor <italic>i</italic> and <italic>k</italic>. At run time, similar to other range-free localization approaches such as DV-Hop, DPAI scheme ensures that anchor nodes ﬁrst broadcast their locations and hop count value set to one. Each receiving node records the minimum hop count value from an anchor node and then ﬂood outwards the same packet with hop count value incremented by one. Any packet containing larger hop count value than the previous one is ignored. Thus all nodes get the minimum hop number from every anchor nodes. </p>
          <disp-formula id="jsan-02-00025-i017">
<inline-graphic xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="jsan-02-00025-i017.tif"/>
 </disp-formula> 
      </sec>
      <sec>
        <title>4.2. Analysis of Algorithm Complexity</title>
        <p><xref ref-type="table" rid="jsan-02-00025-t001">Table 1</xref> summarizes the protocol comparison of DPAI with DV-Hop and pattern-driven in various aspects including Communication Overhead (C.O), Computation Cost (C.C) and Applicable Network (A.N). To calculate the average hop distance, each anchor node needs 2 rounds of broadcasts. Consequently for an entire network the communication overhead is bounded by <italic>O</italic>(<italic>n</italic><sup>2</sup>), where n is the total number of nodes in the network. The anchor nodes bear most of the computational burden. Each anchor node deals with angular information based average hop distance calculation and for each calculation, the anchor node does at most <italic>O</italic>(<italic>M</italic>) computations to calculate the average hop distance from the detour path, where <italic>M</italic> is the number of holes or obstacles within the network. Thus for entire network each anchor’s computational overhead is <italic>O</italic>(<italic>nM</italic>). </p>
        <table-wrap id="jsan-02-00025-t001" position="float">
          <object-id pub-id-type="pii">jsan-02-00025-t001_Table 1</object-id>
          <label>Table 1</label>
          <caption>
            <p>Protocol Comparison.</p>
          </caption>
          <table>
            <thead>
              <tr>
                <th align="center" valign="middle">Protocol</th>
                <th align="center" valign="middle">C.O</th>
                <th align="center" valign="middle">C.C</th>
                <th align="center" valign="middle">A.N</th>
              </tr>
            </thead>
            <tbody>
              <tr>
                <td align="center" valign="middle">DV-Hop</td>
                <td align="center" valign="middle"><italic>O</italic>(<italic>n</italic><sub>2</sub>)</td>
                <td align="center" valign="middle"><italic>O</italic>(<italic>n</italic>)</td>
                <td align="center" valign="middle">Isotropic</td>
              </tr>
              <tr>
                <td align="center" valign="middle">pattern-driven</td>
                <td align="center" valign="middle"><italic>O</italic>(<italic>n</italic><sub>2</sub>)</td>
                <td align="center" valign="middle">O(<italic>nM</italic>)</td>
                <td align="center" valign="middle">Isotropic,Anisotropic</td>
              </tr>
              <tr>
                <td align="center" valign="middle">DPAI</td>
                <td align="center" valign="middle"><italic>O</italic>(<italic>n</italic><sub>2</sub>)</td>
                <td align="center" valign="middle">O(<italic>nM</italic>)</td>
                <td align="center" valign="middle">Isotropic,Anisotropic</td>
              </tr>
            </tbody>
          </table>
        </table-wrap>
        <p>On the other hand, DV-Hop presumes isotropic network and triangulates the nodes location with its network distances to the three anchors. Each node ﬂoods the network for computing the hop count so the communication cost of DV-Hop is <italic>O</italic>(<italic>n</italic><sup>2</sup>). Each anchor accepts requests from all the network and sends out feedback with <italic>O</italic>(<italic>n</italic>) computational cost. In the next section we will compare the localization accuracy of our approach through simulations. </p>
      </sec>
    </sec>
    <sec id="sec5-jsan-02-00025">
      <title>5. Simulation Results and Performance Analysis</title>
      <p>A series of simulations are conducted to evaluate the performance of our proposed scheme in isotropic and anisotropic WSNs, where anchor nodes are deployed randomly. For anisotropic network, we consider O-shape and C-shape network topology. For each of the different types of network, we run the simulation for 100 rounds and take the average over 100 runs, during which the quantity of the deployed sensor nodes is kept unchanged. However, the topology of the network varies because we establish connectivity between pair of sensor nodes randomly. To measure the accuracy of localization, the average localization error is used. </p>
      <p>The average localization error is deﬁned as the ratio of the differences between the estimated location <inline-graphic xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="jsan-02-00025-i018.tif"/> and the real location (<italic>x<sub>i</sub></italic>, <italic>y<sub>i</sub></italic>) to the communication range of sensor nodes. In this paper, the average localization error is expressed relative to the radio range r. The average localization error △ of the sensor network, which is composed of |<italic>V<sub>S</sub></italic>| sensor nodes, is expressed as follows: 
    <disp-formula id="jsan-02-00025-i019">
<inline-graphic xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="jsan-02-00025-i019.tif"/>
<label>(8)</label>
 </disp-formula> 
       The initial network parameters for simulations are shown in <xref ref-type="table" rid="jsan-02-00025-t002">Table 2</xref>. We vary the number of anchors and sensor density (the average number of sensors per sensor radio area) when necessary to observe their impact on localization errors. </p>
      <table-wrap id="jsan-02-00025-t002" position="float">
        <object-id pub-id-type="pii">jsan-02-00025-t002_Table 2</object-id>
        <label>Table 2</label>
        <caption>
          <p>Network Parameters for Simulation.</p>
        </caption>
        <table>
          
          <tbody>
            <tr>
              <td align="center" valign="middle"><bold>Network</bold></td>
              <td align="center" valign="middle">
                <bold>For Isotropic</bold>
              </td>
              <td align="center" valign="middle">
                <bold>For Anisotropic</bold>
              </td>
            </tr>
            <tr>
              <td align="center" valign="middle">
                <bold>Parameter</bold>
              </td>
              <td align="center" valign="middle">
                <bold>Network</bold>
              </td>
              <td align="center" valign="middle">
                <bold>Network</bold>
              </td>
            </tr>
            <tr>
              <td align="center" valign="middle">Area</td>
              <td align="center" valign="middle">10 × 10<italic>m</italic></td>
              <td align="center" valign="middle">10 × 10<italic>m</italic></td>
            </tr>
            <tr>
              <td align="center" valign="middle">Sensor Nodes</td>
              <td align="center" valign="middle">200</td>
              <td align="center" valign="middle">200</td>
            </tr>
            <tr>
              <td align="center" valign="middle">Anchor Nodes</td>
              <td align="center" valign="middle">20</td>
              <td align="center" valign="middle">20</td>
            </tr>
            <tr>
              <td align="center" valign="middle">Radio Rnage</td>
              <td align="center" valign="middle">2<italic>m</italic></td>
              <td align="center" valign="middle">2<italic>m</italic></td>
            </tr>
          </tbody>
        </table>
      </table-wrap>
      <p>For simulation, we compared our proposed algorithm with DV-Hop [<xref ref-type="bibr" rid="B8-jsan-02-00025">8</xref>], Gang <italic>et al</italic>. [<xref ref-type="bibr" rid="B9-jsan-02-00025">9</xref>], Chen <italic>et al</italic>. [<xref ref-type="bibr" rid="B10-jsan-02-00025">10</xref>], HCNP [<xref ref-type="bibr" rid="B11-jsan-02-00025">11</xref>] and pattern-driven [<xref ref-type="bibr" rid="B7-jsan-02-00025">7</xref>]. The results are shown in the <xref ref-type="fig" rid="jsan-02-00025-f004">Figure 4</xref> and <xref ref-type="fig" rid="jsan-02-00025-f005">Figure 5</xref> for isotropic network, <xref ref-type="fig" rid="jsan-02-00025-f006">Figure 6</xref> and <xref ref-type="fig" rid="jsan-02-00025-f007">Figure 7</xref> for O-shape, and <xref ref-type="fig" rid="jsan-02-00025-f008">Figure 8</xref> and <xref ref-type="fig" rid="jsan-02-00025-f009">Figure 9</xref> for C-Shape network. Also we investigate the impact of radio irregularity on the localization performance. The result is shown in <xref ref-type="fig" rid="jsan-02-00025-f010">Figure 10</xref>. From the results, we can say that, our scheme has higher localization accuracy than HCNP [<xref ref-type="bibr" rid="B11-jsan-02-00025">11</xref>] (which cannot tolerate anisotropic factor) and pattern-driven [<xref ref-type="bibr" rid="B7-jsan-02-00025">7</xref>] (which can tolerate multiple anisotropic factor), DV-Hop [<xref ref-type="bibr" rid="B8-jsan-02-00025">8</xref>], Gang <italic>et al</italic>. [<xref ref-type="bibr" rid="B9-jsan-02-00025">9</xref>], and Chen <italic>et al</italic>. [<xref ref-type="bibr" rid="B10-jsan-02-00025">10</xref>]. Our scheme is robust in sparse isotropic network (<xref ref-type="fig" rid="jsan-02-00025-f011">Figure 11</xref>), anisotropic (O-Shape (<xref ref-type="fig" rid="jsan-02-00025-f012">Figure 12</xref>) and C-Shape (<xref ref-type="fig" rid="jsan-02-00025-f013">Figure 13</xref>)) network, and under realistic system conﬁgurations where the radio transmission pattern of a sensor node varies per unit degree change in the direction of radio propagation as shown in <xref ref-type="fig" rid="jsan-02-00025-f014">Figure 14</xref> and <xref ref-type="fig" rid="jsan-02-00025-f015">Figure 15</xref>. The other three methods   degrades  severely in anisotropic network and under different degree of radio irregularity. HCNP [<xref ref-type="bibr" rid="B11-jsan-02-00025">11</xref>], which is only designed for isotropic network, degrades severely in different anisotropic network conditions. </p>
      <fig id="jsan-02-00025-f004" position="float">
        <label>Figure 4</label>
        <caption>
          <p>Location error <italic>vs</italic>. number of anchor nodes (isotropic network).</p>
        </caption>
        <graphic xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="jsan-02-00025-g004.tif"/>
      </fig>
      <fig id="jsan-02-00025-f005" position="float">
        <label>Figure 5</label>
        <caption>
          <p>Localization error <italic>vs</italic>. sensor density (Isotropic network).</p>
        </caption>
        <graphic xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="jsan-02-00025-g005.tif"/>
      </fig>
      <fig id="jsan-02-00025-f006" position="float">
        <label>Figure 6</label>
        <caption>
          <p>Location error <italic>vs</italic>. number of anchor nodes. (O-shape network). </p>
        </caption>
        <graphic xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="jsan-02-00025-g006.tif"/>
      </fig>
      <fig id="jsan-02-00025-f007" position="float">
        <label>Figure 7</label>
        <caption>
          <p>Localization error <italic>vs</italic>. sensor density (O-shape network).</p>
        </caption>
        <graphic xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="jsan-02-00025-g007.tif"/>
      </fig>
      <fig id="jsan-02-00025-f008" position="float">
        <label>Figure 8</label>
        <caption>
          <p>Location error <italic>vs</italic>. number of anchor nodes (C-shape network).</p>
        </caption>
        <graphic xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="jsan-02-00025-g008.tif"/>
      </fig>
      <fig id="jsan-02-00025-f009" position="float">
        <label>Figure 9</label>
        <caption>
          <p>Localization error <italic>vs</italic>. sensor density (C-shape network).</p>
        </caption>
        <graphic xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="jsan-02-00025-g009.tif"/>
      </fig>
      <fig id="jsan-02-00025-f010" position="float">
        <label>Figure 10</label>
        <caption>
          <p>Localization error <italic>vs</italic>. DOI.</p>
        </caption>
        <graphic xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="jsan-02-00025-g010.tif"/>
      </fig>
      <fig id="jsan-02-00025-f011" position="float">
        <label>Figure 11</label>
        <caption>
          <p>Initial node deployment in isotropic network.</p>
        </caption>
        <graphic xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="jsan-02-00025-g011.tif"/>
      </fig>
      <fig id="jsan-02-00025-f012" position="float">
        <label>Figure 12</label>
        <caption>
          <p>Initial node deployment in anisotropic O-shape network.</p>
        </caption>
        <graphic xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="jsan-02-00025-g012.tif"/>
      </fig>
      <fig id="jsan-02-00025-f013" position="float">
        <label>Figure 13</label>
        <caption>
          <p>Initial node deployment in anisotropic C-shape network.</p>
        </caption>
        <graphic xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="jsan-02-00025-g013.tif"/>
      </fig>
      <fig id="jsan-02-00025-f014" position="float">
        <label>Figure 14</label>
        <caption>
          <p>Irregular Radio Pattern when DOI=0.05. </p>
        </caption>
        <graphic xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="jsan-02-00025-g014.tif"/>
      </fig>
      <fig id="jsan-02-00025-f015" position="float">
        <label>Figure 15</label>
        <caption>
          <p>Irregular Radio Pattern when DOI=0.1.</p>
        </caption>
        <graphic xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="jsan-02-00025-g015.tif"/>
      </fig>
      <sec>
        <title>5.1. Localization Error When Varying the Number of Anchors</title>
        <p>For the ﬁrst experiment, we vary the number of anchors in sparse isotropic network (sensor density = 8) to study its impact on location accuracy. <xref ref-type="fig" rid="jsan-02-00025-f004">Figure 4</xref>, <xref ref-type="fig" rid="jsan-02-00025-f006">Figure 6</xref> and <xref ref-type="fig" rid="jsan-02-00025-f008">Figure 8</xref> show that the localization accuracy of DPAI is better than others. For example, in <xref ref-type="fig" rid="jsan-02-00025-f004">Figure 4</xref> with 20 anchor nodes (which is 10% of total number of nodes), DPAI has an average localization error of about 0.3r, whereas in pattern-driven [<xref ref-type="bibr" rid="B7-jsan-02-00025">7</xref>] and HCNP [<xref ref-type="bibr" rid="B11-jsan-02-00025">11</xref>], the error is 0.37r and 0.36r respectively. We also observe that, as we increase the anchor numbers, the localization error of DPAI reduces from 0.3r to 0.21r. It can be seen from <xref ref-type="fig" rid="jsan-02-00025-f006">Figure 6</xref> and <xref ref-type="fig" rid="jsan-02-00025-f008">Figure 8</xref> that in anisotropic network, our proposed algorithm performs better than the pattern-driven algorithm and other algorithms. In fact, the performance of DV-Hop and other (except pattern-driven) algorithms in anisotropic network is random in nature and worst than in isotropic network. In O-shape and C-shape region, the transmission paths are more curved and the hop count based distance estimation from sensor nodes to anchor nodes is dramatically changed if the detoured transmission paths are treated in the same manner as in the isotropic network. </p>
        <p>Our proposed algorithm outperforms others by using the angular value of the detoured transmission paths, <italic>i.e</italic>., the average hop distance among anchor nodes and the sensor nodes are adjusted according to the angle of the curved transmission paths. For the same sensor density, our scheme outperforms pattern-driven and other approaches even when the anchor to sensor ratio is as low as 10%, which signiﬁes the cost effectiveness of our approach. </p>
      </sec>
      <sec>
        <title>5.2. Localization Error When Varying the Sensor Density</title>
        <p><xref ref-type="fig" rid="jsan-02-00025-f005">Figure 5</xref>, <xref ref-type="fig" rid="jsan-02-00025-f007">Figure 7</xref> and <xref ref-type="fig" rid="jsan-02-00025-f009">Figure 9</xref> show the performance of our approach and other approaches when varying the sensor density. We vary the sensor density from 6 to 24. Effective localization remains a problem in sparse networks where the sensor density falls in the range of 6 to 15. Kleinrock and Silvester have proved in [<xref ref-type="bibr" rid="B18-jsan-02-00025">18</xref>] that 6 is the optimum sensor density to maintain the network connectivity. The localization problem in sparse networks deserves investigation, because lower sensor density implies lower deployment cost, smaller possibility of trafﬁc jam, and radio interference. </p>
        <p>It can be seen from <xref ref-type="fig" rid="jsan-02-00025-f005">Figure 5</xref>, <xref ref-type="fig" rid="jsan-02-00025-f007">Figure 7</xref> and <xref ref-type="fig" rid="jsan-02-00025-f009">Figure 9</xref> that DPAI performs better than other schemes when the sensor density is 6, and as we increase the sensor density from 6 to 24, the localization error of DPAI as well as other approaches decreases. This is because, as the sensor density increases, the numbers of one hop neighbor nodes increases, so the per hop average distance calculation error decreases and the calculation error does not propagate to large number of hops. At a low sensor density such as 6 or 8, if the hop number is large, then there is a high possibility that the transmission path between two anchors is not straight but slightly curved in isotropic network. However, if the hop number is less (which occurs when the sensor density is high), then the path between two anchor nodes is almost straight and the average hop distance calculation becomes more accurate than before. By the value of the angle, we can determine whether the transmission path is straight or not and accordingly the average hop distance is calculated. In low sensor density isotropic network with no obstacle, some holes are created because of the low sensor density. In such situation, DPAI performs better because we calculated the average hop distance by utilizing the angle of the detour transmission path. In high density isotropic network, the localization error of DPAI approaches 0.22r (when the sensor density is 24) and in anisotropic network, the localization error is 0.25r for O-shape and 0.26r for C-shape respectively. For low density such as 8, the localization error of DPAI is near to 0.3r for isotropic network and below 0.35r for anisotropic network. According to [<xref ref-type="bibr" rid="B2-jsan-02-00025">2</xref>], this localization accuracy can satisfy the needs of many location dependent protocols and applications, such as geographical routing and tracking. </p>
      </sec>
      <sec>
        <title>5.3. Localization Error When Varying the Degree of Irregularity (DOI)</title>
        <p>Radio irregularity is a common and non-negligible phenomenon in wireless sensor networks [<xref ref-type="bibr" rid="B19-jsan-02-00025">19</xref>]. It results in irregularity in radio range and variations in packet loss in different directions, and is considered as an essential reason for asymmetric links as viewed by upper layers in the protocol stack. The parameter Degree Of Irregularity (DOI) is used to denote the irregularity of the radio pattern. It is deﬁned as the maximum radio range variation per unit degree change in the direction of radio propagation. When the DOI is set to zero, there is no range variation, resulting in a perfectly circular radio model. To get a better idea of how this DOI parameter affects signal propagation characteristics, <xref ref-type="fig" rid="jsan-02-00025-f014">Figure 14</xref> and <xref ref-type="fig" rid="jsan-02-00025-f015">Figure 15</xref> show the radio patterns generated in simulation with DOI values set to 0.05 and 0.1 respectively. The DOI model is a good start to model signal irregularity. However, it does not model interference in real devices well. Since the DOI model is based on an absolute communication range, it assumes that within the inner range, the signal is very strong and can always be received correctly, while beyond the outer range there is no signal at all. This binary pattern is not true in reality. </p>
        <p>To address the issue of radio irregularity in wireless sensor network, we utilized Radio Irregularity Model (RIM) [<xref ref-type="bibr" rid="B19-jsan-02-00025">19</xref>] in our simulation. This model bridges the discrepancy between spherical radio models used by simulators and the physical reality of radio signals and also verify the presence of radio irregularity using empirical data obtained from the MICA2 platform. RIM takes into account both the non-isotropic properties of the propagation media and the heterogeneous properties of devices. </p>
        <p>In isotropic radio models, the received signal strength is usually represented with the following formula: 
        <disp-formula>
        <italic>ReceivedSignalStrength</italic> = <italic>SendingPower</italic> - <italic>PathLoss</italic> + <italic>Fading</italic><label>(9)</label>
        </disp-formula>
        </p>
        
        <p>To reﬂect the two main properties of radio irregularity, namely non-isotropic and continuous variation, RIM adjusts the value of path loss models in (9) based on DOI values, resulting in the following formula: 
        <disp-formula><italic>ReceivedSignalStrength</italic> = <italic>SendingPower</italic> - <italic>DOIAdjustedPathLoss</italic> + <italic>Fading</italic><label>(10)</label></disp-formula>
       <disp-formula>
        <italic>DOIAdjustedPathLoss</italic> = <italic>PathLoss</italic>× <italic>K<sub>i</sub></italic>  <label>(11)</label> </disp-formula></p>
        <p>Here <italic>K<sub>i</sub></italic>  is a coefﬁcient to represent the difference in path loss in different directions. Speciﬁcally, <italic>K<sub>i</sub></italic>  is the <italic>i<sup>th</sup></italic> degree coefﬁcient, which is calculated in the following way: 
        <disp-formula id="jsan-02-00025-i020">
<inline-graphic xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="jsan-02-00025-i020.tif"/><label>(12)</label>
</disp-formula>

        </p>
        <p>where ∥<italic>K<sub>0</sub></italic> −<italic>K</italic><sub>359</sub>∥ ≤ <italic>DOI</italic> </p>
        <p>It is possible to generate 360 <italic>K<sub>i</sub></italic> values for the 360 different directions, based on (12), by randomly ﬁxing a direction as the starting direction represented by <italic>i</italic> =0. For the direction that does not have an integer value of angle from the start direction, the interpolation of the <italic>K<sub>i</sub></italic> value has been taken based on the values of the two adjacent directions that have integer angles from the starting direction. </p>
       <p> <disp-formula><italic>K<sub>i</sub></italic> = <italic>K<sub>s</sub></italic> +(<italic>i</italic>−<italic>s</italic>) × (<italic>K<sub>t</sub></italic> −<italic>K<sub>s</sub></italic>) <label>(13)</label> </disp-formula>
      where, <italic>s</italic>= ⎣<italic>i</italic>⎦ ∧<italic>t</italic> = ⌈<italic>i</italic>⌉ <italic>mod</italic>360 ∧ 0 &lt; <italic>i</italic> &lt; 360 ∧ <italic>i</italic> <inline-graphic xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="jsan-02-00025-i021.tif"/> <italic>N</italic> </p>
        <p>The variance of received signal strength in RIM in different directions ﬁts the Weibull [<xref ref-type="bibr" rid="B20-jsan-02-00025">20</xref>] distribution. The Weibull distribution can be used to model natural phenomena such as variation of wind speed, scattering of radiation, <italic>etc</italic>. The Rayleigh distribution, which is commonly used for modeling multi-path fading in wireless communication, is a special case of the Weibull distribution. </p>
        <p>Due to the difference in hardware calibration and battery status, received signal strength can be different from two sending nodes of the same type. RIM introduces a second parameter named VSP (Variance of Sending Power), which is deﬁned as the maximum percentage variance of the signal sending power among different devices, to account for such a difference. The new signal sending power is modeled by the following equation: 
        
        <disp-formula><italic>VSPAdjustedSendingPower</italic> = <italic>SendingPower</italic> × (1 + <italic>Rand </italic>× <italic>VSP</italic>) <label>(14)</label> </disp-formula></p>
        <p>Thus with the two parameters, DOI and VSP, the RIM model can be formulated as follows: 
        
         <disp-formula><italic>ReceivedSignalStrength</italic> = <italic>VSPAdjustedSendingPower</italic> −<italic> DOIAdjustedPathLoss</italic> + <italic>Fading</italic> <label>(15)</label> </disp-formula></p>
        <p>With the help of the RIM model, we explore the impact of radio Irregularity of our proposed algorithm (DPAI). </p>
        <p>In this experiment, we investigate the impact of irregular radio patterns on the precision of localization estimation. It is intuitive that irregular radio patterns can affect the network topologies resulting in irregular hop count distributions. We can see, in <xref ref-type="fig" rid="jsan-02-00025-f010">Figure 10</xref>, how this inaccurate estimate directly contributes to localization error as the DOI increases. When DOI increases, it means the number of neighbors around a sensor node decreases, and as a result it is very likely that the shortest transmission path from one sensor node to another is more detoured than before. In that case our algorithm shows more robustness than other algorithms because of the angular value based average hop distance calculation. Our algorithm adapts to different detoured transmission path according to dynamic value of the angle and thus calculates the distance between an anchor node and a sensor node more accurately. <xref ref-type="fig" rid="jsan-02-00025-f010">Figure 10</xref> shows the localization error when varying DOI in isotropic network when the sensor density is 16. Obviously, in anisotropic network, which itself provides additional radio irregularity in the form of different obstacle shapes, more localization errors will be introduced as the DOI increases. </p>
      </sec>
    </sec>
    <sec sec-type="conclusions" id="sec6-jsan-02-00025">
      <title>6. Conclusions</title>
      <p>Locating sensors is necessary for many location dependent applications in WSNs. The existing range-free schemes suffer from poor localization accuracy when sensor density and the numbers of anchor nodes are low. Without the help of a large number of uniformly deployed anchor nodes and higher sensor density, those schemes fail in isotropic as well as in anisotropic WSNs. We have proposed a novel localization algorithm based on angular information of the detour path that improves the basic DV-Hop algorithm as well as three other existing algorithms, particularly when the network is anisotropic as well as isotropic. In particular, a DPAI scheme, proposed in this paper, performs best when irregular radio patterns, low sensor density and random node placement are considered. The localization error of our proposed algorithm is decreased signiﬁcantly by using the angular information of the curved transmission path between two anchor nodes in such a way that we can calculate the average hop distance more accurately. Thus DPAI achieves better performance even with few number of anchor nodes, which implies the cost effectiveness of our algorithm in both isotropic and anisotropic network condition. The extensive simulation results in isotropic, O-shape and C-shape network prove the effectiveness of our proposed algorithm. We believe that our design of DPAI algorithm for both anchors and sensors will make the range-free localization schemes more practical for ad-hoc networks and WSNs. </p>
    </sec>
  </body>
  <back>
    <ref-list>
      <title>References</title>
      <ref id="B1-jsan-02-00025">
        <label>1.</label>
        <citation citation-type="confproc">
          <person-group person-group-type="author">
            <name>
              <surname>Paul</surname>
              <given-names>A.K.</given-names>
            </name>
            <name>
              <surname>Sato</surname>
              <given-names>T.</given-names>
            </name>
          </person-group>
          <article-title>Effective Data Gathering and Energy Efficient Communication Protocol in Wireless Sensor Network</article-title>
          <source>Proceedings of the Wireless Personal Multimedia Communication (WPMC’11)</source>
          <conf-loc>Brest, France</conf-loc>
          <conf-date>3–7 October 2011</conf-date>
          <fpage>1</fpage>
          <lpage>5</lpage>
        </citation>
      </ref>
      <ref id="B2-jsan-02-00025">
        <label>2.</label>
        <citation citation-type="confproc">
          <person-group person-group-type="author">
            <name>
              <surname>He</surname>
              <given-names>T.</given-names>
            </name>
            <name>
              <surname>Huang</surname>
              <given-names>C.</given-names>
            </name>
            <name>
              <surname>Blum</surname>
              <given-names>B.M.</given-names>
            </name>
            <name>
              <surname>Stankovic</surname>
              <given-names>J.A.</given-names>
            </name>
            <name>
              <surname>Abdelzaher</surname>
              <given-names>T.</given-names>
            </name>
          </person-group>
          <article-title>Range-Free Localization Schemes for Large Scale Sensor Networks</article-title>
          <source>Proceedings of the ACM MobiCom</source>
          <conf-loc>San Diego, CA, USA</conf-loc>
          <conf-date>14–19 September 2003</conf-date>
          <fpage>81</fpage>
          <lpage>95</lpage>
        </citation>
      </ref>
      <ref id="B3-jsan-02-00025">
        <label>3.</label>
        <citation citation-type="confproc">
          <person-group person-group-type="author">
            <name>
              <surname>Wang</surname>
              <given-names>Y.</given-names>
            </name>
            <name>
              <surname>Wang</surname>
              <given-names>X.</given-names>
            </name>
            <name>
              <surname>Wang</surname>
              <given-names>D.</given-names>
            </name>
            <name>
              <surname>Agarwal</surname>
              <given-names>D.P.</given-names>
            </name>
          </person-group>
          <article-title>Localization Algorithm Using Expected Hop Progress in Wireless Sensor Networks</article-title>
          <source>Proceedings of the Third IEEE Int’l Conf. Mobile Ad Hoc and Sensor Systems (MASS’06)</source>
          <conf-loc>Vancouver, Canada</conf-loc>
          <conf-date>9–12 October 2006</conf-date>
          <fpage>348</fpage>
          <lpage>357</lpage>
        </citation>
      </ref>
      <ref id="B4-jsan-02-00025">
        <label>4.</label>
        <citation citation-type="journal">
          <person-group person-group-type="author">
            <name>
              <surname>Xiao</surname>
              <given-names>B.</given-names>
            </name>
            <name>
              <surname>Chen</surname>
              <given-names>H.</given-names>
            </name>
            <name>
              <surname>Zhou</surname>
              <given-names>S.</given-names>
            </name>
          </person-group>
          <article-title>Distributed localization using a moving beacon in wireless sensor networks</article-title>
          <source>IEEE Trans. Parallel Distrib. Syst.</source>
          <year>2008</year>
          <volume>19</volume>
          <fpage>587</fpage>
          <lpage>600</lpage>
          <pub-id pub-id-type="doi">10.1109/TPDS.2007.70773</pub-id>
        </citation>
      </ref>
      <ref id="B5-jsan-02-00025">
        <label>5.</label>
        <citation citation-type="journal">
          <person-group person-group-type="author">
            <name>
              <surname>Langendoen</surname>
              <given-names>K.</given-names>
            </name>
            <name>
              <surname>Reijers</surname>
              <given-names>N.</given-names>
            </name>
          </person-group>
          <article-title>Distributed localization in wireless sensor networks: A quantitative comparison</article-title>
          <source>Comput. Netw.</source>
          <year>2003</year>
          <volume>43</volume>
          <fpage>499</fpage>
          <lpage>518</lpage>
          <pub-id pub-id-type="doi">10.1016/S1389-1286(03)00356-6</pub-id>
        </citation>
      </ref>
      <ref id="B6-jsan-02-00025">
        <label>6.</label>
        <citation citation-type="confproc">
          <person-group person-group-type="author">
            <name>
              <surname>Wang</surname>
              <given-names>C.</given-names>
            </name>
            <name>
              <surname>Xiao</surname>
              <given-names>L.</given-names>
            </name>
          </person-group>
          <article-title>Locating Sensors in Concave Areas</article-title>
          <source>Proceedings of the IEEE INFOCOM</source>
          <conf-loc>Barcelona, Spain</conf-loc>
          <conf-date>23–29 April 2006</conf-date>
          <fpage>1</fpage>
          <lpage>12</lpage>
        </citation>
      </ref>
      <ref id="B7-jsan-02-00025">
        <label>7.</label>
        <citation citation-type="journal">
          <person-group person-group-type="author">
            <name>
              <surname>Xiao</surname>
              <given-names>Q.</given-names>
            </name>
            <name>
              <surname>Xiao</surname>
              <given-names>B.</given-names>
            </name>
            <name>
              <surname>Cao</surname>
              <given-names>J.</given-names>
            </name>
            <name>
              <surname>Wang</surname>
              <given-names>J.</given-names>
            </name>
          </person-group>
          <article-title>Multihop range-free localization in anisotropic wireless sensor networks: A pattern-driven scheme</article-title>
          <source>IEEE Trans. Mobile Comput.</source>
          <year>2010</year>
          <volume>9</volume>
          <fpage>1592</fpage>
          <lpage>1607</lpage>
          <pub-id pub-id-type="doi">10.1109/TMC.2010.129</pub-id>
        </citation>
      </ref>
      <ref id="B8-jsan-02-00025">
        <label>8.</label>
        <citation citation-type="journal">
          <person-group person-group-type="author">
            <name>
              <surname>Niculescu</surname>
              <given-names>D.</given-names>
            </name>
            <name>
              <surname>Nath</surname>
              <given-names>B.</given-names>
            </name>
          </person-group>
          <article-title>DV based positioning in ad hoc networks</article-title>
          <source>J. Telecommun. Syst.</source>
          <year>2003</year>
          <volume>22</volume>
          <fpage>267</fpage>
          <lpage>280</lpage>
          <pub-id pub-id-type="doi">10.1023/A:1023403323460</pub-id>
        </citation>
      </ref>
      <ref id="B9-jsan-02-00025">
        <label>9.</label>
        <citation citation-type="journal">
          <person-group person-group-type="author">
            <name>
              <surname>Gang</surname>
              <given-names>P.</given-names>
            </name>
            <name>
              <surname>Yuanda</surname>
              <given-names>C.</given-names>
            </name>
            <name>
              <surname>Limin</surname>
              <given-names>C.</given-names>
            </name>
          </person-group>
          <article-title>Study of localization schemes for wireless sensor networks</article-title>
          <source>J. Comput. Eng. Appl.</source>
          <year>2004</year>
          <volume>40</volume>
          <fpage>27</fpage>
          <lpage>83</lpage>
          <page-range>27–29, 83</page-range>
        </citation>
      </ref>
      <ref id="B10-jsan-02-00025">
        <label>10.</label>
        <citation citation-type="journal">
          <person-group person-group-type="author">
            <name>
              <surname>Chen</surname>
              <given-names>H.</given-names>
            </name>
            <name>
              <surname>Sezaki</surname>
              <given-names>K.</given-names>
            </name>
            <name>
              <surname>Deng</surname>
              <given-names>P.</given-names>
            </name>
            <name>
              <surname>So</surname>
              <given-names>H.C.</given-names>
            </name>
          </person-group>
          <article-title>An improved DV-hop localization algorithm with reduced node location error for wireless sensor networks</article-title>
          <source>IEICE Trans. Fundam.</source>
          <year>2008</year>
          <volume>E91-A</volume>
         </citation>
      </ref>
      <ref id="B11-jsan-02-00025">
        <label>11.</label>
        <citation citation-type="journal">
          <person-group person-group-type="author">
            <name>
              <surname>Ma</surname>
              <given-names>D.</given-names>
            </name>
            <name>
              <surname>Meng</surname>
              <given-names>J.E.</given-names>
            </name>
            <name>
              <surname>Wang</surname>
              <given-names>B.</given-names>
            </name>
          </person-group>
          <article-title>Analysis of hop-count-based source-to-destination distance estimation in wireless sensor networks with applications in localization</article-title>
          <source>IEEE Trans. Vehicular Technol.</source>
          <year>2010</year>
          <volume>59</volume>
          <fpage>2998</fpage>
          <lpage>3011</lpage>
          <pub-id pub-id-type="doi">10.1109/TVT.2010.2048346</pub-id>
        </citation>
      </ref>
      <ref id="B12-jsan-02-00025">
        <label>12.</label>
        <citation citation-type="journal">
          <person-group person-group-type="author">
            <name>
              <surname>Bulusu</surname>
              <given-names>N.</given-names>
            </name>
            <name>
              <surname>Heidemann</surname>
              <given-names>J.</given-names>
            </name>
            <name>
              <surname>Estrin</surname>
              <given-names>D.</given-names>
            </name>
          </person-group>
          <article-title>GPS-less low cost outdoor localization for very small devices</article-title>
          <source>IEEE Pers. Commun. Mag.</source>
          <year>2003</year>
          <volume>7</volume>
          <fpage>28</fpage>
          <lpage>34</lpage>
        </citation>
      </ref>
      <ref id="B13-jsan-02-00025">
        <label>13.</label>
        <citation citation-type="confproc">
          <person-group person-group-type="author">
            <name>
              <surname>Shang</surname>
              <given-names>Y.</given-names>
            </name>
            <name>
              <surname>Ruml</surname>
              <given-names>W.</given-names>
            </name>
          </person-group>
          <article-title>Improved MDS-Based Localization</article-title>
          <source>Proceedings of IEEE INFOCOM</source>
          <conf-loc>Hong Kong, China</conf-loc>
          <conf-date>7–11 March 2004</conf-date>
        </citation>
      </ref>
      <ref id="B14-jsan-02-00025">
        <label>14.</label>
        <citation citation-type="journal">
          <person-group person-group-type="author">
            <name>
              <surname>LIU</surname>
              <given-names>M.</given-names>
            </name>
            <name>
              <surname>BAO</surname>
              <given-names>Y.</given-names>
            </name>
            <name>
              <surname>LIU</surname>
              <given-names>H.</given-names>
            </name>
          </person-group>
          <article-title>An improvement of dv-hop algorithm in wireless sensor networks</article-title>
          <source>J. Microcomput. Inf.</source>
          <year>2009</year>
          <volume>25</volume>
          <fpage>128</fpage>
          <lpage>129</lpage>
        </citation>
      </ref>
      <ref id="B15-jsan-02-00025">
        <label>15.</label>
        <citation citation-type="journal">
          <person-group person-group-type="author">
            <name>
              <surname>Liu</surname>
              <given-names>K.</given-names>
            </name>
            <name>
              <surname>Yan</surname>
              <given-names>X.</given-names>
            </name>
            <name>
              <surname>Hu</surname>
              <given-names>F.</given-names>
            </name>
          </person-group>
          <article-title>A modified DV-Hop localization algorithm for wireless sensor networks</article-title>
          <source>IEEE ICIS</source>
          <year>2009</year>
          <volume>3</volume>
          <fpage>511</fpage>
          <lpage>514</lpage>
        </citation>
      </ref>
      <ref id="B16-jsan-02-00025">
        <label>16.</label>
        <citation citation-type="journal">
          <person-group person-group-type="author">
            <name>
              <surname>Mo</surname>
              <given-names>L.</given-names>
            </name>
            <name>
              <surname>Yunhao</surname>
              <given-names>L.</given-names>
            </name>
          </person-group>
          <article-title>Rendered path: Range-free localization in anisotropic sensor networks with holes</article-title>
          <source>IEEE Trans. Netw.</source>
          <year>2010</year>
          <volume>18</volume>
          <fpage>320</fpage>
          <lpage>332</lpage>
        <pub-id pub-id-type="doi">10.1109/TNET.2009.2024940</pub-id></citation>
      </ref>
      <ref id="B17-jsan-02-00025">
        <label>17.</label>
        <citation citation-type="confproc">
          <person-group person-group-type="author">
            <name>
              <surname>Ji</surname>
              <given-names>X.</given-names>
            </name>
            <name>
              <surname>Zha</surname>
              <given-names>H.</given-names>
            </name>
          </person-group>
          <article-title>Sensor Positioning inWireless Ad-Hoc Sensor Networks UsingMultidimensional Scaling</article-title>
          <source>Proceedings of the IEEE INFOCOM</source>
          <conf-loc>Hong Kong, China</conf-loc>
          <conf-date>7–11 March 2004</conf-date>
          <fpage>2652</fpage>
          <lpage>2661</lpage>
        </citation>
      </ref>
      <ref id="B18-jsan-02-00025">
        <label>18.</label>
        <citation citation-type="confproc">
          <person-group person-group-type="author">
            <name>
              <surname>Kleinrock</surname>
              <given-names>L.</given-names>
            </name>
            <name>
              <surname>Silvester</surname>
              <given-names>J.</given-names>
            </name>
          </person-group>
          <article-title>Optimum Transmission Radii for Packet Radio Networks or Why Six Is a Magic Number</article-title>
          <source>Proceedings of the Nat’l Telecomm Conference</source>
          <conf-loc>Birmingham, AL, USA</conf-loc>
          <conf-date>3–6 December 1978</conf-date>
          <fpage>431</fpage>
          <lpage>435</lpage>
        </citation>
      </ref>
      <ref id="B19-jsan-02-00025">
        <label>19.</label>
        <citation citation-type="confproc">
          <person-group person-group-type="author">
            <name>
              <surname>Zhou</surname>
              <given-names>G.</given-names>
            </name>
            <name>
              <surname>Tian</surname>
              <given-names>H.</given-names>
            </name>
            <name>
              <surname>Krishnamurthy</surname>
              <given-names>S.</given-names>
            </name>
            <name>
              <surname>Stankovic</surname>
              <given-names>J.A.</given-names>
            </name>
          </person-group>
          <article-title>Impact of Radio Irregularity on Wireless Sensor Networks</article-title>
          <source>Proceedings of MobiSYS’04</source>
          <conf-loc>Boston, MA, USA</conf-loc>
          <conf-date>6–9 June 1978</conf-date>
          <fpage>125</fpage>
          <lpage>138</lpage>
        </citation>
      </ref>
      <ref id="B20-jsan-02-00025">
        <label>20.</label>
        <citation citation-type="book">
          <person-group person-group-type="author">
            <name>
              <surname>Devore</surname>
              <given-names>J.L.</given-names>
            </name>
          </person-group>
          <source>Probability and Statistics for Engineering and the Sciences</source>
          <publisher-name>Brooks/Cole Publishing</publisher-name>
          <publisher-loc>Michigan, USA</publisher-loc>
          <year>1982</year>
        </citation>
      </ref>
       
    </ref-list>
  </back>
</article>
