Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

请提供软件滤波,滤除ADC测量电压值上的干扰信号 #15

Open
phlr5 opened this issue Feb 2, 2016 · 2 comments
Open

请提供软件滤波,滤除ADC测量电压值上的干扰信号 #15

phlr5 opened this issue Feb 2, 2016 · 2 comments

Comments

@phlr5
Copy link

phlr5 commented Feb 2, 2016

我用压力传感器来测量压力,需要测量电池电压,之后通过参考电路求出电流。通过电流我就可以知道通过压力传感器的电流,和电压(AD测量得到),计算出压力传感器的电阻。
但是现在测量的电压值有噪声干扰,呈现高斯白噪声分布。请提供软件滤波

@junfenggeng
Copy link

如果原始信号是个慢速变化的信号,那么可以多采集几次取平均值,ADC天然的有一定的随机性,可以尝试采集8次,16次,32次等等然后平均。

@wxqllt
Copy link

wxqllt commented May 17, 2016

使用adc功能时,buffer数组中buffer[0]是什么值,buffer[1]是采样的值?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants