This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Part Number: AWR1642BOOST
Hi, I currently modified the SDK code of AWR1642 to extract all the 2D range-doppler data for all virutal antennas and send those data through LVDS using DCA1000EVM
the total size of each frames' data is (128(number of range bins) * 16(number of doppler bins) * 8(number of virtual antennas) )
An I am trying to draw range-azimuth heatmap for all virtual antennas and I use range-azimuth static heatmap code from matlab parsing code of mmwdemo
function [Azimuth_Result,Z] = parse_azim(Q)
% Q(Q>32767) = Q(Q>32767) - 65536;
% Q = 1j*Q(1:2:end)+Q(2:2:end);
Q = reshape(Q, 8, 128);
Q = fft(Q, 64);
theta = asind([-64/2+1 : 64/2-1]'*(2/64));
range = [0:127] * 0.4394;
posX = range' * sind(theta');
posY = range' * cosd(theta');
% axis equal
% % xlabel('Lateral Distance (m)'); ylabel('Longitudinal Distance (m)'); title('Azumuth Heat Map');
From above code, the number of angle bin is set to 64.
If I change the code
Q = fft(Q, 64);
theta = asind([-64/2+1 : 64/2-1]'*(2/64));to
Q = fft(Q, 128);
theta = asind([-64/1+1 : 64/1-1]'*(1/64));Would there be more error for angle estimation, or would it be more accurate for angle estimation?could the size of angle bin be changed at matlab? or should I change it from c code at sdk?Thanks,Regards, Jinhyeong
Angular resolution is tied to the number of virtual antennas you have available in the direction of interest. In AWR1642, you have a 1x8 virtual antenna array, all of which are along the azimuth direction, so the resolution is quite good. What are you trying to gain? Have you looked through the mmWave online training material, such as this series:
We are glad that we were able to resolve this issue, and will now proceed to close this thread.
If you have further questions related to this thread, you may click "Ask a related question" below. The newly created question will be automatically linked to this question.
In reply to db_woodall:
What I am curious about is that why the number of angle bins are fixed to 64 while the number of virtual antennas is 8.
Is there any formula to gain the number of angle bins from the number of virtual antennas?
In reply to JinHyeong Kim:
The number of angle bins is determined by the FFT that is used. Choosing an FFT size means making trade-offs in accuracy, and memory and processing loads. You can certainly increase or decrease this to suit your requirements.
Here are sources of additional information on this topic:
MIMO Radar App note
Do you mean that is it free to increase the number of angular FFT bins
after I collect the range doppler value for all virtual antennas?
For example, if I want to use 128 angular bins
Q = reshape(Q, 8, 128); %8 virtual antennas, 128 range bins
Q = fft(Q, 128); # use 128 angle bins for FFT
theta = asind([-64/1+1 : 64/1-1]'*(1/64));
range = [0:127] * 0.4394; #0.4394 means the range resolution
Would this code is valid and not affect any detection performance of RADAR?
It would be valid only if the Q array (output of reshape) has 128 elements for the FFT. This depends primarily on the number of number of chirps (Doppler bins) present in the radar cube, that is used for the Azimuth FFT. If < 128, it likely would mean making adjustments to the chirp configuration (number of samples, number of chirps, number of virtual antennas) so that your radar cube is appropriately sized for angle processing. If this isn't clear, I urge you to spend time going through the online training material and also reading the HTML documentation for the SDK's mmw demo.
All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.
TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs andembedded processors, along with software, tools and the industry’s largest sales/support staff.