clear
%设置雷达参数
B=20e6;%带宽20MHz
Fs=6*B;%采样频率
Tp=3*1e-6;%脉冲宽度
w=2*pi*1/Tp;
K=B/Tp;%调频率
Delta_t=1/Fs;
s_set_Tp=-Tp/2:Delta_t:Tp/2;
Num=length(s_set_Tp);
c=3e8;%光速
R=112.5e3;%真目标距离
delttr=-2*R/c;%雷达目标回波延迟
delttd=delttr/2;%干扰机信号延迟,干扰及频率和雷达频率相同
vj=500;%干扰机速度500M/s
wj=2*pi*2*vj/(c*Tp);
%雷达发射信号
stx=exp(1i*(w*s_set_Tp+K*s_set_Tp.^2/2));
%雷达接收信号
srt=exp(1i*(w*(s_set_Tp-delttr)+K*(s_set_Tp-delttr).^2/2));
%干扰机信号
jrt=2.6*exp(1i*((w+w)*(s_set_Tp-delttr-delttd)+K*(s_set_Tp-delttr-delttd).^2)/2);
jrt1=zeros(1,361);
for i=1:361
delttd=2*200/c*i/(1e2);%干扰机信号延迟,干扰及频率和雷达频率相同
jrt0=2.6*exp(1i*((w+w+wj)*(s_set_Tp-delttr-2*delttd)+K*(s_set_Tp-delttr-2*delttd).^2)/2);
jrt1(1,i)=jrt0(1,i);
end
figure(1)
plot(s_set_Tp,srt)
hold on
plot(s_set_Tp,jrt)
hold on
plot(s_set_Tp,jrt1)
% %雷达接收信号stretch处理后的混频信号
% rxt=srt.*stx+jrt.*stx;
% Fw=fft(rxt);
% figure(2)
% fe=0:6e7/360:6e7;
% plot(fe,Fw)
% xlabel('频率')
% ylabel('幅度')
% title('雷达接收信号经处理后的混频信号')
%雷达接收信号stretch处理后的混频信号
rxt=srt.*stx+jrt1.*stx;
Fw=fft(rxt);
figure(2)
fe=0:6e7/360:6e7;
plot(fe,Fw)
xlabel('频率')
ylabel('幅度')
title('雷达接收信号经处理后的混频信号')
%雷达目标回脉压结果
%设置雷达参数
B=20e6;%带宽20MHz
Fs=200*B;%采样频率
Tp=3*1e-6;%脉冲宽度
w=2*pi*1/Tp;
K=B/Tp;%调频率
Delta_t=1/Fs;
s_set_Tp=-Tp:Delta_t:Tp;
Num=length(s_set_Tp);
sr=exp(1i*K*s_set_Tp.^2/2);
figure(3)
plot(s_set_Tp,sr)
评论22