This application claims priority from European Application for Patent No. 13368023.1 filed Jul. 19, 2013, the disclosure of which is incorporated by reference.
The present invention relates to near field communication (NFC) devices.
Near field communication is a wireless communication system operable to effect digital contactless communication between devices at a range of less than 20 cm and usually less than 10 cm and at a carrier frequency of 13.56 MHz. The specifications of methods and devices is mainly published by the NFC Forum (www.nfc-forum.org). Specifications published prior to the filing or priority date of this patent specification are hereby incorporated by reference.
In all NFC communications an initiator (reader) initiates communication by means of an initiation process. The initiation process starts by generating an RF field at 13.56 MHz. An NFC technology specific poll signal is then transmitted by the initiator. The poll response signal sets one or a sequence of timing slots in which to receive a poll response signal and waits for the first timing slot. The NFC listening devices within range, and of corresponding NFC technology, then respond to the poll signal with a poll response signal including the unique identification (UID) of the NFC listening device. The NFC listening device or devices may randomly select timing slots when there is more than one available. The initiation process is complete when the initiator has acquired the UID's of all the listening device in range the initiator is able to command data delivery from each or any specific device, one at a time and in an orderly sequence.
NFC uses only one carrier frequency and so communications between the initiator and listening device must be sequential to avoid interference (collision) between the signals.
NFC communications may be either passive or active. In passive communication the initiator generates the RF field. The listening device load modulates the existing RF field to achieve communication. Passive listening devices may be powered via the RF field and as with RFID devices have been used to tag items or people for many purposes. With active communication both the initiator and listening device generate an RF field. Embodiments herein concern passive communications.
NFC communications may occur between a dedicated device, that is to say devices such as a dedicated reader which is capable of acquiring data from a passive tag. However, smart electronic devices such as mobile (cell) phones, tablets, PDA's and lap top computers, provide an non-exhaustive and growing list of NFC enabled devices. Such devices are adapted in hardware and software to emulate either or both an NFC initiator device and an NFC listening device according to the instant wishes of the user. Embodiments herein apply to both dedicated and NFC enabled devices.
As a result of the proliferation of NFC devices it is increasingly common for an initiator to initiate a response from several listening devices in range. There is therefore a probability of a collision between the responses of the NFC listening devices which will corrupt each device UID or other parts of the response signal. NFC forum has technology specific anti-collision protocols which may allow the resolution of such collisions. For example NFC-A collision resolution is described in detail at the NFC Specification Activities Chapter 9.3.3 FIG. 7, collision resolution for NFC B is described at NFC Specification Activities Chapter 9.3.5 FIG. 8 and collision resolution for NFC-F is described at NFC Specification Activities Chapter 9.3.6 FIG. 9.
Collision resolution activities are either of (i) probabilistic or (ii) deterministic. In the former case the initiator sets a sequence of time slots during which a poll response signal can be received from an NFC listening device. Each activated NFC listening device randomly selects a time slot into which to respond. If and when a clear poll response is received with the NFC UID, the listening device identified by the initiator is commanded into a sleep mode unresponsive to the poll request signal. The process is repeated until no unidentified devices remain active. Because the process is probabilistic it can be prolonged and may fail.
The deterministic method starts by asking for the first number of the tag (a so called “Query Tree” algorithm) until it matches the tags then it continues to ask for additional characters until all tags within the region are found. This method is slow, and introduces a long identification delay but leads to fewer collisions, and has a 100 percent successful identification rate.
In an embodiment, an NFC anti-collision method comprises the steps of: an NFC initiator device implementing an initiation process comprising the broadcast of a poll request signal; and at least one NFC listening device responsive to the poll request signal to transmit a poll response signal; the poll request signal including a sequence of introduction vectors each coupled to an allocation vector, and the or each NFC listening device receiving, reading and comparing each received introduction vector and to an embedded introduction vector and responsive to matching the received introduction vector and embedded introduction vector to transmit a poll response signal in accordance with timing determined by the allocation vector coupled to the matched received introduction vector.
Further, there is provided a system comprising an NFC initiator device and an NFC listening device, said initiator device having a controller to generate a poll request signal and a transmitter to generate an RF field and modulate the RF field to communicate the poll request signal during implementation of an initiation process and a receiver to sense modulation of the RF field and receive data; a controller to control the transmission, reception and generation of signals in accordance with machine readable code; an NFC listening device having a receiver to receive data from the RF field a transmitter to modulate the RF field to transmit a poll response signal to the initiator device in response to the initiation process and a controller to control the transmission, reception and generation of signals; the NFC initiator device controller is responsive to code to generate a poll request signal carrying a sequence of introduction vectors each coupled to a corresponding allocation vector and the NFC listening device controller is responsive to reception of each introduction vector to compare the received introduction vector to an embedded introduction vector recorded on the NFC listening device, and is responsive to matching the received and embedded introduction vectors to read the allocation vector, the controller processing the allocation vector to determine a time at which to communicate the poll response signal to the NFC initiator.
According to another aspect there is provided: an NFC initiator having: means to generate a poll request signal and a transmitter to generate an RF field and modulate the RF field to communicate the poll request signal during implementation of an initiation process and a receiver to sense modulation of the RF field and receive data; and a controller to control the transmission, reception and generation of signals in accordance with machine readable code, wherein that the controller is responsive to the machine readable code to generate a poll request signal comprising a sequence of introduction vectors each coupled to a respective allocation vector.
According to another aspect there is provided an NFC listening device having: a receiver to receive data from the RF field; a transmitter to modulate the RF field to transmit a poll response signal during an initiation process and a controller to control the transmission, reception and generation of signals; wherein the NFC listening device controller is responsive to reception of an introduction vector to compare the received introduction vector to an embedded introduction vector recorded on the NFC listening device, and is responsive to matching the received and embedded introduction vectors to read an allocation vector coupled to the respective introduction vector, the controller processing the allocation vector to determine a time at which to communicate a poll response signal to the NFC initiator.
The introduction vector is a signal described as a vector because it is convenient to express the signal as a vector matrix. However, the signal, like all NFC communications, will physically be a sequence of high and low amplitude modulations of the RF field encoding a binary, digital signal consisting of bytes of bits.
The allocation vectors transmitted from the initiator device are selected or calculated to ensure that the time slots determined for every poll response signal transmission do not overlap. As a result bit level collision between poll response signals is avoided.
In an alternative implementation of the method, system, initiator and listening device are modified so that the poll request signal comprises a sequence of introduction vectors each coupled to a corresponding allocation vector, with a response period between each initiation, vector couple. The listening device is modified to respond to an introduction vector match, by transmitting an acknowledgement signal during the response period. As a result the initiator will record that a listening device matching the introduction vector is present if an acknowledgement is received or absent if no acknowledgement is received. The acknowledgement will preferably comprise the matched introduction vector.
Embodiments of a method, system, initiator and listening device embodying the present invention will now be described with reference to the accompanying illustrative figures in which:
In the broadcast example of
In the first embodiment as illustrated by
(0000; 15+G) (0001; 14G+T+2G) (0010; 13+2T+3G) (0011; 12+3T+4G) (0100; 11+4T+5G) (0101; 10+5T+6G) (0110; 9+6T+7G) (0111; 8+7T+8G) (1000; 7+8T+9G) (1001; 6+9T+10G) (1010; 5+10T+11G) (1011; 4+11T+12G) (1100; 3+12T+13G) (1101; 2+13T+14G) (1110; 1+14T+15G) (1111; 15T+16G)
The values of T and G are given below:
a) N is the number of Tags that want to communicate simultaneously with the Reader.
b) M is the maximum possible number of Tags that can communicate simultaneously with the Reader.
c) n is the number of bits that form each “introduction vector”. To apply the method, n is chosen such that M=2n.
d) t is the maximum period of a complete communication between each Tag and the Reader.
e) T is the number of the tag timer periods (106 kbps) during t. This implies that T=106000*t. the 106 kbps of each nearby tag must be always active (powered by the field of the reader) during all the steps.
f) g is the guard interval between two consecutive communications.
g) G is the number of the tag timer periods (106 kbps) during g. This implies that G=106000*g.
h) s is the time of the “introduction sequence”
i) S is the number of the tag timer periods (106 kbps) during s. This implies that S=106000*s. The introduction sequence is a binary stream sent out by the initiator. It is a serial sequence of all existing introduction vectors separated by the time allocation (start and end of communication) that the initiator attributes to the designated tag. i.e. the number of bits that form the introduction sequence=M*n+N*b=2(n+1)+N*b, where b is the number of bits that form the “time allocation vector” sent by the reader to attribute the time allocation of the communication with the designated tag.
j) The time allocation vector=M−1−corresponding introduction vector+corresponding introduction vector*T+(corresponding introduction vector+1)*G.
In an equation form, the allocation vector is calculated as:
The time allocation vector=M−1−decimal value of the corresponding introduction vector+decimal value of the corresponding introduction vector*T+(decimal value of the corresponding introduction vector+1)*G
For example, if we take the case of 0011-transponder, the time allocation vector=16−1−decimal value (0011)+decimal value (0011)*T+[decimal value (0011)+1]*G=16−1−3+3*T+[3+1]*G=12+3T+4G.
This ensures that the allocation vectors are calculated to ensure there is no overlap between any two calculated poll response time slots.
Each of tags 1 to 6 receives the whole poll request signal at step 103 including each introduction vector and allocation vector. Each tag then implements step 104 where a counter C is set to 1. At step 105 the Cth (1st) introduction vector is read from the poll request signal. At step 106 the embedded introduction vector pre-recorded on the listening device is read from memory 42. At step 107 the embedded introduction vector IVL is compared to the Cth introduction vector. If the vectors mismatch the method goes to step 108 and increments C by 1 before returning to step 105 to repeat the comparison loop to step 107.
If at step 107 the embedded introduction vector IVL matches the received introduction vector IVC, the listening device 42 reads the time allocation vector coupled with the matched introduction vector at step 109 and at step 110 calculates a time period TC in which to respond to the poll request signal. Because no two tags are embedded with the same introduction vector, and no two allocation vectors are the same, the calculated response times will each be different and the poll response signals will not collide. Specific examples of timing calculations based on the allocation vectors are given below:
The initiator may calculate a sequence of periods, one for each allocation vector (AVC) sent in the poll request signal. This process is represented by step 4 setting C=1 to read the Cth (1st) allocation vector at step 5. The corresponding poll response start time TC is calculated at step 6. Generally the poll response time is measured from the start of the process. The period required for reception of a poll response is predetermined for any listening device. In order to facilitate reception of the poll response signal from the listening device the initiator demodulates the RF field at step 7.
At step 8 the value of C is incremented by one and if the maximum number of listening devices Cmax has not been reached the method goes back to step 5. If the maximum number of listening devices Cmax is reached the method ends.
The second embodiment uses hardware physically similar to that of the first embodiment but modified by machine readable code to implement the method illustrated by
Referring to
If the introduction vectors match at step 107 the method goes to step 309 where the controller drives the transmitter 45 to send the introduction vector IVL as an acknowledgement of the presence of the listening device. Thus an example of the signals at the initiation device is given below:
After the transmission of the Cth poll request signal the initiator 30 goes to step 205 to wait a specified guard time for reception of the Cth introduction vector. If no introduction vector is received during the limited reception period the method goes to step 8 where C is incremented to C+1. If the new value of C equals the maximum number of allowed listening device resolutions, the method ends, otherwise the method goes to step 204 again to send the new Cth value of introduction vector and allocation vector couple.
A sample representation of the transmission from the initiator is as follows:
(0000; 15+G) w1 (0001; 14G+T+2G) w2 (0010; 13+2T+3G) w3 (0011; 12+3T+4G) w4 (0100; 11+4T+5G) w5 (0101; 10+5T+6G) w6 (0110; 9+6T+7G) w7 (0111; 8+7T+8G). Where “w” represents the wait period at step 205.
Only when the initiator receives an introduction vector within the specified limited introduction vector reception period, the method goes to step 5 where the Cth allocation vector is read. At step 6 the poll response time for the Cth allocation vector is calculated from the allocation vector. At subsequent step 207 the poll response time is recorded for use in timing the demodulation of the RF field when all the poll request signals have been sent.
In the case of the listening device, after transmission of the introduction vector at step 305 the listening device reads the allocation vector at step 109 so that it can be used to calculate the timing TC for transmission of the poll response signal. At step 111 the poll response signal is sent when a timer indicates that the poll response time TN is reached.
The disclosed process obviates any need to keep the introduction vectors recorded on the initiation device to be kept current. It is only necessary to keep the length of the introduction vectors current by means of hardware or firmware. If, for example, the NFC initiator is used in an application where a maximum of 16 different tags (subscribers) can exist, then the introduction vector needs to be of 4-bit length. If for example the NFC initiator is used in an application where a maximum of 32 different tags (subscribers) can exist, then the introduction vector needs to be of 5-bit length. The length of the introduction vector is given according to this equation:
L=ceiling {Log 2(maximum number of tags)}.
L must be known to the initiator; it is soft coded (by firmware) in a register inside the initiator circuit.
For example, if L=4. The initiator can generate all possible 4-bit combinations (16 combinations) and send them one after the other during the introduction sequence as shown by the
Number | Date | Country | Kind |
---|---|---|---|
13368023 | Jul 2013 | EP | regional |
Number | Name | Date | Kind |
---|---|---|---|
6173323 | Moghe | Jan 2001 | B1 |
8576053 | Buscemi | Nov 2013 | B2 |
8977198 | Leutgeb | Mar 2015 | B2 |
20130084798 | Faithorn | Apr 2013 | A1 |
Number | Date | Country |
---|---|---|
1662709 | May 2006 | EP |
Entry |
---|
EPO Search Report for EP 13368023 mailed Feb. 21, 2014 (9 pages). |
“NFC Activity Specification 1.0,” Nov. 18, 2010, XP055059248, http://www.nfc-forum.org/specs/spec—license/document—form/custom—layout?1365423337032, retrieved on Apr. 11, 2013, p. 48, paragraph 7 (117 pages). |
“NFC Digital Protocol Technical Specification NFC Forum,” Nov. 17, 2010, XP055086545, http://cwi.unik.no/images/NFC—forum—digital—protocol.pdf, retrieved on Nov. 4, 2013, the whole document (194 pages). |
Hillan, John: “Correction to NFC-A Collision Resolution Activity,” Feb. 3, 2012, XP055059795, http:/222.nfc-forum.org/apps/group—public/download.php/11097/Qualcomm%20Input%20Paper%20on%20NFC-A%20Collision%20Resolution.docx, retrieved on Apr. 16, 2013, the whole document (6 pages). |
Number | Date | Country | |
---|---|---|---|
20150024682 A1 | Jan 2015 | US |