integrating wireless sensor network into cloud services for real time data collection

24
Smog in China, July 2013

Upload: rajeev-piyare

Post on 29-Nov-2014

99 views

Category:

Internet


2 download

DESCRIPTION

 

TRANSCRIPT

Page 1: Integrating wireless sensor network into cloud services for real time data collection

Smog in China, July 2013

Page 2: Integrating wireless sensor network into cloud services for real time data collection

Colorado's flash floods, September 17, 2013

Page 3: Integrating wireless sensor network into cloud services for real time data collection

Fukushima Daiichi nuclear disaster, March 2011

Page 4: Integrating wireless sensor network into cloud services for real time data collection

Yosemite National Park, August 22, 2013

Page 5: Integrating wireless sensor network into cloud services for real time data collection

We don’t want to be there………

………..but we need information

Page 6: Integrating wireless sensor network into cloud services for real time data collection

Department of Information Electronics Engineering

Mokpo National University

[email protected]

International Conference on ICT Convergence 2013

Integrating Wireless Sensor Network

into Cloud Services for Real-time

Data Collection

Presenter: Rajeev Piyare

Page 7: Integrating wireless sensor network into cloud services for real time data collection

Outline

• Abstract

• Prior Work

• Proposed Architecture

• Connecting Sensor Networks to Cloud

• Results and Discussion

• Conclusion

Page 8: Integrating wireless sensor network into cloud services for real time data collection

Abstract• This paper presents an extensible and flexible

architecture for integrating Wireless Sensor Networks

with the Cloud.

• For proof of concept, Representational State Transfer

(REST) based Web services on an IP based low power

WSN test bed has been set up, which enables data

accessibility from anywhere.

• The alert feature has also been implemented to notify

users via email or tweets for monitoring data when they

exceed values and events of interest.

Page 9: Integrating wireless sensor network into cloud services for real time data collection

Prior Work

Problems:

Architecture of these systems has been designed in a very

ad hoc fashion.

Not flexible to adapt to other applications or scenarios

Decision making process is executed at a single central

point .

Coordinator is the central point of access for all applications

and sensor contributors where all the sensor data is stored

and analyzed.

Power consumption.

Page 10: Integrating wireless sensor network into cloud services for real time data collection

Solution

Various decision levels can be implemented onto different

architectural layers.

Flexible architecture for integrating WSN to Cloud using

REST based Web services as an interoperable application

layer.

To reduce energy consumption and to increase the network

lifetime, sleep mechanism for battery powered sensor

nodes have been utilized.

Inclusion of Alert feature

Page 11: Integrating wireless sensor network into cloud services for real time data collection

Description of Proposed Architecture

Figure 1. Proposed Architecture

The architecture of the proposed system is divided into three layers:

Sensor Layer, the Coordinator Layer and the Supervision Layer.

Page 12: Integrating wireless sensor network into cloud services for real time data collection

Sensor Layer

• consists of sensors that interact with the

environment.

• Mesh network and send the information

gathered by the sensors to the Coordinator

Layer through the sink node called the base

station.

• XBee ZB module has the capability to directly

gather sensor data and transmit it without the

use of an external microcontroller.

– the overall size of the nodes are reduced.

– minimizes weight

– reduces power consumption

– cheaper

Page 13: Integrating wireless sensor network into cloud services for real time data collection

Coordination Layer

• responsible for the management of the data

received from the sensor network.

• temporarily stores the gathered data into buffer

and sends it to the Supervision layer at predefined

intervals.

• serves as a mobile mini application server between

the wireless sensors and the dedicated network

and has more advanced computational resources

compared to the End Devices found in Sensor

Layer.Base Station

Page 14: Integrating wireless sensor network into cloud services for real time data collection

Supervision Layer

• stores the sensor data in a database and

also offers a Web interface for the end

users to manage the sensor data and

generate statistics.

• offers a graphical interface for real-time

monitoring of systems

• Automatic alert and notification to the user

– Email

– Twitter

– SMS

Page 15: Integrating wireless sensor network into cloud services for real time data collection

Connecting Sensor Network to Cloud (1)

• the access to Cloud services has to be easy, direct, open

and interoperable.

– to utilize Web services

– Simple Object Access Protocol (SOAP) and Representational State

Transfer (REST).

– REST is a much more lightweight mechanism than SOAP offering

functionality similar to SOAP based Web services.

• Open.Sen.se is an open source “Internet of Things”

application and API to store and retrieve data from things

and sensors using Hypertext Transfer Protocol (HTTP)

– Supports JSON, XML and CSV formats for integration into

applications

Page 16: Integrating wireless sensor network into cloud services for real time data collection

Connecting Sensor Network to Cloud (2)

• GET and POST requests is used that return JSON responses to

communicate between the base station and the Open.Sen.se server.

– JSON is easy for human beings to read and write and simpler for machines

to parse and generate messages than using XML.

• To read the current sensor value, an HTTP GET request is sent to the

resource of the sensor

• HTTP POST request is sent from the base station to the Cloud for

updating the data entry.

• For authentication, Open.Sen.se server is protected with a Sen.se key

which is specific and unique to each user.

Page 17: Integrating wireless sensor network into cloud services for real time data collection

Results and Discussions

WSN was created to collect temperature and battery voltage

readings.

Preliminary experiments were performed to evaluate the

system in terms of

– sensor data accessibility

– alert notification time

– battery consumption

– Senseboard>> to present the collected data to the user in

an easy and meaningful way.

Page 18: Integrating wireless sensor network into cloud services for real time data collection

Senseboard

Figure 6 shows the real-time acquisition curve on Open.sen.se Cloud services

Page 19: Integrating wireless sensor network into cloud services for real time data collection

Event Notification

• An event notification system is also implemented on

Open.Sen.se server based on measurements from sensors

and predefined If-conditions.

– allows monitoring End Devices supply voltage, temperature etc..

– send a notification alert to the user via a push email, SMS, or tweets.

Figure 7. Notification Email to alert the user on low battery voltage

Page 20: Integrating wireless sensor network into cloud services for real time data collection

Event Notification Time delay

Ten trials were conducted and it is observed that it takes about

8-13s and an average of 11s for the notification email to be

auto generated and delivered to the user on their specified

email account from the Open.Sen.se server

Page 21: Integrating wireless sensor network into cloud services for real time data collection

Battery Lifetime of the End Devices

Replacing batteries regularly is inconvenient.

Using cyclic sleep mechanism.

Data Packet size.

Carried out for End Devices since coordinator is

mains powered.

Page 22: Integrating wireless sensor network into cloud services for real time data collection

Battery Lifetime (2)

)(

)(

)(

nactive

transntranslistenlistenonoffonoff

nactt

ItItItI

r

nt ntrans

)31(8)(

)()( ntranslistenonoffnactive tttt

sleep

nactive

nact

nactive

ndrain IT

tI

T

tI

)(

)(

)(

)( 1

24365

)1000(/ )(

ndrainICL

(1)

(4)

(2)

(3)

(5)

Figure 8. Wireless Sensor Network Node

lifetime with different packet size and update

period

Page 23: Integrating wireless sensor network into cloud services for real time data collection

Conclusion

Flexible architecture for integration of Wireless Sensor

Networks to the Cloud for sensor data collection and

sharing.

Embedded intelligence at different architectural layers to

accommodate for the diverse requirements of possible

application scenarios with minimum redesign and recoding.

Results illustrate that the sensor data can be accessed by

the users anywhere and on any mobile device with internet

access.

Page 24: Integrating wireless sensor network into cloud services for real time data collection

Thank you all for your attention