# US 12,719,484 B2 · Real-time clock generation device and real-time clock generation method

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

- Number: US 12,719,484 B2
- Document ID: US12719484B2
- Status: Granted
- Kind: B2
- Application number: 18/988,939
- Filed: 2024-12-20
- Published: 2025-08-07
- Granted: 2026-08-25
- Earliest claimed: 2024-02-06
- Assignees: MegaChips Corporation
- Applicants: MegaChips Corporation
- Inventors: Takeaki Komuro; Keisuke Kawanishi; Shingo Adachi
- Web page: https://patentgrep.com/patent/US12719484B2

## CPC

- H03K 3/0315: {Ring oscillators}
- H03L 7/24: using a reference signal directly applied to the generator
- G06F 1/08: Clock generators with changeable or programmable clock frequency
- G06F 1/12: Synchronisation of different clock signals {provided by a plurality of clock generators}
- G06F 1/14: Time supervision arrangements, e.g. real time clock
- H03K 21/00: Details of pulse counters or frequency dividers
- H03L 7/00: Automatic control of frequency or phase; Synchronisation
- 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)
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A first ring oscillator outputs a reference clock signal. A table acquirer acquires a control-value table representing a correspondence between time zones in which the first ring oscillator operates and division ratios of the reference clock signal. In accordance with the control-value table, a divider generates an RTC signal by changing a division ratio of the reference clock signal for each time zone in which the first ring oscillator operates. During execution of calibration of the control-value table, a second ring oscillator outputs a measurement clock signal that oscillates more accurately than the reference clock signal. A frequency measurer measures a frequency of the RTC signal based on the measurement clock signal. In a case in which a frequency of the RTC signal exceeds an allowable error, an update determiner updates at least part of division ratios in the control-value table.

## Claims

### Claim 1

A real-time clock generation device comprising:
a first ring oscillator that outputs a reference clock signal;
a table acquirer that acquires a control-value table representing a correspondence between time zones in which the first ring oscillator operates and division ratios of the reference clock signal;
a divider that, in accordance with the control-value table, generates a real-time clock signal by changing the division ratio of the reference clock signal for each time zone in which the first ring oscillator operates;
a second ring oscillator that, during execution of calibration of the control-value table, outputs a measurement clock signal that oscillates more accurately than the reference clock signal;
a frequency measurer that measures a frequency of the real-time clock signal based on the measurement clock signal; and
an update determiner that determines whether a frequency of the real-time clock signal measured by the frequency measurer is equal to or smaller than a predetermined allowable error, updates at least part of the division ratios in the control-value table in a case in which the frequency of the real-time clock signal exceeds the allowable error, and ends the calibration in a case in which the frequency of the real-time clock signal is equal to or smaller than the allowable error.

### Claim 2 (depends on 1)

The real-time clock generation device according to claim 1, further comprising:
a temperature acquirer that acquires an operating temperature of the first ring oscillator for each time zone in which the first ring oscillator operates; and
a division ratio definer that, based on an operating temperature of the first ring oscillator acquired by the temperature acquirer, defines the division ratio of the reference clock signal for each time zone in which the first ring oscillator operates, wherein
the table acquirer acquires the control-value table representing a correspondence between time zones in which the first ring oscillator operates and the division ratios of the reference clock signal defined by the division ratio definer.

### Claim 3 (depends on 2)

The real-time clock generation device according to claim 2, wherein
the temperature acquirer, in a case in which the update determiner determines that a frequency of the real-time clock signal in a certain time zone has exceeded the allowable error, re-acquires an operating temperature of the first ring oscillator for the time zone, and
the division ratio definer, based on an operating temperature of the first ring oscillator for the time zone that is re-acquired by the temperature acquirer, updates the division ratio for the time zone in the control-value table.

### Claim 4 (depends on 1)

The real-time clock generation device according to claim 1, further comprising a frequency acquirer that acquires a frequency of the reference clock signal, wherein
the table acquirer acquires the control-value table representing a correspondence between time zones in which the first ring oscillator operates and the division ratios with respect to frequencies of the reference clock signal acquired by the frequency acquirer.

### Claim 5 (depends on 4)

The real-time clock generation device according to claim 4, wherein
before execution of the calibration of the control-value table, the frequency measurer is temporarily connected to an external measurement device that outputs an external clock signal oscillating more accurately than the reference clock signal, and further measures a frequency of the reference clock signal based on the external clock signal, and
the frequency acquirer acquires a frequency of the reference clock signal measured by the frequency measurer.

### Claim 6 (depends on 1)

The real-time clock generation device according to claim 1, wherein
the division ratio includes an integer division ratio defined based on a frequency of the reference clock signal.

### Claim 7 (depends on 6)

The real-time clock generation device according to claim 6, wherein
the division ratio further includes a decimal division ratio for bringing a frequency of the reference clock signal that is divided by the integer division ratio to be closer to a specific frequency with resolution smaller than that of the integer division ratio.

### Claim 8 (depends on 7)

The real-time clock generation device according to claim 7, wherein
the divider generates the real-time clock signal by changing the decimal division ratio of the reference clock signal by pulse width modulation control, and
the decimal division ratio includes a duty ratio in the pulse width modulation control.

### Claim 9 (depends on 1)

The real-time clock generation device according to claim 1, further comprising a reference voltage source that, when a voltage is supplied from an external power supply, generates a voltage having higher stability than that of the supplied voltage, and supplies the generated voltage to the first ring oscillator.

### Claim 10 (depends on 1)

The real-time clock generation device according to claim 1, wherein
the real-time clock generation device is sectioned into a first power domain and a second power domain that are different from each other,
the first ring oscillator and the divider are arranged in the first power domain, and
the second ring oscillator and the update determiner are arranged in the second power domain.

### Claim 11 (depends on 1)

The real-time clock generation device according to claim 1, wherein
the update determiner, after the calibration ends, determines whether a frequency of the real-time clock signal periodically measured by the frequency measurer exceeds the allowable error, and restarts the calibration in a case in which the frequency of the real-time clock signal exceeds the allowable error.

### Claim 12 (depends on 1)

The real-time clock generation device according to claim 1, further comprising a temperature determiner that, after the calibration ends, determines whether an ambient temperature of the real-time clock generation device at a predetermined point in time is equal to or smaller than a predetermined threshold value, and restarts the calibration in a case in which the temperature exceeds the threshold value.

### Claim 13 (depends on 1)

The real-time clock generation device according to claim 1, further comprising an abnormality determiner that determines that the real-time clock generation device is abnormal in a case in which the calibration does not end within a predetermined period after the calibration is started.

### Claim 14 (depends on 1)

The real-time clock generation device according to claim 1, further comprising:
a point-in-time calculator that calculates a point in time based on the real-time clock signal generated by the divider; and
an abnormality determiner that, in a case in which a difference between a point in time calculated by the point-in-time calculator and an externally distributed point in time exceeds a predetermined allowable error, determines that the real-time clock generation device is abnormal.

### Claim 15

A real-time clock generation method including:
acquiring a control-value table representing a correspondence between time zones in which a first ring oscillator outputting a reference clock signal operates and division ratios of the reference clock signal;
in accordance with the control-value table, changing the division ratio of the reference clock signal for each time zone in which the first ring oscillator operates to generate a real-time clock signal;
during execution of calibration of the control-value table, measuring a frequency of the real-time clock signal based on a measurement clock signal that is output by a second ring oscillator and oscillates more accurately than the reference clock signal;
in a case in which a frequency of the real-time clock signal exceeds an allowable error, updating at least part of the division ratios in the control-value table; and in a case in which a frequency of the real-time clock signal is equal to or smaller than the allowable error, ending the calibration.
