192620010 mobile wireless networking lecture 8 bluetooth
play

192620010 Mobile & Wireless Networking Lecture 8: Bluetooth - PowerPoint PPT Presentation

192620010 Mobile & Wireless Networking Lecture 8: Bluetooth & Zigbee [Schiller, Section 7.5] [Reader, Part 7] [ Optional: Wikipedia, Bluetooth ] Geert Heijenk Mobile and Wireless Networking 2013 / 2014 Outline of Lecture 10


  1. 192620010 Mobile & Wireless Networking Lecture 8: Bluetooth & Zigbee [Schiller, Section 7.5] [Reader, Part 7] [ Optional: Wikipedia, “Bluetooth” ] Geert Heijenk Mobile and Wireless Networking 2013 / 2014

  2. Outline of Lecture 10 q Bluetooth q General characteristics q Piconets & scatternets q Basic Access scheme q Baseband (MAC layer) q Higher layer protocols q Profiles and Versions q Zigbee q Zigbee vs. IEEE 802.15.4 q Architecture & Topologies q IEEE 802.15.4 MAC layer 2 Mobile and Wireless Networking 2013 / 2014

  3. Bluetooth Idea q Universal radio interface for ad-hoc wireless connectivity q Interconnecting computer and peripherals, handheld devices, PDAs, cell phones q Embedded in other devices, goal: 5 € /device q Short range (10 m), low power consumption, license-free 2.45 GHz ISM q Voice and data transmission, approx. 1 Mbit/s gross data rate (original version) One of the first modules (Ericsson). 3 Mobile and Wireless Networking 2013 / 2014

  4. Bluetooth History q 1994: Ericsson (Mattison/Haartsen), “MC-link” project q Renaming of the project: Bluetooth according to Harald “Blåtand” Gormsen [son of Gorm], King of Denmark in the 10 th century q 1998: foundation of Bluetooth SIG, www.bluetooth.org q 2001: first consumer products for mass market, spec. version 1.1 released q 2005: 5 million chips / week q 2014: Cumulative product shipments appr. 3 billion Special Interest Group q Original founding members: Ericsson, Intel, IBM, Nokia, Toshiba q Added promoters: 3Com, Agere (was: Lucent), Microsoft, Motorola q > 10000 members q Common specification and certification of products 4 Mobile and Wireless Networking 2013 / 2014

  5. Characteristics 2.4 GHz ISM band, 79 (23) RF channels, 1 MHz carrier spacing q Channel 0: 2402 MHz … channel 78: 2480 MHz q GFSK modulation (1Mbit/s), 1-100 mW transmit power q π /4-DQPSK (2Mbit/s) and 8DPSK (3Mbit/s) for Bluetooth 2.0+EDR FHSS and TDD q Frequency hopping with 1600 hops/s q Hopping sequence in a pseudo random fashion, determined by a master q Time division duplex for send/receive separation Voice link – SCO (Synchronous Connection Oriented) q FEC (forward error correction), no retransmission, 64 kbit/s duplex, point-to-point, circuit switched Data link – ACL (Asynchronous ConnectionLess) q Asynchronous, fast acknowledge, point-to-multipoint, up to 433.9 kbit/s symmetric or 723.2/57.6 kbit/s asymmetric, packet switched Topology q Overlapping piconets (stars) forming a scatternet 5 Mobile and Wireless Networking 2013 / 2014

  6. Piconet q Collection of devices connected in an ad hoc fashion P S q One unit acts as master and the others S as slaves for the lifetime of the piconet M P q Master determines hopping pattern, slaves have to synchronize SB S P SB q Each piconet has a unique hopping pattern q Participation in a piconet = P=Parked synchronization to hopping sequence M=Master SB=Standby S=Slave q Each piconet has one master and up to 7 simultaneous slaves (> 200 could be parked) 6 Mobile and Wireless Networking 2013 / 2014

  7. Forming a piconet q All devices in a piconet hop together q Master gives slaves its clock and device ID l Hopping pattern: determined by device ID (48 bit, unique worldwide) l Phase in hopping pattern determined by clock q Addressing q Active Member Address (AMA, 3 bit) » q Parked Member Address (PMA, 8 bit) » P · S ¸ SB » SB S ½ » » SB M P » ¿ SB SB ¸ » SB ¸ S ¾ » Á SB SB P ¹ SB Á SB SB 7 Mobile and Wireless Networking 2013 / 2014

  8. Scatternet q Linking of multiple co-located piconets through the sharing of common master or slave devices q Devices can be slave in one piconet and master of another q Communication between piconets q Devices jumping back and forth between the piconets Piconets (each with a capacity of P < 1 Mbit/s) S S S P P M M SB S M=Master P SB SB S=Slave P=Parked S SB=Standby 8 Mobile and Wireless Networking 2013 / 2014

  9. Frequency hopping 78 Frequency 0 Time 9 Mobile and Wireless Networking 2013 / 2014

  10. Bluetooth protocol stack audio apps. NW apps. vCal/vCard telephony apps. mgmnt. apps. TCP/UDP OBEX AT modem IP commands TCS BIN SDP BNEP PPP Control RFCOMM (serial line interface) Logical Link Control and Adaptation Protocol (L2CAP) Audio Host Controller Link Manager Interface Baseband Radio AT: attention sequence SDP: service discovery protocol OBEX: object exchange RFCOMM: radio frequency comm. TCS BIN: telephony control protocol specification – binary BNEP: Bluetooth network encapsulation protocol 10 Mobile and Wireless Networking 2013 / 2014

  11. Basic access scheme 79 hops (in Japan, Spain, and France 23) at a 1 Mhz spacing q dwel time of 625 µ s q master determines the hopping sequence q TDD q f( k ) f( k+1 ) f( k+2 ) A t B t 625 µ s 11 Mobile and Wireless Networking 2013 / 2014

  12. Frequency selection during data transmission 625 µ s f k f k+1 f k+2 f k+3 f k+4 f k+5 f k+6 M S M S M S M t f k f k+3 f k+4 f k+5 f k+6 M S M S M t f k f k+1 f k+6 M S M t 12 Mobile and Wireless Networking 2013 / 2014

  13. Baseband q Piconet/channel definition q Low-level packet definition q Access code l Channel, device access, e.g., derived from master q Packet header l 1/3-FEC, active member address (broadcast + 7 slaves), link type, alternating bit ARQ/SEQ, checksum 68(72) 54 0-2745 bits access code packet header payload 4 64 (4) 3 4 1 1 1 8 bits preamble sync. (trailer) AM address type flow ARQN SEQN HEC 13 Mobile and Wireless Networking 2013 / 2014

  14. Baseband data rates Payload User Symmetric Asymmetric Header Payload max. Rate max. Rate [kbit/s] ACL Type [byte] [byte] FEC CRC [kbit/s] Forward Reverse DM1 1 0-17 2/3 yes 108.8 108.8 108.8 1 slot DH1 1 0-27 no yes 172.8 172.8 172.8 DM3 2 0-121 2/3 yes 258.1 387.2 54.4 3 slot DH3 2 0-183 no yes 390.4 585.6 86.4 DM5 2 0-224 2/3 yes 286.7 477.8 36.3 5 slot DH5 2 0-339 no yes 433.9 723.2 57.6 AUX1 1 0-29 no no 185.6 185.6 185.6 HV1 na 10 1/3 no 64.0 HV2 na 20 2/3 no 64.0 SCO HV3 na 30 no no 64.0 DV 1 D 10+(0-9) D 2/3 D yes D 64.0+57.6 D D ata M edium/ H igh rate, H igh-quality V oice, D ata and V oice 14 Mobile and Wireless Networking 2013 / 2014

  15. SCO payload types payload (30) HV1 audio (10) FEC (20) HV2 audio (20) FEC (10) HV3 audio (30) DV audio (10) header (1) payload (0-9) 2/3 FEC CRC (2) (bytes) 15 Mobile and Wireless Networking 2013 / 2014

  16. ACL Payload types payload (0-343) header (1/2) payload (0-339) CRC (2) DM1 header (1) payload (0-17) 2/3 FEC CRC (2) DH1 (bytes) header (1) payload (0-27) CRC (2) DM3 header (2) payload (0-121) 2/3 FEC CRC (2) DH3 header (2) payload (0-183) CRC (2) DM5 header (2) payload (0-224) 2/3 FEC CRC (2) DH5 header (2) payload (0-339) CRC (2) AUX1 header (1) payload (0-29) 16 Mobile and Wireless Networking 2013 / 2014

  17. Baseband link types q Polling-based TDD packet transmission q 625 µ s slots, master polls slaves q SCO (Synchronous Connection Oriented) – Voice q Periodic single slot packet assignment, 64 kbit/s full-duplex, point-to-point q ACL (Asynchronous ConnectionLess) – Data q Variable packet size (1,3,5 slots), asymmetric bandwidth, point-to-multipoint SCO ACL SCO ACL SCO ACL SCO ACL MASTER f 0 f 6 f 12 f 14 f 18 f 4 f 8 f 20 SLAVE 1 f 1 f 7 f 9 f 13 f 19 SLAVE 2 f 5 f 17 f 21 17 Mobile and Wireless Networking 2013 / 2014

  18. Robustness q Slow frequency hopping with hopping patterns determined by a master q Protection from interference on certain frequencies q Separation from other piconets (FH Spread Spectrum) q Retransmission Error in payload q ACL only, very fast (not header!) q Forward Error Correction q SCO and ACL NAK ACK A C C F H MASTER SLAVE 1 B D E SLAVE 2 G G 18 Mobile and Wireless Networking 2013 / 2014

  19. Link manager protocol q Authentication, pairing and encryption q Synchronization q Capability negotiation q Quality of service negotiation q Power control q State and transmission mode change 19 Mobile and Wireless Networking 2013 / 2014

  20. Baseband states of a Bluetooth device standby unconnected connecting inquiry page detach transmit connected active AMA AMA park hold sniff low power PMA AMA AMA Standby: do nothing Park: release AMA, get PMA Inquire: search for other devices Sniff: listen periodically, not each slot Page: connect to a specific device Hold: stop ACL, SCO still possible, possibly Connected: participate in a piconet participate in another piconet 20 Mobile and Wireless Networking 2013 / 2014

  21. L2CAP - Logical Link Control and Adaptation Protocol q Simple data link protocol on top of baseband q Connection oriented, connectionless, and signalling channels q Protocol multiplexing q RFCOMM, SDP, telephony control q Segmentation & reassembly q Up to 64kbyte user data, 16 bit CRC used from baseband q QoS flow specification per channel q Follows RFC 1363, specifies delay, jitter, bursts, bandwidth q Group abstraction q Create/close group, add/remove member 21 Mobile and Wireless Networking 2013 / 2014

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend