Electromagnetic Spectrum (3kHz 300GHz)

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

Wireless Networked Systems

Introduction to Wireless Networking ECE 401WN Spring 2009

CS263: Wireless Communications and Sensor Networks

Modulation. Propagation. Typical frequency bands

AT THE END OF THIS SECTION, YOU SHOULD HAVE AN UNDERSTANDING OF THE

ENRNG3076 : Oral presentation BEng Computer and Communications Engineering

Guide to Wireless Communications, 3 rd Edition. Objectives

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

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

Bluetooth: Short-range Wireless Communication

Local Area Networks NETW 901

Embedded Systems. 8. Communication

e-pg Pathshala Quadrant 1 e-text

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

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

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

Bluetooth. Bluetooth Radio

Wireless control that simply works CES January 9, Bob Heile Chairman, Zigbee Alliance

CHAPTER 3 BLUETOOTH AND IEEE

ZIGBEE. Erkan Ünal CSE 401 SPECIAL TOPICS IN COMPUTER NETWORKS

[A SHORT REPORT ON BLUETOOTH TECHNOLOGY]

Amarjeet Singh. February 7, 2012

WIRELESS TECHNOLOGIES

ZigBee/ David Sanchez Sanchez.

WIRELESS-NETWORK TECHNOLOGIES/PROTOCOLS

Bluetooth. Basic idea

By FaaDoOEngineers.com

Bluetooth low energy technology Bluegiga Technologies

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

Computer Networks II Advanced Features (T )

Bluetooth Tutorial. Bluetooth Introduction. Bluetooth Technology

ALL SAINTS COLLEGE OF TECHNOLOGY, BHOPAL

Bluetooth. Renato Lo Cigno

Wireless Personal Area Networks & Wide Area Networks

Sensor Application for Museum Guidance

Wireless Sensor Networks

Introduction to Bluetooth Wireless Technology

CHAPTER 12 BLUETOOTH AND IEEE

By Ambuj Varshney & Akshat Logar

Wireless Sensor Networks BLUETOOTH LOW ENERGY. Flavia Martelli

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

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

Implementing A Bluetooth Stack on UEFI

SE 4C03 Winter 2005 Bluetooth Wireless Network Technology

Overview of Bluetooth

WiFi Networks: IEEE b Wireless LANs. Carey Williamson Department of Computer Science University of Calgary Winter 2018

MI-BPS (Wireless Networks) FIT - CTU

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

Bluetooth. The Bluetooth Vision. Universal Wireless Connectivity. Universal Wireless Connectivity

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

WIRELESS SENSOR NETWORK

Wireless Local Area Network. Internet Protocol Suite

Image acquisition and Communication

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

Seminar: Mobile Systems. Krzysztof Dabkowski Supervisor: Fabio Hecht

Bluetooth Demystified

Bluetooth LE 4.0 and 4.1 (BLE)

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

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

Wireless# Guide to Wireless Communications. Objectives

Wireless Sensor Networks

Introducing Bluetooth

Simulation of Bluetooth Network

AIM: To create a project for implement a wireless communication protocol on an embedded system- ZigBee.

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

Bluetooth. Quote of the Day. "I don't have to be careful, I've got a gun. -Homer Simpson. Stephen Carter March 19, 2002

Outline. TWR Module. Different Wireless Protocols. Section 7. Wireless Communication. Wireless Communication with

Zigbee protocol stack overview

Wireless communication standards: What makes them unattractive for WSN:

Wireless Local Area Networks. Networks: Wireless LANs 1

Structure of the Lecture

Wireless LANs. The Protocol Stack The Physical Layer The MAC Sublayer Protocol The Frame Structure Services 802.

PCs Closed! Cell Phones Off! Marketing Assistant Manager - Magic Lin

Wireless Networks. CSE 3461: Introduction to Computer Networking Reading: , Kurose and Ross

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

Naveen Kumar. 1 Wi-Fi Technology

Bluetooth technology, developed by Ericsson Mobile Communications, a. worldwide telecommunications company based in Sweden, is fast becoming the

Communications Options for Wireless Sensor Networks. Marco Zennaro and Antoine Bagula ICTP and UWC Italy and South Africa

Networking Sensors, I

APAC Application Support Manager Magic Lin

BT-22 Product Specification

IPv6 Stack. 6LoWPAN makes this possible. IPv6 over Low-Power wireless Area Networks (IEEE )

Bluetooth Vs : state-of-the-art and research challenges

Communication Systems. WPAN: Bluetooth. Page 1

IEEE Testing Signal Compliance of ZigBee Standard

Chapter 10: Wireless LAN & VLANs

Dominique Chomienne & Michel Eftimakis NewLogic

Bluetooth in Mobile Devices

Computer Networks. Wireless LANs

Case study of Wireless Technologies in Industrial Applications

Introduction to Bluetooth

By N.Golmie Presented by: Sushanth Divvela

Bikash Sadhukhan. M.Tech(CSE) Lecturer. Dept of CSE/IT Techno India College of Technology

Chapter 6 Wireless and Mobile Networks

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

Smartphone Mobile Compu9ng CSEP590B/F Winter 2011 (first offering) 4 th Lecture, 31 January 2011

Special Course in Computer Science: Local Networks. Lecture

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

Current Trends in Wireless Networking. G Santhosh Kumar Cochin University of Science and Technology

Transcription:

Wireless Communication Serial communication Allocated a frequency of operation Could be a range of frequencies Regulated by FCC (Federal Communications Commission) in US Unfortunately, allocations are not world-wide Dominant forms Infrared VHF (very-high-frequency) UHF (ultra-high-frequency) Microwave UWB (ultra-wide-band) CSE 466 - Winter 2007 Wireless Communication 1 Electromagnetic Spectrum (3kHz 300GHz) CSE 466 - Winter 2007 Wireless Communication 2 1

How wireless frequencies are allocated Garage door openers, alarm systems, etc. 40MHz Cordless phones: 40-50MHz, 900MHz, 2.4GHz, 5.8GHz Baby monitors: 49MHz Radio controlled toys: 27-75MHz Wildlife tracking collars: 215-220MHz MIR space station: 145-437MHz Cell phones: 824-849MHz, 869-894MHz, 1850-1990MHz Public safety (fire, police, ambulance): 849-869MHz Air traffic control radar: 960MHz-1.215GHz Global Positioning System: 1.227-1.575MHz Satellite radio: 2.3GHz WiFi/802.11b/g and Bluetooth: 2.4GHz Zigbee/802.15.4: 868MHz, 915MHz, 2.4GHz Microwave ovens: 2.4Ghz TV: 54-216 (VHF 2-13), 470-806MHz (UHF 14-69) Ultra-wide-band: 3.1-10.6GHz ISM (industrial, scientific, medical): 900MHz, 1.8GHz, 2.4GHz, 5.8GHz CSE 466 - Winter 2007 Wireless Communication 3 Considerations in choosing a carrier frequency Carrier frequency Signal that is modulated to carry data Frequency is not equal to bandwidth Ability to carry data (modulation rate) Availability of devices to transmit and receive signals Interference from other devices in same band ISM bands limit power output Interactions of radiation with environment absorption by water, metal, building materials, foliage Reflection and multi-path properties constructive/destructive interference patterns (e.g., nulls) CSE 466 - Winter 2007 Wireless Communication 4 2

Radio Protocols for Wireless Networks UHF (300-1000Hz) Mote radio WiFi (2.4GHz) Wireless LAN Bluetooth (2.4GHz) Common in many consumer devices (PDAs, cell phones, etc.) Zigbee (850-930MHz) Next generation radio for sensor networks and consumer devices CSE 466 - Winter 2007 Wireless Communication 5 Wireless Network Evolution Point-to-point Simple wire replacement (Virtual Wire, Bluetooth) Star pattern (single base-station) Centralized routing and control point (WiFi, GSM) Multi-hop/Mesh (wireless sensor networks) Multiple paths for data Self-configuring CSE 466 - Winter 2007 Wireless Communication 6 3

Comparison of Major Protocols Feature(s) IEEE 802.11b Bluetooth ZigBee Power Profile Hours Days Years Complexity Very Complex Complex Simple Nodes/Master 32 7 64000 Latency Enumeration upto 3 seconds Enumeration upto 10 seconds Enumeration 30ms Range 100 m 10m 70m-300m Extendability Roaming possible No YES Data Rate 11Mbps 1Mbps 250Kbps Security Authentication Service Set ID (SSID) 64 bit, 128 bit 128 bit AES and Application Layer user defined CSE 466 - Winter 2007 Wireless Communication 7 The Wireless Market SHORT < RANGE > LONG TEXT INTERNET/AUDIO COMPRESSED VIDEO ZigBee Bluetooth1 Bluetooth 2 MULTI-CHANNEL DIGITAL VIDEO 802.11b 802.15.3/WIMEDIA 802.11a/HL2 & 802.11g LOW < ACTUAL THROUGHPUT > HIGH CSE 466 - Winter 2007 Wireless Communication 8 4

Zigbee (adapted from www.zigbee.org) Simple protocol (small memory footprint for protocol stack) Broadcast support (unlike Bluetooth) Full network support (up to 64-bit addresses) Very low power (batteries that last years) Consumer device networks Remote monitoring and control Low-cost, low-complexity Support ad-hoc and mesh networking Industry consortium Builds on IEEE standard 802.15.4 physical radio standard OQSK encoding (offset quadrature phase shift keyed) Adds logical network, security and application software 250Kb/sec bandwidth 128Kb/sec effective, 30m range at 2.4GHz 40Kb/sec at 915MHz CSE 466 - Winter 2007 Wireless Communication 9 Why is low power important Always need to be conscious of energy Consider a future home with 100 wireless control/sensor devices and 50K homes in a city Case 1: 802.11 Rx power is 667 mw (always on) = 3.33MW Case 2: 802.15.4 Rx power is 30 mw (always on) = 150KW Case 3: 802.15.4 Rx power cycled at.1% (typical) = 150W CSE 466 - Winter 2007 Wireless Communication 10 5

Applications security HVAC AMR lighting control access control BUILDING AUTOMATION CONSUMER ELECTRONICS TV VCR DVD/CD remote patient monitoring fitness monitoring PERSONAL HEALTH CARE ZigBee Wireless Control that Simply Works PC & PERIPHERALS mouse keyboard joystick asset mgt process control environmental energy mgt INDUSTRIAL CONTROL RESIDENTIAL/ LIGHT COMMERCIAL CONTROL security HVAC lighting control access control lawn & garden irrigation CSE 466 - Winter 2007 Wireless Communication 11 Protocol Stack Features 8-bit microcontroller Compact protocol stack <32KB Supports even simpler slave-only stack <4KB Coordinator requires extra memory for storing association tables APPLICATION/PROFILES APPLICATION FRAMEWORK NETWORK/SECURTIY LAYERS MAC LAYER PHY LAYER Application ZigBee Platform Stack Silicon ZigBee or OEM ZigBee Alliance Platform IEEE CSE 466 - Winter 2007 Wireless Communication 12 6

802.15.4 Packet Format Physical Protocol Data Unit Preamble Sequence 4 Octets Start of Frame Delimiter 1 Octet Frame Length 1 Octet Physical Service Data Unit Frame Control 2 Octets Data Sequence Number 1 Octet Address Information 4 20 Octets Frame Check Sequence 2 Octets CSE 466 - Winter 2007 Wireless Communication 13 Zigbee Networks Basic Network Characteristics 64-bit address, 16-bit network address Optimized for timing-critical applications Network join time: 30 ms (typ) Sleeping slave changing to active: 15 ms (typ) Active slave channel access time: 15 ms (typ) Traffic types Periodic data (e.g., sensor) Intermittent data, event (e.g., light switch) Low-latency, slotted (e.g., mouse) Network coordinator Full Function node Reduced Function node Communications flow Virtual links CSE 466 - Winter 2007 Wireless Communication 14 7

Zigbee Networks (cont d) Topology Models Mesh Star Cluster Tree PAN coordinator Full Function Device Reduced Function Device CSE 466 - Winter 2007 Wireless Communication 15 Lighting Control Advance Transformer Wireless lighting control Dimmable ballasts Light switches anywhere Customizable lighting schemes Energy savings on bright days Dali [or other] interface to BMS Extendable networks Additional sensors Other networks [Philips Lighting] CSE 466 - Winter 2007 Wireless Communication 16 8

HVAC Energy Management Hotel energy management Major operating expense for hotel Centralized HVAC management allow hotel operator to make sure empty rooms are not cooled Retrofit capabilities Battery operated thermostats can be placed for convenience Personalized room settings at check-in CSE 466 - Winter 2007 Wireless Communication 17 Asset Management Within each container, sensors form a mesh network. Multiple containers in a ship form a mesh to report sensor data Increased security through on-truck and on-ship tamper detection Faster container processing. Manifest data and sensor data are known before ship docks at port. CSE 466 - Winter 2007 Wireless Communication 18 9

Residential Control CSE 466 - Winter 2007 Wireless Communication 19 Residential Example CSE 466 - Winter 2007 Wireless Communication 20 10

Wireless radio on imote2 Chipcon 2420 Low-cost transceiver at 2.4GHz (unlicensed ISM band) Compliant with IEEE 802.15.4 (ZigBee physical layer) Key features Low current consumption (RX: 19.7 ma, TX: 17.4 ma) Low supply voltage with internal voltage regulator (2.1 V - 3.6 V) Programmable output power Few external components Packet handling with 128 byte (RX) + 128 byte (TX) data buffering Digital RSSI/LQI support Hardware MAC encryption and authentication (AES-128) CSE 466 - Winter 2007 Wireless Communication 21 Radio Data Packets on the imote2 Packet contents 4 byte preamble 1 byte frame delimiter (hex 7A 01111010) 1 byte frame length (all that follows: 39) 2 byte frame control (defaults: see Fig 19 of data sheet) 1 byte sequence number (increments for every packet sent) 6 byte address 2 byte dest. network (fixed to a default value) 2 byte dest. node (1 st byte is group number, 2 nd byte is group s imote (1 or 2)) 1 byte packet type (used to indicate handler to use) 1 byte packet group (not used) 28 byte data payload 2 byte frame check sequence CSE 466 - Winter 2007 Wireless Communication 22 11

Basic data transfer 44 total bytes sent by CC2420 User-level program provides 34 bytes (address, payload) CC2420 sends fully-formed packet Awaits acknowledgement from receiving CC2420 Acknowledgement frame automatically sent 4 byte preamble 1 byte frame delimiter 1 byte frame length 2 byte frame control 1 byte data sequence number (same as received packet) 2 byte frame check sequence For broadcast packets, drivers turns off acknowledgement required bit in frame control field CSE 466 - Winter 2007 Wireless Communication 23 API to user-level program Yet another character-based devices Open device Create packet (referred to as ToS message) Write to file descriptor (provide struct) Close file CSE 466 - Winter 2007 Wireless Communication 24 12

ToS message struct struct TOS_Msg { u8 length; u8 fcfhi; u8 fcflo; u8 dsn; u16 destpan; // destpan u16 addr; // destaddr u8 type; u8 group; s8 data[max_tosh_data_length + 6]; u8 strength; u8 lqi; u8 crc; u8 ack; u16 time; }; CSE 466 - Winter 2007 Wireless Communication 25 Sending a packet int tosmac_dev; TOS_Msg recv_pkt; TOS_Msg send_pkt; tosmac_dev = open(tosmac_device, O_RDWR); msg_init(&send_pkt); send_pkt.addr = 99; memcpy(send_pkt.data, "0000000000000", 14); send_pkt.length = 14; write(tosmac_dev, (TOS_Msg*)&send_pkt, sizeof(tos_msg)); close(tosmac_dev); CSE 466 - Winter 2007 Wireless Communication 26 13

Receiving a packet int tosmac_dev; TOS_Msg recv_pkt; TOS_Msg send_pkt; // open as blocking mode tosmac_dev = open(tosmac_device, O_RDWR); read(tosmac_dev, &recv_pkt, sizeof(tos_msg)); printf("length is %d\n", recv_pkt.length); printf("data is %s\n", recv_pkt.data); close (tosmac_dev); CSE 466 - Winter 2007 Wireless Communication 27 Bluetooth Short-range radio at 2.4GHz Available globally for unlicensed users Low-power Low-cost Cable replacement Devices within 10m can share up to 1Mb/sec 700Kb/sec effective Universal short-range wireless capability CSE 466 - Winter 2007 Wireless Communication 28 14

Bluetooth Application Areas Data and voice access points Real-time voice and data transmissions Cordless headsets Three-in-one phones: cell, cordless, walkie-talkie Cable replacement Eliminates need for numerous cable attachments for connection Automatic synchronization when devices within range Ad hoc networking Can establish connections between devices in range Devices can imprint on each other so that authentication is not required for each instance of communication Support for object exchange (files, calendar entries, business cards) CSE 466 - Winter 2007 Wireless Communication 29 Bluetooth Standards Documents Core specifications Details of various layers of Bluetooth protocol architecture Emphasis on physical and transport layers Profile specifications Use of Bluetooth technology to support various applications Examples include point-to-point audio and local area network CSE 466 - Winter 2007 Wireless Communication 30 15

Protocol Architecture Bluetooth is a layered protocol architecture Core protocols Cable replacement and telephony control protocols Adopted protocols Core protocols Radio Baseband Link manager protocol (LMP) Logical link control and adaptation protocol (L2CAP) Service discovery protocol (SDP) CSE 466 - Winter 2007 Wireless Communication 31 Bluetooth Stack Overview IP sdp pan rfcomm Core Bluetooth l2cap LMP HCI (USB,Serial, ) Radio CSE 466 - Winter 2007 Wireless Communication 32 16

Protocol Architecture Cable replacement protocol RFCOMM Telephony control protocol Telephony control specification binary (TCS BIN) Adopted protocols PPP TCP/UDP/IP OBEX WAP Profiles vertical slide through the protocol stack Basis of interoperability Each device supports at least one profile Defined based on usage models e.g., headset, camera, personal server, etc. CSE 466 - Winter 2007 Wireless Communication 33 Piconets and Scatternets Piconet Basic unit of Bluetooth networking Master and up to 7 slave devices Master determines channel and phase Scatternet Device in one piconet may exist as master or slave in another piconet Allows many devices to share same area Makes efficient use of bandwidth CSE 466 - Winter 2007 Wireless Communication 34 17

Wireless Network Configurations CSE 466 - Winter 2007 Wireless Communication 35 Radio Specification Classes of transmitters Class 1: Outputs 100 mw for maximum range Power control mandatory Provides greatest distance Class 2: Outputs 2.4 mw at maximum Power control optional Class 3: Nominal output is 1 mw Lowest power CSE 466 - Winter 2007 Wireless Communication 36 18

Frequency Hopping in Bluetooth Provides resistance to interference and multipath effects Provides a form of multiple access among co-located devices in different piconets CSE 466 - Winter 2007 Wireless Communication 37 Frequency Hopping Total bandwidth divided into 1MHz physical channels Frequency hopping occurs by moving transmitter/receiver from one channel to another in a pseudo-random sequence Hopping sequence shared with all devices in the same piconet so that they can hop together and stay in communication CSE 466 - Winter 2007 Wireless Communication 38 19

Physical Links between Master - Slave Synchronous connection oriented (SCO) Allocates fixed bandwidth between point-to-point connection of master and slave Master maintains link using reserved slots Master can support three simultaneous links Asynchronous connectionless (ACL) Point-to-multipoint link between master and all slaves Only single ACL link can exist CSE 466 - Winter 2007 Wireless Communication 39 Bluetooth Packet Fields Access code timing synchronization, offset compensation, paging, and inquiry Header identify packet type and carry protocol control information Payload contains user voice or data and payload header, if present CSE 466 - Winter 2007 Wireless Communication 40 20

Channel Control States of operation of a piconet during link establishment and maintenance Major states Standby default state Connection device connected CSE 466 - Winter 2007 Wireless Communication 41 Channel Control Interim substates for adding new slaves Page device issued a page (used by master) Page scan device is listening for a page Master response master receives a page response from slave Slave response slave responds to a page from master Inquiry device has issued an inquiry for identity of devices within range Inquiry scan device is listening for an inquiry Inquiry response device receives an inquiry response CSE 466 - Winter 2007 Wireless Communication 42 21

State Transition Diagram CSE 466 - Winter 2007 Wireless Communication 43 Scenario steps Master device (e.g., PDA) pages for nearby devices Receives response from 0, 1, or more devices Slave device (e.g., headphone) responds to page Determines which it knows established connections L2CAP establishes Bluetooth connection assigning paging device to be master Devices exchange profiles they both support Agree upon profile (e.g., audio streaming) Master sends audio data Two devices synchronize their frequency hopping Keep-alive packets used to maintain connections Connections dropped if keep-alive packets are not acknowledged CSE 466 - Winter 2007 Wireless Communication 44 22

Limitations/Issues Discovery time on the order of 10sec for unknown devices Interaction with user required to connect to unknown devices or if multiple masters Can connect 8 devices at a time, more need to be multiplexed radically lowering throughput Doesn t support simple broadcast need to be on same frequency hopping schedule Effective bandwidth closer to 500Kbps (within one scatternet, order of magnitude lower if between two) CSE 466 - Winter 2007 Wireless Communication 45 23