JP2001228932A - Real-time clock device - Google Patents

Real-time clock device

Info

Publication number
JP2001228932A
JP2001228932A JP2000036026A JP2000036026A JP2001228932A JP 2001228932 A JP2001228932 A JP 2001228932A JP 2000036026 A JP2000036026 A JP 2000036026A JP 2000036026 A JP2000036026 A JP 2000036026A JP 2001228932 A JP2001228932 A JP 2001228932A
Authority
JP
Japan
Prior art keywords
oscillation
circuit
power supply
supply voltage
detection circuit
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2000036026A
Other languages
Japanese (ja)
Other versions
JP3909639B2 (en
Inventor
Kazuyuki Kume
和之 久米
Kazuyuki Tanaka
和幸 田中
Katsunori Yoshinaka
勝則 吉中
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Ricoh Co Ltd
Original Assignee
Ricoh Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Ricoh Co Ltd filed Critical Ricoh Co Ltd
Priority to JP2000036026A priority Critical patent/JP3909639B2/en
Publication of JP2001228932A publication Critical patent/JP2001228932A/en
Application granted granted Critical
Publication of JP3909639B2 publication Critical patent/JP3909639B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Electric Clocks (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide a real-time clock device by which whether internal data is correct can be discriminated by detecting the oscillation stoppage of an oscillation circuit and the cause and the corresponding method of the oscillation stoppage of the oscillation circuit can be decided in detail. SOLUTION: The presence/absence of the clock output of the oscillation circuit 1 is detected by an oscillation stoppage detection circuit 2, whether a power voltage VDD is higher or lower than a prescribed level is detected by a power voltage dropping detection circuit 3, and the rising of a power source is detected by a power on detection circuit 4. The results of these detections are stored in registers REG1, REG2 and REG3. Based on the contents of them, the cause of oscillation stoppage and the measure for it are decided. 5 is a frequency divided circuit, 6 is a time counter, 8 is an input and output control part, 9 is a nonvolatile memory circuit, and 10 is an MPU (microprocessor unit).

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、各種コンピュー
タ、マイクロコンピュータ内蔵のOA機器、携帯電話、
ビデオなどの家電機器、自動販売機などに内蔵されるリ
アルタイム・クロック装置に関し、特に、発振回路の発
振停止を検出し内部データが正確か否かを判別するとと
もに発振停止の原因をも判別することが可能なリアルタ
イム・クロック装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to various types of computers, OA equipment with built-in microcomputers, mobile phones,
For real-time clock devices incorporated in household appliances such as video equipment, vending machines, etc., in particular, detect the oscillation stop of the oscillation circuit, judge whether the internal data is accurate or not, and also judge the cause of the oscillation stop. The present invention relates to a real-time clock device capable of performing the following.

【0002】[0002]

【従来の技術】近年の情報処理社会においては、各分野
で機械化が進み、各種コンピュータやマイクロコンピュ
ータ内蔵のOA機器あるいは家電などが普及してきてい
る。このような機器においては、通常リアルタイム・ク
ロック装置(時計装置)が内蔵されている。リアルタイ
ムクロック装置は、その動作をできる限り停止させない
ために、MPU(マイクロプロセッサユニット)側の主
電源とは別の予備電源によりバックアップされているの
が普通である。
2. Description of the Related Art In the information processing society in recent years, mechanization has progressed in various fields, and various computers, OA devices with built-in microcomputers, and home appliances have become widespread. Such a device usually includes a real-time clock device (clock device). The real-time clock device is usually backed up by a standby power supply different from the main power supply on the MPU (microprocessor unit) side in order to stop the operation as much as possible.

【0003】このようなリアルタイム・クロック装置に
おいて、内部の時計データが電源電圧の低下などにより
破壊されているか否かを、MPU側で常時監視する必要
があり、従来は、リアルタイム・クロック装置からの時
計データをメモリに一時保存し、その後、そのメモリに
保存されている時計データと新たにリアルタイム・クロ
ック装置から読み出した時計データとを比較し、同じで
あればリアルタイム・クロック装置が停止しており、そ
の時計データは正しくないと判断するようにしていた。
しかしながら、それでは、余分なメモリ領域が必要とな
り、またプログラムにより比較処理と判断処理などの煩
雑な処理を行わなければならなかった。
In such a real-time clock device, it is necessary to constantly monitor whether or not the internal clock data is destroyed due to a drop in power supply voltage or the like. The clock data is temporarily stored in the memory, and then the clock data stored in the memory is compared with the clock data newly read from the real-time clock device. , It was determined that the clock data was incorrect.
However, in that case, an extra memory area is required, and complicated processing such as comparison processing and judgment processing must be performed by a program.

【0004】これを解消するものとして、特許第272
2507号(特開平2−32413号公報)に開示され
たリアルタイム・クロック装置(以下、従来技術とい
う)がある。図5は、上記従来技術で提案されたリアル
タイム・クロック装置の構成を示す図である。
[0004] To solve this problem, Japanese Patent No. 272 is disclosed.
There is a real-time clock device (hereinafter, referred to as a prior art) disclosed in Japanese Patent No. 2507 (Japanese Patent Laid-Open No. 2-32413). FIG. 5 is a diagram showing a configuration of a real-time clock device proposed in the above-mentioned conventional technology.

【0005】この従来技術は、水晶振動子などの圧電振
動子からなる発振回路10のクロック出力を分周回路4
0を通して論理回路50のレジスタ類などにセットする
ようにしたリアルタイム・クロック装置において、発振
検出回路20と発振停止検出フラグ30(フリップ・フ
ロップ)を設け、発振検出回路20により発振回路10
の発振が停止したこと検出し、この検出出力により発振
停止検出フラグ30をセットし、MPU側からこの発振
停止検出フラグ30を監視することにより、内部の時計
データやレジスタ類のデータが有効であるか否かを判断
するようにしたものである。
In this prior art, a clock output of an oscillation circuit 10 composed of a piezoelectric vibrator such as a crystal vibrator is divided by a frequency dividing circuit 4.
In a real-time clock device which is set in registers of the logic circuit 50 through 0, an oscillation detection circuit 20 and an oscillation stop detection flag 30 (flip flop) are provided.
By detecting that the oscillation has stopped, an oscillation stop detection flag 30 is set based on this detection output, and the oscillation stop detection flag 30 is monitored from the MPU side, so that the internal clock data and data of the registers are valid. It is determined whether or not this is the case.

【0006】図6は発振検出回路20を説明するための
図であり、同図(a)は発振検出回路20の構成回路例
を、同図(b)はその原理を示している。同図におい
て、G1はインバータ回路、G2はナンド回路、P1お
よびP2はPチャネルMOSトランジスタ(図4(b)
のスイッチSW1,SW2に対応)、R1およびR2は
抵抗、C1およびC2はコンデンサ、VDDはドレイン
電圧、VSSはソース電圧である。
FIGS. 6A and 6B are diagrams for explaining the oscillation detection circuit 20. FIG. 6A shows an example of the configuration of the oscillation detection circuit 20, and FIG. 6B shows the principle thereof. In the figure, G1 is an inverter circuit, G2 is a NAND circuit, and P1 and P2 are P-channel MOS transistors (FIG. 4 (b)
, R1 and R2 are resistors, C1 and C2 are capacitors, VDD is a drain voltage, and VSS is a source voltage.

【0007】この回路においては、PチャネルMOSト
ランジスタ(P1,P2)がオンのとき、コンデンサ
(C1,C2)の電荷は抵抗(R1,R2)を通してC
1・R1およびC2・R2の時定数に従って放電する。
この場合、C1・R1およびC2・R2の時定数を、発
振回路10の出力の周期の半分より十分長くとることに
より、発振回路10のクロック出力が定常的に入力され
ている限り、PチャネルMOSトランジスタP1,P2
が周期的に交互に導通し、ナンド回路G2のいずれの入
力もスレッシュホールド電圧以下にならず、そのためナ
ンド回路G2の出力すなわち発振検出回路20の出力は
ローレベルとなり発振が継続していることを示す。
In this circuit, when the P-channel MOS transistors (P1, P2) are turned on, the charges of the capacitors (C1, C2) are transferred to the capacitors (R1, R2) through the resistors (R1, R2).
Discharge is performed according to the time constant of 1.R1 and C2.R2.
In this case, by setting the time constants of C1 · R1 and C2 · R2 to be sufficiently longer than half of the cycle of the output of the oscillation circuit 10, as long as the clock output of the oscillation circuit 10 is constantly input, the P-channel MOS Transistors P1 and P2
Are periodically and alternately turned on, and none of the inputs of the NAND circuit G2 does not become lower than the threshold voltage. Therefore, the output of the NAND circuit G2, that is, the output of the oscillation detection circuit 20 becomes low level and the oscillation continues. Show.

【0008】しかし、発振回路10の発振が停止しクロ
ック出力がなくなった場合、ナンド回路G2のいずれか
一方の入力がスレッシュホールド電圧以下になり、ナン
ド回路G2の出力すなわち発振検出回路20の出力はハ
イレベルとなり、発振回路10の発振が停止したことを
示す。この発振検出回路20の出力が発振停止検出フラ
グ30にセットされる。なお、図6は、発振の停止を検
出する一つの例を示したに過ぎず、発振の停止を検出で
きるものであれば如何なる構成のものでもよい。
However, when the oscillation of the oscillation circuit 10 stops and the clock output stops, one of the inputs of the NAND circuit G2 becomes lower than the threshold voltage, and the output of the NAND circuit G2, that is, the output of the oscillation detection circuit 20 becomes It becomes high level, indicating that the oscillation of the oscillation circuit 10 has stopped. The output of the oscillation detection circuit 20 is set in the oscillation stop detection flag 30. FIG. 6 shows only one example of detecting the stop of the oscillation, and may have any configuration as long as the stop of the oscillation can be detected.

【0009】なお、発振回路10の最低動作電源電圧
は、通常、論理回路5内のカウンタやレジスタの最低デ
ータ保持電圧より高く設定してある。
The minimum operating power supply voltage of the oscillation circuit 10 is usually set higher than the minimum data holding voltage of a counter or register in the logic circuit 5.

【0010】[0010]

【発明が解決しようとする課題】上記従来技術による
と、余分なメモリ領域を不要とし、またプログラムによ
る比較処理や判断処理などが不要となるが、この従来技
術は、あくまでもリアルタイムクロック装置の時計デー
タが有効か無効かを判定することを主要な目的とするも
のであり、発振回路の発振停止を示す発振検出回路の出
力により時計データが無効であると判定された場合でも
その原因が不明であるため、具体的にどのような処置を
行えばよいかはわからなかった。
According to the above-mentioned prior art, an extra memory area is not required, and comparison processing and judgment processing by a program are not required. The main purpose is to determine whether the clock data is valid or invalid. Even if it is determined that the clock data is invalid by the output of the oscillation detection circuit indicating that the oscillation circuit has stopped oscillating, the cause is unknown. Therefore, it was not clear what kind of treatment should be performed.

【0011】例えば、発振回路の発振停止の原因が電源
電圧の低下であった場合は、バッテリーの交換が必要で
あり、一方、発振回路の発振停止の原因が異常な外来ノ
イズまたは異常な電源ノイズまたは結露であった場合
は、リアルタイムクロックデータの初期化が必要である
はずであるのに、上記従来技術では、単に発振回路の発
振が停止したことが判定できるだけで、その発振停止の
原因が判定できなかったので、どのような対応処置を行
えばよいかもわからなかったという問題点があった。
For example, if the cause of the oscillation circuit's oscillation stop is a drop in the power supply voltage, the battery needs to be replaced, while the cause of the oscillation circuit's oscillation stop is abnormal extraneous noise or abnormal power supply noise. Or, in the case of dew condensation, the real-time clock data must be initialized, but in the above-described conventional technology, it is only possible to determine that the oscillation of the oscillation circuit has stopped, and the cause of the oscillation stop is determined. Since it was not possible, there was a problem that it was not known what kind of countermeasures should be taken.

【0012】さらに、上記従来技術は、電源電圧が停電
などで継続的に低下してしまった場合には有効である
が、何らかの原因で電源電圧が瞬間的に低下(瞬断)し
た場合には有効でない。すなわち、電源電圧の瞬断が発
生した場合、それを検出して時計データを無効(クリ
ア)にする必要があるが、上記従来技術ではこのような
瞬断を検出できないという問題点があった。
Further, the above-mentioned prior art is effective when the power supply voltage continuously drops due to a power failure or the like, but is effective when the power supply voltage drops momentarily (for a momentary interruption) for some reason. Not valid. That is, when an instantaneous interruption of the power supply voltage occurs, it is necessary to detect the instantaneous interruption and invalidate (clear) the clock data. However, the above-described conventional technique has a problem that such an instantaneous interruption cannot be detected.

【0013】本発明は、上記問題点を解消し、発振回路
の発振停止を検出し内部データが正確か否かを判別する
とともに、前記従来技術では判定不可能であった発振回
路の発振停止の原因、発振停止に対する対処方法(処置
方法)を決定することが可能なリアルタイム・クロック
装置を提供することを目的としている。
The present invention solves the above problems, detects the oscillation stop of the oscillation circuit, determines whether the internal data is accurate or not, and determines whether the oscillation stop of the oscillation circuit was impossible in the prior art. It is an object of the present invention to provide a real-time clock device capable of determining a cause and a countermeasure (treatment method) for stopping oscillation.

【0014】具体的には、請求項1〜2記載の発明は、
発振回路の発振停止,パワーオン、電源電圧の低下を検
出し、それらの結果により、発振停止の原因、対処方法
を決定することが可能なリアルタイム・クロック装置を
提供することを目的としている。
Specifically, the inventions according to claims 1 and 2 are:
It is an object of the present invention to provide a real-time clock device capable of detecting oscillation stop, power-on, and power supply voltage drop of an oscillation circuit, and determining the cause of the oscillation stop and a countermeasure based on the detected results.

【0015】また、請求項3記載の発明は、その場合の
発振停止検出回路と電源電圧低下検出回路の検出レベル
の条件を与えることを、請求項4記載の発明は、上記各
検出回路を同一半導体チップ内の設けることを、請求項
5記載の発明は、上記各検出回路の検出結果を不揮発的
に保存しておき、後の解析や分析を可能としたリアルタ
イム・クロック装置を提供することを目的としている。
The invention according to claim 3 is to provide the condition of the detection level of the oscillation stop detection circuit and the power supply voltage drop detection circuit in that case. According to a fifth aspect of the present invention, there is provided a real-time clock device in which a detection result of each of the detection circuits is stored in a non-volatile manner so that subsequent analysis and analysis can be performed. The purpose is.

【0016】[0016]

【課題を解決するための手段】上記目的を達成するため
に、請求項1記載の発明は、発振回路(1)のクロック
出力を分周してリアルタイム・クロックを生成するリア
ルタイム・クロック装置において、リアルタイム・クロ
ックを計数するカウンタ(6)と、発振回路(1)のク
ロック出力が停止したか否かを検出する発振停止検出回
路(2)と、パワーオンを検出するパワーオン検出回路
(4)と、電源電圧の低下を検出する電源電圧低下検出
回路(3)と、発振停止検出回路(2)の出力を保持す
る第1の記憶部(REG1)と、パワーオン検出回路
(4)の出力を保持する第2の記憶部(REG3)と、
該電源電圧低下検出回路(3)の出力を保持する第3の
記憶部(REG2)を具備することを特徴としている。
According to a first aspect of the present invention, there is provided a real-time clock device for generating a real-time clock by dividing a clock output of an oscillation circuit. A counter (6) for counting a real-time clock, an oscillation stop detection circuit (2) for detecting whether or not the clock output of the oscillation circuit (1) has stopped, and a power-on detection circuit (4) for detecting power-on A power supply voltage drop detection circuit (3) for detecting a drop in power supply voltage; a first storage unit (REG1) for holding an output of the oscillation stop detection circuit (2); and an output of a power-on detection circuit (4). A second storage unit (REG3) for storing
A third storage unit (REG2) for holding an output of the power supply voltage drop detection circuit (3) is provided.

【0017】請求項2記載の発明は、請求項1記載のリ
アルタイム・クロック装置において、第1の記憶部(R
EG1)の内容と第2の記憶部(REG3)の内容と第
3の記憶部(REG2)の内容に基づいて発振停止の原
因、その後の処理内容を決定する手段(MPU)を設け
たことを特徴としている。
According to a second aspect of the present invention, in the real-time clock device according to the first aspect, the first storage unit (R
EG1), the contents of the second storage unit (REG3) and the contents of the third storage unit (REG2), the cause of the oscillation stop, and the means (MPU) for determining the subsequent processing contents are provided. Features.

【0018】請求項3記載の発明は、請求項1または2
記載のリアルタイム・クロック装置において、電源電圧
の低下により発振回路(1)の発振が停止し発振停止検
出回路(2)によりそれが検出されるときの電源電圧レ
ベルを、電源電圧低下検出器(3)により電源電圧の低
下が検出されるときの電源電圧レベルより低く設定した
ことを特徴としている。
The third aspect of the present invention is the first or second aspect.
In the real-time clock device described above, the power supply voltage level when the oscillation of the oscillation circuit (1) stops due to the decrease of the power supply voltage and the oscillation stop detection circuit (2) detects it is determined by the power supply voltage drop detector (3). ) Is set lower than the power supply voltage level at which the reduction of the power supply voltage is detected.

【0019】請求項4記載の発明は、請求項1から3の
いずれか1項に記載のリアルタイム・クロック装置にお
いて、発振停止検出回路(2)と電源電圧低下検出回路
(3)とパワーオン検出回路(4)を単一の半導体チッ
プ内に設けたことを特徴としている。
According to a fourth aspect of the present invention, in the real-time clock device according to any one of the first to third aspects, the oscillation stop detecting circuit (2), the power supply voltage drop detecting circuit (3), and the power-on detecting circuit are provided. The circuit (4) is provided in a single semiconductor chip.

【0020】請求項5記載の発明は、請求項4記載のリ
アルタイム・クロック装置において、さらに、前記半導
体チップ内に不揮発性のメモリ回路(9)を設け、発振
停止検出回路(2)により発振回路(1)の発振の停止
が検出されるか、電源電圧低下検出回路(3)により電
源電圧の低下が検出されるか、あるいは、パワーオン検
出回路(4)によりパワーオンが検出された場合に、カ
ウンタ(6)の値をメモリ回路(9)に転送して保持す
ることを特徴としている。
According to a fifth aspect of the present invention, in the real-time clock device according to the fourth aspect, a non-volatile memory circuit (9) is further provided in the semiconductor chip, and the oscillation stop detecting circuit (2) provides an oscillation circuit. When the stop of the oscillation of (1) is detected, the power supply voltage drop detection circuit (3) detects the power supply voltage drop, or the power-on detection circuit (4) detects power-on. , The value of the counter (6) is transferred to the memory circuit (9) and held.

【0021】[0021]

【発明の実施の形態】図1は、本発明に係るリアルタイ
ム・クロック装置のブロック構成図である。図1におい
て、1は水晶振動子などの圧電振動子よりクロックを供
給する発振回路、2は発振回路のクロック出力の有無を
判定する発振停止検出回路、3は電源電圧VDDが所定
のレベル以上か以下かを判定する電源電圧低下検出回
路、4は電源の立ち上がりを検出するためのパワーオン
検出回路である。なお、通常はパワーオンが検出された
場合に内部回路をリセット(初期化)するパワーオンリ
セット機構を有しており、この機構とパワーオン検出回
路4を合わせてパワーオンクリア回路を構成している。
FIG. 1 is a block diagram of a real-time clock device according to the present invention. In FIG. 1, reference numeral 1 denotes an oscillation circuit that supplies a clock from a piezoelectric vibrator such as a crystal vibrator, 2 denotes an oscillation stop detection circuit that determines the presence or absence of a clock output from the oscillation circuit, and 3 denotes whether the power supply voltage VDD is higher than a predetermined level. A power supply voltage drop detection circuit 4 for determining whether or not the power supply voltage is below is a power-on detection circuit for detecting a rise of the power supply. In general, a power-on reset mechanism for resetting (initializing) an internal circuit when power-on is detected is provided, and this mechanism and the power-on detection circuit 4 are combined to form a power-on clear circuit. I have.

【0022】また、5は発振回路の出力を分周するため
の分周回路、6は分周回路の出力を計数するタイムカウ
ンタ(秒,分,時,日,曜日,月,年などの時刻データ
に対応)、7は発振停止検出回路2の出力信号を保持す
るレジスタREG1,電源電圧低下検出回路3の出力信
号を保持するレジスタREG2,およびパワーオン検出
回路4の出力信号を保持するレジスタREG3を含むレ
ジスタ群(レジスタREG1〜REG3は、それぞれ個
別のレジスタとして別個に設けてもよいが、RAMなど
の記憶部の一部領域をレジスタとして使用してもよ
い)、8は入出力制御部、9はレジスタREG1〜3の
内容やタイムカウンタ6の内容を待避保持可能なメモリ
回路、10はMPU(マイクロプロセッサユニット)で
ある。タイムカウンタ6,レジスタ群7およびメモリ回
路9の内容は、MPUから入出力制御部8を介して参照
可能となっている。上記各構成部は同一の半導体チップ
上に設けられる。
Reference numeral 5 denotes a frequency dividing circuit for dividing the output of the oscillation circuit, and reference numeral 6 denotes a time counter (second, minute, hour, date, day of the week, month, year, etc.) for counting the output of the frequency dividing circuit. And 7, a register REG holding an output signal of the oscillation stop detection circuit 2, a register REG2 holding an output signal of the power supply voltage drop detection circuit 3, and a register REG3 holding an output signal of the power-on detection circuit 4. (Registers REG1 to REG3 may be separately provided as individual registers, but a partial area of a storage unit such as a RAM may be used as a register), 8 is an input / output control unit, Reference numeral 9 denotes a memory circuit capable of saving and holding the contents of the registers REG1 to REG3 and the content of the time counter 6, and reference numeral 10 denotes an MPU (microprocessor unit). The contents of the time counter 6, the register group 7, and the memory circuit 9 can be referred to from the MPU via the input / output control unit 8. The above components are provided on the same semiconductor chip.

【0023】これらの各ブロックのうち、発振回路1,
発振停止検出回路2,分周回路5は、上記従来技術にお
ける発振回路10,発振検出回路20,分周回路50と
同じである。本発明は、上記従来技術に、新たに、電源
電圧低下検出回路3,パワーオン検出回路4,メモリ回
路9を付加することによって、本発明の上記目的を達成
するようにしたものである。なお、図1におけるタイム
カウンタ6,レジスタ群7は、上記従来技術における論
理回路50に対応するものであるが、上述したように、
図1のレジスタ群7は、発振停止検出回路2,電源電圧
低下検出回路3,およびパワーオン検出回路4のそれぞ
れの出力を保持するように構成されている。
Of these blocks, the oscillation circuits 1 and 2
The oscillation stop detecting circuit 2 and the frequency dividing circuit 5 are the same as the oscillation circuit 10, the oscillation detecting circuit 20, and the frequency dividing circuit 50 in the above-mentioned conventional technology. The present invention achieves the above object of the present invention by newly adding a power supply voltage drop detection circuit 3, a power-on detection circuit 4, and a memory circuit 9 to the above-described conventional technology. Although the time counter 6 and the register group 7 in FIG. 1 correspond to the logic circuit 50 in the above-described conventional technology, as described above,
The register group 7 in FIG. 1 is configured to hold respective outputs of the oscillation stop detection circuit 2, the power supply voltage drop detection circuit 3, and the power-on detection circuit 4.

【0024】図2は、電源電圧低下検出回路3の回路構
成の一例を示す図である。電源電圧低下検出回路3は、
例えば、同図に示すように、電源電圧VDDと接地電位
間に直列に設けられた抵抗R20とR21の接続点から
得られる電源電圧VDDの分割電圧を一方の入力とし、
基準電圧源22から得られる基準電圧VRを他方の入力
とする電圧比較器21から電源電圧低下検出信号VDE
Tを得る回路であり、電源電圧VDDが所定の電圧レベ
ル以上(この場合は、VDDが(R20+R21)VR
/R21以上)の場合にハイレベル(“1”)の電源電
圧低下検出信号VDETを出力する回路である。
FIG. 2 is a diagram showing an example of a circuit configuration of the power supply voltage drop detection circuit 3. As shown in FIG. The power supply voltage drop detection circuit 3
For example, as shown in the figure, a divided voltage of the power supply voltage VDD obtained from a connection point of the resistors R20 and R21 provided in series between the power supply voltage VDD and the ground potential is used as one input,
The power supply voltage drop detection signal VDE is supplied from the voltage comparator 21 having the reference voltage VR obtained from the reference voltage source 22 as the other input.
T is a circuit that obtains a power supply voltage VDD equal to or higher than a predetermined voltage level (in this case, VDD is (R20 + R21) VR
/ R21 or more), a circuit that outputs a high-level (“1”) power supply voltage drop detection signal VDET.

【0025】図3は、パワーオン検出回路4を説明する
ための図であり、同図(a)はその回路構成の一例を、
同図(b)は回路の各点の電圧レベルを示している。パ
ワーオン検出回路4は、例えば、同図(a)に示すよう
に、電源電圧VDDと接地電位間に直列に設けられた抵
抗R30とコンデンサC30の接続点Aから得られる電
源電圧VDDの分割電圧を、同じく電源電圧VDDと接
地電位間に直列に設けられたPチャネルMOSトランジ
スタT1とNチャネルMOSトランジスタT2のゲート
に接続し、PチャネルMOSトランジスタT1とNチャ
ネルMOSトランジスタT2の接続点Bからパワーオン
クリア信号POCを出力する回路である。
FIG. 3 is a diagram for explaining the power-on detection circuit 4. FIG. 3A shows an example of the circuit configuration.
FIG. 3B shows the voltage level at each point of the circuit. The power-on detection circuit 4 is, for example, as shown in FIG. 2A, a divided voltage of the power supply voltage VDD obtained from a connection point A of the resistor R30 and the capacitor C30 provided in series between the power supply voltage VDD and the ground potential. Is connected to the gates of a P-channel MOS transistor T1 and an N-channel MOS transistor T2 which are also provided in series between the power supply voltage VDD and the ground potential, and power is supplied from a connection point B between the P-channel MOS transistor T1 and the N-channel MOS transistor T2. This is a circuit that outputs an on-clear signal POC.

【0026】この回路構成において、同図(b)に示す
ように、電源電圧VDDが0ボルト(接地電位)のとき
A点の電位も0ボルトであり、PチャネルMOSトラン
ジスタT1はオン、NチャネルMOSトランジスタT2
はオフである。電源電圧VDDが0ボルトから立ち上が
り始めるとき、A点の電圧もそれにつれて引き上げら
れ、オン状態のPチャネルMOSトランジスタT1を通
してB点の電圧(すなわちパワーオンクリア信号PO
C)も引き上げられる。しかし、A点の電圧が所定の電
圧を越えた時点で、PチャネルMOSトランジスタT1
がオフになりNチャネルMOSトランジスタT2がON
になり、B点の電圧(パワーオンクリア信号POC)は
0ボルト(接地電位)に低下する。この結果、電源電圧
VDDの立ち上がり時に、パルス状のパワーオンクリア
信号POCが出力される。
In this circuit configuration, as shown in FIG. 2B, when the power supply voltage VDD is 0 volt (ground potential), the potential at the point A is also 0 volt, the P-channel MOS transistor T1 is on, and the N-channel MOS transistor T2
Is off. When the power supply voltage VDD starts rising from 0 volts, the voltage at the point A is also increased accordingly, and the voltage at the point B (that is, the power-on clear signal PO) is passed through the on-state P-channel MOS transistor T1.
C) will also be raised. However, when the voltage at point A exceeds a predetermined voltage, P-channel MOS transistor T1
Turns off and the N-channel MOS transistor T2 turns on
, And the voltage at the point B (the power-on-clear signal POC) drops to 0 volt (ground potential). As a result, when the power supply voltage VDD rises, a pulse-like power-on-clear signal POC is output.

【0027】図4は、本発明における各検出回路の検出
結果と、発振停止の原因とそれに対する対処方法(処置
方法)の関係を示す図である。同図において、POCは
パワーオン検出回路4から出力されるパワーオンクリア
信号、XSTは発振停止検出回路2から出力される発振
停止検出信号、VDETは電源電圧低下検出回路から出
力される電源電圧低下検出信号を表しており、これらの
信号は全てアクティブ時に“1(ハイレベル)”を表す
ものとする。また、“*”は、“1(ハイレベル)”で
も“0(ローレベル)”でもよいことを示している。
FIG. 4 is a diagram showing the relationship between the detection result of each detection circuit according to the present invention, the cause of the oscillation stop, and a countermeasure (treatment method) for the cause. In the figure, POC is a power-on clear signal output from a power-on detection circuit 4, XST is an oscillation stop detection signal output from an oscillation stop detection circuit 2, and VDET is a power supply voltage drop output from a power supply voltage drop detection circuit. The detection signals represent "1 (high level)" when active. “*” Indicates that “1 (high level)” or “0 (low level)” may be used.

【0028】図4は、パワーオンクリア信号POC,発
振停止検出信号XST,電源電圧低下検出信号VDET
それぞれの値、その状態の意味、その状態が生じる要
因、その状態が発生した場合にどのように対処したらよ
いのかを示す対処方法(処置方法)を示している。
FIG. 4 shows a power-on clear signal POC, an oscillation stop detection signal XST, and a power supply voltage drop detection signal VDET.
Each value, the meaning of the state, the cause of the state, and a countermeasure (treatment method) indicating how to cope when the state occurs are shown.

【0029】さらに具体的に説明すると、図4におい
て、(a)は、パワーオンクリア信号POCおよび電源
電圧低下検出信号VDETは“0”であるが、発振停止
検出信号XSTが“1”の場合、すなわち発振だけが停
止した場合であり、この場合の要因としては、結露や異
常ノイズ発生により発振回路が停止したことが考えられ
る。この場合は、発振停止によりデータは正しくなくな
っているので、対処方法(処置方法)としてデータの初
期化を行う必要がある。
More specifically, FIG. 4A shows a case where the power-on clear signal POC and the power supply voltage drop detection signal VDET are "0", but the oscillation stop detection signal XST is "1". That is, it is a case where only the oscillation is stopped. As a factor in this case, it is considered that the oscillation circuit is stopped due to dew condensation or occurrence of abnormal noise. In this case, since the data is no longer correct due to the stop of the oscillation, it is necessary to initialize the data as a countermeasure (treatment method).

【0030】(b)は、パワーオンクリア信号POCは
“0”であるが、発振停止検出信号XSTおよび電源電
圧低下検出信号VDETが“1”の場合、すなわち発振
が停止し電源電圧が低下した場合であり、この場合の要
因としては、バッテリーの消耗が考えられる。この場合
は、消耗したバッテリーを交換するか充電する必要があ
り、さらに、発振の停止と電源電圧の低下によりデータ
は正しくなくなっているので、対処方法(処置方法)と
してデータの初期化を行う必要もある。
In (b), the power-on-clear signal POC is "0", but the oscillation stop detection signal XST and the power supply voltage drop detection signal VDET are "1", that is, the oscillation stops and the power supply voltage drops. This is a case, and the cause of this case may be that the battery is consumed. In this case, it is necessary to replace or charge the depleted battery, and since the data is no longer correct due to the stop of oscillation and the drop in the power supply voltage, it is necessary to initialize the data as a countermeasure (treatment method). There is also.

【0031】(c)は、パワーオンクリア信号POC,
発振停止検出信号XST,および電源電圧低下検出信号
VDETが全て“0”の場合、すなわち上記各検出回路
で全く異常が検出されなかった場合であり、この場合は
リアルタイム・クロック装置が正常であるため、何ら特
別の処置をする必要はない。
(C) shows a power-on clear signal POC,
This is a case where the oscillation stop detection signal XST and the power supply voltage drop detection signal VDET are all "0", that is, a case where no abnormality is detected in each of the above detection circuits. In this case, the real-time clock device is normal. You do not need to take any special measures.

【0032】(d)は、パワーオンクリア信号POCお
よび発振停止検出信号XSTは“0”であるが、電源電
圧低下検出信号VDETが“1”の場合、すなわち電源
電圧の立ち上げがなく発振も継続しているが、電源電圧
が低下した場合であり、この場合の要因としては、バッ
テリーの消耗が考えられる。この場合は、消耗したバッ
テリーを交換するか充電する必要がある。この場合、ま
だデータは正常であるのでデータの初期化を行う必要は
ない。
In (d), the power-on clear signal POC and the oscillation stop detection signal XST are "0", but the power supply voltage drop detection signal VDET is "1", that is, the oscillation does not occur and the oscillation does not occur. Although the power supply voltage continues to decrease, the cause of this case may be that the battery is consumed. In this case, the spent battery needs to be replaced or charged. In this case, since the data is still normal, there is no need to initialize the data.

【0033】(e)は、パワーオンクリア信号POCと
発振停止検出信号XSTがともに“1”である場合であ
り(電源電圧低下検出信号VDETは“1”または
“0”のいずれでもよい)、これは電源の立ち上がりと
発振停止が検出されたことを意味しており、電源を新た
に立ち上げた場合に生じる状態である。この状態が生じ
る要因としては、電源異常の回復後に新たに電源を立ち
上げたり、バッテリを交換した場合などが考えられる。
この場合はデータは正しくなくなっているので、対処方
法(処置方法)としてデータの初期化を行う必要があ
る。
(E) is a case where the power-on clear signal POC and the oscillation stop detection signal XST are both "1" (the power supply voltage drop detection signal VDET may be either "1" or "0"). This means that the rise of the power supply and the stop of the oscillation have been detected, and this is a state that occurs when the power supply is newly started up. Factors that may cause this state include a case where the power is newly turned on after the recovery from the power failure and a case where the battery is replaced.
In this case, since the data has become incorrect, it is necessary to initialize the data as a countermeasure (treatment method).

【0034】(f)は、パワーオンクリア信号POCは
“1”であるが、発振停止検出信号XSTが“0”の場
合であり(電源電圧低下検出信号VDETは“1”また
は“0”のいずれでもよい)、この場合の要因として
は、電源の瞬断が考えられる。電源が短時間だけ瞬間的
に断となっても、発振回路1を構成する水晶振動子の特
性により発振が停止してしまうことはない。この場合
も、電源電圧の低下によりデータは正しくなくなってい
るので、対処方法(処置方法)としてデータの初期化を
行う必要がある。
(F) is a case where the power-on clear signal POC is "1" and the oscillation stop detection signal XST is "0" (the power supply voltage drop detection signal VDET is "1" or "0"). Either case may be considered), and a factor of this case may be an instantaneous interruption of the power supply. Even if the power supply is momentarily turned off for a short time, oscillation does not stop due to the characteristics of the crystal oscillator constituting the oscillation circuit 1. Also in this case, since the data has become incorrect due to a drop in the power supply voltage, it is necessary to initialize the data as a countermeasure (treatment method).

【0035】本実施例では、図4からわかるように、パ
ワーオンクリア信号POC,発振停止検出信号XST,
電源電圧低下検出信号VDETそれぞれの値によって、
発振停止や電源電圧の低下などの各種異常がどのような
原因で生じたかを識別することができ、異常の原因によ
ってその異常に対する対処方法(処置方法)も変わって
くる。
In this embodiment, as can be seen from FIG. 4, the power-on clear signal POC, the oscillation stop detection signal XST,
Depending on the value of the power supply voltage drop detection signal VDET,
It is possible to identify the cause of various abnormalities such as the stop of the oscillation and the drop in the power supply voltage, and the method of dealing with the abnormalities (method of treatment) changes depending on the cause of the abnormalities.

【0036】従って、パワーオンクリア信号POC,発
振停止検出信号XST,電源電圧低下検出信号VDET
それぞれの値をレジスタ群7の各レジスタREG1〜R
EG3に保持し、それらの値をMPU側で認識し解析す
ることにより、異常の状態、異常に対する対処方法(処
置方法)を決定でき、これを表示器などに表示して利用
者に知らせることによりバッテリーの交換や充電などの
対処方法(処置方法)を促したり、または、対処方法が
データの初期化の場合には、MPUで初期化プログラム
を実行することにより自動的にデータの初期化を行わせ
ることも可能になる。
Accordingly, the power-on clear signal POC, the oscillation stop detection signal XST, the power supply voltage drop detection signal VDET
Each value is stored in each of the registers REG1-R of the register group 7.
By storing the values in the EG3 and recognizing and analyzing those values on the MPU side, the state of the abnormality and a method of coping with the abnormality (treatment method) can be determined, and this is displayed on a display device or the like to notify the user. If the countermeasure (treatment method) such as replacement or charging of the battery is prompted, or if the countermeasure is data initialization, the data is automatically initialized by executing the initialization program in the MPU. It is also possible to make it.

【0037】また、タイムカウンタ6の値(秒、分、
時、日、曜日、月、年などのデータに対応)や、レジス
タ群にある各レジスタREG1,REG2,REG3に
保持されている値(POC,XST,VDET)を、例
えば不揮発性のメモリ回路9に転送して保持しておけ
ば、電源断後であっても、必要に応じていつでもMPU
(マイクロプロセッサユニット)側で解析したり、表示
器に表示したり、プリンタに出力したりすることがで
き、異常発生の日時やその状態、対処方法などを分析す
ることが可能となる。
The value of the time counter 6 (second, minute,
The values (POC, XST, VDET) held in the registers REG1, REG2, REG3 in the register group are stored in, for example, a non-volatile memory circuit 9. To the MPU whenever necessary, even after power is turned off.
The data can be analyzed on the (microprocessor unit) side, displayed on a display device, or output to a printer, so that the date and time of occurrence of an abnormality, its state, a coping method, and the like can be analyzed.

【0038】さらに、新たな事象が発生する都度(PO
C,XST,またはVDETの状態が変化する都度)、
そのときのタイムカウンタ6の値と各レジスタREG
1,REG2,REG3に保持されている値(POC,
XST,VDET)を上記メモリ回路9に保持しておく
ことにより、異常発生の時間的な統計を分析することが
でき、異常防止対策にとって極めて有効である。
Further, each time a new event occurs (PO
Each time the state of C, XST or VDET changes),
The value of the time counter 6 at that time and each register REG
1, REG2, REG3 (POC,
By storing (XST, VDET) in the memory circuit 9, it is possible to analyze the time statistic of the occurrence of an abnormality, which is extremely effective for an abnormality prevention measure.

【0039】なお、上述した実施例においては、発振停
止検出回路と電源電圧低下検出回路とパワーオン検出回
路を設け、これら3つの検出回路の出力結果によって処
理方法(処置方法)を決定する例を示したが、発振停止
検出回路とパワーオン検出回路の出力結果により処理方
法(処置方法)を決定するようにすることも可能であ
る。
In the above-described embodiment, an example in which an oscillation stop detection circuit, a power supply voltage drop detection circuit, and a power-on detection circuit are provided, and a processing method (treatment method) is determined based on the output results of these three detection circuits. Although shown, it is also possible to determine the processing method (treatment method) based on the output results of the oscillation stop detection circuit and the power-on detection circuit.

【0040】なお、本実施例では、電源電圧の低下によ
り前記発振回路の発振が停止し前記発振停止検出回路に
よりそれが検出されるときの電源電圧レベルを、前記電
源電圧低下検出器により電源電圧が低下したことが検出
されるときの電源電圧レベルより低く設定している。こ
れは、例えば、電源電圧が徐々に低下した場合、発振停
止検出回路により発振回路のクロック出力が停止しても
電源電圧の低下が検出されないと、誤った時計データを
正しいと認識してしまうなどの誤動作が生じるためであ
る。
In this embodiment, the power supply voltage level when the oscillation of the oscillating circuit stops due to a drop in the power supply voltage and is detected by the oscillation stop detection circuit is determined by the power supply voltage drop detector. Is set lower than the power supply voltage level when it is detected that the power supply voltage has decreased. This is because, for example, when the power supply voltage gradually decreases, the clock stoppage of the oscillation circuit is stopped by the oscillation stop detection circuit, and if the decrease in the power supply voltage is not detected, incorrect clock data is recognized as correct. This is because a malfunction occurs.

【0041】[0041]

【発明の効果】以上述べたように、本発明によれば、発
振回路の発振停止を検出し内部データが正確か否かを判
別するとともに、従来技術では判定不可能であった発振
回路の発振停止の原因、その後の対処方法を決定するこ
とが可能なリアルタイム・クロック装置を実現できる。
As described above, according to the present invention, the stop of the oscillation of the oscillation circuit is detected to determine whether or not the internal data is accurate. It is possible to realize a real-time clock device capable of determining the cause of the stop and the method of coping thereafter.

【0042】具体的には、請求項1〜2記載の発明によ
れば、発振回路の発振停止,パワーオン、電源電圧の低
下を検出し、それらの結果により、発振停止の原因、対
処方法を詳しく決定することが可能となる。
More specifically, according to the first and second aspects of the present invention, the stop of oscillation, power-on, and decrease in power supply voltage of the oscillation circuit are detected. It is possible to determine in detail.

【0043】また、請求項3記載の発明は、その場合に
必要な発振停止検出回路が発振停止を検出するときの電
源電圧レベルと電源電圧低下検出回路が電源電圧の低下
を検出するときの電源電圧レベルの条件を与え、請求項
4および5記載の発明によれば、各検出回路を同一半導
体チップ内の設け、各検出回路の検出結果を同一半導体
チップ上のメモリ回路に不揮発的に保存しておくことが
でき、後の解析や分析が可能になる。
According to a third aspect of the present invention, there is provided a power supply voltage level when the oscillation stop detecting circuit necessary for detecting the oscillation stops and a power supply voltage when the power supply voltage drop detecting circuit detects a drop in the power supply voltage. According to the fourth and fifth aspects of the present invention, each of the detection circuits is provided in the same semiconductor chip, and the detection result of each of the detection circuits is stored in a nonvolatile manner in a memory circuit on the same semiconductor chip. And later analysis and analysis become possible.

【図面の簡単な説明】[Brief description of the drawings]

【図1】本発明に係るリアルタイム・クロック装置のブ
ロック構成図である。
FIG. 1 is a block diagram of a real-time clock device according to the present invention.

【図2】電源電圧低下検出回路の回路構成の一例を示す
図である。
FIG. 2 is a diagram illustrating an example of a circuit configuration of a power supply voltage drop detection circuit.

【図3】パワーオン検出回路を説明するための図であ
る。
FIG. 3 is a diagram illustrating a power-on detection circuit.

【図4】本発明における各検出回路の検出結果と、発振
停止の原因とそれに対する対処方法(処置方法)の関係
を示す図である。
FIG. 4 is a diagram showing a relationship between a detection result of each detection circuit in the present invention, a cause of oscillation stop, and a countermeasure (treatment method) for the cause.

【図5】従来技術で提案されたリアルタイム・クロック
装置の構成を示す図である。
FIG. 5 is a diagram showing a configuration of a real-time clock device proposed in the prior art.

【図6】発振検出回路を説明するための図である。FIG. 6 is a diagram illustrating an oscillation detection circuit.

【符号の説明】[Explanation of symbols]

1:発振回路 2:発振停止検出回路 3:電源電圧低下検出回路 4:パワーオン検出回路 5:分周回路 6:タイムカウンタ 7:レジスタ群 REG1〜REG3:レジスタ 8:入出力制御部 9:メモリ回路 10:MPU(マイクロプロセッサユニット) 21:電圧比較器 22:基準電圧源 100:発振回路 200:発振検出回路 300:発振停止フラグ検出回路 400:分周回路 500:論理回路 1: Oscillation circuit 2: Oscillation stop detection circuit 3: Power supply voltage drop detection circuit 4: Power-on detection circuit 5: Frequency divider circuit 6: Time counter 7: Register group REG1 to REG3: Register 8: I / O controller 9: Memory Circuit 10: MPU (microprocessor unit) 21: Voltage comparator 22: Reference voltage source 100: Oscillation circuit 200: Oscillation detection circuit 300: Oscillation stop flag detection circuit 400: Frequency dividing circuit 500: Logic circuit

───────────────────────────────────────────────────── フロントページの続き (72)発明者 吉中 勝則 東京都大田区中馬込1丁目3番6号 株式 会社リコー内 Fターム(参考) 2F002 AA00 AD03 AD06 AD07 AD08 AE01 CB02 GA04  ────────────────────────────────────────────────── ─── Continued on front page (72) Inventor Katsunori Yoshinaka 1-3-6 Nakamagome, Ota-ku, Tokyo F-term in Ricoh Co., Ltd. (reference) 2F002 AA00 AD03 AD06 AD07 AD08 AE01 CB02 GA04

Claims (5)

【特許請求の範囲】[Claims] 【請求項1】 発振回路のクロック出力を分周してリア
ルタイム・クロックを生成するリアルタイム・クロック
装置において、 前記リアルタイム・クロックを計数するカウンタと、前
記発振回路のクロック出力が停止したか否かを検出する
発振停止検出回路と、パワーオンを検出するパワーオン
検出回路と、電源電圧の低下を検出する電源電圧低下検
出回路と、前記発振停止検出回路の出力を保持する第1
の記憶部と、前記パワーオン検出回路の出力を保持する
第2の記憶部と、該電源電圧低下検出回路の出力を保持
する第3の記憶部を具備することを特徴とするリアルタ
イム・クロック装置。
1. A real-time clock device for generating a real-time clock by dividing the clock output of an oscillation circuit, comprising: a counter for counting the real-time clock; and determining whether or not the clock output of the oscillation circuit has stopped. An oscillation stop detection circuit for detecting power on, a power on detection circuit for detecting power on, a power supply voltage drop detection circuit for detecting a drop in power supply voltage, and a first circuit for holding an output of the oscillation stop detection circuit.
A real-time clock device, comprising: a storage unit for storing the output of the power-on detection circuit; and a third storage unit for storing the output of the power supply voltage drop detection circuit. .
【請求項2】 請求項1記載のリアルタイム・クロック
装置において、 前記第1の記憶部の内容と前記第2の記憶部と前記第3
の記憶部の内容に基づいて、発振停止の原因あるいはそ
の後の処理内容を決定する手段を設けたことを特徴とす
るリアルタイム・クロック装置。
2. The real-time clock device according to claim 1, wherein the contents of said first storage unit, said second storage unit, and said third storage unit are stored.
A means for determining the cause of the oscillation stop or the content of the subsequent processing based on the contents of the storage unit.
【請求項3】 請求項1または2記載のリアルタイム・
クロック装置において、 電源電圧の低下により前記発振回路の発振が停止し前記
発振停止検出回路によりそれが検出されるときの電源電
圧レベルを、前記電源電圧低下検出器により電源電圧が
低下したことが検出されるときの電源電圧レベルより低
く設定したことを特徴とするリアルタイム・クロック装
置。
3. The real-time computer according to claim 1 or 2,
In the clock device, the oscillation of the oscillation circuit stops due to a decrease in the power supply voltage, and the power supply voltage level when the oscillation stop detection circuit detects the oscillation is detected, and the power supply voltage drop detector detects that the power supply voltage has dropped. A real-time clock device which is set to be lower than the power supply voltage level at which the power is supplied.
【請求項4】 請求項1から3のいずれか1項に記載の
リアルタイム・クロック装置において、 前記発振停止検出回路と前記電源電圧低下検出回路と前
記パワーオン検出回路を半導体チップ内に設けたことを
特徴とするリアルタイム・クロック装置。
4. The real-time clock device according to claim 1, wherein the oscillation stop detection circuit, the power supply voltage drop detection circuit, and the power-on detection circuit are provided in a semiconductor chip. A real-time clock device.
【請求項5】 請求項4記載のリアルタイム・クロック
装置において、 さらに、前記半導体チップ内に不揮発性のメモリ回路を
設け、 前記発振停止検出回路により前記発振回路の発振の停止
が検出されるか、前記電源電圧低下検出回路により電源
電圧の低下が検出されるか、あるいは、前記パワーオン
検出回路によりパワーオンが検出された場合に、前記カ
ウンタの値を前記メモリ回路に転送して保持することを
特徴とするリアルタイム・クロック装置。
5. The real-time clock device according to claim 4, further comprising: a non-volatile memory circuit provided in said semiconductor chip, wherein said oscillation stop detection circuit detects oscillation stop of said oscillation circuit. When the decrease in the power supply voltage is detected by the power supply voltage drop detection circuit, or when power-on is detected by the power-on detection circuit, the value of the counter is transferred to the memory circuit and held. Featured real-time clock device.
JP2000036026A 2000-02-15 2000-02-15 Real-time clock device Expired - Fee Related JP3909639B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2000036026A JP3909639B2 (en) 2000-02-15 2000-02-15 Real-time clock device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2000036026A JP3909639B2 (en) 2000-02-15 2000-02-15 Real-time clock device

Publications (2)

Publication Number Publication Date
JP2001228932A true JP2001228932A (en) 2001-08-24
JP3909639B2 JP3909639B2 (en) 2007-04-25

Family

ID=18560124

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2000036026A Expired - Fee Related JP3909639B2 (en) 2000-02-15 2000-02-15 Real-time clock device

Country Status (1)

Country Link
JP (1) JP3909639B2 (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009037456A (en) * 2007-08-02 2009-02-19 Nec Electronics Corp Micro-controller and its control method
JP2009048614A (en) * 2007-07-20 2009-03-05 Epson Toyocom Corp Real time clock and data recording method of real time clock
JP2010074519A (en) * 2008-09-18 2010-04-02 Toshiba Mitsubishi-Electric Industrial System Corp A/d conversion apparatus
US8458506B2 (en) 2007-07-20 2013-06-04 Seiko Epson Corporation Real time clock and method for recording data in real time clock
CN103823506A (en) * 2012-11-16 2014-05-28 核芯科技股份有限公司 Real-time clock frequency correction device
JP2018116588A (en) * 2017-01-20 2018-07-26 セイコーエプソン株式会社 Circuit device, real-time clocking device, electronic apparatus, and vehicle

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009048614A (en) * 2007-07-20 2009-03-05 Epson Toyocom Corp Real time clock and data recording method of real time clock
US8458506B2 (en) 2007-07-20 2013-06-04 Seiko Epson Corporation Real time clock and method for recording data in real time clock
JP2013152733A (en) * 2007-07-20 2013-08-08 Seiko Epson Corp Real time clock and data recording method of real time clock
JP2009037456A (en) * 2007-08-02 2009-02-19 Nec Electronics Corp Micro-controller and its control method
US8296588B2 (en) 2007-08-02 2012-10-23 Renesas Electronics Corporation Microcontroller and control method therefor
US8788854B2 (en) 2007-08-02 2014-07-22 Renesas Electronics Corporation Microcontroller and control method therefor
JP2010074519A (en) * 2008-09-18 2010-04-02 Toshiba Mitsubishi-Electric Industrial System Corp A/d conversion apparatus
CN103823506A (en) * 2012-11-16 2014-05-28 核芯科技股份有限公司 Real-time clock frequency correction device
JP2018116588A (en) * 2017-01-20 2018-07-26 セイコーエプソン株式会社 Circuit device, real-time clocking device, electronic apparatus, and vehicle

Also Published As

Publication number Publication date
JP3909639B2 (en) 2007-04-25

Similar Documents

Publication Publication Date Title
US6728891B2 (en) Method and circuit for performing automatic power on reset of an integrated circuit
US8296588B2 (en) Microcontroller and control method therefor
JP5070297B2 (en) Protection of information contained in electronic circuits
US20050144356A1 (en) Computerized methods for data loggers
KR20060103883A (en) Nonvolatile storage apparatus
US8104690B2 (en) Smart card system and operating method thereof
JP2001228932A (en) Real-time clock device
US11144104B2 (en) Mode selection circuit for low-cost integrated circuits such as microcontrollers
US6894939B2 (en) Data processor, semiconductor memory device and clock frequency detecting method
US20020194510A1 (en) Apparatus and method for bus power measurement in a digital signal processor
US7602195B2 (en) Single pin multi-state identifier using RC timing element
KR20100060212A (en) Integrated circuit device including noise filter
JP2722507B2 (en) Real-time clock device
KR100275134B1 (en) A frequency detector
US11700003B2 (en) Microcontroller, operation system and control method thereof
KR102651277B1 (en) Semiconductor device and operation method
CN109508281A (en) Alarm controller temporal information records system
JPS60201436A (en) Illegal use preventing device of off-line program
EP0406442B1 (en) Data write control means
JPH05218834A (en) Reset circuit
JPS5952324A (en) Detecting circuit for service interruption and its recovery
JP5206254B2 (en) Semiconductor integrated circuit device
JPS6322327B2 (en)
JPH0646374B2 (en) Power supply voltage fluctuation detector
JPH07141076A (en) Semiconductor integrated circuit

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20040517

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20060704

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20060825

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20070105

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20070118

R150 Certificate of patent or registration of utility model

Ref document number: 3909639

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110202

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120202

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130202

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130202

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20140202

Year of fee payment: 7

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313111

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

LAPS Cancellation because of no payment of annual fees