Cypress技术论坛
直播中

曲芳

7年用户 171经验值
私信 关注
[问答]

原始计数和基线的差异

你好,
对于我们的定制设计板,我们使用CY8C25545 PSOC1设备。这个板有6个SCAPENSE按钮,使用CSD用户模块操作。我们使用桥式控制面板来观察不同的参数。
在我们上电后不久,在没有手指触摸的情况下,基线值与传感器的RAWCOUNT值非常接近。如果出现负尖峰,则基线下降至低值,并逐渐恢复到正常原始计数值。但是经过一段时间后,由于新的负尖峰基线值下降到低计数,并且仍然停留在该水平,但DeCurt值是正的。我附上了RAWCOUNT值和基线的曲线图。
我们已经设定,
负噪声阈值- 10
Low Baseline重置- 50
因此,在这方面很少有问题。
1和基线不返回平均RAWCOUNT值的原因是什么?如何克服这个问题。
此外,在正常操作中,当手指位于传感器上方时,如果负噪声尖峰发生,这会使传感器关闭,因为DeCurt值下降到低值。是否有任何参数设置去抖动效应,对于负向上的RAW计数。
请澄清,
当做,
毗沙尔
基线发布
211.2 K

以上来自于百度翻译


     以下为原文
  Hello,

For our custom design board, we are using CY8C28545 PSoc1 device.  This board have 6 capsense button, operated using CSD user module. We use Bridge Control Panel to observe the different parameters.

Soon after we power ON board, in absence of finger touch, Baseline values are very close to RawCount values of the sensor. If any negative spike occur baseline drop to low value and gradually recover to normal raw count value. But after some time, because of new negative spike   Baseline value drop to low count, and remain stuck at that level though Diffcount values are positive. I have attached graph plot of RawCount values and Baseline.

We have set,
Negative Noise Threshold - 10
Low Baseline Reset - 50


So, few question in this regard as below.

1> What is the reason for Baseline not to returning to average RawCount value ? How to overcome this issue.

2> Also, during normal operation, If negative noise spike occur when finger is present above the sensor, this cause the sensor to turn OFF as Diffcount value drop to low value. Is there any parameter to set Debounce effect, for Rawcounts going on negative side.

Please clarify,


Regards,
Vishal


回帖(1)

李洪洋

2018-11-20 16:39:00
嗨,Vishal,
建议找出根本原因。请仔细检查传感器上的CMOD、RB、串联电阻器的配置,双重检查VDD电压波形和XRE波形是否稳定。
CSD中的DeBung参数用于手指触摸报告,而不是用于负尖峰。
建议禁用传感器AutoRePT,将Low Baseline重置为100, 150, 200,255步,以验证它是否能工作。
此外,您可以手动添加IIR过滤器来过滤尖峰。
最后,建议将您的设计迁移到PSoC4。PSOC4 CAPSENSE更灵活,更容易调整。表演也会更好。
谢谢,
赖安

以上来自于百度翻译


     以下为原文
  Hi Vishal,
 
Suggest to find the root cause. Please double-check Cmod, Rb, Series resistors on sensors are in recommended arrangement, double-check VDD voltage waveform and XRES waveform are stable.
The Debounce parameter in CSD is used for finger touch report, not for negative spike.
Recommend to disable sensor-autoreset, increase Low Baseline Reset to 100, 150, 200, 255 step by step to verify if it can work.
In addition,  you can add IIR filter manually to filter the spike.
At last, recommend to migrate your design to PSoC4. PSoC4 CapSense is more flexible and easier to tune. The performance will be better either.
 
Thanks,
Ryan
举报

更多回帖

发帖
×
20
完善资料,
赚取积分