Skip to main content

Performance analysis of CSMA in an unslotted cognitive radio network with licensed channels and unlicensed channels

Abstract

We consider a carrier sense multiple access(CSMA) in an unslotted cognitive radio network under a mixed spectrum environment of licensed channels and unlicensed channels. In this system, primary users use only licensed channels, while secondary users use unlicensed channels and opportunistically can use licensed channels unused by primary users temporally. If an arriving secondary user(SU) does not find any idle channels, then the SU either enters the retrial group with probability q for later retrial or gives up its service and leaves the system with probability 1 - q. SUs in the retrial group retry independently after exponentially distributed random time. We analyze the system by continuous time Markov chain(CTMC) with level dependent QBD structure and obtain the steady state probability of the system by matrix analytic method. In numerical results, we compare the performance of two systems with retrial(q > 0) and without retrial(q = 0). It is shown that the retrial phenomenon of SUs has an impact on the performance of SUs in cognitive radio networks.

1 Introduction

Advances in wireless communication systems and development of new services have significantly increased the demand for more frequency bands. Recently, the FCC has reported that the licensed bands are vastly underutilized [1]. To overcome spectrum scarcity, licensed spectrum bands need to be more intelligently utilized. For this purpose, cognitive radios have recently emerged as a promising technique to improve the utilization of the existing radio spectrum. Cognitive radio improves the spectrum efficiencies by enabling SUs to opportunistically access the channels unused by PUs.

There have been many studies on the opportunistic spectrum access for a cognitive radio network. Cognitive radio networks can be classified as single channel(e.g., [2, 4, 5, 7]) and multi-channel(e.g., [3, 6, 8]). Both networks further can be classified a slotted structure(e.g., [2, 3, 6]) and an unslotted structure(e.g., [7–9]) where the slotted structure means the time axis for network is divided by time slots and all PUs and SUs are synchronized at the time slot.

Most of these studies deal with temporal use of the SUs on licensed bands. Multiple accesses of SUs on a mixed environment of licensed and unlicensed bands have been investigated [10–12]. H. Al-Mahdi et. al. [12] investigated CSMA in an unslotted cognitive radio networks under a mixed spectrum environment of licensed and unlicensed bands where the blocked SUs and the preempted SUs are forced to leave the system forever when there are no idle channels in the system. But in practical situation, the blocked SUs and the preempted SUs may do not leave the system forever and try to continue their services after random amount of time. This is a motivation of our work.

In this paper, we investigate the same model in [12] with an additional retrial phenomenon: the blocked SUs and the preempted SUs either enter a retrial group with probability q or leave the system with probability 1 - q if all channels are busy. We investigate the effect of the retrial phenomenon of SUs on the system performance of an unslotted cognitive radio network. We analyze the system by CTMC with a level dependent QBD structure and obtain the steady state probability of the system using matrix analytic method. Note that, when q = 0, our model reduces to the system model in [12].

The rest of this paper is organized as follows. In Section 2, the operation of CSMA in unslotted cognitive radio networks with a mixed spectrum environment is described in details. In Section 3, we analyze the performance of the system by using matrix analytic method. Numerical examples are presented in section 4 and conclusions are given in section 5.

2 System model

We consider CSMA in the unslotted cognitive radio networks with a mixed spectrum environment of c1 primary channels and c2 secondary channels(See Figure 1). PUs can use only c1 primary channels but SUs can use c2 secondary channels and can opportunistically use primary channels unused by PUs. PUs have preemptive priorities over SUs on primary channels. We assume that PUs and SUs arrive according to Poisson processes with rate λ1 and λ2 independently, the transmission times of messages for PUs and SUs are exponentially distributed with mean μ 1 - 1 and μ 2 - 1 , respectively.

Figure 1
figure 1

The system model.

On the arrival of a PU, if there are idle primary channels, the PU occupies one of those idle channels and send its message. If there is no idle primary channel but at least one primary channels are occupied by SUs, the arriving PU selects and preempts one of the primary channels occupied by SUs. If all primary channels are busy with PUs, the arriving PU is queued in the finite buffer with the size N - c1(N ≥ c1).

A SU always senses the channels before each message transmission. It is assumed that the sensing period of the channel is negligible. An arriving SU first senses unlicensed channels. If there are idle secondary channels, then the SU occupies one of the idle secondary channels and transmits a message and leaves the system after its transmission. When the arriving SU does not find idle secondary channels, the SU senses the primary channels and transmits its message on an idle primary channel if any, otherwise the SU either enters the retrial group with probability q for later retrial or give up its service and leaves the system with probability 1 - q.

When a SU is preempted by a PU, the SU performs spectrum handoff to a secondary channel. Spectrum handoff procedures aim to help SUs find another idle channel to send its message. If the preempted SU finds idle secondary channels, the SU handoffs to one of those idle channels, otherwise the SU either enters the retrial group with probability q or leaves the system with probability 1 - q.

SUs in the retrial group retry to the system in order to transmit their messages. The retrial time of SUs is defined as the amount of time between two consecutive retrials made by a SU and is assumed to be independent of all previous retrial times. We assume that the retrial times are exponentially distributed with mean ν-1. When a SU in the retrial group retries to the system, the SU repeats the same procedure as an arriving SU does.

3 Performance analysis of the system

In this section, we analyze CSMA in an unslotted cognitive radio network with a mixed spectrum environment of licensed and unlicensed channels by using matrix analytic method.

Let

N r ( t ) = the member of SUs in the retrial group at time t , N 1 ( t ) = the total number of PUs in service and PUs in the buffer at time t , N 2 ( t ) = the number of SUs in service at time t .

Then {(N r (t), N1(t), N2(t))|t ≥ 0} forms 3-dimensional Markov process with state space

S = ( k , n , j ) | 0 ≤ k , 0 ≤ n ≤ N , 0 ≤ j ≤ max c - n , c 2

where c = c1 + c2.

Let the elements of S be ordered lexicographically. The infinitesimal generator Q of the Markov process has a level dependent infinite QBD structure as follows.

Q = B 1 A 0 ⋯ 0 0 0 ⋯ B 2 B 1 - Γ A ⋯ 0 0 0 ⋯ 0 2 B 2 B 1 - 2 Γ ⋯ 0 0 0 ⋯ ⋮ ⋮ ⋮ ⋮ ⋮ ⋮ ⋮ ⋮ 0 0 0 ⋯ k B 2 B 1 - k Γ A ⋯ ⋮ ⋮ ⋮ ⋮ ⋮ ⋮ ⋮ ⋮

The entries of Q are given by following block matrices.

  1. i)

    A is the transition rate matrix from level k to level k+1, given by

    A = E c + 1 A 0 0 ⋯ 0 0 0 0 ⋯ 0 0 E c A 1 ⋯ 0 0 0 0 ⋯ 0 ⋮ ⋮ ⋮ ⋮ ⋮ ⋮ ⋮ ⋮ ⋮ ⋮ 0 0 0 ⋯ E c 2 + 2 A c 1 - 1 0 0 ⋯ 0 0 0 0 ⋯ 0 E c 2 + 1 0 0 ⋯ 0 0 0 0 ⋯ 0 0 E c 2 + 1 0 ⋯ 0 ⋮ ⋮ ⋮ ⋮ ⋮ ⋮ ⋮ ⋮ ⋮ ⋮ 0 0 0 ⋯ 0 0 0 0 ⋯ E c 2 + 1

    where E n = Diag(0,...,0, λ2q) is an n × n diagonal matrix and A n , 0 ≤ n ≤ c1 - 1 are (c - n + 1) × (c - n) matrices as follows.

    A n = 0 0 ⋯ 0 0 0 ⋯ 0 ⋮ ⋮ ⋱ ⋮ 0 0 ⋯ 0 0 0 ⋯ λ 1 q .
  2. ii)

    k B2 is the transition rate matrices from lethe transition rate matrices from the transition rate matrices from el k to level k - 1. B2 is given by

    B 2 = D i a g ( B 0 ( 2 ) , B 1 ( 2 ) , ⋯ , B N ( 2 ) )

    where B n ( 2 ) , 0 ≤ n ≤ c1 are (c - n + 1) × (c - n + 1) matrices given by

    B n ( 2 ) = 0 ν 0 ⋯ 0 0 0 ν ⋯ 0 ⋮ ⋮ ⋮ ⋮ ⋮ 0 0 0 ⋯ ν 0 0 0 ⋯ ( 1 - q ) ν

    and B c 1 ( 2 ) = B c 1 + 1 ( 2 ) =⋯= B N ( 2 ) ..

  3. iii)

    B1 - k Γ is the transition rate matrices in level k. The matrix Γ is given by

    Γ = D i a g Γ 0 , Γ 1 , ⋯ , Γ N
    (1)

where Γ n = Diag(ν, ν,...,ν, (1 - q)ν) (0 ≤ n ≤ c1) is (c - n + 1) × (c - n + 1) diagonal matrix and Γ c 1 = Γ c 1 + 1 =⋯= Γ N . B1 has following structure:

B 1 = B 0 ( 1 ) U 0 D 1 B 1 ( 1 ) U 1 ⋱ ⋱ ⋱ D c 1 - 1 B c 1 - 1 ( 1 ) U c 1 - 1 D c 1 B c 1 ( 1 ) λ 1 I c 2 + 1 c 1 μ 1 I c 2 + 1 B c 1 + 1 ( 1 ) ⋱ ⋱ ⋱ λ 1 I c 2 + 1 c 1 μ 1 I c 2 + 1 B N ( 1 )

where I n is an n × n identity matrix, U n , 0 ≤ n ≤ c1 - 1 are (c - n + 1) × (c - n) matrices and D n , 1 ≤ n ≤ c1 are (c - n + 1) × (c-n + 2) matrices as follows:

U n = λ 1 0 ⋯ 0 0 λ 1 ⋯ 0 ⋮ ⋮ ⋯ ⋮ 0 0 ⋯ λ 1 0 0 ⋯ ( 1 - q ) λ 1 , D n = n μ 1 0 ⋯ 0 0 0 n μ 1 ⋯ 0 0 ⋮ ⋮ ⋱ ⋮ ⋮ 0 0 ⋯ n μ 1 0

Let d n ≜max { c - n , c 2 } . B n ( 1 ) ,0≤n≤N are (d n + 1) × (d n + 1) square matrices, has the structure

B n ( 1 ) = b n , 0 λ 2 0 ⋯ 0 0 0 μ 2 b n , 1 λ 2 ⋯ 0 0 0 0 2 μ 2 b n , 2 ⋯ 0 0 0 ⋮ ⋮ ⋮ ⋮ ⋮ ⋮ ⋮ 0 0 0 ⋯ ( d n - 1 ) μ 2 b n , d n - 1 λ 2 0 0 0 ⋯ 0 d n μ 2 b n , d n .

where the diagonal elements bn,jare given by

b n , j = - λ 1 + λ 2 + m i n { n , c 1 } μ 1 + j μ 2 , if 0 ≤ n ≤ N - 1 , 0 ≤ j < d n , - λ 1 + q λ 2 + m i n { n , c 1 } μ 1 + j μ 2 , if 0 ≤ n ≤ N - 1 , j = d n , - λ 2 + c 1 μ 1 + j μ 2 , if n = N , 0 ≤ j < c 2 , - q λ 2 + c 1 μ 1 + j μ 2 , if n = N , j = c 2 .

Note that the generator Q is a level dependent. It is obvious that the system is stable if q is less than 1. Let Π be the steady state probability vector, which is the unique solution of linear equations ΠQ = 0, Πe∞ = 1; where e∞ is an infinite dimensional column vector whose elements are all equal to 1. We partition Π as Π = (Π0, Π1, Π2,...) where Π k = (Πk,0, Πk,1,...,Πk,N), Π k , n = π k , n , 0 , π k , n , 1 , ⋯ , π k , n , d n and πk,n,jis the probability that Markov chain is in state (k,n,j) in the steady state. We can obtain the steady state probability vector Π by matrix analytic method(See an Appendix for detailed derivation).

The main performance measures of cognitive radio network are loss probability P l and the throughput T s of SUs.

Let π . n , j ≜ ∑ k = 0 ∞ π k , n , j is the probability that there are n PUs in the system and j SUs in service. Note that, since n+ d n ≥c, ∑ n = 0 N π . n , d n is the probability that all c channels are busy.

The loss probability P l of SUs is defined by the ratio of the loss rate of SUs to the arrival rate of SUs. Loss of SUs occurs by the following three kinds of events:

  • a new SU is blocked and then gives up its service and thus its loss rate is given by

    λ 2 ( 1 - q ) ∑ n = 0 N π . n , d n

    where ∑ n = 0 N π . n , d n is the probability that all c channels are busy.

  • a retrial SU is blocked and then gives up its service and thus its loss rate is given by

    ∑ k = 1 ∞ ∑ n = 0 N k V ( 1 - q ) π k , n , d n

    where kν is a retrial rate when there are k SUs in a retrial group.

  • a SU is preempted by a PU and then gives up its service and thus its loss rate is given by

    λ 1 ( 1 - q ) ∑ n = 0 c 1 - 1 π . n , d n

    where a SU is preempted when all c channels are busy and at least one SU occupy primary channel.

Hence the total loss rate of SUs is

( 1 - q ) λ 2 ∑ n = 0 N π . n , d n + ∑ k = 1 ∞ ∑ n = 0 N k V π k , n , d n + λ 1 ∑ n = 0 c 1 - 1 π . n . d n .

Therefore the loss probability of SUs is given by

P l = 1 - q λ 2 λ 2 ∑ n = 0 N π . n , d n + ∑ k = 1 ∞ ∑ n = 0 N k V π k , n , d n + λ 1 ∑ n = 0 c 1 - 1 π . n , d n .
(2)

The throughput T s of SUs is defined as the number of SUs who successfully transmit their messages per unit time, i.e., we have

T s = λ 2 ( 1 - P l ) .
(3)

4 Numerical results

In this section, we present numerical examples to investigate the performance evaluation of CSMA in unslotted cognitive radio networks with a mixed spectrum environment. We set the parameters c1 = 4, c2 = 3 channels, μ 1 - 1 = 2 , μ 2 - 1 = 2 . 5 ( s e c ) .

In Figure 2 and Figure 3, we compare the throughput and loss probability of SUs between the case with retrials (q = 0.7) and the case without retrials (q = 0). Figure 2(a) depicts the throughput of SUs versus the arrival rate λ1 of PUs. As expected, the throughput of SUs decreases as the arrival rate λ1 of PUs increases. We see that the throughput of SUs in the case with retrials is larger than that in the case without retrials, because the retrial phenomenon of SUs leads to higher channel utilization of SUs. Figure 2(b) shows the loss probability of SUs increases as the arrival rate λ1 of PUs increases. We also see that the loss probability of SUs in the case without retrials is larger than that in the case with retrials because all blocked SUs are lost in the model without retrials. Figure 3(a) and 3(b) depict the throughput of SUs and loss probability of SUs versus the arrival rate λ2 of SUs. Figure 2 and Figure 3 show the retrial phenomenon of SUs has an impact on the performance of CSMA scheme in unslotted cognitive radio networks.

Figure 2
figure 2

Performance of SUs versus the arrival rate λ 1 of Pus.

Figure 3
figure 3

Performance of SUs versus the arrival rate λ 2 of Pus.

Figure 4(a) and 4(b) depict the throughput of SUs and the loss probability of SUs versus the buffer size N - c1 of PUs. It is show that the throughput of SUs decreases and the loss probability of SUs increases as the buffer size N - c1 of PUs increases. But when the buffer size larger than certain point, the effect of PU's buffer size on the performance of SUs is very small because when PUs wait in the buffer, SUs can't use primary channels and only can use secondary channels.

Figure 4
figure 4

Performance of SUs versus the buffer size N - c 1 of Pus.

Figure 5(a) and 5(b) depict the throughput of SUs and the loss probability of SUs versus the retrial rate ν of PUs. It is show that the throughput of SUs decreases and the loss probability of SUs increases as the retrial rate ν of PUs increases because the loss rate of SUs increases.

Figure 5
figure 5

Performance of SUs versus retrial rate ν of SUs in retrial group.

5 Conclusions

We have considered CSMA in an unslotted cognitive radio network under a mixed spectrum environment of licensed and unlicensed channels and investigated the effect of retrial phenomenon of SUs. We analyze the system by CTMC with a level dependent QBD structure and obtain the steady state probability of the system using matrix analytic method, and then obtain performance measures of SU such as the loss probability of SUs and the throughput of SUs. Numerical results show that the retrial phenomenon of SUs have an impact on the loss probability and throughput of SUs in cognitive radio networks under a mixed spectrum environments of licensed and unlicensed channels.

Conflicting interests

The authors declare that they have no competing interests.

Appendix

The generator Q is the level dependent quasi birth-and-death matrix. Let Π be the steady state probability vector, which is the unique solution of linear equations ΠQ = 0, Πe∞ = 1 where e∞ is an infinite dimensional column vector whose elements are all equal to 1. To obtain the steady state probabilities, we use Neuts' approximation method (Neuts and Rao [13]). We choose appropriate K by this method and assume that only K calls among the retrial calls in the retrial group can retry for the service even if there are retrial calls greater than K in the current retrial group.

Then the infinitesimal generator Q ̃ of the approximated system is given by

Q ̃ = B 1 A 0 B 2 B 1 - Γ A 0 2 B 2 B 1 - 2 Γ A 0 ⋱ ⋱ ⋱ K B 2 B 1 - K Γ A 0 A 2 A 1 A 0 A 2 A 1 A 0 ⋱ ⋱ ⋱

where A2 ≡ K B2, A1 ≡ B1-KΓ.

We can easily obtain the following results by Matrix-geometric method(see Neuts [14]). The unique steady-state probability vector Π ̃ satisfying Π ̃ Q ̃ =0, Π ̃ e ∞ =1 are given by

Π ̃ k = Π ̃ K H K H K - 1 ⋯ H k + 1 , for 0 ≤ j < K , Π ̃ K R k - K , for k ≥ K .
(4)

The vector Π ̃ K is obtained by solving

Π ̃ K [ H K A 0 + A 1 + R A 2 ] = 0 Π ̃ K ∑ k = 0 K - 1 H K H K - 1 ⋯ H K + 1 + ( I - R ) - 1 e = 1

where

H 0 = 0 , H m = - ( m B 2 ) H m - 1 A 0 + B 1 - ( m - 1 ) Γ - 1 , for 1 ≤ n ≤ K

and R is the minimal nonnegative matrix solution to the matrix-quadratic equation

R 2 A 2 + R A 1 + A 0 = 0 .

Note that the matrix R is approximated by the following iteration

R ( 0 ) = 0 R ( n + 1 ) = - A 0 ⋅ A 1 - 1 - R 2 ( n ) ⋅ A 2 A 1 - 1 , for n ≥ 0

Iterations will be continued until maxi, j|[R(n + 1)] ij - [R(n)] ij | < ε is satisfied. [R(n)] ij is the i × j th elements of n th iteration R(n).

References

  1. FCC: "Spectrum Policy Task Force Report". 2002. No. 02-155

    Google Scholar 

  2. Wang Ping, Dusit Niyato, Hai Jiang: "Voice Service Support over Cognitive Radio Networks". Communications, 2009. ICC '09. IEEE International Conference on 2009, 1-5.

    Google Scholar 

  3. Hang Su, Xi Zhang: "Cross-Layer Based Opportunistic MAC Protocols for QoS Provisionings Over Cognitive Radio Wireless Networks". IEEE Journal on Selected Areas in Communications 2008, 26(1):118-129.

    Article  Google Scholar 

  4. Yun Han Bae, Attahiru S Alfa, Bong Dae Choi: " Analysis of a contention-based opportunistic spectrum access under general channel activity model". Performance Evaluation 2011, 68(3):271-289. 10.1016/j.peva.2010.12.003

    Article  Google Scholar 

  5. Yun Han Bae, Attahiru S Alfa, Bong Dae Choi: "Performance Analysis of Modified IEEE 802.11-Based Cognitive Radio Networks". IEEE Communications Letters 2010, 14(10):975-977.

    Article  Google Scholar 

  6. Chong JW, Sung Y, Sung DK: "RawPEACH:Multiband CSMA/CA-Based Cognitive Radio Networks". Journal of Communications and Networks 2009, 11(2):174-185.

    Article  Google Scholar 

  7. Huang Senhua, Xin Liu, Zhi Ding: "Opportunistic Spectrum Access in Cognitive Radio Networks". INFOCOM 2008. The 27th Conference on Computer Communications. IEEE 2008, 1427-1435.

    Google Scholar 

  8. Eric WM Wong, Chuan Heng Foh: "Analysis of cognitive radio spectrum access with finite user population". IEEE Communications Letters 2009, 13(5):294-296.

    Article  Google Scholar 

  9. Zhu DB, Park JS, Choi BD: "Performance Analysis of an unslotted CSMA in the Multi-Channel Cognitive Radio Networks". 5th International Conferences on Queueing Theory and its Applications 2010. QTNA2010

    Google Scholar 

  10. Xing Y, Chandramouli R, Mangold S, Shankar N S: "Dynamic spectrum access in open spectrum wireless networks". IEEE Journal on Selected Areas in Communications 2006, 24(3):626-637.

    Article  Google Scholar 

  11. Wang L, Chen A, Wei DS: A cognitive MAC protocol for QoS provisioning in overlaying ad hoc networks. 4th IEEE Consumer Communications and Networking Conference (CCNC 2007) 2007, 1139-1143.

    Chapter  Google Scholar 

  12. Hassan Al-Mahdi, Mohamed A Kalil, Florian Liers, Andreas Mitschele-Thiel: "Increasing Spectrum Capacity for Ad Hoc Networks using Cognitive Radios: An Analytical Model". IEEE Communications Letters 2009, 13(9):676-678.

    Article  Google Scholar 

  13. Neuts MF, Rao BM: "Numerical investigation of a multiserver retrial model". Queueing Systems 1990, 7: 169-190. 10.1007/BF01158473

    Article  MATH  Google Scholar 

  14. Neuts MF: "Matrix-Geometric Solutions in Stochastic Models". The John Hopkins University Press, Baltimore; 1981.

    Google Scholar 

Download references

Acknowledgements

This research is supported by the Korea Foundation for Advanced Studies' International Scholar Exchange Fellowship for the academic year of 2009-2010, and the MKE(Ministry of Knowledge Economy), Korea, under the ITRC(Information Technology Research Center) support program supervised by the NIPA(National IT Industry Promotion Agency), Korea.

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Bong Dae Choi.

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.

Reprints and permissions

About this article

Cite this article

Zhu, D.B., Choi, B.D. Performance analysis of CSMA in an unslotted cognitive radio network with licensed channels and unlicensed channels. J Wireless Com Network 2012, 12 (2012). https://doi.org/10.1186/1687-1499-2012-12

Download citation

  • Received:

  • Accepted:

  • Published:

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

Keywords