Documente Academic
Documente Profesional
Documente Cultură
19-Mar-2012
OBJECTIVE
Power consumption is of utmost concern in sensor networks. Researchers have several ways of measuring the power consumption of a complete sensor network, but they are typically either impractical or inaccurate.
To meet the need for practical and scalable measurement of power consumption of sensor networks, we have developed a cycle-accurate Click to edit COOJA/MSPsim, simulator, called Master subtitle style that enables live power estimation of systems running on MSP430 processors.
19-Mar-2012
CONTIKI
Contiki is a small, open source, highly portable multitasking computer operating system developed for use on a number of memory-constrained networked systems ranging from 8-bit computers to embedded systems on microcontrollers, including sensor network motes.
19-Mar-2012
COOJA simulates networks of sensor nodes where each node can be of a different type; differing not only in on-board software, but also in the simulated hardware.
44
19-Mar-2012
19-Mar-2012
55
COOJA can execute programs by running the program code as compiled native code directly on the CPU, or by running compiled program code in MSPSim, also in Java at the application level. Java-based nodes simulates fast but do not run deployable code but useful for the development of distributed algorithms. Emulating nodes allows control and retrieval of more fine-grained execution details compared to other two nodes. Native codes can simulate deployable code. It is more efficient code. Combining the different levels in the same simulation can give both an efficient simulation as well as fine-grained execution details on selected nodes.
19-Mar-2012
66
Installation/Startup Compiling code from within COOJA Create simulations Basic concepts in COOJA Using plugins to interact with motes Adding project directories
19-Mar-2012
77
Getting started...
Need Java and Ant contiki-2.x/tools/cooja> ant run Start COOJA Compilation problems Use JNI tests to configure COOJA
19-Mar-2012
88
19-Mar-2012
99
19-Mar-2012
Start Cooja
First Start Instant Contiki : To start Cooja, double-click on the "Run Cooja" icon to the right on the screen. This will bring up a terminal window with some text scrolling by. The Cooja Java code may need to be compiled, which may take a few seconds. After a few seconds the Cooja window appears. Maximize the window by double-clicking on the title bar.
19-Mar-2012
1111
19-Mar-2012
1212
Run a Hello, World Program We begin with the simple Hello, World program. The is a small network of two nodes. The nodes only print out a Hello, World message and does nothing more.
19-Mar-2012
1313
19-Mar-2012
1414
19-Mar-2012
1515
There may be a number of compilation warnings displayed. They can be ignored by clicking the Hide compilation warnings button. Close the dialog by clicking the close button.
19-Mar-2012
1616
19-Mar-2012
1717
After a few seconds, the two nodes have started and printed out their Hello World message. The simulation can now be stopped by pressing the Pause button
19-Mar-2012
1818
CONCLUSION
Thus here from this this demonstration it shows the ease of use and the power measurement accuracy of coojasim. The simulator clearly predicts the time taken and power consumption to send a simple message from node A to node B.
In this same way, for our project also. The demo setup consists of a small sensor network and a laptop.
Beside gathering software-based power measurements from the motes, the laptop runs coojasim to simulate the same network.
Click to edit Master subtitle style We visualize the power consumption of both the simulated and the real sensor network, and show that the simulator produces matching results .
19-Mar-2012
THANK YOU
19-Mar-2012
2020