Abstract
Investigating the optimality and the modeling of congestion control schemes is crucial in order to provide quality of service (QoS) for various applications in cognitive radio sensor networks (CRSNs). This paper develops an analytical framework to study the optimality of rate-based generic AIMD and AIAD congestion control schemes. In this way, a congestion model is introduced to describe the congestion behavior of CRSNs. A semi-Markov chain (SMC) is proposed to model the steady-state sending rate distribution of source nodes based on the congestion model. The optimality of generic AIMD and AIAD, based on the proposed models, is analyzed in order to maximize the defined rate-congestion ratio (RCR). The analytical results are verified through various NS2-based simulations in CRSNs.
1. Introduction
Dynamic spectrum access (DSA) is one of the main approaches to have spectrum-efficient wireless networks [1]. Cognitive radio (CR) is frequently used as a capable tool in order to provide dynamic spectrum access in wireless networks. A wireless network with CR nodes is called cognitive radio network (CRN). A wireless node, equipped with CR, operates on the spectrum channels opportunistically based on the CR basic operations: spectrum sensing, decision, and handoff [2]. The CR nodes do not have priority to access the wireless channels in the CRNs because the channels are licensed to some licensed users called primary users (PUs) [1]. The CR nodes can use the licensed channel in the absence of PUs and should leave the channel immediately, if a PU enters in its licensed channel [1]. Cognitive radio technology is widely used in wireless sensor networks (WSNs) to have spectrum-efficient networks and reserve the limited resources of sensors in WSNs. The WSNs with CR-equipped sensors are called cognitive radio sensor networks (CRSNs) [3].
Disregarding the activity of PUs and the unique characteristics of CRSNs (such as spectrum sensing and spectrum mobility) in the protocols of MAC, routing, and transport layers may lead to the violation of the main objectives of CRSNs. Hence, studying the optimality of the protocols with regard to CR-related parameters is a crucial task for CRSNs. In this paper, we focus on the optimality of the transport layer protocols in CRSNs. The performance of congestion control schemes is important to provide the QoS of the diverse applications in CRSNs. The performance metrics such as congestion, throughput, and delay should be studied in order to provide various QoS guarantees in CRSNs. In this way, it is needed to tune the basic congestion control schemes in CRSNs in order to reach the QoS objectives. However, there is a limited analytical study on the optimality and performance evaluation of transport layer protocols in CRSNs and also in CRNs.
In [4], a simulation-based study on the performance of existing congestion control schemes is done over CRSNs to reveal the CRSN challenges in transport layer protocols. The challenges of real-time transport over CRSNs in different spectrum environments of smart grid are studied in [5]. In [6], TCP throughput and efficiency over CRNs are studied. The impact of sensing period, PUs activity, and wireless channels number on the throughput of TCP is investigated in [7]. Authors in [8] study the behavior of TCP throughput, round trip time (RTT), and congestion window size based on the sensing period, the PUs activity, and the heterogeneity of channels. A transport protocol for cognitive radio ad hoc networks is proposed in [9]. Furthermore, the impact of sensing time and the changes of available bandwidth of CR users on the behavior of TCP congestion control is investigated. In [10], a study on TCP performance in CRNs with regard to the congestion window size, RTT behavior, and retransmission timeout (RTO) is done. TCP throughput is evaluated based on PUs activities and the number of available channels in [11]. An equation-based transport protocol for CRNs is proposed in [12]. Authors in [13] evaluate TCP end-to-end throughput, delay, and packet drop probability with regard to packet size, activities of PUs, sensing time, and accuracy.
As described above, most of the previous work on the transport layer of CRNs and CRSNs concentrates on the simulation-based performance evaluation. Furthermore, there is no study on the optimality and the modeling of rate-based congestion control schemes in CRSNs and CRNs. However, study on the optimality of congestion control schemes based on the analytical models is required in order to make better QoS provisioning in different applications. The real time and reliability are two main factors in the delay-sensitive and loss-sensitive applications that should be considered. The type and the parameters of the rate-based congestion control schemes have significant effects on the mean sending rate of source nodes and the congestion level of network. Increasing the sending rate in congestion control schemes leads to higher mean rate. On the other hand, it increases congestion probability of the CR nodes in the network. Hence, it is necessary to find the optimal congestion control scheme in order to provide both the lowest congestion probability and the highest sending rate. To the best of our knowledge, there is no study on the optimality and the modeling of rate-based congestion control schemes for CRSNs in the current literature.
In this paper, an analytical study on the optimality of rate-based generic AIMD and AIAD congestion control schemes in CRSNs is presented. The main contributions are the following.
A congestion model is proposed for CRSNs. A semi-Markov chain (SMC) is proposed to model the steady-state sending rate distribution of source nodes. The optimality of rate-based generic AIMD and AIAD schemes is investigated based on the proposed sending rate distribution model of source nodes and the congestion model. In this way, we define the ratio of the mean sending rate to mean congestion probability (RCR) as a metric to measure the balance between mean sending rate and congestion probability. It is deduced by calculation that the optimal scheme to maximize the RCR is the AIMD (1, 3) scheme for the maximum sending rate of 100 packets per time unit.
The rest of this paper is organized as follows. In Section 2, system model of the CRSN is defined. Section 3 presents the proposed congestion model. The steady-state sending rate distribution of source nodes in the CRSN is proposed in Section 4. In Section 5, the optimality of rate-based congestion control schemes is investigated. Simulation results and verifications are presented in Section 6. Finally, the conclusions are presented in Section 7.
2. System Model
We model a cognitive radio sensor network as a collection of CR collecting sensors, CR relay nodes, and a sink station (see Figure 1(a)). The CR collecting sensors sense their event area and send the appropriate sensed data packets toward the sink station. The CR relay nodes do not generate any data and only forward the data packets from the source nodes toward the sink station. Based on the established end-to-end connections between the CR collecting sensors and the sink station, the network can be seen as a set of subnetworks. A subnetwork consists of the end-to-end paths that have at least one common relay node. Each subnetwork can be seen as a separate system with its own congestion behavior with regard to the sending rate of CR collecting sensors. A subnetwork has a lifetime depending on the network characteristics and established end-to-end paths. We study a subnetwork in its lifetime. In Figure 1(a), such a CRSN with N subnetworks is depicted. Generally, we can consider a sensor network as a set of multiple systems, each with finite sources, and a single sink station. The systematic view of a sensor network is shown in Figure 1(b).

(a) The CRSN model. CR collecting sensors send data via CR relay nodes toward the sink station. Based on the established end-to-end connections between source nodes and the sink station, the network can be seen as a set of multiple separated subnetworks. (b) Systematic view of CRSN. Each subnetwork is considered as a system with multiple sources.
A CR node in this system operates in two main phases: a spectrum sensing phase and a data exchanging phase. In the spectrum sensing phase, the CR node senses spectrum channel to detect the presence of primary users. The CR node enters data exchanging phase after it finds a free channel. It is common in cognitive radio nodes to periodically sense the spectrum with a period of τ. In the sensing phase, a CR node senses the spectrum channel for a duration of
3. Congestion Model
In wireless sensor networks, congestion control is usually performed by the rate adjustment algorithms [15]. Rate adjustment is to regulate the sending rate of the source nodes according to the congestion notification received from the sink station. Simple rate adjustment and exact rate adjustment are basic rate adjustment algorithms [15]. In the simple rate adjustment algorithms, the rate is controlled based on a single congestion bit. The additive increase multiplicative decrease (AIMD) and additive increase additive decrease (AIAD) are two variations of the simple rate adjustments. On the other hand, in the exact rate adjustment algorithm, the rate is adjusted based on the exact congestion level of the network. In this paper, we investigate the performance and the optimality of the generic AIMD and AIAD rate adjustments as the congestion control schemes which are executed in the sink station. The regulating decisions are made in the sink station and sent to the collecting CR sensors periodically with the period of T (the sink notification period). The minimum value of the sending rate is assumed to be one packet per second. We assume that the collecting CR sensors have a higher bound of R packets per second on their sending rate because of the limitations of the sink station.
A cognitive radio sensor subnetwork is considered as a system which receives the traffic of some CR collecting sensors and forwards them toward the sink station. The collecting CR sensors rate is regulated through generic AIMD and AIAD schemes based on the congestion level in the subnetwork. The source nodes rate of the subnetwork can vary between 1 and R packet per second. Generally, the congestion behavior of a subnetwork can be modeled by the pairs of

Congestion model of a subnetwork whose source nodes’ rate varies between 1 and R packet per second.
4. Sending Rate Distribution of the Collecting Sensors in CRSNs
The regulated sending rate process of a generic rate-based AIMD scheme can be modeled by a semi-Markov chain (SMC) with the transition probabilities
A CR collecting sensor regulates its sending rate based on the AIMD/AIAD algorithm and sends with the regulated rate for T time units. Hence, sojourn time of being in the various rates is equal to T and is not exponentially distributed and we have a semi-Markov chain (SMC). If the behavior of the SMC is observed at discrete instances that the state transitions happen, its embedded DTMC will be obtained [16]. In Figure 3, the embedded DTMC of sending rate process based on generic AIMD rate adjustment is illustrated for maximum sending rate

The embedded DTMC of sending rate process based on generic AIMD rate adjustment with maximum sending rate
The evolution process of sending rate is a finite state, aperiodic, and irreducible Markov chain; hence there is a unique steady-state distribution for this embedded DTMC [16]. Calculating the steady-state distribution of the embedded DTMC, that is,
5. Optimality of Rate-Based AIMD and AIAD Schemes
The type of rate adjustment scheme and the increasing and decreasing factors of scheme, that is, INC and DEC, affect the sending rate distribution of CR collecting sensors and congestion probability in CRSNs. Increasing the sending rate causes the higher mean rate and decreases the delay overhead of congestion control schemes. On the other hand, it can increase the congestion probability in CRSNs. Since both of delay and reliability should be considered in real-time reliable applications, it is important to establish a trade-off between mean rate and mean congestion probability in CRSNs. In this way, we define rate-congestion ratio (RCR) based on the mean sending rate and mean congestion probability as follows:
Maximizing this ratio will be useful to provide both real time and reliability in CRSNs. The optimal rate adjustment scheme and optimal values of rate increasing (INC) and decreasing (DEC) factors can be obtained based on the proposed SMC model of sending rate and congestion model. Our variables are
type of rate adjustment scheme; rate increasing factor of the scheme (INC); rate decreasing factor of the scheme (DEC).
5.1. Calculation of Optimal Scheme
As noted in Section 4, the generic AIMD and AIAD rate adjustments are considered. The INC factor is an integer value at the range of
In the congestion model, the value of
In particular, the AIMD scheme with increasing factor of 1 and decreasing factor of 3, that is, AIMD (1, 3), is obtained as the optimal scheme in order to maximize the RCR ratio while the value of R is considered as 100 packets per time unit. The optimal AIAD scheme alters for various congestion models. The increasing factor of the optimal AIAD scheme is obtained as 1 and the decreasing factor varies per different congestion models for the R equal to 100 packets per time unit.
6. Simulation Results and Verifications
The obtained results through models are verified using simulations by CogNS simulation framework [13] which is a simulation framework for cognitive radio networks based on Network Simulator 2 (NS2) [18]. Default simulation settings and the configuration parameters of the CRSN are summarized in Table 1. The network area is 400 × 400 m2. The network consists of 5 collecting CR sensors and 12 CR relay nodes and a sink station. There are 6 wireless channels (K) with the same capacity of 1 Mbps. There is one primary user per wireless channel with the entrance rate (β) equal to 1 and the departure rate (α) equal to 3. Sensing time (
CRSN configuration and simulation settings.
6.1. The Congestion Behavior of a Subnetwork
In order to show that the congestion behavior of a subnetwork can be generally demonstrated by the proposed congestion model, it is needed to find appropriate thresholds, that is,
Different experiments to show the congestion behavior of a subnetwork through simulation.
In Figure 4, the congestion behavior of the subnetwork is illustrated for experiments I, II, III, and IV. In these figures, the obtained congestion probabilities through simulation for all possible sending rates of collecting CR sensors are demonstrated by the black circle-marker curve. For each curve, the congestion model is fitted on the simulation curve with minimum fitting error and is demonstrated by red curve. The best threshold values of the congestion model are calculated in order to minimize the fitting error. The region between

Congestion probability (
In Figure 4(a), the values of
With regard to the simulation results, it is reasonable to model the congestion behavior of a subnetwork by the proposed congestion model with some fitting errors. In other words, the simulation results show that we can find two threshold values of the sending rates for each subnetwork and approximate the region between the thresholds with a line.
6.2. Optimal AIMD and AIAD Schemes
In this section, the optimality of AIMD and AIAD schemes in order to maximize the RCR ratio is investigated through simulation for the experiments mentioned in Table 2. In this way, for each experiment, the value of RCR ratio is obtained for all possible AIMD and AIAD schemes. As the default parameters of the CRSN described in Table 1, the maximum allowable rate of AIMD and AIAD schemes, that is, R, is 100 packets per second. Consequently, the value of INC factor is at the range of [1,99] packets per second for both AIMD and AIAD schemes. The value of DEC factor is at the range of [2,100] and [1,99] packets per second for AIMD and AIAD, respectively.
In Figures 5, 6, 7, and 8, the value of the RCR is plotted based on the all possible INC and DEC factors for AIMD and AIAD schemes in experiments I, II, III, and IV, respectively. In experiment I, the optimal AIMD scheme is found to be the one with the INC factor of 1 and the DEC factor of 3, that is, AIMD (1, 3) that gives the maximum value of 864.5974 for the RCR (Figure 5(a)). Also, the optimal AIAD scheme in experiment I is obtained to be the AIAD (1, 32) scheme with the RCR value of 863.771 (Figure 5(b)). In experiment II, the AIMD (1, 3) and the AIAD (1, 26) are obtained as the optimal schemes with the RCR maximum values of 591.1750 and 589.2905, respectively (Figures 6(a) and 6(b)). The scheme AIMD (1, 3) with the RCR value of 303.1627 and the AIAD (1, 18) with the RCR value of 301.7117 are obtained as the optimal schemes in experiment III which are demonstrated in Figures 7(a) and 7(b). In experiment IV, the scheme AIMD (1, 3) with the RCR value of 1153.4 and the AIAD (1, 37) with the RCR value of 1153.3 are obtained as the optimal schemes (Figures 8(a) and 8(b)).

The value of the RCR based on the all possible INC and DEC factors for AIMD and AIAD schemes in experiment I.

The value of the RCR based on the all possible INC and DEC factors for AIMD and AIAD schemes in experiment II.

The value of the RCR based on the all possible INC and DEC factors for AIMD and AIAD schemes in experiment III.

The value of the RCR based on the all possible INC and DEC factors for AIMD and AIAD schemes in experiment IV.
As it can be seen in the simulation results, the AIMD (1, 3) is the optimal scheme in all experiments. The optimal AIAD scheme is different in various experiments. The INC factor of the optimal AIAD is one in all experiments. However, the value of DEC factor is 32, 26, 18, and 37 in experiments I, II, III, and IV, respectively. Hence, the optimal AIMD and AIAD schemes obtained based on the simulations verify the calculated optimal schemes with regard to the proposed semi-Markov chain (SMC) of the sending rate of the collecting CR sensors and the congestion model.
7. Conclusions
In this paper, we have investigated the optimality of generic rate-based AIMD and AIAD congestion control schemes. In this way, a congestion model is proposed to describe the congestion behavior of CRSNs. Based on the congestion model, the steady-state sending rate of collecting CR sensors has been modeled through the proposed semi-Markov chain (SMC). With regard to the congestion model and the sending rate distribution, we have defined the RCR as the ratio of mean sending rate over mean congestion probability. In order to maximize the RCR, the optimality of AIMD and AIAD schemes has been investigated based on the proposed models. In particular, the AIMD scheme with the rate increasing factor of 1 and rate decreasing factor of 3, that is, AIMD (1, 3), has been calculated as the optimal scheme for the maximum sending rate of 100 packets per time unit. The analytical results have been verified through the NS2-based simulations for CRSNs.
Future study in this research area could be obtaining a closed-form formula for RCR and maximizing it with regard to the parameters such as spectrum sensing time and period of CR nodes.
Footnotes
Conflict of Interests
The authors declare that there is no conflict of interests regarding the publication of this paper.
