Hi,
I have a project successfully running with a MKE17Z. I have several electrodes configured for two TSI modules. Some of them are working together as sliders while others are simple buttons grouped in a keypad.
Under "normal" conditions everything works just fine, but in some specific circumstances I am experiencing an issue on a button used to increase a timer value ('+' button). Each button press increases the timer value in 1 unit and if the button is kept pressed, the timer increases faster up to a certain level.
When the user presses this button many times continuously (Imagine the user wants to go from 0 to 45 minutes), the noise increases quite fast and therefore the deadband is updated accordingly. This evolution of the noise is rising the deadband really close to the signal so the button press is suddenly not detected.
The point is that once we reach this situation, and even if the user stops pressing this button, the noise decreases very very slowly and the button press is not detected for a long time.
My questions are:
1. Why are these continuous button presses rising the noise level when all of them are above the deadband by quite a wide margin?
2. Why the noise level rises quite fast while it then falls slowly?
3. Is there any specific parameter I can adjust to avoid/improve this situation?
The current configuration for this electrode is:
truct nt_keydetector_usafa nt_keydetector_usafa_El_11 = {
.signal_filter.coef1 = 2,
.base_avrg.n2_order = 12,
.non_activity_avrg.n2_order = 15,
.entry_event_cnt = 7,
.deadband_cnt = 2,
.signal_to_noise_ratio = 3,
.min_noise_limit = 250,
.dc_track_enabled = 1,
.dc_track_cnt = 200,
};
The screenshot attached shows this situation. You can see the noise rising with the button presses and suddenly the margin of the signal over the deadband is not enough.