Download presentation
Presentation is loading. Please wait.
Published byRaymond George Modified over 9 years ago
1
IEEE 802.15.4 Taekyoung Kwon
2
802.15.4 Wireless MAC and PHY layer specifications for Low-rate Wireless Personal Area Networks (LR-WPANs) –Short distance –Little or no infrastructure –Small –Power-efficient –inexpensive
3
Application spaces Home Networking Automotive Networks Industrial Networks Interactive Toys Remote Metering
4
More specifically … ZigBee LOW DATA-RATE RADIO DEVICES HOME AUTOMATION CONSUMER ELECTRONICS TV VCR DVD/CD remote security HVAC lighting closures PC & PERIPHERALS mouse keyboard joystick TOYS & GAMES PETs gameboys educational PERSONAL HEALTH CARE monitors diagnostics sensors INDUSTRIAL & COMMERCIAL monitors sensors automation control
5
Application topology Cable replacement - Last meter connectivity Virtual Wire Wireless Hub Stick-On Sensor Mobility Ease of installation
6
requirements Thousands of sensors in a small space Wireless but wireless implies Low Power! and low power implies Limited Range. Of course all of these is viable if a Low Cost transceiver is required
7
Basic characteristics
8
802.15.4 PHY DSSS 250 Kbps at 2.450 GHz (ISM) –16-ary quasi-orthogonal modulation 4 bit -> 1 symbol –32 chip sequence 1 symbol -> 32 chips –O-QPSK –2.0Mchip/s 62.5ksymbol/s * FEC
9
802.15.4 PHY: Packet structure Preamble Start of Packet Delimiter PHY Header PHY Service Data Unit (PSDU) PHY Packet Fields Preamble (32 bits) – synchronization Start of Packet Delimiter (8 bits) PHY Header (7 bits) – PSDU length PSDU (0 to 1016 bits) – Data field 6 Octets0-127 Octets
10
802.15.4 PHY
11
service primitive user services provided by a layer are implemented as a set of service primitives the primitive name includes details of its type and identity of layer providing service
12
4 primitives For confirmed service, there are 4 primitives request - entity wants service to do some work indication - entity is informed about event response - entity wants to respond to event confirm - entity is to informed about its request For unconfirmed service, the first 2 primitives
13
4 primitives
14
802.15.4 PHY: primitives PHY Data Service PD-DATA – exchange data packets between MAC and PHY PHY Management Service PLME-CCA – clear channel assessment PLME-ED - energy detection PLME-GET / -SET– retrieve/set PHY PIB parameters PLME-SET-TRX-STATE – enable/disable transceiver
15
details
17
Constants
18
PIB attributes
19
802.15.4 PHY revisited Receiver sensitivity: -85 dBm at 2.4GHz dB = 10 log p/p_ref dBm = 10 log p/1mW LQI –Word file –www.rfdh.com How about 802.15.4a? –UWB –Any more parameter?
20
802.15.4 MAC Extremely low cost Ease of implementation Reliable data transfer Short range operation Very low power consumption Simple but flexible protocol
21
Traffic types Periodic data –Application defined rate (e.g. sensors) Intermittent data –Application/external stimulus defined rate (e.g. ligh t switch) Repetitive low latency data –Allocation of time slots (e.g. mouse)
22
802.15.4 MAC
23
MAC Full function device (FFD) –Any topology –Network coordinator capable –Talks to any other device Reduced function device (RFD) –Limited to star topology –Cannot become a network coordinator –Talks only to a network coordinator –Very simple implementation
24
MAC: star topology Full function device Reduced function device Communications flow Master/slave PAN Coordinator
25
MAC: peer-to-peer Full function deviceCommunications flow Point to point Cluster tree
26
MAC: combined topology Full function device Reduced function device Communications flow Clustered stars - for example, cluster nodes exist between rooms of a hotel and each room has a star network for control.
28
General frame format 4 Types of MAC Frames: Data Frame Beacon Frame Acknowledgment Frame MAC Command Frame
29
Data transfer model To a coordinator From a coordinator Between peer-to-peer entities
30
Communication in beacon mode (from device to coordinator) Slotted CSMA-CA
31
Communication in non-beacon mode (from device to coordinator) unslotted CSMA-CA
32
Communication in beacon mode (from coordinator to device) slotted CSMA-CA Indirect transmission
33
Communication in non-beacon mode (from coordinator to device) unslotted CSMA-CA Indirect transmission
34
How about peer-to-peer mode? In a peer-to-peer PAN, every device may communicate with every other device in its radio sphere of influence. In order to do this effectively, the devices wishing to communicate will need to either receive constantly or synchronize with each other. In the former case, the device can transmit data using unslotted CSMA-CA mode. In the latter case, other measures need to be taken in order to achieve synchronization. Such measures are beyond the scope of this standard.
35
Superframe: CSMA-CA + TDMA 15ms * 2 n where 0 n 14 Network beacon Contention period Beacon extension period Transmitted by network coordinator. Contains network information, frame structure and notification of pending node messages. Space reserved for beacon growth due to pending node messages Access by any node using CSMA-CA GTS 2GTS 1 Guaranteed Time Slot Reserved for nodes requiring guaranteed bandwidth [n = 0]. Contention Access Period Contention Free Period up to 7 GTSes Total 16 slots
36
Superframe structure macBeaconOrder (BO) –Interval between beacons Beacon Interval (BI) –BI = aBaseSuperframeDuration * 2 BO macSuperframeOrder (SO) –Length of active portion of the superframe Superframe duration (SD) –SD = aBaseSuperframeDuration * 2 SO aBaseSuperframeDuration = 16 * aBaseSlotDuration 0<=SO<=BO<=14 If BO = SO = 15, no beacon -> unslotted CSMA-CA
37
Example of superframe
38
Inter-frame spacing (IFS)
39
Illustration (2.4GHz) A minimum size slot: 30 bytes –60 symbols, 0.96ms If MPDU ’ s size < 18 octet, SIFS = 6 octet –Otherwise, LIFS = 20 octets aUnitBackoffPeriod = 10 octets
40
CSMA-CA CSMA-CA is not for beacon, ACK, data frames in CFP
41
Unslotted version macMinBE = 3
42
aMaxBE = 5 macMaxCSMABackoff = 4
43
MAC addressing All devices have IEEE addresses (64 bits) Short addresses (16 bits) can be allocated Addressing modes –PAN identifier (16 bits)+ device identifier (16/64 bits) 0xffff: PAN ID, short address Beacon frame: no destination address
44
General frame format 4 Types of MAC Frames: Data Frame Beacon Frame Acknowledgment Frame MAC Command Frame
45
General MAC frame
46
Frame control field
47
Addressing mode
48
Beacon frame Superframe spec. BSN src
51
Data frame format DSN
52
ACK frame
53
MAC command frame
54
MAC commands
55
Association command
56
PAN ID Conflict Beacon frame is received by the PAN coordinator with the same PAN ID PAN ID conflict notification command from a device –A beacon frame is received –Same PAN ID, but coordinator has different address Resolution –Active scan and then select new PAN ID –Coordinator realignment command
57
Orphan notification Loss of synchronization (data transmission failure) Orphaning mechanism –Orphan channel scan Orphan notification command –Only the original coordinator will reply with coordinator realignment command Or reset and try association again
58
Coordinator realignment Orphan notification command is received by coordinator Any attribute of PAN configuration changes Header omitted
61
MAC primitives MAC Data Service MCPS-DATA – exchange data packets between MAC and PHY MCPS-PURGE – delete the data packet in MAC queue MAC Management Service MLME-ASSOCIATE/DISASSOCIATE – network association MLME-SYNC / SYNC-LOSS - device synchronization MLME-SCAN - scan radio channels MLME-GET / -SET– retrieve/set MAC PIB parameters MLME-START / BEACON-NOTIFY – beacon management MLME-POLL - beaconless synchronization MLME-GTS - GTS management MLME-ORPHAN - orphan device management MLME-RX-ENABLE - enabling/disabling of radio system MLME-RESET - MLME-COMM-STATUS -
62
MCPS service
63
MAC data service Originator MAC Recipient MAC MCPS-DATA.request Data frame MCPS-DATA.confirm MCPS-DATA.indication Acknowledgement (if requested) Channel access Originator Recipient
67
MLME-ASSOCIATE After issuing MLME-RESET Active or passive channel scan –PAN descriptors Src PAN ID: 0xffff
68
MLME-BEACON-NOTIFY macAutoRequest beacon payload
69
MLME-SCAN
70
ED SCAN When a prospective PAN coordinator to select a channel Measure peak energy in each requested channel Discard every frame received while scanning Return energy levels
71
active SCAN When FFD wants to locate any coordinator within POS –A prospective coordinator selects PAN ID –Prior to device association Receive beacon frames only –macPANId = 0xffff Send beacon request command –Destination PAN ID = 0xffff Return PAN descriptors
72
passive SCAN No beacon request command Device to prior to association Receive beacon frames only –macPANId = 0xffff
73
Orphan scan Device attempts to relocate its coordinator For each channel, send orphan notification command –Dest PAN id, dest short addr = 0xffff Only the original coordinator will reply Receive coordinator realignment command frame only
74
MLME-COMM-STATUS MLME communicates to the next higher layer about transmission status when transmission is not instigated by.request primitive Two cases –.response primitive –Reception of a frame
75
MLME-START
76
MLME-SYNC Logical channel, TrackBeacon
77
MLME-POLL For requesting data from a coordinator (indirect transmission)
79
Starting a PAN An FFD performs active channel scan Decides own PAN ID, short address MLME-START –Set PAN coordinator flag in beacon frame Beacon generation –An FFD (not coordinator) can send beacon –Same PAN ID as the coordinator
80
PAN start message flow (1/2)
81
PAN start message flow (2/2)
82
MAC constants
85
MAC PIB attributes
91
IEEE 802.15.4 future? Some revision in 802.15.4b –Resolve ambiguities –Reduce complexities GTS as optional –Consider other available frequencies China
92
802.15.5 –to determine the necessary mechanisms that must be present in the PHY and MAC layers of WPANs to enable mesh networking Initial objectives –Extension of network coverage without increasing transmit power or receive sensitivity –Enhanced reliability via route redundancy –Easier network configuration –Better device battery life due to fewer retransmissions
93
mmWave interest group in 802.15 IEEE 802.15 has formed an interest group to explore the use of the 60 GHz band for wireless personal area networks (WPANs). This little-used band (as defined in FCC 47 CFR 15.255) provides 5 GHz of bandwidth and avoids interference with nearly all electronic devices, given the high attenuation of these wavelengths by walls and floors, and promises to allow more WPANs to occupy the same building
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.