JP2847224B2 - microwave - Google Patents

microwave

Info

Publication number
JP2847224B2
JP2847224B2 JP3143703A JP14370391A JP2847224B2 JP 2847224 B2 JP2847224 B2 JP 2847224B2 JP 3143703 A JP3143703 A JP 3143703A JP 14370391 A JP14370391 A JP 14370391A JP 2847224 B2 JP2847224 B2 JP 2847224B2
Authority
JP
Japan
Prior art keywords
key
input port
signals
strobe signal
time
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.)
Expired - Fee Related
Application number
JP3143703A
Other languages
Japanese (ja)
Other versions
JPH04369321A (en
Inventor
克美 石風呂
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.)
Consejo Superior de Investigaciones Cientificas CSIC
Original Assignee
Consejo Superior de Investigaciones Cientificas CSIC
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 Consejo Superior de Investigaciones Cientificas CSIC filed Critical Consejo Superior de Investigaciones Cientificas CSIC
Priority to JP3143703A priority Critical patent/JP2847224B2/en
Publication of JPH04369321A publication Critical patent/JPH04369321A/en
Application granted granted Critical
Publication of JP2847224B2 publication Critical patent/JP2847224B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Description

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

【0001】[0001]

【産業上の利用分野】この発明は、動作条件設定用のキ
ー入力部からのキー入力に基いてマイコン(マイクロコ
ンピュータ)により動作制御が行なわれる電子レンジに
関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a microwave oven whose operation is controlled by a microcomputer based on a key input from a key input section for setting operating conditions.

【0002】[0002]

【従来の技術】この種の電子レンジにおいて、マイコン
によるキーの読み込みは、従来、次のようにして行なわ
れている。
2. Description of the Related Art In a microwave oven of this type, reading of a key by a microcomputer is conventionally performed as follows.

【0003】すなわち、まず、複数種類のキーストロー
ブ信号を同時にオンにして、そのときのマイコンの複数
のキー入力ポートの状態を読み込む。このとき、全ての
キー入力ポートがオフ(アクティブでない状態)であれ
ば、キー入力がなかったと判断し、1回の読み込みを終
了する。いずれかのキー入力ポートがオン(アクティブ
な状態)であれば、キー入力があったと判断し、次に、
ストローブ信号を1つずつ順にオンにして、そのときの
キー入力ポートの状態を読み込む。そして、キー入力ポ
ートがオンになった時点で1回の読み込みを終了し、そ
のときにオンになっているストローブ信号とキー入力ポ
ートの組合わせによって押されているキーの種類を判別
する。
That is, first, a plurality of types of key strobe signals are simultaneously turned on, and the states of a plurality of key input ports of the microcomputer at that time are read. At this time, if all the key input ports are off (inactive), it is determined that no key input has been made, and one reading operation is completed. If any key input port is on (active state), it is determined that a key input has occurred,
The strobe signals are sequentially turned on one by one, and the state of the key input port at that time is read. When the key input port is turned on, one reading operation is completed, and the type of the key being pressed is determined based on the combination of the strobe signal and the key input port that are turned on at that time.

【0004】[0004]

【発明が解決しようとする課題】ところが、従来の電子
レンジでは、上記のようにしてキーの読み込みが行なわ
れているので、実際にはキーが押されていないのにノイ
ズや回路の短絡などによってキーが押されたと誤って判
断してしまう誤読み込みのおそれがある。
However, in the conventional microwave oven, since the key is read as described above, even though the key is not actually pressed, noise or short-circuit of the circuit may occur. There is a risk of erroneous reading in which a key is erroneously determined to be pressed.

【0005】このような誤読み込みを防止するため、複
数回の読み込みを行なうようにしたものもあるが、これ
では、ノイズによる誤読み込みは防止できるが、回路の
短絡などによってキー入力ポートがオンの状態になって
しまったような場合には誤読み込みを防止することがで
きない。
In order to prevent such erroneous reading, there is a device that performs reading a plurality of times. In this case, erroneous reading due to noise can be prevented, but the key input port is turned on due to a short circuit or the like. In such a case, erroneous reading cannot be prevented.

【0006】次に、図4のタイミングチャートを参照し
て、その理由を詳細に説明する。
Next, the reason will be described in detail with reference to the timing chart of FIG.

【0007】図4は8種類のストローブ信号S1 〜S8
と4つのキー入力ポートa〜dを用いてキーの読み込み
を行なう場合のストローブ信号S1 〜S8 とキー入力ポ
ートa〜dの信号(入力ポート信号)Ka 〜Kd の状態
を示しており、Aの部分は正常な状態、Bの部分は誤読
み込が生じる異常な状態を示している。なお、以下の
説明において、ストローブ信号S1 〜S8 について、オ
ンの状態を“H”(High)で、オフの状態を“L”(Lo
w )で表わし、入力ポート信号Ka 〜Kd について、オ
ンの状態を“1“で、オフの状態を“0”で表わすこと
がある。
FIG. 4 shows eight types of strobe signals S1 to S8.
And strobe signals S1 to S8 when signals are read using the four key input ports a to d and the signals (input port signals) Ka to Kd of the key input ports a to d. partial normal conditions, part of B indicates an abnormal condition where misreading <br/> seen write only occurs. In the following description, for the strobe signals S1 to S8, the ON state is "H" (High) and the OFF state is "L" (Lo).
w), the input port signals Ka to Kd may be represented by "1" for the on state and "0" for the off state.

【0008】図4において、正常状態でキーが押されて
いない場合、時点T1で全てのストローブ信号S1 〜S8
を“H”にしても、4つのキー入力ポートa〜dの信
号(入力ポート信号)Ka 〜Kd は全て“0”である。
したがって、キー入力がなかったと判断し、読み込みを
終了する。
In FIG. 4, when the key is not pressed in the normal state, all the strobe signals S1 to S8 at time T1.
Is set to "H", the signals (input port signals) Ka to Kd of the four key input ports a to d are all "0".
Therefore, it is determined that there is no key input, and the reading is terminated.

【0009】第8ストローブ信号S8 と第4入力ポート
dに対応するキーが押された場合、時点T2 で全てのス
トローブ信号S1 〜S8 を“H”にすると、第4入力ポ
ート信号Kd が“1”になる。したがって、キー入力が
あったと判断し、次に、ストローブ信号S1 〜S8 を第
1ストローブ信号S1 から順に“H”にして、そのとき
の入力ポート信号Ka 〜Kd を読み込む。第1ストロー
ブ信号S1 (時点T3)、第2ストローブ信号S2 (時
点T4 )、図示しない第3ストローブ信号S3〜第6ス
トローブ信号S6 および第7ストローブ信号S7 (時点
T5 )を順に“H”にしても、いずれの場合も入力ポー
ト信号Ka 〜Kd は全て“0”であるから、時点T6 で
第8ストローブ信号S8 を“H”にするが、このとき
は、第4入力ポート信号Kd が“1”になるので、第8
ストローブ信号S8 と第4入力ポートdに対応するキー
が押されたと判断して、読み込みを終了する。
When the key corresponding to the eighth strobe signal S8 and the fourth input port d is pressed, all the strobe signals S1 to S8 are set to "H" at time T2, and the fourth input port signal Kd becomes "1". "become. Therefore, it is determined that a key input has been made, and then the strobe signals S1 to S8 are set to "H" sequentially from the first strobe signal S1, and the input port signals Ka to Kd at that time are read. The first strobe signal S1 (time T3), the second strobe signal S2 (time T4), the third strobe signal S3 to the sixth strobe signal S6 (not shown) and the seventh strobe signal S7 (time T5) are sequentially set to "H". In any case, since the input port signals Ka to Kd are all "0", the eighth strobe signal S8 is set to "H" at time T6. In this case, the fourth input port signal Kd is set to "1". The 8th
It is determined that the key corresponding to the strobe signal S8 and the fourth input port d has been pressed, and the reading is terminated.

【0010】キーが押されていないのに回路の短絡など
によって第2入力ポート信号Kb が“1”の状態になっ
てしまった場合、時点T7 で全てのストローブ信号S1
〜S8 を“H”にしたときに、第2入力ポート信号Kb
が“1”になっているので、キー入力があったと誤って
判断し、次に、ストローブ信号S1 〜S8 を第1ストロ
ーブ信号S1 から順に“H”にして、そのときの入力ポ
ート信号Ka 〜Kd を読み込む。そして、時点T8 で第
1ストローブ信号S1 を“H”にしたときに、第2入力
ポート信号Kb が“1”になっているので、第1ストロ
ーブ信号S1 と第2入力ポートbに対応するキーが押さ
れたと誤って判断して、読み込みを終了する。
If the second input port signal Kb is set to "1" due to a short circuit or the like without the key being pressed, all the strobe signals S1 at time T7.
To S8 at "H", the second input port signal Kb
Is "1", it is erroneously determined that a key input has been made. Then, the strobe signals S1 to S8 are sequentially set to "H" from the first strobe signal S1, and the input port signals Ka to Read Kd. When the first strobe signal S1 is set to "H" at time T8, the second input port signal Kb is "1", so that the key corresponding to the first strobe signal S1 and the second input port b is set. It is determined that is pressed by mistake and the reading is terminated.

【0011】この場合、誤読み込み防止のために複数回
の読み込みを行なったとしても、第2入力ポート信号K
b が“1”の状態のままであるから、第1ストローブ信
号S1 と第2入力ポートbに対応するキーが押されっぱ
なしになっていると誤って判断してしまう。
In this case, even if reading is performed a plurality of times to prevent erroneous reading, the second input port signal K
Since b remains "1", it is erroneously determined that the key corresponding to the first strobe signal S1 and the second input port b has been pressed.

【0012】このため、誤って判断されたキーがダイレ
クトスタートキーであったような場合、キーを押さない
のに誤って調理が開始してしまい、また、このキー
し続けることによって調理時間をたとえば1分単位で増
加するようなキーの場合は、いつまでたっても調理が終
了しないというような重大な問題が生じる。
[0012] For this reason, if the key that has been determined by mistake, such as a direct start key, cooking by mistake to not press the key will be the start, also, continue to this key and press <br/> In the case of a key that increases the cooking time by, for example, one minute, there is a serious problem that cooking does not end forever.

【0013】この発明の目的は、上記の問題を解決し、
回路の短絡によるキーの誤読み込みも確実に防止でき
しかもキーの誤読み込み防止のためにコストアップを招
かない電子レンジを提供することにある。
An object of the present invention is to solve the above problems,
Incorrectly reading the key due to a short circuit can be reliably prevented ,
In addition, costs are increased to prevent erroneous reading of keys.
It is to provide a microwave oven that does not Ka.

【0014】[0014]

【課題を解決するための手段】この発明による電子レン
ジは、制御用のマイクロコンピュータと、動作条件設定
用のキー入力部とを備え、マイクロコンピュータがキー
ストローブ信号をオンにしてキー入力ポートの状態を読
み込むことによりキーの読み込みを行なうようになされ
ている電子レンジにおいて、ストローブ信号をオンにす
る前に、ストローブ信号をオフにした状態でキー入力ポ
ートの状態を読み込み、全てのキー入力ポートがオフの
場合はストローブ信号をオンにしてキーの読み込みを行
ない、いずれかのキー入力ポートがオンの場合はキーの
読み込みを行なわないようになされていることを特徴と
するものである。
A microwave oven according to the present invention includes a control microcomputer and a key input section for setting operating conditions, and the microcomputer turns on a key strobe signal to set a state of a key input port. In a microwave oven that reads a key by reading a key, before turning on the strobe signal, the state of the key input port is read with the strobe signal turned off, and all key input ports are turned off. In the case of (1), the key is read by turning on the strobe signal, and the key is not read when any key input port is on.

【0015】[0015]

【作用】たとえば回路の短絡によってあるキー入力ポー
トがオンの状態になってしまったような異常の場合、キ
ー読み込みに先立ってストローブ信号をオフにした状態
でキー入力ポートの状態を読み込んだときに、キー入力
ポートのいれかがオンになっているので、異常と判断
され、読み込みは行なわれない。したがって、誤読み込
みは生じない。
For example, in the case of an abnormality such as a certain key input port being turned on due to a short circuit, when the state of the key input port is read with the strobe signal turned off prior to reading the key. , because either Re not have a key input port is turned on, it is judged to be abnormal, the reading is not performed. Therefore, no erroneous reading occurs.

【0016】上記のような異常のない場合、キー読み込
みに先立ってストローブ信号をオフにした状態でキー入
力ポートの状態を読み込んだときに、全てのキー入力ポ
ートがオフになっているので、正常に読み込みが行なわ
れる。ストローブ信号とキー入力ポートは、キーの読み
込みのために元来必要なものであり、ストローブ信号を
オフにした状態でキー入力ポートの状態を読み込むため
のソフトウェアプログラムをマイクロコンピュータに付
加するだけで、誤読み込みの防止ができる。
If there is no abnormality as described above, all key input ports are turned off when the state of the key input ports is read with the strobe signal turned off prior to key reading, so that normal operation is performed. Is read. The strobe signal and key input port
The strobe signal
To read the state of the key input port with it turned off
Software programs attached to a microcomputer
By simply adding, it is possible to prevent erroneous reading.

【0017】[0017]

【実施例】以下、図面を参照して、この発明の実施例に
ついて説明する。
Embodiments of the present invention will be described below with reference to the drawings.

【0018】図1に電子レンジ(ワンキーレンジ)の全
体ブロック図が示されている。
FIG. 1 shows an overall block diagram of a microwave oven (one-key range).

【0019】この電子レンジは、動作条件を与えるため
のキー入力部(1) 、動作状態、温度、時間などを表示す
るための表示部(2) 、ブザーなどを使用して調理終了な
どを知らせるための報知部(3) 、マグネトロンなどを制
御するためのリレー出力部(4) 、これら全体を制御する
ためのマイコン(5) および電源部(6) より構成されてい
る。
This microwave oven uses a key input unit (1) for giving operating conditions, a display unit (2) for displaying operating conditions, temperature, time, etc., and a buzzer to notify the end of cooking. And a relay output unit (4) for controlling a magnetron, etc., a microcomputer (5) for controlling the whole of them, and a power supply unit (6).

【0020】マイコン(5) とキー入力部(1) は、ストロ
ーブ信号出力線(7) とキー入力線(8) で接続されてお
り、マイコン(5) からストローブ信号出力線(7) を通し
てキー入力部(1) に8種類のストローブ信号S1 〜S8
が出力され、キー入力部(1) からキー入力線(8) を通し
てマイコン(5) の4つのキー入力ポートa〜dにキー入
力データが送られるようになっている。そして、キー入
力部(1) のあるキーが押された場合、このキーに対応す
るストローブ信号S1 〜S8 がオンになったときに対応
する入力ポートa〜dがオンになり、このオンになるス
トローブ信号S1〜S8 と入力ポートa〜dの組合わせ
によって、押されたキーの種類が判別されるようになっ
ている。したがって、正常な場合には、対応するストロ
ーブ信号がオンにならない限り、入力ポートはオンにな
ることがない。
The microcomputer (5) and the key input section (1) are connected by a strobe signal output line (7) and a key input line (8), and a key is connected from the microcomputer (5) through the strobe signal output line (7). Eight types of strobe signals S1 to S8 are input to the input section (1).
The key input data is sent from the key input unit (1) to the four key input ports a to d of the microcomputer (5) through the key input line (8). When a key in the key input section (1) is pressed, the corresponding input ports a to d are turned on when the strobe signals S1 to S8 corresponding to the key are turned on, and the keys are turned on. The combination of the strobe signals S1 to S8 and the input ports a to d determines the type of the pressed key. Therefore, under normal conditions, the input port will not be turned on unless the corresponding strobe signal is turned on.

【0021】次に、図2のフローチャートを参照して、
マイコンによるキー読み込み動作の1例について説明す
る。
Next, referring to the flowchart of FIG.
An example of a key reading operation by the microcomputer will be described.

【0022】まず、読み込みに先立ち、全てのストロー
ブ信号S1 〜S8 を“L”にし(ステップ1)、そのと
きの4つの入力ポート信号Ka 〜Kd を読み込んでこれ
らが全て“0”であるかどうかを調べる(ステップ
2)。
First, prior to reading, all strobe signals S1 to S8 are set to "L" (step 1), and the four input port signals Ka to Kd at that time are read to determine whether all of them are "0". (Step 2).

【0023】ステップ2において、4つの入力ポート信
号Ka 〜Kd のうちのいずれか1つでも“1”であれ
ば、異常であると判断して、ステップ11に進み、キー入
力なしの処理をして読み込み処理を終了する。
In step 2, if any one of the four input port signals Ka to Kd is "1", it is determined that there is an abnormality, and the flow advances to step 11 to perform processing without key input. To terminate the reading process.

【0024】ステップ2において、入力ポート信号Ka
〜Kd が全て“0”であれば、正常であると判断して、
実際のキー読み込みを開始する。すなわち、まず、全て
のストローブ信号S1 〜S8 をHにし(ステップ3)、
そのときの4つの入力ポート信号Ka 〜Kd を読み込ん
でこれらのいずれか1つでも“1”であるかどうかを調
べる(ステップ4)。
In step 2, the input port signal Ka
If ~ Kd are all "0", it is determined that it is normal and
Start the actual key reading. That is, first, all the strobe signals S1 to S8 are set to H (step 3),
The four input port signals Ka to Kd at that time are read to check whether any one of them is "1" (step 4).

【0025】ステップ4において、入力ポート信号Ka
〜Kd が全て“0”であれば、ステップ10に進んで、全
てのストローブ信号S1 〜S8 を“L”にしたのち、キ
ー入力なしの処理をして(ステップ11)、読み込み処理
を終了する。これは、正常状態でキー入力がなかった場
合である。
In step 4, the input port signal Ka
If .about.Kd are all "0", the process proceeds to step 10, after all the strobe signals S1 to S8 are set to "L", a process without key input is performed (step 11), and the reading process is terminated. . This is a case where no key input is made in a normal state.

【0026】ステップ4において、4つの入力ポート信
号Ka 〜Kd のうちのいずれか1つでも“1”であれ
ば、正常なキー入力があったと判断して、ステップ5に
進み、全てのストローブ信号S1 〜S8 を“L”にする
とともに、ストローブ信号S1〜S8 の番号(1〜8)
を表わす変数xに初期値1をセットする。
In step 4, if any one of the four input port signals Ka to Kd is "1", it is determined that a normal key input has been made, and the routine proceeds to step 5, where all strobe signals are output. S1 to S8 are set to "L", and strobe signals S1 to S8 are numbered (1 to 8).
Is set to an initial value 1 for a variable x representing.

【0027】次に、ストローブ信号Sx を“H”にし
(ステップ6)、そのときの4つの入力ポート信号Ka
〜Kd を読み込んでこれらのいずれか1つでも“1”で
あるかどうかを調べる(ステップ7)。
Next, the strobe signal Sx is set to "H" (step 6), and the four input port signals Ka at that time are set.
.About.Kd and checks whether any one of them is "1" (step 7).

【0028】ステップ7において、4つの入力ポート信
号Ka 〜Kd のうちのいずれか1つでも“1”であれ
ば、そのときに“H”になっているストローブ信号Sx
と“1”になっている入力ポート信号Ka 〜Kd に対応
するキーが正常に押されていると判断して、ステップ12
に進み、全てのストローブ信号S1 〜S8 を“L”にし
たのち、キー入力ありの処理とそのときのストローブ信
号Sx と入力ポート信号Ka 〜Kd によるキーの判別を
行なって(ステップ13)、読み込み処理を終了する。
In step 7, if any one of the four input port signals Ka to Kd is "1", the strobe signal Sx which is "H" at that time.
It is determined that the keys corresponding to the input port signals Ka to Kd which are "1" are normally pressed, and
After all the strobe signals S1 to S8 are set to "L", the processing with the key input and the key discrimination based on the strobe signal Sx and the input port signals Ka to Kd at that time are performed (step 13) and read. The process ends.

【0029】ステップ7において、入力ポート信号Ka
〜Kd が全て“0”であれば、ステップ8に進んで、S
x を“L”にするとともに、xを“1”増加させたの
ち、xが“9”になったかどうかを調べる(ステップ
9)。
In step 7, the input port signal Ka
If Kd are all "0", the process proceeds to step 8, and S
After setting x to "L" and increasing x by "1", it is checked whether or not x has become "9" (step 9).

【0030】ステップ9において、xが“9”でなけれ
ば、ステップ6に戻り、ステップ7において入力ポート
信号Ka 〜Kd のいずれかが“1”になるまで、上記の
動作を繰返す。
In step 9, if x is not "9", the process returns to step 6, and the above operation is repeated until any of the input port signals Ka to Kd becomes "1" in step 7.

【0031】ステップ9において、xが“9”になれ
ば、ステップ10に進む。
In step 9, when x becomes "9", the process proceeds to step 10.

【0032】上記のフローチャートのうち、ステップ3
〜13の部分は、前に説明した従来のキー読み込み動作と
同様である。そして、上記のフローチャートにステップ
1と2がなかったとすると、前に図4について説明した
ように、回路の短絡による誤読み込みを防止することが
できない。
In the above flowchart, step 3
13 are the same as those of the conventional key reading operation described above. If steps 1 and 2 are not included in the above-described flowchart, erroneous reading due to a short circuit cannot be prevented as described above with reference to FIG.

【0033】これに対し、この実施例の場合は、従来と
同様の読み込み動作にステップ1と2が加えられている
ので、回路の短絡による誤読み込みも確実に防止するこ
とができる。
On the other hand, in the case of this embodiment, since steps 1 and 2 are added to the same read operation as in the prior art, erroneous read due to a short circuit can be reliably prevented.

【0034】次に、図2のフローチャートと図3のタイ
ミングチャートを参照して、その理由を詳細に説明す
る。なお、図3は、前に説明した図4に対応している。
Next, the reason will be described in detail with reference to the flowchart of FIG. 2 and the timing chart of FIG. FIG. 3 corresponds to FIG. 4 described above.

【0035】正常状態でキーが押されていない場合、ま
ず、時点T10でステップ1と2が実行されて、全てのス
トローブ信号S1 〜S8 を“L”にした状態で4つの入
力ポート信号Ka 〜Kd が読み込まれる。このとき、入
力ポート信号Ka 〜Kd は全て“0”になっているか
ら、時点T11でステップ3と4が実行されて、全てのス
トローブ信号S1 〜S8 を“H”にした状態で4つの入
力ポート信号Ka 〜Kdが読み込まれる。このとき、入
力ポート信号Ka 〜Kd は全て“0”であり、したがっ
て、ステップ4からステップ11に進み、キー入力なしの
処理をして読み込み処理を終了する。
If the key is not pressed in the normal state, first, steps 1 and 2 are executed at time T10, and the four input port signals Ka to are set in a state where all the strobe signals S1 to S8 are set to "L". Kd is read. At this time, since the input port signals Ka to Kd are all "0", steps 3 and 4 are executed at time T11, and the four input signals are set with all the strobe signals S1 to S8 at "H". The port signals Ka to Kd are read. At this time, the input port signals Ka to Kd are all "0". Therefore, the process proceeds from step 4 to step 11, where the process without key input is performed, and the reading process is completed.

【0036】なお、このときの時点T11における動作は
図4の時点T1における動作と同様である。
The operation at time T11 at this time is the same as the operation at time T1 in FIG.

【0037】第8ストローブ信号S8 と第4入力ポート
dに対応するキーが押された場合、まず、時点T12でス
テップ1と2が実行されて、全てのストローブ信号S1
〜S8 を“L”にした状態で4つの入力ポート信号Ka
〜Kd が読み込まれる。このとき、入力ポート信号Ka
〜Kd は全て“0”になっているから、時点T13でステ
ップ3と4が実行されて、全てのストローブ信号S1 〜
S8 を“H”にした状態で4つの入力ポート信号Ka 〜
Kd が読み込まれる。このとき、第4入力ポート信号K
d が“1”になっているので、時点T14でステップ5、
6および7が実行され、ストローブ信号Sx (=S1 )
を“H”にした状態で4つの入力ポート信号Ka 〜Kd
が読み込まれる。このとき、4つの入力ポート信号Ka
〜Kd は全て“0”になっているので、ステップ7から
ステップ8と9が実行され、ストローブ信号Sx (=S
1 )を“L”にしたのち、xを“1”増加させて“2”
にし、ステップ6に戻る。そして、第2ストローブ信号
S2 〜第7ストローブ信号S7 を順に“H”にしても、
いずれの場合も入力ポート信号Ka 〜Kd は“0”であ
るから、時点T15でストローブ信号Sx (=S2 )を
“H”にしてからxを“1”ずつ増加させながら時点T
16でストローブ信号Sx (=S7 )を“H”にしたとき
まで、ステップ6〜9の動作が繰返される。こののち、
時点T17でステップ6と7が実行されて、ストローブ信
号Sx (=S8 )をオンにした状態で入力ポート信号K
a 〜Kd が読み込まれると、このときには、第4入力ポ
ート信号Kd が“1”になっているので、ステップ12と
13が実行され、キー入力ありの処理とキーの判別が行な
われて、読み込み処理を終了する。
When the key corresponding to the eighth strobe signal S8 and the fourth input port d is pressed, first, steps 1 and 2 are executed at time T12, and all the strobe signals S1
To S8 are set to "L" and the four input port signals Ka
~ Kd are read. At this time, the input port signal Ka
.About.Kd are all "0", steps 3 and 4 are executed at time T13, and all strobe signals S1.
With S8 set to "H", the four input port signals Ka.about.
Kd is read. At this time, the fourth input port signal K
Since d is “1”, at time T14, step 5,
6 and 7 are executed, and the strobe signal Sx (= S1)
Are set to “H”, the four input port signals Ka to Kd
Is read. At this time, four input port signals Ka
To Kd are all "0", so that steps 7 to 8 and 9 are executed, and the strobe signal Sx (= S
After 1) is set to “L”, x is increased by “1” to “2”
And return to step 6. When the second strobe signal S2 to the seventh strobe signal S7 are sequentially set to "H",
In any case, since the input port signals Ka to Kd are "0", the strobe signal Sx (= S2) is set to "H" at time T15, and then x is increased by "1" at time T15.
Steps 6 to 9 are repeated until the strobe signal Sx (= S7) is set to "H" at 16. After this,
At time T17, steps 6 and 7 are executed, and the strobe signal Sx (= S8) is turned on and the input port signal K is turned on.
When a.about.Kd is read, the fourth input port signal Kd is "1" at this time.
Step 13 is executed, the key input process and the key determination are performed, and the reading process ends.

【0038】なお、このときの時点T13〜T17における
動作は図4の時点T2 〜T6 における動作と同様であ
る。
The operation at time T13 to T17 at this time is the same as the operation at time T2 to T6 in FIG.

【0039】キーが押されていないのに回路の短絡など
によって第2入力ポート信号Kb が“1”の状態になっ
てしまった場合、時点T18でステップ1と2が実行され
て、全てのストローブ信号S1 〜S8 を“L”にした状
態で4つの入力ポート信号Ka 〜Kd が読み込まれたと
きに、第2入力ポート信号K2 が“1”になっているの
で、ステップ2からステップ11に進み、キー入力なしの
処理をして読み込み処理を終了する。したがって、キー
の誤読み込みが生じない。
If the second input port signal Kb becomes "1" due to a short circuit or the like without the key being pressed, steps 1 and 2 are executed at time T18, and all strobes are executed. When four input port signals Ka to Kd are read in a state where the signals S1 to S8 are set to "L", the second input port signal K2 is "1". Then, the processing without key input is performed, and the reading processing ends. Therefore, erroneous reading of the key does not occur.

【0040】[0040]

【発明の効果】この発明の電子レンジによれば、上述の
ように、回路の短絡などによってあるキー入力ポートが
オンになってしまったような場合でも、キーの誤読み込
みを確実に防止することができ、したがって、キーの誤
読み込みによる誤動作を防止することが可能になる。
かも、キーの読み込みのために元来必要なストローブ信
号とキー入力ポートを用いて、マイクロコンピュータに
ソフトウェアプログラムを付加するだけで、キーの誤読
み込みを防止することができ、そのためにハードウェア
を付加する必要がない。したがって、キーの数が多くて
も、誤読み込みの防止のためにコストアップを招くこと
がない。
According to the microwave oven of the present invention, as described above, even when a certain key input port is turned on due to a short circuit or the like, erroneous reading of a key is reliably prevented. Therefore, it is possible to prevent malfunction due to erroneous reading of the key. I
The strobe signal originally required for reading the key
To the microcomputer using the key and key input port.
Key misreading just by adding a software program
Can be prevented by hardware
Need not be added. Therefore, if there are many keys
Also increase costs to prevent erroneous reading
There is no.

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

【図1】この発明の実施例を示す電子レンジの全体ブロ
ック図である。
FIG. 1 is an overall block diagram of a microwave oven showing an embodiment of the present invention.

【図2】図1の電子レンジのマイコンによるキー読み込
み動作を示すフローチャートである。
FIG. 2 is a flowchart showing a key reading operation by a microcomputer of the microwave oven of FIG. 1;

【図3】図1の電子レンジのマイコンによるキー読み込
み時のストローブ信号および入力ポート信号を示すタイ
ミングチャートである。
3 is a timing chart showing a strobe signal and an input port signal when a key is read by the microcomputer of the microwave oven shown in FIG. 1;

【図4】従来の電子レンジのマイコンによるキー読み込
み時のストローブ信号および入力ポート信号を示すタイ
ミングチャートである。
FIG. 4 is a timing chart showing a strobe signal and an input port signal when a key is read by a microcomputer of a conventional microwave oven.

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

(1) キー入力部 (5) マイクロコンピュータ (7) ストローブ信号入力線 (8) キー入力線 (1) Key input section (5) Microcomputer (7) Strobe signal input line (8) Key input line

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】制御用のマイクロコンピュータと、動作条
件設定用のキー入力部とを備え、マイクロコンピュータ
がキーストローブ信号をオンにしてキー入力ポートの状
態を読み込むことによりキーの読み込みを行なうように
なされている電子レンジにおいて、ストローブ信号をオ
ンにする前に、ストローブ信号をオフにした状態でキー
入力ポートの状態を読み込み、全てのキー入力ポートが
オフの場合はストローブ信号をオンにしてキーの読み込
みを行ない、いずれかのキー入力ポートがオンの場合は
キーの読み込みを行なわないようになされていることを
特徴とする電子レンジ。
A microcomputer for control and a key input unit for setting operating conditions are provided, and the microcomputer reads a key by turning on a key strobe signal and reading a state of a key input port. Before turning on the strobe signal in a microwave oven, the state of the key input port is read with the strobe signal turned off.If all the key input ports are off, the strobe signal is turned on and the key input port is turned on. A microwave oven which reads a key and does not read a key when any key input port is on.
JP3143703A 1991-06-15 1991-06-15 microwave Expired - Fee Related JP2847224B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3143703A JP2847224B2 (en) 1991-06-15 1991-06-15 microwave

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3143703A JP2847224B2 (en) 1991-06-15 1991-06-15 microwave

Publications (2)

Publication Number Publication Date
JPH04369321A JPH04369321A (en) 1992-12-22
JP2847224B2 true JP2847224B2 (en) 1999-01-13

Family

ID=15345011

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3143703A Expired - Fee Related JP2847224B2 (en) 1991-06-15 1991-06-15 microwave

Country Status (1)

Country Link
JP (1) JP2847224B2 (en)

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS60264088A (en) * 1984-06-11 1985-12-27 松下電器産業株式会社 Controller of high frequency heater
JPS63201842A (en) * 1987-02-18 1988-08-19 Sanyo Electric Co Ltd Electronic control type equipment

Also Published As

Publication number Publication date
JPH04369321A (en) 1992-12-22

Similar Documents

Publication Publication Date Title
KR940011670B1 (en) Interrupt controller
JPH0346854B2 (en)
JP2847224B2 (en) microwave
US5692161A (en) Method and apparatus for operating a microcomputer in an emulation mode to access an external peripheral
US5761482A (en) Emulation apparatus
US4771405A (en) Hidden control bits in a control register
EP0463352B1 (en) Microprocessor for use in in-circuit emulator having function of discriminating users space and in-circuit emulator space
JPS6218939B2 (en)
JPH04101535A (en) Interface circuit
KR900007296B1 (en) Microcomputer application controller mounted on vehicle
KR19990045550A (en) Method and apparatus for reading, modifying and overwriting data stored in a memory device
JP3232301B2 (en) Data processing device
US5007056A (en) Processing circuit having an error detecting and correcting circuit therein
JPH10143462A (en) Microcomputer
JP3081234B2 (en) How to check CPU board
JPS6362776B2 (en)
JP2725680B2 (en) Bus error detection circuit
SU1552189A1 (en) Device for monitoring programs
JPH076545Y2 (en) Signal discrimination circuit
JP2847741B2 (en) Microcomputer
JPS61110242A (en) Method for detecting interrupt signal of microcomputer
JPH06119154A (en) Device for identifying program of microcomputer
JP2002351751A (en) Port control method
JP2001101019A (en) Register protecting circuit
JPS6160467B2 (en)

Legal Events

Date Code Title Description
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 19980908

LAPS Cancellation because of no payment of annual fees