JP2017058959A - Key matrix circuit - Google Patents

Key matrix circuit Download PDF

Info

Publication number
JP2017058959A
JP2017058959A JP2015183251A JP2015183251A JP2017058959A JP 2017058959 A JP2017058959 A JP 2017058959A JP 2015183251 A JP2015183251 A JP 2015183251A JP 2015183251 A JP2015183251 A JP 2015183251A JP 2017058959 A JP2017058959 A JP 2017058959A
Authority
JP
Japan
Prior art keywords
key
signal line
scan
line
signal control
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
JP2015183251A
Other languages
Japanese (ja)
Other versions
JP6690162B2 (en
Inventor
泰生 田上
Yasuo Tagami
泰生 田上
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.)
Fujitsu General Ltd
Original Assignee
Fujitsu General 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 Fujitsu General Ltd filed Critical Fujitsu General Ltd
Priority to JP2015183251A priority Critical patent/JP6690162B2/en
Publication of JP2017058959A publication Critical patent/JP2017058959A/en
Application granted granted Critical
Publication of JP6690162B2 publication Critical patent/JP6690162B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Input From Keyboards Or The Like (AREA)

Abstract

PROBLEM TO BE SOLVED: To realize a matrix circuit with a configuration using cost-reducible ordinary switches and external resistors, while suppressing an increase in a mounting space, with which it is possible to detect an accurately depressed key even when three or more keys are depressed simultaneously.SOLUTION: The present invention comprises a first and a second output signal line, a plurality of input signal lines, a first key switch group connecting the first output signal line and each input signal line, and a second key switch group connecting the second output signal line and each input signal line. A first signal control resistor is provided at one or more first positions out of a plurality of first positions preceding a connection point P of a key switch of the first key switch group and the first output signal line, and a second signal control resistor different from the first signal control resistor is provided at a second position out of a plurality of second positions preceding the connection point P of a key switch of the second key switch group and the second output signal line where no first signal control resistor corresponding to the same input signal line is provided at the first position.SELECTED DRAWING: Figure 1

Description

本発明は、キーマトリクス回路に関する。   The present invention relates to a key matrix circuit.

近年普及している携帯電話、カーナビゲーションのような電子機器類等の操作キー(例えば、テンキー)には、一般的にキーマトリクス回路が用いられている。このようなキーマトリクス回路が用いられている機器類は、その機能の向上に伴い操作が複雑化してきており、従来のようなキーを単独で使用するだけでは機器類が有する複数の機能全てに対応することが困難になってきている。   A key matrix circuit is generally used for operation keys (for example, a numeric keypad) of electronic devices such as mobile phones and car navigations that have become widespread in recent years. Devices that use such a key matrix circuit have become more complicated to operate as their functions improve, and using only a conventional key alone has all of the functions of the devices. It has become difficult to respond.

このため、キーを単独で使用するだけではなく、複数のキーを同時押下するような使い方を加えることで、キーの数を増やさずにより多くの機能に対応したキー操作を可能にすることが望まれている。しかしながら、キーマトリクス回路では、3個以上のキーを同時押下すると、押下されていない他のキーが押下された場合と、区別がつかなくなることがあり、正確に検出ができないという問題があった。   For this reason, it is hoped that key operations corresponding to more functions can be performed without increasing the number of keys by adding a method of pressing multiple keys at the same time as well as using the keys alone. It is rare. However, in the key matrix circuit, when three or more keys are simultaneously pressed, there is a case where it cannot be distinguished from the case where other keys that are not pressed are pressed, and there is a problem that accurate detection cannot be performed.

そのような課題を解決するために、従来、例えば、特許文献1には、全てのキースイッチに、抵抗入りのキースイッチを使用することで、3個以上のキーが同時押下されても、正確に押下されているキーを検出することが可能な構成が記載されている。   In order to solve such a problem, for example, in Patent Document 1, for example, by using key switches with resistors for all the key switches, even if three or more keys are simultaneously pressed, it is accurate. A configuration capable of detecting a key pressed is described.

特開2009−32203号公報JP 2009-32203 A

しかしながら、抵抗入りのキースイッチは、特殊な部品であるため高価であり、特許文献1に記載されている構成を採用すると、コストを低く抑えることが難しいという問題がある。一方で、通常のキースイッチに外付け抵抗を付加することで抵抗入りのキースイッチと同様の機能を実現するようにすれば安価に構成できる。このため、特許文献1に記載された抵抗入りのキースイッチを全て通常のキースイッチと外付け抵抗とを組み合わせた構成に置き換えれば、コストを低く抑えることが可能である。   However, a key switch with a resistor is a special part and is expensive. When the configuration described in Patent Document 1 is adopted, there is a problem that it is difficult to keep the cost low. On the other hand, if an external resistor is added to a normal key switch to realize a function similar to that of a key switch with a resistor, it can be constructed at low cost. For this reason, if all the key switches with resistors described in Patent Document 1 are replaced with a configuration in which normal key switches and external resistors are combined, the cost can be kept low.

ところが、キーマトリクス回路が用いられる操作キー等には、広い実装スペースを占有することが許されない場合が多く、このため、通常のキースイッチと外付け抵抗とを組み合わせた構成にすれば、新たに必要となる外付け抵抗の実装スペースの確保について問題が発生する。   However, operation keys that use a key matrix circuit are often not allowed to occupy a large mounting space. For this reason, if a configuration combining a normal key switch and an external resistor is used, it will be newly added. Problems arise in securing the required mounting space for external resistors.

本発明は、このような事情に鑑みなされたものであり、3個以上のキースイッチが同時押下された場合でも、正確に押下されているキースイッチを検出することが可能なキーマトリクス回路を、低コスト化が可能である通常のキースイッチと外付け抵抗とを用いた構成で実現しつつ、実装スペースの増加を抑制することを目的とする。   The present invention has been made in view of such circumstances, and a key matrix circuit capable of accurately detecting a key switch being pressed even when three or more key switches are simultaneously pressed, An object is to suppress an increase in mounting space while realizing a configuration using a normal key switch and an external resistor capable of reducing the cost.

上記した課題を解決するために本発明は以下の構成によって把握される。
(1)本発明のキーマトリクス回路は、キーマトリクス回路であって、第1のキースキャン出力信号線と、第2のキースキャン出力信号線と、プルアップ抵抗を介して電源電圧が印加された複数のキーリターン入力信号線と、前記第1のキースキャン信号線と各々の前記キーリターン信号線との間を電気的に接続する第1のキースイッチ群である複数のキースイッチと、前記第2のキースキャン信号線と各々の前記キーリターン信号線との間を電気的に接続する第2のキースイッチ群である複数のキースイッチと、前記第1のキースキャン信号線上には前記第1のキースキャン信号線に第1のキースイッチ群である複数のキースイッチがそれぞれ接続される複数の第1接続点と、前記第2のキースキャン信号線上には前記第2のキースキャン信号線に第2のキースイッチ群である複数のキースイッチがそれぞれ接続される複数の第2接続点と、を備え、隣り合う前記第1接続点間の位置をある第1位置とし、隣り合う前記第2接続点間の位置を第2位置としたときに、前記キースイッチを介し同じ前記キーリターン入力信号線に接続された前記第1位置または前記第2位置のいずれか一方の位置に信号制御抵抗が設けられ、かつ前記複数の第1位置に設けられた第1信号制御抵抗の抵抗値と前記複数の第2位置に設けられた第2信号制御抵抗の抵抗値とが異なる。
In order to solve the above-described problems, the present invention is grasped by the following configuration.
(1) The key matrix circuit of the present invention is a key matrix circuit, and a power supply voltage is applied via a first key scan output signal line, a second key scan output signal line, and a pull-up resistor. A plurality of key return input signal lines; a plurality of key switches which are a first key switch group electrically connecting the first key scan signal line and each of the key return signal lines; A plurality of key switches which are a second key switch group electrically connecting between the two key scan signal lines and each of the key return signal lines, and the first key scan signal line has the first key switch on the first key scan signal line. A plurality of first connection points to which a plurality of key switches, which are a first key switch group, are respectively connected to the key scan signal line, and the second key scan signal line on the second key scan signal line. A plurality of second connection points to which a plurality of key switches that are a second key switch group are respectively connected to the line, and a position between the adjacent first connection points is a first position, and the adjacent When the position between the second connection points is the second position, the signal is controlled to one of the first position and the second position connected to the same key return input signal line via the key switch. A resistance is provided, and a resistance value of the first signal control resistor provided at the plurality of first positions is different from a resistance value of the second signal control resistor provided at the plurality of second positions.

(2)上記(1)の構成に加え、第3のキースキャン出力信号線が配置され、前記第3のキースキャン信号線と各々の前記キーリターン信号線との間を電気的に接続する第3のキースイッチ群である複数のキースイッチと、前記第3のキースキャン信号線上には前記第3のキースキャン信号線に第3のキースイッチ群である複数のキースイッチがそれぞれ接続される複数の第3接続点と、を備え、隣り合う前記第3接続点間の位置を第3位置としたときに、前記第3位置には1つおきに第3信号制御抵抗が設けられ、かつ前記第3信号制御抵抗の抵抗値は、前記第1信号制御抵抗の抵抗値と前記第2信号制御抵抗の抵抗値とのいずれとも異なる。   (2) In addition to the configuration of (1) above, a third key scan output signal line is arranged, and the third key scan signal line is electrically connected between each key return signal line. A plurality of key switches that are three key switch groups, and a plurality of key switches that are third key switch groups connected to the third key scan signal lines on the third key scan signal lines, respectively. A third signal control resistor is provided in every third position, and when the position between the adjacent third connection points is a third position, and The resistance value of the third signal control resistor is different from both the resistance value of the first signal control resistor and the resistance value of the second signal control resistor.

(3)上記(2)の構成に加え、第4のキースキャン出力信号線が配置され、前記第4のキースキャン信号線と各々の前記キーリターン信号線との間を電気的に接続する第4のキースイッチ群である複数のキースイッチと、前記第4のキースキャン信号線上には前記第4のキースキャン信号線に第4のキースイッチ群である複数のキースイッチがそれぞれ接続される複数の第4接続点と、を備え、隣り合う前記第4接続点間の位置を第4位置としたときに、前記キースイッチを介し同じ前記キーリターン入力信号線に接続された前記第3位置に信号制御抵抗が設けられていない場合に前記第4位置に信号制御抵抗が設けられ、かつ前記第4信号制御抵抗の抵抗値は、前記第1信号制御抵抗の抵抗値、前記第2信号制御抵抗の抵抗値及び前記第3抵抗の抵抗値とのいずれとも異なる。   (3) In addition to the configuration of (2) above, a fourth key scan output signal line is arranged, and the fourth key scan signal line is electrically connected between each of the key return signal lines. A plurality of key switches that are four key switch groups, and a plurality of key switches that are fourth key switch groups connected to the fourth key scan signal lines on the fourth key scan signal lines, respectively. The fourth connection point, and when the position between the adjacent fourth connection points is the fourth position, the third connection point connected to the same key return input signal line via the key switch When no signal control resistor is provided, a signal control resistor is provided at the fourth position, and the resistance value of the fourth signal control resistor is the resistance value of the first signal control resistor, the second signal control resistor Resistance value and the first Different than either of the resistance value of the resistor.

(4)上記(3)の構成において、前記第3のキースイッチ群及び前記第4のキースイッチ群のうち、同じキーリターン入力信号線に接続された2つのキースイッチと、前記同じキーリターン入力信号線に隣接しない別のキーリターン入力信号線に接続されたキースイッチであって前記2つのキースイッチが接続されるキースキャン出力信号線に接続されている一方と他方のキースイッチのうちの一方のキースイッチと、を経由する回り込みルート、及び、前記他方のキースイッチだけを経由する通常ルートにおいて、前記回り込みルートの全体での抵抗値と前記通常ルートの全体での抵抗値が異なる抵抗値となるように前記回り込みルート上及び前記通常ルート上に位置する前記第3信号制御抵抗及び前記第4信号制御抵抗の抵抗値が選択されている。 (4) In the configuration of (3) above, two key switches connected to the same key return input signal line in the third key switch group and the fourth key switch group, and the same key return input One of one key switch connected to another key return input signal line not adjacent to the signal line and connected to the key scan output signal line to which the two key switches are connected and the other key switch And the normal route via only the other key switch, the resistance value of the entire wraparound route is different from the resistance value of the entire normal route. The resistance values of the third signal control resistor and the fourth signal control resistor located on the wraparound route and the normal route are selected as follows. It has been.

本発明によれば、3個以上のキースイッチが同時押下された場合でも、正確に押下されているキースイッチを検出することが可能なキーマトリクス回路を、低コスト化が可能である通常のキースイッチと外付け抵抗とを用いた構成で実現しつつ、実装スペースの増加を抑制したキーマトリクス回路を提供することができる。   According to the present invention, even when three or more key switches are pressed at the same time, a key matrix circuit capable of accurately detecting the key switches that are pressed down is a normal key that can reduce the cost. It is possible to provide a key matrix circuit that realizes a configuration using a switch and an external resistor while suppressing an increase in mounting space.

本発明の第1実施形態のキーマトリクス回路の構成を示す図である。It is a figure which shows the structure of the key matrix circuit of 1st Embodiment of this invention. (a)は第1実施形態の動作説明の図であり、(b)は(a)の等価回路を示した図である。(A) is a figure of operation | movement description of 1st Embodiment, (b) is the figure which showed the equivalent circuit of (a). (a)は第1実施形態の動作説明の図であり、(b)は(a)の等価回路を示した図である。(A) is a figure of operation | movement description of 1st Embodiment, (b) is the figure which showed the equivalent circuit of (a). (a)は第1実施形態の動作説明の図であり、(b)は(a)の等価回路を示した図である。(A) is a figure of operation | movement description of 1st Embodiment, (b) is the figure which showed the equivalent circuit of (a). (a)は第1実施形態の動作説明の図であり、(b)は(a)の等価回路を示した図である。(A) is a figure of operation | movement description of 1st Embodiment, (b) is the figure which showed the equivalent circuit of (a). (a)は第1実施形態の動作説明の図であり、(b)は(a)の等価回路を示した図である。(A) is a figure of operation | movement description of 1st Embodiment, (b) is the figure which showed the equivalent circuit of (a). (a)は第1実施形態の動作説明の図であり、(b)は(a)の等価回路を示した図である。(A) is a figure of operation | movement description of 1st Embodiment, (b) is the figure which showed the equivalent circuit of (a). (a)は第1実施形態の動作説明の図であり、(b)は(a)の等価回路を示した図である。(A) is a figure of operation | movement description of 1st Embodiment, (b) is the figure which showed the equivalent circuit of (a). (a)は第1実施形態の動作説明の図であり、(b)は(a)の等価回路を示した図である。(A) is a figure of operation | movement description of 1st Embodiment, (b) is the figure which showed the equivalent circuit of (a). (a)は第1実施形態の第1変形例の動作説明の図であり、(b)は(a)の等価回路を示した図である。(A) is a figure explaining operation | movement of the 1st modification of 1st Embodiment, (b) is the figure which showed the equivalent circuit of (a). (a)は第1実施形態の第1変形例の動作説明の図であり、(b)は(a)の等価回路を示した図である。(A) is a figure explaining operation | movement of the 1st modification of 1st Embodiment, (b) is the figure which showed the equivalent circuit of (a). (a)は第1実施形態の第1変形例の動作説明の図であり、(b)は(a)の等価回路を示した図である。(A) is a figure explaining operation | movement of the 1st modification of 1st Embodiment, (b) is the figure which showed the equivalent circuit of (a). (a)は第1実施形態の第1変形例の動作説明の図であり、(b)は(a)の等価回路を示した図である。(A) is a figure explaining operation | movement of the 1st modification of 1st Embodiment, (b) is the figure which showed the equivalent circuit of (a). (a)は第1実施形態の第1変形例の動作説明の図であり、(b)は(a)の等価回路を示した図である。(A) is a figure explaining operation | movement of the 1st modification of 1st Embodiment, (b) is the figure which showed the equivalent circuit of (a). (a)は第1実施形態の第1変形例の動作説明の図であり、(b)は(a)の等価回路を示した図である。(A) is a figure explaining operation | movement of the 1st modification of 1st Embodiment, (b) is the figure which showed the equivalent circuit of (a). (a)は第1実施形態の第1変形例の動作説明の図であり、(b)は(a)の等価回路を示した図である。(A) is a figure explaining operation | movement of the 1st modification of 1st Embodiment, (b) is the figure which showed the equivalent circuit of (a). (a)は第1実施形態の第1変形例の動作説明の図であり、(b)は(a)の等価回路を示した図である。(A) is a figure explaining operation | movement of the 1st modification of 1st Embodiment, (b) is the figure which showed the equivalent circuit of (a). 第1実施形態の第2変形例を示す図である。It is a figure which shows the 2nd modification of 1st Embodiment. 第1実施形態の第3変形例を示す図である。It is a figure which shows the 3rd modification of 1st Embodiment. 第1実施形態の第4変形例を示す図である。It is a figure which shows the 4th modification of 1st Embodiment. (a)は第1実施形態の第3変形例の動作説明の図であり、(b)は(a)の等価回路を示した図である。(A) is a figure explaining operation | movement of the 3rd modification of 1st Embodiment, (b) is the figure which showed the equivalent circuit of (a). (a)は第1実施形態の第3変形例の動作説明の図であり、(b)は(a)の等価回路を示した図である。(A) is a figure explaining operation | movement of the 3rd modification of 1st Embodiment, (b) is the figure which showed the equivalent circuit of (a). (a)は第1実施形態の第3変形例の動作説明の図であり、(b)は(a)の等価回路を示した図である。(A) is a figure explaining operation | movement of the 3rd modification of 1st Embodiment, (b) is the figure which showed the equivalent circuit of (a). (a)は第1実施形態の第3変形例の動作説明の図であり、(b)は(a)の等価回路を示した図である。(A) is a figure explaining operation | movement of the 3rd modification of 1st Embodiment, (b) is the figure which showed the equivalent circuit of (a). (a)は第1実施形態の第3変形例の動作説明の図であり、(b)は(a)の等価回路を示した図である。(A) is a figure explaining operation | movement of the 3rd modification of 1st Embodiment, (b) is the figure which showed the equivalent circuit of (a). (a)は第1実施形態の第3変形例の動作説明の図であり、(b)は(a)の等価回路を示した図である。(A) is a figure explaining operation | movement of the 3rd modification of 1st Embodiment, (b) is the figure which showed the equivalent circuit of (a). (a)は第1実施形態の第3変形例の動作説明の図であり、(b)は(a)の等価回路を示した図である。(A) is a figure explaining operation | movement of the 3rd modification of 1st Embodiment, (b) is the figure which showed the equivalent circuit of (a). (a)は第1実施形態の第3変形例の動作説明の図であり、(b)は(a)の等価回路を示した図である。(A) is a figure explaining operation | movement of the 3rd modification of 1st Embodiment, (b) is the figure which showed the equivalent circuit of (a). (a)は第1実施形態の第3変形例の動作説明の図であり、(b)は(a)の等価回路を示した図である。(A) is a figure explaining operation | movement of the 3rd modification of 1st Embodiment, (b) is the figure which showed the equivalent circuit of (a). (a)は第1実施形態の第3変形例の動作説明の図であり、(b)は(a)の等価回路を示した図である。(A) is a figure explaining operation | movement of the 3rd modification of 1st Embodiment, (b) is the figure which showed the equivalent circuit of (a). (a)は第1実施形態の第3変形例の動作説明の図であり、(b)は(a)の等価回路を示した図である。(A) is a figure explaining operation | movement of the 3rd modification of 1st Embodiment, (b) is the figure which showed the equivalent circuit of (a). (a)は第1実施形態の第3変形例の動作説明の図であり、(b)は(a)の等価回路を示した図である。(A) is a figure explaining operation | movement of the 3rd modification of 1st Embodiment, (b) is the figure which showed the equivalent circuit of (a). (a)は第1実施形態の第3変形例の動作説明の図であり、(b)は(a)の等価回路を示した図である。(A) is a figure explaining operation | movement of the 3rd modification of 1st Embodiment, (b) is the figure which showed the equivalent circuit of (a). (a)は第1実施形態の第3変形例の動作説明の図であり、(b)は(a)の等価回路を示した図である。(A) is a figure explaining operation | movement of the 3rd modification of 1st Embodiment, (b) is the figure which showed the equivalent circuit of (a). (a)は第1実施形態の第3変形例の動作説明の図であり、(b)は(a)の等価回路を示した図である。(A) is a figure explaining operation | movement of the 3rd modification of 1st Embodiment, (b) is the figure which showed the equivalent circuit of (a). (a)は第1実施形態の第3変形例の動作説明の図であり、(b)は(a)の等価回路を示した図である。(A) is a figure explaining operation | movement of the 3rd modification of 1st Embodiment, (b) is the figure which showed the equivalent circuit of (a). (a)は第1実施形態の第3変形例の動作説明の図であり、(b)は(a)の等価回路を示した図である。(A) is a figure explaining operation | movement of the 3rd modification of 1st Embodiment, (b) is the figure which showed the equivalent circuit of (a). (a)は第1実施形態の第3変形例の動作説明の図であり、(b)は(a)の等価回路を示した図である。(A) is a figure explaining operation | movement of the 3rd modification of 1st Embodiment, (b) is the figure which showed the equivalent circuit of (a). (a)は第1実施形態の第3変形例の動作説明の図であり、(b)は(a)の等価回路を示した図である。(A) is a figure explaining operation | movement of the 3rd modification of 1st Embodiment, (b) is the figure which showed the equivalent circuit of (a). (a)は第1実施形態の第3変形例の動作説明の図であり、(b)は(a)の等価回路を示した図である。(A) is a figure explaining operation | movement of the 3rd modification of 1st Embodiment, (b) is the figure which showed the equivalent circuit of (a). (a)は第1実施形態の第3変形例の動作説明の図であり、(b)は(a)の等価回路を示した図である。(A) is a figure explaining operation | movement of the 3rd modification of 1st Embodiment, (b) is the figure which showed the equivalent circuit of (a). (a)は第1実施形態の第3変形例の動作説明の図であり、(b)は(a)の等価回路を示した図である。(A) is a figure explaining operation | movement of the 3rd modification of 1st Embodiment, (b) is the figure which showed the equivalent circuit of (a). (a)は第1実施形態の第3変形例の動作説明の図であり、(b)は(a)の等価回路を示した図である。(A) is a figure explaining operation | movement of the 3rd modification of 1st Embodiment, (b) is the figure which showed the equivalent circuit of (a). (a)は第1実施形態の第3変形例の動作説明の図であり、(b)は(a)の等価回路を示した図である。(A) is a figure explaining operation | movement of the 3rd modification of 1st Embodiment, (b) is the figure which showed the equivalent circuit of (a). (a)は第1実施形態の第3変形例の動作説明の図であり、(b)は(a)の等価回路を示した図である。(A) is a figure explaining operation | movement of the 3rd modification of 1st Embodiment, (b) is the figure which showed the equivalent circuit of (a). (a)は第1実施形態の第3変形例の動作説明の図であり、(b)は(a)の等価回路を示した図である。(A) is a figure explaining operation | movement of the 3rd modification of 1st Embodiment, (b) is the figure which showed the equivalent circuit of (a). (a)は第1実施形態の第3変形例の動作説明の図であり、(b)は(a)の等価回路を示した図である。(A) is a figure explaining operation | movement of the 3rd modification of 1st Embodiment, (b) is the figure which showed the equivalent circuit of (a). (a)は第1実施形態の第3変形例の動作説明の図であり、(b)は(a)の等価回路を示した図である。(A) is a figure explaining operation | movement of the 3rd modification of 1st Embodiment, (b) is the figure which showed the equivalent circuit of (a). (a)は第1実施形態の第3変形例を拡張した場合の問題点を説明する動作説明の図であり、(b)は(a)の等価回路を示した図である。(A) is the figure of operation | movement description explaining the problem at the time of extending the 3rd modification of 1st Embodiment, (b) is the figure which showed the equivalent circuit of (a). (a)は第2実施形態の動作説明の図であり、(b)は(a)の等価回路を示した図である。(A) is a figure of operation | movement description of 2nd Embodiment, (b) is the figure which showed the equivalent circuit of (a). (a)は第2実施形態の動作説明の図であり、(b)は(a)の等価回路を示した図である。(A) is a figure of operation | movement description of 2nd Embodiment, (b) is the figure which showed the equivalent circuit of (a). (a)は第2実施形態の動作説明の図であり、(b)は(a)の等価回路を示した図である。(A) is a figure of operation | movement description of 2nd Embodiment, (b) is the figure which showed the equivalent circuit of (a).

発明の実施の形態DETAILED DESCRIPTION OF THE INVENTION

以下、添付図面を参照して、本発明を実施するための形態(以下、本実施形態という)について詳細に説明する。なお、本実施形態の説明の全体を通して同じ要素には同じ番号を付している。   DESCRIPTION OF EMBODIMENTS Hereinafter, a mode for carrying out the present invention (hereinafter referred to as this embodiment) will be described in detail with reference to the accompanying drawings. Note that the same numbers are assigned to the same elements throughout the description of the present embodiment.

(第1実施形態の構成)
図1に本実施形態のキーマトリクス回路10の構成が示されている。図1に示すように、本実施形態のキーマトリクス回路10は、キーマトリクス部11と、制御部12とにより構成される。
(Configuration of the first embodiment)
FIG. 1 shows the configuration of the key matrix circuit 10 of the present embodiment. As shown in FIG. 1, the key matrix circuit 10 of the present embodiment includes a key matrix unit 11 and a control unit 12.

キーマトリクス部11は、2つのキースキャン出力信号線(スキャンラインKS_A、スキャンラインKS_B)を有する。
以下では、説明の簡略化のために、特に断りの無い限り、スキャンラインKS_Aを第1のキースキャン出力信号線と呼び、スキャンラインKS_Bを第2のキースキャン出力信号線と呼んで説明を行うが、スキャンラインKS_Bを第1のキースキャン出力信号線とした場合は、スキャンラインKS_Aが第2のキースキャン出力信号線である。
The key matrix unit 11 has two key scan output signal lines (scan line KS_A, scan line KS_B).
Hereinafter, for simplification of description, unless otherwise specified, the scan line KS_A is referred to as a first key scan output signal line, and the scan line KS_B is referred to as a second key scan output signal line. However, when the scan line KS_B is the first key scan output signal line, the scan line KS_A is the second key scan output signal line.

また、以降、このスキャンラインKS_A及びスキャンラインKS_Bを、それぞれ第1のキースキャン出力信号線及び第2のキースキャン出力信号線と呼ぶのに応じて、これらに関連する部分に関して、やはり「第1」、「第2」との名称で呼ぶ部分が出てくるが、この場合も、スキャンラインKS_Bを第1のキースキャン出力信号線とし、スキャンラインKS_Aを第2のキースキャン出力信号線と読み替える場合は、これらに関連する部分に関して付与される「第1」、「第2」の表現を入れ替えるように解釈されるべきものである。   Further, hereinafter, the scan line KS_A and the scan line KS_B will be referred to as the first key scan output signal line and the second key scan output signal line, respectively. In this case, the scan line KS_B is replaced with the first key scan output signal line, and the scan line KS_A is replaced with the second key scan output signal line. The case should be construed so as to replace the expressions “first” and “second” given for the parts related to these.

図1に示されるように、キーマトリクス部11において、第1のキースキャン出力信号線(スキャンラインKS_A)と第2のキースキャン出力信号線(スキャンラインKS_B)が配線されている。   As shown in FIG. 1, in the key matrix unit 11, a first key scan output signal line (scan line KS_A) and a second key scan output signal line (scan line KS_B) are wired.

そして、第1のキースキャン出力信号線(スキャンラインKS_A)と第2のキースキャン出力信号線(スキャンラインKS_B)に対して複数のキーリターン入力信号線(リターンラインKR1、KR2、KR3、KR4、KR5、KR6)が配線されている。   The first key scan output signal line (scan line KS_A) and the second key scan output signal line (scan line KS_B) have a plurality of key return input signal lines (return lines KR1, KR2, KR3, KR4, KR5, KR6) are wired.

さらに、キーマトリクス部11は、押下されることで第1のキースキャン出力信号線(スキャンラインKS_A)と各キーリターン入力信号線(リターンラインKR1、KR2、KR3、KR4、KR5、KR6)との間を電気的に接続するキースイッチ(A_SW1、A_SW2、A_SW3、A_SW4、A_SW5、A_SW6)を備えている。
なお、第1のキースキャン出力信号線(スキャンラインKS_A)との間に電気的に接続されている、これらのキースイッチをまとめて呼ぶ場合には、第1のキースイッチ群と呼ぶことにする。
Further, the key matrix unit 11 is pressed to connect the first key scan output signal line (scan line KS_A) and each key return input signal line (return lines KR1, KR2, KR3, KR4, KR5, KR6). Key switches (A_SW 1, A_SW 2, A_SW 3, A_SW 4, A_SW 5, A_SW 6) that electrically connect them are provided.
Note that when these key switches that are electrically connected to the first key scan output signal line (scan line KS_A) are collectively referred to as a first key switch group. .

具体的には、第1のキースイッチ群のそれぞれのキースイッチ(A_SW1、A_SW2、A_SW3、A_SW4、A_SW5、A_SW6)は、第1のキースイッチ群のそれぞれのキースイッチ(A_SW1、A_SW2、A_SW3、A_SW4、A_SW5、A_SW6)と、第1のキースキャン出力信号線(スキャンラインKS_A)及びキーリターン入力信号線(リターンラインKR1、KR2、KR3、KR4、KR5、KR6)とを接続する配線Lによって電気的に接続されている。   Specifically, the key switches (A_SW1, A_SW2, A_SW3, A_SW4, A_SW5, A_SW6) of the first key switch group are respectively the key switches (A_SW1, A_SW2, A_SW3, A_SW4) of the first key switch group. , A_SW5, A_SW6) and the first key scan output signal line (scan line KS_A) and the key return input signal line (return lines KR1, KR2, KR3, KR4, KR5, KR6) electrically It is connected to the.

そして、第1のキースイッチ群のキースイッチ(A_SW1、A_SW2、A_SW3、A_SW4、A_SW5、A_SW6)からの配線Lと第1のキースキャン出力信号線(スキャンラインKS_A)との接続点P同士の間にある複数の第1位置には、信号制御抵抗(RA1、RA2、RA3、RA4、RA5、RA6)が設けられている。   Between the connection points P between the wiring L from the key switches (A_SW1, A_SW2, A_SW3, A_SW4, A_SW5, A_SW6) of the first key switch group and the first key scan output signal line (scan line KS_A). Signal control resistors (RA1, RA2, RA3, RA4, RA5, RA6) are provided at a plurality of first positions.

なお、この第1のキースキャン出力信号線(スキャンラインKS_A)上の第1位置に設けられる信号制御抵抗(RA1、RA2、RA3、RA4、RA5、RA6)のことを第1信号制御抵抗と呼ぶこととし、特に断らない限り、第1信号制御抵抗はいずれも同じ抵抗値であるものとして説明を進める。   The signal control resistors (RA1, RA2, RA3, RA4, RA5, RA6) provided at the first position on the first key scan output signal line (scan line KS_A) are referred to as first signal control resistors. Unless otherwise specified, the description will proceed assuming that all the first signal control resistors have the same resistance value.

具体的には、キースイッチ(A_SW2)からの配線Lと第1のキースキャン出力信号線(スキャンラインKS_A)との接続点P同士の間にある第1位置には、第1信号制御抵抗(RA2)が設けられており、キースイッチ(A_SW3)からの配線Lと第1のキースキャン出力信号線(スキャンラインKS_A)との接続点P同士の間にある第1位置には、第1信号制御抵抗(RA3)が設けられており、順次、キースイッチ(A_SW4、A_SW5、A_SW6)についても、それぞれキースイッチ(A_SW3、A_SW4、A_SW5、A_SW6)からの配線Lと第1のキースキャン出力信号線(スキャンラインKS_A)との接続点P同士の間にある第1位置には、それぞれ第1信号制御抵抗(RA4、RA5、RA6)が設けられている。尚、第1信号制御抵抗RA1は、通常出力ポートKS_Aの起点に抵抗が設けられているため配置しなくともよい。   More specifically, the first signal control resistor (the first signal control resistor (A_SW2)) is connected to the connection point P between the wiring L from the key switch (A_SW2) and the first key scan output signal line (scan line KS_A). RA2) is provided, and a first signal is present at a first position between the connection points P of the wiring L from the key switch (A_SW3) and the first key scan output signal line (scan line KS_A). A control resistor (RA3) is provided, and for the key switches (A_SW4, A_SW5, A_SW6), the wiring L and the first key scan output signal line from the key switches (A_SW3, A_SW4, A_SW5, A_SW6), respectively, sequentially. First signal control resistors (RA4, RA5, RA6) are respectively provided at first positions between the connection points P with (scan line KS_A). It has been kicked. The first signal control resistor RA1 need not be disposed because a resistor is provided at the starting point of the normal output port KS_A.

また、キーマトリクス部11は、押下されることで第2のキースキャン出力信号線(スキャンラインKS_B)と各キーリターン入力信号線(リターンラインKR1、KR2、KR3、KR4、KR5、KR6)との間を電気的に接続するキースイッチ(B_SW1、B_SW2、B_SW3、B_SW4、B_SW5、B_SW6)を備えている。
なお、第2のキースキャン出力信号線(スキャンラインKS_B)との間に電気的に接続されている、これらのキースイッチをまとめて呼ぶ場合には、第2のキースイッチ群と呼ぶことにする。
Further, the key matrix unit 11 is pressed to connect the second key scan output signal line (scan line KS_B) and each key return input signal line (return lines KR1, KR2, KR3, KR4, KR5, KR6). Key switches (B_SW 1, B_SW 2, B_SW 3, B_SW 4, B_SW 5, B_SW 6) that electrically connect them are provided.
When these key switches that are electrically connected to the second key scan output signal line (scan line KS_B) are collectively referred to as a second key switch group. .

具体的には、第2のキースイッチ群のそれぞれのキースイッチ(B_SW1、B_SW2、B_SW3、B_SW4、B_SW5、B_SW6)は、第2のキースイッチ群のそれぞれのキースイッチ(B_SW1、B_SW2、B_SW3、B_SW4、B_SW5、B_SW6)と、第2のキースキャン出力信号線(スキャンラインKS_B)及びキーリターン入力信号線(リターンラインKR1、KR2、KR3、KR4、KR5、KR6)とを接続する配線Lによって電気的に接続されている。   Specifically, the key switches (B_SW1, B_SW2, B_SW3, B_SW4, B_SW5, B_SW6) of the second key switch group are the key switches (B_SW1, B_SW2, B_SW3, B_SW4) of the second key switch group. , B_SW5, B_SW6) are electrically connected to the second key scan output signal line (scan line KS_B) and the key return input signal line (return lines KR1, KR2, KR3, KR4, KR5, KR6). It is connected to the.

一方、本例では、第2のキースイッチ群のキースイッチ(B_SW1、B_SW2、B_SW3、B_SW4、B_SW5、B_SW6)からの配線Lと第2のキースキャン出力信号線(スキャンラインKS_B)との接続点P同士の間にある第2位置には、信号制御抵抗が設けられていない。   On the other hand, in this example, the connection point between the wiring L from the key switch (B_SW1, B_SW2, B_SW3, B_SW4, B_SW5, B_SW6) of the second key switch group and the second key scan output signal line (scan line KS_B). No signal control resistor is provided at the second position between Ps.

図1に示すように、各キーリターン入力信号線(リターンラインKR1、KR2、KR3、KR4、KR5、KR6)には、それぞれプルアップ抵抗(R1、R2、R3、R4、R5、R6)を介して電源電圧VDDが印加されている。   As shown in FIG. 1, each key return input signal line (return lines KR1, KR2, KR3, KR4, KR5, KR6) is respectively connected via a pull-up resistor (R1, R2, R3, R4, R5, R6). The power supply voltage VDD is applied.

(キーマトリクス回路の基本動作)
以下では、簡単に、上記構成において、どのようにしてキースイッチの押下状態(キースイッチがONの状態)、非押下状態(キースイッチがOFFの状態)が検出されるのかについて基本動作を説明する。
(Basic operation of key matrix circuit)
In the following, the basic operation of how the key switch is pressed (the key switch is turned on) and the non-pressed state (the key switch is turned off) is detected simply in the above configuration. .

先ず、各キーリターン入力信号線(リターンラインKR1、KR2、KR3、KR4、KR5、KR6)には、それぞれプルアップ抵抗(R1、R2、R3、R4、R5、R6)を介して電源電圧VDDが常に印加されている。   First, each key return input signal line (return lines KR1, KR2, KR3, KR4, KR5, KR6) is supplied with a power supply voltage VDD via a pull-up resistor (R1, R2, R3, R4, R5, R6). Always applied.

制御部12には、図示を省略した6個のA/D(Analog/Digital)入力ポートを有するマイコンが実装されており、その入力ポートに、それぞれの各キーリターン入力信号線(リターンラインKR1、KR2、KR3、KR4、KR5、KR6)が接続されている。
従って、いずれのキースイッチもOFFの場合、つまり、押下されていない場合には、それぞれの入力ポートでは、印加されている電源電圧VDDに応じた電圧値(電位差)、つまり、電圧値がHighの状態が検出される。
The control unit 12 includes a microcomputer having six A / D (Analog / Digital) input ports (not shown), and each key return input signal line (return line KR1, KR2, KR3, KR4, KR5, KR6) are connected.
Therefore, when none of the key switches is turned off, that is, when not pressed, the voltage value (potential difference) corresponding to the applied power supply voltage VDD, that is, the voltage value is High at each input port. A state is detected.

一方、2つのキースキャン出力信号線(スキャンラインKS_A、スキャンラインKS_B)では、スキャンを行いたいキースキャン出力信号線の電圧値をLowとし、他方のキースキャン出力信号線の電圧値をHighとする。この動作は、一定の時間間隔で切り替えが行われている。   On the other hand, in the two key scan output signal lines (scan line KS_A, scan line KS_B), the voltage value of the key scan output signal line to be scanned is set to Low, and the voltage value of the other key scan output signal line is set to High. . This operation is switched at regular time intervals.

つまり、第1のキースキャン出力信号線(スキャンラインKS_A)の電圧値がLowで第2のキースキャン出力信号線(スキャンラインKS_B)の電圧値がHighの状態が一定時間あり、このときにはスキャンを行っているキースキャン出力信号線は、第1のキースキャン出力信号線(スキャンラインKS_A)である。   That is, the voltage value of the first key scan output signal line (scan line KS_A) is low and the voltage value of the second key scan output signal line (scan line KS_B) is high for a certain time. The key scan output signal line being performed is the first key scan output signal line (scan line KS_A).

一定時間経過後、今度は、第1のキースキャン出力信号線(スキャンラインKS_A)の電圧値がHighで第2のキースキャン出力信号線(スキャンラインKS_B)の電圧値がLowの状態とされ、このときにはスキャンを行っているキースキャン出力信号線は、第2のキースキャン出力信号線(スキャンラインKS_B)である。
このように、キースキャン出力信号線のスキャンは、ある時間間隔で交互に繰り返されている。
After a certain period of time, the voltage value of the first key scan output signal line (scan line KS_A) is set to High and the voltage value of the second key scan output signal line (scan line KS_B) is set to Low. At this time, the key scan output signal line that is scanning is the second key scan output signal line (scan line KS_B).
Thus, the scan of the key scan output signal line is repeated alternately at a certain time interval.

ここで、スキャンを行っているキースキャン出力信号線が第1のキースキャン出力信号線(スキャンラインKS_A)である場合について以下で説明する。
この場合、A_SW1、A_SW2、A_SW3、A_SW4、A_SW5、A_SW6のいずれのキースイッチもOFF、つまり、押下されていない時には、やはり、それぞれの入力ポートでは、印加されている電源電圧VDDに応じた電圧値(電位差)、つまり、電圧値がHighの状態が検出されている。
Here, the case where the key scan output signal line that performs scanning is the first key scan output signal line (scan line KS_A) will be described below.
In this case, when any of the key switches A_SW1, A_SW2, A_SW3, A_SW4, A_SW5, and A_SW6 is OFF, that is, when not pressed, the voltage value corresponding to the applied power supply voltage VDD is also applied to each input port. (Potential difference), that is, a state where the voltage value is high is detected.

一方、例えば、キースイッチA_SW2がON、つまり、押下されると、キースイッチA_SW2を介して、第1のキースキャン出力信号線(スキャンラインKS_A)とリターンラインKR2のキーリターン入力信号線とは導通することになる。
このため、第1のキースキャン出力信号線(スキャンラインKS_A)の電圧値Lowを受けてリターンラインKR2のキーリターン入力信号線の電圧値もLowとなる。
On the other hand, for example, when the key switch A_SW2 is turned on, that is, pressed, the first key scan output signal line (scan line KS_A) and the key return input signal line of the return line KR2 are electrically connected via the key switch A_SW2. Will do.
Therefore, in response to the voltage value Low of the first key scan output signal line (scan line KS_A), the voltage value of the key return input signal line of the return line KR2 also becomes Low.

リターンラインKR2のキーリターン入力信号線には、A_SW2とB_SW2のキースイッチが接続されているが、スキャン中のキースキャン出力信号線は、第1のキースキャン出力信号線(スキャンラインKS_A)であるので、これに対応したキースイッチはA_SW2である。   A key switch of A_SW2 and B_SW2 is connected to the key return input signal line of the return line KR2, but the key scan output signal line during scanning is the first key scan output signal line (scan line KS_A). Therefore, the key switch corresponding to this is A_SW2.

従って、第1のキースキャン出力信号線(スキャンラインKS_A)をスキャンしている時に、リターンラインKR2のキーリターン入力信号線の電圧値(電位差)が変化すると、キースイッチA_SW2がON、つまり、押下されていることが検出される。
同様に、キースイッチA_SW1だけがON、つまり、押下されている場合も、基本的には上記キースイッチA_SW2の動作と同じ動作でキースイッチA_SW1が押下さられていることが検出されることになる。
Therefore, when the voltage value (potential difference) of the key return input signal line of the return line KR2 changes while scanning the first key scan output signal line (scan line KS_A), the key switch A_SW2 is turned on, that is, pressed. Is detected.
Similarly, even when only the key switch A_SW1 is ON, that is, when it is pressed, it is detected that the key switch A_SW1 is pressed basically by the same operation as the operation of the key switch A_SW2. .

その他のキースイッチが押下されている場合も、基本的な動作、つまり、どのキースキャン出力信号線をスキャンしている時に、どのキーリターン入力信号線の電圧値(電位差)の変化が検出されるのかによって、どのキースイッチがON、つまり、押下されているのかが判断される。   Even when other key switches are pressed, the basic operation, that is, the change in the voltage value (potential difference) of which key return input signal line is detected when which key scan output signal line is being scanned. It is determined which key switch is turned on, that is, pressed.

(複数のキースイッチが同時押下された時の動作)
本発明の基本的な動作は、上記で説明した通りであり、以下では、同時に複数のキースイッチがON、つまり、押下される場合について説明する。
(Operation when multiple key switches are pressed simultaneously)
The basic operation of the present invention is as described above. Hereinafter, a case where a plurality of key switches are simultaneously turned on, that is, pressed will be described.

図2(a)は、図1と基本的に同じ回路図を示しているが、信号の流れを見やすくするために、キースキャン出力信号線(スキャンラインKS_A、KS_B)とキーリターン入力信号線(リターンラインKR1、KR2、KR3、KR4、KR5、KR6)の部分だけを主に示し、制御部12及びプルアップ抵抗(R1、R2、R3、R4)などを省略して図示している。
なお、以降の図においても、図2(a)と同様に、制御部12及びプルアップ抵抗(R1、R2、R3、R4)などを省略して図示を行う。
FIG. 2A shows a circuit diagram that is basically the same as FIG. 1, but in order to make the signal flow easier to see, key scan output signal lines (scan lines KS_A, KS_B) and key return input signal lines ( Only the portions of the return lines KR1, KR2, KR3, KR4, KR5, and KR6) are mainly shown, and the controller 12 and the pull-up resistors (R1, R2, R3, and R4) are omitted.
In the subsequent drawings, similarly to FIG. 2A, the controller 12 and the pull-up resistors (R1, R2, R3, R4) are omitted for illustration.

まず、隣接する4つのキースイッチA_SW1、A_SW2、B_SW1、B_SW2のうちの複数(3つ)のキースイッチが同時押下されている場合の動作について説明を行う。   First, the operation when a plurality of (three) key switches among the four adjacent key switches A_SW1, A_SW2, B_SW1, and B_SW2 are simultaneously pressed will be described.

最初に、図2(a)の斜めのハッチングが施されているキースイッチA_SW1、A_SW2、B_SW1が同時押下されている状況を想定して説明を進める。
なお、上記のキーマトリクス回路の基本動作では、電圧値が変化していく様子で説明したが、説明の簡略化のため、スキャン信号という表現を用いて、信号の流れとして説明を行う。
また、以降の図において、押下されているキースイッチについては斜めのハッチングを設け、そうでないキースイッチにはハッチングを設けないものとする。
First, the description will be made on the assumption that the key switches A_SW1, A_SW2, and B_SW1 that are diagonally hatched in FIG.
In the basic operation of the key matrix circuit described above, the voltage value has been described as changing. However, for the sake of simplification, the description will be given as the signal flow using the expression scan signal.
In the following drawings, it is assumed that the key switch that is pressed is provided with diagonal hatching, and the key switch that is not provided is not provided with hatching.

図2には図示していないが、スキャンラインKS_Aをスキャンする場合、つまり、スキャンラインKS_Aにスキャン信号が出力された場合には、そのスキャン信号の流れ(電圧の変化の流れ)は、キースイッチA_SW1とキースイッチA_SW2を、それぞれ経由してキーリターン入力信号線(リターンラインKR1、KR2)に入力されることになる。   Although not shown in FIG. 2, when the scan line KS_A is scanned, that is, when a scan signal is output to the scan line KS_A, the flow of the scan signal (voltage change flow) is a key switch. The signals are input to the key return input signal lines (return lines KR1 and KR2) via A_SW1 and key switch A_SW2, respectively.

この場合には、スキャンラインKS_Aをスキャンしている時に、押下されているキースイッチA_SW1、A_SW2に対応したキーリターン入力信号線(リターンラインKR1、KR2)にスキャン信号が入力される(電圧値(電位差)の変化が検出される)ことになり、キースイッチA_SW1、A_SW2が押下されていると判定される。これは、正しい判定状態であるので何ら問題はない。   In this case, when scanning the scan line KS_A, the scan signal is input to the key return input signal lines (return lines KR1, KR2) corresponding to the pressed key switches A_SW1, A_SW2 (voltage value ( It is determined that the key switches A_SW1 and A_SW2 are pressed. Since this is a correct determination state, there is no problem.

一方、図2(a)に示されるように、スキャンラインKS_Bをスキャンするために、スキャンラインKS_Bからスキャン信号を出力(スキャンラインKS_Bの電圧値Low)すると、キーリターン入力信号線のリターンラインKR2にスキャン信号が入力される経路は、B_SW2が1つだけ押下された場合と、A_SW1、A_SW2及びB_SW1の3つが同時に押下された場合の2通りが考えられる。以下それぞれの場合について詳述する。   On the other hand, as shown in FIG. 2A, when a scan signal is output from the scan line KS_B (voltage value Low of the scan line KS_B) in order to scan the scan line KS_B, the return line KR2 of the key return input signal line. There are two possible paths for the scan signal to be input when one B_SW2 is pressed and when three A_SW1, A_SW2, and B_SW1 are pressed simultaneously. Each case will be described in detail below.

まず、通常の1つのキースイッチが押下される場合でリターンラインKR2にスキャン信号が入力されるのは、図2(a)に示す実線の経路を経由する時、つまり、キースイッチB_SW2が押下されている場合である。
なお、1つのキースイッチを押下する場合の方が一般的であるため、以降では、この場合のスキャン信号の経路のことを通常ルートと呼ぶ。
First, when one normal key switch is pressed, the scan signal is input to the return line KR2 when the route passes through the solid line shown in FIG. 2A, that is, the key switch B_SW2 is pressed. It is the case.
Since it is more common to press one key switch, hereinafter, the path of the scan signal in this case is referred to as a normal route.

一方、図2(a)を見るとわかるとおり、この3つのキースイッチ(A_SW1、A_SW2、B_SW1)を同時押下した場合には、スキャン信号は、点線で示す経路を経由してリターンラインKR2に入力される。
なお、以降では、このような複数のキースイッチを経由するスキャン信号の経路のことを回り込みルートと呼ぶ。
On the other hand, as can be seen from FIG. 2A, when the three key switches (A_SW1, A_SW2, B_SW1) are simultaneously pressed, the scan signal is input to the return line KR2 via the path indicated by the dotted line. Is done.
Hereinafter, such a path of the scan signal passing through the plurality of key switches is referred to as a wraparound route.

今、実際に、押下されているのは、キースイッチ(A_SW1、A_SW2、B_SW1)であるが、キースイッチB_SW2は押下されているものと同じ回路となり、キースイッチA_SW1、A_SW2、B_SW1の同時押下なのか、B_SW2の1つだけの押下なのか判定ができない(検出不能)ことになる。   Currently, the key switches (A_SW1, A_SW2, B_SW1) are actually pressed, but the key switch B_SW2 is the same circuit as that being pressed, and the key switches A_SW1, A_SW2, B_SW1 are simultaneously pressed. Therefore, it cannot be determined whether only one pressing of B_SW2 is performed (detection is impossible).

以下では、上記のような検出不能の可能性がある2つのルートが存在する時の本構成の動作について、さらに説明する。
図2(b)にスキャン信号の経路を直線的に示した等価回路を示しており、図2(b)でもプルアップ抵抗R1や制御部12等を省略して図示している。
なお、以降の図において(b)として示す図は、特に断らない限り同図(a)の等価回路を示す図である。
In the following, the operation of this configuration when there are two routes that may be undetectable as described above will be further described.
FIG. 2B shows an equivalent circuit in which the path of the scan signal is shown linearly, and FIG. 2B also shows the pull-up resistor R1, the control unit 12 and the like omitted.
In the following drawings, a diagram shown as (b) is a diagram showing an equivalent circuit of FIG.

図2(b)の左側は、通常ルートの場合の等価回路を示しており、一方、図2(b)の右側は、回り込みルートの等価回路を示している。
図2(b)に示す通り、本発明の構成では、通常ルートには信号制御抵抗が存在せず、一方、回り込みルートには、第1信号制御抵抗RA2が存在する。
従って、リターンラインKR2に入力されるスキャン信号は、通常ルートと回り込みルートとでは、この信号制御抵抗の有無の影響を受けるので異なる電圧値(電位差)として検出される。
The left side of FIG. 2B shows an equivalent circuit in the case of a normal route, while the right side of FIG. 2B shows an equivalent circuit of a wraparound route.
As shown in FIG. 2B, in the configuration of the present invention, there is no signal control resistor in the normal route, while there is a first signal control resistor RA2 in the wraparound route.
Therefore, the scan signal input to the return line KR2 is detected as a different voltage value (potential difference) in the normal route and the sneak route because it is affected by the presence or absence of the signal control resistor.

そして、このキースイッチA_SW1、A_SW2、B_SW1、B_SW2において、スキャンラインKS_Bをスキャンする時に、押下される可能性のあるキースイッチは、B_SW1とB_SW2であるので、この電圧値(電位差)の違いによって、どちらのキースイッチが押下されているのかが判断できるので検出不能を回避することができる。   In the key switches A_SW1, A_SW2, B_SW1, and B_SW2, the key switches that may be pressed when scanning the scan line KS_B are B_SW1 and B_SW2, and therefore, due to the difference in voltage value (potential difference), Since it is possible to determine which key switch is pressed, it is possible to avoid detection failure.

ここで、キースイッチA_SW1、A_SW2、B_SW1の同時押下が検出できる原理を図2に沿って説明する。まずキースイッチA_SW1の押下はKS_Aラインから出力されたLow信号が抵抗RA1とキースイッチA_SW1を経由しKR_1に入力され、KR_1は図示しない電源電圧VDDでプルアップされたプルアップ抵抗と抵抗RA1で分圧された電位となることによって検出される。またキースイッチA_SW2の押下はKS_Aラインから出力されたLow信号が抵抗RA2とキースイッチA_SW2を経由しKR_2に入力され、KR_2は図示しない電源電圧VDDでプルアップされたプルアップ抵抗と抵抗RA2で分圧された電位となることによって検出される。さらにキースイッチB_SW1の押下はKS_Bラインから出力されたLow信号がキースイッチB_SW1を経由しKR_2に入力され、KR_1はLowレベルになることにより検出される。尚、KS_AラインとKS_Bラインから出力されるLow信号は、出力タイミングを異ならせる。   Here, the principle that the simultaneous pressing of the key switches A_SW1, A_SW2, and B_SW1 can be detected will be described with reference to FIG. First, when the key switch A_SW1 is pressed, the Low signal output from the KS_A line is input to the KR_1 via the resistor RA1 and the key switch A_SW1, and KR_1 is divided by the pull-up resistor and the resistor RA1 that are pulled up by the power supply voltage VDD (not shown). It is detected by becoming a pressed potential. When the key switch A_SW2 is pressed, the Low signal output from the KS_A line is input to the KR_2 via the resistor RA2 and the key switch A_SW2, and the KR_2 is divided by the pull-up resistor and the resistor RA2 that are pulled up by the power supply voltage VDD (not shown). It is detected by becoming a pressed potential. Further, pressing of the key switch B_SW1 is detected when the Low signal output from the KS_B line is input to the KR_2 via the key switch B_SW1, and the KR_1 becomes the Low level. The Low signal output from the KS_A line and the KS_B line has different output timings.

次に、図3(a)の斜めのハッチングが施されているキースイッチA_SW1、A_SW2、B_SW2が同時押下されている状況を想定した場合について見てみる。
ここでも、図示を省略しているが、スキャンラインKS_Aをスキャンする時には、先ほど説明したのと同様の結果が得られるので正しい判定状態であり、何ら問題はない。
一方、スキャンラインKS_Bをスキャンする場合には、図3(a)に示すように、やはり、キーリターン入力信号線(リターンラインKR1)に入力されるルートとして2つのルート、つまり、実線で示す通常ルートと点線で示す回り込みルートとが存在する。
Next, let us consider a case where it is assumed that the key switches A_SW1, A_SW2, and B_SW2 that are obliquely hatched in FIG.
Although not shown here, when the scan line KS_A is scanned, the same result as described above is obtained, so that the determination state is correct and there is no problem.
On the other hand, in the case of scanning the scan line KS_B, as shown in FIG. 3A, the two routes that are input to the key return input signal line (return line KR1), that is, the normal line indicated by a solid line are also used. There are a route and a wraparound route indicated by a dotted line.

しかしながら、本発明の構成では、図3(b)に示すように、通常ルートの場合(図左側)には信号制御抵抗が存在せず、一方、回り込みルートの場合(図右側)には、第1信号制御抵抗RA2が存在する。
従って、キーリターン入力信号線(リターンラインKR1)に入力されるスキャン信号は、通常ルートと回り込みルートとでは、異なる電圧値(電位差)が検出されることになるので、この電圧値(電位差)によって、どちらのキースイッチが押下されているのかが判断でき、検出不能を回避することが可能である。
However, in the configuration of the present invention, as shown in FIG. 3B, there is no signal control resistance in the case of the normal route (the left side in the drawing), while in the case of the wraparound route (the right side in the drawing) There is a one-signal control resistor RA2.
Accordingly, the scan signal input to the key return input signal line (return line KR1) detects different voltage values (potential differences) between the normal route and the wraparound route. Therefore, it is possible to determine which key switch is pressed, and to avoid detection failure.

次に、上記と同様に、隣接する4つのキースイッチA_SW1、A_SW2、B_SW1、B_SW2において、キースイッチB_SW1及びB_SW2が押下されるとともに、キースイッチA_SW1又はA_SW2のいずれか1つが押下される複数(3つ)のキースイッチが同時押下されている場合の動作について説明を行う。
この場合、先ほどとは逆に、スキャンラインKS_Bをスキャンする場合には、検出不能を起こすような回り込みルートが発生しないため、問題はスキャンラインKS_A側となる。
Next, in the same manner as described above, in the four adjacent key switches A_SW1, A_SW2, B_SW1, and B_SW2, the key switches B_SW1 and B_SW2 are pressed, and any one of the key switches A_SW1 or A_SW2 is pressed (3 The operation when the two key switches are simultaneously pressed will be described.
In this case, contrary to the previous case, when the scan line KS_B is scanned, there is no wraparound route that causes detection failure, so the problem is on the scan line KS_A side.

図4は、キースイッチA_SW2、B_SW1、B_SW2を同時押下した場合を示しており、先ほどと同様に図4(a)で通常ルートと回り込みルートを示し、図4(b)で通常ルートと回り込みルートの等価回路を示している。
この場合、図4(b)を見るとわかるように、通常ルートでは、第1信号制御抵抗RA1だけが存在するに対して回り込みルートでは第1信号制御抵抗RA1及びRA2が存在するため、やはり、検出不能を回避することが可能である。
FIG. 4 shows a case where the key switches A_SW2, B_SW1, and B_SW2 are simultaneously pressed. As in the previous case, FIG. 4A shows the normal route and the wraparound route, and FIG. 4B shows the normal route and the wraparound route. The equivalent circuit is shown.
In this case, as can be seen from FIG. 4B, only the first signal control resistor RA1 exists in the normal route, whereas the first signal control resistors RA1 and RA2 exist in the sneak route. It is possible to avoid detection failure.

同様に、図5に、キースイッチA_SW1、B_SW1、B_SW2を同時押下した場合を示しているが、この場合でも、通常ルートでは第1信号制御抵抗RA1及びRA2が存在するのに対し、回り込みルートでは、第1信号制御抵抗RA1だけとなるため、やはり、検出不能を回避することが可能である。   Similarly, FIG. 5 shows a case in which the key switches A_SW1, B_SW1, and B_SW2 are simultaneously pressed. Even in this case, the first signal control resistors RA1 and RA2 exist in the normal route, but in the sneak route. Since only the first signal control resistor RA1 is provided, it is possible to avoid detection failure.

なお、上記では、キースイッチA_SW1、A_SW2、B_SW1、B_SW2のうちの3つのキースイッチを同時押下する場合について示してきたが、キースイッチA_SW2、A_SW3、B_SW2、B_SW3の場合であっても、同様に通常ルートと回り込みルートで抵抗の状態が異なることになるため、検出不能を回避することが可能である。 In the above, the case where three key switches among the key switches A_SW1, A_SW2, B_SW1, and B_SW2 are simultaneously pressed has been described. However, the same applies to the case of the key switches A_SW2, A_SW3, B_SW2, and B_SW3. Since the resistance state differs between the normal route and the sneak route, it is possible to avoid detection failure.

つまり、キースイッチA_SW2、A_SW3、B_SW2、B_SW3において、キースイッチA_SW2、A_SW3が押下されるとともに、キースイッチB_SW2、B_SW3のいずれか1つが押下される場合には、スキャンラインKS_Bをスキャンする場合に回り込みルートが発生するが、キースイッチB_SW2が押下されている場合は、通常ルート(キースイッチB_SW3だけを経由するルート)では、信号制御抵抗が存在しない一方、回り込みルートでは第1信号制御抵抗RA3が存在することになる。   In other words, when the key switches A_SW2, A_SW3, B_SW2, and B_SW3 are pressed down and any one of the key switches B_SW2 and B_SW3 is pressed down, the scan line KS_B is sneak in. When a route is generated but the key switch B_SW2 is pressed, the normal route (route passing only through the key switch B_SW3) does not have a signal control resistor, but the sneak route has a first signal control resistor RA3. Will do.

逆に、キースイッチB_SW3の方を押下し、キースイッチB_SW2を押下しない場合には、通常ルート(キースイッチB_SW2だけを経由するルート)では、信号制御抵抗が存在しない一方、回り込みルートでは第1信号制御抵抗RA3が存在することになる。   On the other hand, when the key switch B_SW3 is pressed and the key switch B_SW2 is not pressed, there is no signal control resistance in the normal route (route passing only through the key switch B_SW2), whereas the first signal in the sneak route There will be a control resistor RA3.

同様に、キースイッチA_SW2、A_SW3、B_SW2、B_SW3において、キースイッチB_SW2、B_SW3が押下されるとともに、キースイッチA_SW2、A_SW3のいずれか1つが押下される場合には、スキャンラインKS_Aをスキャンする場合に回り込みルートが発生するが、この場合も通常ルートと回り込みルートとでは、介在する第1信号制御抵抗の数が異なることになるので検出不能を回避することができる。   Similarly, in the case where the key switch A_SW2, A_SW3, B_SW2, B_SW3 is pressed, and when one of the key switches A_SW2 and A_SW3 is pressed, the scan line KS_A is scanned. Although a sneak route is generated, in this case as well, the normal route and the sneak route differ in the number of intervening first signal control resistors, so that the detection failure can be avoided.

具体的には、キースイッチB_SW2、B_SW3が押下されるとともに、キースイッチB_SW2を押下した場合には、通常ルート(キースイッチA_SW3だけを経由するルート)では、第1信号制御抵抗RA1、RA2、RA3が存在するのに対し、回り込みルートでは第1信号制御抵抗RA1、RA2だけが存在することになる。   Specifically, when the key switches B_SW2 and B_SW3 are pressed and the key switch B_SW2 is pressed, the first signal control resistors RA1, RA2, and RA3 in the normal route (route that passes only through the key switch A_SW3). On the other hand, only the first signal control resistors RA1 and RA2 exist in the sneak route.

キースイッチB_SW2、B_SW3が押下されるとともに、キースイッチB_SW3を押下した場合には、通常ルート(キースイッチA_SW2だけを経由するルート)では第1信号制御抵抗RA1、RA2だけが存在するのに対し、回り込みルートでは第1信号制御抵抗RA1、RA2、RA3が存在することになる。   When the key switches B_SW2 and B_SW3 are pressed and the key switch B_SW3 is pressed, only the first signal control resistors RA1 and RA2 exist in the normal route (route passing only through the key switch A_SW2). In the wraparound route, the first signal control resistors RA1, RA2, and RA3 exist.

さらに、上下2つの隣接する4つのキースイッチ間(例えば、キースイッチA_SW3、A_SW4、B_SW3、B_SW4の間や、キースイッチA_SW4、A_SW5、B_SW4、B_SW5の間など)でも同様のことが起こるので、検出不能を回避することが可能になっている。   Furthermore, the same thing happens between two adjacent upper and lower four key switches (for example, between key switches A_SW3, A_SW4, B_SW3, B_SW4, and between key switches A_SW4, A_SW5, B_SW4, B_SW5, etc.). It is possible to avoid the impossibility.

次に、離れた位置での3つのキースイッチの同時押下について見てみる。
図6及び図7はキースイッチA_SW1、A_SW3、B_SW1、B_SW3において、キースイッチA_SW1、A_SW3を押下するとともに、キースイッチB_SW1、B_SW3のどちらか一方を押下するスキャンラインKS_Bをスキャンするときに回り込みが発生する場合を示す図であるが、この場合でも通常ルートには、信号制御抵抗が存在せず、一方、回り込みルートでは第1信号制御抵抗RA2、RA3が存在し、検出不能を回避することが可能である。
Next, let us look at the simultaneous pressing of the three key switches at different positions.
6 and 7 show that when the key switches A_SW1, A_SW3, B_SW1, and B_SW3 are pressed, the wraparound occurs when the scan line KS_B that presses the key switches A_SW1 and A_SW3 and presses either the key switch B_SW1 or B_SW3 is scanned. However, even in this case, there is no signal control resistor in the normal route, while the first signal control resistors RA2 and RA3 are present in the sneak route, and it is possible to avoid the detection failure. It is.

なお、より離れたキースイッチ、例えば、キースイッチA_SW1、A_SW4、B_SW1、B_SW4の間であったとしても、キースイッチA_SW1、A_SW4を押下するとともに、キースイッチB_SW1、B_SW4のどちらか一方を押下する場合には、上記と同様に回り込みが発生するスキャンラインKS_Bをスキャンするときの通常ルートには信号制御抵抗が存在せず、回り込みルートには第1信号制御抵抗が存在することになるので検出不能を回避することが可能であり、この状態は、さらに、離れたキースイッチ間(例えば、キースイッチA_SW1、A_SW5、B_SW1、B_SW5の間や、キースイッチA_SW1、A_SW6、B_SW1、B_SW6の間)でも同様であり、検出不能を回避することが可能になっている。   Even when the key switches A_SW1, A_SW4, B_SW1, and B_SW4 are pressed further apart, for example, the key switches A_SW1 and A_SW4 are pressed and one of the key switches B_SW1 and B_SW4 is pressed. In the same manner as described above, there is no signal control resistor in the normal route when scanning the scan line KS_B in which the wraparound occurs, and the first signal control resistor exists in the wraparound route. This state can be avoided, and this state is also similar between remote key switches (for example, between key switches A_SW1, A_SW5, B_SW1, B_SW5, and between key switches A_SW1, A_SW6, B_SW1, B_SW6). Yes, it is possible to avoid undetectable It has become.

一方、図8及び図9はキースイッチA_SW1、A_SW3、B_SW1、B_SW3において、キースイッチB_SW1、B_SW3を押下するとともに、キースイッチA_SW1、A_SW3のどちらか一方を押下するスキャンラインKS_Aをスキャンするときに回り込みが発生する場合を示す図であるが、この場合でも通常ルートと回り込みルートとでは存在する第1信号制御抵抗の数が異なることになるので、検出不能を回避することが可能である。   On the other hand, FIG. 8 and FIG. 9 wrap around when scanning the scan line KS_A for pressing the key switches B_SW1 and B_SW3 and pressing one of the key switches A_SW1 and A_SW3 in the key switches A_SW1, A_SW3, B_SW1, and B_SW3. However, even in this case, since the number of first signal control resistors that are present differs between the normal route and the sneak route, it is possible to avoid detection failure.

なお、より離れたキースイッチ、例えば、キースイッチA_SW1、A_SW4、B_SW1、B_SW4の間であったとしても、キースイッチB_SW1、B_SW4を押下するとともに、キースイッチA_SW1、A_SW4のどちらか一方を押下する場合には、上記と同様に回り込みが発生するスキャンラインKS_Aをスキャンするときの通常ルートと回り込みルートとでは、存在する第1信号制御抵抗の数が異なることになるので、検出不能を回避することが可能である。   Note that even when the key switches are more distant, for example, between the key switches A_SW1, A_SW4, B_SW1, and B_SW4, the key switches B_SW1 and B_SW4 are pressed and one of the key switches A_SW1 and A_SW4 is pressed As described above, since the number of first signal control resistors existing in the normal route and the wraparound route when scanning the scan line KS_A in which the wraparound occurs is different, it is possible to avoid undetectableness. Is possible.

図2から図9を参照して、第1のキースイッチ群のキースイッチ(A_SW1、A_SW2、A_SW3、A_SW4、A_SW5、A_SW6)からの配線Lと第1のキースキャン出力信号線(スキャンラインKS_A)との接続点Pの手前(出力ポート側)の第1のキースキャン出力信号線(スキャンラインKS_A)上の複数の第1位置に信号制御抵抗(RA1、RA2、RA3、RA4、RA5、RA6)を設けた場合について見てきた。   With reference to FIGS. 2 to 9, the wiring L from the key switches (A_SW1, A_SW2, A_SW3, A_SW4, A_SW5, A_SW6) of the first key switch group and the first key scan output signal line (scan line KS_A) Signal control resistors (RA1, RA2, RA3, RA4, RA5, RA6) at a plurality of first positions on the first key scan output signal line (scan line KS_A) before the connection point P to (output port side) I have seen about the case of providing.

しかしながら、第1実施形態のキースキャン出力信号線が、2つのキースキャン出力信号線(スキャンラインKS_A、スキャンラインKS_B)である場合では、信号制御抵抗の配置は、第1のキースキャン出力信号線(スキャンラインKS_A)上の第1位置に限定されるものではない。   However, when the key scan output signal lines of the first embodiment are two key scan output signal lines (scan line KS_A, scan line KS_B), the arrangement of the signal control resistors is the first key scan output signal line. It is not limited to the first position on (scan line KS_A).

上記の第1信号制御抵抗(RA1、RA2、RA3、RA4、RA5、RA6)のいずれかを省略(例えば、RA4、RA5、RA6)して、代わりに、図10に示すように、第2のキースイッチ群のキースイッチ(B_SW1、B_SW2、B_SW3、B_SW4、B_SW5、B_SW6)からの配線Lと第2のキースキャン出力信号線(スキャンラインKS_B)との接続点Pの手前(出力ポート側)の第2のキースキャン出力信号線(スキャンラインKS_B)上の複数の第2位置であって、同じキーリターン入力信号線(KR4、KR5、KR6)に対応した第1位置に第1信号制御抵抗が設けられていない第2位置、つまり、省略され存在しなくなった第1信号制御抵抗(RA4、RA5、RA6)に対応する第2位置に第1信号制御抵抗(RA1、RA2、RA3)と異なる抵抗値の第2信号制御抵抗(RB4、RB5、RB6)が設けられるようになっていれば良い。   Any one of the first signal control resistors (RA1, RA2, RA3, RA4, RA5, RA6) is omitted (for example, RA4, RA5, RA6) and, instead, as shown in FIG. Before the connection point P (on the output port side) of the wiring L from the key switch (B_SW1, B_SW2, B_SW3, B_SW4, B_SW5, B_SW6) of the key switch group and the second key scan output signal line (scan line KS_B). A first signal control resistor is provided at a plurality of second positions on the second key scan output signal line (scan line KS_B) corresponding to the same key return input signal line (KR4, KR5, KR6). The first position is the second position that is not provided, that is, the second position corresponding to the first signal control resistor (RA4, RA5, RA6) that is omitted and no longer exists. No. control resistor (RA1, RA2, RA3) and a second signal control resistor of different resistance value (RB4, RB5, RB6) it is sufficient so provided.

以下、具体的に、図10に示す信号制御抵抗の配置を変更した第1変形例について、検出不能を回避できることについて見ていくことにする。
まず、図10に示すように、先ほどの第1の信号制御抵抗RA4、RA5、RA6を省略し、その第1信号制御抵抗RA4、RA5、RA6の設けられていた第1位置に対応する同じキーリターン入力信号線(KR4、KR5、KR6)に対応した第2位置(第2のキースイッチ群のキースイッチ(B_SW4、B_SW5、B_SW6)からの配線Lと第2のキースキャン出力信号線(スキャンラインKS_B)との接続点Pの手前(出力ポート側)の位置)に信号制御抵抗RB4、RB5、RB6を設けた場合について見ていく。
なお、この第2のキースキャン出力信号線上に設けられる信号制御抵抗を第2信号制御抵抗と呼ぶこととする。
Hereinafter, specifically, it will be seen that the detection failure can be avoided in the first modified example in which the arrangement of the signal control resistors shown in FIG. 10 is changed.
First, as shown in FIG. 10, the first signal control resistors RA4, RA5, RA6 are omitted, and the same key corresponding to the first position where the first signal control resistors RA4, RA5, RA6 were provided. The wiring L and the second key scan output signal line (scan line) from the second position (key switch (B_SW4, B_SW5, B_SW6) of the second key switch group) corresponding to the return input signal line (KR4, KR5, KR6) The case where the signal control resistors RB4, RB5, and RB6 are provided in front of the connection point P to (KS_B) (position on the output port side) will be described.
The signal control resistor provided on the second key scan output signal line is referred to as a second signal control resistor.

図10から図13は、まず、上下2つの隣接する4つのキースイッチのうち3つのキースイッチを同時押下した場合を示すものであり、スキャンラインKS_Bをスキャンするときに回り込みルートが発生する場合を示している。   FIGS. 10 to 13 show a case where three key switches among the four adjacent upper and lower key switches are simultaneously pressed, and a case where a wraparound route occurs when scanning the scan line KS_B. Show.

キースイッチA_SW1、A_SW2、A_SW3、B_SW1、B_SW2、B_SW3の部分については、先ほどまでと変わるところが無いので、そこから右側の場合について順次押下する上下2つの隣接する4つのキースイッチのグループをシフトさせていった場合を示している。   Since there is no change in the parts of the key switches A_SW1, A_SW2, A_SW3, B_SW1, B_SW2, and B_SW3, the groups of four adjacent upper and lower key switches that are sequentially pressed are shifted from there. Shows the case.

図10から図13に示すように、いずれの場合においても通常ルートと回り込みルートとで抵抗の状態が異なることになり、検出不能を回避できることがわかる。
なお、さらに、上下2つの隣接する4つのキースイッチのグループを右側にシフトしても同様に通常ルートと回り込みルートとで抵抗の状態が異なる状態が続く。
As shown in FIGS. 10 to 13, it can be understood that in any case, the resistance state is different between the normal route and the sneak route, and the detection failure can be avoided.
Further, even when the group of four adjacent upper and lower key switches is shifted to the right side, the resistance state continues to be different between the normal route and the sneak route.

次に、図10から図13と同様の信号制御抵抗の配置において、上下2つの隣接する4つのキースイッチのうち3つのキースイッチを同時押下した場合にスキャンラインKS_Aをスキャンするときに回り込みルートが発生する場合を、図10から図13と同様に、上下2つの隣接する4つのキースイッチのグループをシフトさせていった場合について、図14から図17に示しているが、この場合でも通常ルートと回り込みルートとで抵抗の状態が異なることになり、検出不能を回避できることがわかる。
なお、さらに、上下2つの隣接する4つのキースイッチのグループを右側にシフトしても同様に通常ルートと回り込みルートとで抵抗の状態が異なる状態が続く。
Next, in the same signal control resistor arrangement as in FIGS. 10 to 13, when the scan line KS_A is scanned when three key switches among the upper and lower two adjacent key switches are simultaneously pressed, As shown in FIGS. 10 to 13, the case where the two adjacent upper and lower key switch groups are shifted is shown in FIGS. 14 to 17. It can be seen that the state of resistance is different between the sneak path and the wraparound route, so that the detection failure can be avoided.
Further, even when the group of four adjacent upper and lower key switches is shifted to the right side, the resistance state continues to be different between the normal route and the sneak route.

また、図示は省略するが、図6から図9を参照して説明した離れた位置で3つのキースイッチの同時押下の場合でも通常ルートと回り込みルートとで抵抗の状態が異なることを確認しており、検出不能を回避できるようになっている。
さらに、図18(第2変形例)、図19(第3変形例)、図20(第4変形例)に示す信号制御抵抗(第1信号制御抵抗及び第2信号制御抵抗)の配置においても、同様に上下2つの隣接する4つのキースイッチのグループ内、並びに、離れた位置での3つのキースイッチの同時押下のどちらの場合においても通常ルートと回り込みルートとで抵抗の状態が異なることを確認しており、検出不能を回避できるようになっている。
Although illustration is omitted, it is confirmed that the resistance state is different between the normal route and the sneak route even when the three key switches are simultaneously pressed at the distant positions described with reference to FIGS. Therefore, it is possible to avoid detection failure.
Further, in the arrangement of the signal control resistors (first signal control resistor and second signal control resistor) shown in FIG. 18 (second modification), FIG. 19 (third modification), and FIG. 20 (fourth modification). Similarly, in both the upper and lower groups of four adjacent key switches, and in the case of simultaneous pressing of three key switches at remote positions, the resistance state differs between the normal route and the sneak route. It has been confirmed that it is possible to avoid detection failure.

例えば、図19(第3変形例)の信号制御抵抗の配置の場合について、検出不能を回避することができることについて、念のため示しておく。
この図19に示す第3変形例の信号制御抵抗の配置は、第1のキースイッチ群のキースイッチ(A_SW1、A_SW2、A_SW3、A_SW4、A_SW5、A_SW6)からの配線Lと第1のキースキャン出力信号線(スキャンラインKS_A)との接続点Pの手前(出力ポート側)の第1のキースキャン出力信号線(スキャンラインKS_A)上の複数の第1位置は、第1信号制御抵抗(RA1、RA3、RA5)を有する第1位置と第1信号制御抵抗を有しない第1位置が交互に現れるようになっている。
For example, in the case of the arrangement of the signal control resistors in FIG. 19 (third modified example), it will be shown just in case that it is possible to avoid undetectability.
The arrangement of the signal control resistors of the third modified example shown in FIG. 19 is the wiring L and the first key scan output from the key switches (A_SW1, A_SW2, A_SW3, A_SW4, A_SW5, A_SW6) of the first key switch group. A plurality of first positions on the first key scan output signal line (scan line KS_A) before the connection point P to the signal line (scan line KS_A) (on the output port side) are the first signal control resistors (RA1,. The first position having RA3, RA5) and the first position not having the first signal control resistor appear alternately.

そして、第2のキースイッチ群のキースイッチ(B_SW1、B_SW2、B_SW3、B_SW4、B_SW5、B_SW6)からの配線Lと第2のキースキャン出力信号線(スキャンラインKS_B)との接続点Pの手前(出力ポート側)の第2のキースキャン出力信号線(スキャンラインKS_B)上の複数の第2位置であって同じキーリターン入力信号線(KR1、KR2、KR3、KR4、KR5、KR6)に対応した第1位置に第1信号制御抵抗が設けられていない第2位置、つまり、キーリターン入力信号線(KR2、KR4、KR6)に対応する第2位置には、第1信号制御抵抗と異なる抵抗値の第2の信号制御抵抗(RB2、RB4、RB6)が設けられている。   Then, before the connection point P between the wiring L from the key switch (B_SW1, B_SW2, B_SW3, B_SW4, B_SW5, B_SW6) of the second key switch group and the second key scan output signal line (scan line KS_B) ( Corresponding to the same key return input signal line (KR1, KR2, KR3, KR4, KR5, KR6) at a plurality of second positions on the second key scan output signal line (scan line KS_B) on the output port side) The second position where the first signal control resistor is not provided at the first position, that is, the second position corresponding to the key return input signal line (KR2, KR4, KR6) has a resistance value different from that of the first signal control resistor. Second signal control resistors (RB2, RB4, RB6) are provided.

このような信号制御抵抗の配置である場合に、上下2つの隣接する4つのキースイッチのグループ内の3つのキースイッチの同時押下、及び、離れた3つのキースイッチの同時押下のあり得る基本的なパターンの全てについて、信号の経路を示す図及び等価回路図を示し、検出不能が回避できるようになっていることを以下に示す。   In the case of such an arrangement of signal control resistors, there is basically a possibility of simultaneous pressing of three key switches in a group of two adjacent upper and lower key switches and simultaneous pressing of three separated key switches. For all of these patterns, a diagram showing a signal path and an equivalent circuit diagram are shown, and it will be shown below that the detection failure can be avoided.

図21から図26は、上下2つの隣接する4つのキースイッチのグループの場合において、スキャンラインKS_Bをスキャンするときに回り込みルートが発生する場合を示しており、左側のキースイッチ(A_SW1、B_SW1)側からそれ以上4つのキースイッチのグループを右側にシフトさせても、それまでに示すのと同じ状態の繰り返しとなる状態までの一連のパターンを示したものになっている。   FIG. 21 to FIG. 26 show a case where a sneak route occurs when scanning the scan line KS_B in the case of two adjacent upper and lower key switch groups, and the left key switches (A_SW1, B_SW1). Even if a group of four more key switches from the side is shifted to the right side, a series of patterns up to a state where the same state as described above is repeated is shown.

同様に図27から図32は、スキャンラインKS_Aをスキャンするときに回り込みルートが発生する場合について、それ以上4つのキースイッチのグループを右側にシフトさせても、それまでに示すのと同じ状態の繰り返しとなる状態までの一連のパターンを示したものになっている。   Similarly, FIGS. 27 to 32 show that when a sneak route occurs when scanning the scan line KS_A, even if a group of four more key switches is shifted to the right side, the same state as shown so far is obtained. It shows a series of patterns up to the repeated state.

さらに、図33から図40は、離れた位置での3つのキースイッチの同時押下する場合を示しており、スキャンラインKS_Bをスキャンするときに回り込みルートが発生するキースイッチの一連のパターンを示したものになっており、図41から図48は、同様にスキャンラインKS_Aをスキャンするときに回り込みルートが発生するキースイッチの一連のパターンを示したものになっている。   Further, FIG. 33 to FIG. 40 show a case where three key switches are simultaneously pressed at separate positions, and show a series of key switch patterns in which a sneak route is generated when scanning the scan line KS_B. FIG. 41 to FIG. 48 show a series of key switch patterns in which a wraparound route is generated when the scan line KS_A is similarly scanned.

これら図21から図48を見るとわかるように、第1信号制御抵抗(RA1、RA3、RA5)と第2信号制御抵抗(RB2、RB4、RB6)が異なる抵抗値とされているので基本的に通常ルートと回り込みルートとの抵抗値(合成抵抗)が異なることになり、検出不能を回避することができる。   As can be seen from FIGS. 21 to 48, the first signal control resistors (RA1, RA3, RA5) and the second signal control resistors (RB2, RB4, RB6) have different resistance values. The resistance value (synthetic resistance) is different between the normal route and the wraparound route, and it is possible to avoid detection failure.

なお、図37に示すような場合がまれにあるので、第1信号制御抵抗(RA1、RA3、RA5)の抵抗値BRを基準に第2信号制御抵抗(RB2、RB4、RB6)は1/2倍及び2倍の抵抗値((1/2)×BR、2×BR)を除く、第1信号制御抵抗と異なる抵抗値とすることが望ましい。   Since the case shown in FIG. 37 is rare, the second signal control resistors (RB2, RB4, RB6) are 1/2 based on the resistance value BR of the first signal control resistors (RA1, RA3, RA5). It is desirable that the resistance value is different from the first signal control resistance except for the double and double resistance values ((1/2) × BR, 2 × BR).

(第2実施形態)
第1実施形態では、2つのキースキャン出力信号線(スキャンラインKS_A、スキャンラインKS_B)の場合について示してきたが、第2実施形態では、キースキャン出力信号線が4つの場合(スキャンラインKS_A、スキャンラインKS_B、スキャンラインKS_C、スキャンラインKS_D)に拡張する方法について説明する。
(Second Embodiment)
In the first embodiment, the case of two key scan output signal lines (scan line KS_A, scan line KS_B) has been described. However, in the second embodiment, the case of four key scan output signal lines (scan line KS_A, A method of extending to the scan line KS_B, the scan line KS_C, and the scan line KS_D) will be described.

例えば、詳細に示した図19の場合のスキャンラインKS_A、スキャンラインKS_Bをもう一セット増やすようにして図49のように、4つのキースキャン出力信号線(スキャンラインKS_A、スキャンラインKS_B、スキャンラインKS_C、スキャンラインKS_D)とした場合、図49に示すように、通常ルートと回り込みルートとで同じ抵抗値となる場合が生じるため、検出不能を起こすことになる。   For example, the number of scan lines KS_A and scan line KS_B in the case of FIG. 19 shown in detail is increased by another set, and as shown in FIG. 49, four key scan output signal lines (scan line KS_A, scan line KS_B, scan line) In the case of KS_C and scan line KS_D), as shown in FIG. 49, the normal route and the sneak route may have the same resistance value, so that detection becomes impossible.

そこで、図50に示すように、追加した2つのキースキャン出力信号線(スキャンラインKS_C、スキャンラインKS_D)においては、信号制御抵抗をキースキャン出力信号線上ではなく、キースイッチとキースキャン出力信号線(スキャンラインKS_C、スキャンラインKS_D)及びキーリターン入力信号線(KR1、KR2、KR3、KR4、KR5、KR6)とを接続する配線に信号制御抵抗を挿入するように設ける。   Therefore, as shown in FIG. 50, in the two added key scan output signal lines (scan line KS_C, scan line KS_D), the signal control resistance is not on the key scan output signal line but on the key switch and the key scan output signal line. A signal control resistor is inserted in a wiring connecting (scan line KS_C, scan line KS_D) and key return input signal lines (KR1, KR2, KR3, KR4, KR5, KR6).

なお、キースイッチを基準とするとキースイッチとキースキャン出力信号線(スキャンラインKS_C、スキャンラインKS_D)及びキーリターン入力信号線(KR1、KR2、KR3、KR4、KR5、KR6)とを接続する配線は、キースイッチからキースキャン出力信号線(スキャンラインKS_C、スキャンラインKS_D)に向かう配線Lとキースイッチからキーリターン入力信号線(KR1、KR2、KR3、KR4、KR5、KR6)に向かう配線Lとがあるが、挿入される信号制御抵抗はどちらに向かう配線側に設けられても良い。   When the key switch is used as a reference, the wiring connecting the key switch to the key scan output signal lines (scan line KS_C, scan line KS_D) and key return input signal lines (KR1, KR2, KR3, KR4, KR5, KR6) , A wiring L going from the key switch to the key scan output signal line (scan line KS_C, scan line KS_D) and a wiring L going from the key switch to the key return input signal line (KR1, KR2, KR3, KR4, KR5, KR6). However, the signal control resistor to be inserted may be provided on either side of the wiring.

具体的には、図50では、第2のキースキャン出力信号線(スキャンラインKS_B)の隣に配置されるように第3のキースキャン出力信号線(スキャンラインKS_C)を設け、押下されることで第3のキースキャン出力信号線(スキャンラインKS_C)と各キーリターン入力信号線(KR1、KR2、KR3、KR4、KR5、KR6)とを電気的に接続するキースイッチ(C_SW1、C_SW2、C_SW3、C_SW4、C_SW5、C_SW6)を設けるようにしている。
なお、第3のキースキャン出力信号線(スキャンラインKS_C)との間に電気接続されている、これらのキースイッチをまとめて呼ぶ場合には、第3のキースイッチ群と呼ぶことにする。
Specifically, in FIG. 50, the third key scan output signal line (scan line KS_C) is provided so as to be arranged next to the second key scan output signal line (scan line KS_B), and pressed. The key switches (C_SW1, C_SW2, C_SW3) electrically connecting the third key scan output signal line (scan line KS_C) and the key return input signal lines (KR1, KR2, KR3, KR4, KR5, KR6) C_SW4, C_SW5, C_SW6) are provided.
When these key switches that are electrically connected to the third key scan output signal line (scan line KS_C) are collectively referred to, they are referred to as a third key switch group.

但し、図50では、第2のキースキャン出力信号線(スキャンラインKS_B)の隣に配置されるように第3のキースキャン出力信号線(スキャンラインKS_C)を設けているが、第1のキースキャン出力信号線(スキャンラインKS_A)の隣に配置されるように第3のキースキャン出力信号線(スキャンラインKS_C)を設けるようにしても良い。   However, in FIG. 50, the third key scan output signal line (scan line KS_C) is provided so as to be arranged next to the second key scan output signal line (scan line KS_B). A third key scan output signal line (scan line KS_C) may be provided so as to be arranged next to the scan output signal line (scan line KS_A).

また、第3のキースキャン出力信号線(スキャンラインKS_C)の隣に配置されるように第4のキースキャン出力信号線(スキャンラインKS_D)を設け、押圧されることで第4のキースキャン出力信号線(スキャンラインKS_D)と各キーリターン入力信号線(KR1、KR2、KR3、KR4、KR5、KR6)とを電気的に接続するキースイッチ(D_SW1、D_SW2、D_SW3、D_SW4、D_SW5、D_SW6)を設けるようにしている。
なお、第4のキースキャン出力信号線(スキャンラインKS_D)との間に電気接続されている、これらのキースイッチをまとめて呼ぶ場合には、第4のキースイッチ群と呼ぶことにする。
Also, a fourth key scan output signal line (scan line KS_D) is provided so as to be arranged next to the third key scan output signal line (scan line KS_C), and the fourth key scan output is output by being pressed. Key switches (D_SW1, D_SW2, D_SW3, D_SW4, D_SW5, D_SW6) for electrically connecting the signal line (scan line KS_D) and each key return input signal line (KR1, KR2, KR3, KR4, KR5, KR6) I am trying to provide it.
When these key switches electrically connected to the fourth key scan output signal line (scan line KS_D) are collectively called, they are called a fourth key switch group.

その上で、第3のキースイッチ群のキースイッチ(C_SW1、C_SW2、C_SW3、C_SW4、C_SW5、C_SW6)と第3のキースキャン出力信号線(スキャンラインKS_C)及びキーリターン入力信号線(KR1、KR2、KR3、KR4、KR5、KR6)とを接続する配線には、第3信号制御抵抗(RC1、RC3、RC5)が挿入されている配線と第3信号制御抵抗が挿入されていない配線とが交互に設けられているようになっている。   Then, the key switches (C_SW1, C_SW2, C_SW3, C_SW4, C_SW5, C_SW6) of the third key switch group, the third key scan output signal line (scan line KS_C), and the key return input signal line (KR1, KR2) , KR3, KR4, KR5, KR6), the wiring in which the third signal control resistors (RC1, RC3, RC5) are inserted and the wiring in which the third signal control resistors are not inserted are alternately arranged. Has been provided.

また、第3のキースイッチ群のキースイッチ(C_SW1、C_SW2、C_SW3、C_SW4、C_SW5、C_SW6)と第3のキースキャン出力信号線(スキャンラインKS_C)及びキーリターン入力信号線(KR1、KR2、KR3、KR4、KR5、KR6)とを接続する配線Lに第3信号制御抵抗が設けられていない配線で第3のキースイッチ群のキースイッチ(C_SW2、C_SW4、C_SW6)が接続されているキーリターン入力信号線(KR2、KR4、KR6)に対応した第4のキースイッチ群のキースイッチ(D_SW2、D_SW4、D_SW6)と第4のキースキャン出力信号線(スキャンラインKS_D)及びキーリターン入力信号線(KR2、KR4、KR6)とを接続する配線Lには、第4信号制御抵抗(RD2、RD4、RD6)が挿入された配線が設けられているようになっている。
このようにすることで、図50に示す通り、図49で示した検出不能を回避することが可能となる。
Further, the key switches (C_SW1, C_SW2, C_SW3, C_SW4, C_SW5, C_SW6) of the third key switch group, the third key scan output signal line (scan line KS_C), and the key return input signal lines (KR1, KR2, KR3) , KR4, KR5, KR6), the key return input in which the key switch (C_SW2, C_SW4, C_SW6) of the third key switch group is connected to the wiring L connecting the wiring L to the third signal control resistor The key switch (D_SW2, D_SW4, D_SW6) of the fourth key switch group corresponding to the signal line (KR2, KR4, KR6), the fourth key scan output signal line (scan line KS_D), and the key return input signal line (KR2) , KR4, KR6) to the wiring L connecting the fourth signal control. Resistance (RD2, RD4, RD6) is inserted wiring is so provided.
By doing so, as shown in FIG. 50, it becomes possible to avoid the detection failure shown in FIG.

ところで、図50に示した信号制御抵抗の配置の場合、図51に示すような3つのキースイッチを同時押下する場合、通常ルートには第3の信号制御抵抗(RC1)が存在し、回り込みルートには第2の信号制御抵抗(RB2)が存在するが、これらの信号制御抵抗が同じ抵抗値を有する場合、検出不能が発生することになる。   By the way, in the case of the arrangement of the signal control resistors shown in FIG. 50, when the three key switches as shown in FIG. 51 are simultaneously pressed, the normal route has the third signal control resistor (RC1), and the wraparound route. However, when these signal control resistors have the same resistance value, detection failure occurs.

このような場合が発生することを回避するために、第3信号制御抵抗(RC1、RC3、RC5)は、第1信号制御抵抗(RA1、RA3、RA5)や第2信号制御抵抗(RB2、RB4、RB6)と異なる抵抗値のものとする。
同様に、第4信号制御抵抗(RD2、RD4、RD5)についても、第1信号制御抵抗(RA1、RA3、RA5)、第2信号制御抵抗(RB2、RB4、RB6)及び第3信号制御抵抗(RC1、RC3、RC5)と異なる抵抗値のものとする。
In order to avoid such a case, the third signal control resistors (RC1, RC3, RC5) are connected to the first signal control resistors (RA1, RA3, RA5) and the second signal control resistors (RB2, RB4). , RB6) and a different resistance value.
Similarly, for the fourth signal control resistors (RD2, RD4, RD5), the first signal control resistors (RA1, RA3, RA5), the second signal control resistors (RB2, RB4, RB6) and the third signal control resistors ( RC1, RC3, RC5) and different resistance values.

また、図52に示すように、第3のキースイッチ群(C_SW1、C_SW2、C_SW3、C_SW4、C_SW5、C_SW6)及び第4のキースイッチ群(D_SW1、D_SW2、D_SW3、D_SW4、D_SW5、D_SW6)のうち、同じキーリターン入力信号線(KR4)に接続された2つのキースイッチ(C_SW4、D_SW4)と、同じキーリターン入力信号線(KR4)に隣接しない別のキーリターン入力信号線(KR2)に接続されたキースイッチ(A_SW2、B_SW2、C_SW2、D_SW2)であって先の2つのキースイッチ(C_SW4、D_SW4)が接続されるキースキャン出力信号線(スキャンラインKS_C、スキャンラインKS_D)に接続されている一方と他方のキースイッチ(C_SW2、D_SW2)のうちの一方のキースイッチ(C_SW2)と、を経由する回り込みルート、及び、他方のキースイッチ(D_SW2)だけを経由する通常ルートにおいては、回り込みルート上に1つの第4信号制御抵抗(RD4)が存在し、通常ルートに1つの第4信号制御抵抗(RD2)が存在しているだけのため、回り込みルートの全体での抵抗と通常ルートの全体での抵抗とが同じ抵抗値となり、検出不能を起こすことになる。   As shown in FIG. 52, among the third key switch group (C_SW1, C_SW2, C_SW3, C_SW4, C_SW5, C_SW6) and the fourth key switch group (D_SW1, D_SW2, D_SW3, D_SW4, D_SW5, D_SW6) Two key switches (C_SW4, D_SW4) connected to the same key return input signal line (KR4) and another key return input signal line (KR2) not adjacent to the same key return input signal line (KR4) One key switch (A_SW2, B_SW2, C_SW2, D_SW2) connected to a key scan output signal line (scan line KS_C, scan line KS_D) to which the two previous key switches (C_SW4, D_SW4) are connected And the other key switch (C_ One of the key switches (C_SW2) of W2 and D_SW2) and a normal route that passes only through the other key switch (D_SW2) have one fourth signal control on the wraparound route. Since there is a resistor (RD4) and only one fourth signal control resistor (RD2) is present in the normal route, the resistance of the entire wraparound route and the resistance of the normal route are the same. As a result, detection becomes impossible.

なお、本例では、回り込みルートも通常ルートも1つの第4信号制御抵抗だけが存在する場合になっているが、例えば、C_SW3、D_SW3、D_SW5を同時押下した場合には、第3のキースキャン出力信号線(スキャンラインKS_C)をスキャンするときの回り込みルート(C_SW3→D_SW3→D_SW5を経由するルート)及び通常ルート(C_SW5)に、それぞれ1つの第3信号制御抵抗だけが存在する状態となり、検出不能を起こすことになる。   In this example, there is only one fourth signal control resistor for both the sneak route and the normal route. For example, when C_SW3, D_SW3, and D_SW5 are simultaneously pressed, the third key scan is performed. Only one third signal control resistor exists in each of the sneak route (route via C_SW3 → D_SW3 → D_SW5) and the normal route (C_SW5) when scanning the output signal line (scan line KS_C). It will cause disability.

このような特異な個所においては、回り込みルートの全体での抵抗と通常ルートの全体での抵抗値が異なる抵抗値となるように回り込みルート上及び通常ルート上に位置する第3信号制御抵抗及び第4信号制御抵抗の抵抗値を選択するようにすれば良い。   In such a unique part, the third signal control resistor and the second signal control resistor located on the wraparound route and the normal route so that the resistance value of the entire wraparound route and the resistance value of the entire normal route are different from each other. The resistance value of the 4-signal control resistor may be selected.

以上のように、具体的に実施形態に基づいて説明してきた通り、外付け抵抗(信号制御抵抗)を上述のような配置とすることで、キースイッチの複数同時押下時の検出不能を回避できるとともに、必要とされる信号制御抵抗の数をキースイッチの数に対してほぼ半分の数に減らすことが可能である。
したがって、低コスト化が可能である通常のスイッチと外付け抵抗とを用いた構成でありながら、実装スペースの増加を大幅に抑制することができる。
また、検出不能を回避するために必要な信号制御抵抗の種類(抵抗値が異なる信号制御抵抗)も大幅に少なくて良いため、この点からも低コスト化が行い易い。
As described above, as described in detail based on the embodiment, by arranging the external resistors (signal control resistors) as described above, it is possible to avoid detection failure when a plurality of key switches are simultaneously pressed. At the same time, the number of signal control resistors required can be reduced to almost half the number of key switches.
Therefore, an increase in mounting space can be significantly suppressed while using a normal switch and an external resistor that can be reduced in cost.
Further, since the number of types of signal control resistors (signal control resistors having different resistance values) necessary for avoiding the undetectability may be significantly reduced, it is easy to reduce the cost from this point.

以上、本発明の好ましい実施形態について詳述したが、本発明の技術的範囲は上記実施形態に記載の範囲には限定されないことは言うまでもない。
例えば、図50に示した態様では、第3のキースイッチ群のうちのキースイッチC_SW1、C_SW3、C_SW5のところに第3信号制御抵抗(RC1、RC3、RC5)を設け、第4のキースイッチ群のうちのキースイッチD_SW2、D_SW4、D_SW6のところに第4信号制御抵抗(RD2、RD4、RD6)を設けるようにしているが、この関係は逆であっても良い。
As mentioned above, although preferred embodiment of this invention was explained in full detail, it cannot be overemphasized that the technical scope of this invention is not limited to the range as described in the said embodiment.
For example, in the mode shown in FIG. 50, a third signal control resistor (RC1, RC3, RC5) is provided at the key switches C_SW1, C_SW3, C_SW5 of the third key switch group, and the fourth key switch group. Of these, the fourth signal control resistors (RD2, RD4, RD6) are provided at the key switches D_SW2, D_SW4, D_SW6, but this relationship may be reversed.

つまり、第3のキースイッチ群のうちのキースイッチC_SW2、C_SW4、C_SW6のところに第3信号制御抵抗(RC2、RC4、RC6)を設け、第4のキースイッチ群のうちのキースイッチD_SW1、D_SW3、D_SW5のところに第4信号制御抵抗(RD1、RD3、RD5)を設けるようにしても良い。   That is, the third signal control resistors (RC2, RC4, RC6) are provided at the key switches C_SW2, C_SW4, C_SW6 of the third key switch group, and the key switches D_SW1, D_SW3 of the fourth key switch group are provided. , D_SW5 may be provided with fourth signal control resistors (RD1, RD3, RD5).

さらに、上記第2実施形態では、キースキャン出力信号線を4つに拡張した場合について示したが、第4のキースキャン出力信号線(スキャンラインKS_D)を省略し、3つのスキャン出力信号線だけの状態としても良い。   Further, in the second embodiment, the case where the number of key scan output signal lines is expanded to four has been described. However, the fourth key scan output signal line (scan line KS_D) is omitted, and only three scan output signal lines are provided. It is good also as the state of.

このように、本発明は、上記実施形態に限定されるものではなく、多様な変更または改良を加えることが可能であることが当業者には明らかであり、その様な変更または改良を加えた形態も本発明の技術的範囲に含まれ得ることが、特許請求の範囲の記載から明らかである。   As described above, it is obvious to those skilled in the art that the present invention is not limited to the above-described embodiment, and various changes or improvements can be made. It is apparent from the scope of the claims that the embodiments can be included in the technical scope of the present invention.

10…キーマトリクス回路、11…キーマトリクス部、12…制御部、KS_A,KS_B,KS_C,KS_D…スキャンライン(第1〜4のキースキャン出力信号線)、KR1〜KR6…リターンライン(キーリターン入力信号線)、A_SW1,A_SW2,A_SW3,A_SW4,A_SW5,A_SW6…キースイッチ(第1のキースイッチ群)、B_SW1,B_SW2,B_SW3,B_SW4,B_SW5,B_SW6…キースイッチ(第2のキースイッチ群)、C_SW1,C_SW2,C_SW3,C_SW4,C_SW5,C_SW6…キースイッチ(第3のキースイッチ群)、D_SW1,D_SW2,D_SW3,D_SW4,D_SW5,D_SW6…キースイッチ(第4のキースイッチ群)、RA1,RA2,RA3,RA4,RA5,RA6,RB2,RB3,RB4,RB5,RB6,RC1,RC3,RC5,RD2,RD4,RD5…信号制御抵抗(第1〜4信号制御抵抗)、P…接続点、L…配線(キースキャン信号線又はキーリターン信号線とスイッチとを接続する配線)   DESCRIPTION OF SYMBOLS 10 ... Key matrix circuit, 11 ... Key matrix part, 12 ... Control part, KS_A, KS_B, KS_C, KS_D ... Scan line (1st-4th key scan output signal line), KR1-KR6 ... Return line (key return input) Signal line), A_SW1, A_SW2, A_SW3, A_SW4, A_SW5, A_SW6 ... key switches (first key switch group), B_SW1, B_SW2, B_SW3, B_SW4, B_SW5, B_SW6 ... key switches (second key switch group), C_SW1, C_SW2, C_SW3, C_SW4, C_SW5, C_SW6 ... key switches (third key switch group), D_SW1, D_SW2, D_SW3, D_SW4, D_SW5, D_SW6 ... key switches (fourth key switch group), RA1, RA , RA3, RA4, RA5, RA6, RB2, RB3, RB4, RB5, RB6, RC1, RC3, RC5, RD2, RD4, RD5... Signal control resistor (first to fourth signal control resistors), P. ... Wiring (wiring that connects the key scan signal line or key return signal line to the switch)

Claims (4)

キーマトリクス回路であって、
第1のキースキャン出力信号線と、
第2のキースキャン出力信号線と、
プルアップ抵抗を介して電源電圧が印加された複数のキーリターン入力信号線と、
前記第1のキースキャン信号線と各々の前記キーリターン信号線との間を電気的に接続する第1のキースイッチ群である複数のキースイッチと、
前記第2のキースキャン信号線と各々の前記キーリターン信号線との間を電気的に接続する第2のキースイッチ群である複数のキースイッチと、
前記第1のキースキャン信号線上には前記第1のキースキャン信号線に第1のキースイッチ群である複数のキースイッチがそれぞれ接続される複数の第1接続点と、
前記第2のキースキャン信号線上には前記第2のキースキャン信号線に第2のキースイッチ群である複数のキースイッチがそれぞれ接続される複数の第2接続点と、を備え、
隣り合う前記第1接続点間の位置をある第1位置とし、隣り合う前記第2接続点間の位置を第2位置としたときに、前記キースイッチを介し同じ前記キーリターン入力信号線に接続された前記第1位置または前記第2位置のいずれか一方の位置に信号制御抵抗が設けられ、かつ前記複数の第1位置に設けられた第1信号制御抵抗の抵抗値と前記複数の第2位置に設けられた第2信号制御抵抗の抵抗値とが異なることを特徴とするキーマトリクス回路。
A key matrix circuit,
A first key scan output signal line;
A second key scan output signal line;
A plurality of key return input signal lines to which a power supply voltage is applied via a pull-up resistor;
A plurality of key switches which are a first key switch group for electrically connecting the first key scan signal line and each of the key return signal lines;
A plurality of key switches which are a second key switch group for electrically connecting the second key scan signal line and each of the key return signal lines;
On the first key scan signal line, a plurality of first connection points respectively connected to the first key scan signal line and a plurality of key switches as a first key switch group;
On the second key scan signal line, a plurality of second connection points respectively connected to the second key scan signal line and a plurality of key switches that are a second key switch group,
When the position between the adjacent first connection points is a first position and the position between the adjacent second connection points is a second position, the same key return input signal line is connected via the key switch. A signal control resistor is provided at one of the first position and the second position, and the resistance value of the first signal control resistor provided at the plurality of first positions and the plurality of second positions are provided. A key matrix circuit characterized in that a resistance value of a second signal control resistor provided at a position is different.
さらに、前記第1のキースキャン出力信号線、前記第2のキースキャン出力信号線に加え第3のキースキャン出力信号線が配置され、
前記第3のキースキャン信号線と各々の前記キーリターン信号線との間を電気的に接続する第3のキースイッチ群である複数のキースイッチと、
前記第3のキースキャン信号線上には前記第3のキースキャン信号線に第3のキースイッチ群である複数のキースイッチがそれぞれ接続される複数の第3接続点と、を備え、
隣り合う前記第3接続点間の位置を第3位置としたときに、前記第3位置には1つおきに第3信号制御抵抗が設けられ、かつ前記第3信号制御抵抗の抵抗値は、前記第1信号制御抵抗の抵抗値と前記第2信号制御抵抗の抵抗値とのいずれとも異なることを特徴とする請求項1に記載のキーマトリクス回路。
Furthermore, a third key scan output signal line is arranged in addition to the first key scan output signal line and the second key scan output signal line,
A plurality of key switches which are a third key switch group for electrically connecting the third key scan signal line and each of the key return signal lines;
A plurality of third connection points on the third key scan signal line, to which a plurality of key switches that are a third key switch group are respectively connected to the third key scan signal line;
When the position between the adjacent third connection points is the third position, every third signal control resistor is provided in the third position, and the resistance value of the third signal control resistor is: The key matrix circuit according to claim 1, wherein a resistance value of the first signal control resistor is different from a resistance value of the second signal control resistor.
さらに、前記第1のキースキャン出力信号線、前記第2のキースキャン出力信号線、前記第3のキースキャン出力信号線に加え第4のキースキャン出力信号線が配置され、
前記第4のキースキャン信号線と各々の前記キーリターン信号線との間を電気的に接続する第4のキースイッチ群である複数のキースイッチと、
前記第4のキースキャン信号線上には前記第4のキースキャン信号線に第4のキースイッチ群である複数のキースイッチがそれぞれ接続される複数の第4接続点と、を備え、
隣り合う前記第4接続点間の位置を第4位置としたときに、前記キースイッチを介し同じ前記キーリターン入力信号線に接続された前記第3位置に信号制御抵抗が設けられていない場合に前記第4位置に信号制御抵抗が設けられ、かつ前記第4信号制御抵抗の抵抗値は、前記第1信号制御抵抗の抵抗値、前記第2信号制御抵抗の抵抗値及び前記第3抵抗の抵抗値とのいずれとも異なることを特徴とする請求項2に記載のキーマトリクス回路。
In addition to the first key scan output signal line, the second key scan output signal line, and the third key scan output signal line, a fourth key scan output signal line is disposed,
A plurality of key switches which are a fourth key switch group for electrically connecting the fourth key scan signal line and each of the key return signal lines;
A plurality of fourth connection points on the fourth key scan signal line, to which a plurality of key switches that are a fourth key switch group are respectively connected to the fourth key scan signal line;
When no signal control resistor is provided at the third position connected to the same key return input signal line via the key switch when the position between the adjacent fourth connection points is the fourth position. A signal control resistor is provided at the fourth position, and a resistance value of the fourth signal control resistor is a resistance value of the first signal control resistor, a resistance value of the second signal control resistor, and a resistance of the third resistor. 3. The key matrix circuit according to claim 2, wherein the key matrix circuit is different from any of the values.
前記第3のキースイッチ群及び前記第4のキースイッチ群のうち、同じキーリターン入力信号線に接続された2つのキースイッチと、前記同じキーリターン入力信号線に隣接しない別のキーリターン入力信号線に接続されたキースイッチであって前記2つのキースイッチが接続されるキースキャン出力信号線に接続されている一方と他方のキースイッチのうちの一方のキースイッチと、を経由する回り込みルート、及び、前記他方のキースイッチだけを経由する通常ルートにおいて、前記回り込みルートの全体での抵抗値と前記通常ルートの全体での抵抗値が異なる抵抗値となるように前記回り込みルート上及び前記通常ルート上に位置する前記第3信号制御抵抗及び前記第4信号制御抵抗の抵抗値が選択されていることを特徴とする請求項3に記載のキーマトリクス回路。
Of the third key switch group and the fourth key switch group, two key switches connected to the same key return input signal line and another key return input signal not adjacent to the same key return input signal line A sneak route via one of the key switches connected to the line and one of the other key switches connected to the key scan output signal line to which the two key switches are connected, And, in the normal route that passes only through the other key switch, the resistance value on the wraparound route and the normal route are such that the resistance value of the entire wraparound route is different from the resistance value of the entire normal route. The resistance values of the third signal control resistor and the fourth signal control resistor located above are selected. Key matrix circuit according to.
JP2015183251A 2015-09-16 2015-09-16 Key matrix circuit Active JP6690162B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2015183251A JP6690162B2 (en) 2015-09-16 2015-09-16 Key matrix circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2015183251A JP6690162B2 (en) 2015-09-16 2015-09-16 Key matrix circuit

Publications (2)

Publication Number Publication Date
JP2017058959A true JP2017058959A (en) 2017-03-23
JP6690162B2 JP6690162B2 (en) 2020-04-28

Family

ID=58390464

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2015183251A Active JP6690162B2 (en) 2015-09-16 2015-09-16 Key matrix circuit

Country Status (1)

Country Link
JP (1) JP6690162B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP3543104A3 (en) * 2018-03-23 2019-11-06 Alizeti Ubimobil Inc. Friction drive system for bicycle

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP3543104A3 (en) * 2018-03-23 2019-11-06 Alizeti Ubimobil Inc. Friction drive system for bicycle

Also Published As

Publication number Publication date
JP6690162B2 (en) 2020-04-28

Similar Documents

Publication Publication Date Title
CN101783892B (en) Solid-state imaging device
CN106484187B (en) Touch display panel and touch display device
JP2011018974A (en) D/a converter
US9137467B2 (en) Image data processing method, image sensor and image data processing system using the method
JP2005312025A (en) Cmos image sensor capable of conducting high-speed analog signal processing
JP2017058959A (en) Key matrix circuit
US7358873B2 (en) LVDS and TMDS dualfunction device
US9933897B2 (en) Array substrate and touch control display device
CN104251971A (en) Button detection circuit
JP2014178433A5 (en)
TWI628668B (en) Memory architecture
US10298234B2 (en) Field device with an input unit
JP6160534B2 (en) Key matrix circuit
JP2016224897A (en) Method of driving built-in type touch panel
KR101336040B1 (en) Voting apparatus of digital/analog signal in triple control system
JP5153469B2 (en) Elevator call registration device and elevator device
KR20200074995A (en) Gear shifting device and gear coding method
US11474964B2 (en) Configurable input/output device and operation method thereof
JP2007094789A (en) Switch matrix input device
CN202512520U (en) Key array input device
US20180343080A1 (en) Data recovery circuit
US20140146017A1 (en) Optically-sensitive touch display
JP2018163410A (en) Key matrix circuit
TWI679568B (en) Touch device and scanning method for touch sensing
CN210640941U (en) Contact image sensor and image scanning device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20180629

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20190809

A601 Written request for extension of time

Free format text: JAPANESE INTERMEDIATE CODE: A601

Effective date: 20191007

RD02 Notification of acceptance of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7422

Effective date: 20191007

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20191031

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20200310

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20200323

R151 Written notification of patent or utility model registration

Ref document number: 6690162

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151