JPH0356024A - Electronic controller - Google Patents

Electronic controller

Info

Publication number
JPH0356024A
JPH0356024A JP19093289A JP19093289A JPH0356024A JP H0356024 A JPH0356024 A JP H0356024A JP 19093289 A JP19093289 A JP 19093289A JP 19093289 A JP19093289 A JP 19093289A JP H0356024 A JPH0356024 A JP H0356024A
Authority
JP
Japan
Prior art keywords
load
pulses
pulse
control section
input
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.)
Pending
Application number
JP19093289A
Other languages
Japanese (ja)
Inventor
Motoo Sakai
始夫 酒井
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.)
Sanyo Electric Co Ltd
Original Assignee
Sanyo Electric Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Sanyo Electric Co Ltd filed Critical Sanyo Electric Co Ltd
Priority to JP19093289A priority Critical patent/JPH0356024A/en
Publication of JPH0356024A publication Critical patent/JPH0356024A/en
Pending legal-status Critical Current

Links

Landscapes

  • Measurement Of Current Or Voltage (AREA)
  • Control Of High-Frequency Heating Circuits (AREA)
  • Electric Ovens (AREA)
  • Emergency Protection Circuit Devices (AREA)
  • Protection Of Static Devices (AREA)

Abstract

PURPOSE:To attain the multifunction of a control section by a method wherein the control section driving and controlling load according to a pulse generating section, load and the result of pulse timing is installed, the presence of the input of pulses within a fixed period is investigated in the control section, instantaneous service interruption is judged to occur when there is no input of pulses, and load is stopped. CONSTITUTION:A control section 1 conducts timing operation by inputting pulses based on the frequency of a commercial AC power 4 generated from a pulse generating section 2 and counting the pulses, and drives and controls load 5 according to a result at the time of timing. The control section 1 investigates the presence of the input of pulses within a fixed period, judges instantaneous service interruption to occur when there is no input of pulses within the fixed period, and stops the drive control of load 5. The backup time of the control section 1 at the time of instantaneous service interruption can be ensured sufficiently on the basis of the drive and stoppage of the load 5.

Description

【発明の詳細な説明】 (イ)産業上の利用分野 本発明は瞬時停電検知機能を有する電子制御装置に関す
る。
DETAILED DESCRIPTION OF THE INVENTION (A) Field of Industrial Application The present invention relates to an electronic control device having a momentary power failure detection function.

(口)従来の技術 近年、マイクロコンピュータ等からなる制御部を搭載し
電子制御さaる、電子制御式の電子レンジ、洗濯機、衣
類乾燥機、VTR等の電子制御装置が広く実用化されて
いる。
(Example) Conventional technology In recent years, electronically controlled devices such as microwave ovens, washing machines, clothes dryers, and VTRs that are equipped with control units such as microcomputers and are electronically controlled have been widely put into practical use. There is.

斯る電子制御装置においては、瞬時停電が発生した場合
、制御部内の制御内容が不所望に消去することがないよ
うに、瞬時停電時に制御部をコンデンサ等でバ・γクア
ップする構戊となっている。
In such an electronic control device, the control section is backed up with a capacitor or the like in the event of a momentary power outage so that the control contents in the control section are not erased undesirably in the event of a momentary power outage. ing.

この時、制御部の他に斯る制御部で制御される負荷もパ
・7クアップすると、コンデンサ等による制御部のバッ
クアップ保証時間が極めて短くなり、制御部を瞬時停電
の全期間に亘ってバックアップできない恐れが生じる。
At this time, if the load controlled by the control unit in addition to the control unit is also powered up, the guaranteed backup time of the control unit using capacitors, etc. becomes extremely short, and the control unit cannot be backed up for the entire period of the instantaneous power outage. There is a fear that it will not be possible.

そこで、瞬時停電発生時に所定信号をU御部へ出力する
瞬時停電検知回路を設けることが、通常行われている(
特公平1−15777号公報参照)。この場合,瞬時停
電発生時に瞬時停電検知回路から出力される所定信号に
基づいて、制御部は負荷がバックアップされないよらに
M%する。
Therefore, it is common practice to provide a momentary power failure detection circuit that outputs a predetermined signal to the U control unit when a momentary power failure occurs (
(See Japanese Patent Publication No. 1-15777). In this case, based on a predetermined signal output from the instantaneous power outage detection circuit when a momentary power outage occurs, the control unit reduces the load by M% so that the load is not backed up.

即ち、負荷の駆動を停止する。従って,瞬時停電時に制
御部をバックアップできる時間を充分に確保できる。
That is, driving of the load is stopped. Therefore, sufficient time can be secured for backing up the control unit in the event of a momentary power outage.

一方、上述のような制御部は、商用交流電源の闇波数に
基づいたパルスを入力しカウントするこヒにより計時動
作を行い、この計時結果に従って負荷を駆動制御するt
*或をとっている。
On the other hand, the above-mentioned control unit performs a timekeeping operation by inputting and counting pulses based on the dark wave number of the commercial AC power supply, and controls the drive of the load according to the timekeeping results.
*taking a certain amount.

さて、このように瞬時停電発生時に瞬時停電検知回路か
ら出力される所定信号、及び周波数パルスを、制御部が
入力する溝或にあっては、制御部は所定信号入力端子及
び周波数パルス入力端子の双方が必要であり、従って、
制御部において他の制御に係る端子の確保に支障を来す
こととなる。
Now, in the groove where the control section inputs the predetermined signal and frequency pulse outputted from the instantaneous power failure detection circuit when a momentary power outage occurs, the control section inputs the predetermined signal input terminal and the frequency pulse input terminal. Both are necessary and therefore
This will cause problems in securing terminals for other controls in the control unit.

(ハ!発明が解決しようとする課題 本発明は、瞬時停電の検知及び計時動作の双方に関して
必要な制御部の入力端子数を減少させようとするもので
ある。
(c) Problems to be Solved by the Invention The present invention aims to reduce the number of input terminals of the control unit necessary for both detection of instantaneous power outage and timing operation.

(二)課題を解決するための手段 本発明の電子制御装置は,商用交流電源の周波数に基づ
いたパルスを発生するパルス発生部、負荷、上記パルス
発生部からのパルスを入力してカウントすることにより
計時動作を行い、該計時の結果に従って上記負荷を駆動
制御する制御部からなり,該制御部は、所定期間内にお
ける上記パルスの入力の有無を調べる第1手段と、該第
1手段により上記所定期間内に上記パルスの入力が無い
ことが調べられた時、瞬時停電が発生したと判断一.上
呂ご負荷の駆動制御を停止する第2手段とを有するもの
である。
(2) Means for Solving the Problems The electronic control device of the present invention includes a pulse generator that generates pulses based on the frequency of a commercial AC power source, a load, and a pulse input from the pulse generator for counting. The controller comprises a control unit that performs a time measurement operation and controls the drive of the load according to the time measurement result, and the control unit includes a first means for checking whether or not the pulse is input within a predetermined period; When it is determined that there is no input of the above pulse within a predetermined period, it is determined that a momentary power outage has occurred.1. and a second means for stopping drive control of the upper load.

(ホ)作用 制御部は、パルス発生部から発生する商用交流電源の周
波数に基づいたパルスを入力してカウントすることによ
り計時動作を行い、該計時の結果に従って負荷を駆動制
御する。更に、上記制御部は、所定期間内における上記
パルスの入力の有無を調べ、斯る所定期間内に上記パル
スの入力が無い場合瞬時停電が発生じたと判断し、上記
負荷の駆動制御を停止する。この負荷の駆動停止に基づ
いて瞬時停電時における制御部のバックアップ時間を充
分に確保できる。
(e) The action control section performs a timekeeping operation by inputting and counting pulses based on the frequency of the commercial AC power source generated from the pulse generation section, and drives and controls the load in accordance with the timing results. Furthermore, the control unit checks whether or not the pulse is input within a predetermined period, and if the pulse is not input within the predetermined period, it determines that a momentary power outage has occurred, and stops the drive control of the load. . Based on this stoppage of the drive of the load, sufficient backup time for the control unit can be ensured in the event of a momentary power outage.

而して、このように、制御部は商用交流電源周波数パル
スの入力に基づいて瞬時停電の検知及び計時動作の双方
を行い、従って,制御部にあっては、瞬時停電の検知及
び計時動作の双方に対して1二記闇波数パルスを入力す
る端子を設けるだけでよく、他の制御に係る端子を増や
すことができる。
In this way, the control section performs both momentary power outage detection and timing operation based on the input of the commercial AC power frequency pulse. It is only necessary to provide terminals for inputting the 12 dark wave number pulses to both sides, and the number of terminals related to other controls can be increased.

(へ)実施例 第l図は本発明実施例の電子制御式電子レンジの同路を
示し、電子レンジの制御を司るものとして、マイクロコ
ンピュータ等からなる制御部lが設けられている。斯る
制御部1は、キーボード2からのキー操作情報、及びパ
ルス発生部3からのパルスを入力する。斯るパルスは商
用交流電源4の闇波数例えば6 0Hzに基づいたもの
で、60Hzパルスとなっている。そして、上記制御部
lは、これらキー操作情報及びパルスに基づいて、負荷
であるリレー5を制御してマグネトロン6の駆動即ちマ
イクロ波加熱を制御する。
(F) Embodiment FIG. 1 shows the circuit of an electronically controlled microwave oven according to an embodiment of the present invention, in which a control section 1 consisting of a microcomputer or the like is provided to control the microwave oven. The control unit 1 receives key operation information from the keyboard 2 and pulses from the pulse generator 3 . This pulse is based on the dark wave frequency of the commercial AC power source 4, for example 60 Hz, and is a 60 Hz pulse. Then, the control section 1 controls the relay 5, which is a load, and controls the drive of the magnetron 6, that is, the microwave heating, based on the key operation information and pulses.

具体的には、例えば上記キーボード2にて所望加熱時間
を設定し加熱開始操作を行うと,上記制御部1は上記所
望加熱時間を入力する。そして、L記制御部1は、内蔵
する第lカウンタC N T 1にて、上記加熱時間の
カウント計時を上記パルス発生部3からのパルスに基づ
いて行う。同時に、E記制御部lは上記マグネトロン6
を駆動しマイクロ波加熱を開始する。そして、上記it
カウンタCNTIで所望加熱時間のカウント計時がなさ
れると、この結果に従って上記制御部lは上記マグネト
ロン6の駆動を停止しマイクロ波加熱を終了する。
Specifically, when a desired heating time is set using the keyboard 2 and a heating start operation is performed, the control section 1 inputs the desired heating time. Then, the L controller 1 counts the heating time using the built-in l-th counter C N T 1 based on the pulses from the pulse generator 3 . At the same time, the control section 1 of E indicates the magnetron 6.
to start microwave heating. And the above it
When the desired heating time is counted by the counter CNTI, the control section 1 stops driving the magnetron 6 and ends the microwave heating according to the result.

さて、上記パルス発生部3からのパルスは瞬時停電を検
知する時にも用いられる。
Now, the pulse from the pulse generator 3 is also used when detecting a momentary power outage.

第2図は上記制御部1に組み込まれた瞬時停電検知ルー
チンのプログラムの流れを示し、以下同図に従って瞬時
停電検知に関する動作を説明する。
FIG. 2 shows the program flow of the instantaneous power failure detection routine incorporated in the control section 1, and the operation related to instantaneous power failure detection will be explained below with reference to the figure.

まず、上記パルス発生部3から商用電源周波数に基づい
たパルスが発生しない間、Sl.S2、S3、S4の各
ステップが瞬時停電検知ルーチンに入る毎に繰り返し高
遠で実行される。S1ステップでは、上記パルス発生部
3からのパルスが人力されたか否かが判断される。S2
ステップでは、制御部l内に設けられた水晶発振部OS
Cからの信号に基づき、制御部l内の第2カウンタCN
T2でl/32秒の計時が繰り返し実行される横或の下
に,1,’32秒が経過したか否かが判断される。斯る
1/32秒の期間内には上記パルス発生部3から6 0
Hzのパルス(周期1760秒}が通常1つ発生する.
S3ステップでは制御部l内の瞬停フラグOFF−FL
Gのセットの有無がt’4断される。S4ステップでは
上記マグネトロン6の駆動制御が許容される。
First, while pulses based on the commercial power frequency are not generated from the pulse generator 3, the Sl. Each step of S2, S3, and S4 is repeatedly executed at high speed every time the instantaneous power failure detection routine is entered. In step S1, it is determined whether or not the pulse from the pulse generator 3 has been manually generated. S2
In the step, the crystal oscillator OS provided in the control unit l
Based on the signal from C, the second counter CN in the control unit l
At T2, it is determined whether 1,'32 seconds have elapsed while the time measurement of 1/32 seconds is repeatedly executed. Within such a period of 1/32 seconds, the pulse generator 3 to 60
Usually one Hz pulse (period: 1760 seconds) is generated.
In step S3, the instantaneous power failure flag in the control unit l is set to OFF-FL.
Whether or not G is set is determined at t'4. In step S4, drive control of the magnetron 6 is permitted.

そして,上記パルス発生部3から60Hzのパルスが発
生すると、51,S2、S3.S4の各ステノプの繰り
返し実行が終わり、S5ステップが実行される。S5ス
テップでは,lillpal内のパルスフラグPFLG
のセット操作がなれると共に上記瞬停フラグOFF−F
LGのリセット操作がなされる。その後、再びSt,S
2,S3、84の各ステップが繰り返し実行される。
When a 60Hz pulse is generated from the pulse generator 3, 51, S2, S3 . After the repeated execution of each step in S4 is completed, step S5 is executed. In step S5, the pulse flag PFLG in lillpal
As soon as the setting operation is completed, the instantaneous power failure flag turns OFF-F.
An LG reset operation is performed. After that, St, S again
Steps 2, S3, and 84 are repeatedly executed.

続いて、上記第2カウンタCNT2で1/32秒が計時
されると、Sl,32、S3、S4の各ステソプの繰り
返し実行が再び終わり、S6ステップが実行される。S
6ステップでは、1/32秒の所定期間の間に上記パル
ス発生部3から60Hzのパルスが発生して、上記パル
スフラグPFLGがセットされているか否かが判断され
る。
Subsequently, when 1/32 second is counted by the second counter CNT2, the repeated execution of steps Sl, 32, S3, and S4 is again completed, and step S6 is executed. S
In step 6, a 60 Hz pulse is generated from the pulse generator 3 during a predetermined period of 1/32 seconds, and it is determined whether or not the pulse flag PFLG is set.

斯るS6ステップは本発明の第1手段に相当するっ今の
場合、上述の如くパルスフラグPFLGがセントされて
おり、従って、次いでS7ステゾブが実行され、パルス
フラグPFLGがリセットされる。
In the present case, the S6 step corresponds to the first means of the present invention, and the pulse flag PFLG is set as described above.Therefore, the S7 step is then executed and the pulse flag PFLG is reset.

二のようにして,Sl.S2、S3、S4の各ステ・r
アの繰り返し実行がなされる状況において、l ,/”
 3 2秒の所定期間の間にパルス発生部3から60H
zのパルスが正常に発生しているか否かが逐次調べられ
る。
2, Sl. Each step of S2, S3, S4
In a situation where a is repeatedly executed, l,/”
3 60H from pulse generator 3 during a predetermined period of 2 seconds
It is sequentially checked whether the pulse of z is generated normally.

而して、斯る逐次調査において、瞬時停電が発生し上記
パルス発生部3から6 0Hzのパルスが発生しなくな
ると、1732秒の所定期間の間に6 0Hzのパルス
が発生していないことが調べろれ、するとS6ステlブ
に至った後S8ステップが実行される。S8ステップで
は、瞬時停電が発生したとの判断のfに、制御部lの全
ての出力が停正され、これにより、リレー5のM御が停
止されマイクロ波加熱が停止される。更に、瞬停7ラグ
OFF−FLGがセットされる。斯るS8ステップは本
発明の第2手段に相当する。その後、S1、S2、S3
の各ステップか、Sl.S2、S6.58、S7、S3
の各ステップが繰り返し実行される。
In this sequential investigation, when a momentary power outage occurred and the pulse generator 3 stopped generating 60Hz pulses, it was found that no 60Hz pulses were generated during the predetermined period of 1732 seconds. If you check, the S6 step will be reached and the S8 step will be executed. In step S8, at f when it is determined that a momentary power outage has occurred, all outputs of the control unit 1 are stopped and corrected, thereby stopping the M control of the relay 5 and stopping the microwave heating. Furthermore, instantaneous power failure 7 lag OFF-FLG is set. Such step S8 corresponds to the second means of the present invention. After that, S1, S2, S3
Each step of Sl. S2, S6.58, S7, S3
Each step is executed repeatedly.

ここに、fslmm lはこのような瞬時停電時には図
示しないコンデンサにてバックアップされるのであるが
、斯るコンデンサは制御部l″C′制御されるリレー5
等の!1illIが停止されることからリレー5等のバ
ックアップには用いられず、従って、瞬時停電時におけ
る制御部lのバックアップ時間を充分に確保できる。そ
して、上記説明から分かる通り、制御部lは商用交流電
源周波数に係るパルス発生部3からのパルスの入力に基
づいて瞬時停電の検知及び計時動作の双方を行い、従っ
て、制卸部1にあっては,瞬時停電の検知及び計時動作
の双方に対して上記パルスを入力する端子7を設けるだ
けでよく、他の制御に係る端子を増やすことができる。
Here, fslmm l is backed up by a capacitor (not shown) in the event of a momentary power outage, and this capacitor is connected to relay 5 controlled by control unit l''C'.
etc.! Since 1illI is stopped, it is not used for backing up the relay 5, etc., and therefore, sufficient backup time for the control unit 1 can be secured in the event of a momentary power outage. As can be seen from the above description, the control unit 1 performs both momentary power failure detection and timing operations based on the input of pulses from the pulse generation unit 3 related to the frequency of the commercial AC power supply. In this case, it is only necessary to provide the terminal 7 for inputting the above-mentioned pulses for both detection of instantaneous power outage and timing operation, and the number of terminals related to other controls can be increased.

.ヒ記瞬時停電が復帰すると、当初に説明した流れに入
り、Sl.S2.S3、S4の各ステップの繰り返し実
行がなされる状況において、I/32秒の所定期間の間
にパルス発生部3がら60Hzのパルスが正常に発生し
ていることが逐次調べられるようになり、そして、S4
ステップにて、マグネトロン6の駆動制御が許容され、
斯る駆動制御が再開される。
.. Note: When the instantaneous power outage returns, the flow as explained at the beginning begins, and Sl. S2. In a situation where each step of S3 and S4 is repeatedly executed, it is successively checked that the pulse generator 3 normally generates a 60 Hz pulse during a predetermined period of I/32 seconds, and , S4
In the step, drive control of the magnetron 6 is allowed,
Such drive control is restarted.

(トノ発明の効果 本発明によれば、瞬時停電の検知及び計時動作の双方に
関して必要な制御部の入力端子を共用化して斯る端子の
数を減少でき、従って、制御部の池のM卸に斯る端子を
増大でき、制御部の多機能化を図ることができる。
(Effects of the Invention According to the present invention, the input terminals of the control unit necessary for both instantaneous power outage detection and timing operation can be shared, reducing the number of such terminals, and therefore reducing the number of input terminals in the control unit. The number of such terminals can be increased, and the control section can be multifunctional.

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

図面は本発明の実施例の電子レンジに係り、第1図は回
路図、第2図は瞬時停電検知ルーチンのプログラムの流
れ図である。 1・・・制御部、3・・・パルス発生部、5゜゜゜リレ
−出頼人 三洋電機株式会社
The drawings relate to a microwave oven according to an embodiment of the present invention, with FIG. 1 being a circuit diagram and FIG. 2 being a flowchart of a program for an instantaneous power failure detection routine. 1...Control unit, 3...Pulse generation unit, 5゜゜゜Relay person Sanyo Electric Co., Ltd.

Claims (1)

【特許請求の範囲】[Claims] (1)商用交流電源の周波数に基づいたパルスを発生す
るパルス発生部、負荷、上記パルス発生部からのパルス
を入力してカウントすることにより計時動作を行い、該
計時の結果に従って上記負荷を駆動制御する制御部から
なり、該制御部は、所定期間内における上記パルスの入
力の有無を調べる第1手段と、該第1手段により上記所
定期間内に上記パルスの入力が無いことが調べられた時
、瞬時停電が発生したと判断し、上記負荷の駆動制御を
停止する第2手段とを有することを特徴とする電子制御
装置。
(1) A pulse generator that generates pulses based on the frequency of the commercial AC power supply, a load, performs timekeeping operation by inputting and counting the pulses from the pulse generator, and drives the load according to the timing results. The controller includes a first means for checking whether or not the pulse has been input within a predetermined period, and a first means for checking whether the pulse has been input within the predetermined period. and second means for determining that an instantaneous power outage has occurred and stopping drive control of the load.
JP19093289A 1989-07-24 1989-07-24 Electronic controller Pending JPH0356024A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP19093289A JPH0356024A (en) 1989-07-24 1989-07-24 Electronic controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP19093289A JPH0356024A (en) 1989-07-24 1989-07-24 Electronic controller

Publications (1)

Publication Number Publication Date
JPH0356024A true JPH0356024A (en) 1991-03-11

Family

ID=16266085

Family Applications (1)

Application Number Title Priority Date Filing Date
JP19093289A Pending JPH0356024A (en) 1989-07-24 1989-07-24 Electronic controller

Country Status (1)

Country Link
JP (1) JPH0356024A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1167608A3 (en) * 2000-06-21 2003-11-19 Whirlpool Corporation A method and apparatus for power loss detection and saving of operation settings in an appliance
JP2008025954A (en) * 2006-07-25 2008-02-07 Mitsubishi Electric Corp Cooker

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS51151581A (en) * 1975-06-20 1976-12-27 Casio Comput Co Ltd Detection method of stop page of electric current

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS51151581A (en) * 1975-06-20 1976-12-27 Casio Comput Co Ltd Detection method of stop page of electric current

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1167608A3 (en) * 2000-06-21 2003-11-19 Whirlpool Corporation A method and apparatus for power loss detection and saving of operation settings in an appliance
JP2008025954A (en) * 2006-07-25 2008-02-07 Mitsubishi Electric Corp Cooker

Similar Documents

Publication Publication Date Title
JPH0356024A (en) Electronic controller
JPH04303594A (en) Inverter control system
KR920000823B1 (en) Method and Circuit for Power Failure Preparation of Electronic Cookware
JP2993318B2 (en) Timed switching watchdog timer circuit
JPH11318072A (en) AC power zero-cross detector
JP2507167B2 (en) Control device for air conditioner
JPS60128819A (en) Power source restarting system
JPS60264087A (en) Controller
KR920001341B1 (en) Detection method for alternating power frequency
JPS6318188B2 (en)
JPS6122697A (en) Controller for electric device
JP3345901B2 (en) Control circuit protection device
KR950013665B1 (en) How to control tray home position of microwave oven
JPS61129581A (en) Detecting device for instantaneous power failure
JP3109173B2 (en) Inverter control circuit
JP2874915B2 (en) Fire detector with low current consumption
JPS634890Y2 (en)
JPS5943453A (en) Runaway detector of computer system
JPS603580A (en) Operation control device for house equipment apparatus
JPH04348411A (en) Microcomputer
JPS635796A (en) Operational control of washing machine
JPH0786794B2 (en) Blackout control circuit
JPH11183534A (en) Power frequency detection method
JPH0567197B2 (en)
JPS58214298A (en) Method of controlling cooking device