JP2012089148A - Portable electronic equipment and control method for the same - Google Patents

Portable electronic equipment and control method for the same Download PDF

Info

Publication number
JP2012089148A
JP2012089148A JP2011262784A JP2011262784A JP2012089148A JP 2012089148 A JP2012089148 A JP 2012089148A JP 2011262784 A JP2011262784 A JP 2011262784A JP 2011262784 A JP2011262784 A JP 2011262784A JP 2012089148 A JP2012089148 A JP 2012089148A
Authority
JP
Japan
Prior art keywords
detection
contact
sensor
unit
sensor element
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
JP2011262784A
Other languages
Japanese (ja)
Inventor
Taro Iio
太郎 飯尾
Saaya Miura
紗綾 三浦
Koichiro Fujiwara
幸一郎 藤原
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.)
Kyocera Corp
Original Assignee
Kyocera Corp
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 Kyocera Corp filed Critical Kyocera Corp
Priority to JP2011262784A priority Critical patent/JP2012089148A/en
Publication of JP2012089148A publication Critical patent/JP2012089148A/en
Pending legal-status Critical Current

Links

Images

Abstract

PROBLEM TO BE SOLVED: To provide portable electronic equipment and control method for the same that can meet the intention of a user as much as possible by validating processing from the user as much as possible without performing erroneous processing on an abnormal input.SOLUTION: In a portable telephone terminal 100, a sensor section 120 detects contacts, and a control section 110 processes simultaneous contacts at adjacent two portions detected by the sensor section 120 as effective signals and processes simultaneous contacts at two portions which are not adjacent to each other as ineffective signals.

Description

本発明は、携帯電子機器に関し、より詳細には、操作入力部として接触を検出する複数のセンサ素子を設けた携帯電子機器およびその制御方法に関する。   The present invention relates to a portable electronic device, and more particularly to a portable electronic device provided with a plurality of sensor elements that detect contact as an operation input unit and a control method thereof.

従来、携帯電子機器の操作入力部として様々なインターフェースや構成が開発されてきた。例えば、携帯電子機器に回転ダイヤル式入力デバイスを設け、表示部上に表示させたカーソルを回転ダイヤル式入力デバイスの回転量に応じて移動させる技術がある(特許文献1参照)。しかしながら、このような従来技術では、物理的・機械的な回転を伴う「回転ダイヤル」を用いているため、機械的な磨耗などによって誤動作や故障などが発生し易く、操作入力部のメンテナンスが必要であったり、耐用期間が短かったりするという問題があった。   Conventionally, various interfaces and configurations have been developed as operation input units for portable electronic devices. For example, there is a technique in which a rotary electronic input device is provided in a portable electronic device, and a cursor displayed on a display unit is moved according to the amount of rotation of the rotary dial input device (see Patent Document 1). However, since these conventional technologies use a “rotary dial” that involves physical and mechanical rotation, malfunctions and breakdowns are likely to occur due to mechanical wear, etc., and maintenance of the operation input unit is required. And there is a problem that the service life is short.

そこで、物理的・機械的な回転を伴わない操作入力部としてタッチセンサを利用する技術が提案されている(特許文献2、3参照)。この提案技術は、複数のタッチセンサ素子を円環状に配して、個々のタッチセンサ素子からの接触検出を監視し、連続的な接触検出を検出した場合は、その接触検出箇所の移動に応じて、表示位置の移動指示が生じたと判定するものである。   In view of this, techniques for using a touch sensor as an operation input unit that does not involve physical and mechanical rotation have been proposed (see Patent Documents 2 and 3). In this proposed technology, a plurality of touch sensor elements are arranged in an annular shape, and contact detection from each touch sensor element is monitored. When continuous contact detection is detected, the touch detection element responds to the movement of the contact detection location. Thus, it is determined that an instruction to move the display position has occurred.

特開2003−280792号公報Japanese Patent Laid-Open No. 2003-280792 特開2005−522797号公報Japanese Patent Laid-Open No. 2005-522797 特開2004−311196号公報JP 2004-31196 A

上記の特許文献2,3に開示の技術では、環状に配された複数のタッチセンサ素子が時計方向に回転操作されたか、反時計方向に回転操作されたかを検知して、その検知した方向に応じてカーソルを2方向の一方または他方に移動させるようにしている。ところが、携帯性が問われる携帯電子機器においては、タッチセンサのデバイスのサイズ自体も小さく、緻密なレイアウトとなるため、指のサイズの大きいユーザが操作する場合や、指を寝かした状態で操作する場合など、複数のタッチセンサ素子が同時に触れてしまったり、不慣れなユーザが同時に別々のタッチセンサ素子に触れてしまったりすることが生じ、ユーザの意図しない操作となってしまう場合があった。特許文献2,3に開示の技術では、ユーザがセンサに触れると、すぐに接触に応じた処理は行えるものの、このような、異常な接触状態が生じたことに対する入力に対しての対策がなされていなかった。   In the techniques disclosed in Patent Documents 2 and 3, it is detected whether a plurality of touch sensor elements arranged in a ring shape are rotated clockwise or counterclockwise, and the detected direction is detected in the detected direction. Accordingly, the cursor is moved to one or the other of the two directions. However, in portable electronic devices that require portability, the size of the touch sensor device itself is small and the layout is precise, so the user operates with a large finger size or with the finger lying down. In some cases, a plurality of touch sensor elements may be touched at the same time, or an unfamiliar user may touch different touch sensor elements at the same time, resulting in an operation unintended by the user. In the technologies disclosed in Patent Documents 2 and 3, when a user touches a sensor, processing corresponding to the contact can be performed immediately, but a countermeasure is taken against an input for such an abnormal contact state. It wasn't.

本発明は、このような問題点に鑑みてなされたものであり、本発明の目的は、異常な入力に対して誤った処理を行うことなく、かつユーザからの処理を極力有効にしてユーザに対してストレスを与えることのない携帯電子機器およびその制御方法を提供することにある。   The present invention has been made in view of such problems, and an object of the present invention is to enable a user to make the processing from a user as effective as possible without performing an erroneous process for an abnormal input. An object of the present invention is to provide a portable electronic device and a control method thereof that do not give stress to the device.

上記目的を達成するため、本発明の携帯電子機器は、接触を検出する検出部と、前記検出部により検出された隣接の2ヶ所同時接触を有効な信号として処理し、非隣接の2ヶ所同時接触を有効でない信号として処理する制御部とを備えることを特徴とする。   In order to achieve the above object, a portable electronic device of the present invention processes a detection unit for detecting contact and simultaneous contact at two adjacent points detected by the detection unit as an effective signal, and simultaneously at two non-adjacent sites. And a control unit that processes the contact as an invalid signal.

また、本発明の携帯電子機器の制御方法は、接触を検出する検出部を備える携帯電子機器の制御方法であって、前記検出部により検出された隣接の2ヶ所同時接触を有効な信号として処理し、非隣接の2ヶ所同時接触を有効でない信号として処理することを特徴とする。   The method for controlling a portable electronic device according to the present invention is a method for controlling a portable electronic device including a detection unit that detects contact, and processes two adjacent simultaneous contacts detected by the detection unit as an effective signal. However, it is characterized in that non-adjacent two simultaneous contacts are processed as ineffective signals.

本発明によれば、ユーザの指が各センサ素子に対して同時に複数接触してしまったり、不慣れなユーザが同時に別々のセンサ素子に触れてしまったりしても、誤った処理を行うことなく、かつユーザからの処理を極力有効にしてユーザの意図に極力沿うことができる。特に3点同時押下について中央素子検出の信号に置き換えることにより、制御部の処理の増加を抑えつつも、指の大きいユーザの操作にも対応することができる。   According to the present invention, even if a user's finger makes multiple contact with each sensor element at the same time, or an inexperienced user touches different sensor elements at the same time, without performing erroneous processing, In addition, it is possible to make the processing from the user as effective as possible and conform to the user's intention as much as possible. In particular, by replacing the three-point simultaneous pressing with a signal for detecting the central element, it is possible to cope with a user operation with a large finger while suppressing an increase in processing of the control unit.

本発明を適用した携帯電話端末の基本的な構成を示すブロック図である。It is a block diagram which shows the basic composition of the mobile telephone terminal to which this invention is applied. センサ素子を筐体に実装した携帯電話端末の斜視図である。It is a perspective view of the mobile telephone terminal which mounted the sensor element in the housing | casing. 本発明を適用した携帯電話端末の詳細な機能ブロック図である。It is a detailed functional block diagram of a mobile phone terminal to which the present invention is applied. 本発明による携帯電話端末のタッチセンサ機能のより詳細な構成を示すブロック図である。It is a block diagram which shows the more detailed structure of the touch sensor function of the mobile telephone terminal by this invention. 本発明による携帯電話端末の構成要素の配置を示す平面図である。It is a top view which shows arrangement | positioning of the component of the mobile telephone terminal by this invention. 図5に示した携帯電話端末の構成要素の分解斜視図である。It is a disassembled perspective view of the component of the mobile telephone terminal shown in FIG. 本発明による携帯電話端末における各センサ素子からの接触検知データの処理を説明する概略ブロック図である。It is a schematic block diagram explaining the process of the contact detection data from each sensor element in the mobile telephone terminal by this invention. センサ素子上をユーザがなぞった場合のサブ表示部の動作を示す図である。It is a figure which shows operation | movement of the sub display part when a user traces on a sensor element. センサ素子上をユーザがなぞった場合のサブ表示部の動作を示す図である。It is a figure which shows operation | movement of the sub display part when a user traces on a sensor element. センサ素子検出状態を16個に分割して示した概念図である。It is the conceptual diagram which divided and showed the sensor element detection state to 16. 16個の検出状態における移動確定処理(即ち、保留処理)の一例を示すフローチャートである。It is a flowchart which shows an example of the movement confirmation process (namely, holding | maintenance process) in 16 detection states. 図11のフローチャートの処理を図10のセンサ素子L1からL4への接触に適用した場合の確定処理を説明する図である。It is a figure explaining the determination process at the time of applying the process of the flowchart of FIG. 11 to the contact to the sensor elements L1 to L4 of FIG. 「半周内検出モード」において、シリアル割込み監視部SIMONと確認部CNFの動作を説明するフローチャートである。7 is a flowchart for explaining operations of a serial interrupt monitoring unit SIMON and a confirmation unit CNF in the “half-round detection mode”. 「周回検出モード」におけるタッチセンサの接触検出についての基本的な動作を示すフローチャートである。It is a flowchart which shows the basic operation | movement about the contact detection of the touch sensor in "around detection mode". 「周回検出モード」の一具体例を説明する図である。It is a figure explaining a specific example of "around detection mode". 「周回検出モード」の動作を説明するフローチャートである。It is a flowchart explaining the operation | movement of "around detection mode." 「周回検出モード」において、シリアル割込み監視部SIMONと確認部CNFの動作を説明するフローチャートである。7 is a flowchart for explaining operations of a serial interrupt monitoring unit SIMON and a confirmation unit CNF in the “circulation detection mode”. 確認部CNFが参照する変換テーブルの一例を示す図である。It is a figure which shows an example of the conversion table which the confirmation part CNF refers. 隣接位置関係にあるセンサ素子の3ヶ所同時検出の状態を説明する図である。It is a figure explaining the state of three places simultaneous detection of the sensor element in an adjacent positional relationship.

本発明の実施の形態について図面を参照して説明する。以下、携帯電子機器の典型例として携帯電話端末に本発明を適用して説明する。図1は、本発明を適用した携帯電話端末の基本的な構成を示すブロック図である。図1に示す携帯電話端末100は、制御部110、センサ部120、表示部130、記憶部(フラッシュメモリなど)140、情報処理機能部150、電話機能部160、キー操作部KEYおよびスピーカSP、図示しないCDMA通信網に接続して通信を行う通信部COMにより構成されている。さらに、センサ部120は、複数のセンサ素子(例えば、その検知部を機器筐体の外面に設けてあり、指などの物体の接触・近接を検出する接触センサ)を含んだセンサ素子群を、用途に応じてn個、即ち、第1のセンサ素子群G1、第2のセンサ素子群G2および第nのセンサ素子群G3を含み、記憶部140は、保存領域142、外部データ保存領域144から構成されている。制御部110および情報処理機能部150は、CPUなどの演算手段およびソフトウェアモジュールなどから構成させることが好適である。なお、後述するシリアルインターフェース部SI、シリアルインターフェース部SIを介して制御部110に接続されるRFIDモジュールRFIDや赤外線通信部IR、さらにはカメラ220やライト230の他、マイクMIC、ラジオモジュールRM、電源PS、電源コントローラPSCON等が制御部110に接続されるが、ここでは簡略化のため省略する。   Embodiments of the present invention will be described with reference to the drawings. Hereinafter, the present invention is applied to a mobile phone terminal as a typical example of the mobile electronic device. FIG. 1 is a block diagram showing a basic configuration of a mobile phone terminal to which the present invention is applied. 1 includes a control unit 110, a sensor unit 120, a display unit 130, a storage unit (flash memory or the like) 140, an information processing function unit 150, a telephone function unit 160, a key operation unit KEY, and a speaker SP. The communication unit COM is connected to a CDMA communication network (not shown) to perform communication. Further, the sensor unit 120 includes a sensor element group including a plurality of sensor elements (for example, a contact sensor whose detection unit is provided on the outer surface of the device housing and detects contact / proximity of an object such as a finger). The storage unit 140 includes a storage area 142 and an external data storage area 144. The storage section 140 includes n, i.e., a first sensor element group G1, a second sensor element group G2, and an nth sensor element group G3. It is configured. The control unit 110 and the information processing function unit 150 are preferably configured by a calculation unit such as a CPU and a software module. Note that a serial interface unit SI, an RFID module RFID connected to the control unit 110 via the serial interface unit SI, an infrared communication unit IR, a camera 220 and a light 230, a microphone MIC, a radio module RM, a power source PS, power supply controller PSCON and the like are connected to control unit 110, but are omitted here for simplification.

図1のブロック図における各ブロックの機能を簡単に説明する。制御部110は、センサ部120によりユーザの指などによる物体の接触を検出し、記憶部140の保存領域142に検出した情報を格納し、情報処理機能部150により格納した情報の処理を制御する。そして、処理結果に応じた情報を表示部130に表示させる。さらに制御部110は、通常の通話機能のための電話機能部160、キー操作部KEYおよびスピーカSPを制御する。なお、表示部130は、サブ表示部ELDおよび図示しないメイン表示部(携帯電話端末100が閉状態にて隠れ、開状態にて露出する位置に設けられる表示部)を含んで構成される。   The function of each block in the block diagram of FIG. 1 will be briefly described. The control unit 110 detects contact of an object with a user's finger or the like by the sensor unit 120, stores the detected information in the storage area 142 of the storage unit 140, and controls processing of the information stored by the information processing function unit 150. . Then, information corresponding to the processing result is displayed on the display unit 130. Further, the control unit 110 controls the telephone function unit 160, the key operation unit KEY, and the speaker SP for a normal call function. The display unit 130 includes a sub display unit ELD and a main display unit (not shown) (a display unit provided at a position where the mobile phone terminal 100 is hidden in the closed state and exposed in the open state).

図2は、センサ素子を筐体に実装した携帯電話端末の斜視図である。携帯電話端末100は、図2に示すような閉状態のほか、ヒンジ部を回動、スライドさせて開状態を形成することも可能であって、タッチセンサ部210は、閉状態においても操作可能な位置に設けられている。図2(a)は携帯電話端末100の外観を示す斜視図である。携帯電話端末100は、タッチセンサ部210(外観上、センサ部130、即ちセンサ素子群G1、G2を覆う、図6にて後述するパネルPNLが見えている)、カメラ220、およびライト230を備える。図2(b)は、タッチセンサの動作の説明のために、パネルPNLを省略し、センサ素子とサブ表示部ELD周辺のみの配置を表示した携帯電話端末100の斜視図である。センサ素子L1〜L4およびR1〜R4は、それぞれ静電容量式の接触センサからなり、有機ELディスプレイからなるサブ表示部ELDの周囲に沿って並べて配置されている。センサ素子L1〜L4は第1のセンサ素子群G1を構成し、センサ素子R1〜R4は第2のセンサ素子群G2を構成している。第1のセンサ素子群G1と第2のセンサ素子群G2は、離間部SP1、SP2を隔てて並べられている。第1のセンサ素子群G1のレイアウトに対して、第2のセンサ素子群G2は、サブ表示部ELDを挟み、選択候補項目の並べられている方向を中心線とする線対称なレイアウトを持つ。なお、サブ表示部ELDは、有機ELディスプレイに限らず、例えば液晶表示ディスプレイ等を用いることもできる。また、センサ素子L1〜L4,R1〜R4は、静電容量式の接触センサに限らず、薄膜抵抗式の接触センサを用いることもできる。   FIG. 2 is a perspective view of a mobile phone terminal in which a sensor element is mounted on a housing. In addition to the closed state as shown in FIG. 2, the mobile phone terminal 100 can also be formed by opening and turning the hinge part and the touch sensor part 210 can be operated even in the closed state. It is provided at a position. FIG. 2A is a perspective view showing the appearance of the mobile phone terminal 100. The mobile phone terminal 100 includes a touch sensor unit 210 (in appearance, a sensor unit 130, that is, a panel PNL described later with reference to FIG. 6 covering the sensor element groups G1 and G2), a camera 220, and a light 230. . FIG. 2B is a perspective view of the mobile phone terminal 100 in which the panel PNL is omitted for the explanation of the operation of the touch sensor, and only the arrangement around the sensor element and the sub display unit ELD is displayed. The sensor elements L1 to L4 and R1 to R4 are each composed of a capacitance type contact sensor, and are arranged side by side along the periphery of the sub display unit ELD composed of an organic EL display. The sensor elements L1 to L4 constitute a first sensor element group G1, and the sensor elements R1 to R4 constitute a second sensor element group G2. The first sensor element group G1 and the second sensor element group G2 are arranged with the separation portions SP1 and SP2 therebetween. With respect to the layout of the first sensor element group G1, the second sensor element group G2 has a line-symmetric layout with the sub display portion ELD sandwiched therebetween and the direction in which the selection candidate items are arranged as the center line. The sub display unit ELD is not limited to an organic EL display, and for example, a liquid crystal display can be used. The sensor elements L1 to L4 and R1 to R4 are not limited to electrostatic capacitance type contact sensors, and thin film resistance type contact sensors can also be used.

図2の携帯電話端末100において、サブ表示部ELDは、携帯電話端末100の用途に応じた情報を表示する。例えば、携帯電話端末100を音楽プレーヤーとして用いる場合、サブ表示部ELDには演奏できる曲目が表示される。曲名およびアーティスト名の組で1つの項目、即ち、「選択候補項目」となる。ユーザは、操作入力部としてタッチセンサ部210を操作してセンサ素子L1〜L4、R1〜R4の静電容量を変化させて、サブ表示部ELDに表示された項目や操作対象領域を移動させて曲目の選択を行う。このときタッチセンサは、図2のように、サブ表示部ELDの周囲にセンサ素子を並べる構成とすれば、小型な携帯電子機器の外部筐体における実装部分を大きく占有せずに済み、かつ、ユーザは、サブ表示部ELDの表示を見ながらセンサ素子を操作することができる。   In the mobile phone terminal 100 of FIG. 2, the sub display unit ELD displays information corresponding to the use of the mobile phone terminal 100. For example, when the mobile phone terminal 100 is used as a music player, the sub-display unit ELD displays a song that can be played. A combination of a song name and an artist name is one item, that is, a “selection candidate item”. The user operates the touch sensor unit 210 as an operation input unit to change the capacitances of the sensor elements L1 to L4 and R1 to R4 to move items and operation target areas displayed on the sub display unit ELD. Select the song. At this time, as shown in FIG. 2, if the touch sensor has a configuration in which the sensor elements are arranged around the sub display unit ELD, the mounting portion in the external housing of the small portable electronic device can be largely occupied, and The user can operate the sensor element while viewing the display on the sub display unit ELD.

図3は、本発明を適用した携帯電話端末100の詳細な機能ブロック図である。言うまでもないが、図3に示す各種ソフトウエアは、記憶部140に記憶されるプログラムに基づいて、同じく記憶部140上にワークエリアを設けた上で、制御部110が実行することにより動作する。図に示すように、携帯電話端末の諸機能は、ソフトウェアブロックとハードウェアブロックとに分かれる。ソフトウェアブロックは、フラグ記憶部FLGを持つベースアプリBA、サブ表示部表示アプリAP1、ロックセキュリティアプリAP2、その他アプリAP3、およびラジオアプリAP4から構成される。ソフトウェアブロックは、さらに、赤外線通信アプリAPIRおよびRFIDアプリAPRFも含む。これらの各種アプリ(アプリケーションソフトウェア)がハードウェアブロックの各種ハードウェアを制御するときに、赤外線通信ドライバIRD、RFIDドライバRFD、オーディオドライバAUD、ラジオドライバRD、およびプロトコルPRをドライバとして使用する。例えば、オーディオドライバAUD、ラジオドライバRD、およびプロトコルPRは、それぞれ、マイクMIC、スピーカSP、通信部COM、およびラジオモジュールRMを制御する。ソフトウェアブロックは、さらに、ハードウェアの操作状態を監視・検出するキースキャンポートドライバKSPも含み、タッチセンサドライバ関連検出、キー検出、折り畳み式やスライド式などの携帯電話端末の開閉を検出する開閉検出、イヤホン着脱検出などを行う。   FIG. 3 is a detailed functional block diagram of the mobile phone terminal 100 to which the present invention is applied. Needless to say, the various types of software shown in FIG. 3 operate based on a program stored in the storage unit 140, similarly by providing a work area on the storage unit 140 and being executed by the control unit 110. As shown in the figure, various functions of the mobile phone terminal are divided into software blocks and hardware blocks. The software block includes a base application BA having a flag storage unit FLG, a sub display unit display application AP1, a lock security application AP2, other applications AP3, and a radio application AP4. The software block further includes an infrared communication application APIR and an RFID application APRF. When these various applications (application software) control various hardware of the hardware block, the infrared communication driver IRD, RFID driver RFD, audio driver AUD, radio driver RD, and protocol PR are used as drivers. For example, the audio driver AUD, the radio driver RD, and the protocol PR control the microphone MIC, the speaker SP, the communication unit COM, and the radio module RM, respectively. The software block also includes a key scan port driver KSP that monitors and detects the operation state of the hardware, and includes touch sensor driver-related detection, key detection, and open / close detection that detects opening / closing of mobile phone terminals such as a folding type and a sliding type. And earphone attachment / detachment detection.

ハードウェアブロックは、ダイヤルキーや後述するタクトスイッチSW1〜SW4を含む各種ボタンなどを含むキー操作部KEY、ヒンジ部の動作状況などに基づき開閉を検出する開閉検出デバイスOCD、機器本体付属のマイクMIC、着脱可能なイヤホンEAP、スピーカSP、通信部COM、ラジオモジュールRM、シリアルインターフェース部SI、および切替制御部SWCONから構成される。切替制御部SWCONは、ソフトウェアブロックの該当ブロックからの指示に従って、赤外線通信部IR、RFIDモジュール(無線識別タグ)RFID、タッチセンサモジュールTSM(センサ部120と、発振回路などのセンサ部120を駆動する上で必要な部品一式をモジュール化したもの)のうちのいずれか1つを選択して当該信号をシリアルインターフェース部SIが拾い上げるように選択対象ハードウェア(IR、RFID、TSM)を切り替える。電源PSは、電源コントローラPSCONを介して選択対象ハードウェア(IR、RFID、TSM)に電力を供給する。   The hardware block includes a key operation unit KEY including dial keys and various buttons including tact switches SW1 to SW4, which will be described later, an open / close detection device OCD that detects open / close based on the operating state of the hinge unit, and a microphone MIC attached to the device body. , Detachable earphone EAP, speaker SP, communication unit COM, radio module RM, serial interface unit SI, and switching control unit SWCON. The switching control unit SWCON drives the infrared communication unit IR, the RFID module (radio identification tag) RFID, the touch sensor module TSM (the sensor unit 120 and the sensor unit 120 such as an oscillation circuit) according to an instruction from the corresponding block of the software block. The hardware to be selected (IR, RFID, TSM) is switched so that the serial interface unit SI picks up the signal. The power supply PS supplies power to the selection target hardware (IR, RFID, TSM) via the power supply controller PSCON.

図4は、本発明による携帯電話端末100のタッチセンサ機能のより詳細な構成を示すブロック図である。図に示すように、本携帯電話端末100は、タッチセンサドライバブロックTDB、タッチセンサベースアプリブロックTSBA、デバイス層DL、割込ハンドラIH、キューQUE、OSタイマーCLK、各種アプリAP1〜AP3を備える。ここでタッチセンサベースアプリブロックTSBAは、ベースアプリBAおよびタッチセンサドライバ上位アプリケーションプログラムインターフェースAPIを備え、タッチセンサドライバブロックTDBは、タッチセンサドライバTSDおよび結果通知部NTFを備える。また、デバイス層DLは、切替制御部SWCON、切替部SW、シリアルインターフェース部SI、赤外線通信部IR、RFIDモジュールRFIDおよびタッチセンサモジュールTSMを備え、割込ハンドラIHは、シリアル割込み監視部SIMONおよび確認部CNFを備える。   FIG. 4 is a block diagram showing a more detailed configuration of the touch sensor function of the mobile phone terminal 100 according to the present invention. As shown in the figure, the mobile phone terminal 100 includes a touch sensor driver block TDB, a touch sensor base application block TSBA, a device layer DL, an interrupt handler IH, a queue QUE, an OS timer CLK, and various applications AP1 to AP3. Here, the touch sensor base application block TSBA includes a base application BA and a touch sensor driver upper application program interface API, and the touch sensor driver block TDB includes a touch sensor driver TSD and a result notification unit NTF. The device layer DL includes a switching control unit SWCON, a switching unit SW, a serial interface unit SI, an infrared communication unit IR, an RFID module RFID, and a touch sensor module TSM, and an interrupt handler IH includes a serial interrupt monitoring unit SIMON and a confirmation Part CNF.

次に、各ブロックの機能を図を参照して説明する。タッチセンサベースアプリブロックTSBAにおいて、ベースアプリBAと、タッチセンサドライバ上位アプリケーションプログラムインターフェースAPIとの間では、タッチセンサを起動するか否かのやり取りが行われる。ベースアプリBAは、サブ表示部用のアプリケーションであるサブ表示部表示アプリAP1、セキュリティ保護用に携帯電話端末100にロックをかけるアプリケーションであるロックセキュリティアプリAP2、その他のアプリケーションAP3のベースとなるアプリケーションであり、ベースアプリBAに前記各アプリからタッチセンサの起動が要求された場合に、タッチセンサドライバ上位アプリケーションプログラムインターフェースAPIにタッチセンサの起動を要求する。なお、サブ表示部とは、各図に示すサブ表示部ELDであって、本実施例における携帯電話端末100において、環状に配置されたセンサ素子群の中央領域に設けられたサブ表示部ELDのことを指す。   Next, the function of each block will be described with reference to the drawings. In the touch sensor base application block TSBA, whether or not to activate the touch sensor is exchanged between the base application BA and the touch sensor driver upper application program interface API. The base application BA is an application that is a base of the sub display unit display application AP1 that is an application for the sub display unit, the lock security application AP2 that is an application that locks the mobile phone terminal 100 for security protection, and other applications AP3. Yes, when a touch sensor activation is requested from the respective applications to the base application BA, the touch sensor driver upper application program interface API is requested to activate the touch sensor. The sub display unit is a sub display unit ELD shown in each drawing, and in the mobile phone terminal 100 according to the present embodiment, the sub display unit ELD provided in the central region of the sensor element group arranged in a ring shape. Refers to that.

起動の要求を受け、タッチセンサドライバ上位アプリケーションプログラムインターフェースAPIは、ベースアプリBA内のアプリケーションの起動を管理するブロック(図示せず)に、タッチセンサの起動が可能か否かの確認を行う。即ち、アプリケーションの選択が実行されていることを示すサブ表示部ELDの点灯、またはFMラジオその他の携帯電話端末100に付属するアプリケーション等の、あらかじめタッチセンサの起動が不可能と設定されたアプリケーションの起動を示すフラグの有無を確認する。その結果、タッチセンサの起動が可能と判断された場合、タッチセンサドライバ上位アプリケーションプログラムインターフェースAPIは、タッチセンサドライバTSDにタッチセンサモジュールTSMの起動を要求する。即ち、実質的には電源コントローラPSCOMを介した電源PSからタッチセンサモジュールTSMへの電源供給を開始する。   In response to the activation request, the touch sensor driver upper application program interface API confirms whether or not the touch sensor can be activated in a block (not shown) that manages the activation of the application in the base application BA. That is, an application that has been set in advance such that the touch sensor cannot be activated, such as lighting of the sub-display unit ELD indicating that the application is being selected, or an application attached to the FM radio or other mobile phone terminal 100. Check for the presence of a flag indicating activation. As a result, when it is determined that the touch sensor can be activated, the touch sensor driver upper application program interface API requests the touch sensor driver TSD to activate the touch sensor module TSM. That is, power supply from the power source PS to the touch sensor module TSM via the power controller PSCOM is actually started.

起動が要求されると、タッチセンサドライバTSDは、デバイス層DL内のシリアルインターフェース部SIに要求して、シリアルインターフェース部SIにおけるタッチセンサドライバTSDとのポートを開くように制御する。   When activation is requested, the touch sensor driver TSD requests the serial interface unit SI in the device layer DL to control to open a port with the touch sensor driver TSD in the serial interface unit SI.

その後、タッチセンサドライバTSDは、タッチセンサのセンシング結果の情報を有する信号(以下、接触信号と記す)を、タッチセンサモジュールTSMが有する内部クロックによる20msの周期で、シリアルインターフェース部SIに出力されるように制御する。   Thereafter, the touch sensor driver TSD outputs a signal (hereinafter referred to as a contact signal) having information on the sensing result of the touch sensor to the serial interface unit SI at a cycle of 20 ms by an internal clock of the touch sensor module TSM. To control.

接触信号は、上述した各センサ素子L1〜L4およびR1〜R4の8つのセンサ素子それぞれに対応した8ビット信号で出力されている。即ち、各センサ素子が接触を検知したときには、この接触を検知したセンサ素子に対応するビットに、接触検知を表す「フラグ:1」を立てた信号であって、これらのビット列により接触信号が形成される。つまり、接触信号には、「どのセンサ素子」が「接触/非接触のいずれか」を示す情報が含まれる。   The contact signal is output as an 8-bit signal corresponding to each of the eight sensor elements L1 to L4 and R1 to R4 described above. That is, when each sensor element detects contact, a signal corresponding to the sensor element that has detected contact is set with “flag: 1” indicating contact detection, and the contact signal is formed by these bit strings. Is done. That is, the contact signal includes information indicating “which sensor element” is “one of contact / non-contact”.

割込ハンドラIHにおけるシリアル割込み監視部SIMONは、シリアルインターフェース部SIに出力された接触信号を取り出す。ここで確認部CNFが、シリアルインターフェース部SIにおいてあらかじめ設定された条件に従い、取り出した接触信号のTrue/Falseの確認を行い、True(真)な信号のデータのみをキューQUEに入れる(信号のTrue/Falseの種別については後述する)。また、シリアル割込み監視部SIMONは、タクトスイッチの押下の発生などのタッチセンサ起動中のシリアルインターフェース部SIの他の割込み事象の監視も行う。なお、本実施の形態では、割込ハンドラIHおよびキューQUEによりバッファリング手段を構成している。   The serial interrupt monitoring unit SIMON in the interrupt handler IH takes out the contact signal output to the serial interface unit SI. Here, the confirmation unit CNF confirms the True / False of the extracted contact signal in accordance with the conditions set in advance in the serial interface unit SI, and puts only True signal data into the queue QUE (signal True). The type of / False will be described later). The serial interrupt monitoring unit SIMON also monitors other interrupt events of the serial interface unit SI during activation of the touch sensor, such as occurrence of pressing of the tact switch. In the present embodiment, the interrupt handler IH and the queue QUE constitute buffering means.

なお、監視部SIMONは、8つのセンサ素子L1〜L4,R1〜R4のいずれのセンサ素子も接触を検出していない場合には、「リリース状態」にある。このリリース状態から最初に接触が検出されると、プレスを意味する信号を接触信号の前にキューQUEに入れる(キューイングする)。その後、オペレーションシステムの有するOSタイマーCLKによるクロックにより45ms周期で接触信号を更新する。ここで、いずれかのセンサ素子が接触を検出していれば、監視部SIMONは、「プレス状態」にある。なお、「最初の接触」とは、キューQUEにデータのない状態、或いは、直近の入力データがリリース状態を示すものである場合に「フラグ:1」を有する信号が発生する事象を指す。その後、いずれのセンサ素子も接触を検出していない接触信号が得られたときは、接触検出モードに応じてリリース状態として、そのリリース状態を意味する信号である開放信号をキューQUEに入れる。これらの処理により、タッチセンサドライバTSDは、接触開始(プレス)からリリースまでの区間のセンサ素子の検出状態を知ることができる。   The monitoring unit SIMON is in the “release state” when none of the eight sensor elements L1 to L4 and R1 to R4 has detected contact. When contact is detected for the first time from this release state, a signal signifying press is placed in the queue QUE before the contact signal. Thereafter, the contact signal is updated at a cycle of 45 ms by a clock based on the OS timer CLK of the operation system. Here, if any one of the sensor elements detects contact, the monitoring unit SIMON is in the “press state”. Note that “first contact” refers to an event in which a signal having “flag: 1” is generated when there is no data in the queue QUE or when the latest input data indicates a release state. Thereafter, when a contact signal is detected in which no sensor element detects contact, the release state is set in accordance with the contact detection mode, and an open signal, which is a signal indicating the release state, is placed in the queue QUE. By these processes, the touch sensor driver TSD can know the detection state of the sensor element in the section from the contact start (press) to the release.

また、監視部SIMONは、タッチセンサモジュールTSMから出力される接触信号がFalseとなる条件を満たす信号であった場合には、リリース状態を意味する開放信号に変換してキューQUEに入れる。ここでFalse(偽)となる条件としては、「タッチセンサモジュールTSM起動中に割込みが生じた場合(例えば、メール着信等の通知でサブ表示部ELDの点灯/消灯状態が変更された場合)」、「タッチセンサモジュールTSM起動中にキー押下が発生した場合」、または後述するように「非連続な2つのセンサ素子で接触を検出した場合」などが設定される。   In addition, when the contact signal output from the touch sensor module TSM is a signal that satisfies the condition of “False”, the monitoring unit SIMON converts the signal into a release signal indicating a release state and puts the signal into the queue QUE. Here, the condition to be False (false) is “when an interrupt occurs during activation of the touch sensor module TSM (for example, when the lighting / extinguishing state of the sub-display unit ELD is changed by notification of incoming mail etc.)” , “When a key is pressed during activation of the touch sensor module TSM”, or “when contact is detected by two non-continuous sensor elements” as described later.

タッチセンサドライバTSDは、45ms周期でキューQUEから接触信号を読み出し、読み出した接触信号によって、接触を検知した素子を判定する。タッチセンサドライバTSDは、キューQUEから順次に読み出した接触信号により判定した接触の変化、および、検知した素子との位置関係を考慮して、「接触スタートの素子」、「接触の移動方向(右/左回り)の検出」、および「プレスからリリースまでの移動距離」の判定を行う。タッチセンサドライバTSDは、判定された結果を結果通知部NTFに書き込むとともに、ベースアプリBAに結果を更新するように通知する。   The touch sensor driver TSD reads a contact signal from the queue QUE at a period of 45 ms, and determines an element that has detected contact based on the read contact signal. The touch sensor driver TSD considers the change in contact determined by the contact signal sequentially read from the queue QUE and the positional relationship with the detected element, and “contact start element”, “contact moving direction (right / Counterclockwise) "and" movement distance from press to release ". The touch sensor driver TSD writes the determined result in the result notification unit NTF and notifies the base application BA to update the result.

接触の移動方向および移動距離の判定は、隣接するセンサ素子の検出および各センサ素子の検出の組合せによって行うが、これには種々の手法(判定ルール)を適用することができる(詳細について後述する)。例えば、ある1つのセンサ素子(例えばR2)から隣接するセンサ素子(この例の場合、R2およびR3)へと接触が遷移すると、その方向に、1素子分(サブ表示部における1項目分)の移動とすると判定する。   The determination of the moving direction and the moving distance of contact is performed by a combination of detection of adjacent sensor elements and detection of each sensor element, and various methods (determination rules) can be applied to this (details will be described later). ). For example, when a contact transitions from one sensor element (for example, R2) to an adjacent sensor element (in this example, R2 and R3), one element (for one item in the sub display unit) is moved in that direction. Judged to be moving.

前述のように、結果の更新がタッチセンサドライバTSDによってベースアプリBAに通知されると、ベースアプリBAは結果通知部NTFを確認し、結果通知部NTFに通知された情報の内容を、さらに上位のアプリケーションであってタッチセンサ結果を要するアプリケーション(サブ表示部におけるメニュー画面表示のための表示部表示アプリAP1、およびロック制御のためのロックセキュリテイアプリAP2など)に通知する。   As described above, when the update of the result is notified to the base application BA by the touch sensor driver TSD, the base application BA confirms the result notification unit NTF, and further improves the content of the information notified to the result notification unit NTF. Applications that require touch sensor results (such as the display unit display application AP1 for displaying the menu screen in the sub display unit and the lock security application AP2 for lock control).

図5は、本発明による携帯電話端末100の特にタッチセンサ部210の構成要素の配置を示す平面図である。作図および説明の便宜上、一部の構成要素のみを図示および説明する。本図に示すように、有機EL素子からなるサブ表示部ELDの周囲に沿って円環状のパネルPNLが配されている。パネルPNLは、下部に設けるセンサ素子の感度に影響を与えないように十分に薄くすることが好適である。パネルPNLの下部には、人体の指の接触/近接を検知できる静電容量型の8個のセンサ素子L1〜L4、R1〜R4をほぼ環状に配置してある。左側の4つのセンサ素子L1〜L4で第1のセンサ素子群G1、右側の4つのセンサ素子R1〜R4で第2のセンサ素子群G2をそれぞれ構成している。各センサ素子群内の隣接するセンサ素子の間には、隣接するセンサ素子同士で接触検出機能に干渉しないように、クリアランス(隙間)を設けて配置してある。なお、干渉しないタイプのセンサ素子を用いる場合にはこのクリアランスは不要である。第1のセンサ素子群G1の一端に位置するセンサ素子L4と、第2のセンサ素子群G2の一端に位置するセンサ素子R1との間には、前記クリアランスより大きいクリアランス(例えば、2倍以上の長さ)である離間部SP1を設ける。第1のセンサ素子群G1の他端に位置するセンサ素子L1と、第2のセンサ素子群G2の他端に位置するセンサ素子R4との間にも、離間部SP1と同様に離間部SP2を設ける。このような離間部SP1、SP2によって、第1のセンサ素子群G1と第2のセンサ素子群G2とが別個に機能させる際に、互いに干渉することを防止することができる。   FIG. 5 is a plan view showing the arrangement of components of the touch sensor unit 210 of the mobile phone terminal 100 according to the present invention. For convenience of drawing and explanation, only some components are shown and described. As shown in the figure, an annular panel PNL is arranged along the periphery of the sub display unit ELD made of organic EL elements. The panel PNL is preferably thin enough so as not to affect the sensitivity of the sensor element provided in the lower part. Under the panel PNL, eight capacitance type sensor elements L1 to L4 and R1 to R4 capable of detecting the contact / proximity of a human finger are arranged in a substantially ring shape. The four sensor elements L1 to L4 on the left side constitute the first sensor element group G1, and the four sensor elements R1 to R4 on the right side constitute the second sensor element group G2. A clearance (gap) is provided between adjacent sensor elements in each sensor element group so that adjacent sensor elements do not interfere with the contact detection function. Note that this clearance is not necessary when using a sensor element that does not interfere. Between the sensor element L4 located at one end of the first sensor element group G1 and the sensor element R1 located at one end of the second sensor element group G2, a clearance larger than the clearance (for example, twice or more) A separation portion SP1 having a length) is provided. Similarly to the separation portion SP1, the separation portion SP2 is provided between the sensor element L1 located at the other end of the first sensor element group G1 and the sensor element R4 located at the other end of the second sensor element group G2. Provide. Such spacing portions SP1 and SP2 can prevent the first sensor element group G1 and the second sensor element group G2 from interfering with each other when functioning separately.

第1のセンサ素子群G1の各センサ素子は円弧状に配置されているが、この円弧の中央、即ち、センサ素子L2およびL3の中間の下部に、タクトスイッチSW1の中心を配置する。同様に、第2のセンサ素子群G2の各センサ素子で形成される円弧の中央、即ち、センサ素子R2およびR3の中間の下部に、タクトスイッチSW2の中心を配置する。また、第1のセンサ素子群G1と第2のセンサ素子群G2との間に設けられた離間部SP1、即ち、センサ素子L4およびR1の中間の下部に、タクトスイッチSW3の中心を配置し、離間部SP2、即ち、センサ素子R4およびL1の中間の下部に、タクトスイッチSW4の中心を配置する(図6参照)。このように、方向性を連想させない位置であるセンサ素子の中間の位置にタクトスイッチを配置することによって、センサ素子上におけるユーザによる指の方向性を持った移動指示操作による方向指示とは直接関係しない操作を行うスイッチであることを、ユーザは容易に把握することができる。また、センサ素子の下方にタクトスイッチを配して機器外面に露出していないため、機器の外観上も露出する操作部の点数を削減でき、複雑な操作を要さない様なスマートな印象となる。なお、タクトスイッチをパネルPNL下部以外の箇所に設ける場合には、機器筐体に別途貫通孔を設ける必要があるが、貫通孔を設ける位置によっては筐体強度の低下が生じ得る。本構成では、パネルPNL、および、センサ素子の下方にタクトスイッチを配することによって、新たな貫通孔を設ける必要がなくなり、筐体強度の低下も防止できる。   Each sensor element of the first sensor element group G1 is arranged in an arc shape, and the center of the tact switch SW1 is arranged in the center of the arc, that is, in the lower part between the sensor elements L2 and L3. Similarly, the center of the tact switch SW2 is arranged at the center of the arc formed by the sensor elements of the second sensor element group G2, that is, at the lower part between the sensor elements R2 and R3. In addition, the center of the tact switch SW3 is arranged in the lower part of the separation portion SP1 provided between the first sensor element group G1 and the second sensor element group G2, that is, between the sensor elements L4 and R1, The center of the tact switch SW4 is arranged at the lower part of the separation part SP2, that is, between the sensor elements R4 and L1 (see FIG. 6). In this way, by placing the tact switch in the middle position of the sensor element that is not associated with directionality, it is directly related to the direction instruction by the movement instruction operation with the direction of the finger by the user on the sensor element. The user can easily grasp that the switch performs the operation not to be performed. In addition, since the tact switch is placed under the sensor element and is not exposed to the outside of the device, the number of operation parts that are exposed on the external appearance of the device can be reduced, and a smart impression that does not require complicated operation and Become. In addition, when providing a tact switch in places other than the panel PNL lower part, it is necessary to provide a through-hole separately in an apparatus housing | casing, However, A housing | casing intensity | strength fall may arise depending on the position which provides a through-hole. In this configuration, by disposing the tact switch below the panel PNL and the sensor element, it is not necessary to provide a new through-hole, and the housing strength can be prevented from being lowered.

ユーザが、例えば、指で順次にセンサ素子L1、L2、L3、L4を円弧状に上方に向かってなぞると、表示部ELDに表示されている選択候補項目(この場合は、音、表示、データ、カメラ)のうち選択対象領域(ここでは図示しないが、反転表示や別のカラーでの強調表示など)として表示されている項目が上方のものに順次変化したり、選択候補項目が上方にスクロールしたりする。そして、所望の選択候補項目が選択対象領域として表示されているときに、ユーザは、パネルPNLおよびセンサ素子L2,L3越しにタクトスイッチSW1を押下して選択決定を行ったり、タクトスイッチSW1〜SW4を押下して表示自体を別画面に変更したりすることができる。即ち、パネルPNLは、タクトスイッチSW1〜SW4を押下するのに十分な可撓性を持ち、あるいはわずかに傾倒可能に機器筐体に取り付けられ、タクトスイッチSW1〜SW4に対する押し子の役も持っている。   For example, when the user sequentially traces the sensor elements L1, L2, L3, and L4 upward in a circular arc shape with a finger, the selection candidate item displayed in the display unit ELD (in this case, sound, display, data) , Camera) items displayed as selection target areas (not shown here, but highlighted, highlighted in another color, etc.) sequentially change to the upper one, or the selection candidate item scrolls upward To do. When a desired selection candidate item is displayed as the selection target area, the user presses the tact switch SW1 over the panel PNL and the sensor elements L2 and L3 to make a selection decision, or the tact switches SW1 to SW4. The display itself can be changed to another screen by pressing. That is, the panel PNL has sufficient flexibility to press down the tact switches SW1 to SW4, or is attached to the device casing so as to be slightly tiltable, and also serves as a pusher for the tact switches SW1 to SW4. Yes.

図6は、図2および図5に示した携帯電話端末の構成要素、特にタッチセンサ部210の分解斜視図である。図に示すように、端末筐体の外面をなす第1の層には、パネルPNLおよび表示部ELDが配される。第1の層のパネルPNLの下方に位置する第2の層には、センサ素子L1〜L4、R1〜R4が配される。第2の層のセンサ素子L2、L3の間の下方、および、センサ素子R2、R3の間の下方に位置する第3の層には、タクトスイッチSW1、SW2がそれぞれ配される。   FIG. 6 is an exploded perspective view of the components of the cellular phone terminal shown in FIGS. 2 and 5, particularly the touch sensor unit 210. As shown in the figure, the panel PNL and the display unit ELD are arranged on the first layer that forms the outer surface of the terminal housing. Sensor elements L1 to L4 and R1 to R4 are arranged on the second layer located below the panel PNL of the first layer. Tact switches SW1 and SW2 are disposed on the third layer located below the second layer between the sensor elements L2 and L3 and below the sensor elements R2 and R3, respectively.

図7は、本発明による携帯電話端末における各センサ素子からの接触検知データの処理を説明する概略ブロック図である。説明の簡易化のため、センサ素子R1〜R4についてのみ示してあるが、センサ素子L1〜L4についても同様である。センサ素子R1〜R4の各々には、高周波が印加されており、一定の浮遊容量の変化を考慮してキャリブレーションし、このときの高周波状態を基準として設定されており、それぞれ、前処理部300(R1用前処理部300a、R2用前処理部300b、R3用前処理部300c、R4用前処理部300d)にて、指の接触などによる静電容量の変化に基づく高周波状態の変動を検出すると、A/D変換器310(R1用A/D変換器310a、R2用A/D変換器310b、R3用A/D変換器310c、R4用A/D変換器310d)へと送信され、接触検出を示すデジタル信号に変換される。デジタル化された信号は制御部320へと送信されてセンサ素子群としてのまとまった信号の集合として、記憶部330に信号の保持する情報を格納する。その後、シリアルインターフェース部、割り込みハンドラにこの信号が送出され、割り込みハンドラにて、タッチセンサドライバが読み取り可能な信号に変換した後、変換後の信号をキューに入れる。なお、制御部320は、記憶部330に格納した情報に基づき、隣接したセンサ素子の2つ以上で接触を検出した時点で方向の検出を行う。   FIG. 7 is a schematic block diagram for explaining processing of contact detection data from each sensor element in the mobile phone terminal according to the present invention. For simplicity of explanation, only the sensor elements R1 to R4 are shown, but the same applies to the sensor elements L1 to L4. A high frequency is applied to each of the sensor elements R <b> 1 to R <b> 4, and calibration is performed in consideration of a change in a certain stray capacitance, and the high frequency state at this time is set as a reference. (R1 pre-processing unit 300a, R2 pre-processing unit 300b, R3 pre-processing unit 300c, R4 pre-processing unit 300d) detects a change in a high-frequency state based on a change in capacitance due to finger contact or the like Then, it is transmitted to the A / D converter 310 (A / D converter 310a for R1, A / D converter 310b for R2, A / D converter 310c for R3, A / D converter 310d for R4), It is converted into a digital signal indicating contact detection. The digitized signals are transmitted to the control unit 320, and the information held by the signals is stored in the storage unit 330 as a set of collected signals as a sensor element group. Thereafter, this signal is sent to the serial interface unit and the interrupt handler. The interrupt handler converts the signal into a signal that can be read by the touch sensor driver, and puts the converted signal in a queue. Note that the control unit 320 detects a direction when contact is detected by two or more adjacent sensor elements based on information stored in the storage unit 330.

次に、本実施の形態の携帯電話端末100による「半周内検出モード」および「周回検出モード」について説明する。本実施の形態は、接触検出モードとして、第1のセンサ素子群G1および第2のセンサ素子群G2を独立して用いて制御を実行する「半周内検出モード」と、第1のセンサ素子群G1および第2のセンサ素子群G2の両方を用い、環状に配列されたセンサ素子L1〜L4,R1〜R4を1つのセンサ素子群として捉えて制御を実行する「周回検出モード」とを有している。   Next, “intra-circle detection mode” and “circumference detection mode” by the cellular phone terminal 100 of the present embodiment will be described. In the present embodiment, as the contact detection mode, a “half-circle detection mode” in which control is performed using the first sensor element group G1 and the second sensor element group G2 independently, and the first sensor element group G1 and the second sensor element group G2 are used, and the sensor elements L1 to L4 and R1 to R4 arranged in an annular shape are regarded as one sensor element group, and a “circumference detection mode” is executed. ing.

「半周内検出モード」では、リリース状態からプレス状態に遷移した後、いずれのセンサ素子も接触を検出していない接触信号が得られたときは、その時点でリリース状態を意味する信号をキューQUEに入れてリリース状態に遷移させ、移動を確定するようにして、ユーザに素早い操作感を提供することができるようにしている。また、「周回検出モード」では、リリース状態からプレス状態に遷移した後、いずれのセンサ素子も接触を検出していない接触信号が得られたときは、その時点から一定時間(例えば、100ms)は「リリース待ち状態」とし、この一定時間内にいずれかのセンサ素子が接触を検出した接触信号が得られれば、一連の入力操作が行われているものとしてプレス状態に復帰させて、接触が検出されなかった直前の接触信号と連続する接触信号として扱い、得られなければ開放信号をキューQUEに入れてリリース状態に遷移させ、第1のセンサ素子群G1と第2のセンサ素子群G2との間に形成された比較的広い離間部SP1、SP2を跨ぐ際に、瞬間的に接触が検出されなかった場合でも、連続検出状態とすることができるようにしている。これら「周回検出モード」および「半周内検出モード」は、実行中のアプリに応じて選択的に適用される。   In the “half-circumference detection mode”, after a transition from the release state to the press state, if a contact signal is detected in which no sensor element detects contact, a signal indicating the release state is sent to the queue QUE at that time. It is possible to provide a quick operational feeling to the user by making a transition to the release state and confirming the movement. Further, in the “circulation detection mode”, after a transition from the release state to the press state, when a contact signal is obtained in which no sensor element detects contact, a certain time (for example, 100 ms) from that point is obtained. If a contact signal is detected when contact is detected by any sensor element within this fixed time, the sensor will return to the pressed state as if a series of input operations have been performed, and contact will be detected. It is treated as a contact signal that is continuous with the previous contact signal that has not been performed, and if it cannot be obtained, the release signal is entered into the queue QUE and transitioned to the release state, and the first sensor element group G1 and the second sensor element group G2 Even when contact is not detected instantaneously when straddling the relatively wide separation portions SP1 and SP2 formed between them, a continuous detection state can be obtained.These “circumference detection mode” and “half-circumference detection mode” are selectively applied according to the application being executed.

先ず、「半周内検出モード」について説明する。「半周内検出モード」は、例えば上述した音楽プレーヤーのアプリやサブ表示部表示アプリAP1などの実行中において、サブ表示部ELDに表示される項目を選択するために、センサ部120における接触操作の移動方向および移動距離を検出するものである。この「半周内検出モード」では、上述したように、監視部SIMONが「リリース状態」から「プレス状態」に遷移した後、いずれのセンサ素子も接触を検出していない接触信号が得られたときは、その時点で監視部SIMONをリリース状態に遷移させて、タッチセンサドライバTSDにおいて、プレス状態からリリース状態までの区間のセンサ素子の検出状態を検知する。   First, the “half-round detection mode” will be described. In the “half-circle detection mode”, for example, in order to select an item displayed on the sub display unit ELD during execution of the music player application or the sub display unit display application AP1, the touch operation in the sensor unit 120 is performed. The moving direction and the moving distance are detected. In this “intra-circle detection mode”, as described above, after the monitoring unit SIMON transitions from the “released state” to the “pressed state”, a contact signal in which no sensor element detects contact is obtained. Shifts the monitoring unit SIMON to the release state at that time, and detects the detection state of the sensor element in the section from the press state to the release state in the touch sensor driver TSD.

図8および図9は、「半周内検出モード」の一例を説明するもので、センサ素子上をユーザがなぞった場合のサブ表示部の動作を示す図である。図8および図9において、(a)は携帯電話端末に実装したサブ表示部と、その周辺に沿って並べて配置したセンサ素子のみを、説明の簡易化のために示した概略図、(b)は時間推移に伴い検知したセンサ素子を示す図、(c)は検知したセンサ素子に応じたサブ表示部ELDの操作対象領域の位置変化を示す図である。これらの図の(a)において、センサ素子、センサ素子群および離間部には図2(b)と同様の符号を付している。また(c)のサブ表示部ELDの表示において、TIはサブ表示部が表示する項目リストのタイトル、LS1〜LS4は選択候補項目(例えば、スクロール可能な幾つかの行)を示す。また(c)のサブ表示部において、操作の対象となる状態にある項目は、現在の操作対象領域であることが識別できるように、当該項目にカーソルを配置する、或いは、項目自体を反転表示などで強調表示する。これらの図では、操作対象領域として表示されている項目にはハッチングを施して強調して示している。説明の便宜上、「移動対象」を操作対象領域のみで説明するが、項目自体を移動(スクロール)させる場合も同様の原理でサブ表示部は動作する。   FIG. 8 and FIG. 9 are diagrams for explaining an example of the “half-round detection mode”, and are diagrams illustrating the operation of the sub display unit when the user traces on the sensor element. 8 and 9, (a) is a schematic diagram showing only a sub display unit mounted on a mobile phone terminal and sensor elements arranged side by side along the periphery thereof, and (b). FIG. 7A is a diagram showing sensor elements detected with time, and FIG. 8C is a diagram showing a change in position of the operation target area of the sub-display unit ELD according to the detected sensor elements. In (a) of these drawings, the same reference numerals as those in FIG. 2 (b) are assigned to the sensor elements, the sensor element group, and the separation portion. In the display of the sub display unit ELD in (c), TI indicates the title of the item list displayed by the sub display unit, and LS1 to LS4 indicate selection candidate items (for example, several scrollable lines). Also, in the sub-display part of (c), the item in the state to be operated is placed on the item so that it can be identified as the current operation target region, or the item itself is highlighted. Highlight with In these figures, the items displayed as the operation target area are hatched and highlighted. For convenience of explanation, “moving target” will be described using only the operation target region, but the sub-display unit operates on the same principle when moving (scrolling) the item itself.

図8(a)において矢印AR1に示す上から下の向きに、例えば指などの接触手段を用いて各センサ素子上を連続的になぞると、制御部は、(b)で示す時間推移で接触を検知する。この場合は、センサ素子R1、R2、R3、R4の順に接触を検知する。このR1からR4までの連続した接触は、隣接したセンサ素子の2つ以上で検知しているため、方向の検出を行い、隣接したセンサ素子を遷移した回数とその方向に応じて、操作対象領域がサブ表示部ELDに表示したリスト上を移動する。この場合は、(c)で示したように、操作対象領域は、初期位置の項目LS1から項目LS4まで下方へ項目を3つ分移動する。なお、操作対象領域は、ハッチングで表してあるが、ハッチングピッチの狭いものが初期位置であり、ハッチングピッチの広いものが移動後の位置である。このように、本構成によれば、ユーザの「下方への指の指示動作」と同じように、サブ表示部の「操作対象領域が下方に移動」するため、ユーザはあたかも自己の指で操作対象領域を自在に移動させているように感じることになる。即ち、ユーザの意図した通りの操作感覚が得られる。   In FIG. 8A, when the sensor elements are continuously traced from the top to the bottom indicated by the arrow AR1 using contact means such as a finger, the control unit makes contact with the time transition shown in FIG. 8B. Is detected. In this case, contact is detected in the order of the sensor elements R1, R2, R3, and R4. Since the continuous contact from R1 to R4 is detected by two or more of the adjacent sensor elements, the direction is detected, and the operation target region is determined according to the number of times the adjacent sensor elements are transitioned and the direction. Moves on the list displayed on the sub display ELD. In this case, as shown in (c), the operation target area moves downward by three items from the initial position item LS1 to the item LS4. Although the operation target area is represented by hatching, an area with a narrow hatching pitch is an initial position, and an area with a wide hatching pitch is a position after movement. As described above, according to this configuration, the “operation target area moves downward” on the sub display unit, as in the case of the user's “downward finger pointing operation”, the user can operate with his / her finger. It feels as if the target area is freely moved. That is, the operation feeling as intended by the user can be obtained.

同様に、同図(a)において矢印AR2に示す向きにセンサ素子がなぞられたとすると、(b)で示したように各センサ素子のうちセンサ素子L4、L3、L2、L1がこの順に接触を検知し、この場合、矢印AR1と同じく上から下へ、隣接するセンサ素子を3つ遷移する接触のため、(c)のように下方に向かって項目LS1から項目LS4まで操作対象領域が3つ分移動する。   Similarly, if the sensor element is traced in the direction indicated by the arrow AR2 in FIG. 6A, the sensor elements L4, L3, L2, and L1 contact each other in this order as shown in FIG. In this case, because of the contact that makes three adjacent sensor elements transition from top to bottom in the same manner as the arrow AR1, there are three operation target areas from the item LS1 to the item LS4 in the downward direction as shown in (c). Move minutes.

図9(a)において矢印AR1に示す下から上の向き(反時計回り方向)にセンサ素子がなぞられたとすると、(b)で示したように各センサ素子のうちセンサ素子R4、R3、R2、R1がこの順に接触を検知し、この場合、下から上へ、隣接するセンサ素子を3つ遷移する接触のため、(c)のように上方に向かって項目LS4から項目LS1まで操作対象領域が3つ分移動する。   If the sensor elements are traced from the bottom to the top (counterclockwise direction) indicated by the arrow AR1 in FIG. 9A, the sensor elements R4, R3, R2 among the sensor elements as shown in FIG. 9B. , R1 detects contact in this order, and in this case, because of contact that makes three adjacent sensor elements transition from bottom to top, the operation target area from item LS4 to item LS1 upward as shown in (c) Moves by three.

同様に、同図(a)において矢印AR2に示す下から上の向き(時計回り方向)にセンサ素子がなぞられたとすると、(b)で示したように各センサ素子のうちセンサ素子L1、L2、L3、L4がこの順に接触を検知し、この場合、矢印AR1と同じく下から上へ、隣接するセンサ素子を3つ遷移する接触のため、(c)のように上方に向かって項目LS4から項目LS1まで操作対象領域が3つ分移動する。   Similarly, if the sensor elements are traced from the bottom to the top (clockwise direction) indicated by the arrow AR2 in FIG. 6A, the sensor elements L1 and L2 among the sensor elements as shown in FIG. , L3, and L4 detect contact in this order. In this case, from the bottom of the item LS4 as shown in (c), the contact moves from bottom to top as in the case of the arrow AR1. Three operation target areas move to the item LS1.

このように、「半周内検出モード」では、各センサ素子群内において、ある1つのセンサ素子(例えばR2)への接触だけでは移動として検出されず、当該センサ素子から隣接するセンサ素子(例えば、R3)へと接触が遷移して、はじめてその方向に1素子分(サブ表示部ELDにおける1項目分)の移動として検出する。したがって、離間部SP1またはSP2を跨る隣接する2つのセンサ素子間の接触遷移、即ちL4−R1間の接触遷移、L1−R4間の接触遷移は、無効と判定され、移動としては検出されない。   As described above, in the “intra-circle detection mode”, in each sensor element group, contact with a certain sensor element (for example, R2) is not detected as movement, but the sensor element (for example, for example, adjacent to the sensor element) Only when the contact transitions to R3) is detected as a movement of one element (one item in the sub display portion ELD) in that direction. Therefore, a contact transition between two adjacent sensor elements straddling the separation portion SP1 or SP2, that is, a contact transition between L4-R1 and a contact transition between L1-R4 is determined to be invalid and is not detected as movement.

なお、離間部SP1またはSP2を跨る接触遷移でも、同一センサ素子群内において隣接するセンサ素子間の遷移があれば、当該センサ素子群における接触遷移は有効と判定されて、その接触遷移方向への移動として検出される。したがって、例えばR3→R4→L1と接触が遷移した場合には、R3→R4の遷移は有効、R4→L1の遷移は無効と判定されて、サブ表示部ELDにおいて操作対象領域が下方へ1項目分移動することになる。また、R1から時計回りにL4まで接触が遷移した場合には、R1からR4までの遷移は有効、R4→L1の遷移は無効、L1からL4までの遷移は有効と判定されて、サブ表示部ELDにおいて操作対象領域が下方へ3項目分移動した後、上方へ3項目分移動して、元の位置に戻ることになる。   In addition, even in the contact transition across the separation part SP1 or SP2, if there is a transition between adjacent sensor elements in the same sensor element group, the contact transition in the sensor element group is determined to be valid, and the contact transition direction is changed to the contact transition direction. Detected as movement. Therefore, for example, when the contact transitions from R3 → R4 → L1, it is determined that the transition from R3 → R4 is valid and the transition from R4 → L1 is invalid, and the operation target area is one item downward in the sub display unit ELD. Will move for minutes. Further, when the contact transitions clockwise from R1 to L4, it is determined that the transition from R1 to R4 is valid, the transition from R4 to L1 is invalid, and the transition from L1 to L4 is valid, and the sub display unit In the ELD, the operation target area moves downward by three items, then moves upward by three items, and returns to the original position.

図10は、「半周内検出モード」の他の例を説明するもので、センサ素子検出状態を単一素子検出状態だけでなく、隣接する2つの素子を更に検出している複数素子検出状態を判定するようにして16個に分割して示した概念図である。ここでは、図5と同様に、タクトスイッチSW1〜SW4も図示している。   FIG. 10 is a diagram for explaining another example of the “half-circle detection mode”. The sensor element detection state is not only a single element detection state, but also a multiple element detection state in which two adjacent elements are further detected. It is the conceptual diagram shown divided into 16 so that it might determine. Here, as with FIG. 5, the tact switches SW1 to SW4 are also illustrated.

制御部110は、図10に示すように、単一のセンサ素子のみが接触を検出するR1検出、R2検出、R3検出、R4検出、L1検出、L2検出、L3検出、L4検出の他に、隣接する2つのセンサ素子の接触を検出するR1−R2検出、R2−R3検出、R3−R4検出、L1−R4検出、L1−L2検出、L2−L3検出、L3−L4検出、L4−R1検出の合計16個の検出状態を管理できる。即ち、この「半周内検出モード」では、センサ素子の1つのみについて操作状態を検出している単一素子検出状態と、隣接する2つのセンサ素子の操作状態を検出している隣接素子検出状態とを検出できるようにして、センサ素子検出状態を16個にすることによって、より精密な制御を可能としている。   As shown in FIG. 10, the control unit 110 detects, in addition to R1 detection, R2 detection, R3 detection, R4 detection, L1 detection, L2 detection, L3 detection, and L4 detection, where only a single sensor element detects contact. R1-R2 detection, R2-R3 detection, R3-R4 detection, L1-R4 detection, L1-L2 detection, L2-L3 detection, L3-L4 detection, L4-R1 detection to detect contact between two adjacent sensor elements A total of 16 detection states can be managed. That is, in this “intra-circle detection mode”, a single element detection state in which an operation state is detected for only one sensor element, and an adjacent element detection state in which an operation state of two adjacent sensor elements is detected. Can be detected, and the number of sensor element detection states is 16 so that more precise control is possible.

8個のセンサ素子の検出状態を1個ずつ管理すると、8個の検出状態を管理できる。しかしながら、8個の検出状態では、状態の数、即ち、状態変化が少ないため、あまり精密な制御はできない。また、携帯性が問われる携帯電子機器においては、センサ素子のサイズ自体も小さいため、センサ素子間にまたがってセンサ素子に接触する場合があり、その際に、例えばセンサ素子L2、L3の順に接触が検出された場合には、上方への移動指示となってしまい、ユーザの意図しない動作となる恐れがある。このようなセンサ素子への接触検出を適切に処理するためには、16個の検出状態で2つまたは3つの検出状態変化(移動)を検出するまで、移動指示の確定を保留する必要がある。以下、移動指示の確定を保留する処理を、フローチャートを参照して詳細に説明する。   If the detection states of the eight sensor elements are managed one by one, the eight detection states can be managed. However, in the eight detection states, since the number of states, that is, state changes are small, it is not possible to perform very precise control. In portable electronic devices that require portability, the size of the sensor element itself is also small, so that it may contact the sensor element across the sensor elements. In this case, for example, the sensor elements L2 and L3 are contacted in this order. Is detected, an upward movement instruction is generated, which may cause an operation unintended by the user. In order to appropriately process such contact detection to the sensor element, it is necessary to hold the confirmation of the movement instruction until two or three detection state changes (movements) are detected in the 16 detection states. . Hereinafter, the process of holding the confirmation of the movement instruction will be described in detail with reference to a flowchart.

図11は、16個の検出状態における移動確定処理(即ち、保留処理)の一例を示すフローチャートであって、いずれか1個の検出状態がキューQUEに発生することを検出する毎に、このフローチャート処理をタッチセンサドライバTSDが行う。リリースされた状態から最初に検出した位置(16個のいずれか1つの検出状態)を最初の基準点とする。この基準点、現在の検出位置(キューQUEに新たに入れられた検出状態)、前回の検出位置(キューQUEに残されている1つ前の検出状態)の3つから、移動距離(検出状態の遷移)を判定する。図に示すように、ステップS10では、前回の位置がリリースされたか否かを判定する。リリースされていると判定された(キューQUEに残っている前回のデータが「リリース」である)場合は、ステップS12に進み、現在の検出位置がリリースされたか否か(即ち、新たに入れられたデータが「リリース」であるか否か)を判定する。現在の検出位置がリリースされていると判定された場合は処理を終了し、そうでない場合はステップS14に進み、基準点と前回の検出位置を現在の検出位置に設定する。   FIG. 11 is a flowchart showing an example of the movement confirmation process (that is, the hold process) in the 16 detection states, and this flowchart every time it is detected that any one detection state occurs in the queue QUE. Processing is performed by the touch sensor driver TSD. A position (any one of 16 detection states) first detected from the released state is set as the first reference point. From this reference point, the current detection position (detection state newly entered in the queue QUE), and the previous detection position (previous detection state remaining in the queue QUE), the movement distance (detection state) Transition). As shown in the figure, in step S10, it is determined whether or not the previous position has been released. If it is determined that it has been released (the previous data remaining in the queue QUE is “release”), the process proceeds to step S12, and whether or not the current detection position has been released (ie, newly entered) Whether or not the data is “release”). If it is determined that the current detection position is released, the process ends. If not, the process proceeds to step S14, and the reference point and the previous detection position are set as the current detection position.

ステップS10で前回の位置がリリースされていないと判定された(即ち、他に検出が生じており、今回の検出がそれに引き続くものである場合)場合は、ステップS16に進み、現在の検出位置がリリースされたか否か(即ち、新たに入れられた信号が「リリース」であるか否か)を判定する。現在の検出位置がリリースされていると判定された場合は、基準点と前回の検出位置を初期化(クリアー)して処理を終える(ステップS18)。ステップS16で現在の検出位置がリリースされていないと判定された場合は、前回の検出位置と現在の検出位置との距離を計算して(ステップS20)、計算した距離が1または2であるか否かを判定する(ステップS22)。計算した距離が1または2ではないと判定された場合は、センサ素子を飛ばして不連続な検出状態であると判定し(ステップS24)、基準点を現在の検出位置に設定し(ステップS26)、ステップS36に進む。ステップS22で計算した距離が1または2であると判定された場合は、現在の検出位置と基準点との距離を計算する(ステップS28)。なお、距離の計算は、キューQUEに入れられる信号により、センサ素子ごとの検出位置が分るため、前回の検出位置と、現在の検出位置との間に、16個の検出状態のうちの何個分の差があるのかをタッチセンサドライバTSDが判断して行う。   If it is determined in step S10 that the previous position has not been released (that is, if another detection has occurred and the current detection follows), the process proceeds to step S16, where the current detection position is It is determined whether or not it has been released (that is, whether or not the newly input signal is “release”). If it is determined that the current detection position is released, the reference point and the previous detection position are initialized (cleared), and the process ends (step S18). If it is determined in step S16 that the current detection position is not released, the distance between the previous detection position and the current detection position is calculated (step S20), and is the calculated distance 1 or 2? It is determined whether or not (step S22). When it is determined that the calculated distance is not 1 or 2, it is determined that the sensor element is skipped and the sensor is in a discontinuous detection state (step S24), and the reference point is set to the current detection position (step S26). The process proceeds to step S36. If it is determined that the distance calculated in step S22 is 1 or 2, the distance between the current detection position and the reference point is calculated (step S28). In the calculation of the distance, the detection position for each sensor element is known by the signal put in the queue QUE. Therefore, any of the 16 detection states can be determined between the previous detection position and the current detection position. The touch sensor driver TSD determines whether there is a difference corresponding to the number.

また、ステップS28で計算された距離が、2または3である否かを判定し(ステップS30)、条件を満たさない場合(即ち、4以上)はステップS36にエラーとして進み、条件を満たす場合(距離が2または3である場合)は、移動を確定する(ステップS32)。即ち、最初に触れた位置が「基準点」とされ、その後「リリース」されることなく引き続いて接触が検出され続けると「前回位置」が更新され、最終的に、最新の検出位置である「現在の位置」が基準点に対して「2または3移動した」と判定されたときに初めて、「移動あり」と判定している。さらに、単一素子検出状態および複数素子検出状態を連続して検出することで、「2の移動」であると判定しているため、センサ素子上では、上記「2の移動」により初めてセンサ素子1つ分指が移動していることになる。次の基準点を前の基準点から移動方向に2つ移動した位置に設定し(ステップS34)、ステップS36に進む。ステップS36では、次回の処理のために「前回の検出位置」を「現在の検出位置」に設定して、処理を終える。   Further, it is determined whether or not the distance calculated in step S28 is 2 or 3 (step S30). If the condition is not satisfied (that is, 4 or more), the process proceeds to step S36 as an error, and the condition is satisfied ( If the distance is 2 or 3, the movement is confirmed (step S32). That is, the first touched position is set as the “reference point”, and then the “previous position” is updated when contact is continuously detected without being “released”, and finally the latest detected position “ Only when it is determined that “current position” is “moved 2 or 3” with respect to the reference point, it is determined that “there is movement”. Further, since the single element detection state and the multiple element detection state are continuously detected, it is determined that the movement is “2”. Therefore, on the sensor element, the sensor element is not used until the above “2 movement”. One finger is moved. The next reference point is set to a position that is moved by two in the movement direction from the previous reference point (step S34), and the process proceeds to step S36. In step S36, “previous detection position” is set to “current detection position” for the next process, and the process ends.

図12は、図11のフローチャートの処理を図10のセンサ素子L1からL4への接触に適用した場合の確定処理を説明する図である。図に示すように、検出状態変化は、「L1検知」、「L1−L2検知」、「L2検知」、「L2−L3検知」、「L3検知」、「L3−L4検知」、「L4検知」となる。即ち、単一素子検出状態と複数素子検出状態とをL1からL4まで繰り返し検知する。まず、初めの「L1検知」が基準点BP1に設定される(S14)。次に「L1−L2検知」が生じると、前回の位置がリリースではなく「L1検知」であるため、前回の位置と今回検出された現在位置とを比較する(S22)。ここではL1からL1−L2への1コマの移動であり、「1または2か?」の判定条件を満たすため有効とされ、今度は基準点と現在位置とを比較する(S30)。ここでは、基準点も前回位置も同じL1に設定されているため、やはり移動量は1コマであり、この段階では移動は確定せず、現在位置のL1−L2検知状態を前回位置PP1とする(S36)。   FIG. 12 is a diagram for explaining a determination process when the process of the flowchart of FIG. 11 is applied to the contact from the sensor elements L1 to L4 of FIG. As shown in the figure, the detection state changes are “L1 detection”, “L1-L2 detection”, “L2 detection”, “L2-L3 detection”, “L3 detection”, “L3-L4 detection”, “L4 detection”. " That is, the single element detection state and the multiple element detection state are repeatedly detected from L1 to L4. First, the first “L1 detection” is set to the reference point BP1 (S14). Next, when “L1-L2 detection” occurs, since the previous position is not “release” but “L1 detection”, the previous position is compared with the current position detected this time (S22). Here, the movement is one frame from L1 to L1-L2, which is valid because it satisfies the determination condition of “1 or 2?”. Next, the reference point is compared with the current position (S30). Here, since both the reference point and the previous position are set to the same L1, the movement amount is still one frame, and the movement is not confirmed at this stage, and the L1-L2 detection state of the current position is set to the previous position PP1. (S36).

さらに「リリース」が途中で生じることなく「L2検知」が生じると、前回の位置が「L1−L2検知」であるため、前回の位置と今回検出された現在位置CP1とを比較する(S22)。ここではL1−L2からL2への1コマの移動であり、「1または2か?」の判定条件を満たすため有効とされ、今度は、基準点と現在位置とを比較する(S30)。今回も基準点はL1検知時と変わらず同じL1に設定されているため、L2との位置関係は2コマであるため、移動量は2コマと判定される。そして、ここで初めて移動が確定する(S32)。そして、次の判定のために、基準点BP2を「L1検知」から移動方向に2コマ遷移させた点、即ち「L2検知」に設定する(S34)とともに、前回位置を現在位置「L2検知」に再度設定し直して、確定処理1が完了する(S36)。   Furthermore, if “L2 detection” occurs without “release” occurring midway, the previous position is “L1-L2 detection”, so the previous position is compared with the current position CP1 detected this time (S22). . Here, the movement is one frame from L1-L2 to L2, which is valid because the determination condition “1 or 2” is satisfied. Next, the reference point is compared with the current position (S30). Since the reference point is set to the same L1 as in the L1 detection again this time, the positional relationship with L2 is two frames, so the movement amount is determined to be two frames. Here, the movement is confirmed for the first time (S32). Then, for the next determination, the reference point BP2 is set to a point where the frame is shifted by two frames from “L1 detection”, that is, “L2 detection” (S34), and the previous position is set to the current position “L2 detection”. Is again set, and the confirmation process 1 is completed (S36).

このように、タッチセンサドライバTSDは、2コマの検知状態の遷移を検出することにより、移動「1」が決定される。つまり、ステップS32において移動が確定されると、結果通知部NTFに移動方向成分(L1からL4に向かう時計回り方向)および「1」の移動を格納すると共に、ベースアプリBAに対して記憶内容の更新を通知し、ベースアプリBAはこの更新内容を抽出してサブ表示部表示アプリAP1などに通知することになる。サブ表示部表示アプリAP1が使用中ならば、移動方向成分に基づいて「下から上に向かう方向」に、「1」の移動量か与えられているので、これに見合った処理として、サブ表示部ELDの表示を変化させる。具体的には図9(c)に示すようなリスト表示を行っていて、操作対象領域がLS4に位置している場合には、確定処理1に基づき操作対象領域はLS3に移動することとなる。ところで、この確定処理1と同様に第2のセンサ素子群であるR1〜R4に対して、「R4検知」状態から連続して「R4−R3検知」「R3検知」と継続して検知状態が遷移したときにもタッチセンサドライバTSDからは移動方向成分に基づいて「下から上に向かう方向」および、「1」の移動量の付与の情報がベースアプリ経由でサブ表示部表示アプリAP1に与えられ、リスト表示の画面表示上は第1のセンサ素子群における操作と同じように、操作対象領域は項目LS4からLS3に変化することとなる。   As described above, the touch sensor driver TSD determines the movement “1” by detecting the transition of the detection state of two frames. That is, when the movement is confirmed in step S32, the movement direction component (clockwise direction from L1 to L4) and the movement of “1” and the movement of “1” are stored in the result notification unit NTF, and the stored contents of the base application BA are stored. The update is notified, and the base application BA extracts the update contents and notifies the sub display unit display application AP1 and the like. If the sub display unit display application AP1 is in use, a movement amount of “1” is given to the “direction from bottom to top” based on the movement direction component. The display of the part ELD is changed. Specifically, when the list display as shown in FIG. 9C is performed and the operation target area is located at LS4, the operation target area moves to LS3 based on the confirmation process 1. . By the way, in the same manner as in the determination process 1, the detection state continues for “R4 detection” and “R3 detection” for the second sensor element groups R1 to R4 continuously from the “R4 detection” state. Even when the transition is made, the touch sensor driver TSD gives the sub-display unit display application AP1 via the base application the “direction from bottom to top” and “1” movement amount assignment information based on the movement direction component. Thus, on the screen display of the list display, the operation target area changes from the item LS4 to LS3 in the same manner as the operation in the first sensor element group.

次に、確定処理1に引き続き、「リリース」が生じることなく指の移動が継続した場合を説明する。確定処理1の場合と同様、図中の確定処理2に示すように、検知状態が、基準点BP2から2コマ進み、「L2−L3検知」を前回の位置PP2とし、「L3検知」が現在の位置CP2となったとき、基準点BP2と現在の位置CP2との距離が2コマとなるため、さらに移動「1」が確定する。即ち、確定処理1に引き続いた確定処理2の両方により、合計「2」の移動が確定する。そして、さらに引き続く処理のために、基準点BP2「L2検知」から2コマ先の「L3検知」を新たな基準点BP3として基準点を変更する。   Next, a case where the finger movement continues without “release” subsequent to the confirmation process 1 will be described. As in the case of the confirmation process 1, as shown in the confirmation process 2 in the figure, the detection state advances two frames from the reference point BP2, “L2-L3 detection” is set to the previous position PP2, and “L3 detection” is currently Since the distance between the reference point BP2 and the current position CP2 is two frames when the position CP2 is reached, the movement “1” is further determined. That is, the movement of the total “2” is confirmed by both the confirmation process 2 subsequent to the confirmation process 1. Then, for further subsequent processing, the reference point is changed with “L3 detection” two frames ahead from the reference point BP2 “L2 detection” as a new reference point BP3.

同様に、図中の確定処理3に示すように、検知状態が、基準点BP3から2コマ進み、「L3−L4検知」を前回の位置CP3とし、「L4検知」が現在の位置CP3になった時点で、距離が2コマとなるため、さらに「1」移動が確定して、確定処理1および確定処理2と合わせて合計「3」個の移動が確定する。このようにして、合計「3」の移動がアプリに通知されることとなる。   Similarly, as shown in the confirmation process 3 in the figure, the detection state advances two frames from the reference point BP3, “L3-L4 detection” becomes the previous position CP3, and “L4 detection” becomes the current position CP3. Since the distance becomes two frames at that time, “1” movement is further confirmed, and a total of “3” movements are confirmed together with the confirmation process 1 and the confirmation process 2. In this way, a total of “3” moves are notified to the application.

サブ表示部ELDにおける表示としては、サブ表示部表示アプリAP1に、確定処理1に引き続いて、「下から上に向かう方向」に「1」の移動確定が2回通知されることとなるので、操作対象領域がLS3から上方向に「2」移動したLS1にまで変化することとなる。ここで、単一素子検出状態の検出だけではなく、複数素子検出状態も検出するように構成して検出状態を細分化したにもかかわらず、状態遷移2コマの移動により確定する移動量を「1」としたことにより、結局、例のような4つのセンサ素子で構成されるセンサ素子時の場合には最大「3」の移動確定を行うようにした。つまり、センサ素子数4つの場合に単一素子検出のみによって移動確定を行う場合と、最終的に見た目の移動量は非常に近似したものとなるが、正確に単一の素子の真上のみを触っていなくとも、最大「3」の移動量を確保することができ、ユーザの不正確な操作にも無反応などとなることなく、ユーザの希望に沿う形で対応できることとなる。   As the display on the sub display part ELD, the sub display part display application AP1 is notified of the movement confirmation of “1” twice in the “direction from bottom to top” following the confirmation process 1. The operation target area changes from LS3 to LS1 that has moved "2" upward. Here, not only the detection of a single element detection state but also a detection state of a plurality of elements is detected and the detection state is subdivided, but the movement amount determined by the movement of two state transitions is “ As a result, in the case of a sensor element composed of four sensor elements as in the example, the movement confirmation of a maximum of “3” is finally performed. In other words, in the case where the number of sensor elements is four and the movement is confirmed only by single element detection, the final amount of movement is very approximate, but only the single element is accurately positioned. Even if it is not touched, the maximum amount of movement of “3” can be ensured, and inaccurate operation by the user can be dealt with in a form that meets the user's wishes without causing any reaction.

また、携帯電話機を携帯するユーザが、振動の生じやすい場所にて操作を行ったときに、外部振動によって指の移動中に、一瞬、センサ部120から指が離れる場合などが考えられる。このような場合に、センサ素子数分についてのみを検知するという単一素子検出のみを行って移動検出する粗い検知方式ならば、検知漏れが生じにくいが、単一素子検出だけでなく複数素子検出状態も検知するような緻密な検知方式とした場合、瞬間的に指が離れただけでも指は回転動作を継続中であるために検知状態を1つ飛ばしてしまう場合も考えられる。しかしながら、ステップS22にて「前回位置と現在位置の距離が1か2か?」としたことにより、前回位置から2移動している場合、つまり前回位置から1つ飛ばしても連続移動検出状態として扱うことができるため、振動下においてもユーザの希望した動作に極力近づけることができる。   In addition, when the user carrying the mobile phone performs an operation in a place where vibration is likely to occur, a case where the finger is released from the sensor unit 120 for a moment while the finger is moving due to external vibration may be considered. In such a case, if a rough detection method that detects only movement by detecting only the number of sensor elements is used to detect movement, detection omissions are unlikely to occur, but not only single element detection but also multiple element detection In the case of a precise detection method that also detects the state, it may be considered that even if the finger is momentarily released, the finger continues to rotate, so that one detection state is skipped. However, in step S22, “whether the distance between the previous position and the current position is 1 or 2” indicates that the continuous movement detection state is established even when two movements are made from the previous position, that is, even if one is skipped from the previous position. Since it can be handled, it can be as close as possible to the operation desired by the user even under vibration.

なお、ステップS30において距離2コマだけでなく3コマについても有効としていることからも、振動などで指が一瞬はずれたり、素早い操作で検出状態が1つ飛んで検出されたりした場合などにも移動操作を検出することができる。さらに、3コマの移動量検出でも、次の2コマのときと同様に「1」の移動量確定とするだけでなく、次回検出のための基準点の設定は2コマ移動のときと同様に前回基準点に対して2コマのみ移動させるにとどめているため、3コマ検出による移動確定を行った場合でも、センサ素子数nから1を引いた「n−1」の移動確定する量を確保することができ、ユーザにとってはいかなる触り方をしても同じ操作感という安定した操作感を得ることができるようになる。   In addition, since not only the distance 2 frames but also the 3 frames are valid in step S30, the movement also occurs when the finger is momentarily detached due to vibration or when the detection state is detected by a quick operation. An operation can be detected. In addition, when detecting the amount of movement for three frames, not only is the amount of movement “1” fixed as in the case of the next two frames, but the setting of the reference point for the next detection is the same as when moving two frames. Since only two frames are moved relative to the previous reference point, even when movement is confirmed by detecting three frames, an amount of movement confirmation of “n−1” obtained by subtracting 1 from the number n of sensor elements is secured. This makes it possible for the user to obtain a stable operational feeling of the same operational feeling regardless of how they are touched.

このように、複数のセンサ素子のうちの1つのみについて操作状態を検出している単一素子検出状態と、複数のセンサ素子のうちの隣接する2つのセンサ素子の操作状態を検出している隣接素子検出状態を検知し、単一素子検出状態と隣接素子検出状態との組合せにより、移動を決定することによって、ユーザの意図した通りの操作感覚が得られ、また、デバイスに手を加えることなく、より緻密な移動検出ができる。   As described above, the single element detection state in which the operation state is detected for only one of the plurality of sensor elements and the operation state of two adjacent sensor elements among the plurality of sensor elements are detected. By detecting the adjacent element detection state, and determining the movement by the combination of the single element detection state and the adjacent element detection state, it is possible to obtain the operation feeling as intended by the user and to modify the device. And more precise movement detection.

次に、「半周内検出モード」において、タッチセンサモジュールTSMから出力される接触信号が有効でない信号(Falseとなる条件を満たす信号)であるときのシリアル割込み監視部SIMONと確認部CNFの動作を説明する。図13は、シリアル割込み監視部SIMONと確認部CNFの動作を説明するフローチャートである。監視部SIMONが、タッチセンサモジュールTSMからシリアルインターフェース部SIに出力された接触信号を取り出すと(S101)、確認部CNFは、あらかじめ設定された条件に従い、取り出した接触信号が有効であるか否か、即ちTrue/Falseの判定を行う(S102)。確認部CNFは、有効な信号、即ちTrue(真)な信号であれば接触信号(位置特定信号)をキューQUEに入れる(S103)。有効でない信号、即ちFalse(偽)な信号であれば接触信号を、リリース状態を意味する信号である開放信号に変換し(S104)、開放信号をキューQUEに入れる(S103)。   Next, the operation of the serial interrupt monitoring unit SIMON and the checking unit CNF when the contact signal output from the touch sensor module TSM is not a valid signal (a signal that satisfies the condition of False) in the “intra-circle detection mode”. explain. FIG. 13 is a flowchart for explaining the operations of the serial interrupt monitoring unit SIMON and the confirmation unit CNF. When the monitoring unit SIMON extracts the contact signal output from the touch sensor module TSM to the serial interface unit SI (S101), the confirmation unit CNF determines whether the extracted contact signal is valid according to a preset condition. That is, True / False is determined (S102). The confirmation unit CNF puts a contact signal (position specifying signal) into the queue QUE if it is a valid signal, that is, a True signal (S103). If the signal is not valid, that is, a false signal, the contact signal is converted into a release signal that is a signal indicating a released state (S104), and the release signal is put in the queue QUE (S103).

ここで、False(偽)となる条件としては、非連続な2つのセンサ素子で接触を検出した場合が設定される。したがって、確認部CNFは、接触信号が異なるセンサ素子の同時検出を示す信号であった場合には、同時検出の生じたセンサ素子間の位置関係を判断し、同時検出の生じたセンサ素子間の位置関係が隣接位置ならば有効な信号とし、非隣接関係ならば有効ではない信号として判断する。例えば、センサ素子R2とR3といった隣接する2つのセンサ素子で同時に接触を検出した場合は、有効な信号と判断し、センサ素子R2とR4といった隣接しない2つのセンサ素子で同時に接触を検出した場合は、有効ではない信号と判断する。また、同時検出の生じたセンサ素子が、第1のセンサ素子群G1と第2のセンサ素子群G2とにそれぞれ属するセンサ素子である場合も、有効ではない信号と判断する。また、「半周内検出モード」では、接触信号が異なる3つのセンサ素子の3ヶ所同時検出を示す信号であって、センサ素子間の位置関係が隣接関係である場合においても、有効ではない信号と判断する。   Here, as a condition of False (false), a case where contact is detected by two discontinuous sensor elements is set. Therefore, when the contact signal is a signal indicating simultaneous detection of different sensor elements, the confirmation unit CNF determines the positional relationship between the sensor elements in which simultaneous detection has occurred, and between the sensor elements in which simultaneous detection has occurred. If the positional relationship is an adjacent position, it is determined as an effective signal, and if the positional relationship is not adjacent, it is determined as an invalid signal. For example, when contact is detected simultaneously with two adjacent sensor elements such as sensor elements R2 and R3, it is determined that the signal is valid, and contact is detected simultaneously with two non-adjacent sensor elements such as sensor elements R2 and R4. It is determined that the signal is not valid. Further, even when the sensor elements in which simultaneous detection occurs are sensor elements belonging to the first sensor element group G1 and the second sensor element group G2, it is determined that the signal is not valid. Further, in the “in half-circle detection mode”, a signal indicating the simultaneous detection of three sensor elements having different contact signals, and the signal is not effective even when the positional relationship between the sensor elements is an adjacent relationship. to decide.

このように、「半周内検出モード」では、非連続な2つのセンサ素子で同時に接触を検出した場合や、第1のセンサ素子群G1と第2のセンサ素子群G2とにそれぞれ属するセンサ素子で同時に接触を検出した場合は、開放信号に変換してキューQUEに入れるようにしたので、誤検出を簡単かつ確実に防止することができる。したがって、不慣れなユーザが同時に別々のタッチセンサ素子に触れてしまっても誤った処理を行うことなく、ユーザに対してストレスを与えることがない。   As described above, in the “intra-circumference detection mode”, when contact is detected by two discontinuous sensor elements at the same time, or in sensor elements belonging to the first sensor element group G1 and the second sensor element group G2, respectively. If contact is detected at the same time, it is converted into an open signal and placed in the queue QUE, so that erroneous detection can be prevented easily and reliably. Therefore, even if an unfamiliar user touches different touch sensor elements at the same time, no erroneous processing is performed and no stress is applied to the user.

次に、「周回検出モード」について説明する。「周回検出モード」は、例えば上述したロックセキュリテイアプリAP2の実行中において、セキュリティロックを解除する場合などに、センサ部120における接触操作の周回数および周回方向を検出するものである。   Next, the “circulation detection mode” will be described. In the “circulation detection mode”, for example, when the security lock is released during the execution of the lock security application AP2 described above, the number of contact operations in the sensor unit 120 and the rotation direction are detected.

図14は、「周回検出モード」におけるタッチセンサの接触検出についての基本的な動作を示すフローチャートである。この「周回検出モード」では、先ず「リリース状態」(RS1)から、いずれかのセンサ素子により接触が検出(RS2)されて「プレス状態」(RS3)に遷移したら、いずれのセンサ素子も接触を検出していない接触非検出が生じたか否かを検知し(RS4)、接触非検出が検知されたら「リリース待ち状態」とする(RS5)。   FIG. 14 is a flowchart illustrating a basic operation for touch detection of the touch sensor in the “circulation detection mode”. In this “circumference detection mode”, when contact is detected (RS2) by any sensor element from “release state” (RS1) and transitions to “press state” (RS3), any sensor element makes contact. It is detected whether or not contact non-detection that has not been detected has occurred (RS4), and when contact non-detection is detected, a "release wait state" is set (RS5).

その後、RS4において接触非検出が検知された時点から一定時間(例えば、100ms)内において、いずれかのセンサ素子が接触を検出したか否かを検知し(RS6)、接触が検知されたら、一連の入力操作が行われているものとしてRS3の「プレス状態」に遷移して、RS4において接触非検出となる直前の接触信号に連続する接触信号として扱う。これに対し、RS6において、一定時間内に接触が検出されない場合には、リリースの発生として開放信号をキューQUEに入れて、それまでの接触検出の変化に応じた制御を実行するとともに(RS7)、周回検出モードが終了していなければ、RS1のリリース状態に遷移させる(RS8)。   Thereafter, it is detected whether or not any sensor element detects contact within a certain time (for example, 100 ms) from the time point when contact non-detection is detected in RS4 (RS6). Assuming that the input operation is performed, the state transits to the “press state” of RS3 and is treated as a contact signal that is continuous with the contact signal immediately before the contact non-detection in RS4. On the other hand, in RS6, when contact is not detected within a certain time, an open signal is put into the queue QUE as the occurrence of release, and control according to the change in contact detection so far is executed (RS7). If the lap detection mode has not ended, a transition is made to the release state of RS1 (RS8).

図15は、「周回検出モード」の一具体例を説明するもので、図10と同様に、センサ素子検出状態を単一素子検出状態と複数素子検出状態とを含む16個に分割して示した概念図である。ここでは、1つのセンサ素子群として捉えたセンサ素子L1〜L4,R1〜R4における一のセンサ素子が接触を検出し、かつ、当該一のセンサ素子の位置を基点として、該基点から時計回りにおいて1つ手前の位置までの複数のセンサ素子が、所定時間(例えば、数秒)内に連続して順に接触を検出したのを検知して、時計回りの一周の接触操作を検出する。なお、センサ素子L1〜L4,R1〜R4による連続した接触検出は、図14に示した「リリース待ち状態」を考慮して検知する。   FIG. 15 illustrates a specific example of the “circulation detection mode”. Like FIG. 10, the sensor element detection state is divided into 16 parts including a single element detection state and a multiple element detection state. It is a conceptual diagram. Here, one sensor element in the sensor elements L1 to L4 and R1 to R4 captured as one sensor element group detects contact, and the position of the one sensor element is used as a base point and clockwise from the base point. A plurality of sensor elements up to the previous position are detected to detect contact in succession in a predetermined time (for example, several seconds) in order, and a clockwise contact operation is detected. The continuous contact detection by the sensor elements L1 to L4 and R1 to R4 is detected in consideration of the “release wait state” shown in FIG.

例えば、図15において、時計回りの周回を検出する場合、リリースしている状態から最初に指が触れられたプレス位置がL1検出位置であったときは、L1を基点として、一定時間内に時計回りにL1から1つ手前のセンサ素子R4による接触検出を含むR3−R4検出位置まで、連続して順に接触が検出されたのを検知して、時計回りに一周の接触操作がされたと検出し、その後リリースされることなく、引き続いてL1からR3−R4検出位置まで所定時間内に連続して順に接触が検出されたのを検知したら、次の時計回りの一周の接触操作がされたと検出する。以後、「リリース待ち状態」を経過してセンサ素子群から指がリリースされるまで、同様の動作を繰り返す。   For example, in FIG. 15, when detecting a clockwise turn, when the press position where the finger is first touched from the released state is the L1 detection position, the clock is moved within a certain time from L1 as a base point. Detects that contact has been continuously detected from L1 to the R3-R4 detection position including the contact detection by the sensor element R4 immediately before, and that the contact operation has made one round clockwise. Then, if it is detected that contact has been successively detected within a predetermined time from L1 to R3-R4 detection position without being released thereafter, it is detected that the next clockwise one-round contact operation has been performed. . Thereafter, the same operation is repeated until the finger is released from the sensor element group after passing the “release wait state”.

図16は、この場合のフローチャートを示すものである。先ず、ロックセキュリテイアプリAP2の実行中において、セキュリティロックの解除処理が選択されたら、図1に示した記憶部140の保存領域142に格納する周回数を初期化する(S41)。その後、ユーザによるセンサ部120の接触が開始されたら(S43)、最初に指が触れたプレス位置を周回の基点(スタート位置)として保存領域142に保持する(S45)。ここでは、最初にL1検出位置に触れたとして、位置L1を基点として保持する。   FIG. 16 shows a flowchart in this case. First, when the security lock release process is selected during execution of the lock security application AP2, the number of laps stored in the storage area 142 of the storage unit 140 shown in FIG. 1 is initialized (S41). After that, when contact of the sensor unit 120 by the user is started (S43), the press position first touched by the finger is held in the storage area 142 as a turning base point (start position) (S45). Here, assuming that the L1 detection position is first touched, the position L1 is held as a base point.

その後、制御部110では、「リリース待ち状態」を考慮してキューQUEから読み出した接触信号の変化からユーザによる周回操作が開始されたのを検知して、接触の遷移方向、即ち周回方向を検出し(S47)、その検出した周回方向とステップS45で保持した基点とから、一周検出の終点となる基点位置から1つ手前の位置をエンド位置と決定して、その位置を保存領域142に保持する(S49)。この例では、基点がL1で、周回方向が時計回りであるから、センサ素子L1から時計回りに1つ手前のセンサ素子R4による接触検出位置を含むR3−R4検出位置がエンド位置R4として決定されて保持される。   After that, the control unit 110 detects the transition operation of the contact, that is, the circulation direction, by detecting that the user has started the circulation operation from the change of the contact signal read from the queue QUE in consideration of the “waiting for release” state. (S47) From the detected rotation direction and the base point held in step S45, the position immediately before the base point position that is the end point of the round detection is determined as the end position, and the position is held in the storage area 142. (S49). In this example, since the base point is L1 and the circumferential direction is clockwise, the R3-R4 detection position including the contact detection position by the sensor element R4 immediately before the sensor element L1 is determined as the end position R4. Held.

その後、周回検出処理における周回方向を時計回りに保持した状態で(S51)、「リリース待ち状態」を考慮してキューQUEから読み出した接触信号の順次の変化に基づいて、所定時間内に基点L1から時計回りのエンド位置R4を含むR3−R4検出位置まで、センサ素子が連続して順に接触を検出したか否かを検出し(S53)、順に接触が検出された場合には時計回りに1周したと検出して(S55)、周回数カウンタをカウントアップする(S57)。その後、接触信号に基づいて、リリース待ち状態が経過して指がリリースされたか否かを判定し(S59)、リリースされていなければステップS53に移行して、1周目と同じ位置L1を基点として次の時計回りの周回を検出する。   Thereafter, in a state where the circulation direction in the circulation detection process is held clockwise (S51), the base point L1 is determined within a predetermined time based on the sequential change of the contact signal read from the queue QUE in consideration of the “release waiting state”. From the end position R4 to the R3-R4 detection position including the clockwise end position, it is detected whether or not the sensor elements have successively detected contact (S53). It is detected that the vehicle has made a round (S55), and the rounding counter is counted up (S57). Thereafter, based on the contact signal, it is determined whether or not the release wait state has elapsed and the finger has been released (S59). If not released, the process proceeds to step S53, and the same position L1 as the first round is used as a base point. To detect the next clockwise turn.

一方、ステップS53において、所定時間内に基点L1から時計回りのエンド位置R4を含むR3−R4検出位置まで、センサ素子が連続して順に接触を検出しなかった場合や、ステップS59においてリリースされたと判定された場合には、その時点の周回数カウンタにおけるカウント値を出力して(S61)、周回検出処理を終了する。   On the other hand, in step S53, if the sensor elements do not detect contact in sequence from the base point L1 to the R3-R4 detection position including the clockwise end position R4 within a predetermined time, or if they are released in step S59. If it is determined, the count value in the lap counter at that time is output (S61), and the lap detection process is terminated.

なお、ここでは、周回方向を時計回りとしたが、反時計回りの場合も同様であり、また周回のエンド位置も、基点から周回方向の1つ手前に限らず、2以上手前とすることも可能である。また、最初に指が触れたプレス位置が、例えばL1−L2検出位置の場合には、一方を基点とするように予め決めておいても良いし、一度決定した基点を周回方向に応じて変更するようにしても良い。例えば、L1−L2検出位置の場合は、基点をL1と予め決定し、その後、周回方向が時計回りと検出された場合には、基点をL1そのままとして、エンド位置を1つ手前の場合にはR4と決定し、周回方向が反時計回りと検出された場合には、基点をL1からL2に変更して、エンド位置を1つ手前の場合にはL3と決定する。さらに、ここでは、隣接する2つのセンサ素子が同時に接触を検出する複数素子検出状態を含む16個のセンサ素子検出状態を監視して周回を検出するようにしたが、単一のセンサ素子のみが接触を検出する8個のセンサ素子検出状態を監視して周回を検出することもできる。   In addition, although the rotation direction is clockwise here, the same applies to the case of counterclockwise rotation, and the end position of the rotation is not limited to one before the rotation direction from the base point, and may be two or more before. Is possible. Further, when the press position first touched by the finger is, for example, the L1-L2 detection position, it may be determined in advance so that one of the press positions is a base point, or the base point once determined is changed according to the circulation direction. You may make it do. For example, in the case of the L1-L2 detection position, if the base point is determined in advance as L1, and then the rotation direction is detected as clockwise, the base point remains as L1 and the end position is one before. When R4 is determined and the turning direction is detected to be counterclockwise, the base point is changed from L1 to L2, and when the end position is one before, L3 is determined. Furthermore, here, 16 sensor element detection states including a plurality of element detection states in which two adjacent sensor elements detect contact at the same time are monitored to detect laps, but only a single sensor element is detected. It is also possible to detect the circulation by monitoring the detection states of the eight sensor elements that detect contact.

このように、「周回検出モード」では、センサ部120から指が離れても、一定時間内に再びセンサ部120に指が触れれば、一連の入力操作が行われているものとして指が離れる直前の接触信号に連続する接触信号として扱われるようにしたので、第1のセンサ素子群G1と第2のセンサ素子群G2との間に形成された比較的広い離間部SP1、SP2を跨ぐ際に、瞬間的に接触が検出されなかった場合でも、連続検出状態とすることができる。また、「半周内検出モード」のようにカーソル等を移動させる場合とは異なり、セキュリティロックを解除する場合のように、単にセンサ部120を指でなぞって周回させる場合には、周回操作がアバウトで素早くなりがちになる。このため、特にセンサ部120が小さい場合には、瞬間的にセンサ部120から指が離れたり、逸れたりし易くなるが、このような場合でも連続検出状態とすることができる。同様に、外的振動を拾い易い移動環境下での入力操作において、瞬間的にセンサ部120から指が離れたり、逸れたりした場合でも、連続検出状態とすることができる。   As described above, in the “around detection mode”, even if the finger is released from the sensor unit 120, if the finger touches the sensor unit 120 again within a predetermined time, the finger is released as a series of input operations. Since it is handled as a contact signal that is continuous with the immediately preceding contact signal, when straddling the relatively wide separation portions SP1 and SP2 formed between the first sensor element group G1 and the second sensor element group G2. Even if contact is not detected instantaneously, the continuous detection state can be achieved. Also, unlike the case of moving the cursor or the like as in the “half-round detection mode”, when the sensor unit 120 is simply traced with a finger, as in the case of releasing the security lock, the rounding operation is not performed. It tends to be quick. For this reason, especially when the sensor unit 120 is small, it is easy to momentarily disengage or deviate from the sensor unit 120. Even in such a case, a continuous detection state can be achieved. Similarly, in an input operation under a moving environment in which external vibrations are easily picked up, a continuous detection state can be set even when a finger is momentarily separated from or deviated from the sensor unit 120.

次に、「周回検出モード」において、タッチセンサモジュールTSMから出力される接触信号が有効でない信号(Falseとなる条件を満たす信号)であるときのシリアル割込み監視部SIMONと確認部CNFの動作を説明する。図17は、シリアル割込み監視部SIMONと確認部CNFの動作を説明するフローチャートである。監視部SIMONが、タッチセンサモジュールTSMからシリアルインターフェース部SIに出力された接触信号を取り出すと(S201)、確認部CNFは、あらかじめ設定された条件に従い、取り出した接触信号が有効であるか否か、即ちTrue/Falseの判定を行う(S202)。確認部CNFは、有効な信号、即ちTrue(真)な信号であれば、変換テーブルを参照して変換の必要な信号のみを変換して(S203)キューQUEに入れる(S204)。有効でない信号、即ちFalse(偽)な信号であれば接触信号を、リリース状態を意味する信号である開放信号に変換し(S205)、開放信号をキューQUEに入れる(S204)。   Next, the operation of the serial interrupt monitoring unit SIMON and the checking unit CNF when the contact signal output from the touch sensor module TSM is not a valid signal (a signal that satisfies the condition of False) in the “around detection mode” will be described. To do. FIG. 17 is a flowchart for explaining operations of the serial interrupt monitoring unit SIMON and the confirmation unit CNF. When the monitoring unit SIMON extracts the contact signal output from the touch sensor module TSM to the serial interface unit SI (S201), the confirmation unit CNF determines whether the extracted contact signal is valid according to a preset condition. In other words, True / False is determined (S202). If it is a valid signal, that is, a true signal, the confirmation unit CNF converts only the signal that needs to be converted with reference to the conversion table (S203) and puts it in the queue QUE (S204). If the signal is not valid, that is, a false signal, the contact signal is converted into a release signal that is a signal indicating a release state (S205), and the release signal is put in the queue QUE (S204).

False(偽)となる条件としては、「半周内検出モード」と同様に、非連続な2つのセンサ素子で接触を検出した場合が設定される。したがって、確認部CNFは、接触信号が異なるセンサ素子の同時検出を示す信号であった場合には、同時検出の生じたセンサ素子間の位置関係を判断し、同時検出の生じたセンサ素子間の位置関係が隣接位置ならば有効な信号とし、非隣接関係ならば有効ではない信号として判断する。   As a condition of False (false), a case where contact is detected by two non-continuous sensor elements is set as in the “half-round detection mode”. Therefore, when the contact signal is a signal indicating simultaneous detection of different sensor elements, the confirmation unit CNF determines the positional relationship between the sensor elements in which simultaneous detection has occurred, and between the sensor elements in which simultaneous detection has occurred. If the positional relationship is an adjacent position, it is determined as an effective signal, and if the positional relationship is not adjacent, it is determined as an invalid signal.

また、「周回検出モード」では、確認部CNFが、有効な信号、即ちTrue(真)な信号であれば、変換テーブルを参照して変換の必要な信号のみを変換する。図18は、確認部CNFが参照する変換テーブルの一例を示す図である。図18に示す変換テーブルから分かるように、確認部CNFは、例えば、センサ素子R2とR3といった隣接する2つのセンサ素子で同時に接触を検出した場合には、単一のセンサ素子を検出した場合と同様に、接触を検出したセンサ素子に対応するビットにフラグが立った接触信号(位置特定信号)をキューQUEに入れるが、センサ素子の接触検出の信号が、異なる3つのセンサ素子の3ヶ所同時検出を示す信号であって、センサ素子間の位置関係が隣接位置関係にある場合には、3ヵ所同時検出を示す信号に替えて、接触検出の生じたセンサ素子のうち中央のセンサ素子の検出を示す接触信号(位置特定信号)に変換してキューQUEに入れる。例えば、図19に示すように、隣接位置関係にあるセンサ素子L3、L4、R1の3ヶ所同時検出を示す信号のときは、中央のセンサ素子L4の検出を示す接触信号(位置特定信号)に変換してキューQUEに入れる。   In the “circumference detection mode”, if the confirmation unit CNF is a valid signal, that is, a True signal, only the signal that needs to be converted is converted with reference to the conversion table. FIG. 18 is a diagram illustrating an example of a conversion table referred to by the confirmation unit CNF. As can be seen from the conversion table shown in FIG. 18, the confirmation unit CNF, for example, detects contact with two adjacent sensor elements such as sensor elements R2 and R3 at the same time, and detects a single sensor element. Similarly, a contact signal (position specifying signal) flagged in the bit corresponding to the sensor element that has detected contact is put in the queue QUE, but the contact detection signal of the sensor element is simultaneously transmitted to three different sensor elements at three locations. If the signal is a signal indicating detection and the positional relationship between the sensor elements is an adjacent positional relationship, instead of the signal indicating simultaneous detection at three locations, detection of the center sensor element among the sensor elements in which contact detection has occurred Is converted into a contact signal (position specifying signal) indicating, and placed in the queue QUE. For example, as shown in FIG. 19, in the case of a signal indicating the simultaneous detection of the three sensor elements L3, L4, and R1 in the adjacent positional relationship, the contact signal (position specifying signal) indicating the detection of the center sensor element L4 is used. Convert to queue QUE.

このように、「周回検出モード」では、非連続な2つのセンサ素子で同時に接触を検出した場合は、開放信号に変換してキューQUEに入れるようにしたので、誤検出を簡単かつ確実に防止することができ、不慣れなユーザが同時に別々のタッチセンサ素子に触れてしまっても誤った処理を行うことなく、ユーザに対してストレスを与えることがない。また、センサ素子間の位置関係が隣接位置関係にある、異なる3つのセンサ素子で同時に接触を検出した場合は、接触検出の生じた3つのセンサ素子のうち中央のセンサ素子の検出を示す接触信号(位置特定信号)に変換してキューQUEに入れるようにしたので、指のサイズの大きいユーザが操作する場合や、指を寝かした状態で操作する場合においても、ユーザからの処理を極力有効にしてユーザに対してストレスを与えることがない。   As described above, in the “circumference detection mode”, when contact is detected by two discontinuous sensor elements at the same time, it is converted into an open signal and placed in the queue QUE, so that erroneous detection can be prevented easily and reliably. Even if an unfamiliar user touches different touch sensor elements at the same time, the user is not stressed without performing erroneous processing. Further, when contact is detected simultaneously with three different sensor elements in which the positional relationship between the sensor elements is adjacent, the contact signal indicating the detection of the central sensor element among the three sensor elements in which the contact detection has occurred. (Positioning signal) is converted into the queue QUE so that even when a user with a large finger size operates or when operating with the finger lying down, the processing from the user is made as effective as possible. Therefore, no stress is given to the user.

なお、隣接した3ヶ所の同時検出が生じ、所定のセンサ素子での接触が生じたという信号に置換された場合に関しても、その後の移動方向検出などは通常通り、図16に示した処理に準じて行う。すなわち、3ヶ所の同時検出が行われている場合であっても、わずかに指が動き、3ヶ所中の端部の1ヶ所での検出が生じなくなると共に、残る2ヶ所の同時検出が続いている場合には、中央のセンサ素子の単一検出状態から、2ヶ所の複数素子検出状態への遷移が生じたこととすることととなり、図16に示した移動検出を有効とすることができる。なお、何らかの理由により、隣接3ヶ所同時検出から、中央だけ接触検出ができなくなった場合には、非隣接の2ヶ所同時検出となるため、Falseとなる。よって、移動検出は生じないこととなる。この場合は、当初の隣接3ヶ所同時検出自体が2本の指で近傍を触れていた、などと考えることができ、このような不正な接触についてを有効とせずに済むようになり、内部処理的にエラーを生じる要因を減少させることもできる。   Even in the case where simultaneous detection at three adjacent points occurs and the signal is replaced with a signal that contact has occurred at a predetermined sensor element, the subsequent movement direction detection and the like are performed in accordance with the processing shown in FIG. Do it. That is, even when three simultaneous detections are being performed, the finger moves slightly and detection at one of the three ends does not occur, and the remaining two simultaneous detections continue. If there is a transition, the transition from the single detection state of the central sensor element to the multiple-element detection state at two locations has occurred, and the movement detection shown in FIG. 16 can be validated. . If for some reason it becomes impossible to detect contact only at the center after simultaneous detection at three adjacent locations, it becomes False because two non-adjacent locations are detected at the same time. Therefore, no movement detection occurs. In this case, it can be considered that the initial simultaneous detection of three adjacent locations itself touched the vicinity with two fingers, and it becomes unnecessary to validate such unauthorized contact. It is also possible to reduce factors that cause errors.

以上のように、本発明におけるタッチセンサでは、そのバッファリング手段にて、周回検出モードの場合に3ヶ所同時検出を有効とし、半周内検出モードの場合には3ヶ所同時検出を無効とするよう制御している。つまり、携帯電話端末に搭載するような小型のタッチセンサの場合、サイズが小さいため、そのセンサ素子数はどうしても少なくなってしまう。本実施形態にて述べたような半周分について4つしかセンサ素子を備えていない場合、隣接3ヶ所同時検出まで有効とすると、半周分においてはその移動量検出がほとんど生じなくなってしまうため、半周分については無効としている。逆に、周回したか否かを検出し、RFID通信のロック機能の解除/非解除を指示する手段などとしてタッチセンサを用いる場合には、1周分指で操作したかどうかが問われるため、繊細な操作を特に要しない。つまり、この程度の作業の場合には、ユーザはむしろ素早く操作するであろうことが想像できる。よって、周回検出モードについては、隣接3ヶ所検出を有効としておくことが好ましい。このように、各モードに応じて、検出結果の有効/無効を変更することにより、ユーザにとってはストレス無く、かつ正確な操作を行うことができる。   As described above, in the touch sensor according to the present invention, the buffering means enables the simultaneous detection of the three locations in the rotation detection mode and disables the simultaneous detection of the three locations in the half-round detection mode. I have control. That is, in the case of a small touch sensor mounted on a mobile phone terminal, since the size is small, the number of sensor elements inevitably decreases. When only four sensor elements are provided for the half circumference as described in the present embodiment, if the detection is effective up to the simultaneous detection of three adjacent locations, the movement amount detection hardly occurs in the half circumference. Minutes are invalid. On the other hand, if the touch sensor is used as a means for detecting whether or not it has circulated and instructing the release / non-release of the lock function of RFID communication, it is asked whether or not it has been operated with one finger. No delicate operation is required. In other words, it can be imagined that in the case of this level of work, the user will operate rather quickly. Therefore, it is preferable to make the detection of three adjacent points effective for the rotation detection mode. Thus, by changing the validity / invalidity of the detection result according to each mode, the user can perform an accurate operation without stress.

なお、本発明は、上記実施の形態に限定されるものではなく、発明の趣旨を逸脱しない範囲で種々変更可能である。例えば、第1のセンサ素子群G1および第2のセンサ素子群G2は、ほぼ円環状に限らず、矩形状、多角形状など、任意の環状パターンで配したり、環状に限らず、少なくとも互いの一端部が近接する直線状あるいは曲線状等の任意のパターンで配したりすることもできるし、各センサ素子群におけるセンサ素子の数も4個に限らず、任意の複数個とすることができる。さらに、センサ素子群は、1つとすることもできる。また、センサ素子は、静電容量式の接触センサや前述した薄膜抵抗式に限らず、受光量の変動によって接触を検知する光学方式、表面弾性波の減衰によって接触を検知するSAW方式、誘導電流の発生によって接触を検知する電磁誘導方式のセンサ素子を用いることもできるし、接触センサのタイプによっては、指以外の専用ペンなどの指示器具を使用するものも用いることもできる。また、本発明は、携帯電話端末に限らず、PDA(パーソナルデジタルアシスタンス)、携帯ゲーム機、携帯オーディオプレイヤ、携帯ビデオプレイヤ、携帯電子辞書、携帯電子書籍ビューワなどの携帯電子機器に広く適用することできる。   In addition, this invention is not limited to the said embodiment, A various change is possible in the range which does not deviate from the meaning of invention. For example, the first sensor element group G1 and the second sensor element group G2 are not limited to an annular shape, but are arranged in an arbitrary annular pattern such as a rectangular shape or a polygonal shape. It can be arranged in an arbitrary pattern such as a straight line or a curved line in which the one end portions are close to each other, and the number of sensor elements in each sensor element group is not limited to four, and can be an arbitrary plural number. . Furthermore, the sensor element group may be one. The sensor element is not limited to a capacitance type contact sensor or the above-described thin film resistance type, but an optical method for detecting contact based on fluctuations in the amount of received light, a SAW method for detecting contact based on attenuation of surface acoustic waves, and an induced current. It is possible to use an electromagnetic induction type sensor element that detects contact based on the occurrence of the above, and depending on the type of contact sensor, it is also possible to use an indicator that uses a dedicated pen other than a finger. The present invention is not limited to mobile phone terminals, and is widely applied to portable electronic devices such as PDAs (personal digital assistance), portable game machines, portable audio players, portable video players, portable electronic dictionaries, and portable electronic book viewers. it can.

100 携帯電話端末
110 制御部
120 センサ部
130 表示部
140 記憶部
142 保存領域
144 外部データ保存領域
150 情報処理機能部
160 電話機能部
200 携帯電話端末
210 タッチセンサ部
220 カメラ
230 ライト
300 前処理部
310 A/D変換器
320 制御部
330 記憶部
AP1 サブ表示部表示アプリ
AP2 ロックセキュリティアプリ
AP3 アプリケーション
AP3 その他アプリ
AP4 ラジオアプリ
API アプリケーションプログラムインターフェース
APIR 赤外線通信アプリ
APRF RFIDアプリアプリ
AUD オーディオドライバ
BA ベースアプリ
CLK OSタイマー
CNF 確認部
COM 通信部
DL デバイス層
EAP イヤホン
FLG フラグ記憶部
IH 割込ハンドラ
IR 赤外線通信部
IRD 赤外線通信ドライバ
KEY キー操作部
KSP キースキャンポートドライバ
MIC マイク
NTF 結果通知部
OCD 開閉検出デバイス
PNL パネル
PR プロトコル
PS 電源
PSCON 電源コントローラ
QUE キュー
RD ラジオドライバ
RFD RFIDドライバ
RFID RFIDモジュール
RM ラジオモジュール
SI シリアルインターフェース部
SIMON 監視部
SP スピーカ
SW 切替部
SWCON 切替制御部
TSBA タッチセンサベースアプリブロック
TSD タッチセンサドライバ
TDB タッチセンサドライバブロック
TSM タッチセンサモジュール
L1〜L4 センサ素子
R1〜R4 センサ素子
ELD サブ表示部
PNL パネル
SP1、SP2 離間部
SW1〜SW4 タクトスイッチ
G1 第1のセンサ素子群
G2 第2のセンサ素子群
G3 第nのセンサ素子群
AR1、AR2 矢印
LS1〜LS4 項目
TI タイトル
BP1〜BP3 基準点
PP1〜PP3 前回の位置
CP1〜CP3 現在の位置
DESCRIPTION OF SYMBOLS 100 Mobile phone terminal 110 Control part 120 Sensor part 130 Display part 140 Storage part 142 Storage area 144 External data storage area 150 Information processing function part 160 Telephone function part 200 Mobile phone terminal 210 Touch sensor part 220 Camera 230 Light 300 Pre-processing part 310 A / D converter 320 Control unit 330 Storage unit AP1 Sub display unit display application AP2 Lock security application AP3 Application AP3 Other application AP4 Radio application API Application program interface APIR Infrared communication application APRF RFID application application AUD Audio driver BA Base application CLK OS timer CNF confirmation unit COM communication unit DL device layer EAP earphone FLG flag storage unit IH interrupt handler I Infrared communication unit IRD Infrared communication driver KEY Key operation unit KSP Key scan port driver MIC Microphone NTF Result notification unit OCD Open / close detection device PNL panel PR protocol PS power supply PSCON power supply controller QUE queue RD Radio driver RFD RFID driver RFID RFID module RM Radio module SI Serial interface unit SIMON monitoring unit SP speaker SW switching unit SWCON switching control unit TSBA touch sensor base application block TSD touch sensor driver TDB touch sensor driver block TSM touch sensor module L1 to L4 sensor element R1 to R4 sensor element ELD sub display unit PNL panel SP1, SP2 separation part SW1-SW4 tact switch 1 first sensor element group G2 second sensor element group G3 n-th sensor element group AR1, AR2 arrow LS1~LS4 item TI Title BP1~BP3 reference point PP1~PP3 previous position CP1~CP3 current position

Claims (2)

接触を検出する検出部と、
前記検出部により検出された隣接の2ヶ所同時接触を有効な信号として処理し、非隣接の2ヶ所同時接触を有効でない信号として処理する制御部と、
を備えることを特徴とする携帯電子機器。
A detection unit for detecting contact;
A control unit that processes adjacent two simultaneous contacts detected by the detection unit as an effective signal and processes non-adjacent two simultaneous contacts as an invalid signal;
A portable electronic device comprising:
接触を検出する検出部を備える携帯電子機器の制御方法であって、
前記検出部により検出された隣接の2ヶ所同時接触を有効な信号として処理し、非隣接の2ヶ所同時接触を有効でない信号として処理する、
ことを特徴とする制御方法。
A method for controlling a portable electronic device including a detection unit for detecting contact,
Treat adjacent two simultaneous contacts detected by the detection unit as an effective signal, and process non-adjacent two simultaneous contacts as an invalid signal,
A control method characterized by that.
JP2011262784A 2011-11-30 2011-11-30 Portable electronic equipment and control method for the same Pending JP2012089148A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2011262784A JP2012089148A (en) 2011-11-30 2011-11-30 Portable electronic equipment and control method for the same

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2011262784A JP2012089148A (en) 2011-11-30 2011-11-30 Portable electronic equipment and control method for the same

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP2006250617A Division JP5214126B2 (en) 2006-09-15 2006-09-15 Portable electronic device and control method thereof

Publications (1)

Publication Number Publication Date
JP2012089148A true JP2012089148A (en) 2012-05-10

Family

ID=46260633

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2011262784A Pending JP2012089148A (en) 2011-11-30 2011-11-30 Portable electronic equipment and control method for the same

Country Status (1)

Country Link
JP (1) JP2012089148A (en)

Similar Documents

Publication Publication Date Title
JP4741673B2 (en) Portable electronic device and method for controlling portable electronic device
JP4898813B2 (en) Portable electronic devices
JP5064395B2 (en) Portable electronic device and input operation determination method
JP4578451B2 (en) Electronics
JP5214126B2 (en) Portable electronic device and control method thereof
WO2008023540A1 (en) Portable electronic device, method for detecting operation of portable electronic device and method for controlling portable electronic device
JP5274758B2 (en) Portable electronic devices
JP5536019B2 (en) Portable electronic device and control method thereof
JP4657174B2 (en) Display device
JP5295488B2 (en) Portable electronic device and control method thereof
JP4657171B2 (en) Portable electronic device and control method thereof
JP4721986B2 (en) Portable electronic device and method for controlling portable electronic device
JP4969196B2 (en) Portable electronic device and method for controlling portable electronic device
JP5046802B2 (en) Portable electronic devices
JP2012089148A (en) Portable electronic equipment and control method for the same
JP2008052567A (en) Portable electronic equipment and operation detection method of the same
JP4964535B2 (en) Portable electronic device and method for detecting operation of portable electronic device
JP5122779B2 (en) Portable electronic devices
JP2008052429A (en) Portable electronic equipment
JP2011258241A (en) Mobile electronic device and method of controlling the same
JP2008052585A (en) Portable electronic device and its control method