 Research
 Open Access
 Published:
Resource allocation for the multipleaccess relay channels and OFDMA
EURASIP Journal on Advances in Signal Processing volume 2013, Article number: 120 (2013)
Abstract
Within this article, the resource allocation problem for the multipleaccess relay channel with orthogonal channel access is analysed. We propose a centralised optimisation framework that maximises the achievable sum rate of the network and that can be applied to a wide range of scenarios. We analyse different approaches to tackle the problem with individual transmit power constraints such as relaxing of constraints and splitting of the joint problem into a carrier allocation and individual power allocations. The carrier allocation deals with the exclusive assignment of subcarriers to different users, and the power allocation addresses the distribution of available power over assigned subcarriers. Several approaches are proposed for amplify and forward, decode and forward, and compress and forward strategies, and the performance as well as computational effort is evaluated by simulations. The obtained results suggest that the proposed algorithms can perform close to optimal.
1 Introduction
Recently it was shown that the throughput in a network can be significantly increased using multipleinput multipleoutput or advanced error correction techniques. However, this might not be sufficient to provide a required quality of service if there are long distances between the users and the base station. It is well known that relays can improve communication between the base station and mobile nodes in such a situation. Especially if a user is close to the cell edge, the network can benefit from assisting relay nodes. Relay nodes can enhance throughput, save power, increase the coverage area or fill some coverage black spots without the need for a wired backhaul connection.
Yet, relay nodes introduce additional complexity to resource allocation problems. The use of available bandwidth and transmit power has to be optimised to utilise relays efficiently. The optimal choice of resource allocations depends on several parameters, such as the considered channel model (e.g. fading), the applied relaying protocol or the actual topology of the network. Furthermore, a sophisticated protocol is required for message forwarding or relay selection in case of multiple relay nodes. Hence, many nontrivial optimisation problems are connected to relay networks. Within this work, we will analyse some of these for a multipleaccess relay channel (MARC) assuming a halfduplex constraint, orthogonal channel access and individual power constraints.
1.1 Related work
The general relay channel model was introduced in 1971 by van der Meulen in[1, 2]. In 1979, Cover and Gamal analysed ‘Capacity theorems for the relay channel’[3] in great detail. The same work has also introduced two fundamental coding strategies, nowadays well known as decode and forward (DF) and compress and forward (CF).
Research in the area of relay networks attracted much attention in the last years due to improved capabilities in the field of computer science. Today, even mobile devices can provide sufficient computing power for relaying. It is therefore reasonable that relaying has been considered during the standardisation processes of actual mobile radio standards such as LTEAdvanced. Furthermore, much work has been spent to determine capacity bounds and rate regions for relay networks. The singleuser Gaussian relay channel as well as the MARC has been analysed, for example, in[4–9] with respect to (w.r.t) outage probabilities or achievable transmission rates and a wide range of relay protocols.
In order to reach the obtained theoretical bounds, several optimisation strategies have been derived for solving resource allocation problems. Starting with a singleuser pointtopoint orthogonal frequency division multiplexing (OFDM) system, the optimal power allocation is obtained by the wellknown waterfilling solution[10]. The solution for multiple users in an orthogonal frequency division multiple access (OFDMA) system is more involved due to the additional carrier allocation (CA) problem. OFDMA uplink and downlink have been considered by several authors, and many solutions have been proposed[11–18]. In general, there are three different approaches to solve such a mixed integer programming problem: The exhaustive search checks all possible subcarrier assignments[16, 18], relaxing of constraints transforms integers into real valued variables[11, 14] and dual decomposition searches for the optimal CA in the dual domain[16, 17]. Yin and Lui[13] showed that the subcarrier allocation for the OFDMA downlink can be solved efficiently by the Hungarian algorithm.
A different power allocation problem arises for a relayassisted singleuser OFDM system[19–30]. An iterative algorithm has been proposed by Hammerström and Wittneben in[21, 22] for the case of amplify and forward (AF). Lowcomplexity algorithms for DF strategies were proposed by Zhang and Lau[23] and Vandendorpe et al.[24, 25, 27]. Wang et al.[20], Boostanimehr et al.[28], Shi and Zhao[29] and Hsu et al.[30] considered subcarrier pairing to exploit spatial diversity.
The resource allocation problem considered within this work combines both problems. Power and subcarrier allocation will be analysed in an uplink OFDMA system that is assisted by a relay. Ng and Yu[31] and Jitvanichphaibool et al.[32] considered the relay selection and power allocation problem for AF and DF strategies. They combine a dual decomposition approach with an exhaustive search for the relay selection. However, an exhaustive search over all possible carrier allocations is only feasible for few subcarriers or if the number of subcarriers per user is fixed. Furthermore, dual decomposition cannot be applied to our problem since our problem is not separable in the subcarriers. If the subcarrier assignment is changed, power constraints of multiple nodes are affected. El Soussi et al.[33] considered a power allocation (PA) problem for the downlink where subcarriers might be shared between source and relay nodes, but their results suggest that at most one user should be relayed per subcarrier. Furthermore, the solution of the dual optimisation in that work is not applicable to our scenario as a sum power constraint is considered.
1.2 Contributions
Within this article, the general resource allocation problem is analysed for the halfduplex MARC with orthogonal channel access and individual power constraints at all nodes. Contrary to some publications referenced in the previous section, we will look at the joint problem with a single relay and multiple users. However, we will not neglect the direct path, and we will consider individual power constraints for all nodes. We formulate the nonconcave problem for the MARC with OFDMA and give a survey of different centralised methods to tackle the maximisation of the achievable sum rate for a wide range of relaying strategies. The considered approaches are as follows:

Relaxing of constraints and decomposition into individual subproblems

Solving the Lagrangian dual problem for different relaying strategies

A simple gradient method that achieves excellent results even if the global problem is not concave

A modification of the Hungarian algorithm to solve the CA problem in polynomial time

An improved greedy CA
In general, most of the considered methods have been applied to different or closely related optimisation problems before. Within this article, we will show how these approaches can be utilised for the MARC with OFDMA. Required modifications, derivations, as well as possible improvements are presented. Furthermore, we provide several simulation results, present a comparison of the considered methods and give a brief analysis of the related computational effort.
The rest of this article is structured as follows: First, the analysed system model, basic assumptions, relay protocols and a formal problem description are introduced in 2. Afterwards, optimal and nearoptimal algorithms to solve the global resource allocation problem (3) as well as carrier allocation (4) and power allocation (5) subproblems are derived. Finally, 6 presents numerical results of simulations and compares the proposed algorithms.
2 Problem description
This section will introduce the network, channel models, as well as relay strategies that are considered for the optimisation of the achievable sum rates. Afterwards, a mathematical description of the general resource allocation problem will be introduced.
2.1 System model
Within this work, a wireless MARC with mobile nodes is considered. In general, there is a set of K source nodes${\mathcal{S}}_{k}$ with$k\in \mathbb{K}=\{0,\dots ,K1\}$, a single destination$\mathcal{D}$ and a single relay node$\mathcal{R}$. The source nodes${\mathcal{S}}_{k}$ transmit independent messages to the destination$\mathcal{D}$, and the relay node$\mathcal{R}$ assists in the transmission, improving the achievable rates. The position of any node$\mathcal{A}$ in the xyplane is given by its coordinates${x}^{\left(\mathcal{A}\right)}$ and${y}^{\left(\mathcal{A}\right)}$. The Euclidean distance between any two nodes$\mathcal{A}$ and$\mathcal{B}$ is then denoted${d}_{\left(\mathcal{A}\mathcal{B}\right)}$. A simple example with three source nodes is depicted in Figure1.
Since communication is assumed to be wireless, a multipleaccess scheme has to be chosen such that there is no interference between the data streams of different nodes. Within this work, a halfduplex scheme is assumed, i.e. a node cannot transmit and receive simultaneously. The considered transmission scheme will be a combination of a time division multiple access and an OFDMA scheme.
In the first time slot, the source nodes${\mathcal{S}}_{k}$ are allowed to send their information while relay$\mathcal{R}$ and destination$\mathcal{D}$ receive messages. Afterwards, the relay can forward previously received messages in a second time slot with the same length. Finally, destination$\mathcal{D}$ can combine obtained information from both time slots.
Interference between the data streams of different users is avoided by separation in frequency domain. OFDMA splits the available bandwidth into a set of N orthogonal subcarriers$\mathbb{N}=\{0,\dots ,N1\}$. These subcarriers are assigned exclusively to the source nodes, where${\mathbb{N}}_{k}\subset \mathbb{N}$ is a subset of the exclusively assigned subcarriers$({\mathbb{N}}_{i}\cap {\mathbb{N}}_{j}=\varnothing \forall i\ne j)$ to source node${\mathcal{S}}_{k}$.
The cardinality of this set is$\left{\mathbb{N}}_{k}\right$. The subcarrier assignments${\mathbb{N}}_{k}$ are valid for source nodes${\mathcal{S}}_{k}$ as well as for relay$\mathcal{R}$. Subcarrier pairing as proposed in[20, 28] will not be considered.
In general, a frequencyselective channel of bandwidth B is assumed. Due to the application of OFDMA, the links between nodes$\mathcal{A}$ and$\mathcal{B}$ on a single subcarrier n can be characterised by a scalar factor${H}_{n}^{\left(\mathcal{A}\mathcal{B}\right)}$. These channel coefficients are assumed to be i.i.d. They are circular symmetric normal distributed${H}_{n}^{\left(\mathcal{A}\mathcal{B}\right)}\sim \mathcal{C}\mathcal{N}(0,{d}_{\left(\mathcal{A}\mathcal{B}\right)}^{\alpha})$, and their variance has been chosen such that the expectation of the absolute value$E\left\{{H}_{n}^{\left(\mathcal{A}\mathcal{B}\right)}\right\}$ becomes path loss factor$\sqrt{{d}_{\left(\mathcal{A}\mathcal{B}\right)}^{\alpha}}$. Furthermore, we assume a slowfading environment, i.e. the channel coefficients are assumed to be constant over time.
Each transmission is also disturbed by additive white Gaussian noise of variance${\sigma}_{\mathrm{N}}^{2}$ leading to the signaltonoise ratio (SNR) of subcarrier n at receiver$\mathcal{B}$
In (1),${p}_{n}^{\left(\mathcal{A}\right)}$ is the power node$\mathcal{A}$ spends for transmission on the n th subcarrier. For the sake of clarity, the channeltonoise ratio of the n th subcarrier will be denoted by${\lambda}_{n}^{\left(\mathcal{A}\mathcal{B}\right)}=\frac{{H}_{n}^{\left(\mathcal{A}\mathcal{B}\right)}{}^{2}}{{\sigma}_{\mathrm{N}}^{2}}$.
According to the definition in[34], Theorem 17, the channel capacity for a pointtopoint communication on a single subcarrier n between two nodes$\mathcal{A}$ and$\mathcal{B}$ is given by
The power that transmitter$\mathcal{A}$ spends to send a message over the n th subcarrier is given by${p}_{n}^{(\mathcal{A})}\ge 0$. The vector containing the complete power allocation at node$\mathcal{A}$ is denoted by${\mathit{p}}^{(\mathcal{A})}={\left[{p}_{0}^{(\mathcal{A})},\dots ,{p}_{N1}^{(\mathcal{A})}\right]}^{T}$.
Each node is equipped with an individual power supply. For fixed time slot lengths, the available transmit power per time slot is thus limited by individual power constraints
Finally, we have to choose the constraint P _{max} such that the average energy consumption is independent of N and K. This can be achieved by solving the average SNR of a single subcarrier
for P _{max}. In (4), the term$\frac{{P}_{max}}{N/K}$ is the available average power per subcarrier and user.
This normalisation is necessary to ensure a fair comparison of simulation results for different N.
2.2 Relay protocols
In general, the relay assists the source nodes${\mathcal{S}}_{k}$ in transmitting messages to destination$\mathcal{D}$. Using a relay might be reasonable if the direct link is poor due to a large path loss or shadowing. Here, a relay can improve the communication by forwarding received signals from source nodes towards the destination. In the considered MARC, a single relay node$\mathcal{R}$ assists multiple source nodes${\mathcal{S}}_{k}$ in the transmission of information over N orthogonal subcarriers. However, the actual throughput of the MARC depends on the protocol that is used at the relay node.
2.2.1 Amplify and forward
Amplify and Forward is a simple protocol, where the relay node$\mathcal{R}$ just rescales the received signal before retransmitting it to the destination node$\mathcal{D}$. Afterwards, node$\mathcal{D}$ performs maximum ratio combining of received messages from the first and second time slot.
The achievable transmission rate for the AF protocol is given by[5]
where factor 1/2 is caused by the halfduplex constraint.
2.2.2 Decode and forward
Another common strategy is to decode and forward received messages at the relay. After relay$\mathcal{R}$ successfully decoded the received message, the information is reencoded with the same code and forwarded to the destination in the second time slot. Therefore, relay$\mathcal{R}$ retransmits exactly the same code word as the source node.
If$\mathcal{R}$ is constrained to decode received messages successfully, the scheme will be denoted as nonadaptive decode and forward (nDF). If$\mathcal{R}$ would not be able to decode without errors, the transmission rate has to be reduced such that successful transmission over the$\mathcal{S}\to \mathcal{R}$ path is possible. The achievable transmission rate on a subcarrier is therefore limited by the SNR at relay$\mathcal{R}$ and by the SNR at destination$\mathcal{D}$. The rate${r}_{n,k}^{\text{nDF}}$ of the nonadaptive DF strategy is given by[5], Equation (15)
The rate${r}_{n,k}^{\mathcal{R}}$ corresponds to the maximum rate at which relay$\mathcal{R}$ can decode the source message successfully, while the term${r}_{n,k}^{\mathcal{D}}$ represents the rate at which destination$\mathcal{D}$ can reliably decode.
In contrast to that, an adaptive decode and forward (aDF) might switch between nonaDF and direct transmission depending on the actual channel states. If the relay is not able to decode successfully on the n th subcarrier, a transmission over the direct path is the better choice and the relay will be turned off for that subcarrier. The transmission rate${r}_{n,k}^{\text{aDF}}$ can be formulated as a combination of nDF and direct transmission:
2.2.3 Compress and forward
The AF strategy amplifies not only the signal energy but also the noise received at the relay. Thus, the destination node has to deal with its own noise and with the amplified noise from the$(\mathcal{S})\to \mathcal{R}$ link. Contrary, the DF strategy removes the influence of noise from the$(\mathcal{S})\to \mathcal{R}$ path by decoding messages at the relay node. However, successful decoding at the relay$\mathcal{R}$ has to be ensured for that strategy.
A third relay protocol known as CF was proposed by Cover and Gamal in[3]. The CF strategy can be considered as a tradeoff between the previously discussed strategies. The main idea is to compress the observed message at relay$\mathcal{R}$ before forwarding. Relay$\mathcal{R}$ does not decode the received messages, but it quantises (i.e. compresses) the received observations and reencodes and transmits them to destination$\mathcal{D}$. Hence, useful information, as well as noise from the$\mathcal{S}\to \mathcal{R}$ path, will be forwarded to the destination. The advantage over the AF protocol lies in the property that even if there is some additional distortion Z _{ w } due to quantisation, the noise of the$\mathcal{S}\to \mathcal{R}$ path will not be amplified. In case of CF, the additional distortion is controlled by the quantisation, and it is chosen such that there is still no further loss of information on the second hop.
The achievable transmission rate for CF in a wireless, halfduplex, Gaussian relay channel has been derived by HøstMadsen and Zhang for the nonorthogonal case in[7], Equation (15). The solution can easily be adjusted to the considered relay network within this work. It is given by
where${\sigma}_{w}^{2}$ is the variance of the compression noise${Z}_{w}\sim \mathcal{C}\mathcal{N}\left(0,{\sigma}_{w}^{2}\right)$.
The derivation of the optimal choice of variance${\sigma}_{w}^{2}$ is not shown here but can be found in[7, 8]:
2.3 General resource allocation problem
Next, we will define the sum rate R of the whole network. It is given by the summation of rates r _{ n,k } over all users$k\in \mathbb{K}$ and all subcarriers$n\in {\mathbb{N}}_{k}$ that have been assigned to that user:
The specific rates r _{ n,k } that source node${(\mathcal{S})}_{k}$ can achieve on the n th subcarrier depend on the applied relaying strategy and have been defined in Section 2.2. Combining the above definitions, it is possible to formulate the general resource allocation problem that will be analysed within this work. In general, we look for the CA and PA that maximise the achievable sum rate R:
Since CAs have to be exclusive, this problem is a mixed integer programming problem. As an alternative to the set notation used so far, the subcarrier allocations can also be described by an assignment matrix:
If the element z_{ n,k } is equal to 1, subcarrier n is allocated to source node${\mathcal{S}}_{k}$. Consequently, it is allocated to some other source node if z_{ n,k } = 0:
The exclusive subcarrier assignments (19) and (20) can also be expressed by
The modified notation with variables z_{ n,k } is equivalent to the previously defined sets${\mathbb{N}}_{k}$ and enables easier explanations for the proposed algorithms.
In order to maximise the sum rate, the resource allocation problem (14) to (20) has to be solved. We consider a slowfading environment where full channel state information (CSI) is available at a central node, i.e. that node knows the fading coefficients of all links between all nodes. The resource allocation is performed in a centralised way. It is not necessarily part of the transmission scheme, but it manages the allocation of available resources in the network. The additional effort due to signalling to the central node as well as the required protocols to share side information is neglected within this work. We are well aware that this is a critical point as the actual throughput of the system might be much lower than the achievable sum rate R, but overhead analysis and partial CSI are beyond the scope of this work. We refer interested readers to[35] where a distributed resource allocation scheme with partial CSI is proposed that has a communication overhead of at most K · log_{2} N bits. It is shown in[35] that the reduction in throughput due to partial CSI is moderate if diversity can be exploited.
3 Joint allocation
The next sections will introduce a number of algorithms to solve the resource allocation problem. First, the joint allocation (JA) problem will be considered. Afterwards, CA and PA problems are analysed separately in subsequent sections. In general, the description of algorithms will not be restricted to a specific relay protocol. If there are some additional aspects for a particular relay protocol, they will be considered after the general description.
3.1 Exhaustive search
The exhaustive will be used as a reference and an upper bound for the achievable sum rate. The main idea is to check all possible subcarrier assignments${\mathbb{N}}_{k}$ of all source nodes${\mathcal{S}}_{k}$. As the sum rate R depends on the CA as well as the PA, the optimal choice of sets${\mathbb{N}}_{k}$ can only be found if the PA problem is solved for each possible CA. However, since sum rate R is not concave w.r.t the PA, finding the global optimum is hardly feasible. For the analysis, the Optimization Toolbox V6.0 of Matlab R2011a has been run 50 times with different initial values per channel realisation to determine the PA. After checking all usersubcarrier combinations, the result with the best sum rate R will be chosen.
On the one hand, this algorithm might be able to find the optimal subcarrier assignments, but on the other hand, the computational effort$\mathcal{O}({K}^{N})$ to solve the integer problem is infeasible for practical applications. For a small problem with K = 2 users and N = 4 subcarriers, the computation is done quickly. For N = 256 subcarriers, however, the exhaustive cannot be done in reasonable time as there are 2^{256} ≈ 10^{77} possible subcarrier assignments.
3.2 Relaxing of constraints
A common approach to solve integer problems is relaxing their constraints[11, 17]. As the combinatorial problem within this work is caused by the exclusive subcarrier allocations, relaxing constraint (23) leads to real valued subcarrier assignments
Subcarriers are thus no longer assigned exclusively to a single user, but multiple users can share a single carrier. In general, this is incompatible with the definitions made above, but it is reasonable under certain conditions. If there are M OFDM symbols to be transmitted and M is large, source node${\mathcal{S}}_{k}$ is allowed to transmit M · z_{ n,k } symbols on subcarrier n. The remaining M · (1 − z_{ n,k }) OFDM symbols belong to other source nodes. With this interpretation, the channel access can again be done exclusively, but each subcarrier might be shared over time. In general, time sharing[11] is a reasonable assumption if the channel is constant over a long period of time.
3.2.1 Gradient descent method
The relaxed JA problem can be tackled with a modified gradient descent method[36]. Since subcarrier allocations z_{ n,k } are real valued now, objective R is continuously differentiable and partial derivatives can be computed for all variables.
The basic idea of the iterative algorithm can be described by an iterative update:
where i is an iteration counter and vector x is a substitution for the resource allocation variables${\{{\mathbf{z}}_{n}\}}_{n=0}^{N1}$,${\{{\mathit{p}}^{({\mathcal{S}}_{k})}\}}_{k=0}^{K1}$ and${\mathit{p}}^{(\mathcal{R})}$. The variable ϑ _{ x } is a scalar step size, and R _{ ∂ x } is an iterative update variable. Next, we have to compute a feasible update direction. The initial value of R _{ ∂ x } corresponds to the partial derivative
As the gradient of sum rate R is always positive for all elements, the updated allocation vectors x[i + 1] always violate the individual sum constraints (17), (18) or (24). To stay in a feasible region, the gradient vector has to be projected back to the feasible region. This can be achieved by subtracting the mean values of partial derivatives:
The modified gradient spends more power for elements with a strong gradient and removes some power from elements with low gradients. If this again leads to a negative element x [i + 1], it has to be further adjusted such that x [i + 1] fulfils the lower bounds (15), 16 and (25):
After R _{ ∂ x } [i] has been computed, the new resource allocations x[i + 1] and the corresponding sum rate R [i + 1] can be calculated for a given step size ϑ _{ x }.
The proposed algorithm will be repeated iteratively until the achieved gain becomes smaller than a constant ε. For simulation, ε = 10^{−8} will be chosen as stopping condition and the initial allocation elements are given by the average values:
A summary of the proposed gradient algorithm is shown in Algorithm 1.
Algorithm 1 Gradient descent algorithm
For low SNRs, the subcarrier assignments z_{ n,k } converge to integer values {0,1} due to the choice of appropriate feasibility updates (28) and (29). If subcarrier allocation z_{ n,k } becomes low or close to 0 for an arbitrary subcarrier, the gradient and, therefore, the value of the corresponding power${p}_{n}^{({\mathcal{S}}_{k})}$ will also become small in the next iteration. Since the gradient of z_{ n,k } again depends on power${p}_{n}^{({\mathcal{S}}_{k})}$, a value that once became low can merely become high again and z_{ n,k } will become equal to 1 or 0 after few iterations. The result found by the gradient will therefore satisfy the integer constraint (24) even if time sharing allows z_{ n,k } to be real valued. For high SNRs, however, z_{ n,k } will not converge to integer values, but to a uniform distribution. In that case, we will choose those subcarriers that contribute the highest rates.
The modified gradient can be applied to the relaxed problems for the AF and CF protocols, even if the corresponding objectives are nonconcave. It must be noted, however, that the solution might differ from the global optimum.
The obtained rates will be evaluated later in Section 6.
3.2.2 Subgradient method
Due to the minimum and maximum terms in the rate functions (8) and (10), the gradient is not directly applied to the DF problems. The rate functions are not differentiable at all points, but the subgradients[37] can be defined nonetheless. As described in[38], a subgradient has to be applied here that adjusts the step size based on the iteration counter i. For implementation, a nonsummable diminishing step size[38] has been chosen:
Contrary to the above gradient, the updates according to (26) will not be undone if the objective becomes worse after an update. Thus, the implemented algorithm has to keep track of the best achieved sum rate and corresponding resource allocations:
A common approach to improve the pace of convergence is to combine a bundle of previous subgradients to approximate the steepest descent direction[38]. The modified initialisation of the update variables (27) is then given by
where$\alpha =\frac{1}{4}$ has been chosen for implementation. As the outlined algorithm will not adjust the step size to the slope of the objective, the convergence speed will be reduced dramatically.
4 Carrier allocation
Solving the global resource allocation problem is difficult due to the unknown subcarrier allocation sets${\mathbb{N}}_{k}$. However, if optimal${\mathbb{N}}_{k}$ would be known a priori, only the power allocations${\mathit{p}}^{({\mathcal{S}}_{k})}$ and${\mathit{p}}^{(\mathcal{R})}$ at the source and the relay node are left unknown. Thus, we will split the primal resource allocation problem into a separate CA problem and an individual PA problems.
This section deals with the optimisation of the CA assuming that the PAs are fixed:
4.1 Random carrier allocation
The first approach assigns each subcarrier randomly to a specific user. If the probabilities are equal for all users, no CSI is required and the computational effort is low. On the other hand, the result might be far from the optimum. This approach serves as a lower bound.
4.2 Improved greedy allocation
As the name suggests, the CA immediately selects the best users for each subcarrier in a single step. The proposed approach consists of two steps, and the general idea is similar to[12]. All subcarriers are considered separately, and for each subcarrier n, the user k with the best rate r _{ n,k } is chosen. To calculate specific rates r _{ n,k }, the power is assumed to be uniformly distributed onto the subcarriers:
This PA is of course not the optimal one. Actually, it might not even be feasible, but it nevertheless ensures a fair comparison of users.
The algorithm described so far will often fail to find the optimal CA. If the channel coefficients are similar for different users, the selection of an inferior subcarrier instead of the best subcarrier might be beneficial. To clarify this observation, we would like to give an extreme example. In the case of an empty set${\mathbb{N}}_{k}=\varnothing $, the source node${\mathcal{S}}_{k}$ will not get any subcarrier. However, if no subcarrier is assigned to${\mathcal{S}}_{k}$, its available transmit power cannot be used to improve the sum rate R.
Therefore, some kind of postprocessing is required that checks for possible improvements of sum rate R. After the initial (greedy) assignment, the improved Greedy CA searches for subcarriers that should be reassigned to other source nodes. A subcarrier will be moved to a different allocation set${\mathbb{N}}_{k}$ if this leads to an improvement in the sum rate R.
To keep computational effort low, the available power will be distributed uniformly among subcarriers for the computation of rates r _{ n,k }. The proposed algorithm is shown as a pseudocode in Algorithm 2.
Algorithm 2 Improved greedy carrier allocation
The greedy part and each iteration of the second part require N K steps for computation, but the second part is repeated until no further improvement can be achieved. If it is assumed that each subcarrier is assigned to each user at most once in the second part, the computational effort of the improved Greedy CA is limited to$\mathcal{O}({N}^{2}{K}^{2})$.
4.3 Hungarian carrier allocation
The next approach is based on the Hungarian algorithm[39] that solves arbitrary quadratic assignment problems in polynomial time.
If there are, for example, n persons and n jobs to be done, the quadratic matrix
describes the cost matrix, where element m _{ i,j } corresponds to the cost of person i doing job j. If each person is supposed to do exactly one job, the allocation problem is to find the exclusive assignment matrix Z that minimises the sum over the costs of all jobs:
The trivial solution of this problem is to check all n! possible assignments and choose the set with the lowest total costs. The Hungarian algorithm proposed in[39] solves this problem in$\mathcal{O}({n}^{4})$ time. Further modifications of the algorithm lead to a reduction to$\mathcal{O}({N}^{3})$[40].
If it is possible to apply the algorithm to the integer problem within this work, it might be possible to reduce the exponential effort required to do the exhaustive. The Hungarian algorithm can be applied to our problem if the persons are replaced by source nodes${\mathcal{S}}_{k}$ and the jobs are replaced by the N subcarriers. The cost elements correspond to the negative rate −r _{ n,k } that a source node${\mathcal{S}}_{k}$ can achieve on subcarrier n:
However, the knowledge of optimal PA vectors${p}_{n}^{({\mathcal{S}}_{k})}$ and${p}_{n}^{(\mathcal{R})}$ is required to compute the costs −r _{ n,k }. Similar to the greedy approach above, the PAs are assumed to equal the average values (37) and (38). The Hungarian algorithm in itself is restricted to the solution of quadratic assignment problems, whereas the cost matrix of the CA problem is of size N × K. If there are more subcarriers than users N > K, multiple subcarriers can be assigned to the same user.
However, if the number of subcarriers per source node${\mathbb{N}}_{k}$ is known, a valid cost matrix can be found
where the rates r _{ n,k } of each source node${\mathcal{S}}_{k}$ might be listed multiple times in${\mathbb{N}}_{k}$ columns. That way the cost matrix is stretched to size N × N.
As the number of subcarriers per user is not a priori known, the Hungarian algorithm has to solve several problems, one for each combination$\{{\mathbb{N}}_{0},\cdots \phantom{\rule{0.3em}{0ex}},{\mathbb{N}}_{K1}\}$. This will be clarified based on an example. For K = 2 source nodes and N = 4 subcarriers, there are five possible combinations of$\{{\mathbb{N}}_{0},{\mathbb{N}}_{1}\}$: {4,0},{3,1},{2,2},{1,3} and {0,4}. For the first one, the Hungarian algorithm will assign all subcarriers to source node${\mathcal{S}}_{0}$. In the second case, only three subcarriers will be assigned to${\mathcal{S}}_{0}$, but one subcarrier will be assigned to${\mathcal{S}}_{1}$. Finally, the sum rates must be calculated for all of these five possibilities, and the best one is chosen as the solution.
At first glance, this seems to be similar to the primal exhaustive search problem, but as the Hungarian algorithm finds the best allocation, the ordering of columns is irrelevant in the cost matrices. In the considered example, there are five possible cost matrices that have to be optimised by the Hungarian algorithm. Contrary, an exhaustive search has to check K ^{N} = 2^{4} = 16 possible subcarrier allocations.
In general, the number of possible cost matrices is given by$\frac{(N+K1)!}{(K1)!(N)!}$. Since the Hungarian algorithm itself is bounded above by$\mathcal{O}({N}^{3})$, the maximum overall effort is below$\mathcal{O}({N}^{K})$. For N ≫ K, this is much lower than the effort$\mathcal{O}({K}^{N})$ required for an exhaustive search. However, the complexity is still much higher than the effort of the greedy approach.
The entire algorithm is summarised as a pseudocode in Algorithm 3.
Algorithm 3 Hungarian carrier allocation
5 Power allocation
The general resource allocation problem has been defined in (14) to (20). However, if sets${\mathbb{N}}_{k}$ have been obtained by one of the proposed CA algorithms, only the power allocation vectors are left unknown.
5.1 Equal power allocation
The first approach is straightforward and does not require any CSI. For each node, the available power P _{max} is distributed uniformly over allocated subcarriers:
5.2 Separate power allocation
For the direct pointtopoint transmission over n orthogonal channels, the PA is done optimally by the wellknown waterfilling solution. It can be derived by dual optimisation, since the duality gap becomes zero for convex optimisation problems. However, this solution is not valid for the relay network. If there is a relay node, the PA depends on the protocol used at that relay node and the PA problem is not necessarily convex.
Another issue is the number of power constraints. As this work is restricted to the case of individual power constraints, each additional user will add a new constraint to the optimisation problem. The number of Lagrange multipliers in the dual optimisation therefore depends on the number of source nodes K. A general solution of such a dual optimisation problem for K users is therefore hard to find. Even if we assume that each additional Lagrange multiplier can be found with an additional search over that parameter, the computational effort will increase exponentially with the number of source nodes K. Furthermore, the duality gap would not necessarily be zero if the problem is not concave.
To solve the PA problem for all nodes, we will split the problem into K + 1 subproblems. There is one individual subproblem for each power constraint:
If the power allocations of the other nodes are fixed, the remaining subproblem will be concave for all of the considered relay protocols. They can therefore be solved optimally by dual optimisation. A detailed derivation of the solutions${\mathit{p}}^{\ast (\mathcal{R})}$ and${\mathit{p}}^{\ast ({\mathcal{S}}_{k})}$ for the considered relay protocols can be found in the Appendix.
A global power allocation solution can be obtained by solving the subproblem of all nodes iteratively. Then, a solution${\mathit{p}}^{({\mathcal{S}}_{k})}$ for node${\mathcal{S}}_{k}$ can be used as a constant value in the next subproblem of node${\mathcal{S}}_{k+1}$. Hammerström et al. suggested in[22] that the uniform power distribution is a good initial starting point for an iterative algorithm. This iterative process can be repeated until the result is good enough or no further significant gain can be obtained. The proposed algorithm is summarised as a pseudocode in Algorithm 4.
Algorithm 4 Separate power allocation
Next, we will have a look at the convergence behaviour of this approach. In general, the PA is only guaranteed to converge to an unambiguous PA if the global PA problem is concave. However, if the global PA would be concave, dual optimisation can be applied directly. Nevertheless, although the global PA problem is not concave, simulations indicate that solving subproblems (48) and (49) iteratively leads to convergence after few iterations. Figure2 shows the the convergence of Algorithm 4. The number of optimisation cycles refers to the number of iterations in the REPEATUNTIL loop in Algorithm 4, and the relative sum rates are normalised to the obtained sum rate after convergence has been reached.
5.2.1 Decode and forward
For the DF protocols, the sum rates obtained by solving subproblems iteratively are significantly worse than the results obtained by a gradient approach. As described earlier, this is due to the hard borders caused by the minimum and maximum terms in the rate functions. We will thus extend the algorithm for the DF protocols. In accordance with the bundle approach of the subgradient method, the process of convergence is slowed by applying a simple filter with infinite impulse response to the results${p}_{n}^{\ast (\mathcal{A})}[i]$ of the separate power optimisations:
6 Results
In this section, the proposed algorithms will be analysed and compared w.r.t the achieved sum rates and the computational effort. For the compound approaches, CA is done first and only once. The PA is also performed only once using the previously obtained CA.
We will use a basic setup but vary different simulation parameters such as the position of nodes, the SNR and the number of subcarriers N. Unless otherwise specified, there is a MARC with K = 2 source nodes. The source and destination nodes form a normalised, equilateral triangle as depicted in Figure3. For the analysis, a constant path loss exponent α = 4 is assumed that is valid for urban areas with high attenuations[41, Chapter 3]. The number of subcarriers is N = 4, and P _{max} is chosen such that the average SNR between${\mathcal{S}}_{0}$ and$\mathcal{D}$ becomes$E\{{\gamma}_{n}^{({\mathcal{S}}_{0}\mathcal{D})}\}=1\hat{=}0\phantom{\rule{1em}{0ex}}\mathrm{dB}$. This average SNR for the direct path has been chosen low, such that the application of a relay is reasonable.
Most of the presented numerical results will be restricted to the AF and nDF protocols as results will not differ much for CF and aDF, respectively. Of course, the achieved sum rates are not identical due to the different objectives in the optimisation problems, but the relations between the curves of the proposed algorithms are similar and conclusions are thus almost identical.
6.1 Relay position
First, we compare the obtained sum rates for different relay positions, i.e. we move the relay node$\mathcal{R}$ in horizontal direction. Figure4 shows the average sum rates over the normalised relay position${x}_{\mathcal{R}}/{x}_{\mathcal{D}}$ for AF. In general, the best results can be achieved for relay positions in the centre between source and destination nodes. For this relay position, the maximum length of the indirect paths is minimised. As the AF strategy amplifies the noise received at the relay, a medium SNR for both paths$\mathcal{S}\to \mathcal{R}$ and$\mathcal{R}\to \mathcal{D}$ achieves much better results than the combination of a good and a bad SNR. As the problem size N = 4 is sufficiently small, it is possible to do an exhaustive search over all 2^{4} possible subcarrier allocations. If the Optimization Toolbox is used to determine the PA for each possible CA, the upper curve in Figure4 will be achieved. All the other algorithms perform worse. However, the gap to the results of CA and PA, Hungarian CA and PA or the gradient is at most 0.5% and, thus, very small. Contrary, the combination of random CA and uniform PA performs significantly worse. This is also as expected, since no CSI is used in that approach.
In Figure5, the achievable AF sum rates are depicted for a bigger problem with N = 256 subcarriers. The results of the exhaustive and Optimization Toolbox are not presented since those algorithms cannot find a solution in reasonable time. Compared to the results for N = 4, the achievable sum rates are slightly higher due to the increased frequency diversity. However, the algorithm that does not use any CSI cannot profit from diversity.
Another important observation is that the influence of the CA seems to be much higher than the influence of the PA. To illustrate this, two additional curves have been plotted in Figure5. The random CA and PA show the sum rate for the case that only the transmit power is optimised. The Hungarian CA and uniform PA depict the impact of the CA if a uniform power distribution is applied. For the given scenario, the gain of the CA is considerably higher than the gain achieved by the PA. The reason is that the CA selects channels that are well suited for transmission. If a channel coefficient is bad for a specific user, it is quite probable that the subcarrier will be assigned to a another user with a better channel coefficient. Hence, CA removes worst channels from the optimisation problem. The PA, on the other hand, has to deal with assigned subcarriers, no matter how good or bad. If there is a subcarrier with a very bad channel coefficient, all PA can do is assigning only few transmit power or ignoring that channel. Figure6 illustrates that similar results are obtained for nDF. The main difference is that DF can outperform AF if the relay is positioned close to the source node, but AF is the better choice if the relay is close to the destination.
For a comparison of all of the considered relay protocols, the obtained rates of Hungarian CA and PA are plotted in Figure7 for AF, nDF, aDF and CF strategies. The figure shows that the gain of the adaptive DF protocol over the nonadaptive DF strategy is quite small. The reason is that turning off the relay in aDF is only necessary due to fading. If the relay is positioned between the source nodes and destination, the restriction of nDF to the$\mathcal{S}\to \mathcal{R}$ path is not significant as the$\mathcal{S}\to \mathcal{R}$ path is much shorter than the direct$\mathcal{S}\to \mathcal{D}$ path.
If the relay moves close to the destination node${x}^{(\mathcal{R})}/{x}^{(\mathcal{D})}>0.6$, the results for DF drop below the sum rates obtained for AF and CF. These approaches do not suffer that much from a long$\mathcal{S}\to \mathcal{R}$ path, since successful decoding at the relay is not required. On the other hand, both approaches have to deal with the additional noise obtained at the relay. It is not removed at the relay as in the DF strategy, but it is forwarded. The gain of CF compared to that of AF can be explained by the fact that CF does not amplify the noise obtained at the relay node.
6.2 Source position
Next, we will vary the position of source node${\mathcal{S}}_{1}$ along the direction towards the destination$\mathcal{D}$. Note that distance${d}_{({\mathcal{S}}_{1}\mathcal{D})}$ changes, but the position of source node${\mathcal{S}}_{0}$ and thus${d}_{({\mathcal{S}}_{0}\mathcal{D})}$ is still fixed. Figure8 shows for AF that the algorithms perform similarly well, even if the path distances differ for the source nodes. If source node${\mathcal{S}}_{1}$ moves close to the destination (${d}_{({\mathcal{S}}_{1}\mathcal{D})}\ll 1$), sum rates increase rapidly. However, the distribution of transmission rates on the source nodes becomes unfair in that case. The reason is that the SNR of the direct path${\mathcal{S}}_{1}\to \mathcal{D}$ becomes also very large and the maximum sum rate can be achieved if all subcarriers are assigned to source node${\mathcal{S}}_{1}$. However, longterm fairness might still be achieved among the source nodes if priority weights are added for each user[42].
6.3 Signaltonoise ratio
Next, we will use a fixed position for all nodes but vary the average SNRs. According to (4), the power constraint P _{max} will be chosen such that the average SNR of the direct path becomes$E\{{\gamma}_{n}^{({\mathcal{S}}_{k}\mathcal{D})}\}$. For nDF, Figure9 shows similar results as the variation of the source node${\mathcal{S}}_{1}$. The gaps between the obtained results stay almost constant, but the achievable sum rate increases significantly for increasing SNR. This is equivalent to the observation that the relative gain to a uniform resource allocation decreases. If the SNR is large, the resource allocation has only a minor influence on achievable rates. On the other hand, if the SNR is low, the proposed resource allocations can improve achievable transmission rates significantly.
6.4 Number of subcarriers
Figure10 depicts the achievable sum rate R of the AF strategy over the number of subcarriers N. Since the exhaustive is only feasible for small problems, only results for small N are shown. On the other hand, Figure10 indicates that the obtained solutions are close to the optimal results of the exhaustive.
Even if the achieved sum rates are almost identical for the proposed algorithms and large N, the approaches are not equally well suited to solve the resource allocation problem. Figure11 shows the required number of iterations of the different algorithms for AF and different problem sizes N. Since the number of iterations as well as the number of subcarriers N is scaled logarithmically, the slope of the curves corresponds to the average computational effort of the algorithms and a vertical offset corresponds to a constant factor. This illustration does not depict the real computational effort of the algorithms as the effort per single iteration is neglected and the slopes of the obtained curves are thus too small. However, if the computational effort of a single iteration is assumed to be$\mathcal{O}(\mathit{\text{NK}})$, the slopes of the curves are a good approximation of the average effort.
Compared to the other approaches, the required effort of the random CA and uniform PA is the best as the assignment of PAs can be done in a single iteration. On the other hand, the corresponding sum rates are by far the worst. The other algorithms require significantly more iterations. The effort of the compound approaches that do the CA first (Hungarian CA or improved Greedy CA) and a PA afterwards can be interpreted as combination of CA and PA efforts. The slope of the Hungarian CA and uniform PA is, for example, much steeper than the increase of the random CA and PA. The combination of both approaches (Hungarian CA and PA) is thus limited by the slope of the Hungarian CA. (The curve converges to the effort of Hungarian CA and uniform PA for large N.) As the increase in the logarithmic plot is linear, these algorithms are able to solve the combinatorial optimisation problem in polynomial time.
The improved Greedy CA leads to a similar estimate of the effort, but the increase is much slower. The improved Greedy CA has therefore a lower average effort, even if achieved sum rates are almost identical. Finally, Figure11 also shows the result of the straightforward gradient. The slope corresponding to the gradient method is even smaller than the slope of the greedy approach. For AF, the gradient achieves therefore the best performance among the proposed algorithms. Its number of iterations increases not even linearly with the number of subcarriers N, while the obtained results are at least as good as the results of the other proposed schemes. For the DF case, however, this is not true. Due to the subgradient, the average effort is much worse.
6.5 Number of source nodes
Finally, the number of source nodes will be increased. For the simulation of an example topology, it is assumed that K = 4 source nodes are positioned regularly in a cluster at x = 0. The modified topology is depicted in Figure12.
The results depicted in Figure13 for the AF protocol are similar to the results obtained for K = 2 nodes in Figure4, but the achievable average rates are slightly higher due to the increased number of the additional source nodes and possible paths. Furthermore, the optimal position of the relay is slightly shifted to the destination node, and there is a bigger gap between the suboptimal approaches and the exhaustive search.
Figure14 shows results for the same setup with K = 4 sources but N = 16 subcarriers. Even if there is only a slight increase in the number of subcarriers, an exhaustive cannot be done in reasonable time for this scenario. Figure14 nonetheless shows that the losses of the suboptimal approaches (again) decrease if the number of subcarriers increases.
7 Conclusions
Within this work, several algorithms for resource allocation in a relayassisted OFDMA system have been proposed. Here, subCA and PA are optimised separately or jointly (JA) to maximise the sum rate over all subcarriers. These approaches have been applied to several relay protocols, such as AF, adaptive and nonadaptive DF and CF, and the achieved sum rates, convergence and computational effort have been evaluated by numerical simulation.
Finally, we will summarise the obtained results for each of the proposed algorithms.
7.1 Random CA and uniform PA
The first straightforward approach does not use any CSI to optimise resource allocation, but it randomly assigns subcarriers and distributes the transmit power uniformly. On the one hand, this algorithm has the lowest computational effort. On the other hand, no optimisation is done, and the achieved sum rates are a lower bound. Certainly, it is possible to do worse, but this is the best strategy without using CSI. All other algorithms that use at least some CSI can outperform this approach in terms of sum rates. However, if the SNR is large, the loss becomes small.
7.2 Exhaustive search and Optimization Toolbox
The second approach is quite the opposite of the first approach. The combinatorial CA problem is tackled by an exhaustive that checks all possible subcarrier assignments. The PA is determined by several calls of Optimization Toolbox in Matlab with varying initial values.
This approach cannot claim to find the global optimal solution, but it is assumed to be very close to the optimum. The disadvantage of this algorithm is of course its huge computational effort. For K = 2 and N = 4, an exhaustive might be reasonable, but for a realistic problem size, this approach is infeasible.
7.3 Hungarian CA and separate PA
This approach is able to reduce the number of tests in the exhaustive by applying the Hungarian algorithm to the CA problem. However, this algorithm is suboptimal since Hungarian CA assumes uniformly distributed transmit power for all subcarriers. Nevertheless, it finds almost always the same CAs as the exhaustive for all considered relay protocols, but it requires considerable less effort. Compared to that of the CA, the computational effort of the Hungarian CA is still high. If the number of users is limited to two source nodes, the computational effort might be reasonable, even for practical numbers of subcarriers. For larger networks with many source nodes, the computational effort is also known to be infeasible.
The PA is performed after a CA has been found. The PA problem is split into individual, but concave, subproblems, and these separate subproblems can be solved optimally. The PA solutions have been determined for the considered relay strategy individually, by solving the corresponding dual optimisation problems. Numerical results show that the iterative optimisation converges to a solution within few iterations. The average computational effort of the PA is low for all relay strategies, and it increases only slowly for larger problems.
7.4 Improved greedy CA and separate PA
This approach achieves almost the same sum rates as the previous approach, but it leads to a lower computational effort. Instead of the expensive search performed by Hungarian CA, this algorithm uses a greedy approach.
The approach achieves the best tradeoff between achieved sum rates and computational effort.
7.5 Gradient descent method
The last approach is an attempt to solve the resource optimisation problem with a straightforward gradient. The exclusive CAs are relaxed, but the proposed algorithm converges to the exclusive CAs within few iterations if the SNR is not too high. This algorithm is therefore even suitable if time sharing is not reasonable.
It is obvious that the results found by this algorithm are not necessarily optimal if the problem is not concave. However, numerical simulation indicates that this algorithm will converge to very good results if random CA and uniform PA are used as initial values. Furthermore, the relation between achieved sum rates and computational effort is by far the best for the AF and the CF case. Here, only random CA and uniform PA achieve a better effort.
For DF strategies, however, the gradient leads to some convergence issues. Due to the minimum term within the rate functions, the gradient has to be replaced by a subgradient that is known to converge much slower.
Appendix
In the following paragraphs, the solutions of the PA subproblems will be derived for all of the considered relay protocols.
However, separate power optimisation leads to an unresolved issue concerning the notation. So far, power allocation vectors${\mathit{p}}^{({\mathcal{S}}_{k})}$ refer to the individual power allocation of a single node. Therefore, the elements${p}_{n}^{({\mathcal{S}}_{k})}$ correspond only to source node${\mathcal{S}}_{k}$ and are zero for$n\notin {\mathbb{N}}_{k}$. Contrary, each element in${\mathit{p}}^{(\mathcal{R})}$ may refer to a different source node${\mathcal{S}}_{k}$ as subcarriers at the relay node can be used by different users.
For the sake of clarity, an alternative representation will be introduced here. If CAs are exclusive and fixed, each subcarrier n corresponds to exactly one source node${\mathcal{S}}_{k}$ with$n\in {\mathbb{N}}_{k}$. The index k is therefore redundant and can be omitted in several notations:
Amplify and forward
The proposed solution for the AF protocol is an improvement of the one proposed by Hammerström and Wittneben in[22], where the authors consider the single user case with individual power constraints for the source and the relay node. Furthermore, they assume that the destination$\mathcal{D}$ is not able to receive any information directly. This shadowing is equivalent to a channeltonoise ratio of${\lambda}_{n}^{({\mathcal{S}}_{k}\mathcal{D})}=0$. Therefore, the scenario in[22] is a special case of the power allocation problem considered here. The AF solution without simplifications has already been proposed in[43], but it will be summarised here nonetheless for the sake of completeness.
Solving the separate optimisation problems (48) and (49) leads to a quadratic function with two solutions for the relay node and a cubic function with three solutions for each source node. However, since channel coefficients, as well as power vectors, are real valued and nonnegative, only a single solution is valid in all cases.
The relay solution is given by
where [·]^{+} is equivalent to max{0,·}.
The solution for the source nodes is given by
Similar to the waterfilling solution, these solutions depend on the channel coefficients as well as on Lagrange multipliers ν. Since channel coefficients are given, only optimal Lagrange multipliers ν ^{∗} are unknown. If the obtained solutions (56) and (63) are applied to individual sum constraints (17) and (18), there is just a single equation with a single unknown variable ν ^{∗} left:
Finally, PAs${\stackrel{\u030c}{p}}^{\ast ((\mathcal{S}))}$, or${\mathit{p}}^{\ast (\mathcal{R})}$, can be obtained using a root finding algorithm, such as the bisection method, to solve Equation (64), or (65), respectively.
Nonadaptive decode and forward
As proposed by Boostanimehr et al. in[28], the DF resource allocation problem can be reformulated such that the minimum function in objective (8) is replaced by two additional constraints. The objective R ^{DF} of the equivalent allocation problem is given by
As objective (66) is concave and the corresponding constraint functions are affine, the separate power allocation problems (48) and (49) can be solved in an optimal way. For the resource allocation problem with the minimum function, this was not obvious.
To solve the problem, dual optimisation can be applied. The Lagrangian of the dual optimisation problem for the relay power constraint is given by
where the different terms refer to the problem constraints. The solution can be obtained by applying and solving KarushKuhnTucker (KKT) conditions. This will not be done here in all details, but all cases that can occur in that process will be discussed shortly.
The main idea is to optimise the rate that is minimal for each subcarrier n. At the end, there will be three solutions corresponding to three subsets of$\mathbb{N}$:
If the achievable rate at the relay is crucial, the n th subcarrier is assigned to the first set${\u2102}_{\mathcal{R}}^{(\mathcal{R})}$. If the rate at the destination node is crucial, n is assigned to set${\u2102}_{\mathcal{D}}$, or if the rates are identical, n belongs to neither of these sets. The concrete conditions for subcarrier assignments to sets${\u2102}_{\mathcal{R}}^{(\mathcal{R})}$ and${\u2102}_{\mathcal{D}}^{(\mathcal{R})}$ can be derived later for each of the specific solutions individually.
First, optimisation can be done for the case${\mathit{\u0159}}_{n}^{\mathcal{R}}<{\mathit{\u0159}}_{n}^{\mathcal{D}}$ that corresponds to Lagrange multipliers${\eta}^{(\mathcal{R})}=0$ and${\varrho}^{\mathcal{R}}\ne 0$. Here, objective (66) is always limited by constraint (68) as the third line in Lagrangian (69) vanishes. Variable w _{ n } corresponds to rate${\mathit{\u0159}}_{n}^{\mathcal{R}}$. As${\mathit{\u0159}}_{n}^{\mathcal{R}}$ does not depend on relay power${p}_{n}^{(\mathcal{R})}$, any power spend to${p}_{n}^{(\mathcal{R})}$ is wasted. It cannot increase the rate corresponding to subcarrier n. Such subcarriers should therefore not get any relay power at all:
Nevertheless, this solution is restricted to subcarriers in set${\u2102}_{\mathcal{R}}^{(\mathcal{R})}$. If solution (73) is applied to definition (70), set${\u2102}_{\mathcal{R}}^{(\mathcal{R})}$ is given by
The found solution${p}_{n}^{(\mathcal{R})}=0$ is equivalent to ignoring that subcarrier n at the relay node. Relay$\mathcal{R}$ will not forward messages on the n th subcarrier, even if the nDF transmission scheme always require successful decoding at relay$\mathcal{R}$. The transmission rate therefore has to be reduced such that$\mathcal{R}$ is able to decode successfully on that subcarrier, even if$\mathcal{R}$ will not use that subcarrier for transmission. This seems to be a contradiction; however, it is the optimal behaviour in the nDF case. If${\stackrel{\u030c}{\lambda}}_{n}^{(\mathcal{S}\mathcal{R})}<{\stackrel{\u030c}{p}}_{n}^{(\mathcal{S}\mathcal{D})}$, the transmission rate is adjusted to the$\mathcal{S}\to \mathcal{R}$ path and the destination node does not need any additional message from the indirect path to decode error free. Any relay power spend on forwarding over$\mathcal{R}$ is therefore wasted. In contrast, the solution of the aDF scheme will not suffer from this problem as aDF is able to switch to another relaying protocol in such a case.
Next, the case${\mathit{\u0159}}_{n}^{\mathcal{R}}>{\mathit{\u0159}}_{n}^{\mathcal{D}}$ is considered that corresponds to${\eta}^{(\mathcal{R})}\ne 0$ and${\varrho}^{(\mathcal{R})}=0$. Since the fourth term in (69) is ignored, w _{ n } corresponds to rate${\mathit{\u0159}}_{n}^{\mathcal{D}}$. Solving the KKT conditions will lead here to a modified waterfilling solution:
Set${\u2102}_{\mathcal{D}}^{(\mathcal{R})}$ follows inserting (75) into the set definition${\mathit{\u0159}}_{n}^{\mathcal{R}}>{\mathit{\u0159}}_{n}^{\mathcal{D}}$:
Finally, we have to consider the last case. If neither of the rates is greater than the other, both rates have to be equal${\mathit{\u0159}}_{n}^{\mathcal{R}}={\mathit{\u0159}}_{n}^{\mathcal{D}}$ in consequence.
If${\eta}^{(\mathcal{R})}\ne 0$ and${\varrho}^{(\mathcal{R})}\ne 0$, both conditions (67) and (68) have to be fulfilled simultaneously with equality. This leads to equation
As source power${\stackrel{\u030c}{p}}_{n}^{(\mathcal{S})}$ is assumed to be known for separate optimisation, the optimal relay power${p}_{n}^{(\mathcal{R})}$ can be computed directly:
An interesting observation concerning solution (78) is that it is independent of Lagrange multiplier${\mu}^{(\mathcal{R})}$. It therefore might not be possible to fulfil the sum constraint of the relay node. However, the allocation of a subcarrier to a sets${\u2102}_{\mathcal{A}}^{(\mathcal{R})}$ depends on the choice of Lagrange multiplier${\mu}^{(\mathcal{R})}$. Due to the first solution (73) where zero power is assigned, it will always be possible to fulfil the sum constraint with inequality, i.e. not all the available relay power is used.
If relay$\mathcal{R}$ moves close to destination$\mathcal{D}$, solution (77) will be used for most of the subcarriers. In that case, only little power is required to transmit the information over the$\mathcal{R}\to \mathcal{D}$ path, and in fact, any additional transmit power at relay$\mathcal{R}$ cannot improve the transmission rate any further. If relay$\mathcal{R}$ is close to the source node, all the available transmit power can be used to increase sum rate R ^{DF}.
Another important observation is that solution (78) is always nonnegative. Since subcarriers$n\notin {\u2102}_{\mathcal{R}}^{(\mathcal{R})}\cup {\u2102}_{\mathcal{D}}^{(\mathcal{R})}$ are restricted to condition${\stackrel{\u030c}{\lambda}}_{n}^{(\mathcal{S}\mathcal{R})}\ge {\stackrel{\u030c}{p}}_{n}^{(\mathcal{S}\mathcal{D})}$, the factor in front of source power${\stackrel{\u030c}{p}}_{n}^{(\mathcal{S})}$ is ensured to be nonnegative.
The final solution for relay power${p}_{n}^{\ast (\mathcal{R})}$ is given by merging solutions (73), (75) and (78):
As in the AF case, unknown Lagrange multiplier${\mu}^{(\mathcal{R})}$ or power${p}_{n}^{\ast (\mathcal{R})}$, respectively, can be determined with the help of the bisection method and the relay sum power constraint.
After having solved the relay power allocation problem, the source power problem can be tackled equivalently. There are again three solutions for the nDF source power problem (49) given by
where corresponding subsets are defined by
Another aspect that should be discussed here concerns the assignment of subcarriers to the sets${\u2102}^{(\mathcal{R})}$ and${\u2102}^{(\mathcal{S})}$. Intuitively, it seems reasonable to choose equivalent sets${\u2102}_{\mathcal{R}}^{(\mathcal{R})}={\u2102}_{\mathcal{R}}^{(\mathcal{S})}$ and${\u2102}_{\mathcal{D}}^{(\mathcal{R})}={\u2102}_{\mathcal{D}}^{(\mathcal{S})}$ because they correspond to the same rate constraints${\mathit{\u0159}}_{n}^{\mathcal{R}}<{\mathit{\u0159}}_{n}^{\mathcal{D}}$ or${\mathit{\u0159}}_{n}^{\mathcal{R}}>{\mathit{\u0159}}_{n}^{\mathcal{D}}$. However, the allocation to sets${\u2102}^{(\mathcal{R})}$ and${\u2102}^{(\mathcal{S})}$ can be different in the iterative PA process. Actually, this is reasonable as each optimisation step corresponds to an improvement of the worst rate. In a following step, the other rate in the minimum function might become worse and the subcarrier assignments can change.
Contrary, if the iterative process converges to a specific solution${\stackrel{\mathbf{\u030c}}{\mathit{p}}}^{(\mathcal{S})}$,${\mathit{p}}^{(\mathcal{R})}$, the sets are identical and will not change any further. (If a specific solution has been found, the relation between rates${\mathit{\u0159}}_{n}^{\mathcal{R}}$ and${\mathit{\u0159}}_{n}^{\mathcal{D}}$ will also not change any further and the sets are fixed.)
Adaptive decode and forward
The adaptive DF scheme is similar to the nonadaptive scheme, but the relay is no longer required to decode without errors. If decoding is not successful at the relay node, it will not forward any message on that subcarrier and power optimisation can be done according to the direct link. The aDF solution can be obtained by modifying the nDF solutions. The transmission rate${\mathit{\u0159}}_{n}^{\text{aDF}}$ is only limited by the rate${\mathit{\u0159}}_{n}^{\text{Dir}}$ if${\stackrel{\u030c}{\lambda}}_{n}^{(\mathcal{S}\mathcal{R})}<{\stackrel{\u030c}{\lambda}}_{n}^{(\mathcal{S}\mathcal{D})}$. In that case, the relay does not forward on that subcarrier, and the waterfilling solution is used to allocate the transmit power of the source nodes:
On the other hand, if${\stackrel{\u030c}{\lambda}}_{n}^{(\mathcal{S}\mathcal{R})}>{\stackrel{\u030c}{\lambda}}_{n}^{(\mathcal{S}\mathcal{D})}$, the solution of the nDF in Equations (79) and (81) can be used because rate${\mathit{\u0159}}_{n}^{\text{nDF}}$ is always better than the rate${\mathit{\u0159}}_{n}^{\text{Dir}}$ of the direct path.
Compress and forward
The solution for the CF power allocation problem can be derived equivalently to the AF case. There is just a slightly changed objective due to the changed SNR in the rate function.
For the relay node, the optimal power allocation of the separate CF problem is given by
Solving the source power problem leads to several solutions, where again just a single solution
is feasible. Variables C _{1} to C _{6} are given by
Abbreviations
 aDF:

Adaptive decode and forward
 AF:

Amplify and forward
 CA:

Carrier allocation
 CF:

Compress and forward
 CSI:

Channel state information
 DF:

Decode and forward
 JA:

Joint allocation
 KKT:

KarushKuhnTucker
 MARC:

Multipleaccess relay channel
 nDF:

Nonadaptive decode and forward
 OFDM:

Orthogonal frequency division multiplexing
 OFDMA:

Orthogonal frequency division multiple access
 PA:

Power allocation
 SNR:

Signaltonoise ratio
References
 1.
van der Meulen E: Threeterminal communication channels. Adv. Appl. Probability 1971, 3: 120154. 10.2307/1426331
 2.
van der Meulen E: Transmission of information in a Tterminal discrete memoryless channel. PhD dissertation, University of California, 1968
 3.
Cover T, Gamal A: Capacity theorems for the relay channel. IEEE Trans. Inf. Theory 1979, 25(5):572584. 10.1109/TIT.1979.1056084
 4.
Kramer G, van Wijngaarden A: On the white Gaussian multipleaccess relay channel. In Proceedings of the IEEE International Symposium on Information Theory (ISIT) 2000. Sorrento; 25–30 June 2000:4040.
 5.
Laneman J, Tse D, Wornell G: Cooperative diversity in wireless networks: efficient protocols and outage behavior. IEEE Trans. Inf. Theory 2004, 50(12):30623080. 10.1109/TIT.2004.838089
 6.
Sankaranarayanan L, Kramer G, Mandayam N: Hierarchical sensor networks: capacity bounds and cooperative strategies using the multipleaccess relay channel model. In Proceedings of the 1st Annual IEEE Communications Society Conference on Sensor and Ad Hoc Communications and Networks (SECON) 2004. Santa Clara; 4–7 Oct 2004:191199.
 7.
HøstMadsen A, Zhang J: Capacity bounds and power allocation for wireless relay channels. IEEE Trans, Inf. Theory 2005, 51(6):20202040. 10.1109/TIT.2005.847703
 8.
Kramer G, Gastpar M, Gupta P: Cooperative strategies and capacity theorems for relay networks. IEEE Trans, Inf. Theory 2005, 51(9):30373063. 10.1109/TIT.2005.853304
 9.
Goldsmith A, Jiang J, Cui S: Achievable rates and capacity for Gaussian relay channels with correlated noises. In Proceedings of the IEEE International Symposium on Information Theory (ISIT) 2009. Seoul; 28 June:179183.
 10.
Kühn V V: Wireless Communications over MIMO Channels: Applications to CDMA and Multiple Antenna Systems. Chichester: Wiley; 2006.
 11.
Wong C, Cheng R, Lataief K, Murch R: Multiuser OFDM with adaptive subcarrier, bit, and power allocation. IEEE J. Sel. Areas Commun 1999, 17(10):17471758. 10.1109/49.793310
 12.
Wong C, Tsui Y, Cheng RS, Letaief KB: A realtime subcarrier allocation scheme for multiple access downlink OFDM transmission. 19–22 Sept 1999.
 13.
Yin H, Liu H: An efficient multiuser loading algorithm for OFDMbased broadband wireless systems. In Proceedings of the IEEE Global Telecommunications Conference (GLOBECOM) 2000. San Francisco; 27 Nov–1 Dec 2000:103107.
 14.
Rhee W, Cioffi J: Increase in capacity of multiuser OFDM system using dynamic subchannel allocation. In Proceedings of the 51st IEEE Vehicular Technology Conference (VTCSpring) 2000. Tokyo; 15–18 May 2000:10851089.
 15.
Ermolova N, Makarevitch B: Power and subcarrier allocation algorithms for OFDMA systems. In Proceedings of the 16th IEEE International Symposium on Personal, Indoor and Mobile Radio Communications (PIMRC) 2005. Berlin; 11–14 Sept 2005:352356.
 16.
Seong K, Mohseni M, Cioffi J: Optimal resource allocation for OFDMA downlink systems. In Proceedings of the IEEE International Symposium on Information Theory (ISIT) 2006. Seattle; 9–14 July 2006:13941398.
 17.
Yu W, Lui R: Dual methods for nonconvex spectrum optimization of multicarrier systems. IEEE Trans. Commun 2006, 54(7):13101322.
 18.
Wong I, Evans B: Optimal OFDMA resource allocation with linear complexity to maximize ergodic weighted sum capacity. In Proceedings of the IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP) 2007. Honolulu; 15:III601–III–604.
 19.
Yu G, Zhang Z, Chen Y, Chen S, Qiu P: Power allocation for nonregenerative OFDM relaying channels. In Proceedings of the International Conference on Wireless Communications, Networking and Mobile Computing (WCNM) 2005. Wuhan; 23–26 Sept 2005:185188.
 20.
Wang Y, Qu X, Wu T, Liu B: Power allocation and subcarrier pairing algorithm for regenerative OFDM relay system. In Proceedings of the 65th IEEE Vehicular Technology Conference (VTCSpring) 2007. Dublin; 22–25 Apr 2007:27272731.
 21.
Hammerström I, Wittneben A: On the optimal power allocation for nonregenerative OFDM relay links. In Proceedings of the IEEE International Conference on Communications (ICC) 2006. Istanbul; 11–15 June 2006:44634468.
 22.
Hammerström I, Wittneben A: Power allocation schemes for amplifyandforward MIMOOFDM relay links. IEEE Trans. Wireless Commun 2007, 6(8):27982802.
 23.
Zhang S, Lau V: Resource allocation for OFDMA system with orthogonal relay using rateless code. IEEE Trans. Wireless Commun 2008, 7(11):45344540.
 24.
Vandendorpe L, Louveaux J, Oguz O, Zaidi A: Improved OFDM transmission with DF relaying and power allocation for a sum power constraint. In Proceedings of the 3rd International Symposium on Wireless Pervasive Computing (ISWPC) 2008. Santorini; 7–9 May 2008:665669.
 25.
Vandendorpe L, Durán R, Louveaux J, Zaidi A: Power allocation for OFDM transmission with DF relaying. In Proceedings of the IEEE International Conference on Communications (ICC) 2008. Beijing; 19–23 May 2008:37953800.
 26.
Li Y, Wang W, Kong J, Hong W, Zhang X, Peng M: Power allocation and subcarrier pairing in OFDMbased relaying networks. In Proceedings of the IEEE International Conference on Communications (ICC) 2008. Beijing; 19–23 May 2008:26022606.
 27.
Vandendorpe L, Louveaux J, Oguz O, Zaidi A: Power allocation for improved DF relayed OFDM transmission: the individual power constraint case. In Proceedings of the IEEE International Conference on Communications (ICC) 2009. Dresden; 14–18 June 2009:16.
 28.
Boostanimehr H, Duval O, Bhargava V, Gagnon F: Selective subcarrier pairing and power allocation for decodeandforward OFDM relay systems. In Proceedings of the IEEE International Conference on Communications (ICC) 2010. Cape Town; 23–27 May 2010:15.
 29.
Shi F, Zhao C: A low complexity power allocation approach for OFDM systems with DF relay. In Proceedings of the 6th International Conference on Wireless Communications Networking and Mobile Computing (WiCOM) 2010. Chengdu; 23–25 Sept 2010:15.
 30.
Hsu C, Su H, Lin P: Joint subcarrier pairing power allocation for OFDM transmission with decodeandforward relaying. IEEE Trans. Signal Process. 2011, 59: 399414.
 31.
Ng T, Yu W: Joint optimization of relay strategies and resource allocations in cooperative cellular networks. IEEE J. Sel. Areas Commun 2007, 25(2):328339.
 32.
Jitvanichphaibool K, Zhang R, Liang Y: Optimal resource allocation for twoway relayassisted OFDMA. IEEE Trans. Veh. Technol 2009, 58(7):33113321.
 33.
El Soussi M, Zaidi A, Louveaux J, Vandendorpe L: Sumrate optimized power allocation for the OFDM multiple access relay channel. In Proceedings of the 4th International Symposium on Communications, Control and Signal Processing (ISCCSP) 2010. Limassol; 3–5 Mar 2010:16.
 34.
Shannon C: A mathematical theory of communication. Bell Syst Tech. J. 1948, 27: 379423.
 35.
Schedler S, Kuehn V: Distributed resource allocation for the MARC with amplify and forward and partial CSI. In Proceedings of the 9th International ITG Conference on Systems, Communications and Coding 2013 (SCC’2013). Munich; 21–24Jan 2013.
 36.
Boyd S, Vandenberghe L: Convex Optimization. New York: Cambridge University Press; 2004.
 37.
Boyd S, Vandenberghe L: Subgradients. Winter 2006–07: Notes for EE364b, Stanford University; 2011. . Accessed 30 Mar 2012 http://www.stanford.edu/class/ee364b/notes/subgradients_notes.pdf
 38.
Boyd S, Mutapcic A: Subgradient methods. Winter 2006–07: Notes for EE364b, Stanford University; 2007. . Accessed 30 Mar 2012 http://www.stanford.edu/class/ee364b/notes/subgrad_method_notes.pdf
 39.
Kuhn H: The Hungarian method for the assignment problem. Nava Res. Logistics Q. 1955, 2(1–2):8397.
 40.
MillsTettey GA, Stentz A, Dias MB: The Dynamic Hungarian Algorithm for the Assignment Problem with Changing Costs. Pittsburgh: Robotics Institute, Carnegie Mellon University; 2007.
 41.
Rappaport T: Wireless Communications: Principles and Practice. Prentice Hall: Upper Saddle River; 2001.
 42.
Zhang H, Liu Y, Tao M: Resource allocation with subcarrier pairing in OFDMA twoway relay networks. IEEE Wireless Commun Lett. 2012, 1(2):6164.
 43.
Schedler S, Angierski A, Kuehn V: Resource allocation for the AF multiple access relay channel with OFDMA. In Proceedings of the IEEE Wireless Communications and Networking Conference (WCNC) 2012. Paris; 1–4 April 2012.
Author information
Additional information
Competing interests
The authors declare that they have no competing interests.
Authors’ original submitted files for images
Below are the links to the authors’ original submitted files for images.
Rights and permissions
Open Access This article is distributed under the terms of the Creative Commons Attribution 2.0 International License (https://creativecommons.org/licenses/by/2.0), which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.
About this article
Cite this article
Schedler, S., Kühn, V. Resource allocation for the multipleaccess relay channels and OFDMA. EURASIP J. Adv. Signal Process. 2013, 120 (2013). https://doi.org/10.1186/168761802013120
Received:
Accepted:
Published:
Keywords
 MARC; Relay; OFDMA; Carrier allocation; Power allocation; Dual optimisation; Sum rate; Amplify and forward (AF); Decode and forward (DF); Compress and forward (CF)