TI中文支持网
TI专业的中文技术问题搜集分享网站

TMS320F2808: IIR32滤波器使用办法

Part Number:TMS320F2808

文档中IIR滤波器输入使用Q32定标格式,输出则使用Q30定标格式,假设我输出是一个为500的int,那么我得到的输出应该右移多少位才能得到我原来的数

Green Deng:

Q格式的计算可以参考一下这个帖子:https://e2echina.ti.com/support/microcontrollers/c2000/f/c2000-microcontrollers-forum/84305/f28335-q/213524?tisearch=e2e-sitesearch&keymatch=%22Q%E6%A0%BC%E5%BC%8F%22%26%22%E5%AE%9E%E9%99%85%E5%80%BC%22#213524

,

xiao liu:

那请问我IIR滤波器输出的值时候已经进行Q30定标了呢

,

Green Deng:

嗯?什么意思?你是要Q30转换为实际值还是实际值转换为Q30?

,

xiao liu:

您好,感谢您的耐心解答,我是想知道,他这个输出是否进行Q30定标后输出的

,

Green Deng:

你好,你的两个问题我都有升级至英文E2E论坛咨询,但是一直都没收到回复,还请耐心等待一下

,

Green Deng:

你好,英文论坛回复:If you are using the library filter method, the output format is fixed. However in this code, it looks like you are implementing the filter yourself. 

赞(0)
未经允许不得转载:TI中文支持网 » TMS320F2808: IIR32滤波器使用办法
分享到: 更多 (0)