JP2682900B2 - Key matrix input system - Google Patents

Key matrix input system

Info

Publication number
JP2682900B2
JP2682900B2 JP2333678A JP33367890A JP2682900B2 JP 2682900 B2 JP2682900 B2 JP 2682900B2 JP 2333678 A JP2333678 A JP 2333678A JP 33367890 A JP33367890 A JP 33367890A JP 2682900 B2 JP2682900 B2 JP 2682900B2
Authority
JP
Japan
Prior art keywords
key
timing signal
switch input
active
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 - Fee Related
Application number
JP2333678A
Other languages
Japanese (ja)
Other versions
JPH04205217A (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.)
Denso Ten Ltd
Original Assignee
Denso Ten 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 Denso Ten Ltd filed Critical Denso Ten Ltd
Priority to JP2333678A priority Critical patent/JP2682900B2/en
Publication of JPH04205217A publication Critical patent/JPH04205217A/en
Application granted granted Critical
Publication of JP2682900B2 publication Critical patent/JP2682900B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Input From Keyboards Or The Like (AREA)

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明はキーボードに於ける押圧されたキーを判別す
る為に使用されるキーマトリックス入力システムに関す
るものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a key matrix input system used to identify a pressed key on a keyboard.

〔従来の技術〕[Conventional technology]

従来に於けるキーマトリックス入力システムにおいて
は、第4図に示す様に、キーボードに設けられた複数の
キーのどれが押圧されたかを個別に識別する為にマトリ
ックスの一方のライン群を構成する複数のタイミング信
号ラインの該マトリックスの他方のライン群を構成する
複数のスイッチ入力ラインとを使用して、例えばインタ
ーバルが50msec毎にキー入力操作を行い、各タイミング
信号ラインに順次に個別のタイミング信号を出力しスイ
ッチ入力ラインの状態を検出して押圧されたキーがどの
位置のキーであるかを識別している。
In the conventional key matrix input system, as shown in FIG. 4, a plurality of lines forming one line group of the matrix are used to individually identify which of a plurality of keys provided on the keyboard has been pressed. Using a plurality of switch input lines that form the other line group of the timing signal line of the matrix, for example, key input operation is performed at intervals of 50 msec, and individual timing signals are sequentially input to each timing signal line. The state of the output and switch input line is detected and the position of the pressed key is identified.

然しながら、係る従来の方法においては、必ず該イン
ターバル毎に順次に個別のタイミング信号を発生させ、
上記の個別スイッチ判断を実行するものであるから、個
別スイッチが押圧されていようといまいと上記のインタ
ーバル毎にキー入力時のタイミング信号による方形波が
発生する。係る方形波が、オーディオ機器に於いてはノ
イズの原因となっている。
However, in such a conventional method, individual timing signals are always generated sequentially for each interval,
Since the above-mentioned individual switch judgment is executed, a square wave is generated by the timing signal at the time of key input at each interval described above regardless of whether the individual switch is pressed. Such a square wave is a cause of noise in audio equipment.

従って、オーディオ機器分野に於いては係るノイズの
原因となっている上記方形波の発生を出来るだけ減少さ
せることが必要となっている。
Therefore, in the audio equipment field, it is necessary to reduce the generation of the square wave which causes the noise as much as possible.

〔発明が解決しようとする課題〕[Problems to be solved by the invention]

本発明の目的は、係る従来技術に於ける問題点を解決
し、キーマトリックス入力システムに於いてキー入力を
実行するに際しても、上記した方形波の発生が少なく従
ってオーディオ機器に対するノイズの発生を防止しうる
キーマトリックス入力システムを提供するものである。
The object of the present invention is to solve the problems in the prior art and to prevent the generation of noise to the audio device when the key input is executed in the key matrix input system, since the square wave is less generated. It provides a possible key matrix input system.

〔課題を解決するための手段〕[Means for solving the problem]

本発明は上記目的を達成する為に以下に示す様な技術
構成を採用するものである。即ち、キーボードとキーボ
ードに於ける押圧されたキーを判別する為の制御手段と
から構成されたキーマトリックス入力システムに於い
て、該マトリックスの一方のライン群を構成する複数の
タイミング信号ラインに対する出力を全てアクティブと
する第1の工程、該マトリックスの他方のライン群を構
成する複数のスイッチ入力ラインの状態を検出する第2
の工程、該複数のスイッチ入力ラインの少なくとも何れ
か1つの状態がアクティブである場合に該複数のタイミ
ング信号ラインのそれぞれを順次に個別のタイミング信
号を出力する第3の工程、該個別のタイミング信号を出
力に同期して該複数のスイッチ入力ラインを検出する第
4の工程とを実行し、前記第2の工程に於いて該複数の
スイッチ入力ラインの何れもがノンアクティブである場
合には前記した第3と第4の工程を実行せずに第1の工
程に戻る第5の工程を実行し、第4の工程終了後に、第
1の工程に戻り、第2の工程に於いて該複数のスイッチ
入力ラインがアクティブ状態を継続している場合には、
前記第3と第4の工程を実行せずに第1の工程に戻る第
6の工程を実行することから構成されたキーマトリック
ス入力システムである。
The present invention adopts the following technical configurations in order to achieve the above object. That is, in a key matrix input system composed of a keyboard and a control means for discriminating a pressed key on the keyboard, an output for a plurality of timing signal lines forming one line group of the matrix is output. First step of making all active, second step of detecting the states of a plurality of switch input lines forming the other line group of the matrix
Step, a third step of sequentially outputting individual timing signals to each of the plurality of timing signal lines when at least one state of the plurality of switch input lines is active, the individual timing signal And a fourth step of detecting the plurality of switch input lines in synchronism with the output, and when none of the plurality of switch input lines is non-active in the second step, Performing the fifth step of returning to the first step without performing the above-mentioned third and fourth steps, returning to the first step after the completion of the fourth step, and returning to the plurality of steps in the second step. If the switch input line of is still active,
The key matrix input system is configured to perform a sixth step of returning to the first step without performing the third and fourth steps.

〔作用〕[Action]

本発明においては、上記した構成を取る事により、従
来は、キー入力の全てのインターバルに於いて方形波が
発生していたのに対し、キー入力の期間を複数のスイッ
チ入力ラインの状態を検出する工程と個別のタイミング
信号を出力してどのキーが押圧されたかを検出する工程
とに区分し、先ずスイッチ入力ラインの状態を検出する
工程で何れのキーも押圧されていない場合には個別のタ
イミング信号を出力する工程が省略されるのでその分上
記の方形波の発生が減少され、ノイズの発生を押さえる
ことが出来る。
According to the present invention, by adopting the above-mentioned configuration, a square wave is conventionally generated at every interval of key input, whereas the state of key input is detected during a period of key input. And the step of outputting an individual timing signal to detect which key is pressed. First, in the step of detecting the state of the switch input line, if no key is pressed, an individual key is pressed. Since the step of outputting the timing signal is omitted, the generation of the above-mentioned square wave is reduced accordingly, and the generation of noise can be suppressed.

〔実施例〕〔Example〕

以下に、本発明に係るキーマトリクス入力システムの
具体例を図面を参照しながら詳細に説明する。
Hereinafter, a specific example of the key matrix input system according to the present invention will be described in detail with reference to the drawings.

本発明に係るキーマトリックス入力システムは、上記
した様に、キーボード1とキーボードに於ける押圧され
たキーを判別する為の制御手段2とから構成されたキー
マトリックス入力システムに於いて、該マトリックスの
一方のライン群を構成する複数のタイミング信号ライン
3に対する出力を全てアクティブとする第1の工程、該
マトリックスの他方のライン群を構成する複数のスイッ
チ入力ライン4の状態を検出する第2の工程、該複数の
スイッチ入力ラインの少なくとも何れか1つの状態がア
クティブである場合に該複数のタイミング信号ラインの
それぞれに順次に個別のタイミング信号を出力する第3
の工程、該個別のタイミング信号を出力に同期して該複
数のスイッチ入力ラインを検出する第4の工程とを実行
し、前記第2の工程に於いて該複数のスイッチ入力ライ
ンの何れもがノンアクティブである場合には前記した第
3と第4の工程を実行せずに第1の工程に戻る第5の工
程を実行することから構成されたキーマトリックス入力
システムでありその構成の概略が第1図に示されてい
る。
As described above, the key matrix input system according to the present invention is a key matrix input system including the keyboard 1 and the control means 2 for discriminating the pressed key on the keyboard. A first step of activating all outputs to a plurality of timing signal lines 3 forming one line group, and a second step of detecting the states of a plurality of switch input lines 4 forming the other line group of the matrix A third timing signal line is sequentially output to each of the plurality of timing signal lines when at least one state of the plurality of switch input lines is active.
And the fourth step of detecting the plurality of switch input lines in synchronization with the output of the individual timing signals, and in the second step, any of the plurality of switch input lines is performed. When it is non-active, it is a key matrix input system configured by performing a fifth step of returning to the first step without performing the above-mentioned third and fourth steps, and the outline of the configuration is It is shown in FIG.

第1図に於いては、該キーボード1は4×2のキーマ
トリックス、つまり4本のタイミング信号ライン31
32、33、34から構成される一方のライン群3と2本のス
イッチ入力ライン41、42から構成される他方のライン群
4とから構成されている例が示されているが、本発明は
係る構成のキーボードに限定されるものでは無く、4×
4、8×4等、如何なる構成のキーボードでも使用する
事が出来る。
In FIG. 1, the keyboard 1 is a 4 × 2 key matrix, that is, four timing signal lines 3 1 ,
An example is shown in which one line group 3 composed of 3 2 , 3 3 and 3 4 and the other line group 4 composed of two switch input lines 4 1 and 4 2 are composed. However, the present invention is not limited to a keyboard having such a configuration, and 4 ×
A keyboard of any configuration such as 4, 8 × 4 can be used.

又本発明に於けるキーマトリックス入力システムに於
いて使用される制御手段とは、後述する様に、該マトリ
ッスクの一方のライン群31、32、33、34等を構成する複
数のタイミング信号ライン3のそれぞれに対して適宜の
インターバルで順次にタイミング信号T0、T1、T2、T3
出力する様に構成された回路、該マトリックスの他方の
ライン群41、42を構成する複数のスイッチ入力ライン4
の状態を検出する検出回路7と該タイミング信号を順次
に所定のインターバルで出力させる為の制御を行うと同
時に、スイッチ入力ライン検出回路7の情報からどのキ
ーが押圧されたかを識別する制御判定回路8とを少なく
とも包含している事が好ましく、又、当該制御手段2は
通常一つのチップを構成するものであり、所謂マイクロ
コンピュータで構成される事が好ましい。
Further, the control means used in the key matrix input system in the present invention means, as will be described later, a plurality of line groups 3 1 , 3 2 , 3 3 , 3 4, etc. that constitute one line group of the matrix. A circuit configured to sequentially output timing signals T 0 , T 1 , T 2 , T 3 to each of the timing signal lines 3 at appropriate intervals, the other line groups 4 1 , 4 2 of the matrix. Switch input lines 4 that make up the
And a control judgment circuit for discriminating which key is pressed from the information of the switch input line detection circuit 7 at the same time as the detection circuit 7 for detecting the state of the switch and the control for sequentially outputting the timing signal at a predetermined interval. 8 is included at least, and the control means 2 usually constitutes one chip and is preferably constituted by a so-called microcomputer.

従来においては、上記第1図の回路に於いて第4図に
も示されている通り、所定のタイミングでキー入力を行
い、どのキーが押圧されたかを判定する場合に、該タイ
ミング信号ライン31、32、33、34を予めノンアクティブ
の状態にしておき、つまり例えば、L(ロー)の状態に
しておき、該タイミング信号ライン31、32、33、34の各
々に個別のタイミング信号T0、T1、T2、T3を位相をずら
せて出力させる。
Conventionally, as shown in FIG. 4 in the circuit of FIG. 1, the timing signal line 3 is used to determine which key is pressed by inputting a key at a predetermined timing. 1 , 3, 2 , 3 3 , 3 4 are set in a non-active state in advance, that is, for example, in an L (low) state, and each of the timing signal lines 3 1 , 3 2 , 3 3 , 3 4 is The individual timing signals T 0 , T 1 , T 2 , and T 3 are output with their phases shifted.

一方、該スイッチ入力ライン41、42は第1図に示され
ている様に、各ラインの当該制御手段2への入力部近傍
に抵抗R1、R2を介して接地するノード部を設けているの
で、常時は、つまり押圧されたキーが存在しない場合に
は該各スイッチ入力ライン41、42の出力K1、K2はノンア
クティブつまり例えば、L(ロー)の状態であるが、該
キーマトリックス上の何れかのキーが押圧された場合に
は、その押圧されたキーの存在するスイッチ入力ライン
41又は42の何れかの入力K1又はK2の何れかが、その個別
のタイミング信号がキー入力された時にアクティブの状
態、例えばH(ハイ)の状態となるので、どの位置のキ
ーが押圧されたかを判別する事が出来る。
On the other hand, as shown in FIG. 1 , the switch input lines 4 1 and 4 2 have a node portion grounded through resistors R 1 and R 2 near the input portion of each line to the control means 2. Since it is provided, normally, that is, when there is no pressed key, the outputs K1 and K2 of the switch input lines 4 1 and 4 2 are non-active, that is, in the L (low) state, When any key on the key matrix is pressed, the switch input line in which the pressed key exists
Any of the inputs K 1 or K 2 of 4 1 or 4 2 is in an active state, for example, H (high) state when the individual timing signal is keyed in, so which key is at which position? It is possible to determine whether it has been pressed.

処で、本発明に於いては、係る従来の方法では、上記
した様な問題点が存在する事に鑑み、係る問題点を解消
する為、従来キー入力する際に、該タイミング信号ライ
ン3の出力レベルを常時ノンアクティブとしていたのに
対し、これを常時アクティブ、例えばH(ハイ)の状態
にしておくものである。
In view of the above-described problems in the conventional method according to the present invention, in order to solve the above problems, when the conventional key input is performed, the timing signal line 3 While the output level is always inactive, it is always active, for example, in the H (high) state.

一方、スイッチ入力ラインの方は、従来と同様の構成
にしておくので、通常時つまり、キー入力を行わない時
点、及び何れのキーも押圧されていない状態に於いて
は、各タイミング信号ライン31、32、33、34のそれぞれ
のタイミング信号出力T0、T1、T2、T3はいずれもアクテ
ィブつまりHの状態にあるが、スイッチ入力ライン、
41、42の出力K1、K2はノンアクティブつまり例えば、L
(ロー)の状態にある。
On the other hand, since the switch input line has the same configuration as the conventional one, at the time of normal operation, that is, when no key is input and when no key is pressed, each timing signal line 3 Each of the timing signal outputs T 0 , T 1 , T 2 , T 3 of 1 , 3 2 , 3 3 , 3 4 is in the active or H state, but the switch input line,
The outputs K1 and K2 of 4 1 and 4 2 are non-active, that is, L
It is in the (low) state.

一方、係る構成に於いて、少なくとも一つのキーが押
圧されると該スイッチ入力ラインの出力K1及び/又はK2
はアクティブつまりHの状態になる。
On the other hand, in such a configuration, when at least one key is pressed, the output K1 and / or K2 of the switch input line is output.
Becomes active, that is, in the H state.

従って、係る関係から、何れのキーが押圧されたかは
判別しえないが、何処かのキーが押圧されたことだけは
判別することが可能である。
Therefore, from this relationship, it is not possible to determine which key has been pressed, but it is possible to determine only some key has been pressed.

そこで、本発明にあっては、先ず該スイッチ入力ライ
ンの出力K1、K2のレベルを検出して、いずれもノンアク
ティブであればキーボードのキーは何れも押圧されてい
ないと判断し、従来の方法の様な個別のタイミング信号
T0、T1、T2、T3を発生させて押圧されたキーが有るか否
か、有ればその位置は何処かと言う、個別判定操作の実
行を中止し、次の検出の為のキー入力のタイミング信号
が発生される迄何もしない。
Therefore, in the present invention, first, the levels of the outputs K1 and K2 of the switch input line are detected, and if none of them are inactive, it is determined that none of the keys of the keyboard are pressed, and the conventional method Individual timing signals such as
T 0, T 1, T 2 , whether T 3 to generate with pressed key is present, its position say somewhere if there stops the execution of the individual decision operation, for the next detection Do nothing until the key input timing signal is generated.

従って、従来の様に、多数のタイミング信号による方
形波の発生を低減させることが出来る。
Therefore, it is possible to reduce the generation of a square wave due to a large number of timing signals as in the conventional case.

次に、本発明に於いて、該スイッチ入力ラインの出力
K1、K2のレベルの少なくとも一方がアクティブであれば
キーボードの何れかのキーが押圧されたものと判断し、
従来の方法の様な個別のタイミング信号T0、T1、T2、T3
を順次発生させて押圧されたキーの存在場所を判別する
操作を実行する。
Next, in the present invention, the output of the switch input line
If at least one of the K1 and K2 levels is active, it is determined that one of the keys on the keyboard has been pressed,
Separate timing signals T 0 , T 1 , T 2 , T 3 as in conventional methods
Is sequentially generated to determine the location of the pressed key.

そして、当該押圧されたキーの場所が確認されたなら
ば、係る検出操作を終了して該タイミング信号ラインの
出力T0、T1、T2、T3を全てアクティブに戻し次のキー入
力のタイミング信号の入力まで待機する事になる。
Then, when the location of the pressed key is confirmed, the detection operation is terminated and the outputs T 0 , T 1 , T 2 , T 3 of the timing signal line are all returned to the active state, and the next key input is performed. It will wait until the timing signal is input.

係る操作に係る各出力の波形とそのタイミングを第2
図に示す。
The waveform and timing of each output related to the operation
Shown in the figure.

即ち、時刻t1に於いてキー入力タイミング信号が入力
されたとして、その時のタイミング信号ライン31、32
33、34のそれぞれのタイミング信号出力T0、T1、T2、T3
はいずれもアクティブ、つまりHの状態にある。
That is, assuming that the key input timing signal is input at time t1, the timing signal lines 3 1 , 3 2 , at that time,
Timing signal output of each of 3 3 and 3 4 T 0 , T 1 , T 2 , T 3
Are both active, that is, in the H state.

又スイッチ入力ラインの出力K1、K2の出力レベルはい
ずれもノンアクティブであるので、係るキー入力タイミ
ング時には、該キーマトリックス入力システムはどのキ
ーが押圧されたかの判別作業は実行しない。
Since the output levels of the outputs K1 and K2 of the switch input line are both inactive, the key matrix input system does not perform the work of determining which key is pressed at the time of the key input.

次に、時刻t2に於いて次のキー入力タイミング信号が
入力された時、該キーマトリックスのタイミング信号ラ
イン33と該スイッチ入力ライン41との交点にあるキーが
押圧されていたとすると、タイミング信号ライン31
32、33、34のそれぞれのタイミング信号出力T0、T1
T2、T3はいずれもアクティブ、つまりHの状態にある
が、スイッチ入力ラインのK1のレベルはアクティブつま
りHとなり、又スイッチ入力ラインのK2のレベルはノン
アクティブとなっている。
Next, at the time t2, when the next key input timing signal is input, if the key at the intersection of the timing signal line 3 3 of the key matrix and the switch input line 4 1 is pressed, the timing is Signal line 3 1 ,
Timing signal outputs T 0 , T 1 , and 3 2 3 3 4 respectively
Both T 2 and T 3 are active, that is, in the H state, but the level of K1 of the switch input line is active, that is, H, and the level of K2 of the switch input line is non-active.

従って、本発明に於けるキーマトリックス入力システ
ムは該キーボードの何れかのキーが押圧されたと判断
し、従来の方法と同じ個別のタイミング信号を出力し
て、押圧されたキーの位置を確認する為の操作を実行す
る。
Therefore, the key matrix input system of the present invention determines that any key of the keyboard has been pressed and outputs the same individual timing signal as in the conventional method to confirm the position of the pressed key. Perform the operation of.

つまり、時刻t2−1でタイミング信号ライン31に対す
る個別のタイミング信号T0の出力レベルをアクティブ、
即ちHとする。
That is, the active output level of the individual timing signal T 0 for the timing signal line 3 1 at time t2-1,
That is, H.

然かしこの時点ではスイッチ入力ラインの出力K1、K2
の出力レベルはいずれもノンアクティブである。
However, at this point, the outputs K1 and K2 of the switch input line
The output levels of are all inactive.

次に、時刻t2−2でタイミング信号ライン32に対する
個別のタイミング信号T1の出力レベルをアクティブ、即
ちHとする。
Next, activate the individual output level of the timing signal T 1 for the timing signal line 3 2 at time t2-2, that is, the H.

然かしこの時点でもスイッチ入力ラインの出力K1、K2
の出力レベルはいずれもノンアクティブである。
However, even at this time, the outputs K1 and K2 of the switch input line
The output levels of are all inactive.

時刻t2−3に於いてタイミング信号ライン33に対する
個別のタイミング信号T2の出力レベルをアクティブ、即
ちHとする。
Active individual output level of the timing signal T 2 for the timing signal line 3 3 At a time t2-3, that is, the H.

係る時点では、タイミング信号ライン33と該スイッチ
入力ライン41との交点にあるキーが押圧されているの
で、スイッチ入力ラインの出力K1、の出力レベルはアク
ティブとなり又スイッチ入力ラインの出力K2の出力レベ
ルはノンアクティブである。
At that time, since the key at the intersection of the timing signal line 3 3 and the switch input line 4 1 is pressed, the output level of the switch input line output K1, becomes active and the output of the switch input line K2 becomes The output level is non-active.

従って、この時点で押圧されたキーの位置が確認出来
る。
Therefore, the position of the pressed key can be confirmed at this time.

又時刻t2−4でタイミング信号ライン34に対する個別
のタイミング信号T3の出力レベルをアクティブ、即ちH
とする。
The active output level of the individual timing signal T 3 for the timing signal lines 3 4 at time t2-4, i.e. H
And

然かしこの時点でもスイッチ入力ラインの出力K1、K2
の出力レベルはいずれもノンアクティブである。
However, even at this time, the outputs K1 and K2 of the switch input line
The output levels of are all inactive.

時刻t2−5で上記の個別のタイミング信号による押圧
キーの判別操作を終了するが時刻t3迄、当該キー入力タ
イミングが継続されるので、スイッチ入力ラインの出力
K1出力レベルはアクティブの状態を継続する。
At time t2-5, the operation of discriminating the pressed key by the above individual timing signal is finished, but since the key input timing is continued until time t3, the switch input line is output.
The K1 output level remains active.

そして、時刻t3で新たなキー入力タイミング信号が入
力されると、上記と同様の操作が繰り返されて押圧キー
の判別が実行される。
Then, when a new key input timing signal is input at time t3, the same operation as described above is repeated to determine the pressed key.

つまり、本発明に於いて、タイミング1に於いてはス
イッチ入力ラインの出力K1、K2のレベルのみ検出する工
程Aを実行し、その結果が該出力K1、K2のレベルの何れ
もがノンアクティブであるのでそれ以後の操作は何ら実
行せず次のタイミング信号の入力を持つ。一方タイミン
グ2においてま先ずスイッチ入力ラインの出力K1、K2の
レベルのみ検出する工程Aを実行し、その結果が該出力
K1、K2のレベルの一つであるK1のレベルがアクティブと
なっているで、個別のタイミング信号を用いて押圧され
たキーの判別操作Bを実行する。
That is, in the present invention, at the timing 1, the step A of detecting only the levels of the outputs K1 and K2 of the switch input line is executed, and the result is that both the levels of the outputs K1 and K2 are non-active. Since it is present, the subsequent operation is not executed and the next timing signal is input. On the other hand, at timing 2, step A for detecting only the levels of the outputs K1 and K2 of the switch input line is executed, and the result is the output.
Since the level of K1, which is one of the levels of K1 and K2, is active, the discriminating operation B of the pressed key is executed using the individual timing signal.

又、タイミング3では、キーが押圧されなかったので
タイミング1と同様の操作が行われる。
At timing 3, no key is pressed, so the same operation as at timing 1 is performed.

上記した工程のフローチャートを第3図に示す。 A flow chart of the above process is shown in FIG.

即ち第3図に於いて、先ずキー入力タイミング信号が
入力されると、タイミング信号ライン31、32、33、34
それぞれのタイミング信号出力T0、T1、T2、T3はいずれ
もアクティブ、つまりHの状態にする。(ステップa) 続いて、スイッチ入力ライン41、42の出力K1、K2の出
力レベルの少なくとも一方がアクティブであるか否かを
判断する。(ステップb) 係る工程に於いて、スイッチ入力ライン41、42の出力
K1、K2のいずれの出力レベルもノンアクティブである場
合には、(ステップa)にもどり、又スイッチ入力ライ
ン41、42の出力K1、K2のいずれかのレベルがアクティブ
である場合には(ステップc)に進み、各タイミング信
号ライン31、32、33、34のそれぞれに個別のタイミング
信号を出力する。次いで(ステップd)に於いてスイッ
チ入力ライン41、42の出力K1、K2の出力を検出して押圧
されたキーの存在位置を判別する。
That is, in FIG. 3, when the key input timing signal is first input, the timing signal outputs T 0 , T 1 , T 2 , T 3 of the timing signal lines 3 1 , 3 2 , 3 3 , 3 4 respectively. Are both active, that is, in the H state. (Step a) Subsequently, it is determined whether or not at least one of the output levels of the outputs K1 and K2 of the switch input lines 4 1 and 4 2 is active. (Step b) In the process, output of switch input lines 4 1 and 4 2
If any of the output levels of K1 and K2 is non-active, go back to (step a), and if either of the outputs K1 and K2 of the switch input lines 4 1 and 4 2 is active, Proceeding to (step c), individual timing signals are output to the respective timing signal lines 3 1 , 3 2 , 3 3 , 3 4 . Then to determine the location of the pressed key by detecting the output of the output K1, K2 of the switch input lines 4 1, 4 2 In (step d).

係る個別のタイミング信号を全てのタイミング信号ラ
イン31、32、33、34のそれぞれについて実行したか否か
を判断し、その全てに付いて実行していない場合には、
(ステップc)に戻り、実行が完了した場合にはタイミ
ング信号ライン31、32、33、34に対するタイミング信号
出力T0、T1、T2、T3をいずれもアクティブ、つまりHの
状態にして(ステップf)(ステップa)に戻る。
It is judged whether or not such individual timing signal is executed for each of all the timing signal lines 3 1 , 3 2 , 3 3 , 3 4 , and if not executed for all of them,
Returning to (step c), when the execution is completed, all the timing signal outputs T 0 , T 1 , T 2 , T 3 to the timing signal lines 3 1 , 3 2 , 3 3 , 3 4 are active, that is, H (Step f) and (step a).

〔効果〕〔effect〕

本発明においてはキーマトリックス入力システムに於
いてキー入力を実行するに際しても、上記した方形波の
発生が少なく従ってオーディオ機器に対するノイズの発
生を防止しうるキーマトリックス入力システムをうるこ
とが出来る。
According to the present invention, it is possible to obtain a key matrix input system capable of preventing the generation of noise in an audio device when the key input is performed in the key matrix input system, since the above-mentioned square wave is less generated.

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

第1図は本発明に係るキーマトリックス入力システムの
概略を説明する図である。 第2図は本発明に於けるキーマトリックス入力システム
を実行する場合の波形図の例を示す図である。 第3図は本発明に係るキーマトリックス入力システムの
処理の手順を示すフローチャートである。 第4図は従来のキーマトリックス入力システムの操作を
説明する図である。 1……キーボード、 2……制御手段、 3……タイミング信号ライン、 4……スイッチ入力ライン。
FIG. 1 is a diagram for explaining the outline of a key matrix input system according to the present invention. FIG. 2 is a diagram showing an example of a waveform diagram when the key matrix input system according to the present invention is executed. FIG. 3 is a flow chart showing the processing procedure of the key matrix input system according to the present invention. FIG. 4 is a diagram for explaining the operation of the conventional key matrix input system. 1 ... keyboard, 2 ... control means, 3 ... timing signal line, 4 ... switch input line.

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】キーボードとキーボードに於ける押圧され
たキーを判別する為の制御手段とから構成されたキーマ
トリックス入力システムに於いて、該マトリックスの一
方のライン群を構成する複数のタイミング信号ラインに
対する出力を全てアクティブとする第1の工程、該マト
リックスの他方のライン群を構成する複数のスイッチ入
力ラインの状態を検出する第2の工程、該複数のスイッ
チ入力ラインの少なくとも何れか1つの状態がアクティ
ブである場合に該複数のタイミング信号ラインのそれぞ
れを順次に個別のタイミング信号を出力する第3の工
程、該個別のタイミング信号を出力に同期して該複数の
スイッチ入力ラインを検出する第4の工程とを実行し、
前記第2の工程に於いて該複数のスイッチ入力ラインの
何れもがノンアクティブである場合には前記した第3と
第4の工程を実行せずに第1の工程に戻る第5の工程を
実行し、第4の工程終了後に、第1の工程に戻り、第2
の工程に於いて該複数のスイッチ入力ラインがアクティ
ブ状態を継続している場合には、前記第3と第4の工程
を実行せずに第1の工程に戻る第6の工程を実行するこ
とから構成されたキーマトリックス入力システム。
1. A key matrix input system comprising a keyboard and a control means for discriminating a pressed key on the keyboard, and a plurality of timing signal lines constituting one line group of the matrix. , A second step of detecting the states of a plurality of switch input lines forming the other line group of the matrix, and a state of at least one of the plurality of switch input lines. Third step of sequentially outputting individual timing signals to each of the plurality of timing signal lines when is active, and detecting the plurality of switch input lines in synchronization with the output of the individual timing signals. Perform steps 4 and
A fifth step of returning to the first step without executing the third and fourth steps when none of the plurality of switch input lines is non-active in the second step After the completion of the fourth process, the process returns to the first process and the second process
When the plurality of switch input lines continue to be active in the step of, the sixth step of returning to the first step without performing the third and fourth steps is executed. Key matrix input system consisting of.
JP2333678A 1990-11-30 1990-11-30 Key matrix input system Expired - Fee Related JP2682900B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2333678A JP2682900B2 (en) 1990-11-30 1990-11-30 Key matrix input system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2333678A JP2682900B2 (en) 1990-11-30 1990-11-30 Key matrix input system

Publications (2)

Publication Number Publication Date
JPH04205217A JPH04205217A (en) 1992-07-27
JP2682900B2 true JP2682900B2 (en) 1997-11-26

Family

ID=18268748

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2333678A Expired - Fee Related JP2682900B2 (en) 1990-11-30 1990-11-30 Key matrix input system

Country Status (1)

Country Link
JP (1) JP2682900B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH06119095A (en) * 1992-10-05 1994-04-28 Nitsuko Corp Key scanner

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS57174731A (en) * 1981-04-20 1982-10-27 Matsushita Electric Ind Co Ltd Controller of audio device and the like
JPS58215814A (en) * 1982-06-10 1983-12-15 Nec Corp Key input detecting circuit

Also Published As

Publication number Publication date
JPH04205217A (en) 1992-07-27

Similar Documents

Publication Publication Date Title
US6314350B1 (en) Methods and apparatus for generating maintenance messages
JP2682900B2 (en) Key matrix input system
JPS5819621Y2 (en) key identification circuit
JPH0297115A (en) Timer test system
JP2701399B2 (en) Anti-chattering device
JP2500755B2 (en) Redundant system switching method
JP2541301B2 (en) Failure detection method
JP2943161B2 (en) Failure simulation method
JPH0746802B2 (en) Frame synchronization circuit
JPS58159132A (en) Key input discriminating method
JP2562207B2 (en) Two-way communication device
JPH05300117A (en) Frame conversion error detecting circuit
JPH02304376A (en) Self-diagnostic circuit
JPS6068389A (en) Scan system for key and switch of electronic musical instrument
JPS58114384A (en) Controlling system of storage device
JPH06205080A (en) Pass pattern monitoring circuit
JPH0662480A (en) Time division type switch monitor circuit
JPS63228006A (en) Optical coordinate detector
JPH02151144A (en) Frame synchronizing circuit
JPS63220333A (en) Information processor
JPH02138652A (en) Address setting system
JPH01128635A (en) Testing system
JPH07321758A (en) Selector supervisory circuit
JPH08153013A (en) Error detection circuit
JPH04356834A (en) Synchronizing circuit using crc check

Legal Events

Date Code Title Description
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090808

Year of fee payment: 12

LAPS Cancellation because of no payment of annual fees