| Literature DB >> 22219688 |
Rafael Lajara1, José Pelegrí-Sebastiá, Juan J Perez Solano.
Abstract
In this paper four wireless sensor network operating systems are compared in terms of power consumption. The analysis takes into account the most common operating systems--TinyOS v1.0, TinyOS v2.0, Mantis and Contiki--running on Tmote Sky and MICAz devices. With the objective of ensuring a fair evaluation, a benchmark composed of four applications has been developed, covering the most typical tasks that a Wireless Sensor Network performs. The results show the instant and average current consumption of the devices during the execution of these applications. The experimental measurements provide a good insight into the power mode in which the device components are running at every moment, and they can be used to compare the performance of different operating systems executing the same tasks.Entities:
Keywords: Contiki; MICAz; Mantis; TinyOS; Tmote; wireless sensor network operating systems
Mesh:
Year: 2010 PMID: 22219688 PMCID: PMC3247733 DOI: 10.3390/s100605809
Source DB: PubMed Journal: Sensors (Basel) ISSN: 1424-8220 Impact factor: 3.576
Operating Systems for Wireless Sensor Networks.
| TinyOS v1 | Events | 3.4 kbytes | 336 Bytes | Tasks, commands and event handlers |
| TinyOS v2 | Events | 3.4 kbytes | 336 Bytes | Tasks, commands and event handlers |
| Contiki | Events | 3.8 kbytes | 230 Bytes | Protothreads |
| MantisOS | Multithreading | 14 kbytes | 500 Bytes | Threads |
| Nano-RK | Multithreading | 10 kbytes | 2,000 Bytes | Tasks with priority |
| t-kernel | Multithreading | 28.2 kbytes | 2,000 Bytes | Threads |
| Bertha | Mobile agents | 10 kbytes | 1,500 Bytes | Process fragments |
| CORMO | Events | 5.5 kbytes | 130 Bytes | Tasks and event handlers |
| SOS | Events | 20 kbytes | 1,163 Bytes | Tasks defined as modules |
| SenOS | State Machines | Not specified | Processes | |
Main properties of Tmote Sky (Telosb) and Micaz platforms.
| Vcc | 1.8 .. 3.6 V | 2.7 .. 5.5 V | |
| Instant current consumption | Active | 500μA @ 1MHz, 3V | Active 5.5mA @ 4MHz, 3V |
| Standby | 2.6 μA | Power down 5 μA | |
| Off | 0.2 μA | ||
| Wakeup time | 6 μs | 4.1 ms | |
| Architecture | RISC 16 bits | RISC 8 bits | |
| Flash | 48 kB | 128 kB | |
| RAM | 10 kB | 4 kB | |
| EPROM | 4 kB | ||
| A/D | 12 bits, 8 channels | 10 bits, 8 channels | |
| D/A | 12 bits, 2 channels | ||
| Communications | JTAG, 2xUART, 2xSPI, I2C, 3xDMA | JTAG, 2xUART, SPI, I2C | |
MICAz and Tmote Sky program sizes expressed in B (Bytes) or kB (kbytes).
| T1 | ROM | 476 B | 620 B | 1,674 B | 1,790 B | 11,402 B | 11,594 B |
| RAM | 19 B | 21B | 48 B | 64 B | 441 B | 443 B | |
| T2 | ROM | 680 B | 686 B | 2,218 B | 2,104 B | 11,890 B | 13,906 B |
| RAM | 4 B | 4 B | 51 B | 49 B | 278 B | 331 B | |
| MOS | ROM | 26 kB | - | 26 kB | 27 kB | 30 kB | 30 kB |
| RAM | 1 kB | - | 1 kB | 1 kB | 1.1 kB | 1.1 kB | |
| T1 | ROM | 1,586 B | 1,586 B | 2,722 B | 2,858 B | 13,040 B | 13,203 |
| RAM | 27 B | 27 B | 45 B | 45 B | 405 B | 407 B | |
| T2 | ROM | 1418 B | 1,430 B | 2,654 B | 2,656 B | 12,198 B | 14,068 B |
| RAM | 4 B | 4 B | 55 B | 35 B | 328 B | 384 B | |
| MOS | ROM | 14 kB | 15 kB | 14 kB | 14 kB | 16 kB | 16 kB |
| RAM | 1.6 kB | 1.6 kB | 1.6 kB | 1.6 kB | 1.7 kB | 1.7 kB | |
| Contiki | ROM | 20.8 kB | - | 20.9 kB | 21 kB | 21 kB | 21 kB |
| RAM | 2.3 kB | - | 2.3 kB | 2.3 kB | 2.3 kB | 2.3 kB | |
Figure 1.Instant current consumption of each application for both motes.
Figure 2.Average current consumption. First row blank program; second row Blank2 program with optimized consumption; third row Blink; fourth Sens sensing and transmission; fifth row Sens2 optimized sensing and transmission.
Variance of the current samples taken.
| 1.833E-12 | 2.06E-12 | 1.679E-12 | 63.749E-12 | |
| 20.8E-12 | 2.872E-12 | 29.058E-12 | 11.8E-12 | |
| 22.2E-9 | 5.482E-9 | - | 35.409E-9 | |
| - | 3.41E-6 | - | - | |
Figure 3.Noise on the supply voltage of the sensors of Tmote Sky & MICAz with MOS. The measurement was made with an oscilloscope; the input channel is AC coupled.