TOSSIM: Visualizing the Real World - PowerPoint PPT Presentation

1 / 16
About This Presentation
Title:

TOSSIM: Visualizing the Real World

Description:

Actuation: affecting a run of Tossim. Changing underlying radio model, ... Actuation and models (sensor and radio) Running TOSSIM entirely through TinyViz ... – PowerPoint PPT presentation

Number of Views:210
Avg rating:3.0/5.0
Slides: 17
Provided by: Pal66
Category:

less

Transcript and Presenter's Notes

Title: TOSSIM: Visualizing the Real World


1
TOSSIM Visualizing the Real World
  • Philip Levis, Nelson Lee, Dennis Chi and David
    Culler
  • UC Berkeley
  • NEST Retreat, January 2003

2
The Problem
  • Your TinyOS application doesnt work
  • Is the network so messy that routing fails?
  • Is there a bug in your routing algorithm?
  • How do you tell the difference?
  • Test TinyOS code
  • Reproducible, controlled experiments
  • Interaction with network
  • Experiment visualization

3
Solution TOSSIM and TinyViz
  • TOSSIM, TinyOS mote simulator
  • Add more realistic radio models to TOSSIM
  • Based on empirical data (Alec Woo)
  • Incorporate tools to generate loss rates
  • TinyViz visualization and actuation tool
  • Customizable for specific applications

4
Outline
  • TOSSIM briefly revisited (Phil)
  • Empirical radio models (Phil)
  • TinyViz architecture (Nelson)
  • Demo (Nelson Phil)

5
TOSSIM
  • TinyOS mote simulator
  • Scales to thousands of nodes
  • Compiles directly from TinyOS source
  • Simulates network at bit level
  • Since last retreat
  • Ported to nesC
  • Radio stack acknowledgements
  • Empirical radio models

6
Empirical Radio Models
  • Based on Alecs data set
  • Extrapolate bit error from packet loss rates
  • Independent bit errors
  • Generate loss graph from physical topologies
  • TOSSIM simulates per-link bit errors

7
Model Strengths and Limits
  • Many loss topologies for a physical topology
  • Repeatable loss rates
  • Asymmetric links
  • Signal strength not considered

8
TinyViz Goals
  • Visualization
  • Sensor readings, leds, radio links
  • Actuation affecting a run of Tossim
  • Changing underlying radio model, sensor readings
  • Extensibility
  • Application specific visualization

9
TinyViz Components
  • Communication subsystem
  • Event bus
  • Synchronization, information passing
  • Plug-ins
  • Drawing, mote options
  • Subscribe to events
  • Send commands
  • Maintain state
  • GUI
  • Drawing, user interaction

10
TinyViz Architecture
Plug-ins
GUI
Event Bus
Communication
Events
SerialForwarder
Drawing
Commands
TOSSIM
11
Visualizing Simulation
Plug-ins
GUI
Event Bus
Communication
SerialForwarder
TOSSIM
12
Actuating Simulation
Plug-ins
GUI
Event Bus
Communication
SerialForwarder
TOSSIM
13
Visualizing Real World
Plug-ins
GUI
Event Bus
Communication
SerialForwarder
14
Demo
  • Surge application Demo
  • Uses ad-hoc routing to send sensor readings back
    to base station
  • Surge Demo consists of
  • TinyOS application
  • SerialForwarder
  • Java application

15
Surge and TOSSIM
  • Compile application for TOSSIM
  • Start TOSSIM
  • Connect TinyViz to TOSSIM
  • Connect SerialForwarder to TOSSIM
  • Connect Surge to SerialForwarder

16
Future Directions
  • Surge implemented in TinyViz (plug-ins)
  • Actuation and models (sensor and radio)
  • Running TOSSIM entirely through TinyViz
Write a Comment
User Comments (0)
About PowerShow.com