Resource Allocation in an OFDM-Based Cognitive Radio System
P.Vishnu Vardhan (2011A3PS169G) and K.Gautham Reddy(2011A8PS364G)
Abstract— The problem of subcarrier, bit and
power allocation for an OFDM based cognitive
radio system in which one or more spectrum
holes exist between multiple primary user (PU)
frequency bands is studied. The cognitive radio
user is able to use any portion of the frequency
band as long as it does not Interfere unduly with
the PUs’ transmissions. We formulate the
resource allocation as a multidimensional
knapsack problem and propose a low-
complexity, water filling algorithm to solve it.
The proposed algorithm is simple to implement
and optimal solution can be obtained by using
this method.
Index Terms —Cognitive radio, OFDM, resource
allocation, Water filling algorithm.
I. INTRODUCTION
IN many jurisdictions, there is a scarcity of unallocated
frequency bands below 6 GHz. At the same time, studies have
found that the utilization of a large portion of the allocated
(licensed) bands is very low. It has been suggested that one
promising approach to solving the spectrum shortage crisis is to
use cognitive radio (CR) technology. In a CR system, cognitive
radio users (CRUs) are allowed to use licensed bands as long as
the (licensed) primary users (PUs) are not unduly affected.
OFDM is an attractive modulation candidate for CRUs. The
subcarrier, bit and power (resource) allocation optimization
problem for OFDM has been studied
In the literature. However, for CR systems in which
the PUs do not use OFDM, the mutual interference (MI)
Between the PUs and the CRUs has to be considered.
This MI is not taken into account in most of the existing
Resource allocation algorithms for OFDM. The MI
is considered assuming that there is only one PU.
In this Letter, we study the resource allocation problem
for an OFDM-based CR system in which one or more
spectrum holes exist among the multiple PU frequency
bands. The CRU can use any portion of the band as long as
the resulting interference power is kept below the
acceptable threshold for each PU receiver. We formulate
the resource allocation optimization as a multidimensional
0-1 knapsack problem (MDKP) and propose a low-
complexity solution.
II. SYSTEM MODEL
Consider a CR system, with bandwidth W, in which the
PUs are not active all the time at all locations. For simplicity
and clarity of explanation, we focus on the case of a single CRU
using OFDM. The proposed approach can be extended to
situations in which there may be more than one CRU.
There are M OFDM subbands available to the CRU. The
nominal bandwidth of subband m, m = {1, 2. . . M} ranges from
fc + (m − 1) Δf to fc + mΔf. The subbands (or sub channels)
are modelled in discrete-time, with the time varying gain for
sub channel m from the CRU transmitter to its receiver
denoted by√ . It is assumed that the power gains {gm} are
outcomes of independent, identically distributed (i.i.d.) random
variables (rv’s), and that there is no interference among the
subchannels. The power gains for subchannel m from the CRU
transmitter to PU l’s receiver and from PU l’s transmitter to the
CRU receiver are denoted by and respectively.
Suppose that there are L PUs in the system, with PU
l’s nominal bandwidth ranging from to
The baseband power spectral density (PSD) of PU l’s
Signal is . The maximum interference power that PU l
Can tolerate is . Since the PUs may not use OFDM, it is
necessary to consider possible MI between the CRU and the
PUs. The interference power generated by PU l to the mth
OFDM subchannel at the CRU receiver is
=∫ ( )
(
( ) (
The number of bits per OFDM symbol, , which can be
supported for the CRU on sub channel m is given by
(
( )
)
where is a SNR gap parameter which indicates how far
the system is operating from capacity, is the CRU
transmit power, is the noise power and is the
interference from the PUs given by
∑
III. THE PROPOSED RESOURCE ALLOCATION
ALGORITHM
Our objective is to maximize the overall rate achievable by the
CRU, while keeping the interference to the PUs below the
specified thresholds
{ , l = 1, 2, 3 …L}. The problem can thus be formulated as
Max ∑
Subject to
∑ ≤ S (2)
∑ ≤ (3)
In (2), S is the CRU power limit, in (3) is the interference
power injected by the CRU signal in sub band m into PU l’s
nominal band and is given by
=∫ ( )
( )
( )
Where ( ) is the baseband PSD of the OFDM signal in
sub band m when , number of bits per OFDM
symbol which can be
Supported for the CRU on sub channel m is given by
(
( )
)
The problem stated above is an optimization problem we write
the Lagrangian of our above stated problem as
∑ ( ( )
)
∑ ( ∑ ) (∑ )
Where , ( ) and β are the Lagrange multipliers
The Karush-Kuhn Tucker (KKT) conditions can be written as
follows
0 ( )
0 ( )
β 0
(∑ ) = 0 ( )
(∑ )
= ( ( ) ) ∑
By equating the above equation to zero we get as
(
∑
)
( )
Since
So the solution can be written as
(
∑
)
( )
For
( )
(
∑
)
= OR
0 otherwise
The above optimal solution for the optimization problem has a
high computational complexity so we propose a low complexity
algorithm
Max ∑ (
( )
)
Subject to
∑ ≤
∑ ≤ S
Denotes the set of subcarriers belonging to the l Th PU band
By following the same procedure like the before problem, the
solution of the above problem is given as
= [ ( )
( )
]
If the interference constraint is ignored then the above problem
will assume the water filling interpretation
= *
( )
+
If the total power constraint is ignored in the above problem we
get the solution as
= [ ( )
( )
]
By substituting the above equation in
∑ ≤
We get
∑ * ( )
( )
+
( ) ∑
( )
* ∑
( )
+
In the above solution if also satisfies the power
constraint,then it is our required solution. So in order to find
the optimal solution first we find by the above method with
only interference constraint.
If the above solution also satisfies the power constraint along
with interference constraint, then the solution has been found
and is equal to the maximum power that can be allocated to
each subcarrier, i.e.
Otherwise, the available power budget should be distributed
among the subcarriers giving that the power allocated to each
subcarrier is lower than or equal to the maximum power that
can be allocated to each subcarrier
This problem can be solved by water filling algorithm
So by using the already obtained equation
= *
( )
+
We will find the water filling λ.
Calculate Tm=Γ( + )/gm for all m and arrange it in the
descending order
And Tn is the sorting index
Tsum= ΣTm for all m
If S is the CRU power limit then
λ =(Tsum+S)/no of subcarriers
n=1
while Tn> λ
Tsum = Tsum-Tn
λ =(Tsum+S)/(no of subcarriers-that particular subcarrier)
n=n+1
end
(WF)= *λ –Tm]+ for all m
Given the initial waterfilling solution, the channels that violate
the maximum power for any particular sub channel (i.e.
(WF)> ) are determined and upper bounded with . The
power allotted to that sub channel is subtracted from the total
transmit power S and the above algorithm is carried out for
subcarriers that did not violate the maximum power in the
last step. This procedure is repeated until the allocated power
(W.F) doesn’t violate the maximum power in any of the
subcarriers in the new iteration. So from this results rm is
determined for each case and the required graphs are plotted.
IV. Simulation results
The matlab code uses water filling algorithm to solve the
given problem. In the above code the interference power is
assumed constant as we are getting error with the quad
function. We are not able to obtain the graphs as there is
some error in the code which is causing the code to go for
infinite iterations that we could not rectify.
V. Conclusions
A low-complexity water filling algorithm has been
proposed for allocating resources in a OFDM-based CR
system. The algorithm maximizes the overall bit rate
achievable by the CRU, while keeping interference to PUs
within tolerable limits
REFERENCES
1) Yonghong Zhang and Cyril Leung,”Resource Allocation in an OFDM-Based
Cognitive Radio System”.
2) Musbah Shaat and Faouzi Bader,”Computationally Efficient Power Allocation
Algorithm in Multicarrier Based Cognitive Radio Networks: OFDM and FBMC
systems”
Resource Allocation in an OFDM-Based Cognitive Radio System

More Related Content

PDF
Resource allocation in OFDM based cognitive radio system
PPT
PDF
Simultaneous_VTC_Qian
DOCX
EM_II_Project_London_Julia
PDF
Paper id 252014119
PDF
Tham khao ofdm tutorial
PDF
Amplitude modulated-systems
PDF
Design and Fabrication of a Two Axis Parabolic Solar Dish Collector
Resource allocation in OFDM based cognitive radio system
Simultaneous_VTC_Qian
EM_II_Project_London_Julia
Paper id 252014119
Tham khao ofdm tutorial
Amplitude modulated-systems
Design and Fabrication of a Two Axis Parabolic Solar Dish Collector

What's hot (19)

PDF
Amplitude modulated-systmes
PDF
Wireless Communication Networks and Systems 1st Edition Beard Solutions Manual
PDF
PDF
Multiuser MIMO Channel Estimation
PDF
Optimum Receiver corrupted by AWGN Channel
PDF
An analtical analysis of w cdma smart antenna
PDF
10.1.1.666.9435
PDF
2014.03.31.bach glc-pham-finalizing[conflict]
PDF
IRJET- Orthogonal Frequency Division Multiplexing (OFDM) based Uplink Multipl...
PDF
Ch5 angle modulation pg 97
PDF
F04924352
PPT
IGARSS2011_PPT_Liumeng.ppt
PDF
Ch4 linear modulation pg 111
PDF
Study and Analysis Capacity of MIMO Systems for AWGN Channel Model Scenarios
PDF
Doppler Processing Project
PDF
Spectrum-efficiency parametric channel estimation scheme for massive MIMO sys...
PDF
NetSim Technology Library- Propagation models
PDF
Mathematical Approach to Complexity - Reduced Antenna Selection Technique for...
Amplitude modulated-systmes
Wireless Communication Networks and Systems 1st Edition Beard Solutions Manual
Multiuser MIMO Channel Estimation
Optimum Receiver corrupted by AWGN Channel
An analtical analysis of w cdma smart antenna
10.1.1.666.9435
2014.03.31.bach glc-pham-finalizing[conflict]
IRJET- Orthogonal Frequency Division Multiplexing (OFDM) based Uplink Multipl...
Ch5 angle modulation pg 97
F04924352
IGARSS2011_PPT_Liumeng.ppt
Ch4 linear modulation pg 111
Study and Analysis Capacity of MIMO Systems for AWGN Channel Model Scenarios
Doppler Processing Project
Spectrum-efficiency parametric channel estimation scheme for massive MIMO sys...
NetSim Technology Library- Propagation models
Mathematical Approach to Complexity - Reduced Antenna Selection Technique for...
Ad

Viewers also liked (20)

PPT
Ricardo oscar keith
PPTX
Online Network of Independent Learning Professionals Webinar 3/10/16
PDF
California State Lands Commission - City of Hermosa Beach State Tidelands Trust
PDF
Har 1018 vortec harness instructions 8
ODP
Q2 Evaluation
PPT
A f i_n_a_grecheskiy
PPS
Put the Glass Down
PDF
Curso de inglés bbc english 04
PDF
Martina berghs våren 2014
PPTX
Steel Pan History and Evolution
PPTX
Barbadian Music
PPT
Л.Куликов
PPTX
PDF
Erno välimäki a5mainos
PPTX
Cell division
PDF
Soft shell Allwin WarArmor (coat)
PDF
Final Health Impact Assessment - 2014
PPT
Психологическая подготовка учащихся к ЕГЭ
PDF
Poolwinner records,Karate1 Premier League - Okinawa 2014
PDF
Sustainable Corn and Soybean Production
Ricardo oscar keith
Online Network of Independent Learning Professionals Webinar 3/10/16
California State Lands Commission - City of Hermosa Beach State Tidelands Trust
Har 1018 vortec harness instructions 8
Q2 Evaluation
A f i_n_a_grecheskiy
Put the Glass Down
Curso de inglés bbc english 04
Martina berghs våren 2014
Steel Pan History and Evolution
Barbadian Music
Л.Куликов
Erno välimäki a5mainos
Cell division
Soft shell Allwin WarArmor (coat)
Final Health Impact Assessment - 2014
Психологическая подготовка учащихся к ЕГЭ
Poolwinner records,Karate1 Premier League - Okinawa 2014
Sustainable Corn and Soybean Production
Ad

Similar to Resource Allocation in an OFDM-Based Cognitive Radio System (20)

PDF
Adaptive resources assignment in OFDM-based cognitive radio systems
PDF
Bu4301411416
PDF
Throughput Maximization of Cognitive Radio Multi Relay Network with Interfere...
PDF
IMCOM_2017_Presentation
PDF
paper3
PDF
iaetsd Equalizing channel and power based on cognitive radio system over mult...
PDF
Energy efficient resources allocations for wireless communication systems
PDF
System performance evaluation of fixed and adaptive resource allocation of 3 ...
PDF
Improved Algorithm for Throughput Maximization in MC-CDMA
PDF
Enhancing Performance for Orthogonal Frequency Division Multiplexing in Wirel...
PDF
Resource Allocation in MIMO – OFDM Communication System under Signal Strength...
PDF
Adaptive Resource Allocation in MIMO-OFDM Communication System
PDF
Capacity Performance Analysis for Decode-and-Forward OFDMDual-Hop System
PDF
Design and optimization of multi user OFDM orthogonal chaotic vector shift ke...
PDF
Flexible channel allocation using best Secondary user detection algorithm
PDF
IRJET- Channel Allocation Strategy for Multiuser Cognitive and Location A...
PDF
Dynamic resource allocation for opportunistic software-defined IoT networks: s...
PDF
A Review on Channel Capacity Enhancement in OFDM
PDF
An approach to control inter cellular interference using load matrix in multi...
PDF
Outage and throughput performance of cognitive radio based power domain based...
Adaptive resources assignment in OFDM-based cognitive radio systems
Bu4301411416
Throughput Maximization of Cognitive Radio Multi Relay Network with Interfere...
IMCOM_2017_Presentation
paper3
iaetsd Equalizing channel and power based on cognitive radio system over mult...
Energy efficient resources allocations for wireless communication systems
System performance evaluation of fixed and adaptive resource allocation of 3 ...
Improved Algorithm for Throughput Maximization in MC-CDMA
Enhancing Performance for Orthogonal Frequency Division Multiplexing in Wirel...
Resource Allocation in MIMO – OFDM Communication System under Signal Strength...
Adaptive Resource Allocation in MIMO-OFDM Communication System
Capacity Performance Analysis for Decode-and-Forward OFDMDual-Hop System
Design and optimization of multi user OFDM orthogonal chaotic vector shift ke...
Flexible channel allocation using best Secondary user detection algorithm
IRJET- Channel Allocation Strategy for Multiuser Cognitive and Location A...
Dynamic resource allocation for opportunistic software-defined IoT networks: s...
A Review on Channel Capacity Enhancement in OFDM
An approach to control inter cellular interference using load matrix in multi...
Outage and throughput performance of cognitive radio based power domain based...

More from Gautham Reddy (20)

PPTX
Steel Melting Shop (SMS)
DOCX
Porters 5 forces for mobile industry
PDF
sequential circuit that encodes a hexadecimal 16-key keypad output to 4 – bit...
PPTX
Biofuels
PPTX
OTI Cyber warefare
DOCX
Case study of profiles of electrical steel
PDF
Design of Microwave oven using 8051 micro controller
PPTX
Bidding strategies in deregulated power market
DOCX
Bidding strategies in deregulated power market
PPTX
Targeted Drug Delivery to CNS using Nanoparticles
PPTX
Global positioning system (GPS)
DOCX
Global positioning system (GPS)
PPTX
Nano-particles and targeting strategies in drug delivery
PPTX
Idealism vs Realism
DOCX
Satellite antennas
PPTX
Role of nanoparticles in drug delivery
PPTX
Bioelectronics and biosensors
PPTX
Fuzzy adaptive GSA
PDF
Cadancesimulation
PDF
Isro technological advancements
Steel Melting Shop (SMS)
Porters 5 forces for mobile industry
sequential circuit that encodes a hexadecimal 16-key keypad output to 4 – bit...
Biofuels
OTI Cyber warefare
Case study of profiles of electrical steel
Design of Microwave oven using 8051 micro controller
Bidding strategies in deregulated power market
Bidding strategies in deregulated power market
Targeted Drug Delivery to CNS using Nanoparticles
Global positioning system (GPS)
Global positioning system (GPS)
Nano-particles and targeting strategies in drug delivery
Idealism vs Realism
Satellite antennas
Role of nanoparticles in drug delivery
Bioelectronics and biosensors
Fuzzy adaptive GSA
Cadancesimulation
Isro technological advancements

Recently uploaded (20)

PPTX
Virtual and Augmented Reality in Current Scenario
PDF
David L Page_DCI Research Study Journey_how Methodology can inform one's prac...
PDF
LDMMIA Reiki Yoga Finals Review Spring Summer
PDF
Chinmaya Tiranga quiz Grand Finale.pdf
PDF
medical_surgical_nursing_10th_edition_ignatavicius_TEST_BANK_pdf.pdf
PDF
FORM 1 BIOLOGY MIND MAPS and their schemes
PPTX
Computer Architecture Input Output Memory.pptx
PDF
BP 704 T. NOVEL DRUG DELIVERY SYSTEMS (UNIT 1)
PDF
1.3 FINAL REVISED K-10 PE and Health CG 2023 Grades 4-10 (1).pdf
PDF
My India Quiz Book_20210205121199924.pdf
PDF
CISA (Certified Information Systems Auditor) Domain-Wise Summary.pdf
PPTX
History, Philosophy and sociology of education (1).pptx
DOC
Soft-furnishing-By-Architect-A.F.M.Mohiuddin-Akhand.doc
PDF
Τίμαιος είναι φιλοσοφικός διάλογος του Πλάτωνα
PPTX
A powerpoint presentation on the Revised K-10 Science Shaping Paper
PDF
Complications of Minimal Access-Surgery.pdf
PPTX
Onco Emergencies - Spinal cord compression Superior vena cava syndrome Febr...
PDF
Uderstanding digital marketing and marketing stratergie for engaging the digi...
PDF
FOISHS ANNUAL IMPLEMENTATION PLAN 2025.pdf
PPTX
B.Sc. DS Unit 2 Software Engineering.pptx
Virtual and Augmented Reality in Current Scenario
David L Page_DCI Research Study Journey_how Methodology can inform one's prac...
LDMMIA Reiki Yoga Finals Review Spring Summer
Chinmaya Tiranga quiz Grand Finale.pdf
medical_surgical_nursing_10th_edition_ignatavicius_TEST_BANK_pdf.pdf
FORM 1 BIOLOGY MIND MAPS and their schemes
Computer Architecture Input Output Memory.pptx
BP 704 T. NOVEL DRUG DELIVERY SYSTEMS (UNIT 1)
1.3 FINAL REVISED K-10 PE and Health CG 2023 Grades 4-10 (1).pdf
My India Quiz Book_20210205121199924.pdf
CISA (Certified Information Systems Auditor) Domain-Wise Summary.pdf
History, Philosophy and sociology of education (1).pptx
Soft-furnishing-By-Architect-A.F.M.Mohiuddin-Akhand.doc
Τίμαιος είναι φιλοσοφικός διάλογος του Πλάτωνα
A powerpoint presentation on the Revised K-10 Science Shaping Paper
Complications of Minimal Access-Surgery.pdf
Onco Emergencies - Spinal cord compression Superior vena cava syndrome Febr...
Uderstanding digital marketing and marketing stratergie for engaging the digi...
FOISHS ANNUAL IMPLEMENTATION PLAN 2025.pdf
B.Sc. DS Unit 2 Software Engineering.pptx

Resource Allocation in an OFDM-Based Cognitive Radio System

  • 1. Resource Allocation in an OFDM-Based Cognitive Radio System P.Vishnu Vardhan (2011A3PS169G) and K.Gautham Reddy(2011A8PS364G) Abstract— The problem of subcarrier, bit and power allocation for an OFDM based cognitive radio system in which one or more spectrum holes exist between multiple primary user (PU) frequency bands is studied. The cognitive radio user is able to use any portion of the frequency band as long as it does not Interfere unduly with the PUs’ transmissions. We formulate the resource allocation as a multidimensional knapsack problem and propose a low- complexity, water filling algorithm to solve it. The proposed algorithm is simple to implement and optimal solution can be obtained by using this method. Index Terms —Cognitive radio, OFDM, resource allocation, Water filling algorithm. I. INTRODUCTION IN many jurisdictions, there is a scarcity of unallocated frequency bands below 6 GHz. At the same time, studies have found that the utilization of a large portion of the allocated (licensed) bands is very low. It has been suggested that one promising approach to solving the spectrum shortage crisis is to use cognitive radio (CR) technology. In a CR system, cognitive radio users (CRUs) are allowed to use licensed bands as long as the (licensed) primary users (PUs) are not unduly affected. OFDM is an attractive modulation candidate for CRUs. The subcarrier, bit and power (resource) allocation optimization problem for OFDM has been studied In the literature. However, for CR systems in which the PUs do not use OFDM, the mutual interference (MI) Between the PUs and the CRUs has to be considered. This MI is not taken into account in most of the existing Resource allocation algorithms for OFDM. The MI is considered assuming that there is only one PU. In this Letter, we study the resource allocation problem for an OFDM-based CR system in which one or more spectrum holes exist among the multiple PU frequency bands. The CRU can use any portion of the band as long as the resulting interference power is kept below the acceptable threshold for each PU receiver. We formulate the resource allocation optimization as a multidimensional 0-1 knapsack problem (MDKP) and propose a low- complexity solution. II. SYSTEM MODEL Consider a CR system, with bandwidth W, in which the PUs are not active all the time at all locations. For simplicity and clarity of explanation, we focus on the case of a single CRU using OFDM. The proposed approach can be extended to situations in which there may be more than one CRU. There are M OFDM subbands available to the CRU. The nominal bandwidth of subband m, m = {1, 2. . . M} ranges from fc + (m − 1) Δf to fc + mΔf. The subbands (or sub channels) are modelled in discrete-time, with the time varying gain for sub channel m from the CRU transmitter to its receiver denoted by√ . It is assumed that the power gains {gm} are outcomes of independent, identically distributed (i.i.d.) random variables (rv’s), and that there is no interference among the subchannels. The power gains for subchannel m from the CRU transmitter to PU l’s receiver and from PU l’s transmitter to the CRU receiver are denoted by and respectively. Suppose that there are L PUs in the system, with PU l’s nominal bandwidth ranging from to The baseband power spectral density (PSD) of PU l’s Signal is . The maximum interference power that PU l Can tolerate is . Since the PUs may not use OFDM, it is necessary to consider possible MI between the CRU and the PUs. The interference power generated by PU l to the mth OFDM subchannel at the CRU receiver is =∫ ( ) ( ( ) (
  • 2. The number of bits per OFDM symbol, , which can be supported for the CRU on sub channel m is given by ( ( ) ) where is a SNR gap parameter which indicates how far the system is operating from capacity, is the CRU transmit power, is the noise power and is the interference from the PUs given by ∑ III. THE PROPOSED RESOURCE ALLOCATION ALGORITHM Our objective is to maximize the overall rate achievable by the CRU, while keeping the interference to the PUs below the specified thresholds { , l = 1, 2, 3 …L}. The problem can thus be formulated as Max ∑ Subject to ∑ ≤ S (2) ∑ ≤ (3) In (2), S is the CRU power limit, in (3) is the interference power injected by the CRU signal in sub band m into PU l’s nominal band and is given by =∫ ( ) ( ) ( ) Where ( ) is the baseband PSD of the OFDM signal in sub band m when , number of bits per OFDM symbol which can be Supported for the CRU on sub channel m is given by ( ( ) ) The problem stated above is an optimization problem we write the Lagrangian of our above stated problem as ∑ ( ( ) ) ∑ ( ∑ ) (∑ ) Where , ( ) and β are the Lagrange multipliers The Karush-Kuhn Tucker (KKT) conditions can be written as follows 0 ( ) 0 ( ) β 0 (∑ ) = 0 ( ) (∑ ) = ( ( ) ) ∑ By equating the above equation to zero we get as ( ∑ ) ( ) Since So the solution can be written as
  • 3. ( ∑ ) ( ) For ( ) ( ∑ ) = OR 0 otherwise The above optimal solution for the optimization problem has a high computational complexity so we propose a low complexity algorithm Max ∑ ( ( ) ) Subject to ∑ ≤ ∑ ≤ S Denotes the set of subcarriers belonging to the l Th PU band By following the same procedure like the before problem, the solution of the above problem is given as = [ ( ) ( ) ] If the interference constraint is ignored then the above problem will assume the water filling interpretation = * ( ) + If the total power constraint is ignored in the above problem we get the solution as = [ ( ) ( ) ] By substituting the above equation in ∑ ≤ We get ∑ * ( ) ( ) + ( ) ∑ ( ) * ∑ ( ) + In the above solution if also satisfies the power constraint,then it is our required solution. So in order to find the optimal solution first we find by the above method with only interference constraint. If the above solution also satisfies the power constraint along with interference constraint, then the solution has been found and is equal to the maximum power that can be allocated to each subcarrier, i.e. Otherwise, the available power budget should be distributed among the subcarriers giving that the power allocated to each subcarrier is lower than or equal to the maximum power that can be allocated to each subcarrier This problem can be solved by water filling algorithm So by using the already obtained equation = * ( ) + We will find the water filling λ.
  • 4. Calculate Tm=Γ( + )/gm for all m and arrange it in the descending order And Tn is the sorting index Tsum= ΣTm for all m If S is the CRU power limit then λ =(Tsum+S)/no of subcarriers n=1 while Tn> λ Tsum = Tsum-Tn λ =(Tsum+S)/(no of subcarriers-that particular subcarrier) n=n+1 end (WF)= *λ –Tm]+ for all m Given the initial waterfilling solution, the channels that violate the maximum power for any particular sub channel (i.e. (WF)> ) are determined and upper bounded with . The power allotted to that sub channel is subtracted from the total transmit power S and the above algorithm is carried out for subcarriers that did not violate the maximum power in the last step. This procedure is repeated until the allocated power (W.F) doesn’t violate the maximum power in any of the subcarriers in the new iteration. So from this results rm is determined for each case and the required graphs are plotted. IV. Simulation results The matlab code uses water filling algorithm to solve the given problem. In the above code the interference power is assumed constant as we are getting error with the quad function. We are not able to obtain the graphs as there is some error in the code which is causing the code to go for infinite iterations that we could not rectify. V. Conclusions A low-complexity water filling algorithm has been proposed for allocating resources in a OFDM-based CR system. The algorithm maximizes the overall bit rate achievable by the CRU, while keeping interference to PUs within tolerable limits REFERENCES 1) Yonghong Zhang and Cyril Leung,”Resource Allocation in an OFDM-Based Cognitive Radio System”. 2) Musbah Shaat and Faouzi Bader,”Computationally Efficient Power Allocation Algorithm in Multicarrier Based Cognitive Radio Networks: OFDM and FBMC systems”