- About this Journal ·
- Abstracting and Indexing ·
- Aims and Scope ·
- Annual Issues ·
- Article Processing Charges ·
- Articles in Press ·
- Author Guidelines ·
- Bibliographic Information ·
- Citations to this Journal ·
- Contact Information ·
- Editorial Board ·
- Editorial Workflow ·
- Free eTOC Alerts ·
- Publication Ethics ·
- Reviewers Acknowledgment ·
- Submit a Manuscript ·
- Subscription Information ·
- Table of Contents
International Journal of Antennas and Propagation
Volume 2013 (2013), Article ID 743468, 8 pages
An Advanced Dynamic Framed-Slotted ALOHA Algorithm Based on Bayesian Estimation and Probability Response
Information & Electronics Technology Lab, Beijing University of Posts and Telecommunications, P.O. Box 116, Beijing 100876, China
Received 23 May 2013; Accepted 12 July 2013
Academic Editor: Yuan Yao
Copyright © 2013 Chaowei Wang et al. This is an open access article distributed under the Creative Commons Attribution License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.
This paper proposes an advanced dynamic framed-slotted ALOHA algorithm based on Bayesian estimation and probability response (BE-PDFSA) to improve the performance of radio frequency identification (RFID) system. The Bayesian estimation is introduced to improve the accuracy of the estimation algorithm for lacking a large number of observations in one query. The probability response is used to adjust responsive probability of the unrecognized tags to make the responsive tag number equal to the frame length. In this way, we can solve the problem of high collision rate with the increase of tag number and improve the throughput of the whole system. From the simulation results, we can see that the algorithm we proposed can greatly improve the stability of RFID system compared with DFSA and other commonly used algorithms.
In recent years, radio frequency identification (RFID) technology has been widely used in projects on internet of things (IOT) around the world. People try to use RFID technology to improve the efficiency of the processes in the supply chain. According to the market research analyst IDTechEx (Das, 2005), the cumulative sales of RFID tags for the 60 years up to the beginning of 2006 reached 2.4 billion, with 600 million tags being sold in 2005 alone . With the exponential growth of needs for RF tags, more of them would be needed in a range of areas, such as retailing, logistics, animals and farming, library services, and military equipment .
A RFID system consists of readers and tags. Each tag has a unique ID, and a reader has its own operational range. When a tag comes into the identification scope of the reader, it will send its ID combined with other information such as manufacturer and product type to the reader. Besides, it can even measure environmental factors such as temperature which can bring a lot of convenience to the related industries . However, as the number of tags grows in one place, more and more tags will communicate with the reader at the same time and interfere with each other. As a result, the reader will not get the correct information from each tag. This is called the tag collision, and it along with the reader collision constitutes the collision problem of RFID system which is demonstrated in Figure 1.
To solve the tag collision problem, lots of related researches have been carried out, and many algorithms have been proposed. The most widely used anticollision algorithms are ALOHA method and Binary Search method . ALOHA algorithm is based on the thought of ALOHA  and combined with the characteristics of RFID system. Its core idea is to separate the response time of tags and to make them respond in different time slots in order to avoid collision. Once the collision occurs, the related tags take time-backoff mechanism and wait for next round to respond . However, the channel utilization of this algorithm is not as high as people expect. Its throughput is only 18.4%. Therefore, framed-slotted ALOHA (FSA) was proposed on the basic of ALOHA algorithm. Frame is a kind of time length, and it is divided into several slots. Tags randomly pick one slot to respond, and it can only respond at the beginning of the slot . If two or more tags select the same slot, the collision would happen. Then they all quit this round and wait for the next frame. By computing, FSA can improve theoretical maximum throughput up to 36.8%. But it is still not very ideal in the case of heavy load conditions.
Dynamic framed-slotted ALOHA (DFSA) is an advanced FSA. This algorithm can adjust the size of frame (the number of slots in one frame) dynamically according to the estimation of the tags . As we know, the throughput of the system can reach the maximum when the number of tags is equal to the frame length . So it is really important to find an estimation algorithm of high accuracy. At present, the primary estimation algorithms are minimum tag number estimation algorithm , Jae-Ryong Cha algorithm , and Harald Vogt algorithm . Although these estimation algorithms play an important role in the way of improving the efficiency of DFSA, they still have two obvious problems. The first one is that it is hard to guarantee the reliability of the algorithm. Currently, the primary estimation algorithms are all traditional statistical methods. Their accuracy is on the basis of a large number of observations. However, in a real RFID system, the reader needs to estimate the number of tags immediately according to the observations in one frame. It is impossible to inquire the tags again and again to get numerous data. As a result, there would be a large error between the actual value and the estimated value. The second problem is the “landslide problem” on identification rate of the tags. When the number of tags is far more than the maximum of frame length (256) , the throughput of the system would decline rapidly. We call this phenomenon “landslide problem”. To improve the reliability of the whole algorithm, we proposed an advanced estimation algorithm based on the Bayesian estimation and probability response. The advanced algorithm can use a small amount of observations getting a relatively accurate estimation of the tag number. In the case of large tag number, the tags can modify their responsive probability dynamically to make the calculated number of the responsive tags equal to the frame length. In this way, we can improve the throughput of the whole system and solve the two problems mentioned above to a great extent.
The remainder of the paper is organized as follows: in Section 2, a brief description of Bayesian estimation is presented. In Section 3, firstly, the general steps to estimate the tag number are introduced, and then an improved ALOHA algorithm is proposed on two sides (the estimation algorithm based on Bayesian estimation and the mechanism of probability response proposed to further improve the performance of the algorithm). In Section 4, the proposed algorithm is compared with DFSA on several aspects and finally some conclusions are drawn in Section 5.
2. The Bayesian Estimation
Bayesian method is a series of theories proposed by British scholar Bayesian in statistics for inductive inference. With the development for centuries, the theory is widely used in different areas for mathematical analysis. Its basic idea can be expressed as the following example. Assume that are incompatible events and they are of an event set. Their prior probability is given as (prior distribution). After the event happens, we can reassess the probability of by the following equation:
From (1), we can see that Bayesian formula takes both prior information and new information from the test into account which reflects the transformation from prior distribution to posterior distribution. Therefore, compared with those algorithms that only consider a part of information, Bayesian estimation can make our estimation more accurate in the case without a large amount of statistical data.
The most important issue in Bayesian estimation is how to determine the prior distribution. Many Bayesian scholars have proposed several different methods, but they still have not found a general way for all the cases. For tag collision problem, as the probability of the tags to select time slots is constant and it is only decided by the size of frame, we can calculate prior probability of different cases in advance. So we can use taking Bayesian estimation into our tag number estimation algorithm without a large number of calculations to get prior distribution and can obtain a relatively accurate result.
Assume that distribution density of population is . Because is a random variable and prior distribution of is already known, needs to be changed as . If is the sample selected from population and the sample value is , the joint probability density of sample is So, the joint probability density of sample and is
Then, we can get
We call the posterior distribution of when sample . In (4), is the boundary distribution of about sample . If is the continuous random variable, then we can get
3. The Advanced DFSA Based on Bayesian Estimation and Probability Response
3.1. General Steps to Estimate Tag Number and Frame Length
In DFSA, suppose that the number of slots in one frame is , the number of tags is , and each tag has the same probability to select each slot in one frame (). According to the statistical principles, the probability that tags select the same slot can be expressed as
After one frame, the mathematical expectation of successful identification slot (, only one tag selects the slot), empty slot (, no tag selects the slot), and collision slot (, more than one tag select the slot) can be expressed as:
Therefore, if we know the frame length and tag number, we can calculate the number of slots in different statuses. In turn, if we can get the result inquired by the reader after one frame, the tag number can be estimated by (7). So, the efficiency of the system is
To get the maximum of , we take derivation of (8):
When is large enough, we can get:
So, on one side, when the size of frame is approximately equal to the tag number, the throughput of the system will reach its maximum. On the other side, considering the size of frame can only be , we should set closest to our estimated value to get the maximum of throughput.
3.2. The Advanced Estimation Algorithm Based on Bayesian Estimation
The advantage of the Bayesian estimation is that it can get a relatively accurate statistical result without a large number of observations. As we cannot get much data from one query in the process of tag number estimation, the accuracy of estimation result always has large errors. So we bring the Bayesian estimation into our estimation algorithm. The results from the simulation show that our advanced algorithm can improve the performance of the system to a great extent. The details of the algorithm will be introduced in the following paragraphs.
In DFSA, the tag number has some randomness. So the tag number can be regarded as a random variable instead of an uncertain constant. That is to say, the tag number meets the requirements of random variables, and it is a discrete random variable.
Suppose the tag number is and the initial length of the frame is . When the read cycle begins, tags start to select slot from the frame. This process obeys binomial distribution of . So the probability of one slot in a frame to be an empty slot, readable slot, or collision slot is
In the definition process, is the priori probability density of tag number to be estimated, and is from the sample set which is the observations of the number of slots in different statuses. We use to express the sample set. is the observations of the number of empty slots, readable slots, and collision slots after the initial frame length of the system. The sample value space is , and the value space of tag number to be estimated is . is the loss function when is the estimation of . In the RFID system, we take .
Then, the total expected risk is
We are definite that the conditional risk under the sample is
For , the minimal is the minimum of according to Bayesian decision. That is to say, The way to get the minimum of is derived as follows: In (15), So, Then, Because has nothing to do with , the minimum of is only decided by . Only when , , and we can get the minimum of . Therefore, the optimal estimation is
The conditional probability under the observation of  is
Suppose that the value space of tag number is . After normalization processing of (20), we can get
3.3. The Mechanism of Probability Response
The advanced DFSA based on Bayesian estimation and probability response (BE-PDFSA) can effectively solve the general problem in process of tag identification. By importing the Bayesian estimation, we can estimate the tag number accurately. On the basis of accurate estimation, we can adjust the frame length rationally according to (10). However, the frame length can only be selected from because of the limitation of the reader. So we bring in the mechanism of probability response to change the responsive probability of the tags dynamically according to the estimated tag number and frame length which can be selected.
What is more, in the case of large tag number, the throughput of the system would drop rapidly with the increase of tag number which is called the “landslide problem”. The mechanism of probability response can also solve this problem by adjusting the responsive probability of the tags dynamically.
The specific process can be described as follows.
Since we have defined the estimated tag number as , therefore the number of unrecognized tags is denoted as in the rest of paper, which can be calculated by . If the frame length which is closest to is , we set the responsive probability of the unrecognized tags to be . If , the responsive probability will be higher than 1 which means the number of slots is more than the tag number. In this case, the collision rate will not be so high. However, the responsive probability can only be no higher than 1, so we set the responsive probability to be 1 which means all the tags will respond in this frame. If , the tag number will be more than the number of slots in one frame. The collision rate will increase with the increase of the tag number. By importing the mechanism of probability response, the number of responsive tags will be in theory instead of , and the throughput of the system will be increased. In the case of large tag number, the inequality will change to . The max frame length of the reader is 256 (), and the collision rate will increase rapidly. However, the mechanism of probability response can effectively solve the “landslide problem” by decreasing the number of responsive tags to the frame length. The tags which are not selected will wait for the next frame and repeat the upper process.
3.4. Working Process of the Whole Algorithm
By importing the Bayesian estimation and the mechanism of probability response, BE-PDFSA can improve the performance of the whole system significantly. Bayesian estimation is mainly used in the process of tag estimation to get an accurate estimation of the tag number. The mechanism of probability response is used in the process of response to further reduce the collision rate of the system especially in the case of large tag number. In this way, we can try our best to make the number of tags to respond in one frame equal to the frame length we select in order to maximize the throughput of the whole system and minimize the collision rate. In order to let everyone have a clearer understanding of the whole process, the proposed algorithm procedure can be divided into the following four steps.
Step 1. Setting the initial frame length and sending the request command to tags asking for their information.
Step 2. All the tags randomly select one slot to respond and finish the identification of one frame.
Step 3. Count the result of this frame and use the result to estimate the tag number () through our estimation algorithm.
Step 4. Calculate the number of unrecognized tags (). Select the value of frame length from which is the closest to the unrecognized tag number and adjust the responsive probability of the tags to be . Then, turn to Step 2.
If the query result from the reader is for continuously three times, the algorithm will judge that all the tags are recognized and quit the cycle.
We can see it more clearly from Figure 2.
4. Simulation Results and Analysis
4.1. Settings of the Simulation Scene
In RFID system, the aim of using anticollision algorithm is to improve the recognition rate of the tags, to reduce resource consumption, and most importantly to improve the efficiency of the whole system. For the key steps of DFSA, the accuracy of the estimation algorithm is the most important. Here, we introduce error rate to measure the performance of the algorithm. Suppose the tag number is and the estimated tag number is , then the error rate can be expressed as
After the tag estimation process, the algorithm adjusts the responsive probability of the unrecognized tags and the frame length based on the estimated tag number. For the whole system, the resource consumption and the throughput of the system are important parameters. So in the simulation, the total number of slots used in the system is defined as the resource consumption, and the throughput of the system has been given as in (8).
In addition, the slot collision rate and slot idle rate also reflect the degree of the utilization of system resources. Suppose that the value space of tag number in the communication range of the reader is , the max frame length of the reader is 256, and the value space of optional frame length is .
Because we still use the dynamic framed-slotted ALOHA algorithm (DFSA) in the main identification procedure of the system, DFSA adjusts the frame length of the next frame dynamically based on the current collision rate, idle rate, and the successful identification rate of the slot. The relevant configurations of the simulation is same as that in .
The specific settings of the simulation parameters are given in Table 1.
4.2. Simulation Results and Analysis
The algorithm can be divided into two parts: tag number estimation and tag identification. So we also compare the algorithm in two sides. We will compare the algorithm we proposed with the minimum tag number estimation algorithm and Jae-Ryong Cha algorithm on the side of error rate. For the tag identification algorithm, we will compare Bayesian estimation probability DFSA (BE-PDFSA) with DFSA algorithm in resource consumption, system throughput, system collision rate, and system idle rate.
From Figure 3, we can see that with the same initial frame length, the performance of Minimum tag number estimation is the worst, considering the least factors. When the tag number reaches 1000, its error rate is nearly 70%. However, the performance of BE-PDFSA is far better than other algorithms. Especially when the frame length is longer than 128, the error rate of the other two algorithms gradually increases with the increase of tag number, and its value is basically higher than 0.3. On the contrary, the Bayesian estimation algorithm is relatively stable, and its error rate stays around 0.1 mostly. So the estimation algorithm we proposed shows the characteristic of high robustness.
From Figure 4, we can see that as the tag number increases, the total source consumption of DFSA and BE-PDFSA all has the upward trend. However, the source consumption of BE-PDFSA is less than that of DFSA, and there will be a growing gap in consumption between the two algorithms with the increase of tag number. When the tag number reaches 1000, the source consumption of BE-PDFSA is about 1/7 of DFSA. According to (10), in the view of source consumption, the performance of BE-PDFSA is far better than DFSA especially in the case of large tag number.
In Figure 5, the trend of throughput of the two algorithms is almost the same. The throughput of BE-PDFSA reaches a maximum when the tag number is about 100. The number of tags when DFSA reaches its maximum is about 200, but it is still less than that of BE-PDFSA. After reaching the maximum, the throughput of DFSA decreases sharply, though our algorithm decreases relatively slowly and becomes stable. When the tag number is 1000, the throughput of BE-PDFSA can stay around 0.25 which is much larger than that of DFSA. We can see the stability and reliability of our algorithm.
Figure 6 shows the comparison of probability of failure in identification process. Figure 6(a) is the comparison of collision rate for BE-PDFSA and DFSA. With the increase of tag number, the collision rate of DFSA grows nearly in linear. However, BE-PDFSA shows a better performance. Although its collision rate also increases with the increase of tag number, the slope of the curve is smaller than that of DFSA, and the curve becomes stable in the end. That is because with the increase of tag number, more and more tags will respond to the reader at the same time which will cause the increase in collision rate. After using the Bayesian estimation and probability response, the number of tags to respond and the number of slots are as close as they can which slows down the increase of collision rate. On the other side, from Figure 6(b), BE-PDFSA also shows better performance in idle rate. So combined with Figure 6(a), we can see our algorithm improving the stability of DFSA after importing Bayesian estimation and probability response.
In this paper, we propose an improved dynamic framed-slotted ALOHA algorithm based on Bayesian estimation and probability response. The Bayesian estimation can improve the accuracy of estimation algorithm by taking advantage of statistical properties in identification process of tags. The mechanism of probability response can adjust the responsive probability of tags especially when the tag number is larger than the max frame length to reduce collision rate and improve the throughput of the whole system.
In general, this algorithm solves the problem that there would be a big error in traditional process of tag estimation because of lacking observations. At the same time, by using the optimal conditions of system throughput, we propose the mechanism of probability response to make the theoretical number of tags to respond be the same as the frame length to improve the efficiency of the system and save the source of the whole system. Finally, the simulation results show the stability of our algorithm and prove the improvement in the performance of the algorithm.
This work is supported in part by the Fundamental Research Funds for the Central Universities (2012RC0307), NSFC Grant (61271186), and Beijing Municipal Commission of Education (the service cloud platform of new cultural form based on mobile internet).
- E. W. T. Ngai, K. K. L. Moon, F. J. Riggins, and C. Y. Yi, “RFID research: an academic literature review (1995–2005) and future research directions,” International Journal of Production Economics, vol. 112, no. 2, pp. 510–520, 2008.
- Y. Zhang, M. G. Amin, and S. Kaushik, “Localization and tracking of passive RFID tags based on direction estimation,” International Journal of Antennas and Propagation, vol. 2007, Article ID 17426, 9 pages, 2007.
- R. Want, “An introduction to RFID technology,” IEEE Pervasive Computing, vol. 5, no. 1, pp. 25–33, 2006.
- L. Zhu and T.-S. P. Yum, “A critical survey and analysis of RFID anti-collision mechanisms,” IEEE Communications Magazine, vol. 49, no. 5, pp. 214–221, 2011.
- A. L. McBride, “An overview of unslotted Aloha in a VSAT network,” in Proceedings of the IEEE Global Telecommunications Conference: Communications Broadening Technology Horizons (GLOBECOM '86), pp. 1479–1488, 1986.
- R. Metcalfe, “Steady state analysis of a slotted and controlled Aloha system with blocking,” in Proceedings of the 6th Hawaii Conference System Science, 1973.
- V. Namboodiri, M. DeSilva, K. Deegala, and S. Ramamoorthy, “An extensive study of slotted Aloha-based RFID anti-collision protocols,” Computer Communications, vol. 35, no. 16, pp. 1955–1966, 2012.
- J.-B. Eom and T.-J. Lee, “Accurate tag estimation for dynamic framed-slotted ALOHA in RFID systems,” IEEE Communications Letters, vol. 14, no. 1, pp. 60–62, 2010.
- F. C. Schoute, “Dynamic frame length ALOHA,” IEEE Transactions on Communications, vol. 31, no. 4, pp. 565–568, 1983.
- D. M. Dobkin, The RF in RFID-Passive UHF RFID in Practice, Newnes, Burlington, Mass, USA, 2008.
- J.-R. Cha and J.-H. Kim, “Novel anti-collision algorithms for fast object identification in RFID system,” in Proceedings of the 11th International Conference on Parallel and Distributed Systems Workshops (ICPADS '05), vol. 2, pp. 63–67, July 2005.
- H. Vogt, “Efficient object identification with passive RFID tags,” in Proceedings of the International Conference on Pervasive Computing, pp. 1–16, Zurich, Switzerland, 2002.
- H. Vogt, “Multiple object identification with passive RFID tags,” in Proceedings of the IEEE International Conference on Systems, Man and Cybernetics, pp. 651–656, Hammamet, Tunisia, October 2002.
- W.-T. Chen, “An accurate tag estimate method for improving the performance of an RFID anticollision algorithm based on dynamic frame length ALOHA,” IEEE Transactions on Automation Science and Engineering, vol. 6, no. 1, pp. 9–15, 2009.
- K. Ali, H. Hassanein, and A.-E. M. Taha, “RFID anti-collision protocol for dense passive tag environments,” in Proceedings of the 32nd IEEE Conference on Local Computer Networks (LCN '07), pp. 819–824, Dublin, Ireland, October 2007.