JP4664845B2 - Key matrix circuit - Google Patents

Key matrix circuit Download PDF

Info

Publication number
JP4664845B2
JP4664845B2 JP2006085384A JP2006085384A JP4664845B2 JP 4664845 B2 JP4664845 B2 JP 4664845B2 JP 2006085384 A JP2006085384 A JP 2006085384A JP 2006085384 A JP2006085384 A JP 2006085384A JP 4664845 B2 JP4664845 B2 JP 4664845B2
Authority
JP
Japan
Prior art keywords
key
matrix circuit
column
switch
row
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.)
Active
Application number
JP2006085384A
Other languages
Japanese (ja)
Other versions
JP2007264728A (en
Inventor
裕吾 杉崎
善生 竹厚
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Japan Radio Co Ltd
Original Assignee
Japan Radio Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Japan Radio Co Ltd filed Critical Japan Radio Co Ltd
Priority to JP2006085384A priority Critical patent/JP4664845B2/en
Publication of JP2007264728A publication Critical patent/JP2007264728A/en
Application granted granted Critical
Publication of JP4664845B2 publication Critical patent/JP4664845B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本発明は、キーマトリックス回路に関し、特に携帯電話機やPHS等の操作をおこなうためにもうけられた小型・軽量のキーマトリックス回路に関する。   The present invention relates to a key matrix circuit, and more particularly to a small and light key matrix circuit provided for operating a mobile phone, a PHS, and the like.

キーマトリックス回路とは、機器におけるキー入力を検出する回路の一つであり、キーマトリックス回路は、行と列との交差する位置に押しキースイッチを有している。このキースイッチが押下されることにより配設された位置の行と列とが短絡され、押下されたキースイッチが制御装置などで検出されるものである。   The key matrix circuit is one of circuits that detect key input in the device, and the key matrix circuit has a push key switch at a position where a row and a column intersect. When the key switch is pressed, the row and the column at the arranged position are short-circuited, and the pressed key switch is detected by a control device or the like.

一般的に、キーマトリックス回路で検出可能なキースイッチの数は、行と列とのそれぞれにもうけられたライン数の積で決まる。たとえば、行ラインが3本、列ラインが3本の場合、キースイッチは最大でも9個となる。   In general, the number of key switches that can be detected by the key matrix circuit is determined by the product of the number of lines provided in each row and column. For example, if there are three row lines and three column lines, the number of key switches is nine at the maximum.

図2(a)には9個のキースイッチを有するキーマトリックス回路200と、図2(b)には各ラインの時系列信号と、が示されている。キーマトリックス回路200は、3本の行ラインを有するスキャン信号送出ポート10と、3本の列ラインを有する信号読出ポート12と、各列ラインをプルアップするプルアップ抵抗(R1〜R3)と、行ラインと列ラインを短絡する9個のキースイッチと、を有している。   2A shows a key matrix circuit 200 having nine key switches, and FIG. 2B shows a time-series signal of each line. The key matrix circuit 200 includes a scan signal transmission port 10 having three row lines, a signal readout port 12 having three column lines, pull-up resistors (R1 to R3) for pulling up each column line, Nine key switches for short-circuiting the row line and the column line.

図2(a)において、6番キースイッチが押下されて行と列とのラインが短絡している。スキャン信号送出ポート10は、図2(b)に示すような“H”から“L”に落ちるスキャン信号を各列ライン(KEYOUT1〜3)に送出する。信号読出ポート12(KEYIN1〜3)は、スキャン信号に同期して各列の番号キーに相当するキースイッチの短絡を検出する。図2(b)の場合は、KEYOUT2の行をスキャンした時に、6番キースイッチに相当するキースイッチが“L”となり短絡が検出される。このようにしてキースイッチの検出がおこなわれる。   In FIG. 2A, the 6th key switch is pressed, and the row and column lines are short-circuited. The scan signal transmission port 10 transmits a scan signal falling from “H” to “L” as shown in FIG. 2B to each column line (KEYOUT 1 to 3). The signal read ports 12 (KEYIN 1 to 3) detect a short circuit of the key switch corresponding to the number key of each column in synchronization with the scan signal. In the case of FIG. 2B, when the row of KEYOUT2 is scanned, the key switch corresponding to the 6th key switch becomes “L” and a short circuit is detected. In this way, the key switch is detected.

しかし、キースイッチが9個から10個に増えた場合には、従来技術では行ラインまたは列ラインのいずれかを一本追加して3×4のマトリックスをもちいる必要があり、余分な3個のキー入力を有することになる。   However, when the number of key switches is increased from nine to ten, it is necessary in the prior art to add one row line or one column line and use a 3 × 4 matrix, and the extra three Will have the key input.

このような問題を解決するために、特許文献1には、行ラインと列ラインを短絡するm×n個のキースイッチの他に一端が接地され他端が列ライン側と短絡されるキースイッチ(以下短絡キースイッチという。)を追加することにより、ラインを増やすことなくキースイッチをもうけることのできる技術が開示されている。   In order to solve such a problem, Patent Document 1 discloses a key switch in which one end is grounded and the other end is short-circuited to the column line side in addition to m × n key switches that short-circuit the row line and the column line. By adding (hereinafter referred to as a short-circuit key switch), there is disclosed a technique capable of providing a key switch without increasing the number of lines.

特開2000−66822号公報 図3JP 2000-66822 A FIG.

特許文献1に示されるキーマトリックス回路は、行ラインより列ラインを多くして各行ラインに一つの短絡キースイッチを追加する構成である。特許文献1の図3に示されるように、CPUは各行ラインを“H”,“L”,“ハイインピーダンス”の三つの状態となるように印加する。CPUはその時の列ラインが常に“L”状態となったことを検知し、短絡キースイッチが押下されたことを判定する。   The key matrix circuit disclosed in Patent Document 1 has a configuration in which the number of column lines is larger than that of row lines, and one short-circuit key switch is added to each row line. As shown in FIG. 3 of Patent Document 1, the CPU applies each row line so as to be in three states of “H”, “L”, and “high impedance”. The CPU detects that the column line at that time is always in the “L” state, and determines that the short circuit key switch has been pressed.

しかし、特許文献1の技術は短絡キースイッチが押下されている場合には、他のキースイッチは常に“L”と判定されるため、この間はキースイッチの検出ができない。このような短絡キースイッチを電源スイッチとして使用する場合、機器が作動している間は他のキースイッチが使えないという問題がある。   However, in the technique of Patent Document 1, when the short-circuit key switch is pressed, the other key switches are always determined to be “L”, and thus the key switch cannot be detected during this time. When such a short-circuit key switch is used as a power switch, there is a problem that other key switches cannot be used while the device is operating.

以上のような問題を解決するために、本発明に係るキーマトリックス回路は、行ラインと列ラインとによりマトリックス配列された複数のキースイッチと、行ラインをもちいてキースイッチにスキャン信号を送出する送出ポートと、プルアップされた列ラインをもちいてキースイッチの状態を読み出す読出ポートと、を有するキーマトリックス回路において、行ラインのスキャン信号によりキーマトリックスの一つのキースイッチの状態を列ラインへ出力する検出回路と、片方の端子がプルアップされた列ラインへ前記検出回路を介して接続され、他方の端子が接地された接地キースイッチと、を備え、前記検出回路は、前記接地キースイッチの開閉状態を行ラインのスキャン信号により、列ラインへ出力することを特徴とする。   In order to solve the above problems, a key matrix circuit according to the present invention transmits a scan signal to a key switch using a plurality of key switches arranged in a matrix by row lines and column lines, and the row lines. In a key matrix circuit having a transmission port and a read port for reading out the state of the key switch using the pulled-up column line, the state of one key switch of the key matrix is output to the column line by a scan signal of the row line And a ground key switch having one terminal connected to the column line with one terminal pulled up via the detection circuit and the other terminal grounded, and the detection circuit is connected to the ground key switch. The open / close state is output to the column line by the scan signal of the row line.

また、本発明に係るキーマトリックス回路において、検出回路は、電界効果トランジスタで構成されることを特徴とする。   In the key matrix circuit according to the present invention, the detection circuit is formed of a field effect transistor.

本発明を用いると、キーマトリックス回路に電源スイッチを接続しても、その他のキースイッチと電源スイッチとのON/OFF検出が信号読出ポートにて可能となる。   When the present invention is used, even if a power switch is connected to the key matrix circuit, ON / OFF detection of other key switches and power switches can be performed at the signal readout port.

以下、本発明を理解するうえで参考となる実施の形態(以下参考例という)と、本発明の実施の形態(以下実施形態という)と、を図面に従って説明する。なお、上述した構成と同一部材には同一符号を付して説明を省略する。   Hereinafter, an embodiment (hereinafter referred to as a reference example) which is a reference for understanding the present invention and an embodiment of the present invention (hereinafter referred to as an embodiment) will be described with reference to the drawings. In addition, the same code | symbol is attached | subjected to the same member as the structure mentioned above, and description is abbreviate | omitted.

図3と図4には、参考例としてキーマトリックス回路(300,400)に電源スイッチを追加した実施形態が示されている。通常、9番キースイッチは行ラインと列ラインを短絡するキースイッチが設けられているが、図3には9番キースイッチに電源スイッチを追加する構成が示されている。   3 and 4 show an embodiment in which a power switch is added to a key matrix circuit (300, 400) as a reference example. Normally, the number 9 key switch is provided with a key switch for short-circuiting the row line and the column line, but FIG. 3 shows a configuration in which a power switch is added to the number 9 key switch.

このような構成において、電源スイッチ24を“ON”にすると、3番・5番キースイッチが押下されていないにも関わらす、KEYIN3の列が常に“L”となる。このため、図4に示すような通常“ON”状態となる電源スイッチ24のみの検出回路とおなじ構成となり、3番・5番キースイッチが使えないことになる。   In such a configuration, when the power switch 24 is turned “ON”, the KEYIN3 column is always “L” even though the 3rd and 5th key switches are not pressed. For this reason, the configuration is the same as that of the detection circuit of only the power switch 24 that is normally in the “ON” state as shown in FIG. 4, and the third and fifth key switches cannot be used.

図1には、9番キースイッチの位置に電源スイッチ24の“ON/OFF”を検出する検出回路30が追加されたキーマトリックス回路100が示されている。検出回路30は、pチャンネル型FET16と、nチャンネル型FET14と、プルアップ抵抗R4と、プルダウン抵抗(R5,R6)と、を有している。また、負荷22はpチャンネル型FET18によって電源が制御されている。pチャンネル型FET18のソース側とグランドとの間に負荷22が接続され、ゲート側に接続された電源スイッチ24の“ON/OFF”により負荷に通電される電源の“ON/OFF”が制御される。   FIG. 1 shows a key matrix circuit 100 in which a detection circuit 30 for detecting “ON / OFF” of the power switch 24 is added at the position of the ninth key switch. The detection circuit 30 includes a p-channel FET 16, an n-channel FET 14, a pull-up resistor R4, and pull-down resistors (R5, R6). The power supply of the load 22 is controlled by the p-channel FET 18. The load 22 is connected between the source side of the p-channel type FET 18 and the ground, and the “ON / OFF” of the power supplied to the load is controlled by the “ON / OFF” of the power switch 24 connected to the gate side. The

次に、電源スイッチ24の“ON/OFF”による動作の流れを示す。電源スイッチ24が“OFF”の場合には、pチャンネル型FET18のゲートはプルアップ抵抗R4にて“H”となりドレイン−ソース間はハイインピーダンス状態となる。このため、負荷22には通電されない。また、nチャンネル型FET14は“OFF”となり、KEYOUT3の出力に関係無くnチャンネル型FET14のドレインの電位は常時“H”となる。   Next, the flow of operation by “ON / OFF” of the power switch 24 is shown. When the power switch 24 is “OFF”, the gate of the p-channel FET 18 becomes “H” by the pull-up resistor R4, and the drain-source state is in a high impedance state. For this reason, the load 22 is not energized. The n-channel FET 14 is “OFF”, and the drain potential of the n-channel FET 14 is always “H” regardless of the output of the KEYOUT3.

電源スイッチ24が“ON”の場合には、nチャンネル型FET14は“ON”となる。
これにより、KEYOUT3の出力レベルが“H”の時には、nチャンネル型FET14のドレインは“H”となり、KEYOUT3の出力レベルが“L”の時には、nチャンネル型FET14のドレインは“L”となる。
When the power switch 24 is “ON”, the n-channel FET 14 is “ON”.
Thus, when the output level of KEYOUT3 is “H”, the drain of the n-channel FET 14 is “H”, and when the output level of KEYOUT3 is “L”, the drain of the n-channel FET 14 is “L”.

このように電源スイッチ24の状態をKEYOUT3のスキャン信号のタイミングでKEYIN3から検出可能となる。   Thus, the state of the power switch 24 can be detected from KEYIN3 at the timing of the scan signal of KEYOUT3.

以上、上述したように、本実施形態を用いることにより、電源スイッチをキーマトリックス回路に接続する場合でも、他のキースイッチの検出が可能となり、キーマトリックスの有効活用が可能な携帯電話機用のキーマトリックス回路を提供することができる。なお、本実施形態ではFETをもちいたが、これに限るものではなく、トランジスタスイッチやその他のスイッチでもよい。   As described above, by using this embodiment, even when the power switch is connected to the key matrix circuit, other key switches can be detected, and the key for the mobile phone capable of effectively using the key matrix can be used. A matrix circuit can be provided. In the present embodiment, an FET is used, but the present invention is not limited to this, and a transistor switch or other switches may be used.

本発明の実施形態に係る電源スイッチが接続されたキーマトリックス回路の構成図である。It is a block diagram of the key matrix circuit to which the power switch which concerns on embodiment of this invention was connected. 従来のキーマトリックス回路の構成図と動作を示す模式図である。It is the schematic diagram which shows the block diagram and operation | movement of the conventional key matrix circuit. 本発明を理解するうえで参考となる実施の形態におけるキーマトリックス回路の構成図である。It is a block diagram of the key matrix circuit in embodiment which becomes reference in understanding this invention. 本発明を理解するうえで参考となる実施の形態におけるキーマトリックス回路の構成図である。It is a block diagram of the key matrix circuit in embodiment which becomes reference in understanding this invention.

符号の説明Explanation of symbols

10 スキャン信号送出ポート、12 信号読出ポート、22 負荷、24 電源スイッチ、30 検出回路、100,200,300,400 キーマトリックス回路、14 nチャンネル型FET、16,18 pチャンネル型FET。   10 scan signal transmission port, 12 signal readout port, 22 load, 24 power switch, 30 detection circuit, 100, 200, 300, 400 key matrix circuit, 14 n-channel FET, 16, 18 p-channel FET.

Claims (2)

行ラインと列ラインとによりマトリックス配列された複数のキースイッチと、行ラインをもちいてキースイッチにスキャン信号を送出する送出ポートと、プルアップされた列ラインをもちいてキースイッチの状態を読み出す読出ポートと、を有するキーマトリックス回路において、
行ラインのスキャン信号によりキーマトリックスの一つのキースイッチの状態を列ラインへ出力する検出回路と、
片方の端子がプルアップされた列ラインへ前記検出回路を介して接続され、他方の端子が接地された接地キースイッチと、
を備え、
前記検出回路は、前記接地キースイッチの開閉状態を行ラインのスキャン信号により、列ラインへ出力することを特徴とするキーマトリックス回路。
A plurality of key switches arranged in a matrix by row lines and column lines, a send port for sending a scan signal to the key switches using the row lines, and a readout for reading the state of the key switches using the pulled-up column lines A key matrix circuit having ports,
A detection circuit for outputting the state of one key switch of the key matrix to the column line by a scan signal of the row line;
A grounding key switch having one terminal connected to the pulled-up column line via the detection circuit and the other terminal grounded;
With
The detection circuit outputs an open / close state of the ground key switch to a column line by a scan signal of a row line.
請求項1に記載のキーマトリックス回路において、
検出回路は、電界効果トランジスタで構成されることを特徴とするキーマトリックス回路。
The key matrix circuit according to claim 1,
A key matrix circuit, wherein the detection circuit comprises a field effect transistor.
JP2006085384A 2006-03-27 2006-03-27 Key matrix circuit Active JP4664845B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2006085384A JP4664845B2 (en) 2006-03-27 2006-03-27 Key matrix circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2006085384A JP4664845B2 (en) 2006-03-27 2006-03-27 Key matrix circuit

Publications (2)

Publication Number Publication Date
JP2007264728A JP2007264728A (en) 2007-10-11
JP4664845B2 true JP4664845B2 (en) 2011-04-06

Family

ID=38637705

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2006085384A Active JP4664845B2 (en) 2006-03-27 2006-03-27 Key matrix circuit

Country Status (1)

Country Link
JP (1) JP4664845B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103529384B (en) * 2013-10-10 2016-05-18 天地融科技股份有限公司 A kind of key detecting method

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0389422A (en) * 1989-09-01 1991-04-15 Rohm Co Ltd Keyboard input circuit
JP2000066822A (en) * 1998-08-25 2000-03-03 Kenwood Corp Key operating part

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0389422A (en) * 1989-09-01 1991-04-15 Rohm Co Ltd Keyboard input circuit
JP2000066822A (en) * 1998-08-25 2000-03-03 Kenwood Corp Key operating part

Also Published As

Publication number Publication date
JP2007264728A (en) 2007-10-11

Similar Documents

Publication Publication Date Title
US7366274B2 (en) Bidirectional shift register
CN101690052B (en) Data transmission system and method, and electronic device having that data transmission system
JP2008310076A (en) Current driving device
JP3998676B2 (en) Bidirectional shift register controller and bidirectional shift register circuit
JP4664845B2 (en) Key matrix circuit
JP3743284B2 (en) Semiconductor device
US20080252631A1 (en) Driver of display unit
KR100946601B1 (en) Driver of display unit
KR20100066790A (en) Exclusive or logic circuit
JP2019205072A (en) Input device, and method of controlling the same
JP2007097131A (en) Differential amplifier
KR20100133610A (en) Voltage level shifter
JP4492852B2 (en) Semiconductor integrated circuit device
KR20130096495A (en) Buffer circuit for use in semiconductor device
KR0183931B1 (en) Key scan matrix device
KR100190212B1 (en) Signal line testing circuit causing no delay in transmission of a normal data signal
KR20200018998A (en) Electronic device and method of operating the same
JP3911268B2 (en) Level shift circuit
KR100569559B1 (en) CMOS output buffer circuit
JP2006285723A (en) Key input device and key scan method
JP2016224588A (en) Controller and control method
KR20060038608A (en) Data output driver for reducing noise
WO2009011136A1 (en) Device and method for driving plasma display panel, and plasma display device
US8531209B2 (en) Multifunction word recognizer element
JP5369472B2 (en) Semiconductor device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20090327

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20101216

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

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20110107

R150 Certificate of patent or registration of utility model

Ref document number: 4664845

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20140114

Year of fee payment: 3