Follow us Follow us Rss Feed
login

RFID module for ns-2 simulator

The RFID for NS-2 module was developed by Rafael Perazzo Barbosa Mota, member of the Computational Systems research groupInstitute of Mathematics and Statistics (IME)University of São Paulo (USP), Brazil. This module is a free software: you can redistribute it and/or modify it under the terms of the GNU Public License Version 1 or (at your option) any later version.

I invite users and developers to contact me to report any bug and to give suggestions for future versions.


Introduction

Ns is a discrete event simulator targeted at networking research. Ns provides substantial support for simulation of TCP, routing, and multicast protocols over wired and wireless (local and satellite) networks [Text from ns-2 official page]. This project implements a RFID module based on the EPCTM Radio-Frequency Identity Protocols Class-1 Generation-2 UHF RFID Protocol for Communications at 860 MHz ? 960 MHz Version 1.2.0(25/10/2008)standard for the ns-2 simulator, release 2.35. The focus of this implementation is the Network layer and its mechanisms for anti-collision.

Comparison

Results obtained in a simulation with the module were compared with the simulation results presented in the paper: 

Namboodiri, Vinod, et al. "An extensive study of slotted Aloha-based RFID anti-collision protocols." Computer Communications (2012), Volume 35, Issue 36, 15 September 2012, pages 1955--1966.

and can be shown bellow*

* The paper values are not exact. Until now the authors did not provide the table that generated the curve. The points were estimated by linear interpolation assuming that the points bellow are correct.
(50,160) and (500,1500)

identification

Features

These are the features of the RFID ns-2 module:

  • RFID readers and tags nodes;
  • Q algorithm anti-collision mechanism;
  • Trace file including all nodes identification, time and identified collisions;
  • QoS mechanism for use in Internet of Things (IoT) scenarios.
  • Configurable variables: Q initial value; Constant c; type of service (tracking is the only service implemented until now); Nodes ID.
  • MAC layer based on ns-2 mac (mac.cc).   

Installation

To install the module, follow the instructions below:

  1. Download the software ns-allinone-2.35 package
  2. Download the latest ns-2 RFID module source code from github.
  3. Unzip the ns-2 RFID module source code file inside ns-allinone-2.35 folder.
  4. Go to the ns-allinone-2.35/ns-2.35 directory and execute "./configure", "make clean" and "make".
  5. If you have root privileges execute "make install".
Bellow you will find a video showing the installation of the module

Downloads

RFID ns-2 module Download

Documentation

Read on-line:

ONLINE DOCUMENTATION

Publications

[1]. Mota, R.P.B., Batista, D.M. "Um mecanismo para garantia de QoS na "Internet das Coisas" com RFID". Simpósio Brasileiro de Redes de Computadores e sistemas distribuídos - SBRC 2013.
[2]. Mota, R.P.B., Batista, D.M. "An ns-2 Module for Simulating Passive RFID Systems". The 11th IEEE/IFIP International Conference on Embedded and Ubiquitous Computing (EUC). Zhangjiajie, China. 2013.
PDF (will be available soon)
BibTex (will be available soon)
[3]. Perazzo Barbosa Mota, R.; Batista, D.M., "A RFID QoS mechanism for IoT tracking applications," Wireless and Pervasive Computing (ISWPC), 2013 International Symposium on , vol., no., pp.1,4, 20-22 Nov. 2013

doi: 10.1109/ISWPC.2013.6707429
URL: http://ieeexplore.ieee.org/stamp/stamp.jsp?tp=&arnumber=6707429&isnumber=6707422

[4]. Mota, R.P.B., Batista, D.M. "A Dynamic Frame Slotted ALOHA Anti-Collision Algorithm for the Internet of Things". The 29th Symposium On Applied Computing. Gyeongju, Korea (SAC). 2014.
PDF (will be available soon)
BibTex (will be available soon)

[5]. Mota, R.P.B. "Student Research Abstract: Mechanisms to Ensure Quality of Service for the Internet of Things". The 29th Symposium On Applied Computing (SAC). Gyeongju, Korea. 2014.
PDF (will be available soon)
BibTex (will be available soon)


I would like to thank my advisor Prof. Daniel Macêdo Batista, USP, IME and Conselho Nacional de Pesquisa (CNPQ).

Developed by Rafael Perazzo Barbosa Mota (perazzo [at] ime [dot] usp [dot] br)

AnexoTamanho
sbrc_artigo2013.pdf777.22 KB
euc_2013.pdf589.75 KB
iswpc_2013.pdf125.91 KB