Beruflich Dokumente
Kultur Dokumente
Abstract— Spectrum sensing is needed in cognitive radios to SNR levels and can also differentiate certain signal types from
provide information about the surrounding radio spectrum. This others.
enables cognitive radio system to communicate among existing Much of the recent work is concentrated on IEEE802.22 [4]
radio systems without interfering them. This paper describes
an FPGA implementation of a cyclostationary feature detector, [5], which is the first standard based on cognitive radio
which has an improved detection performance achieved by technology. It defines a radio interface for Wireless Regional
decimation of the cyclic spectrum. Decimation also provides a Access Network (WRAN) that operates at the frequency bands
simple way to control detection time and, thus, allows trading the currently mainly occupied by digital TV broadcast services. In
detection time to better probability of detection and vice versa. IEEE802.22 networks, sensing task is somewhat simplified due
Measured detection performance is presented and detection of a
802.11g WLAN signal from air is demonstrated. to two facts. Firstly, primary signals that must be detected in-
clude only DTV broadcasts and Part 74 (wireless microphones
I. I NTRODUCTION etc.) transmissions and, thus, purpose-built sensing algorithms
can be used. Secondly, locations of both base stations and
As wireless communications systems evolve, demand for customer equipment are fixed, which relaxes implementation
spectral resources is continuously growing. However, tradi- constraints. Approaches for spectrum sensing in IEEE802.22
tional frequency allocation policy, practiced all over the world, are presented in [6] [7] [8] [9].
has resulted in situation where unallocated spectrum bands are A more general approach is taken in this work. The
running short, while measurements have shown that spectrum detection algorithm, presented in Section II, is based on
utilization in already allocated bands is usually low. cyclostationarity that the received signal inherits for example
Cognitive radios (CR) [1] [2] provide a solution for taking from modulation, cyclic prefixes or spreading codes. Since the
advantage of the underutilized spectral resources and have parameters are system dependent, cyclostationarity can be used
been a popular research topic for several years. Cognitive to identify the signal. Detectors based on cyclostationarity has
radio’s capability to recognize the surrounding radio environ- been presented in [10] [11] [12]. In the early stage of the
ment and operate accordingly (i.e. change operation frequency, research, effort is put on identifying OFDM-based systems
modulation etc.) permits operation among existing commu- (e.g. WLAN, DVB-T, LTE) only, but the concept is readily
nication systems without interfering the primary users. This extendable to other signal types as well [13].
enables major increase in spectrum utilization. In general, detector performance is characterized by two
To produce awareness of the surrounding radio spectrum, metrics: probability of detection and false alarm rate. They
cognitive radio device needs to incorporate a spectrum sensing are both equally important, since low probability of detection
unit, which is able to sense spectral opportunities reliably and increases the amount of interference inflicted on the primary
at very low signal-to-noise ratios (SNR). Also, appearance users, whereas high false alarm rate increases the amount of
of the primary user must be detected in reasonable time to missed spectral opportunities in the secondary network. Other
minimize interference produced by the secondary network to important parameters are the detection time resolution and
the primary system. bandwidth, and, of course, power consumption and area of
Spectrum sensing can be implemented for example with the implementation.
energy detectors or feature detectors such as cyclostationary This paper is organized as follows: Section II briefly
based detectors. Energy detectors are very simple to imple- presents the implemented detection algorithm and shows
ment, but their performance degrades when noise levels are how the detector performance can be further improved by
unknown and they are also incapable to differentiate between decimation. Section III explains the FPGA implementation
signals from different systems [3]. Therefore, energy detectors and discusses implementation related issues. Simulation and
are best suited for fast and coarse scanning of the spectrum. measurement results are presented in Section IV. Finally, a
Feature detectors, in general, can operate reliably at very low conclusion is given in Section V.
978-1-4244-3424-4/09/$25.00 ©2009 IEEE
PROCEEDINGS OF THE 4th INTERNATIONAL CONFERENCE ON CROWNCOM 2009
II. A LGORITHM 1
N −1
1
R̂xα = x(n)x∗ (n − τ )e−j2παn/N = Rxα + (α), (1) 0
N
0 2 4 6 8 10 12 14 16 18
Cyclic frequency (MHz)
n=0
in which (α) is the estimation error. Here, τ is lag parameter Fig. 1. Example cyclic spectrum of OFDM signal sampled at 20MHz.
Number of subcarriers is 52 and length of cyclic prefix is 12.
in the autocorrelation. In practice, values of the CAF are
seldom exactly zero and decision has to be made whether the
value presents a zero or not.
If the cyclic autocorrelation does not exist, Rxα = 0 and 1
X(α) and Y (α) are normal distributed zero mean random 0.4
E[X 2 ] E[XY ]
Σ̂2c = , (3) 0
E[XY ] E[Y 2 ]
0 0.5 1 1.5 2
Cyclic frequency (MHz)
where elements of the matrix are computed as Fig. 2. Simulation in Fig. 1 modified by applying decimation by ratio 8.
N −1
1
E[X 2 ] = {R̂xαk }2 (4)
N
k=0
−1
where Fχ22 is the cumulative distribution function of χ22 -
1
N
distribution and p is the false alarm rate. The test can be
E[Y 2 ] = {R̂xαk }2 (5)
N modified to include multiple lag values [10] or cyclic frequen-
k=0
−1 cies [11]. An alternative approach to estimate the covariance
1
N
E[XY ] = {R̂xαk }{R̂xαk }. (6) matrix is presented in [10].
N
k=0 In the derivation of the algorithm, samples of the process
The error introduced to expectation by cyclic frequency com- x(t) are assumed to be well separated in time and thus
ponent Rxα , if it exists, is not significant in critical cases (low approximately independent. In practice, however, presence of
SNR), and converges to zero with large N . any narrowband interferer (relative to detection bandwidth) vi-
In order to find out if there exists cyclic components in olates this assumption and can degrade detection performance.
R̂xα , a hypothesis test is developed by following the guidelines Often the case is that the information in the cyclic spectrum
presented in [10]. Hypotheses are resides on low cyclic frequencies. Therefore, the high end of
the cyclic spectrum is of no interest and the autocorrelation
H0 : ∀α ∈ A → R̂xα = (α) (7)
product can be resampled at lower frequency before calcu-
H1 : f or some α ∈ A → R̂xα = Rxα + (α), (8) lating the DFT. This is illustrated in Fig. 1, where a cyclic
where set A contains all cyclic frequencies for a fixed value spectrum of an OFDM signal is simulated without decimation.
of τ , which are assumed to be known a priori. Under null In Fig. 2 the simulation is repeated and decimation by 8 is
hypothesis, test statistic applied.
Decimation increases the detection time by a factor cor-
T = R̂xα Σ̂−1
2c (R̂x )
α T
(9) responding the decimation ratio, and therefore improves the
is χ22 -distributed and the following constant false alarm rate probability of detection. This is because a longer signal can be
test for presence of cyclostationarity is derived: processed with a fixed-length FFT. Maximum decimation ratio
depends on cyclic frequencies of the signal under detection,
Fχ22 (T ) > 1 − p, (10) or could also be limited by detection time constraints.
PROCEEDINGS OF THE 4th INTERNATIONAL CONFERENCE ON CROWNCOM 2009
M=1,2,4,8
^ a}
III. I MPLEMENTATION or 16 Re{R x
The cyclostationary feature detection algorithm was imple- Re{x} E[X2 ]*N
RAM
mented based on FFT. This approach was selected to support 2048− E[XY]*N
later incorporation of an energy detector, which requires the FFT
RAM
FFT and, thus, can be implemented with small additional Im{x} E[Y2 ]*N
−1 ^ a}
hardware. It is obvious, however, that implementing just the Im{R x
50
Fig. 8. Detections of 802.11g WLAN signal over 400ms period. Black
40 color indicates time instances when signal is detected. Decimation ratio is 8,
resulting in time resolution of 0.82 milliseconds.
30
20
10
of the detection. Furthermore, decimation introduces a simple
0
−22 −20 −18 −16 −14 −12 −10
SNR (dB)
−8 −6 −4 −2 0 way to dynamically adjust the detection time for proper
detection performance and power consumption. The algorithm
Fig. 5. Simulated probability of detection as a function of SNR for multiple has been implemented on a FPGA and detection of 802.11g
decimation ratios (M). False alarm rate is set to 5%. WLAN signal from air has been demonstrated.
100
M=1 R EFERENCES
90 M=2
M=4
M=8
[1] J. Mitola III, “Cognitive radio: An integrated agent architecture for soft-
80
M=16 ware defined radio,” Ph.D. dissertation, Royal Institute of Technology,
May 2000.
Probability of Detection (%)
70
[2] I. F. Akyildiz, W.-Y. Lee, M. C. Vuran, and S. Mohanty, “Next
60
generation/dynamic spectrum access/cognitive radio wireless networks:
50 a survey,” Computer Networks, vol. 50, no. 13, pp. 2127–2159, 2006.
40 [3] F. F. Digham, M.-S. Alouini, and M. K. Simon, “On the energy detection
of unknown signals over fading channels,” "IEEE Trans. Commun.",
30
vol. 55, no. 1, pp. 21–24, 2007.
20 [4] IEEE 802.22 Working Group on Wireless Regional Area Networks,
10
“http://www.ieee802.org/22/.”
[5] C. Stevenson, G. Chouinard, Z. Lei, W. Hu, S. Shellhammer, and
0
−110 −105 −100 −95 −90 −85 −80 W. Caldwell, “Ieee 802.22: The first cognitive radio wireless regional
Input power (dBm) area network standard,” "IEEE Commun. Mag.", vol. 47, no. 1, pp. 130–
138, 2009.
Fig. 6. Measured probability of detection as a function of input power to [6] A. Sahai, S. Mishra, R. Tandra, and K. Woyach, “Cognitive radios for
the RF receiver. Results are averaged over 20000 detections. spectrum sharing,” "IEEE Signal Processing Mag.", vol. 26, no. 1, pp.
140–145, 2009.
[7] H.-S. Chen, W. Gao, and D. Daut, “Signature based spectrum sensing
algorithms for IEEE 802.22 WRAN,” Communications, 2007. ICC ’07.
measured cyclic spectrum that is presented in Fig. 7. In the IEEE International Conference on, pp. 6487–6492, June 2007.
measurement, detector’s decimation ratio was set to 8, thus [8] Y. Karmalita and H. Leib, “Statistical detection of NTSC signals in
detection time is 0.82ms. Detections over 400ms period are an IEEE 802.22 environment for dynamic spectrum access,” Signals,
Systems and Electronics, 2007. ISSSE ’07. International Symposium on,
presented in Fig. 8, where black lines corresponds to time pp. 63–66, 30 2007-Aug. 2 2007.
instances where WLAN signal was detected. Fig. 8 clearly [9] G. Zheng, N. Han, X. Huang, S. H. Sohn, and J. M. Kim, “Enhanced
shows quiet periods of tens of milliseconds where the spectrum energy detector for IEEE 802.22 WRAN systems using maximal-to-
mean power ratio,” Wireless Communication Systems, 2007. ISWCS
is not occupied by the WLAN signal. 2007. 4th International Symposium on, pp. 370–374, Oct. 2007.
[10] A. Dandawate and G. Giannakis, “Statistical tests for presence of
V. C ONCLUSION cyclostationarity,” "IEEE Trans. Signal Processing", vol. 42, no. 9, pp.
In this paper, an implementation of a cyclostationary feature 2355–2369, 1994.
[11] J. Lunden, V. Koivunen, A. Huttunen, and H. V. Poor, “Spectrum
detector has been described. It has been shown how decimation sensing in cognitive radios based on multiple cyclic frequencies,” in
of the correlation product can be used to improve performance Proc. Int. Conf. on Cognitive Radio Oriented Wireless Networks and
Communications, 2007, pp. 37–43.
[12] A. Tkachenko, A. Cabric, and R. Brodersen, “Cyclostationary feature
0.5 detector experiments using reconfigurable bee2,” in New Frontiers in
0.45 Dynamic Spectrum Access Networks, 2007. DySPAN 2007. 2nd IEEE
0.4 International Symposium on, 2007, pp. 216–219.
0.35
[13] M. Öner and F. Jondral, “Air interface identification for software radio
0.3
systems,” AEU - International Journal of Electronics and Communica-
Amplitude
0.25
tions, vol. 61, no. 2, pp. 104–117, Feb. 2007.
[14] W. A. Gardner, A. Napolitano, and L. Paura, “Cyclostationarity: Half
0.2
a century of research,” Signal Processing, vol. 86, no. 4, pp. 639–697,
0.15
Apr. 2006.
0.1
[15] E. Hogenauer, “An economical class of digital filters for decimation
0.05 and interpolation,” "IEEE Trans. Acoust., Speech, Signal Processing",
0
0 0.5 1 1.5 2
vol. 29, no. 2, pp. 155–162, 1981.
Cyclic frequency (MHz) [16] S. He and M. Torkelson, “A new approach to pipeline fft processor,” in
Proc. Int. Symp. Parallel Processing, 1996, pp. 766–770.
Fig. 7. Cyclic spectrum of 802.11g WLAN signal measured from air.
Detector’s decimation ratio is 8.