RELATED REISSUE APPLICATIONSMore than one reissue application has been filed for the reissue of U.S. Pat. No.6,282,186. The reissue applications are the initial reissue application Ser. No.10/652,573 filed Aug.28,2003, a continuation reissue application Ser. No.11/862,130, filed Sep.26,2007, a continuation reissue application Ser. No.11/862,124, filed Sep.26,2007, and the present continuation reissue application.
CROSS REFERENCE TO RELATED APPLICATIONThis is a Continuation continuation application of a reissue application Ser. No.10/652,573, filed Aug.28,2003, which is a reissue application of U.S. patent application Ser. No.09/556,235, now U.S. Pat. No.6,282,186, which is a continuation application of U.S. patent application Ser. No. 09/026,050, filed Feb. 19, 1998, now U.S. Pat. No. 6,061,344 and titled “Method of Addressing Messages and Communications System”.
TECHNICAL FIELDThis invention relates to communications protocols and to digital data communications. Still more particularly, the invention relates to data communications protocols in mediums such as radio communication or the like. The invention also relates to radio frequency identification devices for inventory control, object monitoring, determining the existence, location or movement of objects, or for remote automated payment.
BACKGROUND OF THE INVENTIONCommunications protocols are used in various applications. For example, communications protocols can be used in electronic identification systems. As large numbers of objects are moved in inventory, product manufacturing, and merchandising operations, there is a continuous challenge to accurately monitor the location and flow of objects. Additionally, there is a continuing goal to interrogate the location of objects in an inexpensive and streamlined manner. One way of tracking objects is with an electronic identification system.
One presently available electronic identification system utilizes a magnetic coupling system. In some cases, an identification device may be provided with a unique identification code in order to distinguish between a number of different devices. Typically, the devices are entirely passive (have no power supply), which results in a small and portable package. However, such identification systems are only capable of operation over a relatively short range, limited by the size of a magnetic field used to supply power to the devices and to communication with the devices.
Another wireless electronic identification system utilizes a large, board level, active transponder device affixed to an object to be monitored which receives a signal from an interrogator. The device receives the signal, then generates and transmits a responsive signal. The interrogation signal and the responsive signal are typically radio-frequency (RF) signals produced by an RF transmitter circuit. Because active devices have their own power sources, and do not need to be in close proximity to an interrogator or reader to receive power via magnetic coupling. Therefore, active transponder devices tend to be more suitable for applications requiring tracking of a tagged device that may not be in close proximity to an interrogator. For example, active transponder devices tend to be more suitable for inventory control or tracking.
Electronic identification systems can also be used for remote payment. For example, when a radio frequency identification device passes an interrogator at a toll booth, the toll booth can determine the identity of the radio frequency identification device, and thus of the owner of the device, and debit an account held by the owner for payment of toll or can receive a credit card number against which the toll can be charged. Similarly, remote payment is possible for a variety of other goods or services.
A communication system typically includes two transponders: a commander station or interrogator, and a responder station or transponder device which replies to the interrogator.
If the interrogator has prior knowledge of the identification number of a device which the interrogator is looking for, it can specify that a response is requested only from the device with that identification number. Sometimes, such information is not available. For example, there are occasions where the interrogator is attempting to determine which of multiple devices are within communication range.
When the interrogator sends a message to a transponder device requesting a reply, there is a possibility that multiple transponder devices will attempt to respond simultaneously, causing a collision, and thus causing an erroneous message to be received by the interrogator. For example, if the interrogator sends out a command requesting that all devices within a communications range identify themselves, and gets a large number of simultaneous replies, the interrogator may not be able to interpret any of these replies. Thus, arbitration schemes are employed to permit communications free of collisions.
In one arbitration scheme or system, described in commonly assigned U.S. Pat. Nos. 5,627,544; 5,583,850; 5,500,650; and 5,365,551, all to Snodgrass et al. and all incorporated herein by reference, the interrogator sends a command causing each device of a potentially large number of responding devices to select a random number from a known range and use it as that device's arbitration number. By transmitting requests for identification to various subsets of the full range of arbitration numbers, and checking for an error-free response, the interrogator determines the arbitration number of every responder station capable of communicating at the same time. Therefore, the interrogator is able to conduct subsequent uninterrupted communication with devices, one at a time, by addressing only one device.
Another arbitration scheme is referred to as the Aloha or slotted Aloha scheme. This scheme is discussed in various references relating to communications, such as Digital Communications: Fundamentals and Application, Bernard Sklar, published January 1988 by Prentice Hall. In this type of scheme, a device will respond to an interrogator using one of many time domain slots selected randomly by the device. A problem with the Aloha scheme is that if there are many devices, or potentially many devices in the field (i.e. in communications range, capable of responding) then there must be many available slots or many collisions will occur. Having many available slots slows down replies. If the magnitude of the number of devices in a field is unknown, then many slots are needed. This results in the system slowing down significantly because the reply time equals the number of slots multiplied by the time period required for one reply.
An electronic identification system which can be used as a radio frequency identification device, arbitration schemes, and various applications for such devices are described in detail in commonly assigned U.S. patent application Ser. No. 08/705,043, filed Aug. 29, 1996, and Pat. No.6,130,602, which is incorporated herein by reference.
SUMMARY OF THE INVENTIONThe invention provides a wireless identification device configured to provide a signal to identify the device in response to an interrogation signal.
In one aspect, a method includes: transmitting by an interrogator a first signal including a first set of bits, the interrogator to identify a first subgroup of a group of possible random numbers; communicating by each of one or more RFID devices a first response if the one or more RFID devices has generated a random number that is included in the first subgroup; receiving by the interrogator one or more received responses from respective ones of the one or more RFID devices; and responsive to receiving one of the one or more received responses without a collision, retransmitting by the interrogator at least the first signal.
One aspect of the invention provides a method of establishing wireless communications between an interrogator and individual ones of multiple wireless identification devices. The method comprises utilizing a tree search method to attempt to identify individual ones of the multiple wireless identification devices so as to be able to perform communications, without collision, between the interrogator and individual ones of the multiple wireless identification devices. A search tree is defined for the tree search method. The tree has multiple nodes respectively representing sub-groups of the multiple wireless identification devices. The interrogator transmits a command at a node, requesting that devices within the subgroup represented by the node respond. The interrogator determines if a collision occurs in response to the command and, if not, repeats the command at the same node.
Another aspect of the invention provides a communications system comprising an interrogator, and a plurality of wireless identification devices configured to communicate with the interrogator in a wireless fashion. The interrogator is configured to employ tree searching to attempt to identify individual ones of the multiple wireless identification devices, so as to be able to perform communications without collision, between the interrogator and individual ones of the multiple wireless identification devices. The interrogator is configured to follow a search tree, the tree having multiple nodes respectively representing subgroups of the multiple wireless identification devices. The interrogator is configured to transmit a command at a node, requesting that devices within the subgroup represented by the node respond. The interrogator is further configured to determine if a collision occurs in response to the command and, if not, to repeat the command at the same node.
One aspect of the invention provides a radio frequency identification device comprising an integrated circuit including a receiver, a transmitter, and a microprocessor. In one embodiment, the integrated circuit is a monolithic single die single metal layer integrated circuit including the receiver, the transmitter, and the microprocessor. The device of this embodiment includes an active transponder, instead of a transponder which relies on magnetic coupling for power and therefore has a much greater range.
BRIEF DESCRIPTION OF THE DRAWINGSPreferred embodiments of the invention are described below with reference to the following accompanying drawings.
FIG. 1 is a high level circuit schematic showing an interrogator and a radio frequency identification device embodying the invention.
FIG. 2 is a front view of a housing, in the form of a badge or card, supporting the circuit ofFIG. 1 according to one embodiment the invention.
FIG. 3 is a front view of a housing supporting the circuit ofFIG. 1 according to another embodiment of the invention.
FIG. 4 is a diagram illustrating a tree splitting sort method for establishing communication with a radio frequency identification device in a field of a plurality of such devices.
FIG. 5 is a diagram illustrating a modified tree splitting sort method for establishing communication with a radio frequency identification device in a field of a plurality of such devices.
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTSThis disclosure of the invention is submitted in furtherance of the constitutional purposes of the U.S. Patent Laws “to promote the progress of science and useful arts” (Article 1, Section 8).
FIG. 1 illustrates awireless identification device12 in accordance with one embodiment of the invention. In the illustrated embodiment, the wireless identification device is a radio frequencydata communication device12, and includesRFID circuitry16. Thedevice12 further includes at least oneantenna14 connected to thecircuitry16 for wireless or radio frequency transmission and reception by thecircuitry16. In the illustrated embodiment, the RFID circuitry is defined by an integrated circuit as described in the above-incorporated patent application Ser. No. 08/705,043, filed Aug.29, 1996 U.S. Pat. No. 6,130,602. Other embodiments are possible. A power source orsupply18 is connected to theintegrated circuit16 to supply power to theintegrated circuit16. In one embodiment, thepower source18 comprises a battery.
Thedevice12 transmits and receives radio frequency communications to and from aninterrogator26. An exemplary interrogator is described in commonly assigned U.S. patent application Ser. No. 08/907,689, filed Aug.8, 1997 Pat. No. 6,289,209and incorporated herein by reference. Preferably, theinterrogator26 includes anantenna28, as well as dedicated transmitting and receiving circuitry, similar to that implemented on theintegrated circuit16.
Generally, theinterrogator26 transmits an interrogation signal orcommand27 via theantenna28. Thedevice12 receives the incoming interrogation signal via itsantenna14. Upon receiving thesignal27, thedevice12 responds by generating and transmitting a responsive signal orreply29. Theresponsive signal29 typically includes information that uniquely identifies, or labels theparticular device12 that is transmitting, so as to identify any object or person with which thedevice12 is associated. Although only onedevice12 is shown inFIG. 1, typically there will bemultiple devices12 that correspond with theinterrogator16, and theparticular devices12 that are in communication with theinterrogator26 will typically change over time. In the illustrated embodiment inFIG. 1, there is no communication betweenmultiple devices12. Instead, thedevices12 respectively communicate with theinterrogator26.Multiple devices12 can be used in the same field of an interrogator26 (i.e., within communications range of an interrogator26).
The radio frequencydata communication device12 can be included in any appropriate housing or packaging. Various methods of manufacturing housings are described in commonly assigned U.S. patent application Ser. No. 08/800,037, filed Feb. 13, 1997, and Pat. No.5,988,510 which is incorporated herein by reference.
FIG. 2 shows but one embodiment in the form of a card orbadge19 including ahousing11 of plastic or other suitable material supporting thedevice12 and thepower supply18. In one embodiment, the front face of the badge has visual identification features such as interrogators, text, information found on identification or credit cards, etc.
FIG. 3 illustrates but one alternative housing supporting thedevice12. More particularly,FIG. 3 shows aminiature housing20 encasing thedevice12 andpower supply18 to define a tag which can be supported by an object (e.g., hung from an object, affixed to an object, etc.). Although two particular types of housings have been disclosed, other forms of housings are employed in alternative embodiments.
If thepower supply18 is a battery, the battery can take any suitable form. Preferably, the battery type will be selected depending on weight, size, and life requirements for a particular application. In one embodiment, thebattery18 is a thin profile button-type cell forming a small, thin energy cell more commonly utilized in watches and small electronic devices requiring a thin profile. A conventional button-type cell has a pair of electrodes, an anode formed by one face and a cathode formed by an opposite face. In an alternative embodiment, thepower source18 comprises a series connected pair of button type cells. In other alternative embodiments, other types of suitable power source are employed.
Thecircuitry16 further includes a backscatter transmitter and is configured to provide a responsive signal to theinterrogator26 by radio frequency. More particularly, thecircuitry16 includes a transmitter, a receiver, and memory such as is described in U.S. patent application Ser. No.08/705,043 Pat. No. 6,130,602.
Radio frequency identification has emerged as a viable and affordable alternative to tagging or labeling small to large quantities of items. Theinterrogator26 communicates with thedevices12 via an electromagnetic link, such as via an RF link (e.g., at microwave frequencies, in one embodiment), so all transmissions by theinterrogator26 are heard simultaneously by alldevices12 within range.
If theinterrogator26 sends out a command requesting that alldevices12 within range identify themselves, and gets a large number of simultaneous replies, theinterrogator26 may not be able to interpret any of these replies. Therefore, arbitration schemes are provided.
If theinterrogator26 has prior knowledge of the identification number of adevice12 which theinterrogator26 is looking for, it can specify that a response is requested only from thedevice12 with that identification number. To target a command at aspecific device12, (i.e., to initiate point-on-point communication), theinterrogator26 must send a number identifying aspecific device12 along with the command. At start-up, or in a new or changing environment, these identification numbers are not known by theinterrogator26. Therefore, theinterrogator26 must identify alldevices12 in the field (within communication range) such as by determining the identification numbers of thedevices12 in the field. After this is accomplished, point-to-point communication can proceed as desired by theinterrogator26.
Generally speaking, RFID systems are a type of multi-access communication system. The distance between theinterrogator26 anddevices12 within the field is typically fairly short (e.g., several meters), so packet transmission time is determined primarily by packet size and baud rate. Propagation delays are negligible. In such systems, there is a potential for a large number of transmittingdevices12 and there is a need for theinterrogator26 to work in a changing environment, wheredifferent devices12 are swapped in and out frequently (e.g., as inventory is added or removed). In such systems, the inventors have determined that the use of random access methods work effectively for contention resolution (i.e., for dealing with collisions betweendevices12 attempting to respond to theinterrogator26 at the same time).
RFID systems have some characteristics that are different from other communications systems. For example, one characteristic of the illustrated RFID systems is that thedevices12 never communicate without being prompted by theinterrogator26. This is in contrast to typical multiaccess systems where the transmitting units operate more independently. In addition, contention for the communication medium is short lived as compared to the ongoing nature of the problem in other multiaccess systems. For example, in a RFID system, after thedevices12 have been identified, the interrogator can communicate with them in a point-to-point fashion. Thus, arbitration in a RFID system is a transient rather than steady-state phenomenon. Further, the capability of adevice12 is limited by practical restrictions on size, power, and cost. The lifetime of adevice12 can often be measured in terms of number of transmission before battery power is lost. Therefore, one of the most important measures of system performance in RFID arbitration is total time required to arbitrate a set ofdevices12. Another measure is power consumed by thedevices12 during the process. This is in contrast to the measures of throughput and packet delay in other types of multiaccess systems.
FIG. 4 illustrates one arbitration scheme that can be employed for communication between the interrogator anddevices12. Generally, theinterrogator26 sends a command causing eachdevice12 of a potentially large number of respondingdevices12 to select a random number from a known range and use it as that device's arbitration number. By transmitting requests for identification to various subsets of the full range of arbitration numbers, and checking for an error-free response, theinterrogator26 determines the arbitration number of every responder station capable of communicating at the same time. Therefore, theinterrogator26 is able to conduct subsequent unterrupted communication withdevices12, one at a time, by addressing only onedevice12.
Three variables are used: an arbitration value (AVALUE), an arbitration mask (AMASK), and a random value ID (RV). The interrogator sends an Identify command (IdentifyCmnd) causing each device of a potentially large number of responding devices to select a random number from a known range and use it as that device's arbitration number. The interrogator sends an arbitration value (AVALUE) and an arbitration mask (AMASK) to a set ofdevices12. The receivingdevices12 evaluate the following equation: (AMASK & AVALUE)==(AMASK & RV) wherein “&” is a bitwise AND function, and wherein “==” is an equality function. If the equation evaluates to “1” (TRUE), then thedevice12 will reply. If the equation evaluates to “0” (FALSE), then thedevice12 will not reply. By performing this in a structured manner, with the number of bits in the arbitration mask being increased by one each time, eventually adevice12 will respond with no collisions. Thus, a binary search tree methodology is employed.
An example using actual numbers will now be provided using only four bits, for simplicity, reference being made to FIG.4. In one embodiment, sixteen bits are used for AVALUE and AMASK. Other numbers of bits can also be employed depending, for example, on the number ofdevices12 expected to be encountered in a particular application, on desired cost points, etc.
Assume, for this example, that there are twodevices12 in the field, one with a random value RV) of 1100 (binary), and another with a random value (RV) of 1010 (binary). The interrogator is tying to establish communications without collisions being caused by the twodevices12 attempting to communicate at the same time.
The interrogator sets AVALUE to 0000 (or “don't care” for all bits, as indicated by the character “X” inFIG. 4) and AMASK to 0000. The interrogator transmits a command to alldevices12 requesting that they identify themselves. Each of thedevices12 evaluate (AMASK & AVALUE)==(AMASK & RV) using the random value RV that therespective devices12 selected. If the equation evaluates to “1” (TRUE), then thedevice12 will reply. If the equation evaluates to “0” (FALSE), then thedevice12 will not reply. In the first level of the illustrated tree, AMASK is 0000 and anything bitwise ANDed with all zeros results in all zeros, so both thedevices12 in the field respond, and there is a collision.
Next, the interrogator sets AMASK to 0001 and AVALUE to 0000 and transmits an Identify command. Bothdevices12 in the field have a zero for their least significant bit, and (AMASK & AVALUE)==(AMASK & RV) will be true for bothdevices12. For thedevice12 with a random value of 1100, the left side of the equation is evaluated as follows (0001 & 0000)=0000.
The right side is evaluated as (0001 & 1100)=0000. The left side equals the right side, so the equation is true for thedevice12 with the random value of 1100. For thedevice12 with a random value of 1010, the left side of the equation is evaluated as (0001 & 0000)=0000. The right side is evaluated as (0001 & 1010)=0000. The left side equals the right side, so the equation is true for thedevice12 with the random value of 1010. Because the equation is true for bothdevices12 in the field, bothdevices12 in the field respond, and there is another collision.
Recursively, the interrogator next sets AMASK to 0011 with AVALUE still at 0000 and transmits an Identify command. (AMASK & AVALUE)==(AMASK & RV) is evaluated for bothdevices12. For thedevice12 with a random value of 1100, the left side of the equation is evaluated as follows (0011 & 0000)=0000. The right side is evaluated as (0011 & 1100)=0000. The left side equals the right side, so the equation is true for thedevice12 with the random value of 1100, so thisdevice12 responds. For thedevice12 with a random value of 1010, the left side of the equation is evaluated as (0011 & 0000)=0000. The right side is evaluated as (0011 & 1010)=0010. The left side does not equal the right side, so the equation is false for thedevice12 with the random value of 1010, and thisdevice12 does not respond; Therefore, there is no collision, and the interrogator can determine the identity (e.g., an identification number) for thedevice12 that does respond.
De-recursion takes place, and thedevices12 to the right for the same AMASK level are accessed when AVALUE is set at 0010, and AMASK is set to 0011.
Thedevice12 with the random value of 1010 receives a command and evaluates the equation (AMASK & AVALUE)==(AMASK & RV). The left side of the equation is evaluated as (0011 & 0010)=0010. The right side of the equation is evaluated as (0011 & 1010)=0010. The right side equals the left side, so the equation is true for thedevice12 with the random value of 1010. Because there are noother devices12 in the subtree, a good reply is returned by thedevice12 with the random value of 1010. There is no collision, and theinterrogator26 can determine the identity (e.g., an identification number) for thedevice12 that does respond.
By recursion, what is meant is that a function makes a call to itself. In other words, the function calls itself within the body of the function. After the called function returns, de-recursion takes place and execution continues at the place just after the function call; i.e. at the beginning of the statement after the function call.
For instance, consider a function that has four statements (numbered 1,2,3,4) in it, and the second statement is a recursive call. Assume that the fourth statement is a return statement. The first time through the loop (iteration 1) the function executes thestatement 2 and (because it is a recursive call) calls itself causingiteration 2 to occur. Wheniteration 2 gets tostatement 2, it calls itself makingiteration 3. During execution initeration 3 ofstatement 1, assume that the function does a return. The information that was saved on the stack fromiteration 2 is loaded and the function resumes execution at statement 3 (in iteration 2), followed by the execution ofstatement 4 which is also a return statement. Since there are no more statements in the function, the function de-recurses toiteration 1.Iteration 1, had previously recursively called itself instatement 2. Therefore, it now executes statement 3 (in iteration 1). Following that it executes a return atstatement 4. Recursion is known in the art.
Consider the following code which can be used to implement operation of the method shown in FIG.4 and described above.
| collision=IdentifyCmnd(AMASK, AVALUE) if |
| /* recursive call for left side */ Arbitrate |
| /* recursive call for right side */ Arbitrate |
| ((AMASK<<1)+1, AVALUE+(AMASK+1)) |
The symbol “<<” represents a bitwise left shift. “<<” means shift left by one place. Thus, 0001<<1 would be 0010. Note, however, that AMASK is originally called with a value of zero, and 0000<<1 is still 0000. Therefore, for the first recursive call, AMASK=(AMASK<<1)+1. So for the first recursive call, the value of AMASK is 0000+0001=0001. For the second call, AMASK=(0001<<)+1=0010+1=0011. For the third recursive call, AMASK=(0011<<1)+1=0110+1=0111.
The routine generates values for AMASK and AVALUE to be used by the interrogator in an Identify command “IdentifyCmnd.” Note that the routine calls itself if there is a collision. De-recursion occurs when there is no collision. AVALUE and AMASK would have values such as the following assuming collisions take place all the way down to the bottom of the tree.
| |
| AVALUE | AMASK | |
| |
| 0000 | 0000 |
| 0000 | 0001 |
| 0000 | 0011 |
| 0000 | 0111 |
| 0000 | 1111* |
| 1000 | 1111* |
| 0100 | 0111 |
| 0100 | 1111* |
| 1100 | 1111* |
| |
This sequence of AMASK, AVALUE binary numbers assumes that there are collisions all the way down to the bottom of the tree, at which point the Identify command sent by the interrogator is finally successful so that no collision occurs. Rows in the table for which the interrogator is successful in receiving a reply without collision are marked with the symbol “*”. Note that if the Identify command was successful at, for example, the third line in the table then the interrogator would stop going down that branch of the tree and start down another, so the sequence would be as shown in the following table.
| |
| AVALUE | AMASK | |
| |
| 0000 | 0000 |
| 0000 | 0001 |
| 0000 | 0011* |
| 0010 | 0011 |
| . . . | . . . |
| |
This method is referred to as a splitting method. It works by splitting groups of collidingdevices12 into subsets that are resolved in turn. The splitting method can also be viewed as a type of tree search. Each split moves the method one level deeper in the tree. Either depth-first or breadth-first traversals of the tree can be employed. Depth first traversals are performed by using recursion, as is employed in the code listed above. Breadth-first traversals are accomplished by using a queue instead of recursion.
Either depth-first or breadth-first traversals of the tree can be employed. Depth first traversals are performed by using recursion, as is employed in the code listed above. Breadth-first traversals are accomplished by using a queue instead of recursion. The following is an example of code for performing a breadth-first traversal.
| (AMASK,AVALTE)=dequeue( ) |
| collision=IdentifyCmnd(AMASK, AVALUE) |
| if (collision) then |
| { |
| TEMP = AMASK+1 |
| NEW_AMASK = (AMASK<<1)+1 |
| enqueue(NEW_AMASK, AVALUE) |
| enqueue(NEW_AMASK, AVALUE+TEMP) |
| } /* endif */ |
The symbol “!=” means not equal to. AVALUE and AMASK would have values such as those indicated in the following table for such code.
| |
| AVALUE | AMASK | |
| |
| 0000 | 0000 |
| 0000 | 0001 |
| 0001 | 0001 |
| 0000 | 0011 |
| 0010 | 0011 |
| 0001 | 0011 |
| 0011 | 0011 |
| 0000 | 0111 |
| 0100 | 0111 |
| . . . | . . . |
| |
Rows in the table for which the interrogator is successful in receiving a reply without collision are marked with the symbol “*”.
FIG. 5 illustrates an embodiment wherein theinterrogator26 retries on the same node that yielded a good reply. The search tree has a plurality ofnodes51,52,53,54 etc. atrespective levels32,34,36,38, or40. The size of subgroups of random values decrease in size by half with each node descended.
The interrogator performs a tree search, either depth-first or breadth-first in a manner such as that described in connection withFIG. 4, except that if the interrogator determines that no collision occurred in response to an Identify command, the interrogator repeats the command at the same node. This takes advantage of an inherent capability of the devices, particularly if the devices use backscatter communication, called self-arbitration. Arbitration times can be reduced, and battery life for the devices can be increased.
When a single reply is read by the interrogator, for example, innode52, the method described in connection withFIG. 4 would involve proceeding tonode53 and then sending another Identify command. Because adevice12 in a field ofdevices12 can override weaker devices, this embodiment is modified such that the interrogator retries on thesame node52 after silencing thedevice12 that gave the good reply. This, after receiving a good reply fromnode52, the interrogator remains onnode52 and reissues the Identify command after silencing the device that first responded onnode52. Repeating the Identify command on the same node often yields other good replies, thus taking advantage of the devices natural ability to self-arbitrate.
AVALUE and AMASK would have values such as the following for a depth-first traversal in a situation similar to the one described above in connection with FIG.4.
| |
| AVALUE | AMASK | |
| |
| 0000 | 0000 |
| 0000 | 0001 |
| 0000 | 0011 |
| 0000 | 1111* |
| 0000 | 1111* |
| 1000 | 1111* |
| 1000 | 1111* |
| 0100 | 0111 |
| 0100 | 1111* |
| 0100 | 1111* |
| 1100 | 1111* |
| 1100 | 1111* |
| |
Rows in the table for which the interrogator is successful in receiving a reply without collision are marked with the symbol “*”.
In operation, the interrogator transmits a command at a node, requesting that devices within the subgroup represented by the node respond. The interrogator determines if a collision occurs in response to the command and, if not, repeats the command at the same node.
In one alternative embodiment, the upper bound of the number of devices in the field (the maximum possible number of devices that could communicate with the interrogator) is determined, and the tree search method is started at alevel32,34,36,38 or40 in the tree depending on the determined upper bound. The level of the search tree on which to start the tree search is selected based on the determined maximum possible number of wireless identification devices that could communicate with the interrogator. The tree search is started at a level determined by taking the base two logarithm of the determined maximum possible number. More particularly, the tree search is started at a level determined by taking the base two logarithm of the power of two nearest the determined maximum possible number ofdevices12. The level of the tree containing all subgroups of random values is considered level zero, and lower levels are numbered 1, 2, 3, 4, etc. consecutively.
Methods involving determining the upper bound on a set of devices and starting at a level in the tree depending on the determined upper bound are described in a commonly assigned patent application (attorney docket MI40-118) U.S. Pat. No.6,118,789, naming Clifton W. Wood, Jr. as an inventor, titled “Method of Addressing Messages and Communications System,” filed concurrently herewith, and which is incorporated herein by reference.
In one alternative embodiment, a method involving starting at a level in the tree depending on a determined upper bound (such as the method described in the commonly assigned patent application mentioned above) is combined with a method comprising re-trying on the same node that gave a good reply, such as the method shown and described in connection with FIG.5.
Another arbitration method that can be employed is referred to as the “Aloha” method. In the Aloha method, every time adevice12 is involved in a collision, it waits a random period of time before retransmitting. This method can be improved by dividing time into equally sized slots and forcing transmissions to be aligned with one of these slots. This is referred to as “slotted Aloha.” In operation, the interrogator asks alldevices12 in the field to transmit their identification numbers in the next time slot. If the response is garbled, the interrogator informs thedevices12 that a collision has occurred, and the slotted Aloha scheme is put into action. This means that eachdevice12 in the field responds within an arbitrary slot determined by a randomly selected value. In other words, in each successive time slot, thedevices12 decide to transmit their identification number with a certain probability.
The Aloha method is based on a system operated by the University of Hawaii. In 1971, the University of Hawaii began operation of a system named Aloha. A communication satellite was used to interconnect several university computers by use of a random access protocol. The system operates as follows. Users or devices transmit at any time they desire. After transmitting, a user listens for an acknowledgment from the receiver or interrogator. Transmissions from different users will sometimes overlap in time (collide), causing reception errors in the data in each of the contending messages. The errors are detected by the receiver, and the receiver sends a negative acknowledgment to the users. When a negative acknowledgment is received, the messages are retransmitted by the colliding users after a random delay. If the colliding users attempted to retransmit without the random delay, they would collide again. If the user does not receive either an acknowledgment or a negative acknowledgment within a certain amount of time, the user “times out” and retransmits the message.
There is a scheme known as slotted Aloha which improves the Aloha scheme by requiring a small amount of coordination among stations. In the slotted Aloha scheme, a sequence of coordination pulses is broadcast to all stations (devices). As is the case with the pure Aloha scheme, packet lengths are constant. Messages are required to be sent in a slot time between synchronization pulses, and can be started only at the beginning of a time slot. This reduces the rate of collisions because only messages transmitted in the same slot can interfere with one another. The retransmission mode of the pure11 Aloha scheme is modified for slotted Aloha such that if a negative acknowledgment occurs, the device retransmits after a random delay of an integer number of slot times.
Aloha methods are described in a commonly assigned patent application (attorney docket MI40-089) U.S. Pat. No.6,275,476, naming Clifton W. Wood, Jr. as an inventor, titled “Method of Addressing Messages and Communications System,” filed concurrently herewith, and which is incorporated herein by reference.
In one alternative embodiment, an Aloha method (such as the method described in the commonly assigned patent application mentioned above) is combined with a method involving re-trying on the same node that gave a good reply, such as the method shown and described in connection with FIG.5.
In another embodiment, levels of the search tree are skipped. Skipping levels in the tree, after a collision caused bymultiple devices12 responding, reduces the number of subsequent collisions without adding significantly to the number of no replies. In real-time systems, it is desirable to have quick arbitration sessions on a set ofdevices12 whose unique identification numbers are unknown. Level skipping reduces the number of collisions, both reducing arbitration time and conserving battery life on a set ofdevices12. In one embodiment, every other level is skipped. In alternative embodiments, more than one level is skipped each time.
The trade off that must be considered in determining how many (if any) levels to skip with each decent down the tree is as follows. Skipping levels reduces the number of collisions, thus saving battery power in thedevices12. Skipping deeper (skipping more than one level) further reduces the number of collisions. The more levels that are skipped, the greater the reduction in collisions. However, skipping levels results in longer search times because the number of queries (Identify commands) increases. The more levels that are skipped, the longer the search times. Skipping just one level has an almost negligible effect on search time, but drastically reduces the number of collisions. If more than one level is skipped, search time increases substantially. Skipping every other level drastically reduces the number of collisions and saves battery power without significantly increasing the number of queries.
Level skipping methods are described in a commonly assigned patent application (attorney docket MI40-117) U.S. Pat. No.6,072,801, naming Clifton W. Wood, Jr. and Don Hush as inventors, titled “Method of Addressing Messages, Method of Establishing Wireless Communications, and Communications System,” filed concurrently herewith, and which is incorporated herein by reference.
In one alternative embodiment, a level skipping method is combined with a method involving re-trying on the same node that gave a good reply, such as the method shown and described in connection with FIG.5.
In yet another alternative embodiment, any two or more of the methods described in the commonly assigned, concurrently filed, applications mentioned above are combined.
In compliance with the statute, the invention has been described in language more or less specific as to structural and methodical features. It is to be understood, however, that the invention is not limited to the specific features shown and described, since the means herein disclosed comprise preferred forms of putting the invention into effect. The invention is, therefore, claimed in any of its forms or modifications within the proper scope of the appended claims appropriately interpreted in accordance with the doctrine of equivalents.