5690 views|9 replies

74

Posts

0

Resources
The OP
 

【TI mmWave Radar Review】Human Body Position Detection [Copy link]

 

IWR1443BOOST unboxing test: https://en.eeworld.com/bbs/thread-1101610-1-1.html

SDK and example download: https://en.eeworld.com/bbs/thread-1102315-1-1.html

XWR14XX data path: https://en.eeworld.com/bbs/forum.php?mod=post&action=newthread&fid=154

IWR1443 BOOST CLI command: https://en.eeworld.com/bbs/thread-1104699-1-1.html

1. mmWave test results

The data processing of the out_of_box_demo routine is placed in the void MmwDemo_dataPathTask(UArg arg0, UArg arg1) function. It includes 1D FFT data processing, 2D FFT data processing, distance deviation measurement, CFAR processing, angle estimation, data output through DAT_port, etc. After the data is processed, it will be stored in the MmwDemo_DataPathObj (structure location C:\ti\mmwave_sdk_02_01_00_04\packages\ti\demo\xwr14xx\mmw) structure, and we can find the required data in the structure for processing.

2. Human body position information

Create a new human position information structure to store the number and coordinates of human bodies within the detection range.

#define MY_MAX_OBJ_OUT 100
/*Used to store the coordinates of the detected human body*/
typedef struct my_detectedObj_t
{
int32_t x; /*Unit: millimeter*/
int32_t y; /*Unit: millimeter*/
} my_detectedObj;

typedef struct My_DataPathObj_t
{
/*Number of human bodies detected*/
uint32_t my_numObjOut;

/*Output human body position array*/
my_detectedObj objOut[MY_MAX_OBJ_OUT];
} My_DataPathObj;

3. Human body position detection

In the main.c file, add a custom header file

Structure initialization

Define print information cache

Create a new information processing function

Among them, the int32_t My_DataProcess(MmwDemo_DataPathObj *obj) function is used to obtain the number and position information of human bodies through the algorithm of the data of the structure MmwDemo_DataPathObj in the SDK. The source function is not reflected here. When a human body is detected within the detection range, it returns 0, otherwise it returns other values.

In the void MmwDemo_dataPathTask(UArg arg0, UArg arg1) function, comment out the original data sending function MmwDemo_transmitProcessedOutput(gMmwMCB.loggingUartHandle,dataPathObj);, and add the custom function My_transmitProcessedOutput(gCLI.cfg.cliUartHandle,dataPathObj);

Since the original data transmission function is output through the DATA_port serial port, after commenting it out, DATA_port will not output data. The newly added data transmission function is output through the CFG_port serial port.

Recompile the project and burn the program in. You can view the detection information through the serial port debugging assistant.

At this point, mmwave can be used to track the human body's position trajectory, and the external MCU can perform relevant processing through the information received through the serial port.

image.png (9.84 KB, downloads: 0)

image.png

image.png (11.12 KB, downloads: 0)

image.png
This post is from TI Technology Forum

Latest reply

Hello, can you provide the source function of My_DataProcess?   Details Published on 2020-10-9 21:27

赞赏

1

查看全部赞赏

 

2w

Posts

341

Resources
2
 

Millimeter wave mmwave to track human position trajectory

Thanks for sharing

This post is from TI Technology Forum
 
 
 

2618

Posts

0

Resources
3
 

It’s so magical that it can detect the position of the human body. What if an animal approaches? There won’t be any mistakes.

This post is from TI Technology Forum

Comments

This can only be achieved by algorithms. I have seen an online training from TI that introduces how to distinguish between human bodies and plants.  Details Published on 2019-12-27 10:22
 
 
 

74

Posts

0

Resources
4
 
alan000345 published on 2019-12-27 09:00 It is so amazing that it can detect the position of human body. If there is any animal approaching, it will not make mistakes.
This can only be achieved by algorithms. I have seen an online training of TI, which introduces the distinction between human body and plants.
This post is from TI Technology Forum

Comments

So, ti is still quite powerful.  Details Published on 2019-12-30 09:10
 
 
 

2618

Posts

0

Resources
5
 
a736015 Published on 2019-12-27 10:22 This can only be achieved by algorithms. I have seen an online training by TI that introduces the distinction between human body and plants.

So, ti is still quite powerful.

This post is from TI Technology Forum
 
 
 

2

Posts

0

Resources
6
 

Is this an evaluation initiated by TI training? How can I participate in this evaluation?

This post is from TI Technology Forum
 
 
 

17

Posts

0

Resources
7
 

I don't want to use mmwave visualizer to send commands. How can I use matlab to send commands and use the serial port assistant to get data? Can you provide a post? Thank you

This post is from TI Technology Forum
 
 
 

17

Posts

0

Resources
8
 

I'm new here, I really don't understand, I really need help, paid, add Q1142291205

This post is from TI Technology Forum
 
 
 

9

Posts

0

Resources
9
 

I would like to ask, these functions should be in the original files of TI, right? Do I need to write them myself? Also, what data is obtained by the serial port? What is the use of obtaining this data? And how to output the classification results after processing this data outside (such as python classification)?

This post is from TI Technology Forum
 
 
 

1

Posts

0

Resources
10
 

Hello, can you provide the source function of My_DataProcess?

This post is from TI Technology Forum
 
 
 

Guess Your Favourite
Just looking around
Find a datasheet?

EEWorld Datasheet Technical Support

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
circle

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京B2-20211791 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号
快速回复 返回顶部 Return list