Announcements

# A question about the real-time distance data display of the BGT60TR13C radar

Community Manager
Community Manager

Hello, in the radar range-angle-map, py program, how can distance data be printed in real time, similar to angle data? (As shown in the picture)

smartconx_target@Q!w2e3r4t5y6u7i8o9p0||/t5/%E9%9B%B7%E8%BE%BE%E4%BC%A0%E6%84%9F%E5%99%A8/%E5%85%B3%E4%BA%8EBGT60TR13C%E9%9B%B7%E8%BE%BE%E7%9A%84%E5%AE%9E%E6%97%B6%E8%B7%9D%E7%A6%BB%E6%95%B0%E6%8D%AE%E6%98%BE%E7%A4%BA%E9%97%AE%E9%A2%98/td-p/646786

1 Solution

# Re: On the issue of real-time distance data display for BGT60TR13C radar

Community Manager
Community Manager

Hello,

For the calculation of distance, please refer to "*\radar_sdk\examples\py\BGT60TR13C\helpers\DistanceAlgo.py", with the following notes:

1. My colleague previously replied to you about the calculation method and formula for range_bin_length. For this file, self.range_bin_length = constants.c " /(2 * bandwidth_hz * fft_size/chirp.num_samples), according to your current configuration, the calculation result is 0.02500000190131549m "

2. When compute_distance calculates step 4, the fixed value of skip is 8, that is, it filters out targets whose closest distance to the radar is 8*0.02500000190131549 ± 0.2 m. The purpose of this is to eliminate antenna interference at close range. If you need closer inspection, you can change this value to a smaller value and exclude interference from other objects around the radar, especially targets with highly reflective materials.

If you still have questions, please include the experimental environment and experimental phenomena and continue to ask questions.

Best Housekeeping,

Julis

smartconx_target@Q!w2e3r4t5y6u7i8o9p0||/t5/%E9%9B%B7%E8%BE%BE%E4%BC%A0%E6%84%9F%E5%99%A8/%E5%85%B3%E4%BA%8EBGT60TR13C%E9%9B%B7%E8%BE%BE%E7%9A%84%E5%AE%9E%E6%97%B6%E8%B7%9D%E7%A6%BB%E6%95%B0%E6%8D%AE%E6%98%BE%E7%A4%BA%E9%97%AE%E9%A2%98/m-p/647688

5 Replies

# Re: A question about the real-time distance data display of the BGT60TR13C radar

Community Manager
Community Manager

Hi Jares,

As with the printing angle, first obtain the FIFO data (), including the original signal data. `xensiv_bgt60trxx_get_fifo_data` This data is then processed to find phase differences and map them to angles.

`range-angle-map.py`In, you can display distance data by following these steps:

2. Generate a range-Doppler map for the radar.
3. Scope of application - angle map algorithm.

Can I take a look at your code? What are the specific errors encountered?

BR

Yaran

smartconx_target@Q!w2e3r4t5y6u7i8o9p0||/t5/%E9%9B%B7%E8%BE%BE%E4%BC%A0%E6%84%9F%E5%99%A8/%E5%85%B3%E4%BA%8EBGT60TR13C%E9%9B%B7%E8%BE%BE%E7%9A%84%E5%AE%9E%E6%97%B6%E8%B7%9D%E7%A6%BB%E6%95%B0%E6%8D%AE%E6%98%BE%E7%A4%BA%E9%97%AE%E9%A2%98/m-p/647339

# Re: A question about the real-time distance data display of the BGT60TR13C radar

Community Manager
Community Manager

Thanks for the reply. The following file is a modified code, and real-time distance data can already be printed, but when the distance is within 0.4 m, there are situations where it cannot be distinguished. For example, when the distance between a moving object is 0.3 m from the radar, the data printed in real time is 0.4 m.

smartconx_target@Q!w2e3r4t5y6u7i8o9p0||/t5/%E9%9B%B7%E8%BE%BE%E4%BC%A0%E6%84%9F%E5%99%A8/%E5%85%B3%E4%BA%8EBGT60TR13C%E9%9B%B7%E8%BE%BE%E7%9A%84%E5%AE%9E%E6%97%B6%E8%B7%9D%E7%A6%BB%E6%95%B0%E6%8D%AE%E6%98%BE%E7%A4%BA%E9%97%AE%E9%A2%98/m-p/647355

# Re: A question about the real-time distance data display of the BGT60TR13C radar

Community Manager
Community Manager

Hi Jares,

It is recommended that you use distance_fft directly to read it. Also, please refer to the link, which has a detailed introduction to how 0.325 came about. Concepts of distance resolution, range bins, etc.:

https://www.infineon.com/dgdl/Infineon-AN667_Distance_estimation_using_XENSIV_KIT_CSK_BGT60TR13C-App...

Range resolution (in meters) — Minimum range separation needed to meet two targets of same velocity

BR

Yaran

smartconx_target@Q!w2e3r4t5y6u7i8o9p0||/t5/%E9%9B%B7%E8%BE%BE%E4%BC%A0%E6%84%9F%E5%99%A8/%E5%85%B3%E4%BA%8EBGT60TR13C%E9%9B%B7%E8%BE%BE%E7%9A%84%E5%AE%9E%E6%97%B6%E8%B7%9D%E7%A6%BB%E6%95%B0%E6%8D%AE%E6%98%BE%E7%A4%BA%E9%97%AE%E9%A2%98/m-p/647567

# Re: On the issue of real-time distance data display for BGT60TR13C radar

Community Manager
Community Manager

Hello, thanks for the response. Now you need to directly enter distance data in range-angle-map. Your response method cannot solve this problem, so I hope to get responses from people who are more familiar with technology.

smartconx_target@Q!w2e3r4t5y6u7i8o9p0||/t5/%E9%9B%B7%E8%BE%BE%E4%BC%A0%E6%84%9F%E5%99%A8/%E5%85%B3%E4%BA%8EBGT60TR13C%E9%9B%B7%E8%BE%BE%E7%9A%84%E5%AE%9E%E6%97%B6%E8%B7%9D%E7%A6%BB%E6%95%B0%E6%8D%AE%E6%98%BE%E7%A4%BA%E9%97%AE%E9%A2%98/m-p/647599

# Re: On the issue of real-time distance data display for BGT60TR13C radar

Community Manager
Community Manager

Hello,

For the calculation of distance, please refer to "*\radar_sdk\examples\py\BGT60TR13C\helpers\DistanceAlgo.py", with the following notes:

1. My colleague previously replied to you about the calculation method and formula for range_bin_length. For this file, self.range_bin_length = constants.c " /(2 * bandwidth_hz * fft_size/chirp.num_samples), according to your current configuration, the calculation result is 0.02500000190131549m "

2. When compute_distance calculates step 4, the fixed value of skip is 8, that is, it filters out targets whose closest distance to the radar is 8*0.02500000190131549 ± 0.2 m. The purpose of this is to eliminate antenna interference at close range. If you need closer inspection, you can change this value to a smaller value and exclude interference from other objects around the radar, especially targets with highly reflective materials.

If you still have questions, please include the experimental environment and experimental phenomena and continue to ask questions.

Best Housekeeping,

Julis

smartconx_target@Q!w2e3r4t5y6u7i8o9p0||/t5/%E9%9B%B7%E8%BE%BE%E4%BC%A0%E6%84%9F%E5%99%A8/%E5%85%B3%E4%BA%8EBGT60TR13C%E9%9B%B7%E8%BE%BE%E7%9A%84%E5%AE%9E%E6%97%B6%E8%B7%9D%E7%A6%BB%E6%95%B0%E6%8D%AE%E6%98%BE%E7%A4%BA%E9%97%AE%E9%A2%98/m-p/647688