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.

AWR1843: How to perform calibration on custom board

Part Number: AWR1843

Dear TI Support,

I am building an application on AWR1843 Medium range Radar Example from automotive toolbox. SDK version (3.5.0.4). I have configured the range to be 120 meters. However on the custom board that i have built.

There are some observations i have got.

1) There is a slight tilt in the FOV. about 2 degrees. And because of this if the object is actually moving in the center line, Radar perceives as the object is moving at an angle from left to right. and crossing the center line at about 40mtrs.

2) When the object is at 100meters mark. The data that i receive for Y value is ~18300 range.

3) I am getting similar kind of issue in X value also. but its not yet measured.

By understanding is this has to do with the calibration of the board. but the steps i have got for calibration of AWR1843 are dependent on DCA1000. But i can not connect DCA1000 with the custom board. Is there any way i can calibrate the custom board without the DCA1000. Please let me know.

Regards,
Kunal Jain

  • Hi, 

    Which specific calibrations are you trying to perform? We have range bias and phase compensation parameters we can collect without a DCA1000.

    Below you can find information about how to perform the calibration.

    <SDK_INTSALL_DIR>/packages/ti/demo/xwr18xx/mmw/docs/doxygen/html/index.html#Calibration_section

    Regards,
    Tim
  • Dear Tim,

    I went through the process of phase compensation and got the 24 (12real + 12 imaginary) parameters to understand the phase compensation. with the visualizer i was able to verify that the calibration is actually working and the shift of FOV has be removed. 

    But when i try to implement that compensation in the medium range radar from Automotive toolbox following the location mentioned in https://e2e.ti.com/support/sensors-group/sensors/f/sensors-forum/1120155/awr1843-where-are-the-calibration-parameters-in-automotive-lab-demo-mrr this thread. I updated the 12 values for the point cloud by converting the values as per the Q15 format using the tool https://chummersone.github.io/qformat.html.

    But i m still getting the same kind of response from the radar. I have updated the POINT_CLOUD_PROCESSING values. but how to get the calibration parameters for MAX_VEL_ENH_PROCESSING.

    These are the set of 12 values:

    Received value -0.1611 -0.69287 -0.20297 -0.89484 -0.15509 -0.63522 -0.16449 -0.75458 0 0 0 0 0 0 0 0 -0.53424 -0.46381 -0.77176 -0.63593 -0.49155 -0.36835 -0.60416 -0.41446
    Converted value -5279 -22704 -6651 -29322 -5082 -20815 -5390 -24726 0 0 0 0 0 0 0 0 -17506 -15198 -25289 -20838 -16107 -12070 -19797 -13581

    How to get the MAX_VEL_ENH_PROCESSING parameters for the Phase compensation?

    Regards
    Kunal

  • Hi,

    For your application do you use both POINT_CLOUD_PROCESSING and MAX_VEL_ENH_PROCESSING?

    Thank you

    Cesar

  • Hi Cesar,

    For my application, I am using only the MAX_VEL_ENH_PROCESSING.

    Regards

    Kunal

  • Hi Kunal,

    Author of this application is currently unavailable. Can you please wait till first week of January for more details?

    Regards,

    Samhitha

  • Dear Samhitha,

    I am not in a condition to wait this long. Already the turnaround time is high via E2E forum. I have to wait 24 hours to get a reply. The product we are working on is going into production from Q1 2024-25. We have to complete engineering and testing by 1st week of january2024.

    This is going to be a big business impact. Hence we are looking for priority support. Kindly arrange something to resolve this on priority.

    Regards
    Kunal

  • Hi Kunal,

    MRR80 is processed by the MAX_VEL_ENH_PROCESSING path. If processing path is MAX_VEL_ENH_PROCESSING, then the application uses only one Tx channel. Can you implement the calibration procedure again by using the MRR80 configuration? Previously, calibration is performed using all the 3 Tx channels. Now only 1 Tx channel should be used. Now you get 8(4 real and 4 imaginary) values for compRangeBiasAndRxChanPhase. Convert the values according to the Q15 format and update rxGainPhaseParam_Init function.

    Try this and let me know if it helps.
    Regards,
    Samhitha
  • Hi Samhitha,

    Thank you for the response, We are using MRR120, which uses all the 3 TX channels. I got to understand the process but i am not able to get the CFG file to work with the live visualizer. file generated using https://dev.ti.com/gallery/view/mmwave/mmWaveSensingEstimator/ver/2.3.0/

    sensorStop
    flushCfg
    dfeDataOutputMode 1
    channelCfg 15 7 0
    adcCfg 2 1
    adcbufCfg -1 0 1 1 1
    profileCfg 0 76.01 5 4.8 60 0 0 4 1 256 4652 0 0 30
    chirpCfg 0 127 0 0 0 0 0 7
    chirpCfg 128 255 0 0 0 1300 0 7
    frameCfg 0 2 66 0 40 1 0
    lowPower 0 0
    guiMonitor -1 1 1 0 0 0 1
    cfarCfg -1 0 2 8 4 3 0 15 1
    cfarCfg -1 1 0 4 2 3 1 15 1
    multiObjBeamForming -1 1 0.5
    clutterRemoval -1 0
    calibDcRangeSig -1 0 -5 8 256
    extendedMaxVelocity -1 0
    lvdsStreamCfg -1 0 0 0
    compRangeBiasAndRxChanPhase 0.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
    measureRangeBiasAndRxChanPhase 0 3.0 0.2
    CQRxSatMonitor 0 3 4 31 0
    CQSigImgMonitor 0 65 4
    analogMonitor 0 0
    aoaFovCfg -1 -90 90 -90 90
    cfarFovCfg -1 0 0 49.99
    cfarFovCfg -1 1 -18.28 18.28
    calibData 0 0 0
    sensorStart

    This is the config file i was able to get as per my understanding. But when i run this config file i get "Exception: ./mss/mmw_cli.c, line 274." in the Console.

    If you can get me the cfg file for this application it will also be helpful.

    Regards

    Kunal

  • Hi,

    The SDK mmwave demo does not support enabling 3 TX at the same time.

    Can you please try the following:

    For the 12 calibration values you have collected, can you please average the values for Tx1, TX2, TX3?

    In the data collected, the first 4 values should be for TX1, the next 4 values for TX2 and the next 4 values for TX3

    thank you

    Cesar

  • Thanks Cesar for the response,

    I have implemented these values as you have suggested. The performance also improved. But there is still some misalignment that i am observing. I hope there is a better way to perform calibration on the MRR and get a precise calibration parameters.

    Regards

    Kunal

  • Dear Cesar,

    Any update on this calibration process. I have tried doing some calibration and got to understand that i am not able to get the MRR to align correctly at the center.

    I hope this screenshot helps you understand my issue.

    Here 2 trackers are there at 10 meters. Both of these are of Same corner reflector placed in front of the Unit. The point at center is the USRR and the Point which is slightly right side is MRR.

    I have followed the same process of averaging the calibration values i have received as you have suggested earlier. but worked for the first time, the accuracy was acceptable but its not the case for all. The shift in the above screenshot is not acceptable. and this is also after the 3rd time i have performed the calibration on the same device.

    Kindly provide the resolution at the earliest. we are already behind the timeline and there is still no concrete update on getting the process of getting the MRR calibration parameters.

    Regards
    Kunal

  • Dear TI team,

    Any update on this?

  • Hi Kunal,

    Thanks for your patience.
    We are trying to find an alternative solution. We will get back to you as soon as possible.
    Did you perform calibration for both MRR120 and USRR configuration? Did you update the parameters for both the processing paths (if you are using both of them) in rxGainPhaseParam_Init function?

    Regards,

    Samhitha

  • Hi Kunal,

    If you have a DCA1000 board to capture raw data, then try referring to the following E2E.
    AWR1843: Where are the calibration parameters in automotive lab demo mrr? - Sensors forum - Sensors - TI E2E support forums

    Regards,

    Samhitha

  • Hi Samhitha,
    Thank you for the response. But i have already gone through this thread. My issue is the radar I want to calibrate is on a custom board. It doesn't have any provision to connect DCA 1000 over LVDS port. Thats the reason i am not able to capture raw data.

    I was able to get the parameters for USRR but averaging them and then getting the parameters for MRR and not giving me accurate results.

    Looking forward to your response.

    Regards
    Kunal

  • Hi Kunal,

    Can you try making changes to the code to capture a frame of ADC data on L3 and then take a memory dump in .bin format from the CCS?
    After capturing the ADC data, you can perform the steps listed in the E2E thread.

    AWR1843: Where are the calibration parameters in automotive lab demo mrr? - Sensors forum - Sensors - TI E2E support forums

    Regards,

    Samhitha

  • Hi Samhitha,

    It will be helpful if you can point me to the right function which is processing this value in the MRR. Since the code is quite huge and i am recently assigned to this task and i don't know where in the code this L3 ADC data is being processed.

    Thanks and regards

    Kunal

  • Hi Kunal,

    I noticed that you have to make changes to the code to get the ADC data from MRR demo. In MmwDemo_interChirpProcessing function (in dss_data_path.c), copy obj->adcDataIn to L3 for each chirp. But there are other EDMA transfers to L3 which should be commented out. You can try this at your end. 

    Alternatively, you can use mem_capture example present in the SDK to get a frame of ADC data to be accumulated on L3.
    Path: C:\ti\mmwave_sdk_03_06_00_00-LTS\packages\ti\drivers\test\mem_capture

    Modify the configuration in C:\ti\mmwave_sdk_03_06_00_00-LTS\packages\ti\drivers\test\mem_capture\xwr18xx\mss.c, rebuild the example and run it using CCS.

    More details can be found in the following threads:
    AWR1843BOOST: How to use and understand the mem_capture test provided with the SDK? - Sensors forum - Sensors - TI E2E support forums
    (+) CCS/AWR1642: How to read the raw data collocted by mem_capture porvided in C:\ti\mmwave_sdk_02_01_00_04\packages\ti\drivers\test\mem_capture? - Sensors forum - Sensors - TI E2E support forums

    Regards,

    Samhitha