Docsity

What is 802.15.4?, Slides of Embedded Wireless Sensors

Partial preview of the text

Download What is 802.15.4? and more Slides Embedded Wireless Sensors in PDF only on Docsity!

Topic 02: IEEE 802.15.

Tuesday 20 Feb 2007

ICTP-ITU School on Wireless Networking for

Scientific Applications in Developing Countries

Bhaskaran Raman

Department of CSE, IIT Kanpur

http://www.cse.iitk.ac.in/users/braman/

Outline

What is 802.15.4? Other related technologies

802.15.4 PHY overview

Device classes, network topologies

802.15.4 MAC

MAC management:

– Starting and maintaining PANs

– Association

Data exchange mechanisms

IEEE 802.15 Series

802.15.3 (UWB) 802.15.1 (Bluetooth) 802.15.4 (L R-WPA N)

High data rate

M ultimedia applications

M edium rate

Cell-phones, PD A

QoS suited for voice

L ow rate

Industrial, residential,

medical applications

L ow power

L ow cost

ZigBee works hand-in-

hand with 802.15.

802.15.4/ZigBee Architecture

PHY

MAC

Network/Security

Application Framework

ZigBee

802.15.4 Device Classes

Full Function Device (FFD)

– Can act as PAN “coordinator”

– Can talk to any other device

Reduced Function Device (RFD)

– Cannot be a “coordinator”

– Can talk only to FFD

– Very simple implementation

Network Topologies

Star network

Peer-to-peer network

PAN Coordinator (FFD) Full Function Device (FFD) Reduced Function Device (RFD)

Optional Beacons

A PAN can be beacon-enabled or non-beacon-

enabled

– Decided by the coordinator

– Mechanism for power saving (if required)

Beacon enabled ==> periodic beacons

Superframe Structure

Source: IEEE 802.15.4 specification

Guaranteed

Time-Slot

Superframe Structure: Remarks

CAP, then CFP

Superframe = 16 slots (slot=60 symbols when SO=0)

A minimum of 440 symbols for CAP

Maximum of 7 GTS allocations

A GTS may occupy more than one slot

All GTS tx must end before start of beacon tx

All tx in CAP must end before CFP (or beacon)

ACKs are optional

– Requirement specified in a data packet

CSMA Algorithm

Called slotted CSMA in beaconed PANs

Unslotted CSMA in non-beaconed PANs

But both use “units” of time (“slots” in 802.

terminology)

– aUnitBackoffPeriod: 20 symbols by default

In beaconed PANs, the first backoff is aligned with

the start of the super frame

Slotted CSMA

NB=0, CW=2,

BE=minBE

R=

random[0, 2^BE)

Backoff for

R units

Locate backoff

period boundary

CCA on

backoff period

boundary

NB++, CW=2,

BE=min(BE+1,maxBE)

NB>limit?

CW=CW-

CW=0?

No

Failure

Yes

No

Success

Yes

Default values: minBE=3, maxBE=5, limit=

Idle

Busy

Differences from 802.11 CSMA

Have to finish by a specific time

– Otherwise continue random delay in next superframe

802.11 has per-delay-slot CCA

– Why CCA for two units in 802.15.4?

No limit on number of retries in 802.

During init: BE=min(2,minBE) possible

– If device is battery constrained

– Allows device to save power by prioritizing its tx

Outline

What is 802.15.4? Other related technologies

802.15.4 PHY overview

Device classes, network topologies

802.15.4 MAC

MAC management:

– Starting and maintaining PANs

– Association

Data exchange mechanisms

Scanning and PAN Creation

Scanning procedures: active, passive

Active scan:

– Send beacon request

– A beaconed PAN coordinator need not respond to the

request (periodic beacon will suffice)

– A non-beaconed PAN coordinator will respond with a

beacon

Orphan scan: orphan notification command sent

by device to a coordinator

A new PAN started only after an active scan

– New PAN id is chosen (collision possible)