JPH07191159A - Control device with clock function - Google Patents

Control device with clock function

Info

Publication number
JPH07191159A
JPH07191159A JP5331722A JP33172293A JPH07191159A JP H07191159 A JPH07191159 A JP H07191159A JP 5331722 A JP5331722 A JP 5331722A JP 33172293 A JP33172293 A JP 33172293A JP H07191159 A JPH07191159 A JP H07191159A
Authority
JP
Japan
Prior art keywords
time
capacitor
power failure
clock
discharge
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
JP5331722A
Other languages
Japanese (ja)
Other versions
JP2740733B2 (en
Inventor
Ryutaro Miwa
竜太郎 三輪
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.)
Rinnai Corp
Original Assignee
Rinnai Corp
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 Rinnai Corp filed Critical Rinnai Corp
Priority to JP5331722A priority Critical patent/JP2740733B2/en
Publication of JPH07191159A publication Critical patent/JPH07191159A/en
Application granted granted Critical
Publication of JP2740733B2 publication Critical patent/JP2740733B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Electric Clocks (AREA)

Abstract

PURPOSE:To provide an inexpensive control device with a clock function having a simple structure capable of controlling in correspondence to the period of current supply service interruption without backup of large-capacity capacitor even if service interruption occurs when a timer mode is set. CONSTITUTION:This device is composed of clock means 4 indicating a present time, time setting means 5, a capacitor C charged which is discharged upon current supply service interruption, operation control means 1 provided with a timer mode, and memory means for various information. The means 1 is provided with various information writing/reading means 10 to or from the means 8, discharge amount detection means 11 for detecting the discharge amount of the capacitor C, and a judgement means of operation continuation or cancelling according to the timer mode through information stored in the means 8 upon resetting of current supply based on the detection results of the means 11.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、任意に設定した時刻に
被制御機器を制御することができる時計機能を備えた制
御装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a control device having a clock function capable of controlling a controlled device at an arbitrarily set time.

【0002】[0002]

【従来の技術】例えば、時計機能付制御装置が備えられ
ているファンヒータは、使用者が任意の時刻を設定し、
所謂タイマモードにしておくことにより、設定した時刻
にファンヒータの運転を開始或いは停止することが可能
である。この種の時計機能付制御装置は、現在の時刻を
計時する時計手段と、任意の時刻を設定する時刻設定手
段と、現在の時刻が任意に設定した時刻と一致した時に
被制御機器を制御するマイクロコンピュータ等の運転制
御手段とを備えている。
2. Description of the Related Art For example, in a fan heater equipped with a control device with a clock function, a user sets an arbitrary time,
By setting the so-called timer mode, it is possible to start or stop the operation of the fan heater at the set time. A control device with a clock function of this kind controls a controlled device when a clock means for measuring the present time, a time setting means for setting an arbitrary time, and a time when the present time coincides with an arbitrarily set time. An operation control means such as a microcomputer is provided.

【0003】ところで、タイマモードに設定してある時
に停電した場合、時計手段や時刻設定手段への給電が停
止されると、時計手段の時刻や時刻設定手段の時刻が初
期値に戻ってしまい、復電時に現在の時刻と設定時刻と
を再びセットし直さなければならない煩わしさがある。
By the way, in case of a power failure while the timer mode is set, when the power supply to the clock means and the time setting means is stopped, the time of the clock means and the time of the time setting means return to the initial values, When the power is restored, the present time and the set time have to be set again, which is troublesome.

【0004】そこで、前記運転制御手段により、停電時
に、タイマモードの選択の有無を示す情報と、時計手段
の現在の時刻と、時刻設定手段の設定時刻とをEEPR
OM(不揮発性記憶手段)に書き込み、復電時にEEP
ROMからそれらの情報を読み出して、現在の時刻と設
定時刻とを自動的にセットし直すことが望まれる。
Therefore, the operation control means sets the information indicating whether or not the timer mode is selected, the current time of the clock means, and the set time of the time setting means to the EEPR by the operation control means.
Write to OM (non-volatile storage means) and EEP when power is restored
It is desired to read the information from the ROM and automatically reset the present time and the set time.

【0005】しかし、制御装置の給電を0.5秒間バッ
クアップするコンデンサがあれば、停電になった直後
に、タイマモードの選択の有無、現在の時刻、設定時刻
等の情報をEEPROMに書き込むことは可能である
が、停電になっていた時間がわからないため、復電時に
EEPROMに記憶されている情報により時計手段の時
刻と時刻設定手段の時刻とを自動的にセットし直すもの
では、以下に示すような不都合が発生する場合がある。
However, if there is a capacitor that backs up the power supply of the control device for 0.5 seconds, it is not possible to write information such as whether or not the timer mode is selected, the current time, and the set time to the EEPROM immediately after the power failure. It is possible, but since the time during which the power was cut off cannot be known, the following is shown in the case of automatically resetting the time of the clock means and the time of the time setting means by the information stored in the EEPROM when the power is restored. Such inconvenience may occur.

【0006】即ち、停電時間が非常に長かった場合、E
EPROMに記憶されていた時計手段の時刻と復電時の
現在時刻とにズレが生じ、設定時刻が使用者の所望する
時刻よりも大幅に遅れてしまう不都合がある。また、フ
ァンヒータの場合、寒冷期間が過ぎて収納する際、タイ
マモードのまま電源プラグをコンセントから抜くと、次
回の使用時に電源プラグをコンセントに接続したとき復
電時と同一の状態となるため、電源プラグをコンセント
から抜いた時に記憶されたEEPROMの情報に従って
時計手段の時刻と時刻設定手段の時刻とがセットされて
しまい、使用者の意図とは関係なく時刻設定手段の設定
時刻に従ってファンヒータの運転が開始或いは停止され
てしまう。
That is, when the power failure time is very long, E
There is an inconvenience that the time of the clock means stored in the EPROM and the current time at the time of power recovery are deviated, and the set time is significantly delayed from the time desired by the user. Also, in the case of a fan heater, if the power plug is unplugged from the outlet in the timer mode when it is stored after the cold period, it will be in the same state as when the power is restored when the power plug is connected to the outlet the next time it is used. , The time of the clock means and the time of the time setting means are set according to the information of the EEPROM stored when the power plug is unplugged, and the fan heater follows the set time of the time setting means regardless of the user's intention. The operation of will be started or stopped.

【0007】尚、上記のような不都合を解消するため
に、停電時に前記制御装置の給電をバックアップするコ
ンデンサを設け、該コンデンサからの給電により停電中
であっても前記制御装置に通電された状態を維持するよ
うにしたものがある。例えば、少なくとも3分間までの
停電に対応するために、3分間の給電が可能となる容量
のコンデンサを設けることにより、3分以内の停電であ
れば、停電中も現在時間を計時することができる。
In order to eliminate the above-mentioned inconvenience, a capacitor is provided to back up the power supply of the control device at the time of power failure, and the power is supplied to the control device even during power failure. There are some that are designed to maintain. For example, by providing a capacitor having a capacity capable of supplying power for 3 minutes in order to cope with a power failure for at least 3 minutes, the current time can be measured during the power failure if the power failure is within 3 minutes. .

【0008】しかし、一般に、制御装置への給電を3分
間もバックアップできるような大容量コンデンサは、非
常に高価であり、製品のコストが増加する不都合があ
る。
However, generally, a large-capacity capacitor capable of backing up the power supply to the control device for 3 minutes is very expensive, and there is a disadvantage that the cost of the product increases.

【0009】[0009]

【発明が解決しようとする課題】かかる不都合を解消し
て、本発明は、タイマモードが設定されている時に停電
しても、大容量コンデンサのバックアップによることな
く、停電時間の長さに応じた制御を行うことができる、
安価で構成が簡単な時計機能付制御装置を提供すること
を目的とする。
The present invention solves the above inconvenience, and according to the present invention, even if a power failure occurs when the timer mode is set, the present invention can respond to the length of the power failure without backing up the large-capacity capacitor. Control can be done,
It is an object of the present invention to provide a control device with a clock function that is inexpensive and has a simple configuration.

【0010】[0010]

【課題を解決するための手段】かかる目的を達成するた
めに、本発明は、現在の時刻を計時する時計手段と、任
意の時刻を設定する時刻設定手段と、通電時に充電さ
れ、停電時に放電されるコンデンサと、現在の時刻が任
意に設定した時刻と一致した時に被制御機器を所定の動
作に制御するタイマモードが選択可能な運転制御手段
と、タイマモードの選択の有無の情報、時計手段の時刻
の情報、時刻設定手段の設定時刻の情報等を夫々記憶す
る不揮発性の記憶手段とを備え、前記運転制御手段は、
停電時に前記記憶手段へ各情報を書込み、復電時に前記
記憶手段から各情報を読出す情報書込読出手段と、復電
時にコンデンサの放電量を検出する放電量検出手段と、
該放電量検出手段が検出した放電量を所定値と比較し、
タイマモードが選択されており且つ前記コンデンサの放
電量が所定値より小のとき、前記記憶手段に記憶されて
いる停電前の時計手段の時刻と該記憶手段に記憶されて
いる設定時刻とに基づいてタイマモード運転を継続さ
せ、また、タイマモードが選択されており且つ前記コン
デンサの放電量が所定値より大のときタイマモードによ
る運転を解除する判定手段とを備えることを特徴とす
る。
In order to achieve such an object, the present invention provides a clock means for measuring the current time, a time setting means for setting an arbitrary time, a charge when energized, and a discharge when a power failure occurs. And a capacitor, an operation control means capable of selecting a timer mode for controlling the controlled device to a predetermined operation when the current time coincides with an arbitrarily set time, information on whether or not the timer mode is selected, and a clock means. And non-volatile storage means for respectively storing the information of the time of, the information of the set time of the time setting means, the operation control means,
Information writing / reading means for writing each information to the storage means at the time of power failure and reading each information from the storage means at the time of power recovery, and discharge amount detection means for detecting the discharge amount of the capacitor at power recovery,
Comparing the discharge amount detected by the discharge amount detecting means with a predetermined value,
When the timer mode is selected and the discharge amount of the capacitor is smaller than a predetermined value, based on the time of the clock means before the power failure stored in the storage means and the set time stored in the storage means. And a timer mode operation is continued, and when the timer mode is selected and the discharge amount of the capacitor is larger than a predetermined value, the operation unit is canceled in the timer mode.

【0011】本発明においては、前記運転制御手段は、
復電時に前記コンデンサの放電量が所定値より小のと
き、その放電量に応じて停電していた時間を算出する停
電時間算出手段と、該停電時間算出手段が算出した停電
時間を、前記記憶手段に停電時に記憶された前記時計手
段の時刻に加算して該時計手段の時刻を修正する現在時
刻修正手段とを備えてもよい。
In the present invention, the operation control means is
When the amount of discharge of the capacitor at the time of power restoration is smaller than a predetermined value, a power failure time calculating means for calculating a time during which there is a power failure according to the discharge quantity, and a power failure time calculated by the power failure time calculating means are stored in the memory. The means may include a current time adjustment means for adding the time stored in the clock means at the time of power failure to adjust the time of the clock means.

【0012】また、本発明においては、通電時にコンデ
ンサを充電した後、強制的に放電させる強制放電手段を
設け、前記運転制御手段は、該強制放電手段によりコン
デンサを放電させて得られる放電時間と放電量との関係
を示すデータを前記記憶手段に書込み復電時に読出す情
報書込読出手段と、復電時に前記コンデンサの放電量が
所定値より小のとき、その放電量と前記データとに基づ
いて停電していた時間を算出する停電時間算出手段と、
該停電時間算出手段が算出した停電時間を、前記記憶手
段に停電時に記憶された前記時計手段の時刻に加算して
該時計手段の時刻を修正する現在時刻修正手段とを備え
てもよい。
Further, in the present invention, a forced discharge means for forcibly discharging after charging the capacitor during energization is provided, and the operation control means sets the discharge time obtained by discharging the capacitor by the forced discharge means. Information writing / reading means for writing data indicating the relationship with the discharge amount in the storage means and reading it when power is restored, and when the discharge amount of the capacitor is less than a predetermined value at the time of power restoration, the discharge amount and the data are written. A power failure time calculating means for calculating the time of power failure based on
There may be provided current time adjusting means for adding the power failure time calculated by the power failure time calculating means to the time of the clock means stored at the time of power failure in the storage means to correct the time of the clock means.

【0013】更に、前記コンデンサの復電時の放電量
を、該コンデンサの復電時の充電量と基準値との差とす
ることが好ましい。
Further, it is preferable that the amount of discharge of the capacitor at the time of power recovery is the difference between the amount of charge at the time of power recovery of the capacitor and the reference value.

【0014】その場合の前記基準値は、通電開始から所
定時間経過した以降の通電時のコンデンサの充電量であ
るか、或いは、停電直後のコンデンサの充電量であるこ
とが好ましい。
In this case, it is preferable that the reference value is the charged amount of the capacitor at the time of energization after a lapse of a predetermined time from the start of energization or the charged amount of the capacitor immediately after the power failure.

【0015】[0015]

【作用】本発明の制御装置によれば、停電した時、運転
制御手段の情報書込読出手段によってタイマモードの選
択の有無の情報、時計手段の時刻の情報、時刻設定手段
の設定時刻の情報を前記記憶手段に記憶する。停電中、
前記コンデンサは放電され、その充電量が徐々に減少す
る。
According to the control device of the present invention, in the event of a power failure, information on whether or not the timer mode is selected by the information writing / reading means of the operation control means, time information of the clock means, and information of the set time of the time setting means. Is stored in the storage means. During a power outage,
The capacitor is discharged and its charge gradually decreases.

【0016】復電した時、運転制御手段の情報書込読出
手段によって前記記憶手段からタイマモードの選択の有
無の情報を読み出すと共に、放電量検出手段によってコ
ンデンサの放電量を検出する。そして、停電前にタイマ
モードが選択されており、且つ、判定手段による比較結
果が前記コンデンサの放電量が所定値よりも小さい場合
は、前記記憶手段に記憶されていた停電前の時計手段の
時刻を復電時の現在時間とみなし、その現在時刻と停電
前に設定されて記憶手段に記憶されていた時刻設定手段
の設定時刻とが一致したときに被制御機器を所定の動作
に制御するタイマモードの運転を復帰させる。
When the power is restored, the information writing / reading means of the operation control means reads the information on the presence / absence of selection of the timer mode from the storage means, and the discharge amount detecting means detects the discharge amount of the capacitor. When the timer mode is selected before the power failure and the comparison result by the determination means is that the discharge amount of the capacitor is smaller than the predetermined value, the time of the clock means before the power failure stored in the storage means. Is regarded as the current time at the time of power recovery, and when the current time matches the time set by the time setting means set before the power failure and stored in the storage means, the timer for controlling the controlled device to a predetermined operation Restore mode operation.

【0017】一方、停電前にタイマモードが選択されて
おり、且つ、判定手段による比較結果が前記コンデンサ
の放電量が所定値よりも大きい場合は、比較的長時間の
停電であり、例えば、被制御機器を収納するために長期
間にわたって電源プラグをコンセントから外したとみな
して、タイマモードによる運転を解除する。
On the other hand, when the timer mode is selected before the power failure and the comparison result by the judging means indicates that the discharge amount of the capacitor is larger than the predetermined value, the power failure is relatively long and, for example, Assuming that the power plug was removed from the outlet for a long time to accommodate the control equipment, the operation in timer mode is canceled.

【0018】また、本発明の制御装置においては、復電
した時、放電量検出手段によって検出されたコンデンサ
の放電量が所定値よりも小さい場合は、停電時間算出手
段によってその放電量に応じて停電していた時間を算出
する。そして、現在時刻修正手段によって、記憶手段に
停電時に記憶された前記時計手段の時刻に停電時間算出
手段が算出した停電時間を加算し、時計手段の時刻を修
正する。
Further, in the control device of the present invention, when the discharge amount of the capacitor detected by the discharge amount detecting means is smaller than the predetermined value when the power is restored, the power failure time calculating means determines the discharge amount according to the discharge amount. Calculate the time during which there was a power outage. Then, the current time correction means adds the power failure time calculated by the power failure time calculation means to the time of the clock means stored in the storage means at the time of power failure, and corrects the time of the clock means.

【0019】また、本発明の制御装置においては、先
ず、強制放電手段によって初期通電時にコンデンサが十
分に充電された時点で該コンデンサを強制的に放電させ
る。そのときの放電時間と放電量との関係を示すデータ
を情報書込読出手段によって記憶手段に書き込んでお
く。そして、前記データの採取が終了したとき、再びコ
ンデンサを充電させる。
Further, in the control device of the present invention, first, the capacitor is forcibly discharged when the capacitor is sufficiently charged at the time of initial energization by the forced discharge means. Data indicating the relationship between the discharge time and the discharge amount at that time is written in the storage means by the information writing / reading means. Then, when the collection of the data is completed, the capacitor is charged again.

【0020】そして、復電した時、放電量検出手段によ
って検出されたコンデンサの放電量が所定値より小さい
場合、停電時間算出手段によってその放電量と前記デー
タとに基づいて停電していた時間を算出する。そして、
現在時刻修正手段によって、記憶手段に停電時に記憶さ
れた前記時計手段の時刻に停電時間算出手段が算出した
停電時間を加算し、時計手段の時刻を修正する。
When the power is restored and the discharge amount of the capacitor detected by the discharge amount detecting means is smaller than a predetermined value, the power failure time calculating means determines the time during which the power is out based on the discharge quantity and the data. calculate. And
The present time correction means adds the power failure time calculated by the power failure time calculation means to the time of the clock means stored in the storage means at the time of power failure, and corrects the time of the clock means.

【0021】本発明の制御装置におけるコンデンサの放
電量は、基準値と復電時に検出したコンデンサの充電量
との差によって求められる。
The discharge amount of the capacitor in the control device of the present invention is obtained by the difference between the reference value and the charge amount of the capacitor detected at the time of power recovery.

【0022】前記基準値は、通電開始から所定時間経過
した以降の通電時のコンデンサの充電量であり、即ち、
コンデンサが十分に充電されたときの充電量である。或
いは、前記基準値は、停電直後のコンデンサの充電量で
あり、即ち、コンデンサが放電を開始する時の充電量で
ある。
The reference value is the charged amount of the capacitor during energization after a lapse of a predetermined time from the start of energization, that is,
It is the amount of charge when the capacitor is fully charged. Alternatively, the reference value is the charge amount of the capacitor immediately after the power failure, that is, the charge amount when the capacitor starts discharging.

【0023】[0023]

【実施例】本発明の実施例を図面に基づいて説明する。Embodiments of the present invention will be described with reference to the drawings.

【0024】図1は本発明の一実施例の概略構成を示す
ブロック図、図2は図1の要部を示す回路図、図3は他
の実施例の要部の回路図である。
FIG. 1 is a block diagram showing a schematic structure of an embodiment of the present invention, FIG. 2 is a circuit diagram showing an essential part of FIG. 1, and FIG. 3 is a circuit diagram of an essential part of another embodiment.

【0025】本実施例の時計機能付制御装置は、例え
ば、図示しないファンヒータに備えられて該ファンヒー
タの動作を制御するものである。
The control device with a timepiece function of this embodiment is provided, for example, in a fan heater (not shown) and controls the operation of the fan heater.

【0026】該時計機能付制御装置は、図1に示すよう
に、マイクロコンピュータ等によって時計機能の動作を
制御する運転制御手段であるタイマモードの制御部1
と、ファンヒータの動作自体を制御するファンヒータの
制御部2とによって構成されている。ファンヒータの制
御部2には、後述するタイマモードと非タイマモードで
ある通常運転モードとを選択するモード選択部3が設け
られている。タイマモードとは、希望する時刻にファン
ヒータの運転を開始或いは停止させる時限制御モードで
あり、通常運転モードとは、タイマモードによる運転以
外の運転モードである。
As shown in FIG. 1, the control device with a clock function is a timer mode control unit 1 which is an operation control means for controlling the operation of the clock function by a microcomputer or the like.
And a fan heater controller 2 that controls the operation itself of the fan heater. The control unit 2 of the fan heater is provided with a mode selection unit 3 that selects a timer mode and a normal operation mode that is a non-timer mode, which will be described later. The timer mode is a timed control mode for starting or stopping the operation of the fan heater at a desired time, and the normal operation mode is an operation mode other than the operation in the timer mode.

【0027】タイマモードの制御部1には、図1に示す
ように、現在の時刻を計時する時計手段4と、任意の時
刻を設定する時刻設定手段5とが設けられている。時計
手段4は現在の時刻を表示する現在時刻表示部6を、時
刻設定手段5は設定した時刻を表示する設定時刻表示部
7を夫々備えている。また、タイマモードの制御部1に
は、通電されているときに充電され、停電時に放電され
るコンデンサCが設けられている。該コンデンサCは、
タイマモードの制御部1の給電をバックアップするため
のものではなく、後述するように放電量を検出するもの
であるため、その容量はバックアップ用に比べて小さい
ものでよい。更に、タイマモードの制御部1には、不揮
発性の記憶手段であるEEPROM8が設けられてい
る。
As shown in FIG. 1, the control unit 1 in the timer mode is provided with clock means 4 for measuring the current time and time setting means 5 for setting an arbitrary time. The clock means 4 includes a current time display section 6 that displays the current time, and the time setting means 5 includes a set time display section 7 that displays the set time. Further, the control unit 1 in the timer mode is provided with a capacitor C that is charged when energized and discharged when a power failure occurs. The capacitor C is
Since it is not for backing up the power supply of the control unit 1 in the timer mode but for detecting the discharge amount as described later, its capacity may be smaller than that for backup. Further, the timer mode control unit 1 is provided with an EEPROM 8 which is a non-volatile storage means.

【0028】尚、停電等によって電気の供給が停止した
場合であっても0.5秒間タイマモードの制御部1への
通電状態を維持するためにコンデンサ(図示しない)等
のバックアップ手段を備えている。
A backup means such as a capacitor (not shown) is provided to maintain the energized state of the control unit 1 in the timer mode for 0.5 seconds even when the supply of electricity is stopped due to a power failure or the like. There is.

【0029】各部を更に詳細に説明すれば、図1に示す
ように、前記タイマモードの制御部1は、停電検出部
9、情報書込読出部10、放電量検出部11、判定部1
2、停電時間算出部13、現在時刻修正部14を備えて
いる。停電検出部9は、停電となったことを検出すると
共に復電されたことを検出する。情報書込読出部10
は、停電があったとき、モード選択部3の選択モードの
情報、時計手段4の時刻情報、時刻設定手段5の時刻情
報、後述するコンデンサCの放電データをEEPROM
8に書き込むと共に、復電したときに、EEPROM8
からそれらの情報を読み出すものである。放電量検出部
11は、前記コンデンサCの放電量を検出するものであ
る。ここで、本実施例においては、コンデンサCへの通
電開始から所定時間経過した以降の通電時のコンデンサ
Cの充電量、即ちコンデンサCが十分に充電されたとき
の充電量を基準値として、その基準値と復電時のコンデ
ンサCの充電量との差をもってコンデンサCの放電量と
している。尚、この基準値を、停電直後のコンデンサC
の充電量としてもよい。
Each part will be described in more detail. As shown in FIG. 1, the control part 1 in the timer mode includes a power failure detecting part 9, an information writing / reading part 10, a discharge amount detecting part 11, and a judging part 1.
2. A power failure time calculation unit 13 and a current time correction unit 14 are provided. The power failure detection unit 9 detects that a power failure has occurred and that the power has been restored. Information writing / reading unit 10
When there is a power failure, the EEPROM stores the information on the selection mode of the mode selection unit 3, the time information of the clock means 4, the time information of the time setting means 5, and the discharge data of the capacitor C described later.
When writing to 8 and power is restored, EEPROM8
The above information is read from. The discharge amount detector 11 detects the discharge amount of the capacitor C. Here, in the present embodiment, the charge amount of the capacitor C at the time of energization after a lapse of a predetermined time from the start of energization of the capacitor C, that is, the charge amount when the capacitor C is sufficiently charged is set as a reference value, and The discharge amount of the capacitor C is defined as the difference between the reference value and the charge amount of the capacitor C at power recovery. In addition, this reference value is used as the capacitor C immediately after the power failure.
May be the charge amount of

【0030】また、判定部12は、放電量検出部11が
検出したコンデンサCの放電量と所定値との大小によっ
て、タイマモードによる運転の継続或いはタイマモード
の解除を行うものである。停電時間算出部13は、復電
時のコンデンサCの放電量を基にして停電時間を求める
ものである。そして、現在時刻修正部14は、停電時間
算出部13の求めた停電時間に基づいて時計手段4の時
刻を修正するものである。
Further, the judging unit 12 continues the operation in the timer mode or cancels the timer mode depending on the magnitude of the discharge amount of the capacitor C detected by the discharge amount detecting unit 11 and the predetermined value. The power failure time calculation unit 13 calculates the power failure time based on the discharge amount of the capacitor C at the time of power recovery. Then, the current time correction unit 14 corrects the time of the clock means 4 based on the power failure time calculated by the power failure time calculation unit 13.

【0031】また、図1に示すように、コンデンサCに
は、通電時に充電された該コンデンサCから強制的に放
電させる強制放電手段15が設けられている。該強制放
電手段15を含めて該コンデンサCに付加された回路を
説明すれば、図2に示すように、R1 は充電抵抗であ
り、R2 は放電抵抗である。Tr1 は復電時にコンデン
サCの電圧を放電量検出部11に入力する入力制御トラ
ンジスタである。放電量の検出は具体的にはCPUによ
る作業であってその入力ポートにA/D入力ポートを使
用する。充電抵抗R1 によりコンデンサCが約3分で十
分に充電される。またTr2 は強制放電手段15として
の充放電制御トランジスタであり、通電時にコンデンサ
Cへの充電及び放電を制御する。充放電制御トランジス
タTr2 は、通電時にコンデンサCが十分に充電された
時点(本実施例では通電開始5分後)で該コンデンサC
を強制的に放電させるが、そのときの放電時間と放電量
との関係を示すデータをCPUによって処理した後、情
報書込読出部10によってEEPROM8のデータ記憶
部16に書き込まれる。このときのデータは、3分間に
おける10秒経過毎のコンデンサCの充電電圧をCPU
によってバイアスをコントロールされる入力用トランジ
スタTr1 によりA/D入力する。これにより、データ
記憶部16には10秒毎のコンデンサCの充電電圧値に
相当する18個のデータが記憶される。データの採取が
終了したとき、充放電制御トランジスタTr2 は、再び
コンデンサCを充電させる。
Further, as shown in FIG. 1, the capacitor C is provided with a forced discharge means 15 for forcibly discharging the charged capacitor C when energized. Explaining the circuit added to the capacitor C including the forced discharging means 15, R 1 is a charging resistor and R 2 is a discharging resistor, as shown in FIG. Tr 1 is an input control transistor that inputs the voltage of the capacitor C to the discharge amount detection unit 11 at the time of power recovery. Specifically, the discharge amount is detected by the CPU, and the A / D input port is used as its input port. The capacitor C is fully charged by the charging resistor R 1 in about 3 minutes. Further, Tr 2 is a charge / discharge control transistor as the forced discharge means 15, and controls charging and discharging of the capacitor C when energized. The charge / discharge control transistor Tr 2 is charged at the time when the capacitor C is sufficiently charged during energization (in this embodiment, 5 minutes after the start of energization).
Is forcibly discharged, the data indicating the relationship between the discharge time and the discharge amount at that time is processed by the CPU, and then written in the data storage unit 16 of the EEPROM 8 by the information writing / reading unit 10. The data at this time is the charging voltage of the capacitor C every 10 seconds in 3 minutes
A / D is input by the input transistor Tr 1 whose bias is controlled by. As a result, the data storage unit 16 stores 18 pieces of data corresponding to the charging voltage value of the capacitor C every 10 seconds. When the data collection is completed, the charge / discharge control transistor Tr 2 charges the capacitor C again.

【0032】次に、本実施例の制御装置の作動を説明す
る。先ず、初期通電後、上述したように強制放電手段1
5によって十分に充電されたコンデンサCを強制的に放
電させ、前記データを情報書込読出部10によってEE
PROM8のデータ記憶部16に書き込んだ後、再びコ
ンデンサCを充電させる。
Next, the operation of the control device of this embodiment will be described. First, after the initial energization, the forced discharge means 1 as described above.
5, the capacitor C sufficiently charged by 5 is forcibly discharged, and the data is read and written by the information writing / reading unit 10.
After writing to the data storage unit 16 of the PROM 8, the capacitor C is charged again.

【0033】停電した時、情報書込読出部10によっ
て、モード選択部3の選択モードの情報、時計手段4の
時刻情報、時刻設定手段5の時刻情報をEEPROM8
の各部に書き込む。尚、EEPROM8への書き込み
は、前記バックアップ手段(図示しない)により通電状
態に維持されている0.5秒間の間に行われる。停電
中、前記コンデンサCは放電され、その充電量が徐々に
減少する。
When a power failure occurs, the information writing / reading unit 10 causes the EEPROM 8 to display information on the selected mode of the mode selecting unit 3, time information of the clock means 4, and time information of the time setting means 5.
Write in each part of. Note that writing to the EEPROM 8 is performed during the 0.5 second period in which the backup means (not shown) maintains the energized state. During a power failure, the capacitor C is discharged and the amount of charge is gradually reduced.

【0034】そして、復電した時、情報書込読出部10
によってEEPROM8のモード記憶部17から選択モ
ードの情報を読み出すと共に、放電量検出部11によっ
てコンデンサCの放電量を検出する。これにより、停電
前にタイマモードが選択されていた場合には、先ず、放
電量検出部11が検出したコンデンサCの充電電圧値
と、EEPROM8のデータ記憶部16に記憶されてい
る18個のデータとの対比を判定部12によって行う。
そして、復電時のコンデンサCの充電電圧値が18個の
データのうち3分に対応するデータよりも小さい場合に
は、停電時間算出部13によって18個のデータのうち
で最も近い値を見出し、そのデータに対応する時間を停
電時間とする。次いで、現在時刻修正部14は、EEP
ROM8の現在時刻記憶部18に記憶されている停電時
の時計手段4の時刻に、停電時間算出部13によって見
出された停電時間を加算して時計手段4の時刻を修正す
る。このように、復電後に再び時計手段4の時刻をセッ
トし直す必要がなく、しかも、コンデンサCに製品上の
バラツキがあっても、使用されているコンデンサCにつ
いての放電時間と放電量との関係を示すデータを基に停
電時間を算出するので、極めて正確に時計手段4の時刻
を修正することができる。そして、現在時刻修正部14
によって修正された時計手段4の時刻及びEEPROM
8の設定時刻記憶部19に記憶されていた設定時刻に従
って時計手段4及び時刻設定手段5を自動的にセット
し、タイマモードによる運転を復帰させる。
When power is restored, the information writing / reading unit 10
The information of the selected mode is read from the mode storage unit 17 of the EEPROM 8 and the discharge amount detection unit 11 detects the discharge amount of the capacitor C. Accordingly, when the timer mode is selected before the power failure, first, the charging voltage value of the capacitor C detected by the discharge amount detection unit 11 and the 18 data stored in the data storage unit 16 of the EEPROM 8 are stored. The determination unit 12 performs the comparison with.
Then, when the charging voltage value of the capacitor C at power recovery is smaller than the data corresponding to 3 minutes of the 18 data, the power failure time calculation unit 13 finds the closest value among the 18 data. , The time corresponding to the data is the power failure time. Next, the current time correction unit 14 causes the EEP
The time of the clock means 4 is corrected by adding the power failure time found by the power failure time calculation section 13 to the time of the clock means 4 at the time of power failure stored in the current time storage section 18 of the ROM 8. As described above, it is not necessary to reset the time of the clock means 4 again after the power is restored, and even if the capacitor C has a variation in the product, the discharge time and the discharge amount of the used capacitor C are Since the power failure time is calculated based on the data indicating the relationship, the time of the clock means 4 can be corrected extremely accurately. Then, the current time correction unit 14
Time and EEPROM of clock means 4 modified by
The clock means 4 and the time setting means 5 are automatically set according to the set time stored in the set time storage section 19 of No. 8, and the operation in the timer mode is restored.

【0035】一方、停電前にタイマモードが選択されて
いない場合、又は、タイマモードが選択されていても、
放電量検出部11が検出したコンデンサCの充電電圧値
がEEPROM8のデータ記憶部16に記憶されている
18個のデータのうち3分に対応するデータよりも小さ
い場合には、例えば、被制御機器を収納するために長期
間にわたって電源プラグをコンセントから外したときの
ように、比較的長時間の停電であるため、判定部12
は、通常運転モードによる運転を設定する。これによ
り、長い期間にわたってファンヒータの電源プラグをコ
ンセントから外した後に、再びファンヒータの運転を開
始しても、タイマモードによる不意な運転開始や停止を
確実に防止することができる。
On the other hand, when the timer mode is not selected before the power failure, or even when the timer mode is selected,
When the charging voltage value of the capacitor C detected by the discharge amount detection unit 11 is smaller than the data corresponding to 3 minutes out of the 18 data stored in the data storage unit 16 of the EEPROM 8, for example, the controlled device Since the power outage is a relatively long time, such as when the power plug is removed from the outlet for a long time to store the
Sets the operation in the normal operation mode. As a result, even if the fan heater is restarted after the power plug of the fan heater is disconnected from the outlet for a long period of time, it is possible to reliably prevent an unexpected start or stop of the operation in the timer mode.

【0036】尚、本実施例においては、上述したよう
に、コンデンサCの放電時間と放電量との関係を示すデ
ータを基に停電時間を算出することによって極めて正確
な時計手段の補正を実現しているが、このようなデータ
を採取しない場合であっても、復電時のコンデンサCの
充電量から、ある程度正確な停電時間を推測することは
可能となる。即ち、図3に示すように、図2に示した充
放電制御トランジスタTr2 を設けない場合には、放電
抵抗R2 によって3分でコンデンサCの放電を完了させ
低レベルに達するようにする。これによって、先ず、通
電時に十分に充電されたコンデンサCの充電量をCPU
のA/Dポートに入力し、その入力値をEEPROM8
のデータ記憶部16に記憶しておく。そして復電直後に
コンデンサCの充電量をCPUのA/Dポートに入力す
る。このとき、所定値以上の高レベルなら3分未満の停
電であり、所定値未満の低レベルなら3分以上の停電で
あることがわかる。そこで、3分以上の停電であった場
合には、タイマモードを解除する。また、3分未満の停
電であった場合には、タイマモードによる運転を復帰さ
せるが、それに先立って、停電時間算出部13によって
データ記憶部16に記憶されている停電前のコンデンサ
Cの充電量と復電直後のコンデンサCの充電量との差を
求め、その値から停電時間の推定値を算出する。本発明
者等の試験結果では、このときに算出された停電時間は
実際の停電時間に対して±30秒であった。この算出結
果を基に、前述した実施例と同様にして時計手段4の時
刻を修正すればよい。この場合には、前記実施例に比べ
て修正された時計手段4の時刻の精度が多少悪化する
が、図1に示した強制放電手段15は不要となるため、
更に安価に構成することができる。
In this embodiment, as described above, the power failure time is calculated on the basis of the data showing the relationship between the discharge time and the discharge amount of the capacitor C to realize the extremely accurate correction of the clock means. However, even if such data is not collected, it is possible to estimate the power failure time to some extent from the charge amount of the capacitor C at the time of power recovery. That is, as shown in FIG. 3, when the charge / discharge control transistor Tr 2 shown in FIG. 2 is not provided, the discharge of the capacitor C is completed in 3 minutes by the discharge resistor R 2 and the low level is reached. As a result, first, the amount of charge of the capacitor C that has been sufficiently charged when energized is calculated by the CPU.
Input to the A / D port of the
It is stored in the data storage unit 16 of FIG. Immediately after power recovery, the charge amount of the capacitor C is input to the A / D port of the CPU. At this time, it can be seen that if the level is higher than a predetermined value, the power failure is less than 3 minutes, and if the level is lower than the predetermined value, the power failure is more than 3 minutes. Therefore, if there is a power failure for 3 minutes or more, the timer mode is released. Further, when the power failure is less than 3 minutes, the operation in the timer mode is restored, but prior to that, the charge amount of the capacitor C stored in the data storage unit 16 by the power failure time calculation unit 13 before the power failure. And the charge amount of the capacitor C immediately after power recovery are calculated, and the estimated value of the power failure time is calculated from the difference. According to the test results of the present inventors, the power failure time calculated at this time was ± 30 seconds with respect to the actual power failure time. Based on this calculation result, the time of the clock means 4 may be corrected in the same manner as in the above-mentioned embodiment. In this case, the accuracy of the time of the clock means 4 which has been corrected is slightly deteriorated as compared with the above embodiment, but the forced discharge means 15 shown in FIG.
Further, the cost can be reduced.

【0037】また、3分以上の停電であった場合にはタ
イマモードを解除し、3分未満の停電であった場合には
タイマモードによる運転を復帰するように制御するだけ
であるなら、前記の各実施例のように時計手段4の時刻
を修正を行わなくてもよいことも考えられる。使用者が
所望する時刻に対して作動する時刻が遅れたとしても、
最大の遅れは3分であるので、それほど支承がない場合
もあるからである。この場合には、図3に示すように、
放電抵抗R2 によって3分でコンデンサCの放電を完了
させ低レベルに達するようにし、復電直後にコンデンサ
Cの充電量をCPUのA/Dポートに入力する。そし
て、判定部12によって、入力レベルが高レベルなら3
分未満の停電であり、低レベルなら3分以上の停電であ
ることを判定すればよい。そして、3分未満の停電で合
った場合には、判定部12は、停電時にEEPROM8
に記憶された時計手段4の停電前の時刻を現在時刻とみ
なし、同じくEEPROM8に記憶された時刻設定手段
5の設定時刻に前記現在時刻が一致したときにファンヒ
ータの駆動開始或いは停止させるタイマモードを復帰さ
せる。これによると、復電後の時計手段4の時刻には最
大3分の遅れが生じるが、図1に示した強制放電手段1
5をはじめ、停電時間算出部13、現在時刻修正部1
4、EEPROM8のデータ記憶部16は不要となり、
更に安価に且つ構造簡単に構成することができる。
Further, if it is only necessary to cancel the timer mode when the power failure is 3 minutes or more and to restore the operation in the timer mode when the power failure is less than 3 minutes, It is conceivable that the time of the clock means 4 does not have to be corrected as in each of the embodiments. Even if the operation time is delayed with respect to the time desired by the user,
Because the maximum delay is 3 minutes, there are cases where there is not much support. In this case, as shown in FIG.
The discharge resistance R 2 completes the discharge of the capacitor C in 3 minutes to reach a low level, and the charge amount of the capacitor C is input to the A / D port of the CPU immediately after the power is restored. Then, if the input level is high, the determination unit 12 determines that the value is 3
It is determined that the power outage is less than a minute, and if the power level is low, the power outage is 3 minutes or more. When the power failure for less than 3 minutes is satisfied, the determination unit 12 determines that the EEPROM 8
A timer mode in which the time before the power failure of the clock means 4 stored in 1 is regarded as the current time, and when the current time matches the set time of the time setting means 5 also stored in the EEPROM 8, the fan heater is started or stopped. To return. According to this, the time of the clock means 4 after power recovery is delayed by a maximum of 3 minutes, but the forced discharge means 1 shown in FIG.
5, power failure time calculation unit 13, current time correction unit 1
4. The data storage section 16 of the EEPROM 8 is no longer needed,
Further, it can be constructed at low cost and with a simple structure.

【0038】[0038]

【発明の効果】以上のことから明らかなように、本発明
の時計機能付制御装置は、復電した時、停電時にタイマ
モードの選択の有無の情報、時計手段の時刻の情報、時
刻設定手段の設定時刻の情報を記憶した前記記憶手段か
ら、タイマモードの選択の有無の情報を読み出すと共
に、放電量検出手段によってコンデンサの放電量を検出
し、停電前にタイマモードが選択されており且つ判定手
段による比較結果が前記コンデンサの放電量が所定値よ
りも小さい場合は、前記記憶手段に記憶されている時計
手段の時刻の情報と時刻設定手段の設定時刻の情報とに
従ってタイマモードによる運転を復帰させるので、停電
があるたびに時計手段と時刻設定手段とをセットし直す
煩わしさを解消することができる。
As is apparent from the above, the control device with a timepiece function of the present invention has information on whether or not the timer mode is selected at the time of power recovery or power failure, time information of the clock means, and time setting means. The information indicating whether or not the timer mode is selected is read from the storage means that stores the information about the set time, and the discharge amount detecting means detects the discharge amount of the capacitor to determine whether the timer mode is selected before the power failure. If the comparison result by the means is that the discharge amount of the capacitor is smaller than the predetermined value, the operation in the timer mode is restored according to the time information of the clock means and the information of the set time of the time setting means stored in the storage means. Therefore, it is possible to eliminate the trouble of resetting the clock means and the time setting means each time there is a power failure.

【0039】更に、停電前にタイマモードが選択されて
おり、且つ、判定手段による比較結果が前記コンデンサ
の放電量が所定値よりも大きい場合は、タイマモードに
よる運転を解除するので、比較的長時間の停電のとき、
例えば、被制御機器を収納するために長期間にわたって
電源プラグをコンセントから外した場合であっても、次
回の使用時に電源プラグをコンセントに接続したとき使
用者の意図に反して時刻設定手段の設定時刻に従ってフ
ァンヒータの運転が開始或いは停止されることを確実に
防止することができる。
Further, when the timer mode is selected before the power failure and the comparison result by the determination means is that the discharge amount of the capacitor is larger than the predetermined value, the operation in the timer mode is canceled, so that the operation is relatively long. At the time of power outage,
For example, even if the power plug is removed from the outlet for a long period of time to house the controlled device, the time setting means will be set against the user's intention when the power plug is connected to the outlet during the next use. It is possible to reliably prevent the operation of the fan heater from being started or stopped according to the time.

【0040】また、本発明の時計機能付制御装置は、復
電した時、コンデンサの放電量が所定値よりも小さい場
合は、停電時間算出手段によってその放電量に応じて停
電していた時間を算出し、現在時刻修正手段によって、
記憶手段に停電時に記憶された前記時計手段の時刻に停
電時間算出手段が算出した停電時間を加算し、時計手段
の時刻を修正するので、セットのし直し等の煩わしさを
解消するだけでなく、正確な時計手段の時刻の修正を行
い、被制御機器の運転状態を制御できる。
Further, in the control device with a timepiece function of the present invention, when the amount of discharge of the capacitor is smaller than the predetermined value when the power is restored, the time during which the power is cut off is calculated by the power failure time calculating means according to the amount of discharge. Calculated, by the current time adjustment means,
Since the time of the clock means is corrected by adding the power failure time calculated by the power failure time calculating means to the time of the clock means stored in the storage means at the time of the power failure, not only the trouble of resetting the set is eliminated. The time of the clock means can be corrected accurately and the operating state of the controlled device can be controlled.

【0041】また、本発明の時計機能付制御装置は、強
制放電手段を設けて、コンデンサを強制的に放電させ、
そのときの放電時間と放電量との関係を示すデータを情
報書込読出手段によって記憶手段に記憶させ、復電した
時、停電時間算出手段によってその放電量と前記データ
とに基づいて停電していた時間を算出するので、現在時
刻修正手段による時計手段の時刻の修正を極めて正確に
行うことができる。
Further, the control device with a timepiece function of the present invention is provided with the forced discharge means to forcibly discharge the capacitor,
Data indicating the relationship between the discharge time and the discharge amount at that time is stored in the storage unit by the information writing / reading unit, and when the power is restored, the power failure time calculating unit causes a power failure based on the discharge amount and the data. Since the calculated time is calculated, the time of the clock means can be corrected very accurately by the current time correction means.

【0042】また、前記のように、放電量を検出するた
めのコンデンサを設けたので、停電時のバックアップ用
の大容量コンデンサを設ける場合に比して安価に構成す
ることができ、製品コストを低減することができる。
Further, as described above, since the capacitor for detecting the discharge amount is provided, the cost can be reduced and the product cost can be reduced as compared with the case where a large-capacity capacitor for backup at the time of power failure is provided. It can be reduced.

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

【図1】本発明の一実施例の概略構成を示すブロック
図。
FIG. 1 is a block diagram showing a schematic configuration of an embodiment of the present invention.

【図2】図1の要部を示す回路図。FIG. 2 is a circuit diagram showing a main part of FIG.

【図3】他の実施例の要部の回路図。FIG. 3 is a circuit diagram of a main part of another embodiment.

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

1…運転制御手段、4…時計手段、5…時刻設定手段、
8…記憶手段、10…情報書込読出手段、11…放電量
検出手段、12…判定手段、13…停電時間算出手段、
14…現在時刻修正手段、15…強制放電手段、C…コ
ンデンサ。
1 ... Operation control means, 4 ... Clock means, 5 ... Time setting means,
8 ... Storage means, 10 ... Information writing / reading means, 11 ... Discharge amount detecting means, 12 ... Judging means, 13 ... Blackout time calculating means,
14 ... Current time correction means, 15 ... Forced discharge means, C ... Capacitor.

Claims (6)

【特許請求の範囲】[Claims] 【請求項1】現在の時刻を計時する時計手段と、任意の
時刻を設定する時刻設定手段と、通電時に充電され、停
電時に放電されるコンデンサと、現在の時刻が任意に設
定した時刻と一致した時に被制御機器を所定の動作に制
御するタイマモードが選択可能な運転制御手段と、タイ
マモードの選択の有無の情報、時計手段の時刻の情報、
時刻設定手段の設定時刻の情報等を夫々記憶する不揮発
性の記憶手段とを備え、前記運転制御手段は、停電時に
前記記憶手段へ各情報を書込み、復電時に前記記憶手段
から各情報を読出す情報書込読出手段と、復電時にコン
デンサの放電量を検出する放電量検出手段と、該放電量
検出手段が検出した放電量を所定値と比較し、タイマモ
ードが選択されており且つ前記コンデンサの放電量が所
定値より小のとき、前記記憶手段に記憶されている停電
前の時計手段の時刻と該記憶手段に記憶されている設定
時刻とに基づいてタイマモード運転を継続させ、また、
タイマモードが選択されており且つ前記コンデンサの放
電量が所定値より大のときタイマモードによる運転を解
除する判定手段とを備えることを特徴とする時計機能付
制御装置。
1. A clock means for measuring the current time, a time setting means for setting an arbitrary time, a capacitor charged when energized and discharged at a power failure, and the current time coincides with the arbitrarily set time. The operation control means that can select the timer mode for controlling the controlled device to a predetermined operation when doing, information on whether the timer mode is selected, time information of the clock means,
The operation control means writes each information to the storage means at the time of power failure and reads each information from the storage means at the time of power restoration. The information writing / reading means for outputting, the discharging quantity detecting means for detecting the discharging quantity of the capacitor at the time of power recovery, and the discharging quantity detected by the discharging quantity detecting means are compared with a predetermined value, and the timer mode is selected. When the discharge amount of the capacitor is smaller than a predetermined value, the timer mode operation is continued based on the time of the clock means before the power failure stored in the storage means and the set time stored in the storage means, and ,
A control device with a clock function, comprising: a determination unit that cancels the operation in the timer mode when the timer mode is selected and the amount of discharge of the capacitor is larger than a predetermined value.
【請求項2】前記運転制御手段は、復電時に前記コンデ
ンサの放電量が所定値より小のとき、その放電量に応じ
て停電していた時間を算出する停電時間算出手段と、該
停電時間算出手段が算出した停電時間を、前記記憶手段
に停電時に記憶された前記時計手段の時刻に加算して該
時計手段の時刻を修正する現在時刻修正手段とを備える
ことを特徴とする請求項1記載の時計機能付制御装置。
2. The operation control means, when the discharge amount of the capacitor is smaller than a predetermined value at the time of power recovery, a power failure time calculating means for calculating a time during which a power failure has occurred, and the power failure time. The present time adjusting means for adjusting the time of the clock means by adding the power failure time calculated by the calculating means to the time of the clock means stored in the storage means at the time of the power failure. The control device with the described clock function.
【請求項3】通電時にコンデンサを充電した後、強制的
に放電させる強制放電手段を設け、前記運転制御手段
は、該強制放電手段によりコンデンサを放電させて得ら
れる放電時間と放電量との関係を示すデータを前記記憶
手段に書込み復電時に読出す情報書込読出手段と、復電
時に前記コンデンサの放電量が所定値より小のとき、そ
の放電量と前記データとに基づいて停電していた時間を
算出する停電時間算出手段と、該停電時間算出手段が算
出した停電時間を、前記記憶手段に停電時に記憶された
前記時計手段の時刻に加算して該時計手段の時刻を修正
する現在時刻修正手段とを備えることを特徴とする請求
項1記載の時計機能付制御装置。
3. A relationship between a discharge time and a discharge amount obtained by discharging the capacitor by the forced discharge means by providing a forced discharge means for forcibly discharging after charging the capacitor during energization. The information writing / reading means for writing the data indicating to the storage means at the time of power recovery, and the power discharge based on the amount of discharge and the data when the discharge amount of the capacitor is smaller than a predetermined value at the time of power recovery. A power failure time calculating means for calculating the time, and a power failure time calculated by the power failure time calculating means is added to the time of the clock means stored in the storage means at the time of the power failure to correct the time of the clock means. 2. The timepiece function-equipped control device according to claim 1, further comprising time adjustment means.
【請求項4】前記コンデンサの復電時の放電量は、該コ
ンデンサの復電時の充電量と基準値との差であることを
特徴とする請求項1,2,3の何れかに記載の時計機能
付制御装置。
4. The discharge amount at the time of power recovery of the capacitor is a difference between the charge amount at the time of power recovery of the capacitor and a reference value. Control device with clock function.
【請求項5】前記基準値は、通電開始から所定時間経過
した以降の通電時のコンデンサの充電量であることを特
徴とする請求項4記載の時計機能付制御装置。
5. The control device with a timepiece function according to claim 4, wherein the reference value is a charge amount of the capacitor during energization after a lapse of a predetermined time from the start of energization.
【請求項6】前記基準値は、停電直後のコンデンサの充
電量であることを特徴とする請求項4記載の時計機能付
制御装置。
6. The control device with a clock function according to claim 4, wherein the reference value is a charge amount of a capacitor immediately after a power failure.
JP5331722A 1993-12-27 1993-12-27 Control device with clock function Expired - Fee Related JP2740733B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP5331722A JP2740733B2 (en) 1993-12-27 1993-12-27 Control device with clock function

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP5331722A JP2740733B2 (en) 1993-12-27 1993-12-27 Control device with clock function

Publications (2)

Publication Number Publication Date
JPH07191159A true JPH07191159A (en) 1995-07-28
JP2740733B2 JP2740733B2 (en) 1998-04-15

Family

ID=18246870

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5331722A Expired - Fee Related JP2740733B2 (en) 1993-12-27 1993-12-27 Control device with clock function

Country Status (1)

Country Link
JP (1) JP2740733B2 (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS56169640U (en) * 1980-05-19 1981-12-15
JPS58140668A (en) * 1982-02-17 1983-08-20 Hitachi Ltd Detecting circuit of power failure time
JPH04142494A (en) * 1990-10-03 1992-05-15 Matsushita Electric Ind Co Ltd Clock device with microcomputer

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS56169640U (en) * 1980-05-19 1981-12-15
JPS58140668A (en) * 1982-02-17 1983-08-20 Hitachi Ltd Detecting circuit of power failure time
JPH04142494A (en) * 1990-10-03 1992-05-15 Matsushita Electric Ind Co Ltd Clock device with microcomputer

Also Published As

Publication number Publication date
JP2740733B2 (en) 1998-04-15

Similar Documents

Publication Publication Date Title
US5414861A (en) Data protection system using different levels of reserve power to maintain data in volatile memories for any period of time
US5117324A (en) Ups-computer system and method for initiating computer shutdown based on remaining battery time as determined from sensed battery voltage and discharge curves
JP4111890B2 (en) Uninterruptible power system
US6236226B1 (en) Test method and system for uninterruptible power supply
JPH11233157A (en) Battery pack and battery system
US5142165A (en) Power off/on delay circuit to prevent lockout
US6771047B1 (en) Automatic battery discharging and charging technique to increase battery life
JPH07191159A (en) Control device with clock function
US5227981A (en) Initial process system after cutoff of power source and process system at the time of cutoff of power source
KR100382747B1 (en) Electronics
JPH07191160A (en) Clock device
JPH07298512A (en) Charger and charging method
JP2740118B2 (en) Clock device
JPH02278411A (en) Start processing system after cut-off of power supply
US6532195B1 (en) Clock saver apparatus and methods
JP3311416B2 (en) Battery retention time prediction device
JP3159925B2 (en) Control method of hot water storage type electric water heater
JP2874357B2 (en) Electric water heater control device
JPH08205424A (en) Backup power supply circuit
EP1914778A2 (en) Trip control apparatus and method for circuit breaker
JPH04287108A (en) Disk cache device
JP3694916B2 (en) Water heater
JP3330437B2 (en) Hot water storage type electric water heater control device
JP2740685B2 (en) Storage device backup circuit
JP2665410B2 (en) Electronic devices with backup memory

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees