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.

IWR6843ISK: Paramater Tuning

Part Number: IWR6843ISK

Hey there,

I am trying to tune my radars paramaters using this tool. (https://dev.ti.com/gallery/view/mmwave/mmWaveSensingEstimator/ver/2.2.1/)

I have chosen the 3D People counting binary files for this project.

Ive put in the wanted parameters and it generates some usefull profile and framecfg commands.
But when I insert the commands in my cfg file my radar doesnt give any data anymore.

I also tuned the tracking layer and detection layer paramaters following the tuning guides.

I want to achieve these ideal parameters:

Max Detection Range: 30m

Range Resolution: 20cm

Max Velocity: 65km/h

Velocity Resolution: 3km/h

Measurement rate 24Hz

Typical detected Object: Child or Person

I just kept the loss parameters default.

 
Here is my .cfg file and a picture of the tool mentioned:

% SDK Parameters
% See the SDK user's guide for more information
% "C:\ti\mmwave_sdk_[VER]\docs\mmwave_sdk_user_guide.pdf"
% Front- End paramaters 
% Generate front end parameters here: https://dev.ti.com/gallery/view/mmwave/mmWaveSensingEstimator/ver/2.2.2/

sensorStop
flushCfg
dfeDataOutputMode 1
channelCfg 15 7 0
adcCfg 2 1
adcbufCfg -1 0 1 1 1
lowPower 0 0

profileCfg 0 60 2 3.8 20.84 0 0 46.64 1 187 11660 0 0 30
chirpCfg 0 0 0 0 0 0 0 1
chirpCfg 1 1 0 0 0 0 0 2
chirpCfg 2 2 0 0 0 0 0 4
frameCfg 0 2 44 0 41.67 1 0

% Detection Layer Parameters
% See the Detection Layer Tuning Guide for more information
% "C:\ti\mmwave_industrial_toolbox_[VER]\labs\people_counting\docs\3D_people_counting_detection_layer_tuning_guide.pdf"
% Recommend the default values stated in the Detection Layer Tuning Guide

dynamicRACfarCfg -1 4 4 2 2 8 12 4 8 5.00 8.00 0.40 1 1
staticRACfarCfg -1 6 2 2 2 8 8 6 4 8.00 15.00 0.30 0 0
dynamicRangeAngleCfg -1 0.75 0.0010 1 0
dynamic2DAngleCfg -1 3 0.0300 1 0 1 0.30 0.85 8.00
staticRangeAngleCfg -1 0 8 2

% Board parameters for IWR6843ISK
antGeometry0 0 -1 -2 -3 -2 -3 -4 -5 -4 -5 -6 -7
antGeometry1 -1 -1 -1 -1 0 0 0 0 -1 -1 -1 -1
antPhaseRot 1 1 1 1 1 1 1 1 1 1 1 1
fovCfg -1 70.0 20.0
compRangeBiasAndRxChanPhase 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0

% Tracker Layer Parameters
% See the Tracking Layer Tuning Guide for more information
% "C:\ti\mmwave_industrial_toolbox_[VER]\labs\people_counting\docs\3D_people_counting_tracker_layer_tuning_guide.pdf"

% Most important to tune !

staticBoundaryBox -10 10 2 30 0 3
boundaryBox -10 10 2 30 0 3
presenceBoundaryBox -10 10 2 30 0 3

sensorPosition 2 0 15

gatingParam 3 2 2 3 4

stateParam 3 3 6 500 5 6000
allocationParam 40 100 0.1 20 0.5 20

maxAcceleration 0.1 0.1 0.1

trackingCfg 1 4 800 20 10 13 41 
sensorStart

  • Hello,

    In order for us to figure out why you are no longer getting data out when you send the updated configuration, can you please walk me through your steps for setting up and sending the configuration to the device? 

    Then, can you start with your original configuration, and modify the parameter values of the profileCfg and frameCfg (and for any of the other lines that you are modifying), so that we can identify which parameter value is causing the issue to first appear?

    Regards,
    Luke

  • Hey Luke,

    Thanks you for responding.

    I am using python to connect serial to my IWR6843ISK board. after that I send the config file over uart line per line.
    My code runs perfect with the default config file TI provided.

    Now that I am creating my own I dont get any data anymore.
    I changed the Tracking paramaters aswell as the frameCFG and profileCFg commands.

    After testing each change in the config file, it looks lik frameCFG and profileCFG are the ones that are the problem.
    Which is weird to me because those parameters are generated using the respective tool.

    Kind regards
    Sander

  • Hi Sander,

    Can you please post a "before and after" of the frameCfg and profileCfg? I am curious to know which specific values were changed and by how much.

    Also, please be sure it is not something simple like the device being in the wrong mode (check the switch settings) and always reset the device between sending configurations to it.

    Regards,

    Tim