32
Protocols and Applications for Wireless Sensor Networks (01204525) Ad hoc and Sensor Networks Chaiporn Jaikaeo [email protected] Department of Computer Engineering Kasetsart University Materials taken from lecture slides by Karl and Willig

Protocols and Applications for Wireless Sensor Networks (01204525) Ad hoc and Sensor Networks Chaiporn Jaikaeo [email protected] Department of Computer

Embed Size (px)

Citation preview

Page 1: Protocols and Applications for Wireless Sensor Networks (01204525) Ad hoc and Sensor Networks Chaiporn Jaikaeo chaiporn.j@ku.ac.th Department of Computer

Protocols and Applications for Wireless Sensor Networks

(01204525)

Ad hoc and Sensor Networks

Chaiporn [email protected]

Department of Computer EngineeringKasetsart University

Materials taken from lecture slides by Karl and Willig

Page 2: Protocols and Applications for Wireless Sensor Networks (01204525) Ad hoc and Sensor Networks Chaiporn Jaikaeo chaiporn.j@ku.ac.th Department of Computer

2

Typical Wireless Networks Base stations connected to wired

backbone Mobile nodes communicate

wirelessly to base stations

Page 3: Protocols and Applications for Wireless Sensor Networks (01204525) Ad hoc and Sensor Networks Chaiporn Jaikaeo chaiporn.j@ku.ac.th Department of Computer

3

Ad hoc Networks Networks without pre-configured

infrastructure require no hubs, access points, base stations are instantly deployable can be wired or wireless

Initially targeted for military and emergency applications

wired multi-hop wirelesswireless

Page 4: Protocols and Applications for Wireless Sensor Networks (01204525) Ad hoc and Sensor Networks Chaiporn Jaikaeo chaiporn.j@ku.ac.th Department of Computer

4

802.11 Ad hoc Mode IEEE 802.11 already provides

support for ad hoc mode Computers can be connected

without an access point Only work with single hop

Page 5: Protocols and Applications for Wireless Sensor Networks (01204525) Ad hoc and Sensor Networks Chaiporn Jaikaeo chaiporn.j@ku.ac.th Department of Computer

5

Possible Applications for Ad hoc Networks

ad ho

c

ad ho

c

Factory Floor Automation

Disaster recovery Car-to-car communication

Page 6: Protocols and Applications for Wireless Sensor Networks (01204525) Ad hoc and Sensor Networks Chaiporn Jaikaeo chaiporn.j@ku.ac.th Department of Computer

8

Characteristics of Ad hoc Networks Heterogeneity ― sensors, PDAs, laptops Limited resources ― CPU, bandwidth,

power Dynamic topology due to mobility and/or

failure Mobile Ad hoc Networks (MANETs)

A

BC

Page 7: Protocols and Applications for Wireless Sensor Networks (01204525) Ad hoc and Sensor Networks Chaiporn Jaikaeo chaiporn.j@ku.ac.th Department of Computer

9

Sensor Networks Participants in the previous examples

were devices close to a human user, interacting with humans

Alternative concept: Instead of focusing interaction on humans, focus on interacting with environment Network is embedded in environment Nodes in the network are equipped with

sensing and actuation to measure/influence environment

Nodes process information and communicate

Page 8: Protocols and Applications for Wireless Sensor Networks (01204525) Ad hoc and Sensor Networks Chaiporn Jaikaeo chaiporn.j@ku.ac.th Department of Computer

10

Remotemonitoring

sensor field

Traditional Sensors

NetworkNetwork

Localmonitoring

Data loggers

Page 9: Protocols and Applications for Wireless Sensor Networks (01204525) Ad hoc and Sensor Networks Chaiporn Jaikaeo chaiporn.j@ku.ac.th Department of Computer

11

sensor field

Wireless Sensors Sensors communicate with data

logger via radio links

radio linkRemote

monitoring

NetworkNetwork

Page 10: Protocols and Applications for Wireless Sensor Networks (01204525) Ad hoc and Sensor Networks Chaiporn Jaikaeo chaiporn.j@ku.ac.th Department of Computer

12

Wireless Sensor Networks Wireless sensors + wireless network Sensor nodes (motes) deployed and forming an

ad hoc network Requires no hubs, access points Instantly deployable

Targeted applications Emergency responses Remote data acquisition

Sensor network

Sensor node/mote

Internet

Gateway

Remotemonitoring

Page 11: Protocols and Applications for Wireless Sensor Networks (01204525) Ad hoc and Sensor Networks Chaiporn Jaikaeo chaiporn.j@ku.ac.th Department of Computer

Demonstration

Page 12: Protocols and Applications for Wireless Sensor Networks (01204525) Ad hoc and Sensor Networks Chaiporn Jaikaeo chaiporn.j@ku.ac.th Department of Computer

14

Sensor Modules IWING-MRF modules from IWING LAB

250 kbps 2.4GHz IEEE 802.15.4 12MHz Atmel ATMega328P microcontroller Sensors: Light, Temperature, Acceleration

Page 13: Protocols and Applications for Wireless Sensor Networks (01204525) Ad hoc and Sensor Networks Chaiporn Jaikaeo chaiporn.j@ku.ac.th Department of Computer

15

Scenario

Monitor station

Sensor nodes measuring physical environment

Page 14: Protocols and Applications for Wireless Sensor Networks (01204525) Ad hoc and Sensor Networks Chaiporn Jaikaeo chaiporn.j@ku.ac.th Department of Computer

16

WSN Platforms Most are based on IEEE 802.15.4

(Wireless Low-Rate Personal Area Network)

and many others…

Page 15: Protocols and Applications for Wireless Sensor Networks (01204525) Ad hoc and Sensor Networks Chaiporn Jaikaeo chaiporn.j@ku.ac.th Department of Computer

17

Future Trends Many low-cost, wireless modules and SoC

(System on Chip) already available

NXP's JN5168 Module32-bit RISC CPU, 32K RAM

2.4 GHz IEEE 802.15.4(~370 THB)

ESP8266 Wi-Fi Module2.4 GHz IEEE 802.11 b/g/n

(~150 THB)

Page 16: Protocols and Applications for Wireless Sensor Networks (01204525) Ad hoc and Sensor Networks Chaiporn Jaikaeo chaiporn.j@ku.ac.th Department of Computer

18

WSN Application Examples Agriculture

Humidity/temperaturemonitoring

Civil engineering Structural response Disaster management

Environmental sciences Habitat monitoring Conservation biology

Page 17: Protocols and Applications for Wireless Sensor Networks (01204525) Ad hoc and Sensor Networks Chaiporn Jaikaeo chaiporn.j@ku.ac.th Department of Computer

19

WSN in Telemetry Applications

Sensor field

Gateway

wireless sensor node

sensor sensor

GPRSNetwork

or Internet

GPRSNetwork

or Internet

InformationServer

Browser

Page 18: Protocols and Applications for Wireless Sensor Networks (01204525) Ad hoc and Sensor Networks Chaiporn Jaikaeo chaiporn.j@ku.ac.th Department of Computer

20

Internet of Things (IoT)

http://www.opinno.com/en/content/internet-things-0

Page 19: Protocols and Applications for Wireless Sensor Networks (01204525) Ad hoc and Sensor Networks Chaiporn Jaikaeo chaiporn.j@ku.ac.th Department of Computer

21

Connected Living

NTT DoCoMo, Japan

http://www.dezeen.com/2013/09/11/nismo-smartwatch/

Page 20: Protocols and Applications for Wireless Sensor Networks (01204525) Ad hoc and Sensor Networks Chaiporn Jaikaeo chaiporn.j@ku.ac.th Department of Computer

22

Landslide Monitor Real deployment scenario…

Page 21: Protocols and Applications for Wireless Sensor Networks (01204525) Ad hoc and Sensor Networks Chaiporn Jaikaeo chaiporn.j@ku.ac.th Department of Computer

25

Sources of data: Measure data, report them “somewhere” Typically equip with different kinds of actual sensors

Sinks of data: Interested in receiving data from WSN May be part of the WSN or external entity, PDA,

gateway, …

Actuators (actors): Control some device based on data, usually also a sink

Roles of Participants in WSN

WSN = WASN

Page 22: Protocols and Applications for Wireless Sensor Networks (01204525) Ad hoc and Sensor Networks Chaiporn Jaikaeo chaiporn.j@ku.ac.th Department of Computer

26

Classifying Application Types Interaction patterns between

sources and sinks classify application types Event detection Periodic measurement Function approximation Edge detection Tracking

Page 23: Protocols and Applications for Wireless Sensor Networks (01204525) Ad hoc and Sensor Networks Chaiporn Jaikaeo chaiporn.j@ku.ac.th Department of Computer

27

Deployment Options Dropped from aircraft

Random deployment Well planned, fixed

Regular deployment Mobile sensor nodes

Can move to compensate for deployment shortcomings

Can be passively moved around by some external force (wind, water)

Can actively seek out “interesting” areas

Page 24: Protocols and Applications for Wireless Sensor Networks (01204525) Ad hoc and Sensor Networks Chaiporn Jaikaeo chaiporn.j@ku.ac.th Department of Computer

28

Maintenance Options Feasible and/or practical to maintain

sensor nodes? Replace batteries Unattended operation Impossible but not relevant

Energy supply Limited from point of deployment Some form of recharging / energy

scavenging

Page 25: Protocols and Applications for Wireless Sensor Networks (01204525) Ad hoc and Sensor Networks Chaiporn Jaikaeo chaiporn.j@ku.ac.th Department of Computer

29

Characteristic Requirements Type of service of WSN

Not simply moving bits like another network Rather: provide answers (not just numbers) Geographic scoping are natural requirements

Quality of service Fault tolerance Lifetime: node/network Scalability Wide range of densities Programmability Maintainability

Page 26: Protocols and Applications for Wireless Sensor Networks (01204525) Ad hoc and Sensor Networks Chaiporn Jaikaeo chaiporn.j@ku.ac.th Department of Computer

30

Required Mechanisms Multi-hop wireless communication Energy-efficient operation

Both for communication and computation, sensing, actuating

Auto-configuration Manual configuration just not an option

Collaboration & in-network processing Nodes in the network collaborate

towards a joint goal Pre-processing data in network (as

opposed to at the edge) can greatly improve efficiency

Page 27: Protocols and Applications for Wireless Sensor Networks (01204525) Ad hoc and Sensor Networks Chaiporn Jaikaeo chaiporn.j@ku.ac.th Department of Computer

31

Required Mechanisms Data centric networking

Focusing network design on data, not on node identifies (id-centric networking)

To improve efficiency Locality

Do things locally (on node or among nearby neighbors) as much as possible

Exploit tradeoffs E.g., between invested energy and

accuracy

Page 28: Protocols and Applications for Wireless Sensor Networks (01204525) Ad hoc and Sensor Networks Chaiporn Jaikaeo chaiporn.j@ku.ac.th Department of Computer

32

MANET vs. WSN - Similarities MANET – Mobile Ad hoc Network Self-organization Energy efficiency (Often) Wireless multi-hop

Page 29: Protocols and Applications for Wireless Sensor Networks (01204525) Ad hoc and Sensor Networks Chaiporn Jaikaeo chaiporn.j@ku.ac.th Department of Computer

33

MANET vs. WSN - Differences Equipment: MANETs more powerful Application-specific: WSNs depend

much stronger on application specifics

Environment interaction: core of WSN, absent in MANET

Scale: WSN might be much larger (although contestable)

Energy: WSN tighter requirements, maintenance issues

Page 30: Protocols and Applications for Wireless Sensor Networks (01204525) Ad hoc and Sensor Networks Chaiporn Jaikaeo chaiporn.j@ku.ac.th Department of Computer

34

MANET vs. WSN - Differences Dependability/QoS: in WSN,

individual node may be dispensable (network matters), QoS different because of different applications

Addressing: Data centric vs. id-centric networking

Page 31: Protocols and Applications for Wireless Sensor Networks (01204525) Ad hoc and Sensor Networks Chaiporn Jaikaeo chaiporn.j@ku.ac.th Department of Computer

37

Enabling Technologies for WSN Cost reduction

For wireless communication, simple microcontroller, system on chip, sensing, batteries

Miniaturization Some applications demand small size “Smart dust” as the most extreme

vision Energy scavenging

Recharge batteries from ambient energy (light, vibration, …)

Page 32: Protocols and Applications for Wireless Sensor Networks (01204525) Ad hoc and Sensor Networks Chaiporn Jaikaeo chaiporn.j@ku.ac.th Department of Computer

38

Conclusion MANETs and WSNs are challenging

and promising system concepts Many similarities, many differences Both require new types of

architectures & protocols compared to “traditional” wired/wireless networks

In particular, application-specificness is a new issue