CS263: Wireless Communications and Sensor Networks

Similar documents
Message acknowledgement and an optional beacon. Channel Access is via Carrier Sense Multiple Access with

Bluetooth: Short-range Wireless Communication

Guide to Wireless Communications, 3 rd Edition. Objectives

CS4/MSc Computer Networking. Lecture 13: Personal Area Networks Bluetooth

Local Area Networks NETW 901

UNIT 5 P.M.Arun Kumar, Assistant Professor, Department of IT, Sri Krishna College of Engineering and Technology, Coimbatore.

WIRELESS TECHNOLOGIES

Introduction to Wireless Networking ECE 401WN Spring 2009

Computer Networks II Advanced Features (T )

Inside Bluetooth. Host. Bluetooth. Module. Application RFCOMM SDP. Transport Interface. Transport Bus. Host Controller Interface

Wireless Sensor Networks

e-pg Pathshala Quadrant 1 e-text

Embedded Systems. 8. Communication

CHAPTER 12 BLUETOOTH AND IEEE

Ah-Hoc, PAN, WSN,... Introduction Bluetooth ( ) Zigbee ( ) Renato Lo Cigno

Amarjeet Singh. February 7, 2012

WPAN/WBANs: ZigBee. Dmitri A. Moltchanov kurssit/elt-53306/

CHAPTER 3 BLUETOOTH AND IEEE

Principles of Wireless Sensor Networks. Medium Access Control and IEEE

Wireless Communications

ALL SAINTS COLLEGE OF TECHNOLOGY, BHOPAL

Bluetooth. Basic idea

Bluetooth Demystified

Wireless Networked Systems

Wireless Local Area Network. Internet Protocol Suite

WIRELESS-NETWORK TECHNOLOGIES/PROTOCOLS

Bluetooth. Bluetooth Radio

Introduction to Bluetooth Wireless Technology

Redes Inalámbricas Tema 2.B Wireless PANs: Bluetooth

MOBILE COMPUTING. Bluetooth 9/20/15. CSE 40814/60814 Fall Basic idea

Wireless Local Area Networks (WLANs)) and Wireless Sensor Networks (WSNs) Computer Networks: Wireless Networks 1

12/2/09. Mobile and Ubiquitous Computing. Bluetooth Networking" George Roussos! Bluetooth Overview"

MOBILE COMPUTING. Jan-May,2012. ALAK ROY. Assistant Professor Dept. of CSE NIT Agartala.

Principles of Wireless Sensor Networks

EL2745 Principles of Wireless Sensor Networks

Wireless# Guide to Wireless Communications. Objectives

Ad Hoc Nets - MAC layer. Part II TDMA and Polling

Junseok Kim Wireless Networking Lab (WINLAB) Konkuk University, South Korea

Communication Systems. WPAN: Bluetooth. Page 1

Solving the Interference Problem due to Wireless LAN for Bluetooth Transmission Using a Non- Collaborative Mechanism. Yun-Ming, Chiu 2005/6/09

System Level Analysis of the Bluetooth standard

ZigBee/ David Sanchez Sanchez.

Wireless and WiFi. Daniel Zappala. CS 460 Computer Networking Brigham Young University

Medium Access Control in Wireless Networks

Wireless Intro : Computer Networking. Wireless Challenges. Overview

By Ambuj Varshney & Akshat Logar

[A SHORT REPORT ON BLUETOOTH TECHNOLOGY]

Lecture 23 Overview. Last Lecture. This Lecture. Next Lecture ADSL, ATM. Wireless Technologies (1) Source: chapters 6.2, 15

CS263: Wireless Communications and Sensor Networks

Extending or Interconnecting LANS. Physical LAN segment. Virtual LAN. Forwarding Algorithm 11/9/15. segments. VLAN2, Port3. VLAN1, Port1.

Sensor Application for Museum Guidance

Electromagnetic Spectrum (3kHz 300GHz)

Wireless Local Area Networks. Networks: Wireless LANs 1

Bluetooth. Renato Lo Cigno

WPAN-like Systems. UWB Ultra Wide Band. IrDA Infrared Data Association. Bluetooth. Z-Wave. WPAN Wireless Personal Area Network

Simulation of Bluetooth Network

Evaluating the Impact of Signal to Noise Ratio on IEEE PHY-Level Packet Loss Rate

Feasibility of a Bluetooth Based Structural Health Monitoring Telemetry System

SE 4C03 Winter 2005 Bluetooth Wireless Network Technology

Performance Evaluation of Bluetooth Links in the Presence of Specific Types of Interference

Bluetooth LE 4.0 and 4.1 (BLE)

Wireless Local Area Networks (WLANs) and Wireless Sensor Networks (WSNs) Primer. Computer Networks: Wireless LANs

Wireless Personal Area Networks & Wide Area Networks

Wireless Body Area Networks. WiserBAN Smart miniature low-power wireless microsystem for Body Area Networks.

Medium Access Control. MAC protocols: design goals, challenges, contention-based and contention-free protocols

original standard a transmission at 5 GHz bit rate 54 Mbit/s b support for 5.5 and 11 Mbit/s e QoS

By FaaDoOEngineers.com

Wireless and Mobile Networks

ENRNG3076 : Oral presentation BEng Computer and Communications Engineering

Internet Structure. network edge:

Matteo Petracca Scuola Superiore Sant Anna, Pisa

SIMULATION BASED ANALYSIS OF BLUETOOTH NETWORKS. M. Subramani and M. Ilyas

Delivering Voice over IEEE WLAN Networks

Wireless Local Area Networks (WLAN)

By N.Golmie Presented by: Sushanth Divvela

Data Communications. Data Link Layer Protocols Wireless LANs

Bluetooth Wireless Technology meets CAN

CROSS-LAYER APPROACHES TO WIRELESS COMMUNICATIONS AND NETWORKING

Structure of the Lecture

Introduction to Bluetooth

A Routing Protocol and Energy Efficient Techniques in Bluetooth Scatternets

Interference avoidance in wireless multi-hop networks 1

ZigBee & Wireless Sensor Networks Case Study: ZigBee & IEEE S.rou.2. ZigBee Solution. What is ZigBee?

A cluster based interference mitigation scheme for performance enhancement in IEEE

MAC in /20/06

Data and Computer Communications. Chapter 13 Wireless LANs

Wireless Sensor Networks BLUETOOTH LOW ENERGY. Flavia Martelli

Computer Communication III

Wireless Sensor Networks

MI-BPS (Wireless Networks) FIT - CTU

CSC344 Wireless and Mobile Computing. Department of Computer Science COMSATS Institute of Information Technology

MSIT 413: Wireless Technologies Week 8

Wireless Sensor Networks

Master. Slave. Master. Slaves. TCP/IP Traffic with Efficient Bluetooth Technology. Shafqat Hameed 1, Umar F.Khan 2, *Muhammad Saleem 3

Volume 1, Number 1, 2015 Pages Jordan Journal of Electrical Engineering ISSN (Print): , ISSN (Online):

KW41Z IEEE and BLE Coexistence Performance

Module 6: Wireless Mobile Networks

WIRELESS SENSOR NETWORK

Lecture Objectives. Lecture and Bluetooth technology. Agenda. IEEE b. Characteristics. Center Frequencies

Wireless communication standards: What makes them unattractive for WSN:

Transcription:

CS263: Wireless Communications and Sensor Networks Matt Welsh Lecture 6: Bluetooth and 802.15.4 October 12, 2004 2004 Matt Welsh Harvard University 1

Today's Lecture Bluetooth Standard for Personal Area Networks (PANs) IEEE 802.15.4 New standard for Low Power Wireless Networks 2004 Matt Welsh Harvard University 2

Bluetooth basics Short-range, high-data-rate wireless link for personal devices Originally intended to replace cables in a range of applications e.g., Phone headsets, PC/PDA synchronization, remote controls Operates in 2.4 GHz ISM band Same as 802.11 and 802.15.4! Frequency Hopping Spread Spectrum across ~ 80 channels Somewhat bulky application interfaces Not just simple byte-stream data transmission Rather, complete protocol stack to support voice, data, video, file transfer, etc. Bluetooth operates at a higher level than 802.11 and 802.15.4 2004 Matt Welsh Harvard University 3

Bluetooth basics cont'd Maximum data rate of up to 720 Kbps But, requires large packets (> 300 bytes) Class 1: Up to 100mW (20 dbm) transmit power, ~100m range Class 1 requires that devices adjust transmit power dynamically to avoid interference with other devices Class 2: Up to 2.4 mw (4 dbm) transmit power Class 3: Up to 1 mw (0 dbm) transmit power Security is optional Many devices on the market do not take security seriously 2004 Matt Welsh Harvard University 4

Usage Models Wireless audio e.g., Wireless headset associated with a cell phone Requires guaranteed bandwidth between headset and base No need for packet retransmission in case of loss Cable replacement Replace physical serial cables with Bluetooth links Requires mapping of RS232 control signals to Bluetooth messages LAN access Allow wireless device to access a LAN through a Bluetooth connection Requires use of higher-level protocols on top of serial port (e.g., PPP) File transfer Transfer calendar information to/from PDA or cell phone Requires understanding of object format, naming scheme, etc. Lots of competing demands for one radio spec! 2004 Matt Welsh Harvard University 5

Protocol Architecture Telephony Control Service Discovery Object Exchange UDP/TCP IP PPP Audio RFCOMM (Cable Replacement) Logical Link Control and Adaptation Protocol (L2CAP) Baseband Specification Physical Radio Spec 2004 Matt Welsh Harvard University 6

Piconet Architecture One master and up to 7 slave devices in each Piconet: Master controls transmission schedule of all devices in the Piconet Time Division Multiple Access (TDMA): Only one device transmits at a time Frequency hopping used to avoid collisions with other Piconets 79 physical channels of 1 MHz each, hop between channels 1600 times a sec 2004 Matt Welsh Harvard University 7

Scatternets Combine multiple Piconets into a larger Scatternet Device may act as master in one Piconet and slave in another Each Piconet using different FH schedule to avoid interference Can extend the range of Bluetooth, can route across Piconets 2004 Matt Welsh Harvard University 8

Baseband Specification 79 1-MHz channels defined in the 2.4 GHz ISM band Gaussian FSK used as modulation, 115 khz frequency deviation Frequency Hopping Spread Spectrum Each Piconet has its own FH schedule, defined by the master 1600 hops/sec, slot time 0.625 ms Time Division Duplexing Master transmits to slave in one time slot, slave to master in the next TDMA used to share channel across multiple slave devices Master determines which time slots each slave can occupy Allows slave devices to sleep during inactive slots 2004 Matt Welsh Harvard University 9

Time slots master slave f 1 f 2 f 3 f 4 f 4 f 6 Each time slot on a different frequency According to FH schedule Packets may contain ACK bit to indicate successful reception in the previous time slot Depending on type of connection... e.g., Voice connections do not use ACK and retransmit Packets may span multiple slots 2004 Matt Welsh Harvard University 10

Physical and Logical Links Bluetooth supports two types of physical links. Synchronous Connection Oriented (SCO): Slave assigned to two consecutive slots at regular intervals Just like TDMA... No use of retransmission... why?? Asynchronous Connectionless (ACL) Allows non-sco slots to be used for on demand transmissions Slave can only reply if it was addressed in previous slot by master SCO Link A SCO Link B ACL Link master slave A slave B 2004 Matt Welsh Harvard University 11

Packet Formats Bluetooth supports 14 different payload formats! Different formats for control, voice, and data packets Frames can span 1, 3, or 5 slots Different levels of error coding: No coding, 1/3, or 2/3 FEC 72 54 0-2745 bits Access code Header 232 624 624 624 624 Payload What is the maximum bandwidth that Bluetooth can achieve? Counting only application payload bytes, no CRC or FEC 5-slot packet, no protection: 341 payload bytes Total time = 5 * (0.625) ms = 3.125 ms But... need to count an extra slot from the master for ACK! Total bandwidth is therefore 341 bytes / (6 * 0.625 ms) = 710 kbps Most texts say either 721 or 723 kbps is the max. This depends on definition of kilobit -- I use 1024 bits. Stallings text claims DH5 packet has 341 bytes of payload. Appears to be only 339 (plus 2-byte CRC). 2004 Matt Welsh Harvard University 12

IEEE 802.15.4 and ZigBee Emerging standard for low-power wireless monitoring and control Scale to many devices Long lifetime is important (contrast to Bluetooth) 10-75m range typical Designed for industrial process monitoring, control, medical devices, etc. High data rate for small packets (~200 Kbps for 75 byte packets) IEEE 802.15.4 Physical and MAC layer Combination of CSMA and TDMA schemes ZigBee Network and application layer on top of 802.15.4 Still emerging, standard not yet available outside of ZigBee Alliance 2004 Matt Welsh Harvard University 13

Chipcon/Ember CC2420 Single-chip 802.15.4 radio transceiver, $5 Incorporated into the Telos motes you are going to use in this class... 1.8V supply, consumes 19.7 ma receiving, 17.4 ma transmit Easy to integrate: Open source software drivers Supports 802.15.4 PHY and encryption in hardware MAC still implemented in software 2004 Matt Welsh Harvard University 14

802.15.4 PHY 802.15.4 defines several frequency ranges: 16 channels in the 2.4 GHz band (5 MHz per channel) 10 channels in the 915 MHz band (2 MHz per channel) 1 channel in the 868 MHz band Direct Sequence spreading used for 2.4 GHz band Each 4-bit nibble mapped onto quasi-orthogonal 32-bit chipping code Modulated using offset-qpsk Data transmitted at a rate of 2 million chips/sec 32-bit chip maps onto 4-bit raw data symbol So, effective data rate is ( (2,000,000) / (32) ) * 4 = 250,000 bits/sec Note that this is only 244 Kbps if 1 Kbit = 1024 bits. 2004 Matt Welsh Harvard University 15

Network Topologies Star Peer-to-peer PAN Coordinator Full-function device Reduced function device Every network has a unique Personal Area Network Coordinator Coordinator responsible for network management tasks, e.g., associating new nodes, transmitting beacons, etc. Star network: All nodes must talk to PAN (like 802.11) Peer-to-peer network: Individual nodes can talk to each other Only Full Function Devices can actually route messages 2004 Matt Welsh Harvard University 16

Superframe Structure Beacon Contention Access Period Contention Free Period Beacon... time Superframe broken into 16 time slots between beacons Beacons transmitted periodically by PAN coordinator Used to synchronize nodes in a network to a common timebase. Two types of time slots: Contention Access Period: Nodes use CDMA/CA to transmit Contention Free Period: Nodes assigned guaranteed time slots, as in TDMA Assignment of guaranteed slots performed by PAN Coordinator 2004 Matt Welsh Harvard University 17

Basic MAC Scheme Beacon messages not subject to CSMA Used to coordinate network and are not expected to suffer collisions CSMA/CA scheme very similar to 802.11 Nodes listen before transmitting Random backoff between 0 N time slots Double N each time a collision occurs Transmitter can request ACK for each message Bit set in header to tell receiver an ACK is needed ACK will be transmitted shortly after reception (without CSMA) UnACK'd messages will be retransmitted up to some fixed number of times 2004 Matt Welsh Harvard University 18

Power Saving Features To save power, it's a good idea to power down a node's radio Means that node cannot transmit or receive Coordinator can define idle period within the superframe Means that all nodes can sleep during that time (even the coordinator!!) However, individual nodes can enter a low-power state any time. What does this mean for sending data to this node? The receiver won't hear any incoming transmissions... Should the transmitter just keep trying to send the same message? Is this really a transmission failure (e.g., caused by collisions)? 2004 Matt Welsh Harvard University 19

Solution: Poll-based transfer. Poll-based Transfer A Data for node B B Sleeping C 2004 Matt Welsh Harvard University 20

Solution: Poll-based transfer. Poll-based Transfer A ACK B Sleeping C Store message 2004 Matt Welsh Harvard University 21

Solution: Poll-based transfer. Poll-based Transfer A B Wakes up C Beacon Data pending for B 2004 Matt Welsh Harvard University 22

Solution: Poll-based transfer. Poll-based Transfer A B Data request C 2004 Matt Welsh Harvard University 23

Poll-based Transfer Solution: Poll-based transfer. A B Data reply C Allows nodes to sleep when not requiring use of the radio Increases latency for communications Requires coordinator to buffer messages for individual nodes. 2004 Matt Welsh Harvard University 24

Next Lecture Starting new segment of the course: Research papers A review of current routing protocols for Ad Hoc mobile wireless networks, E. Royer and C.-K. Toh, IEEE Personal Communications, 1999. A High-Throughput Path Metric for Multi-Hop Wireless Routing, Douglas De Couto, Daniel Aguayo, John Bicket, and Robert Morris, Mobicom'03 Write a separate summary for each paper Your paper summaries should: Give a brief overview of the paper (in your own words) Offer 3 insights about the paper: Either complements or critiques 2004 Matt Welsh Harvard University 25