Download presentation
Presentation is loading. Please wait.
Published byJoseph Lindsay Modified over 11 years ago
1
A Heterogeneous Testbed with TinyOS and EmStar TinyOS Technology Exchange 02/11/05 Martin Lukac – mlukac@cs.ucla.edumlukac@cs.ucla.edu Contributors : Lewis Girod, Thanos Stathopoulos, Nithya Ramanathan, Tom Schoellhammer, Ning Xu, Martin Lukac, Richard Guy, Deborah Estrin CENS Systems Lab
2
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
3 … … 3286 3256S3256N 3256 Copy Room 3531 Deborahs Office CENS Heterogeneous Testbed 39 Nodes – 3 rd floor of Boelter Hall 26 Mica2s on MIB510s –MDA300s Connected through serial multiplexers to server
4
4 … … 3286 3256S3256N 3256 Copy Room 3531 Deborahs Office CENS Heterogeneous Testbed 13 Stargates with 802.11 –Still have Mica2s with MDA300s Connected through wired ethernet
5
5 Centralized Simulation Deployed Radios 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 Node 1 Simulation Server Serial Wired Ethernet (Sockets) Node 2Node 3Node 4Node 5Node 6Node 7Node 8
6
6 Node 7 Anatomy of a Node 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 Serial Fusdnet EmTOS TinyOS App Transceiver HostMote Ethernet
7
7 Centralized Simulation Deployed Radios … HostMote EmTOS TinyOS App Simulation Server EmTOS TinyOS App EmTOS TinyOS App Fusdnet … … … HostMote Serial Wired Ethernet (Sockets) Fusdnet EmStar App Sample command line to start testbed: $ emrun/emsim../devel/objecttrack/tabs/track.sim Collection of tools to script, visualize, and measure running simulation
8
8 Validating Simulation Results … HostMote EmTOS TinyOS App Simulation Server EmTOS TinyOS App EmTOS TinyOS App Fusdnet … … … HostMote Serial Wired Ethernet (Sockets) Fusdnet EmStar App 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)
9
9 Questions? Thanks for listening!
10
10 Backup slides are this way
11
11 Mote Emulation … HostMote EmTOS TinyOS App Simulation Server EmTOS TinyOS App EmTOS TinyOS App motenic Fusdnet Serial MUX to Motes Ethernet Switch … EmTOS TinyOS App EmTOS TinyOS App motenic Stargate Fusdnet Server HostMote Transceiver Stargate Fusdnet Server HostMote Transceiver … … HostMote Fusdnet
12
12 Microserver & Mote Emulation Simulation Server Fusdnet Client Ethernet Switch … Stargate Fusdnet Server HostMote Transceiver … udpd 802.11 Stargate Fusdnet Server HostMote Transceiver udpd 802.11 EmTOS TinyOS App EmStar App Fusdnet Client
13
13 Hybrid Mode Dbg Stub ESS Sink Multihop Dbg Stub … ESS Sink Multihop HostMote Serial Protocol MotesMicroservers Simulation Server Serial MUX Hybrid Mode Mixture of real and emulated motes Range of possibilities EssDseTransceiver EssDseTransceiver ESS Mote EssDse
14
14 (Runs at scale of emulation array) EmSim Modes Reality Deployment Pure Simulation Emulation Mode Hybrid Mode Real Mode Full Logs and Status Limited Out Of Band Status Reports Visibility No OOB Status Deployed Pure Sim
15
15 Testbed Supports Native Mode Emulating motes lack reality –Cant do precise timing and hardware interrupts –Packet timing –Cant emulate MAC layer Testbed provides Native mode –Push TinyOS binary to motes (like Motelab) –Can debug over serial line
Similar presentations
© 2024 SlidePlayer.com. Inc.
All rights reserved.