1. Field of the Invention
The present invention relates generally to asset tracking. More specifically, the present invention pertains to determining the location of objects in a distributed communications network.
2. Related Art
The development of an efficient lightweight protocol to determine the topology of a wireless network of mobile hosts has proven to be elusive. Several conventional solutions have been explored, but each has serious limitations. Table 1 below provides a summary of these conventional approaches.
For example, global satellite positioning (GPS) can be used to determine covert absolute positions. GPS can also provide an absolute timing reference. However, GPS receivers are not sensors and the accuracy measurements fall within the range of meters. An ultrasonic system provides improved accuracy measurements, but is effective over limited ranges. As the information in Table 1 shows, there is a need for a method and system that overcome the above limitations of conventional positioning technology.
The present invention solves the above problems by providing methodologies and techniques for determining the precise location (e.g., within a few centimeters) of a collection of nodes within three-dimensional space. In addition, the present invention also determines the clock attributes (including drift and offset) relative to neighboring nodes. The present invention can be divided into three distinct phases with each phase having one or more communication cycles. Each cycle communication carries out the exchange of information among the nodes according to the protocol defined in this invention.
The three phases include a measurement phase, information exchange phase, and computation phase. The measurement phase consists of one or more measurement cycles. In each cycle, each node transmits a measurement message containing its identifier and a transmit timestamp for the message. Upon receipt of a measurement message from another node, each node also records the receive timestamp of the measurement messages transmitted by other nodes.
The information exchange phase consists of one or more information exchange cycles. In each cycle, each node transmits a measurement message containing its receive timestamp for messages transmitted by the other nodes during the measurement phase.
Finally, during the computation phase, each node computes the spatial location and clock attributes of the other nodes relative to itself. The present invention also includes protocols that govern the exchange of measurement messages, the generation of send and receive timestamps, the dissemination of the timestamps to all neighboring nodes, and the calculation of their spatial locations and clock attributes.
The accompanying drawings, which are incorporated herein and form part of the specification, illustrate the present invention and, together with the description, farther serve to explain the principles of the invention and to enable a person skilled in the pertinent art to make and use the invention. In the drawings, like reference numbers indicate identical or functionally similar elements. Additionally, the leftmost digit(s) of a reference number identifies the drawing in which the reference number first appears.
I. Introduction
The present invention includes a method, system, and computer program product for enabling a wireless communications node to determine accurately and precisely the spatial locations of neighboring communications nodes distributed in three-dimensional space. Additionally, the present invention includes methodologies and techniques for determining the clock characteristics, including the relative offset and drift of the neighboring nodes. As a result, each node is permitted to execute precise synchronized actions.
The present invention has significant implications for a broad range of wireless networking infrastructure and applications. The rapid availability of accurate location information can greatly simplify and optimize the implementation of ad-hoc networks and/or sensor-based applications. One exemplary application domain benefiting from the present invention includes vehicle position sensors (e.g., for “smart” highways or for collision detection in adverse conditions). Another example is a tourist information system in which a tourist is given relevant information for the location of the tourist.
In addition, the expected level of accuracy of the distance measurement obtained by the present invention in combination with its lightweight distributed clock synchronization algorithm allow the creation of entirely new applications. Such new applications include phase locked arrays, in which several low power transmitters create a powerful group transmission through careful control of the superposition of several low power signals.
Since the present invention is configured to rapidly locate nodes with positional accuracy in the range of a few centimeters, the present invention can be used to track mobile nodes while they are moving. Moreover, the present invention is highly scalable to position and/or synchronize thousands of wireless nodes.
II. System Overview
The present invention can be implemented in a system having a centralized communications node 102. However, in the preferred embodiment, no centralized node or node with any special privileges is required. Accordingly, the present invention operates in any environment consisting of a collection of communications nodes 102. As such, the positioning and/or synchronization methodologies and techniques of the present invention can be initiated or executed by any one of the communication nodes 102.
The initiating or executing node is referred to as the base node. Referring to
Clock module 204 includes a time-of-day clock, as described in detail below. Clock module 204 is linked to communication module 208 which receives and transmits signals through antenna 216. As discussed below, communication module 208 consists of several send and receive buffers for storing the signals. Clock module 204 and communication module 208 are linked to permit the receive and/or transmit times of the signals to be timestamped and/or recorded. The transmit time of a signal is the value of the time-of-day clock of the transmitting communications node 102 when a specified bit (e.g., the last bit of the message sync header) is transmitted. The specified bit is referred to herein as the “sync bit” of the signal. The receive time of a signal is the value of the time-of-day clock of the receiving communications node 102 at the arrival of the sync bit.
Computation module 210 consists of a general-purpose computation and storage engine. Computation module 210 manages clock module 204 and communication module 208, and executes other operations as described in detailed below. Computation module 210 constructs the information (e.g., send messages) residing in the send buffers of communication module 208. Computation module 210 also instructs clock module 204 to send a timing signal to communication module 208 to initiate the sending operations. Computation module 210 also collects the information residing in the receive buffers of communication module 208.
Antenna 216 sends and receives signals (including electronic, electromagnetic, optical, or the like). In an embodiment, antenna 216 is a UHF antenna operating in half-duplex mode at, for example, 10 Mbs data rate, 2.4 GHz carrier, and turnaround time of a microsecond. However, it should be understood that the present invention operates in other regions of the frequency spectrum, including without limitation in the radio, microwave, and infrared spectrum, as would be apparent to one skilled in the relevant art(s).
Received message queue 316 is one of two receive buffers located in communication module 208. The second receive buffer is received message bypass 304. Antenna 216 delivers signals destined for received message bypass 304 directly to the buffer. Measurement recorder 320 receives and stores signals from received message queue 316 and received message bypass 304.
Communication module 208 also includes a send message encoder 328 and an information exchange encoder 332 that send signals to antenna 216 for broadcast to other communications nodes 102. On receiving a control signal (i.e., timing signal from clock module 204 ), the contents of send message encoder 328 and information exchange encoder 332 are sent out at the prescribed rate of 10 Mbps using a 2.4 GHz carrier.
The components of communication module 208 are interconnected to each other by an internal universal bus 324. An input/output (I/O) arbitrator 336 is also connected to bus 324. I/O arbitrator 336 manages the flow of signals to and from bus 214.
Clock 408 provides signals to timestamp generator 404 and control signal generator 416. Timestamp generator 404 provides receive and transmit timestamps to communication module 208 (shown in
With nanosecond resolution, TOD register 504 captures the time of day from clock 408, and continuously records time since the last initialization of the register. Upon receiving an initialization signal, the value of TOD register 504 is reset to zero. TOD register 504 receives a timestamp trigger pulse from communication module 208 (shown in
Clock 408 also drives countdown register 512. Countdown register 512 receives nanosecond pulses from clock 408 and counts down to generate a timing signal when the count reaches zero. The timing signal is sent to communication module 208 (shown in
III. Operational Flow for Positioning Communications Nodes
The present invention provides a lightweight, inexpensive and scaleable solution for determining the location and clock attributes of a collection of spatially distributed communications nodes 102. Referring to
The control flow of flowchart 700 begins at step 701 and passes immediately to step 704. At step 704, base node 102a (shown in
In an embodiment, communications node 102 operates in half duplex mode to exchange measurement messages in TDMA slots. As such from the perspective of base node 102a, each neighboring node 102b-102p is assigned a designated time slot for exchanging signals with base node 102a. In send mode, countdown register 512 (shown in
Prior to forwarding the measurement message to antenna 216, send message encoder 328 (shown in
Upon receipt of the timestamp trigger pulse, TOD register 504 pulses timestamp register 508 to generate and forward a timestamp signal to send message encoder 328 (shown in
When base node 102a is operating in receive mode, antenna 216 (shown in
Afterwards, the measurement message is stored in measurement recorder 320. All measurement messages received from the neighboring nodes 102b-102p are stored in measurement recorder 320. Measurement recorder 320 produces a table of measurement messages containing the transmitting node 102 identifier, transmit timestamp and receive timestamp.
Referring again to
At step 716 in
Hence, the present invention includes methodologies and techniques that govern the exchange of measurement messages, the generation of send and receive timestamps, the dissemination of the timestamps to all neighboring nodes, and the calculation of their spatial locations. The present invention can be divided into three phases with each phase having one or more communication cycles. A cycle is divided into time slots which are allocated among communications nodes 102.
The three phases include a measurement phase, information exchange phase and computation phase. The measurement phase (described in reference to steps 704-708 in
The information exchange phase (described in reference to step 712 in
Finally, during the computation phase (described in reference to step 716 in
As described, the measurement phase consists of multiple cycles in an embodiment. Referring to
The control flow of flowchart 800 begins at step 801 and passes immediately to step 804. At step 804, an initialization parameter is set to specify the cycle count as one. At steps 704-708, the measurement phase is executed as described in reference to
In an embodiment, the measurement cycle is set for two.
Referring back to
Referring again to
As discussed, upon completion of the information exchange phase, each communications node 102 should have sufficient information to compute the spatial coordinates of every other communications node 102. Each communications node 102 should also have sufficient information to reduce errors. Referring to
The control flow of flowchart 1000 begins at step 1001 and passes immediately to steps 704-708 as described in reference to
If computation module 210 determines the measurements provide acceptable levels of confidence, the control flow passes to steps 712-716 to execute the information exchange and computation phases as described in reference to
In an embodiment, the accuracy determinations are also evaluated at the end of the information exchange phase in addition to, or in lieu of, the measurement phase determinations. As such, in the information exchange phase, whenever computation module 210 detects a corrupted cycle it starts another information exchange cycle until it determines that enough information has been conveyed to compute the topology within desired accuracy.
The present invention can be used to rapidly compute the precise location of communications nodes 102 within the listening range of base node 102b. Referring to
The control flow of flowchart 1100 begins at step 1101 and passes immediately to steps 704-712 to execute the measurement and information exchange phases as described in reference to
At step 1108, coordinate processor 604 computes the ratio
where βa (also referred to herein as “βbase ”)is the drift rate for base node 102a and βb (also referred to herein as “βnonbase”)is the drift rate for neighboring node 102b-102p.
For example, assume that system 100 includes only two communications nodes 102, A and B, both operating in each other's respective listening range. For global time t, their local clocks 408, which may have some drift and offset, have clock readings, respectively, of:
τa(t)=βa(αa+t)
τb(t)=βb(αa+t) Equation 1
The present invention uses the time equivalent of the internodal distance “d” between the communications nodes 102. In other words, the internodal distance d is represented in nanoseconds to indicate the time it will take light to travel that distance. It is presumed that for the environments for which the present invention is implemented, the speed of light does not vary significantly making this measure of distance stable.
Time generated from local clock 408 is denoted with the τ notation, while global clock time is denoted with a “t” type notation. Also, when discussing local clock times, the letter contained in the subscript on τ indicates the clock which records the time, so for example τa1 is a time recorded by local clock 408 at communications node A (i.e., base node 102a).
Accordingly, at time t1, communications node A broadcasts a measurement message in the form of a tuple giving its identifier and a transmit timestamp, the latter denoted by τa1. That is, the timestamp reads:
τa1≡τa(t1)=βa(αa+t1) Equation 2
and the tuple broadcast is (A,τa1). Communications node B receives the tuple and records the time of receipt as τb1. Denoting the time distance between communications node A and communications node B as d, the global time at which communications node B should receive the broadcast from communications node A is t1+d, so that
τb1=βb(αb+t1+d) Equation 3
Since each node is running the same decentralized protocol, communication node B also sends a two-tuple at global time t2. In steps similar to above, communications node B broadcasts the tuple (B,τb2), where
τb2≡τb(t2)=βb(αb+t2) Equation 4
and communications node A receives this broadcast at global time t2+d, which communications node A marks as time
τa2≡τa(t2+d)=βa(αa+t2+d) Equation 5
In an embodiment, once the first cycle of messages has been completed, communications nodes A and B, both, send a second measurement cycle, with communications node A sending its second message at time t3, and communications node B sending its message at time t4. Using notation similar to above, the timestamps generated by communications nodes A and B is represented by:
Upon completion of the measurement phase, all eight of the measurement messages timestamps can be expressed as:
The above eight expressions are referred to herein as “reference equations.” During the information exchange phase, communications node A sends the values τa2and τa4 to communications node B, and communications node B sends the values τb1 and τb3 to communications node A. At this point, both of communications nodes A and B have all eight values τa1, τa2, τa3, τa4, τb1, τb2, τb3, and τb4.
Accordingly at step 1104, both communications nodes A and B use these eight values to compute the ratios
from the following equation:
Next at step 1112, coordinate processor 604 computes the quantities Δ1 and Δ2 from:
Δ1≡τb1−τa1=βb(αb+t1+d)−βa(αa+t1) Equation 6
and
Δ2≡τa2−τb2=βa(αa+t2+d)−βb(αb+t2) Equation 7
At step 1116, coordinate processor 604 computes the quantity βbd from the equation:
As can be noted, every quantity on the right side of Equation 8 is computable by every communications node 102, as long as the communications nodes 102 have the eight quantities on the left sides of the reference equations.
Equation 8 is derived by averaging these two quantities Δ1 and Δ2, or:
The first and second lines of the reference equations provide:
τa2−τa1=βa(t2−t1)+βad Equation 10
or equivalently.
Substituting Equation 11 into Equation 9 gives:
or equivalently the expression shown in Equation 8.
At step 1120, coordinate processor 604 computes the quantity βad which is determined from βbd . Note that
and communications nodes 102 know both right hand side quantities.
At step 1124, coordinate processor 604 determines the internodal distance “d” between communications nodes A and B. It is presumed that both βa and βb are close to one, so that the quantities βad and βbd are both good estimates of d. Therefore, in an embodiment either quantity βad or βbd is selected by coordinate processor 604 as the distance “d.” In another embodiment, the communications node 102 selects the expression having the drift rate for its respective clock 408. For instance, communications node A would select βad and communications node B would select βbd. In another embodiment, each communications node A and B computes the average of the quantities βad or βbd .
The above steps have been described with reference to only two communications nodes 102. However the present invention is scaleable to determine the positions of more than two communications nodes. As such, base node 102a uses the above steps to calculate the distance “d” to each of its neighboring nodes 102b-102p. Therefore, at step 1128, coordinate processor 604 determines whether the internodal distance to all neighboring nodes 102b-102p have been computed. If not, steps 1104-1124 are repeated. Otherwise, the control flow passes to step 1132.
At step 1132, coordinate processor 604 produces a pointset to determine the topology for communications nodes 102. The present invention is premised on the assumption that base node 102a is positioned at the coordinate point (0,0) in a x-y coordinate system. In other words, all communications nodes 102 believe they are located at the origin of system 100. If there is at least one other communications node 102, the neighboring node 102b-102p with the minimum node identifier (as determined by the node identification number) is considered to be the first reference node, and is positioned on the positive x-axis. If there are three or more non-collinear neighboring nodes 102b-102p, the neighboring node 102b-102p with the minimum node identifier among those neighborhood nodes 102b-102p that are neither base node 102a, the first reference node, nor collinear with base 102a and the first reference node, is denoted the second reference node and is positioned in the upper half-plane. Thus, the placement of the first reference node has the effect of fixing a particular rotational orientation, while the placement of the second reference node locks in a particular reflective orientation.
It is also presumed that the computation phase is executed only once. That is, once a given pointset is determined, communications nodes 102 entering or leaving are added or removed incrementally. Therefore, it is conceivable that the actual first reference node is, after some time, not the non-base local node with the minimum node identifier.
Upon determining the base node 102a and the first two reference nodes 102b-102p, the pointset is constructed by coordinate processor 604.
Once cos(a)is computed, coordinate processor 604 computes the lengths of segments {overscore (BP)} and {overscore (R2P)}, which give respectively the x and y coordinates of second reference node 102c, since base node 102a is positioned at point (0,0), first reference node 102b on the positive x-axis, and second reference node 102c in the upper half-plane.
Coordinate processor 604 then proceeds to compute the rest of the pointset. For each remaining non-base or reference node 102, coordinate processor 604 determines two candidate positions using distances between the remaining node, base node 102a, and first reference node 102b, as above. Next, coordinate processor 604 uses the distance between the node in question and second reference node 102cin order to choose between the two candidate positions. Thus, once coordinate processor 604 has determined the positions of the two reference nodes, the position of each additional node is determined using only the distances from it to the base and reference nodes.
In an embodiment, coordinate processor 604 uses more of the internodal distance information to obtain better estimates on point positions. Thus somewhere in between using a linear amount of data and an n2 amount of data (where n is the total number of communications nodes 102) lies an amount that will efficiently provide the desired accuracy.
After determining the topology, the control flow of flowchart 1100 ends as indicated by step 1195. Although above steps lead to the determination of local topology, the present invention also allows each communications node 102 to evaluate overlapping neighborhoods to generate consistent pictures of the network topology. Additionally, the present invention enables each communications node 102 to combine local topology information generated by neighboring nodes to derive a global network topology. Since the present invention does not requires a central authority or node, each communications node 102 is considered to be homogeneous. Each communications node 102 enters and leaves system 100 at any time. In addition, in an embodiment, the present invention permits groups of cooperating sensor nodes 102 to detect and position certain classes of objects that do not, themselves, contain sensor nodes 102. Among the non-sensor objects that are detectable include vehicles, such as automobiles, aircrafts, submarines, ships, and the like. As such, the present invention offers the added, advantage of collision detection and avoidance even when other vehicles are not equipped with sensor units.
In addition to determining the spatial locations, the present invention also determines the clock attributes of each communications nodes 102. Referring to
The control flow of flowchart 1300 begins at step 1301 and passes immediately to steps 704-716 to execute the measurement, information exchange, and computation phases. However, the computation phase continues into step 1304.
At step 1304, clock attribute processor 608 processes the information computed at step 716, to determine the clock attributes of neighboring nodes 102b-102p. As described in reference to
and βbd . Moreover, assuming communications node A is base node 102a and communications node B is neighboring node 102b, the value of global time “t” can be determined from:
τa(t)=βa(αa+t)=βaαa+βat Equation 12
where “β38 is the drift rate and “βα” is the offset for the local clock of the designated communications node 102. Therefore, for a reading of the local clock at communications node A, the global time “t” can be determined by:
Using the above value for t, the reading of local clock 408 from communications node B is determined by:
Therefore, clock attribute processor 608 of base node 102a (e.g., communications node A) determines the reading of clock 408 on a neighboring node 102 (e.g., communications node B) by computing the value of βb(αb−αa), computing the ratio
and taking a reading from local clock 408 of base node 102a.
The value βb(αb−αa) is determined by solving both of the equations in the first line of the reference equations for the a term, as follows:
Thus, each communications node 102 utilizes the reference equations to determine both a very good estimate for the internodal distance “d”, and the values of the respective clocks 408 of neighboring nodes 102b-102p based on readings of its local clock 408. The clock attributes, as describe above, are used by each communications node 102 to synchronize its local clock 408 for subsequent operations. After determining the clock attributes, the control flow of flowchart 1300 ends as indicated by step 1395.
Although in the preferred embodiment base node 102a transmits and receives measurement messages, base node 102a is operable to function in passive mode to only receive measurement messages from each neighboring node 102b-102p. The computation phase is adjusted to calculate the position and synchronization data from received tuples accordingly.
IV. Conclusion
Additionally, the present invention (e.g., system 100 and/or any part thereof) can be implemented in one or more computer systems or other processing systems. In fact, in an embodiment, the invention is directed toward one or more computer systems capable of carrying out the functionality described herein.
Referring to
Computer system 1400 can include a display interface 1402 that forwards graphics, text, and other data from the communication infrastructure 1406 (or from a frame buffer not shown) for display on the display unit 1430.
Computer system 1400 also includes a main memory 1408, preferably random access memory (RAM), and can also include a secondary memory 1410. The secondary memory 1410 can include, for example, a hard disk drive 1412 and/or a removable storage drive 1414, representing a floppy disk drive, a magnetic tape drive, an optical disk drive, etc. The removable storage drive 1414 reads from and/or writes to a removable storage unit 1418 in a well-known manner. Removable storage unit 1418, represents a floppy disk, magnetic tape, optical disk, etc. which is read by and written to removable storage drive 1414. As will be appreciated, the removable storage unit 1418 includes a computer usable storage medium having stored therein computer software and/or data.
In alternative embodiments, secondary memory 1410 can include other similar means for allowing computer programs or other instructions to be loaded into computer system 1400. Such means can include, for example, a removable storage unit 1422 and an interface 1420. Examples of such can include a program cartridge and cartridge interface (such as that found in video game devices), a removable memory chip (such as an EPROM, or PROM) and associated socket, and other removable storage units 1422 and interfaces 1420 which allow software and data to be transferred from the removable storage unit 1422 to computer system 1400.
Computer system 1400 can also include a communications interface 1424. Communications interface 1424 allows software and data to be transferred between computer system 1400 and external devices. Examples of communications interface 1424 can include a modem, a network interface (such as an Ethernet card), a communications port, a PCMCIA slot and card, etc. Software and data transferred via communications interface 1424 are in the form of signals 1428 which can be electronic, electromagnetic, optical or other signals capable of being received by communications interface 1424. These signals 1428 are provided to communications interface 1424 via a communications path (i.e., channel) 1426. This channel 1426 carries signals 1428 and can be implemented using wire or cable, fiber optics, a phone line, a cellular phone link, an RF link and other communications channels.
In this document, the terms “computer program medium” and “computer usable medium” are used to generally refer to media such as removable storage drive 1414, a hard disk installed in hard disk drive 1412, and signals 1428. These computer program products are means for providing software to computer system 1400. The invention is directed to such computer program products.
Computer programs (also called computer control logic) are stored in main memory 1408 and/or secondary memory 1410. Computer programs can also be received via communications interface 1424. Such computer programs, when executed, enable the computer system 1400 to perform the features of the present invention as discussed herein. In particular, the computer programs, when executed, enable the processor 1404 to perform the features of the present invention. Accordingly, such computer programs represent controllers of the computer system 1400.
In an embodiment where the invention is implemented using software, the software can be stored in a computer program product and loaded into computer system 1400 using removable storage drive 1414, hard drive 1412 or communications interface 1424. The control logic (software), when executed by the processor 1404, causes the processor 1404 to perform the functions of the invention as described herein.
In another embodiment, the invention is implemented primarily in hardware using, for example, hardware components such as application specific integrated circuits (ASICs). Implementation of the hardware state machine so as to perform the functions described herein will be apparent to persons skilled in the relevant art(s).
In yet another embodiment, the invention is implemented using a combination of both hardware and software.
While various embodiments of the present invention have been described above, it should be understood that they have been presented by way of example, and not limitation. It will be apparent to persons skilled in the relevant art(s) that various changes in form and detail can be made therein without departing from the spirit and scope of the invention. Thus, the present invention should not be limited by any of the above-described exemplary embodiments, but should be defined only in accordance with the following claims and their equivalents.
Filing Document | Filing Date | Country | Kind |
---|---|---|---|
PCT/US01/25381 | 8/15/2001 | WO |
Number | Date | Country | |
---|---|---|---|
60225592 | Aug 2000 | US |