H-TOSSIM: Extending TOSSIM with Physical Nodes
Wenjun LI, Xiaobin ZHANG, Weihua TAN, Xiaocong ZHOU
.
DOI: 10.4236/wsn.2009.14040   PDF    HTML     6,682 Downloads   12,150 Views   Citations

Abstract

As the development of Wireless Sensor Network (WSN), software testing for WSN-based applications be-comes more and more important. Simulation testing is an important approach to WSN-based software testing, and TOSSIM is the most widely used simulation testing tool targeted at TinyOS which is the most popular operating system nowadays. However, simulation testing tools such as TOSSIM can not reveal program er-rors about communication detail or timing, and lack accurate power consumption model and even can not support power consumption estimation. In this paper, a hybrid testbed H-TOSSIM is proposed, which ex-tends TOSSIM with physical nodes. H-TOSSIM uses three physical nodes, of which, one shares the simu-lated environment with all virtual nodes to test the WSN program, and the other two bridge the real world and the simulated environment. H-TOSSIM combines the advantages of both the simulation in physical node and the simulation testing tools in WSN software testing. Through experiments, we show that H-TOSSIM really reveals program errors which the pure simulation testing can not capture, and can support power con-sumption estimation for large WSN with high accuracy and low hardware cost.

Share and Cite:

W. LI, X. ZHANG, W. TAN and X. ZHOU, "H-TOSSIM: Extending TOSSIM with Physical Nodes," Wireless Sensor Network, Vol. 1 No. 4, 2009, pp. 324-333. doi: 10.4236/wsn.2009.14040.

Conflicts of Interest

The authors declare no conflicts of interest.

References

[1] I. Akyildiz, W. Su, et al., “Wireless sensor networks: A sur-vey,” Computer Networks, Vol. 38, No. 4, pp. 393– 422, March 2002.
[2] P. Levis, N. Lee, et al., “TOSSIM: Accurate and scalable simulation of entire TinyOS applications,” in Proceedings of the First ACM Conference on Embedded Networked Sensor Systems, Los Angeles, CA, pp. 126–137, November 2003.
[3] P. Levis and N. Lee, “TOSSIM: A simulator for TinyOS net-works, October 2007, http://www.cs.berkeley.edu/~pal/pubs/nido.pdf.
[4] H. Lee, A. Cerpa, and P. Levis, “Improving wireless simulation through noise modeling,” in Proceedings of the Sixth Interna-tional Conference on Information Processing in Sensor Net-works, Cambridge, Massachusetts, pp. 21–30, April 2007.
[5] TinyOS. http://www.tinyos.net/.
[6] J. Hill, R. Szewczyk, et al., “System architecture directions for networked sensors,” ACM SIGPLAN Notices, Vol. 35, No. 11, pp. 93–104, 2000.
[7] D. Gay, P. Levis, et al., “The nesC language: A holistic ap-proach to networked embedded systems,” ACM SIGPLAN Notices, Vol. 38, No. 5, pp. 1–11, May 2003.
[8] V. Shnayder, M. Hempstead, et al., “Simulating the power consumption of large-scale sensor network applications,” in Proceedings of the Second ACM Conference on Embedded Networked Systems, Baltimore, MD, pp. 188–200, November 2004.
[9] The Network Simulator: ns–2. http://www.isi.edu/ nsnam/ns.
[10] S. Park, A. Savvides, and M. B. Srivastava, “SensorSim: A simulation framework for sensor networks,” in Proceedings of the Third ACM International Workshop on Modeling, Analysis and Simulation of Wireless and Mobile Systems, Boston, Mas-sachusetts, pp. 104–111, August 2000.
[11] L. Girod, T. Stathopoulos, et al., “A system for Simulation, emulation, and deployment of heterogeneous sensor networks,” in Proceedings of the Second ACM Conference on Embedded Networked Sensor Systems, Baltimore, MD, pp. 201–213, No-vember 2004.
[12] J. Pollet, D. Blazakis, et al., “ATEMU: A fine-grained sensor network simulator,” in Proceedings of the First IEEE Commu-nications Society Conference on Sensor and Ad Hoc Commu-nications and Networks, Santa Clara, CA, pp. 145–152, Octo-ber 2004.
[13] B. L. Titzer, D. K. Lee, and J. Palsberg, “Avrora: Scalable sensor network simulation with precise timing,” in Proceedings of the Fourth International Conference on Information Proc-essing in Sensor Networks, Los Angeles, CA, pp. 477–482, April 2005.
[14] D. Jia, G. H. Krogh, and C. Wong, “TOSHILT: Middleware for hardware-in-the-Loop testing of wireless sensor networks,” October 2007. http://www.ece.cmu.edu/~webk/sensor_networks/pub/ipsn05_hilt.pdf.
[15] G. Werner-Allen, P. Swieskowski, and M. Welsh, “MoteLab: A wireless sensor network testbed,” in Proceedings of the Fourth International Conference on Information Processing in Sensor Networks, Los Angeles, CA, pp. 483–488, April 2005.
[16] M. Dyer, J. Beutel, et al., “Deployment support network: A toolkit for the development of WSNs,” in Proceedings of the Fourth European Workshop on Sensor Networks, Berlin, pp. 195–211, January 2007.
[17] L. Girod, J. Elson et al., “EmStar: A software environment for developing and deploying wireless sensor networks,” in Pro-ceedings of the USENIX Technical Conference, San Diego, CA, pp. 24–37, June 2004.
[18] J. Hill, M. Horton, et al., “The platforms enabling wireless sensor networks,” Communications of the ACM, Vol. 47, No. 6, pp. 41–46, June 2004.
[19] J. Polastre, R. Szewczyk, and D. Culler, “Telos: Enabling ul-tra-low power wireless research,” in Proceedings of the Fourth International Conference on Information Processing in Sensor Networks, Los Angeles, CA, pp. 364–369, April 2005.

Copyright © 2024 by authors and Scientific Research Publishing Inc.

Creative Commons License

This work and the related PDF file are licensed under a Creative Commons Attribution 4.0 International License.