# US 2010/0164638 A1 · Method and circuit for cancelling out comparator-delay in the relaxation oscillator

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

- Number: US 2010/0164638 A1
- Document ID: US20100164638A1
- Status: Published application
- Kind: A1
- Application number: 12/627,826
- Filed: 2009-11-30
- Published: 2010-07-01
- Earliest claimed: 2008-12-31
- Assignees: STMicroelectronics S.r.l.
- Inventors: Sooping Saw
- Web page: https://patentgrep.com/patent/US20100164638A1

## CPC

- H03K 3/0231: Astable circuits {(H03K3/0315 takes precedence)}
- 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 relaxation oscillator includes a capacitor connected to a comparator input, current sources switched to supply power to the capacitor based on an output of the comparator, and a duplicate integrator shifting a voltage on the capacitor to offset a propagation delay through the comparator. The duplicate integrator includes current sources and a capacitor matching and switched in tandem with those within the relaxation oscillator, plus an additional current source, and is selectively switched into connection with the comparator input. By canceling the comparator propagation delay, the oscillator output frequency can be stably controlled through selection of resistive and capacitive values, using cheaper technology and tolerating large temperature, voltage and process variations.

## Claims

### Claim 1

A relaxation oscillator with comparator propagation delay compensation, comprising:
a first capacitor coupled between a first node and a ground voltage;
a comparator having a first input coupled to the first node, wherein, during operation, transitions in an output signal of the comparator are delayed relative to transitions in the signal on the first node by a comparator propagation delay;
a first plurality of current sources configured to selectively supply power to the capacitor, the current sources switched based on an output of the comparator; and
logic and a propagation delay integrator configured to generate a compensation voltage proportional to the comparator propagation delay and to shift a voltage on the capacitor by the compensation voltage.

### Claim 2 (depends on 1)

The relaxation oscillator of claim 1, wherein the propagation delay integrator further comprises:
a second capacitor coupled between a voltage accumulation node and the ground voltage, the second capacitor accumulating the compensation voltage during a period based on the comparator propagation delay;
a second plurality of current sources configured to selectively supply power to the propagation delay integrator capacitor, the second current sources switched based on an output of the comparator; and
an additional current source configured to selectively supply power to the propagation delay integrator capacitor, the additional current source switched based upon the comparator propagation delay,
wherein the voltage accumulation node is configured to be selectively coupled to the first node to shift the voltage on the capacitor by the compensation voltage.

### Claim 3 (depends on 2)

The relaxation oscillator of claim 2, wherein the voltage accumulation node is configured to be switched into connection with the first node based upon the comparator propagation delay.

### Claim 4 (depends on 1)

The relaxation oscillator of claim 1, wherein the logic generates pulses based on the comparator propagation delay.

### Claim 5 (depends on 1)

The relaxation oscillator of claim 1, wherein a second input of the comparator is configured to be switched between high and low reference voltages based on an output of the comparator, wherein switching of the second input is delayed relative to switching of the current sources.

### Claim 6 (depends on 5)

The relaxation oscillator of claim 5, wherein the logic delays switching of the second input relative to switching of the current sources by a duration based on the comparator propagation delay.

### Claim 7 (depends on 1)

An integrated circuit device including the relaxation oscillator of claim 1, the integrated circuit device further comprising:
processing circuitry; and
a connection between the processing circuitry and the relaxation oscillator,
wherein the processing circuitry is configured to process data based on an output of the relaxation oscillator.

### Claim 8

A method of compensating for comparator propagation delay within a relaxation oscillator, comprising:
selectively charging and discharging a first capacitor coupled between a first node and a ground voltage;
receiving a voltage across the first capacitor at a first input of a comparator, the first input coupled to the first node, wherein, during operation, transitions in an output signal of the comparator are delayed relative to transitions in the signal on the first node by a comparator propagation delay;
selectively supply power to the capacitor using a first plurality of current sources, the current sources switched based on an output of the comparator;
generating a compensation voltage proportional to the comparator propagation delay using a propagation delay integrator; and
shifting a voltage on the capacitor by the compensation voltage.

### Claim 9 (depends on 8)

The method of claim 8, wherein the propagation delay integrator further comprises:
accumulating the compensation voltage on a second capacitor coupled between a voltage accumulation node and the ground voltage, the compensation voltage accumulated during a period based on the comparator propagation delay;
selectively supplying power to the propagation delay integrator capacitor from a second plurality of current sources, the second current sources switched based on an output of the comparator; and
selectively supplying power to the propagation delay integrator capacitor from an additional current source, the additional current source switched based upon the comparator propagation delay,
wherein the voltage accumulation node is configured to be selectively coupled to the first node to shift the voltage on the capacitor by the compensation voltage.

### Claim 10 (depends on 9)

The method of claim 9, wherein the voltage accumulation node is configured to be switched into connection with the first node based upon the comparator propagation delay.

### Claim 11 (depends on 9)

The method of claim 9, further comprising:
generating pulses based on the comparator propagation delay.

### Claim 12 (depends on 9)

The method of claim 9, wherein a second input of the comparator is configured to be switched between high and low reference voltages based on an output of the comparator, wherein switching of the second input is delayed relative to switching of the current sources.

### Claim 13 (depends on 12)

The method of claim 12, wherein the logic delays switching of the second input relative to switching of the current sources by a duration based on the comparator propagation delay.

### Claim 14 (depends on 9)

The method of claim 9, further comprising:
processing data based on an output of the relaxation oscillator.

### Claim 15

A relaxation oscillator with comparator propagation delay compensation, comprising:
a first capacitor coupled between a first node and a ground voltage;
a comparator having a first input coupled to the first node, wherein,
a first switch selectively connecting a first current source to the first node;
a second switch selectively connecting a second current source to the first node;
a second comparator coupled between a second node and the ground voltage;
a third switch selectively connecting a third current source to the first node;
a fourth switch selectively connecting a fourth current source to the first node;
a fifth switch selectively connecting a fifth current source to the first node; and
a sixth switch selectively connecting the second node to the first node, wherein closing the sixth switch results in a voltage shift at the first node,
wherein the first, second, fourth and fifth switches are switched in tandem based on transitions in an output of the comparator, and
wherein third and sixth switches are switched in tandem based on a propagation delay through the comparator, wherein the voltage shift compensates for the propagation delay.

### Claim 16 (depends on 15)

The relaxation oscillator of claim 15, further comprising:
logic coupled to the output of the comparator and configured to generate pulses based on the comparator propagation delay.

### Claim 17 (depends on 17)

The relaxation oscillator of claim 17, wherein third and sixth switches are configured to be controlled by the pulses generated by the logic.

### Claim 18 (depends on 16)

The relaxation oscillator of claim 16, wherein a second input of the comparator is configured to be switched between high and low reference voltages based on an output of the comparator, wherein switching of the second input is delayed relative to switching of the first, second, fourth and fifth switches.

### Claim 19 (depends on 17)

The relaxation oscillator of claim 17, wherein the logic delays switching of the second input relative to switching of the switching of the first, second, fourth and fifth switches by a duration based on the comparator propagation delay.

### Claim 20 (depends on 15)

An integrated circuit device including the relaxation oscillator of claim 15, the integrated circuit device further comprising:
processing circuitry; and
a connection between the processing circuitry and the relaxation oscillator,
wherein the processing circuitry is configured to process data based on an output of the relaxation oscillator.
