JPS63188217A - Key scanning circuit - Google Patents
Key scanning circuitInfo
- Publication number
- JPS63188217A JPS63188217A JP62020907A JP2090787A JPS63188217A JP S63188217 A JPS63188217 A JP S63188217A JP 62020907 A JP62020907 A JP 62020907A JP 2090787 A JP2090787 A JP 2090787A JP S63188217 A JPS63188217 A JP S63188217A
- Authority
- JP
- Japan
- Prior art keywords
- level
- key
- output
- circuit
- amplifier
- 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
Links
- 238000001514 detection method Methods 0.000 claims description 12
- 239000011159 matrix material Substances 0.000 claims description 10
- 230000000977 initiatory effect Effects 0.000 claims 2
- 238000010586 diagram Methods 0.000 description 2
- 230000003213 activating effect Effects 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000000034 method Methods 0.000 description 1
Abstract
Description
【発明の詳細な説明】
〔産業上の利用分野〕
本発明は、マトリクス構造をなすキーの入力を検出する
キー・スキャンニング回路に関する。DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a key scanning circuit for detecting input of keys having a matrix structure.
従来、マトリクス構造をもつスイッチ(以下キーと呼ぶ
)の入力検出はどのキーがONになっているかはキーソ
ースからの出力を1本だけアクティブにし、その時どの
キーが押されている(アクティブになっている)かを各
キーソース毎に順次調べていく方法のキー・スキャンニ
ングにより判別していた。Conventionally, input detection for switches with a matrix structure (hereinafter referred to as keys) has been performed by activating only one output from the key source to determine which key is turned on, and by determining which key is being pressed (active) at that time. This was determined by key scanning, a method that sequentially examines each key source.
上述した従来のキー・スキャンニング回路では常にキー
人力を検出する為にキー・スキャンを実行していなけれ
ばならないし、対象となるキーマトリクスが大きければ
大きい程そのハードウェア、消費電力も大きくなってし
まう欠点がある。In the conventional key scanning circuit described above, key scanning must be performed constantly in order to detect the key force, and the larger the target key matrix, the greater the hardware and power consumption. There is a drawback.
上述した従来のキー人力検出はキーソースを常にスキャ
ンニングさせながら検出していたが、本発明はキー人力
があった場合にその変化を検出し、その検出信号により
スキャンニングを開始し、それによりどのキーより入力
されたかを判別するというものである。The conventional key force detection described above detects the key source while constantly scanning it, but the present invention detects a change in the key source when there is a key force, starts scanning based on the detection signal, and thereby This is to determine which key was used to input the input.
本発明は、マトリクス構造をなす複数のキーそれぞれの
入力をキー・スキャンニングにより検出するキー・スキ
ャンニング回路において、前記キーのいずれかの入力が
あったことを検出するキー入力検出手段と、このキー入
力検出手段が前記キーのいずれかの入力を検出してから
前記キー・スキャンニングを開始させる開始手段を含ん
で構成される。The present invention provides a key scanning circuit that detects input to each of a plurality of keys in a matrix structure by key scanning, and a key input detection means for detecting an input to any of the keys; The key input detection means includes a start means for starting the key scanning after detecting an input of any of the keys.
次に本発明について図面を参照して説明する。 Next, the present invention will be explained with reference to the drawings.
第1図は本発明の一実施例を示す回路図であり、1はカ
ウンタ、2はデコーダ、3〜5は出力アンプ、6はマト
リクスキー、7〜15はモーメンタリ−スイッチ、16
はプルアップ抵抗、17〜19はキー人力用アンプ、2
0はキー人力検出回路、21〜23は遅延線、24〜2
6は排他的論理和回路である。27はセット/リセット
形フリップフロップであり、キー人力検出回路20から
の信号を受け、カウンタ1等にマトリクスキー6のキー
・スキャンニングを開始させる。FIG. 1 is a circuit diagram showing an embodiment of the present invention, in which 1 is a counter, 2 is a decoder, 3 to 5 are output amplifiers, 6 is a matrix key, 7 to 15 are momentary switches, 16
is a pull-up resistor, 17 to 19 are key human power amplifiers, 2
0 is the key human power detection circuit, 21 to 23 are delay lines, 24 to 2
6 is an exclusive OR circuit. 27 is a set/reset type flip-flop which receives a signal from the key force detection circuit 20 and causes the counter 1 etc. to start key scanning of the matrix key 6.
次にこの回路の動作について説明する。 “まず、マト
リクスキー6のモーメンタリ−スイッチ7〜15が押さ
れていない場合においては、出力アンプ3〜5の出力“
L 11レベル(低レベル)になっている。ま、た、キ
ー人力用アンプ17〜19の入力はプルアップ抵抗16
により“H”レベル(高レベル)になっており、キー人
力検出回路20の排他的論理和回路24〜26は“L
11レベルとなっている。この為、セット/リセット形
フリップフロップ27もリセット状態(“Lルベル)と
なっており、その出力はカウンタ1を停止させ、′デコ
ーダ2の出力を全て“L”レベルにしている。Next, the operation of this circuit will be explained. "First, if the momentary switches 7 to 15 of the matrix key 6 are not pressed, the outputs of the output amplifiers 3 to 5"
L It is at level 11 (low level). Well, the inputs of the key human power amplifiers 17 to 19 are pull-up resistors 16.
The exclusive OR circuits 24 to 26 of the key human power detection circuit 20 are at the “H” level (high level).
It is level 11. For this reason, the set/reset type flip-flop 27 is also in the reset state ("L level"), and its output stops the counter 1 and makes all the outputs of the decoder 2 "L" level.
次に、いずれかのモーメンタリ−スイッチ7〜15が押
された場合について説明する。例えばモーメンタリ−ス
イッチ11が押されたとすると、キー人力用アンプ18
の出力は“H”レベルから“L”レベルへと変化する。Next, a case where any of the momentary switches 7 to 15 is pressed will be described. For example, if the momentary switch 11 is pressed, the key manual amplifier 18
The output changes from "H" level to "L" level.
この変化はキー人力検出回路20の遅延線22と排他的
論理和回路25に入力され、キー人力用アンプ18の出
力の“HI+レベルから“L”レベルへの変化から遅延
線22の遅延時間だけ排他的論理和25の出力が゛°H
″レベルとなる。This change is input to the delay line 22 of the key human power detection circuit 20 and the exclusive OR circuit 25, and the delay time of the delay line 22 is the same as the change in the output of the key human power amplifier 18 from "HI+ level" to "L" level. The output of exclusive OR 25 is ゛°H
” level.
この結果、セット/リセット形フリップフロップ27を
セット状態(“H“レベル)とし、カウンタ1を起動さ
せデコーダ2の出力を順次“L”レベルから“H”レベ
ルと順次スキャンニングし、出力アンプ3〜5の出力を
順次“H11レベルにする。出力アンプ4の出力が゛L
”レベルから“H”レベルになった時にキー人力用アン
プ18が“H”レベルになることを調べることにより、
モーメンタリ−スイッチ11が押されていることを検出
できる。As a result, the set/reset type flip-flop 27 is set (“H” level), the counter 1 is activated, the output of the decoder 2 is sequentially scanned from the “L” level to the “H” level, and the output amplifier 3 -5 outputs are set to "H11 level" in sequence. Output of output amplifier 4 becomes "L".
By checking that the key human powered amplifier 18 goes to the "H" level when it changes from the "H" level to the "H" level,
It can be detected that the momentary switch 11 is pressed.
また、図中のリセット信号はこれらシーケンス2が終っ
た時点で入力される。Further, the reset signal in the figure is input at the time when sequence 2 is completed.
以上説明したように本発明は、キー人力の変化時点を検
出することにより常にキー・スキャンニングさせること
は必要でない、従ってキーマトリクスの大きさにより消
費電力も比例して大きくならないという効果がある。As described above, the present invention has the advantage that constant key scanning is not required by detecting the point in time when the key force changes, and therefore power consumption does not increase in proportion to the size of the key matrix.
第1図は本発明の一実施例の回路図である。
1・・・カウンタ、2・・・デコーダ、3〜5出力アン
プ、6・・・マトリクスキー、7〜15・・・モーメン
タリ−スイッチ、16・・・プルアップ抵抗、17〜1
9・・・キー人力用アンプ、20・・・キー人力検出回
路、21〜23・・・遅延線、24〜26・・・排他的
論理和回路、27・・・セット/リセット形フリップフ
ロップ。FIG. 1 is a circuit diagram of an embodiment of the present invention. 1... Counter, 2... Decoder, 3-5 output amplifier, 6... Matrix key, 7-15... Momentary switch, 16... Pull-up resistor, 17-1
9... Key human power amplifier, 20... Key human power detection circuit, 21-23... Delay line, 24-26... Exclusive OR circuit, 27... Set/reset type flip-flop.
Claims (1)
・スキャンニングにより検出するキー・スキャンニング
回路において、前記キーのいずれかの入力があったこと
を検出するキー入力検出手段と、このキー入力検出手段
が前記キーのいずれかの入力を検出してから前記キー・
スキャンニングを開始させる開始手段を含むこと特徴と
したキー・スキャンニング回路。In a key scanning circuit that detects the input of each of a plurality of keys forming a matrix structure by key scanning, a key input detection means detects an input of any of the keys, and the key input detection means detects input of any of said keys and then
A key scanning circuit comprising initiation means for initiating scanning.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP62020907A JPS63188217A (en) | 1987-01-30 | 1987-01-30 | Key scanning circuit |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP62020907A JPS63188217A (en) | 1987-01-30 | 1987-01-30 | Key scanning circuit |
Publications (1)
Publication Number | Publication Date |
---|---|
JPS63188217A true JPS63188217A (en) | 1988-08-03 |
Family
ID=12040299
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP62020907A Pending JPS63188217A (en) | 1987-01-30 | 1987-01-30 | Key scanning circuit |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPS63188217A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH0355619A (en) * | 1989-07-24 | 1991-03-11 | Matsushita Electric Ind Co Ltd | Matrix type input device |
JPH03150622A (en) * | 1989-11-08 | 1991-06-27 | Taiyo Musen Kk | Keyboard data reader |
JPH0421019A (en) * | 1990-05-14 | 1992-01-24 | Tamura Electric Works Ltd | Key detecting method |
-
1987
- 1987-01-30 JP JP62020907A patent/JPS63188217A/en active Pending
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH0355619A (en) * | 1989-07-24 | 1991-03-11 | Matsushita Electric Ind Co Ltd | Matrix type input device |
JPH03150622A (en) * | 1989-11-08 | 1991-06-27 | Taiyo Musen Kk | Keyboard data reader |
JPH0421019A (en) * | 1990-05-14 | 1992-01-24 | Tamura Electric Works Ltd | Key detecting method |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JPH07109572B2 (en) | Capacity keyboard | |
US4109315A (en) | Wristwatch calculator with selectively scanned keyboard | |
JPS63188217A (en) | Key scanning circuit | |
CN107340872B (en) | Key system and control method thereof | |
KR950025340A (en) | Microwave encoder key input device and interrupt processing method using the device | |
JPH0731611B2 (en) | Device operation mode switching circuit | |
JP3098836B2 (en) | Coordinate detection device | |
JPH01295319A (en) | Key input device | |
JPH0431625Y2 (en) | ||
KR940005435B1 (en) | Protecting method of phantom state in keyboard | |
JPS62226356A (en) | Initial program loading system | |
JPS62165227A (en) | Key detecting circuit | |
JPH01103716A (en) | Temperature controller | |
JPS5858640A (en) | Key input device | |
JPS622687Y2 (en) | ||
JPS58184631A (en) | Keyboard reading method | |
JPS61213913A (en) | Keyboard device | |
JPH0410105A (en) | Controller | |
JPH0477813A (en) | Keyboard | |
JPS61284113A (en) | Timer circuit | |
JPH0335310A (en) | Key input device and method | |
JPH0333612A (en) | Detecting method of rotating direction of rotary input means | |
JPH01191927A (en) | Handwriting input device | |
JPS61151726A (en) | Key scan system | |
JPH03198121A (en) | Keyboard control circuit |