1. Introduction
Recent technological advances have results in the development of wireless ad hoc networks. These networks are composed of devices that are self-organizing and can be deployed without infrastructure support. Due to the proliferation of wireless devices, the industrial, scientific, and medical (ISM) bands are getting congested. Therefore, the efficiency of spectrum usage has become a major concern. To maximize the benefit of usable radio spectrum, spectrum management is needed. However, recent studies highlight that a large percentage of licensed band remains unused because those spectrum bands are allocated through static assignment policies but only used in bounded regions or over a limited period of time. To deal with such bandwidth scarcity and inefficient bandwidth usage, the concept of
cognitive radio (CR) has been recognized in [
1] as an effective method. Specifically, in a CR network, a secondary network is overlaid with a primary network, secondary users (SUs) detect and utilize temporarily unused frequency bands of primary users (PUs) without causing interference to primary users.
Connectivity is a fundamental property of ad hoc networks (AHNs). The connectivity of CRAHNs is different and more challenging compared with conventional AHNs because secondary users have to opportunistically utilize the licensed spectrum band of primary users. There have been extensive studies on the connectivity of conventional AHNs [
2,
3,
4,
5,
6]. Particularly, for nodes with omnidirectional antennas and disk transmission range
, the authors in [
2] present a framework for calculation of stochastic connectivity of wireless multi-hop AHNs. Then, the impact of critical transmission range, i.e., the minimum common value of the nodes’ transmitting range that produces a connected communication graph, on connectivity of AHNs in the presence of node mobility, is studied in [
3]. For a more accurate modeling of the wireless channel, the connectivity of AHNs under the effects of log-normal shadowing, Rayleigh fading, and Nakagami-
m fading is analyzed in [
4,
5,
6], respectively. It is shown that fading environment helps to increase the connectivity of AHNs. Topological connectivity of AHNs, where wireless nodes deploy directional antennas, is examined in [
7,
8,
9,
10,
11]. The authors conclude that the application of the beamforming antenna leads to significant improvement in the multi-hop connectivity of AHNs.
Recently, researchers have been attracted to investigating the connectivity of CRAHNs. In [
12], the authors introduce a metric called
algebraic connectivity. Firstly, a connection graph of CRAHNs is built. Then, the second smallest eigenvalue of the Laplacian of this graph is used to evaluate the influence degree of PUs on the communication probability among SUs. Local connectivity, i.e., node degree and isolation probability of SU with Gaussian noise and path loss model are investigated in [
13] by employing stochastic geometry and probability theory. Using percolation theory, the authors in [
14] give the lower and upper limits of the percolation area within which the secondary network percolates while the outage probability of PU is kept below a tolerable threshold. The analysis of connectivity of CRAHNs in non-shadowing and log-normal shadow fading environment is presented in [
15,
16], respectively. In these works, it is assumed that all PUs and SUs are equipped with ominidirectional antennas. Although the effect of beamforming on the connectivity of AHNs was studied in the literature [
7,
8,
9,
10,
11] and the applications of using directional antennas in AHNs and CRAHNs are presented in [
17,
18,
19], to the best of our knowledge, no works on evaluating the connectivity of CRAHNs with beamforming have been carried out.
Figure 1 shows how the directional antenna affects the network connectivity and make comparisons with the scenario in which omnidirectional antenna is used in the cognitive environment. Specifically, the difference in the possibility of a wireless link establishment between two SUs when they are equipped with omnidirectional antennas and directional antennas are illustrated in
Figure 1a,b, respectively. As we can see in
Figure 1a,
is not allowed to transmit packets to
because
interferes with PU. Moreover, due to using omnidirectional antenna in both SUs, the transmission and reception antenna gains in the
–
direction are not high enough to create a wireless connection between these two SUs. However, in
Figure 1b, where both
and
use directional antennas,
can operate normally thanks to the antenna gain of
in the
–
direction is very small. In addition,
can communicate with
because the main beam of
antenna stares at
, making the signal attenuation of wireless link
–
lower than a threshold.
This observation motivates us to evaluate whether beamforming always benefits the connectivity of CRAHNs like the case of AHNs. If not, then when, how, and why the usage of directional antennas and beamforming schemes increases or decreases the connectivity of CRAHNs by comparing it to the CRAHNs with ominidirectional antennas.
The main contributions of this paper are:
We examine the combined influence of different antenna types and beamforming schemes on the path connectivity of CRAHNs. Particularly, we consider how SUs equipped with two popular directional antennas, i.e., uniform linear array (UCA) and uniform circular array (UCA) antennas, communicate with each other by using two simple and efficient beamforming schemes, i.e., randomized beamforming and center directed beamforming. Especially, we show that, in contrast to AHNs, using beamforming in CRAHNs does not always improve network connectivity. To be more specific, in all evaluating scenarios, only the UCA antenna gives higher path connectivity than omnidirectional antennas.
We show that the influence of beamforming on path connectivity greatly depends on the degree of channel path loss. Specifically, when path loss exponent = 3, path connectivity remains stable, but the maximum values are lower than that when = 2.
We find that the number of antenna elements of directional antennas significantly affects path connectivity. For each type of directional antenna, the number of antenna elements, at which the highest path connectivity is obtained, is different.
The results in this paper provide insights into how beamforming changes the connectivity characteristics of CRAHNs under path loss and Rayleigh fading and helps network designers to select the appropriate directional antenna and beamforming scheme in order to maximize network performance of CRAHNs.
The rest of this paper is organized as follows.
Section 2 introduces the system model including antenna model, network model, and wireless link used in this paper.
Section 3 presents the characteristics of two different beamforming schemes and our motivations behind the investigation of the influence of beamforming on the communication probability among SUs in CRAHNs. The results and discussions are presented in
Section 4. Finally, the paper is concluded in
Section 5.
2. System Model
2.1. Antenna Model
In this paper, we consider two directional antennas, i.e. Uniform Linear Array (ULA) and Uniform Circular Array (UCA) antennas. The ULA comprises of antenna elements separated a distance of along the line, whereas in UCA, the antenna elements are arranged on a circle with radius of r.
Since each single element is ominidirectional antenna, , where refers to the far-zone electric field of each antenna element, is the polar angle and is the azimuth angle in polar coordinates, respectively.
For an array antenna, its far-zone electric field is calculated by multiplying the electric field of single element by the array factor of that array, that is,
Then, the gain of an array antenna can be expressed as a function of its array factor, namely
where
is the array factor of array antenna.
The array factor of ULA antenna is given by [
20,
21]
where
M represents the number of antenna elements,
,
is the wave number, and
and
are the distance and phase excitation difference between antenna elements.
Since the physical center of the ULA antenna is often chosen as the reference point when calculating its array factor; thus, Equation (
3) becomes
By plugging Equation (
4) into Equation (
2), we can obtain the antenna gain of ULA for different values of antenna elements
M and azimuthal angle
.
The array factor of UCA is expressed as [
20,
21]
where
r is the radius of the circle formed by the antenna elements,
,
, and
refers to the angular position, amplitude excitation, and phase excitation of
m-th element, respectively.
To have the peak of main beam stare at (
) direction, the phase excitation of the
m-th element is selected such that
Consequently, the array factor of UCA antenna can be rewritten as
Similarly, by substituting Equation (
7) into Equation (
2), the gain of the UCA antenna can be calculated for different values of antenna elements
M and azimuthal angle
.
In this paper, since the connectivity of two dimensional CRAHNs is studied, we only consider the azimuthal plane by setting .
The gain patterns of ULA and UCA antennas are plotted in
Figure 2 and
Figure 3, respectively, as the numbers of antenna elements and main beam directions are varied. As we can see in
Figure 2, the gain pattern of ULA has two main beams and the peak values of main beams are independent of their directions, i.e., they are always equal to the number of antenna elements
M. Moreover, the beam width reduces as the number of antennas gets higher. In contrast, the gain pattern of the UCA has only a single main beam, whose width is almost independent of its direction and the peak is not equal to
M. These features will result in the differences in connection probability among SUs in CRAHNs when these two directional antennas are employed. We will discuss these differences in detail in
Section 4.
2.2. Network Model
In this paper, we assume that PUs use omnidirectional antennas while SUs are equipped with one of two kinds of directional antennas, i.e., uniform linear array (ULA) and uniform circular array antennas as in
Figure 4. These directional antennas were widely used in evaluating the connectivity of conventional ad hoc networks with beamforming [
7,
8]. All PUs and SUs share one licensed spectrum band and are randomly located in the network area of
according to the Poisson point process. The operation of PUs on a licensed spectrum band is associated with ON and OFF states where the number of times,
x, that PU occupies a licensed spectrum in a time unit is determined by Poisson distribution with active rate
i.e.,
The communications between a specific SU and other SUs occur when all of its neighboring PUs are in the OFF state, i.e., the overlay transmission mode [
15,
16].
2.3. Wireless Link Model
The wireless link between two nodes are described as follows. One node transmits signal with power
that is received by the other node with power
. We assume that large scale path loss and small scale Rayleigh fading contribute to the fluctuation in signal power. Specifically, path loss decreases the signal power by a path loss exponent
of the environment (e.g.,
represents free space, and
to 5 represents urban area). Whereas, Rayleigh fading channel affects the probability density function of received signal amplitude, which is expressed as [
22]
where
u is Rayleigh distributed random variable and
is the average value of received signal power.
Hence, the received power
under the combined impacts of large scale path loss, small scale Rayleigh fading, and antenna gains is given by [
22,
23]
It should be noticed that when nodes are equipped with directional antennas, the antenna gains of transmitter and receiver are random variables instead of = = 1 when omnidirectional antennas are used.
From Equation (
10), the signal power attenuation is given by
and is expressed in the unit of dB as
Thus, when the signal power attenuation between two nodes separated at a distance d is less than a specific threshold , i.e., , they are connected via a wireless link.
3. The Impact of Beamforming on the Connectivity of Cognitive Radio Ad Hoc Networks
We study the influence of directional antenna and beamforming schemes on the path connectivity between two random SUs in CRAHNs. Two aforementioned array antennas are used in two beamforming schemes to evaluate in what conditions beamforming schemes benefit the connectivity of CRAHNs.
Figure 5 illustrates the two beamforming schemes, i.e., randomized beamforming and center-directed beamforming, used to examine the communication possibilities among SUs in CRAHNs. The features of these schemes are briefly described as follows.
Randomized beamforming: This beamforming scheme is considered as the simplest one, i.e., each node chooses the direction of its main beam from based on uniform random distribution, and completely independent of other nodes.
Center-directed beamforming: According to this beamforming scheme, it is required that all nodes know the center of network area. Then, they point their main beams toward the network center.
Because of no additional signaling for the information of neighboring location and beam direction, these beamforming schemes are efficient in CRAHNs where the routing and spectrum sensing process already employ a lot of control messages. Investigating the effects of the randomized beamforming scheme and the center-directed beamforming scheme on the connectivity of ad hoc networks is presented in [
7,
8], respectively.
We are interested in the questions: does a directional antenna always benefit the connectivity of CRAHNs? What kinds of antennas and beamforming schemes benefit the connectivity of CRAHNs? Moreover, since the number of antenna elements remarkably changes the antenna gain pattern, we also investigate the optimal number of antenna elements that provides the highest connectivity.
4. Experimental Results and Discussions
In this section, we conduct Monte Carlo simulation by running MATLAB (R2016a, MathWorks Inc., Natick, MA, USA) codes on a computer to investigate the effect of beamforming on the path connectivity in CRAHNs. Similar to previous works [
12,
13,
14,
15,
16], we model CRAHNs as random graphs. Initially, a square area with size
is created. Next,
secondary users and
primary users are randomly placed in this square area by using the Poisson point process. The active state of each PU is determined by Poisson distribution with active rate
. The communication links among nodes are affected by large scale path loss, small scale Rayleigh fading, and antenna gains. For each network topology, new random locations of PUs and SUs and random active states of PUs are used. The simulation results are obtained by averaging the connectivity outcomes of 10,000 network topology trials. Simulation time varies from 0.9 h to 8.7 h, depending on the settings of node density and antenna type used in each evaluating scenario. To measure the level of connectivity, we consider the path connectivity
. It is defined as the probability that two randomly selected SUs in CRAHNs are connected via a multi-hop path or direct link and is calculated as the statistical average percentage of connected path as [
24]
We will compare the connectivity performance
of four combinations of directional antennas and beamforming schemes (i.e., ULA-random, ULA-center, UCA-random, and UCA-center) under the effect of node density, the configuration of directional antenna, the average active rate of primary user, and path loss level. Path connectivity of CRAHNs with omnidirectional antenna (corresponds to the number of antenna elements
) is also investigated. We aim to intensively study how the path connectivity is affected under various combinations of these network parameters. Similar evaluating scenarios can be found in [
8] for AHNs and in [
16] for CRAHNs.
4.1. Effect of SU Density
Figure 6 shows path connectivity versus SU density with different combinations of antenna types and beamforming schemes compared with omnidirectional antennas. We can see that, for a low number of SUs, i.e.,
≤ 50, the path connectivity is low, and there is no significant difference between the two directional antenna types and omnidirectional antennas because the node density is not high enough to ensure that an SU can always find at least one neighboring SU to communicate with, regardless of antenna types and beamforming schemes. As the number of SUs gets higher, the levels of path connectivity of all five scenarios significantly increase. UCA-random mostly outperforms omnidirectional antennas. However, ULA-center, ULA-random, and UCA-center only give higher path connectivity when
≤ 100,
≤ 170, and
≤ 200, respectively. The reasons can be explained as follows. Compared with random beamforming scheme, the center beamforming scheme may not be good for networks where nodes are uniformly distributed because the main beams of all nodes stare at the network center, resulting in less connections among many nodes which are far from the network center. Regarding to directional antennas, UCA is more suitable for cognitive environment because its gain pattern consists of only one main beam whose peak gain is high and beamwidth is stable while side beams are very small. Thus, SU with UCA can avoid interfering with PUs more efficiently. In contrast, the gain pattern of ULA has two main beams where the angle between them is two times that of the main beam angle. To prevent interference with PUs, there are more possibilities that SUs with ULAs are not allowed to communicate with each other. When
> 170, path connectivity of an omnidirectional antenna is almost equal to that of UCA-random because the number of SUs is high enough so that any SU has many neighboring SUs. Even if some of its neighbors are not allowed to communicate because of active PUs, there are still a lot of other available SUs that enable the establishment of communication links. Thus, the benefit of UCA-random on path connectivity is insignificant in a dense network. Since ULA-center is constituted by two unfavorable components for a cognitive environment as mentioned above, i.e., ULA antenna and center-directed beamforming scheme, it gives much lower path connectivity compared with the others.
4.2. Effect of PU Density
Figure 7 shows path connectivity versus node density of PU when different combinations of antenna types and beamforming schemes are used. Network size,
a, and number of SUs,
, are fixed at 500 m and 200, respectively, while the number of PUs,
, in the network increases from 1 to 10. When there are more PUs in the network area, from the viewpoint of spatial spectrum occupation, the available network area for routing among SUs is reduced. Consequently, the degrees of path connectivity of all five scenarios are reduced. However, the UCA-random still outperforms the others, i.e., 0.73 compared to 0.65, 0.59, and 0.26 of UCA-center, ULA-random, and ULA-center, respectively, when
= 10.
4.3. Effect of the Average Active Rate of PU
The effect of the average active rate of PU,
, on path connectivity is depicted in
Figure 8. The average active of PU range varies from 0 to 1 to reflect low and high occupation of licensed channel. We should mention that when
= 0, i.e., there is no influence of the primary network on the secondary network, CRAHNs can be considered as standalone AHNs. As shown in
Figure 8, similar to the impact of PU density, increase in the average active rate of PU also reduces the available network area for routing among SUs, and, thus, results in the decrease in successful path establishment probability. Particularly, in this evaluating scenario, when
rises from 0 to 1, path connectivity corresponding to UCA-random, UCA-center, ULA-random, ULA-center, and Omni reduces from 0.91, 0.83, 0.75, 0.35, and 0.81 to 0.79, 0.72, 0.66, 0.29, and 0.68, respectively. From these obtained results, it can be seen that ULA antenna gives lower path connectivity than omnidirectional antenna in the whole range of
. Especially, in the case of ULA-center, path connectivity is remarkably low. The UCA outperforms other antennas. Again, the combination of UCA antenna and randomized beamforming scheme provides the highest path connectivity. In addition, the gap in path connectivity correlating with UCA-random is significant compared with other combinations of directional antenna and beamforming scheme.
4.4. Effect of the Configuration of Directional Antenna
As observed in
Figure 2 and
Figure 3, the number of antenna elements,
M, of directional antennas greatly affects their gain patterns, which definitely influences the overall network connectivity.
Figure 9 shows the relation of path connectivity when
M increases from 1 to 10. It should be noted that
M = 1 corresponds to the omnidirectional antenna. As can be seen in
Figure 9, path connectivity is greatly varied as the number of antenna elements changes. When
M ≤ 3, the levels of path connectivity of UCA-random and UCA-center are lower than ULA-random because, when
M is small, the gain pattern of UCA has more high-gain side beams compared with ULA. ULA-center has the lowest path connectivity because, with two symmetric main beams of ULA, using the centralized beamforming scheme may remarkably create a high possibility of interfering with PUs. As
M increases, the gain pattern of UCA now consists of only one high-gain main beam and considerably small-gain side beams, which is efficient in cognitive networks. Generally, UCA-random yields better path connectivity than the others, and reaches the highest value of 0.94 when
M = 5.
4.5. Effect of Path Loss
We now evaluate the combined effect of beamforming and the degree of path loss on path connectivity in CRAHNs. From
Figure 10, we can see that path loss exponent
remarkably impacts the connectivity. When
= 3, the differences in path connectivities of ULA-center, UCA-random, and omnidirectional antenna are noticeable. The reasons why when
= 3, UCA-random provides the highest path connectivity while ULA-center gives the lowest are explained in the scenario evaluating the effect of SU density. In contrast, when
= 2, the differences in path connectivity of ULA-center, UCA-random, and omnidirectional antenna are insignificant. It should be noticed that the path connectivity when
= 2 is approximately 0.79 even at a low number of SUs, i.e.,
= 50, compared with that of 0.05 when
= 3. Since lower path loss exponent results in higher received power, the wireless connectivity among SUs is considerably increased. However, at the same time, the interference from SUs to PUs also increased. This will prohibit SUs from communicating with other SUs. Due to these reciprocal effects, path connectivity when
= 2 in all beamforming scenarios remains stable but lower than that when
= 3 even when more SUs are put in the networks. Regardless of path loss exponent
, UCA-random still gives higher path connectivity compared with ULA-center and omnidirectional antenna.