资源简介
使用给定的系统要求,设计FMCW波形。 找到其带宽(B),线性调频时间(Tchirp)和线性调频斜率。
代码片段和文件信息
clear all
clc;
%% Radar Specifications
%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Frequency of operation = 77GHz
% Max Range = 200m
% Range Resolution = 1 m
% Max Velocity = 100 m/s
%%%%%%%%%%%%%%%%%%%%%%%%%%%
%speed of light = 3e8
%% User Defined Range and Velocity of target
% *%TODO* :
% define the target‘s initial position and velocity. Note : Velocity
% remains contant
R0 = 100.0 % a value between 0 and 200
V0 = 20.0 % a value between -70 and +70
%% FMCW Waveform Generation
% *%TODO* :
%Design the FMCW waveform by giving the specs of each of its parameters.
% Calculate the Bandwidth (B) Chirp Time (Tchirp) and Slope (slope) of the FMCW
% chirp using the requirements above.
% range resolution
range_res = 1.0; % m
% maximum range
Rmax = 200.0; % m
% maximum velocity
Vmax = 100.0; % m/s
% speed of light
c = 3e8; % m/s
%Operating carrier frequency of Radar
fc= 77e9; %carrier freq
% calculate sweep Bandwidth
Bsweep = c / 2 * range_res
% calculate chirp time
factor = 5.5; % a factor between 5 and 6
Tchirp = factor * 2 * Rmax / c
% calculate slope
slope = Bsweep / Tchirp
%The number of chirps in one sequence. Its ideal to have 2^ value for the ease of running the FFT
%for Doppler Estimation.
Nd=128; % #of doppler cells OR #of sent periods % number of chirps
%The number of samples on each chirp.
Nr=1024; %for length of time OR # of range cells
% Timestamp for running the displacement scenario for every sample on each
% chirp
t=linspace(0Nd*TchirpNr*Nd); %total time for samples
%Creating the vectors for Tx Rx and Mix based on the total samples input.
Tx=zeros(1length(t)); %transmitted signal
Rx=zeros(1length(t)); %received signal
Mix = zeros(1length(t)); %beat signal
%Similar vectors for range_covered and time delay.
r_t=zeros(1length(t));
td=zeros(1length(t));
%% Signal generation and Moving Target simulation
% Running the radar scenario over the time.
for i=1:length(t)
% *%TODO* :
%For each time stamp update the Range of the Target for constant velocity.
r_t(i) = R0 + V0 * t(i);
td(i) = 2* r_t(i) / c;
% *%TODO* :
%For each time sample we need update the transmitted and
%received signal.
Tx(i) = cos(2*pi*(fc*t(i) + slope*(t(i)^2)/2));
Rx (i) =cos(2*pi*(fc*(t(i) - td(i)) + slope*((t(i) - td(i))^2)/2));
% *%TODO* :
%Now by mixing the Transmit and Receive generate the beat signal
%This is done by element wise matrix multiplication of Transmit and
%Receiver Signal
Mix(i) = Tx(i) .* Rx (i);
end
%% RANGE MEASUREMENT
% *%TODO* :
%reshape the vector into Nr*Nd array. Nr and Nd here would also define the size of
%Range and Doppler FFT respectively.
Mix = reshape(Mix[Nr Nd]);
% *%TODO* :
%run the FFT on the beat signal along
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
....... 95331 2019-11-15 18:51 雷达目标的产生与检测\radar-target-generation-and-detection.pdf
文件 6816 2019-11-15 18:51 雷达目标的产生与检测\radar_target_generation_and_detection111.m
....... 1185 2019-11-15 18:51 雷达目标的产生与检测\README.md
目录 0 2020-04-24 13:25 雷达目标的产生与检测
----------- --------- ---------- ----- ----
103332 4
- 上一篇:U盘过滤并且实现透明加密
- 下一篇:KITTI数据集最全网盘地址.txt
评论
共有 条评论