JPH03245216A - Power failure compensating circuit for electrical equipment - Google Patents

Power failure compensating circuit for electrical equipment

Info

Publication number
JPH03245216A
JPH03245216A JP2043101A JP4310190A JPH03245216A JP H03245216 A JPH03245216 A JP H03245216A JP 2043101 A JP2043101 A JP 2043101A JP 4310190 A JP4310190 A JP 4310190A JP H03245216 A JPH03245216 A JP H03245216A
Authority
JP
Japan
Prior art keywords
power outage
microcomputer
data
ram
power failure
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
JP2043101A
Other languages
Japanese (ja)
Other versions
JP2777255B2 (en
Inventor
Masayuki Aoki
政幸 青木
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.)
Toshiba Corp
Original Assignee
Toshiba 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 Toshiba Corp filed Critical Toshiba Corp
Priority to JP2043101A priority Critical patent/JP2777255B2/en
Priority to GB9025255A priority patent/GB2239330B/en
Priority to KR1019900019422A priority patent/KR970009071B1/en
Publication of JPH03245216A publication Critical patent/JPH03245216A/en
Priority to GB9313655A priority patent/GB2266790B/en
Application granted granted Critical
Publication of JP2777255B2 publication Critical patent/JP2777255B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Abstract

PURPOSE:To omit the trouble to start an operation again from the first by writing the operation data on a RAM into a nonvolatile memory at detection of power failure, and restarting the operation based on the data in the memory when the power failure had recovered. CONSTITUTION:A microcomputer 29 detects the occurrence of power failure if the synchronizing pulses Pc are not received from a timer base circuit 31 for two cycles. Then the microcomputer 29 writes the operation data stored in a RAM into a nonvolatile memory 38. When the power failure is recovered and the microcomputer 29 is started, the contents of the operation data stored in the memory 38 are read out to the RAM and the operation is restarted based on the operation data. Thus it is not required to carry out the operation from the first. Furthermore no battery nor capacitor is required since the data are held in the memory 38. Then the cost is reduced and at the same time the operation data can be surely held.

Description

【発明の詳細な説明】 [発明の]コ的] (産業上の利用分野) 本発明はマイクロコンピュータにより運転を制御する電
気機器の停電補償回路に関する。
DETAILED DESCRIPTION OF THE INVENTION [Aspects of the Invention] (Field of Industrial Application) The present invention relates to a power failure compensation circuit for electrical equipment whose operation is controlled by a microcomputer.

(従来の技術) 最近、マイクロコンピュータを備えた機器例えば電子レ
ンジでは、本来のレンジ機能の他にパン製造機能や炊飯
機能を備えたものが供されている。このような電子レン
ジでは、制御内容も複雑であることからマイクロコンピ
ュータを備えて各機能についての運転を制御するように
している。
(Prior Art) Recently, devices equipped with microcomputers, such as microwave ovens, have been provided with bread making functions and rice cooking functions in addition to the original microwave function. Since the control contents of such microwave ovens are complex, they are equipped with a microcomputer to control the operation of each function.

例えば、レンジ機能においては、マイクロコンピュータ
によってターンテーブルモータとマグネトロンとを駆動
制御し、ターンテーブル上に載せた食品を回転させなが
らマグネトロンから出力されるマイクロ波を該食品に照
射して加熱調理する。
For example, in the range function, a turntable motor and a magnetron are driven and controlled by a microcomputer, and while food placed on the turntable is rotated, microwaves output from the magnetron are irradiated onto the food to heat and cook the food.

この場合、その調理終了制御は使用者の時間設定による
時限制御と、ガスセンサによる状態制御とがある。この
状態制御は、ガスセンサからのガス濃度検出信号がマイ
クロコンピュータに与えられ、マイクロコンピュータは
このガス濃度検出信号に基づきガス濃度変化値がある値
に達したときにその時点から調理終了のための時限制御
を行なうようになっている。また、パン製造機能におい
ては、パン生地混練モータを駆動M御すると共にヒータ
等を温度センサに基づき制御して温度制御し、終了時期
は時限制御する。このパン製造機能は、現在時点で直ち
にパン製造を開始する通常パン製造機能の他に、現在よ
りも先の時点にてパン製造運転を開始して希望時刻にパ
ン製造を完了するという予約パン製造機能がある。また
炊飯機能においては、マグネトロンを駆動制御すると共
にと、終了時期は時限制御する。なお、この炊飯機能に
ついても、現在時点で直ちに炊飯運転を開始する通常炊
飯機能のほかに、現在よりも先の時点にて炊飯運転を開
始して希望時刻に炊飯を完了するという予約炊飯機能が
ある。
In this case, the cooking completion control includes time-limited control based on the user's time setting and state control based on the gas sensor. In this state control, a gas concentration detection signal from a gas sensor is given to a microcomputer, and based on this gas concentration detection signal, the microcomputer sets a time limit for finishing cooking from that point on when the gas concentration change reaches a certain value. It is designed to take control. In addition, in the bread manufacturing function, the bread dough kneading motor is driven and the temperature is controlled by controlling the heater etc. based on the temperature sensor, and the end time is time controlled. In addition to the normal bread manufacturing function that starts bread production immediately at the current point in time, this bread manufacturing function also has a scheduled bread manufacturing function that starts bread manufacturing operation at a later point in time and completes bread manufacturing at the desired time. It has a function. In addition, in the rice cooking function, the magnetron is driven and controlled, and the end time is controlled by a time limit. Regarding this rice cooking function, in addition to the normal rice cooking function that starts the rice cooking operation immediately at the current time, there is also a reservation rice cooking function that starts the rice cooking operation at a later point in time and completes the rice cooking at the desired time. be.

ところで、この種の電子レンジでは、商用電源に停電が
発生すると、マイクロコンピュータの動作が停止するの
みならずRAMに記憶された運転データが消失してしま
い、停電が復帰したときに運転を調理を最初からやり直
す必要がある。特に予約パン製造機能または予約炊飯機
能がセットされて炊飯運転開始前の待機時における計時
動作中に停電が発生した場合には、その計時動作が停止
するためパンが出来上がっていないとか御飯が炊き上が
っていないといった問題が惹起する。これを防ぐために
従来では、マイクロコンピュータの動作がリセットされ
ないようにするためとRAMに記憶された運転データが
消失されないようにするためのバックアップ用の電池を
設けたり、大容量の電解コンデンサを用いたりしている
By the way, in this type of microwave oven, when a power outage occurs in the commercial power supply, not only does the operation of the microcomputer stop, but also the operation data stored in the RAM is lost, so that when the power outage returns, the operation cannot be restarted. I need to start over. In particular, if the reserved bread making function or reserved rice cooking function is set and a power outage occurs during the timer operation during standby before rice cooking starts, the timer operation will stop and the bread may not be finished or the rice will not be cooked. This causes problems such as not being able to do so. To prevent this, conventional methods have included providing backup batteries and using large-capacity electrolytic capacitors to prevent the operation of the microcomputer from being reset and to prevent the operational data stored in RAM from being lost. are doing.

(発明が解決しようとする課題) しかしながら、上記従来のように、バックアップ用の電
池を設けたり、大容量の電解コンデンサを用いたりして
RAMの運転データを保持するものでは、運転を再開で
きるとはいうものの、コストが非常に高くなるといった
欠点があり、また、停電中にバックアップ電池が切れた
り、コンデンサによる電源保持がなくなったりするおそ
れかあり、運転データ保持について完全とはいえない問
題がある。
(Problem to be Solved by the Invention) However, with the above-mentioned conventional device that uses a backup battery or a large-capacity electrolytic capacitor to hold the operating data of the RAM, it is difficult to resume operation. However, there are disadvantages such as very high cost, and there is a risk that the backup battery will run out during a power outage or that the capacitor will not be able to retain power, so there is a problem that the retention of operational data is not perfect. .

そこで、本発明の目的は、コストの低廉価を図ることか
できると共に、運転データ保持を確実に行なうことがで
きる電気機器の停電補償回路を提供するにある。
SUMMARY OF THE INVENTION Accordingly, an object of the present invention is to provide a power failure compensation circuit for electrical equipment that can reduce costs and reliably retain operating data.

[発明の構成〕 (課題を解決するための手段) 本発明の第1の手段は、マイクロコンピュータにより運
転を制御する電気機器の停電補償回路において、停電を
検出する停電検出手段と、不揮発性メモリと、前記停電
検出手段によって停電が検出されたときにこの時点の前
記マイクロコンピュータのRAM内の前記運転データを
前記不揮発性メモリに書込む書込み手段と、停電から復
帰後の前記マイクロコンピュータの起動時に前記不揮発
性メモリの前記運転データに基づき運転を再開する運転
制御手段とを具備して成るところに特徴を有する。
[Structure of the Invention] (Means for Solving the Problems) A first means of the present invention is to provide a power failure compensation circuit for electrical equipment whose operation is controlled by a microcomputer, including a power failure detection means for detecting a power failure, and a nonvolatile memory. a writing means for writing the operating data in the RAM of the microcomputer at this point in time into the nonvolatile memory when a power outage is detected by the power outage detection means; and when the microcomputer is started up after recovering from the power outage. The present invention is characterized in that it comprises an operation control means for restarting operation based on the operation data in the nonvolatile memory.

本発明の第2の手段は、マイクロコンピュータにより運
転を制御する電気機器の停電補償回路において、停電を
検出する停電検出手段と、不揮発性メモリと、前記停電
検出手段によって停電が検出されたときにこの時点の前
記マイクロコンピュータのRAM内の前記運転データを
前記不揮発性メモリに書込む書込み手段と、停電から復
帰後の前記マイクロコンピュータの起動時に停電時点の
運転がセンサによる状態制御運転モードであるか否かを
判断する運転モード判断手段と、この運転モード判断手
段による判断結果が状態制御運転モードでないときには
前記不揮発性メモリの前記運転データに基づき運転を再
開し状態制御運転モトであるときには該運転の再開を中
止する運転制御手段とを具備して成るところに特徴を有
する。
A second means of the present invention is a power failure compensation circuit for electrical equipment whose operation is controlled by a microcomputer, which includes a power failure detection means for detecting a power failure, a nonvolatile memory, and a power failure when a power failure is detected by the power failure detection means. A writing means for writing the operating data in the RAM of the microcomputer at this point into the nonvolatile memory, and when starting the microcomputer after recovery from a power outage, whether the operation at the time of the power outage is in a sensor-based state control operation mode. and a driving mode determining means for determining whether or not the driving mode is not, and if the judgment result by the driving mode determining means is not the state control driving mode, the driving is resumed based on the driving data in the nonvolatile memory, and if the driving mode is the state controlled driving mode, the driving is resumed. It is characterized in that it comprises an operation control means for stopping restart.

(作用) 上記第1の手段によれば、停電検出手段によって停電が
検出されると、その時点のRAM内の運転データが書込
み手段により不揮発性メモリに書込まれる。そして停電
が復帰してマイクロコンピュータが起動すると不揮発性
メモリの前記運転データに基づき運転を再開する。従っ
て、停電があってこれが復帰したときには、運転が停電
時の運転データで再開されるから、運転を最初からやり
直す面倒はない。
(Operation) According to the first means, when a power outage is detected by the power outage detection means, the operating data in the RAM at that time is written into the nonvolatile memory by the writing means. When the power is restored and the microcomputer starts up, operation resumes based on the operation data stored in the nonvolatile memory. Therefore, when there is a power outage and the power is restored, the operation is resumed using the operating data at the time of the power outage, so there is no need to restart the operation from the beginning.

また、運転データを不揮発性メモリによって保持するか
ら、バックアップ用の電池を設けたり、大容量の電解コ
ンデンサを用いたりしてRAMの運転データを保持する
場合とは違って、コストが安くすみ、また運転データ保
持も確実である。
In addition, since operating data is held in non-volatile memory, costs are lower than in cases where operating data is held in RAM by providing a backup battery or using a large-capacity electrolytic capacitor. Operation data retention is also reliable.

ここで、停電から復帰後のマイクロコンピュータの起動
時に一義的に運転を再開した場合には次の懸念がある。
Here, if operation is primarily restarted when the microcomputer is started after recovery from a power outage, the following concerns arise.

すなわち、停電時点の運転がセンサによる状態制御運転
モードである場合には、停電時点でのセンサ情報による
状態と停電復帰時点での実際の状態とが予想される状況
と大きく異なることがある。このため状態制御運転モー
ドの場合には運転を再開すると運転が不適正制御状態で
実行されることがある。
That is, when the operation at the time of power outage is in the sensor-based state control operation mode, the state based on sensor information at the time of power outage and the actual state at the time of power restoration may be significantly different from the expected situation. Therefore, in the case of the state control operation mode, when the operation is restarted, the operation may be performed in an inappropriate control state.

しかるに第2の手段によれば、マイクロコンピュータの
起動時に停電時点の運転がセンサによる状態制御運転モ
ードであるか否かを判断する運転モード判断手段を設け
、この運転モード判断手段による判断結果が状態制御運
転モードでないときには前記不揮発性メモリの前記運転
データに基づき運転を再開し、状態制御運転モードであ
るときには該運転の再開を中止する運転制御手段を設け
たから、停電によって不適正制御となる懸念がある運転
については実行を取り止めることができる。
However, according to the second means, an operation mode determination means is provided which determines whether or not the operation at the time of power outage is in the sensor-based state control operation mode when starting up the microcomputer, and the determination result by this operation mode determination means is the state control operation mode. Since an operation control means is provided which restarts the operation based on the operation data in the non-volatile memory when the control operation mode is not set, and stops the restart of the operation when the state control operation mode is selected, there is no concern that inappropriate control may occur due to a power outage. Execution of a certain operation can be canceled.

(実施例) 以下、本発明を電子レンジの停電補償回路に適用した第
1の実施例につき第1図ないし第4図を参照しながら説
明する。
(Example) Hereinafter, a first example in which the present invention is applied to a power failure compensation circuit for a microwave oven will be described with reference to FIGS. 1 to 4.

第1図には、パン製造機能および炊飯機能付きの電子レ
ンジの電気回路を示している。商用交流電源に接続され
る電源プラグ1の一方の端子1aと他方の端子1bとの
間には、ヒユーズ2、サーマルスイッチ3、ドアスイッ
チ4,5、リレースイッチ6、高圧トランス7の一次コ
イル7 a−、切替形のリレースイッチ8の固定接点a
および可動接点C間が接続されている。そして、ドアス
イッチ4の電源側の接点と前記電源プラグ1の他方の端
子1bとの間には、降圧トランス9の一次コイル9a、
リレースイッチ10と庫内灯11との直列回路が並列に
接続されている。リレースイッチ6の電源側の接点とリ
レースイッチ8の可動接点Cとの間には、正転用リレー
スイッチ12および反転用リレースイッチ13並びに混
線モーター4が図示のように接続されていると共に、リ
レー15および冷却用ファンモーター6並びにターンテ
ーブルモーター7が図示のように接続されている。
FIG. 1 shows the electric circuit of a microwave oven with bread making and rice cooking functions. A fuse 2, a thermal switch 3, door switches 4, 5, a relay switch 6, and a primary coil 7 of a high-voltage transformer 7 are connected between one terminal 1a and the other terminal 1b of a power plug 1 connected to a commercial AC power source. a-, fixed contact a of changeover type relay switch 8
and movable contact C are connected. A primary coil 9a of the step-down transformer 9 is connected between the power supply side contact of the door switch 4 and the other terminal 1b of the power plug 1.
A series circuit of a relay switch 10 and an interior light 11 is connected in parallel. Between the power supply side contact of the relay switch 6 and the movable contact C of the relay switch 8, a forward relay switch 12, a reverse relay switch 13, and a cross-wire motor 4 are connected as shown in the figure. A cooling fan motor 6 and a turntable motor 7 are connected as shown.

また、リレースイッチ6の電源側の接点とリレースイッ
チ8の固定接点すとの間には、リレースイッチ18と熱
風用モータ19との直列回路、リレースイッチ20と熱
風ヒータ21との直列回路が並列に接続されている。そ
してリレースイッチ6の反型源側の接点とリレースイッ
チ8の固定接点すとの間にはグリルヒータ22が接続さ
れている。
Moreover, between the power supply side contacts of the relay switch 6 and the fixed contacts of the relay switch 8, a series circuit of the relay switch 18 and the hot air motor 19 and a series circuit of the relay switch 20 and the hot air heater 21 are connected in parallel. It is connected to the. A grill heater 22 is connected between the contact of the relay switch 6 on the anti-mold source side and the fixed contact of the relay switch 8.

また、高圧トランス7の二次コイル7bには半波整流倍
電圧回路23およびマグネトロン24が接続されている
Furthermore, a half-wave rectifier voltage doubler circuit 23 and a magnetron 24 are connected to the secondary coil 7b of the high-voltage transformer 7.

一方、制御回路25は停電補償回路を含んで構成されて
おり、以下、この制御回路25について説明する。前記
高圧トランス9の二次コイル9bには整流回路26が接
続されている。そして、該二次コイル9bの中間タップ
は平滑コンデンサ27を経て安定化電源回路28が接続
されており、この安定化電源回路28はマイクロコンピ
ュータ2つを初めとして各回路に動作電源電圧Vcc(
+ 5 V)を与える。この動作電源はリセット回路3
0に与えられるようになっており、そしてこのリセット
回路30のリセット信号は前記マイク0 ロコンピュータ29に与えられる。またタイマベース回
路31は、商用交流入力(第2図(a)参照)の周波数
に同期した半波信号Sc、(同図(b)参照)を波形整
形して同期パルスPc(同図(c)参照)をマイクロコ
ンピュータ29に与える。このマイクロコンピュータ2
9には、各種スイッチを備えたスイッチ入力回路32か
らのスイッチ入力、重量センサ33からの検出信号、ガ
ス濃度センサ34からの検出信号、さらには温度センサ
35からの検出信号が与えられるようになっており、そ
してこのマイクロコンピュータ29はROMに記憶され
た運転プログラムに従いリレー駆動回路36、表示回路
37を制御して運転を制御すると共に、不揮発性メモリ
38に対して後述するように書込み・読込み制御を行な
う。上記リレー駆動回路36はマイクロコンピュータ2
9からの制御信号に基づいて前述の各リレースイッチ6
.8゜10.12,13,15,1.8.20を制御す
るようになっている。上記不揮発性メモリ38はEEP
ROMから構成されており、この不揮発性メ1 モリ38は動作電源電圧VccがO[V]になっても記
憶データを保持できるものである。
On the other hand, the control circuit 25 includes a power failure compensation circuit, and the control circuit 25 will be explained below. A rectifier circuit 26 is connected to the secondary coil 9b of the high voltage transformer 9. A stabilized power supply circuit 28 is connected to the intermediate tap of the secondary coil 9b via a smoothing capacitor 27, and this stabilized power supply circuit 28 supplies the operating power supply voltage Vcc (
+5 V). This operating power supply is the reset circuit 3
The reset signal from the reset circuit 30 is applied to the microcomputer 29. In addition, the timer base circuit 31 waveform-shapes a half-wave signal Sc (see FIG. 2(b)) synchronized with the frequency of a commercial AC input (see FIG. 2(a)), and generates a synchronization pulse Pc (see FIG. 2(c) ) is given to the microcomputer 29. This microcomputer 2
9 receives a switch input from a switch input circuit 32 equipped with various switches, a detection signal from a weight sensor 33, a detection signal from a gas concentration sensor 34, and a detection signal from a temperature sensor 35. The microcomputer 29 controls the operation by controlling the relay drive circuit 36 and the display circuit 37 according to the operation program stored in the ROM, and also controls the writing and reading of the nonvolatile memory 38 as described later. Do this. The relay drive circuit 36 is connected to the microcomputer 2
Each of the aforementioned relay switches 6 based on the control signal from 9
.. 8°10.12, 13, 15, 1.8.20. The non-volatile memory 38 is an EEP
The non-volatile memory 38 is composed of a ROM and can retain stored data even if the operating power supply voltage Vcc becomes O[V].

この実施例の電子レンジでは、大別すると、電子レンジ
機能と、パン製造機能と、炊飯機能と備えている。各機
能について簡単に述べる。レンジ機能においては、マイ
クロコンピュータ29によってターンテーブルモータ〕
7とマグネトロン24とを駆動制御し、図示しないター
ンテーブル」二に載せた食品を回転させながらマグネト
ロン24から出力されるマイクロ波を該食品に照射して
加熱調理する。この場合、その調理終了制御は使用者の
時間設定による時限制御と、ガスセンサ34からの検出
信号に基づく状態制御とがある。この状態制御は、ガス
センサ34からのガス濃度検出信号がマイクロコンピュ
ータ2つに与えられ、マイクロコンピュータ2つはこの
ガス濃度検出信号に基づきガス濃度変化値がある値に達
したときにその時点から調理終了のための時限制御を行
なうようになっている。この場合、重量センサ33から
の重量検出信号に基づいてその時限も設定する2 ようになっている。パン製造機能においては、混練モー
タ14を駆動制御すると共に熱風ヒータ21等を温度セ
ンサ35に基づき制御して温度制御し、終了時期は時限
制御する。このパン製造機能については、現在時点で直
ちにパン製造運転を開始する通常パン製造機能のほかに
、現在よりも先の時点にてパン製造運転を開始して希望
時刻にパン製造を完了するという予約パン製造機能があ
る。
Broadly speaking, the microwave oven of this embodiment has a microwave oven function, a bread making function, and a rice cooking function. A brief description of each function is given below. In the range function, the turntable motor is controlled by the microcomputer 29.
7 and the magnetron 24, the food placed on a turntable (not shown) is rotated, and microwaves output from the magnetron 24 are irradiated onto the food to heat and cook the food. In this case, the cooking end control includes time-limited control based on the user's time setting and state control based on the detection signal from the gas sensor 34. In this state control, a gas concentration detection signal from the gas sensor 34 is given to two microcomputers, and the two microcomputers start cooking from that point when the gas concentration change value reaches a certain value based on this gas concentration detection signal. It is designed to perform time limit control for termination. In this case, the time limit is also set based on the weight detection signal from the weight sensor 33. In the bread making function, the kneading motor 14 is driven and controlled, and the temperature of the hot air heater 21 and the like is controlled based on the temperature sensor 35, and the end timing is time controlled. In addition to the normal bread manufacturing function that starts bread manufacturing immediately at the current time, this bread manufacturing function has a reservation that starts bread manufacturing at a later point in time and completes bread manufacturing at a desired time. It has a bread making function.

また炊飯機能においては、マグネトロン24を駆動制御
すると共に、終了時期は時限制御する。なお、この炊飯
機能についても、現在時点で直ちに炊飯運転を開始する
通常炊飯機能のほかに、現在よりも先の時点にて炊飯運
転を開始して希望時刻に炊飯を完了するという予約炊飯
機能がある。上記した各機能における時限制御はマイク
ロコンピュータ2つに人力される同期パルスPcをカウ
ントすることにより行なうようになっている。
In addition, in the rice cooking function, the magnetron 24 is driven and controlled, and the end timing is time controlled. Regarding this rice cooking function, in addition to the normal rice cooking function that starts the rice cooking operation immediately at the current time, there is also a reservation rice cooking function that starts the rice cooking operation at a later point in time and completes the rice cooking at the desired time. be. Time control in each of the above-mentioned functions is performed by counting synchronization pulses Pc manually input to two microcomputers.

さて、上記マイクロコンピュータ2つは、そのソフトウ
ェア構成と前記タイマベース回路31とで停電検出手段
を構成するほかに、書込み手段と、3 運転制御子段とを構成しており、これら手段については
第3図のフローチャートを参照しながら説明する。
Now, the two microcomputers mentioned above constitute a power failure detection means with their software configuration and the timer base circuit 31, and also constitute a writing means and an operation control sub-stage. This will be explained with reference to the flowchart in FIG.

停電からの復帰後にマイクロコンピュータ29が起動さ
れると、ステップS1以降の制御内容が実行されるが、
本発明の内容理解を容易にするために、ステップS8か
ら説明を行なう。このステップS8のメインルーチンで
は、レンジ機能、パン製造機能、炊飯機能のいずれかで
加熱調理を制御する。ステップS9では、停電が発生し
たか否かを判断している。すなわち、マイクロコンピュ
ータ29はタイマベース回路31から与えられる同期パ
ルスPcについて続いて2サイクル分のパルスPcの人
力が無いか否かを判断し、無ければ停電の発生を検出す
る。停電の発生が第2図時点toとしたとき、その検出
時点は同図t、となる。
When the microcomputer 29 is activated after recovery from a power outage, the control contents from step S1 onwards are executed.
In order to facilitate understanding of the content of the present invention, the explanation will be given starting from step S8. In the main routine of step S8, heating cooking is controlled using one of the microwave function, bread making function, and rice cooking function. In step S9, it is determined whether a power outage has occurred. That is, the microcomputer 29 determines whether or not there is the human power for two cycles of the synchronizing pulse Pc given from the timer base circuit 31, and if there is no power, it detects the occurrence of a power outage. If a power outage occurs at time t in FIG. 2, its detection time is t in the same diagram.

しかして、停電発生を検出すると、RAMに記憶されて
いる現時点の運転データ(RAMの番地とデータ格納例
との関係を第4図に示す)を不揮発性メモリ38に書込
む。なお、例えばRAMの番4 地「00」には、現在の運転種別例えば時計表示中、炊
飯予約中、パン製造予約中、レンジ調理中のいずれかが
記憶されるようになっており、また、RAMの番地「0
1」〜「o6」には時計データが、番地「07」〜rO
Clには運転残り時間データが、番地「OD」〜「1o
」には運転終了希望時間データが記憶されるようになっ
ている。特に、番地rCFJには停電があった後のチエ
ツクデータ(前回の不揮発性メモリ38への書込みが正
常か否かを判断するためのデータ)が記憶されるように
なっている。
When the occurrence of a power outage is detected, the current operating data stored in the RAM (the relationship between RAM addresses and data storage examples is shown in FIG. 4) is written into the nonvolatile memory 38. For example, the current operation type, such as clock display, rice cooking reservation, bread production reservation, or microwave cooking, is stored in RAM number 4 "00". RAM address “0”
1" to "o6" contain clock data, and addresses "07" to rO
The remaining driving time data is stored in Cl at addresses "OD" to "1o".
” stores the desired driving end time data. In particular, check data after a power failure (data for determining whether or not the previous writing to the nonvolatile memory 38 was normal) is stored at address rCFJ.

しかして運転データを不揮発性メモリ38に書込むにつ
いては、ステップSIOにてRAMの番地「00」をセ
ットし、ステップSllにてそのRAM番地の内容(運
転データ)を不揮発性メモリ38に書込む。そしてステ
ップS12にて、RAM@地がrCFJ  (データエ
リアの最終番地)か否かを判断し、rCFJでなければ
、RAM番地をインクリメントしくステップ513)、
そしてそのくインクリメントされた番地の内容を不揮 
5 発性メモリ38に書込む。このようにしてRAMの運転
データ内容を不揮発性メモリ38に順次書込む。この書
込みが終了すると、その他の停電処理を実行(ステップ
514)して、停電復帰が有ったか否かを判断する。こ
の判断の趣旨は、上記書込み途中で停電が復帰すること
が考えられるから、この場合運転をそのまま継続したほ
うが好ましいという観点からこの判断を行なう。この停
電復帰は、前記同期パルスPcの入力が有るか否かで検
出し、停電復帰が判断されれば、メインルーチンへ戻る
。なお、第2図時点t。で停電が発生し、該停電が続く
とリセット回路30からのリセット信号出力が停止され
ると共に(第2図(e)参照)動作保持電圧が低下して
(第2図(d)参照)マイクロコンピュータ29が自然
停止する。
To write the operating data to the non-volatile memory 38, the RAM address "00" is set in step SIO, and the contents (operating data) of that RAM address are written to the non-volatile memory 38 in step Sll. . Then, in step S12, it is determined whether the RAM@ address is rCFJ (the final address of the data area), and if it is not rCFJ, the RAM address is incremented (step 513).
Then, the contents of the incremented address are stored in a nonvolatile manner.
5 Write to emissive memory 38. In this way, the contents of the operating data in the RAM are sequentially written into the nonvolatile memory 38. When this writing is completed, other power outage processing is executed (step 514), and it is determined whether or not there has been a power outage recovery. The purpose of this judgment is that since it is conceivable that the power outage will return during the writing process, this judgment is made from the viewpoint that in this case it is preferable to continue the operation. This power failure recovery is detected by whether or not the synchronization pulse Pc is input, and if it is determined that the power failure has recovered, the process returns to the main routine. Note that at time t in FIG. When a power outage occurs and the power outage continues, the reset signal output from the reset circuit 30 is stopped (see Fig. 2(e)) and the operating holding voltage decreases (see Fig. 2(d)). The computer 29 spontaneously stops.

なお、停電発生検出からリセット信号出力の停止までの
間に前記書込みが終了するようにリセット回路30の時
定数および安定化電源回路28の時定数が設定されてい
る。
Note that the time constant of the reset circuit 30 and the time constant of the stabilizing power supply circuit 28 are set so that the writing is completed between the time the occurrence of a power failure is detected and the output of the reset signal is stopped.

しかして、停電時においては、マイクロコンビ6 ユータ29は停止されてRAMの内容も消失されている
が、停電時の運転データは不揮発性メモリ38に保存さ
れている。
Therefore, at the time of a power outage, the microcombi 6 user 29 is stopped and the contents of the RAM are also erased, but the operating data at the time of the power outage is stored in the nonvolatile memory 38.

この後、停電が復帰すると、マイクロコンピュータ29
に動作電圧Vccが与えられて起動する(その時点を第
2図t2で示す)。すなわちマイクロコンピュータ29
により制御が開始される。
After that, when the power is restored, the microcomputer 29
The operating voltage Vcc is applied to start the device (the point in time is shown at t2 in FIG. 2). That is, the microcomputer 29
Control is started by

まず、ステップS1に示すように初期処理を実行し、そ
してステップS2にてRAM番地をro 0Jをセット
し、ステップS3にて不揮発性メモリ38の内容(運転
データ)をRAMに読込む。そして、ステップS4にて
、RAM番地がre FJ(データエリアの最終番地)
か否がを判断し、rCFJでなければ、RAM番地をイ
ンクリメントシ(ステップS5)、そしてそのインクリ
メントされた番地の内容に不揮発性メモリ38の内容を
読込む。このようにして不揮発性メモリ38の運転デー
タ内容をRAMに順次読込む。この読込みが終了すると
、RAM番地rCFJのデータ内容が正常であるか否か
を判断し、正常であれば 7 (停電時点での書込みに異常がなければ)、メインルー
チンに移行する(ステップS8)。なお、正常でなけれ
ば、RAMをクリアする(ステップS7)。上記メイン
ルーチンではRAMの運転データに基づいて運転を再開
する。
First, initial processing is executed as shown in step S1, then the RAM address is set to ro 0J in step S2, and the contents (operation data) of the non-volatile memory 38 are read into the RAM in step S3. Then, in step S4, the RAM address is re FJ (the final address of the data area).
If it is not rCFJ, the RAM address is incremented (step S5), and the contents of the nonvolatile memory 38 are read into the contents of the incremented address. In this manner, the operating data contents of the nonvolatile memory 38 are sequentially read into the RAM. When this reading is completed, it is determined whether the data contents of RAM address rCFJ are normal or not, and if normal, 7 (if there is no abnormality in writing at the time of power outage), the process moves to the main routine (step S8). . Note that if it is not normal, the RAM is cleared (step S7). In the main routine described above, operation is restarted based on the operation data in the RAM.

従って本実施例によれば、停電があってこれが復帰した
ときには、運転が停電時の運転データで再開されるから
、運転を最初からやり直す面倒はない。また、運転デー
タを不揮発性メモリ38によって保持するから、バック
アップ用の電池を設けたり、大容量の電解コンデンサを
用いたりしてRAMの運転データを保持する場合とは違
って、コストが安くすみ、また運転データ保持も確実で
ある。
Therefore, according to this embodiment, when there is a power outage and the power is restored, the operation is resumed using the operating data at the time of the power outage, so there is no need to restart the operation from the beginning. In addition, since the operating data is held in the nonvolatile memory 38, the cost is low, unlike cases where operating data is held in RAM by providing a backup battery or using a large-capacity electrolytic capacitor. It also ensures that operational data is retained.

次に第5図は本発明の第2の実施例を示し、同図におい
ては、マイクロコンピュータ29における運転制御手段
の内容が第1の実施例における運転制御手段の内容とは
異なると共に、新たに運転モード判断手段を設けたとこ
ろが光なるもので、具体的にはステップSi6,17部
分が第1の実 8 絶倒と異なる。すなわち、ステップS6までにおいて、
RAMへの読込みが完了し且つデータに異常が無い場合
には、そのままメインルーチン(ステップS8)へ移行
して運転を再開するのでなく、ステップS16にて、停
電時点での運転がガス濃度センサ34、温度センサ35
による状態制御運転モードであるか否かを判断する。状
態制御運転モードか否かのデータは、停電時に書込まれ
た運転データに含まれており、その運転データから上記
運転モードを判断できるようになっている。しかして、
状態制御運転モードでなければ、運転を再開するが、状
態制御運転モードであれば、ステップS17にて運転中
断処理を実行した後、ステップS8に移行する。この場
合、運転中断処理の実行によってメインルーチンでは運
転は再開されない。
Next, FIG. 5 shows a second embodiment of the present invention, in which the content of the operation control means in the microcomputer 29 is different from the content of the operation control means in the first embodiment, and a new one is added. The provision of the driving mode determining means is light, and specifically, steps Si6 and 17 are different from the first example. That is, up to step S6,
If the reading to the RAM is completed and there is no abnormality in the data, instead of proceeding directly to the main routine (step S8) and restarting the operation, in step S16, the operation at the time of the power outage is changed to the gas concentration sensor 34. , temperature sensor 35
It is determined whether the mode is state control operation mode. Data indicating whether or not the state control operation mode is selected is included in the operation data written at the time of a power outage, and the operation mode can be determined from the operation data. However,
If it is not the state control operation mode, the operation is restarted, but if it is the state control operation mode, after executing the operation interruption process in step S17, the process moves to step S8. In this case, the operation is not restarted in the main routine due to execution of the operation interruption process.

この第2の実施例によれば、停電によって不適正制御と
なる懸念がある運転については実行を取り止めることが
できる。すなわち、停電時点の運転がセンサによる状態
制御運転モードである場合1つ には、停電時点でのセンサ情報による状態と停電復帰時
点での実際の状態とが予想される状aと大きく異なるこ
とがある。このため状態制御運転モードの場合には運転
を再開すると運転が不適正制御状態で実行されることが
ある。
According to the second embodiment, execution of an operation that is likely to result in inappropriate control due to a power outage can be canceled. In other words, if the operation at the time of the power outage is in the sensor-based state control operation mode, one reason is that the state based on the sensor information at the time of the power outage and the actual state at the time of power restoration may be significantly different from the expected state a. be. Therefore, in the case of the state control operation mode, when the operation is restarted, the operation may be performed in an inappropriate control state.

しかるに第2の実施例によれば、状態制御運転モードで
ないときには前記不揮発性メモリ38の前記運転データ
に基づき運転を再開し、状態制御運転モードであるとき
には該運転の再開を中止するから、停電によって不適正
制御となる懸念がある運転については実行を取り止める
ことができる。
However, according to the second embodiment, the operation is resumed based on the operation data in the non-volatile memory 38 when the mode is not the state control operation mode, and the restart of the operation is stopped when the mode is the state control operation mode. Execution of operations that are likely to result in inappropriate control can be canceled.

なお、この実施例においても、運転データを不揮発性メ
モリ38によって保持するから、バックアップ用の電池
を設けたり、大容量の電解コンデンサを用いたりしてR
AMの運転データを保持する場合とは違って、コストが
安くすみ、また運転データ保持も確実である。
In this embodiment as well, since the operating data is held in the nonvolatile memory 38, a backup battery is provided or a large-capacity electrolytic capacitor is used.
Unlike the case of retaining AM operation data, the cost is low and the operation data can be retained reliably.

なお、上記各実施例では、停電があった後これが復帰し
てマイクロコンピュータ2つが起動したときに、不揮発
性メモリ38の内容をRAMに読0 込ろ、そのRAMにおける運転データに基づいて運転を
制御するうにしたが、不揮発性メモリ38の内容をRA
Mに読込むことをせずに、直接不揮発性メモリ38にお
ける運転データに基づいて運転を制御するようにしても
良い。
In each of the above embodiments, when the power is restored after a power outage and the two microcomputers are activated, the contents of the nonvolatile memory 38 are read into the RAM and the operation is performed based on the operating data in the RAM. However, the contents of the non-volatile memory 38 are
The operation may be controlled based on the operation data directly stored in the nonvolatile memory 38 without reading it into M.

その他、本発明は上記した各実施例に限定されるもので
はなく、要旨を逸脱しない範囲内で種々変更して実施で
きるものである。
In addition, the present invention is not limited to the embodiments described above, and can be implemented with various modifications within the scope of the invention.

[発明の効果] 本発明は以上の説明から明らかなように、次の効果を得
ることができる。
[Effects of the Invention] As is clear from the above description, the present invention can provide the following effects.

請求項1の電気機器の停電補償回路によれば、停電があ
ってこれが復帰したときには、運転が停電時の運転デー
タで再開するから、運転を最初からやり直すような面倒
をなくすことができ、また、運転データを不揮発性メモ
リによって保持するから、バックアップ用の電池を設け
たり、大容量の電解コンデンサを用いたりしてRAMの
運転データを保持する場合とは違って、コストの低廉価
を図ることができると共に、運転データ保持も確実1 化できる。
According to the power outage compensation circuit for electrical equipment according to claim 1, when a power outage occurs and the power is restored, operation is restarted using the operating data at the time of the power outage, thereby eliminating the trouble of restarting the operation from the beginning. Since operating data is held in non-volatile memory, costs can be reduced, unlike cases where operating data is held in RAM by providing a backup battery or using a large-capacity electrolytic capacitor. At the same time, operation data can be maintained reliably.

請求項2の電気機器の停電補償回路によれば、運転デー
タを不揮発性メモリによって保持するから、バックアッ
プ用の電池を設けたり、大容量の電解コンデンサを用い
たりしてRAMの運転データを保持する場合とは違って
、コストの低廉価を図ることができると共に、運転デー
タ保持も確実化でき、また、停電によって不適正制御と
なる懸念がある運転については実行を取り止めることが
できる。
According to the power failure compensation circuit for electrical equipment according to claim 2, since the operating data is held in a nonvolatile memory, the operating data in the RAM is held by providing a backup battery or using a large-capacity electrolytic capacitor. Unlike the case, it is possible to reduce costs, ensure the retention of operational data, and cancel execution of operations where there is a risk of inappropriate control due to a power outage.

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

第1図ないし第4図は本発明の第1の実施例を示すもの
で、第1図は電気的構成図、第2図は各部の波形とマイ
クロコンピュータの書込み・読込むタイミングを示す図
、第3図はマイクロコンピュータの制御内容を示すフロ
ーチャート、第4図はRAM番地とデータ格納例とを示
す図である。 第5図は本発明の第2の実施例を示す第3図相当図であ
る。 図面中、24はマグネトロン、29はマイクロ2 コンピュータ(停電検出手段、書込み手段、運転制御手
段、運転モード判断手段)、31はタイマベース回路、
33は重量センサ、34はガス濃度センサ、35は温度
センサ、38は不揮発性メモリを示す。
1 to 4 show a first embodiment of the present invention, in which FIG. 1 is an electrical configuration diagram, FIG. 2 is a diagram showing waveforms of each part and writing/reading timing of the microcomputer, FIG. 3 is a flowchart showing the control contents of the microcomputer, and FIG. 4 is a diagram showing RAM addresses and data storage examples. FIG. 5 is a diagram corresponding to FIG. 3 showing a second embodiment of the present invention. In the drawing, 24 is a magnetron, 29 is a micro 2 computer (power failure detection means, writing means, operation control means, operation mode judgment means), 31 is a timer base circuit,
33 is a weight sensor, 34 is a gas concentration sensor, 35 is a temperature sensor, and 38 is a nonvolatile memory.

Claims (1)

【特許請求の範囲】 1、マイクロコンピュータにより運転を制御する電気機
器の停電補償回路において、停電を検出する停電検出手
段と、不揮発性メモリと、前記停電検出手段によって停
電が検出されたときにこの時点の前記マイクロコンピュ
ータのRAM内の前記運転データを前記不揮発性メモリ
に書込む書込み手段と、停電から復帰後の前記マイクロ
コンピュータの起動時に前記不揮発性メモリの前記運転
データに基づき運転を再開する運転制御手段とを具備し
て成る電気機器の停電補償回路。 2、マイクロコンピュータにより運転を制御する電気機
器の停電補償回路において、停電を検出する停電検出手
段と、不揮発性メモリと、前記停電検出手段によって停
電が検出されたときにこの時点の前記マイクロコンピュ
ータのRAM内の前記運転データを前記不揮発性メモリ
に書込む書込み手段と、停電から復帰後の前記マイクロ
コンピュータの起動時に停電時点の運転がセンサによる
状態制御運転モードであるか否かを判断する運転モード
判断手段と、この運転モード判断手段による判断結果が
状態制御運転モードでないときには前記不揮発性メモリ
の前記運転データに基づき運転を再開し状態制御運転モ
ードであるときには該運転の再開を中止する運転制御手
段とを具備して成る電気機器の停電補償回路。
[Claims] 1. A power outage compensation circuit for electrical equipment whose operation is controlled by a microcomputer, comprising: power outage detection means for detecting a power outage; a nonvolatile memory; a writing means for writing the current operating data in the RAM of the microcomputer into the non-volatile memory; and an operation for restarting operation based on the operating data in the non-volatile memory when the microcomputer is started up after recovery from a power outage. A power outage compensation circuit for electrical equipment, comprising a control means. 2. In a power outage compensation circuit for electrical equipment whose operation is controlled by a microcomputer, it includes a power outage detection means for detecting a power outage, a non-volatile memory, and a power outage detection means for detecting a power outage; a writing means for writing the operating data in RAM into the non-volatile memory; and an operating mode for determining whether or not the operation at the time of the power outage is a sensor-based state control operation mode when the microcomputer is started up after recovery from a power outage. a determination means; and an operation control means for restarting the operation based on the operation data in the nonvolatile memory when the determination result by the operation mode determination means is not the state control operation mode, and canceling the restart of the operation when the operation mode is the state control operation mode. A power outage compensation circuit for electrical equipment, comprising:
JP2043101A 1989-11-28 1990-02-23 Power failure compensation circuit for electrical equipment Expired - Fee Related JP2777255B2 (en)

Priority Applications (4)

Application Number Priority Date Filing Date Title
JP2043101A JP2777255B2 (en) 1990-02-23 1990-02-23 Power failure compensation circuit for electrical equipment
GB9025255A GB2239330B (en) 1989-11-28 1990-11-20 Microwave oven and heating cooking appliance
KR1019900019422A KR970009071B1 (en) 1989-11-28 1990-11-28 A microwave oven
GB9313655A GB2266790B (en) 1989-11-28 1993-11-10 A microwave oven

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2043101A JP2777255B2 (en) 1990-02-23 1990-02-23 Power failure compensation circuit for electrical equipment

Publications (2)

Publication Number Publication Date
JPH03245216A true JPH03245216A (en) 1991-10-31
JP2777255B2 JP2777255B2 (en) 1998-07-16

Family

ID=12654443

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2043101A Expired - Fee Related JP2777255B2 (en) 1989-11-28 1990-02-23 Power failure compensation circuit for electrical equipment

Country Status (1)

Country Link
JP (1) JP2777255B2 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0667766A (en) * 1992-08-21 1994-03-11 Fujitsu Ltd Portable terminal equipment
JPH07191160A (en) * 1993-12-27 1995-07-28 Rinnai Corp Clock device
JP2006031995A (en) * 2004-07-13 2006-02-02 Ebara Ballard Corp Fuel cell system and operation method of fuel cell system

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5241179B2 (en) * 2007-09-07 2013-07-17 キヤノン株式会社 Projection display

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS57212699A (en) * 1981-06-23 1982-12-27 Mitsubishi Electric Corp Information processing method
JPS6357056A (en) * 1986-08-29 1988-03-11 エヌオーケー株式会社 Deodorizing method

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS57212699A (en) * 1981-06-23 1982-12-27 Mitsubishi Electric Corp Information processing method
JPS6357056A (en) * 1986-08-29 1988-03-11 エヌオーケー株式会社 Deodorizing method

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0667766A (en) * 1992-08-21 1994-03-11 Fujitsu Ltd Portable terminal equipment
JPH07191160A (en) * 1993-12-27 1995-07-28 Rinnai Corp Clock device
JP2006031995A (en) * 2004-07-13 2006-02-02 Ebara Ballard Corp Fuel cell system and operation method of fuel cell system

Also Published As

Publication number Publication date
JP2777255B2 (en) 1998-07-16

Similar Documents

Publication Publication Date Title
WO1983003888A1 (en) Cooking device
WO2013119680A1 (en) Method for cooking food in an oven
JPH03245216A (en) Power failure compensating circuit for electrical equipment
JPH09113011A (en) Indoor-outdoor split type air conditioner
JP3464635B2 (en) rice cooker
JPH0666443A (en) Air conditioner
GB2266790A (en) A heating cooking appliance
JP2001193939A (en) Heating cooker
JPH11281121A (en) Air conditioner
JPH07113525A (en) Heating cooker
GB2234366A (en) Time controls
JPH01107022A (en) Microwave oven
JPH02130322A (en) Heating cooker
JP2000234740A (en) Heating device with standby power zero function
JP2023018857A (en) Oven cooking device
JPS60100916A (en) Rice cooker
JPH05168552A (en) Electric rice cooker
JPH0316522A (en) Electric rice boiler
JP2021074032A (en) rice cooker
JPH08278923A (en) Data storing method for microcomputer type controller
JPS59119117A (en) Cooker
JP2000051071A (en) Rice cooker
JPS6216727A (en) Jar rice cooker
JPH11224110A (en) Reservation operation controller
JPH1096518A (en) High frequency heating device

Legal Events

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