Chuyển đến nội dung chính
Quỳnh Giang
Quay lại

Secure Beamforming and Artificial Noise (AN) Design in Massive MIMO Systems

Chỉnh sửa trang

In our previous post, we examined how Channel Hardening and asymptotic orthogonality empower Physical-Layer Security (PLS) in Massive MIMO setups. However, real-world wireless deployments face two critical threat vectors:

  1. Passive Eavesdroppers: Covert eavesdroppers remain strictly silent during transmission, leaving the Base Station (BS) with zero Channel State Information (CSI) regarding Eve’s channel hE\mathbf{h}_E.
  2. Active Pilot Contamination Attacks: Malicious nodes transmit identical pilot sequences during the uplink channel estimation phase, intentionally corrupting the BS’s channel estimates and steering downlink beamforming straight toward the attacker!

To combat these threats, Null-Space Artificial Noise (AN) generation combined with Secure Beamforming provides a robust, provable security architecture.


1. The Principle of Null-Space Artificial Noise (AN)

The fundamental concept of Artificial Noise (originally introduced by Goel and Negi) is elegant: The Base Station (Alice) partitions its total available power budget PmaxP_{\max} into two components:

                  +----------------------------------------------+
                  |                 Alice (BS)                   |
                  | Transmit Signal: x = w * s  +  V_n * z       |
                  +----------------------------------------------+
                               /                     \
       Information Beam w * s /                       \ Artificial Noise V_n * z
       steered toward Bob    /                         \ flooded omnidirectionally
                            v                           v
                  +-------------------+       +--------------------+
                  |    Bob (Legit)    |       |     Eve (Spy)      |
                  |  h_B^H * V_n = 0  |       |  h_E^H * V_n != 0  |
                  |  => Noise = 0     |       |  => Eve is blinded |
                  |  Clear reception  |       |     by massive jam |
                  +-------------------+       +--------------------+

Mathematical Formulation

Consider a BS equipped with MM antenna elements serving single-antenna user Bob whose channel is hBCM×1\mathbf{h}_B \in \mathbb{C}^{M \times 1}. Alice constructs an orthonormal null-space projection matrix VnCM×(M1)\mathbf{V}_n \in \mathbb{C}^{M \times (M-1)} satisfying:

hBHVn=01×(M1)\mathbf{h}_B^H \mathbf{V}_n = \mathbf{0}_{1 \times (M-1)}

The composite transmit signal xCM×1\mathbf{x} \in \mathbb{C}^{M \times 1} is:

x=Psws+PnM1Vnz\mathbf{x} = \sqrt{P_s} \mathbf{w} s + \sqrt{\frac{P_n}{M-1}} \mathbf{V}_n \mathbf{z}

Where:


2. Received Signal Dynamics at Bob vs. Eve

2.1. At Authorized User Bob

The received signal at Bob is:

yB=hBHx+nB=PshBHws+PnM1hBHVn=0z+nBy_B = \mathbf{h}_B^H \mathbf{x} + n_B = \sqrt{P_s} \mathbf{h}_B^H \mathbf{w} s + \sqrt{\frac{P_n}{M-1}} \underbrace{\mathbf{h}_B^H \mathbf{V}_n}_{=\mathbf{0}} \mathbf{z} + n_B

yB=PshBs+nBy_B = \sqrt{P_s} \|\mathbf{h}_B\| s + n_B

Due to the null-space orthogonality condition, the injected artificial noise is 100% neutralized at Bob. Bob’s Signal-to-Noise Ratio (SNR) experiences zero degradation from the AN!

2.2. At Eavesdropper Eve

Because Eve’s channel hE\mathbf{h}_E is statistically independent of Bob’s channel hB\mathbf{h}_B, hE\mathbf{h}_E is almost surely not in the null space of Vn\mathbf{V}_n (hEHVn0\mathbf{h}_E^H \mathbf{V}_n \neq \mathbf{0}). The received signal at Eve is:

yE=PshEHws+PnM1hEHVnz+nEy_E = \sqrt{P_s} \mathbf{h}_E^H \mathbf{w} s + \sqrt{\frac{P_n}{M-1}} \mathbf{h}_E^H \mathbf{V}_n \mathbf{z} + n_E

The resulting Signal-to-Interference-plus-Noise Ratio (SINR) at Eve is severely degraded:

γE=PshEHw2PnM1hEHVn2+σE2\gamma_E = \frac{P_s |\mathbf{h}_E^H \mathbf{w}|^2}{\frac{P_n}{M-1} \|\mathbf{h}_E^H \mathbf{V}_n\|^2 + \sigma_E^2}

By applying the Law of Large Numbers for large arrays (M1M \gg 1), hEHVn2(M1)βE\|\mathbf{h}_E^H \mathbf{V}_n\|^2 \to (M-1) \beta_E, yielding:

γEPshEHw2PnβE+σE2\gamma_E \approx \frac{P_s |\mathbf{h}_E^H \mathbf{w}|^2}{P_n \beta_E + \sigma_E^2}

As artificial noise power PnP_n increases, γE0\gamma_E \to 0, forcing the eavesdropper’s channel capacity CE0C_E \to 0 regardless of Eve’s physical location!


3. Optimal Power Allocation (PsP_s vs. PnP_n)

The secrecy rate optimization problem is formulated as:

maxPs,Pn0[log2(1+PshB2σB2)log2(1+PshEHw2PnβE+σE2)]\max_{P_s, P_n \ge 0} \left[ \log_2\left(1 + \frac{P_s \|\mathbf{h}_B\|^2}{\sigma_B^2}\right) - \log_2\left(1 + \frac{P_s |\mathbf{h}_E^H \mathbf{w}|^2}{P_n \beta_E + \sigma_E^2}\right) \right]

s.t.Ps+PnPmax\text{s.t.} \quad P_s + P_n \le P_{\max}

Analytical derivation via Karush-Kuhn-Tucker (KKT) conditions confirms that allocating 60% - 75% power to data (PsP_s) and 25% - 40% power to artificial noise (PnP_n) yields near-optimal secrecy capacity when M64M \ge 64.


4. Mitigating Active Pilot Contamination Attacks

When an active attacker broadcasts training pilots synchronously with Bob:

  1. Energy Ratio Detection: The BS computes the energy ratio between orthogonal pilot slots to detect malicious signal injection.
  2. Angle-of-Arrival (AoA) Subspace Filtering: Leveraging massive spatial degrees of freedom, the BS resolves angular signatures and projects the channel estimate onto an uncontaminated spatial subspace.

5. Python Simulation

import numpy as np

def simulate_an_pls(M=64, P_total=1.0, power_split=0.7, trials=1000):
    P_s = power_split * P_total
    P_n = (1.0 - power_split) * P_total
    sigma2 = 0.01  # Noise variance

    secrecy_rates = []

    for _ in range(trials):
        h_B = (np.random.randn(M, 1) + 1j * np.random.randn(M, 1)) / np.sqrt(2)
        h_E = (np.random.randn(M, 1) + 1j * np.random.randn(M, 1)) / np.sqrt(2)

        # MRT Precoding
        w = h_B / np.linalg.norm(h_B)

        # Null-space matrix via QR decomposition
        Q, _ = np.linalg.qr(h_B, mode='complete')
        V_n = Q[:, 1:]  # Shape: (M, M-1)

        # Bob SNR (AN is completely canceled)
        gamma_B = (P_s * (np.linalg.norm(h_B) ** 2)) / sigma2
        C_B = np.log2(1 + gamma_B)

        # Eve SINR (Jammed by AN)
        an_leakage = np.linalg.norm(h_E.conj().T @ V_n) ** 2 / (M - 1)
        sig_eve = np.abs(h_E.conj().T @ w) ** 2
        gamma_E = float((P_s * sig_eve) / (P_n * an_leakage + sigma2))
        C_E = np.log2(1 + gamma_E)

        R_s = max(0.0, float(C_B - C_E))
        secrecy_rates.append(R_s)

    return np.mean(secrecy_rates)

print("=== SECURE BEAMFORMING & ARTIFICIAL NOISE SIMULATION ===")
for split in [0.99, 0.8, 0.7, 0.5, 0.3]:
    rate = simulate_an_pls(M=64, P_total=1.0, power_split=split)
    print(f"Split P_s: {split*100:2.0f}% | P_n: {(1-split)*100:2.0f}% -> Secrecy Rate: {rate:.3f} bps/Hz")

6. Conclusion

By exploiting the immense null-space dimensionality of Massive MIMO, Null-Space Artificial Noise turns wireless propagation geometry into a deterministic security shield. Authorized nodes receive pristine transmissions while eavesdroppers are blinded by targeted interference.


Chỉnh sửa trang
Chia sẻ bài viết:

Bài viết trước
Проектирование защищенного диаграммообразования и искусственного шума (AN) в Massive MIMO
Bài viết tiếp theo
Welcome to Quỳnh Giang's Personal Blog