目录
4.1 遮盖性干扰(噪声压制)
4.1.1 瞄准式与阻塞式噪声干扰
噪声压制干扰通过发射大功率噪声信号覆盖雷达回波,降低信噪比至检测阈值以下。瞄准式噪声干扰(Spot Noise Jamming)将干扰功率集中于雷达瞬时带宽内的特定频点,其功率谱密度在窄带内形成高幅度峰值,适用于已知雷达确切工作频率的场景。阻塞式噪声干扰(Barrage Noise Jamming)则覆盖雷达整个调谐范围或工作频段的连续频谱,确保在雷达捷变频率(frequency agility)条件下仍保持有效压制,但功率密度随带宽扩展而稀释。
干扰有效性的量化依赖于干扰噪声比(JNR, Jammer-to-Noise Ratio)与干信比(JSR, Jammer-to-Signal Ratio)的耦合分析。设干扰机发射功率为Pj ,干扰天线在雷达方向的增益为Gj(ϕ) ,雷达天线在干扰机方向的增益为Gr(ϕj) ,则雷达接收机输入端的干扰功率为:
Pj,received=(4π)2Rj2LjPjGj(ϕ)Gr(ϕj)λ2
其中Rj 为干扰机距离,Lj 为大气传播损耗。当干扰从雷达天线旁瓣进入时,需引入旁瓣电平修正因子Gr,sidelobe/Gr,max ,通常取值-20dB至-50dB。旁瓣干扰压制比(SLR, Sidelobe Ratio)定义为:
SLR=Gr,maxGr,sidelobe⋅PmainPj,SL
主瓣干扰要求干扰机精确对准雷达视线,利用高增益主瓣耦合,所需功率较旁瓣干扰降低显著,但对空间指向精度要求苛刻,通常需引导系统(ESM)实时跟踪雷达波束指向。
4.1.2 噪声调频与扫频干扰
噪声调频(FM Noise)干扰通过随机噪声信号调制载波频率,产生具有特定概率密度函数的宽带频谱。设调制噪声为n(t) ,具有零均值与方差σn2 ,则瞬时频率偏移为Δf(t)=kFMn(t) ,相位为ϕ(t)=2πkFM∫n(τ)dτ 。调制指数β=Δfmax/fm (fm 为噪声带宽)决定频谱形状:宽带调制(β≫1 )产生近似高斯的功率谱密度:
SFM(f)=22πσfA2exp[−2σf2(f−fc)2]
其中σf=kFMσn 为有效频偏。扫频干扰(Sweep Jamming)采用线性或正弦频率扫描,覆盖雷达接收机带宽,其扫频周期Ts 需与雷达脉冲重复周期(PRI)失配以避免周期性漏过。
对于脉冲压缩雷达(LFM, Linear Frequency Modulation),噪声干扰通过卷积进入匹配滤波器输出,产生噪声基底抬升而非离散假目标。干扰带宽Bj 与雷达带宽Br 的匹配程度决定压制效率:当Bj≈Br 时,干扰能量最大化通过匹配滤波器;当Bj≫Br 时,仅部分干扰功率落入接收带宽,效率降低但覆盖性增强。
4.2 欺骗性干扰(假目标)
4.2.1 距离欺骗(拖引干扰)
距离门拖引(RGPO, Range Gate Pull Off)通过生成具有逐渐变化时延的假目标回波,诱使雷达距离跟踪环路(通常为α -β 滤波器或卡尔曼滤波器)偏离真实目标位置。拖引算法基于对雷达距离波门的精确预测,假目标时延τfalse 按预设拖引速度vpull 从真实时延τtrue 偏离:
τfalse(t)=τtrue(t)+∫0tvpull(τ)dτ
典型拖引程序包含三个阶段:捕获阶段(停拖,建立稳定假目标)、拖引阶段(线性或加速时延变化)、停拖/释放阶段(假目标消失,导致跟踪环路失锁)。拖引速度需略超目标最大可能加速度,通常设定为200-1000 m/s²等效距离加速度。
速度欺骗(VGPO, Velocity Gate Pull Off)通过多普勒频移生成实现,适用于动目标指示(MTI)或脉冲多普勒雷达。假目标多普勒频率fd,false 从真实值fd,true 以速率af 拖引:
fd,false(t)=fd,true(t)+af⋅t
雷达速度跟踪环路的带宽限制了可容忍的频率变化率,超出该速率将导致速度门失锁。距离-速度联合拖引(RGPO+VGPO)构成二维欺骗,增加了雷达抗干扰算法的解耦难度。
4.2.2 多点源干扰与假目标集群
数字射频存储(DRFM, Digital RF Memory)通过对雷达发射信号的相干采样、存储与重构,实现高保真假目标生成。DRFM系统的瞬时带宽与量化位数决定了复制 fidelity,典型参数为500MHz带宽与12位ADC/DAC。多抽头延迟线架构允许并行生成数十个假目标,每个假目标具有独立可控的时延τk 、多普勒频移fd,k 与幅度Ak 。
圆锥扫描雷达的角度欺骗采用逆增益调制(IGM, Inverse Gain Modulation),干扰机检测雷达扫描调制包络并反相调制转发,在雷达接收端产生虚假的角误差信号。对于单脉冲雷达,多点源干扰通过空间分布的三个或更多干扰源形成特定的相位关系,破坏和差通道的振幅比或相位比。三点源干扰(Tri-source)配置中,中央源发射与目标相同的信号,两侧源附加对称的相位偏移±Δϕ ,在单脉冲比幅(amplitude comparison)系统中引入角度偏置误差:
θerror=km⋅2πΔϕ⋅dλ
其中km 为单脉冲斜率,d 为干扰源基线距离。
4.3 极化干扰与交叉眼干扰
4.3.1 极化干扰信号建模
极化干扰利用雷达天线的极化鉴别特性,通过发射与雷达接收极化正交或失配的干扰信号降低接收效率。Jones矢量表示法完备描述了电磁波的极化状态,电场矢量E 表示为:
E=[EhEv]=[∣Eh∣ejϕh∣Ev∣ejϕv]
线极化状态满足ϕh=ϕv 或ϕh=ϕv+π ,圆极化满足∣Eh∣=∣Ev∣ 且ϕv−ϕh=±π/2 。极化匹配滤波器(PMF, Polarization Matched Filter)的响应为雷达接收极化矢量pr 与入射波矢量E 的内积∣prHE∣2 。
交叉极化鉴别率(XPD)量化了雷达对非期望极化分量的抑制能力,定义为共极(co-polar)增益与交叉极化(cross-polar)增益之比。当干扰信号以交叉极化态入射时,有效干扰功率降低XPD倍(典型值20-40dB)。极化干扰策略选择取决于雷达极化自适应能力:对于固定线极化雷达,采用正交线极化;对于圆极化雷达,采用反向圆极化或线极化以产生3dB失配损失。
4.3.2 交叉眼(Cross-Eye)干扰原理
交叉眼干扰(Cross-Eye Jamming, CEJ)通过两个空间分离的相干干扰源产生人为的波前相位畸变,诱使单脉冲雷达产生角度测量误差。两干扰源位于目标平台两侧,基线长度LCE 通常为几米至十几米,发射信号保持180度(π )相位差与略微不等的幅度比ρ=A2/A1≈1 。
在雷达接收位置,两源产生的场叠加形成倾斜的等相位波前,等效于从偏离真实目标的方向入射。对于比幅单脉冲系统,该波前倾斜转化为和通道Σ 与差通道Δ 的复数比偏移。设两源相对于雷达视线的角度为±θCE ,则诱导的角度误差δθ 近似为:
δθ≈ksθBW⋅1+ρ1−ρ⋅λπLCE⋅sin(θCE)
其中ks 为单脉冲误差斜率,θBW 为波束宽度。当幅度比ρ→1 且相位差精确为180度时,误差理论上趋于无穷大(实际受限于系统噪声)。单脉冲雷达的和差通道幅相不平衡被交叉眼干扰利用,不平衡度ϵ 与干扰耦合产生额外的误差耦合项。
交叉眼干扰的有效性依赖于 Maintaining 精确的相位关系,平台振动与 multipath 效应会 degrade 性能。该体制对相控阵单脉冲雷达同样有效,因为阵列的干涉合成同样受远场波前相位梯度影响。
第二部分 代码实现
交付物:noise_jamming_power.m
脚本功能:计算瞄准式与阻塞式噪声干扰的功率需求,分析不同旁瓣电平(-20dB至-50dB)下的干扰机有效辐射功率(ERP),绘制JSR(Jammer-to-Signal Ratio)与干扰距离关系曲线。
使用方式:设定雷达参数(功率、增益、RCS、检测阈值)与干扰机参数(带宽、噪声系数),运行脚本生成干扰功率需求曲线与有效干扰距离包络。支持主瓣与旁瓣干扰场景对比。
matlab
复制
function noise_jamming_power()
% noise_jamming_power: Noise Jamming Power Analysis for Barrage and Spot Jamming
% Calculates jammer ERP requirements for various sidelobe levels (-20 to -50 dB)
% Plots JSR vs range and interference effectiveness envelopes
%
% Usage:
% Run noise_jamming_power() for standard jamming analysis
% Adjust sidelobe_levels and radar_params for specific system analysis
%
% Outputs:
% - Jammer ERP vs sidelobe level curves
% - JSR as function of target and jammer ranges
% - Burn-through range calculation
% Radar Parameters (X-band surveillance radar example)
radar.Pt = 100e3; % Peak power (100 kW)
radar.Gt = 35; % Mainlobe gain (dBi)
radar.wavelength = 0.03; % 10 GHz (m)
radar.B = 1e6; % Bandwidth (1 MHz for spot, 100 MHz for barrage)
radar.F = 3; % Noise figure (dB)
radar.L = 4; % System losses (dB)
radar.RCS = 10; % Target RCS (dBsm)
radar.SNR_req = 13; % Required SNR for detection (dB)
% Jammer Parameters
jammer.Gj = 10; % Jammer antenna gain (dBi)
jammer.Bj_spot = 1e6; % Spot jamming bandwidth (Hz)
jammer.Bj_barrage = 100e6; % Barrage jamming bandwidth (Hz)
jammer.Lj = 2; % Jammer losses (dB)
jammer.Fj = 10; % Jammer noise figure (dB)
% Sidelobe levels to analyze (dB below mainlobe peak)
sidelobe_levels = -20:-5:-50; % -20, -25, -30, ..., -50 dB
% Ranges (km)
R_target = 10:1:200; % Target range (km)
R_jammer = 50; % Fixed jammer range for initial analysis (km)
% Calculate JSR for different sidelobe levels
figure('Name', 'Noise Jamming Power Analysis', 'Position', [100 100 1400 900]);
% Subplot 1: Spot Jamming JSR vs Range for various sidelobe levels
subplot(2, 2, 1);
colors = jet(length(sidelobe_levels));
for idx = 1:length(sidelobe_levels)
SL = sidelobe_levels(idx); % Sidelobe level (dB)
% Radar received power from target (mainlobe)
Pr = 10*log10(radar.Pt) + 2*radar.Gt + 10*log10(radar.wavelength^2) + ...
radar.RCS - 30*log10(R_target) - 30*log10(4*pi) - radar.L;
% Jammer power in radar receiver (through sidelobes)
% ERP_jammer = Pj * Gj, but we solve for required ERP to achieve certain JSR
% For now, assume jammer ERP = 1 W/Hz normalized, calculate JSR capability
% Effective jammer ERP required for JSR = 0 dB (self-screening)
% JSR = (Pj*Gj*Gr_SL)/(Pt*Gt^2*RCS/(4*pi*R^4))
% Rearranging for ERP = Pj*Gj:
ERP_required = 10*log10(radar.Pt) + radar.Gt + radar.RCS - ...
40*log10(R_target) + 20*log10(R_jammer) + SL - radar.L + jammer.Lj;
% JSR = Pj_received - Pr (in dB)
% If we assume fixed jammer ERP of 1000 W (60 dBm):
ERP_jammer = 60; % dBW (1000W)
Pj_received = ERP_jammer + SL + 20*log10(radar.wavelength) - ...
20*log10(4*pi*R_jammer*1000) - 10*log10(4*pi); % Rough path loss approx
% Simplified JSR calculation (correct form)
% JSR = (Pj*Gj*Gr*(lambda^2)/(4*pi)^2/Rj^2) / (Pt*Gt^2*sigma*lambda^2/(4*pi)^3/R^4)
% JSR_dB = ERP_jammer + SL - 20*log10(R_jammer) - 40*log10(R_target) + ...
% 10*log10(radar.Pt) + 2*radar.Gt + radar.RCS - 30*log10(4*pi)
% Correct implementation:
JSR = (ERP_jammer + SL + 20*log10(radar.wavelength/(4*pi)) - 20*log10(R_jammer*1000)) - ...
(10*log10(radar.Pt) + 2*radar.Gt + 10*log10(radar.wavelength^2) + radar.RCS - ...
30*log10(R_target*1000) - 30*log10(4*pi));
% Actually, let's use the proper radar range equation form
% Received jammer power:
P_jammer_rx = ERP_jammer + SL + 20*log10(radar.wavelength) - ...
20*log10(4*pi*R_jammer*1000) - 3; % Simplified
% Received target power:
P_target_rx = 10*log10(radar.Pt) + 2*radar.Gt + 10*log10(radar.wavelength^2) + ...
radar.RCS - 30*log10(R_target*1000) - 30*log10(4*pi) - radar.L;
% Realistic calculation:
K1 = (4*pi)^3;
P_target = radar.Pt * 10^(2*radar.Gt/10) * radar.wavelength^2 * 10^(radar.RCS/10) ./ ...
(K1 * (R_target*1000).^4 * 10^(radar.L/10));
P_jammer = 10^(ERP_jammer/10) * 10^(SL/10) * radar.wavelength^2 / ...
((4*pi)^2 * (R_jammer*1000)^2 * 10^(jammer.Lj/10));
JSR_calc = 10*log10(P_jammer ./ P_target);
plot(R_target, JSR_calc, 'Color', colors(idx,:), 'LineWidth', 2); hold on;
end
yline(0, 'r--', 'LineWidth', 2, 'Label', 'Self-Screening (0 dB)');
yline(10, 'g--', 'LineWidth', 2, 'Label', 'Effective Jamming (10 dB)');
title(sprintf('Spot Jamming JSR vs Range (Jammer at %d km)', R_jammer));
xlabel('Target Range (km)');
ylabel('JSR (dB)');
colormap(colors);
c = colorbar;
c.Label.String = 'Sidelobe Level (dB)';
caxis([min(sidelobe_levels) max(sidelobe_levels)]);
grid on;
% Subplot 2: Required Jammer ERP for Effective Jamming (JSR = 10 dB)
subplot(2, 2, 2);
target_JSR = 10; % dB required for effective jamming
R_tgt_fixed = 100; % Target at 100 km
ERP_required = zeros(size(sidelobe_levels));
for idx = 1:length(sidelobe_levels)
SL = sidelobe_levels(idx);
% From JSR equation: ERP_jammer = JSR_req * P_target / (SL * path_loss_jammer)
P_tgt = 10*log10(radar.Pt) + 2*radar.Gt + 10*log10(radar.wavelength^2) + ...
radar.RCS - 30*log10(R_tgt_fixed) - 30*log10(4*pi) - radar.L;
% ERP_required = P_tgt + target_JSR - SL + path_loss_terms
% Simplified: ERP = P_target - SL + JSR + loss_terms
ERP_required(idx) = P_tgt + target_JSR - SL + 20*log10(4*pi*R_jammer/radar.wavelength) + jammer.Lj;
end
plot(sidelobe_levels, ERP_required, 'b-o', 'LineWidth', 2);
title(sprintf('Required Jammer ERP for JSR=%d dB (Target at %d km)', target_JSR, R_tgt_fixed));
xlabel('Sidelobe Level (dB)');
ylabel('Required ERP (dBW)');
grid on;
text(sidelobe_levels(3), ERP_required(3)+10, sprintf('Range: %d km\nJSR: %d dB', R_tgt_fixed, target_JSR), ...
'BackgroundColor', [0.9 0.9 0.9]);
% Subplot 3: Burn-through Range Analysis
subplot(2, 2, 3);
JSR_threshold = 0; % dB, when JSR < 0 radar can detect through jamming
ERP_jammer_values = [30, 40, 50, 60, 70]; % dBW (1kW to 10MW)
for ej_idx = 1:length(ERP_jammer_values)
erp = ERP_jammer_values(ej_idx);
% Find range where JSR = 0 for different SL
burn_through = zeros(size(sidelobe_levels));
for sl_idx = 1:length(sidelobe_levels)
SL = sidelobe_levels(sl_idx);
% JSR(R) = ERP + SL - stuff - (Pt + Gt + ... - 40log10(R))
% Solve for R when JSR = 0
% Simplified:
K2 = erp + SL + 20*log10(radar.wavelength/(4*pi)) - 20*log10(R_jammer*1000) - ...
(10*log10(radar.Pt) + 2*radar.Gt + 10*log10(radar.wavelength^2) + ...
radar.RCS - 30*log10(4*pi) - radar.L);
% 40*log10(R) = K2 => R = 10^(K2/40)
burn_through(sl_idx) = 10^(K2/40) / 1000; % km
end
plot(sidelobe_levels, burn_through, '-o', 'LineWidth', 2, ...
'DisplayName', sprintf('%d dBW', erp)); hold on;
end
title('Burn-Through Range vs Sidelobe Level');
xlabel('Sidelobe Level (dB)');
ylabel('Burn-Through Range (km)');
legend('Location', 'southwest');
grid on;
% Subplot 4: Barrage vs Spot Jamming Efficiency
subplot(2, 2, 4);
% Barrage jamming spreads power over wider bandwidth, requires more total power
BW_ratio = jammer.Bj_barrage / jammer.Bj_spot; % 100
spot_jsr = 20; % dB achievable with spot jamming
barrage_jsr = spot_jsr - 10*log10(BW_ratio); % Reduced by factor of BW_ratio
% Plot showing power penalty for barrage jamming
freq_coverage = [1, 10, 100, 500]; % MHz coverage
power_penalty = 10*log10(freq_coverage);
bar(freq_coverage, spot_jsr - power_penalty, 'FaceColor', [0.2 0.4 0.8]);
title('Barrage Jamming Power Penalty');
xlabel('Frequency Coverage (MHz)');
ylabel('Achievable JSR (dB)');
set(gca, 'XScale', 'log');
grid on;
text(100, spot_jsr-20-2, sprintf('Spot JSR: %d dB\nBarrage (100MHz): %d dB', ...
spot_jsr, spot_jsr-20), 'HorizontalAlignment', 'center');
% Summary output
fprintf('\n=== Noise Jamming Power Analysis ===\n');
fprintf('Radar: Pt=%d kW, Gt=%d dBi, B=%d MHz\n', radar.Pt/1000, radar.Gt, radar.B/1e6);
fprintf('Jammer: Range=%d km, ERP variable\n', R_jammer);
fprintf('Sidelobe levels analyzed: %d to %d dB\n', min(sidelobe_levels), max(sidelobe_levels));
fprintf('Required ERP for mainlobe jamming (SL=0): ~%d dBW\n', round(ERP_required(1)));
fprintf('Required ERP for sidelobe jamming (-40dB): ~%d dBW\n', round(interp1(sidelobe_levels, ERP_required, -40)));
fprintf('====================================\n');
end
交付物:sweep_jamming_gen.m
脚本功能:生成线性扫频与噪声调频干扰信号,仿真其对线性调频(LFM)脉冲压缩雷达匹配滤波器的压制效果,分析时域与频域干扰特性。
使用方式:设定雷达LFM参数(带宽、脉宽、PRF)与干扰参数(扫频范围、周期、噪声调频指数),运行脚本生成干扰信号波形、匹配滤波器输出与处理增益损失分析。
matlab
复制
function sweep_jamming_gen()
% sweep_jamming_gen: Sweep and FM Noise Jamming Signal Generation
% Generates linear sweep and FM noise jamming signals
% Simulates matched filter response for LFM pulse compression radar
%
% Usage:
% Run sweep_jamming_gen() for standard LFM radar interference analysis
% Adjust B_radar, T_pulse, and sweep_rate for different scenarios
%
% Outputs:
% - Time-domain jamming waveforms
% - Spectrum analysis (jamming vs signal)
% - Matched filter output showing noise floor elevation
% Radar LFM Parameters
B_radar = 10e6; % Bandwidth (10 MHz)
T_pulse = 10e-6; % Pulse width (10 microseconds)
PRF = 1e3; % Pulse repetition frequency (Hz)
fs = 4*B_radar; % Sampling frequency (40 MHz)
ts = 1/fs;
% Time vector (one pulse repetition interval)
t = 0:ts:1/PRF - ts;
% Generate LFM Radar Signal (Reference)
% Chirp rate
K = B_radar / T_pulse; % Hz/s
t_pulse = 0:ts:T_pulse-ts; % Active pulse time
% LFM chirp
radar_signal = zeros(size(t));
pulse_idx = t <= T_pulse;
radar_signal(pulse_idx) = cos(2*pi*(0.5*K*t(pulse_idx).^2));
% Target return (delayed and attenuated)
delay_target = 2e-6; % 2 microseconds delay (300m range)
attenuation = 0.1; % -20 dB SNR before processing
target_signal = zeros(size(t));
delay_samples = round(delay_target/ts);
target_signal(pulse_idx) = attenuation * cos(2*pi*(0.5*K*t(pulse_idx).^2 - 2*pi*K*delay_target*t(pulse_idx)));
target_signal = circshift(target_signal, delay_samples);
% Jamming Signal 1: Linear Frequency Sweep
sweep_rate = 50e6; % 50 MHz/s sweep rate
f_start = -B_radar; % Start below radar band
f0 = f_start + sweep_rate * t;
% Ensure we stay within reasonable bounds
f0 = mod(f0 + B_radar, 2*B_radar) - B_radar; % Sawtooth sweep
sweep_jamming = cos(2*pi*(f_start*t + 0.5*sweep_rate*t.^2));
% Normalize power
sweep_jamming = sweep_jamming / rms(sweep_jamming) * 2; % 6dB above signal
% Jamming Signal 2: FM Noise
% Baseband noise filtered to jamming bandwidth
noise_base = randn(size(t));
% Lowpass filter to approximate jamming bandwidth (e.g., 20 MHz)
[b, a] = butter(5, 20e6/(fs/2));
noise_filtered = filter(b, a, noise_base);
% FM modulation
beta_fm = 5; % Modulation index
fm_noise_jamming = cos(2*pi*10e6*t + beta_fm*cumsum(noise_filtered)*ts);
fm_noise_jamming = fm_noise_jamming / rms(fm_noise_jamming) * 2;
% Combined received signal
rx_sweep = target_signal + sweep_jamming + 0.1*randn(size(t));
rx_fm = target_signal + fm_noise_jamming + 0.1*randn(size(t));
% Figure 1: Time Domain Waveforms
figure('Name', 'Jamming Signal Generation', 'Position', [100 100 1400 900]);
% Subplot 1: Radar LFM Pulse
subplot(3, 2, 1);
plot(t*1e6, radar_signal, 'b-', 'LineWidth', 1);
title('Radar LFM Transmit Pulse');
xlabel('Time (\mus)');
ylabel('Amplitude');
grid on; xlim([0 20]);
% Subplot 2: Instantaneous Frequency
subplot(3, 2, 2);
inst_freq_radar = K * t(pulse_idx) / 1e6; % MHz
inst_freq_sweep = (f_start + sweep_rate*t) / 1e6;
plot(t(pulse_idx)*1e6, inst_freq_radar, 'b-', 'LineWidth', 2); hold on;
plot(t*1e6, inst_freq_sweep, 'r--', 'LineWidth', 1.5);
title('Instantaneous Frequency');
xlabel('Time (\mus)');
ylabel('Frequency (MHz)');
legend('Radar LFM', 'Sweep Jamming');
grid on; xlim([0 50]);
% Subplot 3: Sweep Jamming Waveform
subplot(3, 2, 3);
plot(t*1e6, sweep_jamming, 'r-', 'LineWidth', 0.5);
title(sprintf('Linear Sweep Jamming (Rate: %.0f MHz/s)', sweep_rate/1e6));
xlabel('Time (\mus)');
ylabel('Amplitude');
grid on; xlim([0 50]);
% Subplot 4: FM Noise Jamming Waveform
subplot(3, 2, 4);
plot(t*1e6, fm_noise_jamming, 'g-', 'LineWidth', 0.5);
title(sprintf('FM Noise Jamming (\\beta=%.1f)', beta_fm));
xlabel('Time (\mus)');
ylabel('Amplitude');
grid on; xlim([0 50]);
% Subplot 5: Spectrum Comparison
subplot(3, 2, 5);
N_fft = 2^nextpow2(length(t));
f = (-N_fft/2:N_fft/2-1)*(fs/N_fft)/1e6; % MHz
S_radar = fftshift(fft(radar_signal, N_fft));
S_sweep = fftshift(fft(sweep_jamming, N_fft));
S_fm = fftshift(fft(fm_noise_jamming, N_fft));
plot(f, 20*log10(abs(S_radar)/max(abs(S_radar))), 'b-', 'LineWidth', 2); hold on;
plot(f, 20*log10(abs(S_sweep)/max(abs(S_sweep))), 'r--', 'LineWidth', 1.5);
plot(f, 20*log10(abs(S_fm)/max(abs(S_fm))), 'g:', 'LineWidth', 1.5);
title('Power Spectrum Density');
xlabel('Frequency (MHz)');
ylabel('Normalized PSD (dB)');
legend('Radar', 'Sweep Jam', 'FM Noise');
grid on; xlim([-20 20]);
% Subplot 6: Matched Filter Response
subplot(3, 2, 6);
% Create matched filter (time-reversed conjugate of transmitted pulse)
template = radar_signal(pulse_idx);
template = conj(fliplr(template));
% Filter length
L_template = length(template);
L_signal = length(rx_sweep);
L_conv = L_signal + L_template - 1;
% Frequency domain multiplication for efficiency
H_matched = fft(template, L_conv);
Y_sweep = fft(rx_sweep, L_conv) .* H_matched;
Y_fm = fft(rx_fm, L_conv) .* H_matched;
Y_clean = fft(target_signal + 0.1*randn(size(t)), L_conv) .* H_matched;
y_sweep = ifft(Y_sweep);
y_fm = ifft(Y_fm);
y_clean = ifft(Y_clean);
t_out = (0:L_conv-1)*ts*1e6; % microseconds
range_axis = t_out * 150; % Range in meters (c/2 * time)
plot(range_axis, abs(y_clean), 'b-', 'LineWidth', 1.5); hold on;
plot(range_axis, abs(y_sweep), 'r-', 'LineWidth', 1.5);
plot(range_axis, abs(y_fm), 'g-', 'LineWidth', 1.5);
title('Matched Filter Output (Pulse Compression)');
xlabel('Range (m)');
ylabel('Amplitude');
legend('No Jamming', 'Sweep Jamming', 'FM Noise');
grid on; xlim([0 5000]);
% Calculate processing gain degradation
peak_clean = max(abs(y_clean));
peak_sweep = max(abs(y_sweep));
peak_fm = max(abs(y_fm));
noise_floor_clean = mean(abs(y_clean(1:1000)));
noise_floor_sweep = mean(abs(y_sweep(1:1000)));
noise_floor_fm = mean(abs(y_fm(1:1000)));
pg_loss_sweep = 20*log10(noise_floor_sweep/noise_floor_clean);
pg_loss_fm = 20*log10(noise_floor_fm/noise_floor_clean);
fprintf('\n=== Sweep Jamming Analysis ===\n');
fprintf('Radar Bandwidth: %.1f MHz, Pulse: %.1f \mus\n', B_radar/1e6, T_pulse*1e6);
fprintf('Theoretical Processing Gain: %.1f dB\n', 10*log10(B_radar*T_pulse));
fprintf('Sweep Rate: %.1f MHz/s\n', sweep_rate/1e6);
fprintf('Noise Floor Elevation (Sweep): %.1f dB\n', pg_loss_sweep);
fprintf('Noise Floor Elevation (FM): %.1f dB\n', pg_loss_fm);
fprintf('Target Detection: %s (Clean), %s (Sweep), %s (FM)\n', ...
'Possible', iif(peak_sweep/noise_floor_sweep > 13, 'Marginal', 'Lost'), ...
iif(peak_fm/noise_floor_fm > 13, 'Marginal', 'Lost'));
fprintf('==============================\n');
end
function out = iif(cond, a, b)
if cond, out = a; else, out = b; end
end
交付物:range_gate_pulloff.m
脚本功能:实现距离门拖引(RGPO)干扰的时序控制逻辑,模拟雷达距离跟踪α -β 滤波器在拖引干扰下的失锁过程,支持捕获-拖引-释放三阶段编程。
使用方式:设定雷达距离跟踪环路与滤波器参数(α 、β 增益)、拖引速度曲线(常数/加速度),运行脚本生成距离跟踪误差时间历程、波门中心偏离曲线与失锁判据分析。
matlab
复制
function range_gate_pulloff()
% range_gate_pulloff: Range Gate Pull-Off (RGPO) Jamming Simulation
% Implements RGPO timing control with three phases: Capture, Pull-Off, Release
% Simulates radar alpha-beta tracker response to deceptive range delay
%
% Usage:
% Run range_gate_pulloff() for standard RGPO analysis
% Adjust pull_rate and capture_time for different deception scenarios
%
% Outputs:
% - True vs False target range over time
% - Radar tracker range estimate (showing pull-off effect)
% - Tracking error and lock status indicators
% Radar Range Tracker Parameters (alpha-beta filter)
dt = 0.01; % Update interval (10ms)
alpha = 0.3; % Position gain (smoothing factor)
beta = 0.05; % Velocity gain
% Target Motion (constant velocity closing)
V_target = -300; % Closing velocity (m/s)
R_initial = 20000; % Initial range (20km)
time_total = 30; % 30 seconds engagement
t = 0:dt:time_total;
N = length(t);
% True target range
R_true = R_initial + V_target * t;
% RGPO Jamming Program (3 phases)
% Phase 1: Capture (0 to 2s) - Jammer mimics target exactly
% Phase 2: Pull-Off (2s to 8s) - Linear range delay increase
% Phase 3: Release (after 8s) - Jammer turns off
capture_time = 2;
pull_duration = 6;
pull_rate = 500; % Range delay increase rate (m/s equivalent)
R_false = zeros(size(t));
jammer_active = zeros(size(t));
for i = 1:N
if t(i) < capture_time
% Capture phase: exact replica
R_false(i) = R_true(i);
jammer_active(i) = 1;
elseif t(i) < capture_time + pull_duration
% Pull-off phase: increasing delay
delay = pull_rate * (t(i) - capture_time);
R_false(i) = R_true(i) - delay; % False target appears closer (or further)
jammer_active(i) = 1;
else
% Release phase: jammer off
R_false(i) = NaN; % No false target
jammer_active(i) = 0;
end
end
% Radar Receiver Signal Generation
% Signal power inversely proportional to R^4
P_true = (10000./R_true).^4; % Normalized power
% Noise and interference
noise_floor = 0.01;
% Measurements: True target always present, false target when jammer active
z_meas = zeros(1, N); % Measurements (range)
% Alpha-Beta Filter Initialization
x_est = R_initial; % Range estimate
v_est = V_target; % Velocity estimate
R_tracker = zeros(1, N); % Tracker output
% Gate parameters
gate_width = 200; % Range gate width +/- 100m
% Track quality metrics
track_quality = zeros(1, N);
for i = 1:N
% Generate measurement
if jammer_active(i) && ~isnan(R_false(i))
% Both targets present, radar tracks centroid or stronger
% False target usually stronger (jammer power advantage)
P_false = 10 * P_true(i); % 10dB advantage
% Centroid calculation
z_meas(i) = (P_true(i)*R_true(i) + P_false*R_false(i)) / (P_true(i) + P_false);
else
% Only true target
z_meas(i) = R_true(i) + noise_floor * randn() * 10; % Add measurement noise
end
% Alpha-Beta Update
% Prediction
x_pred = x_est + v_est * dt;
% Residual (measurement - prediction)
residual = z_meas(i) - x_pred;
% Gate check (if residual too large, declare missed detection)
if abs(residual) < gate_width
% Update
x_est = x_pred + alpha * residual;
v_est = v_est + (beta/dt) * residual;
track_quality(i) = 1; % Good track
else
% Missed detection, coast (prediction only)
x_est = x_pred;
track_quality(i) = 0.3; % Coasting
end
R_tracker(i) = x_est;
end
% Calculate tracking error
error_true = R_tracker - R_true;
error_false = R_tracker - R_false;
% Figure 1: RGPO Time Sequence
figure('Name', 'Range Gate Pull-Off Analysis', 'Position', [100 100 1400 900]);
% Subplot 1: Range vs Time
subplot(3, 1, 1);
plot(t, R_true/1000, 'b-', 'LineWidth', 2); hold on;
plot(t, R_false/1000, 'r--', 'LineWidth', 2);
plot(t, R_tracker/1000, 'g:', 'LineWidth', 2);
% Shade phases
xline(capture_time, 'k:', 'LineWidth', 1);
xline(capture_time + pull_duration, 'k:', 'LineWidth', 1);
text(capture_time/2, max(R_true/1000)*0.9, 'CAPTURE', 'HorizontalAlignment', 'center');
text(capture_time + pull_duration/2, max(R_true/1000)*0.9, 'PULL-OFF', 'HorizontalAlignment', 'center');
text(capture_time + pull_duration + 2, max(R_true/1000)*0.9, 'RELEASE', 'HorizontalAlignment', 'center');
title('RGPO Range Deception');
xlabel('Time (s)');
ylabel('Range (km)');
legend('True Target', 'False Target (Jammer)', 'Radar Tracker');
grid on;
% Subplot 2: Tracking Error
subplot(3, 1, 2);
plot(t, error_true, 'b-', 'LineWidth', 1.5); hold on;
plot(t(jammer_active==1), error_false(jammer_active==1), 'r--', 'LineWidth', 1.5);
yline(0, 'k:', 'LineWidth', 1);
yline(gate_width, 'm--', 'Gate Boundary');
yline(-gate_width, 'm--');
title('Tracking Error (Tracker - True Target)');
xlabel('Time (s)');
ylabel('Error (m)');
legend('Error vs True', 'Error vs False');
grid on;
% Subplot 3: Track Quality and Lock Status
subplot(3, 1, 3);
plot(t, track_quality, 'b-', 'LineWidth', 2); hold on;
plot(t, jammer_active, 'r--', 'LineWidth', 1.5);
title('Track Quality and Jammer Status');
xlabel('Time (s)');
ylabel('Status');
legend('Track Quality (1=Good, 0.3=Coast)', 'Jammer Active');
grid on; ylim([0 1.2]);
% Figure 2: Phase Plane Analysis (Range vs Range Rate)
figure('Name', 'RGPO Phase Plane', 'Position', [150 150 800 600]);
% Calculate range rate estimates
v_tracker = gradient(R_tracker, dt);
v_true = gradient(R_true, dt);
v_false = gradient(R_false, dt);
plot(R_true/1000, v_true, 'b-', 'LineWidth', 2); hold on;
plot(R_false(jammer_active==1)/1000, v_false(jammer_active==1), 'r--', 'LineWidth', 2);
plot(R_tracker/1000, v_tracker, 'g:', 'LineWidth', 2);
title('Phase Plane: Range vs Range Rate');
xlabel('Range (km)');
ylabel('Range Rate (m/s)');
legend('True Target', 'False Target', 'Tracker');
grid on;
% Calculate break-lock statistics
capture_error = mean(abs(error_true(t < capture_time)));
pull_off_error = max(abs(error_true(t > capture_time & t < capture_time+pull_duration)));
release_recovery_time = 0;
release_idx = find(t > capture_time + pull_duration, 1);
if ~isempty(release_idx)
for i = release_idx:N
if abs(error_true(i)) < gate_width/2
release_recovery_time = t(i) - (capture_time + pull_duration);
break;
end
end
end
fprintf('\n=== Range Gate Pull-Off Analysis ===\n');
fprintf('Target Initial Range: %.1f km, Velocity: %.0f m/s\n', R_initial/1000, V_target);
fprintf('RGPO Program:\n');
fprintf(' Capture Phase: 0-%.1f s\n', capture_time);
fprintf(' Pull-Off Phase: %.1f-%.1f s at %.0f m/s rate\n', ...
capture_time, capture_time+pull_duration, pull_rate);
fprintf(' Release Phase: after %.1f s\n', capture_time+pull_duration);
fprintf('Tracking Performance:\n');
fprintf(' Initial Tracking Error: %.1f m RMS\n', capture_error);
fprintf(' Maximum Deception Error: %.1f m\n', pull_off_error);
fprintf(' Recovery Time after Release: %.1f s\n', release_recovery_time);
fprintf(' Break-lock Duration: %.1f s\n', pull_duration);
fprintf('===================================\n');
end
交付物:multipoint_jammer.m
脚本功能:实现三点源相干干扰系统,模拟DRFM(数字射频存储)生成的多假目标与逆增益调制(IGM)对圆锥扫描雷达的角度欺骗,计算单脉冲雷达的角度测量误差。
使用方式:设定干扰源空间位置(基线距离)、DRFM延迟线与相位调制参数,运行脚本生成和差通道响应、角度误差输出与假目标集群分布图。支持圆锥扫描与单脉冲体制对比。
matlab
复制
function multipoint_jammer()
% multipoint_jammer: Multi-Point Coherent Jamming Simulation
% Implements 3-source DRFM-based jamming against monopulse radar
% Includes Inverse Gain Modulation (IGM) for conical scan deception
%
% Usage:
% Run multipoint_jammer() for coherent multi-point interference analysis
% Adjust source_spacing and phase_offsets for different jamming geometries
%
% Outputs:
% - 3D jammer geometry and phase relationships
% - Monopulse error voltage with multi-source interference
% - Angle estimation bias vs phase offset
% Radar Parameters (Monopulse)
radar_freq = 10e9; % 10 GHz
lambda = 3e8 / radar_freq;
beamwidth = 3 * pi/180; % 3 degrees
scan_rate = 100; % Hz (for conical scan reference)
conical_scan_angle = 1 * pi/180; % 1 degree nutation angle
% Target Geometry
target_range = 10000; % 10 km
target_true_angle = 0; % On boresight
% Jammer Configuration (3-point)
% Center jammer at target position, two wing jammers offset
source_spacing = 10; % 10 meters baseline (wing to center)
% Jammer positions relative to radar boresight at target range
% Center source at (0, 0)
% Wing sources at (+/- d, 0) in cross-range
jammer_pos = [-source_spacing, 0; 0, 0; source_spacing, 0]; % x-coordinates (m)
jammer_phase = [0, 0, pi]; % Phase offsets (radians) - center 0, wings 0 and pi
% Amplitude ratios
jammer_amp = [0.5, 1, 0.5]; % Wing sources half amplitude of center
% Angular grid for simulation
theta_scan = linspace(-2*beamwidth, 2*beamwidth, 361); % +/- 2 beamwidths
% Monopulse sum and difference patterns (Gaussian approximation)
sum_pattern = @(theta) exp(-2.773*(theta/beamwidth).^2);
diff_pattern = @(theta) 1.5*(theta/beamwidth).*exp(-2.773*(theta/beamwidth).^2);
% Calculate complex returns from each jammer source
% Phase includes path difference and applied jammer phase
N_sources = size(jammer_pos, 1);
source_angles = jammer_pos(:,1) / target_range; % Small angle approximation
% Figure 1: Jammer Geometry
figure('Name', 'Multi-Point Jammer Analysis', 'Position', [100 100 1400 900]);
% Subplot 1: Physical layout
subplot(2, 3, 1);
plot(jammer_pos(:,1), zeros(size(jammer_pos(:,1))), 'ro', 'MarkerSize', 10, 'MarkerFaceColor', 'r'); hold on;
text(jammer_pos(:,1), ones(size(jammer_pos(:,1)))*2, ...
arrayfun(@(i) sprintf('J%d\\n%.1fV\\n%.0f°', i, jammer_amp(i), jammer_phase(i)*180/pi), 1:N_sources, 'UniformOutput', false), ...
'HorizontalAlignment', 'center');
title('Jammer Physical Layout');
xlabel('Cross-Range (m)');
ylabel('Range (m)');
grid on; axis equal;
xlim([-20 20]); ylim([-5 5]);
% Subplot 2: Phase relationships (phasor diagram)
subplot(2, 3, 2);
hold on;
colors = lines(N_sources);
for i = 1:N_sources
plot([0, jammer_amp(i)*cos(jammer_phase(i))], [0, jammer_amp(i)*sin(jammer_phase(i))], ...
'Color', colors(i,:), 'LineWidth', 2);
plot(jammer_amp(i)*cos(jammer_phase(i)), jammer_amp(i)*sin(jammer_phase(i)), ...
'o', 'Color', colors(i,:), 'MarkerSize', 8, 'MarkerFaceColor', colors(i,:));
end
% Vector sum
sum_real = sum(jammer_amp .* cos(jammer_phase));
sum_imag = sum(jammer_amp .* sin(jammer_phase));
plot([0, sum_real], [0, sum_imag], 'k-', 'LineWidth', 3);
plot(sum_real, sum_imag, 'k*', 'MarkerSize', 15);
title('Phasor Diagram (Amplitude & Phase)');
xlabel('In-Phase'); ylabel('Quadrature');
axis equal; grid on;
legend('J1', 'J2', 'J3', 'Vector Sum');
% Subplot 3: Composite signal angular distribution
subplot(2, 3, 3);
% Calculate received signal vs look angle
composite_signal = zeros(size(theta_scan));
for i = 1:N_sources
% Phase contribution from source i at angle theta
phase_geo = (2*pi/lambda) * jammer_pos(i,1) * sin(theta_scan); % Path difference
composite_signal = composite_signal + jammer_amp(i) * exp(1j*(phase_geo + jammer_phase(i)));
end
plot(theta_scan*180/pi, abs(composite_signal), 'b-', 'LineWidth', 2);
title('Composite Signal Amplitude vs Angle');
xlabel('Angle (degrees)');
ylabel('Relative Amplitude');
grid on;
% Subplot 4: Monopulse Response with Interference
subplot(2, 3, 4);
% Sum and difference channel outputs
sum_out = zeros(size(theta_scan));
diff_out = zeros(size(theta_scan));
for i = 1:length(theta_scan)
theta = theta_scan(i);
% Sum channel: sum of source contributions weighted by sum pattern
s = sum(jammer_amp .* exp(1j*( (2*pi/lambda)*jammer_pos(:,1).*sin(theta) + jammer_phase(:) )) ...
.* sum_pattern(theta - source_angles'));
% Difference channel: weighted by difference pattern
d = sum(jammer_amp .* exp(1j*( (2*pi/lambda)*jammer_pos(:,1).*sin(theta) + jammer_phase(:) )) ...
.* diff_pattern(theta - source_angles'));
sum_out(i) = s;
diff_out(i) = d;
end
% Monopulse ratio
mono_ratio = real(diff_out ./ (sum_out + eps));
plot(theta_scan*180/pi, mono_ratio, 'b-', 'LineWidth', 2); hold on;
% Ideal linear response
plot(theta_scan*180/pi, 1.5*theta_scan/beamwidth, 'g--', 'LineWidth', 1.5);
title('Monopulse Error Voltage');
xlabel('Angle (degrees)');
ylabel('Real(\Delta/\Sigma)');
legend('With Interference', 'Ideal');
grid on;
% Find boresight error (where curve crosses zero)
zero_crossings = theta_scan(abs(mono_ratio) < 0.01);
if ~isempty(zero_crossings)
boresight_error = mean(zero_crossings) * 180/pi;
else
boresight_error = NaN;
end
% Subplot 5: Angle estimation error vs phase offset (parametric)
subplot(2, 3, 5);
phase_offsets = linspace(0, 2*pi, 36);
angle_errors = zeros(size(phase_offsets));
for p_idx = 1:length(phase_offsets)
test_phases = [0, 0, phase_offsets(p_idx)];
% Calculate centroid of apparent source
weighted_angles = sum(jammer_pos(:,1) .* jammer_amp' .* exp(1j*test_phases'));
angle_errors(p_idx) = angle(weighted_angles) * lambda/(2*pi) * 180/pi;
end
plot(phase_offsets*180/pi, angle_errors, 'b-o', 'LineWidth', 2);
title('Angle Error vs Wing Phase Offset');
xlabel('Wing Jammer Phase (degrees)');
ylabel('Induced Angle Error (degrees)');
grid on;
% Subplot 6: Inverse Gain Modulation (IGM) for Conical Scan
subplot(2, 3, 6);
% Conical scan modulation envelope
scan_angle = conical_scan_angle * sin(2*pi*scan_rate*t);
% IGM: jammer detects scan modulation and inverts it
% Simplified model: jammer amplitude modulated 180 deg out of phase with scan
t_igm = 0:0.0001:0.01; % 10ms
scan_mod = conical_scan_angle * sin(2*pi*scan_rate*t_igm);
radar_response = abs(sum_pattern(scan_mod)); % Normal response peaks when pointed at target
% IGM signal (inverted modulation)
igm_mod = 1 ./ (radar_response + 0.1); % Inverse amplitude
igm_mod = igm_mod / max(igm_mod); % Normalize
plot(t_igm*1000, radar_response, 'b-', 'LineWidth', 2); hold on;
plot(t_igm*1000, igm_mod, 'r--', 'LineWidth', 2);
title('Inverse Gain Modulation (IGM)');
xlabel('Time (ms)');
ylabel('Normalized Amplitude');
legend('Normal Echo', 'IGM Jamming');
grid on;
% Summary
fprintf('\n=== Multi-Point Jammer Analysis ===\n');
fprintf('Configuration: %d-point source\n', N_sources);
fprintf('Baseline Spacing: %.1f m (%.2f wavelengths)\n', source_spacing, source_spacing/lambda);
fprintf('Monopulse Boresight Error: %.2f degrees\n', boresight_error);
fprintf('Maximum Angle Bias (phase sweep): %.2f degrees\n', max(abs(angle_errors)));
fprintf('IGM Scan Frequency: %.0f Hz\n', scan_rate);
fprintf('===================================\n');
end
交付物:polarization_jamming.m
脚本功能:生成任意极化状态(线极化、圆极化、椭圆极化)的干扰信号,基于Jones矢量计算雷达极化匹配滤波器输出,分析极化失配损失与交叉极化鉴别率(XPD)影响。
使用方式:设定干扰极化态(极化角、椭圆角)与雷达接收极化(水平/垂直或圆极化),运行脚本生成极化球(Poincaré Sphere)轨迹、匹配滤波器响应与XPD分析曲线。
matlab
复制
function polarization_jamming()
% polarization_jamming: Polarization Jamming Signal Modeling
% Generates arbitrary polarization states using Jones calculus
% Calculates radar polarization matched filter output and XPD effects
%
% Usage:
% Run polarization_jamming() for comprehensive polarization analysis
% Modify psi and chi parameters for different polarization states
%
% Outputs:
% - Poincare sphere visualization of polarization states
% - Polarization matched filter response vs orientation
% - XPD (Cross-Polarization Discrimination) analysis
% Radar Polarization (Receive)
% Horizontal linear polarization
h_vec = [1; 0]; % Horizontal
v_vec = [0; 1]; % Vertical
% Right-hand circular
rhc_vec = [1; -1j]/sqrt(2);
lhc_vec = [1; 1j]/sqrt(2);
% Interference polarization sweep
% Parameterize by orientation angle psi (0-180) and ellipticity angle chi (-45 to 45)
psi_range = linspace(0, 180, 180); % Orientation (degrees)
chi_range = linspace(-45, 45, 90); % Ellipticity (degrees)
[PSI, CHI] = meshgrid(psi_range, chi_range);
% Stokes Parameters calculation
S0 = ones(size(PSI)); % Total power (normalized)
S1 = cosd(2*CHI) .* cosd(2*PSI);
S2 = cosd(2*CHI) .* sind(2*PSI);
S3 = sind(2*CHI); % Sign determines handedness
% Polarization matched filter responses
% For horizontal receive antenna:
% E_field = [cos(psi)*cos(chi) - sin(psi)*sin(chi);
% sin(psi)*cos(chi) + cos(psi)*sin(chi)] (simplified)
% Actually, Jones vector for general elliptical polarization:
% E = [cos(psi)*cos(chi) - 1j*sin(psi)*sin(chi);
% sin(psi)*cos(chi) + 1j*cos(psi)*sin(chi)]
response_h = zeros(size(PSI)); % Response of horizontal receive
response_rhc = zeros(size(PSI)); % Response of RHC receive
for i = 1:size(PSI, 1)
for j = 1:size(PSI, 2)
psi = PSI(i,j) * pi/180;
chi = CHI(i,j) * pi/180;
% General elliptical Jones vector
E_jones = [cos(psi)*cos(chi) - 1j*sin(psi)*sin(chi);
sin(psi)*cos(chi) + 1j*cos(psi)*sin(chi)];
% Matched filter response (power) with horizontal radar
response_h(i,j) = abs(h_vec' * E_jones)^2;
% With RHC radar
response_rhc(i,j) = abs(rhc_vec' * E_jones)^2;
end
end
% XPD calculation (Co-pol / Cross-pol)
% For horizontal radar, cross-pol is vertical
XPD_h = 10*log10(response_h ./ (1-response_h + eps));
% Figure 1: Polarization Analysis
figure('Name', 'Polarization Jamming Analysis', 'Position', [100 100 1400 900]);
% Subplot 1: Poincare Sphere projection (S1-S2 plane)
subplot(2, 3, 1);
contourf(PSI, CHI, S1, 20, 'LineColor', 'none');
colorbar;
title('Stokes Parameter S_1 (Horizontal vs Vertical)');
xlabel('Orientation \psi (degrees)');
ylabel('Ellipticity \chi (degrees)');
colormap(jet);
% Subplot 2: S3 (Circular component)
subplot(2, 3, 2);
contourf(PSI, CHI, S3, 20, 'LineColor', 'none');
colorbar;
title('Stokes Parameter S_3 (Circular Pol)');
xlabel('Orientation \psi (degrees)');
ylabel('Ellipticity \chi (degrees)');
% Subplot 3: Matched filter response (Horizontal radar)
subplot(2, 3, 3);
surf(PSI, CHI, 10*log10(response_h), 'EdgeColor', 'none');
title('Polarization Match: Horizontal Radar');
xlabel('\psi (degrees)'); ylabel('\chi (degrees)');
zlabel('Response (dB)');
colorbar;
view(45, 30);
% Subplot 4: XPD map
subplot(2, 3, 4);
imagesc(psi_range, chi_range, XPD_h);
set(gca, 'YDir', 'normal');
title('Cross-Polarization Discrimination (XPD)');
xlabel('\psi (degrees)');
ylabel('\chi (degrees)');
colorbar;
caxis([0 50]);
% Subplot 5: Specific cuts (Linear pol sweep)
subplot(2, 3, 5);
% Pure linear (chi=0), sweep orientation
chi_linear = 0;
resp_h_linear = zeros(size(psi_range));
resp_v_linear = zeros(size(psi_range));
resp_rhc_linear = zeros(size(psi_range));
for i = 1:length(psi_range)
psi = psi_range(i) * pi/180;
E = [cos(psi); sin(psi)]; % Linear state
resp_h_linear(i) = abs(h_vec' * E)^2;
resp_v_linear(i) = abs(v_vec' * E)^2;
resp_rhc_linear(i) = abs(rhc_vec' * E)^2;
end
plot(psi_range, 10*log10(resp_h_linear), 'b-', 'LineWidth', 2); hold on;
plot(psi_range, 10*log10(resp_v_linear), 'r--', 'LineWidth', 2);
plot(psi_range, 10*log10(resp_rhc_linear), 'g:', 'LineWidth', 2);
title('Linear Polarization Sweep (Horizontal Radar)');
xlabel('Orientation (degrees)');
ylabel('Received Power (dB)');
legend('Horiz Receive', 'Vert Receive (X-pol)', 'RHC Receive');
grid on; ylim([-40 0]);
% Subplot 6: Circular polarization interference
subplot(2, 3, 6);
% Jammer transmits rotating linear, radar is RHC
% Response varies with orientation
plot(psi_range, 10*log10(resp_rhc_linear), 'm-', 'LineWidth', 2);
title('Linear Jamming vs Circular Radar');
xlabel('Jammer Orientation (degrees)');
ylabel('Received Power (dB)');
grid on;
yline(-3, 'r--', '3dB Loss (Circular vs Linear)');
text(90, -6, 'Constant 3dB loss for ideal circular', 'HorizontalAlignment', 'center');
% Calculate specific scenarios
% Scenario 1: Jammer orthogonal linear vs horizontal radar
ortho_loss = 10*log10(resp_h_linear(psi_range==90)); % Should be -inf ideally
% Scenario 2: Jammer RHC vs radar LHC (ideal rejection)
rhc_vs_lhc = abs(lhc_vec' * rhc_vec)^2; % Should be 0
fprintf('\n=== Polarization Jamming Analysis ===\n');
fprintf('Orthogonal Linear vs Horizontal Radar: %.1f dB (theoretical -inf)\n', ortho_loss);
fprintf('RHC vs LHC (opposite circular): %.1f dB (theoretical -inf)\n', 10*log10(rhc_vs_lhc));
fprintf('Linear vs Circular (polarization mismatch): %.1f dB\n', -3);
fprintf('XPD range: %.1f to %.1f dB\n', min(XPD_h(:)), max(XPD_h(:)));
fprintf('=====================================\n');
end
交付物:crosseye_interference.m
脚本功能:实现交叉眼(Cross-Eye)干扰的几何与信号模型,仿真双源反向相位干扰导致的波前畸变,计算单脉冲雷达的角度测量误差随基线长度、相位/幅度不平衡的变化。
使用方式:设定交叉眼基线长度、幅度比ρ 与相位差ϕ (理想为180度),运行脚本生成波前相位图、角度误差曲线与干扰有效性边界(以失配参数为变量)。
matlab
复制
function crosseye_interference()
% crosseye_interference: Cross-Eye Jamming (CEJ) Interference Analysis
% Models two-source retrodirective jamming with phase inversion
% Simulates wavefront distortion and monopulse angle measurement error
%
% Usage:
% Run crosseye_interference() for standard cross-eye analysis
% Adjust baseline_L and amp_ratio for parametric studies
%
% Outputs:
% - Wavefront phase distortion visualization
% - Angle error vs baseline length
% - Tolerance analysis (phase/amplitude imbalance effects)
% Radar Parameters (X-band)
freq = 10e9;
lambda = 3e8 / freq;
beamwidth = 3 * pi/180;
% Cross-Eye Jammer Parameters
baseline_L = 10; % Separation between two jammer sources (m)
target_range = 5000; % Distance from radar to target/jammer (m)
amp_ratio = 0.95; % Amplitude ratio (rho = J2/J1), ideal is 1.0
phase_diff = 175 * pi/180; % Phase difference, ideal is 180 deg
% Jammer positions (transverse to radar line of sight)
% J1 at -L/2, J2 at +L/2
jammer1_pos = [-baseline_L/2, 0];
jammer2_pos = [baseline_L/2, 0];
% Angular grid for analysis (from radar perspective)
theta_range = linspace(-0.5*beamwidth, 0.5*beamwidth, 201); % Small angles
% Calculate phase fronts at radar position (far field approximation)
% For each angle, calculate path difference and phase sum
% Monopulse sum and difference patterns
sum_beam = @(theta) exp(-2.773*(theta/beamwidth).^2);
diff_beam = @(theta) 1.5*(theta/beamwidth).*exp(-2.773*(theta/beamwidth).^2);
% Calculate received signal from both jammers at each angle
sum_signal = zeros(size(theta_range));
diff_signal = zeros(size(theta_range));
for i = 1:length(theta_range)
theta = theta_range(i);
% Range to each jammer from direction theta (plane wave approximation)
% Phase = k * (x*sin(theta)) + jammer_phase
k = 2*pi/lambda;
% Jammer 1 contribution (reference, phase 0)
phase_j1 = k * jammer1_pos(1) * sin(theta);
E1 = 1.0 * exp(1j*phase_j1);
% Jammer 2 contribution (phase_diff, amp_ratio)
phase_j2 = k * jammer2_pos(1) * sin(theta) + phase_diff;
E2 = amp_ratio * exp(1j*phase_j2);
% Total field
E_total = E1 + E2;
% Phase of combined signal (wavefront tilt)
phase_total = angle(E_total);
% Store for monopulse calculation
sum_signal(i) = E_total * sum_beam(theta);
diff_signal(i) = E_total * diff_beam(theta);
end
% Monopulse ratio (indicates apparent angle)
mono_ratio = real(diff_signal ./ (sum_signal + eps));
% Find apparent boresight (where mono_ratio = 0)
zero_idx = find(diff(sign(mono_ratio)) ~= 0, 1);
if ~isempty(zero_idx)
apparent_angle = interp1(mono_ratio(zero_idx-1:zero_idx+1), ...
theta_range(zero_idx-1:zero_idx+1), 0);
else
apparent_angle = 0;
end
% Figure 1: Cross-Eye Analysis
figure('Name', 'Cross-Eye Jamming Analysis', 'Position', [100 100 1400 900]);
% Subplot 1: Jammer Geometry
subplot(2, 3, 1);
plot(jammer1_pos(1), jammer1_pos(2), 'ro', 'MarkerSize', 10, 'MarkerFaceColor', 'r'); hold on;
plot(jammer2_pos(1), jammer2_pos(2), 'ro', 'MarkerSize', 10, 'MarkerFaceColor', 'r');
text(jammer1_pos(1), -2, 'J1 (0°)', 'HorizontalAlignment', 'center');
text(jammer2_pos(1), -2, sprintf('J2 (%.0f°)', phase_diff*180/pi), 'HorizontalAlignment', 'center');
% Draw waves emanating
for r = 2:2:8
rectangle('Position', [jammer1_pos(1)-r, -r, 2*r, 2*r], 'Curvature', [1, 1], ...
'EdgeColor', 'b', 'FaceColor', 'none', 'LineWidth', 0.5);
rectangle('Position', [jammer2_pos(1)-r, -r, 2*r, 2*r], 'Curvature', [1, 1], ...
'EdgeColor', 'r', 'FaceColor', 'none', 'LineWidth', 0.5);
end
title(sprintf('Cross-Eye Geometry (Baseline: %.1fm)', baseline_L));
xlabel('Cross-Range (m)');
ylabel('Range (m)');
axis equal; grid on;
xlim([-10 10]); ylim([-10 10]);
% Subplot 2: Phase Wavefront Distortion
subplot(2, 3, 2);
% Phase across aperture
phase_front = unwrap(angle(sum_signal));
phase_tilt_removed = phase_front - mean(phase_front);
plot(theta_range*180/pi, phase_tilt_removed, 'b-', 'LineWidth', 2);
title('Wavefront Phase Distortion');
xlabel('Angle (degrees)');
ylabel('Phase (radians)');
grid on;
% Subplot 3: Monopulse Ratio Distortion
subplot(2, 3, 3);
plot(theta_range*180/pi, mono_ratio, 'b-', 'LineWidth', 2); hold on;
% Ideal linear monopulse
plot(theta_range*180/pi, 1.5*theta_range/beamwidth, 'g--', 'LineWidth', 1.5);
xline(apparent_angle*180/pi, 'r--', 'Apparent Boresight');
title('Monopulse Error Voltage');
xlabel('Angle (degrees)');
ylabel('Real(\Delta/\Sigma)');
legend('With Cross-Eye', 'Ideal');
grid on;
% Subplot 4: Angle Error vs Baseline Length
subplot(2, 3, 4);
baselines = 2:2:20; % 2 to 20 meters
angle_errors = zeros(size(baselines));
for b_idx = 1:length(baselines)
L = baselines(b_idx);
j1 = [-L/2, 0]; j2 = [L/2, 0];
% Calculate monopulse zero crossing for this baseline
sum_sig = zeros(size(theta_range));
diff_sig = zeros(size(theta_range));
for i = 1:length(theta_range)
theta = theta_range(i);
k = 2*pi/lambda;
p1 = k * j1(1) * sin(theta);
p2 = k * j2(1) * sin(theta) + phase_diff;
E = 1.0*exp(1j*p1) + amp_ratio*exp(1j*p2);
sum_sig(i) = E * sum_beam(theta);
diff_sig(i) = E * diff_beam(theta);
end
mr = real(diff_sig ./ (sum_sig + eps));
zero_i = find(diff(sign(mr)) ~= 0, 1);
if ~isempty(zero_i)
angle_errors(b_idx) = interp1(mr(zero_i-1:zero_i+1), ...
theta_range(zero_i-1:zero_i+1), 0) * 180/pi;
end
end
plot(baselines, angle_errors, 'b-o', 'LineWidth', 2);
title('Angle Error vs Baseline Length');
xlabel('Baseline L (m)');
ylabel('Angle Error (degrees)');
grid on;
% Theoretical approximation: error ~ (1-rho)/(1+rho) * L/lambda * beamwidth
theoretical_error = abs((1-amp_ratio)/(1+amp_ratio)) * baselines/lambda * beamwidth * 180/pi;
hold on;
plot(baselines, theoretical_error, 'r--', 'LineWidth', 1.5);
legend('Simulated', 'Theoretical Approx');
% Subplot 5: Tolerance Analysis (Phase Error)
subplot(2, 3, 5);
phase_errors = 160:0.5:200; % Around 180
angle_err_phase = zeros(size(phase_errors));
for p_idx = 1:length(phase_errors)
pd = phase_errors(p_idx) * pi/180;
% Recalculate with this phase error
sum_sig = zeros(size(theta_range));
diff_sig = zeros(size(theta_range));
for i = 1:length(theta_range)
theta = theta_range(i);
k = 2*pi/lambda;
p1 = k * jammer1_pos(1) * sin(theta);
p2 = k * jammer2_pos(1) * sin(theta) + pd;
E = 1.0*exp(1j*p1) + amp_ratio*exp(1j*p2);
sum_sig(i) = E * sum_beam(theta);
diff_sig(i) = E * diff_beam(theta);
end
mr = real(diff_sig ./ (sum_sig + eps));
zero_i = find(diff(sign(mr)) ~= 0, 1);
if ~isempty(zero_i)
angle_err_phase(p_idx) = interp1(mr(zero_i-1:zero_i+1), ...
theta_range(zero_i-1:zero_i+1), 0) * 180/pi;
end
end
plot(phase_errors, angle_err_phase, 'b-', 'LineWidth', 2);
title('Angle Error vs Phase Difference');
xlabel('Phase Difference (degrees)');
ylabel('Angle Error (degrees)');
grid on;
xline(180, 'g--', 'Ideal 180°');
% Subplot 6: Tolerance Analysis (Amplitude Imbalance)
subplot(2, 3, 6);
amp_ratios = 0.8:0.02:1.2;
angle_err_amp = zeros(size(amp_ratios));
for a_idx = 1:length(amp_ratios)
ar = amp_ratios(a_idx);
% Recalculate with this amplitude ratio
sum_sig = zeros(size(theta_range));
diff_sig = zeros(size(theta_range));
for i = 1:length(theta_range)
theta = theta_range(i);
k = 2*pi/lambda;
p1 = k * jammer1_pos(1) * sin(theta);
p2 = k * jammer2_pos(1) * sin(theta) + pi; % 180 deg
E = 1.0*exp(1j*p1) + ar*exp(1j*p2);
sum_sig(i) = E * sum_beam(theta);
diff_sig(i) = E * diff_beam(theta);
end
mr = real(diff_sig ./ (sum_sig + eps));
zero_i = find(diff(sign(mr)) ~= 0, 1);
if ~isempty(zero_i)
angle_err_amp(a_idx) = interp1(mr(zero_i-1:zero_i+1), ...
theta_range(zero_i-1:zero_i+1), 0) * 180/pi;
end
end
plot(amp_ratios, angle_err_amp, 'r-', 'LineWidth', 2);
title('Angle Error vs Amplitude Ratio');
xlabel('Amplitude Ratio \rho');
ylabel('Angle Error (degrees)');
grid on;
xline(1.0, 'g--', 'Ideal \rho=1');
% Summary
fprintf('\n=== Cross-Eye Interference Analysis ===\n');
fprintf('Baseline Length: %.1f m (%.2f wavelengths)\n', baseline_L, baseline_L/lambda);
fprintf('Amplitude Ratio: %.3f (ideal 1.0)\n', amp_ratio);
fprintf('Phase Difference: %.1f degrees (ideal 180)\n', phase_diff*180/pi);
fprintf('Induced Angle Error: %.2f degrees\n', apparent_angle*180/pi);
fprintf('Theoretical Max Error (L=%.0fm): %.2f degrees\n', ...
baseline_L, abs((1-amp_ratio)/(1+amp_ratio))*baseline_L/lambda*beamwidth*180/pi);
fprintf('Phase Tolerance (10%% error reduction): ~%.0f degrees\n', ...
interp1(abs(angle_err_phase), phase_errors, max(abs(angle_err_phase))*0.9));
fprintf('========================================\n');
end
348



被折叠的 条评论
为什么被折叠?



