Skip to main content

Doppler Delay (with MATLAB + Simulator)


Doppler Shift Formula

When either the transmitter or the receiver is in motion, or when both are in motion, Doppler Shift is an essential parameter in wireless communication. We notice variations in reception frequencies in vehicles, trains, or other similar environments. In plain language, the received signal frequency increases as the receiver moves toward the transmitter and drops as the receiver moves in the opposite direction. This phenomenon is called the Doppler shift or Doppler spread.

Doppler Shift Formula

The relationship between the transmitted and received frequency is defined as:

fR = fT ± fD
  • fR = Receiving frequency
  • fT = Transmitted frequency
  • fD = Doppler frequency (shift)

The Doppler frequency is determined by the speed of the vehicle and the angle of the arriving wave:

Doppler shift (LOS path): ν1 = fc * v / c
Doppler shift (Reflected path): ν2 = (fc * v / c) * cos(θ)

Doppler spread: BD = | ν2 − ν1 |

Where c is the speed of light and v is the speed of the vehicle. Alternatively, expressed via wavelength (λ):

BD = | (v / λ) * (cos(θ) - 1) |

Movement Scenarios:

1. Towards BS: When the MS reaches towards the Base Station, θ = 0°, so cos(0°) = 1. The frequency increases:
fR = fT + (v / λ)

2. Away from BS: When the MS moves away, θ = 180°, so cos(180°) = -1. The frequency decreases:
fR = fT - (v / λ)

Doppler Shift vs Doppler Spread

1. Doppler Shift

Represents a single frequency change due to relative motion between a source and an observer. For example, the frequency offset of a radar signal reflecting off a single moving car.

2. Doppler Spread

The range of frequency shifts occurring in a multipath environment. It measures the spectral broadening and affects the channel's coherence time.

MATLAB Implementation

% Doppler Shift calculation script
clc; clear; close all;

c = 3e8;      % Speed of light (m/s)
f0 = 2.4e9;   % Center frequency (2.4 GHz)

% Velocities of different objects
velocities = [-30, -10, 0, 10, 20]; 

% Calculate Shifts and Spread
doppler_shifts = (velocities / c) * f0;
doppler_spread = max(doppler_shifts) - min(doppler_shifts);

fprintf('Doppler Shifts (Hz):\n');
disp(doppler_shifts);
fprintf('Doppler Spread (Hz): %f\n', doppler_spread);

Expected Output:

Relative velocities (in m/s): -30 -10 0 10 20 Doppler Shifts (Hz): -240 -80 0 80 160 Doppler Spread (Hz): 400.000000

How Doppler Spread Affects Communication

Doppler spread causes fading in wireless communication. When received power fluctuates over time, it results in fast or slow fading. High Doppler spread leads to a short coherence time, meaning the channel changes very rapidly.

For practical systems, the received signal r(t) is modeled as:

r(t) = s(t - τ) * h(τ, t) * exp(j * 2 * π * fD * (t - τ))
  • s(t - Ï„): Transmitted signal with delay Ï„.
  • h(Ï„, t): Time-varying impulse response.
  • exp(j...): Complex phase shift due to Doppler frequency fD.

Try Interactive Online Simulators



Contact Us

Name

Email *

Message *

Popular Posts

MATLAB Code for MUSIC

  MATLAB Code clc; clear; close all ; %% Step 1: Define Parameters M = 8; % Number of array sensors d = 0.5; % Sensor spacing (lambda/2) K = 2; % Number of signals N = 200; % Number of snapshots theta = [-20 30]; % True signal angles (degrees) SNR = 10; % Signal-to-noise ratio (dB) fprintf( 'Step 1: Parameters Initialized\n' ); %% Step 2: Generate Signal Sources t = 1:N; s1 = exp(1j*2*pi*0.05*t); s2 = exp(1j*2*pi*0.1*t); S = [s1; s2]; figure; plot(real(S(1,:))) title( 'Signal 1 (Real Part)' ) xlabel( 'Samples' ) ylabel( 'Amplitude' ) figure; plot(real(S(2,:))) title( 'Signal 2 (Real Part)' ) xlabel( 'Samples' ) ylabel( 'Amplitude' ) fprintf( 'Step 2: Source Signals Generated\n' ); %% Step 3: Construct Steering Matrix A = zeros(M,K); for k = 1:K A(:,k) = exp(-1j*2*pi*d*(0:M-1)'*sin(theta(k)*pi/180)); end fprintf( 'Step 3: Steering Matr...

Direction of Arrival (DoA) Online Simulator (using MUSIC)

Interactive DOA Simulator X-axis XY angle (deg): 45 XZ angle (deg): 30 Noise: 0.05 Y-axis XY angle (deg): 60 YZ angle (deg): 45 Noise: 0.05 Z-axis XZ angle (deg): 60 YZ angle (deg): 30 Noise: 0.05 Estimated DOA (deg): 0 Simulation Workflow and Mathematical Background This simulator demonstrates Direction of Arrival (DOA) estimation using three-axis sensor signals (X, Y, Z), Maximal Ratio Combining (MRC) , and the MUSIC algorithm . It allows interactive control of signal angles and noise for teaching purposes. 1. Signal Generation A pure sinewave signal of frequency f is projected onto three axes using user-defined angles in different planes: X-axis: θ XY , θ XZ Y-axis: θ XY , θ YZ Z-axis: θ XZ , θ YZ Mathematically, for each time sample t : x(t) = s(t) * cos(θ_xy_x) * cos(θ_xz_x) + n_x(t) y(t) = s(t) * sin(θ_xy_y) * cos(θ_yz_y) + n_y(t) z(t) = s(t) * sin(θ_xz_z) * sin(θ_yz_z) + n_z(t) wh...

Amplitude Demodulation Simulation

Instructions for Amplitude Modulation (AM) Step 1: Click on 'Generate Message' button to generate input message signal Step 2: Then click on 'Generate Carrier' button to generate carrier signal. The carrier frequency has to be more than the message frequency and You can change frequencies using sliders Step 3: Click on 'Generate Amplitude Modulated Signal' button to generate Amplitude Modulated Signal Step 4: Click the 'Show Frequency Spectrums' button to view the AM spectra. Here, the modulation index is defined as the ratio of the message signal amplitude to the carrier signal amplitude. You can adjust both values. 50 Hz Step 1: Generate Message 500 Hz Step 2: ...

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...

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 ...

MATLAB code for BER vs SNR for M-QAM, M-PSK, QPSK, BPSK (with Simulation)

🧮 MATLAB Code for BPSK, M-ary PSK, and M-ary QAM Together 🧮 MATLAB Code for M-ary QAM 🧮 MATLAB Code for M-ary PSK 📚 Further Reading MATLAB Script for BER vs. SNR for M-QAM, M-PSK, QPSK, BPSK % Written by Salim Wireless clc; clear; close all; snr_db = -5:2:25; psk_orders = [2, 4, 8, 16, 32]; qam_orders = [4, 16, 64, 256]; ber_psk_results = zeros(length(psk_orders), length(snr_db)); ber_qam_results = zeros(length(qam_orders), length(snr_db)); for i = 1:length(psk_orders) ber_psk_results(i, :) = berawgn(snr_db, 'psk', psk_orders(i), 'nondiff'); end for i = 1:length(qam_orders) ber_qam_results(i, :) = berawgn(snr_db, 'qam', qam_orders(i)); end figure; semilogy(snr_db, ber_psk_results(1, :), 'o-', 'LineWidth', 1.5, 'DisplayName', 'BPSK'); hold on; for i = 2:length(psk_orders) semilogy(snr_db, ber_psk_results(i, :), 'o-', 'DisplayName', sprintf('%d-PSK', psk_or...

Theoretical BER vs SNR for BPSK

Theoretical Bit Error Rate (BER) vs Signal-to-Noise Ratio (SNR) for BPSK in AWGN Channel Let’s simplify the explanation for the theoretical Bit Error Rate (BER) versus Signal-to-Noise Ratio (SNR) for Binary Phase Shift Keying (BPSK) in an Additive White Gaussian Noise (AWGN) channel. Key Points Fig. 1: Constellation Diagrams of BASK, BFSK, and BPSK [↗] BPSK Modulation Transmits one of two signals: +√Eb or −√Eb , where Eb is the energy per bit. These signals represent binary 0 and 1 . AWGN Channel The channel adds Gaussian noise with zero mean and variance N₀/2 (where N₀ is the noise power spectral density). Receiver Decision The receiver decides if the received signal is closer to +√Eb (for bit 0) or −√Eb (for bit 1) . Bit Error Rat...