1 / 15

A Heterogeneous Testbed with TinyOS and EmStar

A Heterogeneous Testbed with TinyOS and EmStar. TinyOS Technology Exchange 02/11/05 Martin Lukac – mlukac@cs.ucla.edu Contributors : Lewis Girod, Thanos Stathopoulos, Nithya Ramanathan, Tom Schoellhammer, Ning Xu, Martin Lukac, Richard Guy, Deborah Estrin CENS Systems Lab.

abedi
Download Presentation

A Heterogeneous Testbed with TinyOS and EmStar

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. A Heterogeneous Testbed with TinyOS and EmStar TinyOS Technology Exchange 02/11/05 Martin Lukac – mlukac@cs.ucla.edu Contributors: Lewis Girod, Thanos Stathopoulos, Nithya Ramanathan, Tom Schoellhammer, Ning Xu, Martin Lukac, Richard Guy, Deborah Estrin CENS Systems Lab

  2. Testbeds for Heterogeneous Applications • Real applications are heterogeneous • Scaling beyond 40-50 motes is simpler with tiered architecture of low-power motes and 802.11-enabled microservers • Heterogeneous systems are still complicated • Separately motes and microservers are complex systems • 1 binary on one type of platform is hard enough to debug • Multiple interacting binaries running on several platforms is scary • We are interested in evaluating and debugging: • Motes operating under real RF conditions • Interacting motes and microservers • Coordinated and cooperating microservers

  3. CENS Heterogeneous Testbed 3286 3256N 3256S … 3256 Copy Room 3531 Deborah’s Office … • 39 Nodes – 3rd floor of Boelter Hall • 26 Mica2s on MIB510s • MDA300’s • Connected through serial multiplexers to server

  4. CENS Heterogeneous Testbed 3286 3256N 3256S … 3256 Copy Room 3531 Deborah’s Office … • 13 Stargates with 802.11 • Still have Mica2s with MDA300s • Connected through wired ethernet

  5. Centralized SimulationDeployed Radios Simulation Server Node 1 Node 2 Node 3 Node 4 Node 5 Node 6 Node 7 Node 8 • All application code runs on one server • The server uses the real nodes as network interfaces • Access to all logs • Global view of order of events • Easier measurement Serial Wired Ethernet (Sockets)

  6. Anatomy of a Node EmTOS TinyOS App Node 7 • EmStar • A Framework for simulation, emulation, and deployment of heterogeneous sensor networks • Multi-process architecture. Runs on Linux. • EmTOS • New platform for TinyOS: “make emstar” • Builds a Linux binary from TinyOS code that uses other EmStar services • Fusdnet • Remote access protocol for EmStar services • HostMote • Like serial forwarder: talks to motes over serial • Handles communication between EmTOS and mote • Transceiver (runs on the mote!) • Transmits and receives packets from hostmote and radio Fusdnet Ethernet HostMote Serial Transceiver

  7. Centralized SimulationDeployed Radios EmStar App EmStar App EmTOS EmTOS EmTOS TinyOS App TinyOS App TinyOS App Simulation Server … … HostMote HostMote HostMote Fusdnet Fusdnet Serial Wired Ethernet (Sockets) … … • Collection of tools to script, visualize, and measure running simulation Sample command line to start testbed: $ emrun/emsim ../devel/objecttrack/tabs/track.sim

  8. Validating Simulation Results EmStar App EmStar App EmTOS EmTOS EmTOS TinyOS App TinyOS App TinyOS App Simulation Server … … • Radios run in real time – No virtual clock • Can not do precise timing and hardware interrupts • Testbed provides “Native” mode • Program motes with TinyOS binary (like Motelab) HostMote HostMote HostMote Fusdnet Fusdnet Serial Wired Ethernet (Sockets) … …

  9. Thanks for listening! Questions?

  10. Backup slides are this way

  11. Mote Emulation EmTOS EmTOS EmTOS EmTOS EmTOS TinyOS App TinyOS App TinyOS App TinyOS App TinyOS App Simulation Server … … motenic motenic motenic motenic motenic HostMote HostMote HostMote Fusdnet Fusdnet Serial MUX to Motes Ethernet Switch Stargate Stargate Fusdnet Server Fusdnet Server … … HostMote HostMote Transceiver Transceiver Transceiver Transceiver

  12. Microserver & Mote Emulation EmStar App EmTOS TinyOS App Simulation Server … Ethernet Switch Fusdnet Client Fusdnet Client Stargate Stargate Fusdnet Server Fusdnet Server HostMote udpd … HostMote udpd 802.11 802.11 Transceiver Transceiver

  13. Hybrid Mode Transceiver EssDse Transceiver Transceiver Transceiver EssDse ESS Sink ESS Sink ESS Mote Multihop EssDse Multihop Simulation Server Serial MUX HostMote Serial Protocol Hybrid Mode • Mixture of real and emulated motes • Range of possibilities Dbg Stub Dbg Stub … Microservers Motes

  14. EmSim Modes Pure Simulation Full Logs and Status Emulation Mode Hybrid Mode Visibility Limited “Out Of Band” Status Reports Real Mode Deployment No OOB Status Reality (Runs at scale of emulation array) Pure Sim Deployed

  15. Testbed Supports Native Mode • Emulating motes lack reality • Can’t do precise timing and hardware interrupts • Packet timing • Can’t emulate MAC layer • Testbed provides “Native” mode • Push TinyOS binary to motes (like Motelab) • Can debug over serial line

More Related