Professional Documents
Culture Documents
Building Cognitive Radio System Using Matlab
Building Cognitive Radio System Using Matlab
Abstract- Cognitive radio is an emerging and fascinating technology for the opportunistic use of under-utilized spectrum that
promises to change the future technological trends forever if employed properly. This work focuses on the practical
implementation of a cognitive radio network.
ISSN 2277-1956/V1N3-1555-1560
IJECSE,Volume1,Number 3
Anurag Bansal and Ms. Rita Mahajan
ii. Once the spectrum holes or white spaces are found, cognitive radio selects the available white space or channel.
This property of cognitive radio is termed as spectrum management.
iii. It allocates this channel to the secondary (cognitive) user as long as primary user does not need it. This property of
cognitive radio is termed as spectrum sharing.
iv. Cognitive radio vacates the channel when a licensed user is detected. This property of cognitive radio is termed as
the spectrum mobility.
x(t) = (1)
ISSN 2277-1956/V1N3-1555-1560
1557
Building Cognitive Radio System Using Matlab
Digital implementations offer more flexibility by using FFT-based spectral estimates. Fig.3 shows the architecture for
digital implementation of an energy detector.
ISSN 2277-1956/V1N3-1555-1560
IJECSE,Volume1,Number 3
Anurag Bansal and Ms. Rita Mahajan
Fig.4)a) Fig.4)b)
Fig.4)c) Fig.4)d)
Fig.4)e)
ISSN 2277-1956/V1N3-1555-1560
1559
Building Cognitive Radio System Using Matlab
Here, low peaks in Fig.4)a) are for 2nd and 4th primary users who are not present and high peaks for the present ones. In
Fig.4)b), you can see that after allocating the 2nd slot to secondary user, there is an increase in the peak of 2nd slot. Similarly
in Fig.4)c), there is an increase in the peak of 4th slot allocating it to the secondary user. Now at this instant 5th primary user
leaves the slot. So, Fig.4)d) shows the power density spectrum after this process. Finally, Fig.4)e) shows the allotment of 5th
slot to secondary user by the cognitive radio network.
Again the above assumptions are repeated for SNR=5dB and SNR=14dB, same results are obtained which are shown in
the figures above.
Now, taking all the previous assumptions, now SNR is taken as -14 dB. In this case, the results are shown in the Fig.5)a),
Fig.5)b), Fig.5)c), Fig.5)d).
Fig.5)a) Fig.5)b)
Fig.5)c) Fig.5)d)
ISSN 2277-1956/V1N3-1555-1560
IJECSE,Volume1,Number 3
Anurag Bansal and Ms. Rita Mahajan
As, it is clear from above figures that for SNR = -14 dB, the cognitive radio network does not recognize that primary
user2 is not present, instead it shows that primary user2 is present. Hence, the probability of false alarm (Pfa) for it is 0.2 and
probability of detection (Pd) is 0.8.
The results are tabulated in the TABLE 1 below:
TABLE I.
SNR
Pfa Pd
(dB)
5 0 1
14 0 1
-5 0 1
ISSN 2277-1956/V1N3-1555-1560