Level 1
Level 1

How is the baseline computed

Hello,

I need to understand how is the baseline computed, if possible I want to have the exact formula.

1 Solution
Moderator
Moderator

Re: How is the baseline computed

The baseline is the filtered version of the raw count. When the raw count is within "baseline + noise threshold", then the baseline tracks the raw count, else it doesn't i.e., if the current raw count is higher than the baseline by a value greater than the noise threshold, the baseline remains at a constant value equal to the prior baseline value.

When the current raw count drops below "baseline - negative noise threshold", then the baseline remains constant to its previous value for "low baseline reset" number of cycles. If the baseline is still below "baseline - negative noise threshold", then baseline gets reset to the current raw count value.

Regards,
Nikhil

4 Replies
Level 1
Level 1

Re: How is the baseline computed

I am using a CY8C20110 QFN16.

Moderator
Moderator

Re: How is the baseline computed

The baseline is the filtered version of the raw count. When the raw count is within "baseline + noise threshold", then the baseline tracks the raw count, else it doesn't i.e., if the current raw count is higher than the baseline by a value greater than the noise threshold, the baseline remains at a constant value equal to the prior baseline value.

When the current raw count drops below "baseline - negative noise threshold", then the baseline remains constant to its previous value for "low baseline reset" number of cycles. If the baseline is still below "baseline - negative noise threshold", then baseline gets reset to the current raw count value.

Regards,
Nikhil

Level 1
Level 1

Re: How is the baseline computed

Hi Nickhil @ncbs ,

Thank you, I understand that :

- as long as : [baseline - negative noise threshold < raw count < baseline + noise threshold] and the number of raw counts that meets this criteria is above the value defined in baseline update threshold then :

-  new value of baseline = old value of baseline + 1?

- once a value of raw count doesn't meet the criteria above, the buffer baseline update threshold is not incrmented nor reinitialised to 0? it stays constant if  [baseline + noise threshold < raw count < baseline + finger threshold] and it takes the raw count value if the number of [raw counts < baseline - negative threshold] is > low baseline reset?

Am I correct ?

Moderator
Moderator