superb-it center for hybrid and embedded software systems college of engineering, uc berkeley ...

1
SUPERB-IT Center for Hybrid and Embedded Software Systems COLLEGE OF ENGINEERING, UC BERKELEY http://chess.eecs.berkeley.edu/superb/ August 4, 2006 SUPERB-IT Final Poster Session Faculty Mentors: S. Sastry & J. Sprinkle Multihop Routing Simulation of TinyOS-based Wireless Sensor Networks in Viptos Heather Taylor, University of Vermont Graduate Mentor: Elaine Cheong Contributions: Contributions: •Addition made to Viptos code to allow visualization of communication between motes. •Creation of crucial tool for development and research of wireless sensor networks. Process: Process: •Explore physical demo of multihop networks •Explore simulated demo of multihop networks •Create an entity which analyzes the packets sent between motes and draws a line between them. •Create a demo in Viptos similar to existing physical and simulated demos. Abstract: Abstract: Wireless Sensor Networks are a burgeoning area of research and application in embedded systems. The purpose of this project is to understand and further develop Viptos, a TinyOS simulator, by adding the capacity to display radio communication links. A key piece of the TinyOS simulator is the ability to simulate a network topology. Viptos extends these capabilities to allow simulation of heterogeneous networks. In addition the ability to analyze routing algorithms is essential for research and the development of wireless sensor networks. Visualization of communication between nodes is fundamental to this goal. Discussion: Discussion: •Simulation of wireless sensor networks can be easily enhanced by including visual link entity. •Expands on concept of visual links between communicating nodes with use of Viptos heterogeneous network capability. For More Information: For More Information: •Viptos: http://ptolemy.berkeley.edu/viptos/ •Ptolemy: http://ptolemy.eecs.berkeley.edu/ptolemyII/ •TinyOS: http://www.tinyos.net/ Live Surge demo using serial forwarder & java GUI Simulated Surge demo using TOSSIM & TinyViz Mica2 Mote with sensor board attached Mica2 Programming Board •An interface between TinyOS and Ptolemy II •Integrated graphical development and simulation environment. •Allows users to construct block and arrow diagrams to create TinyOS programs •Modeling and simulation environment for embedded systems. •Has a graphical user interface called Vergil •A component-based, event- driven runtime environment designed for wireless sensor networks Surge Demo Surge Demo •Motes are given ID numbers •Base mote ID set to 0 •Motes retain information on their parent mote & depth within the tree •At regular intervals motes update parent & depth if needed Location senderLocation = (Location)sender.getContainer().getAttribute("_loca tion"); Location destinationLocation = (Location)destination.getContainer().getAttribute(" _location“); double y = (destinationLocation.getLocation())[1] – (senderLocation.getLocation()) [1]; double x = (destinationLocation.getLocation())[0] – (senderLocation.getLocation()) [0]; String moml = "<property name=\"_senderDestLine\" class=\"ptolemy.vergil.kernel.attributes.LineAttrib ute\">" + senderLocation.exportMoML() . . . + "</property>"; ChangeRequest request = new MoMLChangeRequest(this, getContainer(), moml); Ptolemy II

Post on 20-Dec-2015

212 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: SUPERB-IT Center for Hybrid and Embedded Software Systems COLLEGE OF ENGINEERING, UC BERKELEY  August 4, 2006 SUPERB-IT

SUPERB-ITCenter for Hybrid and Embedded Software SystemsCenter for Hybrid and Embedded Software Systems

COLLEGE OF ENGINEERING, UC BERKELEYhttp://chess.eecs.berkeley.edu/superb/

August 4, 2006

SUPERB-IT Final Poster SessionFaculty Mentors: S. Sastry & J. Sprinkle

Multihop Routing Simulation of TinyOS-basedWireless Sensor Networks in Viptos

Heather Taylor, University of Vermont Graduate Mentor: Elaine Cheong

Contributions:Contributions:

•Addition made to Viptos code to allow visualization of communication between motes.

•Creation of crucial tool for development and research of wireless sensor networks.

Process:Process:

•Explore physical demo of multihop networks

•Explore simulated demo of multihop networks

•Create an entity which analyzes the packets sent between motes and draws a line between them.

•Create a demo in Viptos similar to existing physical and simulated demos.

Abstract:Abstract:

Wireless Sensor Networks are a burgeoning area of research and application in embedded systems. The purpose of this project is to understand and further develop Viptos, a TinyOS simulator, by adding the capacity to display radio communication links. A key piece of the TinyOS simulator is the ability to simulate a network topology. Viptos extends these capabilities to allow simulation of heterogeneous networks. In addition the ability to analyze routing algorithms is essential for research and the development of wireless sensor networks. Visualization of communication between nodes is fundamental to this goal.

Discussion:Discussion:

•Simulation of wireless sensor networks can be easily enhanced by including visual link entity.

•Expands on concept of visual links between communicating nodes with use of Viptos heterogeneous network capability.

For More Information:For More Information:

•Viptos: http://ptolemy.berkeley.edu/viptos/

•Ptolemy: http://ptolemy.eecs.berkeley.edu/ptolemyII/

•TinyOS: http://www.tinyos.net/

Live Surge demo using serial forwarder & java GUI

Simulated Surge demo using TOSSIM & TinyViz

Mica2 Mote with sensor board attached Mica2 Programming Board

•An interface between TinyOS and Ptolemy II

•Integrated graphical development and simulation environment.

•Allows users to construct block and arrow diagrams to create TinyOS programs

•Modeling and simulation environment for embedded systems.

•Has a graphical user interface called Vergil

•A component-based, event-driven runtime environment designed for wireless sensor networks

Surge DemoSurge Demo

•Motes are given ID numbers

•Base mote ID set to 0

•Motes retain information on their parent mote & depth within the tree

•At regular intervals motes update parent & depth if needed

Location senderLocation = (Location)sender.getContainer().getAttribute("_location");

Location destinationLocation = (Location)destination.getContainer().getAttribute("_location“);

double y = (destinationLocation.getLocation())[1] – (senderLocation.getLocation())[1];double x = (destinationLocation.getLocation())[0] – (senderLocation.getLocation())[0];

String moml = "<property name=\"_senderDestLine\" class=\"ptolemy.vergil.kernel.attributes.LineAttribute\">" + senderLocation.exportMoML() . . . + "</property>";ChangeRequest request = new MoMLChangeRequest(this, getContainer(), moml);

Ptolemy II