Electrical Input Debouncing With Adaptive Hysteresis Thresholds
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Existing methods for debouncing electrical signals, particularly in noisy environments, result in long delays due to the need for the signal to remain continuously above or below a limit value for a predefined period, leading to high-frequency toggling and instability near the limit value.
Innovation Solution
A method involving a debounce status variable that adjusts based on the likelihood of the signal being above or below a limit value, allowing changes in the output signal when the signal remains on one side of the limit value for a sufficient period, reducing the influence of high-frequency fluctuations and enabling shorter debouncing delays.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Reliability
If the electrical signal is debounced by requiring continuous presence above or below the limit value for a predefined period, then the output signal stability is improved, but the delay time increases significantly
Solution Approach 1:
The patent applies dynamics by replacing the static fixed threshold comparison with a dynamic hysteresis band that adapts to the limit value. The evaluation range dynamically adjusts based on the hysteresis factor, allowing the system to respond more quickly to genuine signal changes while filtering out noise, thus reducing delay time without sacrificing stability.
Solution Approach 2:
The patent changes the parameter of the evaluation range by introducing a hysteresis factor that modifies the threshold band. Instead of using a fixed limit value, the system uses an adaptive evaluation range that expands or contracts based on the hysteresis factor, enabling faster response to actual signal transitions while maintaining output stability.
2Device complexity
If a fixed threshold comparison is used, then the decision logic is simple, but high-frequency toggling occurs near the limit value
Solution Approach 1:
The patent introduces dynamics by implementing a hysteresis mechanism that creates an adaptive evaluation range around the limit value. This dynamic approach prevents the system from reacting to small fluctuations near the threshold, eliminating high-frequency toggling while maintaining relatively simple decision logic through the use of comparative operations with the hysteresis-adjusted thresholds.
3Speed
If the evaluation range is fixed, then the processing speed is fast, but the system cannot adapt to varying noise levels
Solution Approach 1:
The patent applies parameter changes by making the evaluation range variable through the hysteresis factor. The system maintains fast processing speed by using simple comparative operations, while simultaneously achieving adaptability to varying noise levels through the hysteresis mechanism that adjusts the effective threshold based on signal conditions.
Data Source
AI summary
A method for debouncing an electrical input signal (xin) includes following steps: (1) an input signal (xin) is received and a present value of the input signal (xin) is ascertained; (2) ascertaining whether the present value of the input signal (xin) is above or below at least one predefined limit value (xG); (3) producing a debounce status variable (xE) having a defined initial value; (4) altering the value of the debounce status variable (xE) on the basis of at least whether the value of the input signal (xin) is above or below the at least one limit value (xG), (5) generating an output signal (xout) on the basis of whether the value of the debounce status variable (xE) corresponds to the minimum value (Wmin), to the maximum value (Wmax) or to a value between the minimum value (Wmin) and the maximum value (Wmax).


