Techniques

IoT radios use several techniques to send data reliably with little energy.

  1. Modulation: changing a carrier wave to carry bits, such as ASK, FSK, PSK and O-QPSK (used by 802.15.4). LoRa uses chirp spread spectrum.
  2. Spread spectrum: spreading the signal over a wide band so that it resists interference and noise (DSSS, FHSS, chirp).
  3. Multiple access: sharing the medium among devices: CSMA/CA (listen before sending), TDMA (time slots), FDMA (frequency channels), ALOHA (send, retry if there is a collision, used by LoRaWAN).
  4. Duty cycling: keeping the radio off most of the time to save energy, and waking at set times.
  5. Error control: checksums and forward error correction, with retransmission.
  6. Multi-hop and mesh routing: relaying data through neighbours to extend range.
  7. Adaptive data rate (ADR): changing speed and power to suit link quality.

Signal power falls with distance. In free space, the free-space path loss in dB is FSPL = 20 log₁₀(d in km) + 20 log₁₀(f in MHz) + 32.44. The received power is the transmit power plus antenna gains minus losses. A link works if the received power exceeds the receiver sensitivity with a margin for fading.

Challenges

  • Interference in crowded unlicensed bands (2.4 GHz is shared by Wi-Fi, Bluetooth and Zigbee).
  • Fading and multipath caused by walls, metal and moving objects.
  • Limited energy: radios often use more power than the processor.
  • Limited bandwidth and duty-cycle rules in unlicensed bands.
  • Scalability: many devices contend for the channel.
  • Security: wireless signals can be heard and injected by attackers.
  • Coexistence and standards fragmentation: many incompatible technologies.
  • Mobility and handover for moving things.

Definition: Free-space path loss. The reduction in signal strength, in decibels, as a radio wave travels through free space; it increases with both distance and frequency.

Table 2.3: Multiple access methods

Method Idea Used in
CSMA/CA Listen, then send Wi-Fi, Zigbee
TDMA Fixed time slots Cellular, some sensor MACs
FDMA Separate frequency channels Cellular, radio
ALOHA Send and retry on collision LoRaWAN

Problem: A LoRa node transmits at 14 dBm on 868 MHz. Find the free-space path loss and received power at 1 km and 10 km, and the margin over a receiver sensitivity of −137 dBm. Ignore antenna gains.

Solution:

  1. 20 log₁₀(868) = 58.77, so FSPL = 20 log₁₀(d) + 58.77 + 32.44 = 20 log₁₀(d) + 91.21.
  2. At 1 km: FSPL = 91.2 dB, received = 14 − 91.2 = −77.2 dBm, margin = −77.2 − (−137) = 59.8 dB.
  3. At 10 km: FSPL = 111.2 dB, received = −97.2 dBm, margin = 39.8 dB.

Result: There is a comfortable margin in free space; real links lose much more to buildings, trees and fading, so the margin is used up.

import math
f, tx, sens = 868, 14, -137
for d in (1, 10):
    loss = 20 * math.log10(d) + 20 * math.log10(f) + 32.44
    rx = tx - loss
    print(f"{d:2} km: loss {loss:.1f} dB, rx {rx:.1f} dBm, "
          f"margin {rx - sens:.1f} dB")

Output

 1 km: loss 91.2 dB, rx -77.2 dBm, margin 59.8 dB
10 km: loss 111.2 dB, rx -97.2 dBm, margin 39.8 dB

Common mistakes

  • Ignoring interference in the shared 2.4 GHz band.
  • Planning range from free-space loss alone.
  • Keeping the radio always on and draining the battery.
  • Assuming wireless links are private and secure.

Key takeaways

  • Techniques: modulation, spread spectrum, multiple access, duty cycling, ADR.
  • FSPL = 20 log d + 20 log f + 32.44 (km, MHz).
  • Link works if received power exceeds sensitivity with margin.
  • Challenges: interference, fading, energy, scale, security.

Practice questions

  1. What is duty cycling?
  2. Name two challenges of wireless IoT.
  3. What does CSMA/CA do?

Answers to the practice questions

  1. Keeping the radio off most of the time and waking only at set times to save energy.
  2. Interference and limited energy (also fading, security, scale).
  3. The device listens for a free channel before it sends.

Sources

  • Official BCA syllabus Internet of Things, course code 25BCA406DS01, Unit II