# US 10,483,953 B2 · Ring oscillator-based timer

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

- Number: US 10,483,953 B2
- Document ID: US10483953B2
- Status: Granted
- Kind: B2
- Application number: 15/891,032
- Filed: 2018-02-07
- Published: 2019-08-08
- Granted: 2019-11-19
- Earliest claimed: 2018-02-07
- Assignees: Texas Instruments Incorporated
- Applicants: Texas Instruments Incorporated
- Inventors: George Reitsma
- Web page: https://patentgrep.com/patent/US10483953B2

## CPC

- H03K 5/135: by the use of time reference signals, e.g. clock signals
- H03K 3/0315: {Ring oscillators}
- H03L 7/099: concerning mainly the controlled oscillator of the loop
- H03L 7/0997: {Controlling the number of delay elements connected in series in the ring oscillator}
- H03L 7/18: using a frequency divider or counter in the loop (H03L7/20, H03L7/22 take precedence)
- H03L 7/23: with pulse counters or frequency dividers
- 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)
- H03L: AUTOMATIC CONTROL, STARTING, SYNCHRONISATION OR STABILISATION OF GENERATORS OF ELECTRONIC OSCILLATIONS OR PULSES (generation of oscillations H03B)

## Abstract

A circuit includes a ring oscillator and a state capture register to receive a multi-bit state of the ring oscillator captured upon occurrence of an edge of input periodic signal. The circuit also includes an edge-phase detector to assert an edge detect high signal in response to a first reference clock derived from the ring oscillator being high upon occurrence of the edge of the input periodic signal and to assert an edge detect low signal in response to the first reference clock derived from the ring oscillator being low upon occurrence of the edge of the input periodic signal. A first register receives data from the state capture register upon occurrence of one of a rising or falling edge of a second clock derived from the ring oscillator.

## Claims

### Claim 1

A circuit, comprising:
a ring oscillator;
a state capture register, coupled to the ring oscillator, to capture a state of the ring oscillator upon occurrence of an edge of an input periodic signal;
an edge-phase detector to assert an edge detect high signal in response to a first reference clock derived from the ring oscillator being high upon occurrence of the edge of the input periodic signal and to assert an edge detect low signal in response to the first reference clock derived from the ring oscillator being low upon occurrence of the edge of the input periodic signal; and
a first register to receive data from the state capture register upon occurrence of one of a rising or falling edge of a second clock derived from the ring oscillator;
further comprising:
a first state encoder, coupled to the first register, to read data from the first register, invert even numbered bits of the data read from the first register, and pad the data read from the first register, with the even numbered bits inverted, with a plurality of logic ‘1’s;
a second register to receive data from the state capture register upon occurrence of the other of the rising or falling edge of the second clock; and
a second state encoder, coupled to the second register, to read data from the second register, invert odd numbered bits of the data read from the second register, and pad the data read from the second register, with the odd numbered bits inverted, with a plurality of logic ‘0’s.

### Claim 2 (depends on 1)

The circuit of claim 1, further comprising a selection circuit to select an output of the first state encoder or an output of the second state encoder.

### Claim 3 (depends on 2)

The circuit of claim 2, further comprising validate detected edge circuit to generate a control signal for the selection circuit to select outputs of the first or second state encoders based on:
a state of the least significant bit from at least one of the first or second registers;
the edge detect high signal; and
the edge detect low signal.

### Claim 4

A circuit, comprising:
a ring oscillator;
a state capture register, coupled to the ring oscillator, to capture a state of the ring oscillator upon occurrence of an edge of an input periodic signal;
an edge-phase detector to assert an edge detect high signal in response to a first reference clock derived from the ring oscillator being high upon occurrence of the edge of the input periodic signal and to assert an edge detect low signal in response to the first reference clock derived from the ring oscillator being low upon occurrence of the edge of the input periodic signal; and
a first register to receive data from the state capture register upon occurrence of one of a rising or falling edge of a second clock derived from the ring oscillator;
wherein the ring oscillator comprises a plurality of delay elements, and the circuit further comprises;
a first logic gate including first and second inputs and a first output, wherein the first input is coupled to an output of a first delay element and the second input is coupled to an output of a second delay element; and
a second logic gate including third and fourth inputs and a second output, wherein the third input is coupled to an output of a third delay element and the fourth input is coupled to an output of a fourth delay element;
wherein the edge-phase detector comprises:
a first flip flop including a first flip flop data input and a first clock input, wherein the first flip flop data input is coupled to the first output of the first logic gate and the first clock input is to receive the input periodic signal; and
a second flip flop including a second flip flop data input and a second clock input, wherein the second flip flop data input is coupled to the second output of the second logic gate and the second clock input is to receive the input periodic signal.

### Claim 5

A circuit, comprising:
a ring oscillator;
a register to receive a multi-bit state of the ring oscillator captured upon occurrence of an edge of an input periodic signal; and
a state encoder to read the multi-bit state from the register, invert some, but not all, of the bits of the state to produce a modified bit value, and concatenate a plurality of logic ‘0’s or ‘1’3 to the modified bit value;
wherein the register is a first register and the state encode is a first state encoder,
wherein, upon occurrence of one of a rising or falling edge of a second clock derived from the ring oscillator, the first register is to receive the multi-bit state of the ring oscillator;
wherein the first state encoder is to read the multi-bit state from the first register, invert even numbered bits of the multi-bit state read from the first register, and pad the multi-bit state read from the first register, with the even numbered bits inverted, with a plurality of logic ‘1’s;
wherein the circuit further includes a second register to receive the multi-bit state from the state capture register upon occurrence of the other of the rising or falling edge of the second clock; and
wherein the circuit further includes a second state encoder to read the multi-bit state from the second register, invert odd numbered bits of the multi-bit state read from the second register, and pad the multi-bit state read from the second register, with the odd numbered bits inverted, with a plurality of logic ‘0’s.

### Claim 6 (depends on 5)

The circuit of claim 5, further comprising a selection circuit to select an output of the first state encoder or an output of the second state encoder.

### Claim 7 (depends on 6)

The circuit of claim 6, further comprising a validate detected edge circuit to generate a control signal for the selection circuit to select outputs of the first or second state encoders based on a state of a least significant bit from at least one of the first or second registers.

### Claim 8 (depends on 6)

The circuit of claim 6, further comprising a validate detected edge circuit to generate a control signal for the selection circuit to select outputs of the first or second state encoders based on:
a state of a least significant bit from at least one of the first or second registers;
a signal indicative of whether the second clock is high upon occurrence of the edge of the input periodic signal; and
a signal indicative of whether the second clock is low upon occurrence of the edge of the input periodic signal.

### Claim 9

A circuit, comprising:
a ring oscillator;
a state capture register, coupled to the ring oscillator, to capture a state of the ring oscillator upon occurrence of an edge of an input periodic signal;
a first register to receive the captured state from the state capture register upon occurrence of one of a rising or falling edge of a first clock derived from the ring oscillator;
a first state encoder, coupled to the first register, to read data from the first register, invert even numbered bits of the data read from the first register, and pad the data read from the first register, with the even numbered bits inverted, with a plurality of digital ‘1’s;
a second register to receive the captured state from the state capture register upon occurrence of the other of the rising or falling edge of the first clock;
a second state encoder, coupled to the second register, to read data from the second register, invert odd numbered bits of the data read from the second register, and pad the data read from the second register, with the odd numbered bits inverted, with a plurality of logic ‘0’s; and
a selection circuit to select an output of the first state encoder or the second state encoder.

### Claim 10 (depends on 9)

The circuit of claim 9, further comprising an edge-phase detector to assert an edge detect high signal in response to a second reference clock derived from the ring oscillator being high upon occurrence of the edge of the input periodic signal and to assert an edge detect low signal in response to the second reference clock derived from the ring oscillator being low upon occurrence of the edge of the input periodic signal, and wherein the first register includes an enable input that is coupled to receive the edge detect high signal and the second register includes an enable input that is coupled to receive the edge detect low signal.

### Claim 11 (depends on 10)

The circuit of claim 10, wherein:
the ring oscillator includes a serially coupled plurality of delay elements;
the first clock is an output of one of the delay elements; and
the second clock is an output of another one of the delay elements.

### Claim 12 (depends on 10)

The circuit of claim 10, further comprising a validate detected edge circuit to generate a control signal for the selection circuit based on signals indicative of the edge detect high signal, the edge detect low signal, and a least significant bit of data from at least one of the first and second registers.

### Claim 13 (depends on 10)

The circuit of claim 10, wherein the ring oscillator includes a plurality of delay elements and the edge-phase detector includes:
a first logic gate including first and second inputs and a first output, wherein the first input is coupled to an output of a first delay element of the ring oscillator and the second input is coupled to an output of a second delay element of the ring oscillator; and
a first flip flop including a first flip flop data input and a first clock input, wherein the first flip flop data input is coupled to the first output of the first logic gate and the first clock input is to receive the input periodic signal.

### Claim 14 (depends on 13)

The circuit of claim 13, wherein the edge-phase detector further includes:
a second flip flop including a second flip flop data input and a second clock input, wherein the second flip flop data input is coupled to the second output of the second logic gate and the second clock input is to receive the input periodic signal; and
a second logic gate including third and fourth inputs and a second output, wherein the third input is coupled to an output of a third delay element of the ring oscillator and the fourth input is coupled to an output of a fourth delay element of the ring oscillator.
