Networks of Tiny Devices embedded in the Physical World David Culler Computer Science Division U.C. Berkeley www.cs.berkeley.edu/~culler Intel Research.

Slides:



Advertisements
Similar presentations
A System Architecture for Tiny Networked Devices
Advertisements

Energy-efficient distributed algorithms for wireless ad hoc networks Ramki Gummadi (MIT)
* Distributed Algorithms in Multi-channel Wireless Ad Hoc Networks under the SINR Model Dongxiao Yu Department of Computer Science The University of Hong.
Maximum Battery Life Routing to Support Ubiquitous Mobile Computing in Wireless Ad Hoc Networks By C. K. Toh.
Decentralized Reactive Clustering in Sensor Networks Yingyue Xu April 26, 2015.
Trickle: Code Propagation and Maintenance Neil Patel UC Berkeley David Culler UC Berkeley Scott Shenker UC Berkeley ICSI Philip Levis UC Berkeley.
Sensor Network 教育部資通訊科技人才培育先導型計畫. 1.Introduction General Purpose  A wireless sensor network (WSN) is a wireless network using sensors to cooperatively.
A Transmission Control Scheme for Media Access in Sensor Networks Lee, dooyoung AN lab A.Woo, D.E. Culler Mobicom’01.
Towards a Sensor Network Architecture: Lowering the Waistline Culler et.al. UCB.
1 Next Century Challenges: Scalable Coordination in sensor Networks MOBICOMM (1999) Deborah Estrin, Ramesh Govindan, John Heidemann, Satish Kumar Presented.
Systems Wireless EmBedded Distributed System Design from a Sensor Net Perspective David Culler.
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.
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.
Network Dynamics Deepak Ganesan, Alec Woo, Bhaskar Krishnamachari.
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.
INSENS: Intrusion-Tolerant Routing For Wireless Sensor Networks By: Jing Deng, Richard Han, Shivakant Mishra Presented by: Daryl Lonnon.
Generic Sensor Platform for Networked Sensors Haywood Ho.
A System Architecture for Tiny Networked Devices Jason Hill U.C. Berkeley 9/22/2000.
Finale’ cs294-8 Design of Deeply Networked Systems Spring 2000 David Culler & Randy Katz U.C. Berkeley
Endeavouring to Build Networks of Tiny Devices
1 TinyOS Mohammad Rahimi CSCI599-Spring Motivation  The new class of distributed tiny devices  The new generation of software.
Secure Language-Based Adaptive Service Platform (SLAP) for Large-Scale Embedded Sensor Networks David Culler Eric Brewer Dave Wagner Shankar Sastry Kris.
Sensor Node Architecture Issues Stefan Dulman
Adaptive Self-Configuring Sensor Network Topologies ns-2 simulation & performance analysis Zhenghua Fu Ben Greenstein Petros Zerfos.
TinyOS – Communication and computation at the extremes Jason Hill U.C. Berkeley 1/10/2001.
Networks of Tiny Devices Embedded in the Physical World David Culler Computer Science Division U.C. Berkeley Intel Research.
Ubiquitous Networked Devices David E. Culler Computer Science Division University of California, Berkeley Intel Berkeley XIS Lab.
Convergence at the Extremes – HPDC meets Tiny Networked Sensors David Culler Computer Science Division U.C. Berkeley Intel Berkeley
A Transmission Control Scheme for Media Access in Sensor Networks Alec Woo, David Culler (University of California, Berkeley) Special thanks to Wei Ye.
TOSSIM: Visualizing the Real World Philip Levis, Nelson Lee, Dennis Chi and David Culler UC Berkeley NEST Retreat, January 2003.
Welcome to the WeBS Retreat David Culler Eric Brewer, David Wagner Shankar Sastry, Kris Pister EECS U.C. Berkeley Intel Berkeley
MICA: A Wireless Platform for Deeply Embedded Networks
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.
Dynamic Clustering for Acoustic Target Tracking in Wireless Sensor Network Wei-Peng Chen, Jennifer C. Hou, Lui Sha.
TinyOS By Morgan Leider CS 411 with Mike Rowe with Mike Rowe.
Crowd Management System A presentation by Abhinav Golas Mohit Rajani Nilay Vaish Pulkit Gambhir.
TRICKLE: A Self-Regulating Algorithm for Code Propagation and Maintenance in Wireless Sensor Networks Philip Levis, Neil Patel, Scott Shenker and David.
Extreme Networked Systems: Large Self-Organized Networks of Tiny Wireless Sensors David Culler Computer Science Division U.C. Berkeley Intel
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.
Lan F.Akyildiz,Weilian Su, Erdal Cayirci,and Yogesh sankarasubramaniam IEEE Communications Magazine 2002 Speaker:earl A Survey on Sensor Networks.
SENSOR NETWORKS BY Umesh Shah Mayuresh Patil G P Reddy GUIDES Prof U.B.Desai Prof S.N.Merchant.
College of Engineering Grid-based Coordinated Routing in Wireless Sensor Networks Uttara Sawant Major Advisor : Dr. Robert Akl Department of Computer Science.
REED: Robust, Efficient Filtering and Event Detection in Sensor Networks Daniel Abadi, Samuel Madden, Wolfgang Lindner MIT United States VLDB 2005.
1 REED: Robust, Efficient Filtering and Event Detection in Sensor Networks Daniel Abadi, Samuel Madden, Wolfgang Lindner MIT United States VLDB 2005.
Systems Wireless EmBedded Wireless Sensor Nets Turning the Physical World into Information David Culler Electrical Engineering and Computer Sciences University.
SRL: A Bidirectional Abstraction for Unidirectional Ad Hoc Networks. Venugopalan Ramasubramanian Ranveer Chandra Daniel Mosse.
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.
Main Issues Three major issues that we are concerned with in sensor networks are – Clustering Routing and Security To be considered against the backdrop.
WSN Software Platforms - concepts Vinod Kulathumani Lecture uses some slides from tutorials prepared by authors of these platforms.
Internet of Things. IoT Novel paradigm – Rapidly gaining ground in the wireless scenario Basic idea – Pervasive presence around us a variety of things.
UNIT IV INFRASTRUCTURE ESTABLISHMENT. INTRODUCTION When a sensor network is first activated, various tasks must be performed to establish the necessary.
System Architecture Directions for Networked Sensors.
Wireless Sensor Networks
Software Architecture of Sensors. Hardware - Sensor Nodes Sensing: sensor --a transducer that converts a physical, chemical, or biological parameter into.
MAC Protocols for Sensor Networks
Implementing Context Aware Applications Class 5. Agenda Review of TinyOS execution model Tutorial on TinyOS Code walk through Code quiz Assignment 2.
Medium Access Control. MAC layer covers three functional areas: reliable data delivery access control security.
MAC Protocols for Sensor Networks
TRUST:Team for Research in Ubiquitous Secure Technologies
Trickle: Code Propagation and Maintenance
David Culler Fall 2003 University of California, Berkeley
A Network-Centric Approach to Embedded Software for Tiny Devices
Distributing Queries Over Low Power Sensor Networks
REED : Robust, Efficient Filtering and Event Detection
Presentation transcript:

Networks of Tiny Devices embedded in the Physical World David Culler Computer Science Division U.C. Berkeley Intel Research Berkeley

1/17/2002TinyOS CSTB2 Technology Push Complete network embedded systems going microscopic Processing Storage Sensing Actuation Communication LNA mixer PLL baseband filters I  Q  Power

1/17/2002TinyOS CSTB3 Application Pull Complete NW embedded systems going microscopic Huge space of new applications Circulatory Net Habitat Monitoring Condition-based maintenance Disaster Management Ubiquitous computing Monitoring & Managing Spaces

1/17/2002TinyOS CSTB4 Bridging the Technology-Application Gap Power-aware, communication-centric node architecture Tiny Operating System for Range of Highly- Constrained Application-specific environments Network Architecture for vast, self-organized collections Programming Environments for aggregate applications in a noisy world Distributed Middleware Services (time, trigger, routing, allocation) Techniques for Fine-grain distributed control Demonstration Applications

1/17/2002TinyOS CSTB5 A de facto platform for EmNets Developed a series of wireless sensor devices TinyOS concurrency framework Messaging Model Networking stacks (RF and Serial) Multihop routing Several Key components –sensing, logging, data filters, broadcast Simulation tools DARPA NEST OEP

1/17/2002TinyOS CSTB6 Many Research Groups on board UCB –NEST –SensorWeb –Blackout –Glaser structures –CBE –BFD –BRWC UCLA USC Rutgers winlab Intel Bosch Crossbow U Wash Rutgers UIUC NCSA U Virginia Ohio State UCSD Dartmouth MIT Accenture and soon many more

1/17/2002TinyOS CSTB7 A Operating System for Tiny Devices? Traditional approaches –command processing loop (wait request, act, respond) –monolithic event processing –bring full thread/socket posix regime to platform Alternative –provide framework for concurrency and modularity –never poll, never block –interleaving flows, events, energy management => allow appropriate abstractions to emerge

1/17/2002TinyOS CSTB8 Tiny OS Concepts Scheduler + Graph of Components –constrained two-level scheduling model: threads + events Component: –Commands, –Event Handlers –Frame (storage) –Tasks (concurrency) Constrained Storage Model –frame per component, shared stack, no heap Very lean multithreading Efficient Layering Messaging Component init Power(mode) TX_packet(buf) TX_pack et_done (success ) RX_pack et_done (buffer) Internal State init power(mode) send_msg (addr, type, data) msg_rec(type, data) msg_sen d_done) internal thread Commands Events

1/17/2002TinyOS CSTB9 Application = Graph of Components RFM Radio byte Radio Packet UART Serial Packet ADC Tempphoto Active Messages clocks bit byte packet Route map routersensor appln application HW SW Example: ad hoc, multi-hop routing of photo sensor readings 3450 B code 226 B data Graph of cooperating state machines on shared stack

1/17/2002TinyOS CSTB10 Demonstration applications 29 Palms Cory Hall network –½ million packets over 3 weeks Surge network and environment display 800 node ad hoc network CBE Glaser Shakes Granlibakken retreat watcher Robomote => continued application focus more real and long lived more dynamics extract architecture and create framework

1/17/2002TinyOS CSTB11 Example TinyOS study UAV drops 10 nodes along road, –hot-water pipe insulation for package Nodes self-configure into linear network Synchronize (to 1/32 s) Calibrate magnetometers Each detects passing vehicle Share filtered sensor data with 5 neighbors Each calculates estimated direction & velocity Share results As plane passes by, –joins network –upload as much of missing dataset as possible from each node when in range 7.5 KB of code! While servicing the radio in SW every 50 us!

1/17/2002TinyOS CSTB12 Structural performance due to multi-directional ground motions (Glaser & CalTech). Wiring for traditional structural instrumentation + truckload of equipment Mote infrastructure ` 5` Mote Layout Comparison of Results

1/17/2002TinyOS CSTB13 Cory Energy Monitoring/Mgmt System 50 nodes on 4 th floor 5 level ad hoc net 30 sec sampling 250K samples to database over 6 weeks

1/17/2002TinyOS CSTB14 Energy Monitoring Network Arch sensor net GW control net GW 20-ton chiller PC scada term modbus UCB power monitor net PC telegraph MYSQL Browser

1/17/2002TinyOS CSTB15 Wealth of Research Challenges Large numbers of highly constrained (energy & capability), connected devices –able to be casually deployed in infrastructure (existing or in design) –imperfect operation and reliability –operating in aggregate New family of issues across all the layers application service network system architecture technology mgmt / diag / debug algorithm / theory prog / data model

1/17/2002TinyOS CSTB16 Example: Networking Hands-on Experience with Large Networks of Tiny Network sensors  intense constraints, freedom of abstraction Re-explore entire range of networking issues –encoding, framing, error handling –media access control, transmission rate control –discovery, multihop routing –broadcast, multicast, aggregation –active network capsule (reprogramming) –localization, time synchronization –security, network-wide protection –density independent wake-up and proximity est. Fundamentally new aspects in each

1/17/2002TinyOS CSTB17 Simple Epidemic Algorithm Schema One (multicast) message handler if (new mcast) then take local action retransmit modified request Examples: Network wakeup, command propagation –Build spanning tree »record parent Naturally adapts to available connectivity Minimal state and protocol overhead => surprising complexity in this simple mechanism

1/17/2002TinyOS CSTB18 Network Discovery: Radio Cells

1/17/2002TinyOS CSTB19 Network Discovery

1/17/2002TinyOS CSTB20 Controlled Empirical Study Experimental Setup –13x13 grid of nodes –separation 2ft –flat open surface –Identical length antennas, pointing vertically upwards. –Fresh batteries on all nodes –Identical orientation of all nodes –The region was clean of external noise sources. Range of signal strength settings Log many runs

1/17/2002TinyOS CSTB21 Example “epidemic” tree formation

1/17/2002TinyOS CSTB22 Final Tree

1/17/2002TinyOS CSTB23 Power Laws ? Most nodes have very small degree (ave =.92) Some have degree = 15% of the population Few large clusters account for most of the edges

1/17/2002TinyOS CSTB24 Open Territory => Many Children Example: Level 1

1/17/2002TinyOS CSTB25 Open Territory => Many Children Example: Level 2 – variation in distance

1/17/2002TinyOS CSTB26 Open Territory => Many Children Example: Level 3 – long links

1/17/2002TinyOS CSTB27 Understanding Connectivity 16 transmit power settings For each transmit power setting, each node transmits 20 packets. Receivers log successfully received packets. Nodes transmit one after the other in a token-ring fashion No collisions. Contour plot show probability of reception from center node Define “range” a radius where 75% of enclosed nodes receive 75% of packets Often good nodes at a distance

1/17/2002TinyOS CSTB28 Link symmetry in open environment Asymmetric Link: Greater than 65% successful reception in one direction and less than 25% successful reception in the other direction Symmetric Link: Greater than 65% successful reception in both directions others are “bad” links A -> B B -> A Frequency

1/17/2002TinyOS CSTB29 Importance of Asymmetric Links 10%-25% asymmetric links. Many asymmetric links are long links –|| asymmetric long links|| ~ || symmetric long links || Why are long links useful? –Beacon-based Routing: Long links can be used to build low-depth routing trees –Diffusion: short routing paths Protocol design –When to confirm bidirectionality?

1/17/2002TinyOS CSTB30 Collisions are primary factor Nodes out of range may have overlapping cells –hidden terminal effect Collisions => these nodes hear neither parent and become stragglers As the tree propagates –folds back on itself –rebounds from the edge –picking up these stragglers. This effect was seen in many experiments

1/17/2002TinyOS CSTB31 Stragglers significant fraction of links point ‘backwards’

1/17/2002TinyOS CSTB32 Key Experience Really good at building tinyOS subsystems –non-blocking, split-phase event structures Internalized the “state of constant change” paradigm –ex: maintain routing tree by constantly rebuilding it –soft state that is always suspect –simple one-way protocols Operating in the aggregate Simple mechanisms to accomplish large goals –MAC, ATC Out of the box on networking abstractions –Low-power listen, wake-up, statistical sampling, weighted aggregation Understanding of large scale dynamics

1/17/2002TinyOS CSTB33 Rich set of additional challenges Efficient and robust security primitives Application specific virtual machines Time & space information in every packet Density independent wake-up, aggregation –sensor => can use radio in ‘analog’ mode Resilient aggregators Programming support for systems of generalized state machines Programming the unstructured aggregate –SPMD, Data Parallel, Query Processing, Tuples Understanding how an extreme system is behaving and what is its envelope –adversarial simulation Self-configuring, self-correcting systems

1/17/2002TinyOS CSTB34 The “Law of Miniaturization” Each major generation is increasingly smaller, more deeply interactive, arrives when previous is at its strength Vast majority of computing will be small, embedded, devices connected to the physical world –actually the case today, but –not connected to us, the web, or each other Time Integration Log R Mainframe 99 Innovation Minicomputer Personal Computer Workstation Server