- Research
- Open Access
- Published:

# Joint power and rate allocation in CDMA-based underlay cognitive radio networks for a mixture of streaming and elastic traffic

*EURASIP Journal on Wireless Communications and Networking*
**volume 2012**, Article number: 262 (2012)

## Abstract

This article investigates the issue of radio resource allocation strategies for cognitive networks based on the underlay approach, while adhering to the interference constraint on the primary user. Joint rate and power allocation problem is considered for secondary users (SUs) with homogeneous and heterogenous traffic subject to the QoS and interference threshold constraints. Two well-known fairness approaches [max–min and proportional fairness (PF)] are compared for the proposed optimization problem. Three scenarios are considered. The first scenario corresponds to elastic traffic in which all the SUs are elastic users. In the second, it is assumed that all the SUs are streaming users. Considering the proportional and max min fairness, it is observed that for both fairness criterion the streaming users achieving higher throughput and fairness, compared with the elastic users due to the fact that for streaming users, stringent transmission rate guarantees are necessary to ensure real-time communication. Moreover, considering the requirements of future wireless networks, a cross-layer resource-allocation is proposed for heterogeneous traffic in the third scenario. A combination of streaming traffic (which requires a maximum guaranteed average delay) and elastic traffic (with flexible rate requirements) is investigated. The optimization problem allocates the available resources to the streaming users such that the delay constraints of the streaming users are satisfied. Through extensive simulations, the effect of streaming traffic, Interference threshold, minimum processing gain, imperfect channel state information and signal-to-interference-noise ratio constraint on the total throughput of elastic users are investigated. Simulation results demonstrate that in all scenarios PF outperforms max min fairness. Furthermore, it is shown that increasing the number of streaming traffic results in lower throughput of elastic users for both PF and max min fairness.

## Introduction

Cognitive radio which enables spectrum sharing between different wireless services attempts to overcome spectrum scarcity [1–4]. In cognitive radio networks, unlicensed user or secondary user (SU) is allowed to share spectrum with licensed user, known as primary user (PU). As defined clearly in [5], there are three basic techniques for spectrum sharing: overlay, interweaving, and underlay. In the overlay scheme, the SU detects the presence of the PUs, and changes its own transmitted signal so that it does not imposed harmful interference on the communication of the PUs. In the interweaving approach, the secondary detect and exploit portions of the spectrum that are not being occupied by licensed services are referred to as spectrum holes in order to avoid interference with the PUs. In the case of underlay principle, the SU is allowed to use the spectrum of the PUs only when the interference received from the SU is less than the interference level that is tolerable by the primary receiver.

spectrum sharing in cognitive radio has recently attracted growing attention in the literature. The opportunistic spectrum sharing approach in the code-division multiple access (CDMA)-based uplink MAC over the cognitive radio networks was proposed in [6] to achieve the tradeoff between the interference imposed into the PUs and overall spectrum utilization. Problems of channel sensing, data transmission, and power and rate allocations were considered

The problem of simultaneous power and code-channel allocation for secondary transmission links co-existing with an unknown primary CDMA system was considered in [7]. An iterative least square based primary identification algorithm which could blindly detect the code channels utilized by PUs was developed. It was shown that this method did not require any prior knowledge about the primary networks.

The authors of [8] presented a soft decision spectrally modulated, spectrally encoded framework to achieve synergistic CR benefits of overlay and underlay schemes. Analytic derivation of CR error probability for overlay and underlay applications for a family of SMSE signals, including OFDM and MC-CDMA was provided. It was shown that the underlay cognitive radio waveform was able to adapt its bandwidth based on user requirements and environmental conditions. Simulated performance analysis demonstrated that the hybrid overlay/underlay waveform could be utilized to improve spectrum efficiency.

An algorithm for calculating the adaptive transmission parameters in a cognitive DS MC-CDMA system was proposed in [9] and it was shown that this algorithm combated interference in the channel effectively.

This article specifically focuses on the underlay spectrum sharing approach. This approach has attracted significant attention (see, e.g., [10–13]). In wireless communications, radio resource allocation (RRA) is vital in controlling how scarce resources can be allocated. The studies related to RRA for SUs in the underlay spectrum sharing scheme are relevant to our work.

The authors of [14] focused on the proportional fairness (PF) in a CDMA-based cognitive wireless network with spectrum underlay where the PUs could increase transmit power to counterbalance the harmful interference caused by the SUs. The authors of [15] presented a two-phase channel and power allocation approach for CDMA-based underlay cognitive radio networks to improve the system throughput. The authors of [12] focused on the CDMA-based underlay cognitive radio systems where channel-aware access control algorithm was proposed to protect the primary transmission. In this article, the access probabilities of SUs were adjusted based on the channel-state information and the measured interference temperature.

In [16], the problem of joint rate and power allocation was formulated by considering QoS constrains [in terms of minimum required signal-to-interference-noise ratio (SINR)] for different unlicensed users and also interference temperature constraints for the PUs. The main aim was to maximize the total transmission rate of the SUs by adjusting the transmit power of these users. Resource allocation for spectrum underlay in CDMA networks under QoS and interference constraints were presented in [17]. Joint power and rate allocation with max–min fairness and PF were considered. Coexistence of cognitive radio and CDMA networks were studied in [18], where a more flexible scheme that utilized the average channel gain was considered. In [16–18], resource allocation in underlay cognitive radio was conducted in each time slot of packet transmissions. In [19], PF was achieved over multiple time slots.

In this article, we develop the joint rate and power allocation problem subject to Qos and interference threshold constraints. We also provide comparison analysis between two popular fairness concepts: max–min and PF. In max–min fairness, the minimum achievable data rate is maximized. Max–min fairness ignores revenue maximization for the network operators; but, rather the focus is on the satisfaction of service fairness from the users perspective. PF is defined in terms of maximizing total logarithmic user throughput. The PF improves the trade off between the total network performance in terms of throughput and fairness experience of individual users.

We first consider homogeneous traffic for two cases; one in which we consider that all the SUs are elastic users with flexible rate requirements and one in which we assume that all the SUs are streaming users which correspond to the real-time transfer of various signals (e.g., voice, streaming audio/video) that requires a maximum guaranteed average delay. Simulation results show that streaming traffic achieve higher throughput than of the elastic traffic for both PF and max–min fairness. This results from the fact that, for streaming applications, stringent transmission rate guarantees are necessary to ensure real-time communication. Our results also indicate that resource allocation solutions are fairer for the streaming traffic in comparison to elastic users.

In [16–19], resource allocation in underlay spectrum sharing is only conducted for homogeneous traffic. However, next-generation wireless networks are anticipated to support multimedia traffic. With heterogeneous traffic, quality of service provisioning and fairness support are also imperative.

In this article, we further extend the related literature by incorporating a mixture of different traffic types. It is in line with the fact that in the next wireless networks, diversified services are provided for different traffic types with various delay requirements. The formulation is then extended to the case of heterogeneous traffic. The considered combination includes streaming traffic and elastic traffic. The main aim is to maximize the total throughput of elastic users where the average delay constraint for streaming traffic and the maximum transmission power, rate, and interference constraint are satisfied. Using simulations, we evaluate the impact of streaming traffic on the total throughput of elastic users. Simulation results are provided, which show the increase in throughput of elastic users achieved by decreasing number of streaming users. A discussion of the effects of interference threshold, minimum process gain, and SINR constraint on the throughput of SUs are also performed.

The remainder of the article is organized as follows. Section “System model” provides the system model and main assumptions. The joint power and rate assignment problem formulation for different objective functions based on a fair and efficient framework for homogeneous traffic is discussed in Sections “RRA for elastic traffic” and “RRA for streaming traffic”. Furthermore, RRA based on heterogeneous delay requirements are investigated in Section “RRA for heterogeneous traffic”. Finally, simulation results are demonstrated in Section “Simulation results”, followed by concluding remarks in Section “Conclusion”.

## System model

We consider a CDMA-based cellular network as the primary network, in which mobile stations (MSs) or PUs communicate with the corresponding base station through uplink transmission. Spectrum utilization may be very low for some periods of time, and in some specific locations; therefore, some MSs may form a secondary ad hoc network and communicate directly with each other. Figure 1 shows the system model considered in this article.

Allowing ad hoc communications within a cellular coverage has been studied in the related literature (see, e.g., [19]). Secondary transmissions use the same frequency band as the uplink in the primary network and interfere with the uplink transmissions in the primary network. *I*_{th} is utilized to denote the maximum interference limit tolerable at the primary receiving point (i.e., base station).

Rate and power allocations for SUs are performed for both homogeneous and heterogeneous traffics. Transmitter *i* and receiver *i* are used to indicate secondary receiver of link *i* and *N*_{
s
} is the total number of SUs. The transmission rate and the transmission power corresponding to the *i* th secondary link are *R*_{
i
} and *P*_{
i
}, respectively. The total interference at the primary BS must not exceed the interference threshold (*I*_{th}). Therefore, the interference threshold constraint can be written as

where {g}_{i}^{\left(s2p\right)} is the power gain from the transmitter of *i* th secondary link to the primary receiving point. We assumed that the base station has perfect knowledge about all channel state information (CSI). Some good approaches mentioned in [17] may be used to estimate these channel gains at the base station (using a signaling channel to feedback channel information to the BS). Additionally, as mentioned in [11], the channel gains can be estimated at SUs by direct reception from a primary receiver using some pilot signals or by using the band manager, which can transfer the channel information between primary and SUs. The channel gain estimator without feedback could be also utilized by the method presented in[20]. Furthermore, considering more practical situations, the impact of imperfect CSI has been investigated in Section “Impact of imperfect CSI on the throughput”. The SINR requirement of each secondary link can be expressed as [17]

where {I}_{i}^{p2s} represents the interference caused by the PUs in the SUs and *N*_{
i
} is the noise at the secondary link i. Therefore, {\eta}_{i}={I}_{i}^{p2s}+{N}_{i} represents the total noise and interference due to PU transmissions at the secondary link *i*. In the above formula *B*/*R*_{
i
}=*G*_{
i
} is the processing gain, *B* indicates the system bandwidth, {g}_{\mathit{\text{ji}}}^{\left(s2s\right)} denotes the link gain from transmitter *j* to receiver *i*, and the SINR requirement of secondary link *i* can be satisfied if SINR of *i* th secondary link is larger than a corresponding value {Q}_{i}^{\ast}. Hereafter, the term “user” is utilized instead of “SU” for brevity.

## RRA for elastic traffic

In this section, RRA for elastic users (all the SUs are elastic users) is considered. Elastic flows correspond to the transfer of digital documents (e.g., web pages, emails). These flows are flexible towards rate fluctuations. The RRA is implemented in centralized fashion at the primary base station. The secondary elastic user rate allocation problem is formulated as the following optimization problem, which maximizes a certain function of secondary link transmission rate:

*Problem*{\mathcal{O}}_{1}.

The objective function *f*(*R*_{
i
}) is designed so as to achieve efficiency while keeping a certain level of fairness. This article investigates max–min fairness and PF which have frequently been used for different resource allocation schemes (see, e.g., [17–19]). These fairness criteria are defined as follows:

The max–min fairness criteria makes perfect fairness for all secondary links. However, the link with the worst channel condition limits the transmission rate of all secondary links. Therefore, the focus of max–min fairness is not on maximizing the total throughput; instead, the emphasis is given to the satisfaction of fairness from the users’ point of view. On the other hand, in PF, which has been received increasing attention in recent years (see, e.g., [16–21]), rate allocations are proportionally fair if they maximize sum of the logarithmic values of the rate allocations over all links. The proportional fair allocation offers a better trade off between fairness and throughput. Equations (2) and (3) are the interference threshold constraint and the SINR requirement of each secondary link, respectively, which is mentioned in Section “System model”. Moreover, it is assumed that the transmission power and rate of SUs are limited by {P}_{i}^{max} and {R}_{i}^{max}, respectively.

{\mathcal{O}}_{1} is not a convex optimization problem. Using the simple transformations described in Appendix, we obtain the equivalent standard form geometric program (GP). As a result, this problem can be transformed into a convex optimization problem and solved efficiently by utilizing the convex form transformation explained in [17].

## RRA for streaming traffic

This section formulated the optimal RRA based on streaming traffic requirements. Streaming traffic such as real-time applications has strict delay requirements. A queue that follows *M*/*G*/1 model for each user is utilized. This model corresponds to a single server that has unlimited queue capacity and infinite calling population, while the arrival is Poisson process, meaning the statistical distribution of the inter-arrival times follow the exponential distribution and the distribution of the service time may follow any general statistical distribution. Here, the problem of resource allocation is considered with streaming traffic, which requires a maximum guaranteed average delay. We assumed that the required average maximum delay of streaming user *i* is *τ*_{
i
}. Additionally, the arrival traffic for user *i* is modeled via a Poisson distribution with the average *λ*_{
i
}. The optimal cross-Layer RRA problem is as follows:

*Problem*{\mathcal{O}}_{2}.

Delay constraint for streaming users is shown in (13), in which \mathbb{E}(*W*_{
i
}) is the average waiting time of user *i* in the queue plus the service time. In the optimization problem, it is assumed that users have enough traffic waited in the queue and ready to be transmitted (i.e., full buffer assumption).

In order to solve the cross-layer resource allocation problem, {\mathcal{O}}_{2}, the delay constraint (13) is converted into a constraint in terms of physical-layer parameters. To transform the constraint in (13), according to [22] an equation is obtained which models the relationship between the scheduled data rate of the user *i* and its traffic characteristic (*τ*_{
i
}*λ*_{
i
}). As mentioned in [23] for *M*/*G*/1 model

where *X*_{
i
} is the service time of user *i*. By mathematical derivations based on (14) which is provided in [22], the following constraint is obtained:

where

and \mathbb{E}(*z*) is the average packet size. As a result, the optimization problem {\mathcal{O}}_{2} is transformed into the following:

*Problem*{\mathcal{O}}_{3}.

where constraint (13) in {\mathcal{O}}_{2} is substituted by (22) in this optimization problem. The original problem formulation presented in {\mathcal{O}}_{2} is a cross-layer optimization problem, which considers different delay requirements. In other words in this formulation, we translated MAC-layer parameters into physical-layer parameters. Similar to section “RRA for elastic traffic” we adopt GP to obtain the solution of the optimization problem in {\mathcal{O}}_{3}.

## RRA for heterogeneous traffic

In this section, a mixture of two traffic types including streaming and elastic is considered. The total number of SUs, *N*_{
s
}, is divided into two groups: (1) SUs with streaming traffic, where {k}_{i}^{s} is the *i* th secondary streaming user and *u*^{s}is the number of secondary streaming users; and (2) SUs with elastic traffic, where {k}_{i}^{e} is the *i* th secondary elastic user and *u*^{e} is the number of secondary elastic users so that {u}^{e}+{u}^{s}={N}_{s}.

Corresponding to each user, a queue that follows *M*/*G*/1 model is considered. Here the problem of resource allocation is considered with streaming traffic, which requires a maximum guaranteed average delay, and elastic traffic with flexible rate of requirements. The main objective is to maximize f\left({R}_{{k}_{i}^{e}}\right) while the average delay constraint and QoS constraint for streaming traffic and, the maximum transmission power constraint and interference threshold constraint are satisfied.

It is assumed that the required average maximum delay of streaming user {k}_{i}^{s} is {\tau}_{{k}_{i}^{s}}. Moreover, the arrival traffic for user {k}_{i}^{s} is modeled via a Poisson distribution with the average {\lambda}_{{k}_{i}^{s}}. The optimal cross-Layer RRA problem is as follows:

*Problem*{\mathcal{O}}_{4}.

where delay constraint for streaming users as previously described in section “RRA for streaming traffic” can be written as (24), in which {R}_{{k}_{i}^{s}} is the transmission rate of user {k}_{i}^{s} and {R}_{m}=\psi \left(\right.\mathbb{E}\left(z\right),{\tau}_{{k}_{i}^{s}},{\lambda}_{{k}_{i}^{s}}\left)\right. is the minimum rate requirement for each streaming users; (25) represents the interference threshold constraint for both elastic and streaming users as defined in previous sections, (26) and (27) states SINR constraint for streaming and elastic traffic. Equations (28) and (29) are the total transmission power and rate constraints. Similar to Section “RRA for streaming traffic”, we adopt GP to obtain the solution of the optimization problem in {\mathcal{O}}_{4}.

## Simulation results

A single-cell CDMA system with 5 MHz channel bandwidth is considered. The maximum transmission power on secondary links is 0.1 W. The minimum transmission rate requirement of the streaming users is set to 128 kbps. The maximum transmission rate is *R*^{max} = *B*/*PGmin*, where *PGmin* is the minimum processing gain. This equation shows that by increasing the minimum processing gain, the *R*^{max} decreases.

The channel gains are modeled as {K}_{0}1{0}^{\gamma /10}\left({d}^{-4}\right) where *d* is the distance between the transmitter and the receiver, *γ* is random Gaussian variables with zero mean and the standard deviation equal 6 dB, *K*_{0} = 10^{3} which captures system and transmission effects such as antenna gain, carrier frequency, etc. The total noise and interference at the receiving nodes of all secondary links is chosen to be *η*_{
i
} = *η* = 10^{−10} W.

PUs communicate with its base station in the uplink direction. Transmitting nodes corresponding to the secondary links are randomly located in a coverage area with the BS of primary network located at the center. The size of coverage area is 4 km^{2}. Furthermore, the receiving node of each secondary link is generated randomly in a 1 km × 1 km rectangle with its transmitting node being at the center.

### Impact of different traffics on throughput

In Figures 2 and 3, the total throughput of SUs for PF and max–min fairness versus the minimum processing gain under different SINR constraints are illustrated. Two cases are considered. First, it is assumed that all the SUs are elastic users. The total throughput of elastic users are evaluated in Figure 2. Then it is considered that all the SUs are streaming users. Figure 3 depicts total throughput of streaming users versus the minimum processing gain. The total number of SUs set to 10. It is seen that joint rate and power allocation with PF achieve higher throughput than of the max–min fairness criteria for both streaming and elastic cases. This is due to the fact that in max–min fairness the link with the worst channel condition limits the transmission rate of all secondary links. Furthermore, it can be observed that the more stringent is the SINR constraints, the lower is the throughput that can be achieved. We compare two target SINRs (the minimum SINR requirements) which were selected as *Q*^{∗}=5 dB and *Q*^{∗}=10 dB. As it is observed, by increasing the SINR constraint, the rate of users decreases; hence, the total throughput of users decreases. For a given minimum processing gain (*PGmin*=2), while target SINR increases from 5 to 10 dB the total throughput of elastic users for PF decrease from 10.13 to 7.2 Mbps and the total throughput of streaming users decrease from 11.21 to 8.91 Mbps. Furthermore, for max–min fairness the total throughput of elastic users decrease from 1.3 to 0.38 Mbps and the total throughput of streaming users decrease from 3.3 to 2.35 Mbps.

In addition, throughput of the secondary network decreases when minimum processing gain is increased. This is due to the fact that maximum data rates decrease when the minimum processing gain increases. If the *PGmin* varies from 2 to 27, the total throughput of elastic users in max min decrease from 1.3 to 0.66 Mbps and the total throughput of streaming users in max–min decrease from 3.3 to 1.42 Mbps. Moreover, the performance gap of total throughput become smaller. This results from the fact that, when the minimum processing gain increases, the maximum rate decreases which essentially reduces the feasible region. Hence, the gaps among different throughput curves become smaller.

Comparing the results of Figure 2 to those of Figure 3, it can be seen that streaming traffic achieve higher throughput than of the elastic traffic for both PF and max–min fairness. This results from the fact that, for streaming applications, stringent transmission rate guarantees are necessary to ensure real-time communication.

### Impact of different traffics on fairness

To examine the fairness attribute of the resource allocation solutions for secondary links, the fairness index versus the minimum processing gains is plotted for both elastic and streaming users in Figures 4 and 5. Jain quantitative measure is utilized which is define as follows:

This index is applicable to any resource allocation problem and has been used variously in the literature (see, e.g., [17, 19]). It is independent of the amount of available resources. In other words, it is dimensionless and independent of scale and is also a continuous parameter. It is bounded between 0 (for the worst case) and 1 (for the best case). If all users get the same amount, then the fairness index is equal to one (when all users receive the same resource allocation), and the system is 100% fair. Max–min fairness is an instance of the systems with the fairness index of 100%.

It is apparent from Figures 4 and 5 that resource allocation solutions are fairer for the streaming case in comparison to elastic users. This is due to the fact that all streaming users must satisfy the rate constraint. In other words, all the streaming users achieve their minimum rates. As a result, we can note that the addition of the rate constraints (adding a minimum rate constraint for streaming case) has improved the fairness in the system.

Furthermore, fairness improves when the minimum processing gain increases (i.e., due to smaller feasible rate region). Moreover, as is observed from Figure 4 the more stringent is the SINR constraints, the lower is the fairness that can be achieved. However, fairness curves of streaming users in comparison to curves of elastic users get closer to each other as the minimum processing gain increases because of smaller feasible rate region for the case of streaming users.

### Impact of different traffics on sum power

The sum power of SUs versus the minimum processing gain is demonstrated in Figure 6. As it is seen, the sum power of SUs in elastic traffic is less than that of the streaming traffic due to lower rate and power allocated to the elastic users. In addition, the sum power of PF is higher than the sum power of the max–min fairness due to higher rate and power allocated to users in PF.

### Effect of heterogeneous traffic

In this section, we consider a mixture of elastic and streaming traffic. To investigate the effect of streaming traffic on the total throughput of elastic users, we consider different numbers of streaming traffic (*U*_{
s
} = 2,4,6). The results are demonstrated in Figure 7 which shows the total throughput of elastic users versus interference threshold. The solid and dashed lines represent PF and max–min fairness techniques, respectively. In this figure, the minimum processing gain has been set to 2 and the rate requirement of streaming users = 128 kbps. As can be seen, increasing the number of streaming traffic results in lower throughput of elastic users for both PF and max–min fairness due to the fact that less elastic users are competing with more streaming users for the network resources. The figure also reveals that as the interference threshold increases, the allocated power for elastic users, hence, their achievable rate and, consequently, throughput of elastic users also increase.

We also performed simulations for streaming users. Figure 6 illustrates that the rate of streaming users is almost constant for different interference threshold levels which is very important for keeping the QoS of streaming users consistently. It can be also observed from these plots that as the number of streaming users increases, the total throughput also increases.

We further examine the effect of different SINR constraint on the total throughput of elastic users (Figure 8). Plots for the total throughput of elastic users versus the interference threshold under various SINR constraints (*Q*∗=5,10,15 dB) with *U*_{
s
}=4 for PF and max–min fairness are provided in Figure 9. We observe that by increasing the SINR constraint, according to (27) the rate of elastic users decreases, thereby, the total throughput of elastic users decreases for both PF and max–min fairness; however, gap in the throughput graphs, decreases for lower values of interference threshold due to smaller feasible rate region. For instant, by increasing the SINR constraint form *Q*∗=5 to *Q*∗=15 dB, for a given interference threshold (10^{−8}) the throughput degradation is about 4 and 2.5 Mbps for PF and max–min fairness, respectively. In addition, for a given interference threshold (10^{−11}) the throughput degradation is about 2 Mbps and 150 kbps for PF and max–min fairness, respectively.

Figure 10 includes the plots for the total throughput of elastic users versus the interference threshold under various *PGmins*, with *U*_{
s
}=4 for PF and max min fairness. Throughput curves indicate that throughput of elastic users decreases when the minimum processing gain increases. This results from the fact that as the minimum processing gain increases, the maximum rate decrease, hence, total throughput of elastic users decreases. However, the rate of throughput growth is not the same for all amount of interference threshold owing to the fact that as the interference threshold further increases, the elastic users make more interference to PUs. Then the SU increases its transmission power whereas this is finally limited by its maximum transmission power. Consequently, further increase of the interference threshold does not help the elastic users to transmit higher power. Hence, the higher level of the interference threshold (more than 10^{−8}) have negligible effects on total throughput of elastic users.

### Impact of imperfect CSI on the throughput

Due to the technical reasons such as estimation errors and wireless channel delay, perfect CSI is not available. Therefore, it is assumed that imperfect CSI is available at the secondary station. Then the radio resources are allocated based on an imperfect estimation of the channel gain by *ĝ*^{(s2s)} and *ĝ*^{(s2p)}, so that [24]

where *Δ* *s*_{2s} and *Δ*_{s 2p} stands for the estimation error, where these are usually modeled by a zero mean complex Gaussian random variable with variance {\sigma}_{s2s}^{2} and {\sigma}_{s2p}^{2}, respectively. We examine the effect of imperfect CSI on the throughput of the elastic and streaming users. Plots for the throughput of the elastic and streaming users for max–min fairness versus the minimum processing gain are provided in Figure 11. As it is observed due to imperfect CSI assumption, the throughput of the both elastic users and streaming users decrease. It is also seen, due to smaller feasibility region, increasing the minimum processing gain, results in decreasing the throughput. Figure 12 shows that the same results can be achieved using PF. This figure also reveals that imperfect CSI degrades the total throughput of the users.

This figure also demonstrates that the total throughput of the SUs in PF is higher than the total throughput of the SUs in the max–min fairness. This results from the fact that in max–min fairness criterion the link with the worst channel condition limits the transmission rate of all secondary links. This is due to the fact that max–min fairness gives an absolute priority to flows with small bit rates. In wireless networks, this results in an inefficient allocation where flows that experience bad radio conditions consume most radio resources.

## Conclusion

Rate and power allocation problem for SUs with QoS requirements and interference threshold constraint in CDMD-based CR system has been formulated as an optimization problem. Three scenarios have been considered. The first scenario corresponds to elastic traffic in which all the SUs are elastic users. The GP has been proposed for solving the problem. In the second, it is assumed that all the SUs are streaming users. To solve this optimization problem, the delay constraints are translated into physical-layer parameters so that cross-layer optimization problem converted into a physical-layer optimization problem. Considering the PF and max–min fairness, it has been observed that for both fairness criterion the streaming users achieving higher throughput and fairness, compared with the elastic users due to the fact that for streaming users, stringent transmission rate guarantees are necessary to ensure real-time communication.

Heterogeneous traffic (mixture of elastic and streaming traffic) has been considered with regard to the future requirements of next-generation wireless networks in the third scenario. Simulations have been used for demonstrating the effect of streaming traffic, interference threshold, imperfect CSI, minimum processing gain, and SINR constraint on the total throughput of elastic users. Moreover, it is shown that for all the three scenarios PF outperforms max–min fairness from throughput point of view.

## Appendix

The objective function of PF is to maximize \sum _{i=1}^{{N}_{s}}ln\left({R}_{i}\right) which is equivalent to maximize ln\left(\prod _{i=1}^{{N}_{s}}\right({R}_{i}\left)\right) and then can be rewritten as minimize \frac{1}{\prod _{i=1}^{{N}_{s}}\left({R}_{i}\right)}. Therefore, the optimization problem can be express as following geometric problem:

The variables are defined as *y*_{
i
} = log *R*_{
i
} so {R}_{i}={e}^{{y}_{i}} and *z*_{
i
} = log *p*_{
i
} so {p}_{i}={e}^{{z}_{i}}. After the change of variables, a polynomial becomes a sum of exponentials of affine functions. The above GP can be rewritten in terms of new variables and by considering the logarithm as:

Since log–exp and log-sum-exp functions are convex, the above optimization problem is a convex optimization problem [25]. Therefore, the global optimal solution can be achieved by interior point methods [17], which solve the problem by applying Newton’s method to a sequence of equality constrained problems.

## References

Haykin S: Cognitive radio: brain-empowered wireless communications.

*IEEE J. Sel. Areas Commun*2005, 23(2):201-220.Aslam S, Lee K: Fair, efficient, and power-optimized spectrum sharing scheme for cognitive radio networks.

*EURASIP J. Wirel. Commun. Netw*(2011). http://jwcn.eurasipjournals.com/content/2011/1/201Peipei ZYZ, Qinyu C, Ye W: Performance analysis of spectrum sharing mechanisms in cognitive radio networks.

*EURASIP J. Wirel. Commun. Netw*((2011). ) http://jwcn.eurasipjournals.com/content/2011/1/129 ((2011). )Dashouk M, Alanyali M: A utility-based approach for secondary spectrum sharing.

*EURASIP J. Wirel. Commun. Netw*(2011). http://jwcn.eurasipjournals.com/content/2011/1/32Molisch A:

*Wireless Communications*. (Wiley-IEEE, USA, 2011)Zhang X, Su H: Opportunistic spectrum sharing schemes for CDMA-based uplink MAC in cognitive radio networks.

*IEEE J. Sel. Areas Commun*2011, 29(4):716-730.Li M, Batalama SN, Pados DA, Melodia T, Medley MJ, Matyjas JD: Cognitive code-division links with blind primary-system identification.

*IEEE Trans. Wirel. Commun*2011, 10(11):3743-3753.Chakravarthy V, Li X, Wu Z, Temple MA, Garber F, Kannan R, Vasilakos A: Novel overlay/underlay cognitive radio waveforms using SD-SMSE framework to enhance spectrum efficiency—Part I: theoretical framework and analysis in AWGN channel.

*IEEE Trans. Wirel. Commun*2009, 57(12):3794-3804.Attar A, Nakhai MR, Aghvami AH: Cognitive radio transmission based on direct sequence MC-CDMA.

*IEEE Trans. Wirel. Commun*2008, 7(4):1157-1162.Kang X, Garg H, Liang YC, Zhang R: Optimal power allocation for OFDM-based cognitive radio with new primary transmission protection criteria.

*IEEE Trans. Wirel. Commun*2010, 9(6):2066-2075.Lee J, Wang H, Andrews J, Hong D: Outage probability of cognitive relay networks with interference constraints.

*IEEE Trans. Wirel. Commun*2011, 10(2):390-395.Yang B, Feng G, Shen Y, Long C, Guan X: Channel-aware access for cognitive radio networks.

*IEEE Trans. Veh. Technol*2009, 58(7):3726-3737.Lotze J, Fahmy S, Noguera J, Doyle L: A model-based approach to cognitive radio design.

*IEEE J. Sel. Areas Commun*2011, 29(2):455-468.Wang B, Zhao D: Performance analysis in CDMA-based cognitive wireless networks with spectrum underlay.

*Proceedings of the IEEE Global Telecommun. Conf. (GLOBECOM)*1-6. (New Orleans, 2008)Hoang AT, Liang YC: A two-phase channel and power allocation scheme for cognitive radio networks.

*Proceedings of the IEEE 17th International Personal, Indoor and Mobile Radio Communications Symposium*1-5. (Helsinki, 2006)Xing Y, Mathur CN, Haleem MA, Chandramouli R, Subbalakshmi K: Dynamic spectrum access with QoS and interference temperature constraints.

*IEEE Trans. Mob. Comput*2007, 6(4):423-433.Le L, Hossain E: Resource allocation for spectrum underlay in cognitive radio networks.

*IEEE Trans. Wirel. Commun*2008, 7(12):5306-5315.Kim DI, Le L, Hossain E: Joint rate and power allocation for cognitive radios in dynamic spectrum access environment.

*IEEE Trans. Wirel. Commun*2008, 7(12):5517-5527.Wang B, Zhao D: Scheduling for long term proportional fairness in a cognitive wireless network with spectrum underlay.

*IEEE Trans. Wirel. Commun*2010, 9(3):1150-1158.Hamdi K, Zhang W, Letaief KB: Power control in cognitive radio systems based on spectrum sensing side information.

*Proceedings of the IEEE International Conference on Communications*5161-5165. (Glasgow, 2007)Zhang Y, Leung C: A distributed algorithm for resource allocation in OFDM cognitive radio systems.

*IEEE Trans. Veh. Technol*2011, 60(2):546-554.Mokari N, Javan MR, Navaie K: Cross-layer resource allocation in OFDMA systems for heterogeneous traffic with imperfect CSI.

*IEEE Trans. Veh. Technol*2010, 59(2):1011-1017.Kleinrock L:

*Queueing Systems*. Vol. I, Chap. 10 (John Wiley and Sons, New York, 1975), p. 190Mokari N, Navaie K, Khoshkholgh MG: Downlink radio resource allocation in OFDMA spectrum sharing environment with partial channel state information.

*IEEE Trans. Wirel. Commun*2011, 10(10):3482-3495.Boyd S, Vandenberge L:

*Convex Optimization*. (Cambridge University Press, Cambridge, 2004)

## Author information

### Affiliations

### Corresponding author

## Additional information

### Competing interests

The authors declare that they have no competing interests.

## Authors’ original submitted files for images

Below are the links to the authors’ original submitted files for images.

## Rights and permissions

**Open Access** This article is distributed under the terms of the Creative Commons Attribution 2.0 International License (https://creativecommons.org/licenses/by/2.0), which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.

## About this article

### Cite this article

Dashti, M., Azmi, P. Joint power and rate allocation in CDMA-based underlay cognitive radio networks for a mixture of streaming and elastic traffic.
*J Wireless Com Network* **2012, **262 (2012). https://doi.org/10.1186/1687-1499-2012-262

Received:

Accepted:

Published:

DOI: https://doi.org/10.1186/1687-1499-2012-262

### Keywords

- Cognitive Radio
- Secondary User
- Proportional Fairness
- Geometric Program
- Total Throughput