23
1 Introduction to Wireless Sensor Networks

1 Introduction to Wireless Sensor Networks. 2 Learning Objectives Understand the basics of Wireless Sensor Networks (WSNs) –Applications –Constraints

Embed Size (px)

Citation preview

Page 1: 1 Introduction to Wireless Sensor Networks. 2 Learning Objectives Understand the basics of Wireless Sensor Networks (WSNs) –Applications –Constraints

1

Introduction to Wireless Sensor Networks

Page 2: 1 Introduction to Wireless Sensor Networks. 2 Learning Objectives Understand the basics of Wireless Sensor Networks (WSNs) –Applications –Constraints

2

Learning Objectives

• Understand the basics of Wireless Sensor Networks (WSNs)– Applications– Constraints– Operational Challenges

• Understand representative hardware

• Learn how to set up the programming environment

Page 3: 1 Introduction to Wireless Sensor Networks. 2 Learning Objectives Understand the basics of Wireless Sensor Networks (WSNs) –Applications –Constraints

3

Prerequisites

• Basic concepts of Computer Networks

• Basic concepts of Computer Hardware, including microcontroller, I/O, radio transceiver, memory, and ADC.

Page 4: 1 Introduction to Wireless Sensor Networks. 2 Learning Objectives Understand the basics of Wireless Sensor Networks (WSNs) –Applications –Constraints

Ref. [Introduction_1] p. 102 - 105 4

Wireless Sensor Networks (WSNs)

Target

Base Station

Internet

User

Sensor Node

Sensor Node

Sensor Field

•Many simple nodes with sensors deployed throughout an environment

Sensing + CPU +Radio = Thousands of Potential Applications

Page 5: 1 Introduction to Wireless Sensor Networks. 2 Learning Objectives Understand the basics of Wireless Sensor Networks (WSNs) –Applications –Constraints

Ref. [Introduction_1] p. 102 - 105 5

WSN Applications• Indoor/Outdoor Environmental

Monitoring– Habitat Monitoring– Structural Monitoring– Precision Agriculture

• Triggered Events– Detection/Notification

• Military Applications– Battlefield Surveillance

• Health Monitoring

HazardDetection

BiologicalMonitoring

MedicalDomain

SmartEnvironment

WearableComputing

EnvironmentalMonitoring

Earth Science &Exploration

Context-AwareComputing

Interactive VRGame

Wireless SensorNetworks

Urban WarfareMilitary Surveillance

Disaster RecoveryEnvironmental Monitoring

Page 6: 1 Introduction to Wireless Sensor Networks. 2 Learning Objectives Understand the basics of Wireless Sensor Networks (WSNs) –Applications –Constraints

6

Some Existing Applications

• Create a macroscope– Deployed on Redwood Trees– Great Duck Island– Tracking zebra– Monitor volcanic eruptions

Page 7: 1 Introduction to Wireless Sensor Networks. 2 Learning Objectives Understand the basics of Wireless Sensor Networks (WSNs) –Applications –Constraints

Ref. [Introduction_1] p. 102 - 105 7

Operational Challenges of Wireless Sensor Networks

• Energy Efficiency• Limited storage and computation• Low bandwidth and high error rates• Errors are common

– Wireless communication– Noisy measurements– Node failure are expected

• Scalability to a large number of sensor nodes• Survivability in harsh environments• Experiments are time- and space-intensive

Page 8: 1 Introduction to Wireless Sensor Networks. 2 Learning Objectives Understand the basics of Wireless Sensor Networks (WSNs) –Applications –Constraints

Ref. [Introduction_1] p. 102 - 105 8

Characteristics of Wireless Sensor Networks

• Limited in– Energy– Computation– Storage– Transmission Range– Bandwidth

• Characteristics– Self-organize– Random Deployment– Cooperating– Local Computation

Page 9: 1 Introduction to Wireless Sensor Networks. 2 Learning Objectives Understand the basics of Wireless Sensor Networks (WSNs) –Applications –Constraints

9

Enabling Technologies

Embedded Networked

Sensing

Control system w/Small form factorUntethered nodes

ExploitcollaborativeSensing, action

Tightly coupled to physical world

Embed numerous distributed devices to monitor and interact with physical world

Network devices to coordinate and perform higher-level tasks

Exploit spatially and temporally dense, in situ, sensing and actuation

Page 10: 1 Introduction to Wireless Sensor Networks. 2 Learning Objectives Understand the basics of Wireless Sensor Networks (WSNs) –Applications –Constraints

10

Hardware Constraints

• Power, size, and cost constrained– Small memory– Slow clock cycles of microcontroller

Page 11: 1 Introduction to Wireless Sensor Networks. 2 Learning Objectives Understand the basics of Wireless Sensor Networks (WSNs) –Applications –Constraints

http://www.xbow.com/Products/productdetails.aspx?sid=164

11

One Example Sensor Node - MicaZ Mote• Developed at UC Berkeley• Fabricated by Crossbow Inc.• Integrated Wireless Transceiver • CPU

– MPR2400, based on Atmega128L– 8MHz

• Memory– 4KB of primary memory (SRAM)– 128KB of program space (ROM)– 512KB Flash Memory

• Transmit Data Rate– 250kbps

• Transmission Range– Outdoor: 75m – 100m– Indoor: 20m - 30m

• Frequency Band– 2.4GHz

Page 12: 1 Introduction to Wireless Sensor Networks. 2 Learning Objectives Understand the basics of Wireless Sensor Networks (WSNs) –Applications –Constraints

[hardware_1] Page 17 12

• The I/O subsystem interface consists of a 51-pin expansion connector

– eight analog lines,– eight power control lines,– three pulse-width-modulated lines,– two analog compare lines,– four external interrupt lines,– an I2C-bus from Philips Semiconductor,– an SPI bus,– a serial port, – a collection of lines dedicated to programming the

microcontrollers.

exp

an

sion

con

necto

rI/O Sub-System

Page 13: 1 Introduction to Wireless Sensor Networks. 2 Learning Objectives Understand the basics of Wireless Sensor Networks (WSNs) –Applications –Constraints

http://www.xbow.com/Products/productdetails.aspx?sid=177

13

One Example Sensor Board - MTS310

Page 14: 1 Introduction to Wireless Sensor Networks. 2 Learning Objectives Understand the basics of Wireless Sensor Networks (WSNs) –Applications –Constraints

http://www.xbow.com/Products/productdetails.aspx?sid=177

14

One More Example of Sensor Board - MTS400/420

• Besides the functions of MTS 300, it mainly adds GPS functionality

• Example GPS Reading– http://firebug.sourceforge.net/gps_tests.htm

Page 15: 1 Introduction to Wireless Sensor Networks. 2 Learning Objectives Understand the basics of Wireless Sensor Networks (WSNs) –Applications –Constraints

15

Hardware Setup Overview

Page 16: 1 Introduction to Wireless Sensor Networks. 2 Learning Objectives Understand the basics of Wireless Sensor Networks (WSNs) –Applications –Constraints

http://www.xbow.com/Products/productdetails.aspx?sid=227

16

Programming Board (MIB520)

Page 17: 1 Introduction to Wireless Sensor Networks. 2 Learning Objectives Understand the basics of Wireless Sensor Networks (WSNs) –Applications –Constraints

17

TelosB

• http://www.xbow.com/Products/productdetails.aspx?sid=252

Page 18: 1 Introduction to Wireless Sensor Networks. 2 Learning Objectives Understand the basics of Wireless Sensor Networks (WSNs) –Applications –Constraints

18

TelosB Architecture

• [Energy_1]: Figure 2

Page 19: 1 Introduction to Wireless Sensor Networks. 2 Learning Objectives Understand the basics of Wireless Sensor Networks (WSNs) –Applications –Constraints

Ref: [TinyOS_1]: Table 1 19

Typical WSN Platforms

Page 20: 1 Introduction to Wireless Sensor Networks. 2 Learning Objectives Understand the basics of Wireless Sensor Networks (WSNs) –Applications –Constraints

20

One Proposed WSN Functional Layer Decomposition

• Ref: Fig. 1.1 of J. Polastre Dissertation: http://www.polastre.com/papers/polastre-thesis-final.pdf

Page 21: 1 Introduction to Wireless Sensor Networks. 2 Learning Objectives Understand the basics of Wireless Sensor Networks (WSNs) –Applications –Constraints

21

Architecture to Build WSN Applications

• Ref: Fig. 2.1 of J. Polastre Dissertation: http://www.polastre.com/papers/polastre-thesis-final.pdf

Page 22: 1 Introduction to Wireless Sensor Networks. 2 Learning Objectives Understand the basics of Wireless Sensor Networks (WSNs) –Applications –Constraints

22

Lab• The purpose of this programming assignment is to familiarize yourself with

TinyOS programming based on XubunTOS and various concepts in developing a simple application.

Please read TinyOS 2.x tutorial Lesson 3 “Mote-mote radio communication”

http://docs.tinyos.net/index.php/Mote-mote_radio_communication

its section “Sending a Message over the Radio” and Lesson 4 “Mote-PC serial communication and SerialForwarder”http://docs.tinyos.net/index.php/Mote-PC_serial_communication_and_SerialForwarderAfter you read these tutorials, please make the following applications work:1.a BlinkToRadio1.b Oscilloscope (please use both GUI and text interfaces on the PC to observe the received data)1.c MultihopOscilloscope (please use both GUI and text interfaces on the PC to observe the received data)Please turn in a screenshot for each of the above mentioned applications.

Page 23: 1 Introduction to Wireless Sensor Networks. 2 Learning Objectives Understand the basics of Wireless Sensor Networks (WSNs) –Applications –Constraints

23

Assignment

• 1. Why is energy efficiency the most important concern in designing protocols for wireless sensor networks?

• 2. What are the main differences between TelosB motes and MicaZ motes from the hardware point of view?

• 3. What is the main architecture to build a wireless sensor network application?