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.

[参考译文] MSP430FR6047:有关 USS_userConfig.h 滤波器系数的问题

Guru**** 2526700 points


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

https://e2e.ti.com/support/microcontrollers/msp-low-power-microcontrollers-group/msp430/f/msp-low-power-microcontroller-forum/1565339/msp430fr6047-question-about-uss_userconfig-h-filter-coefficients

器件型号:MSP430FR6047


工具/软件:

您好:

我正在使用 USS(超声波传感系统)库、并对中定义的滤波器系数有疑问USS_userConfig.h

我看到USS_SW_LIB_APP_FILTER_COEFFICIENTSUSS_SW_LIB_APP_HILB_FILTER_COEFFICIENTS已定义。

我的问题是:这些滤波器系数在什么时候会影响采样结果?

我使用以下代码监视采样结果,该代码在之后立即运行USS_startLowPowerUltrasonicCapture(&gUssSWConfig);:

int16_t* pUPSCap16 = (int16_t*)(USS_getUPSPtr(&gUssSWConfig));

USS_getUPSPtr()函数获取的数据是否已经应用了这些筛选器?

感谢你的帮助。

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

    您好、

    过滤器函数(使用)USS_SW_LIB_APP_FILTER_COEFFICIENTS 是在  USS_runAlgorithmsFixedPoint() 函数中实现的。  

    希尔伯特滤波器在燃气表应用中用于计算 absToF 结果。 不用于水表应用。  

    此致、

    现金好