Past exam question: Assignment 3, Q18
Open in the Padhaiko appQuestion
Describe NFC, ZIGBEE & LORA in detail with specified protocol stack.
Solution
1. NFC (Near Field Communication):
- Characteristics: Ultra-short-range () wireless technology operating at using magnetic inductive coupling between loop antennas, supporting or . Supports Passive tags (powered by the reader's RF field) and Active devices (read/write, peer-to-peer, card emulation).
- Protocol Stack:
- RF / Physical Layer (ISO/IEC 18092, 14443): inductive coupling and modulation.
- NFCIP-1 / Framing & Activation: Anticollision, target activation, and half-duplex data framing.
- LLCP (Logical Link Control Protocol) & NDEF (NFC Data Exchange Format): Multiplexing and standardized record packaging for URLs, sensor IDs, and calibration tags.
- Application Layer: Card Emulation, Reader/Writer, and Peer-to-Peer modes.
+----------------------------------------------+
| Applications (Reader/Writer, P2P, Emulation) |
+----------------------------------------------+
| NDEF (Data Exchange Format) | LLCP |
+----------------------------------------------+
| NFCIP-1 / ISO 14443 Framing & Anticollision |
+----------------------------------------------+
| RF Physical Layer (13.56 MHz Inductive) |
+----------------------------------------------+2. Zigbee (IEEE 802.15.4):
- Characteristics: Low-power, low-data-rate ( at ; also ) WPAN over supporting Star, Tree, and Mesh topologies with up to nodes. Devices are Zigbee Coordinator (ZC), Zigbee Router (ZR), and Zigbee End Device (ZED).
- Protocol Stack:
- IEEE 802.15.4 PHY & MAC: Radio modulation (O-QPSK/DSSS) and CSMA/CA medium access.
- Zigbee Network (NWK) Layer: Mesh routing, node joining, and star/tree/mesh formation.
- APS (Application Support Sublayer) & Security: Binding tables, message forwarding, and AES-128 encryption.
- Application Framework / ZDO: Device profiles (smart metering, industrial monitoring).
+--------------------------------------------------+
| Application Framework / Zigbee Device Object |
+--------------------------------------------------+
| APS (Application Support) & Security (AES-128) |
+--------------------------------------------------+
| Zigbee Network Layer (NWK - Mesh Routing) |
+--------------------------------------------------+
| IEEE 802.15.4 MAC Layer (CSMA/CA) |
+--------------------------------------------------+
| IEEE 802.15.4 PHY Layer (2.4 GHz / 868 / 915 MHz)|
+--------------------------------------------------+3. LoRa & LoRaWAN (Long-Range LPWAN):
- Characteristics: Long-range (), ultra-low-power LPWAN using Chirp Spread Spectrum (CSS) modulation in sub-GHz ISM bands () with low data rates (), ideal for remote agricultural/environmental telemetry.
- Protocol Stack (LoRa + LoRaWAN):
- LoRa Physical Layer (PHY): CSS modulation with configurable Spreading Factor (
SF7–SF12), bandwidth, and coding rate. - LoRaWAN MAC Layer: Star-of-stars architecture connecting End Nodes Gateways Network Server Application Server; defines Class A (lowest power, RX after TX), Class B (scheduled RX beacons), and Class C (continuous RX) with end-to-end AES-128 security.
- LoRa Physical Layer (PHY): CSS modulation with configurable Spreading Factor (
+--------------------------------------------------+
| Application Layer (Sensor Payloads / App Server) |
+--------------------------------------------------+
| LoRaWAN MAC Layer (Class A / B / C, ADR, AES) |
+--------------------------------------------------+
| LoRa Physical Layer (CSS, Sub-GHz ISM Band) |
+--------------------------------------------------+Answer:
- NFC: inductive coupling (, ); stack: RF PHY NFCIP-1/ISO 14443 LLCP/NDEF Applications.
- Zigbee: Low-power mesh WPAN (, ); stack: IEEE 802.15.4 PHY 802.15.4 MAC Zigbee NWK APS/Security Application Framework.
- LoRa / LoRaWAN: Long-range sub-GHz LPWAN (, ); stack: LoRa CSS PHY LoRaWAN MAC (Class A/B/C) Application.