- Research
- Open access
- Published:

# Joint terminals and relay optimization for two-way power line information exchange systems with QoS constraints

*EURASIP Journal on Advances in Signal Processing*
**volumeÂ 2015**, ArticleÂ number:Â 84 (2015)

## Abstract

The quality-of-service (QoS) criteria (measured in terms of the minimum capacity requirement in this paper) are very important to practical indoor power line communication (PLC) applications as they greatly affect the user experience. With a two-way multicarrier relay configuration, in this paper we investigate the joint terminals and relay power optimization for the indoor broadband PLC environment, where the relay node works in the amplify-and-forward (AF) mode. As the QoS-constrained power allocation problem is highly non-convex, the globally optimal solution is computationally intractable to obtain. To overcome this challenge, we propose an alternating optimization (AO) method to decompose this problem into three convex/quasi-convex sub-problems. Simulation results demonstrate the fast convergence of the proposed algorithm under practical PLC channel conditions. Compared with the conventional bidirectional direct transmission (BDT) system, the relay-assisted two-way information exchange (R2WX) scheme can meet the same QoS requirement with less total power consumption.

## 1 Introduction

With the emerging concept of smart grid, communication infrastructures used in the power grid have received much research interest recently. Compared with other communication systems, power line communication (PLC) technology has been considered as a competitive candidate for smart grid for its unique advantageâ€”power cables are preexisting almost in every town of the world. In smart grid, the power cables are used as medium, in addition to electricity delivery, to support information exchanges between appliances, power meters, and/or transformers [1].

As reported in [2], there are certain similarities between PLC and wireless transmission characteristics, for example the frequency-selective nature of the propagation channel. Thus, many signal processing techniques which have been developed for wireless communication systems can be adopted into PLC, such as compressed sensing [3], cognitive radio [4], and multiple-input multiple-output (MIMO) techniques [5, 6]. In particular, based on the common broadcasting nature between the wireless signal propagation and the power-cable-guided signal transmission, research on the application of modern wireless relaying processing for PLC has become an attractive topic. In [7], the author described a relay-assisted PLC system based on single-frequency networking condition. The authors of [8] investigated the optimal time duration allocation between the direct transmission phase and the relaying phase, along with the optimal power allocation problem, when the relay node works in an opportunistic manner. Under the assumption that each outlet on the power grid is a potential relay node, the authors of [9] proposed a multi-hop transmission scheme combined with the application of distributed space-time block code (DSTBC) in PLC networks.

Depending on the signal processing used at the relay node, relay transmission systems can be classified into two groups, namely regenerative and non-regenerative relay systems. In the regenerative relay scheme, the relay node decodes the received signal firstly and then recodes and forwards it to the destination node. This technique is also called the decode-and-forward (DF) relaying. On the other hand, the non-regenerative scheme only requires the relay node to amplify-and-forward (AF) its received signal. Thus, the AF relay has lower complexity, shorter processing delay, and lower implementation cost.

In some applications such as remote meter reading, two PLC terminal nodes need to exchange information with the aid of a relay node. In conventional half-duplex relay systems, where the relay node cannot transmit and receive simultaneously at the same time and frequency, four time-frequency slots are required for a two-way information exchange [10]. To improve the system spectral efficiency, the authors of [11] proposed the analog network coding technique, where two-way information exchange can be completed in two time-frequency slots with a practical half-duplex relay node. We call the system in [11] a two-way relay system, which was firstly investigated under wireless environments. The authors of [12] considered an AF scheme for two-way relaying over orthogonal frequency-division multiplexing (OFDM) system. They performed power allocation at the relay and both terminals, as well as tone permutation at the relay node, in order to maximize the sum capacity. The authors of [13] introduced the idea of two-way relay scheme into PLC scenario, and this scheme has been addressed in detail in a recent work [14]. In [14], the authors considered that a relay device, working in the AF mode, is used to assist the data exchange of two terminals in an indoor PLC network, and found that the AF two-way system can increase the achievable data exchange rate.

In the conventional one-way direct transmission (DT) system, the rate maximization (RM) and margin maximization (MM) problems are of duality to each other and admit a unique water-filling solution [15]. However, this fact does not hold when a relay node has been introduced. The aim of [12â€“14] is to maximize a given objective function, for example signal-to-noise ratio (SNR), mutual information (MI), or system capacity, subjecting to the power constraints of the whole network or/and at each node. However, the quality-of-service (QoS) constraints are not addressed. Note that in practical indoor PLC applications, such as high definition video streaming, QoS criteria are very important as they greatly affect the user experience.

In this paper, we adopt the two-way non-regenerative multicarrier relay scheme for indoor PLC networks with QoS considerations. In particular, we consider the joint optimization of the power allocation of two terminals and the relay node to minimize the network transmission power consumption subjecting to QoS requirements, which has not been considered before. We mention that in practical PLC systems, smaller transmission power leads to lower electromagnetic interference (EMI) to other nearby communication systems. We set the QoS criteria as the lower-bounds of the capacity of the data traffic from one terminal to the other. Since this QoS-constrained power allocation problem is highly non-convex, the globally optimal solution is computationally intractable to obtain. To overcome this challenge, we propose an alternating optimization (AO) method adopted from [16] to decompose the joint optimization problem into three sub-problems. Simulation results show the fast convergence of the proposed algorithm.

The remainder of this paper is organized as follows. Section 2 describes the indoor power grid topology. Following this, we present in detail the system model and problem formulation in Section 3. The problem formulated is a joint optimization of power allocation between two terminals and one relay node, subjecting to minimum capacity requirements on each traffic direction. The decomposed three sub-problems from Section 3 are fully discussed in Sections 4, 5, and 6. Based on these, the overall AO algorithm is presented in Section 7. Simulation examples are given in Section 8 to demonstrate the fast convergence and superior performance of the proposed algorithm. Finally, conclusions are given in Section 9.

## 2 Power grid topology and signaling paths

The authors of [8] reported a typical topology of the power grid in a European house as shown in Fig. 1, which enables us to understand how different types of information exchange scheme can be practically implemented under the indoor environment. Under this arrangement, every pair of outlets can be employed as a point-to-point (P2P) communication system, and the corresponding channel is characterized by the wiring topology and load impedance between these two outlets. For example, we choose outlets *T*
_{1} and *T*
_{2} to be the transceiver pair, and refer to them as the terminals in the following. We refer to the shortest cabling link between two terminals as the backbone and its length as the P2P channelâ€™s length. Other cables are treated as branches attached to the backbone, which contribute to the multipath nature of the indoor P2P PLC channel. Let us configure the two terminals working in time-division duplex (TDD) mode, i.e., half-duplex constraint is assumed at each terminal. To realize a round of information exchange between terminals *T*
_{1} and *T*
_{2}, a two-phase working procedure is needed, where in the first phase terminal *T*
_{1} sends a message via the P2P channel to terminal *T*
_{2}, while in the second phase, terminal *T*
_{2} replies a message to terminal *T*
_{1}. This procedure has been illustrated in Fig. 2
b. We refer to this configuration as the bidirectional direct transmission (BDT) system. Let us denote the transfer function of the P2P channel between *T*
_{1} and *T*
_{2} as \(\tilde {H}_{T_{1}T_{2}}(f)\), where *f* means frequency (Note for simplicity, we drop *f* in the following). Based on the result in [17] that P2P PLC channels hold a symmetry property, we have

From Fig. 1, we find that any outlet located on the backbone of the P2P channel (e.g., *R*
_{2}) or on a branch of this backbone (e.g., *R*
_{1}) can be deployed with a plug-in relay device. As the former outlet location can be treated as a special case of the latter one, without losing generality, we choose a branch-located outlet to deploy the relay device and refer to it as the relay node *R* in the following. After the introduction of the relay node, the original power grid can be seen as consisting of three two-port networks and each of them can be represented by its ABCD matrix, i.e., \(\boldsymbol {\Phi }_{T_{1}P}\), *Î¦*_{
PR
}, and \(\boldsymbol {\Phi }_{T_{2}P}\), respectively. This has been shown in Fig. 3, where point *P* indicates the intersection of the relay located branch and the backbone. We refer to this situation as the relay-involved PLC channel. Let us denote the signaling path between nodes *L*
_{1} and *L*
_{2} with its complex path gain \(H_{L_{1}L_{2}}\), where *L*
_{1},*L*
_{2}âˆˆ{*T*
_{1},*T*
_{2},*R*}. It can be analyzed from the transmission line theory that the existence of any branched circuit connection affects the complex channel gain of each signaling path. In general, the transfer function between two terminals changes due to the introduction of relay device, i.e.,

Furthermore, as the terminals and the relay device change their working modes in different signaling stages, even for the same path, its path gain varies over different signaling phases. Note these characteristics are different from the wireless relaying case.

## 3 System model and problem formulation

The block diagram of the proposed two-way PLC information exchange system is shown in Fig. 4 which consists of three nodes: two information terminals (*T*
_{1} and *T*
_{2}) which need to exchange data with each other, and a relay node (*R*) between them. We consider an OFDM-based multicarrier system, where the whole system bandwidth *B* is uniformly divided into *K* subcarriers. Given *K* is a large integer, on each subcarrier, the PLC channel fading can be considered to be frequency-flat. Thus the channel response on the *k*th (*k*=1,2,â€¦,*K*) subcarrier from node *L*
_{1} to node *L*
_{2} is denoted as \(h_{L_{1}L_{2}}^{[k],(n)}\), where nodes *L*
_{1},*L*
_{2}âˆˆ{*T*
_{1},*T*
_{2,}
*R*} and *n*=1,2 is the index of signaling phase.

Let us denote the transmission power on the *k*th subcarrier from *T*
_{1} as \(P_{T_{1}}^{[k]}\), from *T*
_{2} as \(P_{T_{2}}^{[k]}\), and from the relay node as \(P_{R}^{[k]}\), respectively. Thus, the total network power *P*
_{
Î£
} can be expressed as

Following the OFDM principle, each packet of information from *T*
_{1} and *T*
_{2} is encoded into *K* independent complex symbols \(X_{1}^{[k]}\) and \(X_{2}^{[k]}\) (*k*=1,2,â€¦,*K*) of zero mean and unit variance, respectively. To complete two packets of data exchange between two terminals, this two-way relay scheme works in two phases as illustrated in Fig. 2
a.

In the first phase, the terminal *T*
_{1} sends information signal \(X_{1}^{[k]}\) (*k*=1,2,â€¦,*K*) over the *k*th subcarrier with power \(P_{T_{1}}^{[k]}\), at the meantime, the terminal *T*
_{2} sends information signal \(X_{2}^{[k]}\) (*k*=1,2,â€¦,*K*) over the same subcarrier with power \(P_{T_{2}}^{[k]}\). Thus the received signal \(Y_{R,1}^{[k]}\) at the relay node can be written as

where \(N_{R,1}^{[k]}\) denotes the *k*th subchannel noise at the relay node in the first phase.

In the second phase, the relay node amplifies its received sum signal on each sub-carrier with proper amplitude gain *g*
^{[k]}, then broadcasts the amplified signal to the terminals *T*
_{1} and *T*
_{2} with power \(P_{R}^{[k]}\). Thus the received signals at the two terminals in the second phase are, respectively,

where \(N_{T_{1},2}^{[k]}\) and \(N_{T_{2},2}^{[k]}\) denote the *k*th subchannel noise at the terminal *T*
_{1} and *T*
_{2}, respectively, in the second phase, and

Let us assume the power spectral density (PSD) of noise does not change in two successive phases, and use \(W_{L_{2}}^{[k]}\) in (7) to denote the power of noise \(N_{L_{2},n}^{[k]}\) (*n*=1,2) at node *L*
_{2}. Substituting (4) and (7) into (5) and (6) leads to

We assume that all the channel state information (CSI) is known by the two terminals. Furthermore, as *T*
_{1} has full knowledge of \(X_{1}^{[k]}\), the first term in (8) can be readily eliminated and the remainder is used to decode the information beard by signal \(X_{2}^{[k]}\). Similar process is applied in (9). Let us denote the SNR of the *k*th subcarrier at terminal *T*
_{1} as \(\text {SNR}_{T_{1}}^{[k]}\), and terminal *T*
_{2} as \(\text {SNR}_{T_{2}}^{[k]}\), and we can calculate

where the normalized path gain \(\gamma _{L_{1}L_{2}}^{[k],(n)}\) of subchannel \(h_{L_{1}L_{2}}^{[k],(n)}\) is defined as

Thus, we can obtain the averaged sub-channel capacity (ASC) of the data traffic on the direction from *T*
_{2} to *T*
_{1} as

where \(\bar {C}_{1}\) is measured in bits/s/Hz/subcarrier, and the factor \(\frac {1}{2}\) indicate the two-phase characteristic of the system configuration. Similarly, we can express the ASC of the data-link on the reverse traffic direction, namely from *T*
_{1} to *T*
_{2}, as

With the QoS criteria as the lower-bounds of the ASC on two traffic directions, to make the most efficient utilization of the system total power we propose the following optimization problem

where (15) is the objective function of the total network transmission power, and \(\bar {q}_{1},\bar {q}_{2}\geq 0\) are the required minimal ASC on each traffic direction to support certain applications.

Note the problem formulated in (15)â€“(18) has twofold tasks. On the one hand, it should distribute the system total power optimally on each subcarrier. On the other hand, the power of each subcarrier needs to be optimally allocated to the two terminal nodes and the relay node. As the relay-involved PLC channel is naturally time-varying as we mentioned in Section 2, this problem cannot be solved by the two-layered approach used in [18].

We mention that in the problem (15)â€“(18), \(\bar {q}_{1}\) does not have to be equal to \(\bar {q}_{2}\). For example, most of the time in PLC networks, the down-link QoS is more critical than the up-link one with regard to the user experience. For some scenarios where the QoS requirements do not need to be specified on each individual traffic direction, we can also define the system information exchange capacity (in bits/s/Hz) as

So that from (16) and (17) we can write

where the minimal data rate \(q_{\epsilon }=K\left (\bar {q}_{1}+\bar {q}_{2}\right)\). Note (20) is the necessary, but not sufficient condition for (16) and (17), thus the problem

is a special case of the problem (15)â€“(18).

The exact solution to the problem (15)â€“(18) is difficult to obtain because the system minimal ASC constraints in (16) and (17) are non-convex. In this paper, we provide a local optimum solution by adopting the AO approach from [16], where we first optimize \(P_{R}^{[k]}\) with previously given \(P_{T_{1}}^{[k]}\) and \(P_{T_{2}}^{[k]}\), *k*=1,2,â€¦,*K*; then optimize \(P_{T_{1}}^{[k]}\) with previously optimized \(P_{R}^{[k]}\) and given \(P_{T_{2}}^{[k]}\); next we optimize \(P_{T_{2}}^{[k]}\) with previously optimized \(P_{R}^{[k]}\) and \(P_{T_{1}}^{[k]}\). Repeat this process until convergence, i.e., the difference between the total system power *P*
_{
Î£
} obtained in two consecutive iterations is less than a preset threshold. For any two groups of fixed power allocation parameters, the resulted sub-problem becomes convex or quasi-convex. Based on this method, we develop the overall algorithm to solve the original problem (15)â€“(18). We discuss these issues in detail from Section 4 to Section 6.

## 4 Optimal relay power allocation with given terminal power allocations

Let *x*
_{
k
} stand for \(P_{R}^{[k]}\) (*k*=1,2,â€¦,*K*). For fixed \(P_{T_{1}}^{[k]}\) and \(P_{T_{2}}^{[k]}\), the problem (15)â€“(18) becomes

where

Let us write down the Karush-Kuhn-Tucker (KKT) conditions [19] to the problem (24)â€“(27) as, for âˆ€*k*,

###
**Proposition**
**1**.

The problem (24)â€“(27) is convex on {*x*
_{
k
}âˆ£*x*
_{
k
}â‰¥0,*k*=1,2,â€¦,*K*}. For fixed *Î»*
_{1},*Î»*
_{2}>0, the left-hand-side (LHS) of (35)â€“(37) are all monotone functions of *x*
_{
k
}.

###
*Proof*.

See Appendix 1.

Form Proposition 1, a bisection search algorithm can be employed to solve the KKT conditions (35)â€“(39), which leads to the optimal solution of the problem (24)â€“(27).

## 5 Optimal first terminal power allocation with given second terminal and relay power allocations

Let *y*
_{
k
} stand for \(P_{T_{1}}^{[k]}\) (*k*=1,2,â€¦,*K*), then for given \(P_{R}^{[k]}\) and \(P_{T_{2}}^{[k]}\), we now consider the optimal power allocation of the first terminal by solving the problem of

where

Let us write down the KKT conditions to the problem (40)â€“(43) as, for âˆ€*k*,

###
**Proposition**
**2**.

The problem (40)â€“(43) is quasi-convex on {*y*
_{
k
}âˆ£*y*
_{
k
}â‰¥0,*k*=1,2,â€¦,*K*}. And for fixed *Î¼*
_{1},*Î¼*
_{2}>0, the LHS of â€“(52) are monotone functions of *y*
_{
k
}.

###
*Proof*.

See Appendix 2.

Based on Proposition 2, the solution to the problem (40)â€“(43) can be obtained by using a bisection search algorithm.

## 6 Optimal second terminal power allocation with given first terminal and relay power allocations

Similarly, based on the optimized \(P_{T_{1}}^{[k]}\) and \(P_{R}^{[k]}\) from above, we now denote \(P_{T_{2}}^{[k]}\) as *z*
_{
k
} and consider the optimization of the second terminalâ€™s power allocation by solving the problem of

where

The KKT conditions to the problem (55)â€“(58) are, for âˆ€*k*

###
**Proposition**
**3**.

The problem (55)â€“(58) is quasi-convex on {*z*
_{
k
}âˆ£*z*
_{
k
}â‰¥0,*k*=1,2,â€¦,*K*}. And for fixed *Î´*
_{1},*Î´*
_{2}>0, the LHS of (65)â€“(67) are monotonically changing with *z*
_{
k
}.

Note the structural similarity between the problem (40)â€“(43) and the problem (55)â€“(58). The proof of Proposition 3 is similar to the proof of Proposition 2 in Appendix 2.

Again, the solution to the problem (40)â€“(43) can be obtained by using a conventional bisection algorithm.

## 7 Overall iterative algorithm and implementation issues

Based on the discussion in Sections 4, 5 and 6, we summarize the proposed AO algorithm for solving the problem (15)â€“(18). This is shown in Table 1.

### 7.1 Converge of the AO algorithm

In general, the alternating optimization method cannot guarantee to converge to the globally optimal solution. However, since we obtain the global optimum for each sub-problem, the proposed AO algorithm converges to a stationary point of the objective function (15). This conclusion has been proved in Appendix 3 and verified by simulation examples in Section 8.

### 7.2 Complexity analysis

The computational complexity of the proposed AO Algorithm can be analyzed as follows. In Table 1, the second step is used to solve the first sub-problem (35)â€“(39). For fixed *Î»*
_{1}, *Î»*
_{2}, and *x*
_{
k
}, 18 real number multiplications are needed to calculate the LHS of (35). Thus, the complexity order of solving the sub-problem (35)â€“(39) is \(\mathcal {O}(18Kc_{x} c_{\lambda })\), where *c*
_{
x
} is the number of bi-section searches to obtain *x*
_{
k
}, and *c*
_{
Î»
} is the number of iterations to obtain *Î»*
_{1} and *Î»*
_{2}. Similarly, the third step and fourth step in Algorithm 1 require a complex order of \(\mathcal {O}(18Kc_{y}c_{\mu })\) and \(\mathcal {O}(18K c_{z}c_{\delta })\), respectively, where *c*
_{
y
}, *c*
_{
Î¼
}, *c*
_{
z
}, and *c*
_{
Î´
} are the number of iterations required to obtain *y*
_{
k
}, (*Î¼*
_{1},*Î¼*
_{2}), *z*
_{
k
}, and (*Î´*
_{1},*Î´*
_{2}), respectively.

Therefore, the per-iteration computational complexity order of the proposed AO algorithm is \(\mathcal {O}(18K(c_{x}c_{\lambda }+c_{y}c_{\mu }+c_{z}c_{\delta }))\), which increases linearly with the number of subcarriers. The number of iterations of the AO algorithm till convergence depends on the stop criterion *Ïƒ*. It will be shown in the next section that about six iterations are required to achieve *Ïƒ*=10^{âˆ’5}.

### 7.3 Implementation issues

Based on [20] which reported that indoor PLC channels have relatively long coherent time, we can reasonably treat \(h_{L_{1}L2}^{[k],(n)}\) (*n*=1,2, *k*=1,â‹¯,*K*, *L*
_{1},*L*
_{2}âˆˆ{*T*
_{1},*T*
_{2},*R*}) as quasi-static. In practice, the CSI of \(h_{T_{1}R}^{[k],(1)}\) and \(h_{T_{2}R}^{[k],(1)}\) can be obtained at the relay node through standard channel training method in the first signaling phase, and then forwarded to two terminals in the second phase. Similarly, in the second phase, terminal *T*
_{
j
}, *j*=1,2, can obtain the CSI of \(h_{RT_{j}}^{[k],(2)}\) via channel training. Then, the second-phase CSI \(h_{RT_{j}}^{[k],(2)}\) is fed back to the relay node so that the power allocation for each node can be calculated (through the proposed AO algorithm) at the relay node and the results are sent to each terminal.

## 8 Numerical examples

In this section, we present simulation results based on a simple testing relay-involved PLC channel. Its topology is given in Fig. 5, where different types of cables have been used for different segments of the network. The parameters for each type of cable can be found in [20]. Moreover, the physical (PHY) layer specification of the HomePlug AV2 protocol [21] has been applied to set the simulation parameters.

(1) The noise of indoor PLC system can be modeled as colored Gaussian noise [22], and the PLC noise model in [23] has been adopted to generate the testing noise. For simplicity, we assume that \(N_{R,1}^{[k]}\), \(N_{T_{1},2}^{[k]}\), and \(N_{T_{2},2}^{[k]}\) are independent and identically distributed (i.i.d.) and share the PSD as shown in Fig. 6, where *k*=1,2,â€¦,1155 is the subcarrier index.

(2) In the proposed system, all three nodes work in the TDD mode, i.e., each of them acts either as a transmitter (Tx) or receiver (Rx) in different signaling phase. They can be modeled by the common circuit structure as shown in Fig. 7. For simplicity, we assume that all three nodes share the same parameters, i.e., in the Tx mode, they have an inner impedance *Z*
_{
g
}=50*Î©*, while in the Rx mode, they have a loading impedance *Z*
_{
l
}=150*Î©*.

(3) A preexisting load *Z*
_{0} (which can represent an appliance, such as a dishwasher) has been deployed on the outlet where the relay device is plugged in. The frequency response of *Z*
_{0} is given in Fig. 8.

(4) With the settings shown above, each signaling path in the relay-involved channel can be treated as a P2P channel, and the latter one can be easily realized by using some published P2P PLC channel models, e.g., here we adopt the model presented in [20]. Thus a group of correlated path gains \(\left (h_{T_{1}R}^{[k],(1)}, h_{T_{2}R}^{[k],(1)}, h_{RT_{1}}^{[k],(2)}, \text {and}\,\, h_{RT_{2}}^{[k],(2)}\right)\) can be generated as shown in Fig. 9. Note in Fig. 9 the P2P channel gain \(\tilde {h}_{T_{1}T_{2}}^{[k]}\) has also been given, which corresponds to the situation where the relay device is unplugged from the grid.

(5) Using (12), the normalized path gains \(\left (\gamma _{T_{1}R}^{[k],(1)}, \!\gamma _{T_{2}R}^{[k],(1)}, \gamma _{RT_{1}}^{[k],(2)}, \text {and}\,\, \gamma _{RT_{2}}^{[k],(2)}\right)\) on each subcarrier can be calculated and they are shown in Fig. 10.

The parameters used for simulation are summarized in Table 2. In addition, for the proposed iterative algorithm, we set the convergence condition as the difference between the total power obtained in two consecutive iterations less than 10^{âˆ’5}.

As an example to demonstrate the convergence speed of the proposed AO algorithm, Fig. 11 shows the total transmission power versus the number of iterations when directional ASC \(\bar {q}_{1}\) in (16) is fixed as 2 bits/s/Hz/subcarrier, while \(\bar {q}_{2}\) in (17) is set to five different values from 1 to 3 bits/s/Hz/subcarrier, respectively. It can be seen that the proposed AO algorithm converges typically within ten iterations. In particular, the decreasing of the total power after six iterations is very small. Thus only a few iterations are required to achieve a good performance. This also indicates that the AO algorithm has a short processing delay, which is important for practical relay-assisted PLC systems. It can also be observed from Fig. 11 that with the increasing of one directional ASC \(\bar {q}_{2}\), more transmission power is needed to meet the stricter QoS constraint on this traffic direction, which reflects the typical QoS-cost trade-off in communication systems.

Next, under the same testing PLC system, we compare the proposed R2WX scheme (which is optimized by the AO power allocation algorithm) with the BDT system. To ensure a fair comparison, we configure the BDT system working as follows. In the first phase, terminal *T*
_{1} sends information signal \(X_{1}^{[k]}\) (*k*=1,2,â€¦,*K*) with power \(D_{T_{1}}^{[k]}\) over the *k*th subcarrier to terminal *T*
_{2} subjecting to the directional QoS requirement (17). As reported in [15] that to meet the ASC constraint on this traffic direction, the optimal power allocation at *T*
_{1} is the classical water-filling algorithm. In the second phase, the terminal *T*
_{2} replies information signal \(X_{2}^{[k]}\) (*k*=1,2,â€¦,*K*) with power \(D_{T_{2}}^{[k]}\) to terminal *T*
_{1} subjecting to the QoS requirement on this traffic direction (16). Again the water-filling algorithm is used for the power allocation at *T*
_{2}. Thus, the total network power of the BDT system is calculated as

The total network power versus the common QoS requirements curve for the BDT system and R2WX system is shown in Fig. 12, where we fix \(\bar {q}_{2}\) at 1.5 bits/s/Hz/subcarrier, and increase \(\bar {q}_{1}\) from 1 to 4 bits/s/Hz/subcarrier. We can see from Fig. 12 that with respect to the BDT system, the AO algorithm makes the R2WX system meet the QoS requirements with much less power consumption.

As an example to show the power allocation on each subcarrier for the BDT and R2WX systems, powers on 70 subchannels (from 631 to 700) are shown in Figs. 13 and 14, respectively, where the ASC on two traffic directions (\(\bar {q}_{1}\) and \(\bar {q}_{2}\)) are set to 2.5 and 1.5 bits/s/Hz/subcarrier, respectively. In Fig. 13, we can see that the terminal *T*
_{2} spends more power than *T*
_{1} on each subchannel, which is a result of the stricter QoS requirement \(\bar {q}_{1}\) on this traffic direction. Despite this, the power allocations in both terminals follow a similar pattern, which reflects the characteristics of the water-filling algorithm. On the other hand, the power allocation for the R2WX system shown in Fig. 14 demonstrates that the AO algorithm not only considers the direct pathâ€™s characteristics but also takes the property of the terminal-to-relay links into account. This leads to a more energy-efficient performance of the R2WX system compared with the BDT system.

Considering the possible EMI from broadband PLC systems to the shortwave radio systems, we hope this power saving property can relieve this issue to some extent.

## 9 Conclusions

We have developed an iterative algorithm to jointly optimize the power allocation between two terminals and one relay node for two-way multicarrier relay systems, where the two terminals exchange information in two signaling phases. In particular, we examined the minimization of the total transmission power when there are minimal capacity requirements on each traffic direction under the indoor PLC environment. Simulation results show that with respect to the conventional BDT system, the proposed algorithm can make the proposed R2WX system attain the same QoS requirements with less total transmission power.

## 10 Appendix 1

###
**Lemma**
**1**.

Log-barrier \(-{\sum \nolimits }_{i=1}^{m}\log _{2}\left (\,f_{i}(x)\right)\) is convex on {*x* | *f*
_{
i
}(*x*)>0} if *f*
_{
i
}(*x*) is concave, where *m*âˆˆ*Z*^{+} [19].

###
**Lemma**
**2**.

A non-negative weighted sum of convex (concave) functions is convex (concave) function [19].

###
**Lemma**
**3**.

âˆ’ log2*f*(*x*) is quasi-convex, if *f*(*x*) is quasi-concave on {*x* | *f*(*x*)>0} [19].

###
**Lemma**
**4**.

\({\sum \nolimits }_{i=1}^{m}f_{i}(x)\) is quasi-convex (quasi-concave), if *f*
_{
i
}(*x*) is non-increasing (non-decreasing), where *m*âˆˆ*Z*^{+} [19].

As *B*
_{
k
},*C*
_{
k
},*F*
_{
k
},*G*
_{
k
}>0 and *D*
_{
k
}>1, \(\left (-\frac {B_{k}}{C_{k}x_{k}+D_{k}}\right)\) and \(\left (-\frac {F_{k}}{G_{k}x_{k}+D_{k}}\right)\) in (25) and (26), respectively, are concave on {*x*
_{
k
}âˆ£*x*
_{
k
}â‰¥0,*k*=1,2,â€¦,*K*}. From Lemmas 1 and 2, it is easy to prove that the LHS of (25) and (26) are convex on {*x*
_{
k
}âˆ£*x*
_{
k
}â‰¥0,*k*=1,2,â€¦,*K*}. Moreover, (24) and (27) are obviously convex. Thus, the problem (24)-(27) is convex on {*x*
_{
k
}âˆ£*x*
_{
k
}â‰¥0,*k*=1,2,â€¦,*K*}.

Furthermore, it can be easily observed that the LHS of (35) is increasing with *x*
_{
k
}, while the LHS of (36) and (37) are decreasing functions of *x*
_{
k
}.

## 11 Appendix 2

As *H*
_{
k
},*J*
_{
k
},*O*
_{
k
}>0 and *L*
_{
k
},*M*
_{
k
},*P*
_{
k
}>1, the expression \(\left (M_{k}-\frac {O_{k}}{J_{k}y_{k}+P_{k}}\right)\) in (42) is increasing and concave on {*x*
_{
k
}âˆ£*x*
_{
k
}â‰¥0,*k*=1,2,â€¦,*K*}. From Lemma 1, it is easy to prove that the LHS of (42) is convex on {*x*
_{
k
}âˆ£*x*
_{
k
}â‰¥0,*k*=1,2,â€¦,*K*}.

The expression \(\left (1+\frac {H_{k}}{J_{k}y_{k}+L_{k}}\right)\) in (41) is monotonically decreasing, so it is quasi-concave. From Lemmas 3 and 4, the LHS of (41) is quasi-convex, so that the problem (40)-(43) is quasi-convex on {*x*
_{
k
}âˆ£*x*
_{
k
}â‰¥0,*k*=1,2,â€¦,*K*}.

Furthermore, we can see that the LHS of (52) is decreasing with *y*
_{
k
}, while the LHS of (50) and (51) are increasing functions of *y*
_{
k
}.

## 12 Appendix 3

Let us write *x*
_{
k
}, *y*
_{
k
}, and *z*
_{
k
} (*k*=1,2,â€¦,*K*) in vector forms as **x**=[*x*
_{1},*x*
_{2},â€¦,*x*
_{
K
}]^{T}, **y**=[*y*
_{1},*y*
_{2},â€¦,*y*
_{
K
}]^{T} and **z**=[*z*
_{1},*z*
_{2},â€¦,*z*
_{
K
}]^{T}, respectively, where (Â·)^{T} denotes the vector transpose.

Since all three sub-problems (24)-(27), (40)-(43), and (55)-(58) are convex/quasi-convex, the solution to each sub-problem is optimal. In other words, at a convergence point *Î¸*^{{n}}=[(**x**
^{{n}})^{T},(**y**
^{{n}})^{T},(**z**
^{{n}})^{T}]^{T}, where the superscript {*n*} denotes the variables at the *n*th iteration, we have

Here âˆ‡_{
Î±
}
*P*(*Î¸*^{{n}}) denotes the gradient of the objective function (15) along the direction of ** Î±**âˆˆ{

**x**,

**y**,

**z**} at

*Î¸*^{{n}}. By summing up (71)-(73), we obtain

where âˆ‡*P*(*Î¸*^{{n}})=[âˆ‡_{
x
}
*P*(*Î¸*^{{n}})^{T},âˆ‡_{
y
}
*P*(*Î¸*^{{n}})^{T},âˆ‡_{
z
}
*P*(*Î¸*^{{n}})^{T}]^{T}.This indicates that *Î¸*^{{n}} is a stationary point of (15).

## References

S Galli, A Scaglione, Z Wang, For the grid and through the grid: The role of power line communications in the smart grid. Proc. IEEE. 99(6), 998â€“1027 (2011).

L Lampe, AH Vinck, in

*The Workshop on Power Line Communications (WSPLC)*. A study on relay network techniques in PLC (Doorwerth, The Netherlands, 2011).L Lampe, AH Vinck, On cooperative coding for narrow band PLC networks. AEU-Int. J. Electron. Commun. 65(8), 681â€“687 (2011).

B Praho, M Tlich, P Pagani, A Zeddam, F Nouvel, in

*IEEE International Symposium on Power Line Communications and Its Applications (ISPLC), 2010*. Cognitive detection method of radio frequencies on power line networks (IEEE,Rio de Janeiro, Brazil, 2010), pp. 225â€“230.T Sartenaer, P Delogne, in

*IEEE International Symposium on Power Line Communications and Its Applications (ISPLC)*. Powerline cables modelling for broadband communications (Udine, Italy,2001), pp. 331â€“337.H Furukawa, H OKada, T Yamazato, M Katayama, in

*IEEE International Symposium on Power Line Communications and Its Applications (ISPLC)*. Signaling methods for broadcast transmission in power-line communication systems (Kyoto, Japan,2003).G Bumiller, in

*IEEE International Symposium on Power-Line Communications and Its Applications (ISPLC)*. Single frequency network technology for medium access and network management (Athens, Greece,2002).S Dâ€™Alessandro, AM Tonello, On rate improvements and power saving with opportunistic relaying in home power line networks. EURASIP J. Adv. Signal Process. 2012(1), 194 (2012).

L Lampe, R Schober, S Yiu, Distributed space-time coding for multihop transmission in power line communication networks. Selected Areas Commun. IEEE J. 24(7), 1389â€“1400 (2006).

JN Laneman, DN Tse, GW Wornell, Cooperative diversity in wireless networks: Efficient protocols and outage behavior. Inform. Theory, IEEE Trans. 50(12), 3062â€“3080 (2004).

S Katti, S Gollakota, D Katabi, in

*ACM SIGCOMM*. Embracing wireless interference: Analog network coding (Kyoto, Japan,2007).CK Ho, R Zhang, Y-C Liang, in

*IEEE International Conference on Communications (ICC)*. Two-way relaying over OFDM: optimized tone permutation and power allocation (IEEEBeijing, China,2008), pp. 3908â€“3912.B Tan, J Thompson, in

*IEEE International Conference on Communications (ICC) Workshops*. Relay transmission protocols for in-door powerline communications networks (IEEE,Milan, Italy,2011), pp. 1â€“5.M Noori, L Lampe, in

*IEEE Global Communications Conference (GLOBECOM)*. Improving data rate in relay-aided power line communications using network coding (IEEE,Atlanta, USA,2013), pp. 2975â€“2980.N Papandreou, T Antonakopoulos, Bit and power allocation in constrained multicarrier systems: the single-user case. EURASIP J. Adv. Signal Process. 2008 (2008). 643081 doi:10.1155/2008/643081.

Y Rong, X Tang, Y Hua, A unified framework for optimizing linear nonregenerative multicarrier mimo relay communication systems. Signal Process. IEEE Trans. 57(12), 4837â€“4851 (2009).

S Galli, TC Banwell, in

*IEEE Consumer Communications and Networking Conference (CCNC)*. Modeling the indoor power line channel: new results and modem design considerations (IEEE,New York, USA,2004), pp. 25â€“30.Y Li, W Wang, J Kong, W Hong, X Zhang, M Peng, in

*IEEE International Conference on Communications (ICC)*. Power allocation and subcarrier pairing in OFDM-based relaying networks (IEEE,Beijing, China,2008), pp. 2602â€“2606.S Boyd, L Vandenberghe,

*Convex Optimization*(Cambridge University Press, Cambridge, UK, 2004).FJ Canete, JA Cortes, L Diez, JT Entrambasaguas, A channel model proposal for indoor power line communications. Commun. Mag. IEEE. 49(12), 166â€“174 (2011). doi:10.1109/MCOM.2011.6094022.

Homeplug AV2, White Paper. http://www.homeplug.org/techresources/resources/. Accessed on 17 Sep. 2015.

JA Cortes, L Diez, FJ Canete, JJ Sanchez-Martinez, Analysis of the indoor broadband power-line noise scenario. Electromagnetic Compatibility, IEEE Trans. 52(4), 849â€“858 (2010). doi:10.1109/TEMC.2010.2052463.

D Benyoucef, in

*Proceedings of the 7th International Symposium on Power-Line Communications and Its Applications, Kyoto, Japan*. A new statistical model of the noise power density spectrum for powerline communication, (2003), pp. 136â€“141.

## Acknowledgements

We thank our Editor and Reviewers for careful reading of our manuscript and helpful comments that significantly improve the quality of the manuscript.

## Author information

### Authors and Affiliations

### Corresponding author

## Additional information

### Competing interests

The authors declare that they have no competing interests.

## Rights and permissions

**Open Access** This article is distributed under the terms of the Creative Commons Attribution 4.0 International License (http://creativecommons.org/licenses/by/4.0/), which permits unrestricted use, distribution, and reproduction in any medium, provided you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons license, and indicate if changes were made.

## About this article

### Cite this article

Wu, X., Rong, Y. Joint terminals and relay optimization for two-way power line information exchange systems with QoS constraints.
*EURASIP J. Adv. Signal Process. * **2015**, 84 (2015). https://doi.org/10.1186/s13634-015-0265-3

Received:

Accepted:

Published:

DOI: https://doi.org/10.1186/s13634-015-0265-3