# Patent application title: IDENTIFICATION OF THE LOCATION OF NODES DISTRIBUTED IN AD HOC NETWORKS

##
Inventors:
Atish Datta Chowdhury (Bangalore, IN)
Koushik Sinha (Bangalore, IN)

IPC8 Class: AG06F15177FI

USPC Class:
709220

Class name: Electrical computers and digital processing systems: multicomputer data transferring network computer configuring

Publication date: 2013-09-26

Patent application number: 20130254355

Sign up to receive free email alerts when patent applications with chosen keywords are published SIGN UP

## Abstract:

A location of node i in a network having a plurality of nodes is
identified by intersecting regions that are guaranteed to contain the
node i with respect the other nodes that are neighbors of the node i and
iteratively minimizing the size of the intersection region containing the
node i.## Claims:

**1.**A method of identifying a location of a first node in a network having a plurality of nodes comprising: receiving a location of a region that is guaranteed to contain the first node, wherein the receiving of a location of a region that is guaranteed to contain the first node comprises receiving a region of a second node that was extended by a measured range value r

_{ij}, wherein the second node is within the transmission range of the first node, and wherein r

_{ij}is based on a range between first and second nodes; determining a region of residence of the first node based on the region that is guaranteed to contain the first node, wherein the region of residence has a size; and, iteratively minimizing the size of the region of residence of the first node.

**2.**The method of claim 1 wherein the iteratively minimizing of the size of the region of residence of the first node terminates when the minimum region of residence of the first node is not improved as a result of an iteration.

**3.**The method of claim 1 wherein the determining of the region of residence of the first node comprises determining a minimum region of residence of the first node based on a viewed region of residence of the first node and a previously determined minimum region of residence of the first node.

**4.**The method of claim 3 wherein the iteratively minimizing of the size of the region of residence of the first node terminates when the minimum region of residence of the first node is not improved as a result of an iteration.

**5.**(canceled)

**6.**The method of claim 1 wherein the iteratively minimizing of the size of the region of residence of the first node comprises: determining a region of residence of a third node in the view of the first node, wherein the third node is within a transmission range of the first node; and, transmitting to the third node the region of residence of the third node in the view of the first node.

**7.**The method of claim 6 wherein the iteratively minimizing of the size of the region of residence of the first node terminates when the minimum region of residence of the first node is not improved as a result of an iteration.

**8.**The method of claim 6 wherein the determining of the region of residence of the first node comprises determining a minimum region of residence of the first node based on a viewed region of residence of the first node and a previously determined minimum region of residence of the first node.

**9.**The method of claim 8 wherein the iteratively minimizing of the size of the region of residence of the first node terminates when the minimum region of residence of the first node is not improved as a result of an iteration.

**10-20.**(canceled)

## Description:

**TECHNICAL FIELD OF THE INVENTION**

**[0001]**The present invention relates to locating nodes in networks such as ad hoc networks.

**BACKGROUND OF THE INVENTION**

**[0002]**Typically, the nodes of an ad hoc network are randomly and arbitrarily deployed in such a manner that their locations are not necessarily known a priori. For example, wireless sensors are often deployed in ad hoc networks and are used for sensing, detection, and tracking. Such networks are being applied in military, ecological, environmental, and domestic systems for monitoring and/or control. Wireless sensor networks are also being used to automate buildings, universities, factories, etc. Because of the ad hoc nature of these networks, few assumptions can be made about their topologies.

**[0003]**Further, in some cases, the nodes of a network can change locations with varying or constant frequency. A network comprised of such mobile nodes is typically referred to as a mobile network.

**[0004]**Most location estimation systems locate the nodes in mobile and ad hoc networks by trilaterating and/or triangulating signals received by the nodes in order to obtain an estimate of the node's position.

**[0005]**A LOS (line-of-sight) path or direct path is the straight line connecting the transmitter and the receiver. NLOS (non-line-of-sight) signals occur due to multi-path conditions in which the received signals have followed reflected, diffracted, and/or scattered paths. Such signals introduce excess path lengths in the actual Euclidian distance between the transmitting nodes and the receiving nodes. Thus, an NLOS error is introduced in the trilateration and/or triangulation and is defined to be the excess distance traversed compared to the distance traversed along the direct path. This excess distances is always positive. The corruption of LOS signals by NLOS signals and also by Gaussian measurement noise are the major sources of error in all location estimation systems.

**[0006]**The Global Positioning System (GPS) is perhaps the most widely publicized location-sensing system. Unfortunately, GPS does not scale well in dense urban areas or in indoor locations.

**[0007]**Also, modeling of the radio propagation environment helps in providing a more accurate location estimate by mitigating the effect of NLOS errors. While reasonably accurate radio propagation models exist for outdoor conditions, there are unfortunately no such unanimously accepted models for indoor environments. Attempts have been made to mitigate the effects of NLOS errors. However, in the absence of a suitable model for predicting the location of a mobile terminal, it is possible that the node may be far away from its estimated location.

**[0008]**Therefore, rather than implementing location prediction as described above, the problem of discovering the location of a node might instead be considered in terms of finding the geographical region in which a node is guaranteed to be found and of then reducing or minimizing the size of this region.

**[0009]**It can be assumed that a small percentage of the terminals (nodes) in the network know their locations with a high degree of accuracy--such as by using GPS or by some other means. Such nodes may be termed reference nodes. A distributed algorithm can implement computational geometric techniques in order to compute the smallest region within which a node is guaranteed to be found, based on all non-reference nodes in the network.

**[0010]**In addition, the location of the regions containing the nodes in the network can be improved through the exchange of location information between the neighbor nodes in O(nD) time, where n and D are the number of nodes and diameter of the network, respectively.

**[0011]**The present invention, therefore, is directed to a system and/or method for finding the geographical region in which a node is guaranteed to be found. The present invention, for example, can implement one or more of the features discussed above, such as minimizing the size the a region in which a node is located.

**SUMMARY OF THE INVENTION**

**[0012]**According to one aspect of the present invention, a method of identifying a location of a node i in a network having a plurality of nodes comprises the following: receiving a location of a region that is guaranteed to contain the node i, wherein the determining of a location of a region is based on range information obtained with respect to other nodes in a neighborhood of the node i; determining a region of residence of the node i based on the region that is guaranteed to contain the node i, wherein the region residence has a size; and, iteratively minimizing the size of the region of residence of the node i.

**[0013]**According to another aspect of the present invention, a computer readable storage medium has program code stored thereon which, when executed, identifies a location of node i in a wireless network having a plurality of nodes by performing the following functions: a) receiving a location of a first region from a node j, wherein the first region is guaranteed to contain the node i, wherein the first region has a size, wherein the size of the first region is dependent upon a range between the nodes i and j, and wherein the node j is within a transmission range of the node i; b) receiving a location of a second region from a node k, wherein the second region is guaranteed to contain the node i, wherein the second region has a size, wherein the size of the second region is dependent upon a range between the nodes i and k, and wherein the node k is within a transmission range of the node i; c) receiving a location of a third region from a node l, wherein the third region is guaranteed to contain the node i, wherein the third region has a size, wherein the size of the third region is dependent upon a range between the nodes i and l, and wherein the node l is within a transmission range the node i; d) determining a minimum region of residence of the node i from an intersection of the first, second, and third regions; and, e) iteratively reducing the size of the minimum region of residence of the node i.

**BRIEF DESCRIPTION OF THE DRAWINGS**

**[0014]**These and other features and advantages will become more apparent from a detailed consideration of the invention when taken in conjunction with the drawings in which:

**[0015]**FIG. 1 illustrates a network comprising a plurality of nodes which are configured in accordance with an embodiment of the present invention;

**[0016]**FIG. 2 illustrates a representative one of the nodes of the sensor network shown in FIG. 1; and,

**[0017]**FIG. 3 shows a triangular region of residence ABC for a node v of an ad hoc network;

**[0018]**FIG. 4 demonstrates a probable situation where the triangles ΔABC and ΔDEF define the region of residence of nodes i and j, respectively, and PQRS defines the region of residence of node k;

**[0019]**FIG. 5 is similar to FIG. 2 but with additional information;

**[0020]**FIG. 6 is useful in explaining the present invention;

**[0021]**FIGS. 7, 8, and 9 show a flow chart illustrating a program executed by each node to determine its minimum region of residence.

**DETAILED DESCRIPTION**

**[0022]**FIG. 1 shows a network 10 comprising nodes 12

_{1}, . . . 12

_{m}-6, 12

_{m}-5, 12

_{m}-4, 12

_{m}-3, 12

_{m}-2, 12

_{m}-1, 12

_{m}, 12

_{m}+1, 12

_{m}+2, 12

_{m}+3, 12

_{m}+4, 12

_{m}+5, 12

_{m}+6, . . . , 12

_{n}. The network 10, for example, may be a sensor network such as a wireless sensor network, and the nodes 12

_{1}, . . . , 12

_{m}-6, 12

_{m}-5, 12

_{m}-4, 12

_{m}-3, 12

_{m}-2, 12

_{m}-1, 12

_{m}, 12

_{m}+1, 12

_{m}+2, 12

_{m}+3, 12

_{m}+4, 12

_{m}+5, 12

_{m}+6, . . . , 12

_{n}, for example, may be sensor nodes such as wireless sensor nodes. However, the network 10 can be any other type of network, and the nodes 12

_{1}, . . . , 12

_{m}-6, 12

_{m}-5, 12

_{m}-4, 12

_{m}-3, 12

_{m}-2, 12

_{m}-1, 12

_{m}, 12

_{m}+1, 12

_{m}+2, 12

_{m}+3, 12

_{m}+4, 12

_{m}+5, 12

_{m}+6, . . . , 12

_{n}can be nodes other than wireless sensor nodes.

**[0023]**In the case where the network 10 is a wireless network, the links between the nodes 12

_{1}, . . . , 12

_{m}-6, 12

_{m}-5, 12

_{m}-4, 12

_{m}-3, 12

_{m}-2, 12

_{m}-1, 12

_{m}, 12

_{m}+1, 12

_{m}+2, 12

_{m}+3, 12

_{m}+4, 12

_{m}+5, 12

_{m}+6, . . . , 12

_{n}are wireless links such as infrared links, ultrasonic links, RF links, optical links, or any other type of wireless link. Alternatively, in a case where the network 10 is not a wireless network, these links may be provided by electrical wires, optical fiber cables, or other physical connections between the nodes.

**[0024]**As shown in FIG. 1, each of the nodes may be in direct communication with one or more other nodes and may be in indirect communication with one or more of the remaining nodes. For example, because of range limitations or otherwise, the node 12

_{m}-3 is in direct communication with the nodes 12

_{m}-6, 12

_{m}, and 12

_{m}+1, and is in indirect communication with other nodes such as the nodes 12

_{m}-2 and 12

_{m}-5 through node 12

_{m}-6. The nodes 12

_{m}-6, 12

_{m}, and 12

_{m}+1 may be considered to be within the view of the node 12

_{m}-3 because they are in direct communication with the node 12

_{m}-3. However, other nodes such as the nodes 12

_{m}-4, 12

_{m}-1, and 12

_{m}+4 are considered to be in indirect communication with the node 12

_{m}-3 because they can communicate with the node 12

_{m}-3 only through other nodes.

**[0025]**As shown in FIG. 2, the node 12, which, for example, may be individually representative of the nodes shown in FIG. 1, includes a computer 14, a memory 16, and a network transceiver 18. Alternatively, the computer 14 may be a processor or a computer/data processor combination. Accordingly, the word computer is used generically herein.

**[0026]**The network transceiver 18 permits communication between the node 12 and the other nodes in the network 10. For example, in the case where the network 10 is a wireless network, the transceiver 18 supports communication with the nodes of the node 12 in which it views, and the communications transmitted or received by the network transceiver 18 can be wireless communications over wireless links as discussed above. Alternatively, in the case where the network 10 is not a wireless network, the communications transmitted or received by the network transceiver 18 can be communications over physical or other links.

**[0027]**In the case where the node 12 is a sensor node, the node 12 also includes a sensor 20. If the sensor 20 is an analog sensor, an A/D converter 22 is provided to convert the analog signal from the sensor 20 to a digital signal for processing by the computer 14. The sensor 20 can be any sort of sensor suitable for the particular application of the network 10. A power unit 24 is supplied with power from a power generator 26, and provides power to and supports communication between the computer 14, the memory 16, the network transceiver 18, and the A/D converter 22. The power generator 26 can be a battery, a power supply, or any other type device capable of providing appropriate power for the node 12.

**[0028]**If the network 10 is a wireless sensor network, the node 12 has a communication radius in addition to a sensing radius. The communication radius defines a distance over which the node 12 is capable of effectively communicating with the neighbor nodes in its view. The sensing radius defines a distance over which the sensor 20 of the node 12 is capable of effectively sensing a condition. The communication radius of the node 12 should be at least as great as the sensing radius of the sensor 20 of the node 12. Each of the other nodes of the network may be similarly constructed. Moreover, each node 12 of the network 10 should have at least one other node 12 within its communication radius. These relationships ensure that each of the nodes 12 of the network 10 is able to communicate any condition that it senses to at least one neighbor node in the network 10. If desired, the communication radius of the node 12 can be twice the sensing radius of the sensor 20 of the node 12.

**[0029]**An ad hoc network such as the network 10 may be modeled as a graph G=(V,E) consisting of n nodes, where V is the set of all nodes |V|=n, and E is the set of edges in the graph G. The nodes may be either stationary or mobile. All communication links are assumed to be bi-directional, although this assumption is not required. Node v can be considered to be a neighbor of node u if nodes v and u are within each other's transmission range. The neighborhood of a node i is designated N(i) and includes all nodes within its transmission range.

**[0030]**A small percentage of the nodes in the graph G are assumed to know their individual locations with a high degree of precision, either through the use of GPS or some other means. These nodes are designated as RNs and serve as reference nodes in the network. Initially, all nodes other than the reference nodes do not possess any knowledge of their location. The reference nodes are assumed to possess point locations (zero area regions) while the non-reference nodes are initially assumed to reside in a region of infinite size. However, in practice, the reference nodes can have any arbitrarily shaped location regions. The set of reference nodes is denoted as Ref

_{u}=:{u:uεV, u is a reference node}.

**[0031]**The measured range between two nodes u and v is given by the following equation:

**r**

_{uv}=d

_{uv}+η

_{uv}+cτ

_{uv}(1)

**where d**

_{uv}represents the unknown Euclidian distance between u and v, η

_{uv}completely models the combined additive effects of thermal receiver noise, signal bandwidth, and the signal-to-noise ratio, c is the speed of light through air, and cτ

_{uv}represents the NLOS distance error and is usually the dominant error contributor to the measured range. The quantity η

_{uv}has been shown to be a zero-mean normal random variable and, hence, can be either measured or pre-computed. It is assumed that η

_{uv}is always additive.

**[0032]**The set RR is defined as the set of all such measured ranges for all node-pairs in the network, i.e., RR={r

_{ij}:r

_{ij}εE, .A-inverted.i, jεV}. Also, the set RR

_{i}is defined as the set of all measured ranges for all node-pairs containing the node i, i.e., RR

_{1}={r

_{ij}, jεN(i)} where, as discussed above, N(i) is the neighborhood of the node i.

**[0033]**According to one embodiment of the present invention, triangulation can be used to compute the region where a node is guaranteed to be found.

**[0034]**Definition 1. The region of residence R

_{i}of a node i is defined to be the region where i is guaranteed to be found.

**[0035]**The region of residence of a reference node is assumed to be a point location having zero area. All other nodes have a region of residence of non-zero finite area. The objective is to find the region of residence of a node i having a minimum area.

**[0036]**Lemma 1: The range measurements obtained for a node u from a neighbor node v such that vεN(u) is always be greater than or equal to the Euclidian distance between nodes u and v.

**[0037]**Proof: The proof of Lemma 1 follows directly from equation (1).

**[0038]**Given two nodes u and v and a range measurement r

_{uv}from node v to node u, the region of residence of node u in the view of node v is the region formed by extending the region of residence R

_{v}of node v in every direction by the measured range value r

_{uv}. This operation is denoted by the operator ⊕, whose left operand is a region of residence and whose right operand is a range value. Thus, the region of residence of node u in the view of node v is R

_{uv}=R

_{v}⊕r

_{uv}. R

_{v}is denoted as the viewed region of residence of node u.

**[0039]**For example, FIG. 3 shows a triangular region of residence ABC for node v. The range of node u measured by node v is r

_{uv}. A line A'B' may be drawn parallel to AB at a distance r

_{uv}from AB and on the opposite side of point C such that AA'B'B forms a rectangle. Similarly, a line B''C' may be drawn parallel to BC on the side opposite to that of point A at a distant r

_{uv}from BC so as to form a rectangle BB''C'C, and also a line C''A'' may be drawn parallel to CA on the side opposite to that of point B at a distant r

_{vv}from CA so that CC'' A''A is a rectangle.

**[0040]**Then, with point A as a center, a circular arc of radius r

_{uv}can be drawn so as to cut the lines A'B' and C''A'' at points A' and A'', respectively. Similarly, two other circular arcs of radius r

_{uv}can be drawn as follows: i) with point B as a center so as to cut the lines A'B' and B''C' at points B' and B'', respectively, and ii) with point C as a center so as to cut the lines C'B'' and C''A'' at points C' and C'', respectively. The closed convex region A' B'B''C' C''A'' is i.e., the region of residence of node u in the view of node v.

**[0041]**It may be mentioned here that the region R

_{uv}can also be viewed as the Minkowski's sum of the region of residence R of the node v and a circle of radius r

_{uv}centered at the origin. It may be assumed that the initial regions of residence of all nodes are bounded either by straight line segments or by circular arcs. Hence, the region R

_{uv}will also be bounded by straight line segments and/or circular arcs only.

**[0042]**Accordingly, Lemma 2: Node u is guaranteed to be found at some location inside R

_{uv}.

**[0043]**Theorem 1: The current minimum region of residence R

_{u}of a node u, based on the information from its neighbors, is the region formed by the intersection of the viewed regions of residence R

_{ui}, iεN(u), i.e.,

_{u}=∩

_{i}εN(u)R

_{ui}.

**[0044]**Proof: The proof follows from Lemma 2 because the common intersection region is the smallest region that satisfies Lemma 2 for all neighbors iεN(u). This current minimum region of residence may subsequently be refined (contracted in size) by improved viewed regions of residences from its neighbors.

**[0045]**Theorem 2: The minimum region of residence of a node u that is designated

_{u}and that is based on the information from its neighbors cannot subsequently be made larger by an altered viewed region of residence R

_{ui}from any neighbor i.

**[0046]**Proof: The proof follows directly from Theorem 1.

**[0047]**To find the minimum region in which a node resides, an algorithm can be arranged to proceed in essentially two steps. Every node in the network determines its current minimum region in which it resides by ranging with each of its neighbor nodes. Then, once each node has determined its current minimum region of residence, it attempts to improve the regions of residence of each neighbor node, using its own region of residence and the range measurements that it obtained from its neighbor nodes.

**[0048]**For example, a node u with three neighbor nodes i, and k can be considered. FIG. 4 demonstrates a probable situation where the triangles ΔABC and ΔDEF define the region of residence of nodes i and j, respectively, and PQRS is the region of residence of node k. For simplicity, it may be assumed that the regions of residence are polygons. However, this assumption is not required. The range measurements that node u obtains by ranging with nodes i, j, and k may be denoted as r

_{1}u, r

_{2}u, and r

_{3}u, respectively.

**[0049]**According to the view of node i, node u lies in the region R

_{ui}dictated by the shape A'B'B''C'C''A'' as demonstrated in connection with FIG. 1. Similarly, D'E'E''F'F''D'' and P'Q'Q''R'R''S'S''P'' define the regions of residence R

_{uj}and R

_{uk}of node u in the views of the nodes j and k, respectively. Following Theorem 1, the shaded region LMN is the intersection of the regions of residence R

_{ui}, R

_{uj}, and R

_{uk}, is designated

_{u}, and defines the minimum region of residence of node u where u is guaranteed to be found.

**[0050]**Once the minimum region of residence of node u is found, node u then tries to refine the minimum region of residence of a neighbor node v, .A-inverted.vεN(u), using

_{u}and the corresponding measured range r

_{uv}from v. A new minimum region of residence of node v, '

_{v}, is defined as the intersection of the viewed region of residence R

_{vu}of node v as viewed by node u and the current minimum region of residence

_{v}of node v.

**[0051]**As shown in FIG. 5, region LMN defines the minimum region of residence of node u and the measured range from node k to node u is r

_{3}u. The region defined by the dotted lines L'M'N' is the viewed region of residence R

_{ku}of node k by node u. The region UN'VQ is the intersection between regions PQRS and L'M'N' and is the current minimum region of residence of node k. Following Theorem 1, the new minimum region of residence of node k is the region UN'VQ. Node u tries to similarly improve regions of residence of nodes i and j using the measured ranges r

_{1}u and r

_{2}u and its minimum region of residence

_{u}.

**[0052]**A careful scrutiny of FIG. 4 in the above example reveals that the part of the boundary of the region of residence of node k which causes a computational improvement in the region of residence for node u, and the part of the boundary of the region of residence for node k which is refined (improved) due to this computed part of the region of residence for u, are mutually disjoint. This observation holds even if the node k would have an initial region of residence of a different shape.

**[0053]**Lemma 3: Given a minimum region of residence

_{u}for a node u, and given a measured range r

_{uv}from a neighbor node v, the improved minimum region of residence R

_{v}for node v is given by the intersection of the viewed region of residence R

_{vu}for node v by node u and the current minimum region of residence R

_{v}for node V. Accordingly, the improved minimum region of residence R

_{v}for node v is given by the following expression:

**'**

_{v}=

_{v}∩R

_{vu}(2)

**[0054]**Proof: The proof follows directly from lemma 2 and theorem 1.

**[0055]**From Lemma 3, R'

_{v}.OR right.

_{v}. The improved region of residence R'

_{v}for node v is generated by introducing some extra arc and/or straight line segments on the region of residence R

_{v}due to the region computation initiated by the node u. These set of new arcs and straight line segments may be denoted as E

_{u}

^{v}. Each element of E

_{u}

^{v}either is parallel to some boundary edge of R

_{u}or is a circular arc of a circle with radius r

_{vu}centered at some vertex on the boundary of R

_{u}.

**[0056]**If there is a path in the network starting from a node u

_{0}to some node u

_{k}given by u

_{0}u

_{1}u

_{2}. . . u

_{k}, and if u

_{0}initiates its region computation by its neighbors and determines its region of residence R

_{u0}based on regions supplied by these neighbors, then R

_{u0}may cause an improvement in the determination of the minimum region of residence for node u

_{1}. This improvement, in turn, may cause an improvement in the minimum region of residence for node u

_{2}, and so on, so that the process of region refinements may successively follow through the nodes u

_{1}, u

_{2}, . . . , u

_{k}. In particular, if it is now assumed that u

_{k}=u

_{0}, i.e., u

_{0}u

_{1}u

_{2}. . . u

_{k}is a cycle, then this process of successive minimum region of residence refinements will not be able to further refine the minimum region of residence R

_{uo}for node u

_{0}after a finite number of steps. The following analysis establishes this assertion as true.

**[0057]**Let E

_{u}

_{0}

^{u}

^{1}denote the set of newly introduced lines and/or arcs on the boundary of the minimum region of residence for node u

_{1}due to the region computation for node u

_{0}caused by all the immediate neighbors of u

_{0}. The changed region R'

_{u1}of node u

_{1}due to E

_{u0}

^{u1}may cause a change in R

_{u2}by introducing some new lines and/or arcs which we denote by the set E

_{u0},u1

^{u}2. In general, the set of newly added lines and/or arcs in the region of u

_{j}, 1≦j≦k, is denoted as E

_{u0}, u1, . . . , u

_{j}-1

^{uj}. Because of the properties of Minkowski's sum of R'

_{u}

_{j}-1 and a circle of radius r

_{u}

_{j}-1,u

_{j}(the range value between nodes u

_{j}-1 and u

_{j}) with center at the origin, it can be seen that for any j, 1≦j≦k, two possible cases may arise.

**[0058]**Case 1: A line segment (arc) in E

_{u0}, u1, . . . , u

_{j}-1

^{uj}is parallel to some line segment (arc) in E

_{u}

_{0}.sub., u

_{1}.sub., . . . , u

_{j}-2

^{u}

^{j}-1 (for j>1) or in R

_{u}

_{0}(for j=1).

**[0059]**Case 2: An arc in E

_{u}

_{0}.sub., u

_{1}.sub., . . . , u

_{j}-1

^{u}

^{j}is i) not parallel to any arc in E

_{u}

_{0}.sub., u

_{1}.sub., . . . , u

_{j}-2

^{u}

^{j}-1 (for j>1) or in R'' (for j=1), ii) but is an arc of a circle with radius r

_{u}

_{j}-1.sub.,u

_{j}having a center at one point on the region R'

_{u}

_{j}-1 which is the point of intersection of two different arcs or two different line segments or an arc and a line segment, at least one of which must be in E

_{u}

_{0}.sub., u

_{1}.sub., . . . , u

_{j}-2

^{u}

^{j}-1 (for j>1) or in R

_{u}

_{0}for (j=1).

**[0060]**The above is illustrated in FIG. 6 where the arcs α and β on R'

_{u}

_{j}-1 and R'

_{u}

_{j}, respectively, are parallel to each other, while the arc γ on R'

_{u}

_{j}is derived from the point Q on R'

_{u}

_{j}-1 (with Q as center and having a radius equal to r

_{u}

_{j}-1.sub.,u

_{j}). It can also be seen from FIG. 6 that, for every point on R'

_{u}

_{j}, there exists a unique point on R'

_{u}

_{j}-1 from which this point was derived. Thus, for the point T on R'

_{u}

_{j}, the corresponding point on R'

_{u}

_{j}-1 is Q, which is transitively derived from a point P on R

_{u}

_{0}.

**[0061]**Lemma 4: Let T be any point on E

_{u0}, u1, . . . , u

_{j}-1

^{uj}, and let P be the corresponding point on R

_{u}

_{0}from which T was derived. The Euclidean distance PT is always greater than or equal to the maximum of all (r

_{u}

_{j}-1.sub.,u

_{j}, .A-inverted.j, 1≦j≦k).

**[0062]**Proof: Lemma 4 can be proven by induction on Lemma 4 is trivially true for j=l. Let it be supposed that Lemma 4 is true for j=1, 2, . . . , j-1. For j≧1, the Euclidean distance PQ shown in FIG. 4 is then greater than or equal to the maximum of (r

_{u}

_{0}.sub.,u

_{1}, r

_{u}

_{1}.sub.,u

_{2}, . . . , r

_{u}

_{j}-2.sub.,u

_{j}-1). Now, if the point T is on an arc or line segment in E

_{u0}, u1, . . . , u

_{j}-1

^{uj}parallel to an arc or line segment in E

_{u0}, u1, . . . , u

_{j}-2

^{u}

^{j}-1, then the Euclidean distance PT=PQ+QT, from which QT=r

_{u}

_{j}-1.sub.,u

_{j}results. If, however, the point T is not on an arc/line segment in E

_{u0}, u1, . . . , u

_{j}-1

^{uj}parallel to any arc/line segment in E

_{u0}, u1, . . . , u

_{j}-2

^{u}

^{j}-1, then the corresponding point Q on R'

_{u}

_{j}-1 from which T is derived must be the point of intersection of two different arcs and/or line segments, as explained above. Without loss of generality, Q may be designated as the point of intersection of two arcs α and δ in E

_{u0}, u1, . . . , u

_{j}-2

^{u}

^{j}-1 as shown in FIG. 6. The arc δ is mapped to the parallel arc η in E

_{u0}, u1, . . . , u

_{j}-1

^{uj}. If the arcs γ and η intersect at the point T', the line QT' is normal to the tangent to the arc δ. It follows that ΔPQT is an obtuse-angled triangle with the obtuse angle at point Q, which implies that the distance PT is greater than either of PQ and QT, and hence Lemma 4 follows.

**[0063]**Thus, it can be seen that the part of the region boundary of a neighbor node u

_{j}of node u

_{0}, .A-inverted.j, 1≦j≦k which gets modified (refined) due to the region computation initiated by node u

_{0}, is always at a distance greater than or equal to r

_{u}

_{o}.sub.,u

_{1}from the corresponding part of the region R

_{uo}which caused this refinement of the region R

_{u}

_{j}. Hence, the following important Theorem 3 results, which guarantees the termination of the successive refinement algorithm.

**[0064]**Theorem 3: If a node u initiates its region computation with the help of range readings from all of its neighbor nodes, the computed region R

_{u}of node u may cause refinements of the successive neighbors through the whole network, but it will never be able to further refine R

_{u}of node u itself.

**[0065]**Definition 2: The stable region of residence S

_{u}of a node u is the minimum region of residence of node u which cannot be further improved upon using the current global set of range readings for all node pairs in the network.

**[0066]**Theorem 4: A node u can compute its stable region of residence once it gets the range readings of all possible directly communicating nodes in the network along with the initial region information of all nodes.

**[0067]**Theorem 5: The computation of the stable regions of residence of all nodes in the network is functionally equivalent to an all-to-all broadcast of the range information of all node-pairs in the network (the set RR) and the set Ref

_{n}.

**[0068]**The designation RN is used herein to denote an individual reference node, and Ref

_{n}is used herein to denote the set of all reference nodes (RNs) in the network.

**[0069]**Proof: To reconstruct the ad hoc network graph centrally, two pieces of information are required: (i) the measured ranges of all node pairs, and (ii) the information as to whether an individual node is a reference node. From Theorem 4, it can be seen that, if a node possessed the range values of all node-pairs in the network (the set RR) and the set Ref

_{n}, it could locally construct the network graph and then compute the stable regions of residence of all nodes. Since the possession of the set RR and the set Ref

_{n}by a node in the network effectively implies a broadcast of these two sets, if every node were to locally compute the stable regions of residence, the problem maps out to be that of an all-to-all broadcast of the set RR

_{i}and the status (whether its a reference node) of each node i in the system. Each node, on receiving this information from a neighbor node, attaches its own RR

_{i}set and its status and broadcasts the message again.

**[0070]**The above description can be the basis of a location identification algorithm. Accordingly, every node in a network maintains a local variable status, status, which is set to 1 if the node is a reference node, and is set to zero otherwise. Initially, the minimum regions of residence of all non-reference nodes are assumed to be infinity. Each node i does a ranging with its neighbors to obtain a set RR

_{i}of measured ranges. Each node i then computes the viewed region of residence for every node jεN(i). Node i then exchanges the following three pieces of information with each neighbor jεN(i): 1) the value of the status variable, 2) the viewed region of residence R

_{ji}for node j, and, iii) the area of the current minimum region of residence A

_{i}of node i.

**[0071]**The set RR

_{i}of measured ranges may be defined as RR

_{i}={r

_{ij}:jεN(i)}, and the set of viewed regions of residence R

_{ij}may be denoted as . Once node i has determined its viewed region of residence R

_{ij}from each of its neighbor node j, node i computes its current minimum region of residence using the following sub-routine of the algorithm described below.

**TABLE**-US-00001 Function compute_region: Boolean var A

_{old}, A

_{i}: Real; begin for each R

_{ij}.di-elect cons. such that A

_{j}≠ ∞ do /* Compute the minimum region of residence of node i from the viewed regions */

_{i}

_{i}∩

_{ij}; endfor; A

_{i} Area of

_{i}; if A

_{i}< A

_{old}then return true; /*

_{i}improved */ else return false; /* No improvement in

_{i}*/ end.

**[0072]**Once node i computes its minimum region of residence

_{i}, it tries to improve the minimum region of residence of each of its neighbors using the following sub-routine of the algorithm described below:

**TABLE**-US-00002 Procedure improve_region begin for each j .di-elect cons. N(i) such that status

_{j}≠ 1 do /* Construct R

_{ji}, the viewed region of j */ R

_{ji}=

_{i}⊕ r

_{ij}; Transmit R

_{ji}to node j; endfor; end.

**[0073]**The following location identification algorithm uses the sub-routines described above and is executed by each node i until that node attains its stable region of residence S

_{i}.

**TABLE**-US-00003 Algorithm location_region_identify var region_change_flag: Boolean; begin while (true) Get neighbor set N(i); Generate RR

_{i}: measure range with every neighbor j .di-elect cons. N(i); region-change-flag = false; repeat Get : viewed regions of residence R

_{ij}from every neighbor j; if status

_{i}= 0 then region_change_flag = compute_region(i, ); improve_region(i, N(i) , RR

_{i}); until region_change_flag = false; /* iterate until

_{i}= S

_{i}*/ endwhile; end.

**[0074]**The above Algorithm is shown graphically in FIGS. 7, 8, and 9 by the flow chart of a program 30 that is executed by the computer 14 of each of the nodes 12 in the network 10. Accordingly, as shown in FIG. 7, a node i at 32 gets the set of nodes N(i) within its transmission range, i.e., the nodes in its neighborhood. For example, node i transits a signal asking each node j to identify itself. The nodes that respond are in N(i).

**[0075]**At 34, node i generates RR

_{i}by generating the range r

_{ij}between itself and each of its neighbor nodes j in N(i). Node i can generate this range information using any known technique. At 36, node i sets a flag, designated region_change_flag, to false and then initiates execution of a loop having blocks 38-46.

**[0076]**Accordingly, at 38, node i receives from its neighbor nodes j in N(i) all regions of residence R

_{ij}of node i as viewed by nodes j. All of these regions of residence R

_{ij}of node i as viewed by all nodes j in N(i) form a set . That is, as discussed above, given the range measurement r

_{ij}from node j to node i, the region of residence of node i in the view of node j (i.e., R

_{ij}) is the region formed by extending the region of residence R

_{j}of node j in every direction by the measured range value r

_{ij}. Thus, the region of residence of node i in the view of node j is R

_{ij}=R

_{j}⊕r

_{ij}, and R

_{ij}is denoted as the viewed region of residence of node i.

**[0077]**It should be noted that, if node i is not a reference node and has not computed its own region of residence, then it's area A

_{i}for its region of residence R

_{i}is considered to be infinity as discussed above. Infinity is used as a place holder in the algorithm.

**[0078]**At 40, a test is made to determine whether node i is a Reference node by determining whether status

_{i}for node i is 0. If status

_{i}for node i is 0, node i is not a Reference node. If status

_{i}for node i is 0, the sub-routine compute_region 42 shown in FIG. 8 is executed.

**[0079]**As shown in FIG. 8, the sub-routine compute_region 42 at 48 processes the next region of residence R

_{ij}in the set . However, at 49, if the area A

_{j}for the node j corresponding to this next region of residence R

_{ij}is infinity, then that node j is not a reference node and has not had its location previously identified by the Algorithm. Accordingly, R

_{ij}for this node cannot yet be used in the algorithm of FIG. 8 and program flow returns to 48 to get the next R

_{ij}in the set .

**[0080]**Assuming that the next region of residence R

_{ij}for the node i in the view of a node j that corresponds to a non-infinite area A

_{j}is available, a block 50 computes a new minimum region of residence

_{i}for node i as the intersection between the current minimum region of residence

_{i}for node i and the region of residence R

_{ij}for the node i in the view of the nodes j. (If all of the regions of residence R

_{ij}in the set initially correspond to an infinite area A

_{j}because none of the nodes j in N(i) have as yet had their locations previously identified by the Algorithm, then the initial current minimum region of residence

_{i}for node i is infinity.)

**[0081]**If all regions of residence R

_{ij}in the set have not been processed as determined by the block 52, program flow returns to the block 48. Thus, blocks 49 and 52 together ensure (i) that all nodes j in N(i) have had their locations determined, (ii) that, as a result of (i), all nodes j in N(i) have been able to determine the regions of residence R

_{ij}, and (iii) that, as a result of (ii), the node i has been able to compute at the block 50 meaningful intersections with all nodes j in N(i).

**[0082]**When all regions of residence R

_{ij}in the set have been processed by the blocks 48, 49, 50, and 52, the new area A

_{i}for node i is set as the area of

_{i}at 54 and the new area A

_{i}is compared to the old area A

_{old}for node i. If the new area A

_{i}is not less than the old area A

_{old}for node i, then the new area A

_{i}was not improved and is the stable region of residence S

_{i}. Accordingly, a false is returned to the algorithm of FIG. 7. If the new area A

_{i}is less than the old area A

_{old}for node i, then the new area A

_{i}was improved and a true is returned to the algorithm of FIG. 7 and the sub-routine improve_region 44 is performed to improve

_{i}.

**[0083]**In the case with the node i is a Reference node, node i by-passes execution of the sub-routine compute_region 42. Thus, if status

_{i}for node i is 1 as determined at 40 of FIG. 7, node i is a Reference node, and the sub-routine improve_region 44 is entered directly. In the case with the node i is a not a Reference node, the sub-routine improve_region 44 is executed following execution of the sub-routine compute_region 42.

**[0084]**As shown in FIG. 9, the sub-routine improve_region 44 at 60 determines whether all nodes j in N(i) have been processed by the sub-routine improve_region 44. If all nodes j in N(i) have been processed by the sub-routine improve_region 44, execution of the sub-routine improve_region 44 ends.

**[0085]**If all nodes j in N(i) have not been processed by the sub-routine improve_region 44, the next node j in N(i) is obtained and its status is checked to determined if the node j is a Reference node. If status for node j indicates that node j is not is a Reference node, the region of residence for the node j in the view of node i is determined at 66 by extending the region of residence R

_{i}of node i in every direction by the measured range value r

_{ji}. This region of residence R

_{ji}for the node j in the view of node i is transmitted at 68 to node i so that node i can use it during the next iteration of the sub-routine compute_region 42.

**[0086]**As shown in FIG. 7, if the sub-routine compute_region 42 returns a false, then the algorithm terminates and the last calculated

_{i}is the final minimum region of residence for node i. However, if the sub-routine compute_region 42 returns a true, program flow returns to the block 38 for another pass through the sub-routine compute_region 42 and the sub-routine improve_region 44.

**[0087]**All nodes including the reference nodes execute the algorithm of FIGS. 7-9. Initially, no nodes except for the reference nodes have a region of residence that is smaller than infinity. Therefore, initially, only the neighbors of the reference nodes are able to determine regions of residence (based on extending the regions of residence of the reference nodes) that have areas smaller than infinity. However, as these nodes determine their own regions of residence smaller than infinity, they can extend their own regions of residence to enable their neighbors to determine regions of residence that have areas smaller than infinity. Accordingly, the process of determining regions of residence smaller than infinity spreads out from the reference nodes to cover all nodes in the network.

**[0088]**Certain modifications of the present invention have been discussed above. Other modifications of the present invention will occur to those practicing in the art of the present invention. For example, the present invention has been described with particular reference to sensor networks. However, the present invention has applicability to other networks as well.

**[0089]**Accordingly, the description of the present invention is to be construed as illustrative only and is for the purpose of teaching those skilled in the art the best mode of carrying out the invention. The details may be varied substantially without departing from the spirit of the invention, and the exclusive use of all modifications which are within the scope of the appended claims is reserved.

User Contributions:

Comment about this patent or add new information about this topic: