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.

[参考译文] IWR6843AOP:跌倒检测算法回顾

Guru**** 2455360 points
Other Parts Discussed in Thread: IWR6843AOP

请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/sensors-group/sensors/f/sensors-forum/1509308/iwr6843aop-fall-detection-algorithm-review

器件型号:IWR6843AOP

工具/软件:

大家好、我正在将跌倒检测算法直接集成到 IWR6843AOP MSS 工程中。 我已经查看了fall_detection.py源代码并将其转换为如下所示的 C 实现。 下面列出了我的查询:

1.请查看下面的代码并分享您的反馈?

2.是否需要将雷达的其他参数(如垂直速度)包含在故障检测逻辑中?

3、设备的每次安装都需要校准吗? 还是在配置文件本身中进行处理?

#define FALL_THRESHOLD_SCALING 0.6f
#define FALL_HISTORY_seconds 2.5f
第50章
第64章,我是你的女人
#define HEIGHY_HISTORY_SIZE ((int)(FALL_HISTORY_seconds * 1000/FRAME_PERIOD_MS))

typedef 结构{
Float heightHistory[height_history_size];
uint16_t historyIndex;
bool fallDetected;
} TrackerFallInfo;

TrackerFallInfo* runFallDetection (Pcount3DDemo_MSS_MCB* gMmwMssMCB)

tracker Proc_Target DescrHandle* targetDescr =&gMmwMssMCB->tracker 输出;
Bool Current = targetDescr->currentDescr;

tracker Proc_Target * TList = targetDescr->TList[当前];
tracker Proc_Target Index* tIndex= targetDescr->tIndex[当前];

对于(uint8_t i = 0;i < gMmwMssMCB->numTargets;i++){
uint8_t idx = tIndex[i];
tracker Proc_Target * t =&TList[idx];
uint32_t id = t->tid;

if (id >= MAX_TRACKed_objects)
继续;

TrackerFallInfo* info =&trackerFallInfos[id];
float* buffer = info->heightHistory;
uint16_t hidx = info->historyIndex;

浮点数当前高度= t->posZ;
//float velocityZ = t->velZ;

Buffer[hidx]= currentHeight;
info->historyIndex =(hidx + 1)% height_history_size;
float oldestHeight = buffer[info->historyIndex];

Bool SuddenDrop =(oldestHeight > 0.0f)&&
(currentHeight <(fall_threshold_register * oldestHeight));

info->fallDetected = SuddHrop;
}

返回 trackerFallInfos;
}

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
    [引述 userid="653073" url="~/support/sensors-group/sensors/f/sensors-forum/1509308/iwr6843aop-fall-detection-algorithm-review

    1.请查看下面的代码并分享您的反馈?

    [/报价]

    我们不提供 E2E 上的代码审核功能。 您可以将片上结果与片外结果进行比较、以确保输出相同?

    [引述 userid="653073" url="~/support/sensors-group/sensors/f/sensors-forum/1509308/iwr6843aop-fall-detection-algorithm-review

    2.是否需要将雷达的其他参数(如垂直速度)包含在故障检测逻辑中?

    [/报价]

    雷达无法测量垂直速度、只能测量朝向/远离雷达的速度。

    [引述 userid="653073" url="~/support/sensors-group/sensors/f/sensors-forum/1509308/iwr6843aop-fall-detection-algorithm-review

    3、设备的每次安装都需要校准吗? 还是在配置文件本身中进行处理?

    [/报价]

    请参阅该指南。

    https://www.ti.com/lit/an/spracf4c/spracf4c.pdf

    此致、

    Nate