| Literature DB >> 25723144 |
Laurynas Riliskis1, Evgeny Osipov2.
Abstract
Research on wireless sensor networks has progressed rapidly over the last decade, and these technologies have been widely adopted for both industrial and domestic uses. Several operating systems have been developed, along with a multitude of network protocols for all layers of the communication stack. Industrial Wireless Sensor Network (WSN) systems must satisfy strict criteria and are typically more complex and larger in scale than domestic systems. Together with the non-deterministic behavior of network hardware in real settings, this greatly complicates the debugging and testing of WSN functionality. To facilitate the testing, validation, and debugging of large-scale WSN systems, we have developed a simulation framework that accurately reproduces the processes that occur inside real equipment, including both hardware- and software-induced delays. The core of the framework consists of a virtualized operating system and an emulated hardware platform that is integrated with the general purpose network simulator ns-3. Our framework enables the user to adjust the real code base as would be done in real deployments and also to test the boundary effects of different hardware components on the performance of distributed applications and protocols. Additionally we have developed a clock emulator with several different skew models and a component that handles sensory data feeds. The new framework should substantially shorten WSN application development cycles.Entities:
Year: 2015 PMID: 25723144 PMCID: PMC4435200 DOI: 10.3390/s150304677
Source DB: PubMed Journal: Sensors (Basel) ISSN: 1424-8220 Impact factor: 3.576
Figure 1.A high level architectural overview of Symphony.
A comparison of the functionality provided by selected network simulators.
| Yes | Yes | Yes | To some extent | no | |
| Yes | Yes | Yes | Yes | - | |
| Yes | No | Yes | No | Yes | |
| Yes, via models | No | Limited | No | Yes, via models | |
| Yes | No | To some extent | No | No | |
| Yes | Yes | Yes | No | Yes | |
| Yes | No | No | No | No | |
| Yes | No | Yes | No | Yes | |
| Yes | No | Yes | No | - | |
| Yes | No | Yes | No | - | |
| Yes | No | No | No | No | |
| Limited by hardware | 20,000 nodes | <20,000 nodes | - | 350,000 nodes | |
| Yes | Yes | Yes | Last updated in 2010 | - |
The real code is preserved to some extent. The node is represented as an entry in a table;
Provides two modes for simulation, one based on the native code and one based on simulated code;
The code is cross-compiled so that it can be run as a posix thread;
FreeRTOS acts as a scheduler for pthreads within a process;
Only few microcontroller and radio devices are supported;
PowerTOSSIM implements energy modeling. However, it is very outdated and no longer supported;
Cooja's emulator can load TimyOS executable compiled for platforms with MSP MCUs;
Fewer than 20000 simulated nodes, approximately 100 emulated nodes. The high number of simulated nodes comes at the cost of making the duration of the simulation greater than real-time;
Here means the simulation facility of FreeRTOS operating system.
Figure 2.Architecture of the Symphony framework.
Figure 3.Model configuration using xml and hardware models.
Figure 4.OS tier simulation: Sending 2 bytes of data with AMSend.
Figure 5.Execution time flow in hardware and emulation.
Figure 6.Consequences of clock drift.
Figure 7.Histogram of clock ticks affected by random skew.
Figure 8.Crystal simulations: Static time skew with a period of 1000 μs.
Figure 9.Crystal simulations: Exponential time skew.
Figure 10.Architecture of the Data Feed scope that supports the sensor model.
Figure 11.Comparison of accuracy when simulating security algorithms in Symphony, TOSSIM and experiment with real nodes. X-axes shows a comparison of different security algorithms, while on Y-axes thenNumber of received packets by sink is denoted.
Figure 12.Function call time in relation to simulation granularity.