Unsupervised Prediction of Channel State for Cognitive Radio Using Hidden Markov Model

Honghao Wei, Yunfeng Jia, Lin Qiu, Yishuai Zhu2015

Abstract

The accurate modeling of primary users (PUs) behavior is important and crucial to cognitive radio (CR). The method to detect idle frequencies, not used by primary users' (PUs') has been widely investigated recent years. Existing researches need to estimate and select the threshold of the energy detector manually. In this paper, we propose an unsupervised approach to estimate channel states. We adopt different number of observed state according to different classification in hidden Markov model (HMM). We trained and tested the model through experiments using real spectrum measurement data. The system we proposed can automatically deal with large amounts of data and present high performance and good expansibility to predict channel state.

Introduction

Radio spectrum is a finite and highly valuable resource. Cognitive Radio (CR) technology attempts to solve spectrum scarcity by allowing "secondary" users to temporarily borrow licensed spectrum when the "primary" users (PUs) are inactive. To do this without causing harmful interference, the CR must accurately sense and predict the channel's state (idle vs. busy).

Traditionally, researchers identify idle channels by manually setting a single energy threshold based on a histogram of power levels and the receiver's noise floor. However, real-world spectrum power histograms are complex; they rarely feature just two neat Gaussian distributions (one for noise, one for signal). Because power levels vary wildly across different channels, a single manual threshold is often inaccurate and impossible to scale across large datasets. This paper addresses the need for an automated, unsupervised way to classify channel states and predict primary user behavior without human intervention.

Methodology

The proposed system consists of a three-component unsupervised pipeline designed to handle continuous spectrum data and output reliable state predictions.

System architecture for unsupervised channel state prediction.
  1. Channel Analyzing and Classifying: Instead of a single manual threshold, the system uses the k-means algorithm combined with multi-peak Gaussian fitting to analyze real spectrum measurements. This automatically classifies channels into different types and calculates multiple thresholds based on the actual distribution of the data.
  2. Channel Parameter Estimator: The continuous spectrum data is digitized into discrete observable states using the automatically generated thresholds. The system then uses the Baum-Welch algorithm to estimate the parameters (transition and emission probabilities) of a discrete-time Hidden Markov Model (HMM).
  3. Channel State Estimator and Predictor: With the HMM parameters established, the system uses the Viterbi algorithm to estimate the current hidden state of the channel and predict its state one time-step into the future.

Experimental Setup and Data

The model was trained and evaluated on real-world spectrum measurements collected from a spectrum analyzer placed on the rooftop of the New Main Building at Beihang University. Data was collected from the 88–128 MHz band with a frequency resolution of 100 KHz and a time resolution of 10 seconds over five continuous days (March 18–22, 2015).

3D visualization of the 88–128 MHz spectrum measurements over five days.

As shown in the 3D visualization, real-world spectrum is multi-modal. Most channels do not have simple binary power distributions. By using multi-peak Gaussian fitting, the model acknowledges that a channel might have several distinct power states, leading to much more accurate thresholding compared to traditional binary methods.

Key Results

The proposed unsupervised HMM approach demonstrated excellent quantitative performance when tested on the real-world dataset:

  • Probability of Detection ($P_d$): 0.9961 (The system correctly identified a busy channel 99.6% of the time).
  • Probability of False Alarm ($P_{fa}$): 0.0112 (The system incorrectly flagged an idle channel as busy only 1.1% of the time).
  • Prediction Error ($P_{pe}$): 0.0046 (Overall prediction error was less than 0.5%).

By automating the threshold selection process via clustering, the system can process massive amounts of spectrum data across diverse bands without requiring manual noise floor settings. Once the continuous RF data is discretized using multi-peak thresholds, HMMs prove highly capable of modeling the "on-off" behavior of primary users.

Conclusion

This research presents a robust framework for unsupervised channel state prediction. While the Baum-Welch algorithm requires a historical observation sequence to estimate parameters—implying a brief initial data collection period—the system shows high performance and scalability. Future work may involve testing the framework in higher-frequency, more dynamic bands such as mmWave to further validate its expansibility in complex cognitive radio network environments.

Summary updated

BibTeX
@misc{wei2015unsupervised,
  author = {Honghao Wei and Yunfeng Jia and Lin Qiu and Yishuai Zhu},
  title = {{Unsupervised Prediction of Channel State for Cognitive Radio Using Hidden Markov Model}},
  year = {2015},
  doi = {10.2991/icicci-15.2015.4},
}
Figure