Skip to main content

Why MSE Is Often Used in Wireless Communication


Why MSE Is Often Used in Wireless Communication

Understanding MSE and MMSE

In wireless communication systems, signals transmitted over the air are distorted by noise, multipath effects, and interference. To measure how well a receiver can recover the original transmitted signal, engineers frequently use Mean Squared Error (MSE), which calculates the average of the squares of errors between estimated and true values. The Minimum Mean Square Error (MMSE) approach finds the estimator that minimizes this squared error. 

Channel Estimation and Equalization

In systems like MIMO and OFDM, receivers must estimate channel characteristics to undo the distortion caused by the propagation environment. Using pilot symbols or known training sequences, the receiver compares the observed signal with expected values and computes estimates of the channel. Minimizing the MSE between estimated and actual channel responses leads to more accurate channel estimation and better performance. 

After channel estimation, equalizers use MMSE criteria to compensate for channel effects such as intersymbol interference (ISI) and noise. MMSE equalizers balance reducing distortion versus amplifying noise, making them more robust than simpler methods like zero-forcing equalization. 

Adaptive Filtering and Noise Mitigation

Adaptive filtering techniques, such as adaptive equalizers, continuously update filter coefficients to track time-varying channels. These algorithms often use MSE as the performance criterion: the goal is to update parameters to minimize the mean squared difference between desired and received signals. This leads to better tracking of channel variations and improved signal quality. 

Mathematical and Practical Advantages

MSE has properties that make it mathematically convenient for optimization:

  • It is differentiable, which allows analytical solutions in many estimation problems.
  • It penalizes larger errors more strongly, which often results in better overall signal fidelity.

As a result, many estimation and filtering algorithms — from MMSE equalizers to Wiener or Kalman filters — aim to minimize MSE to achieve optimal performance under noise. 


MATLAB Code (MMSE vs Zero-Forcing)

clc; clear; close all;

%% Parameters
Nt = 4; % Transmit antennas
Nr = 4; % Receive antennas
SNR_dB = 0:2:20; % SNR range for plotting
numBits = 1e5; % Bits per antenna
BER_ZF = zeros(1, length(SNR_dB));
BER_MMSE = zeros(1, length(SNR_dB));
MSE_VAL = zeros(1, length(SNR_dB));

for i = 1:length(SNR_dB)
    snr_linear = 10^(SNR_dB(i)/10);
    noiseSigma = sqrt(1 / (2 * snr_linear)); % Noise standard deviation
    
    % Generate Bits and BPSK Symbols
    bits = randi([0 1], Nt, numBits);
    txSymbols = 1 - 2 * bits; % BPSK: 0 -> 1, 1 -> -1
    
    % Rayleigh Channel Matrix
    H = (randn(Nr, Nt) + 1j * randn(Nr, Nt)) / sqrt(2);
    
    % Add AWGN
    noise = noiseSigma * (randn(Nr, numBits) + 1j * randn(Nr, numBits));
    y = H * txSymbols + noise;

    %% --- 1. Zero-Forcing (ZF) Receiver ---
    W_zf = pinv(H);
    x_zf = W_zf * y;
    bits_zf = real(x_zf) < 0;
    BER_ZF(i) = sum(bits_zf(:) ~= bits(:)) / (Nt * numBits);

    %% --- 2. MMSE Receiver ---
    % Formula: W_mmse = (H'H + (1/SNR)*I)^-1 * H'
    W_mmse = (H' * H + (1/snr_linear) * eye(Nt)) \ H';
    x_mmse = W_mmse * y;
    
    % Calculate actual Mean Squared Error (MSE)
    errors = txSymbols - x_mmse;
    MSE_VAL(i) = mean(abs(errors(:)).^2);
    
    bits_mmse = real(x_mmse) < 0;
    BER_MMSE(i) = sum(bits_mmse(:) ~= bits(:)) / (Nt * numBits);
end

%% Plotting Results 
figure('Color', 'w');
semilogy(SNR_dB, BER_ZF, 'r-o', 'LineWidth', 2, 'MarkerSize', 8); hold on;
semilogy(SNR_dB, BER_MMSE, 'b-s', 'LineWidth', 2, 'MarkerSize', 8);
grid on;
xlabel('SNR (dB)');
ylabel('Bit Error Rate (BER)');
title('MIMO Performance: Zero-Forcing vs. MMSE');
legend('Zero-Forcing (ZF)', 'MMSE Receiver');

figure('Color', 'w');
plot(SNR_dB, MSE_VAL, 'k-d', 'LineWidth', 2);
grid on;
xlabel('SNR (dB)');
ylabel('Measured MSE');
title('Mean Squared Error (MSE) vs. SNR');

Summary

In wireless communication, MSE and MMSE estimation are widely used because they provide a clear quantitative measure of error between estimated and true signals, help design equalizers that balance noise and distortion, and lead to practical algorithms for channel estimation and adaptive filtering. These criteria support robust performance in dynamic and noisy wireless environments. 


Further Reading




Contact Us

Name

Email *

Message *

Popular Posts

UGC NET Electronic Science Previous Year Question Papers with Solutions

Home / Engineering & Other Exams / UGC NET 2026 PYQ ⬇️ Download Papers and Solutions 📋 Exam Pattern 💡 Preparation Tips ❓ FAQs 📊 Exam Highlights: Electronic Science (88) Feature Details Junior Research Fellowship (JRF) ₹37,000 + HRA per month Eligibility M.Sc/M.Tech in Electronics (55%) Validity of Certificate JRF (3 Years) | Lectureship (Lifetime) 📥 Download UGC NET Electronics PDFs Complete collection of previous year question papers, answer keys and explanations for Subject Code 88. Start Downloading 📂 View All Question Papers June 2025 - Question Paper Download PDF June 2025 - Solved Paper + Explanation ...

BER vs SNR for M-ary QAM, M-ary PSK, QPSK, BPSK, ...(MATLAB Code + Simulator)

Bit Error Rate (BER) & SNR Guide Analyze communication system performance with our interactive simulators and MATLAB tools. 📘 Theory 🧮 Simulators 💻 MATLAB Code 📚 Resources BER Definition SNR Formula BER Calculator MATLAB Comparison 📂 Explore M-ary QAM, PSK, and QPSK Topics ▼ 🧮 Constellation Simulator: M-ary QAM 🧮 Constellation Simulator: M-ary PSK 🧮 BER calculation for ASK, FSK, and PSK 🧮 Approaches to BER vs SNR Calculation What is Bit Error Rate (BER)? The BER indicates how many corrupted bits are received compared to the total number of bits sent. It is the primary figur...

Constellation Diagrams of ASK, PSK, and FSK (with MATLAB Code + Simulator)

Constellation Diagrams: ASK, FSK, and PSK Comprehensive guide to signal space representation, including interactive simulators and MATLAB implementations. 📘 Overview 🧮 Simulator ⚖️ Theory 📈 Q-function 📚 Resources BASK Modulation Transmits one of two signals: 0 or $\sqrt{E_b}$, representing binary 0 and 1. Simple but sensitive to noise. BFSK Modulation Transmits one of two signals: $\sqrt{E_b}$ on the Y-axis or $\sqrt{E_b}$ on the X-axis. These are orthogonal signals. BPSK Modulation Transmits $+\sqrt{E_b}$ or $-\sqrt{E_b}$ (antipodal signaling). Most efficient binary scheme. ...

Wiener Filter in MATLAB

  MATLAB Code  % Wiener Filter Based on Wiener-Hopf Equation % This script demonstrates how to apply the Wiener filter to recover % a reference signal from a noisy signal using the Wiener-Hopf equation. % The filter minimizes the mean squared error between the noisy signal and the reference signal. clear; close all; clc; % Signal Parameters fs = 4000; % Sampling frequency (Hz) T = 1; % Total recording time (seconds) L = T * fs; % Signal length (samples) tt = (0:L-1) / fs; % Time vector ff = (0:L-1) * fs / L; % Frequency vector % Generate Reference Signal (a sinusoid) y = sin(2 * pi * 120 * tt); % Reference sinusoidal signal y = y(:); % Ensure column vector % Create Noisy Signal by Adding Gaussian Noise x = 0.50 * randn(L, 1) + y; % Noisy signal x = x(:); % Ensure column vector % Define Filter Order (Number of Coefficients) N = 200; % Apply Wiener Filter using custom function [xest, b, MSE] = wienerFilt(x, y, N); % Plot Results figure; subplot(411); plot(tt, x, 'k'), hold on, p...

MIMO Channel Matrix | Rank and Condition Number

MIMO / Massive MIMO MIMO Channel Matrix | Rank and Condition...   The channel matrix in wireless communication is a matrix that describes the impact of the channel on the transmitted signal. The channel matrix can be used to model the effects of the atmospheric or underwater environment on the signal, such as the absorption, reflection or scattering of the signal by surrounding objects. When addressing multi-antenna communication, the term "channel matrix" is used. Let's assume that only one TX and one RX are in communication and there's no surrounding object. Here, in our case, we can apply the proper threshold condition to a received signal and get the original transmitted signal at the RX side. However, in real-world situations, we see signal path blockage, reflections, etc.,  (NLOS paths [↗]) more frequently. The obstruction is typically caused by building walls, etc. Multi-antenna communication was introduced to address this issue. It makes diversity app...

Overmodulation & Distortion in AM

Overmodulation in AM and How It Causes Distortion 1. AM Signal Equation s(t) = A c [1 + μ m(t)] cos(2Ï€ f c t) A c = carrier amplitude m(t) = normalized modulating signal (|m(t)| ≤ 1) μ = modulation index 2. Modulation Index μ = A m / A c - Normal AM: 0 < μ ≤ 1 → no distortion - Overmodulation: μ > 1 → distortion occurs 3. Envelope and Overmodulation A(t) = A c [1 + μ m(t)] - For undistorted AM: 1 + μ m(t) ≥ 0 at all times - If μ > 1: 1 + μ m(t) < 0 at negative peaks → carrier flips Example: Let m(t) = cos(2Ï€ f m t), A c = 1 V, μ = 1.2 Minimum envelope: A min = A c [1 - 1.2] = -0.2 V Negative amplitude → envelope crosses zero → 180° phase flip 4. Mathematical Consequence -A c cos(θ) = A c cos(θ + Ï€) This phase reversal is what causes distortion in the demodulated signal. 5. Instantaneous AM Signal s...

MUSIC Algorithm Explained (with MATLAB + Simulator)

Practical Implementation of the MUSIC Algorithm The focus is on how the algorithm works computationally , not just theory, and it explains the denominator (a H E n E n H a) mathematically and intuitively. 1. Introduction The MUSIC (Multiple Signal Classification) algorithm is a high-resolution method used in signal processing and array processing to estimate the Direction of Arrival (DOA) of signals received by a sensor array. Unlike classical beamforming methods, MUSIC uses eigenvector decomposition of the covariance matrix to separate the signal subspace and noise subspace , allowing it to achieve much higher angular resolution. In practical implementations, MUSIC works by: Simulating or collecting array signals Computing the covariance matrix Performing eigenvalue decomposition Separating signal and noise subspaces Scanning possible angles using a steering vector Constructing a pseudo-spectrum where peaks indicate signal directions 2. Signal Mo...

OFDM Symbols and Subcarriers Explained

This article explains how OFDM (Orthogonal Frequency Division Multiplexing) symbols and subcarriers work. It covers modulation, mapping symbols to subcarriers, subcarrier frequency spacing, IFFT synthesis, cyclic prefix, and transmission. Step 1: Modulation First, modulate the input bitstream. For example, with 16-QAM , each group of 4 bits maps to one QAM symbol. Suppose we generate a sequence of QAM symbols: s0, s1, s2, s3, s4, s5, …, s63 Step 2: Mapping Symbols to Subcarriers Assume N sub = 8 subcarriers. Each OFDM symbol in the frequency domain contains 8 QAM symbols (one per subcarrier): Mapping (example) OFDM symbol 1 → s0, s1, s2, s3, s4, s5, s6, s7 OFDM symbol 2 → s8, s9, s10, s11, s12, s13, s14, s15 … OFDM sym...