Nano-RK: An Energy-Aware Resource Centric RTOS for Sensor Networks Anand Eswaran, Anthony Rowe and Raj Rajkumar Presented by: Ravi Ramaseshan.

Slides:



Advertisements
Similar presentations
Phil Buonadonna, Jason Hill CS-268, Spring 2000 MOTE Active Messages Communication Architectures for Networked Mini-Devices Networked sub-devicesActive.
Advertisements

Simulation of Feedback Scheduling Dan Henriksson, Anton Cervin and Karl-Erik Årzén Department of Automatic Control.
Model for Supporting High Integrity and Fault Tolerance Brian Dobbing, Aonix Europe Ltd Chief Technical Consultant.
Introduction to Operating Systems CS-2301 B-term Introduction to Operating Systems CS-2301, System Programming for Non-majors (Slides include materials.
Chapter 13 Embedded Systems
CS533 Concepts of Operating Systems Class 5 Integrated Task and Stack Management.
Chapter 13 Embedded Systems Patricia Roy Manatee Community College, Venice, FL ©2008, Prentice Hall Operating Systems: Internals and Design Principles,
Contiki A Lightweight and Flexible Operating System for Tiny Networked Sensors Presented by: Jeremy Schiff.
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.
Capriccio: Scalable Threads for Internet Services Rob von Behren, Jeremy Condit, Feng Zhou, Geroge Necula and Eric Brewer University of California at Berkeley.
Embedded and Real Time Systems Lecture #4 David Andrews
CSE Fall Introduction - 1 What is an Embedded Systems  Its not a desktop system  Fixed or semi-fixed functionality (not user programmable)
Embedded Real-time Systems The Linux kernel. The Operating System Kernel Resident in memory, privileged mode System calls offer general purpose services.
A System Architecture for Tiny Networked Devices Jason Hill U.C. Berkeley 9/22/2000.
Introduction to TinyOS. Faster, Smaller, Numerous Moore’s Law –“Stuff” (transistors, etc) doubling every 1-2 years Bell’s Law –New computing class every.
1 of 14 1 Analysis and Synthesis of Communication-Intensive Heterogeneous Real-Time Systems Paul Pop Computer and Information Science Dept. Linköpings.
Real-Time Kernels and Operating Systems. Operating System: Software that coordinates multiple tasks in processor, including peripheral interfacing Types.
Sensor Node Architecture Issues Stefan Dulman
Inter-Process Communication  most OSs provide several abstractions for inter- process communication: message passing, shared memory, etc.  communication.
CprE 458/558: Real-Time Systems
CS 268: Lecture 10 (Integrated Services) Ion Stoica March 4, 2002.
The Mach System "Operating Systems Concepts, Sixth Edition" by Abraham Silberschatz, Peter Baer Galvin, and Greg Gagne Presentation by Jonathan Walpole.
Chapter 13 Embedded Operating Systems Eighth Edition By William Stallings Operating Systems: Internals and Design Principles.
1 Energy Efficient Communication in Wireless Sensor Networks Yingyue Xu 8/14/2015.
I/O Tanenbaum, ch. 5 p. 329 – 427 Silberschatz, ch. 13 p
Tufts Wireless Laboratory School Of Engineering Tufts University “Network QoS Management in Cyber-Physical Systems” Nicole Ng 9/16/20151 by Feng Xia, Longhua.
End-to-end resource management in DiffServ Networks –DiffServ focuses on singal domain –Users want end-to-end services –No consensus at this time –Two.
QoS Architectures for Connectionless Networks
CS 268: Integrated Services Lakshminarayanan Subramanian Feb 20, 2003.
TinyOS By Morgan Leider CS 411 with Mike Rowe with Mike Rowe.
LWIP TCP/IP Stack 김백규.
RT-Link: A Time-Synchronized Link Protocol for Energy-Constrained Multi- hop Wireless Networks Anthony Rowe, Rahul Mangharam and Raj Rajkumar CMU SECON.
NEST 1 NEST System Working Group Meeting #1 Jack Stankovic University of Virginia September 2001 Boeing Huntington Beach, CA.
QoS Support in High-Speed, Wormhole Routing Networks Mario Gerla, B. Kannan, Bruce Kwan, Prasasth Palanti,Simon Walton.
ARMADA Middleware and Communication Services T. ABDELZAHER, M. BJORKLUND, S. DAWSON, W.-C. FENG, F. JAHANIAN, S. JOHNSON, P. MARRON, A. MEHRA, T. MITTON,
© Oxford University Press 2011 DISTRIBUTED COMPUTING Sunita Mahajan Sunita Mahajan, Principal, Institute of Computer Science, MET League of Colleges, Mumbai.
Real Time Operating Systems Lecture 10 David Andrews
A Simple Distributed Method for Control over Wireless Networks Authors: Miroslav Pajic, Shereyas Sundaram, George J. Pappas and Rahul Mangharam Presented.
Scheduling policies for real- time embedded systems.
Real-Time Operating Systems for Embedded Computing 李姿宜 R ,06,10.
Embedded Runtime Reconfigurable Nodes for wireless sensor networks applications Chris Morales Kaz Onishi 1.
Dhanshree Nimje Smita Khartad
Simon Han – Ram Kumar Rengaswamy – Roy Shea – Mani Srivastava – Eddie Kohler –
Real Time Scheduling Telvis Calhoun CSc Outline Introduction Real-Time Scheduling Overview Tasks, Jobs and Schedules Rate/Deadline Monotonic Deferrable.
OPERATING SYSTEM SUPPORT DISTRIBUTED SYSTEMS CHAPTER 6 Lawrence Heyman July 8, 2002.
Embedded Systems OS. Reference Materials The Concise Handbook of Real- Time Systems TimeSys Corporation.
Real Time Operating Systems Michael Thomas Date: Rev. 1.00Date.
Multi-Tasking The Multi-Tasking service is offered by VxWorks with its real- time kernel “WIND”.
Smart Sensor Node Impact  GPS leveraged for geo-referenced identity, and low power communications synchronization. Up to 100x communications power reduction.
1 VxWorks 5.4 Group A3: Wafa’ Jaffal Kathryn Bean.
Link Layer Support for Unified Radio Power Management in Wireless Sensor Networks IPSN 2007 Kevin Klues, Guoliang Xing and Chenyang Lu Database Lab.
Dynamic Control of Coding for Progressive Packet Arrivals in DTNs.
Real-Time Operating System Design
6.0 INTRODUCTION TO REAL-TIME OPERATING SYSTEMS (RTOS) 6.0 Introduction A more complex software architecture is needed to handle multiple tasks, coordination,
CprE 458/558: Real-Time Systems (G. Manimaran)1 CprE 458/558: Real-Time Systems Energy-aware QoS packet scheduling.
Slides created by: Professor Ian G. Harris Operating Systems  Allow the processor to perform several tasks at virtually the same time Ex. Web Controlled.
EE 122: Integrated Services Ion Stoica November 13, 2002.
CS533 Concepts of Operating Systems Jonathan Walpole.
1.  System Characteristics  Features of Real-Time Systems  Implementing Real-Time Operating Systems  Real-Time CPU Scheduling  An Example: VxWorks5.x.
Unit - I Real Time Operating System. Content : Operating System Concepts Real-Time Tasks Real-Time Systems Types of Real-Time Tasks Real-Time Operating.
SOC Consortium Course Material SoC Design Laboratory Lab 8 Real-time OS - 1 Speaker: Yung-Chih Chen Advisor: Prof. Chun-Yao Wang November 17, 2003 Department.
Big Picture Lab 4 Operating Systems C Andras Moritz
Software Architecture of Sensors. Hardware - Sensor Nodes Sensing: sensor --a transducer that converts a physical, chemical, or biological parameter into.
Embedded Real-Time Systems
INTRODUCTION TO WIRELESS SENSOR NETWORKS
REAL-TIME OPERATING SYSTEMS
Topics Covered What is Real Time Operating System (RTOS)
Lesson Objectives Aims Key Words
Introduction to Wireless Sensor Networks
Presentation transcript:

Nano-RK: An Energy-Aware Resource Centric RTOS for Sensor Networks Anand Eswaran, Anthony Rowe and Raj Rajkumar Presented by: Ravi Ramaseshan

Nano-RK: An Energy-Aware Resource Centric RTOS for Sensor Networks 2 Design Goals Motivation Architecture Implementation Sample Application Future Work Contributions Small Footprint Battery Lifetime Requirements Networking Stack Support Classical OS Multitasking Unified Sensor Interface Abstraction Priority-based Preemptive Scheduling Timeliness and Schedulability Enforcement of Resource Usage Limits

Nano-RK: An Energy-Aware Resource Centric RTOS for Sensor Networks 3 The Nano-RK Architecture Motivation Architecture Implementation Sample Application Future Work Contributions Static Approach –OS & application co-located in a single address space. –Admission control and schedulability analysis tests done offline.

Nano-RK: An Energy-Aware Resource Centric RTOS for Sensor Networks 4 The Nano-RK Architecture Motivation Architecture Implementation Sample Application Future Work Contributions The Reservation Paradigm The following are specified per task: –CPU Reservations –Sender/Receiver Bandwidth Reservations –Sensor/Actuator Reservations

Nano-RK: An Energy-Aware Resource Centric RTOS for Sensor Networks 5 The Nano-RK Architecture Motivation Architecture Implementation Sample Application Future Work Contributions Power Awareness Support –Energy consumed by a task is the sum of: CPU energy Radio energy Sensor/Actuator energy –Virtual Energy Reservations (CPU, Network, Sensor) Tweak parameters at pre-deployment stage.

Nano-RK: An Energy-Aware Resource Centric RTOS for Sensor Networks 6 The Nano-RK Architecture Motivation Architecture Implementation Sample Application Future Work Contributions Socket Abstraction and Support –High-level socket like abstraction –Following are handled by Nano-RK: Populating application buffers on receipt of packets Routing table data structures Destination look-up functions One-hop transmission of packets –Aggregate packets

Nano-RK: An Energy-Aware Resource Centric RTOS for Sensor Networks 7 The Nano-RK Implementation Motivation Architecture Implementation Sample Application Future Work Contributions Hardware and Sensor Support –Atmel ATMEGA128-based sensor node called Firefly build at CMU. –Provides sensor system calls reading raw sensor data and converting it to meaningful units. –Functions are atomic and reservations are updated on calls.

Nano-RK: An Energy-Aware Resource Centric RTOS for Sensor Networks 8 The Nano-RK Implementation Motivation Architecture Implementation Sample Application Future Work Contributions Task Management and Scheduling –Task Control Block (TCB) Register context, priority, period, (CPU, Network, Sensor) reservation-tuple, port identifiers –Semaphores and mutexes for task synchronization Priority ceilings for mutexes –Priority-based preemptive solution PCEP protocol resource allocation protocol

Nano-RK: An Energy-Aware Resource Centric RTOS for Sensor Networks 9 The Nano-RK Implementation Motivation Architecture Implementation Sample Application Future Work Contributions Reservation Support –Reservation Policy Hard Soft –CPU: Cycles used by task –Network: Bytes sent / received –Sensors: Number of reads Resource reservation exhausted Slack Task suspended Slack Task Suspended Slack Reservation Replenished Next Period

Nano-RK: An Energy-Aware Resource Centric RTOS for Sensor Networks 10 The Nano-RK Implementation Motivation Architecture Implementation Sample Application Future Work Contributions Network Stack –Lightweight network protocol –Allows port based communication –Tightly integrated with OS allowing: Automatic packet aggregation Network reservation Buffer management policies

Nano-RK: An Energy-Aware Resource Centric RTOS for Sensor Networks 11 Application using Nano-RK APIs nrk_task_type Task1 Task1.task = Sound_Task; Task1.TaskID = 1; Task1.priority = 3; Task1.Period = 10; Task1.set_cpu_reserve = 5; Task1.set_network_reserve = 3; Task1.set_sensor_reserve = 3; nrk_activate_task (Task1); Motivation Architecture Implementation Sample Application Future Work Contributions void Sound_Task () { int prev_sound, sound; char tx_buff[1]; nrk_port_des my_port; port_des = nrk_port (tx_buff, 1, 0); nrk_connect (port_des, -1); while (1) { sound = read_sensor (MIC); tx_buff[0] = sound; nrk_port_send (my_port); wait_until_send (); prev_sound = sound nrk_suspend_task (); }

Nano-RK: An Energy-Aware Resource Centric RTOS for Sensor Networks 12 Future Work Motivation Architecture Implementation Sample Application Future Work Contributions Support end-to-end deadline guarantees for packet delivery Routing based on TDMA using global time synchronization Dynamic Energy-efficient routing schemes

Nano-RK: An Energy-Aware Resource Centric RTOS for Sensor Networks 13 Contributions Motivation Architecture Implementation Sample Application Future Work Contributions Classical structured multitasking OS –Allows sensor application developers to work in a familiar paradigm resulting in short learning curves and quicker application development times. API support for: –Task management –Synchronization –IPC and high level network abstractions Reservation based approach to provide bounds on timeliness & QoS of node life.

Nano-RK: An Energy-Aware Resource Centric RTOS for Sensor Networks 14 Comparison with TinyOS The TinyOS is less intuitive for application developers. TinyOS has a smaller memory footprint. Tasks cannot be preempted in TinyOS. Real Time Embedded Operating System? –No priority based scheduling policy –No resource allocation policy Design objective: Flexibility and accelerate innovation. Motivation Architecture Implementation Sample Application Future Work Contributions Comparison