# US 5,432,830 A · High speed counter for alternative up/down counting of pulse trains and method therefor

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

- Number: US 5,432,830 A
- Document ID: US5432830A
- Status: Granted
- Kind: A
- Application number: 08/156,170
- Filed: 1993-11-22
- Granted: 1995-07-11
- Earliest claimed: 1992-11-24
- Assignees: SGS-Thomson Microelectronics S.A.
- Inventors: Jean-Louis Bonnot
- Web page: https://patentgrep.com/patent/US5432830A

## CPC

- H03K 23/62: reversible
- 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

An asynchronous counter includes a plurality of flip-flops, cascade connected to one another, the plurality of flip-flops serially receiving successive pulse trains having varying numbers of pulses per pulse train. Switching circuitry, coupled to the plurality of flip-flops, inverts the state of each flip-flop between a first set of pulse trains and a second set of pulse trains (or first and second consecutive pulse trains) so that the counter computes a difference between the number of pulses in the first set of pulse trains and the number of pulses in the second set of pulse trains (or a difference between the number of pulses of the first pulse train and the number of the second pulse train). Initialization circuitry, coupled to the plurality of flip-flops, initializes all of the flip-flops at each predetermined even number of pulse trains.

## Claims

### Claim 1

An asynchronous counter comprising:
a plurality of flip-flops, connected in cascade to one another, the plurality of flip-flops serially receiving successive pulse trains having varying numbers of pulses per pulse trains;
means, coupled to the plurality of flip-flops, for inverting a state of each flip-flop between first and second consecutive pulse trains so that the counter computes a difference between the number of pulses of the first pulse train and the number of pulses of the second pulse train; and
means, coupled to the plurality of flip-flops, for initializing all of the flip-flops at each predetermined even number of pulse trains.

### Claim 2 (depends on 1)

The counter as claimed in claim 1 wherein each of the flip-flops includes a clock input and an output.

### Claim 3 (depends on 2)

The counter as claimed in claim 2 wherein the means for inverting includes a switch connecting each clock input to an output of a previous flip-flop during an occurence of a pulse train and connecting each clock input to a line providing a switch pulse during each time interval separating two pulse trains.

### Claim 4 (depends on 3)

The counter as claimed in claim 3 wherein each flip-flop includes a set input receiving an initializing pulse after each even number of switch pulses.

### Claim 5 (depends on 4)

The counter as claimed in claim 4 further comprising a latch, coupled to the plurality of flip-flops, the latch being enabled by the initializing pulse, wherein each flip-flop includes an inverted output connected to the latch.

### Claim 6 (depends on 3)

The counter as claimed in claim 3 wherein the means for inverting includes a plurality of switches, wherein the switches are controlled by a switching signal that is active during time invervals separating two pulse trains, and further comprising delay means, coupled to the plurality of flip-flops, for delaying the switching signal from a switch of one flip-flop to a switch of a subsequent flip-flop.

### Claim 7 (depends on 1)

The counter as claimed in claim 1 wherein a number of flip-flops is selected so that a maximum binary absolute value that can be obtained in the counter is higher than twice that of a maximum difference of a number of pulses of two successive pulse trains.

### Claim 8

An asynchronous counter comprising:
a plurality of flip-flops, cascade connected to one another, the plurality of flip-flops serially receiving successive pulse trains having varying numbers of pulses per pulse train;
switching circuitry, coupled to the plurality of flip-flops, inverting the state of each flip-flop between a first set of pulse trains and a second set of pulse trains so that the counter computes a difference between the number of pulses of the first set of pulse trains and the number of pulses of the second set of pulses trains; and
initialization circuitry, coupled to the plurality of flip-flops, initializing all of the flip-flops at each predetermined even number of pulse trains.

### Claim 9 (depends on 8)

The counter of claim 8 wherein each of the flip-flops includes a clock input and an output.

### Claim 10 (depends on 9)

The counter of claim 9 wherein the switching circuitry includes a switch coupling each clock input to an output of a previous flip-flop during an occurence of a pulse train and to a line providing a switch pulse during each time interval separating two pulse trains.

### Claim 11 (depends on 10)

The counter of claim 10 wherein each flip-flop includes a set of inputs receiving an initialization pulse after each even number of switch pulses.

### Claim 12 (depends on 11)

The counter of claim 11 wherein the initialization circuitry provides each initialization pulse to the flip-flops.

### Claim 13 (depends on 12)

The counter of claim 12 further comprising a latch, coupled to the plurality of flip-flops, storing an inverted output of the flip-flops.

### Claim 14 (depends on 13)

The counter of claim 13 wherein each flip-flop includes an inverted output coupling to the latch.

### Claim 15 (depends on 14)

The counter of claim 14 wherein the switching circuitry includes a plurality of switches controlled by a switching signal that is active during time intervals separating two pulse trains.

### Claim 16 (depends on 15)

The counter of claim 15 further comprising delay circuitry, coupled to the plurality of flip-flops, delaying the switching signal from a switch of one flip-flop to a switch of a subsequent flip-flop.

### Claim 17 (depends on 8)

The counter of claim 8 wherein a number of flip-flops is selected so that a maximum binary absolute value that can be obtained in the counter is higher than twice that of a maximum difference of a number of pulses of two successive pulse trains.

### Claim 18

A method for computing a difference between pulses of successive pulse trains comprising the steps of:
serially receiving successive pulse trains having varying number of pulses per pulse train;
providing the pulse trains to a plurality of flip-flops that are cascade-connected to one another;
inverting the state of each flip-flop between two successive pulse trains so that the counter computes a difference in the number of pulses of the successive pulse trains; and
initializing each flip-flop at each predetermined even number of the pulse trains.

### Claim 19 (depends on 18)

A method as claimed in claim 18 further comprising the step of coupling each clock input of a flip-flop to an output of a previous flip-flop during an occurrence of a pulse train and to a line providing a switch pulse during each time interval separating two pulse trains.

### Claim 20 (depends on 19)

A method as claimed in claim 19 further comprising the step of selecting a number of flip-flops so that a maximum binary absolute value counted to is higher than twice that of a maximum difference of a number of pulses of two successive pulse trains.
