A System Architecture for Tiny Networked Devices Jason Hill U.C. Berkeley 9/22/2000.

Slides:



Advertisements
Similar presentations
A System Architecture for Networked Sensors Jason Hill, Robert Szewczyk, Alec Woo, Seth Hollar, David Culler, Kris Pister
Advertisements

How to use TinyOS Jason Hill Rob Szewczyk Alec Woo David Culler An event based execution environment for Networked Sensors.
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
Towards System Architecture for Tiny Networked Devices Jason Hill U.C. Berkeley.
INPUT-OUTPUT ORGANIZATION
WHAT IS AN OPERATING SYSTEM? An interface between users and hardware - an environment "architecture ” Allows convenient usage; hides the tedious stuff.
Overview: Chapter 7  Sensor node platforms must contend with many issues  Energy consumption  Sensing environment  Networking  Real-time constraints.
Towards a Sensor Network Architecture: Lowering the Waistline Culler et.al. UCB.
Chapter 13 Embedded Systems
Crossbow: Smarter Sensors in Silicon Johann Ammerlahn.
System Architecture Directions for Networked Sensors Jason Hill, Rober Szewczyk, Alec Woo, Seth hollar, David Culler & Kristofer Pister Presented by Israel.
Current Proposal: Secure Language-Based Adaptive Service Platform (SLAP) for Large-Scale Embedded Sensor Networks David Culler Eric Brewer Dave Wagner.
Towards System Architecture for Tiny Networked Devices David Culler U.C. Berkeley Wireless hoo-hah 5/30/2000.
System Architecture Directions for Networked Sensors Qiuhua Cao Computer Science Department University of Virginia.
Contiki A Lightweight and Flexible Operating System for Tiny Networked Sensors Presented by: Jeremy Schiff.
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.
Reconfigurable Sensor Networks Chris Elliott Honours in Digital Systems Charles Greif and Nandita Bhattacharjee.
Language Challenges inspired by Networks of Tiny Devices David Culler Computer Science Division U.C. Berkeley Intel Berkeley
Generic Sensor Platform for Networked Sensors Haywood Ho.
Tiny OS Optimistic Lightweight Interrupt Handler Simon Yau Alan Shieh CS252, CS262A, Fall The.
Integrated  -Wireless Communication Platform Jason Hill.
Generic Sensor Platform for Networked Sensors Haywood Ho.
1 TinyOS Mohammad Rahimi CSCI599-Spring Motivation  The new class of distributed tiny devices  The new generation of software.
TinyOS Software Engineering Sensor Networks for the Masses.
2008EECS Embedded Network Programming nesC, TinyOS, Networking, Microcontrollers Jonathan Hui University of California, Berkeley.
TinyOS – Communication and computation at the extremes Jason Hill U.C. Berkeley 1/10/2001.
Introduction to TinyOS. Networking Open Experimental Platform Small microcontroller 8 kB code 512 B data Simple, low-power radio 10 kbps ASK EEPROM (32.
1 EE249 Discussion System Architecture Directions for Networked Sensors (J. Hill, et al) Presented By: Sarah Bergbreiter EE249 Discussion Section October.
Intel ® Research mote Ralph Kling Intel Corporation Research Santa Clara, CA.
Philip Levis UC Berkeley 6/17/20021 Maté: A Tiny Virtual Machine Viral Programs with a Certain Cosmopolitan Charm.
Source : System Architecture Directions or Networked Sensors - Jason Hill, Robert Szewcyk, Alec Woo, Seth Hollar, David Culler, Kristofer Pister The Mica.
1 Energy Efficient Communication in Wireless Sensor Networks Yingyue Xu 8/14/2015.
INPUT-OUTPUT ORGANIZATION
RaPTEX: Rapid Prototyping of Embedded Communication Systems Dr. Alex Dean & Dr. Mihai Sichitiu (ECE) Dr. Tom Wolcott (MEAS) Motivation  Existing work.
Spring 2000, 4/27/00 Power evaluation of SmartDust remote sensors CS 252 Project Presentation Robert Szewczyk Andras Ferencz.
MICA: A Wireless Platform for Deeply Embedded Networks
ECE 526 – Network Processing Systems Design Network Processor Architecture and Scalability Chapter 13,14: D. E. Comer.
A System Architecture for Networked Sensors Jason Hill, Robert Szewczyk, Alec Woo, Seth Hollar, David Culler, Kris Pister
A Transmission Control Scheme for Media Access in Sensor Networks Alec Woo and David Culler University of California at Berkeley Intel Research ACM SIGMOBILE.
1 System Architecture Directions for Networked Sensors (TinyOS & Mica2) Presented by Jang Young, Kim (Chris)
April 15, 2005TinyOS: A Component Based OSPage 1 of 27 TinyOS A Component-Based Operating System for Networked Embedded Systems Tom Bush Graduate College.
TinyOS By Morgan Leider CS 411 with Mike Rowe with Mike Rowe.
CHAPTER 3 TOP LEVEL VIEW OF COMPUTER FUNCTION AND INTERCONNECTION
Mate: A Tiny Virtual Machine for Sensor Networks Philip Levis and David Culler Presented by: Damon Jo.
Extreme Networked Systems: Large Self-Organized Networks of Tiny Wireless Sensors David Culler Computer Science Division U.C. Berkeley Intel
Component-Based Development of Networked Embedded Applications Peter Volgyesi and Akos Ledeczi Institute for Software Integrated Systems, Vanderbilt University.
Overview of: System Architecture Directions for Networked Sensors John Kerwin CSE 291 Sensor Networks Paper by: Jason Hill, Robert Szewczyk, Alec Woo,
Dhanshree Nimje Smita Khartad
System Architecture Directions for Networked Sensors Jason Hill, Robert Szewczyk, Alec Woo, Seth Hollar, David Culler, Kris Pister Presented by Yang Zhao.
System Architecture of Sensor Network Processors Alan Pilecki.
Nano-RK: An Energy-Aware Resource Centric RTOS for Sensor Networks Anand Eswaran, Anthony Rowe and Raj Rajkumar Presented by: Ravi Ramaseshan.
Energy conservation in Wireless Sensor Networks Sagnik Bhattacharya, Tarek Abdelzaher University of Virginia, Department of Computer Science School of.
System Architecture Directions for Networked Sensors Jason Hill, Robert Szewczyk, Alec Woo, Seth Hollar, David Culler, Kris Pister Presenter: James.
Xiong Junjie Node-level debugging based on finite state machine in wireless sensor networks.
WSN Software Platforms - concepts Vinod Kulathumani Lecture uses some slides from tutorials prepared by authors of these platforms.
Centroute, Tenet and EmStar: Development and Integration Karen Chandler Centre for Embedded Network Systems University of California, Los Angeles.
Active Message Application: CONNECT Presented by Xiaozhou David Zhu Oommen Regi July 6, 2001.
Autonomous prototype sensors (motes) 4 MHz, 8bit MCU, 4 KB RAM, 8KB ROM short-range (1-10ft.) radio light and other sensors LED and serial port outputs.
System Architecture Directions for Networked Sensors.
Why does it need? [USN] ( 주 ) 한백전자 Background Wireless Sensor Network (WSN)  Relationship between Sensor and WSN Individual sensors are very limited.
Software Architecture of Sensors. Hardware - Sensor Nodes Sensing: sensor --a transducer that converts a physical, chemical, or biological parameter into.
- Pritam Kumat - TE(2) 1.  Introduction  Architecture  Routing Techniques  Node Components  Hardware Specification  Application 2.
Implementing Context Aware Applications Class 5. Agenda Review of TinyOS execution model Tutorial on TinyOS Code walk through Code quiz Assignment 2.
Operating System for Sensor Network
Ting Liu Christopher M. Sadler Pei Zhang Margaret Martonosi
Overview A System Architecture for Tiny Networked Devices
TinyOS CSE466 Final Project Presentation
Modeling Event-Based Systems in Ptolemy II EE249 Project Status Report
Presentation transcript:

A System Architecture for Tiny Networked Devices Jason Hill U.C. Berkeley 9/22/2000

Goals: To develop an ultra low power networked sensor platform, including hardware and software, that enables low-cost deployment of sensor networks. To be a system level bridge that combines advances in low power RF technology with MEMS transducer technology.

Key Characteristics of TNDs Small physical size and low power consumption => Limited Physical Parallelism and Controller Hierarchy => primitive direct-to-device interface Concurrency-intensive operation flow-thru, not wait-command-respond => must handle multiple inputs and outputs simultaneously Diverse in Design and Usage application specific, not general purpose huge device variation => efficient modularity => migration across HW/SW boundary Largely Unattended & Numerous => robust operation => narrow interfaces

‘Mote’–The Hardware 4Mhz, 8bit MCU (ATMEL) 512 bytes RAM, 8K ROM 900Mhz Radio (RF Monolithics) ft. range Temperature Sensor Light Sensor LED outputs Serial Port COTS Dust weC Mote

Second Generation ‘Mote’ Two Board Sandwich Main CPU board with Radio Communication Secondary Sensor Board Allows for expansion and customization Current sensors include: Acceleration, Magnetic Field, Temperature, Pressure, Humidity, Light, and RF Signal Strength. Can control RF transmission strength & Sense Reception Strength

Tiny OS – The Software Provides a component based model abstracting hardware specifics from application programmer. Capable of maintaining high levels of concurrency. Allows multiple applications to be “running.” Services Provided Include: RF messaging protocols. Periodic Timer Events. Asynchronous access to UART data transfers. Mechanism for Static, Persistent Storage. Can “Swap Out” system components to get necessary functionality. Complete applications fit in 4KB of ROM and 256B RAM.

Tiny OS Internals Scheduler and Graph of Components constrained two-level scheduling model: tasks + events Component: Frame (storage) Tasks (concurrency) Commands, and Handlers (events) Constrained Storage Model frame per component, shared stack, no heap Very lean multithreading Layering components issue commands to lower-level components event signal high-level events, or call lower-level commands Guarantees no cycles in call chain

TOS Component Messaging Component init Power(mode) TX_packet(buf) TX_packet _done (success) RX_packet_ done (buffer) Internal State init power(mode) send_msg(ad dr, type, data) msg_rec(type, data) msg_send_ done (success) send_msg_thread /* Messaging Component Declaration */ //ACCEPTS: char TOS_COMMAND(AM_SEND_MSG)(char addr,char type, char* data); void TOS_COMMAND(AM_POWER)(char mode); char TOS_COMMAND(AM_INIT)(); //SIGNALS: char AM_MSG_REC(char type, char* data); char AM_MSG_SEND_DONE(char success); //HANDLES: char AM_TX_PACKET_DONE(char success); char AM_RX_PACKET_DONE(char* packet); //USES: char TOS_COMMAND(AM_SUB_TX_PACKET)(char* data); void TOS_COMMAND(AM_SUB_POWER)(char mode); char TOS_COMMAND(AM_SUB_INIT)(); CommandsEvents

Composition to Complete Application RFM Radio byte Radio Packet UART Serial Packet i2c Temp photo Active Messages clocks bit byte packet Route map routersensor appln application HW SW

Programming with CAD Can assemble overall system using structural VHDL Scripts pre-process VHDL at compile time Allows for compile time resolution of event handlers Eliminates need for registration mechanisms and dynamic dispatch Automatically allows events to be handled by multiple components. (TX_Done) Significantly more flexibility than library based component models

Event Based Programming Model System composed of state machines Each State Machine is a TinyOS “component” Command and event handlers transition a component from one state to another Quick, low overhead, non-blocking state transmissions Allows many independent components to share a single execution context Emerging as design paradigm for large scale systems “Tasks” are used to perform computational work Run to completion, Atomic with respect to each other

Dynamics of Events and Threads Message Send Transition Timing diagram of event propagation

Empirical Breakdown of Effort can take apart time, power, space, … 50 cycle thread overhead, 10 cycle event overhead Components Packet reception work breakdown Percent CPU UtilizationEnergy (nj/Bit) AM 0.05%0.20%0.33 Packet 1.12%0.51%7.58 Ratio handler 26.87%12.16% Radio decode thread 5.48%2.48%37.2 RFM 66.48%30.08% Radio Reception Idle-54.75%- Total %

Migration of the Hardware Software Boundary TinyOS component model propagates hardware abstractions into software. Allows for a migrations of software components into hardware: Example: Bit level radio procession component could be implemented as specialized FIFO with complex pattern matching.

Storage Breakdown (C Code) 3450 B code 226 B data

Multi-Hop Routing Demo Sensors automatically assemble and determine routing topology Parallel Breadth First Search Shortest path to all nodes remembered Base station broadcasts out routing information Individuals listen for and propagate route update N messages sent Generational scheme to prevent cycles in routing table Base

Demo (cont.) Sensor information propagated up routing tree Statistics kept for number of readings received and number of packets forwarded by each node Sensors transmit data when “significant” events occur or when time limit is exceeded Must be continuously listening for packets to be forwarded – impacts power considerations

Future Goals: Short Term Deploy sensor net for week long trials Target Civil Engineering’s and The Center For the Built Environment’s needs for a real world deployment. Determine algorithms for aggregation and analysis of data inside the network. Support applications where data is “picked up” by roaming data collection nodes. Long Term Deploy networks of 1000s of nodes Year long, unattended deployments