Data Management in Sensor Networks



Similar documents
Introduction to Wireless Sensor Network Security

INTERNET OF THE THINGS (IoT): An introduction to wireless sensor networking middleware

Service and Resource Discovery in Smart Spaces Composed of Low Capacity Devices

An Intelligent Car Park Management System based on Wireless Sensor Networks

Design of a Web-based Application for Wireless Sensor Networks

Security & Trust in Wireless Sensor Networks

Sensor Devices and Sensor Network Applications for the Smart Grid/Smart Cities. Dr. William Kao

DAG based In-Network Aggregation for Sensor Network Monitoring

Sensor network infrastructure for intelligent building monitoring and management system

15 th TF-Mobility Meeting Sensor Networks. Torsten Braun Universität Bern

Wireless Sensor Networks for Habitat Monitoring

Data Management Issues in Disconnected Sensor Networks

High-Frequency Distributed Sensing for Structure Monitoring

System Architecture for Wireless Sensor Networks

Summer projects for Dept. of IT students in the summer 2015

Wireless sensor networks: a survey

BROWSER-BASED HOME MONITOR USING ZIGBEE SENSORS

INTRODUCTION TO WIRELESS SENSOR NETWORKS. Marco Zennaro, ICTP Trieste-Italy

REMOTE TEMPERATURE AND HUMIDITY MONITORING SYSTEM USING WIRELESS SENSOR NETWORKS

Development of a web-based interface for remote monitoring long-distance power transmission overhead lines

EPMOSt: An Energy-Efficient Passive Monitoring System for Wireless Sensor Networks

ISSCC 2004 / SESSION 17 / MEMS AND SENSORS / 17.4

MONITORING FIRE-FIGHTERS OPERATING IN HOSTILE ENVIRONMENTS WITH BODY-AREA WIRELESS SENSOR NETWORKS 1

Mobile Sensing: A new IoT paradigm. Shin-Ming Cheng Assistant Professor,

Myths and Realities of Sensor Network Data Management

TinyDB: An Acquisitional Query Processing System for Sensor Networks

MOTEWORKS. Key Features. Overview

Design of Fuzzy Drip Irrigation Control System Based on ZigBee Wireless Sensor Network

Data management in Wireless Sensor Networks (WSN)

Environmental Monitoring Using Sensor Networks

RadMote: A Mobile Framework for Radiation Monitoring in Nuclear Power Plants

Making Sense of Internet of Things Protocols and Implementations

Protocols and Architectures for Wireless Sensor Netwoks. by Holger Karl and Andreas Willig

Secure data aggregation in mobile sink wireless sensor networks

Multipath fading in wireless sensor mote

Isolines: Energy-efficient Mapping in Sensor Networks

An Efficient External Sorting Algorithm for Flash Memory Embedded Devices

Challenges. Department of Informatics University of Oslo. Presenter. October 25, 2011

Technology Implications of an Instrumented Planet presented at IFIP WG 10.4 Workshop on Challenges and Directions in Dependability

AN EVOLVABLE OPERATING SYSTEM FOR WIRELESS SENSOR NETWORKS

Wireless Sensor Networks Database: Data Management and Implementation

Ad hoc and Sensor Networks Chapter 1: Motivation & Applications

Security of MICA*-based / ZigBee Wireless Sensor Networks

PEDAMACS: Power efficient and delay aware medium access protocol for sensor networks

Remote Monitoring and Controlling System Based on ZigBee Networks

BUILDING RISK MONITORING USING WIRELESS SENSOR NETWORK

Networked Embedded Systems: Design Challenges

M2M ATDI services. M2M project development, Business model, Connectivity.

Computer Automation Techniques. Arthur Carroll

Autos Limited Ghana Vehicle Tracking Business Proposal

Novel AMR technologies and Remote Monitoring

Establishing a Wireless Sensor Network to Monitor the Temperature in a two storied building

Growth through partnerships and licensing technologies

Chapter 13 Embedded Operating Systems

Water Quality Monitoring System Using Zigbee Based Wireless Sensor Network

UPnP-Based Sensor Network Management Architecture

A Study of Low Cost Meteorological Monitoring System Based on Wireless Sensor Networks

Middleware support for the Internet of Things

Evolving Bar Codes. Y398 Internship. William Holmes

Self-Organization in Autonomous Sensor/Actuator Networks [SelfOrg]

A REMOTE HOME SECURITY SYSTEM BASED ON WIRELESS SENSOR NETWORK AND GSM TECHNOLOGY

IoT for surveillance applications!

application Our Assets agronomy operational visibility pollutant monitoring urban microclimate animal tracking internet of things smart city

How To Build A Wireless Sensor Network

AN EFFICIENT STRATEGY OF AGGREGATE SECURE DATA TRANSMISSION

Flexible Online Energy Accounting in TinyOS

Fachbereich Informatik und Elektrotechnik SunSPOT. Ubiquitous Computing. Ubiquitous Computing, Helmut Dispert

The TrimTrac Locator: A New Standard in Practical and Affordable Asset Tracking

A Transport Protocol for Multimedia Wireless Sensor Networks

Design of Remote data acquisition system based on Internet of Things

OpenSplice DDS. Angelo CORSARO, Ph.D. Chief Technology Officer OMG DDS Sig Co-Chair PrismTech.

IOT the Last Miles. Tze Chiew (PSM) Jaap Breepoel (FAE)

NVM memory: A Critical Design Consideration for IoT Applications

A very short history of networking

Energy Efficiency of Wireless Sensor Networks

ED-3160 UBIQUITOUS SENSOR NETWORK TRAINER. USN / RFID System > EXPERIMENTS

Internet of things (IOT) applications covering industrial domain. Dev Bhattacharya

Overview. 1. GPS data tracking via GSM SMS / GPRS. 2. GPS data logging in internal memory. 3. Alarm alert via GSM SMS / Dialing / GPRS

Interactive Distributed Embedded Systems

Security Optimization and Data Classification in Wireless Sensor Networks

A Wireless Health Monitoring System

Marko Hännikäinen Tampere University of Technology IoT week CLOUD-BASED SERVICE PLATFORM FOR WIRELESS SENSOR NETWORKS

A User-Centric Approach to Wireless Sensor Network Programming Languages (position paper)

DESIGN ISSUES AND CLASSIFICATION OF WSNS OPERATING SYSTEMS

Wireless sensor networks THE PLATFORMS ENABLING WIRELESS SENSOR NETWORKS

The BSN Hardware and Software Platform: Enabling Easy Development of Body Sensor Network Applications

WEB-BASED WIRELESS SENSOR NETWORK MONITORING USING SMARTPHONES. Anthony M. Marcus. A Thesis Submitted to the Faculty of

Drahtlose Kommunikation. Sensornetze

Embedded System Technologies, SKP Engineering College Thiruvannamalai, Tamil Nadu, India

Distribution transparency. Degree of transparency. Openness of distributed systems

People centric sensing Leveraging mobile technologies to infer human activities. Applications. History of Sensing Platforms

Outline. Application examples. Infrastructure-based limits? Infrastructure-based wireless networks. Possible applications

Development of cloud computing system based on wireless sensor network protocol and routing

Bringing Big Data Modelling into the Hands of Domain Experts

Wireless Sensor Network: A Promising Approach for Distributed Sensing Tasks

Tnet WIRELESS MESH SENSOR NETWORKS

Temperature Alert. LAN-based Temperature and Humidity Data Logger

Portable Wireless Mesh Networks: Competitive Differentiation

EFFICIENT EXTERNAL SORTING ON FLASH MEMORY EMBEDDED DEVICES

International Journal of Advancements in Research & Technology, Volume 3, Issue 4, April ISSN

Transcription:

Data Management in Sensor Networks Ellen Munthe-Kaas Jarle Søberg Hans Vatne Hansen INF5100 Autumn 2011 1

Outline Sensor networks Characteristics TinyOS TinyDB Motes Application domains Data management INF5100 Autumn 2011 2

Sensor Networks Base station (gateway) Motes (sensors) INF5100 Autumn 2011 3

Sensor Network Characteristics Autonomous nodes Small, low-cost, low-power, multifunctional Sensing, data processing, and communicating components Sensor network is composed of large number of sensor nodes Proximity to physical phenomena Deployed inside the phenomenon or very close to it Monitoring and collecting physical data No human interaction for weeks or months at a time Long-term, low-power nature INF5100 Autumn 2011 4

Motes Mote: Short for remote. Refers to a wireless transceiver that is also a remote sensor Mica2 mote with 2 AA batteries (provide power for one year s use) Mica2DOT mote. Powered with button battery Spec smart dust; total size 5 mm2 INF5100 Autumn 2011 5

Mote Hardware Made up of four basic components sensing unit processing unit transceiver unit usually two subunits: sensor and ADC makes the sensor collaborate with the other nodes to carry out the assigned sensing tasks power unit connects the node to the network small, standard batteries INF5100 Autumn 2011 6

Motes for the mandatory assignment Mica2 Processor: MPR400CB based on Atmel ATmega128L Radio: 900 MHz multi-channel transceiver Memory: 4 kb Configuration EEPROM 128 kb Program Flash Memory 512 kb Measurement (Serial) Flash Power: 2 x AA OS: TinyOS v1.0 Weight: 18g (excluding batteries) Sensors: Light Temperature Acoustic (accelerometer) Actuators: Sounder INF5100 Autumn 2011 7

Motes vs. Traditional Computing Embedded OS Usually an image flashed to the device Lossy, ad hoc radio communication E.g. wrt slow CPU Sensing hardware Severe power constraints INF5100 Autumn 2011 8

Application Domains Environmental Health Military Commercial INF5100 Autumn 2011 9

Environmental Applications Tracking the movements of birds, animals, insects Monitoring environmental conditions that affect crops and livestock Chemical/biological detection Biological, earth, and environmental monitoring in marine, soil, and atmospheric contexts Meteorological or geophysical research Pollution study, precision agriculture, irrigation Biocomplexity mapping of environment Flood detection, forest fire detection INF5100 Autumn 2011 10

Health Applications Integrated patient monitoring Body sensor networks Telemonitoring of human physiological data Tracking and monitoring doctors and patients inside a hospital Tracking and monitoring patients and rescue personnel during rescue operations INF5100 Autumn 2011 11

Military Applications Monitoring friendly forces, equipment and ammunition Battlefield surveillance Reconnaissance of opposing forces and terrain Nuclear, biological and chemical (NBC) attack detection and reconnaissance INF5100 Autumn 2011 12

Commercial Applications Monitoring product quality Constructing smart office spaces Interactive toys Smart structures with sensor nodes embedded inside Machine diagnostics Interactive museums Managing inventory control Environmental control in office buildings Detecting and monitoring car thefts Vehicle tracking and detection Tracking goods with RFID INF5100 Autumn 2011 13

Managing Data Purpose of sensor network: Obtain real-world data Extract and combine data from the network But: Programming sensor networks is hard! Months of lifetime required from small batteries Lossy, low-bandwidth, short range communication Highly distributed environment Application development Application deployment administration INF5100 Autumn 2011 14

Data Management Systems for Sensor Networks DB sensor network INF5100 Autumn 2011 15

Data Management System Routing Resource allocation Deployment Query language, query optimization Challenges INF5100 Autumn 2011 16

Outline Sensor networks TinyOS TinyDB INF5100 Autumn 2011 17

TinyOS Operating system for managing and accessing mote HW Characteristics: Energy-efficient Programming model: Components Only one application running at a time No process isolation or scheduling No kernel No protection domains No memory manager No multithreading Programming language: nesc INF5100 Autumn 2011 18

Outline Sensor networks TinyOS TinyDB INF5100 Autumn 2011 19

TinyDB High level abstraction Data centric programming Interact with sensor network as a whole Extensible framework Under the hood: Intelligent query processing: query optimization, power efficient execution Fault mitigation: automatically introduce redundancy, avoid problem areas SELECT nodeid, light FROM sensors WHERE light > 400 SAMPLE PERIOD 1s query, trigger Application TinyDB sensor network data INF5100 Autumn 2011 20

Query Language Essentials Declarative queries Simple, SQL-like queries Users specify the data they want and the rate at which data should be refreshed Using predicates, not specific addresses TinyDB collects data from motes in the environment, filters it, aggregates it, and routes it out to a PC TinyDB does this with power-efficient in-network processing algorithms INF5100 Autumn 2011 21

Data Model Relational model Single table sensors One column (attribute) per type of value that a device can produce (light, temperature,...) One row (tuple) per node per instant in time Physically partitioned across all nodes in the network Tuples are materialized only at need and stored only for a short period or delivered directly to the network Projections and transformations of tuples from sensors may be stored in materialization points INF5100 Autumn 2011 22

The sensors Table sensors(epoch, nodeid, volume, light, temp,... ) SELECT nodeid, light FROM sensors WHERE light > 400 SAMPLE PERIOD 1s sensors(nodeid, volume) acoustic sensor light sensor sensors(nodeid, light) sensors(nodeid, temp, light) light and temperature sensor INF5100 Autumn 2011 23

TinyDB Routing Tree PC side Mote side 0 TinyDB GUI TinyDB Client API PostgreSQL DBMS 1 2 TinyDB query processor 7 3 Sensor network 4 6 5 INF5100 Autumn 2011 24

Communication Scheduling A mote upon receiving a request to perform a query: awakens synchronizes its clock chooses the sender of the msg as its parent forwards the query, setting the delivery interval for children to be slightly before the time its parent expects to see the partial state tuple INF5100 Autumn 2011 25

Aggregates: Centralized Approach Server-based approach: All sensor readings are sent to the base station, which then computes the aggregates Example: SELECT COUNT(*) FROM sensors How many transmissions? INF5100 Autumn 2011 26

Aggregates: Centralized Approach When reviewing: Please note that this slide is only meaningful when animated. If you understand why, you have understood the concept. 1 1 1 1 1 INF5100 Autumn 2011 27 1

Aggregates: Distributed Approach In TinyDB aggregates are computed in-network whenever possible. Lower number of transmissions Lower latency Lower power consumption Example: SELECT COUNT(*) FROM sensors How may transmissions? INF5100 Autumn 2011 28

Aggregates: Distributed Approach When reviewing: Please note that this slide is only meaningful when animated. If you understand why, you have understood the concept. 6 3 2 1 1 INF5100 Autumn 2011 29 1

Literature Samuel R. Madden, Michael J. Franklin, Joseph M. Hellerstein, Wei Hong: TinyDB: An Acquisitional Query Processing System for Sensor Networks, ACM Transactions on Database Systems (TODS), Volume 30, Issue 1, 2005. (Available through the ACM Digital Library; cf. http://x-port.uio.no) Some additional reading: Samuel R. Madden, Michael J. Franklin, Joseph M. Hellerstein, Wei Hong: TAG: a Tiny Aggregation Service for Ad-Hoc Sensor Networks OSDI, 2002 INF5100 Autumn 2011 30