JPH0530194Y2 - - Google Patents

Info

Publication number
JPH0530194Y2
JPH0530194Y2 JP1985183303U JP18330385U JPH0530194Y2 JP H0530194 Y2 JPH0530194 Y2 JP H0530194Y2 JP 1985183303 U JP1985183303 U JP 1985183303U JP 18330385 U JP18330385 U JP 18330385U JP H0530194 Y2 JPH0530194 Y2 JP H0530194Y2
Authority
JP
Japan
Prior art keywords
encoder
key
outputs
signal
input terminal
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
JP1985183303U
Other languages
Japanese (ja)
Other versions
JPS62112734U (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 JP1985183303U priority Critical patent/JPH0530194Y2/ja
Publication of JPS62112734U publication Critical patent/JPS62112734U/ja
Application granted granted Critical
Publication of JPH0530194Y2 publication Critical patent/JPH0530194Y2/ja
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Input From Keyboards Or The Like (AREA)

Description

【考案の詳細な説明】 (イ) 産業上の利用分野 この考案は、CPU(コンピユータ)等にコード
化された信号を入力するキー入力装置に関する。
[Detailed description of the invention] (a) Industrial application field This invention relates to a key input device for inputting coded signals to a CPU (computer) or the like.

(ロ) 従来の技術 従来の典型的なキー入力装置は、複数のキース
イツチをマトリクス(行列)状に配置し、各行及
び列のキースイツチの一端がそれぞれ行用のエン
コーダと列用のエンコーダに接続され、いずれか
のキースイツチが操作されると、それらエンコー
ダから対応するコード信号が出力され、CPUに
入力されるようになつている。
(b) Prior Art A typical conventional key input device has a plurality of key switches arranged in a matrix, and one end of each row and column key switch is connected to a row encoder and a column encoder, respectively. , when any key switch is operated, the corresponding code signals are output from the encoders and input to the CPU.

また、ある種のキー入力装置は、キーへのコー
ドの割付けは、通常、プライオリテイエンコーダ
を用いるものがある。このプライオリテイエンコ
ーダを採用したキー入力装置は、2つ以上のキー
が同時に押された時に、優先順位の高い方のみが
受付けられるように構成されている。
Further, some types of key input devices usually use a priority encoder to assign codes to keys. A key input device employing this priority encoder is configured so that when two or more keys are pressed at the same time, only the one with a higher priority is accepted.

(ハ) 考案が解決しようとする問題点 上記従来のプライオリテイエンコーダを用いた
キー入力装置では、コードによつて優先順位が決
まつてしまうので、キーへの自由な割付けができ
なくなり、自由度が害される他、キーの配置にも
十分考慮する必要があるという問題がある。さら
に、優先順位をつけること自体が不都合である場
合もあり、好ましくない。
(c) Problems that the invention aims to solve In the above-mentioned conventional key input device using a priority encoder, the priority order is determined by the code, so it is not possible to freely assign keys, and the degree of freedom is reduced. There is a problem in that not only the keys are damaged, but also the placement of the keys needs to be taken into consideration. Furthermore, prioritizing itself may be inconvenient and undesirable.

他方、単にスタテイツクなキーマトリクスを構
成したキースイツチ構成のものにおいては、2つ
以上のキーが押されると、全く操作されていない
キーのコードが発生する場合も起こり得、誤入力
されるという問題があつた。
On the other hand, with keyswitches that simply have a static key matrix, when two or more keys are pressed, a code may be generated for a key that has not been operated at all, leading to the problem of incorrect input. It was hot.

この考案は、上記に鑑み、2つ以上のキーが同
時に押された時に、誤入力がなされないで、これ
を未然に防止し得るキー入力装置を提供すること
を目的としている。
In view of the above, an object of this invention is to provide a key input device that can prevent erroneous inputs from occurring when two or more keys are pressed at the same time.

(ニ) 問題点を解決するための手段 この考案のキー入力装置は、複数個のキース
イツチで構成され、このキースイツチの押動作に
対応して行信号C0…Coと列信号R0…Rnとを出力
するキーマトリクスと、前記行信号C0…Co
入力端子に受け、優先順位の最も高い入力端子i
への行信号に対応して2進コードiを出力する第
1のエンコーダと、前記行信号C0…Coを前記
第1のエンコーダとは逆順に入力端子に受け、前
記第1のエンコーダと同じ優先順位付けで動作し
て、最優先の入力端子jへの行信号に対応して2
進コードjを出力する第2のエンコーダと、前
記列信号R0…Rnを入力端子に受け、優先順位の
最も高い入力端子iへの列信号に対応して2進コ
ードiを出力する第3のエンコーダと、前記列
信号R0…Rnを前記第3のエンコーダとは逆順の
入力端子に受け、前記第3のエンコーダと同じ優
先順位付けで動作して、最優先の入力端子jへの
列信号に対応して2進コードjを出力する第4の
エンコーダと、前記第1と第2のエンコーダの
2進コード出力の全ビツトを各々比較すると共
に、前記第3と第4のエンコーダの2進コード出
力の全ビツトを各々比較して、一致するビツトが
一つでもあれば多キー押検出信号bを出力する検
出回路とを特徴的に備えている。
(d) Means for solving the problem The key input device of this invention is composed of a plurality of key switches, and in response to the pressing operation of the key switches, a row signal C 0 ...C o and a column signal R 0 ...R are generated. A key matrix that outputs a key matrix n , and an input terminal i that receives the row signal C 0 ...C o at its input terminal, and has the highest priority.
a first encoder that outputs a binary code i in response to a row signal to the first encoder ; Operating with the same prioritization, 2
a second encoder that outputs a binary code j; and a second encoder that receives the column signals R 0 ...R n at its input terminals and outputs a binary code i in response to the column signal to the input terminal i having the highest priority. No. 3 encoder receives the column signals R 0 ...R n at input terminals in the reverse order from the third encoder, operates with the same priority order as the third encoder, and sends the column signals R 0 ...R n to the input terminal j with the highest priority. a fourth encoder that outputs a binary code j in response to a column signal of It is characterized by a detection circuit which compares all bits of the binary code outputs and outputs a multiple key press detection signal b if there is even one matching bit.

(ホ) 作用 このキー入力装置において、単一のキースイツ
チが操作されると、第1のエンコーダと第3のエ
ンコーダからは、操作されたキースイツチに対応
した2進コード信号が出力される。この場合に
は、第1と第2のエンコーダの出力、及び第3と
第4のエンコーダの出力は、それぞれ全ビツトが
不一致となるので、検出回路から多キー押検出信
号が出力されることはない。
(E) Function In this key input device, when a single key switch is operated, the first encoder and the third encoder output a binary code signal corresponding to the operated key switch. In this case, all bits of the outputs of the first and second encoders and the outputs of the third and fourth encoders do not match, so the detection circuit does not output a multiple key press detection signal. do not have.

一方、複数のキースイツチが同時に操作された
場合には、第1と第2のエンコーダ(及び/又は
第3と第4のエンコーダ)の2進コード出力の一
つ以上のビツトが一致するので、検出回路から多
キー押検出信号が出力される。
On the other hand, if multiple key switches are operated at the same time, one or more bits of the binary code outputs of the first and second encoders (and/or the third and fourth encoders) will match, so detection will occur. A multiple key press detection signal is output from the circuit.

(ヘ) 実施例 以下、実施例により、この考案をさらに詳細に
説明する。
(F) Examples This invention will be explained in more detail below using examples.

第1図は、この考案の一実施例を示すキー入力
装置の回路ブロツク図である。第1図において、
キーマトリクス1は、行列に配列される線上の交
点に複数個のキースイツチが接続され、行配列及
び列配列の各線の一端にエンコーダ2及び3が接
続されている。また、キーマトリクス1の行及び
列線には、それぞれ多キー押検出器4が接続され
ている。
FIG. 1 is a circuit block diagram of a key input device showing an embodiment of this invention. In Figure 1,
In the key matrix 1, a plurality of key switches are connected to the intersections of lines arranged in a matrix, and encoders 2 and 3 are connected to one end of each line in the row arrangement and the column arrangement. Furthermore, multiple key press detectors 4 are connected to the row and column lines of the key matrix 1, respectively.

エンコーダ2は、キーマトリクス1の行線のい
ずれに接続されているスイツチがオンされたかに
対応して、コード化信号を出力し、またエンコー
ダ3は、キーマトリクス1の列線に接続されるい
ずれかのキースイツチが押されたかに対応して、
コード化された信号を出力する。従つて、キーマ
トリクス1のいずれかのスイツチが操作される
と、エンコーダ2及びエンコーダ3から、そのキ
ースイツチに対応するコード化信号aが出力され
ることになる。
The encoder 2 outputs a coded signal depending on which switch connected to the row line of the key matrix 1 is turned on, and the encoder 3 outputs a coded signal depending on which switch connected to the column line of the key matrix 1 is turned on. In response to a key switch being pressed,
Output a coded signal. Therefore, when any switch in key matrix 1 is operated, encoder 2 and encoder 3 output a coded signal a corresponding to that key switch.

キーマトリクス1で操作されるキースイツチが
1個の場合には、多キー押検出器4は出力を導出
しないが、キーマトリクス1のキースイツチが2
個以上同時に操作されると、キーマトリクス1の
2以上の出力線に信号が導出されるので、多キー
押検出器4はこれを検出し、多キー押検出信号b
を出力する。
When the number of key switches operated by key matrix 1 is one, the multi-key press detector 4 does not derive an output;
When two or more keys are operated at the same time, signals are derived to two or more output lines of the key matrix 1, so the multiple key press detector 4 detects this and sends a multiple key press detection signal b.
Output.

このキー入力装置のビツトコード信号a及び多
キー押検出信号bは、第2図に示すように、キー
入力装置10から出力され、CPU20に入力さ
れる。CPU20は、ビツトコード信号aのみを
受ける時は通常の入力操作を行うが、ビツトコー
ド信号aと共に多キー押検出信号bを受けると、
これに応答して、表示装置30に多キー押信号c
を出力し、表示装置30にこれを示す表示を行
う。操作者は、この表示装置30における多キー
押操作信号を見て、2キー以上が同時に操作され
たことを知ることができる。
The bit code signal a and the multiple key press detection signal b of the key input device are output from the key input device 10 and input to the CPU 20, as shown in FIG. When the CPU 20 receives only the bit code signal a, it performs normal input operations, but when it receives the multiple key press detection signal b together with the bit code signal a,
In response, a multi-key press signal c is displayed on the display device 30.
is output, and a display indicating this is displayed on the display device 30. The operator can see the multi-key press operation signal on the display device 30 and know that two or more keys have been operated at the same time.

なお、CPU20は、多キー押検出信号bが入
力された場合には、同時に入力されるビツトコー
ド信号aに禁止をかけ、回路的にはコード化信号
が入力されないように禁止し、誤入力するのを防
止する。
Note that when the multiple key press detection signal b is input, the CPU 20 inhibits the bit code signal a that is input at the same time, and prevents the coded signal from being input in terms of circuitry, thereby preventing erroneous input. prevent.

第3図は、この考案の他の実施例を示してお
り、この実施例キー入力装置は、行信号C0…C3
と列信号R0…R3とを出力するキーマトリクス1
と、行信号C0…C3を入力端子0〜3に受けるエ
ンコーダ2aと、行信号C0…C3を入力端子3〜
0に受けるエンコーダ41と、列信号R0…R3
入力端子0〜3に受けるエンコーダ3aと、列信
号R0…R3を入力端子3〜0に受けるエンコーダ
44と、エンコーダ2a,41のコード出力の不
一致を検出する排他OR回路42,43と、エン
コーダ3a,44のコード出力の不一致を検出す
る排他OR回路45,46と、排他OR回路42,
43,45,46のいずれか一つ以上の出力がL
レベルならHレベルの多キー押検出信号bを出力
するゲート回路47とで構成されている。
FIG. 3 shows another embodiment of this invention, and the key input device of this embodiment has row signals C 0 ...C 3
Key matrix 1 that outputs and column signals R 0 ... R 3
, an encoder 2a which receives row signals C0 ... C3 at input terminals 0-3, and an encoder 2a which receives row signals C0 ... C3 at input terminals 3-3.
encoder 41 receives column signals R 0 ...R 3 at input terminals 0 to 3; encoder 44 receives column signals R 0 ...R 3 to input terminals 3 to 0; Exclusive OR circuits 42 and 43 that detect a mismatch between code outputs, exclusive OR circuits 45 and 46 that detect a mismatch between code outputs of the encoders 3a and 44, and an exclusive OR circuit 42,
The output of one or more of 43, 45, 46 is L
If the multi-key press detection signal b is at the H level, the gate circuit 47 outputs the multiple key press detection signal b at the H level.

ここで、エンコーダ2a,3a,41,44
は、プライオリテイエンコーダであつて、複数の
入力端子に、同時に入力信号が供給された場合に
は、優先度の最も高い入力端子への信号のみをエ
ンコードする素子である。なお、ここでは、エン
コータ2a,3a,41,44は、入力端子0〜
3の順に優先順位が高いとする。
Here, encoders 2a, 3a, 41, 44
is a priority encoder, which is an element that encodes only the signal to the input terminal with the highest priority when input signals are simultaneously supplied to a plurality of input terminals. Note that here, the encoders 2a, 3a, 41, 44 have input terminals 0 to 44.
It is assumed that the priority order is highest in order of 3.

図3に示すように、エンコーダ2aとエンコー
ダ41の入力端子に対して、行信号C0〜C3が互
いに逆順に供給されているので、ある行信号Ci
応答するエンコーダ2aと41のコード出力は、
互いに1の補数の関係になる。エンコーダ3aと
エンコーダ44についても同様であつて、ある列
信号Riに対するエンコーダ3aと44のコード出
力は、互いに1の補数の関係になる。
As shown in FIG. 3, row signals C0 to C3 are supplied to the input terminals of encoder 2a and encoder 41 in reverse order, so the codes of encoders 2a and 41 in response to a certain row signal C i The output is
They have a one's complement relationship with each other. The same applies to the encoder 3a and the encoder 44, and the code outputs of the encoders 3a and 44 for a certain column signal R i have a one's complement relationship with each other.

一方、エンコーダ2aと41の複数の入力端子
に、同時に複数の行信号(Ci,Cj…)が供給され
た場合には、優先順位の最も高い入力端子への信
号のみがエンコードされるので、エンコーダ2a
と41の出力には補数関係がなくなる。なお、エ
ンコーダ3aと44の複数の入力端子に、同時に
複数の列信号(Ri,Rj…)が供給された場合も同
様である。
On the other hand, if multiple row signals (C i , C j . . . ) are simultaneously supplied to multiple input terminals of encoders 2a and 41, only the signal to the input terminal with the highest priority is encoded. , encoder 2a
There is no complement relationship between the outputs of and 41. Note that the same applies when a plurality of column signals (R i , R j . . . ) are simultaneously supplied to a plurality of input terminals of the encoders 3a and 44.

以下、キーマトリクス1において、単一のキー
が押された場合と、複数のキーが同時に押された
場合に分けて、キー入力装置の回路動作を説明す
る。
Hereinafter, the circuit operation of the key input device will be explained separately in the case where a single key is pressed in the key matrix 1 and the case where a plurality of keys are pressed simultaneously.

〔単一キーが押された場合〕 キーマトリクス1の単一のキーが押された場合
には、エンコーダ2a,41、及びエンコーダ3
a,44の出力は、それぞれ高いに補数関係にあ
つて、コード出力の全ビツトが不一致となる。そ
の為、排他的OR回路42,43,45,46の
出力はいずれもHレベルとなり、ゲート回路47
の出力はLレベルとなる。つまり、キーマトリク
ス1の単一のキーが押された状態では、多キー押
検出信号bが出力されることはなく、エンコーダ
2aとエンコーダ3aのコード出力aのみが出力
される。
[When a single key is pressed] When a single key in key matrix 1 is pressed, encoders 2a, 41, and encoder 3
The outputs of a and 44 are in a high complement relationship, and all bits of the code outputs do not match. Therefore, the outputs of the exclusive OR circuits 42, 43, 45, and 46 all become H level, and the gate circuit 47
The output becomes L level. That is, when a single key of the key matrix 1 is pressed, the multiple key press detection signal b is not output, and only the code outputs a of the encoders 2a and 3a are output.

〔複数のキーが同時に押された場合〕 一方、キーマトリクス1の複数のキーが同時に
押された場合には、エンコーダ2a,41、また
は(及び)、エンコーダ3a,44の出力の補数
関係が崩れるので、排他的OR回路42,43,
45,46のいずれか一つ以上の出力がLレベル
となつて、ゲート回路47の出力がHレベルとな
る。つまり、複数のキーが同時に押された状態で
は、ゲート回路47から多キー押検出信号bが出
力されることになる。
[When multiple keys are pressed at the same time] On the other hand, when multiple keys in key matrix 1 are pressed at the same time, the complement relationship of the outputs of encoders 2a, 41, or (and) encoders 3a, 44 is disrupted. Therefore, exclusive OR circuits 42, 43,
The output of one or more of 45 and 46 becomes L level, and the output of gate circuit 47 becomes H level. In other words, when a plurality of keys are pressed simultaneously, the gate circuit 47 outputs the multiple key press detection signal b.

(ト) 考案の効果 この考案によれば、2以上の多キーが操作され
ると、多キー操作検出器によりこれが検出され、
表示器にその旨が表示されるので、操作者は多キ
ーが同時に操作されたことを知ることができ、誤
入力を未然に防止することができる。
(G) Effect of the invention According to this invention, when two or more multiple keys are operated, this is detected by the multiple key operation detector,
Since this fact is displayed on the display, the operator can know that multiple keys have been operated at the same time, and can prevent erroneous inputs.

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

第1図は、この考案の一実施例を示すキー入力
装置の回路ブロツク図、第2図は、同キー入力装
置を用いて表示装置に多キー押表示をなす場合を
説明する全体概略ブロツク図、第3図は、この考
案の他の実施例を示すキー入力装置の回路ブロツ
ク図である。 1……キーマトリクス、2,2a,3,3a…
…エンコーダ、4……多キー押検出器、30……
表示装置。
FIG. 1 is a circuit block diagram of a key input device showing an embodiment of this invention, and FIG. 2 is an overall schematic block diagram illustrating a case where the same key input device is used to display multiple key presses on a display device. , FIG. 3 is a circuit block diagram of a key input device showing another embodiment of this invention. 1...Key matrix, 2, 2a, 3, 3a...
...Encoder, 4...Multi-key press detector, 30...
Display device.

Claims (1)

【実用新案登録請求の範囲】 複数個のキースイツチで構成され、このキース
イツチの押動作に対応して行信号C0…Coと列信
号R0…Rnとを出力するキーマトリクス1と、 前記行信号C0…Coを入力端子に受け、優先順
位の最も高い入力端子iへの行信号に対応して2
進コードiを出力する第1のエンコーダ2aと、 前記行信号C0…Coを前記第1のエンコーダと
は逆順に入力端子に受け、前記第1のエンコーダ
と同じ優先順位付けで動作して、最優先の入力端
子jへの行信号に対応して2進コードjを出力す
る第2のエンコーダ41と、 前記列信号R0…Rnを入力端子に受け、優先順
位の最も高い入力端子iへの列信号に対応して、
2進コードiを出力する第3のエンコーダ3a
と、 前記列信号R0…Rnを前記第3のエンコーダと
は逆順に入力端子に受け、前記第3のエンコーダ
と同じ優先順位付けで動作して、最優先の入力端
子jへの列信号に対応して2進コードjを出力す
る第4のエンコーダ44と、 前記第1と第2のエンコーダの2進コード出力
の全ビツトを各々比較すると共に、前記第3と第
4のエンコーダの2進コード出力の全ビツトを
各々比較して、一致するビツトが一つでもあれば
多キー押検出信号bを出力する検出回路42,4
3,45,46,47とを備えることを特徴とす
るキー入力装置。
[Claims for Utility Model Registration] A key matrix 1 that is composed of a plurality of key switches and outputs row signals C 0 ...C o and column signals R 0 ...R n in response to pressing operations of the keys; The row signal C 0 ...C o is received at the input terminal, and 2 is received in response to the row signal to the input terminal i with the highest priority.
a first encoder 2a that outputs a base code i; and a first encoder 2a that receives the row signals C0 ... Co at its input terminal in the reverse order of the first encoder and operates with the same priority order as the first encoder. , a second encoder 41 that outputs a binary code j in response to the row signal to the highest priority input terminal j ; Corresponding to the column signal to i,
Third encoder 3a outputting binary code i
and receives the column signals R 0 ...R n at the input terminal in the reverse order to the third encoder, operates with the same priority as the third encoder, and outputs the column signal to the input terminal j with the highest priority. A fourth encoder 44 that outputs a binary code j corresponding to Detection circuits 42 and 4 compare all bits of the hexadecimal code output and output a multiple key press detection signal b if there is even one matching bit.
3, 45, 46, and 47.
JP1985183303U 1985-11-28 1985-11-28 Expired - Lifetime JPH0530194Y2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1985183303U JPH0530194Y2 (en) 1985-11-28 1985-11-28

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1985183303U JPH0530194Y2 (en) 1985-11-28 1985-11-28

Publications (2)

Publication Number Publication Date
JPS62112734U JPS62112734U (en) 1987-07-17
JPH0530194Y2 true JPH0530194Y2 (en) 1993-08-02

Family

ID=31129918

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1985183303U Expired - Lifetime JPH0530194Y2 (en) 1985-11-28 1985-11-28

Country Status (1)

Country Link
JP (1) JPH0530194Y2 (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS49100927A (en) * 1972-12-27 1974-09-24

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS49100927A (en) * 1972-12-27 1974-09-24

Also Published As

Publication number Publication date
JPS62112734U (en) 1987-07-17

Similar Documents

Publication Publication Date Title
US4922248A (en) Key output method for keyboards
US4139864A (en) Security system for a solid state device
US6230222B1 (en) Prioritizing input device having a circuit indicating the highest priority key value when a plurality of keys being simultaneously selected
EP0067516B1 (en) Shift control system for keyboards
JPH0530194Y2 (en)
EP1100069A1 (en) Keyboard having multi-bit key switches
KR890012211A (en) Keyboard identifier
JPS5816021Y2 (en) Double key press detection device
JPH024030A (en) Keyboard device
JPH02310714A (en) Keyboard switch
JPS6220020Y2 (en)
JPH05165472A (en) Manipulating speed detector for electronic musical instrument
KR20000060561A (en) Key Recognizing Apparatus
JPS6278619A (en) Key input device
JPH06161633A (en) Matrix keyboard
JPH07271493A (en) Keyboard control device
JPS61292727A (en) Keyboard
JPH01118919A (en) Input device
JPS642223B2 (en)
JPH0390924A (en) Key input device
JPS57182826A (en) Keyboard controlling circuit
JPH04160619A (en) Electronic computer
JPS61161836A (en) Switch signal coding device
JPH0774981B2 (en) Information input device
JPS62115514A (en) Key input device