CROSS-REFERENCE TO RELATED APPLICATION
-
The current application is a continuation of U.S. application Ser. No. 15/060,393 entitled “Collision Detection Using a Multiple Symbol Noncoherent Soft Output Detector” to Sadr et al., filed Mar. 3, 2016, which is a continuation of U.S. application Ser. No. 14/681,863 entitled “Collision Detection Using a Multiple Symbol Noncoherent Soft Output Detector” to Sadr et al., filed Apr. 8, 2015 and issued on Apr. 12, 2016 as U.S. Pat. No. 9,312,987, which application is a continuation of U.S. application Ser. No. 13/831,825 entitled “Collision Detection Using a Multiple Symbol Noncoherent Soft Output Detector” to Sadr et al., filed Mar. 15, 2013 and issued on Apr. 14, 2015 as U.S. Pat. No. 9,008,239, which application claims priority under 35 U.S.C. §120 as a Continuation-In-Part of U.S. patent application Ser. No. 13/414,616 entitled “Multiple Symbol Noncoherent Soft Output Detector” to Divsalar et al., filed Mar. 7, 2012 and issued on Mar. 21, 2017 as U.S. Pat. No. 9,602,316, which application claims priority under 35 U.S.C. §119(e) to U.S. Provisional Patent Application Ser. No. 61/449,869 entitled “LLR for Symbol Stream Combining of FM0 with Preamble and Pilot” to Dariush Divsalar, filed Mar. 7, 2011, the disclosures of which are incorporated by reference herein in their entirety.
FIELD OF THE INVENTION
-
The present invention relates to communication systems and more specifically to detection of tag collisions using a multiple symbol noncoherent soft output detector.
BACKGROUND
-
In many applications, noncoherent or differential detection is an attractive alternative to coherent detection due to the simplicity of implementation and/or where the transmission environment is sufficiently degraded, e.g., a multipath fading channel, that acquiring and tracking a coherent demodulation reference signal is difficult if not impossible. A noncoherent detector is a detector that does not directly estimate the phase of the received signal. Although differential detection removes the need for carrier acquisition and tracking in the receiver, it suffers from a performance penalty (additional required SNR at a given bit error rate) when compared to ideal (perfect carrier phase reference) coherent detection. The amount of this performance penalty increases with the number of phases M and is significant for M≧4. Dariush Divsalar and Marvin K. Simon, in their paper entitled “Multiple-Symbol Differential Detection of MPSK,” IEEE Transactions on Communications, March 1990 (the disclosure of which is incorporated by reference in its entirety), presented a differential detection technique involving making a joint decision on several symbols simultaneously as opposed to symbol-by-symbol detection. The multiple symbol differential detection technique is a form of maximum-likelihood sequence estimation and assumes that carrier phase is constant during the extended observation interval, which is typically a reasonable assumption for observations of the order of three or four symbol observations. The multiple symbol differential detector described by Dr. Divsalar and Dr. Simon performs hard decisions. A hard decision is a decision between a fixed set of possible values (e.g. 0 or 1). In a soft output detector, each bit in the output also takes on a value indicating reliability.
SUMMARY OF THE INVENTION
-
Systems and methods for detecting collisions in radio frequency tags in accordance with embodiments of the invention are disclosed. In one embodiment, a receiver system includes a receiver configured to receive and sample a phase modulated input signal, and a multiple symbol noncoherent soft output detector configured to receive the sampled input signal and to generate a soft metric indicative of the reliability of a detected symbol based upon observations over multiple symbols, a collision detector configured to calculate a decision metric from a set of soft metrics generated by the multiple symbol noncoherent soft output detector and detect a collision when the decision metric satisfies a predetermined criterion.
-
In a further embodiment, the soft metric is the Log Likelihood Ratio of the detected symbol based upon observations over multiple symbols.
-
In another embodiment, the observations include observations over a two symbol sequence.
-
In a still further embodiment, the observations include observations over a three symbol sequence.
-
In still another embodiment, the set of soft metrics generated by the multiple symbol noncoherent soft output detector are generated based upon observations of a unique sequence of symbols identifying an RFID tag.
-
In a yet further embodiment, the unique sequence of symbols identifying an RFID tag is an RN16 transmission.
-
In yet another embodiment, the decision metric is based upon a central moment of the distribution of the set of soft metrics generated by the multiple symbol noncoherent soft output detector.
-
In a further embodiment again, the decision metric is normalized over a power of the first moment of the distribution of the set of soft metrics generated by the multiple symbol noncoherent soft output detector.
-
In another embodiment again, the predetermined criterion is the decision metric exceeding a threshold.
-
In a further additional embodiment, the phase modulated input signal includes a preamble sequence and the threshold is based upon the preamble correlation normalized by the number of one half symbols used in the preamble.
-
In another additional embodiment, the decision metric is a count of the number of soft metrics in the set of soft metrics generated by the multiple symbol noncoherent soft output detector.
-
In a still yet further embodiment, the phase modulated input signal includes data that is phase modulated on a carrier and the multiple symbol differential detector assumes that carrier phase of the input signal is constant over the time duration of the observations.
-
In still yet another embodiment, the phase modulated input signal is a binary phase modulated signal.
-
In a still further embodiment again, the phase modulated input signal is an FM0 modulated signal.
-
In still another embodiment again, the phase modulated input signal is a Multiple-Phase-Shift Keying modulated signal.
-
In a still further additional embodiment, the multiple symbol differential detector includes a plurality of matched filters having different numbers of samples configured to integrate the samples during each half-symbol period, and the multiple symbol differential detector is configured to use the outputs of each of the plurality of matched filters to determine the most likely symbol duration.
-
Still another additional embodiment also includes an antenna configured to receive a phase modulated signal that includes symbols transmitted by an RFID tag.
-
A yet further embodiment again includes receiving and sampling a phase modulated input signal to produce symbol samples, combining symbol samples to produce symbol observations, generating a soft metric indicative of the reliability of a detected symbol based upon symbol observations over multiple symbols, and calculating a decision metric from a set of generated soft metrics, and detecting a collision in received radio frequency transmissions when the calculated decision metric satisfies a predetermined criterion.
-
In yet another embodiment again, the soft metric is the Log Likelihood Ratio of the detected symbol based upon observations over multiple symbols.
-
In a yet further additional embodiment, the observations include observations over a two symbol sequence.
-
In yet another additional embodiment, the observations include observations over a three symbol sequence.
-
In a further additional embodiment again, the set of generated soft metrics were generated based upon observations of a unique sequence of symbols identifying an RFID tag.
-
In another additional embodiment again, the unique sequence of symbols identifying an RFID tag is an RN16 transmission.
-
In a still yet further embodiment again, the decision metric is based upon a central moment of the distribution of the set of generated soft metrics.
-
In still yet another embodiment again, the decision metric is normalized over a power of the first moment of the distribution of the set of generated soft metrics.
-
In a still yet further additional embodiment, the predetermined criterion is the decision metric exceeding a threshold.
-
In still yet another additional embodiment, the phase modulated input signal includes a preamble sequence and the threshold is based upon the preamble correlation normalized by the number of one half symbols used in the preamble.
-
In a yet further additional embodiment again, the decision metric is a count of the number of soft metrics in the set of generated soft metrics that are below a second threshold.
-
In yet another additional embodiment again, the phase modulated input signal includes data that is phase modulated on a carrier, and the multiple symbol differential detector assumes that carrier phase of the input signal is constant over the time duration of the observations.
-
In a still yet further additional embodiment again, the phase modulated input signal is a binary phase modulated signal.
-
In still yet another additional embodiment again, the phase modulated input signal is an FM0 modulated signal.
-
In another further embodiment, the phase modulated input signal is a Multiple-Phase-Shift Keying modulated signal.
-
In still another further embodiment, combining symbol samples to produce symbol observations also includes using a plurality of matched filters having different numbers of samples to integrate the symbol samples during each half-symbol period and determining the most likely symbol duration using the integrated symbol samples.
BRIEF DESCRIPTION OF THE DRAWINGS
-
FIG. 1 conceptually illustrates a communication system in accordance with an embodiment of the invention.
-
FIGS. 2A-2E illustrate the characteristics of FM0 modulated signals transmitted in accordance with the EPC Class 1 Generation 2 UHF Air Interface Protocol Standard.
-
FIG. 3 illustrates the manner in which a hard decision FM0 3-bit multiple symbol noncoherent soft output detector can be modified to generate soft metrics.
-
FIGS. 4A and 4B illustrate sample functions of LLRs over a sequence of 16 symbols for the cases of no collision and a two tag collision.
-
FIG. 5 conceptually illustrates an RFID receiver system that that can perform collision detection in accordance with embodiments of the invention.
-
FIGS. 6A and 6B are histograms illustrating LLR simulations for the cases of no collision and a two tag collision using LLRs over three symbol sequences.
-
FIGS. 7A and 7B are histograms illustrating simulations of the variance Var for the cases of no collision and two tag collision using LLRs over three symbol sequences.
-
FIGS. 8A and 8B are charts illustrating the simulated probability of false detection and the probability of miss detection for the cases of no collision and a two tag collision using LLR over three symbol sequences and the variance of LLR as a decision metric for the cases.
-
FIGS. 9A-9D are normalized histograms illustrating simulations using the DM2 metric for two cases of no collision and two tag collision with various SNR.
-
FIGS. 10A-10E are normalized histograms of illustrating simulations using the DM8 metric for two cases of no collision and two tag collision with various SNR.
-
FIGS. 11A-11C are histograms illustrating LLR simulations for the cases of no collision and two tag collision using LLRs over two symbol sequences.
-
FIGS. 12A-12D are histograms illustrating simulations of the variance Var for the cases of no collision and two tag collision using LLRs over two symbol sequences.
-
FIGS. 13A and 13B are charts illustrating the simulated probability of false detection and the probability of miss detection for the cases of no collision and a two tag collision using LLR over two symbol sequences and the variance of LLR as a decision metric.
DETAILED DESCRIPTION
-
Turning now to the drawings, multiple symbol noncoherent soft output detectors that generate soft metrics indicating the reliability of detected data in accordance with embodiments of the invention are illustrated. In many embodiments, the multiple symbol noncoherent soft output detector determines soft metrics based on the log likelihood ratio (LLR) for each detected symbol using observations with respect to multiple symbols. For received sequences including pilot, preamble, and data symbols, where the pilot and preamble are known to the detector, the observations utilized to determine the soft metrics for each symbol can include observations of some or all of the symbols in the pilot and/or preamble and a short sequence of multiple data symbols. In several embodiments, a short sequence of two or three unknown data symbols is utilized when generating the soft metric for an unknown data symbol. In other embodiments, a sequence of any number of symbols can be utilized to determine the soft metrics.
-
The ability of multiple symbol noncoherent soft output detectors in accordance with embodiments of the invention to produce soft metrics enables the output of more than one receiver to be utilized in the detection of a transmitted data sequence. In a number of embodiments, soft metrics generated by a set of multiple symbol noncoherent soft output detectors can be combined to improve the reliability of the detected data sequence. In several embodiments, the soft metrics can be used to discard the output of one or more multiple symbol noncoherent soft output detectors in a set of multiple symbol noncoherent soft output detectors when detecting data. In addition, the soft metrics can be utilized to select the most reliable output as the detected data sequence. Multiple symbol noncoherent soft output detectors and the use of LLRs when performing multiple symbol noncoherent detection in accordance with embodiments of the invention are discussed further below. In order to illustrate multiple symbol noncoherent detection techniques in accordance with embodiments of the invention, examples are provided with respect to the FM0 modulation technique used in common Radio Frequency Identification (RFID) applications. However, multiple symbol noncoherent soft output detectors in accordance with embodiments of the invention can be utilized in any of a variety of applications including applications involving Multiple Phase Shift Keying, and/or wireless, wired, optical communication channels and systems with channel coding.
Communication Systems Including Multiple Symbol Noncoherent Soft Output Detectors
-
One or more multiple symbol noncoherent soft output detectors in accordance with embodiments of the invention can be utilized to detect data in almost any communication system that modulates the phase of the transmitted signal to communicate information and where the phase of the carrier signal on which the data is modulated remains relatively constant during the transmission of the data sequence. A communication system including a set of multiple symbol noncoherent soft output detectors in accordance with embodiments of the invention is illustrated in FIG. 1. The communication system 10 includes a transmitter 12 that modulates data symbols onto a carrier for transmission via a communication channel to one or more receiver systems 14. In the illustrated embodiment, a set of receiver systems 14 is provided and each receiver system includes a receiver 16 and a multiple symbol noncoherent soft output detector 18. The receivers 16 demodulate and sample the received signal. The samples are provided to the corresponding multiple symbol noncoherent soft output detector 18, which outputs soft metrics based upon the observations (i.e. the samples).
-
In several embodiments, the soft metrics based on the LLR are in fact the LLR of each symbol. In a number of embodiments, the soft metrics based on the LLR are approximations of the magnitude or square of the magnitude of the LLR. In other embodiments, any soft metric that provides information concerning the reliability of the detected symbol can be utilized. The soft metrics can be utilized to detect a received data sequence. In combined receiver systems where only one receiver system is present, the soft metrics output by the multiple symbol noncoherent soft output detector can be utilized to generate the received data sequence. In the illustrated embodiment, the soft metrics output by the multiple symbol noncoherent soft output detectors 18 are provided to a combiner 20. In a number of embodiments, the combiner 20 selects as the detected output a symbol or sequence of symbols based upon the output of the multiple symbol noncoherent soft output detector 18 that detects the symbol or sequence of symbols with the highest reliability. In several embodiments, combiner 20 combines the soft metrics from two or more of the multiple symbol noncoherent soft output detectors to generate the detected data sequence. The soft metrics utilized to generate the detected data sequence can be selected based upon reliability. Alternatively, the combiner 20 can simply combine the soft metrics of all of the multiple symbol noncoherent soft output detectors without regard to the reliability of any specific output.
-
Although the communication system shown in FIG. 1 shows the use of an antenna 20 to transmit the signal via free space, multiple symbol noncoherent soft output detectors in accordance with embodiments of the invention can be utilized in a variety of communication system including (but not limited to) wireless, wired, optical communication systems and systems with channel coding. An application of particular interest for multiple symbol noncoherent soft output detectors in accordance with embodiments of the invention is the detection of FM0 modulated data transmitted by Radio Frequency Identification (RFID) tags such as (but not limited to) Ultra High Frequency RFID tags that conform with the EPC Class 1 Generation 2 UHF Air Interface Protocol (EPC Gen 2) Standard specified by GS1 AISBL of Brussels, Belgium. Accordingly, much of the discussion that follows is in the context of detecting FM0 modulated signals. However, multiple symbol noncoherent soft output detectors in accordance with embodiments of the invention can generate soft metrics with respect to symbols generated using a variety of phase modulation techniques including (but not limited to) Multiple-Phase-Shift Keying (MPSK). If there is no known data available (e.g. no known pilot, or preamble) the modulation scheme used to transmit the data should inherently include differential encoding or a differential encoder should be used. However, if some known data is available a modulation scheme that does not include differential encoding can be used. Systems and methods for generating soft metrics in accordance with embodiments of the invention are discussed further below.
Generating Soft Metrics Using Multiple Symbol Noncoherent Soft Output Detection
-
Multiple symbol noncoherent soft output detectors in accordance with embodiments of the invention detect received symbols by generating soft metrics using observations of multiple symbols. In several embodiments, the multiple symbol noncoherent soft output detector generates soft metrics based on the LLR of each detected symbol. In order to illustrate the manner in which soft metrics based on LLRs can be utilized in the detection of a sequence of symbols, the following example is provided with respect to the detection of FM0 modulated symbols generated in accordance with the EPC Gen 2 standard. As is discussed further below, each data packet transmitted in accordance with the EPC Gen 2 standard includes a known pilot and preamble, which can be utilized by the receiver to improve the reliability of the detected data. Similar techniques can be utilized in communication systems that utilize other phase modulation techniques and/or for which the receiver system knows a portion of the transmitted sequence.
LLRs for FM0 Symbol Stream Including Pilot and Preamble Sequences
-
The FM0 basis functions are illustrated in FIG. 2A. A state diagram illustrating the manner in which FM0 modulated symbols are generated is illustrated in FIG. 2B. As can readily be appreciated from the state diagram, each FM0 symbol that is transmitted depends on the previous symbol. FM0 symbols transmitted depending upon the value of the previous symbol are illustrated in FIG. 2C. Two bit (two symbol) FM0 sequences are illustrated in FIG. 2D. The EPC Gen 2 standard specifies that a RFID tag can transmit FM0 modulated data preceded by a preamble. The interrogator can also request that the RFID tag initiate the transmission with a pilot sequence of 12 leading FM0 zeros. The pilot and preamble sequence of a packet transmitted in accordance with the EPC Gen 2 Standard is illustrated in FIG. 2E. Both the pilot and preamble are known to the receiver system. The detection of FM0 modulated data utilizing observations of the pilot and preamble in the generation of soft metrics is discussed further below. Increasing the number of observations using the pilot and preamble typically improves the reliability of the detected data sequence. Use of observations of known symbols is not, however, necessary to detect data using a multiple symbol noncoherent soft output detector in accordance with embodiments of the invention.
-
Consider the FM0 signaling where a data dk E {±1} generates data xk,1ε{±1} and xk,2ε{±1} such that xk,2=dkxk-1,2 and xk,1=−xk-1,2.
-
Let pk,iε{±1}; k=1, . . . Np; i=1, 2 represent the pilot and preamble samples which are known to the receiver. Let xk,iε{±1}; k=1, . . . Nd; i=1, 2 represent the data. The index i=1 represents the first half symbol, and i=2 represents the second half symbol for each time index k. Let yk,i; k=1, . . . Np and rk,i; k=1, . . . Nd; i=1, 2 represent the corresponding noisy complex received samples after half-symbol integrations (half symbol matched filtering). As is discussed further below, due to timing uncertainty, a number of matched filters having different numbers of samples can be utilized to integrate the samples during each half-symbol period to determine the most likely symbol duration. In the case of FM0, the integration typically commences halfway through the symbol interval. The carrier phase φ (uniformly distributed between 0 and 2π) can be assumed to be almost constant over time duration of pilot, preamble, and data during reception of a packet. Let Im,n represent a set of time indices k and i corresponding to a received data observation interval. In particular the assumption can be made that this set starts with k=m−1, i=2 and ends with k=m+n, i=1. The conditional probability is
-
-
where c1 is a constant which depends only on observations. The expectation with respect to carrier phase φ is
-
-
Note that Σk,iεI m,n rk,ixk,i=Σk=m m+n(rk-1,2−rk,1)xk-1,2
-
The LLR then can be computed as
-
-
For independent identically distributed data, the following approximation applies
-
-
Using ln {I0(x)}≅x, then for some jε{m, . . . , m+n} the LLR can be obtained as
-
-
Although the above formulation assumes that the phase modulation takes one of two values, a multiple symbol noncoherent soft output detector can be constructed in accordance with embodiments of the invention that generates a LLR with respect to each possible symbol in an M-ary PSK modulation scheme. In several embodiments, the soft metric is determined relative to the likelihood of an arbitrarily selected reference symbol value. Referring back to the case where the phase can take one of two values, the generation of LLRs using observations over 3-symbol FM0 modulated sequences in accordance with embodiments of the invention is discussed below.
LLR for 3-Bit Duration
-
Assuming that time synchronization is already acquired, the term |Σk,iyk,ipk,i+Σk=m m+n(rk-1,2−rk,1)xk-1,2| can be written for a 3-bit (3 symbol) estimation as
-
-
Since xm,2=dmxm−1,2, xm+1,2=dm+1dmxm−1,2 (7) can be rewritten as
-
-
where t corresponds to timing index.
-
The detector of an RFID receiver such as the RFID Receiver described in U.S. Pat. No. 7,633,377 entitled “RFID Receiver” to Ramin Sadr (the disclosure of which is incorporated by reference herein in its entirety) can be replaced with a multiple symbol noncoherent soft output detector in accordance with an embodiment of the invention. The RFID receiver described in U.S. Pat. No. 7,633,377 provides time synchronization using the pilot and preamble symbols to within +/−1 sample. For punctual timing (no timing error) set t=0, for early timing (by one sample forward) set t=+1, and for late timing (by one sample backward) set t=−1. This index t namely −1, 0, or +1 corresponds to the starting time of matched filtering (integrate and dump for FM0 pulses). When time synchronization is provided with respect to t=−1, 0, and +1, soft metrics for each time index can be obtained as follows using a multiple symbol noncoherent soft output detector in accordance with embodiments of the invention.
-
With these notations then the conditional LLR for time index t for information data is
-
-
The timing correction can be obtained as
-
-
then the unconditional LLR for time index {circumflex over (t)} for information data is λ(d
m)
(d
m, {circumflex over (t)}). As can readily be appreciated, time synchronization may be less precise and a greater number of conditional LLRs are calculated in determining the timing correction.
-
The |Σk,iyk,ipk,i| can be used as an estimate for amplitude A. The 3-bit (3 symbol) window can then be slid by one bit (symbol) duration and the process repeated to correct timing and obtain the LLR for the next bit (symbol).
Combining LLRs
-
LLRs determined using processes similar to those outlined above can be combined at the output of detectors for n receivers as
-
λ(d m)=Σi=1 nλi(d m) (11)
-
The final decision on information data dm is
-
{circumflex over (d)} m=sign(λ(d m)) (12)
-
As noted above, reliability thresholds can be applied to the soft metrics determined by each receiver and soft metrics that indicate low reliability can be excluded from the final decision. In many embodiments, the final decision is based on the soft metric or soft metrics that indicate the highest reliability.
Hardware Implementations of 3-Bit FM0 Multiple Symbol Noncoherent Soft Output Detectors
-
RFID receivers that implement 3-bit multiple symbol detectors that perform hard decision detection are described in U.S. Pat. No. 7,633,377 (incorporated by reference above). In U.S. Pat. No. 7,633,377, the metric shown in FIG. 15d and equation (41) is formulated based on the property of FM0 modulation that xm,2=dmxm−1,2, xm,1==−m−1,2 as follows (utilizing the notation presented above)
-
|(r m−1,2 −r m,1)d m+(r m,2 −r m+1,1)+(r m+1,2 −r m+2,1)d m+1| (13)
-
When the same metric is formulated based on the property of FM0 modulation that xm,2=dmxm−1,2, xm+1,2=dm+1dmxm−1,2, the following equivalent metric is obtained
-
|(r m−1,2 −r m,1)+(r m,2 −r m+1,1)d m+(r m+1,2 −r m+2,1)d m d m+1| (14)
-
or equivalently
-
g(d m ,d m+1)=|(r m,1)+(r m,2 −r m+1,1)d m+(r m+1,2 −r m+2,1)d m d m+1|2 (15)
-
A hard decision can be performed to determine dm as
-
-
When accounting for timing correction, this becomes
-
g(d m ,d m+1 ,t)=|[(r m−1,2 −r m,1)+(r m,2 −r m+1,1)d m+(r m+1,2 −r m+2,1)d m d m+1]|2 (17)
-
where t is for timing correction.
-
A hard decision can be performed to detect dm as
-
-
However the above g (dm,dm+1,t) is equivalent to
-
g(d m ,d m+1 ,t)=|[(r m−1,2 −r m,1)+(r m,2 −r m+1,1)+(r m+1,2 −r m+2,1)d m+1]|2 (19)
-
or from the point of data decision and timing is also equivalent to
-
g(d m ,d m+1 ,t)=|(r m−1,2 −r m,1)+(r m,2 −r m+1,1)d m+(r m+1,2 −r m+2,1)d m d m+1| (20)
-
Accordingly, a multiple symbol noncoherent soft output detector can be implemented with minor modification to the detector disclosed U.S. Pat. No. 7,633,377 by using the correlations that were generated prior to the hard decision to generate the soft output as follows:
-
-
where g′(dm,dm+1,t)=|(rm−1,2−rm,1)+(rm,2−rm+1,1)dm+(rm+1,2−rm+2,1)dmdm+1|
-
Alternatively, we can compute
-
-
where the maximum is taken over dm=+1 and dm=−1.
-
However, an approximation can be used if power computation is easier than complex absolute value calculation as
-
-
which comes from preamble synchronization circuits. If complex absolute value computation cannot be done, A2 can be used as an approximation.
-
Based upon the above discussion, the hardware implementation of the detector disclosed in U.S. Pat. No. 7,633,377 can be modified by replacing the maximum operation in the hardware implementation of the hard detection decision
-
-
with two maximum operation blocks that are subtracted
-
-
The modification to the detector disclosed in U.S. Pat. No. 7,633,377 to achieve a multiple symbol noncoherent soft output detector in accordance with embodiments of the invention is illustrated in FIG. 3. The power computation g (dm,dm+1,t) is represented as Pd m ,d m+1 . The maximum value of P1,1 and P1,−1 is determined using a first maximum block 42 and the maximum value of P−1,1 and P−1,−1 is determined using a second maximum block 44. The two maximums are then subtracted using a subtraction block 46 to generate a value proportional to the LLR λ(dm,t). The result of the subtraction can be weighted by A or A2 to produce a soft metric based on the LLR. Obtaining soft metrics using the above hardware implementation does not alter the timing correction scheme utilized by the hardware detector.
-
For symbol stream combining, the timing of the soft metrics from two or more receivers should be aligned. In instances where the receivers are in close vicinity of each other and data rates are low, such additional timing alignment is not as important. When combining soft outputs from multiple receivers, the noise variances for identical RF front ends for two or more receivers with the same Noise Figure (NF) are almost the same. Therefore, σ2 need not be calculated for each receiver. If this is not the case, then for each receiver in addition to received amplitude (or power) computation the received noise variance σ2 is calculated prior to combining.
-
Although a specific hardware implementation is discussed above based upon modifying the RFID receiver disclosed in U.S. Pat. No. 7,633,377, any of a variety of receiver designs can be utilized to implement multiple symbol noncoherent soft output detectors that produce soft outputs in accordance with embodiments of the invention. Additional functionality including (but not limited to) collision detection that can be supported by a receiver configured to produce soft metrics in accordance with embodiments of the invention are discussed further below.
Collision Detection
-
The soft metrics generated by a multiple symbol noncoherent soft output detector in accordance with an embodiment of the invention can be utilized to perform collision detection. When a population of RFID tags responds to a transmission, such as an interrogation signal, a collision can occur when a receiver system receives responses from multiple tags.
-
Sample functions of LLRs over a sequence of 16 symbols when there is no collision and when there is a two tag collision are illustrated in FIGS. 4A and 4B. In FIG. 4A, sample functions of 16 LLRs with a very high SNR are shown. As can be seen in the figure, in the case of no collision represented by curve 160, the LLRs are at nearly a constant value. In the case of a two tag collision represented by curve 162, some LLRs are nearly double the value of the LLRs in curve 160 (resulting from symbols being summed) and some LLRs are nearly zero (resulting from symbols cancelling out). In FIG. 4B, sample functions of 16 LLRs with a SNR of 8 dB are shown. As a result of interference and/or noise, the LLRs have more diverse values than in the case of high SNR in FIG. 4A. In the case of no collision represented by curve 166, the LLRs are close to a mean value. In the case of a two tag collision represented by curve 168, the LLRs have more divergent values (resulting from symbols being summed and cancelling out).
-
In many embodiments of the invention, an RFID receiver system that can be used for collision detection includes a half symbol integrator, multiple symbol noncoherent detector, and collision detector. An RFID receiver system that performs collision detection in accordance with embodiments of the invention is illustrated in FIG. 5. The receiver system 50 includes a phased antenna array with antennas 52. Each antenna 52 directs a signal to a delay 54 and correlator 56. The delay 54 and correlator 56 feed into a phase derotator 58. A combiner 60 receives the output of the phase derotators 58 and provides a signal to a half symbol integrator 62. A difference block 64 calculates the differences at bit boundaries (i.e., between a second one-half symbol and the subsequent first one-half symbol) and provides the information to a three bit multiple symbol noncoherent detector 66. The noncoherent detector 66 calculates LLRs from the half-symbol differences and provides the information to a collision detector 68. Systems and methods for detecting collisions utilizing LLRs are discussed below.
-
Referring again to the example of FM0 modulated data transmitted by RFID tags in accordance with the EPC Gen 2 standard, RFID collision detection can be performed using the soft metrics generated when detecting an RFID tag's RN16 query response. The RN16 query response is a 16 bit random number that is assigned to each tag. As is discussed further below, a collision during the transmission of the RN16 bits can be detected using the soft metrics based on LLRs of the bits detected by a multiple symbol noncoherent soft output detector in accordance with embodiments of the invention. LRRs can be computed from short sequences of symbols within the RN16 transmission (e.g. two or three symbols).
-
Assuming that the preamble is already detected, the LLR based on observed 3-bit (symbol) duration utilized for performing collision detection is as follows:
-
-
This LLR can be computed for i=1, 2, 3, . . . ,15 and d=+1 and −1 (where the maximum is taken over d=+1 and d=−1). For simplicity A/σ2 its dropped in (23). On the edges of RN16, r0,2 is known from the last one-half symbol observation from the preamble sequence. For r17,1 if it is not available we can set r17,1=−r16,2. The method is based on observing |λi| for i=1, 2, 3, . . . , 15.
-
Note that we can also compute λi+1 based on the same observations as:
-
-
In particular this can be used (for i=15) to compute λ16 (for the last bit in RN16) if it is desired. However, for collision detection we use LLR for 15 bits but one can also use 16 bits. If such as follows we need only to do averaging over 16 bits rather 15 and use magnitude of 16 LLRs.
-
When there is no collision the one-half symbol observations are:
-
r i,j =A 1 x i,j e jφ 1 +n i,j (24)
-
For i=0, 1, 2, . . . , 16 and j=1, 2.
-
When there is a two tag collision the one-half symbol observations are:
-
r i,j =A 1 x i,j e jφ 1 +A 2 x′ i,j e jφ 2 +n i,j (25)
-
For i=0, 1, 2, . . . , 16 and j=1, 2. All phases are unknown and uniformly distributed. As discussed further above, one-half symbols can be obtained at the output of a one-half symbol integrator by summing the number of samples per one-half symbol taken with a matched filter and correcting for timing as in equation (10).
-
One method to discriminate collision versus no collision is to use variance of LLR over the 15-bit (symbol) received RN16 transmission as a decision metric. The variance can be defined as:
-
-
The variance can be compared to a threshold to detect collisions. In several embodiments, a threshold TH=m|corr| is utilized, where “corn” represents the result of preamble correlation normalized by the number of one half symbols used in the preamble, and m is a number that can be set based on a desired false detection probability appropriate to a specific application. Based on the above, the magnitude of “corr” can be expressed as
-
-
If Var>TH then a collision is declared.
-
A histogram of LLR simulations for two cases of no collision and two tag collision where the received SNR of each tag is the same is illustrated in FIG. 6A. The histogram 100 illustrates a curve 102 of the probability that the magnitude of an LLR is a certain value plotted against possible values for the magnitude of an LLR when there is no collision and the RFID tag has a Signal to Noise Ratio (SNR) of 12 dB. A curve 104 shows the probability that the magnitude of an LLR is a certain value plotted against possible values for the magnitude of an LLR when there is a two tag collision where each tag has a SNR of 12 dB. As can be seen in the chart, the curve 102 for no collision lies mostly between 5 and 20 and peaks sharply near a mean value. Meanwhile, the curve 104 for collision drops from a high sharply between 0 and 5 and remains low from 5 to 30.
-
Similarly, a histogram of LLR simulations for two cases of no collision and a two tag collision where the received SNR of the first tag is 12 dB and the received SNR of the second tag is 9 dB is illustrated in FIG. 6B. Similar to FIG. 6A, the curve 122 for no collision lies mostly between 5 and 20 and peaks sharply near a mean value. The curve 124 for collision has a smaller peak near 5 and remains low from 10 to 25. From the stark differences in the shape of these curves for the case of collision versus the case of no collision, it can be seen that the variance as computed in equation (26) and other techniques for describing the shape of a distribution that are discussed further below (e.g., using central moment about the mean) can be used to distinguishes between the two cases. For example, variance measures the spread of a distribution. In FIGS. 6A and 6B it can be seen that the curves in the case of no collision are more narrow than the curves in the case of collision, and therefore the variance will be smaller. Using variance as in equation (26) and a threshold TH=m|corr| using equation (27), an m can be chosen to give a threshold TH that can distinguish between the variance of a curve where there is no collision and the variance of a curve where there is a collision.
-
Histograms of the variance Var for the cases of no collision and two tag collision are illustrated in FIGS. 7A and 7B. In FIG. 7A one tag has an SNR of 12 dB while the other tag has an SNR of 9 dB. In FIG. 7B the two tags each have an SNR of 12 dB. As can be seen in the figures, the curves for the case of no collision (125 in FIG. 7A and 127 in FIG. 7B) concentrate and peak around different values from the curves for the case of a collision (126 in FIG. 7A and 128 in FIG. 7B). Particularly where the SNR is higher (9 and 12 dB) there is very little overlap in the curves of Var. Accordingly, a threshold TH can be determined using the equations described above for effectively distinguishing between collision and no collision.
-
A simulation of the probability of a false detection and the probability of a miss detection using LLR as in equation (23) the variance of LLR as in equation (26) as a decision metric when the colliding tags have the same SNR is illustrated in FIG. 8A. As can be seen from the chart 130, both the probability of false detection 132 and the probability of miss detection decrease with increased SNR. The probability of false detection 132 trails off considerably relative to the probability of miss detection 134 with increased SNR due to the effectiveness of the threshold in identifying two tag collisions. Therefore, the probability of miss detection does not diminish as steeply with increased SNR. FIG. 8B is a similar chart to FIG. 8A with the exception that the simulation involves a two tag collision, where the SNR of the signal received from the first tag is 3 dB greater than the signal received from the second tag. As can be seen from the chart 140, the probability of false detection 142 and the probability of miss detection 144 exhibit similar characteristics even when the signal of one tag dominates. Accordingly, the simulations indicate that the stronger the received signal the more likely that the LLR magnitude output by the multiple symbol noncoherent soft output detector can be utilized to accurately detect collisions.
-
Other methods of collision detection involve using the mean (first moment) of the magnitude of LLR over the 15-bit (symbol) received RN16 transmission. One example is taking the ratio of the second moment of LLR over the 15-bit received RN16 over the square of the first moment of LLR over the 15-bit received RN16. This decision metric DM2 can be defined as:
-
-
Normalizing in this way helps to keep the threshold constant over a wide range of signal to noise ratios. The metric DM2 can be compared to a threshold that is set to a number. In the case of no collision, the metric DM2 is nearly one for a range of signal to noise ratios in which RFID receivers operate. In the case of a collision, the metric DM2 is strictly greater than one.
-
Further methods of collision detection can use the ratio of higher moments of LLR over the 15-bit received RN over powers of the first moment of LLR over the 15-bit received RN16. One further method utilizes the normalized m-th central moment of the LLRs as a decision metric DMm as follows:
-
-
For example the decision metric DM4 using the fourth central moment can be defined as:
-
-
The metric DM4 can be compared to a threshold that is set to a number. The constant can be set to any number that simplifies the selection of the threshold. In the case of no collision, the metric DM4 is almost a constant number (the constant). In the case of collision, the metric DM4 will be strictly greater than the constant. For example, if the constant is 3, then the metric DM4 will be close to 3 when there is no collision and will be strictly greater than 3 when there is a collision.
-
Normalized histograms of simulations using the DM2 metric for two cases of no collision and two tag collision with various SNR are illustrated in FIGS. 9A-9D. In each chart, the plot of col shows cases where there is a two tag collision and the plot of no col shows cases where there is no collision. In FIG. 9A the two RFID tags each have an SNR of 20 dB, in FIG. 9B the two tags each have an SNR of 15 dB, in FIG. 9C the two tags each have an SNR of 10, and in FIG. 9D one tag has an SNR of 15 and the other tag has an SNR of 10. As can be seen in the charts, DM2 typically remains very close to 1 in the case of no collisions for various SNR and can vary from close to 1 to close to 4 in the case of collisions. Furthermore, there is almost no overlap between the histogram of DM2 when there is no collision and the histogram of DM2 when there is a two tag collision. Accordingly, the simulations indicate that one way to determine a threshold for the DM2 metric is to use experimentation or observation to choose a threshold to distinguish between the two situations of collision versus no collision.
-
Using equation 29, a decision metric DM8 can be formed by using m=8. Normalized histograms of simulations using the DM8 metric for two cases of no collision and two tag collision with various SNR are illustrated in FIGS. 10A-E. In each chart, the plot of col shows cases where there is a two tag collision and the plot of no col shows cases where there is no collision. In FIG. 10A one tag has an SNR of 20 and the other tag has an SNR of 15, in FIG. 10B one tag has an SNR of 15 and the other tag has an SNR of 10, in FIG. 10C one tag has an SNR of 10 and the other tag has an SNR of 5, in FIG. 10D the two tags each have an SNR of 20, and in FIG. 10E the two tags each have an SNR of 5. Similar to the histograms illustrated above in FIGS. 9A-9D, DM8 typically remains very close to 1 in the case of no collisions for various SNR and can vary quite far from 1 in the case of collisions. Particularly, if the difference in SNR between two tags is less than 5 dB, a threshold for DM8 can be used very effectively to distinguish between collision and no collision.
-
Yet another method to detect collisions involves the observation that, in the case of a collision, the magnitude of a number of LLRs will be very low. Each |λi| for i=1, 2, . . . , 15 can be compared with a threshold. In several embodiments, a threshold can be set based on
-
-
or its normalized version. A count is taken for the number of times that |λi| for i=1, 2, . . . , 15 is below the threshold. The count, referred to as an m-count, can be used as a decision metric by comparing it to an integer count threshold. In many embodiments, the count threshold is between 2 and 8 inclusive. A collision can be declared if the m-count is greater than the count threshold.
-
Next, consider a 2-bit (symbol) duration time. Assuming that the preamble is already detected, the LLR based on observed 2-bit (symbol) duration utilized for performing collision detection is as follows:
-
λi=|(r i−1,2 −r i,1)+(r i,2 −r i+1,1)|−|(r i−1,2 −r i,1)−(r i,2 −r i+1,1)| (31)
-
This LLR can be computed for i=1, 2, 3, . . . , 15, 16. For simplicity A/σ2 is dropped in (28). On the edges of RN16, r0,2 is known from the last one-half symbol observation from the preamble sequence. For r17,1 if it is not available we can set r17,1=−r16,2. The method is based on observing |λi| for i=1, 2, . . . , 16.
-
When there is no collision:
-
r i,j =A 1 x i,j e jφ 1 +n i,j (32)
-
For i=0, 1, 2, . . . , 16 and j=1, 2.
-
When there is a two tag collision the one-half symbol observations are:
-
r i,j =A 1 x i,j e jφ 1 +A 2 x′ i,j e jφ 2 +n i,j (33)
-
For i=0, 1, 2, . . . , 16 and j=1, 2. All phases are unknown and uniformly distributed. As discussed further above, one-half symbols can be obtained at the output of a one-half symbol integrator by summing the number of samples per one-half symbol taken with a matched filter and correcting for timing as in equation (10).
-
One method to discriminate collision versus no collision is to use Kullback-Leibler divergence. For two density functions P and Q the Kullback-Leibler divergence is defined as:
-
-
Another method is to use variance of LLR over the 16-bit (symbol) received RN16 transmission as a decision metric. The variance can be defined as:
-
-
The variance can be compared to a threshold to detect collisions. In several embodiments of the invention, a threshold TH=m|corr| is utilized, where “corr” represents the result of preamble correlation normalized by the number of one half symbols used in the preamble, and m is a number that can be set based on a desired false detection probability appropriate to a specific application. Based on the above, the magnitude of “corr” can be expressed as:
-
-
If Var>TH then a collision is declared.
-
A histogram of LLR simulations for two cases of no collision and two tag collision where the received SNR of each tag is the same is illustrated in FIG. 11A. The histogram 160 illustrates a curve 162 of the probability that the magnitude of an LLR is a certain value plotted against possible values for the magnitude of an LLR when there is no collision and the RFID tag has a Signal to Noise Ratio (SNR) of 6 dB. A curve 164 shows the probability that the magnitude of an LLR is a certain value plotted against possible values for the magnitude of an LLR when there is a two tag collision where each tag has a SNR of 6 dB. As can be seen in the chart, the curve 162 for no collision lies mostly between 0 and 10 and peaks sharply near a mean value. Meanwhile, the curve 164 for collision drops from a high sharply between 0 and 5 and remains low from 5 to 10.
-
Similarly, a histogram of LLR simulations for two cases of no collision and a two tag collision where the received SNR of each tag is 12 dB is illustrated in FIG. 11B. Similar to FIG. 11A, the curve 172 for no collision lies mostly between 7 and 18 and peaks sharply near a mean value. The curve 174 for collision drops from a high sharply between 0 and 5 and remains low from 5 to 30. A histogram of LLR simulations where the received SNR of one tag is 12 dB and the other tag is 9 dB is illustrated in FIG. 11C. Similarly again, the curve 182 for no collision lies mostly between 0 and 18 and peaks sharply near a mean value. The curve 184 for collision has a smaller peak near 5 and remains low from 10 to 30.
-
From the stark differences in the shape of these curves for the case of collision versus the case of no collision, it can be seen that the variance as computed in equation (35) and other techniques for describing the shape of a distribution that are discussed further above (e.g., using central moment about the mean) can be used to distinguishes between the two cases. For example, variance measures the spread of a distribution. In FIGS. 6A and 6B it can be seen that the curves in the case of no collision are narrower than the curves in the case of collision, and therefore the variance will be smaller. Using variance as in equation (35) and a threshold TH=m|corr| using equation (36), an m can be chosen to give a threshold TH that can distinguish between the variance of a curve where there is no collision and the variance of a curve where there is a collision.
-
Histograms of the variance Var for the cases of no collision and two tag collision are illustrated in FIGS. 12A-12D. In FIG. 12A the two tags have an SNR of 6 dB, in FIG. 12B the two tags have an SNR of 12 dB, in FIG. 12C one tag has an SNR of 6 dB while the other tag has an SNR of 3 dB, and in FIG. 12D one tag has an SNR of 12 dB while the other tag has an SNR of 9 dB. As can be seen in the figures, the curves for the case of no collision and the case of a collision concentrate and peak around different values. Particularly where the SNR is higher (9 and 12 dB) there is very little overlap in the curves of Var. Accordingly, a threshold TH can be determined using the equations described above for effectively distinguishing between collision and no collision.
-
A simulation of the probability of a false detection and the probability of a miss detection using LLR as in equation (31) and the variance of LLR as in equation (35) as a decision metric when the colliding tags have the same SNR is illustrated in FIG. 13A. As can be seen from the chart, both the probability of false detection and the probability of miss detection decrease with increased SNR, even for different thresholds TH=m|corr| where m=4 and 6. The probability of false detection trails off considerably relative to the probability of miss detection 134 with increased SNR due to the effectiveness of the threshold in identifying two tag collisions. As can be seen in the charts, lowering m in TH=m|corr| reduces both the probably of false detection and the probability of miss detection.
-
FIG. 13B is a similar chart to FIG. 13A with the exception that the simulation involves a two tag collision where the SNR of the signal received from the first tag is 3 dB greater than the signal received from the second tag. As can be seen from the chart, the probability of false detection and the probability of miss detection exhibit similar characteristics even when the signal of one tag dominates. Accordingly, the simulations indicate that the stronger the received signal the more likely that the LLR magnitude output by the multiple symbol noncoherent soft output detector can be utilized to accurately detect collisions.
-
Although specific procedures for performing collision detection in RFID system using LLR magnitudes are discussed above, any of a variety of techniques utilizing LLR magnitudes and/or other soft metrics can be utilized to perform collision detection in a variety of applications including (but not limited to) RFID tag interrogation in accordance with embodiments of the invention.
-
While the above description contains many specific embodiments of the invention, these should not be construed as limitations on the scope of the invention, but rather as an example of one embodiment thereof. Accordingly, the scope of the invention should be determined not by the embodiments illustrated, but by the appended claims and their equivalents.