Salta al contenuto
Note per Studenti Data Transmission Technologies - Wired, Wireless, LAN and WAN Report

Data Transmission Technologies - Wired, Wireless, LAN and WAN

In questa pagina 10

Context: sensing nodes such as those built with Arduino PlatformArduino is a family of open single-board microcontroller boards built on Atmel AVR chips (UNO, Mega, Micro), extended with stackable shields and programmed through its own IDE.Arduino Platform → boards must send their data somewhere. The lecture classifies the available technologies along two axes (this note is about the wireless ones listed by the lecture; wired connections appear only as the Ethernet shield of Arduino PlatformArduino is a family of open single-board microcontroller boards built on Atmel AVR chips (UNO, Mega, Micro), extended with stackable shields and programmed through its own IDE.Arduino Platform → and in Lab 11 - WiFi and Internet with ArduinoLaboratory 11 connects an Arduino UNO to WiFi through an ESP8266-01 module (pinout, 3.3 V level shifting and supply, baud rate fix with AT commands), tests the WiFiEsp library examples and posts sensor data to the dweet.io cloud service with an HTTP GET request.Lab 11 - WiFi and Internet with Arduino →).

Two classifications

Axis Group Technologies
Coverage Local area RFID, NFC, Bluetooth, ZigBee, WiFi
Coverage Wide area (Internet) GPRS, UMTS, LTE, 5G, LoRa, SigFox, NB-IoT
Subscription SIM GPRS, UMTS, LTE, 5G, NB-IoT
Subscription SIMless RFID, NFC, Bluetooth, ZigBee, WiFi, LoRa, SigFox

RFID

  • RFID = Radio Frequency IDentification: automatic identification of objects, animals or people by radio-frequency data transmission.
  • Closely related to smart cards, but identification happens without contact.
  • An RFID system has two components:
    • the transponder (tag), placed on the object; a transceiver that sends a radio signal in response to a command received from a remote device;
    • the reader, which performs the query and, depending on the system, is read-only or read/write.
  • Figure: the reader and the transponder each have a coil; the magnetic field between the two coils carries energy from the reader to the transponder and data in both directions; the reader exchanges data with the rest of the system.

Transponder structure

At least three elementary components:

  1. the tag (the electronic component that manages the whole communication and identification);
  2. the antenna (powers the tag if there is no on-board battery, receives and possibly transmits);
  3. the support (material that carries and protects tag plus antenna).

Transponder classes (by powering and transmission mode)

Class Power source Transmits
Active independent of the reader also without being interrogated
Semi-passive independent of the reader only if queried by the reader
Passive powered by the reader's antenna when it queries them when queried

Operating frequencies

Band Frequency Characteristics Typical applications
LF (Low Frequency) 125-135 kHz short reading range, inexpensive, low reading speed, little influence of the external environment; passive systems access control, animal identification
HF (High Frequency) 13.56 MHz short reading range, inexpensive, medium reading speed, moderate influence of the environment; passive systems access control, smart cards
UHF (Ultra High Frequency) 850-950 MHz large reading range, inexpensive, high reading speed, high influence of the environment; passive and active systems indoor localization, tracking

NFC - Near Field Communication

  • Short-range data transmission between typically mobile devices; similar to HF RFID; embedded in most smartphones.
  • Three transmission modes:
    1. Traditional RFID mode: an active device (the smartphone) reads a passive device (a transponder);
    2. Peer-to-peer mode: bidirectional exchange between two active devices;
    3. Client-server mode between two active devices, one acting as reader and one as transponder.

Bluetooth (IEEE 802.15.1)

  • Named after the Viking king Harald Blatand (Harold Bluetooth in English).
  • Short-range standard (less than 100 m), operating in the 2.45 GHz microwave band.
  • Master-slave architecture. Two network types:
    • piconet: star network with at most 8 devices;
    • scatternet: larger network made of a combination of several piconets.

Bluetooth Low Energy (BLE, Bluetooth 4.0)

  • Thanks to the low power consumption the transmitter can be kept always on.
  • Led to beacons: small battery-powered devices for location purposes. A beacon periodically transmits an identifier; a smartphone that receives it uses it as a position marker. Reading the RSSI (Received Signal Strength Indication) gives the distance of the user from the beacon (the slide says "exact distance") and allows possible triangulation.
  • BLE Mesh specification under development to use BLE as the transmission technology of IoT networks.

Bluetooth 5

  • Introduced in 2016, the most recent specification at the time of the slides.
  • Transmission speed 2 Mbps, double that of the last 4.x release; this shortens connection times and so reduces energy consumption.
  • Range quadrupled compared to 4.x, reaching 240 m.

WiFi

  • The most common technology for WLANs (Wireless Local Area Networks); basically the trademark for IEEE 802.11 systems; range under 100 m.
  • Common classes:
Class Bit rate Band
a 54 Mb/s 5 GHz
b 11 Mb/s 2.4 GHz
g 54 Mb/s 2.4 GHz
n 450 Mb/s 2.4 GHz and 5 GHz
ac 3 Gb/s 5 GHz

(Connecting an Arduino to a WiFi network is the subject of Lab 11 - WiFi and Internet with ArduinoLaboratory 11 connects an Arduino UNO to WiFi through an ESP8266-01 module (pinout, 3.3 V level shifting and supply, baud rate fix with AT commands), tests the WiFiEsp library examples and posts sensor data to the dweet.io cloud service with an HTTP GET request.Lab 11 - WiFi and Internet with Arduino →; at the programming level the data exchange is a TCP connection, see Socket ProgrammingA socket is a communication endpoint identified like a file descriptor; a TCP server runs socket, setsockopt, bind, listen, accept, read/write, close, while the client runs socket, connect, read/write, close.Socket Programming →.)

Wireless Sensor Network (WSN)

  • A network of autonomous devices distributed in space that use sensors to monitor physical and environmental parameters in a coordinated way at several locations.
  • The network is in turn connected to a centralized structure, often in the Cloud, that receives and reprocesses the environmental data.
  • Each node has: one or more sensors, a radio transmitter (or other wireless device), a small microcontroller and an energy source (normally a battery).

ZigBee

  • Specification of high-level communication protocols using small, low-power digital radios, based on IEEE 802.15.4 for Wireless Personal Area Networks (WPAN).
  • Works in the ISM (industrial, scientific, medical) bands: 868 MHz in Europe, 915 MHz in the United States, 2.4 GHz in most of the rest of the world.
  • Meant to be simpler and cheaper than other WPANs such as Bluetooth; allows mesh networks with high resilience to the failure of single nodes.

Node types:

Node Role
ZigBee Coordinator (ZC) highest-capacity device; root of a tree network; can interface with other networks; one per network; can store network information and act as repository for security keys
ZigBee Router (ZR) intermediate router, passes data from one device to others
ZigBee End Device (ZED) contains only the functions to talk to its parent (a coordinator or a router), cannot interact with other devices; needs minimal memory, so it is cheaper

Topologies drawn on the slide: star network (the coordinator at the centre, end devices around it), cluster tree network (coordinator and routers as branching nodes, end devices as leaves), mesh network (coordinator and routers interconnected by several paths, end devices attached to them).

LPWAN - Low Power Wide Area Networks

  • Family of wireless technologies born for IoT, characterized by:
    • large range (up to tens of km),
    • low energy consumption, hence low bit rate (0.3 kbps to 50 kbps),
    • low cost of the connections.
  • Includes cellular and non-cellular technologies, proprietary and open source; in general they operate in the sub-GHz band (below 1 GHz).

LoRa and LoRaWAN

  • LoRa (Long Range) belongs to LPWAN. Unlicensed frequency: 868 MHz in Europe, 915 MHz in America, 433 MHz in the East.
  • Low power; range about 3 km in urban areas and about 20 km in extra-urban areas.
  • Modulation: Chirp Spread Spectrum (CSS), which gives very low receiver sensitivity values (down to -130 dBm).
  • Legal limit on the duty cycle: 1 %.
  • Protocol layers: LoRa is the physical (PHY) layer (bits; media, signal and binary transmission); LoRaWAN is the protocol developed at the MAC level (data link: frames; MAC and LLC, physical addressing).
  • LoRaWAN allows only star topologies; end devices transmit asynchronously to the gateway nodes.
  • Bit rate of a LoRa channel depends on the module settings, maximum 50 kb/s.

LoRaWAN architecture (figure): end devices (examples in the picture: asset tracking, gas monitor, water meter, trash container, vending machine, fire detection) reach one or more concentrators/gateways over LoRa RF/LoRaWAN; the gateways connect over 3G/4G or Ethernet (TCP/IP with SSL) to the network server, which connects (TCP/IP SSL, secure payload) to the application servers in the cloud. The payload is AES secured end to end between end device and application server.

SigFox

  • LPWAN technology; French proprietary technology with coverage in almost 50 countries.
  • Frequency: 868 MHz in Europe, 902 MHz in America.
  • Allows 140 messages per day uplink with a 12-byte payload, and 4 messages per day downlink with an 8-byte payload.
  • Requires a subscription fee; designed for pervasive IoT applications; besides the transmission technology it offers proprietary cloud platforms for data management.

Cellular technologies

Technology Generation Frequency bands Rates
GSM 2G 900/1800 MHz SMS and voice
GPRS 2.5G 900/1800 MHz adds packet data; theoretical limit 171.2 kb/s, real value about 50-60 kb/s
EDGE evolution of GSM 900/1800 MHz theoretical 473.6 kb/s, real about 150-200 kb/s
UMTS 3G 900/2100 MHz theoretical max 21 Mb/s, real download max 7.2 Mb/s
UMTS with HSPA 3G+ 900/2100 MHz up to 50 Mb/s
LTE 4G 800 MHz to 2600 MHz download up to 326.4 Mb/s, upload 86.4 Mb/s
LTE-Advanced 4G+ 3.3 Gb/s download, 500 Mb/s upload
LTE-M LTE for machines (LPWAN) about 100 kb/s (variable)
NB-IoT LTE Cat. NB1 (LPWAN) traditional cellular frequencies max downlink 250 kb/s
5G fifth generation 600 MHz up to 40 GHz (plans up to 100 GHz) expected up to at least 10 Gb/s

Further points from the slides:

  • GSM = Global System for Mobile Communications; GPRS = General Packet Radio Service; EDGE = Enhanced Data rates for GSM Evolution.
  • UMTS = Universal Mobile Telecommunication System. Rates of this kind allow multimedia streaming and are often redundant for IoT applications.
  • LTE (Long Term Evolution) is still part of the UMTS standard but requires dedicated radio coverage; standardization completed in 2008, widespread coverage from 2012.
  • LTE-M: LTE version for IoT, considered LPWAN; low power consumption for battery devices with an ad-hoc Deep Sleep mode; much lower speed than LTE; lower hardware and service costs.
  • NB-IoT: very similar to LTE-M, low power and low cost; it still has consumption limitations because it works at the frequencies of the traditional cellular networks.
  • 5G: still partly in development at the time of the slides; aims at speeds of tens of megabits for thousands of simultaneous users, with maximum rates of at least 10 Gb/s; better coverage and efficiency; solutions for IoT with low power and low cost. The slide figure is a triangle with three use-case families at the vertices: extreme mobile broadband (gigabytes in a second, 3D video, UHD screen, work and play in the cloud, augmented reality), massive machine type communication (smart home/building, smart city) and ultra reliable and low latency communications (industry automation, self-driving car, mission critical applications); voice sits in the middle.

Choosing a technology (summary of the lecture's own criteria)

  • Range: RFID/NFC (short), Bluetooth and WiFi (less than 100 m), ZigBee (local mesh), LoRa (km), cellular (wide coverage).
  • Bit rate against power: LPWAN trades bit rate (0.3-50 kbps) for range and battery life; WiFi, LTE and 5G offer high rates at higher consumption.
  • Subscription: SIM-based services need a contract; SIMless ones do not (SigFox, although SIMless, requires a subscription fee).

Versione ripasso

  • Sensing nodes such as Arduino PlatformArduino is a family of open single-board microcontroller boards built on Atmel AVR chips (UNO, Mega, Micro), extended with stackable shields and programmed through its own IDE.Arduino Platform → boards must send their data. Two axes:

    • coverage: local area (RFID, NFC, Bluetooth, ZigBee, WiFi) or wide area / Internet (GPRS, UMTS, LTE, 5G, LoRa, SigFox, NB-IoT);

    • subscription: SIM (GPRS, UMTS, LTE, 5G, NB-IoT) or SIMless (RFID, NFC, Bluetooth, ZigBee, WiFi, LoRa, SigFox).

  • RFID (Radio Frequency IDentification): contactless identification. Two parts: the transponder (tag + antenna + support) and the reader (read-only or read/write). The coupling between the coils carries energy and data.

  • Transponder classes:

    • active: own power, transmits also without being interrogated;

    • semi-passive: own power, transmits only when queried;

    • passive: powered by the reader's antenna, transmits when queried.

  • RFID bands:

    • LF 125-135 kHz: short range, low speed, little environmental influence (access control, animal identification);

    • HF 13.56 MHz: short range, medium speed (access control, smart cards);

    • UHF 850-950 MHz: long range, high speed, strong environmental influence, passive and active (localization, tracking).

  • NFC: short-range, similar to HF RFID, in most smartphones. Modes: reader/passive tag, peer-to-peer, client-server.

  • Bluetooth (IEEE 802.15.1): under 100 m, 2.45 GHz, master-slave. A piconet is a star with at most 8 devices; a scatternet combines piconets.

    • BLE (4.0): very low consumption, always-on transmitter, beacons for location; the RSSI gives the distance, and triangulation is possible.

    • Bluetooth 5 (2016): 2 Mbps, range four times that of 4.x, up to 240 m.

  • WiFi (IEEE 802.11, WLAN, under 100 m):

| Class | Bit rate | Band |

|---|---|---|

| a | 54 Mb/s | 5 GHz |

| b | 11 Mb/s | 2.4 GHz |

| g | 54 Mb/s | 2.4 GHz |

| n | 450 Mb/s | 2.4 and 5 GHz |

| ac | 3 Gb/s | 5 GHz |

| Technology | Generation | Rates |

|---|---|---|

| GSM | 2G | SMS and voice, 900/1800 MHz |

| GPRS | 2.5G | 171.2 kb/s theoretical, about 50-60 kb/s real |

| EDGE | evolution of GSM | 473.6 kb/s theoretical, about 150-200 kb/s real |

| UMTS | 3G | 21 Mb/s theoretical, 7.2 Mb/s real download; HSPA up to 50 Mb/s |

| LTE | 4G | 326.4 Mb/s download, 86.4 Mb/s upload |

| LTE-M | LPWAN for machines | about 100 kb/s, Deep Sleep mode |

| NB-IoT | LTE Cat. NB1 | 250 kb/s maximum downlink, traditional cellular bands |

| 5G | fifth generation | 600 MHz to 40 GHz, at least 10 Gb/s; mobile broadband, massive machine type, ultra reliable low latency |

  • Typical mistakes:

    • treating the real rates as the theoretical ones;

    • forgetting that SigFox is SIMless but still needs a subscription;

    • expecting mesh routing from LoRaWAN, which is star only.

Teoria collegata