Energy-aware Reconfiguration of Sensor Nodes

Similar documents
Interfacing Java-DSP with Sensor Motes

Distributed Pervasive Systems

Self Learning Hard Disk Power Management for Mobile Devices

ARDUINO MEGA INTRODUCTION

System Architecture Directions for Networked Sensors[1]

The Emergence of Networking Abstractions and Techniques in TinyOS

COL862 - Low Power Computing

Towards a Zero-Configuration Wireless Sensor Network Architecture for Smart Buildings

Embedded System Design : Project Specification Crowd Information Monitor

AIM: To create a project for implement a wireless communication protocol on an embedded system- ZigBee.

BTnodes. Directions in Hard- and Software Architecture. Jan Beutel, Oliver Kasten, Matthias Ringwald. Computer Engineering and Networks Laboratory

System Architecture Directions for Networked Sensors. Jason Hill et. al. A Presentation by Dhyanesh Narayanan MS, CS (Systems)

SYSTEM DESIGN SPECIFICATIONS ZIGBEE BASIC SYSTEM

Integrating Custom Hardware into Sensor Web. Maria Porcius Carolina Fortuna Gorazd Kandus Mihael Mohorcic

TinyOS. Lecture Overview. UC Berkeley Family of Motes. Mica2 and Mica2Dot. MTS300CA Sensor Board. Programming Board (MIB510) 1.

Intel Research mote. Ralph Kling Intel Corporation Research Santa Clara, CA

TinyOS. Jan S. Rellermeyer

Integrating Concurrency Control and Energy Management in Device Drivers

Exercises of lecture Wireless Sensor Networks Winter 2006/2007 Sheet 4

Reminder. Course project team forming deadline. Course project ideas. Friday 9/8 11:59pm You will be randomly assigned to a team after the deadline

Improving Energy-Efficiency Efficiency in Sensor Networks by Raising Communication Throughput Using Software Thread Integration

Wireless Sensor Networks

Peripheral State Persistence and Interrupt Management For Transiently Powered Systems

NanoRK. EECE 494 Sathish Gopalakrishnan

CSC 774 Advanced Network Security

4/22 A Wireless Sensor Network for Structural Health Monitoring. Gregory Peaker

Implementation of Gradient Routing in WSNs

INTRODUCTION TO WIRELESS SENSOR NETWORKS. CHAPTER 2: ANATOMY OF A SENSOR NODE Anna Förster

Wireless Sensor Networks and RFIDs

KMote - Design and Implementation of a low cost, low power platform for wireless sensor networks. Naveen Madabhushi

ATmega128. Introduction

Hardware Support for a Wireless Sensor Network Virtual Machine

Delay Analysis of ML-MAC Algorithm For Wireless Sensor Networks

Data Elevators Applying the Bundle Protocol in Delay Tolerant Wireless Sensor Networks

MetaWatch Firmware Design Guide

s132_nrf52 release notes

Zephyr: Efficient Incremental Reprogramming of Sensor Nodes using Function Call Indirections and Difference Computation

Processor Choice For Wireless Sensor Networks

Two hours UNIVERSITY OF MANCHESTER SCHOOL OF COMPUTER SCIENCE. M.Sc. in Advanced Computer Science. Date: Monday 2 nd June 2008.

Reminder. Course project team forming deadline. Course project ideas. Next milestone

Slotted Programming for Sensor Networks

Last Time. Making correct concurrent programs. Maintaining invariants Avoiding deadlocks

Mote Design Supported with Remote Hardware Modifications Capability for Wireless Sensor Network applications

Integrating Concurrency Control and Energy Management in Device Drivers. Chenyang Lu

AVR Microcontrollers Architecture

Edge Computing and the Next Generation of IoT Sensors. Alex Raimondi

ARM Cortex core microcontrollers 12 th Energy efficient operation

Wireless Sensor Networks. FireFly 2.2 Datasheet

Wireless Sensor networks: a data centric overview. Politecnico di Milano Joint work with: C. Bolchini F.A. Schreiber other colleagues and students

CM5000 DATASHEET v0.1

Wireless Sensor Networks CS742

Application of Reinforcement Learning on Medium Access Control for Wireless Sensor Networks

RF4431 wireless transceiver module

TinySec: A Link Layer Security Architecture for Wireless Sensor Networks. Presented by Paul Ruggieri

Tag a Tiny Aggregation Service for Ad-Hoc Sensor Networks. Samuel Madden, Michael Franklin, Joseph Hellerstein,Wei Hong UC Berkeley Usinex OSDI 02

Hardware Design of Wireless Sensors

Maté. Presentation Outline. Presentation Outline. Introduction - Why? Introduction Mate VM. Introduction - Requirements

Ali Karimpour Associate Professor Ferdowsi University of Mashhad

A Tale of Two Synchronizing Clocks

WIRELESS TECHNOLOGIES

CHAPTER 2 WIRELESS SENSOR NETWORKS AND NEED OF TOPOLOGY CONTROL

Agriculture Wireless Temperature and Humidity Sensor Network Based on ZigBee Technology

Lecture 14. Ali Karimpour Associate Professor Ferdowsi University of Mashhad

A wireless embedded sensor architecture for system-level optimization Jason Hill and David Culler {jhill,

Indriya_DP_03A14. Features. Block Diagram. XBEE based Wireless Sensor Network development platform

Presented by Viraj Anagal Kaushik Mada. Presented to Dr. Mohamed Mahmoud. ECE 6900 Fall 2014 Date: 09/29/2014 1

Memory Expansion. Lecture Embedded Systems

LoRaWAN Pressure / Depth and Temperature Sensor

Generic Role Assignment for Wireless Sensor Networks

The Flooding Time Synchronization Protocol

Microcontroller: CPU and Memory

Introduction to Programming Motes

Presented by: Murad Kaplan

Towards a Resilient Operating System for Wireless Sensor Networks

TAG: A TINY AGGREGATION SERVICE FOR AD-HOC SENSOR NETWORKS

Embedded Technology for Remote Data Logging, Monitoring and Controlling Using GSM/GPRS

BT2540 Bluetooth 4.0 BLE (CC2540) Module Users Manual

XYZ: A Motion-Enabled, Power Aware Sensor Node Platform for Distributed Sensor Network Applications

A PERFORMANCE EVALUATION OF YMAC A MEDIUM ACCESS PROTOCOL FOR WSN

SNoW 5 : A versatile ultra low power modular node for wireless ad hoc sensor networking

Wireless Sensor Networks: From Science to Reality. Kay Römer ETH Zurich

Clock and Fuses. Prof. Prabhat Ranjan Dhirubhai Ambani Institute of Information and Communication Technology, Gandhinagar

I/O Systems (3): Clocks and Timers. CSE 2431: Introduction to Operating Systems

Goal: We want to build an autonomous vehicle (robot)

Notos: Efficient Emulation of Wireless Sensor Networks with Binary-to-Source Translation

LoRaWAN Pressure / Level and Temperature Sensor

AVR MICROCONTROLLER ARCHITECTURTE

TEMPERATURE MONITORING SYSTEM

Mohammad Shaffi 1, D Ravi Nayak 2. Dadi Institute of Engineering & Technology,

Dynamic Resource Management in a Static Network Operating System

RAIM: Redundant Array of Independent Motes

ZiLOG Real-Time Kernel Version 1.2.0

Distributed Computation in Wireless Ad Hoc Grid Formations with Bandwidth Control

Robust Data Dissemination in Sensor Networks

WiMOD LR Base Plus Host Controller Interface

WearDrive: Fast and Energy Efficient Storage for Wearables

BigRedBee GPS User s Guide V0.19 December 2015

Wireless Fire Sensor Network Demonstrator

Contiki a Lightweight and Flexible Operating System for Tiny Networked Sensors

Chapter 2 Sections 1 8 Dr. Iyad Jafar

Transcription:

Energy-aware Reconfiguration of Sensor Nodes Andreas Weissel Simon Kellner Department of Computer Sciences 4 Distributed Systems and Operating Systems Friedrich-Alexander University Erlangen-Nuremberg {weissel,kellner}@cs.fau.de 1

Sensor Nodes Run-time of several years Rely on battery power recharge or exchange of power source often not possible BTnode (ETH Zürich) Atmel ATmega128 (8 MHz) 128 KB flash memory 4 KB RAM low-power radio ChipCon CC1000, Bluetooth 2 AA batteries (each 1500 mah) Andreas Weißel (weissel@cs.fau.de), Simon Kellner (sisikell@cs.fau.de) 2

Outline Approaches to Energy Management Energy-aware Sensor Nodes Run-time Energy Accounting Battery Lifetime Estimation Energy Management Through Reconfiguration Application Upload Multiple Pre-installed Applications Conclusion Andreas Weißel (weissel@cs.fau.de), Simon Kellner (sisikell@cs.fau.de) 3

Approaches to Energy Management loop val readsensor() sendpacket(val) sleep(sleepperiod) end loop Estimate & control energy before deployment detailed energy models simulation sufficient for estimation of run-time (e.g., PowerTossim for Mica2 motes, AEON) sleepperiod determines energy consumption and run-time Andreas Weißel (weissel@cs.fau.de), Simon Kellner (sisikell@cs.fau.de) 4

Nondeterministic Applications loop val readsensor() if val threshold then sendpacket(val) end if sleep(sleepperiod) end loop Energy consumption? worst/average-case estimation redundancy trial-and-error (deploy, test, collect, re-program) Alternative: adaptive, on-line power management Andreas Weißel (weissel@cs.fau.de), Simon Kellner (sisikell@cs.fau.de) 5

Energy-Aware Sensor Nodes Adaptive power management requires information on energy consumption remaining power supply Run-time energy estimation hardware with deterministic behavior (no caches...) fine-grained control over operating modes power consumption of components & modes well documented Andreas Weißel (weissel@cs.fau.de), Simon Kellner (sisikell@cs.fau.de) 6

Energy Accounting: Microcontroller ATmega 128L instruction power lds 31.0 mw nop 29.7 mw xor 29.5 mw fmul 29.0 mw mode power idle 14.28 mw power save 0.79 µw power down 0.71 µw active mode: count number of cycles sleep modes: measure time with externally clocked timer Andreas Weißel (weissel@cs.fau.de), Simon Kellner (sisikell@cs.fau.de) 7

Energy Accounting: Microcontroller ATmega 128L instruction power lds 31.0 mw nop 29.7 mw xor 29.5 mw fmul 29.0 mw mode power idle 14.28 mw power save 0.79 µw power down 0.71 µw active mode: count number of cycles sleep modes: measure time with externally clocked timer Implementation (TinyOS) modified scheduler code size: 470 988 bytes run time overhead < 5 % Andreas Weißel (weissel@cs.fau.de), Simon Kellner (sisikell@cs.fau.de) 8

Energy Accounting: Communication ChipCon radio mode power receive 28.8 mw send 26.4 80.7 mw measure time the radio is turned on (receiving/sending) or: count number of packets sent Bluetooth less suited for energy accounting as Bluetooth chip hides low-level functionality several low-power idle modes (hold, sniff, park) Andreas Weißel (weissel@cs.fau.de), Simon Kellner (sisikell@cs.fau.de) 9

Estimating Battery Lifetime A/D converter to read battery voltage Andreas Weißel (weissel@cs.fau.de), Simon Kellner (sisikell@cs.fau.de) 10

Estimating Battery Lifetime First approach: generic battery model but: hard to derive Second approach: regression fitting f x=a 6 e a 5 x a 4 e a 3 x a 2 x 2 a 1 xa 0 but: erratic readings of A/D converter on BTnode Third approach: store tables describing discharge characteristics on node several discharge curves for different temperature ranges Andreas Weißel (weissel@cs.fau.de), Simon Kellner (sisikell@cs.fau.de) 11

Outline Approaches to Energy Management Energy-aware Sensor Nodes Run-time Energy Accounting Battery Lifetime Estimation Energy Management Through Reconfiguration Application Upload Multiple Pre-installed Applications Conclusion Andreas Weißel (weissel@cs.fau.de), Simon Kellner (sisikell@cs.fau.de) 12

Reconfiguration: Application Upload Update nodes via communication link Replace (parts of) application exchange complete binary (Xnp) or single modules/components (Contiki, SOS, Maté) overhead due to interaction between dynamically loaded modules (6% for SOS, 11% for Maté) Example install new application (16.5 kb) overhead of transmission: Bluetooth: 18.9 s, 2 J, ChipCon: 13.8 s, 1.6 J overhead of programming: 1.3 s, 100 mj Andreas Weißel (weissel@cs.fau.de), Simon Kellner (sisikell@cs.fau.de) 13

Multiple Pre-installed Applications Init App1 Init App1 Init App1 App1 App2 re-program Interrupt table and initialization code in first page of program memory (flash) Implementation overwrite this page and reset BTnode overhead: 20 ms, 1 2 mj code size: 1274 byte + flash page (256 bytes) Andreas Weißel (weissel@cs.fau.de), Simon Kellner (sisikell@cs.fau.de) 14

Dispatcher Dispatcher Init App1 Init App1 App1 App2 Avoid writing to flash memory Implementation interrupt dispatcher (id of current application stored in RAM) code size: 334 byte (including flash page for dispatcher) run-time overhead at each interrupt due to additional level of indirection (56 cycles) Andreas Weißel (weissel@cs.fau.de), Simon Kellner (sisikell@cs.fau.de) 15

Conclusion Transfer concepts of adaptive power management to sensor nodes extremely limited resources avoid additional energy overhead Make sensor nodes energy-aware on-line energy accounting battery lifetime estimation Control energy consumption during runtime reconfiguration through application upload multiple pre-installed applications Andreas Weißel (weissel@cs.fau.de), Simon Kellner (sisikell@cs.fau.de) 16