# US 2015/0146832 A1 · Main Clock High Precision Oscillator

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

- Number: US 2015/0146832 A1
- Document ID: US20150146832A1
- Status: Published application
- Kind: A1
- Application number: 14/554,570
- Filed: 2014-11-26
- Published: 2015-05-28
- Earliest claimed: 2013-11-27
- Assignees: Microchip Technology Incorporated
- Applicants: Microchip Technology Incorporated
- Inventors: Philippe Deval; Gabriele Bellini; Patrick Besseux; Francesco Mazzilli
- Web page: https://patentgrep.com/patent/US20150146832A1

## CPC

- H03L 7/085: concerning mainly the frequency- or phase-detection arrangement including the filtering or amplification of its output signal (H03L7/10 takes precedence; circuits for comparing the phase or frequency of two mutually-independent oscillations H03D13/00)
- H03L 1/00: Stabilisation of generator output against variations of physical values, e.g. power supply
- H03L 7/089: the phase or frequency detector generating up-down pulses (H03L7/087 takes precedence)
- H03L 7/099: concerning mainly the controlled oscillator of the loop
- H03L 7/081: provided with an additional controlled phase shifter {(H03L7/0998 takes precedence)}
- H03L 7/093: using special filtering or amplification characteristics in the loop (H03L7/087 - H03L7/091 take precedence)
- H03L 7/097: using a comparator for comparing the voltages obtained from two frequency to voltage converters
- H03L: AUTOMATIC CONTROL, STARTING, SYNCHRONISATION OR STABILISATION OF GENERATORS OF ELECTRONIC OSCILLATIONS OR PULSES (generation of oscillations H03B)

## Abstract

A clock oscillator includes a high speed oscillator generating a high speed clock signal and comprising a digital trimming function; a counter receiving said high speed clock signal at a clock input; a time base having a low drift and controlling said counter, wherein the counter generates a difference between a reference value and a counter value; and a digital integrator receiving said difference value and providing trimming data for said high speed oscillator.

## Claims

### Claim 1

A clock oscillator comprising:
a high speed oscillator generating a high speed clock signal and comprising a digital trimming function;
a counter receiving said high speed clock signal at a clock input;
a time base having a low drift and controlling said counter, wherein the counter generates a difference between a reference value and a counter value; and
a digital integrator receiving said difference value and providing trimming data for said high speed oscillator.

### Claim 2 (depends on 1)

The clock oscillator according to claim 1, wherein the reference value is permanently stored by a OTP code.

### Claim 3 (depends on 1)

The clock oscillator according to claim 1, wherein the time base is an RC time base.

### Claim 4 (depends on 1)

The clock oscillator according to claim 1, wherein the time base is reset by said counter.

### Claim 5 (depends on 1)

The clock oscillator according to claim 1, wherein the counter is configured to receive a time base output at an enable input.

### Claim 6 (depends on 1)

The clock oscillator according to claim 1, wherein the reference value is an estimate of the duration of a time base.

### Claim 7 (depends on 1)

The clock oscillator according to claim 1, wherein the trimming data is indicative of the difference value and a previous period trimming data.

### Claim 8 (depends on 1)

A clock oscillator in accordance with claim 1, wherein the counter comprises an up down counter.

### Claim 9

An integrated circuit, comprising:
a time base circuit generating a time reference;
a counter receiving the time reference and configured to generate an error signal based on the difference between the count number of HF clock pulses occurring along the time reference duration and a calibration number;
a digital integrator configured to generate a trimming function based on the error signal; and
a high speed oscillator controllable using the trimming function and configured to provide HF clock pulses to the counter.

### Claim 10 (depends on 9)

An integrated circuit in accordance with claim 9, wherein the error signal is based on the difference between the number of HF clock pulses occurring along the time reference duration and a programmable calibration code.

### Claim 11 (depends on 10)

An integrated circuit in accordance with claim 10, wherein the programmable calibration code is stored into a one time programmable memory (one time programmable calibration code).

### Claim 12 (depends on 10)

An integrated circuit in accordance with claim 10, wherein the programmable calibration code is stored into a non volatile rewritable memory.

### Claim 13 (depends on 9)

An integrated circuit in accordance with claim 9, wherein the time base circuit comprises a low drift RC circuit.

### Claim 14 (depends on 9)

An integrated circuit in accordance with claim 9, wherein the time base circuit may be provided through a watch crystal.

### Claim 15 (depends on 13)

An integrated circuit in accordance with claim 13, wherein the programmable calibration code is representative of a duration of the time base (reference) provided by of the low drift RC circuit.

### Claim 16 (depends on 14)

An integrated circuit in accordance with claim 14, wherein the programmable calibration code is representative of the duration of one period of a 32.768 KHz watch crystal.

### Claim 17 (depends on 9)

An integrated circuit in accordance with claim 9, wherein the programmable calibration code is representative of the duration of m periods of a low cost crystal (typically 128 periods for a 4 MHz crystal).

### Claim 18 (depends on 9)

An integrated circuit in accordance with claim 9, wherein the time base circuit may be derived from any accurate time base.

### Claim 19 (depends on 9)

An integrated circuit in accordance with claim 9, wherein the time reference is based on a single cycle of an output of the low drift RC circuit.

### Claim 20 (depends on 9)

An integrated circuit in accordance with claim 9, wherein the time reference is based on a multiple cycles of an output of the low drift RC circuit.

### Claim 21 (depends on 9)

An integrated circuit in accordance with claim 9, wherein the time reference is based on a single period of a 32.768 KHz watch crystal.

### Claim 22 (depends on 9)

An integrated circuit in accordance with claim 9, wherein the time reference is based on a multiple periods of a 32.768 KHz watch crystal.

### Claim 23 (depends on 9)

An integrated circuit in accordance with claim 9, wherein the time reference is based on a single period of any accurate time base.

### Claim 24 (depends on 9)

An integrated circuit in accordance with claim 9, wherein the time reference is based on a multiple periods of any accurate time base.

### Claim 25 (depends on 9)

An integrated circuit in accordance with claim 9, wherein the time reference is configured to enable the counter.

### Claim 26 (depends on 9)

An integrated circuit in accordance with claim 9, wherein the error code size may be limited in order saving area.

### Claim 27 (depends on 23)

An integrated circuit in accordance with claim 23, wherein the Most Significant Bits (MSB) of the error code may be shifted at the integrator input in order to reduce the tuning time.

### Claim 27

A method, comprising:
generating a time reference based on a time base;
HF oscillator providing HF clock counting HF clock pulses during duration of the time reference;
generating an error signal based on the HF clock pulses count of the duration of the time reference and a calibration signal;
generating a trimming code based on the error signal; and
controlling a high speed oscillator using the trimming signal.

### Claim 28 (depends on 24)

An integrated circuit in accordance with claim 24, wherein a different shift may be applied according to the bit weight.

### Claim 28 (depends on 27)

A method in accordance with claim 27, wherein the calibration signal is a one time programmable signal representative of an estimated error in the time reference.

### Claim 29 (depends on 9)

An integrated circuit in accordance with claim 9, wherein the HF oscillator may be operated at a multiple of the final HF output frequency.

### Claim 29 (depends on 28)

A method in accordance with claim 28, wherein the time reference is generated using a low drift RC circuit.

### Claim 30 (depends on 29)

A method in accordance with claim 29, wherein the time reference is generated using a single comparator receiving as input a single cycle of the low drift RC circuit output.

### Claim 31 (depends on 30)

A method in accordance with claim 30, wherein the time reference is input to an enable input of a counter for counting the duration of the time reference.
