JP2013228881A - Electronic device - Google Patents

Electronic device Download PDF

Info

Publication number
JP2013228881A
JP2013228881A JP2012100428A JP2012100428A JP2013228881A JP 2013228881 A JP2013228881 A JP 2013228881A JP 2012100428 A JP2012100428 A JP 2012100428A JP 2012100428 A JP2012100428 A JP 2012100428A JP 2013228881 A JP2013228881 A JP 2013228881A
Authority
JP
Japan
Prior art keywords
contact
detection unit
contact detection
acquired
detected
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2012100428A
Other languages
Japanese (ja)
Other versions
JP5787824B2 (en
Inventor
Noriyuki Shinozaki
教志 篠▲崎▼
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 JP2012100428A priority Critical patent/JP5787824B2/en
Publication of JP2013228881A publication Critical patent/JP2013228881A/en
Application granted granted Critical
Publication of JP5787824B2 publication Critical patent/JP5787824B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

PROBLEM TO BE SOLVED: To provide an electronic device in which the detecting accuracy of the position of a contact of a contact detection section is improved.SOLUTION: In an electronic device 1 including a contact detection section 40 for detecting a contact and a control section 10 for acquiring the position of the contact, the control section 10 is configured to, when the variation of the position of a contact to be acquired within a predetermined time in which the contact is detected by the contact detection section 40 is within a predetermined range, set the position calculated on the basis of the acquired position of the contact to the position of the contact detected by the contact detection section 40, and to, when the variation of the position to be acquired within the predetermined time in which the contact is detected by the contact detection section 40 is beyond the predetermine range, set the calculated position to the position of the contact detected by the contact detection section 40.

Description

本発明は、電子機器に関するものである。より詳細には、本発明は、タッチセンサなどの接触検出部に対する操作に基づいて、アプリケーションソフトウェアを実行させるなど所定の処理を行う電子機器に関するものである。   The present invention relates to an electronic device. More specifically, the present invention relates to an electronic device that performs predetermined processing such as executing application software based on an operation on a touch detection unit such as a touch sensor.

近年、携帯電話等の携帯端末において、操作者による操作を検出する部材として、タッチパネルやタッチスイッチ等のタッチセンサを備える電子機器が増えている。また、携帯端末以外に、電卓、券売機等の機器や、電子レンジ、テレビ、照明器具等の家電製品、産業用機器(FA機器)等、タッチセンサを備える電子機器は広く使用されている。   In recent years, electronic devices including a touch sensor such as a touch panel or a touch switch as a member for detecting an operation by an operator in a mobile terminal such as a mobile phone are increasing. In addition to portable terminals, electronic devices including touch sensors, such as devices such as calculators and ticket machines, household appliances such as microwave ovens, televisions, and lighting devices, and industrial devices (FA devices) are widely used.

このようなタッチセンサには、抵抗膜方式、静電容量方式、光学式等の種々の方式が知られている。いずれの方式のタッチセンサも、操作者の指やスタイラスペン等による接触を検出する。タッチセンサを備えた電子機器は、一般的に、タッチセンサの裏面側に配置した表示部の表示画面上に、操作キーやボタンなどの画像(以下、「オブジェクト」と記す)を表示する。このような電子機器は、表示画面上に表示されたオブジェクトを操作者が押圧すると、当該押圧の位置における接触を、タッチセンサが検出するようになっている。   As such a touch sensor, various systems such as a resistive film system, a capacitance system, and an optical system are known. Both types of touch sensors detect contact with an operator's finger or stylus pen. In general, an electronic device including a touch sensor displays an image (hereinafter, referred to as “object”) such as operation keys and buttons on a display screen of a display unit disposed on the back side of the touch sensor. In such an electronic device, when an operator presses an object displayed on a display screen, a touch sensor detects contact at the pressed position.

従来、タッチセンサは、種々のものが提案されている(例えば、特許文献1参照)。この特許文献1は、生産コストが安価であり小型化が可能なアナログタイプの抵抗膜式タッチパネルを提案している。特許文献1に記載されているようなタッチパネルは、スペーサにより僅かな間隔を空けた2枚の導電膜により構成される。このタッチパネルは、導電膜が押圧されて接触した位置を、一方の導電膜にかけられた電圧勾配により、他方の導電膜で電圧として読み取る構成になっている。   Conventionally, various touch sensors have been proposed (see, for example, Patent Document 1). This Patent Document 1 proposes an analog type resistive touch panel that can be miniaturized at a low production cost. A touch panel as described in Patent Document 1 is composed of two conductive films that are slightly spaced by spacers. This touch panel is configured to read a position where the conductive film is pressed and in contact with the other conductive film as a voltage by a voltage gradient applied to the one conductive film.

ところで、上述したようなタッチセンサを備えた電子機器は、タッチセンサが検出する接触の位置に応じて、所定の異なる処理を行うものが多い。すなわち、表示部に表示されたオブジェクトの領域に対応するタッチセンサには、オブジェクトごとに異なる処理が割り当てられていることが多い。例えば、このような電子機器は、メニューボタンのオブジェクトに対応する位置のタッチセンサに接触が検出されると、メニュー画面を表示したり、方向キーのオブジェクトに対応する位置のタッチセンサに接触が検出されると、カーソルを移動させたりする。このように、例えば複数のオブジェクトに対する操作に応じて開始する処理を区別する場合などは、タッチセンサが接触を検出する際、当該接触の位置を検出する精度は極めて重要である。そこで、タッチセンサを用いて接触の位置を検出する際に、当該接触の位置を精度良く検出する技術も提案されている(例えば、特許文献2参照)。   By the way, many electronic devices including the touch sensor as described above perform predetermined different processing depending on the position of contact detected by the touch sensor. That is, in many cases, different processes are assigned to the touch sensors corresponding to the object areas displayed on the display unit. For example, when contact is detected with a touch sensor at a position corresponding to a menu button object, such an electronic device displays a menu screen or detects contact with a touch sensor at a position corresponding to a direction key object. If you do, move the cursor. Thus, for example, when distinguishing processes to be started in response to operations on a plurality of objects, when the touch sensor detects a contact, the accuracy of detecting the position of the contact is extremely important. In view of this, there has also been proposed a technique for accurately detecting the position of the contact when the position of the contact is detected using a touch sensor (see, for example, Patent Document 2).

特許文献2に記載のタッチパネル装置においては、タッチパネルを構成する2枚の導電膜の一方の抵抗値に依存した電圧降下が生じても、接点位置の検出結果に影響しない。すなわち、接点位置の検出結果から、2枚の導電膜の一方における電圧降下の影響を排除することができる。したがって、押下位置を正確に特定することができる。   In the touch panel device described in Patent Document 2, even if a voltage drop depending on the resistance value of one of the two conductive films constituting the touch panel occurs, the detection result of the contact position is not affected. That is, the influence of the voltage drop in one of the two conductive films can be eliminated from the contact position detection result. Therefore, the pressed position can be specified accurately.

特開2003−241898号公報JP 2003-241898 A 特開2005−275934号公報JP 2005-275934 A

ところで、上記特許文献2に記載のタッチパネル装置は、スタイラスペン等のポインタ部材の接触により、タッチパネルに得られる接点の位置を検出することを想定したものである。しかしながら、近年普及している携帯端末に備えられたタッチパネル装置は、操作者がスタイラスペン等を用いずに、操作者自らの指により直接操作を行うことを想定したものが多い。タッチセンサに対して操作者が指で操作を行う場合、スタイラスペン等の先細の部材を用いる場合とは異なり、タッチセンサが検出する接触の位置は、ある程度の面積を有するようになる。このように、タッチセンサが比較的大きな面積で接触されると、2枚の導電膜が接続される部分が大きくなる。タッチセンサ上で接触される部位がある程度の面積を有する場合、タッチセンサにより検出される接触位置は、接触されている部分のいずれかの位置となるため、当該検出される接触位置は所定の面積内においてばらつくようになる。このため、導電膜における抵抗値の分布が部分的に不均一となり、タッチセンサが接触の位置を検出する精度が低下する。   By the way, the touch panel device described in Patent Document 2 assumes that the position of a contact point obtained on the touch panel is detected by the contact of a pointer member such as a stylus pen. However, many touch panel devices provided in portable terminals that have been widely used in recent years assume that an operator directly operates with his / her finger without using a stylus pen or the like. When the operator performs an operation on the touch sensor with a finger, unlike the case where a tapered member such as a stylus pen is used, the position of contact detected by the touch sensor has a certain area. As described above, when the touch sensor is brought into contact with a relatively large area, a portion where the two conductive films are connected is increased. When the part touched on the touch sensor has a certain area, the contact position detected by the touch sensor is one of the touched parts, so the detected contact position is a predetermined area. It comes to vary within. For this reason, the distribution of the resistance value in the conductive film is partially non-uniform, and the accuracy with which the touch sensor detects the position of contact decreases.

以下、従来のタッチセンサにおいて操作者の接触を検出する際の様子を説明する。図6は、従来のタッチパネル装置におけるタッチセンサ400を正面から平面視した概略図である。図6に示すように、タッチセンサ400において位置を検出するために、仮想的にxy座標系を規定する。   Hereinafter, a state when detecting an operator's contact in a conventional touch sensor will be described. FIG. 6 is a schematic view of a touch sensor 400 in a conventional touch panel device as viewed from the front. As shown in FIG. 6, in order to detect a position in the touch sensor 400, an xy coordinate system is virtually defined.

このような状態において、操作者が自らの指によりタッチセンサ400の表面を接触すると、操作者の指がタッチセンサ400に接触する部分は、図中に示すαのような面積を有することになる。このように接触される部位が面積を有する場合、所定の短時間にタッチセンサ400が検出する接触位置は、図にバツ印で示すように、ある程度の面積にわたってばらつくようになる。なお、このようなタッチセンサを用いて接触位置を検出すると、図に示すように、接触の位置は、実際に接触されている面積α内から少し外れた(はみ出した)箇所においても検出される。すなわち、操作者が実際にタッチセンサ400において接触していない箇所においても、接触位置のばらつきが見られる。これは、操作者の指がタッチセンサ400に触れる面積よりも、タッチセンサ400の導電膜同士が接触する部分の面積の方が若干大きくなること等が、要因として挙げられる。以下、このような現象についてさらに説明する。   In such a state, when the operator touches the surface of the touch sensor 400 with his / her finger, the portion where the operator's finger contacts the touch sensor 400 has an area α as shown in the figure. . When the contacted part has an area, the contact position detected by the touch sensor 400 in a predetermined short time varies over a certain area as indicated by a cross mark in the drawing. In addition, when a contact position is detected using such a touch sensor, as shown in the figure, the position of the contact is detected even at a location slightly outside (extruded) from the area α that is actually in contact. . That is, even in a place where the operator does not actually touch the touch sensor 400, variation in the contact position is seen. This is because the area where the conductive films of the touch sensor 400 contact each other is slightly larger than the area where the operator's finger touches the touch sensor 400. Hereinafter, such a phenomenon will be further described.

図7は、図6において説明した従来のタッチパネル装置におけるタッチセンサ400の要部断面図である。図7(A)に示すように、タッチセンサ400は、上側の導電膜400aおよび下側の導電膜400bにより構成されている。操作者が指により上側の導電膜400aを上方から押圧すると、図7(B)に示すように、上側の導電膜400aが撓むことにより、下側の導電膜400bに接触する。操作者の指が上側の導電膜400aに接触しているのは面積αの部分のみであるが、図示のように、面積αの周囲の導電膜400aも同時に撓むため、上側の導電膜400aが下側の導電膜400bに接触する面積βは、面積αよりも大きくなる。したがって、この場合タッチセンサ400が検出する接触の位置は面積β内のいずれかの位置となり、面積β内において接触の位置がばらつくようになる。   FIG. 7 is a cross-sectional view of a main part of the touch sensor 400 in the conventional touch panel device described in FIG. As shown in FIG. 7A, the touch sensor 400 includes an upper conductive film 400a and a lower conductive film 400b. When the operator presses the upper conductive film 400a from above with a finger, the upper conductive film 400a bends and contacts the lower conductive film 400b as shown in FIG. 7B. Although the operator's finger is in contact with the upper conductive film 400a only in the area α, as shown in the figure, the conductive film 400a around the area α is also bent at the same time. The area β in contact with the lower conductive film 400b is larger than the area α. Accordingly, in this case, the position of the contact detected by the touch sensor 400 is any position within the area β, and the position of the contact varies within the area β.

このように、接触の位置にばらつきが生じると、操作者は所定のオブジェクトに対応する位置のタッチセンサに接触しているつもりであっても、当該オブジェクトとは異なる位置において接触が検出されるという不都合が生じる。このような接触位置のばらつきは、操作者が強い押圧力によってタッチセンサを押圧すると、導電膜の接触面積がより大きくなるため、さらに顕著なものとなる。また、操作者による押圧力が比較的強い場合、上側の導電膜400aが下側の導電膜400bを押圧することにより、下側の導電膜400bも若干撓むことがある。このような場合、タッチセンサ400が検出する接触の位置は、さらに複雑な態様でばらつくことがある。さらに、このような接触位置のばらつきは、タッチセンサの構成態様、および導電膜が筐体などに配設される態様など種々の要因によっても影響を受ける。   As described above, when the contact position varies, even if the operator intends to touch the touch sensor at the position corresponding to the predetermined object, the contact is detected at a position different from the object. Inconvenience arises. Such variation in the contact position becomes even more remarkable when the operator presses the touch sensor with a strong pressing force because the contact area of the conductive film becomes larger. When the pressing force by the operator is relatively strong, the lower conductive film 400b may be slightly bent due to the upper conductive film 400a pressing the lower conductive film 400b. In such a case, the position of contact detected by the touch sensor 400 may vary in a more complicated manner. Furthermore, such variations in the contact position are also affected by various factors such as the configuration of the touch sensor and the mode in which the conductive film is disposed in a housing or the like.

したがって、かかる事情に鑑みてなされた本発明の目的は、接触検出部が接触の位置を検出する精度を向上させる電子機器を提供することにある。   Therefore, the objective of this invention made | formed in view of this situation is providing the electronic device which improves the precision with which a contact detection part detects the position of a contact.

上記目的を達成する第1の観点に係る発明は、
接触を検出する接触検出部と、
前記接触検出部により検出される接触の位置を取得する制御部と、
を備える電子機器であって、
前記制御部は、
前記接触検出部が接触を検出している所定時間内に取得する接触の位置のばらつきが所定の範囲内であれば、前記取得された接触の位置に基づいて算出した位置を前記接触検出部が検出する接触の位置とし、
前記接触検出部が接触を検出している所定時間内に取得する接触の位置のばらつきが所定の範囲を超えたら、前記算出された位置を前記接触検出部が検出する接触の位置とするように制御することを特徴とするものである。
The invention according to the first aspect to achieve the above object is
A contact detector for detecting contact;
A control unit for acquiring a position of contact detected by the contact detection unit;
An electronic device comprising:
The controller is
If the variation of the contact position acquired within a predetermined time during which the contact detection unit detects the contact is within a predetermined range, the contact detection unit calculates the position calculated based on the acquired contact position. The position of the contact to detect,
When the variation in the position of the contact acquired within a predetermined time when the contact detection unit detects the contact exceeds a predetermined range, the calculated position is set as the contact position detected by the contact detection unit. It is characterized by controlling.

第2の観点に係る発明は、第1の観点に係る電子機器において、
前記接触検出部が接触を検出している所定時間内に取得する接触の位置のばらつきが所定の範囲内である場合に、前記取得された接触の位置に基づいて算出した位置を記憶する記憶部をさらに備え、
前記制御部は、前記接触検出部が接触を検出している所定時間内に取得する接触の位置のばらつきが所定の範囲を超えたら、前記記憶部に記憶された位置を前記接触検出部が検出する接触の位置とするように制御するものである。
The invention according to a second aspect is the electronic device according to the first aspect,
A storage unit that stores a position calculated based on the acquired position of contact when a variation in the position of the contact acquired within a predetermined time during which the contact detection unit detects contact is within a predetermined range Further comprising
The control unit detects the position stored in the storage unit when the variation in the position of the contact acquired within a predetermined time during which the contact detection unit detects contact exceeds a predetermined range. It is controlled so as to be the position of contact.

第3の観点に係る発明は、第2の観点に係る電子機器において、
前記制御部は、前記接触検出部が接触を検出している所定時間内に取得する接触の位置のばらつきが所定の範囲を超えている場合に、当該取得された接触の位置に基づいて算出した位置が所定の距離を超えて変位したら、当該変位に基づいて前記記憶部に記憶された位置を変位させたものを前記接触検出部が検出する接触の位置とするように制御するものである。
The invention according to a third aspect is the electronic device according to the second aspect,
The control unit calculates, based on the acquired position of the contact, when a variation in the position of the contact acquired within a predetermined time when the contact detection unit detects the contact exceeds a predetermined range. If the position is displaced beyond a predetermined distance, control is performed so that the position stored in the storage unit based on the displacement is the contact position detected by the contact detection unit.

本発明によれば、電子機器において、接触検出部が接触の位置を検出する精度を向上させることができる。   ADVANTAGE OF THE INVENTION According to this invention, the precision which a contact detection part detects the position of a contact in an electronic device can be improved.

本発明の第1実施形態に係る電子機器の概略構成を示す機能ブロック図である。It is a functional block diagram which shows schematic structure of the electronic device which concerns on 1st Embodiment of this invention. 第1実施形態に係る電子機器の処理を説明するフローチャートである。It is a flowchart explaining the process of the electronic device which concerns on 1st Embodiment. 第1実施形態に係る電子機器の処理を説明する図である。It is a figure explaining the process of the electronic device which concerns on 1st Embodiment. 第2実施形態に係る電子機器の処理を説明するフローチャートである。It is a flowchart explaining the process of the electronic device which concerns on 2nd Embodiment. 第2実施形態に係る電子機器の処理を説明する図である。It is a figure explaining the process of the electronic device which concerns on 2nd Embodiment. 従来のタッチセンサにおいて検知される接触の位置を説明する図である。It is a figure explaining the position of the contact detected in the conventional touch sensor. 従来のタッチセンサにおいて接触が検出される際の様子を説明する図である。It is a figure explaining a mode when a contact is detected in the conventional touch sensor.

(第1実施形態)
以下、本発明の第1実施形態について、図面を参照して説明する。
(First embodiment)
Hereinafter, a first embodiment of the present invention will be described with reference to the drawings.

図1は、本発明の第1実施形態に係る電子機器の概略構成を示すブロック図である。図1に示すように、第1実施形態に係る電子機器1は、制御部10、表示部30、接触検出部40、振動部50、および記憶部80を備えている。   FIG. 1 is a block diagram showing a schematic configuration of an electronic apparatus according to the first embodiment of the present invention. As illustrated in FIG. 1, the electronic device 1 according to the first embodiment includes a control unit 10, a display unit 30, a contact detection unit 40, a vibration unit 50, and a storage unit 80.

制御部10は、電子機器1を構成する各機能部を制御することにより、電子機器1の全体を制御および管理する。また、制御部10は、上記制御に関する各種の演算を行う機能、および検出機能を有する要素によって検出されたデータに基づいて各種の値を算出する機能も有する。制御部10が行う処理のうち、本実施形態に特有のものについては後述する。   The control unit 10 controls and manages the entire electronic device 1 by controlling each functional unit constituting the electronic device 1. The control unit 10 also has a function of performing various calculations related to the control and a function of calculating various values based on data detected by an element having a detection function. Among the processes performed by the control unit 10, those unique to the present embodiment will be described later.

表示部30は、各種情報の表示を行い、例えば押しボタンスイッチ(プッシュ式ボタンスイッチ)等のようなオブジェクトを画像で表示する。このオブジェクトは、接触検出部40のタッチ面上において接触すべき領域を操作者に示唆する画像である。また、押しボタンスイッチとは、操作者が操作に用いるボタンやキー等(以下、単に「キー等」と総称する)である。表示部30は、例えば、液晶表示パネル(LCD)や有機EL表示パネル等を用いて構成する。   The display unit 30 displays various information, and displays an object such as a push button switch (push button switch) as an image. This object is an image that suggests to the operator a region to be touched on the touch surface of the contact detection unit 40. The push button switch is a button, key or the like (hereinafter simply referred to as “key or the like”) used by the operator for operation. The display unit 30 is configured using, for example, a liquid crystal display panel (LCD), an organic EL display panel, or the like.

接触検出部40は、通常は表示部30の前面側に配置して、表示部30に表示したオブジェクトに対する操作者の指やスタイラスペン等(以下、単に「接触物」と総称する)による接触を、対応する位置の接触検出部40のタッチ面において検出する。また、接触検出部40は、タッチ面に対する接触物の接触の位置を検出し、当該検出した接触の位置を出力することができる。このような出力により、制御部10は、接触検出部40が検出する接触の位置を取得することができる。この接触検出部40は、例えば抵抗膜方式、静電容量方式、光学式等の方式のもので構成されたタッチセンサを用いることができる。   The contact detection unit 40 is normally arranged on the front side of the display unit 30 and makes contact with an object displayed on the display unit 30 by an operator's finger, stylus pen, or the like (hereinafter simply referred to as “contact object”). , Detection is performed on the touch surface of the contact detection unit 40 at the corresponding position. Moreover, the contact detection part 40 can detect the contact position of the contact object with respect to a touch surface, and can output the position of the detected contact. With such an output, the control unit 10 can acquire the position of the contact detected by the contact detection unit 40. As the contact detection unit 40, for example, a touch sensor configured by a resistance film method, a capacitance method, an optical method, or the like can be used.

振動部50は、例えば圧電素子等を用いて構成し、接触検出部40を振動させる。この振動部50は、所定の振動パターンによる振動を発生させることにより、タッチ面に接触している接触物に対して触感を呈示する。本実施形態において、振動部50は、制御部10から供給される駆動信号に基づいて振動を発生する。   The vibration unit 50 is configured using, for example, a piezoelectric element and vibrates the contact detection unit 40. The vibration unit 50 presents a tactile sensation to a contact object that is in contact with the touch surface by generating vibration according to a predetermined vibration pattern. In the present embodiment, the vibration unit 50 generates vibration based on the drive signal supplied from the control unit 10.

記憶部80は、例えばフラッシュメモリ等によって構成し、電子機器1において実行する各種のアプリケーションソフトウェア(以下、単に「アプリケーション」と記す)を記憶するのみならず、各種の情報を記憶することができる。特に、本実施形態において、記憶部80は、接触検出部40が検出する接触の位置を、任意のタイミングで記憶することができる。また、本実施形態において、記憶部80は、接触検出部40が検出する接触の位置に基づいて、所定の演算を施すことにより算出した位置を記憶することもできる。   The storage unit 80 is configured by, for example, a flash memory, and can store various types of information as well as various types of application software (hereinafter simply referred to as “applications”) executed in the electronic device 1. In particular, in the present embodiment, the storage unit 80 can store the contact position detected by the contact detection unit 40 at an arbitrary timing. In the present embodiment, the storage unit 80 can also store a position calculated by performing a predetermined calculation based on the contact position detected by the contact detection unit 40.

次に、本実施形態に係る電子機器1が操作者の操作による接触を検出する際の処理について説明する。   Next, a process when the electronic apparatus 1 according to the present embodiment detects a contact caused by an operator's operation will be described.

本実施形態において、電子機器1は、接触を検出している所定の短時間に取得される接触の位置のばらつきが所定の範囲内であれば、当該ばらつきの平均の位置などを算出して出力する。その後、接触が検出されたまま前記ばらつきが所定の範囲を超えても、電子機器1は、先に算出した平均の位置などを出力する。   In the present embodiment, the electronic device 1 calculates and outputs an average position of the variation if the variation in the position of the contact acquired in a predetermined short time during which the contact is detected is within a predetermined range. To do. Thereafter, even if the variation exceeds a predetermined range while the contact is detected, the electronic device 1 outputs the average position calculated in advance.

図2は、矩形状のタッチセンサで構成される接触検出部40を操作者の指が操作する様子を示している。図2(A)〜(C)のそれぞれにおいて、図の上半分には、操作者の指Fが接触検出部40に接触する操作を行う様子の斜視図を示す。また、図2(A)〜(C)のそれぞれにおいて、図の下半分には、操作者の指Fが接触検出部40に接触している状態を、接触検出部40の上方から見た図を示している。なお、図2(A)は操作者の指Fが接触検出部40に接触する前の状態を示し、図2(B)は操作者の指Fが接触検出部40に接触した直後の状態を示し、図2(C)は操作者の指Fが接触検出部40に接触してから力が加えられた状態を示している。また、図2(B)および(C)の各図の下半分に示す領域α1およびα2は、操作者の指Fが実際に接触検出部40に接触している領域を表している。   FIG. 2 shows a state in which an operator's finger operates the contact detection unit 40 configured by a rectangular touch sensor. In each of FIGS. 2A to 2C, the upper half of the figure shows a perspective view of a state in which the operator's finger F performs an operation of contacting the contact detection unit 40. Further, in each of FIGS. 2A to 2C, in the lower half of the drawing, a state in which the operator's finger F is in contact with the contact detection unit 40 is viewed from above the contact detection unit 40. Is shown. 2A shows a state before the operator's finger F comes into contact with the contact detection unit 40, and FIG. 2B shows a state immediately after the operator's finger F comes into contact with the contact detection unit 40. FIG. 2C shows a state in which a force is applied after the operator's finger F contacts the contact detection unit 40. In addition, regions α1 and α2 shown in the lower half of each of FIGS. 2B and 2C represent regions where the operator's finger F is actually in contact with the contact detection unit 40.

一般的に、操作者が通常の操作として接触検出部40を押す動作を行う際は、瞬間的に見ると、まず操作者の指先Fが接触検出部40に軽く接触する(図2(A)から(B)に示す)。それから操作者の押圧力が増すと、指先Fが接触検出部40に接触する面積が大きくなる(図2(B)から(C)に示す)。なお、図2(A)〜(C)に示す動作は、実際には一連の動作として短時間で行われることが多い。   Generally, when the operator performs an operation of pushing the contact detection unit 40 as a normal operation, first, the operator's fingertip F makes a slight contact with the contact detection unit 40 when viewed instantaneously (FIG. 2A). To (B)). Then, when the pressing force of the operator increases, the area where the fingertip F contacts the contact detection unit 40 increases (shown in FIGS. 2B to 2C). Note that the operations shown in FIGS. 2A to 2C are actually performed in a short time as a series of operations.

図2(B)に示すように、操作者の指Fが接触検出部40に接触した直後においては、指Fが接触検出部40に接触している領域α1の面積は小さく、この時点で検出される接触の位置のばらつきも比較的小さい。なお、接触検出部40によって検出される「接触の位置のばらつき」とは、接触検出部40が接触を検出している状態で接触検出部40から出力される接触の位置を例えば非常に短い時間ごとに制御部10が順次取得(すなわちサンプリング)したものとすることができる。   As shown in FIG. 2B, immediately after the operator's finger F contacts the contact detection unit 40, the area α1 where the finger F is in contact with the contact detection unit 40 is small, and is detected at this point. The variation in the position of the contact is relatively small. It should be noted that the “variation in contact position” detected by the contact detection unit 40 refers to the contact position output from the contact detection unit 40 in a state where the contact detection unit 40 detects contact, for example, for a very short time. It can be assumed that the control unit 10 sequentially acquires (that is, samples) each time.

ここで、本実施形態では、例えば図2(B)に示すように、操作者の指Fが接触検出部40に接触している状態で検出される接触の位置のばらつきが比較的小さい範囲β1を規定する。この範囲β1の大きさは、範囲β1において検出される接触の位置のばらつきを取得して例えば平均化する等の所定の演算を行った場合に、操作者が接触検出部40に接触している位置として妥当な位置(点)γ1が算出されるような大きさとするのが好適である。   Here, in the present embodiment, as shown in FIG. 2B, for example, a range β1 in which the variation in the contact position detected in a state where the operator's finger F is in contact with the contact detection unit 40 is relatively small. Is specified. The size of the range β1 is that the operator is in contact with the contact detection unit 40 when a predetermined calculation such as, for example, averaging the variation in the position of the contact detected in the range β1 is performed. It is preferable that the size is such that a position (point) γ1 appropriate for the position is calculated.

前述したように、操作者が実際に接触している領域α1の外側にも接触検出部40による接触の位置は検出されることがある。このため、図2(B)においては、範囲β1をα1よりのも大きな領域としてある。しかしながら、必要とされる判定の精度に応じて、範囲β1を領域α1と同じ大きさの範囲とすることもできるし、範囲β1を領域α1よりも小さい範囲とすることもできる。   As described above, the contact position by the contact detection unit 40 may be detected outside the region α1 where the operator is actually in contact. For this reason, in FIG. 2B, the range β1 is a region larger than α1. However, the range β1 may be the same size as the region α1 or the range β1 may be smaller than the region α1, depending on the required determination accuracy.

図3は、第1実施形態に係る電子機器1の処理を説明するフローチャートである。   FIG. 3 is a flowchart for explaining processing of the electronic apparatus 1 according to the first embodiment.

本実施形態による処理を開始するに際し、電子機器1は、アプリケーションの開始など所定の処理に関連付けられたキーやアイコンなどのオブジェクトを、少なくとも1つ予め表示部30に表示しておくのが好適である。   When starting the processing according to the present embodiment, it is preferable that the electronic device 1 displays at least one object such as a key or an icon associated with a predetermined processing such as an application start on the display unit 30 in advance. is there.

本実施形態による処理は、接触検出部40が操作者の指やスタイラスなど接触物の接触を検出した時点から開始する。接触が検出されて本実施形態による処理が開始すると、電子機器1の制御部10は、所定の短時間内に接触検出部40が検出した接触の位置を取得する(ステップS11)。ここで、所定の短時間とは、ステップS11において接触検出部40が接触の検出を開始してから、図2(B)に示したように操作者の指Fが接触検出部40に軽く接触するまでの時間とするのが好適である。すなわち、この所定の短時間は、操作者の指Fが接触検出部40に接触を開始してから、接触検出部40に接触している領域α1の面積があまり大きくならないような(操作者が接触検出部40を押し込む前までの)期間を設定するのが望ましい。   The processing according to the present embodiment starts when the contact detection unit 40 detects contact of a contact object such as an operator's finger or stylus. When a contact is detected and the process according to the present embodiment is started, the control unit 10 of the electronic device 1 acquires the position of the contact detected by the contact detection unit 40 within a predetermined short time (step S11). Here, the predetermined short time means that the operator's finger F touches the contact detection unit 40 lightly as shown in FIG. 2B after the contact detection unit 40 starts detecting contact in step S11. It is preferable to set the time until completion. That is, for the predetermined short time, after the operator's finger F starts to contact the contact detection unit 40, the area α1 in contact with the contact detection unit 40 does not become too large (the operator It is desirable to set a period (before pressing the contact detection unit 40).

このように、ステップS11において、制御部10は、上述した所定の短時間内に接触検出部40により検出される接触の位置のばらつきを取得すなわちサンプリングする。前述したように、タッチパネルで構成される接触検出部40が接触を検出している状態において、当該接触の位置は、ばらつきを有することがある。したがって、本実施形態において、制御部10は、このようにばらつく接触の位置を取得するために、所定のタイミングで接触検出部40に検出される接触の位置を順次取得し続けるようにする。   Thus, in step S11, the control unit 10 obtains, that is, samples the variation in the position of the contact detected by the contact detection unit 40 within the predetermined short time described above. As described above, in the state where the contact detection unit 40 configured with a touch panel detects contact, the position of the contact may vary. Therefore, in the present embodiment, the control unit 10 continuously acquires the contact positions detected by the contact detection unit 40 at a predetermined timing in order to acquire the contact positions that vary in this way.

ステップS11において所定の短時間内に検出された接触の位置が取得されたら、制御部10は、当該所定の時間内に取得された接触の位置のばらつきが所定の範囲を超えるか否かを判定する(ステップS12)。ここで、所定の範囲とは、図2(B)において説明した範囲β1のように、操作者の指Fが接触検出部40の領域α1に接触している状態で検出される接触の位置のばらつきが比較的小さい範囲とするのが好適である。   When the position of the contact detected within a predetermined short time is acquired in step S11, the control unit 10 determines whether or not the variation in the position of the contact acquired within the predetermined time exceeds a predetermined range. (Step S12). Here, the predetermined range is a contact position detected in a state where the operator's finger F is in contact with the region α1 of the contact detection unit 40 as in the range β1 described in FIG. A range in which the variation is relatively small is preferable.

ステップS12において、所定の時間内に取得された接触の位置のばらつきが所定の範囲(例えば図2(B)のβ1)を超えない場合、制御部10は、ステップS13に進んで処理を行う。ここで、操作者が通常の操作として最初に接触検出部40を押す動作を行う際、ステップS12においてNoに進みステップS13の処理が行われるように、ステップS11における所定の短時間およびステップS12における所定の範囲を適宜設定するのが好適である。   In step S12, when the variation in the position of the contact acquired within a predetermined time does not exceed a predetermined range (for example, β1 in FIG. 2B), the control unit 10 proceeds to step S13 and performs processing. Here, when the operator performs an operation of pressing the contact detection unit 40 for the first time as a normal operation, the process proceeds to No in step S12 and the process of step S13 is performed, and the predetermined short time in step S11 and in step S12. It is preferable to set the predetermined range as appropriate.

ステップS13において、制御部10は、ステップS11において所定の短時間内に取得された接触の位置を平均化する等の演算を行い、当該演算により算出された位置(点)を、接触検出部40が検出している接触の位置として処理するように制御する。すなわち、本実施形態において、制御部10は、接触検出部40が接触を検出している所定時間内に取得する接触の位置のばらつきが所定の範囲内であれば、前記取得された接触の位置に基づいて算出した位置を接触検出部40が検出する接触の位置とするように制御する。要するに、ステップS13においては、所定の短時間内に取得された接触の位置に基づいて、接触検出部40が検出している接触の位置が1つの点として決定される。このようにして算出された位置は、例えば図2(B)における位置γ1とすることができる。   In step S <b> 13, the control unit 10 performs an operation such as averaging the contact positions acquired within a predetermined short time in step S <b> 11, and uses the position (point) calculated by the operation as the contact detection unit 40. Is controlled so as to be processed as the position of the contact being detected. That is, in the present embodiment, the control unit 10 determines that the acquired contact position is within a predetermined range if the variation in the contact position acquired within the predetermined time during which the contact detection unit 40 detects the contact is within a predetermined range. The position calculated based on the control is controlled to be the contact position detected by the contact detection unit 40. In short, in step S13, the position of the contact detected by the contact detection unit 40 is determined as one point based on the position of the contact acquired within a predetermined short time. The position calculated in this way can be, for example, a position γ1 in FIG.

なお、ステップS13において、所定の短時間内に取得された接触の位置について行う演算は、平均化のような演算に限定されるものではない。例えば、このような演算は、所定の短時間内で取得された接触の位置について、検出が開始された接触の位置が最も重い値となるようにして、徐々に軽い値になるように重み付けするような演算などとすることもできる。   Note that the calculation performed for the position of contact acquired within a predetermined short time in step S13 is not limited to calculation such as averaging. For example, in such a calculation, the contact position acquired within a predetermined short time is weighted so that the contact position where detection is started becomes the heaviest value and gradually becomes a light value. Such a calculation can also be used.

また、ステップS13においては、制御部10は、上述のようにして算出した位置(点)を、記憶部80に記憶するように制御するのが好適である。この場合、記憶部80は、接触検出部40が接触を検出している所定時間内に取得する接触の位置のばらつきが所定の範囲内である場合に、前記取得された接触の位置に基づいて算出した位置を記憶するようにする。   In step S <b> 13, the control unit 10 preferably performs control so that the position (point) calculated as described above is stored in the storage unit 80. In this case, the storage unit 80 is based on the acquired position of the contact when the variation in the position of the contact acquired within the predetermined time during which the contact detection unit 40 detects the contact is within a predetermined range. The calculated position is stored.

ステップS13において、算出された位置を接触検出部40が検出している接触の位置としたら(および当該位置を記憶部80に記憶したら)、制御部10は、接触検出部40に対する接触が解除されたか否かを判定する(ステップS14)。要するに、ステップS14においては、操作者の指などが、まだ接触検出部40に接触しているか否かを判定する。   In step S13, when the calculated position is the position of the contact detected by the contact detection unit 40 (and the position is stored in the storage unit 80), the control unit 10 releases the contact with the contact detection unit 40. It is determined whether or not (step S14). In short, in step S14, it is determined whether or not the operator's finger or the like is still in contact with the contact detection unit 40.

ステップS14において接触が解除されていない、すなわち操作者の指などがまだ接触検出部40に接触している場合、制御部10は、ステップS11に戻って処理を続行する。一方、ステップS14において接触が解除されている、すなわち操作者の指などが接触検出部40から離れた場合、制御部10は、本実施形態の処理を終了する。   If the contact is not released in step S14, that is, if the operator's finger or the like is still in contact with the contact detection unit 40, the control unit 10 returns to step S11 and continues the process. On the other hand, when the contact is released in step S14, that is, when the operator's finger or the like is separated from the contact detection unit 40, the control unit 10 ends the process of the present embodiment.

ステップS14を経た後のステップS11において、接触検出部40により検出された接触の位置を取得する際の所定の短時間とは、前回のステップS11で規定した所定の短時間の後の時間を表している。したがって、操作者が通常の操作により接触検出部40に接触している場合、前回のステップS11において接触が検出された際よりも、今回のステップS11において検出される接触にかかる押圧は大きくなっているものと想定される。このため、図2(C)に示すように、操作者の指などが接触検出部40に接触している範囲α2は、図2(B)に示した操作者の指などが接触していた範囲α1よりも大きくなる。ステップS11において、制御部10は、所定の短時間内に接触検出部40により検出される、このような接触の位置のばらつきを取得、すなわちサンプリングする。   In step S11 after step S14, the predetermined short time for acquiring the position of the contact detected by the contact detection unit 40 represents a time after the predetermined short time defined in the previous step S11. ing. Therefore, when the operator is in contact with the contact detection unit 40 through a normal operation, the pressure applied to the contact detected in the current step S11 is greater than when the contact is detected in the previous step S11. It is assumed that For this reason, as shown in FIG. 2C, the range α2 in which the operator's finger or the like is in contact with the contact detection unit 40 is in contact with the operator's finger or the like shown in FIG. It becomes larger than the range α1. In step S11, the control unit 10 acquires, that is, samples, such a variation in the position of the contact detected by the contact detection unit 40 within a predetermined short time.

ステップS11において所定の短時間内における接触の位置が取得されたら、制御部10は、当該所定の時間内に取得された接触の位置のばらつきが所定の範囲を超えるか否かを判定する(ステップS12)。図2(C)に示すような状態においては、操作者の指などが接触検出部40に接触している面積が大きいため、所定の時間内に取得された接触の位置のばらつきは、前述した所定の範囲β1を超えることが想定される。このような場合、制御部10は、ステップS15に進んで処理を行う。   When the contact position within a predetermined short time is acquired in step S11, the control unit 10 determines whether or not the variation in the contact position acquired within the predetermined time exceeds a predetermined range (step S11). S12). In the state shown in FIG. 2C, since the area where the operator's finger or the like is in contact with the contact detection unit 40 is large, the variation in the position of the contact acquired within a predetermined time is described above. It is assumed that the predetermined range β1 is exceeded. In such a case, the control unit 10 proceeds to step S15 to perform processing.

ステップS15において、制御部10は、記憶部80に記憶された接触の位置が存在するか否かを確認する。ここで、記憶された接触の位置とは、前述したステップS13において算出した位置を記憶部80に記憶したものである。ステップS15において記憶された接触の位置が存在しない場合はステップS13の処理を行うが、一度ステップS13を経た後であれば記憶部80に記憶された接触の位置が存在する。このように、ステップS15において、記憶された接触の位置が存在する場合、制御部10は、当該記憶された接触の位置を、検出した接触の位置として処理するように制御する(ステップS16)。   In step S <b> 15, the control unit 10 confirms whether or not the contact position stored in the storage unit 80 exists. Here, the stored contact position is the storage unit 80 that stores the position calculated in step S13 described above. When the contact position stored in step S15 does not exist, the process of step S13 is performed. However, after passing through step S13, the contact position stored in the storage unit 80 exists. As described above, when the stored contact position exists in step S15, the control unit 10 performs control so as to process the stored contact position as the detected contact position (step S16).

すなわち、図2(C)に示すように、操作者の指などが接触検出部40において領域α2に接触している場合、所定の短時間内に取得された、ばらつきを有する接触の位置を平均化すると、例えば位置γ2のように、当初のγ1からずれた位置が算出される。このように、位置γ2を接触検出部40が検出した接触の位置として処理すると、操作者が最初に接触を開始した状態から接触の位置がずれて検出されることになる。しかしながら、操作者としては、最初に接触を開始した位置を接触することを所望しており、その後押圧を強めた際に接触の位置をずらすことは意図していないものと考えられる。そこで、本実施形態では、図2(C)に示すような操作者が押圧を強めた状態においても、図2(B)で説明したように接触が検出された直後に算出して記憶した位置γ1を、接触検出部40が検出した接触の位置として扱う。   That is, as shown in FIG. 2C, when an operator's finger or the like is in contact with the region α2 in the contact detection unit 40, the average of the contact positions with variation obtained within a predetermined short time is averaged. In this case, a position shifted from the initial γ1 is calculated, for example, a position γ2. As described above, when the position γ2 is processed as the contact position detected by the contact detection unit 40, the contact position is detected by being deviated from the state in which the operator first started the contact. However, the operator desires to contact the position where contact is first started, and it is considered that the operator does not intend to shift the position of the contact when the pressure is increased thereafter. Therefore, in the present embodiment, the position calculated and stored immediately after contact is detected as described with reference to FIG. 2B even when the operator has increased the pressure as shown in FIG. γ1 is handled as the contact position detected by the contact detection unit 40.

ステップS16の後は、制御部10は、接触検出部40に対する接触が解除されたか否かを判定するが(ステップS14)、これ以降の処理は上述した通りである。   After step S16, the control unit 10 determines whether or not the contact with the contact detection unit 40 has been released (step S14), and the subsequent processing is as described above.

このように、本実施形態において、制御部10は、接触検出部40が接触を検出している所定時間内に取得する接触の位置のばらつきが所定の範囲を超えたら、前記取得された接触の位置に基づいて算出された位置を接触検出部40が検出する接触の位置とするように制御する。この際、制御部10は、記憶部80に記憶された位置を接触検出部40が検出する接触の位置とするように制御するのが好適である。   As described above, in this embodiment, the control unit 10 determines that the acquired contact is detected when the variation in the position of the contact acquired within the predetermined time during which the contact detection unit 40 detects the contact exceeds a predetermined range. The position calculated based on the position is controlled to be the position of contact detected by the contact detection unit 40. At this time, it is preferable that the control unit 10 controls the position stored in the storage unit 80 to be a contact position detected by the contact detection unit 40.

このように、本実施形態による電子機器1は、操作者の指などがタッチセンサに接触した後に押圧が強まることにより、取得される接触の位置がずれたとしても、接触検出当初に近い時点の接触に基づいて接触の位置を決定する。したがって、操作者の指などがタッチセンサに接触した後に押圧が強まることにより、取得される接触の位置がずれたとしても、これによる接触の位置のずれは抑制されるため、接触検出部40が接触の位置を検出する精度を向上させることができる。   As described above, the electronic device 1 according to the present embodiment has a point in time close to the beginning of the contact detection even if the position of the acquired contact is shifted due to an increase in pressure after the operator's finger touches the touch sensor. The position of the contact is determined based on the contact. Therefore, even if the position of the acquired contact is deviated due to an increase in pressure after the operator's finger or the like contacts the touch sensor, the displacement of the contact position due to this is suppressed. The accuracy of detecting the position of contact can be improved.

なお、一般的に、タッチセンサを備える電子機器において、タッチセンサに対して接触操作が行われても、タッチセンサは押しボタンスイッチのようには物理的に変位しないため、操作者が当該操作に対するフィードバックを得ることができない。このため、本実施形態による電子機器1は、接触検出部40が検出した接触に基づいて、振動部50により接触検出部40を振動させて、操作者の指先に振動を発生させることができる。このようにすれば、接触操作を行う操作者は、接触検出部40に対して行った操作が機器に正しく認識されたことを、触覚により認識することができる。   In general, in an electronic device including a touch sensor, even if a touch operation is performed on the touch sensor, the touch sensor is not physically displaced like a push button switch. I can't get feedback. For this reason, the electronic device 1 according to the present embodiment can vibrate the contact detection unit 40 by the vibration unit 50 based on the contact detected by the contact detection unit 40 to generate vibration at the fingertip of the operator. In this way, the operator who performs the contact operation can recognize by tactile sense that the operation performed on the contact detection unit 40 is correctly recognized by the device.

ところが、接触検出部40が操作者の接触を検出している最中に振動を発生させるということは、すなわち、操作者の接触を検出しているセンサを振動させることに他ならない。接触検出部40が操作者の接触を検出している最中に振動を発生させることにより、接触検出部40そのものが動くことはもちろん、接触している操作者の指も動くことになり、さらには図7にて説明したような2枚の導電膜の接触状態も細かく変化することになる。このため、接触検出部40が振動している間、接触検出部40が検出する接触の位置は、ますますばらつくことになる。したがって、接触検出部40が接触の位置を検出する精度の観点からすると、このように接触の検出中に接触検出部40を振動させると、接触の位置を正確に検出することはますます困難になる。しかしながら、本実施形態による電子機器1によれば、このような場合でも、取得される接触の位置のずれを抑制することができるため、接触検出部が接触の位置を検出する精度を向上させることができる。   However, generating the vibration while the contact detection unit 40 is detecting the contact of the operator means that the sensor detecting the contact of the operator is vibrated. By generating vibration while the contact detection unit 40 is detecting the contact of the operator, not only the contact detection unit 40 itself is moved, but also the finger of the operator in contact is moved, As shown in FIG. 7, the contact state between the two conductive films also changes finely. For this reason, while the contact detection unit 40 vibrates, the position of the contact detected by the contact detection unit 40 varies more and more. Therefore, from the viewpoint of the accuracy with which the contact detection unit 40 detects the position of the contact, if the contact detection unit 40 is vibrated during the detection of the contact in this way, it becomes increasingly difficult to accurately detect the contact position. Become. However, according to the electronic device 1 according to the present embodiment, even in such a case, since the displacement of the acquired contact position can be suppressed, the accuracy of the contact detection unit detecting the contact position is improved. Can do.

(第2実施形態)
次に、本発明の第2実施形態に係る電子機器について説明する。
(Second Embodiment)
Next, an electronic apparatus according to a second embodiment of the invention will be described.

第2実施形態は、上述した第1実施形態に係る電子機器1において、制御部10による処理を追加するものである。具体的には、第2実施形態に係る電子機器2は、第1実施形態に係る電子機器1において、操作者が指などを接触検出部40に接触させたままスライドさせる操作(いわゆるドラッグ)を検出できるようにする。第2実施形態に係る電子機器2は、上記の点以外においては、上述した第1実施形態で説明した電子機器1と基本的に同じ機器構成および制御により実現することができる。このため、以下、第1実施形態において説明したのと同じ内容になる説明は、適宜省略する。   The second embodiment adds processing by the control unit 10 to the electronic device 1 according to the first embodiment described above. Specifically, in the electronic device 2 according to the second embodiment, in the electronic device 1 according to the first embodiment, an operation (so-called drag) in which the operator slides with a finger or the like in contact with the contact detection unit 40 is performed. Make it detectable. The electronic device 2 according to the second embodiment can be realized by basically the same device configuration and control as those of the electronic device 1 described in the first embodiment, except for the above points. For this reason, below, the description which becomes the same content as demonstrated in 1st Embodiment is abbreviate | omitted suitably.

図4は、第2実施形態に係る電子機器2の処理を説明するフローチャートである。第2実施形態に係る処理は、図3で説明した第1実施形態に係る処理におけるステップS15とステップS14との間に、ステップS21〜ステップS23を挿入するものである。   FIG. 4 is a flowchart for explaining processing of the electronic device 2 according to the second embodiment. In the process according to the second embodiment, steps S21 to S23 are inserted between step S15 and step S14 in the process according to the first embodiment described in FIG.

第2実施形態では、ステップS15において、すでに一度ステップS13を経て記憶部80に記憶された接触の位置が存在する場合、制御部10は、ステップS16にて当該記憶した接触の位置を検出された接触の位置とした後、ステップS21の処理を行う。   In the second embodiment, in step S15, when there is a contact position that has already been stored in the storage unit 80 once through step S13, the control unit 10 has detected the stored contact position in step S16. After the contact position, the process of step S21 is performed.

ステップS21では、制御部10は、操作者が指などを接触検出部40に接触させたままスライドさせる操作(いわゆるドラッグ)を検出する。このため、制御部10は、接触検出部40が検出した接触の位置を取得して平均化する等の演算を行い、当該演算により算出された位置(点)を、接触検出部40が検出している接触の位置として処理するように制御する。   In step S <b> 21, the control unit 10 detects an operation (so-called dragging) in which the operator slides while keeping a finger or the like in contact with the contact detection unit 40. For this reason, the control unit 10 performs an operation such as obtaining and averaging the contact positions detected by the contact detection unit 40, and the contact detection unit 40 detects the position (point) calculated by the calculation. Control to treat as a contact position.

なお、ステップS21の処理を行うのは、ステップS12において取得される接触の位置が所定の範囲(例えばβ1)を超えている場合であり、操作者の指などが接触検出部40に接触するのは、例えば図2(C)に示した領域α2のように比較的大きな領域となる。このため、ステップS12において取得される接触の位置は比較的大きなばらつきを有するようになり、このようなばらつきを有する接触の位置を平均化すると、例えば位置γ2のようになる。   The process of step S21 is performed when the contact position acquired in step S12 exceeds a predetermined range (for example, β1), and the operator's finger or the like comes into contact with the contact detection unit 40. Is a relatively large region, for example, a region α2 shown in FIG. For this reason, the position of the contact acquired in step S12 has a relatively large variation. When the position of the contact having such a variation is averaged, for example, a position γ2 is obtained.

ステップS21において、制御部10は、このような平均の位置γ2が所定の距離を超えて変位しているか否かを判定する。上述したように、ステップS21の処理を行うのは、ステップS12において取得される接触の位置が比較的大きなばらつきを有する場合である。したがって、ステップS21の判定を行う際の「所定の距離」を小さくし過ぎると、操作者が接触検出部40に接触させた指などをスライドさせていないのに、ドラッグが行われたと誤判定されるおそれがある。このため、操作者が意図してドラッグを行った際に、ステップS21において接触の位置の平均が所定の距離を超えて変位していると判定されるように、当該所定の距離を適切に設定するのが望ましい。   In step S21, the control unit 10 determines whether or not such an average position γ2 is displaced beyond a predetermined distance. As described above, the process of step S21 is performed when the contact positions acquired in step S12 have a relatively large variation. Therefore, if the “predetermined distance” at the time of the determination in step S21 is made too small, it is erroneously determined that a drag has been performed even though the operator has not slid the finger touched to the contact detection unit 40 or the like. There is a risk. For this reason, when the operator intentionally performs dragging, the predetermined distance is appropriately set so that the average of the contact positions is determined to be displaced beyond the predetermined distance in step S21. It is desirable to do.

ステップS21において接触の位置の平均が所定の距離を超えて変位していないと判定された場合、制御部10は、ドラッグが行われていないと判断して、ステップS14の処理に移行する。ステップS14以降の処理は、第1実施形態で説明した通りである。   If it is determined in step S21 that the average of the contact positions is not displaced beyond the predetermined distance, the control unit 10 determines that no drag is being performed, and the process proceeds to step S14. The processing after step S14 is as described in the first embodiment.

一方、ステップS21において接触の位置の平均が所定の距離を超えて変位したと判定された場合、制御部10は、記憶部80に記憶された接触の位置を当該変位のぶんだけ変位させたものを、検出した接触の位置として処理するように制御する(ステップS22)。   On the other hand, when it is determined in step S21 that the average of the contact positions has been displaced beyond the predetermined distance, the control unit 10 has displaced the contact position stored in the storage unit 80 by the amount of the displacement. Is processed as the detected contact position (step S22).

例えば、図5(A)に示すように、操作者の指などが接触検出部40において領域α2に接触している際に、所定の短時間内に取得されたばらつきを有する接触の位置を平均化したら、位置γ2が算出されたとする。ここで、記憶部80には、すでに記憶された接触の位置として、位置γ1が存在するものとする。ここで、操作者の指などが接触検出部40においてドラッグされて、接触検出部40に接触している領域α2から、図5(B)に示す領域α2’に移動したとする。この場合、算出されていた位置γ2が、図5(B)に示すように所定の距離を超えて位置γ2’まで変位したと判定された場合(ステップS21のYes)、位置γ1を当該変位のぶん変位させた位置γ1’が、検出した接触の位置として処理される(ステップS22)。   For example, as shown in FIG. 5 (A), when the operator's finger or the like is in contact with the region α2 in the contact detection unit 40, the contact positions having variations obtained within a predetermined short time are averaged. Assume that the position γ2 is calculated. Here, it is assumed that the position γ1 exists in the storage unit 80 as the position of the contact already stored. Here, it is assumed that the operator's finger or the like is dragged by the contact detection unit 40 and moved from the region α2 in contact with the contact detection unit 40 to the region α2 ′ shown in FIG. In this case, when it is determined that the calculated position γ2 has been displaced to a position γ2 ′ beyond a predetermined distance as shown in FIG. 5B (Yes in step S21), the position γ1 is changed to the position γ1. The position γ1 ′ that has been displaced is processed as the detected contact position (step S22).

ステップS22において、記憶された接触の位置を変位させたものを、検出した接触の位置としたら、制御部10は、接触の位置の平均が所定の距離を超えて変位する操作が検出されなくなったか否かを判定する(ステップS23)。すなわち、ステップS23においては、操作者によるドラッグがまだ継続しているか否かを判定する。ステップS23において、接触の位置の平均が所定の距離を超えて変位する操作がまだ停止していない場合、制御部10は、当該操作が停止するまでステップS22の処理を続行する。   In step S22, if the stored contact position is displaced as the detected contact position, the control unit 10 has not detected an operation in which the average of the contact positions is displaced beyond a predetermined distance. It is determined whether or not (step S23). That is, in step S23, it is determined whether or not the dragging by the operator is still continued. In step S23, when the operation in which the average of the contact positions is displaced beyond the predetermined distance has not been stopped, the control unit 10 continues the process of step S22 until the operation stops.

一方、ステップS23において、接触の位置の平均が所定の距離を超えて変位する操作が停止した、すなわちもはやドラッグが行われていないと判定されたら、制御部10は、ステップS14の処理に移行する。ステップS14以降の処理は、第1実施形態で説明した通りである。   On the other hand, if it is determined in step S23 that the operation of displacing the average of the contact positions beyond a predetermined distance has stopped, that is, it is determined that dragging is no longer being performed, the control unit 10 proceeds to the process of step S14. . The processing after step S14 is as described in the first embodiment.

このように、本実施形態において、制御部10は、接触検出部40が接触を検出している所定時間内に取得する接触の位置のばらつきが所定の範囲を超えている場合に、当該取得された接触の位置に基づいて算出した位置が所定の距離を超えて変位したら、当該変位に基づいて記憶部80に記憶された位置を変位させたものを接触検出部40が検出する接触の位置とするように制御する。   Thus, in the present embodiment, the control unit 10 is acquired when the variation in the position of the contact acquired within the predetermined time during which the contact detection unit 40 detects the contact exceeds the predetermined range. If the position calculated based on the contact position is displaced beyond a predetermined distance, the contact detection unit 40 detects the position that is displaced from the position stored in the storage unit 80 based on the displacement. Control to do.

このように、本実施形態による電子機器2は、操作者がドラッグを行った際でも、適切にドラッグの操作として判定することができる。また、本実施形態による電子機器2は、操作者がドラッグを行ったと判定された場合、比較的大きなばらつきを有する接触の位置を変位の方向および距離の算出にのみ用いて、変位の起点となる位置は比較的ばらつきの小さな時点における接触の位置を利用する。このため、本実施形態による電子機器2は、操作者がドラッグを行った際でも、当該ドラッグが完了した際の接触の位置を検出する精度を向上させることができる。   As described above, the electronic device 2 according to the present embodiment can be appropriately determined as the drag operation even when the operator performs the drag. In addition, in the electronic device 2 according to the present embodiment, when it is determined that the operator has dragged, the position of the contact having a relatively large variation is used only for calculating the direction and distance of the displacement and becomes the starting point of the displacement. As the position, the position of contact at a time point with relatively small variation is used. For this reason, the electronic device 2 according to the present embodiment can improve the accuracy of detecting the position of the contact when the drag is completed even when the operator performs the drag.

なお、本発明は、上記実施形態にのみ限定されるものではなく、幾多の変形または変更が可能である。例えば、上述した各実施形態では、表示部30にオブジェクトを表示して接触検出部40が操作者の接触を検出する態様について説明した。しかしながら、本発明はこのような態様に限定されるものではなく、例えば表示部30を有さずに、接触検出部40のタッチ面上にオブジェクトがインクなどにより直接印刷されているような態様を想定することもできる。   In addition, this invention is not limited only to the said embodiment, Many deformation | transformation or a change is possible. For example, in each of the above-described embodiments, an aspect has been described in which an object is displayed on the display unit 30 and the contact detection unit 40 detects an operator's contact. However, the present invention is not limited to such an aspect. For example, an aspect in which the object is directly printed on the touch surface of the contact detection unit 40 without using the display unit 30 with ink or the like. It can also be assumed.

また、本発明による電子機器は、上述した各実施形態において説明した構成に限定されるものではなく、設計の際の要求に応じて種々の構成を採ることができる。例えば、上述した各実施形態においては、記憶部80を別個の要素とした構成について説明した。しかしながら、例えば、制御部10が、自らのキャッシュメモリに記憶部80の機能を含めるようにするなどの構成とすることもできる。   In addition, the electronic device according to the present invention is not limited to the configuration described in each of the above-described embodiments, and various configurations can be adopted according to the design requirements. For example, in each of the above-described embodiments, the configuration in which the storage unit 80 is a separate element has been described. However, for example, the control unit 10 may be configured to include the function of the storage unit 80 in its own cache memory.

また、振動部50は、任意の個数の圧電振動子を用いて構成したり、接触検出部40の全面に透明圧電素子を設けて構成したり、偏心モータを駆動信号の1周期で1回転させるようにして構成したり、することもできる。なお、振動部50は、振動モータ(偏心モータ)などを用いて電子機器1を振動させることにより、接触検出部40を間接的に振動させるように構成してもよいし、接触検出部40に圧電素子を配設することにより、接触検出部40を直接的に振動させるように構成してもよい。   The vibration unit 50 is configured by using an arbitrary number of piezoelectric vibrators, is configured by providing a transparent piezoelectric element on the entire surface of the contact detection unit 40, or rotates the eccentric motor once in one cycle of the drive signal. It can also be configured in this way. The vibration unit 50 may be configured to indirectly vibrate the contact detection unit 40 by vibrating the electronic device 1 using a vibration motor (eccentric motor) or the like. You may comprise so that the contact detection part 40 may be vibrated directly by arrange | positioning a piezoelectric element.

上述した実施形態においては、接触検出部40を表示部30の上面側に重ねて配置した構成を想定して説明した。本発明による電子機器は、このような構成にすることは必須ではなく、接触検出部40と表示部30とを離間した構成にすることもできる。しかしながら、接触検出部40を表示部30の上面に重ねて配置した構成とする方が、表示される画像と発生する振動との対応関係を、操作者に容易に認識させることができる。   In the above-described embodiment, the description has been made assuming a configuration in which the contact detection unit 40 is disposed so as to overlap the upper surface side of the display unit 30. It is not essential for the electronic apparatus according to the present invention to have such a configuration, and the contact detection unit 40 and the display unit 30 can be separated from each other. However, the configuration in which the contact detection unit 40 is disposed so as to overlap the upper surface of the display unit 30 allows the operator to easily recognize the correspondence between the displayed image and the generated vibration.

また、本発明による電子機器は、接触検出部が接触を検出している所定時間内に取得する接触の位置のばらつきが所定の範囲内であるか、所定の範囲を超えたかを判定しているが、この判定は、電子機器が、所定時間内に取得する接触の位置に基づく分散値を算出し、この分散値が、所定値以下の場合に所定の範囲内であると判定し、所定値を超える場合に所定の範囲を超えると判定するようにしてもよい。   In addition, the electronic device according to the present invention determines whether the variation in the position of the contact acquired within a predetermined time during which the contact detection unit detects the contact is within a predetermined range or exceeds the predetermined range. However, in this determination, the electronic device calculates a dispersion value based on the contact position acquired within a predetermined time, and determines that the dispersion value is within a predetermined range when the dispersion value is equal to or less than the predetermined value. If it exceeds the predetermined range, it may be determined that the predetermined range is exceeded.

なお、接触検出部が接触を検出している所定時間内に取得する接触の位置のばらつきが所定の範囲内であるか、所定の範囲を超えたかの判定は、種々の方法を採用することができる。例えば、本発明の電子機器は、所定時間内に取得する複数の接触の位置のうち、1の接触の位置が、他の接触の位置(たとえば、他の接触の位置に基づく平均の位置)と大きく(所定の距離)離れているか否かに基づき、接触の位置のばらつきが所定の範囲内か、所定の範囲を超えているかを判定してもよい。   Note that various methods can be used to determine whether the variation in the position of the contact acquired within the predetermined time during which the contact detection unit detects the contact is within the predetermined range or exceeds the predetermined range. . For example, according to the electronic device of the present invention, among a plurality of contact positions acquired within a predetermined time, one contact position is a position of another contact (for example, an average position based on the position of another contact). Based on whether or not the distance is large (predetermined distance), it may be determined whether the variation in contact position is within a predetermined range or exceeds a predetermined range.

また、上記判定は、接触検出部が接触を検出していない状態から、接触検出部が接触を検出している状態となった際に、制御部が最初に取得した接触の位置を基点として、制御部が所定時間内に取得する接触が当該基点から所定距離内にあるか否かに基づき、接触の位置のばらつきが所定の範囲内か、所定の範囲を超えているかを判定してもよい。   The above determination is based on the position of the contact first acquired by the control unit when the contact detection unit is in a state of detecting contact from the state where the contact detection unit is not detecting contact, Based on whether the contact acquired by the control unit within a predetermined time is within a predetermined distance from the base point, it may be determined whether the variation in the position of the contact is within a predetermined range or exceeds the predetermined range. .

1 電子機器
10 制御部
30 表示部
40 接触検出部
50 振動部
80 記憶部

DESCRIPTION OF SYMBOLS 1 Electronic device 10 Control part 30 Display part 40 Contact detection part 50 Vibrating part 80 Memory | storage part

Claims (3)

接触を検出する接触検出部と、
前記接触検出部により検出される接触の位置を取得する制御部と、
を備える電子機器であって、
前記制御部は、
前記接触検出部が接触を検出している所定時間内に取得する接触の位置のばらつきが所定の範囲内であれば、前記取得された接触の位置に基づいて算出した位置を前記接触検出部が検出する接触の位置とし、
前記接触検出部が接触を検出している所定時間内に取得する接触の位置のばらつきが所定の範囲を超えたら、前記算出された位置を前記接触検出部が検出する接触の位置とするように制御することを特徴とする、電子機器。
A contact detector for detecting contact;
A control unit for acquiring a position of contact detected by the contact detection unit;
An electronic device comprising:
The controller is
If the variation of the contact position acquired within a predetermined time during which the contact detection unit detects the contact is within a predetermined range, the contact detection unit calculates the position calculated based on the acquired contact position. The position of the contact to detect,
When the variation in the position of the contact acquired within a predetermined time when the contact detection unit detects the contact exceeds a predetermined range, the calculated position is set as the contact position detected by the contact detection unit. An electronic device characterized by being controlled.
前記接触検出部が接触を検出している所定時間内に取得する接触の位置のばらつきが所定の範囲内である場合に、前記取得された接触の位置に基づいて算出した位置を記憶する記憶部をさらに備え、
前記制御部は、前記接触検出部が接触を検出している所定時間内に取得する接触の位置のばらつきが所定の範囲を超えたら、前記記憶部に記憶された位置を前記接触検出部が検出する接触の位置とするように制御する、請求項1に記載の電子機器。
A storage unit that stores a position calculated based on the acquired position of contact when a variation in the position of the contact acquired within a predetermined time during which the contact detection unit detects contact is within a predetermined range Further comprising
The control unit detects the position stored in the storage unit when the variation in the position of the contact acquired within a predetermined time during which the contact detection unit detects contact exceeds a predetermined range. The electronic device according to claim 1, wherein the electronic device is controlled so as to be a contact position.
前記制御部は、前記接触検出部が接触を検出している所定時間内に取得する接触の位置のばらつきが所定の範囲を超えている場合に、当該取得された接触の位置に基づいて算出した位置が所定の距離を超えて変位したら、当該変位に基づいて前記記憶部に記憶された位置を変位させたものを前記接触検出部が検出する接触の位置とするように制御する、請求項2に記載の電子機器。

The control unit calculates, based on the acquired position of the contact, when a variation in the position of the contact acquired within a predetermined time when the contact detection unit detects the contact exceeds a predetermined range. 3. When the position is displaced beyond a predetermined distance, control is performed so that the position detected by the contact detection unit is obtained by displacing the position stored in the storage unit based on the displacement. The electronic device as described in.

JP2012100428A 2012-04-25 2012-04-25 Electronics Active JP5787824B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2012100428A JP5787824B2 (en) 2012-04-25 2012-04-25 Electronics

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2012100428A JP5787824B2 (en) 2012-04-25 2012-04-25 Electronics

Publications (2)

Publication Number Publication Date
JP2013228881A true JP2013228881A (en) 2013-11-07
JP5787824B2 JP5787824B2 (en) 2015-09-30

Family

ID=49676449

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2012100428A Active JP5787824B2 (en) 2012-04-25 2012-04-25 Electronics

Country Status (1)

Country Link
JP (1) JP5787824B2 (en)

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS60114924A (en) * 1983-11-25 1985-06-21 Hitachi Ltd Noise eliminating system at time series sampling point
JPH08272513A (en) * 1995-03-31 1996-10-18 Oki Electric Ind Co Ltd Method for processing data of coordinate input device
JPH1195905A (en) * 1997-09-18 1999-04-09 Fujitsu Takamisawa Component Ltd Coordinate detector
JPH11134107A (en) * 1997-10-31 1999-05-21 Nec Home Electron Ltd Coordinate correcting method
JP2000010720A (en) * 1998-06-24 2000-01-14 Sharp Corp Coordinate input device
JP2001067185A (en) * 1999-08-30 2001-03-16 Nec Shizuoka Ltd Device and method for absorbing coordinate data acquisition error and recording medium
JP2008198211A (en) * 2007-02-13 2008-08-28 Samsung Electronics Co Ltd Display device and its driving method
US20110037727A1 (en) * 2008-03-12 2011-02-17 Atlab Inc. Touch sensor device and pointing coordinate determination method thereof
JP2011090462A (en) * 2009-10-21 2011-05-06 Nec Corp Instruction position calculation device for touch panel, touch panel device, electronic equipment including the sane, instruction position calculation method for touch panel and program

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS60114924A (en) * 1983-11-25 1985-06-21 Hitachi Ltd Noise eliminating system at time series sampling point
JPH08272513A (en) * 1995-03-31 1996-10-18 Oki Electric Ind Co Ltd Method for processing data of coordinate input device
JPH1195905A (en) * 1997-09-18 1999-04-09 Fujitsu Takamisawa Component Ltd Coordinate detector
JPH11134107A (en) * 1997-10-31 1999-05-21 Nec Home Electron Ltd Coordinate correcting method
JP2000010720A (en) * 1998-06-24 2000-01-14 Sharp Corp Coordinate input device
JP2001067185A (en) * 1999-08-30 2001-03-16 Nec Shizuoka Ltd Device and method for absorbing coordinate data acquisition error and recording medium
JP2008198211A (en) * 2007-02-13 2008-08-28 Samsung Electronics Co Ltd Display device and its driving method
US20110037727A1 (en) * 2008-03-12 2011-02-17 Atlab Inc. Touch sensor device and pointing coordinate determination method thereof
JP2011090462A (en) * 2009-10-21 2011-05-06 Nec Corp Instruction position calculation device for touch panel, touch panel device, electronic equipment including the sane, instruction position calculation method for touch panel and program

Also Published As

Publication number Publication date
JP5787824B2 (en) 2015-09-30

Similar Documents

Publication Publication Date Title
JP5862898B2 (en) Method and apparatus for changing operating mode
JP5543671B2 (en) Tactile presentation device
WO2011024461A1 (en) Input device
EP3382516B1 (en) Tactile sense presentation device and tactile sense presentation method
US10795492B2 (en) Input device and method for controlling input device
JP5444478B2 (en) Electronics
WO2013008649A1 (en) User interface device capable of execution of input by finger contact in plurality of modes, input operation assessment method, and program
JP2016029601A (en) Selective input signal rejection and modification
TW201017479A (en) Electronic device and touch control method thereof
JP2011221640A (en) Information processor, information processing method and program
US8593405B2 (en) Electronic device and method for executing commands in the same
US10409489B2 (en) Input apparatus
JPWO2009031213A1 (en) Portable terminal device and display control method
CN103389862A (en) Information processing apparatus, information processing method, and program
JP2016212605A (en) Electronic apparatus and control method of electronic apparatus
JP2009009252A (en) Touch type input device
JP5968588B2 (en) Electronics
JP2008165575A (en) Touch panel device
JP5529981B2 (en) Electronics
JP5775849B2 (en) Electronics
JP5588023B2 (en) Electronics
JP5787824B2 (en) Electronics
JP2013206300A (en) Information input device
JP2019101876A (en) Input device, input control device, operated device, and program
JP2018092317A (en) Operation input device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20140613

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20150226

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20150310

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20150430

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20150721

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20150728

R150 Certificate of patent or registration of utility model

Ref document number: 5787824

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150