现在的位置: 首页 > 综合 > 正文

第17篇 除TOSSIM以外的无线传感器模拟器介绍

2012年02月04日 ⁄ 综合 ⁄ 共 4648字 ⁄ 字号 评论关闭

本文摘自我的research progress report

因为TOSSIM只能在所有的节点上运行相同的代码,就明显不符合我们的要求了,那么有如下模拟器可供研究:

As we explore, all simulated nodes run the same application code on TOSSIM, that is to say every node must run the same code.

I checked so many alternatives:

 

1.     Avrora  (http://compilers.cs.ucla.edu/avrora/)

Avrora, a research project of the UCLA Compilers Group, is a set of simulation and analysis tools for programs written for the AVR microcontroller produced by Atmel and the Mica2 sensor nodes. Avrora contains a flexible framework for simulating and analyzing assembly programs, providing a clean Java API and infrastructure for experimentation, profiling, and analysis.

Avrora, a cycle-accurate instructionlevel sensor network simulator which scales to networks of up to 10,000 nodes ( its scalability seems meet our requirement. ) and performs as much as 20 times faster than previous simulators (not TOSSIM, I think it is ns-2 or something) with equivalent accuracy, handling as many as 25 nodes in real-time. I believed TOSSIM is the fastest simulator on TinyOS so far. I did not find any description on its heterogeneous compatibility.

 

2.     Viptos (http://ptolemy.berkeley.edu/viptos/ ) (TinyOS-based)

Viptos - Visual interface between Ptolemy and TinyOS

It has the following advantages:

Graphical development and simulation environment for TinyOS-based wireless sensor networks

Transforms the diagram into a nesC program

Extends the capabilities of TOSSIM to allow simulation of heterogeneous networks

Allows application developers to easily transition between high-level simulation of algorithms to low-level implementation and simulation

 

Viptos extends the capabilities of TOSSIM to allow simulation of heterogeneous networks. Viptos provides a bridge between VisualSense and TOSSIM by providing interrupt-level simulation of actual TinyOS programs, with packet-level simulation of the network, while allowing the developer to use other models of computation available in Ptolemy II for modeling the physical environment and other parts of the system. This framework allows application developers to easily transition between high-level simulation of algorithms to low-level implementation and simulation. They integrated the nesC/TinyOS/TOSSIM and Ptolemy II programming and execution models.

 

The best advantage is that the tool is also developed by UC Berkeley and some of the same researchers of TinyOS(TOSSIM?). So its compatibility may be better than others. Especially, they mentioned that the tool can extend TOSSIM.

 

3.     EMStar and EMtos (http://www.cvs.cens.ucla.edu/emstar/ref/emtos.html) (TinyOS-based)

 

EmStar is a software system for developing and deploying wireless sensor networks involving Linux-based platforms. As the wireless sensor network community has attempted to deploy more complex designs---large-scale, long-lived systems that need self-organization and adaptivity---a number of difficult software design issues have arisen. Advances in software design have not kept pace with the capabilities of hardware. This is because designing for an adaptive, efficient, and useful sensor network has turned out to be surprisingly complex and difficult. EmStar is a Linux-based software framework, whose goal is to dramatically reduce this complexity, enabling work to be shared and reused, and simplifying and speeding the design of new sensor network applications.

 

EmTOS allows developers to compile NesC code as an EmStar binary, and debug TinyOS applicatoins using the full suite of EmStar debugging facilities.

 

The EmStar platform is a new platform target for motes that is similar to the pc platform. It allows code written against the TinyOS API to run in an EmStar environment, in any mode from deployment to "emulation" to pure simulation. This is achieved through a stub layer called "EmTOS".

It seems good, however, I cannot find any scalability information on their documentations.

 

4.     Prowler (TinyOS-based)

 

Networked Embedded Systems (NEST) are large-scale distributed systems with resource limited processing nodes tightly coupled to physical processes via sensors and actuators. Applications running on this distributed platform are strongly affected by the communication channel. Simulators are capable of simulating the behavior of the devices, but usually don’t simulate the effects of the communication channels. However, imperfect wireless communication channels greatly affect the performance of the applications, so it is necessary to incorporate in the simulators to get accurate results. Prowler is a probabilistic wireless network simulator capable of simulating wireless distributed systems, from the application to the physical communication layer.

 

Prowler, running under MATLAB, provides an easy way of application prototyping with nice visualization capabilities. Although Prowler provides a generic simulation environment, its current target platform is the Berkeley MICA mote running TinyOS.

 

I did not look through deeply, but I did not find any heterogeneous network information on their documentations.

 

5.     NS-2 is not suitable for our case.

Using ns-2 as a WSN simulator has some drawbacks. First, sensing model does not exist. Second, packet formats and MAC protocols are different from those found on typical WSN platforms. Third, energy model is too simple.

 

NS-2 is not good for large scale simulation, it only supports up to 300 nodes.

【上篇】
【下篇】

抱歉!评论已关闭.