#### Abstract

As a result of the rapidly increasing mobility of sensor nodes, mobile wireless sensor networks (MWSNs) would be subject to multiple carrier frequency offsets (MCFOs), which result in time-varying channels and drastically degrade the network performance. To enhance the performance of such MWSNs, we propose a relay selection (RS) based double-differential (DD) cooperative transmission scheme, termed RSDDCT, in which the best relay sensor node is selected to forward the source sensor node’s signals to the destination sensor node with the detect-and-forward (DetF) protocol. Assuming a Rayleigh fading environment, first, exact closed-form expressions for the outage probability and average bit error rate (BER) of the RSDDCT scheme are derived. Then, simple and informative asymptotic outage probability and average BER expressions at the large signal-to-noise ratio (SNR) regime are presented, which reveal that the RSDDCT scheme can achieve full diversity. Furthermore, the optimum power allocation strategy in terms of minimizing the average BER is investigated, and simple analytical solutions are obtained. Simulation results demonstrate that the proposed RSDDCT scheme can achieve excellent performance over fading channels in the presence of unknown random MCFOs. It is also shown that the proposed optimum power allocation strategy offers substantial average BER performance improvement over the equal power allocation strategy.

#### 1. Introduction

In recent years, with the rapid advances in microelectromechanical systems (MEMS) and wireless communication technologies, wireless sensor networks (WSNs) have gained an increasing research attention for their various military and civil applications, including intrusion detection, automated data collection, healthcare, and environmental monitoring [1, 2]. A WSN is usually composed of a large amount of low-cost and low-power sensor nodes, which are statically deployed in a certain region of interest. However, in many application scenarios, for example, wildlife protection and object tracking, due to the dynamic changes of events and environment, a purely static WSN could face severe problems, such as limited coverage and channel capacity, unfair energy usage, and increasing multiple missions [3]. To handle these problems, a new class of WSNs, namely, mobile wireless sensor networks (MWSNs), has been proposed by introducing mobility to some or all the sensor nodes, and it is shown that the MWSNs outperform the static WSNs in terms of longer network lifetime, more channel capacity, enhanced coverage and targeting, and so on [3, 4]. Many researchers have been dedicated to exploring the aforementioned advantages of MWSNs, and great progress has been made [5–10]. However, there are still numerous key technical issues that need further research, among which how to realize reliable communications between the mobile sensor nodes over fading channels stands out as critical consideration.

Cooperative communications have been demonstrated as a promising technology to improve the spectral efficiency and reliability of wireless communication systems by forming a virtual antenna array among cooperating nodes [11, 12]. The numerous sensor nodes and the resource-constrained nature make WSNs one of the most important application fields for cooperative communications, and a variety of cooperative schemes have been proposed to improve the performance of different kinds of WSNs. These cooperative schemes generally focus on two aspects. On one hand, a number of literatures investigated the cooperative multiple-input and multiple-output (MIMO) transmission technique for WSNs, where the sensor nodes cooperate with each other to form a virtual MIMO channel. The contribution [13] first proposed a cooperative MIMO transmission scheme with Alamouti coding for WSNs, and, based on the similar virtual MIMO, various cooperative schemes employing space-time block codes (STBC) were proposed and analyzed in [14–17]. On the other hand, many other researchers endeavored to design excellent selective cooperative relaying schemes. In [18], by combining relay selection with power control, a selective single-relay cooperative scheme was proposed, which can minimize the energy consumption and extend the network’s lifetime. A simple geographic-based relay selective cooperative relaying protocol was proposed in [19], where the best relay can be efficiently determined by using the geographical information among nodes. The authors in [20] proposed an adaptive relay selection based cooperative scheme for a cluster-based WSN, which can guarantee the quality of service (QoS) without the needs of prior knowledge of the wireless network model and centralized control.

While all these aforementioned cooperative schemes can significantly improve the performance of WSNs, the key limitation of them is that they all assume full channel state information (CSI) and perfect synchronization can be achieved. However, in actual WSNs, especially MWSNs, where the channels between the sensor nodes undergo different kinds of fading, it is challenging even impossible to obtain perfect CSI. Moreover, as the sensor nodes are evolving towards high mobility, for example, more and more sensors are deployed on ground vehicles and unmanned aerial vehicles [21, 22], the perfect synchronization assumption is also not justifiable in MWSNs, where each distributed sensor node is equipped with its local oscillator and the presence of multiple carrier frequency offsets (MCFOs) can be caused by: (i) simultaneous transmissions from spatially separated sensor nodes equipped with different oscillators and (ii) Doppler shifts introduced by the relative motions between the transmit and receive sensor nodes. In such cases, the channels in MWSNs are time-varying; therefore, all these existing cooperative schemes originally developed for static WSNs inevitably suffer drastic performance degradation or even break down.

In order to reduce the burden of channel estimation, noncoherent and differential cooperative transmission schemes have been proposed in [23, 24]. The works in [25, 26] extended the differential modulation to multirelay cooperative networks and showed that full diversity could be achieved. In [27, 28] the authors proposed a differential modulation (DM) and relay selection (RS) based scheme for a detect-and-forward (DetF) cooperative network (DM-RS-DetF) [27, 28], and it was revealed that the DM-RS-DetF network could also achieve full diversity order. However, these schemes still assume that no CFOs exist in the networks, which make them not applicable to the MWSNs with MCFOs.

The approaches for dealing with CFOs in communication systems can be generally classified into two main categories; the first one focuses on estimating and compensating the CFOs by designing excellent estimators, while the second one resorts to developing novel techniques which are robust to the CFOs. Recently, in an effort to eliminate the impact of the MCFOs, a number of MCFOs estimators have been proposed for both amplify-and-forward (AF) and decode-and-forward (DecF) cooperative networks [29–32]. Nevertheless, as observed in these literatures, the estimators as well as the transceivers are generally quite computationally complex and the overheads consumed by the parameters estimation are always significant, which limit their deployment on resource-constrained sensor nodes. Moreover, it is also a challenge task to reliably feedforward/feedback the CSI or MCFOs estimates to different sensor nodes. On the other hand, imperfect MCFOs estimates and compensation still degrade the network performance. Hence, given all these reasons, it may be more practical to address the MCFOs by developing robust transmission techniques rather than by designing estimators to estimate and compensate the MCFOs in actual MWSNs.

In this paper, we consider a MWSN over Rayleigh fading channels, where all the wireless links among the sensor nodes are perturbed by different random MCFOs. This is a practical scenario which has scarcely appeared in the literature. Instead of devising complicated CFO estimator, we propose to address the MCFOs in the MWSN employing double-differential (DD) modulation technique, which was originally proposed by Okunev [33]. The major advantage of the DD modulation is its bypass of the CFO and channel estimation, and it has turned out to be a powerful technique to cope with unknown CFOs in a number of cooperative systems [34–38]. The AF and DecF based DD cooperative systems were introduced and analyzed in [34] and [35], respectively. The authors in [36] proposed a selective DecF protocol, which could compensate the signal-to-noise ratio (SNR) loss in a single-relay DD cooperative system. To further improve the channel utilization, a low complexity piecewise linear (PL) decoder for the DecF based DD cooperative system was designed in [37], and it was shown that the proposed PL decoder could achieve full spatial diversity, while, in [38], the authors investigated the AF based DD multirelay networks and presented an effective relay selection strategy to improve the system performance.

Motivated by the excellent performance of these schemes, we herein focus on the DetF relaying protocol and develop a robust relay selection (RS) based double-differential cooperative transmission scheme (RSDDCT) to enhance the performance of the MWSN under consideration. In our scheme, a simple and effective Max-Min relay selection strategy is applied to reduce the energy consumption of the network, through which only the best relay sensor is selected to forward the source sensor’s double-differential modulated signals to the destination sensor with the DetF protocol. For simplicity, we show MWSN with the proposed RSDDCT scheme RSDDCT-DetF network in the remainder of this paper. To facilitate the performance characterization, we present a comprehensive performance analysis for the RSDDCT-DetF network. In this light, we derive exact closed-form expressions for the outage probability and average bit error rate (BER), along with their asymptotic expressions in the high SNR regime. Simulation results show that the RSDDCT-DetF network can achieve excellent performance over fading channels in the presence of random MCFOs. While the contributions [34–38] have significantly improved our knowledge on the DD cooperative systems, the most important differences between our work and them are as follows. In [34–37], the authors only focused on single-relay scenarios, whereas WSNs are generally modeled as multirelay networks; moreover, all the analytical results were limited to the error probability and only lower or upper bounds but no exact expressions were derived; In [38], only AF multirelay systems were considered, and the proposed relay selection strategy is not applicable to regenerative networks; in addition, there was no analytical result on the system performance. To the best of the authors’ knowledge, there is no previous work on regenerative multirelay cooperative networks with DD modulation. The main contributions of the paper can be summarized as follows.(i)We propose addressing the MCFOs in MWSNs employing DD modulation technique, which is practical but has not been reported in the literature. More specifically, we develop a robust relay selection based double-differential cooperative transmission scheme, termed RSDDCT, to enhance the performance of MWSNs with MCFOs.(ii)Assuming a Rayleigh fading environment, we derive exact closed-form expressions for the outage probability and average BER of the RSDDCT-DetF network at arbitrary SNRs, which provide a fast and efficient means to evaluate the performance of the MWSNs employing the proposed scheme.(iii)In order to gain further insights into the impact of system parameters, such as fading parameters and number of relay sensors, we look into the high SNR regime and present simple and informative high SNR approximations for the outage probability and average BER, which reveal that the MWSN with the proposed scheme can achieve full diversity order.(iv)Based on the derived analytical expressions, we formulate an interesting optimization problem which seeks to minimize the average BER. In particular, we consider power allocation among the source sensor and the relay sensors under a total transmit power constraint, and simple closed-form solutions are derived. Comparisons based on simulations demonstrate that a significant performance improvement is achieved using the optimum power allocation compared to the equal power allocation, which provide an effective method to improve the MWSN’s performance under a fixed power budget.

The rest of the paper is organized as follows. Section 2 introduces the DD modulation and the system model of the RSDDCT-DetF network. In Section 3, we derive closed-form expressions for the outage probability and average BER of the RSDDCT-DetF network. The asymptotic system behaviors and the power allocation strategy are provided in Sections 4 and 5, respectively. Finally, Section 6 presents our numerical results, and Section 7 concludes the paper.

#### 2. System Model

##### 2.1. Double-Differential Modulation

We suppose that double-differential binary phase shift keying (DDBPSK) modulation is utilized in the network. Let denote the unitary symbols belonging to the BPSK constellation to be transmitted in the th symbol interval. As shown in Figure 1(a), in a DD modulation based system, the double-differential modulated signals are obtained from in the following way: where and is the number of the symbols to be sent within a frame.

**(a)**

**(b)**

Consider a fading channel with random CFO; the received signals can be expressed as where is the transmit power, is the channel fading coefficient, is the unknown normalized random CFO in radians, and is the additive white Gaussian noise (AWGN), with representing a complex Gaussian random variable with mean and variance .

The optimal decoder for DDBPSK signals is the maximum likelihood decoder (MLD), which is given by [39] where . It is noted from (3) that the MLD for DD signals can be regarded as a differential detector for the equivalent single-differential signals , which is clearly depicted in Figure 1(b). Thus, the BER performance of DD signals can be characterized by , which is given by where . It is shown that the instantaneous SNR of can be approximated as where . Based on the SNR approximation, the BER performance of the DDBPSK modulation can be evaluated as [34]

##### 2.2. RSDDCT-DetF Mobile Wireless Sensor Networks

Consider a MWSN as shown in Figure 2(a), where a source sensor node () communicates with a destination sensor node () with the assistance of a number of potential relay sensor nodes (). We suppose that the channel coefficients (between and ), (between and ), and (between and ) are all flat Rayleigh fading coefficients. In addition, , , and are mutually independent and nonidentical. It is assumed that all the links are perturbed by independent random CFOs (, , and ) and the fading coefficients keep constant within one frame and independently change from one frame to another, which are modeled as , , and . We also assume here that all the AWGN terms of all links have zero mean and equal two-sided spectral density (). The transmit powers of the source sensor and each relay sensor are and , respectively, where denotes the total transmit power of the network and is the power allocation factor. In this respect, the MWSN under consideration can be further described by a more informative block model, which is presented in Figure 2(b).

**(a)**

**(b)**

Suppose that each transmission frame is of length , where is the number of the data symbols transmitted from each sensor node within a frame. During the first phase, broadcasts a stream of signal sequence of length to all the relay sensors and ; the received symbols at the th relay sensor and can be expressed as where and are the random CFOs; and denote the AWGN at the th relay and , respectively. In this paper, we assume that all the CFOs follow uniform distribution and remain constant over at least three consecutive symbol intervals. However, it should be pointed out that, in general, there is no restriction over the probability distribution of the CFOs and they could have any probability distribution.

In the second phase, only the relay sensor with the best link is selected to forward the remodulated signals to . Assuming that relay sensor is selected, the received symbols at can be written as where denotes the CFO of the second-link, represents the remodulated symbols at , and is the AWGN of the selected link.

To take into account the detection errors at the relay sensors, we apply the one-hop equivalent link model developed in [25]. As shown in Figure 2(b), the equivalent one-hop links are denoted by , , and the SNR of each equivalent link can be approximated as where and are the instantaneous SNR of the and links, respectively, with denoting the average SNR. It is worth pointing out that the same bounding technique has been widely adopted in the performance analysis of various relay systems; see [25, 27, 28] and references therein. In addition, it has been demonstrated that this lower bound is in general very tight for a wide range of SNR.

Based on the equivalent links, the best relay sensor is selected according to the Max-Min criterion given by where the instantaneous SNR of the worst one of the two-hop relay link is maximized. To perform relay selection at the relay sensors, the source sensor and destination sensor should send request-to-send (RTS) and clear-to-send (CTS) packets before each transmission, respectively. Based on the RTS and CTS packets, each relay sensor first estimates the amplitudes of the channels from the source and destination sensors to calculate , and the equivalent SNR ; then a backoff timer is set to be inversely proportional to ; therefore, the best relay sensor with the largest equivalent SNR has the smallest backoff time and consequently occupies the channel to forward its signals to the destination sensor, and all other relay sensors keep silent in this transmission interval.

In order to efficiently combine the two received signals, we propose a new linear combiner to process the DD signals, where the two branches are combined as in which the weights of the two branches are chosen to maximize the output SNR of [25] and and denote the equivalent SNR and second-hop SNR of the selected link, respectively. After combination, the total output SNR can be rewritten as where is the instantaneous SNR of the direct link.

According to (3), the combined signals can be rewritten as where and , and the detection of the transmitted symbols is performed as

#### 3. Performance Analysis

In this section, we present a comprehensive performance analysis for the RSDDCT-DetF network described in the previous section. Specifically, we derive exact closed-form expressions for two important performance metrics, that is, outage probability and average BER.

##### 3.1. Preliminaries

Before delving into the detailed analysis, we first present the statistical behaviors of and , which will be frequently invoked in the subsequent derivations.

As all the channels undergo Rayleigh fading, the PDFs and CDFs of , , and can be written as [40] where , , and . Using (16) as a starting point, we can derive the statistic properties of as the following lemma.

Lemma 1. *The PDF and CDF of are given by
**
where and denotes the binomial coefficient.*

*Proof. *As is the smaller one between and , we can write its CDF as
where . Setting derivative of (19) with respect to , the PDF of can be derived as

Note that (10) suggests that is essentially the largest order statistic of ; hence, by utilizing [41, Equation ], we can obtain the CDF in (18); then differentiating it with respect to and with the help of the binomial theorem, the PDF (17) can be derived.

##### 3.2. Outage Probability

The outage probability is defined as the probability that the end-to-end SNR drops below a certain threshold . With the help of (12), the outage probability can be rewritten as

A closed-form outage probability of the network can be derived as the following theorem.

Theorem 2. *The outage probability of the RSDDCT-DetF network is given by
**
where and are the average SNR of the direct and equivalent links, respectively.*

*Proof. *By utilizing the law of total probability, the outage probability (21) can be calculated as ; substitute (15) and (17) into (21); and, with the help of the binomial theorem, Theorem 2 can be derived.

##### 3.3. Average Bit Error Rate

We now turn our attention to the average BER performance of the network. According to [42, Equation ], the conditional BER of the differential BPSK modulation with -channel diversity reception is given by where is the instantaneous total SNR at the receiver and is defined as

With the help of (5) and (12), the conditional BER of the RSDDCT-DetF network with DDBPSK can be approximated by the conditional BER of the 2-channel reception DBPSK, which arrives at where denotes the total instantaneous SNR of the equivalent single-differential signals.

Theorem 3. *The closed-form average BER of the RSDDCT-DetF network with DDBPSK modulation is given by
*

*Proof. *Due to the independence of and , the average BER can be obtained by averaging (25) with respect to and , respectively, as follows:

We first calculate the first part as
where the second equality is derived by using [43, Equation ] and is the Gamma function. On the other hand, substituting (15) and (17), with the help of [43, Equation ], the second part of can be simplified into

To this end, Theorem 3 is obtained by combining (28) and (29).

Note that Theorems 2 and 3 present accurate expressions for the outage probability and average BER of a network with arbitrary number of relay sensors, and the formulas (22) and (26) only involve standard functions which can be directly calculated, thereby providing fast and efficient means to evaluate the system performance.

#### 4. Asymptotic Behaviors Analysis

Although the expressions for the outage probability and average BER derived in Theorems 2 and 3 enable numerical evaluation of the system performance and may not be computationally intensive, they do not offer physical insights into the impact of the system parameters, for example, fading parameters and number of relay sensors. To circumvent this, we now focus on the high SNR regime to analyze the asymptotic behaviors of the outage probability and average BER.

##### 4.1. Asymptotic Outage Probability

Corollary 4. *The asymptotic outage probability of the RSDDCT-DetF network in the high SNR regime is given by
**where *,* with *.

*Proof. *Making use of the Maclaurin series expansion of the exponential function, and can be approximated in the high SNR region as
where the high-order terms are ignored. Substituting (31) into (22), the outage probability can be rewritten as
where we have utilized the identity [28] to derive the second equality. Substituting and in (32), we can rewrite the outage probability as
where . Note that the second term in (33) can be ignored when is large enough, which yields Corollary 4.

##### 4.2. Asymptotic Average Bit Error Rate

Corollary 5. *The asymptotic average BER of the RSDDCT-DetF network with DDBPSK modulation at high SNRs is given by
**
where , is the number of relay sensors, and denotes the average SNR.*

*Proof. *It is obvious that the first part of can be approximated at sufficiently high SNRs as

To obtain the asymptotic expression of , we first denote the sum term of (29) by , as

Letting , after some manipulations, we have
where the second equality is derived in a way similar to [27, Equation ]. By using [43, Equation ] to calculate the sum term, (37) can be approximated at high SNRs as

Recall that ; we then have ; thus the second part of can be approximated as

Adding (35) to (39), we can rewrite the average BER as

Substituting and in (40), the asymptotic average BER can be expressed as

To this end, Corollary 5 is proved.

Corollaries 4 and 5 demonstrate that a RSDDCT-DetF network with relay sensors can achieve a full diversity order of at sufficiently high SNRs. The above expressions (30) and (34) also reveal straightforwardly the impact of the model parameters on the system performance. More specifically, we can see that, by increasing and the sensor nodes’ power, the outage probability and average BER will reduce. In addition, we can also observe that the diversity of the MWSN is determined by the number of relay sensors. We will show through numerical evaluation in Section 6 that both the asymptotic outage probability (30) and the average BER (34) tightly correlate with their exact analytical counterparts in the high SNR regime; thus we can precisely predict the system performance through Corollaries 4 and 5 at sufficiently high SNRs.

#### 5. Optimum Power Allocation

The optimum power allocation for improving the system performance (e.g., minimizing the outage probability or error probability) has been a very hot research area [24, 26, 34]. As MSNs are generally power-limited systems, it may be of particular importance to investigate the optimum power allocation for MSNs. With this observation in mind, in this section, we address the power allocation issue for the RSDDCT-DetF sensor network under consideration to improve its average BER performance.

Having the closed-form average BER (26), we are about to investigate the power allocation among the source sensor and the relay sensors to minimize the average BER under a total transmit power . The optimization problem of the power allocation can be formulated as

However, it is generally difficult to directly manipulate the exact average BER expression (26), and the optimum solution can only be derived through exhaustive search. In order to obtain a simple closed-form solution, we choose to look into the high SNR regime and determine the optimum power allocation scheme by use of the asymptotic average BER expression. Note that, given a fading scenario, in (34) is a constant which only depends on the average SNR and the number of relay sensors; therefore, based on the asymptotic average BER expression, the optimization problem of the power allocation can be rewritten as

Note that (43) is an equation with only one variable, namely, ; thus, by differentiating the objective function in (43) with respect to and setting the derivative equal to zero, we can derive the optimum power allocation factor as follows.

*Case A. *For the scenario , the optimum power allocation factor is

*Case B. *For the scenario , the optimum power allocation factor is
where .

We observe from (44) and (45) that the equal power allocation always cannot provide the best average BER performance and the optimum power allocation is dependent on the channel variances, that is, , and the number of relay sensors. More specifically, in the case , the optimum power factor is larger than 1/2 and when , the equal power allocation yields the best average BER performance. It can be easily shown that, for the scenario , the best power allocation factor is smaller than , and when , we further have , which indicates that more power should be allocated to the relay sensors. On the other hand, when it comes to the scenario , the optimum power factor is larger than 1/2, which suggests that more transmit power should be allocated to the source sensor.

#### 6. Numerical Results

In this section, the theoretical results derived in the previous sections are validated by a set of Monte Carlo simulations, where we consider slow Rayleigh fading channels with random CFOs, and the transmission length is set to 100. Throughout our simulations, we suppose that all the CFOs are mutually independent and uniformly distributed over , where denotes the maximum normalized CFO. Without special explanation, the transmit power is always equally split between the source sensor and the relay sensors, that is, . Note that the SNR refers to the average SNR in the following discussions.

We first examine the outage performance of the RSDDCT-DetF network. Figures 3 and 4 demonstrate the simulated outage probabilities along with the accurate outage probabilities in (22) and their corresponding asymptotic approximations in (30). In our simulations, the predetermined SNR threshold is dB, and the maximum CFO is . In Figure 3, we consider three possible numbers of the relay sensors, namely, , respectively, and the fading gains are equal, that is, . In Figure 4, is fixed to 3, and four different fading scenarios are investigated. As can be seen from the two figures, the accurate analytical curves match well with the simulation results across the entire SNR range in all the scenarios. Moreover, the proposed asymptotic outage probabilities yield excellent tightness at high SNRs. Likewise, the analytical outage probability expressions can very efficiently predict the exact outage probability. Another observation is that the achieved diversity order is dependent on the number of relay sensors, and it increases when more relay sensors are used. Specifically, about 5dB performance improvement can be observed at an outage probability of as increases from 1 to 2. In addition, we can obtain a performance gain of about 4dB at the same outage probability by increasing from 2 to 4.

In Figures 5 and 6, we proceed to illustrate the average BER performance of the RSDDCT-DetF network. We have performed the simulations in the same scenarios as these of Figures 3 and 4. In the two figures, the simulated average BER curves are plotted along with the analytical average BER given in (26). Also, the results pertaining to the asymptotic expression for the average BER given by (34) are included in the figures. Note that, for the sake of completeness, the simulated average BER curve of the noncooperative or direct transmission system () is also plotted to serve as a benchmark. It is worth noting that, to fairly compare the performances, we assume that the total transmit powers are equal; in other words, the transmit power of in the case is twice that of the other systems. As observed, the analytical expression is in great match with the simulated results, even in the low SNR region in each scenario. In addition, for all the cases, the asymptotic BERs and their other two corresponding curves overlap at high SNRs, which indicate the correctness of our theoretical analysis. In Figure 5, it is clear that each cooperative network outperforms the noncooperative network when SNR exceeds a certain threshold. We can also observe from the two graphs that the achievable diversity order of the network depends on the number of relay sensors, and it is increasing with the number of the potential relay sensors. To be specific, we can observe about 3.5dB performance improvement at an average BER of when the number of relay sensors increases from 1 to 2. And an additional 2.7dB gain is obtained at the same average BER when increases from 2 to 4.

Figure 7 compares the average BER performance of the RSDDCT-DetF network and the DM-RS-DetF network with DBPSK modulation, where five different random CFOs are considered, that is, . The number of relay sensors is and the channel variances are . As the RSDDCT-DetF network almost has the same performance under different CFOs, we only plot its one average BER curve. We observe that there is a performance gap of about 3.8dB between the RSDDCT-DetF network and the single-differential network in the absence of CFOs (). It is also shown that when random CFOs are involved, the DM-RS-DetF network suffers severe performance degradation while the DD network can achieve excellent performance. For example, when, the performance gap shrinks to 2.2dB. Furthermore, we can observe two collapses from the average BER curves of the DM-RS-DetF network in the cases and 0.5.

Figure 8 elaborates on the optimum power allocation factors for the RSDDCT-DetF network with three relay sensors. We consider three different fading scenarios: (A) all the channel gains are equal; that is, refers to the scenarios where all the relay sensors are located at halfway between the source sensor and the destination sensor; (B) , refers to the scenarios where the relay sensors are closer to the source sensor; and (C) , refers to the scenarios where all the relay sensors are much closer to the destination sensor. Note that, in the graph, we set dB, and the analytical average BER curves calculated from (34) are plotted against the power allocation factor , which increases from 0.01 to 0.99 by a step 0.01. In addition, the optimum power allocation factors obtained from (44) and (45) are also presented. We observe that the numerically derived optimum power factors yield the minimum average BER in all cases. Specifically, in Scenario A, the best power allocation factor is , and, for Scenario B, the best choice of powers is and , while, in Scenario C, the best power allocation factor changes to . This is consistent with our analysis in Section 5.

Finally, we study the benefits of power allocation. Figure 9 shows the average BER performance of the RSDDCT-DetF network with optimum power allocation (OPA) in contrast to that with equal power allocation (EPA). The three scenarios outlined in Figure 8 are investigated. Note that each of the graphs depicts two optimized average BER curves: TOPA, which refers to the average BER of the network with theoretical optimum power allocation (TOPA) given by (44) and (45) and SOPA, which represents the average BER of the network with simulated optimum power allocation (SOPA) derived through exhaustive search. It is clear that in all the three scenarios our derived TOPA and the exhaustively searched SOPA almost yield the same performance. From Figure 9(a), we observe that the OPA outperforms the EPA by about 0.7dB at an average BER of in Scenario A. However, when it comes to Scenario B, where the relay sensors are closer to the source sensor node, the OPA has a marginal performance gain against the EPA. The reason is that in this scenario the remodulated signals at the relay sensors are as good as those at the source sensor node; therefore, the EPA scheme almost yields the same performance as the OPA, while, for Scenario C, it is observed in Figure 9(b) that the OPA is about 1.5dB superior to the EPA at the same average BER. It is because that using EPA in this scenario leads to low quality of the received signals at the relay sensors, thereby causing high detection errors at the destination sensor. While, with the OPA, more power is allocated to the source sensor, it consequently reduces the detection errors at the relay sensors, which leads to an improvement to the quality of the combined signals at the destination sensor, hence yielding a better average BER performance.

**(a)**

**(b)**

#### 7. Conclusion

In this paper, we have proposed and analyzed a robust relay selection based double-differential cooperative transmission (RSDDCT) scheme for MWSNs over Rayleigh fading channels, where all the links are perturbed by random MCFOs. In particular, we have derived closed-form expressions for the outage probability and average BER performance of a RSDDCT-DetF network at arbitrary SNRs. Moreover, simplified asymptotic outage probability and average BER expressions in the high SNR regime are deduced, which indicate that a RSDDCT-DetF network consisting of a source sensor, relay sensors, and a destination sensor can achieve a full diversity order of at sufficiently high SNRs. We have shown that in the RSDDCT-DetF networks, the destination sensors are able to detect their data without any knowledge of the channel fading coefficients or MCFOs. It is revealed that the RSDDCT-DetF network is inferior to its single-differential counterpart in the absence of MCFOs; however, the RSDDCT-DetF network performs well over fading channels with random MCFOs, where the single-differential networks fail to work. We have also investigated the power allocation optimization problem to improve the average BER performance based on the derived analytical expressions. Monte Carlo simulations show that our optimum power allocation strategy provides considerable average BER performance enhancement as compared to the equal power allocation strategy.

#### Conflict of Interests

The authors declare that there is no conflict of interests regarding the publication of this paper.