JPH07202660A - Key matrix circuit - Google Patents

Key matrix circuit

Info

Publication number
JPH07202660A
JPH07202660A JP5337178A JP33717893A JPH07202660A JP H07202660 A JPH07202660 A JP H07202660A JP 5337178 A JP5337178 A JP 5337178A JP 33717893 A JP33717893 A JP 33717893A JP H07202660 A JPH07202660 A JP H07202660A
Authority
JP
Japan
Prior art keywords
input
key
output port
port
output
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.)
Granted
Application number
JP5337178A
Other languages
Japanese (ja)
Other versions
JP3014260B2 (en
Inventor
Yasuo Morishita
保雄 森下
Masahiko Takeda
雅彦 武田
Takahiro Sakaki
隆広 榊
Akira Numata
晃 沼田
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.)
SAIBANETETSUKU KK
Aiphone Co Ltd
Original Assignee
SAIBANETETSUKU KK
Aiphone Co 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 SAIBANETETSUKU KK, Aiphone Co Ltd filed Critical SAIBANETETSUKU KK
Priority to JP5337178A priority Critical patent/JP3014260B2/en
Publication of JPH07202660A publication Critical patent/JPH07202660A/en
Application granted granted Critical
Publication of JP3014260B2 publication Critical patent/JP3014260B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Input From Keyboards Or The Like (AREA)
  • Electronic Switches (AREA)

Abstract

PURPOSE:To obtain a key matrix circuit where a diode for current sneak path prevention is unnecessitated, responsiveness is excellent and a high speed scan is possible. CONSTITUTION:Plural key switches S11 to S44 for which a matrix array is arrayed are connected with the input/output ports 21 to 24 of a control circuit 2 via the wirings 31 to 34 of a line and are connected with input ports 25 to 28 via the wirings of a column 41 to 44. The input/output ports 21 to 24 are possible to be switched to the both of input/output by the programmable control of the control circuit 2 and the depressing of a key switch is detected by the input port in a state that the only one port is switched to an output side and others are switched to an input side. At this time, because the input/output port except a key switch is switched to the input side even if two or more key switches are simultaneously depressed, the influence of current sneak path is prevented.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明はテンキー装置、インター
ホン装置等の機器に用いられるキーマトリックス回路に
係り、特に部品の簡素化、動作応答性の向上を図ったこ
の種のキーマトリックス回路に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a key matrix circuit used in equipment such as a numeric keypad device, an intercom device and the like, and more particularly to a key matrix circuit of this type in which parts are simplified and operation response is improved.

【0002】[0002]

【従来の技術】キーマトリックス回路は、インターホン
装置、テンキー装置等の入力装置に用いられる回路で、
図2に示すようにマトリックス配列された複数のキース
イッチ10とこれらキーの操作を検出する制御回路(C
PU)20とを備えている。図では一例として4×4の
マトリックスを示している。
2. Description of the Related Art A key matrix circuit is a circuit used for an input device such as an intercom device and a numeric keypad device.
As shown in FIG. 2, a plurality of key switches 10 arranged in a matrix and a control circuit (C
PU) 20. In the figure, a 4 × 4 matrix is shown as an example.

【0003】従来、このようなキーマトリックス回路に
おいては、マトリックス配列されたキースイッチS11
44は行の配線31〜34と列の配線41〜44を介し
て、CPU20の出力ポートP21〜P24及び入力ポート
25〜P28にそれぞれ接続されている。更に出力ポート
21〜P24に接続される行の配線31〜34には、電流
がキースイッチ側へ流れるのを防止するために、ダイオ
ード51〜54が挿入されている。また入力ポートP25
〜P28に接続される列の配線41〜44にはプルアップ
抵抗61〜64(以下、抵抗という)が接続されてい
る。
Conventionally, in such a key matrix circuit, key switches S 11 to S 11 are arranged in a matrix.
Via wires 41 to 44 of the wiring 31 to 34 and column of S 44 rows, it is connected to the output ports P 21 to P 24 and the input port P 25 to P 28 of the CPU 20. Further, diodes 51 to 54 are inserted in the wirings 31 to 34 of the rows connected to the output ports P 21 to P 24 in order to prevent current from flowing to the key switch side. Also input port P 25
Pull-up resistors 61 to 64 (hereinafter referred to as resistors) are connected to the wirings 41 to 44 of the columns connected to P 28 .

【0004】このような構成において、例えばCPU2
0の出力ポートP21のみを「L」にした状態で、キース
イッチS11を押下すると電流は抵抗61→配線41→キ
ースイッチS11→配線31→ダイオード51→出力ポー
トP21へと流れ、入力ポートP25が「L」を検出し、キ
ースイッチS11が押下されたことを検出する。同様にキ
ースイッチS12、S13或いはS14を押下すると、入力ポ
ートP26、P27或いはP28が「L」を検出し、これらの
キースイッチのいずれかが押下されたことを検出する。
In such a configuration, for example, the CPU 2
When only the output port P 21 of 0 is set to “L”, when the key switch S 11 is pressed, the current flows to the resistor 61 → wiring 41 → key switch S 11 → wiring 31 → diode 51 → output port P 21 , input port P 25 detects the "L", detects that the key switch S 11 is depressed. Similarly, when the key switch S 12 , S 13 or S 14 is pressed, the input port P 26 , P 27 or P 28 detects "L", and it is detected that any one of these key switches is pressed.

【0005】同様にCPU20の出力ポートP22のみを
「L」にした状態では、キースイッチS21〜S24が押下
されたことを検出でき、出力ポートP23のみを「L」に
した状態では、キースイッチS31〜S34が押下されたこ
とを検出でき、出力ポートP 24のみを「L」にした状態
では、キースイッチS41〜S44が押下されたことを検出
できる。従って出力ポートP21〜P24を短時間のサイク
ルで、即ち時分割で順番に「L」にすることにより、す
べてのキースイッチの押下を検出することができる。
Similarly, the output port P of the CPU 20twenty twoOnly
In the "L" state, the key switch Stwenty one~ Stwenty fourIs pressed
Can be detected and output port Ptwenty threeOnly "L"
The key switch S31~ S34Was pressed
Can be detected and output port P twenty fourOnly "L" state
Then, key switch S41~ S44Detected that was pressed
it can. Therefore, output port Ptwenty one~ Ptwenty fourA short cycle
, That is, by sequentially setting to “L” in time division,
It is possible to detect the pressing of all the key switches.

【0006】ところで、このような従来のキーマトリッ
クス回路では、キースイッチが同時に2つ以上押された
場合に電流が出力ポートに流れないようにするために、
逆流防止用のダイオード51〜54が挿入されている。
例えば、ダイオードがない場合には、出力ポートP21
「L」(他の出力ポートは「H」)のときにキースイッ
チS11及びS21が同時に押されると、キースイッチS11
には上述したように電流が流れるが、更に出力ポートP
22からもキースイッチS21→S11を介して出力ポートP
21へと電流が流れ、結果として入力ポートP25の電圧は
中間となり、キーが正しく押し下げられているか検出で
きなくなる。
By the way, in such a conventional key matrix circuit, in order to prevent current from flowing to the output port when two or more key switches are simultaneously pressed,
Backflow preventing diodes 51 to 54 are inserted.
For example, when there is no diode, if the key switches S 11 and S 21 are simultaneously pressed when the output port P 21 is “L” (the other output ports are “H”), the key switch S 11
Current flows through the output port P as described above, but the output port P
Output port P from key 22 via key switch S 21 → S 11
A current flows to 21. As a result, the voltage at the input port P 25 becomes an intermediate value, and it becomes impossible to detect whether the key is properly pressed.

【0007】[0007]

【発明が解決すべき課題】このように従来のキーマトリ
ックス回路において逆流防止用のダイオードは不可欠で
あり、このため部品点数が増え、低コスト化、機器の小
型軽量化の妨げになっていた。さらに従来のキーマトリ
ックス回路ではダイオードが挿入されているために、出
力ポートを「L」から「H」或いは「H」から「L」に
切換える際に時間がかかるという問題があった。即ち、
例えば出力ポートP24が「L」のときにキースイッチS
41が押されると電流が抵抗61→キースイッチS41→ダ
イオード54→出力ポートP24と流れ、入力ポートP25
が「L」となりキースイッチS41の押下が検出される
が、これに次いで出力ポートP24を「H」、出力ポート
23を「L」に切換えると、このとき入力ポートP25
直ちに「H」とはならず、図3に示すような電圧変化を
して「H」となる。従ってこの入力ポートP25が「L」
から「H」に変る過渡期において、キースイッチS41
押下された状態であると、キースイッチS31が押下され
ていないにも拘らず、入力ポートP25は「L」を検出し
てしまい、これによりキースイッチS31が押下されてい
ると認識してしまう。このようなダイオードによる切換
え時間のずれによる誤動作を防ぐためには、時分割で出
力ポートの状態を切換えていく際に、切換え時の過渡期
の状態を待つ必要があり、キースキャンの速度が遅くな
り、キーを押してからの反応が遅くなるという問題があ
った。
As described above, the diode for preventing backflow is indispensable in the conventional key matrix circuit, which increases the number of parts, which hinders cost reduction and device size reduction and weight reduction. Further, in the conventional key matrix circuit, there is a problem that it takes time to switch the output port from "L" to "H" or "H" to "L" because the diode is inserted. That is,
For example, when the output port P 24 is "L", the key switch S
When 41 is pressed, a current flows through the resistor 61 → key switch S 41 → diode 54 → output port P 24 and input port P 25.
Becomes "L" and the depression of the key switch S 41 is detected, but when the output port P 24 is switched to "H" and the output port P 23 is switched to "L" next, the input port P 25 immediately becomes "L". Instead of "H", the voltage changes as shown in FIG. 3 to "H". Therefore, this input port P 25 is "L".
If the key switch S 41 is pressed in the transition period from “H” to “H”, the input port P 25 detects “L” even though the key switch S 31 is not pressed. Therefore, it is recognized that the key switch S 31 is pressed. In order to prevent malfunction due to such a switching time shift due to the diode, it is necessary to wait for the transitional state at the time of switching when switching the state of the output port in time division, which slows down the key scan speed. There was a problem that the reaction after pressing the key was slow.

【0008】本発明は上述した問題に鑑みなされたもの
で、部品数が少なく簡素な構成で且つ応答性の優れたキ
ーマトリックス回路を提供することを目的とする。
The present invention has been made in view of the above problems, and an object of the present invention is to provide a key matrix circuit having a small number of parts and a simple structure and excellent responsiveness.

【0009】[0009]

【課題を解決するための手段】このような目的を達成す
る本発明によるキーマトリックス回路は、マトリックス
配列された複数のキースイッチと、キースイッチに行の
配線及び列の配線を介して接続される制御回路と、制御
回路に備えられ列の配線が接続される入力ポートと、制
御回路に備えられ行の配線が接続される入出力ポート
と、制御回路に備えられ入力ポート及び入出力ポートの
各々に接続されたプルアップ抵抗とから成り、入出力ポ
ートは制御回路の指令によって入力或いは出力のいずれ
かに切換える切換え手段を備えたものである。
A key matrix circuit according to the present invention which achieves the above object is connected to a plurality of key switches arranged in a matrix and to the key switches through row wirings and column wirings. A control circuit, an input port provided in the control circuit to which column wiring is connected, an input / output port provided in the control circuit to which row wiring is connected, and an input port and an input / output port provided in the control circuit And a pull-up resistor connected to the input / output port, and the input / output port has a switching means for switching between input and output according to a command from the control circuit.

【0010】[0010]

【作用】入出力ポートの状態を制御回路のプログラマブ
ル指令によって入力或いは出力のいずれかに切換えるこ
とにより、同時に2つのキースイッチが押下された場合
でもこれらキースイッチを介して電流が入出力ポートに
流れるのを防止することができる。しかも、この切換え
はダイオードを用いることなく、ソフト処理によって行
うようにしているので入出力ポートの状態を直ちに切換
えることができ、キー操作の応答性を向上することがで
き、これによりキースキャンの速度を上げることができ
る。
By switching the state of the input / output port to either input or output by the programmable command of the control circuit, even if two key switches are pressed at the same time, current flows through the input / output port via these key switches. Can be prevented. Moreover, since this switching is performed by software processing without using a diode, the state of the input / output port can be switched immediately, and the responsiveness of the key operation can be improved. Can be raised.

【0011】[0011]

【実施例】以下、本発明のキーマトリックス回路の一実
施例を図1を参照して詳述する。図1に示すキーマトリ
ックス回路は、マトリックス配列(図では簡単のために
4×4マトリックスを示した)された複数のキースイッ
チ1(S11〜S44)と、これらキースイッチ1が接続さ
れ、キースイッチ1の押下を検出して特定の処理を行う
制御回路(以下、CPUという)2とを備え、キースイ
ッチ1は行の配線31〜34及び列の配線41〜44に
よってCPU2に接続されている。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the key matrix circuit of the present invention will be described in detail below with reference to FIG. The key matrix circuit shown in FIG. 1 has a plurality of key switches 1 (S 11 to S 44 ) arranged in a matrix (4 × 4 matrix is shown in the figure for simplicity), and these key switches 1 are connected to each other. A control circuit (hereinafter, referred to as a CPU) 2 that detects pressing of the key switch 1 and performs a specific process is provided. The key switch 1 is connected to the CPU 2 by wirings 31 to 34 in rows and wirings 41 to 44 in columns. There is.

【0012】列の配線41〜44は、それぞれCPU2
の入力ポート25〜28に接続され、CPU2内には入
力ポート25〜28を介してキースイッチ1に電流を印
加するためのプルアップ抵抗R5〜R8が内蔵されてい
る。一方、行の配線31〜34は、CPU2の入出力ポ
ート21〜24に接続され、これら入出力ポート21〜
24にはそれぞれ、入出力ポート21〜24における電
流の流れを入力ポート側又は出力ポート側のいずれかに
切換えるための切換え手段として切換えスイッチSw1
〜Sw4が備えられている。各切換えスイッチSw1〜S
4の一方の端子に接続された各入力ポートは、プルア
ップ抵抗R1〜R4が内蔵されている。他方の端子に接続
された出力ポート側のレベルはそれぞれ「L」または
「H」に切換え可能になっている。出力ポート側のレベ
ル及び切換えスイッチSw1〜Sw4の駆動は、CPU2
からの指令によって切換えられる。
The wirings 41 to 44 of the columns are respectively connected to the CPU 2
Connected to the input ports 25 to 28 of the CPU 2, and the CPU 2 has built-in pull-up resistors R 5 to R 8 for applying a current to the key switch 1 via the input ports 25 to 28. On the other hand, the wirings 31 to 34 of the rows are connected to the input / output ports 21 to 24 of the CPU 2, and these input / output ports 21 to 21 are connected.
The switching switch Sw 1 is provided as a switching means for switching the current flow in the input / output ports 21 to 24 to either the input port side or the output port side.
~ Sw 4 is provided. Each changeover switch Sw 1 to S
Each input port connected to one terminal of w 4 has a built-in pull-up resistor R 1 to R 4 . The level on the output port side connected to the other terminal can be switched to "L" or "H", respectively. The level of the output port and the driving of the changeover switches Sw 1 to Sw 4 are controlled by the CPU 2
It is switched by the command from.

【0013】以上のような構成におけるキーマトリック
ス回路の動作について説明する。まず入出力ポート21
のみを切換えスイッチSw1の出力ポート側に切換え、
そのレベルを「L」にする。このとき他の入出力ポート
22〜24の切換えスイッチSw2〜Sw4は(図示する
ように)プルアップ抵抗内蔵の入力ポート側に設定され
ている。
The operation of the key matrix circuit having the above configuration will be described. Input / output port 21
Change only to the output port side of the changeover switch Sw 1 ,
Set the level to "L". At this time, the changeover switches Sw 2 to Sw 4 of the other input / output ports 22 to 24 are set to the input port side having the built-in pull-up resistor (as shown in the drawing).

【0014】この状態で、キースイッチS11が押される
と、電流はプルアップ抵抗R5→キースイッチS11→入
出力ポート21と流れ、入力ポート25は「L」を検出
できる。またキースイッチS11が押されなければ、プル
アップ抵抗R5からキースイッチS11へと電流は流れな
いので、入力ポート25は「H」となる。入出力ポート
21のみを出力ポートの「L」に切換えた状態では、同
様にして同じ行の配線31に接続されたキースイッチS
12、S13、S14のいずれかが押下されたときには、入力
ポート26、27、28のいずれかが「L」となり、こ
れらのキースイッチのいずれかが押下されたことが検出
される。この場合に同じ行の配線31に接続されたキー
スイッチS11、S12、S13、S14のいずれか2つ以上が
同時押下された場合でも対応する入力ポート26〜28
にレベルによって検出が可能である。
When the key switch S 11 is pressed in this state, a current flows through the pull-up resistor R 5 → key switch S 11 → input / output port 21, and the input port 25 can detect "L". If the key switch S 11 is not pressed, no current flows from the pull-up resistor R 5 to the key switch S 11 , so that the input port 25 becomes “H”. In the state where only the input / output port 21 is switched to the output port "L", the key switch S connected to the wiring 31 in the same row in the same manner.
When any one of 12 , S 13 and S 14 is pressed, one of the input ports 26, 27 and 28 becomes “L”, and it is detected that any one of these key switches is pressed. Input port of any two or more of the key switch S 11 connected to the wiring 31 in the same row when, S 12, S 13, S 14 correspond even when co-pressed 26-28
It can be detected depending on the level.

【0015】次に入出力ポート21を出力ポートのレベ
ル「H」側に切換える。このときキースイッチS11、S
12、S13、S14のいずれかが押下されて、入力ポート2
5、26、27、28のいずれかが「L」となっている
場合には、この電位は強制的に「L」から「H」へ切換
わる。これにより速やかに次の検出の待機状態に復帰す
る。これらキースイッチのいずれもが押下されていない
場合には、当然入力ポート25〜26の電位は「H」の
ままである。
Next, the input / output port 21 is switched to the level "H" side of the output port. At this time, the key switches S 11 , S
12 , S 13 , or S 14 is pressed, input port 2
When any of 5, 26, 27 and 28 is "L", this potential is forcibly switched from "L" to "H". This promptly returns to the standby state for the next detection. When none of these key switches is pressed, the potentials of the input ports 25 to 26 naturally remain "H".

【0016】次いで今度は入出力ポート21を切換えス
イッチSw1の入力ポート側に切換えるとともに、入出
力ポート22のみを切換えスイッチSw2の出力ポート
側に切換え、そのレベルを「L」にする。この場合に
は、行の配線32に接続されたキースイッチS21
22、S23、S24のいずれかが押下されたときに、入力
ポート25〜28のいずれかが「L」となり、これらの
キースイッチのいずれかが押下されたことが検出され
る。同様に入出力ポート23のみを切換えスイッチSw
3の出力ポートの「L」に切換えた場合には、行の配線
33に接続されたキースイッチS31、S32、S33、S34
の押下を、入出力ポート24のみを切換えスイッチSw
4の出力ポートの「L」に切換えた場合には、行の配線
34に接続されたキースイッチS41、S42、S43、S44
の押下をそれぞれ検出できる。
Next, switch the input / output port 21 this time.
Itch Sw1Switch to the input port side of
Switch Sw for force port 22 only2Output port
Switch to the side and set the level to "L". In this case
Is the key switch S connected to the wiring 32 of the row.twenty one,
Stwenty two, Stwenty three, Stwenty fourInput when any of the
Any of the ports 25 to 28 becomes "L", and these
It is detected that one of the key switches has been pressed.
It Similarly, only the input / output port 23 is changed over by the switch Sw.
3If the output port of is switched to "L", wire the row
Key switch S connected to 3331, S32, S33, S34
Switch is pressed to switch the input / output port 24 only.
FourIf the output port of is switched to "L", wire the row
Key switch S connected to 3441, S42, S43, S44
Each press of can be detected.

【0017】このような入出力ポート21〜24の切換
え設定、即ち出力ポート「L」→出力ポート「H」→入
力ポートへの切換えを、各入出力ポートについて時分割
的に順次切換えることにより、すべてのキースイッチの
押下を検出することができる。一方、このような状態
で、それぞれ異なる行の配線に接続された2つ以上のキ
ースイッチが押下された場合には、1つの行の配線が接
続される入出力ポート以外はすべて切換えスイッチの入
力ポート側に接続されていて、プルアップされた状態な
ので、不要な電流の回り込みがない。例えば、入出力ポ
ート21のみが出力ポート側に切換えられ、他の入出力
ポート22〜24がプルアップ内蔵の入力ポート側に設
定されている場合、キースイッチS11及びS21が押下さ
れると、キースイッチS21が接続される入出力ポート2
2は入力ポート側に切換えられているので、電流はプル
アップ抵抗R2→入出力ポート22→キースイッチS21
→キースイッチS11→入出力ポート21と流れる。入出
力ポート21の出力能力「L」はプルアップ抵抗R2
5に比べ十分に大きいので、入力ポート25の電圧は
十分低レベル「L」となり、入出力ポート22とキース
イッチS21との間に電流回り込み防止用のダイオードが
なくても、キースイッチS11が押下されたことを検出す
ることができる。
By setting the switching settings of the input / output ports 21 to 24, that is, switching from the output port "L" to the output port "H" to the input port, the input / output ports are sequentially switched in a time division manner. It is possible to detect pressing of all the key switches. On the other hand, in this state, when two or more key switches connected to the wirings of different rows are pressed, all the input of the changeover switch except the input / output port to which the wiring of one row is connected. Since it is connected to the port side and pulled up, there is no unnecessary current sneak. For example, when only the input / output port 21 is switched to the output port side and the other input / output ports 22 to 24 are set to the input port side having the built-in pull-up, the key switches S 11 and S 21 are pressed. , Input / output port 2 to which the key switch S 21 is connected
Since 2 is switched to the input port side, the current is pull-up resistor R 2 → input / output port 22 → key switch S 21
→ Key switch S 11 → Flows with I / O port 21. The output capability “L” of the input / output port 21 is the pull-up resistor R 2 ,
Since it is sufficiently larger than R 5 , the voltage of the input port 25 is at a sufficiently low level “L” and even if there is no diode for preventing current sneak between the input / output port 22 and the key switch S 21 , the key switch S It is possible to detect that 11 has been pressed.

【0018】このように入出力ポート21〜24の状態
をCPU2においてソフトウェアによって任意に切換え
ることにより、直ちに切換えが可能になる。尚、以上の
実施例ではプルアップ抵抗R1〜R4及びR5〜R8はいず
れもCPUに内蔵された構成としてが、これらは外付け
であってもよく、また省略することも可能である。
As described above, the states of the input / output ports 21 to 24 are arbitrarily switched by the software in the CPU 2 so that the states can be immediately switched. Incidentally, but a structure built in the both CPU pullup resistor R 1 to R 4 and R 5 to R 8 is in the above embodiment, they may be external, also it can be omitted is there.

【0019】また以上の実施例では4×4マトリックス
配列した場合について説明したが、本発明はさらに大き
なマトリックスにも適用できることは言うまでもない。
In the above embodiments, the case of the 4 × 4 matrix arrangement has been described, but it goes without saying that the present invention can be applied to a larger matrix.

【0020】[0020]

【発明の効果】以上の実施例からも明らかなように本発
明のキーマトリックス回路によれば、マトリックス配列
されたキースイッチを選択するためにCPUに設けられ
たポートを、入力、出力のいずれかにソフトウェアによ
って切換え可能にしたので、これらポートへの電流の回
り込みを防止するためのダイオードを不要とし、これに
よりキー操作の応答性をよくし、キースキャンの高速化
を図ることができる。またダイオードが不要であるた
め、装置全体の小型化、部品点数の削減、コストダウン
を図ることができる。
As is apparent from the above embodiments, according to the key matrix circuit of the present invention, the port provided in the CPU for selecting the matrix-arranged key switches can be either input or output. Since it can be switched by software, a diode for preventing current from flowing into these ports is unnecessary, which improves the responsiveness of key operations and speeds up key scanning. Further, since the diode is unnecessary, it is possible to reduce the size of the entire device, reduce the number of parts, and reduce the cost.

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

【図1】本発明によるキーマトリックス回路の一実施例
を示す回路図。
FIG. 1 is a circuit diagram showing an embodiment of a key matrix circuit according to the present invention.

【図2】従来のキーマトリックス回路の回路図。FIG. 2 is a circuit diagram of a conventional key matrix circuit.

【図3】従来のキーマトリックス回路における出力ポー
トの電圧レベルの時間的変化を示すグラフ。
FIG. 3 is a graph showing a temporal change of a voltage level of an output port in a conventional key matrix circuit.

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

1、S11〜S44・・・・・・キースイッチ 2・・・・・・制御回路(CPU) 21〜24・・・・・・入出力ポート 25〜28・・・・・・入力ポート 31〜34・・・・・・行の配線 41〜44・・・・・・列の配線 R1〜R8・・・・・・プルアップ抵抗 Sw1〜Sw4・・・・・・切換えスイッチ(切換え手段)1, S 11 to S 44 ... Key switch 2 ... Control circuit (CPU) 21-24 ... I / O port 25-28 ... Input port 31-34 ...... line wiring 41 to 44 ...... column wire R 1 to R 8 ...... pullup resistor Sw 1 to SW 4 ...... switching Switch (switching means)

───────────────────────────────────────────────────── フロントページの続き (72)発明者 森下 保雄 愛知県名古屋市熱田区神野町2丁目18番地 アイホン株式会社内 (72)発明者 武田 雅彦 愛知県名古屋市熱田区神野町2丁目18番地 アイホン株式会社内 (72)発明者 榊 隆広 愛知県名古屋市熱田区神野町2丁目18番地 アイホン株式会社内 (72)発明者 沼田 晃 東京都足立区足立4−13−6−604号 ─────────────────────────────────────────────────── ─── Continuation of the front page (72) Inventor Yasuo Morishita 2-18, Jinnocho, Atsuta-ku, Nagoya, Aichi Aiphone Co., Ltd. (72) Inventor Masahiko Takeda 2-18, Jinno-cho, Atsuta-ku, Nagoya, Aichi Aiphone Incorporated (72) Inventor Takahiro Sakaki 2-18, Kamino-cho, Atsuta-ku, Nagoya, Aichi Aiphone Co., Ltd. (72) Inventor Akira Numata 4-13-6-604 Adachi, Adachi-ku, Tokyo

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】マトリックス配列された複数のキースイッ
チと、前記キースイッチに行の配線及び列の配線を介し
て接続される制御回路と、前記制御回路に備えられ前記
列の配線が接続される入力ポートと、前記制御回路に備
えられ前記行の配線が接続される入出力ポートと、前記
制御回路に備えられ前記入力ポート及び前記入出力ポー
トの各々に接続されたプルアップ抵抗とから成り、前記
入出力ポートは前記制御回路内の指令によって入力或い
は出力のいずれかに切換える切換え手段を備えたことを
特徴とするキーマトリックス回路。
1. A plurality of key switches arranged in a matrix, a control circuit connected to the key switches via row wirings and column wirings, and the column wirings provided in the control circuit are connected. An input port, an input / output port provided in the control circuit to which the wiring of the row is connected, and a pull-up resistor provided in the control circuit and connected to each of the input port and the input / output port, The key matrix circuit, wherein the input / output port is provided with switching means for switching between input and output according to a command in the control circuit.
JP5337178A 1993-12-28 1993-12-28 Key matrix circuit Expired - Fee Related JP3014260B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP5337178A JP3014260B2 (en) 1993-12-28 1993-12-28 Key matrix circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP5337178A JP3014260B2 (en) 1993-12-28 1993-12-28 Key matrix circuit

Publications (2)

Publication Number Publication Date
JPH07202660A true JPH07202660A (en) 1995-08-04
JP3014260B2 JP3014260B2 (en) 2000-02-28

Family

ID=18306186

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5337178A Expired - Fee Related JP3014260B2 (en) 1993-12-28 1993-12-28 Key matrix circuit

Country Status (1)

Country Link
JP (1) JP3014260B2 (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100395947B1 (en) * 2000-12-11 2003-08-27 주식회사 엘지이아이 Key input circuit in microwave oven
JP2003536158A (en) * 2000-06-02 2003-12-02 トムソン ライセンシング ソシエテ アノニム Control system to prevent incompatible keys from being selected and entered during power-up
JP2006201918A (en) * 2005-01-19 2006-08-03 Kyocera Corp Electronic equipment, key detecting device and key detecting method
EP3573243A1 (en) * 2018-05-24 2019-11-27 Stanley Electric Co., Ltd. Input device, control method of input device

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003536158A (en) * 2000-06-02 2003-12-02 トムソン ライセンシング ソシエテ アノニム Control system to prevent incompatible keys from being selected and entered during power-up
JP4766538B2 (en) * 2000-06-02 2011-09-07 トムソン ライセンシング A control system that prevents incompatible keys from being selected and entered during power-up
KR100395947B1 (en) * 2000-12-11 2003-08-27 주식회사 엘지이아이 Key input circuit in microwave oven
JP2006201918A (en) * 2005-01-19 2006-08-03 Kyocera Corp Electronic equipment, key detecting device and key detecting method
EP3573243A1 (en) * 2018-05-24 2019-11-27 Stanley Electric Co., Ltd. Input device, control method of input device
US20190363713A1 (en) * 2018-05-24 2019-11-28 Stanley Electric Co., Ltd. Input device, control method of input device

Also Published As

Publication number Publication date
JP3014260B2 (en) 2000-02-28

Similar Documents

Publication Publication Date Title
EP2012431B1 (en) Circuit and method for a switch matrix and switch sensing
US5790054A (en) Apparatus and method for scanning a key matrix
US5430443A (en) Scanned switch matrix
NL8202579A (en) MICRO COMPUTER.
US5070330A (en) Keyboard scanning matrix
JPH07202660A (en) Key matrix circuit
US5831556A (en) Pin-reduced low power keyboard scanner
JPH01218126A (en) Keyboard
JP4944295B2 (en) Bidirectional scanning switch matrix method and apparatus
US5783874A (en) Keypad handling circuits
KR100442370B1 (en) Key scan apparatus and method for mobile communication terminal
KR100687225B1 (en) Apparatus and method for improving of key recognition accuracy in multi key demanded terminal
CA1333924C (en) Keyboard
US4853695A (en) Data input device having switch matrix scanning means
KR20010026559A (en) Key signal inputting circuit
KR920003502Y1 (en) For vtr dual search circuit
KR100373558B1 (en) Key input device using rotary switch
JPH02310714A (en) Keyboard switch
JPH0640462B2 (en) Keyboard input circuit
JPH0635591A (en) Key input circuit
JPH05173690A (en) Switching circuit
KR20070028137A (en) Key scan system and method using voltage sensing
JPH03129511A (en) N-key roll-over circuit
KR20050000475A (en) Keypad device using resistance
CN1105495A (en) Keyboard scanning and auxiliary input detecter and method

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

LAPS Cancellation because of no payment of annual fees