Stuff
New HW on the web later today No lab today Tests graded by Thurs
Stuff New HW on the web later today No lab today Tests graded by - - PowerPoint PPT Presentation
Stuff New HW on the web later today No lab today Tests graded by Thurs Last Time CAN Bus Intro Low-level stuff Frame types Arbitration Filtering Higher-level protocols Today Embedded wireless networking
New HW on the web later today No lab today Tests graded by Thurs
CAN Bus
Intro Low-level stuff Frame types Arbitration Filtering Higher-level protocols
Embedded wireless networking – 802.15.4
Characteristics Layers Spread spectrum intro PHY layer MAC layer Superframes Network layer
Design choices relative to 802.11 (WiFi) and 802.15.1
Simpler Lower cost Shorter range Lower bandwidth Lower power
Intended applications
Home networking
Automotive networking Industrial networking
Defines only the PHY and MAC layers
Zigbee Alliance is an association of companies involved
with building higher-layer standards based on IEEE 802.15.4
Two device profiles
Full function – capable of being a network coordinator Reduced function – end-node
8051 processor
Old-style 8-bit, originated at Intel 32 MHz, 8 KB RAM, 128 KB Flash
802.15.4 radio on-chip
Short-range, low-power wireless Zigbee is based on this
Low power: 25 mA for CPU + Zigbee receive Low cost: <$4 in large quantities This has potential to be big
Cheaply add wireless connectivity to any device
LLC == Logic Link Control
IEEE 802.15.4 MAC Upper Layers IEEE 802.2 LLC Other LLC IEEE 802.15.4 2400 MHz PHY IEEE 802.15.4 868/915 MHz PHY
2.4 GHz band has worldwide availability and
The 868/915 MHz PHY specifies operation in the 868
Offer data rates 20 kb/s and 40 kb/s respectively
Idea:
Sender spreads the signal over a larger bandwidth than it
would ordinarily cover
to the signal
Receiver “despreads” to recover original signal
Main goal: Increase resistance to interference This is direct sequence spread spectrum
Other SS techniques exist E.g. frequency hopping
Period of
Period of
BPSK – Binary Phase-Shift Keying
0 leaves chips unmodified 1 flips sense of all chips Encodes 1 bit per symbol
QPSK – Quadrature Phase-shift Keying
Beyond the scope of today’s lecture Encodes 4 bits per symbol
Spreading: Despreading:
Resistance to interception: This one doesn’t apply to 802.15.4! Resistance to multipath effects: Delayed paths are rejected (and can even be exploited)
868 MHz PHY
BPSK chip modulation at 300 kchips/s Data rate 20 kbps Spread factor of 15
915 MHz PHY
BPSK chip modulation at 600 kchips/s Data rate 40 kbps Spread factor of 15
2.4 GHz PHY
O-QPSK chip modulation at 2.0 Mchips/s 62.5 k symbols/s, 4 bits/symbol Data rate 250 kbps Spread factor of 32
Preamble Start of Packet Delimiter PHY Header PHY Service Data Unit (PSDU)
PHY Packet Fields
6 bytes 0-127 bytes
Frame control field indicates the type of MAC frame
Multiple address types
64 bit physical address Short 16 bit network assigned addresses
Address field size may vary from 0 to 20 bytes Payload field is variable size, at most 127 bytes FCS is used for integrity check using 16 bit CRC
CSMA/CA – Carrier sense with multiple access and
Transmit when the medium is free
Exceptions:
Certain applications require dedicated bandwidth to
Optional superframe mode
PAN coordinator transmits superframe beacons in
This interval divided into 16 time slots
PAN coordinator may assign time slots to devices
These assigned time slots are called guaranteed
15ms * 2n 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 2 GTS 1
Guaranteed Time Slot
Reserved for nodes requiring guaranteed bandwidth
Contention Access Period Contention Free Period
Two or more 802.15.4 nodes form a PAN
”Personal area network”
Two different types of devices
Full functional Device (FFD)
Reduced Functional Device (RFD)
Bluetooth – dying slowly? 802.15.4 / Zigbee – cool stuff
Simple protocols Very low power Cheap
801.15.4 might be big
Too early to tell Probably depends on whether incremental cost / power
requirements can be made very low