Back to search

Heriot-Watt University

Spectrum sensing in 5G Cognitive Radio networks using machine learning algorithms

Abstract

dc:description.abstract

Cognitive Radio (CR) operates by detecting the spectrum and transmitting only when the licensed primary user (PU) is not using it, offering a promising solution to spectrum underutilization. To reliably perform this task, a CR must conduct spectrum sensing under diverse channel and noise conditions. This work evaluates three wireless fading environments—Rayleigh, Rician, and Nakagami—combined with varying levels of Additive White Gaussian Noise (AWGN) to represent realistic Fifth Generation (5G) propagation scenarios. This research aims to enhance spectrum sensing performance in 5G networks through machine learning techniques and novel feature extraction methods. Features are extracted from the received signal to determine spectrum occupancy. First, an energy-based feature establishes a baseline for performance comparison. Next, multiple features are extracted from the time and frequency characteristics of the received signal. Finally, a novel approach using n-grams is introduced, generating symbolic features for spectrum sensing. Six machine learning algorithms are implemented: Support Vector Machine (SVM), Decision Tree (DT), Random Forest (RF), k-Nearest Neighbors (KNN), Neural Network (NN), and Naive Bayes (NB). These algorithms are trained and tested using the three different types of features, and their performance is evaluated in terms of detection probability. For a window size of W = 5000 samples, NN achieved a detection probability of over 95% at Signal-to-Noise Ratio (SNR) = −35 dB using n-gram features. At the same SNR, detection probabilities using energy and multiple features were less than 50%. Under Rayleigh fading at SNR = −20 dB, n-gram features again achieved over 94% detection, while energy and multiple features resulted in detection probabilities below 70%. The n-gram approach demonstrated exceptional performance, establishing itself as a reliable and robust method for spectrum sensing, particularly at low SNR levels. Additionally, techniques to optimize the selection of n-grams are proposed, offering excellent performance while maintaining acceptable computational complexity. The findings of this research contribute to effective spectrum sensing in Cognitive Radios (CRs) within 5G networks.

Degree

thesis:*
Grantor dc:publisher
Heriot-Watt University
Year dc:date.issued
2025

Author and committee

dc:creator, dc:contributor.*
Author dc:creator
  • Muzaffar, Muhammad Umair
Advisor dc:contributor.advisor
  • Sharqi, Doctor Rula

Rights

Language dc:language.iso
en

Identifiers

dc:identifier.*
Repository record dc:identifier.uri
https://www.ros.hw.ac.uk/handle/10399/5233

Chain of custody

source
Harvested from
Heriot-Watt University
Base URL
www.ros.hw.ac.uk/oai/request
Last updated
2026-11-26
Source record
OAI-PMH GetRecord
related terms
citation

Muzaffar, Muhammad Umair. Spectrum sensing in 5G Cognitive Radio networks using machine learning algorithms. Heriot-Watt University, 2025. https://www.ros.hw.ac.uk/handle/10399/5233