# Secure Performance of an Untrusted AF Relay System with a Friendly Wireless Powered Jammer

Authors: An Li; Nong Qu
Journal: Mobile Information Systems
 (2019)

---

## Abstract

We propose a jam-then-harvest protocol for dual-hop cooperative networks with an untrusted relay, where an external friendly jammer helps keep information secret from the untrusted relay by transmitting a priori jamming signal for the destination. In particular, the wireless powered jammer scavenges energy from the received forwarded signal and recovers its initial energy to perform jamming in next time slot. We analytically derive an exact expression of the probability of nonzero secrecy rate (PNSR) for the proposed jam-then-harvest protocol. For performance comparison, cooperative jamming with the constant power supply is provided as a lower bound benchmark. Our results show that the proposed protocol not only can achieve the secure communication but also can harvest the enough energy without a loss of performance in the low jamming power region.


---

## Body

## 1. Introduction

With the wide deployment of cellular mobile network and Internet as well as the emergence and development of various wireless networks, wireless communications have become an integral part in our daily life for enabling ubiquitous access and different service demand. However, due to the openness and shared nature of the wireless channel, the security of information transmission is a critical issue for wireless networks. Traditionally, the secrecy is guaranteed mostly relying on the cryptographic techniques and protocols at the upper layers of wireless networks [1]. One main drawback of these existing techniques is their heavy dependence on a complex mathematics computation in the secret key generation and distribution and management, which is impractical for wireless networks due to resource constraints and the lack of the infrastructure support. Recently, cooperation-based physical layer security has emerged as an attractive solution to improve the secrecy of low-power single-antenna wireless systems [2, 3]. In addition, node cooperation is also beneficial to enhance the spectral efficiency and power utilization.One of the most common cooperative schemes in physical layer security is cooperative jamming (CJ) (see [4–6] and the references therein), where external friendly jammers are employed to collaboratively transmit interfering signals when source is transmitting, so as to degrade the wiretap channel for greatly enhancing the secrecy rate. However, additional energy consumption to transmit jamming signals at the helpers brings about the following two major challenges. First, low-power jammers with limited battery supplies would likely prefer saving energy for their own communication to aiding the others; thus, the benefits of CJ would be quite compromised. Second, the energy imbalance among users may lead to the creation of energy holes and even shorten the network lifetime.Recently, radiofrequency- (RF-) enabled wireless energy harvesting (WEH) has attracted an upsurge of interest due to its great potential to provide the power supply in a cost-effective and reliable way for energy-constrained wireless nodes and networks [7, 8]. In fact, WEH potentially offers new opportunities to replenish the extra energy requirements at the jammers to overcome the critical challenges above. In [9, 10], a wireless powered jammer was employed to enable secure direct communication between source and destination in the presence of an eavesdropper and yet not to add extra power cost. As to the relay systems, a harvest-and-jam protocol was presented where multiantenna jammers were powered by the source to secure two-hop networks in [11]. While in [12], by using a set of single-antenna WEH-enabled self-sustaining AF relays/jammers, a mixed cooperative beamforming-CJ approach was proposed to improve security. In [13], the best wireless powered relay/jammer with a random jammer/relay selection schemes was investigated for two-hop relay networks. While in [14], the power allocation is optimized to maximize the secrecy sum rate of a decode-and-forward two-way relay network by using artificial noise and WEH-enabled jammers. In these models, relays are assumed to be trusted; however, from a robust perspective, the relay could be a potential eavesdropper. For example, all users of practical applications in defence and financial networks do not have the same rights to access the information [15]. With the constant power supply, in [16, 17], the secure transmission schemes were presented to hinder the untrusted relay from deciphering the source messages. By using energy harvesting, in [18], the secrecy performance of two-hop networks via a WEH-enabled untrusted relay was investigated, where the destination-assisted jamming signal helps confuse the untrusted relay as well as acts as a potential energy source. To the best of our knowledge, for the untrusted relay system, how to enable two-hop secure communication by using a WEH-enabled jammer has not been addressed in the literature.Motivated by reaping the benefits from WEH and pressing demands for secure communication in untrusted relay networks, in this paper, we focus on a wireless powered jammer-assisted secure dual-hop cooperative communication. Our main contributions can be summarized as follows:(i)
We propose a newly designed jam-then-harvest (JH) protocol to enable secure communication for dual-hop cooperative networks with an untrusted relay.(ii)
We theoretically discuss the secrecy performance of the proposed JH and then derive an exact analytical expression for its probability of nonzero secrecy rate (PNSR).(iii)
The conventional cooperative jamming (CJ) scheme with the constant power supply is provided as a lower bound benchmark. We show that the proposed JH can achieve a similar secrecy performance as CJ in the low initial jamming power region.


## 2. System Model and Secure Protocol

As depicted in Figure1, we consider a cooperative dual-hop relay system where the source S tries to transfer information to the destination D located out of its communication range via one untrusted relay R. To help keep information secret from R, a friendly jammer J is employed to jam the untrusted relay; however, J is an energy-constrained node only with the initial power PJ but without conventional energy supply. A simple RF circuit for harvesting energy is equipped at J to harvest energy from external RF signals. The harvested energy is assumed able to recharge the jammer’s battery with infinite capacity. All nodes only have one omnidirectional antenna operating in a half-duplex mode. The complex channel coefficient between nodes i (i∈R,J,D) and j (j∈S,R,J, i≠j) is denoted by hij, which is modeled as a zero-mean, independent, circularly symmetric complex Gaussian random variable with a variance Λij=dij−φ, where dij in meters (m) is the Euclidean distance between nodes i and j and φ is the path loss exponent. Additionally, the noise at all nodes is assumed to be additive white Gaussian with zero mean and variance σ2.Figure 1
A wireless powered jammer-enabled dual-hop system via an untrusted relay.Since the direct link between S and D is not available, a jam-then-harvest protocol based on two time slots of equal length is adopted, as shown in Figure2. Without loss of generality, each transmit time slot is normalized to be 1 so that at each time slot the numerical values of energy are identical to power. The jam-then-harvest protocol consists of two parts: (1) transmitting and jamming phase: in the first time slot, S broadcasts information signal to the untrusted relay R, while J simultaneously emits a unit-power jamming signal z to create interference at R; (2) relay and energy-harvesting phase: during the second time slot, after amplifying the received mixture signals from S and J, R forwards the resulting signal to D with the transmit power P. Meanwhile, J is capable of harvesting energy from the signals sent by R to store and recover the initial energy PJ.Figure 2
The proposed jam-then-harvest protocol.In phase 1, to protect information from being eavesdropped by untrusted R, the friendly jammer J performs jamming while S transmits unit-power signalx, so the received superposition signal at R can be expressed as follows:(1)yr=Phrsx+PJhrez+nr,where P denotes the transmit power by S and nr represents the narrow-band Gaussian noise at R. Then during phase 2, R broadcasts the mixture signals based on the amplify-and-forward protocol to D, as such the received signal at D and J can be, respectively, written as(2)yd=hdrPβyr+nd,ye=herPβyr+ne,where β is the power normalization factor given by β=1/Phrs2+PJhre2+σ2. The signal-to-interference-plus-noise ratio (SINR) at D and R to decode x is thus, respectively, given by(3)γr=hrs2γhre2γJ+1,γd=hrd2hrs2γ2hrs2+hrd2γ+γJhre2+1,where γ=P/σ2 and γJ=PJ/σ2. Note that we assume the jamming signal z is a priori known to D, which will just hurt the untrusted relay’s listening but not cause any harm to the destinations; therefore, the jamming signal has been perfectly cancelled in γd. To perfectly eliminate the jamming signals at D, such signals should be confidently shared between J and D before jamming. This can be practically implemented as in [19]. First, the same pseudo-random generators with finite states and seed tables are pre-stored at both J and D (but not available at R). Next, before each transmission phase, one seed is randomly chosen from the seed table and the index of this seed is shared between J and D. In particular, the seed index can be shared by using the two-step phase-shift modulation-based method [19]. Accordingly with (3), the achievable rate at the destination D and R in bits/sec/Hertz (bps/Hz) can be, respectively, given by(4)Rd=12log21+γd,Rr=12log21+γr.From (3) and (4), we can see that both Rd and Rr are increasing function of γ but decreasing function of γJ. However, if Rr increases (decreases) slower than Rd as γ (γJ) increases, the difference between Rd and Rr may increase.On the other hand, from (2), the harvested energy at the jammer J can be calculated as(5)E=ηhre2Pγhrs2+γJhre2γhrs2+γJhre2+1,where η denotes the energy-harvesting efficiency of the jammer. Similarly, it can be observed from (5) that the harvested energy E also increases with γ or γJ.


## 3. Secrecy Performance

The friendly external jammer helps prevent source confidential information leakage to the untrusted relay and achieve the secure communication; thus, the probability of achieving strictly nonzero secrecy rate is an important performance metric to evaluate the system secrecy performance. In this section, we analyze the PNSR of the proposed jam-then-harvest scheme (denoted as “JH”). Additionally, for performance comparison, the secrecy performance for conventional cooperative jamming relying on the constant power supply (denoted as “CJ”) is provided as a lower bound benchmark.


### 3.1. JH Scheme

For the proposed jam-then-harvest scheme, the amount of scavenged energy must satisfy the lowest requirement, i.e.,PJ. If the harvested energy E is less than the given threshold PJ, the power received by the jammer is not sufficient to transmit the jamming signal in next time slot, and thus the power outage occurs. Meanwhile, it can be easily obtained from (3) that when γJ=0, γr is greater than γd with probability 1, which means a secrecy outage will occur with probability 1 when the power outage happens. If the power received by the friendly jammer J is not smaller than the given initial threshold PJ, the secure outage occurs when the achievable rate Rd is not more than Rr. Thus, the overall achieved PNSR Pout can be formulated as follows:(6)Pout=ℙE≤PJ+ℙE≥PJ∩γd≤γr,where ℙ⋅ denotes the probability.Substitutingγd,γr from (3) and E from (5) and after simplification, (6) can be rewritten as(7)Pout=ℙY≤−μZ+μηZγ−γJ+ℙX≤Yγ+1ZγγJ+1γ,Z≥Z1+ℙX≤Yγ+1ZγγJ+1γ,Y≥−μZ+μηγZ−γJ,μη≤Z≤Z1,where Z1 is the root greater than μ/η of the equation ηγZ2−γJZ−1=0 and μ=PJ/P. Note that when Z≥Z1, −μZ+μ/ηZγ−γJ≤0, so the corresponding Y≥0. When μ/η≤Z≤Z1, ηγZ−γJ≥0 and −μZ+μ/ηZγ−γJ≥0, so the corresponding Y≥−μZ+μ/ηZγ−γJ. X=hdr2,Y=hrs2, and Z=hre2 are all exponentially distributed random variables with mean Λij. Further, we can express Pout in (7) analytically as given in Proposition 1.Proposition 1.
The achieved PSNR for the jam-then-harvest scheme is given by
(8)
P
out
=
1
−
Q
0
+
Q
1
∗
Q
1
−
Q
3
+
Q
2
∗
Q
4
−
Q
5
,
with
(9)
Q
0
=
exp
−
μ
η
Λ
r
e
−
∫
μ
/
η
∞
exp
−
z
Λ
r
e
−
μ
σ
2
Λ
r
s
η
z
P
−
P
J
+
μ
z
Λ
r
s
d
z
,
Q
1
=
e
−
Z
1
/
Λ
r
e
,
Q
2
=
e
−
μ
/
η
Λ
r
e
−
e
−
Z
1
/
Λ
r
e
,
Q
3
=
∫
Z
1
∞
1
Λ
r
e
exp
−
z
Λ
r
e
−
A
B
d
z
,
Q
4
=
∫
μ
/
η
Z
1
1
Λ
r
e
exp
−
z
Λ
r
e
−
μ
Λ
r
s
η
γ
z
−
γ
J
+
μ
z
Λ
r
s
d
z
,
Q
5
=
∫
1
/
η
Z
1
1
Λ
r
e
exp
−
z
Λ
r
e
+
μ
z
Λ
r
s
−
μ
Λ
d
r
γ
J
z
η
γ
z
−
γ
J
−
μ
Λ
r
s
η
γ
z
−
γ
J
+
μ
Λ
d
r
γ
J
−
A
B
d
z
,
A
=
1
Λ
d
r
γ
γ
J
z
+
1
Λ
d
r
γ
,
B
=
Λ
d
r
z
Λ
d
r
z
+
Λ
r
s
/
γ
J
.Proof.
See AppendixA.


### 3.2. Benchmark CJ Scheme

In contrast, for the conventional cooperative jamming scheme without employing wireless powered technique, the friendly jammer has a constant power supply. The secrecy outage event occurs only when the achievable rateRd is not more than Rr; thus, the PNSR Pout1 can be expressed as(10)Pout1=ℙγd≤γr=ℙX≤Yγ+1ZγγJ+1γ.Proposition 2.
An analytical expression for the achieved PNSR for “CJ” scheme can be given by
(11)
P
out
1
=
1
−
Q
6
,with(12)Q6=∫0∞exp−1Λdrγ1ΛrsΛreexp−yΛrs4Λreyγ+1ΛdrγγJK14yγ+1ΛdrΛreγγJdy,where Kn⋅ is the modified Bessel function of the second kind with order n defined in [20].Proof.
See AppendixB.


## 3.1. JH Scheme

For the proposed jam-then-harvest scheme, the amount of scavenged energy must satisfy the lowest requirement, i.e.,PJ. If the harvested energy E is less than the given threshold PJ, the power received by the jammer is not sufficient to transmit the jamming signal in next time slot, and thus the power outage occurs. Meanwhile, it can be easily obtained from (3) that when γJ=0, γr is greater than γd with probability 1, which means a secrecy outage will occur with probability 1 when the power outage happens. If the power received by the friendly jammer J is not smaller than the given initial threshold PJ, the secure outage occurs when the achievable rate Rd is not more than Rr. Thus, the overall achieved PNSR Pout can be formulated as follows:(6)Pout=ℙE≤PJ+ℙE≥PJ∩γd≤γr,where ℙ⋅ denotes the probability.Substitutingγd,γr from (3) and E from (5) and after simplification, (6) can be rewritten as(7)Pout=ℙY≤−μZ+μηZγ−γJ+ℙX≤Yγ+1ZγγJ+1γ,Z≥Z1+ℙX≤Yγ+1ZγγJ+1γ,Y≥−μZ+μηγZ−γJ,μη≤Z≤Z1,where Z1 is the root greater than μ/η of the equation ηγZ2−γJZ−1=0 and μ=PJ/P. Note that when Z≥Z1, −μZ+μ/ηZγ−γJ≤0, so the corresponding Y≥0. When μ/η≤Z≤Z1, ηγZ−γJ≥0 and −μZ+μ/ηZγ−γJ≥0, so the corresponding Y≥−μZ+μ/ηZγ−γJ. X=hdr2,Y=hrs2, and Z=hre2 are all exponentially distributed random variables with mean Λij. Further, we can express Pout in (7) analytically as given in Proposition 1.Proposition 1.
The achieved PSNR for the jam-then-harvest scheme is given by
(8)
P
out
=
1
−
Q
0
+
Q
1
∗
Q
1
−
Q
3
+
Q
2
∗
Q
4
−
Q
5
,
with
(9)
Q
0
=
exp
−
μ
η
Λ
r
e
−
∫
μ
/
η
∞
exp
−
z
Λ
r
e
−
μ
σ
2
Λ
r
s
η
z
P
−
P
J
+
μ
z
Λ
r
s
d
z
,
Q
1
=
e
−
Z
1
/
Λ
r
e
,
Q
2
=
e
−
μ
/
η
Λ
r
e
−
e
−
Z
1
/
Λ
r
e
,
Q
3
=
∫
Z
1
∞
1
Λ
r
e
exp
−
z
Λ
r
e
−
A
B
d
z
,
Q
4
=
∫
μ
/
η
Z
1
1
Λ
r
e
exp
−
z
Λ
r
e
−
μ
Λ
r
s
η
γ
z
−
γ
J
+
μ
z
Λ
r
s
d
z
,
Q
5
=
∫
1
/
η
Z
1
1
Λ
r
e
exp
−
z
Λ
r
e
+
μ
z
Λ
r
s
−
μ
Λ
d
r
γ
J
z
η
γ
z
−
γ
J
−
μ
Λ
r
s
η
γ
z
−
γ
J
+
μ
Λ
d
r
γ
J
−
A
B
d
z
,
A
=
1
Λ
d
r
γ
γ
J
z
+
1
Λ
d
r
γ
,
B
=
Λ
d
r
z
Λ
d
r
z
+
Λ
r
s
/
γ
J
.Proof.
See AppendixA.


## 3.2. Benchmark CJ Scheme

In contrast, for the conventional cooperative jamming scheme without employing wireless powered technique, the friendly jammer has a constant power supply. The secrecy outage event occurs only when the achievable rateRd is not more than Rr; thus, the PNSR Pout1 can be expressed as(10)Pout1=ℙγd≤γr=ℙX≤Yγ+1ZγγJ+1γ.Proposition 2.
An analytical expression for the achieved PNSR for “CJ” scheme can be given by
(11)
P
out
1
=
1
−
Q
6
,with(12)Q6=∫0∞exp−1Λdrγ1ΛrsΛreexp−yΛrs4Λreyγ+1ΛdrγγJK14yγ+1ΛdrΛreγγJdy,where Kn⋅ is the modified Bessel function of the second kind with order n defined in [20].Proof.
See AppendixB.


## 4. Numerical Results

In this section, the PNSR of the proposed “JH” scheme given by (8) is compared with that of the conventional “CJ” scheme in (11). The simulation parameters are set up as follows: the noise variance σ2=−110dBm; average signal power attenuation ρ0 at a reference distance d0=1m is 80 dB; the path loss factor φ=3; S, R, and D are lying on one straight line and the distance between S and D, dsd,is200m. Besides, we assume that the distance from J to R is 1 m.First, we set the location of R as the midpoint of the line segment from S to D. Figure3 demonstrates the analytical results for the PNSR versus the different transmit power P and the initial jamming power PJ. It can be seen that the proposed “JH” scheme achieves a similar secrecy performance as “CJ” scheme in the low initial jamming power PJ region. However, in the high PJ region, the PNSR remains almost unchanged for “CJ” while increases for “JH” similar to the power outage probability (POP). This is because as PJ increases, the PNSR for “JH” is dominated by the power outage. The higher the PJ is set, the more it becomes difficult to replenish the initial power. In addition, the PNSR is observed to decrease as the transmit power P increases for both schemes. Figure 4 further shows that analytical results are in excellent agreement with simulation results as P=38dBm or PJ=−8dBm. It can also be observed that the proposed JH scheme can achieve the secure communication without a loss of performance in the low jamming power region.Figure 3
Probability of nonzero secrecy rate versus transmit powerP and required initial jamming power PJ.Figure 4
Probability of nonzero secrecy rate: numerical vs. simulation. (a)P = 38 dBm. (b) PJ = −8 dBm.
(a)
(b)Next, the coordinate of R is set to move from15,0m to 145,0m. Figure 5 plots the PNSR versus the distance (dsr) between S and R. It is observed that the PNSR for both schemes decreases as R moves close to D. This is because the closer the R is to D, the smaller the achievable rate Rr at R is, while the rate Rd at D will increase. It is worth noting that as expected for “JH,” the PNSR is not less than the power outage probability.Figure 5
Probability of nonzero secrecy rate versusdsr.


## 5. Conclusion

In this paper, the secrecy performance of the cooperative dual-hop network via an untrusted relay is investigated. Specifically, we first propose a jam-then-harvest protocol for the cooperative dual-hop relay system with the help of an external friendly WEH-enabled jammer. Then, we derive the explicit expression for the probability of nonzero secrecy rate (PNSR). Numerical results show that the exact expression for the PNSR is matched well with the simulation results. It can also be observed from the numerical results in the low initial jamming power region that the proposed protocol is capable of achieving the secure communication but also replenishing the initial jamming energy without a loss of performance.



---

*Source: 6968730-2019-01-02.xml*