Raw Count Drift for CSD

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
jacintal
Level 1
Level 1
10 sign-ins 5 questions asked 5 sign-ins

Hi,

We have been using self-capacitance (CSD) to measure proximity. However, we have observed that the raw count drifts despite the lack of environmental change. Our experimental environment was held at constant temperature and humidity. There was also no movement of any objects over the window of the experiment (5 mins). We tried using both a button widget and a proximity widget for the measurement but we have repeatedly observed a 100-200 drift of the raw count. Are there any settings that could be changed to mitigate this situation?

Thank you for your help!

0 Likes
1 Solution
PandaS
Moderator
Moderator
Moderator
250 replies posted 100 solutions authored 5 likes given

Hi @jacintal ,

Is your issue similar to the following thread:

https://community.infineon.com/t5/PSoC-4/Noise-value-changes-randomly-for-Proximity-Sensing-Applicat...

If yes, please try to follow the steps mentioned in the thread. And let us know the updates.

Thanks and regards

Sobhit

View solution in original post

0 Likes
3 Replies
ncbs
Moderator
Moderator
Moderator
500 replies posted 50 likes received 250 sign-ins

Hi @jacintal,

You are observing a raw count variation without any change in the environment.

There is a feature to avoid this:
In process widget API of CapSense - You will have to Not the Macro(!CY_CAPSENSE_PROCESS_BASELINE) of Baseline Reset and pass it as parameter, it would stop this effect.
Cy_CapSense_ProcessWidgetExt()

https://infineon.github.io/capsense/capsense_api_reference_manual/html/group__group__capsense__low__...

Thanks and Regards
Nikhil

jacintal
Level 1
Level 1
10 sign-ins 5 questions asked 5 sign-ins

Hi Nikhil,

Thank you so much for your reply!

In our case, we set the code as : CapSense_ProcessWidgetExt(CapSense_BUTTON0_WDGT_ID, !0x02), but the noise increased a lot. I am wondering if you have any method to solve this problem. 

0 Likes
PandaS
Moderator
Moderator
Moderator
250 replies posted 100 solutions authored 5 likes given

Hi @jacintal ,

Is your issue similar to the following thread:

https://community.infineon.com/t5/PSoC-4/Noise-value-changes-randomly-for-Proximity-Sensing-Applicat...

If yes, please try to follow the steps mentioned in the thread. And let us know the updates.

Thanks and regards

Sobhit

0 Likes