JPH044609B2 - - Google Patents

Info

Publication number
JPH044609B2
JPH044609B2 JP58119707A JP11970783A JPH044609B2 JP H044609 B2 JPH044609 B2 JP H044609B2 JP 58119707 A JP58119707 A JP 58119707A JP 11970783 A JP11970783 A JP 11970783A JP H044609 B2 JPH044609 B2 JP H044609B2
Authority
JP
Japan
Prior art keywords
key
insulator
input
microcomputer
pressed
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 - Lifetime
Application number
JP58119707A
Other languages
Japanese (ja)
Other versions
JPS6011921A (en
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 filed Critical
Priority to JP58119707A priority Critical patent/JPS6011921A/en
Publication of JPS6011921A publication Critical patent/JPS6011921A/en
Publication of JPH044609B2 publication Critical patent/JPH044609B2/ja
Granted legal-status Critical Current

Links

Landscapes

  • Push-Button Switches (AREA)
  • Input From Keyboards Or The Like (AREA)

Description

【発明の詳細な説明】[Detailed description of the invention]

産業上の利用分野 本発明は、数種類のキーを持つ家庭用電気製品
等のキー入力装置に関するものである。 従来例の構成とその問題点 従来の例えば電子レンジ、テレビ、エアコン等
の家庭用電気製品の制御は、マイクロコンピユー
タ(以下マイコンと略称する)等の使用により複
雑となりその操作の際のキーの種類が増加してい
る。それにともないマイコンののキー処理用の入
出力端子数が多くなつてきており、キーの数が増
加すればする程その端子数は多く必要となつてく
る。第1図は従来のキー入力取込み方法の一例で
ある。その取込み法は、マイコン1の出力端子
O1,O2,O3から時分割で操作キーマトリツクス
2に信号を出力し、その各々のタイミングで入力
端子I1,I2,I3の入力を取り込み、どのキーが押
されたかを調べるものである。タイミング図はキ
ーK1が押された時のものである。マイコン1は、
O1が出力されたタイミングでI1の入力が入つたた
めK1キーが入力されたと判断するものである。
このような構成においては、キーの数がふえると
ともに入出力端子O,Iも増加し、マイコン1が
時分割する処理が長くなり、その処理も複雑とな
つてくる。 また第2図はキー入力取込み法の従来例2であ
る。a図の場合、検出電圧VADは抵抗体Rの分割
比R1とR2で決定し、これによりキーの位置判定
が実現できている。 VAD=V/R×R2、R=R1+R2 しかしb図のように同時に2つキーが押された
場合、検出電圧VADは VAD=V/R1+R2×R3、R=R1+R2+R3 =V/R−R3×R3 となり中途半端な電圧が現われキーの位置判定が
不可能になる。 発明の目的 本発明は上記従来の欠点を解消するもので、少
数の入出力端子で操作キーを処理することを目的
とする。 発明の構成 上記目的を達成するため、本発明の制御部は、
同じ抵抗体を平行に2列配置し、その抵抗体と導
電部が接触する位置により抵抗体の抵抗値が各々
変化することで電圧の変化を作りその電圧をマイ
クロコンピユータが検出する構成であり、接触部
の位置と操作キーの位置を対応させることで操作
キーの種類を検出できることになる。この構成で
あれば電圧変化を精度よく調べれば細かな位置検
出が可能になり、つまりは操作キーの種類を多く
検出できることになる。また抵抗体を2列に配置
しているためノイズによる誤判断も防げるし、2
種以上の操作キーが同時に押された時の処理も可
能となる。近年8ビツトの分解能(256分割)を
持つA−D変換を内蔵したマイクロコンピユータ
も開発されこれを使用すれば簡単に多数の操作キ
ーが正確に処理できる効果を有するものである。 実施例の説明 以下、本発明の一実施例について、電子レンジ
を例にとつて図面に基づいて説明する。 第3図は一実施例である電子レンジ本体の斜視
図である。本体3の前面には開閉自在な扉体4が
軸支され、ハンドル5の操作により開閉される。
操作パネル6には種々の操作キーを備え、その上
部に表示管7を配置している。 第4図は一実施例の制御ブロツク図である。操
作パネル6上の操作キーSW1,SW2,SW3,SW4
を押すことによつてV1の電圧とV2の電圧が変化
し、それをマイコン8のA/D端子(A/D1
A/D2)に入力しマイコン8内部のA/D変換
部(A/D1変換部、A/D2変換部)でデジタル
データ(以下キーレベルと称す)に変換しCPU
がそのキーレベルを調べることにより操作キー
SW1,SW2,SW3,SW4のいずれのキーが押され
たかを読み取る。そして表示管7へ表示データを
出力したり、リレー制御部17へ信号を出力する
ことにより発熱源への通電を制御し調理物を加熱
する。 第5図aはキー入力部の構成図である。第1の
絶縁体上に同じ抵抗体R1,R2を配置し、その上
部に操作キーSW1〜SW4の位置に対応したスリツ
トを持つた第2の絶縁体を配置し、その上に導電
体11更にその上部に操作キーSW1〜SW4の操作
キーの種類を印刷した第3の絶縁体を配置し、
R1とR2の互いに反対方向から電極13,14を
導きまた導電体11からも電極15を引き出し都
合3本の電極を引き出す構成とする。 第5図bは操作キーが押された時の図である。
操作キーSW1〜SW4を押すことにより圧力により
導電体11が第2の絶縁体のスリツトを通して抵
抗体R1とR2に接触し、操作キーSW1〜SW4をは
なすと導電体11が元に戻り抵抗体R1,R2から
離れる構成である。 次に第6図は動作原理図である。図のような位
置の操作キーを押すことにより導電体11は抵抗
体R1とR2の矢印の部分で接触する。この場合抵
抗体R1の有効範囲はR1Dの部分でまた抵抗体R2
の有効範囲はR2Dの部分になる。故にA/D1
電圧V1は V1=Vp×R1D/R1D+Rx (Vpは電源電圧 Rxは固定抵抗) またA/D2の電圧V2は V2=Vp×R2D/R2D+Rx となる。これにより第4図のマイコン8は、この
V1,V2をA/D端子A/D1,A/D2に入力する
ことで内蔵のA/D変換部でそれぞれキーレベル
に変換してCPU16で処理を行なう。 第7図は、操作キーSW1〜SW4が押された時の
キーレベルの対応の一例である。a図はSW1が押
された時のものでキーレベル“1”とする。b,
c,d図はそれぞれSW2,SW3,SW4が押された
場合でその時のキーレベルは“2”、“3”、“4”
となるとするものである。 第8図はキーレベルとの対応である。a図は
SW1が押された時のものである。抵抗体R1につ
いては第7図aと同じ状態であるためキーレベル
“1”となる。また抵抗体R2については電極が反
対方向から出ているため第7図dを逆にしたと考
えられるためキーレベル“4”となる。第7図b
は、同様にSW3が押された時のもので、A/D1
のキーレベルは“3”、A/D2のキーレベルは
“2”となる。つまり、本例のような操作キーと
キーレベルの対応を考えた場合下表の通りとな
る。
INDUSTRIAL APPLICATION FIELD The present invention relates to a key input device for household electrical appliances and the like having several types of keys. Conventional configurations and their problems Conventional control of household electrical appliances such as microwave ovens, televisions, and air conditioners has become complicated due to the use of microcomputers (hereinafter referred to as microcomputers), and the types of keys used to operate them have become complicated. is increasing. As a result, the number of input/output terminals for microcontroller key processing is increasing, and the more keys there are, the more terminals are required. FIG. 1 is an example of a conventional key input capture method. The way to import it is from the output terminal of microcontroller 1.
Outputs signals from O 1 , O 2 , and O 3 to the operation key matrix 2 in a time-sharing manner, receives input from input terminals I 1 , I 2 , and I 3 at each timing, and determines which key is pressed. It is something to investigate. The timing diagram is for when key K1 is pressed. Microcomputer 1 is
It is determined that the K1 key has been input because the input of I1 is input at the timing when O1 is output.
In such a configuration, as the number of keys increases, the number of input/output terminals O and I also increases, and the time-sharing process performed by the microcomputer 1 becomes longer and more complex. Further, FIG. 2 shows a conventional example 2 of the key input capture method. In the case of Fig. a, the detection voltage V AD is determined by the division ratio R 1 and R 2 of the resistor R, and thus the key position can be determined. V AD = V/R x R 2 , R = R 1 + R 2 However, if two keys are pressed at the same time as shown in figure b, the detection voltage V AD is V AD = V/R 1 + R 2 x R 3 , R=R 1 +R 2 +R 3 =V/R-R 3 ×R 3 , and an intermediate voltage appears, making it impossible to determine the key position. OBJECTS OF THE INVENTION The present invention solves the above-mentioned conventional drawbacks, and aims to process operation keys using a small number of input/output terminals. Configuration of the Invention In order to achieve the above object, the control unit of the present invention includes:
It is a configuration in which two rows of the same resistors are arranged in parallel, and the resistance value of each resistor changes depending on the position where the resistor and the conductive part come into contact, creating a voltage change that is detected by a microcomputer. The type of operation key can be detected by associating the position of the contact portion with the position of the operation key. With this configuration, detailed position detection is possible by accurately examining voltage changes, which means that many types of operation keys can be detected. In addition, the resistors are arranged in two rows, which prevents misjudgment due to noise.
It is also possible to process when more than one operation key is pressed at the same time. In recent years, a microcomputer with a built-in A-D converter having an 8-bit resolution (256 divisions) has been developed, and its use has the effect of easily and accurately processing a large number of operation keys. DESCRIPTION OF EMBODIMENTS An embodiment of the present invention will be described below with reference to the drawings, taking a microwave oven as an example. FIG. 3 is a perspective view of a microwave oven main body according to an embodiment. A door body 4 which can be opened and closed is pivotally supported on the front surface of the main body 3, and is opened and closed by operating a handle 5.
The operation panel 6 is equipped with various operation keys, and a display tube 7 is arranged above it. FIG. 4 is a control block diagram of one embodiment. Operation keys SW 1 , SW 2 , SW 3 , SW 4 on the operation panel 6
By pressing , the voltage of V 1 and V 2 changes, and the voltage is applied to the A/D terminal of microcomputer 8 (A/D 1 ,
A/D 2 ) is input to the A/D converter (A/D 1 converter, A/D 2 converter) inside the microcomputer 8, and converted into digital data (hereinafter referred to as key level) and sent to the CPU.
determines the operation key by checking its key level.
Read which key of SW 1 , SW 2 , SW 3 , or SW 4 was pressed. Then, by outputting display data to the display tube 7 or outputting a signal to the relay control unit 17, the power supply to the heat generating source is controlled and the food to be cooked is heated. FIG. 5a is a block diagram of the key input section. The same resistors R 1 and R 2 are placed on the first insulator, and a second insulator with slits corresponding to the positions of the operation keys SW 1 to SW 4 is placed on top of it. Further, a third insulator on which the types of operation keys SW 1 to SW 4 are printed is arranged on the conductor 11,
The electrodes 13 and 14 are led from opposite directions of R1 and R2 , and the electrode 15 is also drawn out from the conductor 11, so that a total of three electrodes are drawn out. FIG. 5b is a diagram when the operation key is pressed.
When the operation keys SW 1 to SW 4 are pressed, the conductor 11 comes into contact with the resistors R 1 and R 2 through the slit of the second insulator due to pressure, and when the operation keys SW 1 to SW 4 are released, the conductor 11 The structure is such that it returns to its original state and separates from the resistors R 1 and R 2 . Next, FIG. 6 is a diagram showing the principle of operation. By pressing the operation key at the position shown in the figure, the conductor 11 comes into contact with the resistors R 1 and R 2 at the arrowed portions. In this case, the effective range of resistor R 1 is R 1 D and also resistor R 2
The effective range of is the R 2 D part. Therefore, the voltage V 1 of A/D 1 is V 1 = V p × R 1 D/R 1 D + R x (V p is the power supply voltage R x is a fixed resistance) and the voltage V 2 of A/D 2 is V 2 = V p × R 2 D/R 2 D + R x . As a result, the microcomputer 8 in FIG.
By inputting V 1 and V 2 to A/D terminals A/D 1 and A/D 2 , the built-in A/D conversion section converts them to key levels, and the CPU 16 processes them. FIG. 7 is an example of key level correspondence when the operation keys SW 1 to SW 4 are pressed. Figure a shows when SW 1 is pressed and the key level is "1". b,
Figures c and d are when SW 2 , SW 3 , and SW 4 are pressed, respectively, and the key levels at that time are "2", "3", and "4".
This is the case. FIG. 8 shows the correspondence with key levels. Figure a is
This is when SW 1 is pressed. Since the resistor R1 is in the same state as in FIG. 7a, the key level is "1". As for the resistor R2 , since the electrodes come out from the opposite direction, it is considered that FIG. 7d is reversed, so the key level is "4". Figure 7b
Similarly, when SW 3 is pressed, A/D 1
The key level of A/D 2 is "3", and the key level of A/D 2 is "2". In other words, when considering the correspondence between operation keys and key levels as in this example, the table below shows the correspondence.

【表】 この表から各操作キーを押した場合それぞれの
A/D1,A/D2のキーレベルの和は“5”とな
る。 次に第9図は同時に2つ以上のキーが押された
時(以下ダブルキーと称す)のもので、この時
A/D1のキーレベルは“1”、A/D2のキーレベ
ルも“1”となり、キーレベルの和が“2”とな
り単一に操作キーが押された時の“5”と異な
る。マイコン8は、この相異によりダブルキーを
処理する。また最優先キー(ダブルキーの状態で
あつても受けつけられる操作キー)をSW1の位置
に配置しておれば、他の操作キーが同時に押され
てもA/D1のキーレベル“1”となるためマイ
コン8は最優先キーを処理できる。 第10図はマイコン8の内部処理のフローチヤ
ートである。まずA/D1変換部でレベル化され
たA/D1のキーレベルは、“1”かどうかの判定
で“1”であれば最優先キーのためSW1優先処理
へ移る。また“1”以外であればA/D2のキー
レベルとの和を取り、和が“5”でなければダブ
ルキーとみなして無効処理へ入り、“5”であれ
ばA/D1のキーレベルを判定して各操作キーの
処理に入る。 このように本実施例によれば、簡単な構成でし
かも低コストで多数のキー入力処理が実現でき
る。また、マイコン8の入力端子も多く必要とし
ない。 キーに優先度を付加でき、更に同時に多数のキ
ーが入力される場合つまりダブルキーも確実に判
断できる。 発明の効果 本発明によれば次の効果を得る。 (1) A/D変換を利用することで簡単な構成で多
数のキー入力処理ができ低コストで実現でき
る。 (2) キー入力部の構成が簡単であるためマイクロ
コンピユータとの接続する端子数が減り低コス
トで実現でき、更にノイズによる誤動作の確率
も減ることになる。 (3) マイクロコンピユータのソフト処理も従来よ
り簡単に同等の処理が実現できる。 (4) キーの優先度が簡単に付加できる。 (5) 同時に多数のキーが押された時の判断が確実
に行なえる。 (6) キー入力部を構成している導電体を本体とつ
なぐことによつて、キー操作をする使用者から
の静電気を本体におとす効果も得る。
[Table] From this table, when each operation key is pressed, the sum of the key levels of A/D 1 and A/D 2 is "5". Next, Figure 9 shows when two or more keys are pressed at the same time (hereinafter referred to as double key), at this time the key level of A/D 1 is "1" and the key level of A/D 2 is also "1". The sum of the key levels becomes "1" and the sum of the key levels becomes "2", which is different from "5" when a single operation key is pressed. The microcomputer 8 processes the double key based on this difference. In addition, if the highest priority key (operation key that can be accepted even in double key state) is placed in the SW 1 position, even if other operation keys are pressed at the same time, the key level of A/D 1 will be "1". Therefore, the microcomputer 8 can process the highest priority key. FIG. 10 is a flowchart of the internal processing of the microcomputer 8. First, it is determined whether the key level of A/D 1 converted into a level by the A/D 1 converter is "1" and if it is "1", it is the highest priority key and the process moves to SW 1 priority processing. Also, if it is other than "1", calculate the sum with the key level of A/D 2 , and if the sum is "5", it is regarded as a double key and enters invalidation processing, and if it is "5", the key level of A/D 1 is calculated. The key level is determined and each operation key is processed. As described above, according to this embodiment, a large number of key input processes can be realized with a simple configuration and at low cost. Further, many input terminals of the microcomputer 8 are not required. Priorities can be assigned to keys, and double keys can also be reliably determined when multiple keys are input at the same time. Effects of the Invention According to the present invention, the following effects can be obtained. (1) By using A/D conversion, multiple key input processes can be performed with a simple configuration and realized at low cost. (2) Since the configuration of the key input section is simple, the number of terminals connected to the microcomputer can be reduced, making it possible to achieve low cost, and further reducing the probability of malfunction due to noise. (3) Software processing on a microcomputer can also achieve equivalent processing more easily than before. (4) Key priorities can be easily added. (5) Reliable judgment when many keys are pressed at the same time. (6) By connecting the conductor that constitutes the key input section to the main body, an effect can be obtained in which static electricity from the user who operates the keys is transferred to the main body.

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

第1図aは従来のキー入力装置の回路構成図、
第1図b図は同出力波形図、第2図a,bは従来
例の操作状態を説明する図、第3図は本発明の一
実施例である電子レンジの斜視図、第4図は同電
子レンジの制御ブロツク図、第5図aは同レンジ
のキー入力部の構成図、同図bは同要部断面図、
同図cは操作キーが押された状態を示す要部断面
図、第6図は同制御回路の動作原理図、第7図
a,b,c,dは各操作キーが押された時のキー
レベル対応例を示す図、第8図a,bは同操作キ
ーが押された時のキーレベル対応例を示す図、第
9図は同ダブルキーの時のキーレベルを示す図、
第10図は同マイクロコンピユータの動作フロー
チヤートである。 6……キー入力部、8……マイクロコンピユー
タ、9……第1の絶縁体、10……第2の絶縁
体、12……第3の絶縁体、11……導電部、
R1,R2……抵抗体。
Figure 1a is a circuit diagram of a conventional key input device;
Figure 1b is a diagram of the same output waveform, Figures 2a and b are diagrams explaining the operating state of the conventional example, Figure 3 is a perspective view of a microwave oven that is an embodiment of the present invention, and Figure 4 is a diagram of the same output waveform. A control block diagram of the microwave oven, FIG. 5a is a configuration diagram of the key input section of the microwave oven, and FIG.
Figure c is a sectional view of the main part showing the state in which the operation key is pressed, Figure 6 is a diagram of the operating principle of the same control circuit, and Figure 7 a, b, c, and d are when each operation key is pressed. A diagram showing an example of key level correspondence, FIGS. 8a and 8b are diagrams showing an example of key level correspondence when the same operation key is pressed, and FIG. 9 is a diagram showing the key level when the same operation key is pressed,
FIG. 10 is an operation flowchart of the microcomputer. 6... Key input unit, 8... Microcomputer, 9... First insulator, 10... Second insulator, 12... Third insulator, 11... Conductive part,
R 1 , R 2 ...Resistor.

Claims (1)

【特許請求の範囲】[Claims] 1 制御装置の出力を制御する制御手段と、制御
方法等を入力する入力手段と、前記入力手段から
の信号を入力して前記制御手段を制御するマイク
ロコンピユータからなり、前記入力手段は、第1
の絶縁体の上に配置された2本の抵抗体と、その
上に前記抵抗体に沿つて複数のスリツト部を設け
た第2の絶縁体と、更にその上に少なくとも前記
第2の絶縁体に設けられた複数のスリツト部に対
向した部分は、各々一連につながつた導電部と、
更にその上に第3の絶縁体を持つ構成において、
第3の絶縁体表面への押圧入力動作により導伝部
は上記2本の抵抗体の対応部分を第2の絶縁体の
スリツト部を介して短絡し、その際2本の抵抗体
の各々反対方向の一端と導伝部間の抵抗値に対応
した大きさの出力信号を当該一端の各々から出力
するよう電源を供給し、前記出力信号を2つの
A/D変換回路を通して前記マイクロコンピユー
タの入力部へ、あるいはA/D変換回路内蔵マイ
クロコンピユータのA/D入力端子へ入力する構
成としたキー入力装置。
1 Consists of a control means for controlling the output of a control device, an input means for inputting a control method, etc., and a microcomputer for controlling the control means by inputting a signal from the input means, and the input means is a first
two resistors disposed on the insulator, a second insulator on which a plurality of slits are provided along the resistor, and at least the second insulator on the second insulator. The portions facing the plurality of slit portions provided in the slits each have a conductive portion connected in series,
Furthermore, in a configuration having a third insulator thereon,
The conductive part short-circuits the corresponding parts of the two resistors via the slit part of the second insulator by the pressing input operation to the surface of the third insulator, and at this time, the conductive part short-circuits the corresponding parts of the two resistors through the slit part of the second insulator. Power is supplied so that an output signal having a magnitude corresponding to the resistance value between one end of the direction and the conductive part is output from each of the ends, and the output signal is input to the microcomputer through two A/D conversion circuits. A key input device configured to input data to a computer or an A/D input terminal of a microcomputer with a built-in A/D conversion circuit.
JP58119707A 1983-06-30 1983-06-30 Key input device Granted JPS6011921A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP58119707A JPS6011921A (en) 1983-06-30 1983-06-30 Key input device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP58119707A JPS6011921A (en) 1983-06-30 1983-06-30 Key input device

Publications (2)

Publication Number Publication Date
JPS6011921A JPS6011921A (en) 1985-01-22
JPH044609B2 true JPH044609B2 (en) 1992-01-28

Family

ID=14768099

Family Applications (1)

Application Number Title Priority Date Filing Date
JP58119707A Granted JPS6011921A (en) 1983-06-30 1983-06-30 Key input device

Country Status (1)

Country Link
JP (1) JPS6011921A (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0794119B2 (en) * 1985-11-27 1995-10-11 梅谷 陽二 Contact sensor signal processing circuit
CN106057512B (en) * 2016-07-18 2018-12-21 中国电子信息产业集团有限公司第六研究所 A kind of automatically controlled automation toggle switch
DE102018006914B4 (en) * 2018-08-30 2022-08-04 CurveSYS GmbH Areal force sensor unit

Also Published As

Publication number Publication date
JPS6011921A (en) 1985-01-22

Similar Documents

Publication Publication Date Title
US4495485A (en) Touch control arrangement for data entry
US4595913A (en) Capacitor touch activated switching system
CN101018054B (en) Capacitive touch switch
US8101880B2 (en) Operator control panel for a domestic appliance
US20070114073A1 (en) Capacitive sensor to detect a finger for a control or command operation
JPH044609B2 (en)
US4567469A (en) Matrix keyboard
US7755218B2 (en) Capacitive touch switch and control device
JPS62139028A (en) Touch input panel
US4502040A (en) Keyboard having keys activated by electrical contacts and the capacity to read one state from among four possible states
JPH0854977A (en) Resistance film type touch panel
JP2872725B2 (en) Panel switch
EP1100069A1 (en) Keyboard having multi-bit key switches
JPS61292725A (en) Input device
JPS59136841A (en) Keyboard
JPH03505805A (en) Switch status detection device on transmission line
JPH03229317A (en) Panel switch
KR920008926B1 (en) Cooker
CA1214237A (en) Touch control arrangement for data entry
JPS58181138A (en) Key input discriminating device
JPS60133617A (en) Touch switch unit
JPS63206819A (en) Key input device
JPS61165121A (en) Keyboard connection detecting system
JPS6243209B2 (en)
JP2548023Y2 (en) Key input device