Technology Advanced IoT Simulation

Wireless sensor network: link budget, random access, battery

Controls

Live readout

What you are seeing

Each yellow dot is a sensor whose radio link to the central gateway closes. In every time slot each reachable sensor transmits with probability p. Exactly one transmitter = delivered (green); two or more = collision (red). Raise the node count or p and watch throughput peak near G = 1 then fall. Lower TX power or raise the path-loss exponent and nodes drop out of range.

Independent check

computing...
The science

Link budget. Received power Prx = Ptx - PL(d), with log-distance loss PL(d) = PL0 + 10 n log10(d / 1 m) + Xs, PL0 = 31 dB (868 MHz, 1 m), Xs a fixed log-normal shadowing term (sigma = 4 dB). A node is reachable when Prx >= -123 dBm (typical long-range sub-GHz sensitivity).

Random access. Slotted ALOHA: with Nr reachable nodes each sending with probability p, a slot succeeds with probability S = Nr p (1-p)Nr-1 ~ G e-G, G = Nr p. Maximum 1/e = 0.368 at G = 1.

Energy. Average power = Etx p / Tslot + Psleep with Etx = 30 mJ, Tslot = 0.2 s, Psleep = 33 uW, battery about 31 kJ.

Simplifications: no capture effect, no retransmission or acknowledgements, no duty-cycle law, isotropic antennas, fixed airtime. It illustrates the principles, not a LoRaWAN certification model.