CS541 Lecture5
CS541 Lecture5
IEEE Standards family for Wireless Personal and Body Area Networks
• IEEE 802.15.1
• IEEE 802.15.4
• IEEE 802.15.6
• LoRAWAN Specification
• Cost-effective/Flexible/Interoperable solutions
• Services of a layer:
capabilities it offers to the
users of the upper layers
Request: The request primitive is passed from the N-th layer to the (N-1)-th layer to request that a service is initiated.
e.g. a node creates a MAC packet @ the MAC layer PHY Layer
Indication: The indication primitive is passed from the (N-1)-th layer to the N-th layer to indicate an internal event
e.g. a node receives a frame @ the PHY Layer and passes it on the MAC layer
Response: The response primitive is passed from the N-layer to the N—1 layer to complete a procedure previously invoked
by an indication primitive. e.g. a node @ the MAC layer generates a response for a MAC frame it received -> PHYLayer
Confirm: The confirm primitive is passed from the N—1 layer to the N-layer to convey the results of one or more associated
previous service requests. e.g. a node @ the PHY receives the response -> MAC Layer
Host Controller Interface (HCI): Uniform set of interfaces for accessing the
upper layers of the Bluetooth stack.
Link Manager Protocol (LMP): Control operations for the baseband and
physical layers.
Baseband: Packets formats & defines the physical links that can be formed
between a master and a slave device.
Physical links are only formed a master and a slave. A master can support
up to 7 active links with slave devices.
--Automatic network formation is not ++Active links are maintained only for as
supported (single point failure) long as data need to be exchanged
between two devices. (low-energy)
--Starting up a connection ~ 5sec
++Starting up a connection ~6ms
--Blocking operations (e.g., once a
Bluetooth inquiry is initiated to look for --Not support data streaming: Designated
other Bluetooth devices, it disrupts every for sending small chunks of data
on-going communication, such as
transmission of an ECG data stream.
--No support for multicasting
CS-541 Wireless Sensor Networks
Spring Semester 2017-2018 11
University of Crete, Computer Science Department
IEEE 802.15.4
Standard Description Initial Release / Revision Date Amendments
PHY and MAC Layer for 2003 /2006/ 2011 802.15.4.a (2007): PHY Layer
IEEE Low Rate Wireless Extension to
802.15.4 Personal Area Networks Chirp Spectrum Techniques and
(LR-WPAN) UWB systems
802.15.4c (2009): Alternative PHY
Extension to support one or more of
the Chinese 314-316 MHz, 430-434
MHz, and 779-787 MHz bands
A PAN Coordinator
• Associates a PAN with an ID. Networks with different IDs cannot communicate
directly with each other.
• Allows nodes to join, leave the PAN. If necessary initiates, terminates, routes the
communication (RFD)
• Usually is plugged into power source (Vs RFDs and FFDs)
-- small communication ranges (< 10 m), which limits its applicability for WSN
deployment.
-- Carrier Sensing MAC is not applicable
CS-541 Wireless Sensor Networks
Spring Semester 2017-2018 17
University of Crete, Computer Science Department
How to calculate time required for a packet to reach its destination at
the PHY layer given the band range and type of modulation?
e.g.
PHY header
6 Bytes
@2.4GHz -- O-QPSK ??
@ 868MHz – BPSK ??
Industrial
Rural Industrial
• RSSI Vs LQI: cuttoff threshold of RSSI that affects the LQI (=> chip error rate)
• However: different environment has also different RSSI – LQI relationship
• @ industrial environment: higher LQI variation Vs @ home / working environments, where
LQI presents lower variations
CAP CFP
Coordinator
time
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
• Backoff exponent
• Clear Channel Assessment
• If channel is idle => transmission
• Else increase backoff exponent and try again
Slotted CSMA-CA
• Basic steps of unslotted CSMA-CA
• The start of the first backoff period of each device is aligned with the start of
the beacon transmission.
• The channel has to be clear for a number of backoff periods before the
transmission commences
NB : #backoffs
CW: size of the current
congestion window
BE: current backoff
exponent.
Constants, parameters
and operational
thresholds are defined in Increase
the standard the backoff
exponent
Interframe spacing: time period separating the transmission of two successive frames from
the same device
Length of the IFS period depends on the type of the frame that has just been transmitted.
MAC
@MAC
Star / Extended Star topologies only
When the BSN operates in either of the first two modes, the hub provides a time
reference and corresponding time division to the operational nodes
Beacon with Non-beacon with Non-beacon without
Medium Access Policy Type
superframes superframes superframes
Contention – Free
Scheduled Access (Pre-negotiated x x -
dedicated time slots)
On demand slot
allocation and data
Improvised /
Unscheduled Access
transaction based on x x -
Polling / Posting and
Round-robin
Example
• Adaptive Data rates: 0.25 – 50kbps Number of chips utilized for the
transmission by the SS
• Trade-offs between range and data-rates mechanism
Chip: shorted modulated signal
Class A (for All): transmissions are always initiated by the end devices (asynchronous)
Class B (for Beacon): synchronize with the NetServer – receiving downlink data or
command packets in specific time windows, irrespective of the uplink traffic.
Class C (for Continuously listening): keep the receive window always open
802.15.4-2011 - IEEE Standard for Local and metropolitan area networks--Part 15.4: Low-Rate Wireless Personal
Area Networks (LR-WPANs)
802.15.6-2012 - IEEE Standard for Local and metropolitan area networks - Part 15.6: Wireless Body Area
Networks
Proceedings of the workshop on Wireless Body Area Networks, Body Sensor Networks Conference 2012, London,
UK
Centerato et. al, Long-Range Communications in Unlicensed Bands: The Rising Stars in the IoT and Smart City
Scenarios, IEEE Wireless Communications, Oct. 2016.
Kartakis and McCann, “Communication Optimization and Edge Analytics for Smart Water Grid”, in Smart Water
Grids: a CPS approach (ch. 3), March 2018.