Power and Control in Networked Sensors E. Jason Riedy and Robert Szewczyk Presenter: Fayun Luo.

Slides:



Advertisements
Similar presentations
ENERGY-EFFICIENT ALGORITHMS INTRODUCTION TO DETERMINISTIC ONLINE POWER-DOWN ALGORITHMS Len Matsuyama CS 695.
Advertisements

Courseware Scheduling of Distributed Real-Time Systems Jan Madsen Informatics and Mathematical Modelling Technical University of Denmark Richard Petersens.
Transmission Power Control in Wireless Sensor Networks CS577 Project by Andrew Keating 1.
Decentralized Reactive Clustering in Sensor Networks Yingyue Xu April 26, 2015.
Overview: Chapter 7  Sensor node platforms must contend with many issues  Energy consumption  Sensing environment  Networking  Real-time constraints.
PERFORMANCE MEASUREMENTS OF WIRELESS SENSOR NETWORKS Gizem ERDOĞAN.
Topic 3: Sensor Networks and RFIDs Part 2 Instructor: Randall Berry Northwestern University MITP 491: Selected Topics.
Eliminating Stack Overflow by Abstract Interpretation John Regehr Alastair Reid Kirk Webb University of Utah.
How to Code on TinyOS Xufei Mao Advisor: Dr. Xiang-yang Li CS Dept. IIT.
Jason Hill, Robert Szewczyk, Alec Woo Spring 2000 TinyOS Operating System for Networked Sensors Networked SensorsSystem Structure Composing Components.
High-level System Modeling and Power Management Techniques Jinfeng Liu Dept. of ECE, UC Irvine Sep
Design Exploration of a Human-machine Interface (HMI) Application Francis Li Sam Madden.
Tiny OS Optimistic Lightweight Interrupt Handler Simon Yau Alan Shieh CS252, CS262A, Fall The.
Integrated  -Wireless Communication Platform Jason Hill.
Embedded Computing From Theory to Practice November 2008 USTC Suzhou.
EET 4250: Chapter 1 Performance Measurement, Instruction Count & CPI Acknowledgements: Some slides and lecture notes for this course adapted from Prof.
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.
Winter-Spring 2001Codesign of Embedded Systems1 Introduction to HW/SW Co-Synthesis Algorithms Part of HW/SW Codesign of Embedded Systems Course (CE )
Processor Frequency Setting for Energy Minimization of Streaming Multimedia Application by A. Acquaviva, L. Benini, and B. Riccò, in Proc. 9th Internation.
On the Energy Efficient Design of Wireless Sensor Networks Tariq M. Jadoon, PhD Department of Computer Science Lahore University of Management Sciences.
1 Chapter 13 Embedded Systems Embedded Systems Characteristics of Embedded Operating Systems.
Evolving Real-Time Systems using Hierarchical Scheduling and Concurrency Analysis John Regehr Alastair Reid Kirk Webb Michael Parker Jay Lepreau School.
BLDC MOTOR SPEED CONTROL USING EMBEDDED PROCESSOR
Adaptive Video Coding to Reduce Energy on General Purpose Processors Daniel Grobe Sachs, Sarita Adve, Douglas L. Jones University of Illinois at Urbana-Champaign.
Spring 2000, 4/27/00 Power evaluation of SmartDust remote sensors CS 252 Project Presentation Robert Szewczyk Andras Ferencz.
Task Dependence in Scheduling and Load Balancing Prof. Adam Meyerson UCLA.
Minimizing Response Time Implication in DVS Scheduling for Low Power Embedded Systems Sharvari Joshi Veronica Eyo.
VOLTAGE SCHEDULING HEURISTIC for REAL-TIME TASK GRAPHS D. Roychowdhury, I. Koren, C. M. Krishna University of Massachusetts, Amherst Y.-H. Lee Arizona.
A System Architecture for Networked Sensors Jason Hill, Robert Szewczyk, Alec Woo, Seth Hollar, David Culler, Kris Pister
Low-Power Wireless Sensor Networks
Computer Science Department University of Pittsburgh 1 Evaluating a DVS Scheme for Real-Time Embedded Systems Ruibin Xu, Daniel Mossé and Rami Melhem.
Multi-core Programming Introduction Topics. Topics General Ideas Moore’s Law Amdahl's Law Processes and Threads Concurrency vs. Parallelism.
Sogang University Advanced Computing System Chap 1. Computer Architecture Hyuk-Jun Lee, PhD Dept. of Computer Science and Engineering Sogang University.
C OMPUTER O RGANIZATION AND D ESIGN The Hardware/Software Interface 5 th Edition Chapter 1 Computer Abstractions and Technology Sections 1.5 – 1.11.
1 XYZ: A Motion-Enabled, Power Aware Sensor Node Platform for Distributed Sensor Network Applications Presenter: James D. Lymberopoulos, A. Savvides.
1 Exploring Custom Instruction Synthesis for Application-Specific Instruction Set Processors with Multiple Design Objectives Lin, Hai Fei, Yunsi ACM/IEEE.
Hardware/Software Co-design Design of Hardware/Software Systems A Class Presentation for VLSI Course by : Akbar Sharifi Based on the work presented in.
Overview of Sensor Networks David Culler Deborah Estrin Mani Srivastava.
Embedded Runtime Reconfigurable Nodes for wireless sensor networks applications Chris Morales Kaz Onishi 1.
Abhilash Thekkilakattil, Radu Dobrin, Sasikumar Punnekkat Mälardalen Real-time Research Center, Mälardalen University Västerås, Sweden Towards Preemption.
Overview of: System Architecture Directions for Networked Sensors John Kerwin CSE 291 Sensor Networks Paper by: Jason Hill, Robert Szewczyk, Alec Woo,
System Architecture Directions for Networked Sensors Jason Hill, Robert Szewczyk, Alec Woo, Seth Hollar, David Culler, Kris Pister Presented by Yang Zhao.
1 Tuning Garbage Collection in an Embedded Java Environment G. Chen, R. Shetty, M. Kandemir, N. Vijaykrishnan, M. J. Irwin Microsystems Design Lab The.
Chapter 1 Computer Abstractions and Technology. Chapter 1 — Computer Abstractions and Technology — 2 The Computer Revolution Progress in computer technology.
System Architecture Directions for Networked Sensors Jason Hill, Robert Szewczyk, Alec Woo, Seth Hollar, David Culler, Kris Pister Presenter: James.
A Systematic Approach to the Design of Distributed Wearable Systems Urs Anliker, Jan Beutel, Matthias Dyer, Rolf Enzler, Paul Lukowicz Computer Engineering.
Security Architecture and Design Chapter 4 Part 1 Pages 297 to 319.
High Performance Embedded Computing © 2007 Elsevier Chapter 7, part 3: Hardware/Software Co-Design High Performance Embedded Computing Wayne Wolf.
Adaptive Sleep Scheduling for Energy-efficient Movement-predicted Wireless Communication David K. Y. Yau Purdue University Department of Computer Science.
Patricia Gonzalez Divya Akella VLSI Class Project.
Multimedia Computing and Networking Jan Reduced Energy Decoding of MPEG Streams Malena Mesarina, HP Labs/UCLA CS Dept Yoshio Turner, HP Labs.
Workload Clustering for Increasing Energy Savings on Embedded MPSoCs S. H. K. Narayanan, O. Ozturk, M. Kandemir, M. Karakoy.
System Architecture Directions for Networked Sensors.
1 of 14 Lab 2: Formal verification with UPPAAL. 2 of 14 2 The gossiping persons There are n persons. All have one secret to tell, which is not known to.
Power-Efficient Rendez- vous Schemes for Dense Wireless Sensor Networks En-Yi A. Lin, Jan M. Rabaey Berkeley Wireless Research Center University of California,
Determining Optimal Processor Speeds for Periodic Real-Time Tasks with Different Power Characteristics H. Aydın, R. Melhem, D. Mossé, P.M. Alvarez University.
1 of 14 Lab 2: Design-Space Exploration with MPARM.
Software Architecture of Sensors. Hardware - Sensor Nodes Sensing: sensor --a transducer that converts a physical, chemical, or biological parameter into.
INTRODUCTION TO WIRELESS SENSOR NETWORKS
Andrea Acquaviva, Luca Benini, Bruno Riccò
Decoupled Access-Execute Pioneering Compilation for Energy Efficiency
Hardware Support for Embedded Operating System Security
Wireless Sensor Network
Flavius Gruian < >
Dynamic Voltage Scaling
A High Performance SoC: PkunityTM
Outline - Energy Management
Research Topics Embedded, Real-time, Sensor Systems Frank Mueller moss
Presentation transcript:

Power and Control in Networked Sensors E. Jason Riedy and Robert Szewczyk Presenter: Fayun Luo

Outline Introduction Real System Experiment One Processor Analysis Multiple Processor Analysis Summary Related Work

Introduction Resource Constraints in WSN  CPU speed  Memory  Communication Bandwidth  Power

Energy Constraints Not feasible to replenish the energy in deployed sensors Current Battery has very limited capacity Battery technology has been improving at only a modest pace

Architecture Design Dilemma A typical PC: many processors Current networked sensor: one single processor Dilemma: one processor or multiple processors?

Intuition Multiple processors  lower frequency Lower frequency  lower current and voltage Multiple processors  meet real time constraints better Tradeoffs: Communication between processors is not free Allocating tasks to processors may be really hard

Roadmap

Recap - Berkeley Motes ProcessorAtmel AVR, 4MHz, 8-bit, 8KB inst mem and 512 bytes data mem RadioFR Monolithics 916.5MHz, Speed up to 19.2 Kbps Temperature Sensor Analog Devices AD7418, I 2 C protocol Light Sensor Photoresistor, 10  ~50 

Recap - TinyOS Event-driven architecture Simple FIFO scheduler + graph of components Two level scheduling: events and tasks Events preempt tasks single shared stack

Microbenchmarks Turn_off_all_devices Setup While(1) { Flash_Trigger_Pin Body } For I = 0 to N { InstX InstX … InstX } Turn_on_lightSensor()

Instructions and Modules Experiment Result

Questions about Mote Experiment How about experiment on other Motes? How do we measure the communication cost? Mote TypeProcessor Berkeley MotesOne Atmel AVR chip MIT µAMPSTwo dedicated chips UCLA MedusaTwo chips Rockwell WINS32-bit RISC processor + one dedicated microcontroller The paper claims the communication cost is free. Do you buy it?

TinyOS Experiment Result

Questions about TinyOS Experiment How about other OS? Different Scheduler? Different event-task model?

Roadmap

Architecture Model – Hardware Model One central processor controls many ‘dumb’ devices, while each ‘intelligent’ device has a dedicated processor

Architecture Model – Task Model Example: T = 1 sec f = 4,000,000 Hz K = 2,000,000 cycles  = 2,000,000 / (1 * 4,000,000) = 0.5 f m = 2,000,000 / 1 = 2,000,000 Hz

Questions About the Assumptions of Task Model Is the time span periodic in real world? What might be different between different schedulers?

Architecture Model – Energy Model T I(t) I(f) We will focus on I(f)

Current Model f I I active I Idle f I IAIA The bottom line is: all our current models are linear. Define

One Processor Mathematical Model Question: Does it model power off and power save mode? Note: f,  are dependent,  = f m /f  I active (f ) (1-  )I idle (f)

One Processor Analysis In a single processor, frequency is the main parameter we can adjust: Case 1:  opt <= 1Case 2:  opt >= 1 run as low as possible Run as fast as possible (  = f m /f) 1 1

One Processor with Overhead Time and instruction overhead can be modeled by: K = K w + K o And processor utilization splits into:  =  w +  0 Current consumption with overhead can be modeled by: I s = F(f,  ) = F(f,  w +  0 )

Reduce Overhead by Frequency Scaling Example:  w = 0.5,  o = 0.1, f = 4MHz, I A = 20mA, a I =2.0×10 -8, a A = 4.0×10 -8 c < 2.25  f ’ = cf < 9MHz f I I active I Idle

Questions about Frequency Scaling Exactly how much should we scale the frequency? What might change if we scale the frequency?

Roadmap

Multiple Processors Two fundamental questions: 1.How to partition the application tasks? 2.What are the inter-processor communication costs?

Application Partition Bit-level 57% Byte-level 28% Other network processing Other non-network CPU time 10% 5% Split off the bit-level processing Split off the whole network stack Is it beneficial? What is the gain? Cut off 45 cycles But add additional 130 cycles Solution: Rewrite the structure of Component

Inter-Processor Communication Cost How do we measure it? What factors may affect it?

Multiple Processor Mathematical Model Now, we have two variables: N,  We have only one variable 

Frequency Scaling Scale frequency by 1/N: We got:

Frequency Scaling pIIpII pIIpII pIIpII Which means frequency scaling alone consumes more energy!!! Why? b I > 0, b A > 0,  > 0, N > 1  I s – I m < 0 Example: b I =2.0×10 -8, b A = 4.0×10 -8,  = 0.5, N = 3 I s – I m = -8×10 -8 < 0  p = 

Reduction of Frequency and Overhead Example:  w = 0.5,  o = 0.1, I A (f) = 20mA, b I =2.0×10 -8, b A = 4.0×10 -8 N < 5,001 If we can both reduce frequency and eliminate overhead Question: what is the optimal N? pIIpII pIIpII pIIpII  p =  w

Share Idle Current I Question: How difficult is it? III I

Conclusions Single Processor: There is an optimal frequency for a given task load Multiple Processor: Simple task partition and frequency scaling wouldn’t save any energy. We can save power in a multiple processor design if we can eliminate various types of overhead. Big direction: The optimal architecture should build upon a single processor with hardware support for multiple contexts.

About the result What do you think about the results? Results are very convincing and useful? Not quite convincing, limited usefulness? One Processor: Task load may vary, not a constant. Multiple Processor: 1.Limited experiment data. 2.Some assumptions that are difficult to achieve. Big design direction: not quite convincing

Roadmap

Summary - Contributions Developed useful mathematical models of energy consumption for single and multiple processors. Explored the tradeoffs between simple and multiple processor Observed that Mere partition or simple frequency scaling does not save energy in multiple processors system. Proved that it is possible to save energy in a multiple processor system via elimination of various types of overhead. Pointed out the direction of future architecture design for WSN

Summary - Limitations Limited experiments Mathematical model can be refined Some assumptions difficult to achieve Results have limited usefulness Did not consider group behavior

Roadmap

Related Work Shin and Choi: real-time scheduler Lorch and Smith: Survey of techniques for lowering power on portable computers Henkel: hardware-software partition Kirovski and Potkonjak: task partition

References [1] Jason Hill, et al. “System Architecture Directions for Networked Sensors” [2] John A. Stankovic, et al. “Real-Time Communication and Coordination in Embedded Sensor Networks” [3] Shin and Choi “Power conscious fixed priority scheduling for hard real-time systems” [4] J. Lorch and A. Smith “Software Strategies for Portable Computer Energy Management” [5] J. Henkel. “A low power hardware/software partitioning approach for core-based embedded systems” [6] D. Kirovski and M. Potkonjak. “System-level synthesis of low- power hard real-time systems” [7] Radu Stoleru: Presentation - HW1