Contents
- 1. Start with DMRS: Where Do the Observations Come From
- Sequence Generation
- Time-Frequency Structure
- OCC: Ports Multiplexed by Orthogonal Codes
- 2. Receive Signal Model
- Vector Model on a Single RE
- Data REs vs. DMRS REs
- 3. Deriving MMSE Equalization
- The Criterion
- Substituting and Solving
- Equivalent Forms and Common Writings
- Whitening Implementation
- Posterior Error Covariance
- 4. After Equalization: How Demodulation Works
- The Equivalent AWGN Approximation
- From s^i\hat${s}_is^i to Bit LLRs
- Three Output Forms
- 5. Estimating the Interference Covariance Matrix
- Three Technical Routes
- Why Per-RB Direct Estimation Fails
- “Global Shape + Per-RB Scalar”
- The Backlash of Estimation Error
- 6. On the Legitimacy of the Inversion
- 7. To Verify
Estimating the Interference Covariance Rnn in MMSE Equalization
Between receive samples and bits lies a complete chain: DMRS provides usable observations → the channel and interference statistics are estimated → MMSE equalization suppresses the spatial interference → the demodulator turns the equalizer output into LLRs. This post walks through every link in that order, with the emphasis on the last one: how is the interference covariance actually estimated?
1. Start with DMRS: Where Do the Observations Come From
In NR, every channel and interference estimate has to rely on DMRS (demodulation reference signals). It has two key properties: it is fully known at the receiver, and it shares the same time-frequency resources as the data — precisely because of this, the channel it measures can be used directly for demodulation at the same positions, without cross-resource interpolation for inference (unlike the thinking of the CRS era).
Sequence Generation
The PUSCH DMRS is a string of QPSK symbols generated from a Gold sequence (length 31) (TS 38.211 §6.4.1.1.1):
The Gold sequence is initialized by , which contains the cell ID, the slot number, the symbol number, and the scrambling ID :
The fact that contains the slot and symbol numbers matters: it means the sequence is different on every DMRS symbol, and as long as two neighboring cells have different , their DMRS sequences are mutually distinct. Sequence-level orthogonality (low cross-correlation) is one of the prerequisites for “interference being distinguishable” later on.
Time-Frequency Structure
In the time domain, two parameters determine the DMRS positions:
| Mapping type | Start position | Additional symbols |
|---|---|---|
| Mapping type A | The -th symbol within the slot ( or , configured by dmrs-TypeA-Position) | Determined by additionalPosition, up to 4 DMRS symbols in total |
| Mapping type B | The first scheduled symbol | Same as above |
More symbols means higher time resolution for channel estimation (able to track faster Doppler), but also more data REs consumed — a fixed overhead trade-off.
In the frequency domain, the configuration type determines the DMRS density and multiplexing scheme:
| Configuration | Frequency-domain pattern | REs per RB per DMRS symbol | Number of CDM groups | Max ports (single / double symbol) |
|---|---|---|---|---|
| Type 1 | Comb, spaced 2 subcarriers apart | 6 | 2 | 4 / 8 |
| Type 2 | Adjacent pairs of subcarriers, spaced 3 apart | 4 | 3 | 6 / 12 |
OCC: Ports Multiplexed by Orthogonal Codes
The DMRS of multiple ports (multiple layers or multiple users) overlap on the same set of REs and are separated by orthogonal covering codes (OCC): (length 2) in the frequency domain, and for double-symbol DMRS an additional (length 2) in the time domain. Taking Type 1 single-symbol as an example, the two ports within the same CDM group are distinguished by and , so:
The receiver despreads (correlates) with the matching codeword to separate the channels of the two ports — this is exactly the extra “intra-CDM-group stream separation” step that Sionna’s PUSCHLSChannelEstimator performs compared to a plain LSChannelEstimator.
But the price is that the number of independent observations gets compressed: after despreading, one CDM group within one RB leaves only 6 REs; considering that the channel is highly correlated between adjacent subcarriers, a further frequency combining leaves only about 3 truly independent samples. This number will come up repeatedly below — it is the direct reason why “per-RB covariance estimation” is infeasible.
2. Receive Signal Model
Vector Model on a Single RE
Consider one RE (subcarrier , OFDM symbol ), a receiver with antennas, and the desired signal coming from streams (including precoding):
- : the equivalent serving-cell channel of the desired signal (precoder included)
- : thermal noise, modeled as white Gaussian,
- The summation term: all non-desired components, including neighbor-cell interference, interference from other UEs in the same cell, and neighbor-cell DMRS leakage
Merging the last two terms into :
where
This expression deserves a few seconds of staring: the thermal-noise part is spatially white (), but the interference part generally is not — because projects the interference energy onto particular spatial directions. All of the “shape” of comes from the second term.
Data REs vs. DMRS REs
The same expression, but the known quantities are completely different on the two kinds of REs:
| Is known | What you can do | |
|---|---|---|
| DMRS symbols | Known (sequence + OCC) | Estimate , and estimate from the residual |
| Data symbols | Unknown (they are exactly what must be demodulated) | MMSE equalization + demodulation |
This difference determines the basic shape of all the estimation methods that follow: channel and covariance estimation can only be done on DMRS (or iteratively on data via decision feedback). And the difficulty that “interference RB allocation is random → per-RB differs” stems from the fact that DMRS only appears on fixed symbols within the data RBs, so a single RB naturally provides a limited number of samples.
3. Deriving MMSE Equalization
The Criterion
We look for a linear estimate that minimizes the mean-square error:
Take the gradient with respect to and set it to zero (orthogonality principle: the error of the optimal estimate must be orthogonal to the observation):
Substituting and Solving
Since and are uncorrelated:
Thus
If the streams are i.i.d. with unit power (), this simplifies to
Equivalent Forms and Common Writings
Using the matrix inversion lemma (Woodbury), the expression above can be rewritten so that the inverted matrix shrinks to :
The two writings are mathematically equivalent, but their engineering meaning differs: the latter makes explicit — “whiten first, then equalize”. When , its computational cost is clearly smaller.
One easily overlooked point: the common writing is only strictly valid when . It treats as a scalar term with equal variance across streams, which is merely an approximation when the interference is colored (spatially correlated). To handle colored interference rigorously, use one of the two forms above, or whiten first.
Whitening Implementation
In practice, whitening is more common: Cholesky-decompose as and let
The equivalent model after whitening now has white noise: , where . At this point just apply the standard form:
This has two benefits: the “colored noise” complexity is isolated in one place, and the numerical problems of directly inverting are avoided. Sionna’s whiten_channel does exactly this.
Posterior Error Covariance
The derivation yields a key by-product along the way — the covariance of the estimation error:
Its diagonal entries are exactly the residual error variance of each stream, which is precisely what the demodulation below needs.
4. After Equalization: How Demodulation Works
The Equivalent AWGN Approximation
The equalizer output is not an error-free . The standard engineering practice is to write stream as
That is, the MMSE output error is approximated as independent Gaussian noise. The approximation is not rigorous (the error is actually a linear combination of the per-stream errors, and they remain correlated), but it is the foundational assumption on which all downstream demodulators work.
The in this step is exactly the meaning of
no_eff, the second return value of Sionna’slmmse_equalizer: the effective noise variance. Its value is interesting — the higher the SIR and the better the equalizer suppresses interference, the smaller ; when interference is strong and cannot be effectively suppressed, becomes significantly larger than the thermal noise variance.
From to Bit LLRs
Given , the likelihood of each candidate point in the constellation set is
The LLR of bit follows the log-likelihood-ratio definition: the denominator sums over the constellation set where “the bit is 0”, and the numerator over :
This is APP (exact a-posteriori probability) demodulation, corresponding to Demapper("app", ...) in Sionna. It evaluates every constellation point, and its complexity grows exponentially with the modulation order.
The max-log approximation keeps only the nearest point in each set, turning the sums into minima:
For 16-QAM only two distances must be compared; the complexity drops from to a constant, at the cost of a few tenths of a dB of performance loss. In Sionna this is demapping_method="maxlog".
Three Output Forms
| Output | Use | How |
|---|---|---|
| Hard-decision bits | Quick evaluation, uncoded links | Pick the constellation point nearest to , then map back to bits |
| Bit LLRs | Soft-decision decoding (LDPC/Polar/Turbo) | The LLR formulas above |
| Symbol LLRs / logits | Iterative receivers | Keep symbol-level confidence for the next round of detection or channel estimation |
The LLRs then enter the FEC decoder (LDPC in NR). Note that the scale of the LLRs depends on : if is underestimated, the LLR magnitudes are inflated and the decoder becomes overconfident; if overestimated, the soft information gets diluted. So whether was estimated accurately ultimately shows up in the quality of the LLRs.
5. Estimating the Interference Covariance Matrix
Back to the core question: where does come from?
Three Technical Routes
Route 1: the DMRS residual method (most common)
First do channel estimation to obtain , then compute the residual on the DMRS REs
and form the sample covariance over a batch of residual samples:
Two things to watch out for: the residual is contaminated by channel-estimation error (an inaccurate directly pollutes , especially at low SNR); and the despread samples are correlated, so the effective number of independent samples is smaller than the number of REs.
Route 2: silent-resource sampling
If there are resources known to carry “no desired signal” — unscheduled empty REs, zero-power CSI-RS, or deliberately blanked PRBs — there , and you can directly
The upside is zero channel-estimation error contamination; the cost is that such resources may not exist, and their interference environment (position, beam direction) may not match the data REs you actually need to demodulate.
Route 3: structured modeling
Instead of estimating the matrix directly, estimate parameters:
The noise floor is a full-rank white component; each interferer contributes a power and a spatial shape . Interference is spatially low-rank (the number of strong interferers is usually far smaller than the number of receive antennas), so this model has far fewer degrees of freedom than a complete matrix — and the sample requirement drops accordingly.
Why Per-RB Direct Estimation Fails
Now we can explain the number from the beginning. Estimating an covariance from samples, the rank of the sample covariance is at most :
As computed earlier, under OCC only about 3 independent samples are available within one RB. Already at a full-rank result is impossible (when , rank deficiency is guaranteed); the matrix is singular, and plugging it straight into the MMSE formula breaks the inversion.
And because the interference RB allocation and starting positions are random, “averaging across RBs” cannot simply be used either — an averaging window that crosses an RB boundary mixes two different interference environments together.
“Global Shape + Per-RB Scalar”
The key observation is: the spatial shape is essentially frequency-independent; only the power varies across RBs.
That is, the covariance can be factored as
- : the normalized spatial shape matrix (usually with the convention ), assumed shared over a bandwidth segment and therefore jointly estimable from data on all subcarriers, with ample samples;
- : the scalar interference power on RB — a single real number, estimable fairly stably from just a few sample points.
This reduces “estimating a matrix” to “estimating one matrix + a list of scalars”, cutting the sample requirement by an order of magnitude. It is the same idea as Route 3 at two levels: absorbs the spatial shape of the interference, and is the equivalent power.
In practice there are a few supporting details:
- How to choose the averaging window: in frequency, do not cross RB boundaries (the interference allocation changes abruptly), but time-domain averaging across multiple slots is fine (the interference statistics can be considered stationary over tens of milliseconds);
- Average only the shape, not the power: this is the premise on which the method works. If the power is averaged along with it, the per-RB variation gets smoothed away;
- Diagonal loading: whichever route you take, you end up adding (see below).
The Backlash of Estimation Error
Low rank is an opportunity, but estimation mismatch bites back.
Interference being spatially low-rank theoretically means MMSE only needs to suppress along those few directions, raising the performance ceiling. But if is misestimated, the suppression directions are misaligned, and the result can be worse than simply using a diagonal matrix (i.e., ignoring spatial correlation). In scenarios where confidence in the shape estimate is low, falling back to the diagonal model is often safer.
Similarly, inverting the raw sample covariance directly (instead of going through a structured model) is also dangerous at high SIR: the interference component is small there, so the relative estimation error of is actually larger.
6. On the Legitimacy of the Inversion
Finally, one easily confused point: the matrix in the MMSE formula
Its rank generally does not equal the rank of . The latter is determined by the number of independent transmit streams and can be deficient (guaranteed when ), whereas , once the noise floor is added, is full-rank and positive definite. After summing the two, the rank of the whole is determined by .
So whether the inversion is legitimate depends on whether is positive definite, not on the rank of the channel matrix. This is also why the noise floor must be added to :
Otherwise, on RBs where interference is weak or absent, the covariance matrix is nearly singular and the inversion result is dominated by numerical noise. The choice of balances two extremes: too small provides no regularization; too large suppresses the interference-rejection capability along with it — in the extreme case degenerates into matched filtering.
7. To Verify
- Build a multi-UE interference scenario in Sionna and verify over how wide a bandwidth the shape matrix can be treated as invariant
- Compare the BLER at different SIRs for three schemes: per-RB independent estimation, “shape + scalar”, and pure diagonal
- Examine how the choice of affects performance in the high-SIR region
- Estimate with the DMRS residual method and with silent-resource sampling respectively, and compare whether the estimated spatial shapes agree (this checks how large the residual channel-estimation error is)
- Compare against the true error variance and check whether the LLR scale needs correction
Comments
Loading comments…
Want to leave a note? Sign in first — comments are open to every signed-in reader.