IP Library Granted Patent US 8,502,593
Granted Patent B2
US 8,502,593 · App. 11/080,296 · Granted Aug 6, 2013

Balanced debounce circuit with noise filter for digital system

View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 8,502,593
App. No.
11/080,296
Granted
Aug 6, 2013
Kind
B2
Abstract

A circuit and method for debouncing an electrical signal are disclosed. A representative embodiment of the present invention may be set to remove (i.e., filter) noise or glitches in the low and high portions of an input signal, where the width of the noise or glitches while in the high or low state may be set using a programming interface. The filtering is done in a manner that results in a clean, debounced output signal having a low portion approximately equal to the low portion of the input signal, and a high portion approximately equal to the high portion of the input signal. Noise or glitches of less than programmable high or low glitch widths are filtered from the input signal and do not appear in the output signal.

Claims (47)

1. A circuit for debouncing an input signal having at least

a first state and a second state, comprising:

a first counter configured to respond to a clock signal while the input signal is in the first state, and that is maintained at a first reset value while the input signal is in the second state, the first counter producing a first output;

a second counter configured to respond to the clock signal while the input signal is in the second state, and that is maintained at a second reset value while the input signal is in the first state, the second counter producing a second output;

a first comparator configared to produce a third output indicative of whether the first output matches a first predetermined value;

a second comparator configured to produce a fourth output indicative of whether the second output matches a second predetermined value; and

a latch configured to produce a fifth output that is set to the first state when the first output matches the first predetermined value, and that is set to the second state when the second output matches the second predetermined value.

2. The circuit according to claim 1 , further comprising:

a second latch configured to store the third output ; and

a third latch configured to store the fourth output.

3. The circuit according to claim l, further comprising:

a first register configured to store the first predetermined value.

4. The circuit according to claim 3 , further comprising:

a second register configured to store the second predetermined value.

5. The circuit according to claim 1 , further comprising:

a multiplexer configured to select either the input signal or an output of the latch based upon a second input signal.

6. The circuit according to claim l, wherein the first counter and the second counter are further configured to enable counting based upon a second input signal.

7. The circuit according to claim 1 , wherein the first counter and the second counter are further configured to maintain the first and second reset values, respectively, based upon a second input signal.

8. The circuit according to claim 1 , wherein the first counter is an up-counter, and wherein the second counter is a down-counter.

9. The circuit according to claim 1 , wherein the first counter is an up-counter, and wherein the second counter is an up-counter.

10. The circuit according to claim 1 , wherein the first counter is a down-counter, and wherein the second counter is a down-counter.

11. A debouncing circuit for filtering an input signal having at least a first state and a second state, comprising:

a first timing circuit configured to measure a first time period while the input signal is in the first state, to respond to a clock input while the input signal is in the first state, and to maintain a first reset value while the input signal is in the second state;

a second timing circuit configured to measure a second time period while the input signal is in the second state, to respond to the clock input while the input signal is in the second state, and to maintain a second reset value while the input signal is in the first state, and

wherein the debouncing circuit produces, an output signal in response to the clock input, the output signal being set to the first state when the first time period is at least a first predetermined value, and the output signal being set to the second state when the second time period is at least a second predetermined value.

12. The circuit according to claim 11 further comprising:

a multiplexer configured to select either the input signal or the output signal depending upon a state of a second input signal.

13. The circuit according to claim 11 , further comprising:

a first register configured to store the first predetermined value; and

a second register configured to store the second predetermined value.

14. The circuit according to claim 11 , wherein a portion of the circuit is powered down depending upon a state of a second input signal or a third input signal.

15. A method of debouncing an input signal having at least a first state and a second state to produce an output signal, comprising:

measuring a first time period and resetting a second time period, while the input signal is in the first state;

measuring the second time period and resetting the first time period, while the input signal is in the second state;

setting the output signal to the first state when the first time period is at least a first predetermined time period; and

setting the output signal to the second state when the second time period is at least a second predetermined time period.

16. The method according to claim 15 , wherein the measuring the first time period, the measuring the second time period, the setting the output signal to the first state, and the setting the output signal to the second state are based upon a common clock signal.

17. The method according to claim 15 , further comprising:

selecting either the input signal or the output signal depending upon a state of a second input signal.

18. A non-transitory tangible computer-readable medium having instructions stored thereon to debounce an input signal having at least a first state and a second state to produce an output signal, the instructions comprising:

measuring a first time period and resetting a second time period, while the input signal is in the first state;

measuring the second time period and resetting the first time period, while the input signal is in the second state;

setting the output signal to the first state when the first time period is at least a first predetermined time period; and

setting the output signal to the second state when the second time period is at least a second predetermined time period.

19. The non-transitory tangible computer-readable medium according to claim 18 , wherein the instructions for measuring the first time period, measuring the second time period, setting the output signal to the first state, and setting the output signal to the second state are based upon a common clock signal.

20. The non-transitory tangible computer-readable medium according to claim 18 , wherein the instructions further comprise:

selecting either the input signal or the output signal depending upon a state of a second input signal.

Assignments (7)
CORRECTIVE ASSIGNMENT TO CORRECT THE ERROR IN RECORDING THE MERGER IN THE INCORRECT US PATENT NO. 8,876,094 PREVIOUSLY RECORDED ON REEL 047351 FRAME 0384. ASSIGNOR(S) HEREBY CONFIRMS THE MERGER. Recorded Mar 8, 2019
From: AVAGO TECHNOLOGIES GENERAL IP (SINGAPORE) PTE. LTD.
To: AVAGO TECHNOLOGIES INTERNATIONAL SALES PTE. LIMITED
Reel/Frame 049248/0558 →
CORRECTIVE ASSIGNMENT TO CORRECT THE EFFECTIVE DATE OF THE MERGER PREVIOUSLY RECORDED AT REEL: 047230 FRAME: 0910. ASSIGNOR(S) HEREBY CONFIRMS THE MERGER. Recorded Oct 29, 2018
From: AVAGO TECHNOLOGIES GENERAL IP (SINGAPORE) PTE. LTD.
To: AVAGO TECHNOLOGIES INTERNATIONAL SALES PTE. LIMITED
Reel/Frame 047351/0384 →
MERGER Recorded Oct 4, 2018
From: AVAGO TECHNOLOGIES GENERAL IP (SINGAPORE) PTE. LTD.
To: AVAGO TECHNOLOGIES INTERNATIONAL SALES PTE. LIMITED
Reel/Frame 047230/0910 →
TERMINATION AND RELEASE OF SECURITY INTEREST IN PATENTS Recorded Feb 3, 2017
From: BANK OF AMERICA, N.A., AS COLLATERAL AGENT
To: BROADCOM CORPORATION
Reel/Frame 041712/0001 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Feb 1, 2017
From: BROADCOM CORPORATION
To: AVAGO TECHNOLOGIES GENERAL IP (SINGAPORE) PTE. LTD.
Reel/Frame 041706/0001 →
PATENT SECURITY AGREEMENT Recorded Feb 11, 2016
From: BROADCOM CORPORATION
To: BANK OF AMERICA, N.A., AS COLLATERAL AGENT
Reel/Frame 037806/0001 →
REDACTED EMPLOYMENT AGREEMENT (2) Recorded Jun 14, 2006
From: LU, ROBIN; ZHANG, YAN
To: BROADCOM CORPORATION
Reel/Frame 017793/0386 →