信号处理 [英] Signal Procesing

查看:101
本文介绍了信号处理的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


我正在寻找建议.我有一个带传感器的鼠标.其中之一是能够计算脉冲的退回信号.总的来说,我从那个传感器上得到的是像
2423
2404
2382
2357
2332
2308
2285
2265
2244
2228
2215
2206
2205
2205

等等.问题是当我拿起传感器的手指时,数字开始从0跳到5000:

2260
2405
2738
3395
4095
4095
4095
4095
4095
4095
4095
4095
4095
4095
4095
4095
4095
4095
4095
4095
4095
4095
3528
1955
1
0
0
0
0
0
1
1
0
53
335
818
1443
2145

您建议采用什么方法来处理此类跳跃并将其更正为接近正常的传入值?

Hi,
I am looking for advice. I have a mouse with sensors. One of them is retreaving signal which anables to calculate pulse. In general what I recive from that sensor are numbers like
2423
2404
2382
2357
2332
2308
2285
2265
2244
2228
2215
2206
2205
2205

and so on. Problem is when I take my finger of sensor, numbers start to jump from 0 to 5000 :

2260
2405
2738
3395
4095
4095
4095
4095
4095
4095
4095
4095
4095
4095
4095
4095
4095
4095
4095
4095
4095
4095
3528
1955
1
0
0
0
0
0
1
1
0
53
335
818
1443
2145

What method you would suggest to handle such jumps and to correct them aproximetly to normal incoming values?

推荐答案

您要执行的操作取决于传感器实际报告的内容:从数字上看,这似乎是连续收缩压或舒张压脉冲之间的某种时间段,带有一个十二位计数器.
如果是这样,那么您可能不得不忽略最大值(4095,十六进制FFF)和最小值,或者使用更复杂的相似性"检查来消除虚假读数.
这将取决于您使用设备的目的-它不是安全关键,因为没有人一直抓着鼠标!
What you do depends on what your sensor is actually reporting: by the look of the numbers it seems to be a time period of some sort between successive Systolic or Diastolic pulses, with a twelve bit counter.
If so, then you may have to disregard maximum (4095, hex FFF) and minimum values, or use a more complex "similarity" check to eliminate the spurious readings.
It is going to depend on what you are using the equipment for - it can''t be safety critical because no-one holds on to the mouse all the time!


这篇关于信号处理的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆