Ting Liu Christopher M. Sadler Pei Zhang Margaret Martonosi

Slides:



Advertisements
Similar presentations
How to use TinyOS Jason Hill Rob Szewczyk Alec Woo David Culler An event based execution environment for Networked Sensors.
Advertisements

Phil Buonadonna, Jason Hill CS-268, Spring 2000 MOTE Active Messages Communication Architectures for Networked Mini-Devices Networked sub-devicesActive.
A System Architecture for Tiny Networked Devices
IEEE INFOCOM 2004 MultiNet: Connecting to Multiple IEEE Networks Using a Single Wireless Card.
A 2 -MAC: An Adaptive, Anycast MAC Protocol for Wireless Sensor Networks Hwee-Xian TAN and Mun Choon CHAN Department of Computer Science, School of Computing.
CS 443 Advanced OS Fabián E. Bustamante, Spring 2005 Implementing Software on Resource-Constrained Mobile Sensors: Experiences with Impala and ZebraNet.
Decentralized Reactive Clustering in Sensor Networks Yingyue Xu April 26, 2015.
Impala: A Middleware System for Managing Autonomic, Parallel Sensor Systems Ting Liu and Margaret Martonosi Princeton University.
Overview: Chapter 7  Sensor node platforms must contend with many issues  Energy consumption  Sensing environment  Networking  Real-time constraints.
Improving TCP Performance over Mobile Ad Hoc Networks by Exploiting Cross- Layer Information Awareness Xin Yu Department Of Computer Science New York University,
PERFORMANCE MEASUREMENTS OF WIRELESS SENSOR NETWORKS Gizem ERDOĞAN.
Investigating Mac Power Consumption in Wireless Sensor Network
An Energy-Efficient MAC Protocol for Wireless Sensor Networks
Mica: A Wireless Platform for Deeply Embedded Networks Jason Hill and David Culler Presented by Arsalan Tavakoli.
Jason Hill, Robert Szewczyk, Alec Woo Spring 2000 TinyOS Operating System for Networked Sensors Networked SensorsSystem Structure Composing Components.
1: Operating Systems Overview
Generic Sensor Platform for Networked Sensors Haywood Ho.
Integrated  -Wireless Communication Platform Jason Hill.
A Survey of Energy efficient Network Protocols for Wireless Networks Presentation by – Sanjay Acharya Course – CS 898T Instructor – Dr. Chin-Chih Chang.
Generic Sensor Platform for Networked Sensors Haywood Ho.
Implementing Software on Resource- Constrained Mobile Sensors: Experience with Impala and ZebraNet Ting Liu Christopher M. Sadler Pei Zhang Margaret Martonosi.
1 TinyOS Mohammad Rahimi CSCI599-Spring Motivation  The new class of distributed tiny devices  The new generation of software.
Data Compression Algorithms for Energy-Constrained Devices in Delay Tolerant Networks Christopher Sadler Margaret Martonosi Princeton University.
Energy-Efficient Design Some design issues in each protocol layer Design options for each layer in the protocol stack.
Hardware Design Experiences in ZebraNet [ZSLM04] - Princeton University Sensys ‘04 Presented By: Jay Taneja.
A Framework for Patient Monitoring A. L. Praveen Aroul, William Walker, Dinesh Bhatia Department of Electrical Engineering University of Texas at Dallas.
Introduction to TinyOS. Networking Open Experimental Platform Small microcontroller 8 kB code 512 B data Simple, low-power radio 10 kbps ASK EEPROM (32.
Versatile low power media access for wireless sensor networks Joseph PolastreJason HillDavid Culler Computer Science Department University of California,Berkeley.
TCP: Software for Reliable Communication. Spring 2002Computer Networks Applications Internet: a Collection of Disparate Networks Different goals: Speed,
1 Energy Efficient Communication in Wireless Sensor Networks Yingyue Xu 8/14/2015.
Spring 2000, 4/27/00 Power evaluation of SmartDust remote sensors CS 252 Project Presentation Robert Szewczyk Andras Ferencz.
Presenter: Abhishek Gupta Dept. of Electrical and Computer Engineering
AUTOMATIC ROOM LIGHT CONTROLLER WITH BIDIRECTIONAL VISITOR COUNTER
A System Architecture for Networked Sensors Jason Hill, Robert Szewczyk, Alec Woo, Seth Hollar, David Culler, Kris Pister
1 An Adaptive Energy-Efficient MAC Protocol for Wireless Sensor Networks The First ACM Conference on Embedded Networked Sensor Systems (SenSys 2003) November.
ZebraNet Hardware Design Experiences in ZebraNet Presented by Zuhal Tepecik.
Low-Power Wireless Sensor Networks
Mohamed Hefeeda 1 School of Computing Science Simon Fraser University, Canada Video Streaming over Cooperative Wireless Networks Mohamed Hefeeda (Joint.
Why Visual Sensor Network & SMAC Implementation Group Presentation Raghul Gunasekaran.
Work in Progress for Wireless Sensor Networks Yonghe Liu Dept. of Computer Science and Engineering The University of Texas at Arlington.
System Architecture Directions for Networked Sensors Jason Hill, Robert Szewczyk, Alec Woo, Seth Hollar, David Culler, Kris Pister Presented by Yang Zhao.
Lan F.Akyildiz,Weilian Su, Erdal Cayirci,and Yogesh sankarasubramaniam IEEE Communications Magazine 2002 Speaker:earl A Survey on Sensor Networks.
1 Introduction to Wireless Sensor Networks and its H/W Design Experiences Paper from: P. Zhang, C. Sadler, S. Lyon, and M. Martonosi, “ Hardware Design.
System Architecture of Sensor Network Processors Alan Pilecki.
Data Logging Solution for Digital Signal Processors Brian Newberry Nekton Research, Inc. James M. Conrad University of North.
Presenter: Abhishek Gupta Dept. of Electrical and Computer Engineering
Minimizing Energy Consumption in Sensor Networks Using a Wakeup Radio Matthew J. Miller and Nitin H. Vaidya IEEE WCNC March 25, 2004.
ATtiny23131 A SEMINAR ON AVR MICROCONTROLLER ATtiny2313.
System Architecture Directions for Networked Sensors Jason Hill, Robert Szewczyk, Alec Woo, Seth Hollar, David Culler, Kris Pister Presenter: James.
Design Constraint Presentation Team 5: Sports Telemetry Device.
Software Architecture of Sensors. Hardware - Sensor Nodes Sensing: sensor --a transducer that converts a physical, chemical, or biological parameter into.
Protocols and layering Network protocols and software Layered protocol suites The OSI 7 layer model Common network design issues and solutions.
Introduction to Operating Systems Concepts
INTRODUCTION TO WIRELESS SENSOR NETWORKS
Sensor Networks Katia Obraczka Winter 2005 MAC II
TrueTime.
Wayne Wolf Dept. of EE Princeton University
ECE 544 Protocol Design Project 2016
Understanding the OSI Reference Model
Ultra-Low Duty Cycle MAC with Scheduled Channel Polling
Bluetooth Based Smart Sensor Network
Energy-Efficient Computing for Wildlife Tracking
Department of Computer Science Southern Illinois University Carbondale CS441-Mobile & Wireless Computing IEEE Standard.
CS 501: Software Engineering Fall 1999
PRESENTATION COMPUTER NETWORKS
University of Houston Datacom II Lecture 1B Review Dr Fred L Zellner
Manual Robotics ..
Investigating Mac Power Consumption in Wireless Sensor Network
REED : Robust, Efficient Filtering and Event Detection
Computer Networking A Top-Down Approach Featuring the Internet
Presentation transcript:

Implementing Software on Resource-Constrained Mobile Sensors: Experience with Impala and ZebraNet Ting Liu Christopher M. Sadler Pei Zhang Margaret Martonosi Depts. Of Electrical Engineering and Computer Science Princeton University

ZebraNet: Fusing Mobile Computing and Sensor Systems Tracking node with CPU, FLASH, radio and GPS Data Store-and-forward communications Data Base station (car or plane) Data Data Sensor Network Attributes ZebraNet Other Sensor Networks Node mobility Highly mobile Static or moderate mobile Communication range Miles Meters Sensing frequency Constant sensing Sporadic sensing Sensing device power Hundreds of mW Tens of mW

Software Design Rationales Question One: System Layering Single Software System Hardware Impala Applications Middle ground Layer 6 Layer 5 Layer 4 Layer 3 Layer 2 Layer 1 Monolithic approach: Layered approach: Software modularity Layering overhead

Software Design Rationales Question Two: Middleware Weight Applications Hardware Impala Applications Middle ground Applications Super-middleware Mini-Middleware Hardware Hardware Limited services: Overloaded services: application simplicity Middleware overhead

Impala Overview Application modularity, simplicity, adaptivity and repairability Adapter Updater Operation Scheduler Event Filter Network Support Software adaptation for sensor network performance Software update for sensor network deployment Operation scheduling for regular operations Event handling for irregular events Network support for sensor network communications

This Paper Application modularity, simplicity, adaptivity and repairability Adapter Updater Operation Scheduler Event Filter Network Support PPoPP 2003: This Paper: Adaptation and update Operation, event, network Prototyped on iPAQs Implemented on ZebraNet node

Roadmap Hardware design and constraints Problem 1: Complex hardware realities Solution: Layers and interfaces Problem 2: Miscellaneous system activities Solution: Operation scheduling and event handling Problem 3: Special communication needs Solution: Messages models Problem 4: Limited communication resources Solution: Networking strategies Conclusions

Hardware Design and Constraints Microcontroller TI MSP430F149 16-bit RISC 2KB RAM 60KB ROM 8MHz/32KHz dual clock FLASH ATMEL AT45DB041B 4Mbit 78 days data capacity GPS µ-blox GPS-MS1E 10-20s position fix time Radio MaxStream 9Xstream 902-928MHz 19.2Kbps over-the-air 0.5-1mile transmit range Power supplies SPI 667Kbps USART 38.4Kbps Solar modules 5V 3.3V Charging circuits Power Measurement (4.0V applied) System Mode Power CPU at 32KHz 9.6 mW CPU at 8MHz 19.32 mW 8MHz w/ GPS 568 mW 8MHz w/ radio transmit 780 mW 8MHz w/ radio receive 312.4 mW Memory constraint Energy constraint Device access constraint Radio packet size constraint GPS sensing time constraint FLASH storage constraint

Problem 1: Complex Hardware Realities Solution: Layers and Interfaces Radio GPS FLASH Timer CPU WDT Access and Control to All Devices Application 1 Application 2 Application 3 Application 4 GPS Data Event Radio Packet Event Timer Event Asynchronous Network Transmission Protected FLASH Access Application Timer Control GPS Data Event Handler Application Timer Event Handler Network Packet Event Handler Network Send Done Event Handler System Clock Time Read Adapter Updater Network Support Operation Scheduler Event Filter

Memory Footprint of Impala Layers

Problem 2: Misc System Activities Solution: Regular Operation Scheduling GPS-aided operation synchronization Prohibited simultaneous device operations Non-trivial radio wake-up time Potentially long GPS sensing time Stringent energy budget 1 2 4 5 7 8 3 6 Networking Period GPS Sensing Period Sleep Period 1 CPU wake up/Radio, FLASH power on 5 GPS power on 2 Radio transmitting / receiving start 6 GPS sensing time 3 Network communication time 7 GPS power off / FLASH power on 4 Radio power off/FLASH power off 8 CPU sleep / FLASH power off

Operation Scheduling Overhead Scheduling Type Impala Activity Time (cycles) CPU Scheduling To put CPU on the full-speed clock 3127 To put CPU on the slow clock 38 Radio and FLASH Scheduling To set up the first transmission time and turn on radio and FLASH 50 ms To set up the next transmission time 260 To set up the network cleanup time 265 To clean up incomplete network messages, power off radio and FLASH, and set up the next networking period 11 ms GPS Scheduling To initiate GPS sensing and set up its finish time 1247 To format GPS data, power off GPS, signal an GPS data event, and set up the next GPS sensing period 2550

Short / atomic hardware interrupts Long / preemptive software events Problem 2: Misc System Activities Solution (cont.): Handling Irregular Events Issue One: Event Abstraction Issue Two: Concurrency Abstract Application Events Short / atomic hardware interrupts Impala Idle Long / preemptive software events Miscellaneous Hardware Interrupts Issue Three: Event Prioritization High Priority Events Event Handler Event Signaler Low Priority Events

Problem 3: Special Communication Needs Solution: Message Models and Sessions Peer discovery or data 1 to 32KB One, more or unlimited destinations Data from FLASH or RAM Acknowledgment or not Connectionless Asynchronous Sensor data ACK Reliable Unicast Sensor Sensor data data ACK Unreliable Broadcast Reliable Multicast

Problem 4: Limited Comm Resources Solution: Unified MAC &Transport Control MAC: round-robin timeslots (w/ GPS-aided time synchronization) Transport control: detect packet loss and retransmit Unified: reduce data copy and overhead across protocol layers B acks packet 1-8 C acks packet 1-4 D silent B acks packet 1-8 C acks packet 1-4 D acks packet 1-8 B acks packet 9-16 C acks packet 1-4 D acks packet 9-16 A B C D A B C D A B C D A sends packet 1-8 to B, C, and D A sends packet 1-8 A gives up C and sends packet 9-16

ZebraNet Status and Next Steps January, 2004: 7 test collars deployed on zebras in Kenya. First data received: 1/19/2004 Next Steps Refine collar design; switch to lower-energy GPS, merge Impala software update code into final collars

Conclusions Propose and implement Impala middleware model Solutions for hardware constraints and app req Concrete experience with real system and application Applications Simple layering and rich services Impala Hardware