# US 2008/0082279 A1 · Real-time clock calibration method and system

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

- Number: US 2008/0082279 A1
- Document ID: US20080082279A1
- Status: Published application
- Kind: A1
- Application number: 11/901,825
- Filed: 2007-09-19
- Published: 2008-04-03
- Earliest claimed: 2006-10-03
- Assignees: Analog Devices, Inc.
- Inventors: Michael A. Ashburn; Stephen W. Harston
- Web page: https://patentgrep.com/patent/US20080082279A1

## CPC

- G06F 1/14: Time supervision arrangements, e.g. real time clock
- G06F 11/1604: {where the fault affects the clock signals of a processing unit and the redundancy is at or within the level of clock signal generation hardware}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

Real-time clock calibration is accomplished by generating a fast clock signal and a slow clock signal from an uncompensated clock signal; selectively, momentarily, replacing the uncompensated clock signal with the fast and slow clock signal to generate a compensated clock signal; generating from the compensated clock signal a calibration strobe and window trigger; responding to the window trigger to detect any uncompensated clock signal frequency error and responding to the calibration strobe to selectively, momentarily, replace the uncompensated clock signal with the fast or slow clock signal to reduce the clock signal frequency error.

## Claims

### Claim 1

A calibrated real-time clock system comprising:
a first clock responsive to an uncompensated clock signal for generating a fast clock signal at higher frequency than said uncompensated clock signal;
a second clock responsive to said uncompensated clock signal for generating a slow clock signal at lower frequency than said uncompensated clock signal;
a switching circuit for selectively, momentarily, replacing said uncompensated clock signal with said fast or slow clock signal to generate a compensated clock signal;
a calibration timing circuit for generating a calibration strobe and a window trigger from said compensated clock signal; and
a logic circuit responsive to said window trigger for detecting any uncompensated clock frequency error and responsive to said calibration strobe for driving said switching circuit to selectively, momentarily, replace said uncompensated clock signal with said fast or slow clock signal to reduce the uncompensated clock frequency error.

### Claim 2 (depends on 1)

The calibrated real-time clock system of claim 1 in which said fast clock signal is twice the frequency of said uncompensated clock signal.

### Claim 3 (depends on 1)

The calibrated real-time clock system of claim 1 in which said slow clock signal is one-half the frequency of said uncompensated clock signal.

### Claim 4 (depends on 2)

The calibrated real-time clock system of claim 2 in which said first clock includes an edge detector.

### Claim 5 (depends on 3)

The calibrated real-time clock system of claim 3 in which said second clock includes a divide by two counter.

### Claim 6 (depends on 1)

The calibrated real-time clock system of claim 1 in which said calibration timing circuit includes a calibration strobe counter.

### Claim 7 (depends on 6)

The calibrated real-time clock system of claim 6 in which said calibration timing circuit includes a window trigger counter.

### Claim 8 (depends on 7)

The calibrated real-time clock system of claim 7 in which said window trigger circuit is driven by said calibration strobe counter.

### Claim 9 (depends on 7)

The calibrated real-time clock system of claim 7 in which said calibration strobe counter divides said compensated clock signal by a first divisor.

### Claim 10 (depends on 9)

The calibrated real-time clock system of claim 9 in which said window trigger counter divides said calibration strobe by a second divisor.

### Claim 11 (depends on 10)

The calibrated real-time clock system of claim 10 in which said uncompensated clock signal is approximately 32,768 Hz.

### Claim 12 (depends on 9)

The calibrated real-time clock system of claim 9 in which said first divisor is 4032.

### Claim 13 (depends on 10)

The calibrated real-time clock system of claim 10 in which said second divisor is 248.

### Claim 14 (depends on 1)

The calibrated real-time clock system of claim 1 in which said switching circuit replaces said uncompensated clock signal with a predetermined number of pulses per calibration strobe.

### Claim 15 (depends on 14)

The calibrated real-time clock system of claim 14 in which said predetermined number is one.

### Claim 16 (depends on 1)

The calibrated real-time clock system of claim 1 further including a control circuit responsive to a calibration strobe for enabling one of said first and second clocks as needed in response to a calibration value.

### Claim 17 (depends on 1)

The calibrated real-time clock system of claim 1 further including a control circuit for enabling said first and second clocks periodically following a calibration strobe.

### Claim 18 (depends on 1)

The calibrated real-time clock system of claim 1 in which said first and second clocks are always enabled.

### Claim 19 (depends on 7)

The calibrated real-time clock system of claim 7 in which at least one of said strobe counter and window trigger counters includes a ripple counter.

### Claim 20 (depends on 1)

The calibrated real-time clock system of claim 1 in which said strobe counter includes a first ripple counter and a second counter and said first ripple counter provides a sub-clock for operating said second counter, said window trigger counter and said logic circuit.

### Claim 21

A real-time clock calibration method comprising:
generating a fast clock signal and a slow clock signal from an uncompensated clock signal where the fast clock signal is faster and the slow clock signal is slower than said uncompensated clock signal.
selectively, momentarily, replacing the uncompensated clock signal with the fast and slow clock signal to generate a compensated clock signal;
generating from the compensated clock signal a calibration strobe and window trigger;
detecting in response to said window trigger any uncompensated clock signal frequency error; and
selectively, momentarily, replacing in response to said calibration strobe the uncompensated clock signal with the fast and slow clock signal to reduce the clock signal frequency error.

### Claim 22 (depends on 1)

The real-time clock calibration method of claim 1A in which said fast clock signal is twice the frequency of said uncompensated clock signal.

### Claim 23 (depends on 21)

The real-time clock calibration method of claim 21 in which said slow clock signal is one-half the frequency of said uncompensated clock signal.

### Claim 24 (depends on 21)

The real-time clock calibration method of claim 21 in which said calibration strobe is derived from said uncompensated clock signal divided by a first divisor.

### Claim 25 (depends on 24)

The real-time clock calibration method of claim 24 in which said window trigger is derived from said calibration strobe divided by a second divisor.

### Claim 26 (depends on 25)

The real-time clock calibration method of claim 25 in which said uncompensated clock signal is approximately 32,768 Hz.

### Claim 27 (depends on 26)

The real-time clock calibration method of claim 26 in which said first divisor is 4032.

### Claim 28 (depends on 27)

The real-time clock calibration method of claim 27 in which said second divisor is 248.

### Claim 29 (depends on 21)

The real-time clock calibration method of claim 21 in which said uncompensated clock signal is replaced with a predetermined number of pulses per calibration strobe.

### Claim 30 (depends on 29)

The real-time clock calibration method of claim 29 in which said predetermined number is one.

### Claim 31 (depends on 21)

The real-time clock calibration method of claim 21 in which said calibration strobe enables one of said first and second clock signals as needed in response to a calibration value.

### Claim 32 (depends on 21)

The real-time clock calibration method of claim 21 in which said calibration strobe enables said first and second clock signals periodically in response to a calibration value.

### Claim 33 (depends on 21)

The real-time clock calibration method of claim 21 in which said first and second clock signals are always enabled.
