JP3017192B1 - N-key rollover keyboard system - Google Patents

N-key rollover keyboard system

Info

Publication number
JP3017192B1
JP3017192B1 JP10338239A JP33823998A JP3017192B1 JP 3017192 B1 JP3017192 B1 JP 3017192B1 JP 10338239 A JP10338239 A JP 10338239A JP 33823998 A JP33823998 A JP 33823998A JP 3017192 B1 JP3017192 B1 JP 3017192B1
Authority
JP
Japan
Prior art keywords
key
matrix
special
ghost
line
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
JP10338239A
Other languages
Japanese (ja)
Other versions
JP2000163198A (en
Inventor
孝之 小栗
Original Assignee
静岡日本電気株式会社
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 静岡日本電気株式会社 filed Critical 静岡日本電気株式会社
Priority to JP10338239A priority Critical patent/JP3017192B1/en
Application granted granted Critical
Publication of JP3017192B1 publication Critical patent/JP3017192B1/en
Publication of JP2000163198A publication Critical patent/JP2000163198A/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Input From Keyboards Or The Like (AREA)

Abstract

【要約】 【課題】 押下スイッチやその情報を記憶するためのメ
モリを不要化したNキーロールオーバー・キーボードシ
ステムを提供する。 【解決手段】 キーボード102に含まれるキーマトリ
ックス103は、特殊キーマトリックス104と一般キ
ーマトリックス105とから構成される。特殊キーマト
リックス104は、特殊なキー専用のマトリックスであ
り、一般キーマトリックス105は、普通のキー専用の
マトリックスである。一般キーマトリックス105はゴ
ーストキーの検出を行ない、特殊キーマトリックス10
4には、オペレーターに対して、ゴーストキーが発生し
たとき、通知してもしなくても、システム上問題無く操
作できるキーのみで構成され、ゴーストキーが生しても
操作上キー入力で困らないようにする。
The present invention provides an N-key rollover keyboard system that eliminates the need for a press switch and a memory for storing its information. A key matrix included in a keyboard includes a special key matrix and a general key matrix. The special key matrix 104 is a matrix dedicated to special keys, and the general key matrix 105 is a matrix dedicated to ordinary keys. The general key matrix 105 detects a ghost key and generates a special key matrix 10.
No. 4 is composed of only keys that can be operated without any problem on the system when a ghost key is generated to the operator with or without notifying the operator. To do.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、多重打鍵によるゴ
ーストキー発生を防止し、スイッチオンの順にスイッチ
のオンが確定する機能、すなわち、Nキーロールオーバ
ーを有するNキーロールオーバー・キーボードシステム
に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a function of preventing the occurrence of ghost keys due to multiple keystrokes and of determining that switches are turned on in the order of switch-on, that is, an N-key rollover keyboard system having an N-key rollover.

【0002】[0002]

【従来の技術】最初に、キーマトリックスと、ゴースト
キーの発生について図2及び図3を参照して説明する。
図5は、一般のキーマトリックスの概念図である。キー
マトリックスは回路図上、X方向のラインとY方向のラ
インから成るマトリックスである。それぞれのラインを
X1,X2・・・,Xn,Y1,T2・・・Ymと表現し、X
ラインとYラインの交点にキースイッチがある。各スイ
ッチをそれぞれ、S11,S12,S13・・・Snmと表すこ
とができる。各スイッチは押下されることによって、電
流が流れる仕組みで、Xラインに電流を流すとYライン
で各スイッチのオン状態、オフ状態を検出できる。すな
わち、電流の流れるYラインはスイッチが押され、電流
の流れないYラインはスイッチが放されている。つま
り、キーマトリックスをキースキャンしてキーの押下を
検出するために、XラインをX1,X2・・・Xnと順番
に電流を流してYラインで検出する仕組みである。
2. Description of the Related Art First, a key matrix and generation of a ghost key will be described with reference to FIGS.
FIG. 5 is a conceptual diagram of a general key matrix. The key matrix is a matrix composed of lines in the X direction and lines in the Y direction on the circuit diagram. Each line is expressed as X1, X2..., Xn, Y1, T2.
There is a key switch at the intersection of the line and the Y line. Each switch can be represented as S11, S12, S13... Snm. When each switch is pressed, a current flows. When a current flows through the X line, the ON state and the OFF state of each switch can be detected by the Y line. That is, the switch is pressed for the Y line where current flows, and the switch is released for the Y line where no current flows. That is, in order to detect key depression by scanning the key matrix, a current is applied to the X line in the order of X1, X2,.

【0003】図6はスイッチ周りの回路図である。この
回路図は、図5を補足する図面である。XiラインとYi
ラインSijのスイッチを押さないと接触しない仕組みで
ある。同様にSiy,Sxj,Sxyも押されないとXライン
とYラインが接触しないようになっている。例えば、S
xjのスイッチを押すと、Xxから流れる電流はYjへ流
れ、決してYyには流れない仕組みとなっている。
FIG. 6 is a circuit diagram around a switch. This circuit diagram supplements FIG. Xi line and Yi
This is a mechanism in which contact is not made unless the switch of the line Sij is pressed. Similarly, if Siy, Sxj, and Sxy are not pressed, the X line and the Y line do not come into contact with each other. For example, S
When the switch of xj is pressed, the current flowing from Xx flows to Yj and never flows to Yy.

【0004】ところで、ゴーストキーの発生とは、この
電流の流れが、回り込むことによって、押下されていな
いスイッチが押されたように検出される現象である。図
5もしくは図6において、例えばSij,Siy,Sxjが同
時に押されると、電流の流れは、Xiに電流を流した場
合、Xi→Sij→Yj,Xi→Siy→Yyとなり、また、X
xに電流を流した場合、Xx→Sxj→Yj,Xx→Sxj→S
ij→Siy→Yyとなる。つまり、Xiに電流を流して、押
されたスイッチを検出するとYjとYyから電流 が検出
され、Xxに電流を流すとSxjの押下のみを検出してYj
のみを検出する筈が、YjとYyから電流が検出される。
このように、スイッチの押下によって回り込んだ電流を
検出することによって、誤った位置のスイッチSnyが押
されたように検出してしまう。この誤った位置のキーを
ゴーストキーと呼ぶ。
By the way, the occurrence of a ghost key is a phenomenon in which the flow of this current is detected as if a switch that has not been depressed has been depressed. 5 or 6, when, for example, Sij, Siy, and Sxj are simultaneously pressed, the current flows as Xi → Sij → Yj, Xi → Siy → Yy when a current flows through Xi, and X
When a current is passed through x, Xx → Sxj → Yj, Xx → Sxj → S
ij → Siy → Yy. That is, when a current is supplied to Xi and a pressed switch is detected, a current is detected from Yj and Yy, and when a current is supplied to Xx, only pressing of Sxj is detected and Yj is detected.
Only current should be detected, but current is detected from Yj and Yy.
As described above, by detecting the current sneak in by the depression of the switch, it is detected that the switch Sny in the wrong position is pressed. The key at the wrong position is called a ghost key.

【0005】次に、従来のNキーロールオーバー・キー
ボードシステムについて、二つの特許公報を引用して説
明する。その一は特許公報第2720825号に記載さ
れている技術であり、ゴーストキーを発生するキー押下
の組み合せ情報を少なくとも1種類RAMに記憶してお
き、キーマトリックスをスキャンして得られたデータと
比較して、その結果により押下キーの有効/無効を判断
するようにしたものである。また、その二は、特許公報
第2730518号に記載されている技術であり、第1
のタイミングでXライン,Yラインを駆動して各キース
イッチのオン、オフ状態を記憶し、第2のタイミングで
Xライン,Yラインを駆動して各キースイッチのオン、
オフ状態を記憶し、これらの記憶状態によって、オン確
定キースイッチ,オフ確定キースイッチの検出を行な
い、各キースイッチの最新オン・オフ状態に基づいて、
オン確定キースイッチのオン状態がゴーストキー発生の
原因となったか否かを判別し、肯の場合はエラーコー
ド、否の場合はメイクコードを出力するようにしたもの
である。
Next, a conventional N-key rollover keyboard system will be described with reference to two patent publications. One of them is a technique described in Japanese Patent Publication No. 2720825, in which at least one type of key press combination information that generates a ghost key is stored in a RAM, and the information is compared with data obtained by scanning a key matrix. Then, the validity / invalidity of the pressed key is determined based on the result. The second is a technique described in Japanese Patent Publication No. 2730518,
The X line and the Y line are driven at the timing to store the ON / OFF state of each key switch, and the X line and the Y line are driven at the second timing to turn the key switch ON and OFF.
An OFF state is stored, and an ON-confirmation key switch and an OFF-confirmation key switch are detected based on these stored states, and based on the latest ON / OFF state of each key switch,
It is determined whether or not the ON state of the ON determination key switch has caused the occurrence of a ghost key. If the result is YES, an error code is output. If the result is NO, a make code is output.

【0006】[0006]

【発明が解決しようとする課題】しかしながら、上述し
た従来のNキーロールオーバー・キーボードシステムで
は、RAMないし記憶手段を必要とするが、ゴーストキ
ーの発生パターンは数多くあるため、大容量のメモリを
必要とするという問題点がある。したがって、本発明の
目的は、特殊キーを二重化するとともに、その配列を工
夫することによって、メモリを不要化したNキーロール
オーバー・キーボードシステムを提供することにある。
However, in the above-mentioned conventional N-key rollover keyboard system, a RAM or a storage means is required. However, since a large number of ghost key generation patterns are required, a large-capacity memory is required. There is a problem that. SUMMARY OF THE INVENTION It is therefore an object of the present invention to provide an N-key rollover keyboard system that does not require a memory by duplicating special keys and devising the arrangement thereof.

【0007】[0007]

【課題を解決するための手段】そのために、本発明の第
1のNキーロールオーバー・キーボードシステムは、キ
ーマトリックスを、ゴーストキー処理を行なう一般のキ
ーマトリックスと、ゴーストキーが発生してもシステム
上問題なく操作できる特殊キーマトリックスとで構成し
たことを特徴とする。また、本発明の第2のNキーロー
ルオーバー・キーボードシステムは、ゴーストキー処理
を行なう一般のキーマトリックスと、ゴーストキーが発
生してもシステム上問題なく操作できる特殊キーマトリ
ックスとで構成したキーマトリックスと、該キーマトリ
ックスをスキャンして押下されたキー対応のキーデータ
を取り出すキースキャン部と、該キーデータを解析して
キーコードに変換するデコード部と、該キーコードを情
報処理装置本体に通知し、また情報処理装置本体から指
示を受け取る通信処理部とで構成したマイクロコンピュ
ータとを有することを特徴とする。さらに、本発明のN
キーロールオーバー・キーボードシステムの好ましい実
施の形態は、前記特殊キーマトリックスを構成する各特
殊キーは、マトリックス上、隣り合うXラインの同じY
ライン上のスイッチ、または隣り合うYラインの同じX
ライン上のスイッチに対応付けられた二つから成ること
を特徴とする。さらに、本発明のNキーロールオーバー
・キーボードシステムの好ましい実施の形態は、前記特
殊キーマトリックスと一般のキーマトリックスそれぞれ
は連続してキースキャンされるように構成したことを特
徴とする。さらに、本発明のNキーロールオーバー・キ
ーボードシステムの好ましい実施の形態は、前記特殊キ
ーマトリックスを構成する各特殊キーは、SHlFTキー,A
LTキーおよびCTRLキーを含むことを特徴とする。さら
に、本発明のNキーロールオーバー・キーボードシステ
ムの好ましい実施の形態は、前記特殊キーのスキャン結
果は、論理和演算されて前記キーデータとされることを
特徴とする。
For this purpose, a first N-key rollover keyboard system of the present invention is composed of a key matrix, a general key matrix for performing ghost key processing, and a system for generating a ghost key. And a special key matrix that can be operated without any problem. Further, the second N-key rollover keyboard system of the present invention comprises a key matrix composed of a general key matrix for performing ghost key processing and a special key matrix that can be operated without any system problem even if a ghost key occurs. A key scanning unit that scans the key matrix and retrieves key data corresponding to the pressed key; a decoding unit that analyzes the key data and converts the key data into a key code; and notifies the information processing apparatus body of the key code. And a communication processing unit that receives instructions from the information processing apparatus main body. In addition, the N
In a preferred embodiment of the key rollover keyboard system, each special key constituting the special key matrix has the same Y of adjacent X lines on the matrix.
Switch on line or same X on adjacent Y line
It is characterized by comprising two associated with the switches on the line. Further, a preferred embodiment of the N-key rollover keyboard system of the present invention is characterized in that each of the special key matrix and the general key matrix is continuously scanned. Further, in a preferred embodiment of the N-key rollover keyboard system according to the present invention, each special key constituting the special key matrix is composed of a SHlFT key and an A key.
It is characterized by including LT key and CTRL key. Further, in a preferred embodiment of the N-key rollover keyboard system according to the present invention, a scan result of the special key is subjected to a logical sum operation to be the key data.

【0008】[0008]

【発明の実施の形態】次に、本発明の実施の形態につい
て説明する。図1は、本発明のNキーロールオーバー・
キーボードシステムのブロック図であり、このNキーロ
ールオーバー・キーボードシステムは、情報処理装置本
体101と、キーボード102とを含み、キーボード1
02は、キーマトリックス103と、マイコン106と
を備えている。
Next, an embodiment of the present invention will be described. FIG. 1 shows an N-key rollover of the present invention.
FIG. 1 is a block diagram of a keyboard system. This N-key rollover keyboard system includes an information processing apparatus main body 101 and a keyboard 102, and includes a keyboard 1.
02 includes a key matrix 103 and a microcomputer 106.

【0009】これらの手段はそれぞれ概略つぎのように
動作する。キーマトリックス103は、特殊キーマトリ
ックス104と一般キーマトリックス105を備えてい
る。特殊キーマトリックス104は、オペレーターに対
して、ゴーストキーが発生したときに、それを通知して
も、あるいは、しなくても、システム上問題なく操作で
きるキー、例えば「SHlFT」キー,「ALT」キー,「CTR
L」キー等、キーボードの左右あるいは上下等に同じ機
能を果たすキーが二つ設けられている。すなわち、これ
らのキーは、マトリックスのレイアウトにおいて、左右
に同じ機能のキーは、異なるXラインの中での同じYラ
インの位置、あるいは、異なるYラインの中での同じX
ラインの位置に配置されている。例えば、X0ラインの
Y0と、X1ラインのY0は同じ機能を持ったALTキーとす
る(図5のキーマトリックス参 照)。
Each of these means operates as follows. The key matrix 103 includes a special key matrix 104 and a general key matrix 105. The special key matrix 104 is a key that can be operated without any problem on the system with or without notifying the operator when a ghost key is generated, for example, a “SHlFT” key, an “ALT” key. Key, "CTR
There are two keys, such as the "L" key, which perform the same function on the left and right or up and down of the keyboard. That is, in the matrix layout, these keys have the same function on the left and right as the same Y line position in different X lines or the same X line position in different Y lines.
It is arranged at the position of the line. For example, Y0 on the X0 line and Y0 on the X1 line are ALT keys having the same function (see the key matrix in FIG. 5).

【0010】一方、一般キーマトリックスは、文字の
「A」,「B」,「BackSkip」等の1つのキーボードで
機能的に1つだけ存在するキー等、通常のゴーストが検
出されると操作上問題の発生するキーマトリックスであ
る。
On the other hand, when a general ghost is detected, such as a general key matrix, such as a key such as "A", "B", "BackSkip", etc., which is only one functionally present on one keyboard, the general key matrix is used. This is the key matrix where the problem occurs.

【0011】マイコン106には、通信処理部107と
デコード部108とキースキャン部109とを備えてい
る。キースキャン部109は、キーマトリックス103
をスキャンして、押下されたキーデータを取りだしデコ
ード部108にわたす。デコード部108は、キースキ
ャン部109から入力されたキーデータを解析して、情
報処理装置本体101に出力するキーコードに変換し
て、通信処理部107に出力する。このときに、ゴース
トキーの検出及び処理を行う。通信処理部107は、デ
コード部108から通知されたキーコードを情報処理装
置本体101に通知したり、反対に情報処理装置本体1
01からその指示を受け取る。
The microcomputer 106 includes a communication processing unit 107, a decoding unit 108, and a key scanning unit 109. The key scan unit 109 includes the key matrix 103
Is scanned, and the depressed key data is extracted and passed to the decoding unit 108. The decoding unit 108 analyzes key data input from the key scanning unit 109, converts the key data into a key code to be output to the information processing apparatus main body 101, and outputs the key code to the communication processing unit 107. At this time, ghost key detection and processing are performed. The communication processing section 107 notifies the information processing apparatus main body 101 of the key code notified from the decoding section 108, and conversely, the information processing apparatus main body 1
01 receives the instruction.

【0012】次に、図3のフローチャートを参照して本
発明のNキーロールオーバー・キーボードシステムの動
作について説明する。
Next, the operation of the N-key rollover keyboard system of the present invention will be described with reference to the flowchart of FIG.

【0013】まず、キースキャン部109でキースキャ
ンする(電流を流す)Xラインの指定値を初期化し(ス
テップ401)、その後に、Xラインを指定して、キー
スキャンをする(402)。図5のキーマトリックスの
Yラインは4本なので、キースキャンは、一度にY0,
T1,Y2,Y3の4本を読み出す。本フローチャート
の、このステップ402でキースキャンされるキーマト
リックスは特殊キーマトリックス104である。
First, the key scan unit 109 initializes a designated value of an X line for which a key scan (current is passed) (step 401), and then designates an X line to perform a key scan (402). Since there are four Y lines in the key matrix of FIG.
Four lines T1, Y2 and Y3 are read. In this flowchart, the key matrix that is key-scanned in step 402 is the special key matrix 104.

【0014】Yラインよりスキャン結果を取りだし(ス
テップ403)、もし、押下されているキーがあれば、
キー情報をデコード部108に通知し、デコード部10
8がキー情報をキーコードに変換して、キーコードを出
力する(ステップ404)。キースキャン部109は、
キー情報を通知した後、Xラインの指定値を更新する
(ステップ405)。
A scan result is obtained from the Y line (step 403). If any key is pressed,
The key information is notified to the decoding unit 108, and the decoding unit 10
8 converts the key information into a key code and outputs the key code (step 404). The key scan unit 109
After notifying the key information, the designated value of the X line is updated (step 405).

【0015】もし、Xラインの更新した指定値が、特殊
キーマトリックス104の範囲であれば、ステップ40
2に戻り、指定値が一般キーマトリックス105の範囲
になれば、次に進む(ステップ406)。つまり、図5
のキーマトリックスでは、指定値が0,1の時には特殊
キーマトリックス104の範囲、指定値が2,3の時に
は一般キーマトリックス105の範囲であるので、指定
値が1であればステップ402に戻り、2であればステ
ップ407に進むことになる。
If the updated designated value of the X line is within the range of the special key matrix 104, step 40
Returning to step 2, if the specified value falls within the range of the general key matrix 105, the process proceeds to the next step (step 406). That is, FIG.
When the specified value is 0 or 1, the range is the special key matrix 104, and when the specified value is 2 or 3, the range is the general key matrix 105. If the specified value is 1, the process returns to step 402. If it is 2, the process proceeds to step 407.

【0016】ステップ407では、キースキャン部10
9がXラインを指定してキースキャンをする。ここから
は、一般キーマトリックス105をキースキャンする。
Yラインよりスキャン結果を取りだし(ステップ40
8)、もし、押されているキーがあれば、キー情報をデ
コード部108に通知する。デコード部108は、ゴー
ストキーの検出をする。もし、ゴーストキーが発生して
いるならば、ゴーストキ一の処理を行う(ステップ40
9,410)。また、もし、ゴーストキーが発生してい
ず(キースキャン部109により、キー押下を検出して
いるならば)、キーコードを出力する(ステップ41
1)。キースキャン部109はキー情報をデコード部1
08に通知した後、Xラインの指定値を更新する(ステ
ップ412)。その結果、もし、Xラインの更新した指
定値が、n(Xラインの最大値)以下だったらステップ
407に戻るが、Xラインの更新した指定値がnを超え
たら、ステップ401に戻る。つまり、図2のキーマト
リックスではn=3であるので、指定値が3ならばステ
ップ407に戻り、指定値が4ならば401に戻ること
になる。
In step 407, the key scan unit 10
9 performs a key scan by designating an X line. From here, the general key matrix 105 is key-scanned.
The scan result is extracted from the Y line (step 40)
8) If there is a pressed key, the key information is notified to the decoding unit 108. The decoding unit 108 detects a ghost key. If a ghost key has occurred, a ghost key process is performed (step 40).
9, 410). If no ghost key has been generated (if the key scanning unit 109 has detected a key press), a key code is output (step 41).
1). The key scanning unit 109 decodes the key information into the decoding unit 1
08, the designated value of the X line is updated (step 412). As a result, if the updated designated value of the X line is less than or equal to n (maximum value of the X line), the process returns to step 407. If the updated designated value of the X line exceeds n, the process returns to step 401. That is, since n = 3 in the key matrix of FIG. 2, if the specified value is 3, the process returns to step 407, and if the specified value is 4, the process returns to 401.

【0017】図2は、本発明の一実施例のキーマトリッ
クスである。同じ機能を果たすキーであるALT(R)
とALT(L),SHlFT(R)とSHlFT
(L),CTRL(R)とCTRL(L)およびENT
ER(タイプ部)とENTER(テンキー部)を、X
0,X1ラインに同じパターンで配列している。この部分
は特殊キーマトリックス104である。また、1〜8の
通常のキーは一般キーマトリックス105である。
FIG. 2 shows a key matrix according to an embodiment of the present invention. ALT (R) is the key to perform the same function
And ALT (L), SHlFT (R) and SHlFT
(L), CTRL (R) and CTRL (L) and ENT
ER (type part) and ENTER (numeric keypad)
The same pattern is arranged on the 0 and X1 lines. This part is the special key matrix 104. The normal keys 1 to 8 are the general key matrix 105.

【0018】まず、特殊キーマトリックス内でのキーの
押下時の説明をする。ALT(R)を押下すると、AL
T(R)のキーコードが出力される。次に、SHlFT
(R)を押下すると、SHlFT(R)のキーコードが
出力される。次に、ALT(L)を押下すると、ALT
(L)とSHlFT(L)のキーコードが出力される。
SHlFT(L)のキーコードはゴーストキーである。
しかし、ALTキー,SHlFTキーのキーコードが二
重に発生しても、システム上、同じ動作をするキーコー
ドであるため、誤動作することはない。
First, a description will be given of a case where a key is pressed in the special key matrix. When ALT (R) is pressed, AL
The key code of T (R) is output. Next, SHlFT
When (R) is pressed, the key code of SHlFT (R) is output. Next, when ALT (L) is pressed, ALT (L) is pressed.
(L) and the key code of SHlFT (L) are output.
The key code of SHlFT (L) is a ghost key.
However, even if the key codes of the ALT key and the SHlFT key are generated twice, no malfunction occurs because the key codes perform the same operation in the system.

【0019】また、別のケースを説明すると、ALT
(L)を押下すると、ALT(L)のキーコードが出力
される。次に、SHlFT(L)を押下すると、SHl
FT(L)のキーコードが出力される。次に、ALT
(R)を押下すると、ALT(R)とSHlFT(R)
のキーコードが出力される。SHlFT(R)のキーコ
ードはゴーストキーである。しかし、ALTキー,SH
lFTキーのキーコードが二重に発生しても、システム
上、同じ動作をするキーコードであるため、誤動作する
ことはない。
Another case will be described.
When (L) is pressed, the ALT (L) key code is output. Next, when SH1FT (L) is pressed, SH1FT (L) is pressed.
The key code of FT (L) is output. Next, ALT
When (R) is pressed, ALT (R) and SHlFT (R)
Is output. The key code of SHlFT (R) is a ghost key. However, ALT key, SH
Even if the key code of the lFT key is duplicated, the key code performs the same operation on the system and does not malfunction.

【0020】次に、一般キーマトリックス内でのキー押
下時の説明をする。「1」キーを押下すると、「1」の
キーコードが出力される。次に「2」キーを押下する
と、「2」のキーコードが検出される。次に「5」キー
を押下するとゴーストが発生するのでキーコードは出力
しない。このゴースト発生時には、ゴーストキーの検出
を示すキーコード(例えばエラーコードやビーフ等)を
出力するケースもある。つまり、一般キーマトリックス
におけるキー押下時の動きは、従来のキーボードと同じ
動作をする。
Next, a description will be given of when a key is pressed in the general key matrix. When the "1" key is pressed, a key code of "1" is output. Next, when the "2" key is pressed, a key code of "2" is detected. Next, when the "5" key is pressed, a ghost is generated, so that no key code is output. When a ghost occurs, a key code (for example, an error code or a beef) indicating the detection of a ghost key may be output. In other words, the movement of the general key matrix when a key is pressed performs the same operation as the conventional keyboard.

【0021】最後に、特殊キーマトリックスと一般キー
マトリックスにまたがって、キー押下した時の説明をす
る。ALT(R)を押下すると、ALT(R)のキーコ
ードが出力される。次に、SHlFT(R)を押下する
と、SHlFT(R)のキーコードが出力される。次
に、「1」キーを押下すると「1」のキーコードが出力
される。この後、「2」ー,「5」キーと押下すると、
一般キーマトリックス内におけるキー押下と同様にゴー
ストキーが発生することになる。
Finally, a description will be given of a case where a key is pressed across a special key matrix and a general key matrix. Pressing ALT (R) outputs the ALT (R) key code. Next, when the SHlFT (R) is pressed, the key code of the SHlFT (R) is output. Next, when the "1" key is pressed, a key code of "1" is output. After this, press "2"-, "5" key,
A ghost key will occur in the same manner as a key press in the general key matrix.

【0022】次に、本発明の他の実施例について、説明
する。この実施例においても、図2のキーボードを使用
する。まず、キースキャン部109でキースキャンする
(電流を流す)Xラインの指定値を初期化し(ステップ
601)、その後にキースキャン結果をORするための
ワークエリアをクリアする(ステップ602)。そし
て、Xラインを指定して、キースキャンをする(60
3)。図5のキーマトリックスのYラインは、4本なの
で、キースキャンは、一度にY0,Y1,Y2,Y3の4本
を読み出す。本フローチャートのこのステップ603で
キースキャンするキーマトリックスは特殊キーマトリッ
クス106である。
Next, another embodiment of the present invention will be described. This embodiment also uses the keyboard shown in FIG. First, the key scan unit 109 initializes a designated value of an X line for key scan (to supply a current) (step 601), and thereafter clears a work area for ORing the key scan result (step 602). Then, a key scan is performed by designating the X line (60).
3). Since the number of Y lines in the key matrix in FIG. 5 is four, four key scans Y0, Y1, Y2, and Y3 are read at a time. The key matrix for key scanning in this step 603 of the flowchart is the special key matrix 106.

【0023】Yラインよりスキャン結果を取り出し(ス
テップ604)、特殊キーのキーコードはどちらか片方
のキーコードが出力されれば機能は満足できるため、ど
ちらか一方が押下されているはどうかを検出できればよ
いので、キースキャン結果をワークエリアとORしてワ
ークエリヘ格納する(ステップ605)。また、Xライ
ンの指定値を更新する(ステップ606)。
The scan result is taken out from the Y line (step 604), and if either one of the key codes of the special key is output, the function can be satisfied, and it is detected whether one of the key codes is pressed. If possible, the key scan result is ORed with the work area and stored in the work area (step 605). Further, the designated value of the X line is updated (step 606).

【0024】もし、Xラインの更新した指定値が、特殊
キーマトリックス104の範囲であれば、ステップ60
3に戻り、指定値が一般キーマトリックス105の範囲
になれば次に進む(ステップ607)。つまり、図2の
キーマトリックスでは、指定値が0,1の時には特殊キ
ーマトリックス104の範囲,指定値が2,3の時には
一般キーマトリックス105の範囲であるので、指定値
が1であればステップ603に戻り、2であればステッ
プ608に進むことになる。そして、もし、ワークエリ
アを調べて押下されているキーがあれば、キー情報をデ
コード部108に通知し、デコード部108がキー情報
をキーコードに変換して、キーコードに出力する(ステ
ップ608)。
If the updated designated value of the X line is within the range of the special key matrix 104, step 60
When the designated value falls within the range of the general key matrix 105, the process proceeds to the next step (step 607). That is, in the key matrix of FIG. 2, when the designated value is 0 or 1, the range is the special key matrix 104, and when the designated value is 2, 3, the range is the general key matrix 105. Returning to step 603, if it is 2, the procedure proceeds to step 608. If the work area is checked and there is a pressed key, the key information is notified to the decoding unit 108, and the decoding unit 108 converts the key information into a key code and outputs the key code (step 608). ).

【0025】次に、キースキャン部109がXラインを
指定してキースキャンをする。ここからは、一般キーマ
トリックス105をキースキャンする(ステップ60
9)。Yラインよりスキャン結果を取り出し(ステップ
610)、もし、押されているキーがあれば、キー情報
をデコード部108に通知する。デコード部108は、
ゴーストキーの検出をする。もし、ゴーストキーが発生
しているならば、ゴーストキーの処理行なう(ステップ
611,612)。もし、ゴーストキーが発生してい
ず、(キースキャン部109より、キー押下を検出して
いるならば)、キーコードを出力する(ステップ61
3)。キースキャン部109はキー情報をデコード部1
08に通知した後、Xラインの指定値を更新する(ステ
ップ614)。もし、Xラインの更新した指定値が、n
(Xラインの最大値)以下だったらステップ609に戻
るが、Xラインの更新した指定値がnを超えたら、ステ
ップ601に戻る。つまり、図2のキーマトリックスで
はn=3であるので、指定値が3ならばステップ609
に戻り、指定値が4ならばステップ601に戻ることに
なる。
Next, the key scan unit 109 performs a key scan by designating an X line. From here, the general key matrix 105 is key-scanned (step 60).
9). The scan result is extracted from the Y line (step 610), and if there is a pressed key, the key information is notified to the decoding unit 108. The decoding unit 108
Ghost key detection. If a ghost key has occurred, the ghost key is processed (steps 611 and 612). If no ghost key has been generated (if the key scan is detected by the key scan unit 109), a key code is output (step 61).
3). The key scanning unit 109 decodes the key information into the decoding unit 1
08, the designated value of the X line is updated (step 614). If the updated specified value of the X line is n
If the value is equal to or less than (the maximum value of the X line), the process returns to step 609. If the updated designated value of the X line exceeds n, the process returns to step 601. That is, since n = 3 in the key matrix of FIG.
If the designated value is 4, the process returns to step 601.

【0026】次に、図2に沿って説明する。ALT
(R)を押下すると、ALT(R)のキーコードが出力
される。次に、SHlFT(R)を押下すると、SHl
FT(R)のキーコードが出力される。次に、ALT
(L)を押下すると、キーコードは出力されない。Sl
FT(L)のキーコードも出力されない。しかし、AL
Tキーのキーコードが発生しなくても、システム上同じ
動作をするキーコードが既に出力されているため、誤動
作することはない。
Next, description will be made with reference to FIG. ALT
When (R) is pressed, the ALT (R) key code is output. Next, when SH1FT (R) is pressed, SH1FT (R) is pressed.
The key code of FT (R) is output. Next, ALT
When (L) is pressed, no key code is output. Sl
The key code of FT (L) is not output. But AL
Even if the key code of the T key does not occur, no malfunction occurs because the key code that performs the same operation on the system has already been output.

【0027】また、別のケースでは、ALT(L)を押
下すると、ALT(L)のキーコードが出力される。次
に、SHlFT(L)を押下すると、SHlFT(L)
のキーコードが出力される。次に、ALT(R)を押下
すると、ゴーストが発生するのでキーコードは何も出力
されない(ALT(L)とSHlFT(L)のキーコー
ドも出力されない。)。しかし、ALTキーのキーコー
ドが発生しなくても、システム上同じ動作をするキーコ
ードが既に出力されているため、誤動作をすることはな
い。
In another case, pressing ALT (L) outputs a key code of ALT (L). Next, when SHlFT (L) is pressed, SHlFT (L)
Is output. Next, when ALT (R) is pressed, no key code is output because a ghost is generated (the ALT (L) and SHlFT (L) key codes are not output). However, even if the key code of the ALT key does not occur, a malfunction does not occur because the key code that performs the same operation on the system has already been output.

【0028】一般キーマトリックス内でのキー押下時、
および特殊キーマトリックスと一般キーマトリックスに
またがって、キー押下した時の動作は図4と同じである
ので説明を省略する。
When a key is pressed in the general key matrix,
The operation when a key is pressed across the special key matrix and the general key matrix is the same as that in FIG.

【0029】[0029]

【発明の効果】本発明の第1の効果は、ゴーストキーが
発生してもシステムに障害を生じさせないことができる
ことである。その理由は、システムの操作上動作が同じ
キーでゴーストキーの発生パターンを割り当てるためで
ある。
A first effect of the present invention is that even if a ghost key occurs, it is possible to prevent a system failure. The reason is that the operation of the system assigns a ghost key generation pattern with the same key.

【0030】また、第2の効果は、ゴーストキーの発生
パターンを消費できることにある。その理由は、ゴース
トキーの発生パターンは有限であり、敢えてゴーストキ
ーの発生をさせることで、ゴーストキーの発生パターン
を減らすことができるからである。
A second effect is that a ghost key generation pattern can be consumed. The reason is that the generation pattern of the ghost key is limited, and the generation pattern of the ghost key can be reduced by intentionally generating the ghost key.

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

【図1】 本発明のNキーロールオーバー・キーボード
システムのブロック図。
FIG. 1 is a block diagram of an N-key rollover keyboard system of the present invention.

【図2】 本発明のNキーロールオーバー・キーボード
の一実施例の要部を示す図。
FIG. 2 is a diagram showing a main part of one embodiment of an N-key rollover keyboard of the present invention.

【図3】 本発明のNキーロールオーバー・キーボード
システムにおけるキースキャン部およびデコード部の一
動作を示すフローチャート。
FIG. 3 is a flowchart showing one operation of a key scan unit and a decode unit in the N-key rollover keyboard system of the present invention.

【図4】 本発明のNキーロールオーバー・キーボード
システムにおけるキースキャン部およびデコード部の他
の動作を示すフローチャート。
FIG. 4 is a flowchart showing another operation of the key scan unit and the decode unit in the N-key rollover keyboard system of the present invention.

【図5】 一般のキーマトリックスの概念図。FIG. 5 is a conceptual diagram of a general key matrix.

【図6】 一般のキーマトリックスにおけるスイッチ周
りの回路図。
FIG. 6 is a circuit diagram around a switch in a general key matrix.

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

101 情報処理装置本体 102 キーボード 103 キーマトリックス 104 特殊キーマトリックス 105 一般キーマトリックス 106 マイコン 107 通信処理部 108 デコード部 109 キースキャン部 Reference Signs List 101 Information processing apparatus main body 102 Keyboard 103 Key matrix 104 Special key matrix 105 General key matrix 106 Microcomputer 107 Communication processing unit 108 Decoding unit 109 Key scanning unit

───────────────────────────────────────────────────── フロントページの続き (58)調査した分野(Int.Cl.7,DB名) G06F 3/02 350 G06F 3/023 ──────────────────────────────────────────────────続 き Continued on the front page (58) Field surveyed (Int.Cl. 7 , DB name) G06F 3/02 350 G06F 3/023

Claims (6)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 キーマトリックスを、ゴーストキー処理
を行なう一般のキーマトリックスと、ゴーストキーが発
生してもシステム上問題なく操作できる特殊キーマトリ
ックスとで構成したことを特徴とするNキーロールオー
バー・キーボードシステム。
An N-key roll-over key matrix comprising a general key matrix for performing ghost key processing and a special key matrix which can be operated without system problems even if a ghost key occurs. Keyboard system.
【請求項2】 ゴーストキー処理を行なう一般のキーマ
トリックスと、ゴーストキーが発生してもシステム上間
題なく操作できる特殊キーマトリックスとで構成したキ
ーマトリックスと、 該キーマトリックスをスキャンして押下されたキー対応
のキーデータを取り出すキースキャン部と、該キーデー
タを解析してキーコードに変換するデコード部と、該キ
ーコードを情報処理装置本体に通知し、また情報処理装
置本体から指示を受け取る通信処理部とで構成したマイ
クロコンピュータとを有することを特徴とするNキーロ
ールオーバー・キーボードシステム。
2. A key matrix composed of a general key matrix for performing ghost key processing, a special key matrix that can be operated without any trouble on the system even when a ghost key occurs, and the key matrix is scanned and depressed. A key scanning unit for extracting key data corresponding to the key, a decoding unit for analyzing the key data and converting the key data into a key code, notifying the key code to the information processing apparatus main body, and receiving an instruction from the information processing apparatus main body An N-key rollover keyboard system comprising: a microcomputer configured with a communication processing unit.
【請求項3】 前記特殊キーマトリックスを構成する各
特殊キーは、マトリックス上、隣り合うXラインの同じ
Yライン上のスイッチ、または隣り合うYラインの同じ
Xライン上のスイッチに対応付けられた二つから成るこ
とを特徴とする請求項1または請求項2のいずれかに記
載のNキーロールオーバー・キーボードシステム。
3. Each special key constituting the special key matrix is associated with a switch on the same Y line of adjacent X lines or a switch on the same X line of adjacent Y lines on the matrix. 3. The N-key rollover keyboard system according to claim 1, wherein the keyboard system comprises:
【請求項4】 前記特殊キーマトリックスと一般のキー
マトリックスそれぞれは、連続してキースキャンされる
ように構成したことを特徴とする請求項1ないし請求項
3のいずれかに記載のNキーロールオーバー・キーマト
リックス。
4. The N key rollover according to claim 1, wherein each of the special key matrix and the general key matrix is configured to be continuously scanned.・ Key matrix.
【請求項5】 前記特殊キーマトリックスを構成する各
特殊キーは、SHIFTキー,ALT キーおよびCTRL キーを含
むことを特徴とする請求項1ないし請求項4のいずれか
に記載のNキーロールオーバー・キーボードシステム。
5. The N-key rollover according to claim 1, wherein each special key constituting the special key matrix includes a SHIFT key, an ALT key, and a CTRL key. Keyboard system.
【請求項6】 前記特殊キーのスキャン結果は、論理和
演算されて前記キーデータとされることを特徴とする請
求項3ないし請求項5のいずれかに記載のロールオーバ
ー・キーボードシステム。
6. The rollover keyboard system according to claim 3, wherein a scan result of the special key is subjected to a logical sum operation to obtain the key data.
JP10338239A 1998-11-27 1998-11-27 N-key rollover keyboard system Expired - Fee Related JP3017192B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP10338239A JP3017192B1 (en) 1998-11-27 1998-11-27 N-key rollover keyboard system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP10338239A JP3017192B1 (en) 1998-11-27 1998-11-27 N-key rollover keyboard system

Publications (2)

Publication Number Publication Date
JP3017192B1 true JP3017192B1 (en) 2000-03-06
JP2000163198A JP2000163198A (en) 2000-06-16

Family

ID=18316243

Family Applications (1)

Application Number Title Priority Date Filing Date
JP10338239A Expired - Fee Related JP3017192B1 (en) 1998-11-27 1998-11-27 N-key rollover keyboard system

Country Status (1)

Country Link
JP (1) JP3017192B1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101340892B1 (en) 2013-01-21 2013-12-13 배정식 Usb keyboard apparatus and method capable of supporting n-key rollover over 62 keys
KR101374801B1 (en) 2013-01-21 2014-03-13 배정식 Usb keyboard apparatus and method capable of supporting n-key rollover with bios compatibility

Also Published As

Publication number Publication date
JP2000163198A (en) 2000-06-16

Similar Documents

Publication Publication Date Title
US4344069A (en) Method and apparatus for character generation
US4680572A (en) Chord entry keying of data fields
KR900000095B1 (en) Key output method of keyboard
US4591833A (en) Keyboard unit control system using block scanning techniques
US6278384B1 (en) Keyboard control method and keyboard control apparatus
JPH06214699A (en) Keyboard device
JP3017192B1 (en) N-key rollover keyboard system
US20030011572A1 (en) Key input device having braille input function
US4988997A (en) Method for character code generation
JPH03167619A (en) Keyboard with touch sensor
JP4141281B2 (en) Plant monitoring and operation device
GB2263990A (en) Method for detecting ghost keys
JPH09128366A (en) Electronic information access method
JP3488903B2 (en) Programmable controller and process fault monitoring method thereof
JP2839304B2 (en) Keyboard device
EP0292238B1 (en) Data input device having switch matrix scanning means
JPS62278624A (en) Keyboard input device
JPH0512369A (en) Test pattern generation system
JPS60247773A (en) Keyboard
JPH10333804A (en) Information inputting device
JPH0420212B2 (en)
JPH0470647B2 (en)
JPH0744300A (en) Multiple item input device
JPH07309054A (en) Printer
JPS63282515A (en) Input device

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: 19991130

LAPS Cancellation because of no payment of annual fees