SlideShare a Scribd company logo
Implementation of a Wideband Spectrum Sensing Algorithm Using a
Software-Defined Radio (SDR)
Max Robertson and Dr. Mario Bkassiny
State University of New York at Oswego
Department of Electrical & Computer Engineering
{mrobert2, mario.bkassiny}@oswego.edu
Project Description
This project consisted of implementing an autonomous algorithm that would be able to sense the elec-
tromagnetic radio frequency (RF) spectrum using a Universal Software Radio Peripheral (USRP) and to
detect the center frequencies and bandwidths of the local active signals in the SUNY Oswego area. This
information, once captured, is used to evaluate and analyze the spectrum activity in the surrounding RF
environment. By comparing the actual spectral activity to the spectrum allocations of the Federal Com-
munications Commission (FCC), we could give accurate conclusions on to the efficiency and utilization
of the spectral resources.
The proposed signal detection algorithm is based on a smoothed spectral estimation method. By ap-
plying hypothesis testing to the received signal, we could identify the center frequencies and bandwidths
of the active signals, subject to a certain false alarm rate. Some signals that were detected include cell
phone LTE, aeronautical radio-navigation, and Earth-Space communication signals. The project incor-
porates signal processing using MATLAB to create functions and scripts that can be used at different
locations for reproduction of the project simulations. This project demonstrates the feasibility of wide-
band spectrum sensing for Cognitive Radio (CR) applications. It also showed the potential of using
software-defined radio (SDR) platforms for various signal processing applications, including wideband
signal detection.
Materials and Methods
Very few materials were used in this project, the USRP and MATLAB software were all that was
needed to complete the proposed project. The following simulations correspond to a Neyman-Pearson
threshold approach as in [1], with an incorporated smoothing operation, to help assess the data once
taken. The block diagram, in Figure 1, shows the process in which raw data is taken and interpreted.
Note that, the MATLAB code has been programmed such that repeatability is easy.
Note: Fast Fourier Transform (FFT), Smoothing Window Length (SWL), Shifted and Scaled Received
signals (T’(n)), Center Frequency (CF), Bandwidth (BW), Spectrum Utilization (%), and Neyman-
Pearson Threshold η.
Figure 1: Block diagram of the detection algorithm
The decision threshold η is given in (1), where γ−1 denotes the lower inverse incomplete gamma
function, L represents the desired SWL and α represents the desired False-Alarm probability [1]:
η = 2 ∗ γ−1
(L; (1 − α) ∗ Γ(L)) (1)
The signals that were generated were distorted by additive white Gaussian noise (AWGN). We applied
a smoothing operation method to obtain a more accurate spectral estimation, which also decreased the
number of intersection points with the threshold line. The concept of this sliding window[1] allows the
individual points to become ”grouped” and gives a smoother plot. When programming we needed to
also implement a truncation of values, the summation formulas used can be seen in Figure 2, where L
represents the desired SWL value. We note that, as the Sliding Window Length increases, the smoother
the curve becomes, as seen in Figures 3 & 4.
Figure 2: Visual representation of smoothing operation with length L = 3
The signal being processed is a simple modulated sinusoidal signal with a carrier frequency of 20KHz.
As can be seen in Figures 3 & 4, the corresponding peaks are at +/- 20KHz in frequency domain, with
AWGN simulating the behaviour of a ”real” signal. You can see how the increased Sliding Window
Length effects the curve’s smoothed appearance and increases stability.
Simulation and Results
The hardware used in this project consisted of a Universal Software Radio Peripheral (USRP) model:
National Instruments (NI) - NI USRP - 2920, 50MHz to 2200MHz (Figure 5), controlled by MATLAB
software. The received signal strength depends on the antenna characteristics; that is, if we were to
replicate the sensing measurements with a higher gain antenna the results would be more accurate and
more low-power local signals detected. There is a large amount of MATLAB code associated with this
project, some functions were created for easy replication of this project for future work.
Figures 5 & 6: NI USRP - 2920 Hardware
The algorithm has been designed to scan a desired portion of the RF spectrum and acquire a collection
of sub-bands, this process can then be repeated. When creating the algorithm, the desired outcome
could be achieved with known input signals; it was after much fine tuning that the algorithm produces
a quality of work that is more than satisfactory:
Figure 7: Neyman-Pearson (NP) threshold testing using simulated signals
The square-shaped waveform below represents the detection outcome of the proposed algorithm, which
can be used to calculate the Center Frequencies and Bandwidths of the detected active signals. Some
results of frequency utilization and the corresponding FCC allocations are shown below .
8.75 8.8 8.85 8.9 8.95 9 9.05
x 10
7
10
2
10
3
10
4
f(MHz)−|R(f)|.
2
f−vec
Smoothed Periodogram of Recieved Signal, SWL=901, Threshold=1e−06, Utilization=22.618%
8.75 8.8 8.85 8.9 8.95 9 9.05
x 10
7
−1
−0.5
0
0.5
1
1.5
2
Thresholdvalue
f(MHz)
Impulse plot of Scaled/Shifted Recieved Signal, SWL=901, Threshold=1e−06, Utilization=22.618%
Figure 8: Actual result from USRP from 88-90MHz of the spectrum, which corresponds to local FM
radio signals
There are more plots like these that cover different parts of the spectrum, but this process is very time-
consuming for one USRP. Here is another observation of a different sub-band:
Sub-band Start (MHz) Sub-band End (MHz) Utilization % Signal Allocation (FCC)
88 90 22.6180% FM Radio
155 158 4.7179% Maritime Mobile
403 407 5.7111% Meteorological Satellite
700 705 7.4545% Cell Phone LTE
849 852 2.7943% GSM
999 1002 7.7136% Aeronautical Radionavigation
2025 2030 2.6709% Earth/Space Exploration
Table 1: Utilization of locally observed sub-bands
Conclusion
The algorithm has clearly shown that it can achieve the goals of spectrum sensing in the local RF
spectrum, relaying this information graphically, and then analyzing the data to conclude the amount of
active signals in the SUNY Oswego area and their corresponding bandwidths. The expected outcome
is very similar to that of the actual USRP raw data output, which allows for further fine-tuning and
potential for future work.
Future Work
I would love to continue the work achieved here, this is only the foundations; with the algorithm com-
plete it allows us to venture into the idea of a communication network of USRP’s to give constant
coverage and real-time analysis, and with better quality antennas - the results would be impressive.
Acknowledgments
I would like to express my gratitude towards the constant amount of support Professor Bkassiny has
provided for me throughout this research project. I also thank the Electrical and Computer Engineering
Department for this opportunity, and thank the advanced wireless systems research (ADWISR) center
for providing the equipment. Lastly but most importantly, I thank SUNY Oswego for providing support
for my research with the SCAC grant.
References
[1] ”M. Bkassiny, S. K. Jayaweera, Y. Li, and K. A. Avery”. Blind cyclostationary feature detection
based spectrum sensing for autonomous self-learning cognitive radios. In IEEE International Con-
ference on Communications (ICC ’12), Ottawa, Canada, June 2012.

More Related Content

PDF
International journal of engineering issues vol 2015 - no 2 - paper7
PDF
Experimental Study of Spectrum Sensing based on Energy Detection and Network ...
PDF
Investigations on real time RSSI based outdoor target tracking using kalman f...
PDF
Dotnet a data fusion technique for wireless ranging performance improvement
PPTX
Cognitive Radio Network: Analysing the effect of various parameters & new fra...
PDF
Performance Analysis of Rake Receivers in IR–UWB System
PDF
International Journal of Engineering and Science Invention (IJESI)
PPTX
Spatial Modulation
International journal of engineering issues vol 2015 - no 2 - paper7
Experimental Study of Spectrum Sensing based on Energy Detection and Network ...
Investigations on real time RSSI based outdoor target tracking using kalman f...
Dotnet a data fusion technique for wireless ranging performance improvement
Cognitive Radio Network: Analysing the effect of various parameters & new fra...
Performance Analysis of Rake Receivers in IR–UWB System
International Journal of Engineering and Science Invention (IJESI)
Spatial Modulation

What's hot (15)

PDF
SIMULATIONS OF ADAPTIVE ALGORITHMS FOR SPATIAL BEAMFORMING
PDF
IRJET- Dynamic Spectrum Sensing using Matched Filter Method and MATLAB Simula...
PPT
November 9, Planning and Control of Unmanned Aircraft Systems in Realistic C...
PDF
F0331031037
PDF
05678847
PPTX
3D Beamforming
PDF
Dynamic Beamforming Optimization for Anti-Jamming and Hardware Fault Recovery
PDF
A combined spectrum sensing method based DCT for cognitive radio system
PDF
Experimental Study of DVB-T2 in Thailand ย่อ
PDF
Performance Evaluation of Energy Detector Based Spectrum Sensing for Cognitiv...
PDF
Hybrid Adaptive Channel Estimation Technique in Time and Frequency Domain for...
PPTX
Optimal Network and Frequency Planning for WLAN
PDF
energy_detection
PDF
Comparison of Energy Detection Based Spectrum Sensing Methods over Fading Cha...
SIMULATIONS OF ADAPTIVE ALGORITHMS FOR SPATIAL BEAMFORMING
IRJET- Dynamic Spectrum Sensing using Matched Filter Method and MATLAB Simula...
November 9, Planning and Control of Unmanned Aircraft Systems in Realistic C...
F0331031037
05678847
3D Beamforming
Dynamic Beamforming Optimization for Anti-Jamming and Hardware Fault Recovery
A combined spectrum sensing method based DCT for cognitive radio system
Experimental Study of DVB-T2 in Thailand ย่อ
Performance Evaluation of Energy Detector Based Spectrum Sensing for Cognitiv...
Hybrid Adaptive Channel Estimation Technique in Time and Frequency Domain for...
Optimal Network and Frequency Planning for WLAN
energy_detection
Comparison of Energy Detection Based Spectrum Sensing Methods over Fading Cha...
Ad

Viewers also liked (14)

PDF
PDF
Pbmsg311 tcl 120 vac rev a
PPT
Tesol08 Efl Acad Session080404
PDF
Blog carnival round up
PPTX
Cálculo ii.clase no. 5
DOCX
Letter of Permission
PPT
All about max
PPTX
Unit 2
PPTX
Los alimentos/ The food
PDF
Flight Research_Image 1
PDF
art cv 221116
PDF
DZIŚ PROMOCJA! Czyli jak nie zapomnieć o czytaniu / Aleksandra Zawalska-Hawel
PDF
2º ESO Mecanismos de transmisión. Apuntes y ejercicios.
DOCX
Mario Garza-ART CV 2015
Pbmsg311 tcl 120 vac rev a
Tesol08 Efl Acad Session080404
Blog carnival round up
Cálculo ii.clase no. 5
Letter of Permission
All about max
Unit 2
Los alimentos/ The food
Flight Research_Image 1
art cv 221116
DZIŚ PROMOCJA! Czyli jak nie zapomnieć o czytaniu / Aleksandra Zawalska-Hawel
2º ESO Mecanismos de transmisión. Apuntes y ejercicios.
Mario Garza-ART CV 2015
Ad

Similar to Max_Poster_FINAL (20)

DOCX
EBDSS Max Research Report - Final
PDF
PERFORMANCE EVALUATION OF DIFFERENT SPECTRUM SENSING TECHNIQUES FOR REALISTIC...
PDF
Performance evaluation of different spectrum sensing techniques for realistic...
PPTX
IMPLEMENTATION OF WBSS IN LOW SNR.pptx
PDF
Spectrum Sensing with Energy Detection in Cognitive Radio Networks
PDF
Spectrum Sensing Detection with Sequential Forward Search in Comparison to Kn...
PDF
IRJET- Simulating Spectrum Sensing in Cognitive Radio Network using Cyclostat...
PPTX
Harish presentation
PDF
論文
PDF
Improved performance of scs based spectrum sensing in cognitive radio using d...
PDF
An Approach to Spectrum Sensing in Cognitive Radio
PDF
An Approach to Spectrum Sensing in Cognitive Radio
PDF
A Survey On Spectrum Sensing Techniques In Cognitive Radio
PDF
VLSI Architecture for Cyclostationary Feature Detection Based Spectrum Sensin...
PDF
Energy Detection Techniques for Cognitive Radio over Different Fading Channel...
PDF
Collaborative cyclostationary spectrum sensing for cognitive radio systems
PDF
Signal classification in fading channels using cyclic spectral an
PDF
1103.0305
PDF
D1082731
PDF
International Journal of Engineering Research and Development
EBDSS Max Research Report - Final
PERFORMANCE EVALUATION OF DIFFERENT SPECTRUM SENSING TECHNIQUES FOR REALISTIC...
Performance evaluation of different spectrum sensing techniques for realistic...
IMPLEMENTATION OF WBSS IN LOW SNR.pptx
Spectrum Sensing with Energy Detection in Cognitive Radio Networks
Spectrum Sensing Detection with Sequential Forward Search in Comparison to Kn...
IRJET- Simulating Spectrum Sensing in Cognitive Radio Network using Cyclostat...
Harish presentation
論文
Improved performance of scs based spectrum sensing in cognitive radio using d...
An Approach to Spectrum Sensing in Cognitive Radio
An Approach to Spectrum Sensing in Cognitive Radio
A Survey On Spectrum Sensing Techniques In Cognitive Radio
VLSI Architecture for Cyclostationary Feature Detection Based Spectrum Sensin...
Energy Detection Techniques for Cognitive Radio over Different Fading Channel...
Collaborative cyclostationary spectrum sensing for cognitive radio systems
Signal classification in fading channels using cyclic spectral an
1103.0305
D1082731
International Journal of Engineering Research and Development

Max_Poster_FINAL

  • 1. Implementation of a Wideband Spectrum Sensing Algorithm Using a Software-Defined Radio (SDR) Max Robertson and Dr. Mario Bkassiny State University of New York at Oswego Department of Electrical & Computer Engineering {mrobert2, mario.bkassiny}@oswego.edu Project Description This project consisted of implementing an autonomous algorithm that would be able to sense the elec- tromagnetic radio frequency (RF) spectrum using a Universal Software Radio Peripheral (USRP) and to detect the center frequencies and bandwidths of the local active signals in the SUNY Oswego area. This information, once captured, is used to evaluate and analyze the spectrum activity in the surrounding RF environment. By comparing the actual spectral activity to the spectrum allocations of the Federal Com- munications Commission (FCC), we could give accurate conclusions on to the efficiency and utilization of the spectral resources. The proposed signal detection algorithm is based on a smoothed spectral estimation method. By ap- plying hypothesis testing to the received signal, we could identify the center frequencies and bandwidths of the active signals, subject to a certain false alarm rate. Some signals that were detected include cell phone LTE, aeronautical radio-navigation, and Earth-Space communication signals. The project incor- porates signal processing using MATLAB to create functions and scripts that can be used at different locations for reproduction of the project simulations. This project demonstrates the feasibility of wide- band spectrum sensing for Cognitive Radio (CR) applications. It also showed the potential of using software-defined radio (SDR) platforms for various signal processing applications, including wideband signal detection. Materials and Methods Very few materials were used in this project, the USRP and MATLAB software were all that was needed to complete the proposed project. The following simulations correspond to a Neyman-Pearson threshold approach as in [1], with an incorporated smoothing operation, to help assess the data once taken. The block diagram, in Figure 1, shows the process in which raw data is taken and interpreted. Note that, the MATLAB code has been programmed such that repeatability is easy. Note: Fast Fourier Transform (FFT), Smoothing Window Length (SWL), Shifted and Scaled Received signals (T’(n)), Center Frequency (CF), Bandwidth (BW), Spectrum Utilization (%), and Neyman- Pearson Threshold η. Figure 1: Block diagram of the detection algorithm The decision threshold η is given in (1), where γ−1 denotes the lower inverse incomplete gamma function, L represents the desired SWL and α represents the desired False-Alarm probability [1]: η = 2 ∗ γ−1 (L; (1 − α) ∗ Γ(L)) (1) The signals that were generated were distorted by additive white Gaussian noise (AWGN). We applied a smoothing operation method to obtain a more accurate spectral estimation, which also decreased the number of intersection points with the threshold line. The concept of this sliding window[1] allows the individual points to become ”grouped” and gives a smoother plot. When programming we needed to also implement a truncation of values, the summation formulas used can be seen in Figure 2, where L represents the desired SWL value. We note that, as the Sliding Window Length increases, the smoother the curve becomes, as seen in Figures 3 & 4. Figure 2: Visual representation of smoothing operation with length L = 3 The signal being processed is a simple modulated sinusoidal signal with a carrier frequency of 20KHz. As can be seen in Figures 3 & 4, the corresponding peaks are at +/- 20KHz in frequency domain, with AWGN simulating the behaviour of a ”real” signal. You can see how the increased Sliding Window Length effects the curve’s smoothed appearance and increases stability. Simulation and Results The hardware used in this project consisted of a Universal Software Radio Peripheral (USRP) model: National Instruments (NI) - NI USRP - 2920, 50MHz to 2200MHz (Figure 5), controlled by MATLAB software. The received signal strength depends on the antenna characteristics; that is, if we were to replicate the sensing measurements with a higher gain antenna the results would be more accurate and more low-power local signals detected. There is a large amount of MATLAB code associated with this project, some functions were created for easy replication of this project for future work. Figures 5 & 6: NI USRP - 2920 Hardware The algorithm has been designed to scan a desired portion of the RF spectrum and acquire a collection of sub-bands, this process can then be repeated. When creating the algorithm, the desired outcome could be achieved with known input signals; it was after much fine tuning that the algorithm produces a quality of work that is more than satisfactory: Figure 7: Neyman-Pearson (NP) threshold testing using simulated signals The square-shaped waveform below represents the detection outcome of the proposed algorithm, which can be used to calculate the Center Frequencies and Bandwidths of the detected active signals. Some results of frequency utilization and the corresponding FCC allocations are shown below . 8.75 8.8 8.85 8.9 8.95 9 9.05 x 10 7 10 2 10 3 10 4 f(MHz)−|R(f)|. 2 f−vec Smoothed Periodogram of Recieved Signal, SWL=901, Threshold=1e−06, Utilization=22.618% 8.75 8.8 8.85 8.9 8.95 9 9.05 x 10 7 −1 −0.5 0 0.5 1 1.5 2 Thresholdvalue f(MHz) Impulse plot of Scaled/Shifted Recieved Signal, SWL=901, Threshold=1e−06, Utilization=22.618% Figure 8: Actual result from USRP from 88-90MHz of the spectrum, which corresponds to local FM radio signals There are more plots like these that cover different parts of the spectrum, but this process is very time- consuming for one USRP. Here is another observation of a different sub-band: Sub-band Start (MHz) Sub-band End (MHz) Utilization % Signal Allocation (FCC) 88 90 22.6180% FM Radio 155 158 4.7179% Maritime Mobile 403 407 5.7111% Meteorological Satellite 700 705 7.4545% Cell Phone LTE 849 852 2.7943% GSM 999 1002 7.7136% Aeronautical Radionavigation 2025 2030 2.6709% Earth/Space Exploration Table 1: Utilization of locally observed sub-bands Conclusion The algorithm has clearly shown that it can achieve the goals of spectrum sensing in the local RF spectrum, relaying this information graphically, and then analyzing the data to conclude the amount of active signals in the SUNY Oswego area and their corresponding bandwidths. The expected outcome is very similar to that of the actual USRP raw data output, which allows for further fine-tuning and potential for future work. Future Work I would love to continue the work achieved here, this is only the foundations; with the algorithm com- plete it allows us to venture into the idea of a communication network of USRP’s to give constant coverage and real-time analysis, and with better quality antennas - the results would be impressive. Acknowledgments I would like to express my gratitude towards the constant amount of support Professor Bkassiny has provided for me throughout this research project. I also thank the Electrical and Computer Engineering Department for this opportunity, and thank the advanced wireless systems research (ADWISR) center for providing the equipment. Lastly but most importantly, I thank SUNY Oswego for providing support for my research with the SCAC grant. References [1] ”M. Bkassiny, S. K. Jayaweera, Y. Li, and K. A. Avery”. Blind cyclostationary feature detection based spectrum sensing for autonomous self-learning cognitive radios. In IEEE International Con- ference on Communications (ICC ’12), Ottawa, Canada, June 2012.