This repository contains a simulation of Air Computation (AirComp) using Binary Phase Shift Keying (BPSK) modulation over an Additive White Gaussian Noise (AWGN) channel. This repository contains simulation in GNU Radio and in Python
In this project, we simulate one edge server and two edge device using BPSK modulation over an AWGN channel. The simulation computes and plots the Bit Error Rate (BER) against ( E_b/N_0 ) and compares the simulated BER with the theoretical values.
Air Computation (AirComp) exploits the superposition property of the wireless medium to compute functions of distributed data simultaneously over the air.
The baseband signal generated by the edge devices are
Where:
-
$s_k(t)$ is baseband signal generated by device number k, -
$a_{i,k}$ is message the device intend to send, -
$u(t-iT_{k})$ is the signaling intervals.
The baseband signal is upconverted into RF signal, which is
Where:
-
$T_{AirComp}(t)$ is the total RF waveform, -
$e^{j2\pi f_{tx,k}t}$ is the RF carrier signal, -
$\phi_{txLO,k}$ is the local oscillator phase offset.
The edge server received after the channel model and try to synchronize. The RF waveform received at the receiver is
Where:
-
$R_{AirComp}(t)$ is the RF waveform arrived at the receiver, -
$\tau_k$ is the delay each receiver exxperience in the channel, -
$e^{j2\pi f_{rx}t}$ is the RF carrier signal at the receiver, -
$\theta_{rx}$ is the phase offset to recovered, -
$w(t)$ is the AWGN.
The phase that the receiver should recovered is
- S. Razavikia, “Channelcomp: A general framework for computing by digital communication,” Ph.D. dissertation, KTH Royal Institute of Technology, 2023
- S. Razavikia, J. M. B. d. SilvaJr, and C. Fischione, “Computing functions over-the-air using digital modulations,” 2023.
- U. Mengali and A. N. D’Andrea, Synchronization techniques for digital receivers, ser. Applications of communications theory. New York: Plenum Press, 1997. ISBN 0306457253
- T. C. Lin, "Synchronization on PSK Over-the-Air Computation” Master thesis, KTH Royal Institute of Technology, 2024