JP2004078688A - Key scanning device and electronic equipment - Google Patents

Key scanning device and electronic equipment Download PDF

Info

Publication number
JP2004078688A
JP2004078688A JP2002239593A JP2002239593A JP2004078688A JP 2004078688 A JP2004078688 A JP 2004078688A JP 2002239593 A JP2002239593 A JP 2002239593A JP 2002239593 A JP2002239593 A JP 2002239593A JP 2004078688 A JP2004078688 A JP 2004078688A
Authority
JP
Japan
Prior art keywords
key
matrix
keys
switches
matrices
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.)
Pending
Application number
JP2002239593A
Other languages
Japanese (ja)
Inventor
Shigeaki Higaki
檜垣 茂明
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.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial 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 Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP2002239593A priority Critical patent/JP2004078688A/en
Publication of JP2004078688A publication Critical patent/JP2004078688A/en
Pending legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To prevent erroneous recognition of a key operation with a simple structure, at multiple depressing of specified combination of keys. <P>SOLUTION: The key scanning device comprises two key matrix, namely a key matrix 10 for a ten-key and a key matrix 11, and a key scanning circuit 12. To lines L11 to 16 connected to an output port 13 of the key scanning circuit 12, key scanning signals 15 at a low level are successively outputted, and scanning is carried out about each key matrix. A key sense signal 16 appearing in either one of lines I11 to 15 connected to an input port 14 is detected. Therefore, it is detected that a key switch positioned at an intersection point of both lines that become electric current paths is closed, and it can be recognized that a corresponding key is without a mistake even at multiple depressing by combination of three or more keys. <P>COPYRIGHT: (C)2004,JPO

Description

【0001】
【発明の属する技術分野】
本発明は、操作キーに対応して設けられたキースイッチをスキャンして、キーの操作状態を認識するキースキャン装置及びこれを用いた電子機器に関する。
【0002】
【従来の技術】
携帯電話機などの小型電子機器では、ダイヤル番号やその他の情報を入力する操作キーの回路規模を小さくするために、各操作キーに対応して設けられたキースイッチによりキーマトリクスを構成し、キースキャン回路で生成したキースキャン信号によって各キースイッチのオンオフ状態のスキャンを行うキースキャン装置が用いられている。
【0003】
従来のキースキャン装置の構成例を図5に示す。電子機器を操作するためのキーに対応して設けられたキースイッチS211〜S244がマトリクス状に配置されてキーマトリクス21を構成しており、キースキャン回路22の出力ポート23と入力ポート24にそれぞれラインL21〜L24及びラインI21〜I24を介して接続される。また、ラインI21〜I24には抵抗R21〜R24からなるプルアップ抵抗27が接続されている。
【0004】
キースキャン回路22は、出力ポート23に接続されるラインL21〜L24に順次ローレベル(以下、Lレベルと記載する)のキースキャン信号25を出力して、キーマトリクス21をスキャンし、キースイッチS211〜S244の開閉状態を検出する。例えば、ラインL21にキースキャン信号25が出力されている時に、ラインL21上のキースイッチS211、S221、S231、S241がいずれも開いていれば、入力ポート24に接続されるラインI21〜I24のキーセンス信号26は全てハイレベル(以下、Hレベルと記載する)となる。また、キースイッチS211が押下されていれば、入力ポート24におけるキーセンス信号26はラインI21がLレベル、他のラインI22〜I24はHレベルとなり、キーマトリクス21上でラインL21とラインI21の交点に位置するキースイッチS211が閉じられていることを検出できる。
【0005】
【発明が解決しようとする課題】
小型電子機器では、少ないキー数で多くの機能を操作するために、複数のキーを同時に押すいわゆる多重押下によって複合機能の操作を行うことが行われる。しかしながら、上記した従来の構成では、3キー以上の多重押下が発生した場合に、押下しないキーを誤って押下したものとして認識することがある。
【0006】
例えば、キースイッチS211、S212、S221に対応する3個のキーが同時に押された場合を考える。出力ポート23のラインL21にLレベルのスキャン信号25が出力されているとき、キースイッチS211、S221の接点は閉じているので、入力ポート24に入力するキーセンス信号26は、ラインI21、I22がLレベル、ラインI23、I24がHレベルとなる。
【0007】
次に、ラインL22にスキャン信号25が出力されているとき、キースイッチS212が閉じていることにより、キーセンス信号26はラインI21がLレベルとなるのは当然であるが、その上I22もLレベルとなり、あたかもキースイッチS222が閉じられているように誤って検出され、それに対応したキーが押下されたと認識してしまう。この状態を図6に示したキーマトリクスにより更に詳細に説明する。
【0008】
図6は、キーマトリクスにおいてキースイッチS211、S212、S221が同時に閉じられ、出力ポート23のラインL22にキースキャン信号25が出力された時に流れる電流の経路を太線の電流28で示している。電流28はプルアップ抵抗27の抵抗R22からキースイッチS221、S211、S212を経て出力ポート23に流入する。これにより、キースキャン信号25のラインL22とキーセンス信号26のラインI23が導通するので、入力ポート24のラインI22にはLレベルのキーセンス信号26が現れる。この場合、開いている筈のキースイッチS222が閉じられているかのように検出され、対応するキーが実際には押されていないにも拘わらず、あたかも押されたように認識される。従って、キースイッチS221、S211、S212にそれぞれ対応するキーを同時に押下することによる操作が別の操作として認識され、電子機器において操作者が意図しない動作を引き起こす可能性がある。
【0009】
この多重押下によるキーの誤認識を回避する例として、特開平5−189116号公報等に開示されているようなダイオードを設けた構成がある。この第2の従来例のキーマトリクスの構成と電流経路の例を図7に示す。キーマトリクスを構成する各キースイッチS211〜S244には、それぞれ直列にダイオードD211〜D244が挿入されている。
【0010】
図7において、図6と同様にキースイッチS211、S212、S221にそれぞれ対応する3個のキーが同時に押下されてキースイッチが閉じられ、出力ポート23のラインL22にキースキャン信号25が出力された時の電流経路を太線で示す。このときの電流29は、逆バイアスされたダイオードD211のために遮断され、キースキャン信号25のラインL22とキーセンス信号26のラインI22は導通しない。したがって、入力ポート24のラインI22はHレベルとなり、キースイッチS222は開いているものとして正しく検出され、対応するキー操作に誤認識が発生することはない。
【0011】
しかしながら、携帯電話機のように小型化が強く要求される電子機器において各キースイッチにそれぞれダイオードを挿入することは、キーマトリクスの専有面積が拡大すると共に、部品点数の増加に伴うコストアップを招くという問題点がある。また、操作キーは衝撃を受ける頻度が高いため、部品点数が増えることによって故障が発生する確率も増し、故障の検出も困難になるという問題点がある。
【0012】
また、携帯電話機などディスプレイ画面を操作するために方向キーを搭載した機器においては、例えば右手でテンキーを押しながら左手で方向キーを操作することがあり、このとき複数のキーを同時に押下することが起こる。特に斜め方向にキーを操作した場合、例えば右上方向を押下すると、右側のキーと上側のキーが同時に押下されることによって誤操作が発生することがある。このように、3個以上のキーによる多重押下が発生した場合には、キー操作の誤検出を回避する必要がある。
【0013】
本発明は、上記事情に鑑みてなされたもので、その目的は、ダイオードなどの素子を用いることなく、特定の組み合わせのキーによる多重押下に際して、キー操作の誤認識を防止することができるキースキャン装置及びこれを用いた電子機器を提供することにある。
【0014】
【課題を解決するための手段】
本発明に係るキースキャン装置は、複数の操作キーに対応して設けられたキースイッチを複数のグループに分割して前記グループごとに前記複数のキースイッチをマトリクス状に配置して構成した複数のキーマトリクスと、前記複数のキーマトリクスをスキャンして前記キースイッチの開閉状態を検出するキースキャン回路と、を備えたことを特徴とする。
【0015】
上記構成により、複数のグループに分割したキースイッチに対応するそれぞれのキーマトリクスごとにキースイッチの開閉状態を検出するので、複数の操作キーの特定の組み合わせによる多重押下を行った場合でも、ダイオード等の整流素子を設けなくとも、簡単な構成で複数のキーマトリクスにわたる複数のキースイッチの開閉状態を誤りなく検出可能となる。
【0016】
また、前記複数のキーマトリクスは、前記複数の操作キーの多重押下を行う組み合わせに対して、個々のキーマトリクスに対応するキースイッチが2つ以下となるようにキースイッチを割り当てて構成したことを特徴とする。
【0017】
上記構成により、3つ以上などの複数の操作キーの多重押下を行った場合でも、個々のキーマトリクスに対応するキースイッチが2つ以下となるように別々のキーマトリクスにキースイッチを割り当てることで、ダイオード等の整流素子を設けなくともキースイッチの開閉状態の誤認識を防止可能となる。
【0018】
また、前記キースキャン回路は、前記複数のキーマトリクスを個別にスキャンし、これらのキーマトリクスごとに前記操作キーの押下によるキースイッチの開閉状態を検出することを特徴とする。
【0019】
上記構成により、複数のキーマトリクスそれぞれでキースイッチの開閉状態を検出し、このキースイッチに対応した操作キーとして押下されている操作キーを検出することが可能であり、操作キーの多重押下を誤りなく検出可能となる。
【0020】
また、前記複数のキースイッチとして、数字または文字の入力を行う入力キーに対応したキースイッチ群と、方向指示を行う方向キーに対応したキースイッチ群とを少なくとも備え、前記それぞれのキースイッチ群ごとにキーマトリクスを構成したことを特徴とする。
【0021】
上記構成により、入力キーと方向キーなどの機能別に分割したキースイッチのグループにそれぞれ対応するキーマトリクスごとに、キースイッチの開閉状態を検出することによって、機能の異なるキースイッチ群にわたる複数の操作キーが同時に押下された場合でもキースイッチの開閉状態を誤りなく検出でき、操作キーの多重押下時の誤検出を効果的に防止可能である。
【0022】
また、本発明は、上記いずれかに記載のキースキャン装置を備えた電子機器を提供する。
【0023】
電子機器に上記構成のキースキャン装置を設けることにより、ダイオード等の整流素子を追加して設けることなく、キーの多重押下に際して誤検出を効果的に防止することができるため、部品点数を削減して構成を簡略化でき、装置の小型化、低コスト化が図れる。よって、本発明は、特に小型、低価格が要求される携帯電話機のような小型電子機器に好適である。
【0024】
【発明の実施の形態】
以下、図面を参照して本発明の実施形態を説明する。
本発明に係るキースキャン装置は、多くの操作キーを備えた電子機器、例えば操作キーとして少なくともテンキーと方向キーを備えた電子機器、特に、携帯電話機やPDA(携帯情報機器)等の携帯端末装置に適用することが好ましい。
【0025】
図1は、本発明の一実施形態に係るキースキャン装置の構成を示すブロック図である。
【0026】
キースキャン装置は、テンキー用キーマトリクス10と、方向キー用キーマトリクス11と、キースキャン回路12を有して構成される。テンキー用キーマトリクス10は、ダイヤル番号や文字入力を行うための入力キーであるテンキーに対応して設けられた12個のキースイッチS111〜S114、S121〜S124、S131〜S134のグループを4行×3列のマトリクス状に配置したものである。また、方向キー用キーマトリクス11は、ディスプレイ画面の操作等を行うための方向キーに対応して設けられた4個のキースイッチS145、S146、S155、S156のグループを2行×2列のマトリクス状に配置したものである。前記各キーマトリクス10、11は、ダイオード等の整流素子を設けない構成となっており、また、複数のキーマトリクスは図1のように必ずしも同一の大きさに構成しなくともよい。
【0027】
キースキャン回路12は、キースキャン信号15が出力される出力ポート13と、キーセンス信号16を入力する入力ポート14を有している。テンキー用キーマトリクス10は、ラインL11〜L14を介して出力ポート13に接続され、ラインI11〜I13を介して入力ポート14に接続される。また、方向キー用キーマトリクス11は、ラインL15、L16を介して出力ポート13に接続され、ラインI14、I15を介して入力ポート14に接続される。さらに、ラインI11〜I15には5個の抵抗R11〜R15からなるプルアップ抵抗17が接続されている。
【0028】
このように、本実施形態のキースキャン装置では、例えばテンキー用キーマトリクス10と方向キー用キーマトリクス11のように、複数のキースイッチを機能別に複数のグループに分割し、それぞれのキースイッチ群ごとにキーマトリクスを構成している。また、キースキャン回路12は、テンキー用キーマトリクス10と方向キー用キーマトリクス11とを個別にスキャンして、キーマトリクスごとにキースイッチの開閉状態を検出するようになっている。
【0029】
次に、上記のように構成されたキースキャン装置の動作を図2に示すタイムチャートを用いて説明する。
【0030】
まず、キーのいずれかが押下されると、テンキー用キーマトリクス10又は方向キー用キーマトリクス11の対応するキースイッチの接点が閉じる。これを受けてキースキャン回路12は、図2に示すタイミングで出力ポート13のラインL11〜L16に順次Lレベルのスキャン信号15を出力し、キーマトリクス10、11をスキャンする。
【0031】
例えば、ラインL11にキースキャン信号15が出力されている時に、ラインL11上のキースイッチS111、S121、S131のいずれも開いていれば、入力ポート14に接続されるラインI11〜I13のキーセンス信号16は全てHレベルとなり、対応する3個のキーはいずれも押下されていないと認識できる。また、キースイッチS111が閉じていれば、入力ポート14におけるキーセンス信号16はラインI11がLレベル、他のラインI12〜I13はHレベルとなり、テンキー用キーマトリクス10上でラインL11とラインI11の交点に位置するキースイッチS111の接点が閉じられていることが検出され、それに対応したキーが押下されたことを認識できる。
【0032】
ここで、3個のキーが同時に押下されたときのキースキャン装置の動作について、キースイッチS111に対応するテンキーと、斜め入力によりキースイッチS145、S155に対応する方向キーが押下された場合を例に、図3及び図4を用いて説明する。
【0033】
図3は、テンキー用キーマトリクス10に接続されるラインL11にLレベルのキースキャン信号15が出力された場合の電流経路を示し、図4は方向キー用キーマトリクス11に接続されるラインL15にキースキャン信号15が出力された場合の電流経路を示している。
【0034】
図3において、電流18はプルアップ抵抗17のR11を介してテンキー用キーマトリクス10のキースイッチS111に流れ、ラインL11を介して出力ポート13に流入する。従って、入力ポート14に接続されるラインI11にキーセンス信号16のLレベルが検出される。一方、ラインL12〜L14にそれぞれキースキャン信号15が出力された場合は、入力ポート14においてキーセンス信号16のLレベルを検出することはない。これにより、テンキー用キーマトリクス10上でラインL11とラインI11の交点に位置するキースイッチS111のみ閉じられていることが検出され、対応するテンキーが押下されたことを認識できる。
【0035】
また、図4において、電流19はプルアップ抵抗17のR14、R15を介して方向キー用キーマトリクス11のキースイッチS145、S155に流れ、ラインL15を介して出力ポート13に流入する。従って、入力ポート14に接続されるラインI14、I15でキーセンス信号16のLレベルが検出される。一方、ラインL16にキースキャン信号15が出力された場合は、入力ポート14においてキーセンス信号16のLレベルが検出されることはない。これにより、方向キー用キーマトリクス11上で、ラインL15とラインI14の交点に位置するキースイッチS145と、ラインL15とラインI15の交点に位置するキースイッチS155が閉じられていることが検出され、それぞれ対応する方向キーが押下されたことを認識できる。
【0036】
以上の例では、キースイッチS111、S145、S155に対応する3つのキーの多重押下の場合を示したが、1つのキーマトリクス内で押下されるキーが2個以下であれば、他のキーの多重押下についても同様である。すなわち、本実施形態では、分割した複数のキーマトリクスにおいて、複数の操作キーの多重押下を行う組み合わせに対して個々のキーマトリクスに対応するキースイッチが2つ以下となるようにキースイッチを割り当ててキーマトリクスを構成することにより、多重押下時の誤認識を防止できる。
【0037】
このように、本実施形態では、複数のキースイッチを2つのグループに分割してグループごとに2つのキーマトリクスを設けることにより、ダイオード等を用いることなく、テンキーと方向キーの斜め入力による多重押下を誤りなく認識することができる。
【0038】
なお、上記の説明において、キースキャン回路12はいずれかのキーを押下することによってスキャン動作を開始するとしたが、これとは別に図示しない制御回路からのスキャン指示によりスキャン動作を開始するようにしてもよい。また、常時スキャンを行うように構成することもできる。
【0039】
また、本実施形態では、キースキャン回路12から出力されるキースキャン信号15は、テンキー用キーマトリクス10及び方向キー用キーマトリクス11について2つの信号が同期、同位相となるように構成したが、必ずしも同期、同位相でなくてもよい。
【0040】
さらに、上述した実施形態は本発明の好適な具体例であるが、これに限定されるものではなく、本発明の要旨の範囲内で種々の変形実施が可能である。
【0041】
上述したように本実施形態によれば、操作キーに対応して設けられたキースイッチで複数のキーマトリクスを構成することにより、特定の組み合わせ、例えばテンキーと方向キーの斜め入力における3個以上のキーで多重押下が発生した場合に、効果的にキー操作の誤認識を防ぐことができる。また、キースイッチの誤検出を防ぐためのダイオードを不要とし、小型、低価格のキースキャン装置を提供することが可能となる。
【0042】
【発明の効果】
以上説明したように本発明によれば、ダイオードなどの素子を用いることなく、特定の組み合わせのキーによる多重押下に際して、キー操作の誤認識を防止することが可能なキースキャン装置及びこれを用いた電子機器を提供できる。
【図面の簡単な説明】
【図1】本発明の一実施形態に係るキースキャン装置の構成を示すブロック図
【図2】本発明の一実施形態に係るキースキャン装置におけるキースキャン信号を示すタイミングチャート
【図3】本実施形態のテンキー用キーマトリクスにおける電流経路の例を示す説明図
【図4】本実施形態の方向キー用キーマトリクスにおける電流経路の例を示す説明図
【図5】従来例におけるキースキャン装置の構成を示すブロック図
【図6】従来例のキースキャン装置のキーマトリクスにおける電流経路の例を示す説明図
【図7】第2の従来例におけるキースキャン装置のキーマトリクスの構成と、このキーマトリクスにおける電流経路の例を示す説明図
【符号の説明】
10 テンキー用キーマトリクス
11 方向キー用キーマトリクス
12 キースキャン回路
13 出力ポート
14 入力ポート
15 キースキャン信号
16 キーセンス信号
17 プルアップ抵抗
S111〜S156 キースイッチ
[0001]
TECHNICAL FIELD OF THE INVENTION
The present invention relates to a key scanning device that scans a key switch provided corresponding to an operation key to recognize an operation state of the key, and an electronic device using the same.
[0002]
[Prior art]
In a small electronic device such as a mobile phone, in order to reduce the circuit scale of operation keys for inputting dial numbers and other information, a key matrix is formed by key switches provided for each operation key, and key scanning is performed. 2. Description of the Related Art A key scan device that scans the on / off state of each key switch using a key scan signal generated by a circuit is used.
[0003]
FIG. 5 shows a configuration example of a conventional key scanning device. Key switches S211 to S244 provided corresponding to keys for operating electronic devices are arranged in a matrix to constitute a key matrix 21. The output ports 23 and the input ports 24 of the key scan circuit 22 are respectively provided. They are connected via lines L21 to L24 and lines I21 to I24. Further, a pull-up resistor 27 including resistors R21 to R24 is connected to the lines I21 to I24.
[0004]
The key scan circuit 22 sequentially outputs a low-level (hereinafter, referred to as L-level) key scan signal 25 to lines L21 to L24 connected to the output port 23, scans the key matrix 21, and scans the key switch S211.開 閉 S244 is detected. For example, if the key switches S211, S221, S231, and S241 on the line L21 are open when the key scan signal 25 is output to the line L21, the keys of the lines I21 to I24 connected to the input port 24 All the sense signals 26 are at a high level (hereinafter, referred to as an H level). If the key switch S211 is depressed, the key sense signal 26 at the input port 24 has the line I21 at the L level, the other lines I22 to I24 at the H level, and the intersection of the line L21 and the line I21 on the key matrix 21. It can be detected that the key switch S211 located at is closed.
[0005]
[Problems to be solved by the invention]
In a small electronic device, in order to operate many functions with a small number of keys, an operation of a composite function is performed by so-called multiple presses of simultaneously pressing a plurality of keys. However, in the above-described conventional configuration, when multiple presses of three or more keys occur, a key that is not pressed may be recognized as being erroneously pressed.
[0006]
For example, consider a case where three keys corresponding to the key switches S211, S212, and S221 are simultaneously pressed. When the L-level scan signal 25 is output to the line L21 of the output port 23, since the contacts of the key switches S211 and S221 are closed, the key sense signal 26 input to the input port 24 is the line I21 and I22. The L level and the lines I23 and I24 become H level.
[0007]
Next, when the scan signal 25 is being output to the line L22, the key switch S212 is closed, so that the key sense signal 26 naturally has the line I21 at the L level. The level becomes the level, and it is erroneously detected that the key switch S222 is closed, and it is recognized that the corresponding key is pressed. This state will be described in more detail with reference to the key matrix shown in FIG.
[0008]
FIG. 6 shows a path of a current flowing when the key switches S211, S212, and S221 are simultaneously closed in the key matrix and the key scan signal 25 is output to the line L22 of the output port 23 by a thick current 28. The current 28 flows from the resistor R22 of the pull-up resistor 27 to the output port 23 via the key switches S221, S211 and S212. As a result, the line L22 of the key scan signal 25 and the line I23 of the key sense signal 26 become conductive, so that the L-level key sense signal 26 appears on the line I22 of the input port 24. In this case, it is detected as if the key switch S222, which should have been opened, is closed, and it is recognized that the corresponding key has been pressed even though the corresponding key is not actually pressed. Therefore, an operation performed by simultaneously pressing the keys corresponding to the key switches S221, S211, and S212 is recognized as another operation, and an operation unintended by the operator may be caused in the electronic device.
[0009]
As an example of avoiding erroneous key recognition due to multiple presses, there is a configuration provided with a diode as disclosed in Japanese Patent Application Laid-Open No. 5-189116. FIG. 7 shows a configuration of the key matrix of the second conventional example and an example of a current path. Diodes D211 to D244 are inserted in series with the respective key switches S211 to S244 forming the key matrix.
[0010]
In FIG. 7, as in FIG. 6, three keys respectively corresponding to the key switches S211, S212, and S221 are simultaneously pressed to close the key switches, and the key scan signal 25 is output to the line L22 of the output port 23. The current path at the time is indicated by a thick line. At this time, the current 29 is cut off due to the reverse-biased diode D211 and the line L22 of the key scan signal 25 and the line I22 of the key sense signal 26 do not conduct. Therefore, the line I22 of the input port 24 is at the H level, the key switch S222 is correctly detected as being open, and erroneous recognition of the corresponding key operation does not occur.
[0011]
However, inserting a diode into each key switch in an electronic device that requires strong miniaturization, such as a mobile phone, increases the occupied area of the key matrix and increases the cost due to an increase in the number of components. There is a problem. Further, since the operation keys are frequently subjected to impact, there is a problem that the probability of occurrence of a failure increases due to an increase in the number of components, and it becomes difficult to detect the failure.
[0012]
Also, in a device such as a mobile phone equipped with a directional key for operating a display screen, for example, the directional key may be operated with the left hand while pressing the numeric keypad with the right hand, and at this time, a plurality of keys may be simultaneously pressed. Occur. In particular, when a key is operated in an oblique direction, for example, when the upper right direction is pressed, an erroneous operation may occur because the right key and the upper key are simultaneously pressed. As described above, when multiple presses by three or more keys occur, it is necessary to avoid erroneous key operation detection.
[0013]
The present invention has been made in view of the above circumstances, and an object of the present invention is to provide a key scan that can prevent erroneous recognition of a key operation when performing multiple presses with a specific combination of keys without using an element such as a diode. An object of the present invention is to provide a device and an electronic device using the same.
[0014]
[Means for Solving the Problems]
A key scan device according to the present invention is configured such that a plurality of key switches provided corresponding to a plurality of operation keys are divided into a plurality of groups, and the plurality of key switches are arranged in a matrix for each group. A key matrix, and a key scan circuit that scans the plurality of key matrices to detect an open / closed state of the key switch.
[0015]
According to the above configuration, the open / closed state of the key switch is detected for each key matrix corresponding to the key switches divided into a plurality of groups. Therefore, even when multiple pressing is performed by a specific combination of a plurality of operation keys, a diode or the like is used. Even if the rectifying element is not provided, the open / closed state of a plurality of key switches over a plurality of key matrices can be detected without error with a simple configuration.
[0016]
In addition, the plurality of key matrices are configured such that key switches are assigned to a combination of performing multiple presses of the plurality of operation keys such that the number of key switches corresponding to each key matrix is two or less. Features.
[0017]
With the above configuration, even when multiple operation keys such as three or more are pressed, key switches can be assigned to different key matrices so that the number of key switches corresponding to each key matrix is two or less. Also, erroneous recognition of the open / closed state of the key switch can be prevented without providing a rectifying element such as a diode.
[0018]
Further, the key scan circuit individually scans the plurality of key matrices, and detects an open / closed state of a key switch due to depression of the operation key for each of the key matrices.
[0019]
With the above configuration, it is possible to detect the open / closed state of the key switch in each of the plurality of key matrices and detect the operation key being pressed as the operation key corresponding to the key switch, and erroneously press the operation key multiple times. And can be detected.
[0020]
Further, the plurality of key switches include at least a key switch group corresponding to an input key for inputting a number or a character, and a key switch group corresponding to a direction key for performing a direction instruction. And a key matrix is provided.
[0021]
According to the above configuration, by detecting the open / closed state of the key switch for each key matrix corresponding to the group of key switches divided according to functions such as an input key and a direction key, a plurality of operation keys over a key switch group having different functions are detected. Can be detected without error even if the keys are simultaneously pressed, and erroneous detection when the operation keys are pressed multiple times can be effectively prevented.
[0022]
Further, the present invention provides an electronic device provided with any one of the key scanning devices described above.
[0023]
By providing the key scan device having the above configuration in the electronic device, erroneous detection can be effectively prevented when multiple keys are pressed without adding a rectifying element such as a diode, so that the number of parts can be reduced. Thus, the configuration can be simplified, and the size and cost of the device can be reduced. Therefore, the present invention is particularly suitable for a small electronic device such as a mobile phone that requires a small size and a low price.
[0024]
BEST MODE FOR CARRYING OUT THE INVENTION
Hereinafter, embodiments of the present invention will be described with reference to the drawings.
The key scanning device according to the present invention is an electronic device having many operation keys, for example, an electronic device having at least a ten key and a direction key as operation keys, particularly, a portable terminal device such as a mobile phone or a PDA (portable information device). It is preferably applied to
[0025]
FIG. 1 is a block diagram illustrating a configuration of a key scan device according to an embodiment of the present invention.
[0026]
The key scanning device includes a key matrix 10 for numeric keys, a key matrix 11 for direction keys, and a key scanning circuit 12. The ten-key key matrix 10 is composed of four rows of groups of twelve key switches S111 to S114, S121 to S124, and S131 to S134 provided corresponding to ten keys that are input keys for inputting dial numbers and characters. They are arranged in a matrix of three rows. The key matrix 11 for direction keys is a matrix of 2 rows × 2 columns, which is a group of four key switches S145, S146, S155, and S156 provided corresponding to direction keys for performing operations on a display screen. It is arranged in a shape. Each of the key matrices 10 and 11 has a configuration in which no rectifying element such as a diode is provided, and a plurality of key matrices do not necessarily have to have the same size as in FIG.
[0027]
The key scan circuit 12 has an output port 13 for outputting a key scan signal 15 and an input port 14 for inputting a key sense signal 16. The numeric keypad matrix 10 is connected to the output port 13 via lines L11 to L14 and to the input port 14 via lines I11 to I13. The direction key matrix 11 is connected to the output port 13 via lines L15 and L16, and to the input port 14 via lines I14 and I15. Further, a pull-up resistor 17 including five resistors R11 to R15 is connected to the lines I11 to I15.
[0028]
As described above, in the key scanning device of the present embodiment, a plurality of key switches are divided into a plurality of groups according to functions, for example, a key matrix 10 for a ten-key and a key matrix 11 for a direction key. Constitutes a key matrix. The key scan circuit 12 scans the key matrix 10 for the numeric keypad and the key matrix 11 for the direction key individually, and detects the open / closed state of the key switch for each key matrix.
[0029]
Next, the operation of the key scanning device configured as described above will be described with reference to a time chart shown in FIG.
[0030]
First, when any one of the keys is pressed, the contact point of the corresponding key switch of the key matrix 10 for the numeric keypad or the key matrix 11 for the direction key is closed. In response, the key scan circuit 12 sequentially outputs L-level scan signals 15 to the lines L11 to L16 of the output port 13 at the timing shown in FIG.
[0031]
For example, if any of the key switches S111, S121, and S131 on the line L11 is open when the key scan signal 15 is output to the line L11, the key sense signals of the lines I11 to I13 connected to the input port 14 All 16 are at the H level, and it can be recognized that none of the three corresponding keys have been pressed. When the key switch S111 is closed, the line I11 of the key sense signal 16 at the input port 14 is at the L level, the other lines I12 to I13 are at the H level, and the lines L11 and I11 are It is detected that the contact point of the key switch S111 located at the intersection is closed, and it can be recognized that the corresponding key has been pressed.
[0032]
Here, the operation of the key scanning apparatus when three keys are simultaneously pressed is an example in which the ten keys corresponding to the key switch S111 and the direction keys corresponding to the key switches S145 and S155 are pressed by diagonal input. Next, a description will be given with reference to FIGS.
[0033]
FIG. 3 shows a current path when an L-level key scan signal 15 is output to a line L11 connected to the numeric keypad matrix 10, and FIG. The current path when the key scan signal 15 is output is shown.
[0034]
In FIG. 3, a current 18 flows to the key switch S111 of the key matrix 10 for a ten-key via the R11 of the pull-up resistor 17, and flows into the output port 13 via the line L11. Accordingly, the L level of the key sense signal 16 is detected on the line I11 connected to the input port 14. On the other hand, when the key scan signal 15 is output to each of the lines L12 to L14, the L level of the key sense signal 16 is not detected at the input port 14. Accordingly, it is detected that only the key switch S111 located at the intersection of the line L11 and the line I11 on the numeric keypad matrix 10 is closed, and it can be recognized that the corresponding numeric key is pressed.
[0035]
In FIG. 4, the current 19 flows to the key switches S145 and S155 of the direction key matrix 11 via R14 and R15 of the pull-up resistor 17, and flows into the output port 13 via the line L15. Therefore, the L level of the key sense signal 16 is detected at the lines I14 and I15 connected to the input port 14. On the other hand, when the key scan signal 15 is output to the line L16, the L level of the key sense signal 16 is not detected at the input port 14. As a result, it is detected that the key switch S145 located at the intersection of the line L15 and the line I14 and the key switch S155 located at the intersection of the line L15 and the line I15 on the direction key key matrix 11 are closed. It can be recognized that the corresponding directional key has been pressed.
[0036]
In the above example, the case where three keys corresponding to the key switches S111, S145, and S155 are pressed multiple times is shown. However, if two or less keys are pressed in one key matrix, the other keys are pressed. The same applies to multiple presses. That is, in the present embodiment, in the plurality of divided key matrices, the key switches are assigned such that the number of key switches corresponding to the individual key matrices is two or less for a combination in which a plurality of operation keys are pressed multiple times. By configuring the key matrix, erroneous recognition at the time of multiple pressing can be prevented.
[0037]
As described above, in this embodiment, a plurality of key switches are divided into two groups, and two key matrices are provided for each group. Can be recognized without error.
[0038]
In the above description, the key scan circuit 12 starts the scan operation by pressing any key. However, the key scan circuit 12 starts the scan operation in response to a scan instruction from a control circuit (not shown). Is also good. Further, it is also possible to configure so that scanning is always performed.
[0039]
Further, in the present embodiment, the key scan signal 15 output from the key scan circuit 12 is configured such that the two signals of the key matrix 10 for the numeric keypad and the key matrix 11 for the direction key are synchronized and in phase. It is not always necessary to be synchronous and in-phase.
[0040]
Furthermore, the above-described embodiment is a preferred specific example of the present invention, but is not limited to this, and various modifications can be made within the scope of the present invention.
[0041]
As described above, according to the present embodiment, by configuring a plurality of key matrices with key switches provided corresponding to the operation keys, three or more keys in a specific combination, for example, a diagonal input of a ten key and a direction key are provided. When multiple presses occur with a key, erroneous recognition of a key operation can be effectively prevented. Further, a diode for preventing erroneous detection of a key switch is not required, and a small-sized and low-cost key scanning device can be provided.
[0042]
【The invention's effect】
As described above, according to the present invention, there is provided a key scanning device capable of preventing erroneous recognition of a key operation at the time of multiple pressing with a specific combination of keys without using an element such as a diode, and using the key scanning device. Electronic equipment can be provided.
[Brief description of the drawings]
FIG. 1 is a block diagram showing a configuration of a key scan device according to one embodiment of the present invention. FIG. 2 is a timing chart showing a key scan signal in the key scan device according to one embodiment of the present invention. FIG. 4 is an explanatory diagram showing an example of a current path in a key matrix for a numeric keypad according to an embodiment. FIG. 4 is an explanatory diagram showing an example of a current path in a key matrix for a direction key according to the present embodiment. FIG. 6 is an explanatory diagram showing an example of a current path in a key matrix of a conventional key scanning device. FIG. 7 is a diagram showing a configuration of a key matrix of a key scanning device in a second conventional example and a current in the key matrix. Explanatory diagram showing an example of a route [Explanation of reference numerals]
Reference Signs List 10 Key matrix for numeric keys 11 Key matrix for directional keys 12 Key scan circuit 13 Output port 14 Input port 15 Key scan signal 16 Key sense signal 17 Pull-up resistors S111 to S156 Key switch

Claims (5)

複数の操作キーに対応して設けられたキースイッチを複数のグループに分割して前記グループごとに前記複数のキースイッチをマトリクス状に配置して構成した複数のキーマトリクスと、
前記複数のキーマトリクスをスキャンして前記キースイッチの開閉状態を検出するキースキャン回路と、
を備えたことを特徴とするキースキャン装置。
A plurality of key matrices configured by dividing key switches provided corresponding to a plurality of operation keys into a plurality of groups and arranging the plurality of key switches in a matrix for each group;
A key scan circuit that scans the plurality of key matrices to detect an open / closed state of the key switch;
A key scanning device comprising:
前記複数のキーマトリクスは、前記複数の操作キーの多重押下を行う組み合わせに対して、個々のキーマトリクスに対応するキースイッチが2つ以下となるようにキースイッチを割り当てて構成したことを特徴とする請求項1に記載のキースキャン装置。The plurality of key matrices are configured by assigning key switches such that the number of key switches corresponding to each key matrix is two or less with respect to a combination that performs multiple presses of the plurality of operation keys. The key scanning device according to claim 1. 前記キースキャン回路は、前記複数のキーマトリクスを個別にスキャンし、これらのキーマトリクスごとに前記操作キーの押下によるキースイッチの開閉状態を検出することを特徴とする請求項1に記載のキースキャン装置。2. The key scan according to claim 1, wherein the key scan circuit individually scans the plurality of key matrices and detects an open / closed state of a key switch due to depression of the operation key for each of the key matrices. apparatus. 前記複数のキースイッチとして、数字または文字の入力を行う入力キーに対応したキースイッチ群と、方向指示を行う方向キーに対応したキースイッチ群とを少なくとも備え、前記それぞれのキースイッチ群ごとにキーマトリクスを構成したことを特徴とする請求項1に記載のキースキャン装置。As the plurality of key switches, at least a key switch group corresponding to an input key for inputting a number or a character, and a key switch group corresponding to a direction key for performing a direction instruction are provided, and a key is provided for each of the key switch groups. The key scan device according to claim 1, wherein a matrix is formed. 請求項1〜4のいずれかに記載のキースキャン装置を備えた電子機器。An electronic apparatus comprising the key scan device according to claim 1.
JP2002239593A 2002-08-20 2002-08-20 Key scanning device and electronic equipment Pending JP2004078688A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2002239593A JP2004078688A (en) 2002-08-20 2002-08-20 Key scanning device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2002239593A JP2004078688A (en) 2002-08-20 2002-08-20 Key scanning device and electronic equipment

Publications (1)

Publication Number Publication Date
JP2004078688A true JP2004078688A (en) 2004-03-11

Family

ID=32022660

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2002239593A Pending JP2004078688A (en) 2002-08-20 2002-08-20 Key scanning device and electronic equipment

Country Status (1)

Country Link
JP (1) JP2004078688A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006201918A (en) * 2005-01-19 2006-08-03 Kyocera Corp Electronic equipment, key detecting device and key detecting method
JP2008250803A (en) * 2007-03-30 2008-10-16 Kyocera Corp Key operation device, and mobile terminal device
JP2009064389A (en) * 2007-09-10 2009-03-26 Nec Corp Key input device and portable terminal
CN102064834A (en) * 2011-02-15 2011-05-18 苏州华芯微电子股份有限公司 Method for scanning extension ground key
JP2015192253A (en) * 2014-03-28 2015-11-02 株式会社富士通ゼネラル key matrix circuit

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006201918A (en) * 2005-01-19 2006-08-03 Kyocera Corp Electronic equipment, key detecting device and key detecting method
JP2008250803A (en) * 2007-03-30 2008-10-16 Kyocera Corp Key operation device, and mobile terminal device
US8339292B2 (en) 2007-03-30 2012-12-25 Kyocera Corporation Key operation device and mobile terminal device
JP2009064389A (en) * 2007-09-10 2009-03-26 Nec Corp Key input device and portable terminal
CN102064834A (en) * 2011-02-15 2011-05-18 苏州华芯微电子股份有限公司 Method for scanning extension ground key
JP2015192253A (en) * 2014-03-28 2015-11-02 株式会社富士通ゼネラル key matrix circuit

Similar Documents

Publication Publication Date Title
US7956771B2 (en) Compact alphanumeric keyboard
US5528235A (en) Multi-status multi-function data processing key and key array
US6630927B2 (en) Keyboard key discrimination employing drive line/sense line combinations and accomodating simultaneous key press conditions
USRE41017E1 (en) Circuit layout arrangement for key switch signal recognition
CN101981903A (en) 12-key QWERTY text entry method
JP2004078688A (en) Key scanning device and electronic equipment
US20080024328A1 (en) Key expansion apparatus of electronic device
JP2002354079A (en) Key display unit
JPS60198623A (en) Data input device
JP3037314B1 (en) Key input device
JP2001142620A (en) Keyboard
US20070125627A1 (en) Apparatus and method for character input
JPH06187097A (en) Touch panel device for display device
JPH1195891A (en) Facsimile equipment
US7218247B2 (en) Brief numerical keypad and its output method
JP2594680B2 (en) Key matrix
KR20040010910A (en) Key scan apparatus and method for mobile communication terminal
KR20020080646A (en) Key signal input device
US20100026531A1 (en) Electronic device
KR100373558B1 (en) Key input device using rotary switch
KR100640482B1 (en) Method and apparatus for detecting signal of key input in a mobile terminal
KR20000032636A (en) Apparatus for inputting multi signal
JP2002007044A (en) Electronic equipment
KR20000005271U (en) Switch state detection circuit using keypad state scanning logic
JP2006201918A (en) Electronic equipment, key detecting device and key detecting method