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: export the data from the radar to a Matlab script

Part Number: AWR1843
Hi Experts,
I am posting this on behalf of the customer.
I have the AWR1843 radar, I would like to be able to work with it in real-time, that is, I have generated a MATLAB file where I process the radar data externally. What I would like to achieve is to send the radar information in real time to Matlab and have it run automatically. That the radar sends infinite chirps continuously and that these are executed in the script. I don't know how to make this connection. 
Thank you in advance for your support.
Best regards,
Jonathan

  • Hi,

    In all the demos available from TI, the raw ADC data is processed on the sensor and only the processed data (x,y,z,velocity) is sent to the Host PC through UART. On the PC this data is visualizes using a GUI (sometimes implemented in matlab.

    There is no demo that processes the raw data on the PC host. One of the reasons for this is that in most chirp configurations we would need a very high speed interface between the sensor and the PC.

    With the DCA1000 capture card we also do not support real time processing on the PC. Only capture on the PC is supported. However with the DCA1000 capture card it is possible to capture a large amount of data and than post process it on the Matlab.

    For example, one could capture 10min of raw data and than post process it.

    Thank you

    Cesar

  • Hi Cesar,

    I'm posting the customer's response below.

    So, there is no way to send the RAW-Data obtained by the radar to my Matlab script automatically in real-time and process it?

    You have a Demo in which these data are processed in real-time. I would like to do the same but have this data processed in my Matlab script. I have seen that in mmWaveStudio there is a ContStream section, what is it used for?

    I would like to be able to find a solution to this problem, in order to be able to process the data and visualize it in real-time.

    Best regards,

    Jonathan

  • Hi,

    Unfortunately there is not support for this use case. You would need to develop a custom solution

    Thank you

    Cesar

    send the RAW-Data obtained by the radar to my Matlab script automatically in real-time and process it?

  • Hi Cesar,

    Since what I was commenting on has no solution, We would like to know how can we take measurements with the radar over a longer period of time. Right now I am capable of sending an integer number of frames, but if I want to send a signal for a couple of minutes, how should we do it? With what option of mmWaveStudio is it done? Is there any guide or information?

    Thank you so much for your support.

    Best regards,

    Jonathan

  • Hi,

    In mmWave Studio one would need to configure the number of frames you would like to capture. This is part of the Frame configuration.

    Please note that if the size of captured data is over 1Gb than the file can't be processed with integrated matlab because there is no guarantee that the 1Gb file capture will be on a frame boundary.

    thank you

    Cesar

  • Hi Cesar,

    Here is the update from the customer.

    Thank you very much for all the help, I would like to comment on one last thing about it just to be sure of the way that I have to face the problem.

    In my case, the objective is to be able to capture around 1min. To be able to do it, I must put by hand the number of Frames that assure me that the sum is 1 min and that's it. I have seen that there is a mode that is called ContStream and that it is used for continuous emission, why shouldn't it be used in this case?
    Thank you so much!

    Best regards,

    Jonathan

  • Hi,

    ContStream is a mode used for emission testing. it does not use regular chirps.

    Please see

    https://e2e.ti.com/support/sensors-group/sensors/f/sensors-forum/635163/awr1243-radar-studio-contstream-option

    Thank you

    Cesar

  • Hi Cesar, 

    Good day. Thank you for your response. We received feedback from your customer. Please see below.

    "I would like to ask one more question if it's possible. I'm currently working with radar AWR1843 as you may know. A few days ago I tried to capture some experimental data and the results were a little bit confusing. The target was moving forward and backward in a straight line, with an angle of approx 0 degrees (just in front of the radar). With virtual data the post-processing works perfectly, but with the data captured with the radar not so much. 
    The question is, the code provided by the Texas Instrument which rearranges the binary files (Mmwave Radar Device ADC Raw Data Capture (Rev. B) (ti.com)) can be used directly to radar AWR1843? May I change some parameters? Because it seems like the reading of the data failed in one of the steps."

    Please help to advise. Thank you for extending your support.

    Kind regards, 

    Marvin 

  • Yes,

    The code provided in section 9.2 will work with AWR1843.

    You need to update numADCSamples.

    Thank you

    Cesar