FMCW sweeptime Query!
이 질문을 팔로우합니다.
- 팔로우하는 게시물 피드에서 업데이트를 확인할 수 있습니다.
- 정보 수신 기본 설정에 따라 이메일을 받을 수 있습니다.
오류 발생
페이지가 변경되었기 때문에 동작을 완료할 수 없습니다. 업데이트된 상태를 보려면 페이지를 다시 불러오십시오.
이전 댓글 표시
0 개 추천
I am working on fmcw radar with these parameters :
end
Kindly help me through this query, awaiting reply
채택된 답변
Honglei Chen
2016년 9월 21일
2 개 추천
I don't have your data to test it, but if you are using a 1ms sweeping time, then you need to update your sweep slope too. Instead of using
sweep_slope = 500e6/(5.5*600/3e8)
It should be
swee[_slope = 500e6/1e-3
HTH
댓글 수: 14
Honglei Chen
2016년 9월 21일
I believe you can attach a file to the question.
Hassam Mahmood
2016년 9월 21일
I have attached my model having the parameters as we discussed. Kindly look into it and help me out because I am badly stuck here.
Honglei Chen
2016년 9월 23일
I looked at your model. The biggest issue is your range estimation. Based on your configuration, your signal is 50k samples long yet your FFT is set to 2048 samples long. If you set your FFT length to 50k then the result is correct. Of course this is a quick fix. In real system, you can consider down sample after dechirp so you don't have to take a FFT this long.
I think you could also consider change the simulation configuration to fixed step and discrete, since this is a discrete simulation.
HTH
Honglei Chen
2016년 9월 23일
You can turn on the port signal dimension display. But your sampling rate is 50 Mhz and your sweep time is 1 ms. So if you multiply the two together, you have 50 k samples for each sweep. What you said is true, but in that case you need to down sample first like I mentioned in my comment. Otherwise you will have to carry the original sample rate and dimension with you.
HTH
Honglei Chen
2016년 9월 23일
In your range estimation block, instead of using N = 2048, change it to
N = numel(beat_signal)
You should get the correct result. I may have written it wrong. But signal dimension is a dimensionless integer, not a frequency. Here is the reference page on how to see signal dimensions
Hassam Mahmood
2016년 9월 23일
I am still getting no output. It says " Displays can only show at most 200 elements of a vector or [20x10] elements of a matrix signal"
Honglei Chen
2016년 9월 23일
I don't know where you are looking at. Like I said, I get your model, I believe I only changed the aforementioned line in the Range Estimation and it works fine for me.

Hassam Mahmood
2016년 9월 23일
편집: Hassam Mahmood
2016년 9월 23일
OKay I resolved this issue, here is my new code : length=numel(beat_signal) p = nextpow2(length) N = 2^p;
N is 19 and length is 500000; but as I mentioned my output is zero. Where am I going wrong?
Hassam Mahmood
2016년 9월 23일
Hey thank you so much! I got the desired output, I kept transmitter power low that is why I did not get any output. I really appreciate your efforts and back to back comments. Let me vote for it and accept your answer and yes for any another query you want me to continue from here or make a new thread?
Honglei Chen
2016년 9월 23일
You are welcome. If it's a different issue, please make a new thread.
Hassam Mahmood
2016년 9월 27일
As you mentioned, I desampled in order to achieve 2048 FFT samples. I used decimation block with n=250, the problem is I don't get expected output. For target at 300m i get an output of 1500? Any suggestions?
Honglei Chen
2016년 9월 28일
did you also adjust the computation for the range? After downsample, your sampling rate needs to be adjusted
Hassam Mahmood
2016년 9월 28일
Yes I adjusted it and now it's working fine, thank you
Hassam Mahmood
2016년 9월 28일
but when I set my target at 300m, it gives me -299m but when I set it to 299m it gives me exact value. What could be the issue for 300m? Why giving me a negative value
추가 답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Automotive Radar에 대해 자세히 알아보기
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!웹사이트 선택
번역된 콘텐츠를 보고 지역별 이벤트와 혜택을 살펴보려면 웹사이트를 선택하십시오. 현재 계신 지역에 따라 다음 웹사이트를 권장합니다:
또한 다음 목록에서 웹사이트를 선택하실 수도 있습니다.
사이트 성능 최적화 방법
최고의 사이트 성능을 위해 중국 사이트(중국어 또는 영어)를 선택하십시오. 현재 계신 지역에서는 다른 국가의 MathWorks 사이트 방문이 최적화되지 않았습니다.
미주
- América Latina (Español)
- Canada (English)
- United States (English)
유럽
- Belgium (English)
- Denmark (English)
- Deutschland (Deutsch)
- España (Español)
- Finland (English)
- France (Français)
- Ireland (English)
- Italia (Italiano)
- Luxembourg (English)
- Netherlands (English)
- Norway (English)
- Österreich (Deutsch)
- Portugal (English)
- Sweden (English)
- Switzerland
- United Kingdom (English)
