OFDMA Resource Allocation

Optimal Assignment in the Frequency Domain

Sections 20.1--20.2 considered time-domain scheduling: one user is served per time slot. OFDMA (Orthogonal Frequency-Division Multiple Access), the air interface of LTE and 5G NR, adds a second dimension: the base station can assign different subcarriers to different users within the same time slot. Since each user's channel varies across frequency (due to frequency-selective fading from Chapter 14), there is rich structure to exploit. The key problem becomes a combinatorial assignment: which user should get which subcarriers, and how should power be distributed? This section formalises and solves this joint subcarrier-and-power allocation problem.

Definition:

Subcarrier and Power Allocation Problem

An OFDMA downlink has NN subcarriers and KK users. Let Hk,nH_{k,n} denote the channel gain of user kk on subcarrier nn and define the subcarrier SNR:

Ξ³k,n=∣Hk,n∣2Οƒ2\gamma_{k,n} = \frac{|H_{k,n}|^2}{\sigma^2}

A subcarrier assignment Ο€:{1,…,N}β†’{1,…,K}\pi : \{1,\ldots,N\} \to \{1,\ldots,K\} maps each subcarrier to exactly one user (exclusive assignment). A power allocation {pn}n=1N\{p_n\}_{n=1}^{N} distributes the total power budget PP across subcarriers.

The sum-rate maximisation problem is:

max⁑π, {pn}β€…β€Šβ€…β€Šβˆ‘n=1Nlog⁑2 ⁣(1+pn γπ(n),n)\max_{\pi,\,\{p_n\}} \;\; \sum_{n=1}^{N} \log_2\!\left(1 + p_n\,\gamma_{\pi(n),n}\right)

subjectΒ toβˆ‘n=1Npn≀P,pnβ‰₯0β€…β€Šβ€…β€Šβˆ€β€‰n\text{subject to} \quad \sum_{n=1}^{N} p_n \leq P, \quad p_n \geq 0 \;\;\forall\, n

This is a mixed combinatorial-continuous optimisation: the assignment Ο€\pi is discrete and the power allocation is continuous.

In practice, LTE assigns resources in blocks of 12 contiguous subcarriers (resource blocks, RBs) rather than individual subcarriers, reducing the problem dimension but also the granularity of frequency-domain diversity. 5G NR supports both contiguous and non-contiguous RB allocation.

Theorem: Near-Optimality of Greedy Subcarrier Allocation

Consider the sum-rate maximisation problem for OFDMA. The following two-step procedure achieves the global optimum:

Step 1 (Assignment): Assign each subcarrier to the user with the highest channel gain on that subcarrier:

π⋆(n)=arg⁑max⁑kβ€…β€ŠΞ³k,nβˆ€β€‰n=1,…,N\pi^{\star}(n) = \arg\max_{k} \; \gamma_{k,n} \quad \forall\, n = 1, \ldots, N

Step 2 (Power): Given π⋆\pi^{\star}, apply water-filling across the NN assigned subcarriers:

pn⋆=(ΞΌβˆ’1γπ⋆(n),n)+p_n^{\star} = \left(\mu - \frac{1}{\gamma_{\pi^{\star}(n),n}}\right)^{+}

where ΞΌ\mu is chosen so that βˆ‘npn⋆=P\sum_n p_n^{\star} = P.

When the sum-rate objective is used without per-user rate constraints, this greedy-then-water-fill solution is globally optimal. With per-user minimum rate constraints, the problem becomes NP-hard in general, but the greedy assignment remains a practical near-optimal heuristic.

Since sum rate is the objective and subcarriers are orthogonal (no inter-carrier interference), the assignment that maximises the effective channel gain on each subcarrier also maximises the rate after water-filling. Each subcarrier's contribution to the sum rate is a concave function of its power, and the pointwise maximum of channel gains is achieved by the greedy rule. The separability of subcarriers is key β€” without it (e.g., with inter-cell interference), the problem does not decompose.

,

OFDMA Subcarrier Allocation

Visualise the OFDMA resource allocation for KK users across NN subcarriers. The plot shows each user's channel gain ∣Hk,n∣2|H_{k,n}|^2 per subcarrier, the optimal subcarrier assignment (colour-coded by user), and the water-filling power allocation. Observe how users are assigned subcarriers where they have the best relative channel. Increasing the SNR reduces the number of inactive (zero-power) subcarriers; increasing NN provides finer frequency granularity.

Parameters
4
64
15

Greedy OFDMA Subcarrier Allocation with Water-Filling

Complexity: O(KN)O(KN) for the assignment step (scanning all users on each subcarrier) plus O(Nlog⁑N)O(N \log N) for sorting in the water-filling step. Total: O(KN+Nlog⁑N)O(KN + N\log N).
Input: Channel gains {Ξ³k,n}k=1,…,Kn=1,…,N\{\gamma_{k,n}\}_{k=1,\ldots,K}^{n=1,\ldots,N},
total power PP
Output: Assignment π⋆\pi^{\star}, power allocation {pn⋆}\{p_n^{\star}\}
// Step 1: Greedy subcarrier assignment
1. for n=1,…,Nn = 1, \ldots, N do
2. π⋆(n)←arg⁑max⁑k∈{1,…,K}Ξ³k,n\quad \pi^{\star}(n) \leftarrow \arg\max_{k \in \{1,\ldots,K\}} \gamma_{k,n}
3. end for
// Step 2: Water-filling power allocation
4. Collect effective gains: gn←γπ⋆(n),ng_n \leftarrow \gamma_{\pi^{\star}(n),n}
for n=1,…,Nn = 1, \ldots, N
5. Sort subcarriers by gng_n in decreasing order
6. Set water level ΞΌ\mu by solving:
7. βˆ‘n=1N(ΞΌβˆ’1/gn)+=P\quad \sum_{n=1}^{N} \left(\mu - 1/g_n\right)^+ = P
8. for n=1,…,Nn = 1, \ldots, N do
9. pn⋆←max⁑(ΞΌβˆ’1/gn,β€…β€Š0)\quad p_n^{\star} \leftarrow \max(\mu - 1/g_n,\; 0)
10. end for
11. return π⋆\pi^{\star}, {pn⋆}\{p_n^{\star}\}

When per-user minimum rate constraints are imposed, the greedy assignment may violate them. In that case, a modified algorithm first reserves subcarriers for rate-constrained users (e.g., via the Hungarian method or iterative reallocation) and then applies greedy-plus-water-filling to the remaining subcarriers.

Example: Two-User OFDMA Allocation

Two users share N=4N = 4 subcarriers with total power P=4P = 4 (linear units) and noise variance Οƒ2=1\sigma^2 = 1. The channel gains ∣Hk,n∣2|H_{k,n}|^2 are:

Subcarrier User 1 User 2
1 4.0 1.0
2 0.5 3.0
3 2.0 2.0
4 1.0 5.0

(a) Determine the greedy subcarrier assignment. (b) Compute the water-filling power allocation. (c) Compute the sum rate. (d) Compare with equal-power allocation across all subcarriers.

Quick Check

In OFDMA sum-rate maximisation without per-user rate constraints, why is the greedy subcarrier assignment (give each subcarrier to the user with the best channel on it) globally optimal?

Because the subcarriers are orthogonal and each contributes independently to the sum rate

Because the Hungarian algorithm always finds the greedy solution

Because water-filling makes any assignment optimal

Because all users have the same average channel gain

OFDMA

Orthogonal Frequency-Division Multiple Access: a multiple-access scheme that assigns disjoint subsets of OFDM subcarriers to different users within the same time slot. OFDMA enables frequency-domain scheduling, exploiting each user's frequency-selective fading to maximise throughput via subcarrier and power allocation.

Related: Resource Block (RB)

Resource Block (RB)

The smallest unit of radio resource allocation in LTE and 5G NR, consisting of 12 contiguous subcarriers over one slot (0.5 ms in LTE, variable in NR). The scheduler assigns integer numbers of RBs to each user, with channel quality assumed approximately constant within one RB.

Related: OFDMA