# Patent

## Title
Methods for recovering RFID data based upon probability using an RFID receiver

## Abstract

RFID data signals from RFID tags may be recovered by determining the probabilities of transitions between data states between a series of a pairs of signal samples using a set of predetermined probabilities related to data, timing, baud rate and/or phase variables affecting the received signal and processing those determined probabilities to determine the sequence of such transitions that has the highest probability of occurrence. A second set of predetermined probabilities related to transitions in the opposite direction may be used to sequence in a reverse direction. The determination of the sequence representing the RFID tag data may be iterated in both directions until further iterations do not change the determined probabilities.

## Background
CROSS REFERENCE TO RELATED APPLICATIONS
This application is a continuation of U.S. application Ser. No. 13/761,113 filed Feb. 6, 2013, which application was a continuation of U.S. application Ser. No. 12/603,027 filed Oct. 21, 2009, which application was a continuation of U.S. application Ser. No. 11/553,951 filed Oct. 27, 2006, which claimed priority to U.S. provisional application Ser. No. 60/731,629 filed Oct. 28, 2005.


BACKGROUND OF THE INVENTION
1. Field of the Invention
This invention is related to transmitter-receiver systems and in particular is related to systems for the detection of signals in difficult environments such as for use in sensory networks and Radio Frequency Identification (RFID) systems.
2. Description of the Prior Art
The detection of signals in difficult environments, such as where the signal to noise ratio is very low and/or the interference from other signals is very high, has always been a substantial problem. In many systems today classical detection theory is used in digital transceivers. In these systems the bit stream embedded in information bearing signal is detected one-bit at a time using a “matched filter” designed to match the signal waveform at the input of the receiver.
What is needed is a robust and powerful method for the detection of extremely weak signals with severe phase and timing ambiguities due to the source characteristics and propagation environment. The proposed system has a substantial superior performance than the classical signal detector.
SUMMARY OF THE INVENTION
In a first aspect, a method for operating an RFID receiver may include sampling a received signal including RFID data signals from at least one interrogated RFID tag, providing a set of predetermined probabilities of a received signal sample making a specific transition between data states, each predetermined probability related to data, timing and baud rate variables affecting the received signal, applying the set of predetermined probabilities to each of a plurality of pairs of signal samples to determine probabilities of the received signal having made the specific transitions between each of the signal samples in that pair and processing the determined probabilities to recover RFID data signals by determining a sequence of transitions in the received signal having the highest probability of occurrence.
The predetermined probabilities may also be related to a phase variable affecting the received signal. The applying the set of predetermined probabilities, and the processing the determined probabilities, may be iterated to recover the RFID data signals. The set of predetermined probabilities may be related to transitions in a first direction. A second set of predetermined probabilities related to transitions in an opposite direction may be provided and applied to each of the plurality of pairs of signal samples to determine second probabilities of the received signal making the specific transitions between each of the signal samples in that pair in the opposite direction and the first and second determined probabilities may be processed to recover the RFID signals. Applying the first and second set of predetermined probabilities, and the processing the first and second determined probabilities, may be iterated to recover the RFID data signals. The applying and processing may be iterated until further iterations do not further change the determined probabilities.



BRIEF DESCRIPTION OF THE DRAWINGS
FIG. 1 is a simplified block diagram of an RF transmitter-receiver system and passive sensor.
FIG. 2a is a simplified block diagram of an end-to-end communication system of the type shown in FIG. 1.
FIG. 2b is a model of a SISO implementation of the system shown in FIG. 2a. 
FIG. 3 is a diagram of a SISO decoder as a 4-Port Device.
FIG. 4 is a block diagram of SISO processing with interleaving and de-interleaving.
FIG. 5 is an illustration of Quantized Phase Space.
FIG. 6 is an illustration of Quantized Time Domain.
FIG. 7 is an illustration of Example of Trellis Diagram.
FIG. 8a is an illustration of a Single State Trellis Transition
FIG. 8b is an illustration of a Trellis Section.
FIG. 9 is a block diagram of Single Parity Check Code (SPC).
FIG. 9a is block diagram illustrating a permutation.
FIG. 9b is a block diagram of an RFID SISO Decoder.
FIG. 9c represents the detailed operation of a SISO decoder for repetition code.
FIG. 9d illustrates the operation of a SISO decoder for SPC.
FIG. 10 is a block Coherent SISO Decoder.
FIG. 11 is a block Non-Coherent SISO Decoder.
FIG. 12a illustrates a block Cascaded Non-Coherent.
FIG. 12b illustrates a Coherent SISO Decoder.
FIG. 13a is a block diagram of an RFID System.
FIG. 13b is a block diagram of a reader/interrogator of FIG. 13a. 
FIG. 14a is block diagram of FM0 encoder for RFID applications.
FIG. 14b is block diagram of Miller encoder for RFID applications.
FIG. 15a is a block diagram of classical coherent detector.
FIG. 15b is a block diagram of classical non-coherent detector.
FIG. 15c is a block diagram of a multiple symbol non-coherent detector.
FIG. 15d illustrates the operation of the multiple symbol non-coherent detector of FIG. 15c. 
FIG. 16 shows a trellis diagram for FM0 and Miller code.
FIG. 17 shows a bit error rate as function of signal-to-noise ratio.
FIG. 18 shows a first method for a timing trellis section for pulses with time varying duration.
FIG. 19 shows timing tick marks for the method FIG. 18.
FIG. 20 shows a second method using a folded timing trellis for pulses with time varying duration.
FIG. 21 shows a tree diagram with three transitions per node.
FIG. 22 shows an example of a symbol tree structure method 3 for N=4, and Δmax=1.
FIG. 23 shows an example of symbol tree with windowed structure method 3 for N=4, and Δmax=1.
FIG. 24 shows a SISO implementation: Intermediate metric variable computation.
FIG. 25 shows a SISO implementation: Interconnect of node processors and branch select units.
FIG. 26 shows a SISO implementation: Extended parallel source node processing.
FIG. 27 shows a Forward and Backward processor.



DETAILED DESCRIPTION OF A PREFERRED EMBODIMENT
Receiver subsystems may provide enhanced detection of signals where some latency may be tolerated, particularly for use in sensory networks and passive Radio Frequency Identification (RFID) based systems. Such systems may use iterative processing techniques with soft-input-soft-output (SISO) components to combine channel decoding with equalization, demodulation, phase tracking, symbol timing and synchronization and interference cancellation. This is achieved with exchange of probabilities or “soft information” or equivalently the probability of correct detection of transmitted symbols based on the observed vector, at any given state of a finite state machine (FSM) which models the observation space. The evolution of FSM in time domain results into a planar graph referred to here as the “Trellis”. In the presence of additive white Gaussian noise (AWGN) with random phase and timing, the performance of the receiver using SISO approaches that of an ideal coherent receiver. In the presence of other channel anomalies such as multipath, fading and jamming, the performance gain is much greater than conventional systems. The SISO decoders described here can also be used for applications where serial or parallel concatenated channel coding methods is employed.
The system disclosed herein may use iterative algorithms that can be applied to a broad range of sensory class of signals and waveforms. Iterative processing techniques with soft-input-soft-output (SISO) components may be used to combine channel decoding with equalization, demodulation, phase tracking, symbol timing and synchronization and interference cancellation. This is achieved with exchange of probabilities or “soft information”. When the transmitted sequence is produced from a binary symmetric source (BSS) and in presence of additive white Gaussian noise (AWGN), channel distortion, random phase and synchronization error, the performance of the receiver converges to the ideal coherent receiver for un-coded signal. In presence of other channel anomalies such as multipath, fading and jamming, the expected performance gain is much greater than conventional systems. The overall SISO decoders described here can also be used for applications where serial or parallel concatenated channel coding methods are employed.
Referring now to FIG. 1, transmission system 1-10 transmits a signal in forward channel 1-16, such as an RF channel, which is applied to sensor 1-14 which may be an RFID tag. The transmitted signal x(t) in forward channel 1-16 may be modeled as the real part of the complex transmitted signal, that is x(t)=Real[a(t)ej(ωct+θ)] for tε[nTsym, (n+1)Tsym); where Tsym denotes the symbol time interval, a(t) may be complex or real-valued information bearing signal and θ denotes the phase of the transmitted signal during the symbol time. This phase can be time varying from symbol to symbol. In passive RFID tag applications, the transmitted and received waveforms are independent, however, the power transmitted from the tag 1-14 depends on the power of the signal from the reader and the tag efficiency to convert its received power to available transmit power back to the reader. In active sensors, the transmitted and received signals are typically mutually independent signals.
Transmission system 1-10 includes data source 1-2 of transmission system 1-10 is used to modulate transmitter 1-4. Antenna 1-5 applies the modulated signal through forward channel 1-16 to the sensor 1-14. Typically in RFID applications the transmitter 1-4 and the data source 1-2 form the interrogator or the reader in RFID networks. Data source 1-2 is used by the reader to embed an address and/or command sequence to the device such as RFID tag 1-14. In backscatter passive RFID tags, the transmitted signal may also embed a sinusoidal signal with a continuous waveform (CW), which may be used to supply power to passive RFID tag. RFID tag 1-14 may then respond back with a data sequence, based on the received command, through the air which is illustrated as the Return Channel 1-18. The main function of the receiver system 1-12 is to detect the data transmitted from the sensor 1-14, in presence of various distortions encountered in the return channel 1-18 such as multi-path and/or natural and man-made interference. Receiver system includes receiving antenna 1-7 which applies the signal received from RFID tag 1-14 to receiver 1-6. The detected data from receiver 1-6 may then be consumed by the user 1-8. In RFID applications the data user is the reader which passes the data to a higher layer protocol for interpretation of the received packet. For passive RFID tags, transmission system 1-10 and receiver system 1-12 may be referred to as “reader/interrogator” 1-13.
The underlying transmitter receiver pair, reader/interrogator 1-13, is shown in FIG. 1. The signal is transmitted over a communication channel with the impulse response h(t) and corrupted with additive white Gaussian noise (AWGN) n(t), the received signal y(t) is modeled as:

y(t)=x(t)*h(t)+n(t)  (1)

where ‘*’ represents the convolution operation.

Referring now to FIG. 2, an end-to-end communication system physical block diagram model 2-1 for a sensory signal is shown in FIG. 2a and includes data source 2-2 which feeds the modulator in the transmitter 2-4. This signal is applied via forward channel 2-6 to sensor 2-8. Only in the case when the transmitted signal from sensor 2-8 is a partially amplified version of the original signal, the impulse responses is the composite impulse response of the forward and return channel, i.e., hf(t)*hr(t). In passive RFID applications, typically the tag may only use the signal from the reader to power itself. The return signal from the tag uses the backscatter modulation to modulate the electronic product code or a response back to the reader, in which case the channel impulse response is only limited to the return channel transfer function 2-10. The receiver 2-11 detects the incoming bit stream and outputs it to the user data 2-12.
In discrete time domain, we represent the sampled version of this complex received signal at time n as for the kth packet or frame as an N-dimensional vector,

yk=Hkxk+nk  (2)

Here yk denotes the received complex vector with dimension N obtained from uniform sampling of the received signal complex signal (after down-conversion) as y(nTs), where Ts denotes sampling interval, and the aggregate channel transfer function represented as




  
    
      
        H
        =
        
          (
          
            
              
                
                  h
                  1
                
              
              
                0
              
              
                ...
              
              
                0
              
            
            
              
                0
              
              
                
                  h
                  1
                
              
              
                
                  h
                  2
                
              
              
                ...
              
            
            
              
                ⋮
              
              
                0
              
              
                ⋱
              
              
                ⋮
              
            
            
              
                0
              
              
                0
              
              
                0
              
              
                
                  h
                  1
                
              
            
          
          )
        
      
    
    
      
        (
        3
        )
      
    
  




Channel response matrix H may be real-or-complex valued constant, or belong to certain class of randomly distributed functions to model in-door or out-door multi-path channel response.
The sequence error probability may be minimized, which is equivalent to maximizing the a posteriori error probability conditioned on the sequence of observation. The estimated transmitted symbols are:




  
    
      
        
          
            a
            ^
          
          n
        
        =
        
          
            argmax
            
              
                a
                n
              
              ∈
              Ψ
            
          
          ⁢
          
            P
            ⁡
            
              (
              
                
                  a
                  n
                
                |
                y
              
              )
            
          
        
      
    
    
      
        (
        4
        )
      
    
  




where, Ψ represents the input symbol alphabet.
By applying Bayes rule we have




  
    
      
        
          P
          ⁡
          
            (
            
              
                a
                k
              
              =
              
                α
                |
                y
              
            
            )
          
        
        =
        
                    ⁢
          
            
              P
              ⁡
              
                (
                
                  y
                  |
                  a
                
                )
              
            
            
              P
              ⁡
              
                (
                y
                )
              
            
          
          ⁢
          
            
              P
              ⁡
              
                (
                a
                )
              
            
            .
          
        
      
    
    
      
        (
        5
        )
      
    
  




If Ψ={0, 1} then let log likelihood ratio




  
    
      
        
          
            Λ
            1
          
          ⁡
          
            (
            
              a
              n
            
            )
          
        
        =
        
          log
          ⁢
          
            
          
          ⁢
          
            
              
                Pr
                ⁡
                
                  (
                  
                    
                      a
                      n
                    
                    =
                    
                      1
                      |
                      
                        y
                        k
                      
                    
                  
                  )
                
              
              
                Pr
                ⁡
                
                  (
                  
                    
                      a
                      n
                    
                    =
                    
                      0
                      |
                      
                        y
                        k
                      
                    
                  
                  )
                
              
            
            .
          
        
      
    
    
      
        (
        6
        )
      
    
  




Using Bayes formula and eliminating Pr(y), we obtain reliability or “extrinsic” information

Λ1(an)=λ1(an)+λ2(an),  (7)

where





  
    
      λ
      1
    
    ⁡
    
      (
      
        a
        n
      
      )
    
  
  =
  
    log
    ⁢
    
      
    
    ⁢
    
      
        Pr
        ⁡
        
          (
          
            
              y
              |
              
                a
                n
              
            
            =
            1
          
          )
        
      
      
        Pr
        ⁡
        
          (
          
            
              y
              |
              
                a
                n
              
            
            =
            0
          
          )
        
      
    
  




represents the “extrinsic information” and





  
    
      λ
      2
    
    ⁡
    
      (
      
        a
        n
      
      )
    
  
  =
  
    log
    ⁢
    
      
    
    ⁢
    
      
        Pr
        ⁡
        
          (
          
            
              a
              n
            
            =
            1
          
          )
        
      
      
        Pr
        ⁡
        
          (
          
            
              a
              n
            
            =
            0
          
          )
        
      
    
  




represents a priori log likelihood ratio (LLR) values. The sequence λ1(an) is calculated in each iteration, and is the function of soft metric calculation block 4-8 shown in FIG. 4. In a SISO decoder, such as decoder 4-2 shown in FIG. 4, the a posteriori probability of each transmitted symbol may be computed and then subtracted from the reliability information to remove the influence of a priori information. The extrinsic information may then be fed back (and de-interleaved if channel encoding is used) for metric calculations for the next iteration, where:





  
    
      
        
          
            λ
            2
          
          ⁡
          
            (
            
              a
              n
            
            )
          
        
        =
        
          
            
              
                Λ
                2
              
              ⁡
              
                (
                
                  a
                  n
                
                )
              
            
            -
            
              
                
                  λ
                  ^
                
                1
              
              ⁡
              
                (
                
                  a
                  n
                
                )
              
            
          
          =
          
            log
            ⁢
            
              
            
            ⁢
            
              
                Pr
                ⁡
                
                  (
                  
                    
                      a
                      n
                    
                    =
                    
                      1
                      |
                      y
                    
                  
                  )
                
              
              
                Pr
                ⁡
                
                  (
                  
                    
                      a
                      n
                    
                    =
                    
                      0
                      |
                      y
                    
                  
                  )
                
              
            
          
        
      
    
    
      
        (
        8
        )
      
    
  




where tilde ( ̃) denote values from the last decoding state. In presence of unknown random phase and timing, it may be necessary to consider the input and output joint probability distribution functions Pr(a, φ, τ|y) in which the optimization problem formulated in equation (4) becomes





  
    
      
        
          (
          
            
              
                a
                ^
              
              n
            
            ,
            
              φ
              n
            
            ,
            
              τ
              n
            
          
          )
        
        =
        
          
            argmax
            
              
                (
                
                  
                    a
                    n
                  
                  ,
                  
                    φ
                    n
                  
                  ,
                  
                    τ
                    n
                  
                
                )
              
              ∈
              Ψ
            
          
          ⁢
          
            P
            ⁡
            
              (
              
                
                  a
                  n
                
                ,
                
                  φ
                  n
                
                ,
                
                  
                    τ
                    n
                  
                  |
                  y
                
              
              )
            
          
        
      
    
    
      
        (
        
          8
          ⁢
          a
        
        )
      
    
  




where, Ψ represents set of all values that an, φn, τn; can take.

Referring now to FIG. 2b, in theoretical model 2-30, the performance of the overall RFID system may be enhanced by applying a simple and novel channel coding to the user data. This coding technique may include the use of an outer code 2-19, the interleaver 2-18 and a single parity check code 2-16, defined latter which is used to drive the modulation encoder over the channel. As an example, the outer code may be a repetition code (simply taking the input data of size M and repeating it q times where q>1). The input data of size M bits may be partitioned into N equal size subsequences each of size M/N. Each subsequence is copied (repeated) q times (for example say q=3) then permuted by non-identical interleavers each of size M/N, all repeated and permuted subsequences enter a single parity check (SPC) with Nq input and one output. The output sequence of SPC may be of size M/N. The call output sequence may be considered as a parity sequence. Note that for this example the interleaver 2-18 is plurality of interleavers that can be more than one. The N data subsequences and the parity sequence may then be multiplexed to generate a sequence of length M+M/N that enters the modulator encoder namely FM0, Miller, or any other modulator encoder used or to be used in the RFID system. It must be noted that 2-19, 2-18 and 2-16 are optional in the event it is desired to attain a coding gain in RFID systems.
The SISO decoder shown may be considered to be a device that maps an input sequence a to an output sequence c based on a finite state machine. If the coding scheme of 2-19, 2-18 and 2-16 is employed the SISO decoder will be designed to account for the outer code 2-19, interleaver 2-18, single parity code 2-16 and modulation encoder 2-14 when modeling the FSM for data encoder. The SISO decoder is embedded in the receiver 2-28. The outer code 2-19, the interleaver 2-18 and the single parity code 2-16 constitute a channel coding scheme that further takes advantage of SISO decoder for the receiver realization in 2-28. A possible method of the channel coding technique for RFID applications is to apply the channel coding method to the RFID tag's identifier prior to writing into its memory, for passive RFID tags types that are written only once and read many times. In the case of write and read many times RFID tags, the encoder (that is 2-19, 2-18 and 2-16) can be implemented in the tag, or the reader can pre-encode the desired stored information when writing into the tag. When the information is retrieved from the tag, that is when the reader reads the tag, the RFID tag transmits the stored information through channel 2-10 back to the reader. The coding gain is realized in this case by virtue of the structure of the stored information in the tag.
In addition, the SISO decoder may jointly estimate the state of the channel, random phase modeled as a complex multiplier in combiner 2-24. Timing offset, inherently present in any receiver subsystem and particularly in wireless systems, may be modeled in timing offset 2-26, with multi-path propagation characteristics. For channel model 2-22, a finite state machine may be used to represent the channel with memory as shown in channel matrix in equation (3).
Referring now to FIG. 3, a SISO decoder such as SISO decoder 3-2 can be viewed as a four-port device. The input to the SISO decoder 3-2 is the joint probability of channel output 3-10 and transmitted symbol sequence 3-8. The output of SISO decoder 3-2 is the joint probability of channel output 3-4 and transmitted symbol sequence 3-6. The input symbol a=(ak) with kε (is the set of integers) drawn from a finite alphabet A={ã1, ã2, . . . , ãN} with a-priori probability Pr(a). Let c=(ck) and kε is the sequence of output drawn from alphabet C={{tilde over (c)}1, {tilde over (c)}2, . . . , {tilde over (c)}N} with a priori probability Pr(c). The SISO decoder 3-2 accepts at the input the sequence of probability distributions and outputs the sequences of probability distributions, namely: the input probabilities Pk(a; I) in 3-8, Pk(c; I) 3-8 3-10 and output probabilities Pk(a; O) 3-6, Pk(c; O) 3-4.
Referring now to FIG. 4, a SISO decoder 4-2 is illustrated for use when the proposed channel coding scheme is employed. The input to SISO decoder 4-2 is fed by computing equation (8), shown as the input to the de-interleaver 4-6. Input values of the de-interleaver 4-6 and the output of the interleaver 4-4 are the computed values from the last decoding iteration of the SISO decoder. The soft metric calculation may be performed by computing equation (7) in soft metric calculator 4-8 using the observed signal 4-9 and for a fixed phase value, timing and the channel state from step 4-10. The function and structure of the interleaver 4-4 and de-interleaver 4-6 is dictated by the repetition rate of the outer code and discussed below. At the end of each iteration the SISO decoder 4-2 outputs Λ2(an) s multiple outputs which may then be subtracted from the output of 4-6 and fed to the interleaver block 4-4 to compute the input metric for the next iteration, used in 4-10 and 4-8. This process may be repeated until the SISO decoder 4-2 converges, at which time the extrinsic information is output for decoding the output stream.
Recursive computation of these input and output joint probability distribution functions, namely: Pk(a; I), Pk(a; 0), Pk(c; 0) and Pk(c; I) may be made possible by modeling the received symbols as output from a discrete-time finite-state Markov process source. The state of the source at time t is denoted by Stθ, and its output by Y. A state sequence of the source extending from time t to t′ is made possible based on the underlying finite state machine model. The corresponding output forms a first order Markov chain, i.e.,

Pr(Sθt+1(Sθt,Sθt−1, . . . ,Sθ1)=Pr(Sθt+1|Sθt)  (9)

Referring now to FIG. 5, for the purpose of phase sequence estimation and open loop tracking, the phase space may be quantized into Qφ equally spaced intervals and denoted as:




  
    
      
        
          Θ
          φ
        
        =
        
          {
          
            0
            ,
            
              π
              M
            
            ,
            
              
                2
                ⁢
                π
              
              M
            
            ,
            ...
            ⁢
            
              
            
            ,
            
              
                
                  (
                  
                    M
                    -
                    1
                  
                  )
                
                ⁢
                2
                ⁢
                π
              
              M
            
          
          }
        
      
    
    
      
        (
        10
        )
      
    
  




The phase sequence can be modeled as a random walk around the unit circle, that is a Markov process: φn=φn+Δφ mod 2π, where φnεΘφ and Δφ can be modeled as discrete random variable taking values in the quantized phase space from a known probability density function (i.e., quantized Gaussian, Tikhanov or etc.). The probability of such a phase transition may be denoted as pij.
The M distinct states of the Markov source are indexed by the integer m, m=0, 1, . . . , (M−1) with probability transition matrix:




  
    
      
        P
        =
        
          (
          
            
              
                
                  p
                  11
                
              
              
                
                  p
                  12
                
              
              
                ...
              
              
                
                  p
                  
                    1
                    ⁢
                    M
                  
                
              
            
            
              
                
                  p
                  21
                
              
              
                
                  p
                  22
                
              
              
                
                  
                
              
              
                ⋮
              
            
            
              
                ⋮
              
              
                
                  
                
              
              
                ⋱
              
              
                
                  
                
              
            
            
              
                
                  p
                  
                    M
                    ⁢
                    
                      
                    
                    ⁢
                    1
                  
                
              
              
                
                  p
                  
                    M
                    ⁢
                    
                      
                    
                    ⁢
                    2
                  
                
              
              
                
                  
                
              
              
                
                  p
                  MM
                
              
            
          
          )
        
      
    
    
      
        (
        11
        )
      
    
  




Where





  
    
      
        ∑
        
          i
          =
          1
        
        M
      
      ⁢
      
        p
        ij
      
    
    =
    
      
        1
        ⁢
        
          
        
        ⁢
        and
        ⁢
        
          
        
        ⁢
        
          p
          ij
        
      
      =
      
        p
        ji
      
    
  
  ,




i.e., matrix is symmetric and doubly Markov.

Referring now to FIG. 6, the symbol duration Qr may be quantized into equally spaced intervals for time and synchronization. The timing space may be represented as:

ιτ={τ,±2τ,±3τ, . . . }  (12)

Let:





  Υ
  =
  
    {
    
      
        
          ⋃
          V
        
        
          i
          =
          1
        
      
      ⁢
      
        (
        
          t
          ∈
          
            [
            
              
                
                  nT
                  sym
                
                ±
                
                  i
                  ⁢
                  
                    
                  
                  ⁢
                  τ
                
              
              ,
              
                
                  
                    (
                    
                      n
                      +
                      1
                    
                    )
                  
                  ⁢
                  
                    T
                    sym
                  
                
                ±
                
                  
                    (
                    
                      i
                      +
                      1
                    
                    )
                  
                  ⁢
                  τ
                
              
            
            )
          
        
        )
      
    
    }
  




represent the ensemble of all possible symbol timing intervals where V is the cardinality of the set of i such that





  
    
    
      
        nT
        sym
      
      ±
      
        i
        ⁢
        
          
        
        ⁢
        τ
      
    
    
  
  <
  
    
      
        (
        
          
            nT
            sym
          
          -
          
            
              (
              
                n
                +
                1
              
              )
            
            ⁢
            
              T
              sym
            
          
        
        )
      
      2
    
    .
  




Then J represents any member of set , i.e., Jε.

For assigning the transition probability matrix P for phase tracking, it is possible to use the classical theory of phased-lock-loops where distribution of state phase error and clock stability from the oscillator can be computed or estimated. Thus matrix P and can be pre-computed based on a single transition probability from one timing state to another. For assigning the transition probability matrix P for symbol timing, a geometric distribution can also be used (i.e.,




  ∂
  
    M
    n
  




where ∂ is a constant such that





  
    
      
        
          ∑
          
            n
            =
            1
          
          M
        
        ⁢
        
          ∂
          
            M
            n
          
        
      
      =
      1
    
    )
  
  .




Assuming the channel impulse response length of L, at each time instance k=1, 2, . . . , N the state of the channel is a random variable with the property of the memory present in the system that, given Sk, the state Sk+1 can only assume one of two values corresponding to a +1 or −1 being fed into the tapped delay line at time k. Thus, given a binary input alphabet {+1, −1} the channel can be in one of 2L states ri, i=1, 2, . . . , 2L; corresponding to the 2L2 L different possible contents of the delay elements. This set may be denoted by Θh the set of possible states. Additionally, let Θe represent the set of possible states of modulation encoder or line encoder or differential encoder.
Let the product space

Ω=Θe{circle around (x)}Θh{circle around (x)}Θτ{circle around (x)}Θh  (13)

represent the space of all possible states of the system, where {circle around (x)} denotes the Cartesian product and N the cardinality of Ω.

Referring now to FIG. 7, the possible evolution of states SnεΩ can thus be described in form of a trellis diagram. An example of such a trellis structure for a 16-state trellis diagram is illustrated in FIG. 7, where there are 16 transitions from each state of the trellis to the other.
The state transitions of the Markov source are governed by the transition probabilities. In which case for the forward and backward log probabilities of the SISO decoder may be defined as follows:




  
    
      
        
          
            
              α
              k
            
            ⁡
            
              (
              S
              )
            
          
          =
          
            
              Max
              
                e
                :
                
                  
                    
                      S
                      n
                    
                    ⁡
                    
                      (
                      e
                      )
                    
                  
                  ∈
                  Ω
                
              
            
            ⁢
            
              {
              
                
                  
                    
                      
                        
                          α
                          
                            k
                            -
                            1
                          
                        
                        ⁡
                        
                          (
                          
                            
                              S
                              s
                            
                            ⁡
                            
                              (
                              e
                              )
                            
                          
                          )
                        
                      
                      +
                      
                        
                          Π
                          k
                        
                        ⁡
                        
                          (
                          
                            
                              a
                              ⁡
                              
                                (
                                e
                                )
                              
                            
                            ;
                            I
                          
                          )
                        
                      
                      +
                    
                  
                
                
                  
                    
                      
                        
                          Π
                          k
                        
                        ⁡
                        
                          (
                          
                            
                              c
                              ⁡
                              
                                (
                                e
                                )
                              
                            
                            ;
                            I
                          
                          )
                        
                      
                      +
                      
                        
                          Π
                          k
                        
                        ⁡
                        
                          (
                          
                            
                              c
                              ⁡
                              
                                (
                                e
                                )
                              
                            
                            ;
                            O
                          
                          )
                        
                      
                    
                  
                
              
              }
            
          
        
        ⁢
        
          

        
        ⁢
        
          
            
              β
              k
            
            ⁡
            
              (
              S
              )
            
          
          =
          
            
              Max
              
                e
                :
                
                  
                    
                      S
                      n
                    
                    ⁡
                    
                      (
                      e
                      )
                    
                  
                  ∈
                  Ω
                
              
            
            ⁢
            
              {
              
                
                  
                    
                      
                        
                          β
                          
                            k
                            -
                            1
                          
                        
                        ⁡
                        
                          (
                          
                            
                              S
                              E
                            
                            ⁡
                            
                              (
                              e
                              )
                            
                          
                          )
                        
                      
                      +
                      
                        
                          Π
                          
                            k
                            +
                            1
                          
                        
                        ⁡
                        
                          (
                          
                            
                              a
                              ⁡
                              
                                (
                                e
                                )
                              
                            
                            ;
                            I
                          
                          )
                        
                      
                      +
                    
                  
                
                
                  
                    
                      
                        
                          Π
                          
                            k
                            +
                            1
                          
                        
                        ⁡
                        
                          (
                          
                            
                              c
                              ⁡
                              
                                (
                                e
                                )
                              
                            
                            ;
                            I
                          
                          )
                        
                      
                      +
                      
                        
                          Π
                          k
                        
                        ⁡
                        
                          (
                          
                            
                              c
                              ⁡
                              
                                (
                                e
                                )
                              
                            
                            ;
                            O
                          
                          )
                        
                      
                    
                  
                
              
              }
            
          
        
      
    
    
      
        (
        14
        )
      
    
  




∀k=1, . . . , N, where

Πk(c;I)□ log(Pk(c;I)),Πk(a;I)□ log(Pk(a;I))

Πk(c;0)□ log(Pk(c;O)),Πk(a;0)□ log(Pk(a;O))  (15)

This maximization is over all the edges e connected to a state selected from the ensemble of all possible states connected in the trellis. Equation (14) in log domain can be represented as:




  
    
      
        
          
            
              Π
              k
            
            ⁡
            
              (
              
                c
                ;
                0
              
              )
            
          
          =
          
            
              
                Max
                
                  
                    e
                    :
                    
                      c
                      ⁡
                      
                        (
                        e
                        )
                      
                    
                  
                  =
                  c
                
              
              ⁢
              
                {
                
                  
                    
                      
                        
                          
                            α
                            
                              k
                              -
                              1
                            
                          
                          ⁡
                          
                            (
                            
                              
                                S
                                s
                              
                              ⁡
                              
                                (
                                e
                                )
                              
                            
                            )
                          
                        
                        +
                        
                          
                            Π
                            k
                          
                          ⁡
                          
                            (
                            
                              
                                a
                                ⁡
                                
                                  (
                                  e
                                  )
                                
                              
                              ;
                              I
                            
                            )
                          
                        
                        +
                      
                    
                  
                  
                    
                      
                        
                          β
                          k
                        
                        ⁡
                        
                          (
                          
                            
                              S
                              E
                            
                            ⁡
                            
                              (
                              e
                              )
                            
                          
                          )
                        
                      
                    
                  
                
                }
              
            
            +
            
              h
              c
            
          
        
        ⁢
        
          

        
        ⁢
        
          
            
              Π
              k
            
            ⁡
            
              (
              
                a
                ;
                0
              
              )
            
          
          =
          
            
              
                Max
                
                  
                    e
                    :
                    
                      a
                      ⁡
                      
                        (
                        e
                        )
                      
                    
                  
                  =
                  a
                
              
              ⁢
              
                {
                
                  
                    
                      
                        
                          
                            α
                            
                              k
                              -
                              1
                            
                          
                          ⁡
                          
                            (
                            
                              
                                S
                                s
                              
                              ⁡
                              
                                (
                                e
                                )
                              
                            
                            )
                          
                        
                        +
                        
                          
                            Π
                            k
                          
                          ⁡
                          
                            (
                            
                              
                                c
                                ⁡
                                
                                  (
                                  e
                                  )
                                
                              
                              ;
                              I
                            
                            )
                          
                        
                        +
                      
                    
                  
                  
                    
                      
                        
                          β
                          k
                        
                        ⁡
                        
                          (
                          
                            
                              S
                              E
                            
                            ⁡
                            
                              (
                              e
                              )
                            
                          
                          )
                        
                      
                    
                  
                
                }
              
            
            +
            
              h
              u
            
          
        
      
    
    
      
        (
        16
        )
      
    
  




and initial values





  
    
      
        
          
            α
            0
          
          ⁡
          
            (
            S
            )
          
        
        =
        
          {
          
            
              
                
                  0
                
                
                  
                    s
                    =
                    
                      S
                      0
                    
                  
                
              
              
                
                  
                    -
                    ∞
                  
                
                
                  Otherwise
                
              
            
            ,
            
              

            
            ⁢
            
              
                
                  β
                  n
                
                ⁡
                
                  (
                  S
                  )
                
              
              =
              
                {
                
                  
                    
                      0
                    
                    
                      
                        s
                        =
                        
                          S
                          n
                        
                      
                    
                  
                  
                    
                      
                        -
                        ∞
                      
                    
                    
                      Otherwise
                    
                  
                
              
            
          
        
      
    
    
      
        (
        17
        )
      
    
  




The quantities hc and hu are normalization constants to limit the range of the numerical values of α and β. The set of states Ξ={S1, S2, . . . , Sn} and edges E={e1, e2, . . . , ek} represent all possible transitions between the trellis states. Ss(e) denotes all the starting states for the transition eεE to the ending state SE(e) with input symbol a(e) corresponding to the output symbol c(e).
Referring now to FIG. 8a, the operation for computation of αk and βk for the binary case is illustrated in FIG. 8a, i.e., two transitions to traverse from state Sk to Sk+1. In each iteration, the forward and backward log probabilities may be computed by considering the Trellis structure in FIG. 8a, that is

αk=max(αi+mik,αj+mjk)

βt=max(βkmik,β+mil)  (18)

In order to compute the extrinsic information for each bit as shown in FIG. 8b, the input bit sequence may simply be written as:




  
    
      
        
          
            Π
            k
          
          ⁡
          
            (
            
              a
              ;
              0
            
            )
          
        
        =
        
          
            
              Max
              
                Alledges
                
                  
                    ->
                    a
                  
                  =
                  1
                
              
            
            ⁢
            
              {
              
                α
                +
                m
                +
                β
              
              }
            
          
          -
          
            
              Max
              
                Alledges
                
                  
                    ->
                    a
                  
                  =
                  0
                
              
            
            ⁢
            
              {
              
                α
                +
                m
                +
                β
              
              }
            
          
        
      
    
    
      
        (
        19
        )
      
    
  




and the extrinsic for the output code is:





  
    
      
        
          
            Π
            k
          
          ⁡
          
            (
            
              c
              ;
              0
            
            )
          
        
        =
        
          
            
              Max
              
                Alledges
                
                  
                    ->
                    c
                  
                  =
                  1
                
              
            
            ⁢
            
              {
              
                α
                +
                m
                +
                β
              
              }
            
          
          -
          
            
              Max
              
                Alledges
                
                  
                    ->
                    c
                  
                  =
                  0
                
              
            
            ⁢
            
              {
              
                α
                +
                m
                +
                β
              
              }
            
          
        
      
    
    
      
        (
        20
        )
      
    
  




The branch metric m is computed as:





  
    
      
        m
        =
        
          (
          
            
              
                
                  
                    a
                    ⁢
                    
                      
                    
                    ⁢
                    
                      Π
                      ⁡
                      
                        (
                        
                          a
                          ;
                          I
                        
                        )
                      
                    
                  
                  +
                  
                    
                      c
                      1
                    
                    ⁢
                    
                      Π
                      ⁡
                      
                        (
                        
                          
                            c
                            1
                          
                          ;
                          I
                        
                        )
                      
                    
                  
                  +
                  ...
                  +
                  
                    
                      c
                      r
                    
                    ⁢
                    
                      Π
                      ⁡
                      
                        (
                        
                          
                            c
                            r
                          
                          ;
                          I
                        
                        )
                      
                    
                  
                  +
                
              
            
            
              
                
                  
                    Π
                    ⁡
                    
                      (
                      
                        
                          c
                          1
                        
                        ;
                        φ
                      
                      )
                    
                  
                  +
                  
                    Π
                    ⁡
                    
                      (
                      
                        
                          c
                          1
                        
                        ;
                        τ
                      
                      )
                    
                  
                
              
            
          
          )
        
      
    
    
      
        (
        21
        )
      
    
  




where r represents the index to the selected element of channel symbol output of c.

This establishes the equivalency of the SISO decoder as shown in FIG. 3 and computation of equations (18) through (21).
Referring now to FIGS. 9 and 9a, the structure of Single Parity Check (SPC) code is given. The input stream of size M is de-multiplexed in demux 9-6 into blocks of N subsequences of length M/N. Each subsequences optionally are permuted with N interleavers each of size M/N prior to entering MUX 9-8. These “optional” interleavers (e.g., tags) together with interleavers prior to single parity check code can be used to provide security for RFID system. This method provides a highly secure RFID system The N data subsequences as described before are repeated q times and permuted with Nq interleavers. The output of the interleaved blocks are all exclusive OR'ed together in combiner 9-10 to form a single parity check sequence of length M/N which is multiplexed in MUX 9-2 to form a serial output stream. The outputs of multiplexer 9-2 are then fed into the modulation encoder 9-4 (which may be FM0 or Miller code). The interleaver blocks 9-8 in this figure each are designed to preserve the Hamming weight of the input vector at the output of interleaver. The repetition q and the code rate defined in this case as N/(N−1) are design parameters chosen for desired length of the output sequence and coding gain. Presently RFID tag identifiers range anywhere from 24-bits to 2048-bits vectors, that is the output block size of the encoder. The input data U, the input to de-multiplexer 9-6, once encoded forms a vector of length M+M/N.
Referring now to FIG. 9b, the structure of Single Parity Check (SPC) decoder is illustrated as an RFID channel SIS) Decoder. The soft output stream of size M+M/N from SISO modulation decoder is de-multiplexed in demux 9b-6 into blocks of N+1 subsequences of length M/N. The first N subsequences deinterleaved through the “optional” N deinterleavers each of size M/N which were used to provide security for RFID system. Knowing these permutation represent secure keys for RFID system, the N soft data subsequences after the “optional” deinterleavers may be repeated q times and permuted with Nq interleavers. The output of the interleaved blocks are all collected together with soft outputs from DEMUX 9b-2b for parity bits enter to the SISO single parity check decoder in SISO decoder 9b-10 to generate soft outputs. The N+1 soft output subsequences from SISO single parity check decoder each of length M/N enters Nq deinterleavers 9b-8b. The soft output of deinterleavers enters the SISO repetition decoder. The output of the repetition decoder enter the “optional” interleavers. The output of the “optional” interleaver, together with soft output for parity bits from SISO SPC, are multiplexed in MUX 9b-2b to form a serial output stream. The outputs of multiplexer 9b-2b are then fed into the SISO modulation decoder 9b-4 (e.g., FM0 or Miller decoder). This process goes through several iterations. The output and input of SISO for repetition decoder are summed to provide reliability for input subsequences data streams. The N subsequence streams are input to de-multiplexer 9b-6. The output of the demultiplexed processes are input to hard decision device 9-16 to generate decoded bit stream U. The detailed operation of SISO decoder for repetition code is shown in FIG. 9c in steps 9c-10, 9c-12, 9c-14, 9c-16 and 9c-18. The detailed operation of SISO decoder for SPC is shown in FIG. 9d in steps 9d-10, 9d-12, 9d-14 and 9p-16.
Referring now to FIG. 10, coherent SISO receiver 10-10 is disclosed. In this case the extrinsic and intrinsic and branch metrics respectively are represented by the set of equations in equations (18) to (21). Callouts indicate the function of each processing subsystem, the analyzer and equalizer block diagram is shown in 10-6, the estimation block in 10-2 and the detector in 10-4. The input signal may have traversed airspace or a wired infrastructure to reach the receiver, there is no limitation in terms of the transport mechanism into the system. The received signal is de-multiplexed into a parallel stream into a size of the packet or frame used in the communication system. The received signal is then fed to the channel equalizer and interference canceller filter bank in input 10-8. This signal is the rotated via a vector phase rotation (vector complex multiplication) 10-10. The output of 10-10 is used to compute the soft metric values which then feeds the SISO decoder 10-14.
The theory of operation of a coherent SISO decoder may be described as follows: the observed vector 10-50 y is obtained from serial to parallel conversion 10-52 of the received signal to form the vector 10-50. The size M indicated in 10-50 is chosen as the length of the samples in the received packet, or for practical consideration, a convenient length for the desired hardware complexity. The signal 10-50 is fed to channel equalizer 10-16 which is composed of a modulated filter bank. The filter bank transfer function is selected for typical deployment scenario to match the propagation environment and use case scenario. The signal from channel equalizer 10-16 is rotated in phase by rotator 10-10 and fed into the correlator and soft metric estimation block 10-12. When channel coding is used, the output of estimation block 10-12 is subtracted from the output of the interleaver as discussed above with regard to FIG. 4 and processing in blocks 4-6 and 4-4. The de-interleaver 10-24 and interleaver block 10-26 are matched to the channel encoder interleaver block used for encoding the data in 9-8, when an optional mode when used. The signal from the de-interleaver 10-24 is fed into the SISO receiver 10-14. After each iteration, the output of the SISO decoder 10-14 is input to the interleaver 10-26 whose output is fed into the channel estimation block 10-36 and to the metric computation block 10-12. The channel estimation block 10-36 decodes the channel impulse response in equation (3) and is used to update the filter bank coefficients in the channel equalizer and interference excision block 10-16. The received vector y 10-50 (also denoted as Yk where the index k denotes the iteration index in 10-30) is also fed into clocks 10-34, 10-28, 10-39 and 10-37. In delay 10-34, the signal is delayed to match the latency required by each iteration as the input data for the channel estimation block. In 10-37 the observed vector is used to detect the preamble sequence and initialize the symbol timing block 10-39. The symbol timing block 10-39 is updated in each iteration from 10-62 which is the same signal as 10-60, which is the output of the SISO decoder. The output of the symbol timing block 10-39 produces a square wave output 10-35 which is used a reference symbol clock source throughout the system. If there is a residual carrier in the waveform, as in some RFID standards, tracking loop 10-46 is used to extract the CW and compute the phase offset from the ideal carrier frequency in carrier offset block 10-38. If a subcarrier is used, as in some RFID standards, the output of carrier offset block 10-38 is further enhanced by estimating an additional phase offset term from the subcarrier phase, by performing fine frequency tracking in 10-42 and by computing the phase offset in phase offset block 10-44. The frequency estimate from fine frequency block 10-42 may also be fed back to FFT 10-18 to update the spectral estimate of the signal for the next iteration.
In an optional mode, it may be desirable to additionally also perform frequency domain equalization in each iteration of the SISO decoder as shown in detector 10-4. This functionality may be enabled in the presence of fast frequency fading channels in which the signal may suffer fast fades during a single symbol interval. In an RFID system, these may be caused by conveyor belts, fast moving tunnel highways or moving vehicles. In this case, the estimated impulse response state may be fed to the equalizer coefficient estimation block that feeds the FFT block to compensate for fading and multipath effects.
Referring now to FIG. 11, non-coherent SISO receiver 11-10 is disclosed. The operation of all the computational blocks, namely, 11-18, 11-20, 11-22, 11, 16, 11-10, 11-46, 11-44, 11-42, 11-40, 11-38, 11-36, 11-34, 11-37, 11-39, 11-54, 11-46, 11-40, 11-60, 11-62, are the same as in 10-18, 10-20, 10-22, 10, 16, 10-10, 10-46, 10-44, 10-42, 10-40, 10-38, 10-36, 10-34, 10-62, 10-37 and 10-39. The channel equalizer and interference canceller 11-16 is similar to the coherent block 10-16, except the input channel estimates may now be based on the non-coherent estimation bock for which the equations are presented below. The key distinction between the coherent and non-coherent versions of the receiver architecture is in the computation of extrinsic information for branch metric computation, and the amount of phase rotation imposed in phase rotator 11-10. The channel equalizer block 11-16 is similar to the coherent case with the exception that estimates for the channel coefficients are derived from the non-coherent SISO detector. The SISO decoder 11-14 uses a similar trellis to that of the coherent case, except the branch metrics computed in 11-12 are based on non-coherent signal detection theory which is essentially phase invariant in presence of random or unknown phase. In each iteration in block 11-12, equation (33) is computed and/or updated based on the previous iteration of the extrinsic information, that is the output from the SISO decoder's last iteration via equation (21).
In a non-coherent case, the received signal (in absence of multipath the symbol ck is denoted simply by xk) may be modeled with random or unknown phase as:

yk=Axkejα+nk  (22)

In an AWGN channel with nk, that is complex zero mean Gaussian noise with variance τ2 per dimension, the observed vector's probability distribution function conditioned on a known phase and the transmitted sequence of N symbols is:




  
    
      
        
          P
          ⁡
          
            (
            
              
                y
                |
                x
              
              ,
              φ
            
            )
          
        
        =
        
          o
          ·
          
            e
            
              
                -
                
                  1
                  
                    σ
                    
                      2
                      ⁢
                      
                        
                      
                    
                  
                
              
              ⁢
              
                
                  ∑
                  
                    n
                    =
                    1
                  
                  N
                
                ⁢
                
                  
                    
                    
                      
                        y
                        n
                      
                      -
                      
                        
                          Ax
                          n
                        
                        ⁢
                        
                          e
                          
                            j
                            ⁢
                            
                              
                            
                            ⁢
                            φ
                          
                        
                      
                    
                    
                  
                  2
                
              
            
          
        
      
    
    
      
        (
        23
        )
      
    
  




Where o is a constant and a is the variance of the noise. After some algebraic manipulation we can write (23) as




  
    
      
        
          P
          ⁡
          
            (
            
              
                y
                |
                x
              
              ,
              φ
            
            )
          
        
        =
        
          
            o
            ·
            
              e
              
                
                  -
                  
                    
                      A
                      2
                    
                    
                      2
                      ⁢
                      
                        σ
                        2
                      
                    
                  
                
                ⁢
                
                  
                    ∑
                    
                      n
                      =
                      1
                    
                    N
                  
                  ⁢
                  
                    
                      
                      
                        x
                        n
                      
                      
                    
                    2
                  
                
              
            
          
          ⁢
          
            e
            
              
                A
                
                  σ
                  
                    2
                    ⁢
                    
                      
                    
                  
                
              
              ⁢
              
                Re
                ⁡
                
                  (
                  
                    
                      ∑
                      
                        n
                        =
                        1
                      
                      N
                    
                    ⁢
                    
                      
                        y
                        n
                        *
                      
                      ⁢
                      
                        x
                        n
                      
                      ⁢
                      
                        e
                        
                          j
                          ⁢
                          
                            
                          
                          ⁢
                          φ
                        
                      
                    
                  
                  )
                
              
            
          
        
      
    
    
      
        (
        24
        )
      
    
  




Averaging (24) over the uniformly distributed phase over (0, 2•• yields:




  
    
      
        
          P
          ⁡
          
            (
            
              y
              |
              x
            
            )
          
        
        =
        
          
            
              o
              ′
            
            ·
            
              e
              
                
                  -
                  
                    
                      A
                      2
                    
                    
                      σ
                      
                        2
                        ⁢
                        
                          
                        
                      
                    
                  
                
                ⁢
                
                  
                    ∑
                    
                      n
                      =
                      1
                    
                    N
                  
                  ⁢
                  
                    
                      
                      
                        x
                        n
                      
                      
                    
                    2
                  
                
              
            
          
          ⁢
          
            
              I
              0
            
            ⁡
            
              (
              
                
                  A
                  
                    σ
                    
                      2
                      ⁢
                      
                        
                      
                    
                  
                
                ⁢
                
                  
                  
                    
                      ∑
                      
                        n
                        =
                        1
                      
                      N
                    
                    ⁢
                    
                      
                        y
                        n
                        *
                      
                      ⁢
                      
                        x
                        n
                      
                    
                  
                  
                
              
              )
            
          
        
      
    
    
      
        (
        25
        )
      
    
  




where I0(.) represents the modified zero-th order Bessel function.
Recall




  
    
      
        
          P
          ⁡
          
            (
            
              
                x
                i
              
              =
              
                x
                |
                y
              
            
            )
          
        
        =
        
          
            1
            
              P
              ⁡
              
                (
                y
                )
              
            
          
          ⁢
          
            
              ∑
              
                
                  x
                  :
                  
                    x
                    i
                  
                
                =
                x
              
            
            ⁢
            
              
                P
                ⁡
                
                  (
                  
                    y
                    |
                    x
                  
                  )
                
              
              ⁢
              
                Π
                l
              
              ⁢
              
                P
                ⁡
                
                  (
                  x
                  )
                
              
            
          
        
      
    
    
      
        (
        26
        )
      
    
  




From (25),




  
    
      
        
          
            P
            ⁡
            
              (
              
                
                  x
                  i
                
                =
                
                  x
                  |
                  y
                
              
              )
            
          
          
            P
            ⁡
            
              (
              
                
                  x
                  i
                
                =
                x
              
              )
            
          
        
        =
        
          
            o
            ′′
          
          ·
          
            
              ∑
              
                
                  x
                  :
                  
                    x
                    i
                  
                
                =
                x
              
            
            ⁢
            
              
                (
                
                  
                    
                      
                        
                          e
                          
                            
                              -
                              
                                
                                  A
                                  2
                                
                                
                                  2
                                  ⁢
                                  
                                    σ
                                    2
                                  
                                
                              
                            
                            ⁢
                            
                              
                                ∑
                                
                                  n
                                  =
                                  1
                                
                                N
                              
                              ⁢
                              
                                
                                  
                                  
                                    x
                                    n
                                  
                                  
                                
                                2
                              
                            
                          
                        
                        ×
                      
                    
                  
                  
                    
                      
                        
                          I
                          0
                        
                        ⁡
                        
                          (
                          
                            
                              A
                              
                                σ
                                2
                              
                            
                            ⁢
                            
                              
                              
                                
                                  ∑
                                  
                                    n
                                    =
                                    1
                                  
                                  N
                                
                                ⁢
                                
                                  
                                    y
                                    n
                                    *
                                  
                                  ⁢
                                  
                                    x
                                    n
                                  
                                
                              
                              
                            
                          
                          )
                        
                      
                    
                  
                
                )
              
              ⁢
              
                
                  ∏
                  
                    l
                    ≠
                    i
                  
                
                ⁢
                
                  P
                  ⁡
                  
                    (
                    
                      x
                      l
                    
                    )
                  
                
              
            
          
        
      
    
    
      
        (
        27
        )
      
    
  




Or equivalently, the extrinsic metric may be approximated in equation (27) as




  
    
      
        
          
            ∏
            i
          
          ⁢
          
            (
            
              
                
                  x
                  i
                
                =
                x
              
              ,
              0
            
            )
          
        
        ≈
        
          
            max
            
              
                x
                :
                
                  x
                  i
                
              
              =
              x
            
          
          ⁢
          
            {
            
              
                
                  
                    
                      
                        -
                        
                          
                            A
                            2
                          
                          
                            2
                            ⁢
                            
                              σ
                              
                                2
                                ⁢
                                
                                  
                                
                              
                            
                          
                        
                      
                      ⁢
                      
                        
                          ∑
                          
                            n
                            =
                            1
                          
                          N
                        
                        ⁢
                        
                          
                            
                            
                              x
                              n
                            
                            
                          
                          2
                        
                      
                    
                    +
                  
                
              
              
                
                  
                    
                      
                        A
                        
                          σ
                          2
                        
                      
                      ⁢
                      
                        
                        
                          
                            ∑
                            
                              n
                              =
                              1
                            
                            N
                          
                          ⁢
                          
                            
                              y
                              n
                              *
                            
                            ⁢
                            
                              x
                              n
                            
                          
                        
                        
                      
                    
                    +
                  
                
              
              
                
                  
                    
                      ∑
                      
                        l
                        ≠
                        i
                      
                    
                    ⁢
                    
                      ln
                      ⁢
                      
                        
                      
                      ⁢
                      
                        p
                        ⁡
                        
                          (
                          
                            x
                            l
                          
                          )
                        
                      
                    
                  
                
              
            
            }
          
        
      
    
    
      
        (
        28
        )
      
    
  




For the special case when xn takes values +1 and −1, then the term




  
    -
    
      
        A
        2
      
      
        2
        ⁢
        
          σ
          2
        
      
    
  
  ⁢
  
    
      ∑
      
        n
        =
        1
      
      N
    
    ⁢
    
      
        
        
          x
          n
        
        
      
      2
    
  




can be ignored, since |xn| is constant.

Next consider a Rayleigh fading channel model, where in equation (22), the magnitude A is Rayleigh distributed and the phase is uniformly distributed over (0, 2π) interval. The observed vector's probability distribution function conditioned on a known amplitude and the transmitted sequence of symbols is:




  
    
      
        
          P
          ⁡
          
            (
            
              
                y
                ❘
                x
              
              ,
              A
            
            )
          
        
        =
        
          
            o
            .
            
              e
              
                
                  1
                  
                    2
                    ⁢
                    
                      
                    
                    ⁢
                    
                      σ
                      2
                    
                  
                
                ⁢
                
                  
                    ∑
                    
                      n
                      =
                      1
                    
                    N
                  
                  ⁢
                  
                    
                  
                  ⁢
                  
                    
                      
                      
                        y
                        n
                      
                      
                    
                    2
                  
                
              
            
          
          ⁢
          
            e
            
              
                -
                
                  
                    A
                    2
                  
                  
                    2
                    ⁢
                    
                      σ
                      2
                    
                  
                
              
              ⁢
              
                
              
              ⁢
              
                
                  ∑
                  
                    n
                    =
                    1
                  
                  N
                
                ⁢
                
                  
                    
                    
                      x
                      n
                    
                    
                  
                  2
                
              
            
          
          ⁢
          
            e
            
              
                2
                
                  2
                  ⁢
                  
                    σ
                    2
                  
                
              
              ⁢
              
                Re
                ⁡
                
                  (
                  
                    
                      ∑
                      
                        n
                        =
                        1
                      
                      N
                    
                    ⁢
                    
                      
                        y
                        n
                        *
                      
                      ⁢
                      
                        x
                        n
                      
                    
                  
                  )
                
              
            
          
        
      
    
    
      
        (
        29
        )
      
    
  




Let's assume that the average power of A is σf2 and taking the expectation with respect to complex random variable A results in P(y|x)=EA {P(y|x, A)}.





  
    
      
        
          P
          ⁡
          
            (
            
              y
              ❘
              x
            
            )
          
        
        =
        
          ∫
          
            ∫
            
              
                o
                .
                
                  e
                  
                    
                      
                        -
                        
                          
                            1
                            2
                          
                          ⁡
                          
                            [
                            
                              
                                
                                  
                                    
                                  
                                  ⁢
                                  
                                    
                                      ∑
                                      
                                        n
                                        =
                                        1
                                      
                                      N
                                    
                                    ⁢
                                    
                                      
                                        
                                        
                                          x
                                          n
                                        
                                        
                                      
                                      2
                                    
                                  
                                
                                
                                  σ
                                  2
                                
                              
                              +
                              
                                1
                                
                                  σ
                                  f
                                  2
                                
                              
                            
                            ]
                          
                        
                      
                      ⁢
                      
                        
                          
                          A
                          
                        
                        2
                      
                    
                    +
                    
                      
                        2
                        
                          σ
                          2
                        
                      
                      ⁢
                      
                        Re
                        ⁡
                        
                          (
                          
                            
                              ∑
                              
                                n
                                =
                                1
                              
                              N
                            
                            ⁢
                            
                              
                                y
                                n
                                *
                              
                              ⁢
                              
                                x
                                n
                              
                            
                          
                          )
                        
                      
                    
                  
                
              
              ⁢
              
                d
                A
              
            
          
        
      
    
    
      
        (
        30
        )
      
    
  




which can be integrated to:





  
    
      
        
          P
          ⁢
          
            (
            
              y
              ❘
              x
            
            )
          
        
        =
        
          
            c
            ′′
          
          ⁢
          
            1
            
              [
              
                
                  
                    
                      ∑
                      
                        n
                        =
                        1
                      
                      N
                    
                    ⁢
                    
                      
                        
                        
                          x
                          n
                        
                        
                      
                      2
                    
                  
                  
                    σ
                    2
                  
                
                +
                
                  1
                  
                    σ
                    f
                    2
                  
                
              
              ]
            
          
          ⁢
          
            e
            
              
                
                  1
                  2
                
                ⁢
                
                  
                    
                    
                      
                        1
                        
                          σ
                          2
                        
                      
                      ⁢
                      
                        
                          ∑
                          
                            n
                            =
                            1
                          
                          N
                        
                        ⁢
                        
                          
                            y
                            n
                            *
                          
                          ⁢
                          
                            x
                            n
                          
                        
                      
                    
                    
                  
                  2
                
              
              
                [
                
                  
                    
                      
                        ∑
                        
                          n
                          =
                          1
                        
                        N
                      
                      ⁢
                      
                        
                          
                          
                            x
                            n
                          
                          
                        
                        2
                      
                    
                    
                      σ
                      2
                    
                  
                  +
                  
                    1
                    
                      σ
                      f
                      2
                    
                  
                
                ]
              
            
          
        
      
    
    
      
        (
        31
        )
      
    
  




For obtaining the extrinsic information, from equation (31), the following equation applies





  
    
      
        
          
            P
            ⁡
            
              (
              
                
                  x
                  i
                
                =
                
                  x
                  ❘
                  y
                
              
              )
            
          
          
            P
            ⁡
            
              (
              
                
                  x
                  i
                
                =
                x
              
              )
            
          
        
        =
        
          
            c
            ′′
          
          ⁢
          
            
              ∑
              
                
                  x
                  :
                  
                    x
                    i
                  
                
                =
                x
              
            
            ⁢
            
              
            
            ⁢
            
              
                1
                
                  [
                  
                    
                      
                        
                          ∑
                          
                            n
                            =
                            1
                          
                          N
                        
                        ⁢
                        
                          
                            
                            
                              x
                              n
                            
                            
                          
                          2
                        
                      
                      
                        σ
                        2
                      
                    
                    +
                    
                      1
                      
                        σ
                        f
                        2
                      
                    
                  
                  ]
                
              
              ⁢
              
                e
                
                  
                    
                      1
                      2
                    
                    ⁢
                    
                      
                        
                        
                          
                            1
                            
                              σ
                              2
                            
                          
                          ⁢
                          
                            
                              ∑
                              
                                n
                                =
                                1
                              
                              N
                            
                            ⁢
                            
                              
                                y
                                n
                                *
                              
                              ⁢
                              
                                x
                                n
                              
                            
                          
                        
                        
                      
                      2
                    
                  
                  
                    [
                    
                      
                        
                          
                            ∑
                            
                              n
                              =
                              1
                            
                            N
                          
                          ⁢
                          
                            
                              
                              
                                x
                                n
                              
                              
                            
                            2
                          
                        
                        
                          σ
                          2
                        
                      
                      +
                      
                        1
                        
                          σ
                          f
                          2
                        
                      
                    
                    ]
                  
                
              
              ⁢
              
                
                  ∏
                  
                    l
                    ≠
                    i
                  
                
                ⁢
                
                  
                
                ⁢
                
                  P
                  ⁡
                  
                    (
                    
                      x
                      l
                    
                    )
                  
                
              
            
          
        
      
    
    
      
        (
        32
        )
      
    
  




which after some algebraic manipulation can be simplified to:





  
    
      
        
          
            Π
            i
          
          ⁡
          
            (
            
              
                x
                i
              
              ,
              0
            
            )
          
        
        =
        
          
            Max
            
              
                x
                :
                
                  x
                  i
                
              
              =
              x
            
          
          ⁢
          
            {
            
              
                -
                
                  ln
                  [
                  
                    
                      
                        
                          ∑
                          
                            n
                            =
                            1
                          
                          N
                        
                        ⁢
                        
                          
                            
                            
                              x
                              n
                            
                            
                          
                          2
                        
                      
                      
                        σ
                        2
                      
                    
                    +
                    
                      1
                      
                        σ
                        f
                        2
                      
                    
                  
                  ]
                
              
              +
              
                
                  1
                  2
                
                ⁢
                
                  
                    
                      1
                      2
                    
                    ⁢
                    
                      
                        
                        
                          
                            1
                            
                              σ
                              2
                            
                          
                          ⁢
                          
                            
                              ∑
                              
                                n
                                =
                                1
                              
                              N
                            
                            ⁢
                            
                              
                                y
                                n
                                *
                              
                              ⁢
                              
                                x
                                n
                              
                            
                          
                        
                        
                      
                      2
                    
                  
                  
                    [
                    
                      
                        
                          
                            ∑
                            
                              n
                              =
                              1
                            
                            N
                          
                          ⁢
                          
                            
                              
                              
                                x
                                n
                              
                              
                            
                            2
                          
                        
                        
                          σ
                          2
                        
                      
                      +
                      
                        1
                        
                          σ
                          f
                          2
                        
                      
                    
                    ]
                  
                
              
              +
              
                
                  ∑
                  
                    l
                    ≠
                    i
                  
                
                ⁢
                
                  
                
                ⁢
                
                  ln
                  ⁢
                  
                    
                  
                  ⁢
                  
                    P
                    ⁡
                    
                      (
                      
                        x
                        i
                      
                      )
                    
                  
                
              
            
            }
          
        
      
    
    
      
        (
        33
        )
      
    
  




It should be noted that Πl(xl, 0) is defined as ln p(xl)
Referring now to FIGS. 12a and 12b, and in particular FIG. 12b, the operation of an iterative cascaded SISO receiver, with non-coherent and coherent models as described earlier, may be as follows:
Received vector yk may be initially iterated in the non-coherent SISO receiver until the stopping rule for minimizing the sequence error probability is satisfied. The output of the non-coherent receiver for the estimated symbol sequence, timing, phase and channel response may then used for the initial estimate of these sequences in the subsequent coherent SISO receiver. The SISO decoder of 12-14 and 12-2 are essentially same decoders, except the SISO decoder 12-12 receives its input branch metrics from extrinsic information from the non-coherent SISO decoder 12-6.
Coherent SISO receiver system 12-10 is shown in FIG. 12a in which a received signal is applied to branch metric generator 12-12 which computes the branch metric mik in equation (18). These branch metrics are computed for each transition for each state of the trellis from one-to-the-other. The branch metrics are input to coherent SISO decoder 12-14. After a sufficient number of iterations (indicated by loop 12-16) in effect minimizing the sequence error probability in each iteration, the decoder slightly improves and reduces the error probability. The switch 12-18 may driven by a fixed or dynamic rule. Typically after five to ten iterations, the SISO decoder output can be sampled and hard quantized. An alternative approach would be to monitor the dynamic range of the extrinsic values and when the values reach steady state (no longer changing or arbitrarily small change), the SISO decoder may be stopped and the output may be hard limited in block 12-20 and decoded.
Referring now to FIG. 12b, cascaded non-coherent and coherent SISO receiver system 12-22 is depicted in which the received signal is used by the branch metric generator 12-8 to output the metric values to the non-coherent SISO decoder 12-6. The difference between 12-2 and 12-8 is that the branch metric values for the non-coherent case are computed by considering the distribution of phase to be random, where in the coherent case the phase is assumed to be known. After a sufficient number of iterations (as shown by loop 12-24), the output of the non-coherent SISO decoder 12-6 is sampled by sample switch 12-26 and applied to coherent SISO decoder 12-12. After a sufficient number of iterations (as shown by sample loop 12-28), the output is applied by sample switch 12-30 to hard limiter 12-4 and then provided to the data user which in RFID application is the protocol layer-2 embedded in the reader system. An option for the stopping rule to close the switches 12-26, 12-28 and 12-30 is to monitor the rate of growth of the accumulated forward and backward metrics in equation (14) in each SISO decoder, and then stop the iteration when the difference between successive iterations is arbitrarily small for all the states in the Trellis.
Referring now to FIG. 13a, an implementation of RFID system 13-10 is shown in which plurality of inventory items, such as items 13-7, each of which may include a passive RFID tags 13-6. The reader/interrogator 13-1 emanates a signal to RFID tags 13-6 to respond with their respective identification code referred to as “electronic product codes” (EPC). The RFID tags 13-6 subsequently respond to signals generated by reader 13-1 by backscattering the received signal with their respective EPCs. The signal may be corrupted by multipath 13-4 from the flooring the walls and moving and fixed obstacles 13-8.
Referring now to FIG. 13b, reader/interrogator 13-1 includes transmitter-antenna subsystem 13-24 which is modulated by data from data source system 13-36 applied to modulation encoder 13-15 and transmits encoded RF signals to RFID tags 13-7. Alternatively, outer coder 13-28, interleaver 13-48 and/or single parity coder 13-50 may be inserted between data source 13-36 and encoder 13-52 in appropriate implementations.
Reader interrogator 13-1 also includes receiver 13-28 which receives reflected signals from RFID tags 7 and applies them to receiver system 13-30 for detection and decoding. The output of receiver system 13-30 provides data to a system user. Various obstacles, including sources of interference and multi-path reflection such as stationary and moving objects 13-8 may be in the path of the transmitted and/or received signals.
System 13-10 may, for example, be deployed in a department store in which items in cases of items with RFID tags 13-6 are displayed for sale. Moving and stationary objects 13-8 may represent shoppers and store personnel moving during the day across the transmission and reception paths as well as relatively stationary objects such as one or more potential reflectors, e.g., including advertising displays or other racks of may be moved or changed on a less frequent basis. System 13-10 may be deployed in order to keep track of inventory items, for example, to detect and prevent attempted shoplifting and/or for other reasons related to inventory control by providing data from reader interrogator 13-1 to a user.
Data source system 13-12 includes data source 13-36 which provides a command or an EPC to the RFID tag 13-7. Channel coding techniques may be used to improve the overall system performance. In the event channel coding is employed, the electronic product code stored in RFID tag 7 is used as the input. The data source may embed the Electronic Product Code (EPC) in pre-coded format by using outer coder 13-38, interleaver 13-48 and single parity coder 13-50 at the time that the stored data is written into the RFID tag. In that event, the model of data source 13-36 simplifies to a table look-up for EPC which, in the case of passive RFID tags, is backscattered (or transmitted) to the interrogator or the RFID reader. It is also noted that it is possible to compress the EPC code in the interrogator prior to application of channel coding, using simple hashing method to decrease the length of the information sequence. Thus, the additional storage in the RFID tag is used to store the resulting parity bits. For example, for a 32-bit EPC code, the sequence can be hashed into a 16-bit code by the interrogator in which case the effective coding rate would be rate one-half, and the remaining 16-bit is used as a parity check sequence. The channel coding method may be used for protection against channel error. The code shown in FIG. 9 is a repetition code in which each data bit is repeated with a fixed number of multiplicity. The number of repetitions of each input bit is a design parameter which determines the overall coding rate of the system. The interleaver 13-48 serves to permutate the encoded data from the outer code output 13-38, such that the Hamming distance of the input sequence is preserved and the output is applied to single parity coder 13-50 and described earlier in FIG. 9. The output of which is applied to modulation encoder 13-52. The modulator may use various modulation techniques and waveforms defined by various RFID tag or sensory standardization bodies. System 13-10 is applicable to any modulation technique or waveform. That is, modulation encoder 13-52 can be amplitude shift keying (ASK), on-off keying (OOK), frequency modulation (FM) and other modulation schemes without any loss of generality in applying the receiver subsystem in 13-30.
RFID tags 13-7 operate to backscatter or actively transmit the embedded information sequence to the reader or the interrogator to produce the signals received in equation (2). Stationary and moving obstacles 13-8 may cause interference between the signals reflected by one or more of the RFID tags 13-7. The signals received by receiver 13-30 may therefore include channel interference, multi-path reflections and other effects which make detection and discrimination between RFID tags 13-7 difficult with very low signal levels. Additional anomalies may also be present in the communication channel. In an in-door environment such as warehouses, factories and malls substantial scattering due multipath and man-made interference (e.g., drill noise, cordless phones) or natural interferences (e.g., ceiling lighting) may also be present. In an outdoor environment interference and multipath effects may also be present in addition to signal blockage due to foliage and weather effects due to humidity or rain. These channel anomalies and interferences may all be handled by receiver system 13-30.
Receiver system 13-30 serves to detect and discriminate between RFID tags 13-7 by taking advantage of SISO decoding proposed herein. It is assumed that latency in SISO decoding can be tolerated by the users of the system 13-10 or the processing time in system 13-10 is short for real or near real time detection of motion of individual RFID 13-7. That is, reader/interrogator 13-1 processes the signals received by receiver system 13-30 for a relatively long time and is able to distinguish between transmission channels from different RFID tags by learning the signal characteristics. Furthermore, in warehouse, factory and airport deployment scenarios the RFID tags may be moving at high velocity on conveyor belts or moving vehicles while being manipulated. Reader Interrogator 13-1 also compensates for effect of moving RFID tags on the characteristic of the received signal. That is the system 13-10 can tolerate a high level of Doppler shift and still achieve high performance in detection of signals from RFID tags.
Receiver system 13-30 also provides a frequency signal to receiver 13-28 to adjust the transmitted frequency. This frequency adjustment provides a mechanism to both track and adopt the frequency channel used to read and write information into the RFID tag and also support optional waveforms which employ frequency hopping techniques as defined by RFID Standardization Bodies (e.g., ISO, EPC Global).
Receiver system 13-30 processes the received signals in channel equalizer and interference canceller 13-54 which is realized by a bank of adaptive linear phase filter banks with the objective of maximizing the received signal power and minimizing the effect of interference by excision. That is, the frequency response of the filter bank is designed to eliminate narrow band interference while maximizing the signal-to-noise ratios received from the RFID tag. The output of channel equalizer and interference canceller 13-56 is applied to rotator 13-58 which appropriately adjust the phase of the incoming signal in real-time to track the phase of the incoming signal and compensate for the effect of motion, Doppler and phase noise due to imperfection in the environment.
The output of rotator 13-56 is applied to SISO processor 13-58, which includes SISO decoder 13-60, and which serves to input into the soft metric calculator which calculates the intrinsic metric values associated with each transition from one state of trellis structure to the other state (or Bi-partite graph). The output of SISO processor 13-58 is applied to phase, channel and frequency estimator 13-62 which serves to provide an instantaneous phase and frequency estimate of the received signal based on the output of the SISO decoder.
One output of phase, channel and frequency estimator 13-62 is applied to rotator 13-56 and provides the reference for phase compensation of the received signal which may have been caused by motion or other anomalies. A second output of phase, channel and frequency estimator 13-62 is applied to channel equalizer and interference canceller 13-54 and provides the adaptation algorithm with the phase and frequency of variables used to compute the channel equalizer and interference canceller coefficients of the Finite Impulse Response Filter.
The output of user system 13-34 is formed by summing the extrinsic and intrinsic information and then hard quantizing the resulting sum. This value constitutes the detected bit stream from the RFID tag. SISO decoder 13-60 in SISO processor 13-58 also includes soft metrics calculator 13-66, de-interleaver 13-64 and interleaver 13-67 when channel coding as discussed earlier is employed.
In operation of system 13-30, both fine and coarse motion of items 13-6 having RFID tags 13-6 can be accurately detected and observed because the SISO decoder in 13-60 simultaneously estimates the channel response, symbol timing and effectively performs open loop phase tracking.
Referring now to FIGS. 14a and 14b, the FM0 and Miller codes can also be used in passive RFID applications. In FM0 encoder 1410, user data 14-22 is provided to x-or gate 14-18 the output of which is provided to bit mapper 14-16 as well as to simple delay circuit 14-23. The output of delay 14-23 may be provided as a second input to x-or gate 14-18 as well as to inverter 14-20, the output of which is applied to bit mapper 14-14. The two sequences from bit mappers 14-14 and 14-16 are respectively multiplexed into a single stream in multiplexer 14-12 and each repeated once in repeater 14-21 to provide output data 14-24 which is the FM0 encoded data for use by the modulator. FM0 encoder 1410 may be used as a data source, such as data source 2-2 in FIG. 2 or data source 2-20 in FIG. 2b. 
In Miller encoder 14-60, delay taps 14-44 and 14-36 are used. The combinatorial logic consists of three inverters 14-46, 14-50, 14-52, two or-gates 14-32 and 14-34, and three and-gates 14-42, 14-36 and 14-38. The output sequence of the combinatorial and delay logic is fed into the signal mapping blocks 14-56 and 14-58 which is multiplexed in 14-30 and repeated in 14-57 to form the output data 14-48 for Miller encoded data for use by the modulators.
Referring now to FIG. 15a, the technique for the coherent detection of FM0 or Miller encoded signal is depicted. The system consists of using the channel data 15-28 and integrating the signal over each symbol period during each half a symbol interval in integrate and dump 15-34 and de-multiplexing the real and imaginary part in demux 15-36 and forming the cross product in step 15-38, taking the real part in block 15-42, hard quantizing the output in quantizer 15-44 and mapping the data into ones and zeros from −1/+1 in data block 15-46. This is the coherent case.
Referring now to FIG. 15b, a similar operation is performed in non-coherent case in blocks 15-30, 15-32, 15-60, 15-62, 15-64 and 15-52 except only the real part of the signal is used to form the cross product. The output of the non-coherent detector 15-66 and coherent detector is 15-48. Ns denotes the number of sample per symbol, i.e., Ns=Tsym/Ts that is the ratio of the symbol time to sampling period.
Referring now to FIG. 15c, a block diagram of a multiple symbol detector is shown for the non-coherent detection case. Channel data 15-80 is applied to integrate and dump 15-80 and the real part is determined by block 15-76 and demultiplexed in demux 15-74. The output is applied to non-coherent multiple symbol detector 15-70 to provide output 15-72.
Referring now to FIG. 16, multiple symbol non-coherent detector (MSNNonCoh) for FM0 is disclosed. In this example, the non-coherent detection is done over a particular sequence of half symbol observations which starts from middle of data interval rather than beginning of data interval. In passive RFID systems, the presence of CW translates into having a DC component. The received signal with FM0 encoding at time i in presence of DC component is:

y1,i=(x1,i+c)ejφ+n1,i 

y2,i=(x2,i+c)ejφ+n2,j 

i=k−N+2, . . . ,k+1  (33)

where c is a dc component, φ is carrier phase offset (or phase noise). Without loss of generality, it can be assumed that the phase error is constant over duration of a symbol and n1,i and n2,i, zero mean complex Gaussian samples with variance •2 per dimension. First the dc value c at the receiver can be estimated as:





  
    
      
        
          c
          ^
        
        =
        
          
            1
            N
          
          ⁢
          
            (
            
              
                ∑
                
                  i
                  =
                  
                    k
                    -
                    N
                    +
                    2
                  
                
                
                  k
                  +
                  1
                
              
              ⁢
              
                
              
              ⁢
              
                (
                
                  
                    y
                    
                      2
                      ,
                      
                        i
                        -
                        1
                      
                    
                  
                  +
                  
                    y
                    
                      1
                      ,
                      i
                    
                  
                
                )
              
            
            )
          
        
      
    
    
      
        (
        34
        )
      
    
  




The new observation can be defined as

r1,i=y1,i−ĉ

r2,j=y2,j−ĉ  (35)

Next the Maximum Likelihood (ML) probability of the modified observation can be computed. The particular observations are:

r2,k-N+1,r1,k-N+2,r2,k-N+2,r1,k-N+3, . . . r2,k,r1,k+1 

The conditional probability function can be formulated as:





  
    
      
        
          P
          ⁡
          
            (
            
              
                r
                ❘
                x
              
              ,
              φ
            
            )
          
        
        =
        
          constant
          ⁢
          
            
          
          ⁢
          
            e
            
              
                1
                
                  2
                  ⁢
                  
                    
                  
                  ⁢
                  
                    σ
                    2
                  
                
              
              ⁢
              
                ∑
                
                  i
                  =
                  
                    k
                    -
                    N
                    +
                    2
                  
                
                
                  k
                  +
                  1
                
              
            
          
          ⁢
          
            {
            
              
                
                  
                  
                    
                      r
                      
                        2
                        ,
                        
                          i
                          -
                          1
                        
                      
                    
                    -
                    
                      
                        x
                        
                          2
                          ,
                          
                            i
                            -
                            1
                          
                        
                      
                      ⁢
                      
                        e
                        
                          j
                          ⁢
                          
                            
                          
                          ⁢
                          φ
                        
                      
                    
                  
                  
                
                2
              
              +
              
                
                  
                  
                    
                      r
                      
                        1
                        ,
                        i
                      
                    
                    -
                    
                      
                        x
                        
                          1
                          ,
                          i
                        
                      
                      ⁢
                      
                        e
                        
                          j
                          ⁢
                          
                            
                          
                          ⁢
                          φ
                        
                      
                    
                  
                  
                
                2
              
            
            }
          
        
      
    
    
      
        (
        36
        )
      
    
  




Averaging (36) over the carrier phase, the ML function can be approximated with





  
    
      
        
          P
          ⁡
          
            (
            
              r
              ❘
              x
            
            )
          
        
        ≈
        
          
            I
            o
          
          ⁡
          
            (
            
              
                1
                
                  2
                  ⁢
                  
                    o
                    2
                  
                
              
              ⁢
              
                
                
                  
                    ∑
                    
                      i
                      =
                      
                        k
                        -
                        N
                        +
                        2
                      
                    
                    
                      k
                      +
                      1
                    
                  
                  ⁢
                  
                    {
                    
                      
                        
                          r
                          
                            2
                            ,
                            
                              i
                              -
                              1
                            
                          
                        
                        ⁢
                        
                          x
                          
                            2
                            ,
                            
                              i
                              -
                              1
                            
                          
                        
                      
                      +
                      
                        
                          r
                          
                            1
                            ,
                            i
                          
                        
                        ⁢
                        
                          x
                          
                            1
                            ,
                            i
                          
                        
                      
                    
                    }
                  
                
                
              
            
            )
          
        
      
    
    
      
        (
        37
        )
      
    
  




Since the zero order modified Bessel function is a monotonic function, thus the required metric for the decision is:





  
    
      
        Metric
        =
        
          
          
            
              ∑
              
                i
                =
                
                  k
                  -
                  N
                  +
                  2
                
              
              
                k
                +
                1
              
            
            ⁢
            
              (
              
                
                  
                    r
                    
                      2
                      ,
                      
                        i
                        -
                        1
                      
                    
                  
                  ⁢
                  
                    x
                    
                      2
                      ,
                      
                        i
                        -
                        1
                      
                    
                  
                
                +
                
                  
                    r
                    
                      1
                      ,
                      i
                    
                  
                  ⁢
                  
                    x
                    
                      1
                      ,
                      i
                    
                  
                
              
              )
            
          
          
        
      
    
    
      
        (
        38
        )
      
    
  




The key property of FM0 encoder output 14-24 for RFID application is

x2,i=dix2,i-1 

x1,i=−x2,i-1  (39)

Replacing (39) in (38) one gets:





  
    
      
        
          
        
        ⁢
        
          Metric
          =
          
            
              
              
                
                  ∑
                  
                    i
                    =
                    
                      k
                      -
                      N
                      +
                      2
                    
                  
                  
                    k
                    +
                    1
                  
                
                ⁢
                
                  
                    (
                    
                      
                        r
                        
                          2
                          ,
                          
                            i
                            -
                            1
                          
                        
                      
                      -
                      
                        r
                        
                          1
                          ,
                          i
                        
                      
                    
                    )
                  
                  ⁢
                  
                    x
                    
                      2
                      ,
                      
                        i
                        -
                        1
                      
                    
                  
                
              
              
            
            ⁢
            
              
            
            ⁢
            or
          
        
      
    
    
      
        (
        40
        )
      
    
  
  
    
      
        
          (
          
            
              
                d
                ^
              
              k
            
            ,
            
              
                d
                ^
              
              
                k
                -
                1
              
            
            ,
            ⋯
            ⁢
            
              
            
            ,
            
              
                d
                ^
              
              
                k
                -
                N
              
            
          
          )
        
        =
        
          arg
          ⁢
          
            
          
          ⁢
          
            
              max
              
                
                  d
                  k
                
                ,
                
                  d
                  
                    k
                    -
                    1
                  
                
                ,
                ⋯
                ⁢
                
                  
                
                ,
                
                  d
                  
                    k
                    -
                    N
                    +
                    2
                  
                
              
            
            ⁢
            
              
              
                
                  (
                  
                    
                      r
                      
                        2
                        ,
                        
                          k
                          -
                          N
                          +
                          1
                        
                      
                    
                    -
                    
                      r
                      
                        1
                        ,
                        
                          k
                          -
                          N
                          +
                          2
                        
                      
                    
                  
                  )
                
                +
                
                  
                    ∑
                    
                      i
                      =
                      
                        k
                        -
                        N
                        +
                        3
                      
                    
                    
                      k
                      +
                      1
                    
                  
                  ⁢
                  
                    
                      (
                      
                        
                          r
                          
                            2
                            ,
                            
                              i
                              -
                              1
                            
                          
                        
                        -
                        
                          r
                          
                            1
                            ,
                            i
                          
                        
                      
                      )
                    
                    ⁢
                    
                      
                        ∏
                        
                          j
                          =
                          
                            k
                            -
                            N
                            +
                            2
                          
                        
                        
                          i
                          -
                          1
                        
                      
                      ⁢
                      
                        
                      
                      ⁢
                      
                        d
                        j
                      
                    
                  
                
              
              
            
          
        
      
    
    
      
        (
        
          40
          ⁢
          a
        
        )
      
    
  




By expanding the sum for the case of N=3, the optimum decision rule for multiple symbol non coherent detection rule becomes:




  
    
      
        
          (
          
            
              d
              k
            
            ,
            
              d
              
                k
                -
                1
              
            
          
          )
        
        =
        
          arg
          ⁢
          
            
          
          ⁢
          
            
              max
              
                
                  d
                  k
                
                ,
                
                  d
                  
                    k
                    -
                    1
                  
                
              
            
            ⁢
            
              
              
                
                  
                    (
                    
                      
                        r
                        
                          2
                          ,
                          
                            k
                            -
                            2
                          
                        
                      
                      -
                      
                        r
                        
                          1
                          ,
                          
                            k
                            -
                            1
                          
                        
                      
                    
                    )
                  
                  ⁢
                  
                    d
                    
                      k
                      -
                      1
                    
                  
                
                +
                
                  (
                  
                    
                      r
                      
                        2
                        ,
                        
                          k
                          -
                          1
                        
                      
                    
                    -
                    
                      r
                      
                        1
                        ,
                        k
                      
                    
                  
                  )
                
                +
                
                  
                    (
                    
                      
                        r
                        
                          2
                          ,
                          k
                        
                      
                      -
                      
                        r
                        
                          1
                          ,
                          
                            k
                            +
                            1
                          
                        
                      
                    
                    )
                  
                  ⁢
                  
                    d
                    k
                  
                
              
              
            
          
        
      
    
    
      
        (
        41
        )
      
    
  




In step 15-70, equation (41) is realized and the maximization implemented over all possible data symbols dkε{+1, −1}. Note that this metric is independent of dc offset and can be used even without using (39).
Referring now to FIG. 16, the Trellis diagrams from the encoder structure of FIG. 14 is shown in trellis 16-2 for FM0 and in trellis 16-4 for Miller code. These Trellis diagrams are used for the SISO decoder for application of passive RFID tag standards which employ these encoding techniques. In the presence of random phase and timing, the Trellis diagram may be too large and impractical to be illustrated graphically. That is due to the large number of states and transitions (e.g., 2000 states and 20 transitions per state) which depends on the choice of the cardinality of the sets in equations (10) and (12).
Referring now to FIG. 17, the performance of detectors in FIGS. 15a, 15b and 15c are compared. The theoretical performance of coherent and non-coherent detector over AWGN are also depicted with solid lines and the performance of multiple symbol non-coherent MSNC is simulated and shown by small triangles. It is noted that the performance of the symbol non-coherent detector outperforms the classical non-coherent detector by a factor of 3.5 dB.
In SISO decoder 4-2 a long sequence, typically a packet or a frame, is processed at a time. Hence, the performance is still even superior to that of symbol non-coherent detection in which the Maximum Likelihood detector is considering only three symbols. In applications for system 13-10 are for RFID tag standards in which the tag protocol is amenable to longer latency which results from the SISO decoding. Typical applications of multiple symbol non-coherent detector 15-70 are when the RFID standard requires very strict timing requirements between the tag-to-reader and reader-to-tag packet inter-arrival time. These tight timings requirements typically occur when acknowledgement or replies are required from the reader to the RFID tag or vice versa. In certain circumstances and for certain RFID tag standards, it is also possible to employ both systems 13-10 and 15-70 so that for certain packets types which the system 15-70 is used and system 13-10 may be used for other timing critical packets. Specifically, when detecting the product code itself from the received packet, SISO decoding in 13-10 may be used, but for other packet types which are short replies and handshake, system 15-70 may be used.
Referring now to FIGS. 18 and 19, a typical problem for many digital communication systems is that the baud rate is fixed, i.e., the transmitted pulse duration is fixed. In sensor networks and RFID systems in particular, the transmitted pulses from the tag can change in duration from symbol to symbol. Thus at the reader's receiver, the duration of pulses or the instantaneous time varying baud rate should be tracked. In order to track timing for such applications, a timing trellis may be used.
Assume that the time axis is sampled at time instants iTs, where 1/Ts represent the sampling rate. The sampling points at the output of matched filter are depicted by bullets “•” on the time axis in FIG. 19-10. There may be N samples per nominal baud interval. Thus the nominal symbol duration would be T+=NTs, where T is the nominal symbol duration. Assume the symbol duration from symbol to symbol can increase (as a result for example of changing channel characteristics) by one sample to T−=(N+1)Ts with probability p, or no change T=NTs with probability (1−2p), or can decrease by one sample to T=(N−1)Ts with probability p.
Each interval has N tick marks that denote possible positions (in multiples of Ts), where a sample can be taken at the output of the matched filter. From FIG. 19, some intervals have one tick mark as depicted in 19-2, 19-3 and 19-4, some intervals have two tick marks, while some intervals have no tick marks as shown in 19-12. Denote the timing state as Sk which its value corresponds to a tick mark. The state is associated with a time interval ((k−1)T, kT], and can take one of the values in the following set: Sk=s0, s1, . . . , sN, sN+1. State s0 denotes that the kth symbol interval ((k−1)T, kT] is not sampled at all. For example, in FIG. 19, the interval corresponding to Sk=s2 shown in 19-13 is sampled at the second tick from the start of the interval State Sk=si, for 1≦i≦N denotes that the kth symbol interval ((k−1)T, kT is sampled only once at the i-th tick.
Referring now also to FIG. 18, state Sk=sN−1 (for N=8 in FIG. 19) denotes that the kth symbol interval ((k−1)T, kT] is sampled twice. The only way an interval can be sampled twice is if it is sampled at the first and Nth ticks, since we only allowed maximum of one sample variation from symbol to symbol. The constraints prevent any other way of two samples falling in the same interval. There are some restrictions on how the sampling-states Sk can evolve. To represent all valid sampling-state transitions, we form a timing trellis, depicted in FIG. 18. To a branch in the timing trellis, we associate a transition probability Pr(Sk|Sk−1). The transition probabilities can be computed based on parameter p. A key feature of the timing trellis in FIG. 18 is that the branches in the trellis carry a variable number of samples. We will denote the vector of samples taken in the timing interval ((k−1)T, kT] by r k. Note that r k could be an empty vector if no sample is taken in the kth symbol interval.
The timing trellis has N+2 states. The present state Sk−1 i.e., S0 through S9 (18-12) and next states Sk i.e., states S0 (18-14) through (18-16) are shown in FIG. 18. Let's assume N=8 for clarification and rectangular NRZ pulses. For symbols with nominal duration of 8 samples, the matched filter sums the recent 8 samples. To transition from state S0 to state 1, the matched filter sums nine recent samples and produces observation rk. To transition from state S0 to state 9, the matched filter sums nine recent samples and produces observation rk, and the next seven samples to produce observation rk+1 corresponding to data ak and ak+1 respectively. Each state also should store the most recent index of observation sample. The branch metric per edge of trellis requires variable number of samples. Denote the index of observation sample to state Sk−1 at time k−1 by qi, then the number of samples required to compute the edge branch metric are qi+N(si, sj) samples. Where N(si, sj) represent the number of samples required to compute the branch metric from present state Sk−1=Si to next state Sk−1=sj, For N=8:

N(s0,s1)=9 N(s0,s9)=9+7 N(s1,s1)=8 N(s1,s2)=9 N(s1,s9)=8+7

N(s2,s1)=7 N(s2,s2)=8 N(s2,s3)=9 N(s2,s9)=7+7 N(s2+i,s2+i−1)=7 for i=1,2,3,4,5

N(s2+i,s2+i)=8 for i=1,2,3,4,5 N(s2+i,s2+i+1)=9 for i=1,2,3,4,5 N(s8,s0)=no samples

N(s8,s7)=7 N(s8,s8)=8 N(s9,s0)=no samples N(s9,s7)=7 N(s9,s8)=8

Referring now to FIG. 20, a folded timing trellis is similar to the method shown in FIGS. 18 and 19, except the number states are less and number of transitions per state is fixed number for all timing states. The time axis may be sampled at time instants iTs, where 1/Ts represent the sampling rate. The sampling points at the output of matched filter (end of actual symbol time duration) are depicted by bullets “•” on the time axis in FIG. 19-10. Assume there are N samples per nominal baud interval. Thus the nominal symbol duration is T+=NTs, where T is the nominal symbol duration. Assume the symbol duration from symbol to symbol can increase by one sample to T−(N+1)Ts with probability p, or no change T=NTs with probability (1−2p), or can decrease by one sample to T=(N−1)Ts with probability p.
Each interval has N tick marks that denote possible positions (in multiples of Ts), where a sample can be taken at the output of the matched filter. The state is associated with a time interval ((k−1)T, kT], and can take one of the values in the following set: Sk=s1, . . . , sN. State Sk=si, for 1≦i≦N denotes that the kth symbol interval ((k−1)T, kT] is sampled at the i-th tick from the beginning of the interval. There are some restrictions on how the sampling-states Sk can evolve. To represent all valid sampling-state transitions, a timing trellis may be formed as depicted in FIG. 20.
To a branch in the timing trellis, a probability Pr(Sk|Sk−1) can be assigned to a transition. The transition probabilities can be computed based on parameter p. A key feature of the timing trellis in FIG. 20 is that the branches in the trellis carry a variable number of samples. The vector of samples taken in the timing interval ((k−1)T, kT] can be denoted by r k.
The timing trellis has N states. Let's assume N=8 for clarification. The present states Sk−1 i.e., S1 (20-10) through S8 (20-12) and next states Sk i.e., states S1 (20-14) through (20-16) are shown in FIG. 20. Also assume rectangular pulses. For symbols with nominal duration of 8 samples, the matched filter sums the recent 8 samples if there is a transition from present state Si to the next state Si for i=1, 2, . . . , N (for the example in FIG. 20, N=8). For symbols with nominal duration of 8 samples, the matched filter sums the recent 9 samples if there is a transition from present state Si to the next state Si+1 for i=2, 3, . . . , N, and S1 to S8 (for the example in FIG. 20, N=8). For symbols with nominal duration of 8 samples, the matched filter sums the recent 7 samples if there is a transition from present state Si to the next state Si−1 for i=1, 2, . . . , N−1, and from present state SN to S1 (for the example in FIG. 20, N=8). Each state also should store the most recent index of observation sample to compute the branch metric for the next trellis section. Thus, the branch metric per edge of trellis requires variable number of samples. Denote the index of observation sample to state Sk−1 at time k−1 by qi, then the number of samples required to compute the edge branch metric are qi+N(si, sj) samples. Where N(si, sj) represent the number of samples required to compute the branch metric from present state Sk−1=Si to next state Sk−1=sj, For N=8:

N(s1,s2)=7 N(s1,s1)=8 N(s1,s8)=9

N(si,si−1)=7 for i=1,2,3,4,5,6,7

N(si,si)=8 for i=1,2,3,4,5,6,7,8

N(si,si+1)=9 for i=2,3,4,5,6,7,8

N(s8,s1)=7 N(s8,s8)=8 N(s8,s7)=9

Referring now to FIGS. 21 and 22, the symbol timing tree structure is based on a nominal value of N samples per symbol. This means that the granularity of the timing captured will be 1/N×Fs where Fs is the sampling frequency. The rates may be discussed in the 1/Fs domain, meaning that rates will be expressed in percentage of the sample rate, and time in samples. To build a structure that can be integrated into the trellis form, an estimate of the first symbol time must be provided that is accurate to one symbol period (±N/2). If the first symbol time cannot be estimated to this accuracy, a separate synchronization sequence may be required. States are labeled SM,i for the ith state in the Mth stage. In the general case, there may be N starting states, labeled from S0, 0 to S0,N−1. Each state SM,t has 2×Δmax+1 (where Δmax represents the maximum number of samples from symbol duration can exceed from nominal symbol duration) transitions leading to consecutive states starting at SM+1,t−Δmax and ending at SM+1,t+Δmax. To further refine the structure, an a-priori estimate of the maximum timing error (expressed in samples per symbol) of R can be used. If N is nominal number of samples per symbol, then R=rN where r is percentage of timing error. The definition of R becomes Δmax=┌R┐ which is an integer. This limits the states at any given trellis stage M to states starting at SM, 0−└R×M┘ up to SM,N-1+└R×M┘ where ┌x┐ is the ceiling of x (the next higher integer), and └x┘ is the floor of x (the next lower integer). This means that at any stage M the state SM,t corresponds to a symbol that starts at sample time M×N+t. An example of this structure for Δmax=1 and N=4 is shown in FIG. 22.
Referring now to FIG. 23, a second, derived structure involves using the same tree, but windowing it to limit the number of states is shown as the windowed structure in FIG. 23. For the windowed structure, an additional parameter W may be defined as the size of the window into the tree. In this way, only W states at any trellis stage M are kept where the first state index is defined as BM (the base state). In order to find BM at time M+1 the window position may be chosen based on the probability of the states SM,BM through SM,BM+Δmax−1 compared to SM,BM+W-1 down to SM,BM+W-Δmax. 
The result may be called a ‘folded’ structure (also simply the ‘trellis’ structure). In this structure there are precisely N states at each stage M. In order to accomplish this, the tree structure may be folded such that state SM,t is mapped into state ZM,t % N, where % denotes the modulo operator into positive integers (i.e., (−1)% N=N−1). In order to maintain timing in this structure, each state ZM,t has a mapping value tm that the index of the maximum probability state SM,k that maps into ZM,t. At each stage, tm, to transitions from the state are determined.
In all of these timing structures, this trellis may be combined with the data trellis and phase trellis to get a combined set of states SM,t,φ,D. Each transition out of this state has a triplet of values (Δt, Δφ, b) where Δt is the timing change and it takes integer values between −Δmax and Δmax, i.e., −Δmax, Δmax+1, . . . −1, 0, 1, Δmax−1, Δmax, Δφ is the phase change, and b is the data bit. In the case of any binary waveforms (e.g., FM0 and Miller), the data metric for this state and transition is




  Re
  ⁢
  
    {
    
      
        
          e
          
            -
            
              j
              ⁡
              
                (
                
                  φ
                  +
                  
                    Δ
                    ⁢
                    
                      
                    
                    ⁢
                    φ
                  
                
                )
              
            
          
        
        ⁢
        
          
            ∑
            
              i
              =
              0
            
            
              N
              -
              1
              +
              
                Δ
                ⁢
                
                  
                
                ⁢
                t
              
            
          
          ⁢
          
            
          
          ⁢
          CD
        
      
      ,
      b
      ,
      
        i
        ×
        
          r
          ⁡
          
            (
            
              
                M
                ×
                N
              
              +
              t
            
            )
          
        
      
    
    }
  




where CD,b,i=dD,b,k+1×(1−off)+dD,b,k+1×off and dD,b,k is an ideal symbol at the nominal sample rate, where




  
    k
    =
    
      
        ⌊
        
          i
          ×
          
            
              N
              +
              
                Δ
                ⁢
                
                  
                
                ⁢
                t
              
            
            N
          
        
        ⌋
      
      ⁢
      
        
      
      ⁢
      and
    
  




  
    off
    =
    
      
        (
        
          i
          ×
          
            
              N
              +
              
                Δ
                ⁢
                
                  
                
                ⁢
                t
              
            
            N
          
        
        )
      
      -
      
        k
        .
      
    
  



Note that for the ‘folded’ version, tm is used in place of t.

In order to capture the timing information with symbol timing that can drift over time, another natural structure of the timing state diagram is a tree structure such as shown in 21-2 where the root node is extended. Assume the nominal timing is N samples per symbol. This means that the granularity of the timing captured from the tree structure will be 1/N. In order to improve the performance of the trellis, this can be limited to an arbitrary rate R. To do this, the states that would fall outside the bounds of the expected drift are eliminated. If the states are numbered for the first stage of the trellis as S0 to SN−1 for the first stage, the second stage would be numbered S0-Δmax to SN+Δmax, and for stage M they would be S0-M×Δmax to SN+M×Δmax. For this Mth stage the states S0-M×Δmax, up to but not including S0-┌R×M┐ would be elided and also states above SN−1+┌R×M┐. Each state in this structure has a Ts associated with it that is M×N+i for state Si at time M.
In order to reduce the complexity of the structure, either a ‘folded’ tree or a ‘windowed’ tree can be used. The ‘folded’ tree is a tree where node Si is mapped to S(i+N) % N and the Ts associated with the node is the Ts associated with the maximum state value between the mapped states. This means that the transitions become symmetric as in a true trellis, but the transitions carry both a metric and a time with them. In a ‘windowed’ tree structure, an arbitrarily sized window of states is maintained. This window is selected by comparing the probabilities of the edge states. In the case of a windowed tree, one only needs to keep track of Ts for the first state in the window (all other states will be offset linearly from that state). This provides an advantage of smaller storage and simpler implementation.
Combined Metrics for Data and Timing




  
    ∑
    
      i
      =
      1
    
    
      N
      +
      
        Δ
        ⁢
        
          
        
        ⁢
        t
      
    
  
  ⁢
  
    
      
        d
        
          i
          ⁢
          
            
          
          ⁢
          n
        
      
      ⁡
      
        (
        i
        )
      
    
    ×
    
      r
      ⁡
      
        (
        
          
            T
            s
          
          +
          i
        
        )
      
    
  




Where

    
    
        r(i) is the sample at time i
        d(i) is the ideal symbol sampled at the sample rate (for the data state and input data from the trellis)
        din(i) is the interpolated version of ideal symbol.
        Ts is the time stored in the state.
    
    





  
    p
    =
    
      ⌊
      
        i
        ×
        
          
            N
            +
            
              Δ
              ⁢
              
                
              
              ⁢
              t
            
          
          N
        
      
      ⌋
    
  




  
    off
    =
    
      
        (
        
          i
          ×
          
            
              N
              +
              
                Δ
                ⁢
                
                  
                
                ⁢
                t
              
            
            N
          
        
        )
      
      -
      p
    
  




  
    
      
        d
        
          i
          ⁢
          
            
          
          ⁢
          n
        
      
      ⁡
      
        (
        i
        )
      
    
    =
    
      
        
          d
          ⁡
          
            (
            p
            )
          
        
        ×
        
          (
          
            1
            -
            off
          
          )
        
      
      +
      
        
          d
          ⁡
          
            (
            
              p
              +
              1
            
            )
          
        
        ×
        off
      
    
  



An example for is given for the case of N=4, R=10%, M=4 in 22-2 and 22-4.

Referring now to FIG. 24, a SISO decoder can be viewed as consisting of four consecutive operations:

    
    
        1) data metric generation and phase rotation
        2) Branch metric generation and forward node update
        3) Backward pass node update
        4) Extrinsic generation and output
    
    


Basically, the decoder structure can be viewed as a trellis of nodes arranged in columns. Each column corresponds to one symbol of the data stream to be decoded. The nodes within the columns represent the possible combinations of the relevant parameters for the symbol; in particular, the timing, phase, and symbol states. Each contains a numerical value proportional to the computed probability of the parameters which it represents. For FM0, one can use 512 nodes per column corresponding to the combinations of the 16 possible (quantized) phase states, the 16 possible timing states, and the two possible symbol values (0 and 1). The decoder operates by estimating the probability of each node's combination of parameters using metrics derived from the input data. First, probabilities for the nodes within columns are updated in the forward time direction, and then in reverse working backwards through the trellis. When these updates have been completed, the highest computed probability values through the trellis are chosen for the decoded output.
The inputs to the SISO decoder trellis computation are the data metrics which are derived from the sampled input stream. These are complex numbers, derived from Si sample values containing both I and Q components. Although there are a total of twelve data metrics which must be computed for each discrete sample time, N, six of these are simply negatives of the others as selected by D, the current data symbol state. The metrics, MN(Δt, D, d), where Δt={−1, 0, +1} for timing change, D={0, 1} for current data state, and d={0, 1} for the next symbol value, may be computed from intermediate variables A, B, C, D, E, and F where:

A=ΣSi,(n≦i≦n+7)=sum of 8 samples starting at time n 

B=ΣSi,(n+8≦i≦n+15)=sum of 8 samples starting at time n+8

C=ΣSi,(n≦i≦n+6)=sum of 7 samples starting at time n 

D=ΣSi,(n+8≦i≦n+14)=sum of 7 samples starting at time n+8

E=ΣSi,(n≦i≦n+8)=sum of 9 samples starting at time n 

F=ΣSi,(n+9≦i≦n+16)=sum of 8 samples starting at time n+9

Referring now specifically to FIG. 24, the Intermediate Metric Variable Computation is shown. The FM0 data metrics MN(Δt, D, d), can then be derived from the intermediate variables as follows:

MN(0,0,0)=AN−BN=−MN(0,1,0)

MN(1,0,0)=AN−FN=−MN(1,1,0)

MN(−1,0,0)=CN−DN=−MN(1,1,0)

MN(0,0,1)=AN+BN=−MN(0,1,1)

MN(1,0,1)=EN+FN=−MN(1,1,1)

MN(−1,0,1)=AN+DN=−MN(−1,1,1)

Regarding phase rotation, the node update operation does not use the MN directly, but rather uses the real portion of the complex data metric vector as rotated by the interpolated phase, φ, for each trellis branch. The rotated data metric is expressed as RN(φ)=Re[MN*ejφ]. Since there are only sixteen evenly spaced discrete values for the node phase state, the interpolated branch phase can only take on 32 values and the product computation is greatly simplified. This is shown in the table below. Due to symmetry, 16 of the values are simply derived by negation of those calculated π radians away. This means that all 32 rotations can be computed using 14 multipliers and 14 adder/subtractors. By sequencing the 6 values for MN as input into the phase rotator block, all 32 rotations of all twelve metrics may be computed in real-time at the sample rate. The outputs are fed to the node processors for branch metric computation where they are added or subtracted as needed.
Regarding backwards pass data metric storage and sequencing, the rotated data metrics must also be fed to the node update mechanism for the backwards node update pass. This requires either storage of the values computed for the forward pass, or else regeneration from either the data or data metrics. In either case storage memory is necessary. Using a 256-bit packet for purposes of illustration, storage of the rotated data metrics would require: 16×6×16×256=393,216 (16-bit) words of storage. At the other extreme, storage of the interpolated input data stream would require only 2×16×256=8192 words of storage. While storing the interpolated data alone would save substantial memory, it requires that the metric generation shift-register (as shown above) be run in the reverse direction (from right-to-left), with the stored data fed to it reversed in time, in order to derive the data metrics for the backwards pass. The data resurrected data metric values must then be fed to the phase rotator as before. The RN(φ) outputs must, however, be resequenced for presentation to the node processors. Recall that for the data metrics, MN(Δt, D, d)=−MN(Δt,  ̃D, d). This allowed the nodes with D=1 during the forward update pass simply to be fed the negatives of the RN(φ)'s for their D=0 counterparts. During the backwards pass, however, we are indexing the node processors by d instead of D since our source nodes are now later in time. Consequently, the MN(Δt, D, d) are no longer the arithmetic complements for d=0 vs. d=1; and instead the proper RN(φ) must be stored, sequenced, and fed to the node processors.
Regarding branch metric generation and node updating, the branch metrics, BXY, where X is the originating node within symbol column C, and Y the destination node in column C+1, are calculated as

BXY=d*SC+RN(φ,Δt,D,d)+U(Δφ),+V(Δt)

Where

    
    
        d=the destination data state (i.e., input data bit value)
        SC=Soft input value for column C
        RN (φ, Δt, D, d)=Re[MN(Δt, D, d)*ejφ], the rotated data metric
        U(Δφ)=one value for Δφ=0, another for Δφ=+1, −1
        V(Δt)=one value for Δt=0, another for Δt=+1, −1
    
    


For FM0, there are 18 branches out of each source node, corresponding to the 3 values for Δφ, times the 3 values for Δt, times 2 values for d. Accordingly there are also 18 branches into each destination node. To update the probability score, QY, for a destination node, the QX from the source node is added to the branch metric for all input branches leading directly to node Y. The value for the branch with the greatest sum is then selected and stored for QY. The associated sample time value, TY, must also be stored, where TY=TX+16+Δt (or for reverse updates: TY=TX−16−Δt), and TX is the stored time value from the source node for the selected branch.










Table for Phase Rotation


Data Metric MN = x + jy


a = cos(π/8), b = sin(π/8)


c = sin(π/4) = cos(π/4)


d = cos(π/16), e = sin(π/16)


f = cos(3π/16), g = sin(3π/16)












ejφ




ejφ
Imaginary
Real Part of


Angle φ
Real Part
Part
Metric Product





0
1
0
x


 π/16
d
e
dx − by


 π/8
a
b
ax − by


 3π/16
f
g
fx − gy


 π/4
c
c
cx − cy


 5π/16
g
f
gx − fy


3π/8
b
a
bx − ay


 7π/16
e
d
ex − dy


 π/2
0
1
−y


 9π/16
−e
d
−ex − dy


5π/8
−b
a
−bx − ay


11π/16
−g
f
−gx − fy


3π/4
−c
c
−cx − cy


13π/16
−f
g
−fx − gy


7π/8
−a
b
−ax − by


15π/16
−d
e
−dx − gy


π
−1  
0
−x


17π/16
−d
−e
−dx + ey


9π/8
−a
−b
−ax + by


19π/16
−f
−g
−fx + gy


5π/4
−c
−c
−cx + cy


21π/16
−g
−f
−gx + fy


11π/8 
−b
−a
−bx + ay


23π/16
−e
−d
−ex + dy


3π/2
0
−1  
y


25π/16
e
−d
ex + dy


13π/8 
b
−a
bx + ay


27π/16
g
−f
gx + fy


7π/4
c
−c
cx + cy


29π/16
f
−g
fx + gy


15π/8 
a
−b
ax + by


31π/16
d
−e
dx + ey









Regarding the data-driven update mechanism, the 16 values output from phase rotation for the rotated data metrics, RN=Re[MN*ejφ] for D=0; φ=0, π/8, π/4, 3π/8, 3π/2, 13π/8, 7π/4, and 15π/8, and specified N, d, and Δt; are fed to the node update mechanism. Since the remaining phase angles can also be derived from these 16 simply by negating the corresponding value π radians away; and since the values of the RN for D=1 are also just the negatives of those for D=0; each set of the eight RN values is sufficient for metric generation for the three branches (Δφ=−1, 0, +1) from up to 32 source nodes (all nodes of the specified time state N) in the originating symbol column, C. These RN values may be labeled as negated for specified values of φ and D as RNφD For forward update, the RNφD are fed into 32 node processors. These processors compute the branch metrics BXY and sum them with the stored source node values, QX. The branch sums are passed to 16 branch selection units which compare six input branch values and select the largest for output. Each selection unit corresponds to a specific phase value, φY. The inputs are then the branches where φY=φX−(Δφ*π/8), including the branches for both d=0 and d=1. The outputs of these selection units then feed back to the two node processors of corresponding phase where they are used to update the stored QY value for the destination node. A minimum of ninety-six clocks are required to update each symbol column. For the reverse update direction, the rotated metrics are regenerated starting with the most recent symbol, and proceeding back to the first. The later column nodes (to the right in the trellis) are used for the source values, QX, and the earlier column to the left are now updated as the QY. 
Referring now to FIG. 25, the interconnection of node processors and branch select units are shown. For convenience, upwards arrows to Δφ=+1 for forward updates, −1 for backwards updates. Downwards arrows are for branches with πφ=−1/+1 for forward/backward updates. Horizontal arrows are for Δφ=0.
Referring now to a source node processor, the proposed implementation consists of 32 node processors, each assigned to a particular data state value (0 or 1), and phase state (0 to 15). One of the eight RN values, or its arithmetic complement, as appropriate, are fed into each node processor corresponding to its assigned data and phase state values. Each processor consists of a node memory, a comparator, and four adders. This structure is shown in the diagram below. The node memory stores two values for each node, the probability score Q, and the time code T. Each processor's node memory contains all trellis nodes for a specific data state, D, and for a specific phase state value, φ. It also contains the storage for the nodes in all trellis symbol columns, C, and for all sixteen time state values, N. For a 256 symbol decoder, 16×256=4096 node storage locations would be required. Local storage can be greatly reduced for large message sizes if paging to external memory is implemented.
The adders function to generate three branch metrics on each clock as the six RN's are fed in sequentially for each N. Therefore, a minimum of 96 clock cycles are required to update a symbol column. The adders serve to sum the various terms for the branch metric values BXY with the source node value, QX. The value d*SC, being global to all processors, is developed externally. The value for V(Δt) is also selected outside and summed with d*SC to be fed to the node processors as an input. Remaining inputs are the symbol column number C, which is concatenated with the timing sample state N to address a particular node within local storage; the rotated metric value RNφD, and the two values for U(Δφ).
Referring now to destination node processing, as the RNφD(d, Δt) are fed into the source node processors, sequentially stepping through the six combinations of d and Δt for each sample time N, the BXY+QX sums are output to the destination nodes for comparison and selection. Since d is fixed at each clock, there are only sixteen destination nodes for the 96 branches generated on each clock. This means there are six potential branches into each destination node at each clock which need to be compared and selected for the maximum. Along with the branch sum, the corresponding time value, TX, from the source node for the winning branch must also be selected and stored. Destination processing can be performed by a seven-input maximum selector. The seventh input is used to compare any previous maximum partial results from the three update cycles required to examine all eighteen of the branches into a destination node. The results of each of these sixteen selectors is shared as input to the two node memories sharing the same time state value, N, but one with D=0, and one with D=1. It should be noted that the destination node NY time-state value is not necessarily the same as the source NX value, but is rather equal to (NX+Δt) modulo 16.
Referring now to time divergence, a possible problem with the basic source node processing as shown in the diagram above lies in the way in which the trellis tracks timing. There are several timing variables of interest. T refers to absolute sample time as numbered sequentially from the first data sample. Each node in the trellis also has a fixed 4-bit timing state value, N, ranging from 0 to 15. This 4-bit value always corresponds to the LS 4-bits of the absolute sample time assigned to that particular node. That assigned T can, however, change within the symbol column depending upon TXY value for the branch selected during node update, where TXY=TX+Δt. This TXY value should therefore be stored in the node when it is updated. When generating the branch metric values, it may be necessary to compare the stored TX for the node with the sample time TNφD, as it is possible for the stored T assigned to a node with timing state N, to be different. This means that with the basic architecture of the diagram, multiple passes may be needed to present the rotated data metric for all node T values at a given N, φ, and D in order to generate all of the branch metrics. This is the reason for the equality comparator and the valid line shown in the diagram. In order to increase parallelism and reduce the number of clock passes required, it is highly desirable to present several possible rotated metrics in parallel to the node processor so that branches for varying T's, but with specified N, can be generated simultaneously. Source node processing architecture for multiple parallel T updates is shown below. Since total divergence is limited by the length of the data packet, and since the LS-4 bits are redundant, it is not necessary that all bits of TXY be stored and compared in the node processor. The additional RNφD can be made available by saving the 8 rotated metric values generated for each clock in delay storage of length 96 clocks for each additional RNφD(T) to be presented. This requires four 18K block RAM for every two additional values of T, if the RAM is operated at the same clock rate as the branch metric generator.
Referring now to FIG. 26, the extended parallel source node processing is shown.
Referring now to FIG. 27, the forward and backward processing is shown.















Data
Phase




φ
State
State
Forward RNd(φ)
Backward RNd(φ)



















0
0
0
RNX(0)
RN0(0)


0
1
0
−RNX(0)
RN1(0)


 π/8
0
1
RNX(π/8)
RN0(π/8)


 π/8
1
1
−RNX(π/8)
RN1(π/8)


 π/4
0
2
RNX(π/4)
RN0(π/4)


 π/4
1
2
−RNX(π/4)
RN1(π/4)


3π/8
0
3
RNX(3π/8)
RN0(3π/8)


3π/8
1
3
−RNX(3π/8)
RN1(3π/8)


 π/2
0
4
−RNX(3π/2)
−RN0(3π/2)


 π/2
1
4
RNX(3π/2)
−RN1(3π/2)


5π/8
0
5
−RNX(13π/8)
−RN0(13π/8)


5π/8
1
5
RNX(13π/8)
−RN1(13π/8)


3π/4
0
6
−RNX(7π/4)
−RN0(7π/4)


3π/4
1
6
RNX(7π/4)
−RN1(7π/4)


7π/8
0
7
−RNX(15π/8)
−RN0(15π/8)


7π/8
1
7
RNX(15π/8)
−RN1(15π/8)


π
0
8
−RNX(0)
−RN0(0)


π
1
8
RNX(0)
−RN1(0)


9π/8
0
9
−RNX(π/8)
−RN0(π/8)


9π/8
1
9
RNX(π/8)
−RN1(π/8)


5π/4
0
10
−RNX(π/4)
−RN0(π/4)


5π/4
1
10
RNX(π/4)
−RN1(π/4)


11π/8 
0
11
−RNX(3π/8)
−RN0(3π/8)


11π/8 
1
11
RNX(3π/8)
−RN1(3π/8)


3π/2
0
12
RNX(3π/2)
RN0(3π/2)


3π/2
1
12
−RNX(3π/2)
RN1(3π/2)


13π/8 
0
13
RNX(13π/8)
RN0(13π/8)


13π/8 
1
13
−RNX(13π/8)
RN1(13π/8)


7π/4
0
14
RNX(7π/4)
RN0(7π/4)


7π/4
1
14
−RNX(7π/4)
RN1(7π/4)


15π/8 
0
15
RNX(15π/8)
RN0(15π/8)


15π/8 
1
15
−RNX(15π/8)
RN1(15π/8)









Extrinsic generation may be performed as the nodes are updated in the reverse direction. A reliability measure is also computed. The extrinsic is computed as Max(αX+BXY+βY) over each column.
It is clear to a person having ordinary skill in this art that the techniques described above may be applied to a communication method or system for processing modulated signal with random data, and/or phase and/or unknown timing to estimate received data sequences or packetized data. The receiver may use iterative processing with soft-input-soft-output (SISO) components to combine channel decoding with equalization, demodulation, phase tracking, symbol timing, synchronization and interference cancellation as part or in whole. These techniques may be used for any wireless communication systems to model the observation space. These techniques may be used for sensory receiver system for detecting signals in presence of noise and channel distortion utilizing iterative method to detect the signal. A communication system may use these techniques for maximum likelihood sequence estimation which may include lattice, trellis or tree structures or products thereof for joint estimation of phase, timing, data and/or baud rate. Such techniques may also be used in signal detection systems utilizing iterative methods for optimal detection of the signal in the presence of white noise and channel distortion such as those employing in-door wireless channels, out-door wireless channels, both line-of-sight or non-line of sight communications, wire line channel such as copper and fiber wires, underground or underwater sonar, recording channels such as hard disk storage and both volatile and non-volatile memory and/or combinations of any of these channels.
The disclosed techniques are useful in the detection of packetized data with unknown data pulse duration, random phase and unknown data, any combination or thereof. They are useful in digital packet radio systems employing soft-input-soft-output (SISO) decoding methods with or without cascaded iterative decoder and with or without channel encoding/decoding. These techniques may be used in communication systems employing channel coding methods including algebraic block codes, convolution and turbo codes, low density parity check, repeat-accumulate codes, and product codes cascaded with SISO decoders exchanging extrinsic information to optimally decode the user data. Similarly, these techniques may be used in communication systems employing channel coding including coding which can be represented via planar graph such as bipartite, tree or trellis diagram whereby the posteriori probabilities (extrinsic information) of each state can be computed and iteratively improved. Such communication systems may employing belief propagation method to decode the received sequence and exchange extrinsic information with the soft-input-soft-output decoder. A communication system or packet radio timing synchronization may be provided for any modulation scheme such as multi-level phase, position, amplitude in quadrature and in-phase (one or both). Further, such systems may be embedded in portable or stationary devices, in hubs, central office or network edge devices and may be implemented in software, such as a “Software Defined Radio”, on special purpose or general purpose host computer and offered as a web service or general purpose signal processing platform.

## Claims

1. An adaptive noncoherent receiver for recovering RFID data transmitted over a communication channel comprising:
a converter configured to receive a phase modulated input signal and convert the received input signal into a vector representation by sampling the received input signal;
a channel equalizer comprising a filter bank, where the channel equalizer is configured to cancel interference associated with the communication channel by filtering the received input signal utilizing the filter bank and generate a first output signal;
a phase rotator configured to receive the first output signal and rotate the phase of the first output signal to generate a second output signal;
wherein the receiver further comprises a non-coherent estimation unit configured to receive the second output signal and generate a soft metric estimation;
wherein the non-coherent estimation unit is updated based upon feedback from a noncoherent soft-input-soft-out (SISO) decoder;
wherein the SISO decoder is updated utilizing the soft metric estimation;
wherein the SISO decoder is iteratively updated; and
a channel estimation unit configured to estimate a channel impulse response of the communication channel and update the filter bank.

2. The adaptive noncoherent receiver of claim 1, wherein the converter utilizes a demultiplexer for sampling the received input signal.

3. The adaptive noncoherent receiver of claim 1, wherein the filter bank includes a transfer function selected to match propagation environment of the communication channel.

4. The noncoherent receiver of claim 1, wherein the size of the vector representation is a predetermined length based upon the desired hardware complexity of the receiver.

5. The noncoherent receiver of claim 1, wherein the phase modulated input signal is a FMO encoded signal.

6. A method for recovering RFID data transmitted over a communication channel using an adaptive noncoherent receiver, the method comprising:
receiving a phase modulated input signal and converting the received input signal into a vector representation by sampling the received input signal using a converter;
canceling interference associated with the communication channel using a channel equalizer comprising a filter bank by filtering the received input signal utilizing the filter bank and generating a first output signal;
receiving the first output signal and rotating the phase of the first output signal to generate a second output signal using a phase rotator;
receiving the second output signal and generating a soft metric estimation using a non-coherent estimation unit;
updating the non-coherent estimation unit based upon feedback from a noncoherent soft-input-soft-out (SISO) decoder;
updating the SISO decoder utilizing the soft metric estimation;
wherein the SISO decoder is updated iteratively; and
estimating a channel impulse response of the communication channel and updating the filter bank using a channel estimation unit.

7. The method of claim 6, wherein the converter utilizes a demultiplexer for sampling the received input signal.

8. The method of claim 6, wherein the filter bank includes a transfer function selected to match propagation environment of the communication channel.

9. The method of claim 6, wherein the size of the vector representation is a predetermined length based upon the desired hardware complexity of the receiver.

10. The method of claim 6, wherein the phase modulated input signal is a FM0 encoded signal.