Findpeaks outputs random values for distant targets!!

2 次查看(过去 30 天)
I am working on Frequency Modulated Continuous Wave (FMCW) radar which linearly modulate frequency according to the amplitude of a sawtooth. My model is capable of detecting target ranging from 0.5m to 300m. The signal processor block is coded to provide 4 maximum peaks through 'findpeaks' and thereby 2 targets placed at different distances. Technically it should give me two peaks at respective frequencies and thus calculating distances. function but when I set one target at 1m and the other at 299m it gives accurate distance for 1m target but not for 299m object. Scenario 2 : 1st target 250m and second target 299m, it gives accurate results for both targets. I think my code is correct but I cannot isolate the problem. Help is appreciated , attached is my model and the code.
  3 个评论
Hassam Mahmood
Hassam Mahmood 2017-4-4
Sir if you can be more specific? I got your point but this is quite general of you. I need modifications in my signal processor code
dpb
dpb 2017-4-4
Not sure much of anybody else other than you with access to the data and the model can do that, specifically; at least without quite a lot of effort trying to solve what is, after all, your problem. (Not to be rude, but... :) ). I don't have Simulink so I can't do anything with the model file at all other than look at it; not sure if even those who do have everything the would need to run it?? And, why would you think a virtual newcomer at first blush would have a chance to solve a problem the pro who's been working on it for quite some time can't?
I think if you were to provide some actual spectra that do and don't "work" and the way for others to reproduce those, then somebody might have a chance to see the patterns but just from the model I think "not a chance!".
Sorry...best I know; maybe somebody else will come along and be the cat's meow...

请先登录,再进行评论。

采纳的回答

Honglei Chen
Honglei Chen 2017-4-5
编辑:Honglei Chen 2017-4-5
Haven't got chance to run your model. But what is the wrong value it reports when the target at 299m is not detected? Is it very close to 1 m? If so, this may due to the return of the 1m target much stronger than that of the 299m target, so you are essentially getting the sidelobe of the first target.
HTH
  30 个评论
Honglei Chen
Honglei Chen 2017-4-23
Could you show me the time domain signal before and after the ADC? The frequency spectrum isn't very helpful.
Hassam Mahmood
Hassam Mahmood 2017-5-1
编辑:Hassam Mahmood 2017-5-2
Attached is the new model for different parameters. I set fc 25Ghz , Tx 0.1W and 900 element array antenna for sector scanning of 60 degrees with maximum range of 500m. My questions are
a) Model works fine for targets placed above 22 meters, but below this value lets say if I place one target at 10m and other at 499m it gives false values for distant one. Why is it so?
b) This code is for steering vector
y=complex(zeros(900,1));
az=60;
fc=25e9;
v=3e8;
lambda=v/fc;
persistent ss stv;
if isempty(ss)
ss=phased.URA('Size',[30 30],'ElementSpacing' , lambda/2);
end
if isempty(stv)
stv=phased.SteeringVector('SensorArray',ss, 'PropagationSpeed', v);
end
for w=1:10:az
y=conj(step(stv, fc, w));
end
if true
% code
end
When I change the value of 'w' in 'for loop' that is if I reduce it to 1 it changes the value of both the targets. And furthermore, by changing the value of Azimuth to 180 degrees it gives me accurate results!!!! what is the relation between 'w' and azimuth and target distance? Just could not derive any theory out of it
c) I am using FIR Decimator block, as you can see I applied bandpass filter from 50khz to 1Mhz as my maximum beat frequency is of 1Mhz. I used it to suppress the strong signal from nearby targets. But what I see is that after dechirp block I get 2 peaks but after decimation it does not show any peak for the second target placed at 499m and first target placed below 22m.
I am trying to derive any sort of relation between FIR decimator block, Antenna arrays, steering vector and target detection.

请先登录,再进行评论。

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Continuous Waveforms 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by