Other Parts Discussed in Thread: AWR1642
Tool/software:
Hi,
I'll use the SRR lab; the lab's USRR detection range is 20 meters, how to ingress range in 30 meter above .
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.
Tool/software:
Hi,
I'll use the SRR lab; the lab's USRR detection range is 20 meters, how to ingress range in 30 meter above .
Hello,
Please provide more info on your issue. How did you change your config? What are the conditions of your testing? How are you verifying that the EVM data is 15m?
best,
Gigliotti
Hi,
the EVM to human object for constant 10 meters, however the visualizer displays a 15-meter range for human objects. USRR 30meter was my testing condition. I'll post the modified setup below.
/*
* @file srr_config_consts.h
*
* @brief
* This file holds constants related to the USRR20 chirp configuration.
*
* \par
* NOTE:
* (C) copyright 2020 Texas Instruments, Inc.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
*
* Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the
* distribution.
*
* Neither the name of Texas Instruments Incorporated nor the names of
* its contributors may be used to endorse or promote products derived
* from this software without specific prior written permission.
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
* "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
* LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
* A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
* OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
* SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
* LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
* DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
* THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
/*! @brief Ultra short range chirp profile - 20 m range, 4.3cm resolution. better angular resolution, approximately 18kmph max - vel. */
#define PROFILE_USRR_PROFILE_ID (1U)
#define PROFILE_USRR_HPFCORNER_FREQ1_VAL RL_RX_HPF1_175_KHz
#define PROFILE_USRR_HPFCORNER_FREQ2_VAL RL_RX_HPF2_350_KHz
#define PROFILE_USRR_RX_GAIN_VAL (30U)
#define PROFILE_USRR_DIGOUT_SAMPLERATE_VAL (12500U)
#define PROFILE_USRR_ADC_SAMPLE_VAL (512U)
#define PROFILE_USRR_IDLE_TIME_VAL (700U)
#define PROFILE_USRR_RAMP_END_TIME_VAL (4400U)
#define PROFILE_USRR_START_FREQ_GHZ (77.01f)
#define PROFILE_USRR_START_FREQ_VAL (CONV_FREQ_GHZ_TO_CODEWORD(PROFILE_USRR_START_FREQ_GHZ))
#define PROFILE_USRR_TXOUT_POWER_BACKOFF (0U)
#define PROFILE_USRR_TXPHASESHIFTER_VAL (0U)
#define PROFILE_USRR_FREQ_SLOPE_MHZ_PER_US (56.25f)
#define PROFILE_USRR_FREQ_SLOPE_VAL (CONV_SLOPE_MHZ_PER_US_TO_CODEWORD(PROFILE_USRR_FREQ_SLOPE_MHZ_PER_US))
#define PROFILE_USRR_TX_START_TIME_VAL (100U) // 1us
#define PROFILE_USRR_ADC_START_TIME_VAL (300U)
#define CHIRP_USRR_0_PROFILE_ID (1U)
#define CHIRP_USRR_0_START_INDEX (128U + 0U)
#define CHIRP_USRR_0_END_INDEX (128U + 0U)
#define CHIRP_USRR_0_START_FREQ_VAL (0U)
#define CHIRP_USRR_0_FREQ_SLOPE_VAL (0U)
#define CHIRP_USRR_0_IDLE_TIME_VAL (0U)
#define CHIRP_USRR_0_ADC_START_TIME_VAL (0U)
#define CHIRP_USRR_0_TX_CHANNEL (TX_CHANNEL_1_ENABLE)
#define CHIRP_USRR_1_PROFILE_ID (1U)
#define CHIRP_USRR_1_START_INDEX (128U + 1U)
#define CHIRP_USRR_1_END_INDEX (128U + 1U)
#define CHIRP_USRR_1_START_FREQ_VAL (0U)
#define CHIRP_USRR_1_FREQ_SLOPE_VAL (0U)
#define CHIRP_USRR_1_IDLE_TIME_VAL (0U)
#define CHIRP_USRR_1_ADC_START_TIME_VAL (0U)
#define CHIRP_USRR_1_TX_CHANNEL (TX_CHANNEL_2_ENABLE)
/* SUBFRAME Configuration */
#define SUBFRAME_USRR_CHIRP_START_IDX (CHIRP_USRR_0_START_INDEX)
#define SUBFRAME_USRR_CHIRP_END_IDX (CHIRP_USRR_1_END_INDEX)
#define SUBFRAME_USRR_LOOP_COUNT (32U)
#define SUBFRAME_USRR_PERIODICITY_VAL (6000000U) // 30ms
#define SUBFRAME_USRR_TRIGGER_DELAY_VAL (0U)
#define SUBFRAME_USRR_NUM_REAL_ADC_SAMPLES (PROFILE_USRR_ADC_SAMPLE_VAL * 2)
#define SUBFRAME_USRR_NUM_CMPLX_ADC_SAMPLES (PROFILE_USRR_ADC_SAMPLE_VAL)
#define SUBFRAME_USRR_CHIRPTYPE_0_NUM_CHIRPS ((CHIRP_USRR_0_END_INDEX - CHIRP_USRR_0_START_INDEX + 1)*SUBFRAME_USRR_LOOP_COUNT)
#define SUBFRAME_USRR_CHIRPTYPE_1_NUM_CHIRPS ((CHIRP_USRR_1_END_INDEX - CHIRP_USRR_1_START_INDEX + 1)*SUBFRAME_USRR_LOOP_COUNT)
#define SUBFRAME_USRR_NUM_TX (2U)
#define SUBFRAME_USRR_NUM_VIRT_ANT (SUBFRAME_USRR_NUM_TX*NUM_RX_CHANNELS)
#define SUBFRAME_USRR_NUM_ANGLE_BINS (32U)
#define SUBFRAME_USRR_NUM_CHIRPS_TOTAL ((SUBFRAME_USRR_CHIRP_END_IDX - SUBFRAME_USRR_CHIRP_START_IDX + 1) * SUBFRAME_USRR_LOOP_COUNT)
/*! @brief Derived parameters. */
#define PROFILE_USRR_RANGE_RESOLUTION_METERS ((MMWDEMO_SPEED_OF_LIGHT_IN_METERS_PER_USEC * PROFILE_USRR_DIGOUT_SAMPLERATE_VAL)/ (2000.0f * PROFILE_USRR_FREQ_SLOPE_MHZ_PER_US * SUBFRAME_USRR_NUM_CMPLX_ADC_SAMPLES))
#define SUBFRAME_USRR_CHIRPTYPE_0_CHIRP_REPETITION_PERIOD_US (((CHIRP_USRR_0_IDLE_TIME_VAL + PROFILE_USRR_IDLE_TIME_VAL + PROFILE_USRR_RAMP_END_TIME_VAL)/100.0f))
#define SUBFRAME_USRR_CHIRPTYPE_1_CHIRP_REPETITION_PERIOD_US (((CHIRP_USRR_1_IDLE_TIME_VAL + PROFILE_USRR_IDLE_TIME_VAL + PROFILE_USRR_RAMP_END_TIME_VAL)/100.0f))
#define SUBFRAME_USRR_CHIRPTYPE_0_VEL_RESOLUTION_M_P_S (((1000.0f/(SUBFRAME_USRR_CHIRPTYPE_0_CHIRP_REPETITION_PERIOD_US + SUBFRAME_USRR_CHIRPTYPE_1_CHIRP_REPETITION_PERIOD_US))/SUBFRAME_USRR_CHIRPTYPE_0_NUM_CHIRPS)*(PROFILE_SRR_LAMBDA_MILLIMETER/2.0f))
#define SUBFRAME_USRR_CHIRPTYPE_0_MAX_VEL_M_P_S (SUBFRAME_USRR_CHIRPTYPE_0_VEL_RESOLUTION_M_P_S*SUBFRAME_USRR_CHIRPTYPE_0_NUM_CHIRPS/2)
#define SUBFRAME_USRR_CHIRPTYPE_1_VEL_RESOLUTION_M_P_S (((1000.0f/(SUBFRAME_USRR_CHIRPTYPE_0_CHIRP_REPETITION_PERIOD_US + SUBFRAME_USRR_CHIRPTYPE_1_CHIRP_REPETITION_PERIOD_US))/SUBFRAME_USRR_CHIRPTYPE_1_NUM_CHIRPS)*(PROFILE_SRR_LAMBDA_MILLIMETER/2.0f))
#define SUBFRAME_USRR_CHIRPTYPE_1_MAX_VEL_M_P_S (SUBFRAME_USRR_CHIRPTYPE_1_VEL_RESOLUTION_M_P_S*SUBFRAME_USRR_CHIRPTYPE_1_NUM_CHIRPS/2)
#define SUBFRAME_USRR_MIN_SNR_dB (12.0f)
#define SUBFRAME_USRR_NUM_CHIRPTYPES (2U)
if possible, kindly provide USRR 30 meter configuration.
thank you
That is because it for a different demo. You need to modify your existing config in order to extend the range. Similar to what is in the USRR 30 config.
On first glance you have to decrease the PROFILE_USRR_IDLE_TIME_VAL to 500u. This will help extend the max range.
Best,
Gigliotti
Hello,
I was incorrect on my original changes. Here is a 30m configuration to try for the 1642. srr_config_chirp_design_USRR30.h
Best,
Gigliotti
Hello,
So this sounds very incorrect. There are small discrepancies in the radar but usually not as large as 5m. Please repeat this experiment in a large open area and record a person slowly walking away from the sensor to 15-20m. Provide the recording of the person walking and a screen recording of the GUI so we can see this issue.
best,
Gigliotti
I ran these same tests and did not get the same discrepencies. I recommend retesting with the OOB demo present in Radar Toolbox Release 2.20.00.5. Use this binary (radar_toolbox_2_20_00_05\source\ti\examples\ADAS\short_range_radar\prebuilt_binaries\srrdemo_16xx.bin) and see if there are issues. If there are it could be something wrong with your EVM. If not it most likely means the changes you made could have impacted the accuracy of the device.
Best,
Gigliotti