Method and RFID reader for evaluating a data stream signal in respect of data and/or collision
FIELD OF THE INVENTION
The invention relates to a method for evaluating by a radio frequency identification reader a data stream signal in respect of data and/or collision, comprising comparing the data stream signal with at least one threshold level, particularly a data bit level and/or a collision level, and evaluating the results of the comparison.
The invention further relates to a radio frequency identification reader being configured to evaluate a data stream signal in respect of data and/or collision, by comparing the data stream signal with at least one threshold level, particularly a data bit level and/or a collision level, and evaluating the results of the comparison. The invention further relates to a computer program product directly loadable into the memory of a programmable radio frequency identification reader, comprising software code portions for performing the steps of a method according to the first paragraph when said product is run on the radio frequency identification reader.
BACKGROUND OF THE INVENTION
In known Radio Frequency IDentification (RFID) systems fixed threshold levels are used for detecting data and collisions in data stream signals received by an RFID reader. In this context, the term "fixed theshold levels" means that said threshold levels are either set in advance or are selected as a predefined multiple of an input noise signal. However, these known RFID systems have shown the disadvantage that in case of varying signal levels the threshold levels used for the detection of data and collisions cannot be adapted, which may result in detection errors. Varying signal levels may for instance arise from signal beat or from varying coupling between the antennas of an RFID reader and RFID tags, respectively. From the document US 5,300,922 a periodic pulse discrimination system for use with electronic article surveillances systems is known which is capable of detecting valid tag pulses while discriminating against periodic pulses caused by resonances and interfering carriers as well as random noise. Circuitry that determines the periodicity of a pulse signal and is responsive to amplitude differences between successive detected pulses controls an
adaptive threshold and sampling window to discriminate against signals having an incorrect periodicity and an inadequate envelope rise time. This document generally discusses topics in respect of adaptive detection of periodic signals and noise, but does not disclose processes or means for detecting data and collisions in data stream signals among the signals of multiple RFID tags by use of adaptive threshold levels.
OBJECT AND SUMMARY OF THE INVENTION
It is an object of the invention to provide a method of the type defined in the opening paragraph and a device of the type defined in the second paragraph, in which the disadvantages defined above are avoided.
In order to achieve the object defined above, with a method according to the invention characteristic features are provided so that a method according to the invention can be characterized in the way defined below, that is:
A method for evaluating by an radio frequency identification reader a data stream signal in respect of data and/or collision, comprising comparing the data stream signal with at least one threshold level, particularly a data bit level and/or a collision level, and evaluating the results of the comparison, wherein both the threshold level and its adaptation speed are adapted in dependence of the course of the data stream signal and/or the course of said threshold level. In order to achieve the object defined above, with an RFID reader according to the invention characteristic features are provided so that the RFID reader carries out the steps of the method according to the present invention.
In order to achieve the object defined above, with a computer program product according to the invention characteristic features are provided so that a computer program product according to the invention is directly loadable into the memory of a programmable RFID reader, wherein the computer program product comprises software code portions for performing the steps of a method according to the invention when said product is run on the RFID reader.
In order to achieve the object defined above, an RFID reader according to the invention comprises an arithmetic-logic unit and a memory and processes the computer program product according to the above paragraph.
The characteristic features according to the invention provide a substantial improvement of the detection rate and speed of data and collisions in data stream signals of RFID readers. The present invention is of particular advantage for RFID systems that are
operated in environments and/or under such conditions wherein the signal levels may change over time. This may be due to antenna detuning, noise or changes of the magnetic coupling between RFID reader and RFID tags.
The measures as claimed in claim 2 provide the advantage that with an appropriately set basic adaptation speed a fast initial adaptation of the threshold levels can be achieved. The basic adaptation speed may be varied over time, thus enabling learning modes. This may be done using a learning curve.
The measures as claimed in claim 3 or claim 4, respectively, provide the advantage that the threshold levels can be adapted faster if samples of the data stream signal have a high variance, or can be frozen if the variance is too high.
The measures as claimed in claim 5 provide the advantage that an adaptation of bit level to collisions or outliers is prevented. Further, quick adaptation of the threshold levels to steps can be achieved.
The measures as claimed in claim 6 provide the advantage that adaptation of the threshold levels is selectively activated or deactivated. For example a "1" bit level should not try to adapt to "0" sample values. Further, adaptation can be prevented when the distance of an actual sample value of the data stream signal to the threshold level is too high.
The measures as claimed in claim 7 provide the advantage that interferences can be handled that cause increased signal levels in case of signal collision. The measures as claimed in claim 8 provide the advantage that a quick decision can be made whether in case of signal collision the data can be recovered or not.
It should further be noted that the features of the inventive method can be directly implemented in the RFID reader.
The aspects defined above and further aspects of the invention are apparent from the exemplary embodiment to be described hereinafter and are explained with reference to this exemplary embodiment.
BRIEF DESCRIPTION OF THE DRAWINGS
The invention will be described in more detail hereinafter with reference to an exemplary embodiment. However, the invention is not limited to this exemplary embodiment.
Fig. 1 shows a schematic block circuit diagram of an RFID system.
Fig. 2 shows a schematic block circuit diagram of an RFID tag.
Fig. 3 shows a signal diagram explaining strong signal collision.
Fig. 4 shows a signal diagram explaining weak signal collision. Fig. 5 to Fig. 8 show exemplary diagrams of various adaptive threshold levels defined according to the present invention.
Fig. 9 shows a diagram of the amplitude of samples of a data stream signal and adaptive bit levels and collision levels.
Fig. 10 shows a block circuit diagram of an implementation of the present invention.
DESCRIPTION OF EMBODIMENTS Fig. 1 shows a schematic block circuit diagram of an RFID (Radio
Frequency Identification) system comprising an RFID reader 1 and a number of RFID tags 2a, 2b, wherein, for the sake of clearness, only two RFID tags 2a and 2b are depicted. RFID reader 1 communicates with the RFID tags 2a, 2b in a contact-less manner via modulated electromagnetic signals, provided the RFID tags 2a, 2b are within the transmission and receiving range of the RFID reader 1. The RFID reader 1 comprises control means 3, like a microprocessor or micro-controller, which control means 3 communicate via a data bus with program storage means 4. The program storage means 4 is adapted to store an operating system OS for basic operation of the control means 3 and application program code SW to be processed by the control means 3. The program storage means 4 may be configured as a non- volatile memory, like a PROM, EPROM, EEPROM or the like, wherein in the present case a ROM utilized. The program storage means 4 may also be configured as a user definable ASIC, PAL or the like. Further, the control means 3 and the program storage means 4 may be integrated into a single chip. It should be observed that the application program code SW and the operating system OS may be integrated. The control means 3 further communicate with a random access memory 5. The control means 3, when processing the program code SW, cooperate with input/output means 8, which e.g. can be configured as a link interface to a computer.
The RFID reader 1 further comprises an antenna 7 for transmitting electromagnetic signals SS to the RFID tags 2a, 2b. These electromagnetic signals SS may be used for both transmitting data to the RFID tags 2a, 2b and energizing the RFID tags 2a, 2b if they are configured as passive tags. The RFID tags 2a, 2b respond to the RFID reader with response signals RSl, RS2. Data exchange between the RFID reader 1 and the RFID tags 2a, 2b may be accomplished by standard data transmission protocols and standard modulation methods. For instance, the electromagnetic signal SS sent from the RFID reader 1 to the
RFID tags 2a, 2b is a pulse position coded modulated signal according to the international standard ISOl 5693 but also other transmission methods may be considered. The response signals RSl , RS2 from the RFID tags 2a, 2b to the RFID reader are e.g. load modulated signals, wherein a carrier signal or sub carrier signal contained in the electromagnetic signal SS is modulated by switching a load impedance connected to the antennas of the RFID tags 2a, 2b, so that varying energy is drawn from the carrier signal or sub-carrier signal. Switching the load impedances at the RFID tags causes a change of the impedance of the antenna 7 of the RFID reader 1 and hence a varying amplitude of the voltage at the antenna 7 of the RFID reader 1, which varying voltage amplitude represents an input signal IS. For recovery of data contained in the input signal IS the input signal IS is rectified or demodulated, respectively, yielding data stream signal DS. The RFID reader 1 extracts the data coded in the data stream signal DS by comparing it with defined bit levels. In order to reduce the errors in extracting the data collision levels can be defined additionally and used for comparison, as will be explained in detail below. Fig. 2 shows a schematic block circuit diagram of an exemplary embodiment of the RFID tags 2a, 2b. It should be observed that the configuration of the RFID tags 2a, 2b is not part of the present invention, but is explained only for a comprehensive understanding of the present invention. Each RFID tag 2a, 2b is configured as a passive tag and comprises an antenna 10, an analogue radio frequency interface 11 that is connected to the antenna 10, a digital control unit 12 that is connected to the analogue radio frequency interface 11, and a memory 13 that is connected to the digital control unit 12. The memory 13 is a non- volatile memory, like an EEPROM, so that data that are written into the memory 13 during communication with the RFID reader 1 remain stored even when the RFID tag 2a, 2b is switched off, e.g. because it leaves the transmitting range of the RFID reader 1 and is therefore not longer energized by the RFID reader 1. Memory 13 may also contain program code for operating the digital control unit 12 and a unique identification number. Antenna 10 receives the electromagnetic signals SS from the RFID reader 1 and passes them to the analogue radio frequency interface 11. In general, the analogue radio frequency interface 11 comprises a rectifier REG and a voltage regulator VREG with integrated energy storage element, like a capacitor, to derive from the received electromagnetic signals SS the necessary operating voltage VDD for the digital control unit 12 and the memory 13. Further, analogue radio frequency interface 11 comprises a demodulator DEMOD to extract data DIN from the electromagnetic signals SS and to pass them to the digital control unit 12. Digital control unit 12 processes the received data DIN and may respond to the RFID reader 1 by
creating output data DOUT and passing them to the analogue radio frequency interface 11. Analogue radio frequency interface 11 comprises a modulator MOD that modulates the output data DOUT and transmits the modulated signals as response signals RSl, RS2 via antenna 10. For a successful communication between the RFID reader 1 and the RFID tags
2a, 2b it is necessary to frequently carry out synchronization between said devices. Further, in frequent time intervals the RFID reader searches for RFID tags being present in its receiving range by sending out broadcast inventory commands, requesting all RFID tags to confirm their presence by returning their identification numbers. This inventory process may result in signal collisions at the antenna 7 of the RFID reader, when more than one RFID tag respond at the same time, as will now be explained with reference to the diagrams of Figs. 3 and 4.
The diagram depicted in Fig. 3 shows in the upper two lines response signals RSl, RS2 transmitted at the same time by RFID tags 2a, 2b. The response signals RSl, RS2 contain the bit streams „ 1 - 1 " (RS 1 ) and „ 1 -0" (RS2) in Manchester coding. Manchester coding is a form of data communications line coding in which each bit of data is signified by at least one transition. Each bit is transmitted over a predefined time period. Superposition of the response signal RSl, RS2 creates the input signal IS at the antenna of the RFID reader 1 as is depicted in the lowest line of the diagram, which input signal IS is demodulated to data stream signal DS. Regarding input signal IS or data stream signal DS, respectively, it will be appreciated that the first bit still contains a transition, although the signal amplitude has been increased to about twice the signal amplitude of signals RSl, RS2. However, when comparing data stream signal DS with appropriately set bit levels the RFID reader 1 is still able to correctly recover the correct bit values "1" and assign them to response signals RSl, RS2. In contrast thereto, the second bits of signals RSl, RS2 superimpose to a signal form in the input signal IS and the demodulated data stream signal DS, respectively, that has no transition, which is a violation of Manchester coding. This lacking transition constitutes a so- called ,,strong" collision, since the RFID reader is unable to recover the data bits.
The diagram of Fig. 4 shows response signals RSl and RS2 from RFID tags 2a, 2b as received by the RFID reader. It will be appreciated that the response signals RSl, RS2 appear with different amplitudes at the RFID reader (for instance due to different distances from the RFID reader 1) resulting in an input signal IS and a demodulated data stream signal DS, respectively, as depicted in the lowest line of the diagram. Although superimposing of response signals RSl, RS2 at antenna 7 of the RFID reader 1 causes a signal collision in the
data stream signal DS, in this case the collision is only a ,,weak" one, since the data stream signal DS still shows a signal transition that allows for the correct recovery of the data („1" for signal RSl, „0" for RS2) provided that the data stream signal DS is compared with appropriately set bit levels. In order to improve the data detection rate and speed and to reduce the error rate the present invention proposes to use adaptive threshold levels for comparison with the data stream signal DS. Such adaptive threshold levels are useful whenever the values that represent the threshold level change over time. This may be due to antenna detuning, noise or changes of the magnetic coupling (eg. moving vicinity integrated circuit cards (VICC)). In order to achieve best results the present invention further proposes to adapt the threshold levels with an adaptive adaptation speed, as will be explained herein below.
In an embodiment of the present invention adaptation of the threshold levels is based on exponential smoothing. It's adaptation speed α (α, αvar : 0...1 e R) is a function
of the variance (Lvar), the relative distance of the new sample to the level 1^ J iVi ' ' >l, an external value (α0) and an on/off variable (e {0,1 }). The term this denotes the actual sample x(n) of the data stream signal DS. The factors F control the weight of each part.
The variance is estimated by the following equations. These equations are basically the same as for the adaptive level itself.
I jthi> [EQl]
''UU-AI-! *«' ! Λ .,.,,! I'M -iff f; !
J.™'.- !'/.««ι>' - n- ιl -'W'') > tl^ - /...■> - I ■!>«„,, "''^ '1^ [EQ2]
The maximum variance Lvar)inax prevents divergence effects for positive FΔ,var (more variance => faster level adaptation => higher misplacement for the next sample => more variance =^> ...) if set properly.
The main level is calculated as follows:
[(^■■■" ' /,,„■- n '* ■ I-7TTT r-j uu < 111^j0 [EQ3] /.<*.•» IAJ; - I ' - ' l - nii;ϊi ■ 11) [^ - . ι> ,-j "s
The adaptation speed is controlled by various parameters. The following table lists these parameters including a short explanation.
Next, applications of the present invention are explained by way of examples.
Example 1
In order to discriminate bits "1" and bits "0" in an input signal that is received by the RFID reader from RFID tags a bit threshold level for bit " 1 " (denoted L»r) and a bit threshold level for bit "0" (denoted L»o») is defined. It is further defined:
i t^llt Iu1 I >1U t> I ' M <> k>mw' * ' αil« [EQ 5]
1 it tin- uiiiop > 1 ■
O)i -A\ [EQ 6]
I on ..Il [EQ 7]
The above threshold levels are shown for a sample x in the diagram of Fig. 5. The bit decision is defined by:
■ » u tl
' lhi- ^
>ut ! -
«■ ' [EQ 8]
11U« 1> 1IlIIi d nt h I V"1 ->L>
Example 2 In order to enhance the evaluation of the data stream signal DS in such a way that not only bits "1" and "0" can be discriminated, but also collisions may be found, two collision levels Lcou,"r(n) and Lcou,"o"(n), i.e. one for each bit level, are defined according to the following equations:
LcoivKn) = L»r<n) - L^-rCn) • FcolVT. [EQ 9]
Lcoii,"0"(n) = L"0.'(n) + Lvar)»o»(n) • Fcoiy<τ [EQ 10]
The above threshold levels are shown for a sample x in the diagram of Fig. 6. The occurrence of collisions is decided according to the following equation:
Example 3 It should be noted that interferences may create increased instead of decreased levels in case of collisions. In order to cope with this problem, two additional collision threshold levels have to be introduced, resulting in four collision threshold levels:
Lcoii,"i",u(n) = L»r<n) + Lvar,..r<n) • Fcolv.r. [EQ 12] Lcolv.ry(n) = L>.r<n) - Lvar,..r<n) • Fcolv.r. [EQ 13]
Lcoii,"0",u(n) = L"o"(n) + Lvar)»o»(n) • Fcou,»o» [EQ 14]
Lcoii,"0",i(n) = L»o»(n) - Lvar)..0»(n) • FCO11).Ό» [EQ 15]
The above threshold levels are shown for a sample x in the diagram of Fig. 7. The occurrence of collisions is decided according to the following equation:
ou t v [EQ 16]
Example 4
Using two different collision levels per bit level allows the system to discriminate "weak" from "strong" collisions:
Lcoll,"l",strong(n) — L
»i
»(n) - L
var)"i"(n)
• F
coll,"l",strong [EQ 17] Lcoll,"l",weak(n) = L
»i
»(n) - L
var)"i"(n)
• F
C0U,"i",weak [EQ 18] Lcoll,"
0",strong(n) = L"0"(n) +
• F
coll)"0"
)Strong [EQ 19] Lcoll,"0",weak(n) = L
» O »(n) + Lvar,"0"(
n) ' Fcoll,"0",weak [EQ 20]
The above threshold levels are shown for a sample x in the diagram of Fig. 8. The occurrence of strong and weak collisions is decided according to the following equation:
t l lk I l «V 11 1 KUWB 1 t tl l^
4M i ins. f OIIMΠIH
1 αι i vi u/ [EQ 21]
' I 1^ 't Ϊ >. -A\ ti Λ> ,1 i ' 111"- *! oil U -,Ir lv '"
WnI t UHMKLU t t iii-- il f M i -m u* > t in- ,\ Ji i v, ,k ! > [EQ 22]
with Fcou,"i",strong > Fcoii,"i",Weak and Fcoii,"o",strong > Fcoii,"o",weak. Combining examples 3 and 4, i.e. defining two collision levels per bit level and weak/strong collision levels, eight collision levels are obtained.
Example 5
Fig. 9 shows a diagram of the amplitude of samples of a data stream signal DS and adaptive bit levels and collision levels. This example is an implementation of above equations [EQ 1] to [EQ 11], with equations [EQ 6] and [EQ 7] respectively, having been substituted by the following equations:
The diagram of Fig. 9 is explained by the following table:
Fig. 10 shows a block circuit diagram of an implementation of the present invention. It should be observed that this implementation may be embedded in form of hardware implementation (level adaptation means LA as part of control means 3 of RFID reader 1, see Fig. 1) or software implementation, wherein the software is stored in the program storage means 4 or loadable into the program storage means 4 and/or the memory 5 of the RFID reader 1. In many situations a computer program product that comprises software code portions for performing the steps of the method according to the invention is already pre-stored in such an RFID reader, e.g. in a ROM or EPROM or any other permanent memory. It may also be that the computer program product can be fed into the RFID reader by the aid of a data carrier on which the computer program product is stored.
In the block circuit diagram of Fig. 10 the following associations between blocks and equations are given:
"1" level: [EQ 3], [EQ 4]
"0" level: [EQ 3], [EQ 4]
"l" var level: [EQ l], [EQ 2]
"0" var level: [EQ l], [EQ 2]
center level: [EQ 5] right part: [EQ 17] to [EQ 20] comparator: [EQ 5], [EQ 21] to [EQ 24]
It can be mentioned that so called RFID systems are systems used for goods or animal identification. But also so called near field communication devices (NFC devices) can be considered. In general idea of this invention can always be applied for communication systems, in which systems a bit stream and collision detection is required. It allows to make decisions on signals, for which signals the variance of the level (e.g. caused by noise) is a problem during operation. It should be noted that the above-mentioned embodiments illustrate rather than limit the invention, and that those skilled in the art will be able to design many alternative embodiments without departing from the scope of the appended claims. In the claims, any reference signs placed between parentheses shall not be construed as limiting the claim. The word "comprising" does not exclude the presence of elements or steps other than those listed in a claim. The word "a" or "an" preceding an element does not exclude the presence of a plurality of such elements. The invention may be implemented by means of hardware comprising several distinct elements, and/or by means of a suitably programmed processor. In the device claim enumerating several means, several of these means may be embodied by one and the same item of hardware. The mere fact that certain measures are recited in mutually different dependent claims does not indicate that a combination of these measures cannot be used to advantage.