IP Library Granted Patent US 7,216,250
Granted Patent B2
US 7,216,250 · App. 10/744,645 · Granted May 8, 2007

Clock control circuit for correcting frequency of second clock signal based on first clock signal and monitoring oscillation state of first clock signal based on second clock signal

Assignee: DENSO Corporation
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 7,216,250
App. No.
10/744,645
Granted
May 8, 2007
Kind
B2
Abstract

The present invention relates to a clock control circuit apparatus including a first oscillation circuit for generating a first clock signal and a second oscillation circuit for generating a second clock signal and capable of, when the two clock signals are put to use, improving the reliability of oscillation operations thereof. In the clock control circuit apparatus, a sub-clock correction unit corrects an oscillation frequency of a sub-clock signal on the basis of a main clock signal, while a main clock monitoring unit monitors an oscillation state of the main clock signal on the basis of the sub-clock signal.

Claims (36)

1. A clock control circuit apparatus comprising:

an oscillation circuit generating a first clock signal oscillating at a first oscillating frequency;

a CR oscillation circuit for generating a second clock signal having a second oscillating frequency lower than the first oscillating frequency, the second oscillating frequency being made to be adjustable;

a correction circuit for correcting the second oscillating frequency based on the first clock signal; and

a monitoring circuit for monitoring an oscillating state of the first clock signal based on the second clock signal.

2. A microcomputer comprising:

a clock control circuit apparatus recited in claim 1 :

a CPU receiving an operation clock signal produced based on the first clock signal; and

a timer for monitoring an operation of said CPU based on the second clock signal,

the timer having a first monitoring cycle being set to be equal to or longer than a second monitoring cycle of the monitoring circuit for monitoring the first clock signal.

3. A microcomputer comprising:

an oscillation circuit generating a first clock signal having a first oscillating frequency;

a CPU receiving an operation clock signal produced based on the first clock signal;

a CR oscillation circuit for generating a second clock signal having a second oscillating frequency lower than the first oscillating frequency; and

a correction circuit for correcting the second oscillating frequency based on the first clock signal,

said correction circuit including:

an edge detection circuit for detecting an edge of the second clock signal and generating an edge detecting signal;

a pulse counter for carrying out a counting operation based on the first clock signal;

a count setting register for storing a count value of the pulse counter corresponding to one cycle of the second clock signal;

a comparison adjuster for, receiving the edge detection signal from the edge detection circuit and simultaneously making a comparison between a count value of the pulse counter and the count value stored in the count setting register to produce an adjustment signal for the oscillation frequency of the CR oscillation circuit based on a difference between the count value of the pulse counter and the count value in the count setting register; and

an adjustment circuit for adjusting the oscillation frequency of the CR oscillation circuit based on the adjustment signal,

the comparison adjuster being made to gradually decrease an absolute value of a level of the adjustment signal when the adjustment circuit starts to run immediately after activating the CPU.

4. The microcomputer according to claim 3 , wherein the comparison adjuster starts to adjust the level at a maximum value of an adjustment range in a first adjusting cycle and adjust the level at an absolute half value of the level in a preceding adjusting cycle in following cycles to the first adjusting cycle.

5. The microcomputer according to claim 3 , wherein, the level has a minimum value thereof, and the comparison adjuster continues to adjust the level at the minimum value after an absolute value of the level reaches the minimum value.

6. The microcomputer according to claim 3 , wherein the adjuster adjusts to gradually decrease the absolute value of the level at every the adjusting cycle, immediately after the CPU being activated.

7. A method of adjusting an oscillation frequency of a clock signal in a microcomputer comprising an oscillation circuit generating a first clock signal, a CPU receiving an operation clock signal produced based on the first clock signal, a CR oscillation circuit for generating a second clock signal having a second oscillating frequency lower than a first oscillating frequency of said first clock signal, the second oscillating frequency being made to be adjustable, and a correction circuit for correcting the second oscillating frequency based on the first clock signal,

in correcting the oscillation frequency of the second clock signal in the correction circuit, the method comprising the steps of:

detecting an edge of the second clock signal;

carrying out a counting operation based on the first clock signal;

retaining a count value corresponding to a single cycle of the second clock signal;

in response to an edge detection signal obtained by detecting the edge of the second clock signal, making a comparison between a count value obtained through the counting operation and the retained count value to produce an adjustment signal for the oscillation frequency of the CR oscillation circuit based on a difference between both the count values; and

adjusting the oscillating frequency of the CR oscillation circuit based on the adjustment signal

the adjustment signal gradually decreasing a level thereof from an absolute value of the level of immediately after the CPU being activated, at every adjustment cycle.

8. The method according to claim 7 , wherein the adjusting step starts to adjust the level at a maximum value of an adjustment range in a first adjusting cycle and adjust the level an absolute half value of the level in an adjusting cycle preceding thereof at every the adjusting cycle following the first adjusting cycle.

9. The method according to claim 7 , wherein the level has a minimum value thereof, and the adjusting step continues to adjust the level at the minimum value after an absolute value of the level reaches the minimum value.

10. The method according to claim 7 , further comprising a selecting step for selecting whether or not the adjusting step decreases the absolute value of the level, immediately after activating the CPU.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Apr 26, 2004
From: MATSUOKA, TOSHIHIKO; TESHIMA, YOSHINORI; NODA, SHINICHI; TSURUTA, SUSUMU; FUJII, HIROSHI; ISHIHARA, HIDEAKI
To: DENSO CORPORATION
Reel/Frame 015268/0215 →
Priority Claims (1)
JP 2002-380002 · Dec 27, 2002 · national
Continuity (1)
Related Publication 20040158761A1 · Aug 12, 2004