IEEE 802.15.4 is a technical standard that defines the operation of a low-rate wireless personal area network (LR-WPAN). It specifies the
physical layer
In the seven-layer OSI model of computer networking, the physical layer or layer 1 is the first and lowest layer: the layer most closely associated with the physical connection between devices. The physical layer provides an electrical, mechani ...
and
media access control
In IEEE 802 LAN/MAN standards, the medium access control (MAC), also called media access control, is the layer that controls the hardware responsible for interaction with the wired (electrical or optical) or wireless transmission medium. Th ...
for LR-WPANs, and is maintained by the
IEEE 802.15 working group, which defined the standard in 2003. It is the basis for the
Zigbee,
ISA100.11a,
WirelessHART,
MiWi,
6LoWPAN,
Thread,
SNAP, and
Clear Connect Type X specifications, each of which further extends the standard by developing the upper
layers, which are not defined in IEEE 802.15.4. In particular,
6LoWPAN defines a binding for the
IPv6
Internet Protocol version 6 (IPv6) is the most recent version of the Internet Protocol (IP), the communication protocol, communications protocol that provides an identification and location system for computers on networks and routes traffic ...
version of the
Internet Protocol
The Internet Protocol (IP) is the network layer communications protocol in the Internet protocol suite for relaying datagrams across network boundaries. Its routing function enables internetworking, and essentially establishes the Internet.
IP ...
(IP) over WPANs, and is itself used by upper layers such as
Thread.
Overview
IEEE standard 802.15.4 is intended to offer the fundamental lower network layers of a type of wireless personal area network (WPAN), which focuses on low-cost, low-speed ubiquitous communication between devices. It can be contrasted with other approaches, such as
Wi-Fi
Wi-Fi () is a family of wireless network protocols based on the IEEE 802.11 family of standards, which are commonly used for Wireless LAN, local area networking of devices and Internet access, allowing nearby digital devices to exchange data by ...
, which offers more bandwidth and requires more power. The emphasis is on very low-cost communication of nearby devices with little to no underlying infrastructure, intending to exploit this to lower power consumption even more.
The basic framework conceives a 10-meter communications range with
line of sight at a
transfer rate of 250 kbit/s. Bandwidth tradeoffs are possible to favor more radically
embedded devices with even lower power requirements for increased battery operating time, through the definition of not one, but several physical layers. Lower transfer rates of 20 and 40 kbit/s were initially defined, with the 100 kbit/s rate being added in the current revision.
Even lower rates can be used, which results in lower power consumption. As already mentioned, the main goal of IEEE 802.15.4 regarding WPANs is the emphasis on achieving low manufacturing and operating costs through the use of relatively simple transceivers, while enabling application flexibility and adaptability.
Key 802.15.4 features include:
# Suitability for
real-time applications with reservation of Guaranteed Time Slots (GTS).
# Collision avoidance through
CSMA/CA
Carrier-sense multiple access with collision avoidance (CSMA/CA) in computer networking, is a link layer multiple access method in which carrier sensing is used. Under CSMA/CA, nodes attempt to avoid collisions by beginning transmission only af ...
.
# Integrated support for secure communications.
# Power management functions to adjust compromises of link speed and quality and energy detection.
# Support for time- and data-rate–sensitive applications through the ability to operate with either CSMA/CA or
TDMA access modes. The TDMA mode of operation is supported via the GTS feature of the standard.
# IEEE 802.15.4-conformant devices may use one of three possible
frequency band
Spectral bands are regions of a given spectrum, having a specific range of wavelengths or frequencies. Most often, it refers to electromagnetic bands, regions of the electromagnetic spectrum.
More generally, spectral bands may also be means in ...
s for operation (868/915/2450 MHz).
Protocol architecture
Devices are designed to interact with each other over a conceptually simple
wireless network
A wireless network is a computer network that uses wireless data connections between network nodes. Wireless networking allows homes, telecommunications networks, and business installations to avoid the costly process of introducing cables int ...
. The definition of the network layers is based on the
OSI model
The Open Systems Interconnection (OSI) model is a reference model developed by the International Organization for Standardization (ISO) that "provides a common basis for the coordination of standards development for the purpose of systems inter ...
; although only the lower layers are defined in the standard, interaction with upper layers is intended, possibly using an
IEEE 802.2 logical link control
In the IEEE 802 reference model of computer networking, the logical link control (LLC) data communication protocol layer is the upper sublayer of the data link layer (layer 2) of the seven-layer OSI model. The LLC sublayer acts as an interface ...
sublayer accessing the MAC through a convergence sublayer. Implementations may rely on external devices or be purely embedded, self-functioning devices.
The physical layer
The physical layer is the bottom layer in the OSI reference model used worldwide, and protocols layers transmit packets using it
The ''physical layer'' (PHY) provides the data transmission service. It also, provides an interface to the ''physical layer management entity'', which offers access to every physical layer management function and maintains a database of information on related personal area networks. Thus, the PHY manages the physical
radio
Radio is the technology of communicating using radio waves. Radio waves are electromagnetic waves of frequency between 3 hertz (Hz) and 300 gigahertz (GHz). They are generated by an electronic device called a transmitter connec ...
transceiver
In radio communication, a transceiver is an electronic device which is a combination of a radio ''trans''mitter and a re''ceiver'', hence the name. It can both transmit and receive radio waves using an antenna, for communication purposes. The ...
, performs channel selection along with energy and signal management functions. It operates on one of three possible unlicensed frequency bands:
* 868.0–868.6 MHz: Europe, allows one communication channel (2003, 2006, 2011)
* 902–928 MHz: North America, originally allowed up to ten channels (2003), but since has been extended to thirty (2006)
* 2400–2483.5 MHz: worldwide use, up to sixteen channels (2003, 2006)
The original 2003 version of the standard specifies two physical layers based on ''
direct-sequence spread spectrum
In telecommunications, direct-sequence spread spectrum (DSSS) is a spread-spectrum modulation technique primarily used to reduce overall signal interference. The direct-sequence modulation makes the transmitted signal wider in bandwidth tha ...
'' (DSSS) techniques: one working in the 868/915 MHz bands with transfer rates of 20 and 40 kbit/s, and one in the 2450 MHz band with a rate of 250 kbit/s.
The 2006 revision improves the maximum data rates of the 868/915 MHz bands, bringing them up to support 100 and 250 kbit/s as well. Moreover, it goes on to define four physical layers depending on the
modulation
Signal modulation is the process of varying one or more properties of a periodic waveform in electronics and telecommunication for the purpose of transmitting information.
The process encodes information in form of the modulation or message ...
method used. Three of them preserve the DSSS approach: in the 868/915 MHz bands, using either binary or, optionally, offset
quadrature phase-shift keying (QPSK); in the 2450 MHz band, using QPSK.
An optional alternative 868/915 MHz layer is defined using a combination of binary keying and
amplitude-shift keying
Amplitude-shift keying (ASK) is a form of amplitude modulation that represents digital data as variations in the amplitude of a carrier wave. In an ASK system, a Symbol rate, symbol, representing one or more bits, is sent by transmitting a fixed-a ...
(thus based on parallel, not sequential, spread spectrum; PSSS). Dynamic switching between supported 868/915 MHz PHYs is possible.
Beyond these three bands, the IEEE 802.15.4c study group considered the newly opened 314–316 MHz, 430–434 MHz, and 779–787 MHz bands in China, while the IEEE 802.15 Task Group 4d defined an amendment to 802.15.4-2006 to support the new 950–956 MHz band in Japan. The first standard amendments by these groups were released in April 2009.
In August 2007,
IEEE 802.15.4a was released expanding the four PHYs available in the earlier 2006 version to six, including one PHY using direct sequence
ultra-wideband
Ultra-wideband (UWB, ultra wideband, ultra-wide band and ultraband) is a radio technology that can use a very low energy level for short-range, high-bandwidth communications over a large portion of the radio spectrum. UWB has traditional applicat ...
(UWB) and another using
chirp spread spectrum (CSS). The UWB PHY is allocated frequencies in three ranges: below 1 GHz, between 3 and 5 GHz, and between 6 and 10 GHz. The CSS PHY is allocated spectrum in the 2450 MHz ISM band.
In April, 2009 IEEE 802.15.4c and IEEE 802.15.4d were released expanding the available PHYs with several additional PHYs: one for 780 MHz band using
O-QPSK or MPSK, another for 950 MHz using
GFSK or
BPSK.
[IEEE Computer Society, (April 17, 2009). IEEE Standard 802.15.4d-2009]
IEEE 802.15.4e was chartered to define a MAC amendment to the existing standard 802.15.4-2006 which adopts a channel hopping strategy to improve support for the industrial market. Channel hopping increases robustness against external interference and persistent multi-path fading. On February 6, 2012, the IEEE Standards Association Board approved IEEE 802.15.4e which concluded all Task Group 4e efforts.
The MAC layer
The
medium access control (MAC) enables the transmission of MAC frames through the use of the physical channel. Besides the data service, it offers a management interface and itself manages access to the physical channel and network
beaconing. It also controls frame validation, guarantees
time slots and handles node associations. Finally, it offers hook points for secure services.
Note that the IEEE 802.15 standard does ''not'' use 802.1D or 802.1Q; i.e., it does not exchange standard
Ethernet frames. The physical frame-format is specified in IEEE802.15.4-2011 in section 5.2. It is tailored to the fact that most IEEE 802.15.4 PHYs only support frames of up to 127 bytes (adaptation layer protocols such as the IETF's 6LoWPAN provide fragmentation schemes to support larger network layer packets).
Higher layers
No higher-level layers or interoperability sublayers are defined in the standard. Other specifications, such as
Zigbee, SNAP, and
6LoWPAN/
Thread, build on this standard.
RIOT
A riot or mob violence is a form of civil disorder commonly characterized by a group lashing out in a violent public disturbance against authority, property, or people.
Riots typically involve destruction of property, public or private. The p ...
,
OpenWSN,
TinyOS, Unison RTOS, DSPnano RTOS, nanoQplus,
Contiki
Contiki is an operating system for networked, memory-constrained systems with a focus on low-power wireless Internet of Things (IoT) devices. Contiki is used for systems for street lighting, sound monitoring for smart cities, radiation monitori ...
and
Zephyr operating systems also use some components of IEEE 802.15.4 hardware and software.
Network model
Node types
The standard defines two types of network node.
The first one is the full-function device (FFD). It can serve as the coordinator of a personal area network just as it may function as a common node. It implements a general model of communication which allows it to talk to any other device: it may also relay messages, in which case it is dubbed a coordinator (PAN coordinator when it is in charge of the whole network).
On the other hand, there are reduced-function devices (RFD). These are meant to be extremely simple devices with very modest resource and communication requirements; due to this, they can only communicate with FFDs and can never act as coordinators.
Topologies
Networks can be built as either
peer-to-peer
Peer-to-peer (P2P) computing or networking is a distributed application architecture that partitions tasks or workloads between peers. Peers are equally privileged, equipotent participants in the network, forming a peer-to-peer network of Node ...
or
star
A star is a luminous spheroid of plasma (physics), plasma held together by Self-gravitation, self-gravity. The List of nearest stars and brown dwarfs, nearest star to Earth is the Sun. Many other stars are visible to the naked eye at night sk ...
networks. However, every network needs at least one FFD to work as the coordinator of the network. Networks are thus formed by groups of devices separated by suitable distances. Each device has a unique 64-bit identifier, and if some conditions are met, short 16-bit identifiers can be used within a restricted environment. Namely, within each PAN domain, communications will probably use short identifiers.
Peer-to-peer (or point-to-point) networks can form arbitrary patterns of connections, and their extension is only limited by the distance between each pair of nodes. They are meant to serve as the basis for
ad hoc networks capable of performing self-management and organization. Since the standard does not define a network layer,
routing
Routing is the process of selecting a path for traffic in a Network theory, network or between or across multiple networks. Broadly, routing is performed in many types of networks, including circuit-switched networks, such as the public switched ...
is not directly supported, but such an additional layer can add support for
multihop communications. Further topological restrictions may be added; the standard mentions the cluster tree as a structure which exploits the fact that an RFD may only be associated with one FFD at a time to form a network where RFDs are exclusively leaves of a tree, and most of the nodes are FFDs. The structure can be extended as a generic
mesh network whose nodes are cluster tree networks with a local coordinator for each cluster, in addition to the global coordinator.
A more structured star pattern is also supported, where the coordinator of the network will necessarily be the central node. Such a network can originate when an FFD decides to create its own PAN and declare itself its coordinator, after choosing a unique PAN identifier. After that, other devices can join the network, which is fully independent from all other star networks.
Data transport architecture
Frames are the basic unit of data transport, of which there are four fundamental types (data, acknowledgment, beacon and MAC command frames), which provide a reasonable tradeoff between simplicity and robustness. Additionally, a superframe structure, defined by the coordinator, may be used, in which case two beacons act as its limits and provide synchronization to other devices as well as configuration information. A superframe consists of sixteen equal-length slots, which can be further divided into an active part and an inactive part, during which the coordinator may enter power saving mode, not needing to control its network.
Within superframes
contention occurs between their limits, and is resolved by
CSMA/CA
Carrier-sense multiple access with collision avoidance (CSMA/CA) in computer networking, is a link layer multiple access method in which carrier sensing is used. Under CSMA/CA, nodes attempt to avoid collisions by beginning transmission only af ...
. Every transmission must end before the arrival of the second beacon. As mentioned before, applications with well-defined bandwidth needs can use up to seven domains of one or more
contentionless guaranteed time slots, trailing at the end of the superframe. The first part of the superframe must be sufficient to give service to the network structure and its devices. Superframes are typically utilized within the context of low-latency devices, whose associations must be kept even if inactive for long periods of time.
Data transfers to the coordinator require a beacon synchronization phase, if applicable, followed by
CSMA/CA
Carrier-sense multiple access with collision avoidance (CSMA/CA) in computer networking, is a link layer multiple access method in which carrier sensing is used. Under CSMA/CA, nodes attempt to avoid collisions by beginning transmission only af ...
transmission (by means of slots if superframes are in use);
acknowledgment is optional. Data transfers from the coordinator usually follow device requests: if beacons are in use, these are used to signal requests; the coordinator acknowledges the request and then sends the data in packets which are acknowledged by the device. The same is done when superframes are not in use, only in this case there are no beacons to keep track of pending messages.
Point-to-point networks may either use unslotted
CSMA/CA
Carrier-sense multiple access with collision avoidance (CSMA/CA) in computer networking, is a link layer multiple access method in which carrier sensing is used. Under CSMA/CA, nodes attempt to avoid collisions by beginning transmission only af ...
or synchronization mechanisms; in this case, communication between any two devices is possible, whereas in "structured" modes one of the devices must be the network coordinator.
In general, all implemented procedures follow a typical request-confirm/indication-response classification.
Reliability and security
The physical medium is accessed through a
CSMA/CA
Carrier-sense multiple access with collision avoidance (CSMA/CA) in computer networking, is a link layer multiple access method in which carrier sensing is used. Under CSMA/CA, nodes attempt to avoid collisions by beginning transmission only af ...
access method. Networks which are not using beaconing mechanisms utilize an unslotted variation which is based on the listening of the medium, leveraged by a
random exponential backoff algorithm; acknowledgments do not adhere to this discipline. Common data transmission utilizes unallocated slots when beaconing is in use; again, confirmations do not follow the same process.
Confirmation messages may be optional under certain circumstances, in which case a success assumption is made. Whatever the case, if a device is unable to process a frame at a given time, it simply does not confirm its reception:
timeout-based retransmission can be performed a number of times, following after that a decision of whether to abort or keep trying.
Because the predicted environment of these devices demands maximization of battery life, the protocols tend to favor the methods which lead to it, implementing periodic checks for pending messages, the frequency of which depends on application needs.
Regarding secure communications, the MAC sublayer offers facilities which can be harnessed by upper layers to achieve the desired level of security. Higher-layer processes may specify keys to perform
symmetric cryptography to protect the payload and restrict it to a group of devices or just a point-to-point link; these groups of devices can be specified in
access control list
In computer security, an access-control list (ACL) is a list of permissions associated with a system resource (object or facility). An ACL specifies which users or system processes are granted access to resources, as well as what operations are ...
s. Furthermore, MAC computes ''freshness checks'' between successive receptions to ensure that presumably old frames, or data which is no longer considered valid, does not transcend to higher layers.
In addition to this secure mode, there is another, insecure MAC mode, which allows access control lists
merely as a means to decide on the acceptance of frames according to their (presumed) source.
See also
*
Bluetooth
Bluetooth is a short-range wireless technology standard that is used for exchanging data between fixed and mobile devices over short distances and building personal area networks (PANs). In the most widely used mode, transmission power is li ...
*
DASH7
*
EnOcean
*
INSTEON
*
LoRaWAN
*
LPWAN
A low-power, wide-area network (LPWAN or LPWA network) is a type of wireless telecommunication wide area network designed to allow long-range communication at a low bit rate between IoT devices, such as sensors operated on a battery.
Low pow ...
*
NeuRFon
*
Sigfox
*
UWB ranging
References
External links
802.15.4 Task GroupIEEE standard 802.15.4zIEEE standard 802.15.4m-2014IEEE standard 802.15.4k-2013IEEE standard 802.15.4j-2013IEEE standard 802.15.4g-2012IEEE standard 802.15.4f-2012IEEE standard 802.15.4e-2012IEEE standard 802.15.4d-2009IEEE standard 802.15.4c-2009IEEE standard 802.15.4a-2007IEEE standard 802.15.4-2020IEEE standard 802.15.4-2015IEEE standard 802.15.4-2011
{{DEFAULTSORT:Ieee 802.15.4-2006
IEEE 802
Wireless networking standards