# US 2019/0379368 A1 · Digital glitch filter

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2019/0379368 A1
- Document ID: US20190379368A1
- Status: Published application
- Kind: A1
- Application number: 16/237,712
- Filed: 2019-01-01
- Published: 2019-12-12
- Earliest claimed: 2018-06-08
- Assignees: NXP USA, Inc.
- Applicants: NXP USA, Inc.
- Inventors: ZHIXIONG LIN; MINGQIN XIE; YONG ZHU
- Web page: https://patentgrep.com/patent/US20190379368A1

## CPC

- H03K 5/1252: Suppression or limitation of noise or interference (specially adapted for transmission systems H04B15/00, H04L25/08)
- H03K 5/135: by the use of time reference signals, e.g. clock signals
- H03K: PULSE TECHNIQUE (measuring pulse characteristics G01R; modulating sinusoidal oscillations with pulses H03C; transmission of digital information H04L; discriminator circuits detecting phase difference between two signals by counting or integrating cycles of oscillation H03D3/04; automatic control, starting, synchronisation or stabilisation of generators of electronic oscillations or pulses where the type of generator is irrelevant or unspecified H03L; coding, decoding or code conversion, in general H03M)

## Abstract

A digital glitch filter for filtering glitches in an input signal includes a first flip-flop for generating a filtered output signal, and a self-oscillating circuit for generating a self-oscillating clock signal. A first logic gate enables the self-oscillating circuit when the filtered output signal is not equal to the input signal. A ripple counter generates a divided clock signal by dividing the self-oscillating clock signal. A counter and comparator counts the divided clock signal to obtain a count number and compares the count number with a predetermined count target. A second flip-flop, which is connected to the counter and comparator, generates a valid signal, which is activate when the count number reaches the count target. The valid signal is input to the first flip-flop such that the filtered output signal toggles when the valid signal is active.

## Claims

### Claim 1

A digital glitch filter for filtering glitches in an input signal, comprising:
a first flip-flop for generating a filtered output signal;
a self-oscillating circuit for generating a self-oscillating clock signal when the filtered output signal is not equal to the input signal;
a first logic gate for enabling the self-oscillating circuit when the filtered output signal is not equal to the input signal, and disabling the self-oscillating circuit when the filtered output signal is equal to the input signal;
a ripple counter, connected to the self-oscillating circuit, for generating a divided clock signal by dividing the self-oscillating clock signal;
a counter and comparator connected to the ripple counter for counting the divided clock signal to obtain a count number and comparing the count number with a predetermined count target; and
a second flip-flop connected to the counter and comparator for generating a valid signal, wherein the valid signal is activated when the count number reaches the count target, and
wherein the valid signal is input to the first flip-flop such that the filtered output signal toggles when the valid signal is activated.

### Claim 2 (depends on 1)

The digital glitch filter of claim 1, wherein the self-oscillating circuit includes a delay cell for generating the self-oscillating clock signal.

### Claim 3 (depends on 2)

The glitch filter of claim 2, wherein the delay cell has a configurable length.

### Claim 4 (depends on 2)

The digital glitch filter of claim 2, wherein the self-oscillating circuit further includes an AND gate connected between the first logic gate and the delay cell.

### Claim 5 (depends on 4)

The digital glitch filter of claim 4, wherein the self-oscillating circuit includes a feedback path, wherein the self-oscillating clock signal is inverted and fed-back to an input terminal of the AND gate, and the output of the first logic gate is provided to another input terminal of the AND gate.

### Claim 6 (depends on 1)

The digital glitch filter of claim 1, wherein the ripple counter is configured to divide the self-oscillating clock signal by 2N.

### Claim 7 (depends on 1)

The digital glitch filter of claim 1, wherein:
the divided clock signal is provided to a clock input terminal of the second flip-flop,
the output of the counter and comparator is provided to a data input terminal of the second flip-flop,
the output of the first logic gate is provided to a reset terminal of the second flip-flop, and
the self-oscillating clock signal is provided to the clock input terminal of the first flip-flop.

### Claim 8 (depends on 1)

The digital glitch filter of claim 1, further comprising a second logic gate connected between the second and first flip-flops, wherein an output of the second logic gate is provided to a data input terminal of the first flip-flop.

### Claim 9 (depends on 8)

The digital glitch filter of claim 8, wherein the filtered output signal generated by the first flip-flop and the valid signal generated by the second flip-flop are provided to the input terminals of the second logic gate.

### Claim 10 (depends on 9)

The digital glitch filter of claim 9, wherein the second logic gate is a XOR gate.

### Claim 11 (depends on 1)

The digital glitch filter of claim 1, wherein the first logic gate is a XOR gate.

### Claim 12

A digital glitch filter for filtering glitches in an input signal, comprising:
a first flip-flop for generating a filtered output signal;
a self-oscillating circuit for generating a self-oscillating clock signal;
a first logic gate for enabling the self-oscillating circuit when the filtered output signal is not equal to the input signal, and disabling the self-oscillating circuit when the filtered output signal is equal to the input signal;
a counter and comparator for counting pulses of the self-oscillating clock signal for a predetermined time to obtain a count value and comparing the count value with a predetermined count target;
a second flip-flop connected to the counter and comparator for generating a valid signal, wherein the valid signal is activated when the count value equals the count target; and
a second logic gate having an output connected to a data input of the first flip-flop, a first input that receives the valid signal, and a second input that receives the filtered output signal, such that the filtered output signal is toggled when the valid signal is active.

### Claim 13 (depends on 12)

The digital glitch filter of claim 12, wherein the self-oscillating clock signal is used to clock the first and second flip-flops.
