This document summarizes a paper that proposes a Dynamic Framed Slotted ALOHA (DFSA) algorithm using a proposed Tag Estimation Method (TEM) to estimate the number of tags around a reader. The DFSA algorithm dynamically allocates the frame size according to the estimated number of tags. Simulation results show the DFSA algorithm has better performance and lower delay than conventional algorithms regardless of the number of tags.
2. number of tags.
TAG1 1011
TAG2 1010 2.1. Tag Estimation Method (TEM)
TAG3 0011
TAG4 0101 2.1.1. Methods proposed by Vogt [5] Vogt proposed two
methods to estimate the number of tags around the reader.
Table 1. used tag ID The first estimation method is obtained through the obser-
vation that a collision involves at least two different tags.
Therefore a lower bound on the value of the estimated num-
ber of tags can be obtained by the simple estimation func-
tion as
EstM in. bound = N umber of collided slots × 2. (1)
The second method is obtained as follows. Chebyshev’s
inequality tells us that the outcome of a random experiment
involving a random variable X is most likely somewhere
near the expected value of X. Thus, an alternative estimation
function uses the distance between the read results, which
are frame size, number of successful slot, number of col-
Figure 1. the procedure of FSA lided slot, and number of idle slot and the expected value
vector to determine the number of tags for which the dis-
tance becomes minimal. For more details, refer to [5].
into rounds and slots (time frame). Each slot has duration, 2.1.2. Method using maximum throughput condition
long enough for the reader to receive a tag response. This To obtain the number of tags (Ctags ) related with collision
time frame is divided into a number of slots that can be in a slot, we define the collision rate (Crate ) as follows.
occupied by tags and used for sending their replies. The
reader determines the actual duration of a slot. After the
reader has sent its request to the tags, it waits for a cer- Prob. that there is the collision in a slot
Crate = .
tain amount of time for their answers. When multiple tags 1− Prob. that a tag transfers successfully
use the same slot, a collision occurs and data get lost. Fig. (2)
1 shows briefly the procedure of FSA algorithm to identify The probability that no tag transmits its ID during a slot
four tags in Table 1. Tags receiving REQ (Request com- is given by
mand sent by the reader) randomly select a slot in which to
respond. The number of slots in a round referred to as frame Pidle = (1 − p)n . (3)
size is determined by the reader[5],[7]-[9]. The probability that one tag transmits successfully its ID
In Fig. 1, TAG1, TAG2, TAG3, and TAG4 selected Slot1, during a slot
Slot3, Slot3, and Slot4 respectively. Slot2 in which no tags
select is an idle slot. Slot1 and Slot4 which TAG1 and TAG4 Psucc = np(1 − p)n−1 . (4)
select respectively will accomplish successful transmission.
Then, the probability that there is the collision in a slot
And the collision will be occurred in Slot3 in which two tags
is given by
select the same slot, so ID of two collided tags has to be re-
transmitted in next reader’s request (2nd REQ).
Pcoll = 1 − Pidle − Psucc . (5)
In FSA algorithm, generally, when the number of tags
is much higher than the number of slots, the delay to iden- We now define throughput S as follows.
tify a set of tags increases substantially. On the other hand,
in a situation that the number of tags is lower than the num- Psucc
ber of slots, the wasted slots can occur. Therefore, it needs S= = np(1 − p)n−1 . (6)
Psucc + Pcoll + Pidle
to appropriately vary the frame size according to the num-
ber of tags. In next section, we will describe conventional The maximum throughput happens when
Tag Estimation Method (TEM), which estimates the num-
ber of tags around the reader, and Dynamic Slot Allocation dS
(DSA), which dynamically allocates the frame size for the = n(1 − p)n−1 − n(n − 1)p(1 − p)n−2 = 0. (7)
dp
769
3. From (7) we get
1
p= . (8)
n
A system reaches maximum throughput when p is equal
to 1/n . We get optimal collision rate Crate for maximum
throughput.
Pcoll
Crate = lim = 0.4180. (9)
n→∞ 1 − Psucc
The number of the collided tags in a slot Ctags is calcu-
lated by
1
Ctags = = 2.3922 . (10)
Crate
Let Mcoll be the number of collided slots in a frame after
a round. Then, the number of estimated tags is calculated by
Figure 2. throughput vs. frame size
N umber of estimated tags = 2.3922 × Mcoll . (11)
2.2. Dynamic Slot Allocation (DSA) ∞
1
E[X = k] = kPsucc (k) = . (16)
1 n−1
2.2.1. DSA I First of all, we consider the delay (D) which k=1 1− L
is the time taken by the tags to transfer their ID successfully
Therefore, we get D from (12) and (16).
and is defined as (12)
L
D= . (17)
1 n−1
D = number of retransmission × frame size . (12) 1− L
It now remains to derive the optimal frame size (
Because the value of the frame size is already known af- Loptimal ). To calculate L when D is minimum, we differ-
ter a round, we just need to find the number of retransmis- entiate (17) as follows.
sion to calculate the delay (D). The probability (p) that one
tag transmits at the particular slot in a frame is 1/L. Then the d d L
probability that one tag successfully transmits its ID during D = n−1 = 0. (18)
dn dn 1 − 1
a slot is given by L
From (18), we get
n−1
1 1
Psucc = × 1− . (13) Loptimal = n. (19)
L L
And the probability that one tag successfully transmits 2.2.2. DSA II The second method to get the optimal frame
its ID in a frame (L) is given by size is to use the throughput of the system. From (8), the
maximum throughput happens when p = 1/n.
n−1 n−1
Accordingly, we get the optimal frame size (Loptimal )
1 1 1 from (19) because the probability (p) that one tag transmits
Psucc,L = × 1− ×L = 1− .
L L L at the particular slot in a frame is 1/L.
(14)
Let Psucc (k) be the probability that one tag transmits its Loptimal = n. (20)
ID successfully in k th frame. Then Psucc (k) is
From (19) and (20) we found that the optimal frame size
is the same considering the delay or throughput in a system.
Psucc (k) = Psucc,L (1 − Psucc,L ) k−1
. (15)
Fig. 2 depicts the throughput of the system for the frame
Using the mean of geometric distribution, the average size. From Fig. 2, we can get the optimal frame size by de-
number of retransmissions for one tag is termining the same value with the estimated number of tags.
770
4. Figure 4. frame structure
Fig. 3 shows the collision ratio for the number of tags.
In Fig. 3, if the frame size is 320 and the collision ratio is
0.46323 measured by the reader, the number of estimated
tags is 400.
4. Simulation results
Figure 3. collision ratio vs. number of tags
Fig. 4 shows the frame structure used for obtaining the
tag identification time[6]. The algorithm is operated by the
3. Proposed DFSA Algorithm and Perfor-
reader-driven method. It is assumed that the length of tag
mance Analysis ID is 36 bits and there are no errors in wireless channel dur-
ing the algorithm procedure.
Because of the limitation of conventional Framed Slot-
Fig. 5 represents the number of round versus the number
ted ALOHA algorithm, it needs to estimate number of tags
of tag for the different algorithm. If we use the FSA algo-
around the reader and dynamically allocate the frame size
rithm in RFID system, the round size will increase sharply
according to the number of tags. Now, we will describe the
after certain number of tags. So as increasing the overhead
DFSA algorithm using proposed TEM.
such as bits for power-up, synchronization, and error check,
Given L slots in a frame and n tags, the probability that
the performance of FSA will decrease. But other algorithms
r out of n tags transfers their ID in a slot is given by
estimating the number of tags show comparatively the sta-
ble performance.
n 1
r
1
n−r Fig. 6 depicts the tag identification time for the num-
P (X = r) = 1− . (21) ber of tags. In Fig. 6, SLOT 128 and SLOT 256 mean con-
r L L
ventional FSA algorithms using the fixed frame size with
The number r of tags in a particular slot is called the oc- 128 slots and 256 slots respectively. 2.3922 means the al-
cupancy number of the slots[9]. The expected value of the gorithm using maximum throughput condition, Vogt 1 and
number of slots with occupancy number r is given by Vogt 2 represents the algorithms proposed by vogt.
And DFSA represents the proposed Dynamic Framed
r n−r Slotted ALOHA algorithm using proposed TEM and con-
n 1 1 ventional DSA. The performance of convetional FSA using
E(X = r) = L 1− . (22)
r L L the fixed frame size algorithm varies according to the num-
ber of tags. In Fig 6, when the number of tags is in the range
To estimate the number n of tags, we define the collision
of 0 to 300 and the frame size is 128 (SLOT 128), FSA al-
ratio (Cratio ), which means the ratio of the number of the
gorithm shows better performance. While the number of tag
slots with collision to the frame size, is given by
is more than 300, the identification time of SLOT 128 in-
creases substantially according to the increase of the num-
1
n
n ber of tags. Therefore, if FSA algorithm is used for the pur-
Cratio = 1 − 1 − 1+ . (23) pose of resolving anti-collision problem in RFID system, it
L L−1
may show the unstable performance as the number of tags
After a round, we know the frame size and the collision increases. However, the algorithms using TEM show rela-
ratio. Based on this information, we can estimate the num- tively the stable performance regardless of the number of
ber of tags. So, the frame size is equal to the number of tags tags. From Fig.6, out of algorithms estimating the number
estimated before of tags, the proposed DFSA algorithms show better perfor-
771
5. Figure 5. number of round vs. number of tags Figure 6. tag identification time for the num-
ber of tags
mance than conventional FSA algorithms and other algo- References
rithms using TEM regardless of the number of tags because
it has lower complexity and better delay performance. [1] S. Sarma, J. Waldrop, and D. Engels, ”Colorwave : An Anti-
collision Algorithm for the Reader Collision Problem,” IEEE
International Conference on Communications, ICC ’03, vol.
2, May, 2003, pp. 1206-1210.
[2] S. Sarma, D. Brock, and D.Engels, ”Radio frequency identifi-
5. Conclusion cation and electronic product code, ” IEEE MICRO, 2001.
[3] K. Finkenzeller, RFID Handbook ; Fundamentals and appli-
We proposed the Dynamic Framed Slotted ALOHA al- cations in Contact-less Smart Cards and Identification, Sec-
gorithm (DFSA) using proposed Tag Estimation Method ond Edition, John Wiley and Sons Ltd, pp. 195-219, 2003.
(TEM) which estimates the number of tags around the [4] H. S. Choi, J. R. Cha and J. H. Kim, ”Fast Wireless Anti-
reader using collision ratio that means the ratio of the num- collision Algorithm in Ubiquitous ID System ,” in Proc. IEEE
VTC 2004, L.A., USA, Sep. 26-29, 2004.
ber of the slots with collision to the frame size. We de-
[5] H. Vogt, ”Efficient Object Identification with Passive RFID
scribed the conventional Tag estimation Method and Dy-
tags, ” In International Conference on Pervasive Computing,
namic Slot Allocation (DSA), which is the method to dy- Zurich, 2002, pp. 98-113.
namically allocate the frame size according the number [6] ISO/IEC 18000-6:2003(E), Part 6: Parameters for air inter-
of tags. We also compared the performance of the pro- face communications at 860-960 MHz, Nov. 26, 2003.
posed DFSA algorithm with the conventional Framed Slot- [7] R. Glidden et al. , ”Design of Ultra-Low-Cost UHF RFID Tags
ted ALOHA algorithm (FSA), two algorithms proposed by for Supply Chain Applications, ” IEEE Commun. Mag., Aug.,
Vogt, and the algorithm which uses maximnum throughput 2004, pp. 140-151.
condition. Out of those algorithms estimating the number [8] C. S. Kim, K. L. Park, H. C. Kim and S. D. Kim, ”An Efficient
of tags, the proposed DFSA algorithm shows better perfor- Stochastic Anti-collision Algorithm using Bit-Slot Mecha-
mance than conventional FSA algorithms and other algo- nism,” PDPTA04, 2004.
rithm using TEM regardless of the number of tags. Conse- [9] N. L. Johnson and S. Kotz.,Urn Models and Their Applica-
quently, if the proposed DFSA algorithm is used in RFID tions., Wiley, 1977.
system where the ability to simultaneously identify many
tags is crucial for many applications, it will contribute to im-
prove the performance of RFID system because the reader
can identify more tags with shorter time.
772