Professional Documents
Culture Documents
Abstract— In this paper, we report our design and imple- as FTP and so on. Or we can directly read file from the
mentation of a testbed for demonstration of cognitive OFDMA hard disk and wrap it into a frame in Sora program. Sora
transmission. Our implementation is based on a powerful fully program is organized as an Ethernet driver under the NDIS
programmable software radio platform, i.e., the Microsoft Re-
search Software Radio(MRSR) platform. Two kinds of nodes framework. The driver implements the OSI lower three layers,
are designed in the testbed, one acts as the primary user(PU) i.e. link layer, MAC layer and PHY layer(including Base
which communicates in the authorized frequency band with Band). In these layers, we can do all the work needed in
dynamic spectrum activity, and the other acts as the secondary our communication protocol without any dependence of the
user(SU) which opportunistically accesses the vacant frequency hardware.
without disrupting the transmission of primary user. To this end,
the SU nodes are equipped with reliable multi-carrier sensing
functionality, as well as some special multi-channel signalling and
processing capabilities. Test results show that the SU nodes can
alter their power, frequency and other parameters dynamically
and communicate efficiently in response to the PU’s spectrum
activity.
Index Terms— reconfigurable; cognitive; OFDMA; testbed;
sensing; aic
I. I NTRODUCTION
Cognitive radio (CR)[1][2] is a wireless technology based Fig. 1. Sora system architecture
on software defined radio to achieve the spectrum sharing
of licensed system and cognitive radio system. Orthogonal
In our system, the cognitive users can find out the vacant
frequency division multiple access (OFDMA) is a multi-
frequency band by frequency detection function, then make
carrier technology that can offer high data rates. Because
a channel assessment of the available band, through the
of its scalable and adaptive feature for air interface and
reasonable usage of the idle band segment to improve the
carrier aggregation, the combination of OFDMA and cognitive
frequency spectrum utilization as shown in Fig.2.
radio has been a promising technology in the future wireless
communication[3][4]. In this paper, we will introduce a testbed Used by SUs Occupied by PUs Used by SUs
of cognitive OFDMA system based on Sora platform.
Sora [5], a software radio platform designed by Microsoft
Research Asia(MSRA), includs hardware and software de- ĂĂ ĂĂ
velop kit as shown in Fig.1. The hardware consists of a high f
Fig. 5. Worker threads for receiver
Sensing Data receiving Sensing Data receiving
A. sensing
the SU receiver periodically do sensing and data processing as Sensing is a key function of SUs to identify the vacant fre-
shown in Fig. 6. As the synchronization for the transmitter and quency band. There are three classical detection methods that
the receiver is not easy to realize in our testbed, we choose can be used in frequency detection, i.e., coherent detection,
the transmitter to be an active controller and the receiver to cyclostationary detection and energy detection [6][7][8].The
be a passive follower in the synchronization processing. The first two methods need some prior information of PUs. How-
transmitter uses a timer to control the sensing cycle. If the ever, in our system, the SUs have no pre-knowledge of the
receiver can not capture the frame, it will come to the state PUs, hence, we choose energy detection as the main method
of sensing. In the following context, we will give a detailed to sense the activities of PUs. The traditional energy detector
description for the important parts in the worker threads. can not differentiate the interference and noise from the PUs’
signal energy, so we choose the improved detector algorithm
proposed in [9] to realize the carrier sensing. In [9] the energy
emission of the detected adjacent carriers got by conservative
pre-decision is gradually removed from the carrier to be
detected. Because of the space limit, we can not give a detail in
this paper. More information about this algorithm is presented
in [9]. The calculation of terminate threshold 𝜆1 in [9] as
shown in (1) includes the interference and noise energy density
𝜎0 . ( −1 )
𝑄 (𝑃𝑓 𝑎 )
𝜆1 = √ + 1 𝜎02 (1)
𝑁
The obtaining of 𝜎0 is according to the statistics of envi-
ronment interference and noise, and we update it using each
sensing result. As long as the PUs do not use all the authorized
frequency band, there always exists some vacant carriers that
can be identified in each sensing period. Then we can use
Fig. 4. Worker threads for transmitter the energy of these vacant carriers to update the value of 𝜆1 ,
which can better adapt to the non-stationary of the interference
and noise. Fig.7 is the a kind of frequency occupation form
934
of PUs got from a wireless spectrum analyzer produced by during the subcarrier allocation process. The function of AIC
ROHDE& SCHWARZ . It can scan the spectrum and do real- is to cancel the interference caused by the sidelobe energy
time analysis. As the picture shown, the vertical marker in the of SUs to the PUs, so as to shield the existence of SUs for
middle represents the central frequency 2.422GHz that is seen the PUs as much as possible. Detailed introduction about AIC
from the top left corner. The whole frequency band, ranging algorithm will be given in the last part of this section.Due to
from 2.407GHz to 2.437GHz seen from the bottom has been the dynamical changing of the vacant carrier location, in our
divided into 10 grids and every grid spans 3MHz. So, from the system, we use time-frequency two-dimensional pilot to make
picture, we can see that the PUs have occupied about 10MHz real-time estimation of the channel fading. Then after padding
bandwidth distributed on the two sides of the center frequency. 0 on the carriers that are not used by the SU and making
Fig.8 is the sensing result of SUs, in which ‘1’ indicates the IFFT(Inverse Fast Fourier Transform), we obtain a symbol
carrier is occupied by the PUs, while ‘0’ means the carrier is in time-domain. In order to eliminate the ISI(Inter-Symbol
vacant. The sensing result agrees quite well with the frequency Interference) caused by the delay of multi-channel, we cut
occupation of PUs in Fig.7. the last 1/4 length of the time-domain symbol as cyclic prefix
and add it into the start of the symbol. By now a complete
symbol has been obtained. In order to assemble a frame, we
insert some extra parts to assistant the transmission of the
data package, which include the short preamble, long preamble
and frame header. The short preamble is designed to be used
for frame capture and symbol synchronization, while the long
preamble is mainly used for frequency offset estimation and
first channel fading estimation. The function of frame header
is to carry some modulation information to help the receiver
demodulate the data package.
The design of short preamble and long preamble can refer
to the protocol of 802.11a, which is used for a fixed carrier
allocation scene and the number of IFFT is 64. In our system,
the carrier allocation is dynamically changing, and the IFFT
number is 256 instead of 64. But we find that for any length
of IFFT, as long as we allocate the preamble symbol every 4
Fig. 7. Frequency occupation of PUs getting from instrument carriers, we always can get the cycle time sequence with period
of 𝑁/4, as shown in Fig.10. Furthermore, in order√to adapt
1.4
different available carrier number, we use parameter 𝑁𝑁𝑆𝑈 to
normalize the power on each carrier, which 𝑁 denotes the total
1.2 number of carriers, and 𝑁𝑆𝑈 denotes the number of carriers
used by the SU.
1
Sensing Result
Frame
Header
0.8
Short
Preamble
up- Add
0.6 RF Tx D/A Filtering
conversion Prefix
Long
Preamble
0.4 MACPDU Rateless Padding 0
Interleave mapping
packing Coding and IFFT
0.2
Pilot AIC
0
−60 −40 −20 0 20 40 60
Carrier Index n Fig. 9. The process flow for the transmitter
Fig. 8. Sensing result of frequency occupation of PUs Fig.11 is the spectrum image of the PUs and SUs sharing
the authorized band. The left band and the right band are used
by the PUs, which is the same as Fig.7. Then the two bands
B. Transmitter process flow in the middle of the screen are the spectrum of SUs. From the
The flow of data processing for the transmitter has been spectrum we can see that the SUs properly use the sensed idle
shown in Fig.(9). The data packages that are packaged in carriers to transmit data.
MAC layer are transferred into physical layer to make some AIC algorithm is a feature part in the system design, which
process before forming an OFDM symbol, including rateless is very important for the protection of PUs. Although the CUs
coding[10], interleave, and mapping process. Then the pilot do not use the carriers that occupied by Pus, the interference
and active interference cancellation (AIC) will be inserted caused by the sidelobe emission is still inevitable as shown in
935
0.16
0.14
0.12
'f : carrier interval
'f
CorrValue
0.1 PSD
0.08
0.06
0.04
1 −20
𝑆 = 𝐹𝑢𝑁 ×𝑁 𝑥 = 𝐹𝑢𝑁 ×𝑁 × 𝐹𝑁∗ ×𝑁 𝑋 = 𝑄𝑋 (3)
𝑁 −30
936
C. Receiver process flow spacing as it only ranges from −𝜋 to 𝜋. Hence,equation (10)
The flow of data processing for the receiver has been shown can not serve as estimation for quite large frequency offset.
in Fig.(14). However, in our testbed, the frequency offset is not so large,
so the estimation range in (10) is enough. After the frequency
compensation for the long preamble and data sequences in
RF Rx A/D
down-
Filtering
Frame time domain, the cyclic prefix will be removed before the
conversion detection
Short preamble FFT Transformation. Channel estimation and compensation
Symbol
are realized in frequency domain. The channel estimation
synchronization consist of two parts which are based on the long preamble and
long preamble
data
pilot respectively. The principle of these two parts is the same,
Frequency offset
Estimation based on
Frequency which is using the known training sequence to get the channel
compensation
Preamble fading parameters, and then give corresponding compensation
Remove to the data sequence. The pilot is mainly used for the real-
Prefix
time estimating of the channel. Then the last step is to give
FFT some inverse processing to the data according to the processing
in the transmitter, including demapping ,deinterleaving and
Demapping The second
Deinterleave channel
data The channel pre-
compensation
decoding.
Decoding compensation data
Channel
Estimation
Channel Estimation III. T EST R ESULTS
pilot based on Preamble preamble
based on Pilot
937
1000 1000
800 800
600 600
400 400
200 200
0 0
−200 −200
−400 −400
−600 −600
−800 −800
−1000 −1000
−1000 −500 0 500 1000 −1000 −500 0 500 1000
Fig. 15. The constellation for the received data with QPSK modulation Fig. 17. The constellation for the received data with 16QAM modulation
200 150
150
100
100
50
50
0 0
−50
−50
−100
−100
−150
−200 −150
−200 −150 −100 −50 0 50 100 150 200 −100 −50 0 50 100
Fig. 16. The constellation for the demodulated data with QPSK modulation Fig. 18. The constellation for the demodulated data with 16QAM modulation
938