JP6659109B2 - Electronic device, control method thereof, program, and storage medium - Google Patents

Electronic device, control method thereof, program, and storage medium Download PDF

Info

Publication number
JP6659109B2
JP6659109B2 JP2015202783A JP2015202783A JP6659109B2 JP 6659109 B2 JP6659109 B2 JP 6659109B2 JP 2015202783 A JP2015202783 A JP 2015202783A JP 2015202783 A JP2015202783 A JP 2015202783A JP 6659109 B2 JP6659109 B2 JP 6659109B2
Authority
JP
Japan
Prior art keywords
touch
touch panel
pressure
cpu
pressing
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
JP2015202783A
Other languages
Japanese (ja)
Other versions
JP2017076217A (en
Inventor
祐樹 野川
祐樹 野川
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Canon Inc
Original Assignee
Canon Inc
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 Canon Inc filed Critical Canon Inc
Priority to JP2015202783A priority Critical patent/JP6659109B2/en
Publication of JP2017076217A publication Critical patent/JP2017076217A/en
Application granted granted Critical
Publication of JP6659109B2 publication Critical patent/JP6659109B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Description

本発明は、電子機器、その制御方法、およびプログラム、並びに記憶媒体に関し、特に、抵抗膜方式のタッチパネルを備える電子機器に関する。   The present invention relates to an electronic device, a control method thereof, a program, and a storage medium, and more particularly to an electronic device including a resistive touch panel.

近年、電子機器の1つである携帯電話機には、パソコン又はPDA(携帯情報端末)の機能が備わり、各種アプリケ−ションプログラムが利用可能となっている。そして、このような携帯電話機に備えられたタッチパネルでは、主に静電容量方式のタッチパネルが用いられている。   2. Description of the Related Art In recent years, a mobile phone, which is one of electronic devices, has a function of a personal computer or a personal digital assistant (PDA), and various application programs can be used. As a touch panel provided in such a mobile phone, a capacitive touch panel is mainly used.

静電容量方式のタッチパネルは抵抗膜方式のタッチパネルと比べて、多点検出を容易に行うことができる。さらには、静電容量方式のタッチパネルでは、人体による静電変化を検知するので、抵抗膜方式のタッチパネルと比べてタッチ操作の際にタッチパネルを強く押す必要がない。このため、静電容量方式のタッチパネルは操作性がよいとされている。   The capacitive touch panel can easily perform multipoint detection as compared with the resistive touch panel. Furthermore, since a capacitance type touch panel detects an electrostatic change due to a human body, it is not necessary to strongly press the touch panel during a touch operation as compared with a resistive type touch panel. For this reason, it is said that the capacitive touch panel has good operability.

一方、抵抗膜方式のタッチパネルは静電容量方式のタッチパネルに比べて安価であり、様々な入力オブジェクト(例えば、指、手袋、硬質・軟質スタイラス)を用いることができる。さらに、抵抗膜方式のタッチパネルは雨などの悪環境下においても使用可能というメリットがある。   On the other hand, a resistive touch panel is cheaper than a capacitive touch panel, and can use various input objects (for example, fingers, gloves, and hard / soft styluses). Further, there is an advantage that the resistive touch panel can be used even in a bad environment such as rain.

そこで、抵抗膜方式のタッチパネルの操作性を向上させるため、例えば、タッチ状態が連続し、かつタッチ位置が移動している場合にタッチ判定用の閾値を低くするようにしたタッチパネル装置がある(特許文献1参照)。   Therefore, in order to improve the operability of the resistive touch panel, for example, there is a touch panel device in which the touch determination threshold is lowered when the touch state is continuous and the touch position is moving (Patent Reference 1).

特開2003−233464号公報JP-A-2003-233364

ところで、タッチ操作の1つであるフリック又はム−ブ操作については、タッチ操作を行う際、最初のタッチ押圧を強くすることが困難である。このため、特許文献1に記載のタッチパネル装置では、フリック又はムーブ操作などにおいて最初のタッチ押圧が弱くなる。よって、特許文献1に記載のタッチパネル装置では、タッチ操作が未検出になることがあり、ユーザにとって使い勝手が悪くなってしまう。   By the way, regarding a flick or move operation, which is one of the touch operations, it is difficult to increase the initial touch pressure when performing the touch operation. For this reason, in the touch panel device described in Patent Literature 1, initial touch pressure is weakened in a flick or move operation or the like. Therefore, in the touch panel device described in Patent Literature 1, the touch operation may not be detected in some cases, and the usability for the user is deteriorated.

そこで、本発明の目的は、最初のタッチ押圧が弱くなってしまうタッチ操作についても未検出を防止して快適な操作感を得ることのできる電子機器、その制御方法、およびプログラム、並びに記憶媒体を提供することにある。   Therefore, an object of the present invention is to provide an electronic device capable of preventing undetection of a touch operation in which initial touch pressing becomes weak and obtaining a comfortable operation feeling, a control method thereof, a program, and a storage medium. To provide.

上記の目的を達成するため、本発明による電子機器は、感圧式のタッチパネルと、前記タッチパネルに対して予め定められた第1の圧力以上でかつ当該第1の圧力よりも高い第2の圧力未満の押圧がある場合に押圧の位置が所定の条件を満たして移動していない場合は、タッチ位置にかかわらず前記第1の圧力以上の押圧があってもタッチ操作の開始を示すタッチダウンに応じた表示の変更を行わず、前記押圧の位置が前記所定の条件を満たして移動をしている場合は、ユーザの押圧が前記第2の圧力を超えていなくとも前記タッチダウンに応じた表示の変更を行うように制御し、前記第2の圧力以上の押圧がある場合は、前記押圧の位置が前記所定の条件を満たして移動していなくとも前記タッチダウンに応じた表示の変更を行うように制御する制御手段と、を有すること特徴とする。 In order to achieve the above object, an electronic apparatus according to the present invention includes a pressure-sensitive touch panel, and a second pressure higher than or equal to a first pressure that is predetermined for the touch panel and lower than a first pressure that is higher than the first pressure. of when pressing there Ru, when the position of the pressure does not move satisfies the predetermined condition, touchdown indicating the start of even a touch operation if there is the first pressure or the pressing regardless of the touch position without changing the display in accordance with, when the position of the pressing is to move satisfies the predetermined condition, corresponding to the touch-down without pushing users exceeds the second pressure controlled to make changes to the display, the second when there is more than pressing pressure, the changes of the display in response to the touch down position of the pressed without being moved to meet the predetermined condition To do And wherein further comprising a Gosuru control means.

本発明によれば、最初のタッチ押圧が弱くなってしまうタッチ操作についても未検出を防止して快適な操作感を得ることができる。   According to the present invention, it is possible to prevent a non-detection of a touch operation in which the initial touch pressure is weak, and obtain a comfortable operation feeling.

本発明の第1の実施形態による電子機器の一例であるタッチパネル装置の構成を示すブロック図である。FIG. 2 is a block diagram illustrating a configuration of a touch panel device as an example of the electronic device according to the first embodiment of the present invention. 図1に示すタッチパネル制御部の動作を説明するための図であり、(a)は図1に示すタッチパネルの構造を示す図、(b)はタッチパネル制御部による接触検知を示す図、(c)および(d)はタッチパネル制御部による接触座標の測定を示す図、(e)および(f)はタッチパネル制御部による接触抵抗値の測定を示す図である。2A and 2B are diagrams for explaining the operation of the touch panel control unit shown in FIG. 1, wherein FIG. 2A shows a structure of the touch panel shown in FIG. 1, FIG. 2B shows contact detection by the touch panel control unit, and FIG. FIGS. 3D and 3D are diagrams illustrating measurement of contact coordinates by the touch panel control unit, and FIGS. 3E and 3F are diagrams illustrating measurement of contact resistance values by the touch panel control unit. 図1に示すタッチパネル装置の動作を説明するためのフローチャートである(その1)。3 is a flowchart for explaining the operation of the touch panel device shown in FIG. 1 (part 1). 図1に示すタッチパネル装置の動作を説明するためのフローチャートである(その2)。6 is a flowchart for explaining the operation of the touch panel device shown in FIG. 1 (part 2). 図1に示すタッチパネルのタッチ操作とタッチ検出を説明するためのタイミング図である。FIG. 2 is a timing chart for explaining a touch operation and a touch detection of the touch panel shown in FIG. 1. 本発明の第2の実施形態に係るタッチパネル装置の動作を説明するためのフローチャートである(その1)。It is a flow chart for explaining operation of the touch panel device concerning a 2nd embodiment of the present invention (the 1). 本発明の第2の実施形態に係るタッチパネル装置の動作を説明するためのフローチャートである(その2)。It is a flow chart for explaining operation of the touch panel device concerning a 2nd embodiment of the present invention (the 2). 本発明の第3の実施形態に係るタッチパネル装置の動作を説明するためのフローチャートである(その1)。It is a flow chart for explaining operation of a touch panel device concerning a 3rd embodiment of the present invention (the 1). 本発明の第3の実施形態に係るタッチパネル装置の動作を説明するためのフローチャートである(その2)。It is a flow chart for explaining operation of a touch panel device concerning a 3rd embodiment of the present invention (the 2).

以下に、本発明の実施の形態による電子機器の一例について図面を参照して説明する。   Hereinafter, an example of an electronic device according to an embodiment of the present invention will be described with reference to the drawings.

[第1の実施形態]
図1は、本発明の第1の実施形態による電子機器の一例であるタッチパネル装置の構成を示すブロック図である。
[First Embodiment]
FIG. 1 is a block diagram illustrating a configuration of a touch panel device as an example of the electronic device according to the first embodiment of the present invention.

図示のタッチパネル装置は、CPU101、ROM102、RAM103、操作部104、およびタッチパネル制御部105を有しており、これらブロックはシステムバス108によって相互に接続されている。タッチパネル制御部105には表示部106およびタッチパネル107が接続されており、タッチパネル107は表示部106の表面に配置されている。図示の例では、タッチパネル制御部105、表示部106、およびタッチパネル107がタッチパネルユニットを構成する。そして、図示はしないが、タッチパネル制御部105は、CPU、ROM、およびRAMなどを備えている。   The illustrated touch panel device includes a CPU 101, a ROM 102, a RAM 103, an operation unit 104, and a touch panel control unit 105, and these blocks are interconnected by a system bus 108. The display unit 106 and the touch panel 107 are connected to the touch panel control unit 105, and the touch panel 107 is arranged on the surface of the display unit 106. In the illustrated example, the touch panel control unit 105, the display unit 106, and the touch panel 107 constitute a touch panel unit. Although not shown, the touch panel control unit 105 includes a CPU, a ROM, a RAM, and the like.

CPU101は、ROM102に格納されたプログラムを実行して、図示のタッチパネル装置を制御する。RAM103はCPU101のワ−クメモリとして用いられる。操作部104はユーザによって操作され、ユーザは操作部104によって各種の指令をCPU101に送る。CPU101はタッチパネル制御部105を介して表示部(例えば、LCD)106に画像などの各種情報を表示する。なお、画像などの各種情報は、例えば、RAM103に記録されている。   The CPU 101 executes a program stored in the ROM 102 to control the illustrated touch panel device. The RAM 103 is used as a work memory of the CPU 101. The operation unit 104 is operated by a user, and the user sends various commands to the CPU 101 using the operation unit 104. The CPU 101 displays various information such as images on a display unit (for example, an LCD) 106 via the touch panel control unit 105. Note that various information such as images are stored in the RAM 103, for example.

タッチパネル107は、例えば、抵抗膜方式などの感圧式のタッチパネルである。タッチパネル制御部105は、ユーザによるタッチ操作によってタッチパネル107が押圧されたこと(つまり、ユーザの指がタッチパネル107に接触したこと)を検知する。また、タッチパネル制御部105は、当該タッチ操作による表示部106上の接触位置(つまり、座標)を求める。さらに、タッチパネル制御部105は、後述するように、タッチ操作による接触抵抗値を測定する。そして、タッチパネル制御部12は、これら接触検知情報、接触座標、および接地職抵抗値をCPU101に送る。   The touch panel 107 is, for example, a pressure-sensitive touch panel such as a resistive film type. Touch panel control section 105 detects that touch panel 107 is pressed by a user's touch operation (that is, the user's finger touches touch panel 107). Further, touch panel control section 105 obtains a contact position (that is, coordinates) on display section 106 by the touch operation. Further, the touch panel control unit 105 measures a contact resistance value by a touch operation as described later. Then, the touch panel control unit 12 sends the contact detection information, the contact coordinates, and the ground contact resistance value to the CPU 101.

CPU101は、接触検知情報および接触座標に基づいてタッチ操作による接触座標の移動を判定する。さらに、後述するように、CPU101はタッチダウンを検出する閾値(タッチダウン判定閾値)を決定するとともに、後述のタッチダウンがあったか否かを判定する。   The CPU 101 determines the movement of the contact coordinates due to the touch operation based on the contact detection information and the contact coordinates. Further, as described later, the CPU 101 determines a threshold for detecting a touchdown (touchdown determination threshold), and determines whether or not a touchdown described later has occurred.

なお、ROM102には、第1の閾値z1および第2の閾値z1が格納されており、CPU101は、第1の閾値z1および第2の閾値z2を参照してタッチダウン判定閾値を決定するとともにタッチダウンの判定を行う。   Note that the ROM 102 stores a first threshold value z1 and a second threshold value z1, and the CPU 101 determines the touch-down determination threshold value with reference to the first threshold value z1 and the second threshold value z2, and Determine the down.

加えて、CPU101は、タッチパネル制御部105を介してタッチパネル107に対する次の操作および状態を検出することができる。   In addition, the CPU 101 can detect the next operation and state on the touch panel 107 via the touch panel control unit 105.

CPU101は、タッチパネル107にタッチしていなかった指又はペンが新たにタッチパネル107をタッチしたことを検知する。つまり、CPU101はタッチの開始(以下タッチダウン(Touch−Down)という)を検知する。   The CPU 101 detects that a finger or a pen that has not touched the touch panel 107 has newly touched the touch panel 107. That is, the CPU 101 detects the start of the touch (hereinafter, referred to as touch-down).

CPU101は、タッチパネル107を指又はペンでタッチしている状態であること(以下タッチオン(Touch−On)という)を検知する。   The CPU 101 detects that the touch panel 107 is being touched with a finger or a pen (hereinafter referred to as “touch-on”).

CPU101は、タッチパネル107を指又はペンでタッチした状態で指又はペンが移動していること(以下タッチムーブ(Touch−Move)という)を検知する。   The CPU 101 detects that the finger or the pen is moving while touching the touch panel 107 with the finger or the pen (hereinafter referred to as touch-move).

CPU101は、タッチパネル107にタッチしていた指又はペンをタッチパネル107から離したことを検知する。つまり、CPU101はタッチ操作の終了(以下タッチアップ(Touch−Up)という)を検知する。   CPU 101 detects that a finger or a pen touching touch panel 107 has been released from touch panel 107. That is, the CPU 101 detects the end of the touch operation (hereinafter, referred to as touch-up).

CPU101は、タッチパネル107に何もタッチしていない状態(以下タッチオフ(Touch−Off)という)を検知する。   The CPU 101 detects a state in which nothing is touched on the touch panel 107 (hereinafter, referred to as touch-off).

ところで、タッチダウンが検出された場合には、同時にタッチオンであることが検出される。タッチダウンの後、タッチアップが検出されない限り、通常はタッチオンの検出が継続する。タッチムーブが検出された状態では、タッチオンが検出されている状態である。タッチオンが検出されても、タッチ位置が移動していなければタッチムーブは検出されない。タッチしていた全ての指又はペンがタッチアップしたことが検出された後に、タッチオフとなる。   By the way, when the touch-down is detected, it is simultaneously detected that the touch-on is performed. After touch-down, touch-on detection usually continues unless touch-up is detected. The state where touch move is detected is a state where touch-on is detected. Even if a touch-on is detected, a touch move is not detected unless the touch position has moved. Touch-off is performed after it is detected that all of the touched fingers or pens have been touched up.

上述の操作および状態、そして、タッチパネル107に指又はペンがタッチしている位置座標(接触座標)はタッチ情報としてシステムバス108を介して、タッチパネル制御部105からCPU101に送られる。CPU6はタッチ情報に基づいてタッチパネル107上でどのような操作が行なわれたかを判定する。   The above-described operation and state, and the position coordinates (contact coordinates) at which the finger or the pen touches the touch panel 107 are sent from the touch panel control unit 105 to the CPU 101 as touch information via the system bus 108. CPU 6 determines what operation has been performed on touch panel 107 based on the touch information.

タッチムーブについては、CPU101はタッチパネル107上で移動する指又はペンの移動方向について位置座標の変化に基づいて、タッチパネル107上の垂直成分および水平成分毎に判定することができる。また、タッチパネル107上をタッチダウンから所定のタッチムーブを経てタッチアップをしたとき、これをストロークを描いたとする。そして、素早くストロークを描く操作をフリックと呼ぶ。フリックは、タッチパネル107上に指をタッチしたままある程度の距離だけ素早く動かして、そのまま離すといった操作である。言い換えると、フリックは、タッチパネル107上を指で弾くように素早くなぞる操作である。   Regarding the touch move, the CPU 101 can determine the moving direction of the finger or pen moving on the touch panel 107 for each of the vertical component and the horizontal component on the touch panel 107 based on the change in the position coordinates. It is also assumed that a stroke is drawn when a touch-up is performed on the touch panel 107 through a predetermined touch move from a touch-down. An operation of quickly drawing a stroke is called a flick. A flick is an operation in which a finger is touched on the touch panel 107, quickly moved by a certain distance, and then released. In other words, a flick is an operation of quickly tracing on the touch panel 107 as if by a finger.

CPU101は所定の距離以上を、所定の速度以上でタッチムーブしたことを検出して、そのままタッチアップを検出するとフリックが行われたと判定する。また、CPU101は所定の距離以上を、所定の速度未満でタッチムーブしたことを検出すると、ドラッグが行なわれたと判定する。   The CPU 101 detects that a touch move has been performed at a predetermined speed or more over a predetermined distance, and if a touch-up is detected as it is, it is determined that a flick has been performed. When the CPU 101 detects that a touch move has been performed over a predetermined distance or less at a speed lower than the predetermined speed, the CPU 101 determines that dragging has been performed.

図2は、図1に示すタッチパネル制御部105の動作を説明するための図である。そして、図2(a)は図1に示すタッチパネル107の構造を示す図であり、図2(b)はタッチパネル制御部による接触検知を示す図である。また、図2(c)および図2(d)はタッチパネル制御部による接触座標の測定を示す図である。さらに、図2(e)および図2(f)はタッチパネル制御部による接触抵抗値の測定を示す図である。   FIG. 2 is a diagram for explaining the operation of touch panel control section 105 shown in FIG. FIG. 2A is a diagram illustrating the structure of the touch panel 107 illustrated in FIG. 1, and FIG. 2B is a diagram illustrating contact detection performed by the touch panel control unit. FIGS. 2C and 2D are diagrams showing measurement of contact coordinates by the touch panel control unit. FIGS. 2E and 2F are diagrams showing the measurement of the contact resistance value by the touch panel control unit.

図2(a)において、タッチパネル107は、ITO(スズドープ酸化インジウム)などの導電膜で構成された上部電極201および下部電極202を有している。そして、これら上部電極201および下部電極202は互いに対向して配置されている。なお、図示はしないが、上部電極101と下部電極102とはスペ−サ−によって非接触状態が保たれている。   2A, the touch panel 107 has an upper electrode 201 and a lower electrode 202 made of a conductive film such as ITO (tin-doped indium oxide). The upper electrode 201 and the lower electrode 202 are arranged to face each other. Although not shown, the upper electrode 101 and the lower electrode 102 are kept in a non-contact state by a spacer.

上部電極101においてX方向の両端には電極X+およびX−が形成され、下部電極102においてY方向の両端には電極Y+およびY−が形成される。タッチパネル制御部12は、これら電極に対する電圧印加およびA/D変換器(図示せず)の接続を検出対象に応じて切り替え制御する。   Electrodes X + and X− are formed at both ends of the upper electrode 101 in the X direction, and electrodes Y + and Y− are formed at both ends of the lower electrode 102 in the Y direction. The touch panel control unit 12 controls switching of voltage application to these electrodes and connection of an A / D converter (not shown) according to a detection target.

図2(b)には、タッチパネル107に対する接触を検知する際のタッチパネル107の等価回路が示されている。接触を検出すると、タッチパネル制御部105は電極X+および電極Y−の間にプルアップ(PU)抵抗(値)を介して電圧を印加する。タッチパネル107に対する押圧が大きい程、上部電極101と下部電極102との接触領域が大きくなって接触抵抗値Rtが小さくなる。つまり、押圧力と接触抵抗値Rtとは反比例の関係にある。   FIG. 2B shows an equivalent circuit of the touch panel 107 when detecting a touch on the touch panel 107. When the touch is detected, the touch panel control unit 105 applies a voltage between the electrode X + and the electrode Y− via a pull-up (PU) resistance (value). As the pressure on the touch panel 107 increases, the contact area between the upper electrode 101 and the lower electrode 102 increases, and the contact resistance Rt decreases. That is, the pressing force and the contact resistance value Rt are in an inversely proportional relationship.

タッチパネル107に対する押圧が大きくなって,接触抵抗値RtがPU抵抗値よりも十分小さい値になると、電極X+の電位がHigh(ハイ)レベルからLow(ロー)レベルに変化する。タッチパネル制御部105は、例えば、コンパレ−タ(図示せず)によって電極X+のLow電位を検出すると,CPU101に割り込み信号を送信してタッチパネル13が押圧されたことを通知する。   When the pressure on the touch panel 107 increases and the contact resistance value Rt becomes sufficiently smaller than the PU resistance value, the potential of the electrode X + changes from a high (high) level to a low (low) level. For example, when the comparator (not shown) detects the Low potential of the electrode X +, the touch panel control unit 105 transmits an interrupt signal to the CPU 101 to notify that the touch panel 13 has been pressed.

図2(c)には、タッチパネル制御部105がX座標を検知する場合のタッチパネル107の等価回路が示されている。X座標の検知を行う際には、タッチパネル制御部105は電極X+および電極X−の間に所定の電圧を印加する。そして、タッチパネル制御部105はA/D変換器(A/D)の接続を電極Y+に切り替える。   FIG. 2C shows an equivalent circuit of the touch panel 107 when the touch panel control unit 105 detects the X coordinate. When detecting the X coordinate, the touch panel control unit 105 applies a predetermined voltage between the electrode X + and the electrode X−. Then, the touch panel control unit 105 switches the connection of the A / D converter (A / D) to the electrode Y +.

電極Y+の電位は上部電極101の分圧抵抗Rxに比例するので,タッチパネル制御部105は電極Y+の電位に対応するA/D変換値に応じて分圧抵抗値Rxを算出する。そして、タッチパネル制御部105は分圧抵抗値Rxに応じて押下箇所(タッチ位置)のX座標を検出する。   Since the potential of the electrode Y + is proportional to the voltage dividing resistance Rx of the upper electrode 101, the touch panel control unit 105 calculates the voltage dividing resistance value Rx according to the A / D conversion value corresponding to the potential of the electrode Y +. Then, the touch panel control unit 105 detects the X coordinate of the pressed position (touch position) according to the voltage dividing resistance value Rx.

図2(d)には、タッチパネル制御部105がY座標を検知する場合のタッチパネル107の等価回路が示されている。Y座標の検知を行う際には、タッチパネル制御部105は電極Y+および電極Y−の間に所定の電圧を印加する。そして、タッチパネル制御部105はA/D変換器(A/D)の接続を電極X+に切り替える。   FIG. 2D illustrates an equivalent circuit of the touch panel 107 when the touch panel control unit 105 detects a Y coordinate. When detecting the Y coordinate, the touch panel control unit 105 applies a predetermined voltage between the electrodes Y + and Y−. Then, the touch panel control unit 105 switches the connection of the A / D converter (A / D) to the electrode X +.

電極X+の電位は上部電極101の分圧抵抗Ryに比例するので,タッチパネル制御部105は電極X+の電位に対応するA/D変換値に応じて分圧抵抗値Ryを算出する。そして、タッチパネル制御部105は分圧抵抗値Ryに応じて押下箇所(タッチ位置)のY座標を検出する。   Since the potential of the electrode X + is proportional to the voltage dividing resistance Ry of the upper electrode 101, the touch panel control unit 105 calculates the voltage dividing resistance value Ry according to the A / D conversion value corresponding to the potential of the electrode X +. Then, the touch panel control unit 105 detects the Y coordinate of the pressed position (touch position) according to the voltage division resistance value Ry.

図2(e)および図2(f)には、タッチパネル制御部105がタッチパネル107の押圧による接触抵抗値を検知する場合のタッチパネル107の等価回路が示されている。図2(e)において、タッチパネル制御部105は電極Y+および電極X−の間に所定の電圧を印加して、A/D変換器(A/D)の接続を電極X+に切り替える。また、図2(f)に示すように、タッチパネル制御部105は同様にして、電極Y+および電極X−の間に所定の電圧を印加して、A/D変換器(A/D)の接続を電極Y−に切り替える。   FIGS. 2E and 2F show equivalent circuits of the touch panel 107 when the touch panel control unit 105 detects a contact resistance value caused by pressing the touch panel 107. In FIG. 2E, the touch panel control unit 105 applies a predetermined voltage between the electrode Y + and the electrode X−, and switches the connection of the A / D converter (A / D) to the electrode X +. In addition, as shown in FIG. 2F, the touch panel control unit 105 similarly applies a predetermined voltage between the electrode Y + and the electrode X− to connect the A / D converter (A / D). Is switched to the electrode Y−.

いま、電極X+の電位をA/D変換して得られたA/D変換値をA2、電極Y+の電位をA/D変換して得られたA/D変換値をA1とする。上部電極101および下部電極102の間の接触抵抗値Rtは、上述の上部電極101の分圧抵抗Rxを用いると、次の式(1)で表される。   Assume that the A / D converted value obtained by A / D converting the potential of the electrode X + is A2, and the A / D converted value obtained by A / D converting the potential of the electrode Y + is A1. The contact resistance Rt between the upper electrode 101 and the lower electrode 102 is expressed by the following equation (1) using the above-described voltage dividing resistance Rx of the upper electrode 101.

Rt=Rx×(A1/A2−1) (1)
前述のように、押圧力と接触抵抗値Rtとは反比例の関係であるので、接触抵抗値Rtが大きい場合には押圧力は小さく、接触抵抗値Rtが小さい場合には押圧力は大きい。
Rt = Rx × (A1 / A2-1) (1)
As described above, since the pressing force and the contact resistance value Rt are in inverse proportion, the pressing force is small when the contact resistance value Rt is large, and the pressing force is large when the contact resistance value Rt is small.

押圧力が閾値Z2以上である場合には、CPU101はタッチダウンであると判定する。また、押圧力が閾値Z2未満でかつ閾値Z1以上であった場合にであっても、所定の時間内に座標が移動すると、CPU101はタッチダウンと判定する。そして、押圧力が閾値Z1未満であると、CPU101はタッチオフと判定する。   If the pressing force is equal to or larger than the threshold value Z2, the CPU 101 determines that the touch-down has occurred. Further, even when the pressing force is less than the threshold value Z2 and equal to or more than the threshold value Z1, if the coordinates move within a predetermined time, the CPU 101 determines that the touch-down operation is performed. When the pressing force is less than the threshold value Z1, the CPU 101 determines that the touch-off is performed.

なお、閾値Z2はシングルタッチにおける誤検出を防ぐため高く設定されており、第2の閾値Z2>第1の閾値Z1である。   Note that the threshold value Z2 is set high to prevent erroneous detection in single touch, and the second threshold value Z2> the first threshold value Z1.

図3Aおよび図3Bは、図1に示すタッチパネル装置の動作を説明するためのフローチャートである。なお、図示のフローチャートに係る処理は、ROM102に記録されたプログラムをRAM103に展開してCPU101が実行することによって行われる。   3A and 3B are flowcharts for explaining the operation of the touch panel device shown in FIG. The processing according to the illustrated flowchart is performed by expanding the program recorded in the ROM 102 into the RAM 103 and executing the program by the CPU 101.

CPU101は、タッチパネル制御部105から取得した情報に基づいて、タッチパネル107に対する接触を検知したか否かを判定する(ステップS301)。タッチパネル制御部105が、例えば、コンパレ−タ(図示せず)によって電極X+のLow電位を検出したことによって、タッチパネル制御部105からCPU101に割り込み信号を通知する。CPU101はこの通知を受信した場合にステップS301でYesと判定する。なお、この割り込み信号が通知される押圧力は、後述する第1の閾値以下であるものとする(第1の閾値と同じ押圧力に設定しても良い)。接触の検出がないと(ステップS301において、NO)、CPU101は待機する。   The CPU 101 determines whether a touch on the touch panel 107 has been detected based on the information acquired from the touch panel control unit 105 (step S301). For example, when the touch panel control unit 105 detects the low potential of the electrode X + by a comparator (not shown), the touch panel control unit 105 notifies the CPU 101 of an interrupt signal. Upon receiving this notification, the CPU 101 determines Yes in step S301. The pressing force at which this interrupt signal is notified is assumed to be equal to or less than a first threshold value described later (the pressing force may be set to the same as the first threshold value). If no contact is detected (NO in step S301), CPU 101 waits.

続いて、CPU101は、タッチパネル制御部105が前述の図2(e)および図2(f)で説明した手法によって検出した接触抵抗値Rtを第1の抵抗値検出結果としてタッチパネル制御部105から取得する。   Subsequently, the CPU 101 acquires the contact resistance value Rt detected by the touch panel control unit 105 by the method described with reference to FIGS. 2E and 2F as the first resistance value detection result from the touch panel control unit 105. I do.

CPU101は、押圧力(つまり、接触抵抗値Rt)が第1の閾値Z1以上(つまり、第1の圧力以上)であるか否かを判定する(ステップS303)。押圧力が第1の閾値Z1未満であると(ステップS303において、NO)、CPU101は処理をステップS301に戻す。   The CPU 101 determines whether the pressing force (that is, the contact resistance value Rt) is equal to or more than the first threshold value Z1 (that is, the first pressure or more) (step S303). If the pressing force is less than first threshold value Z1 (NO in step S303), CPU 101 returns the process to step S301.

押圧力が第1の閾値z1以上であると(ステップS303において、NO)、CPU101は押圧力が第2の閾値Z2未満(つまり、第2の圧力未満)であるか否かを判定する(ステップS304)。押圧力が第2の閾値未満Z2未満であると(ステップS304において、NO)、CPU101はタッチパネル制御部105にタッチ位置(つまり、押下箇所)のX座標およびY座標の検出を指示する。   If the pressing force is equal to or greater than the first threshold value z1 (NO in step S303), CPU 101 determines whether the pressing force is less than second threshold value Z2 (that is, less than the second pressure) (step S303). S304). If the pressing force is smaller than the second threshold value and smaller than Z2 (NO in step S304), CPU 101 instructs touch panel control section 105 to detect the X coordinate and the Y coordinate of the touch position (that is, the pressed position).

CPU101は、タッチパネル制御部105が前述の図2(c)および図2(d)で説明した手法を用いて検出(測定)した押下箇所のX座標およびY座標をタッチパネル制御部105から取得する(ステップS305)。   The CPU 101 acquires from the touch panel control unit 105 the X coordinate and the Y coordinate of the pressed position detected (measured) by the touch panel control unit 105 using the method described with reference to FIGS. 2C and 2D described above ( Step S305).

続いて、CPU101は、所定の時間が経過したか否かを判定する(ステップS306)。所定の時間が経過しないと(ステップS306において、NO)、CPU101は待機する。一方、所定の時間が経過すると(ステップS306において、YES)、CPU101は再度、タッチパネル制御部105が検出(測定)した押下箇所のX座標およびY座標を取得する(ステップS307)。   Subsequently, the CPU 101 determines whether a predetermined time has elapsed (step S306). If the predetermined time has not elapsed (NO in step S306), CPU 101 waits. On the other hand, when the predetermined time has elapsed (YES in step S306), CPU 101 acquires again the X coordinate and the Y coordinate of the pressed position detected (measured) by touch panel control section 105 (step S307).

CPU101は、第1の座標測定結果と第2の座標測定結果と比較して、所定の条件である座標の移動があったか否かを判定する(ステップS308)。座標の移動がないと(ステップS308において、NO)、CPU101は処理をS301に戻す。   The CPU 101 compares the first coordinate measurement result and the second coordinate measurement result to determine whether or not a predetermined condition, that is, coordinate movement has occurred (step S308). If there is no movement of the coordinates (NO in step S308), CPU 101 returns the process to S301.

一方、座標の移動があると(ステップS308において、YES)、CPU101はタッチダウンがあったと判定する(ステップS309)。なお、押圧力が第2の閾値Z2以上であると(ステップS304において、YES)、CPU101は、ステップS309の処理に進んでタッチダウンがあったと判定する。   On the other hand, if the coordinates have moved (YES in step S308), CPU 101 determines that a touch-down has occurred (step S309). If the pressing force is equal to or greater than the second threshold value Z2 (YES in step S304), CPU 101 proceeds to the process in step S309 and determines that a touch-down has occurred.

続いて、CPU101は、タッチパネル制御部105が、図2(c)および図2(d)で説明した手法を用いて検出した押下箇所のX座標およびY座標を第3の座標測定結果として取得する(ステップS310)。   Subsequently, the CPU 101 obtains, as a third coordinate measurement result, the X coordinate and the Y coordinate of the pressed position detected by the touch panel control unit 105 using the method described with reference to FIGS. 2C and 2D. (Step S310).

次に、CPU101はタッチダウンに応じた処理を行う。例えば、CPU101は第3の座標測定結果に基づいて、タッチパネル制御部105を制御して表示部106にUI表示を行う(ステップS311)。例えば、表示部106に複数の選択項目を有する画面が表示されている際には、CPU101は、UI表示としてタッチダウンの位置に表示された選択項目の表示形態を、選択中を示す表示形態に変更する。   Next, the CPU 101 performs a process corresponding to the touchdown. For example, based on the third coordinate measurement result, the CPU 101 controls the touch panel control unit 105 to display a UI on the display unit 106 (step S311). For example, when a screen having a plurality of selection items is displayed on the display unit 106, the CPU 101 changes the display mode of the selection items displayed at the touchdown position as the UI display to a display mode indicating that the selected item is being selected. change.

なお、タッチ位置が移動している場合(タッチムーブの場合)には、CPU101は表示部106に表示されたリスト、画像、又は文書などをタッチ位置に追従してスクロールする処理を行う。   When the touch position is moving (in the case of a touch move), the CPU 101 performs a process of scrolling a list, an image, a document, or the like displayed on the display unit 106 following the touch position.

続いて、CPU101は、タッチパネル制御部105によって検出(測定)された接触抵抗値Rtを第2の抵抗値検出結果として取得する(ステップS312)。CPU101は、第2の抵抗値検出結果に応じて押圧力が第1の閾値Z1以上であるか否かを判定する(ステップS313)。押圧力が第1の閾値Z1以上であると(ステップS313において、YES)、CPU101は未だタッチ操作が継続されていると判定して、処理をステップS310に戻す。   Subsequently, the CPU 101 acquires the contact resistance value Rt detected (measured) by the touch panel control unit 105 as a second resistance value detection result (step S312). The CPU 101 determines whether the pressing force is equal to or more than the first threshold value Z1 according to the result of the second resistance value detection (step S313). If the pressing force is equal to or greater than first threshold value Z1 (YES in step S313), CPU 101 determines that the touch operation is still being performed, and returns the process to step S310.

一方、押圧力が第1の閾値Z1未満であると(ステップS313において、NO)、CPU101は、タッチアップがあったとして、ユーザの指がタッチパネル107から離れる直前におけるタッチムーブの速度が所定の速度以上であるか否かを判定する(ステップS314)。タッチムーブの速度が所定の速度以上であると(ステップS314において、YES)、CPU101はフリックがあったと判定する(ステップS315)。   On the other hand, if the pressing force is less than first threshold value Z1 (NO in step S313), CPU 101 determines that there is a touch-up, and determines that the speed of the touch move immediately before the user's finger leaves touch panel 107 is a predetermined speed. It is determined whether or not this is the case (step S314). If the speed of the touch move is equal to or higher than the predetermined speed (YES in step S314), CPU 101 determines that there is a flick (step S315).

タッチムーブの速度が所定の速度未満であると(ステップS314において、NO)、CPU101はタッチダウン後の初期座標とタッチアップの際の座標とに応じて移動の有無を判定する。(ステップS316)。移動がないと(ステップS316において、NO)、CPU101はシングルタッチであると判定する(ステップS117)。一方、移動があると(ステップS316において、YES)、CPU101はタッチム−ブの終了と判定する(ステップS318)。   If the speed of the touch move is lower than the predetermined speed (NO in step S314), CPU 101 determines whether or not there is movement according to the initial coordinates after touchdown and the coordinates at the time of touchup. (Step S316). If there is no movement (NO in step S316), CPU 101 determines that a single touch has been made (step S117). On the other hand, if there is a movement (YES in step S316), CPU 101 determines that the touch move has ended (step S318).

ステップS115、S117、又はS118の処理の後、CPU101は、タッチパネル制御部105を制御して表示部106におけるUI表示に反映させる(ステップS319)。そして、CPU101は処理を終了する。   After the processing in step S115, S117, or S118, the CPU 101 controls the touch panel control unit 105 to reflect the touch on the UI display on the display unit 106 (step S319). Then, the CPU 101 ends the processing.

なお、ステップS319の処理では、フリックと判定すると、例えば、CPU101は、タッチパネル制御部105を制御して、表示部14に表示されたWebページ又はリストなどを慣性スクロール処理(タッチアップの後も減速しながらスクロールする処理)を行う。さらに、CPU101は表示部14に表示された画像を別の画像に切り替える画像送り処理などを行う。   In the process of step S319, if a flick is determined, for example, the CPU 101 controls the touch panel control unit 105 to perform the inertial scrolling process (deceleration after touch-up) on the Web page or list displayed on the display unit 14. Scrolling process). Further, the CPU 101 performs an image feed process for switching an image displayed on the display unit 14 to another image.

ここで、図3Aおよび図3Bに示すフローチャートにおいて、押圧力が第1の閾値Z1以上で第2の閾値Z2未満である場合の処理について説明する。   Here, in the flowcharts shown in FIG. 3A and FIG. 3B, a description will be given of a process when the pressing force is equal to or more than the first threshold value Z1 and less than the second threshold value Z2.

図4は、図1に示すタッチパネル107のタッチ操作とタッチ検出を説明するためのタイミング図である。   FIG. 4 is a timing chart for explaining touch operation and touch detection of touch panel 107 shown in FIG.

いま、時刻t1で、ユーザがタッチパネル107に接触したとする。そして、ユーザがタッチパネル107をタッチする押圧力が時刻t1において、第1の閾値Z1となったものとする。この際には、押圧力は第1の閾値Z1以上で第2の閾値Z2未満であるので、ステップS305の処理でタッチ位置の座標が検出される。この際の検出座標を(Xt1,Yt1)とする。   Now, it is assumed that the user has touched the touch panel 107 at time t1. Then, it is assumed that the pressing force at which the user touches the touch panel 107 has reached the first threshold value Z1 at time t1. In this case, since the pressing force is equal to or more than the first threshold value Z1 and less than the second threshold value Z2, the coordinates of the touch position are detected in the process of step S305. The detected coordinates at this time are (Xt1, Yt1).

その後、押圧力が徐々に増加した後、若干低下して、時刻t2において押圧力はほぼ一定になったとする。この際の押圧力は第1の閾値Z1を超え第2の閾値Z2未満である。時刻t1から時刻t2までにおいて、つまり、タッチ操作を検知してから時刻t2までにおいて所定の時間が経過しているとすると、ステップS307の処理でタッチ位置の座標が検出される。この際の検出座標を(Xt2,Yt2)とする。   Thereafter, it is assumed that the pressing force gradually increases and then slightly decreases, and the pressing force becomes substantially constant at time t2. The pressing force at this time is greater than the first threshold value Z1 and less than the second threshold value Z2. Assuming that a predetermined time has elapsed from time t1 to time t2, that is, from time t2 to when the touch operation is detected, the coordinates of the touch position are detected in the process of step S307. The detected coordinates at this time are (Xt2, Yt2).

ここで、時刻t1から時刻t2において座標の移動がほとんどないと、つまり、(Xt1,Yt1)≒(Xt2,Yt2)であると、CPU101は非タッチ状態である判定することになる。一方、時刻t1から時刻t2において座標の移動があると、つまり、(Xt1,Yt1)≠(Xt2,Yt2)であると、CPU101は、ステップS309においてタッチダウンと判定して、ステップS313において押圧力が第1の閾値Z1以上であれば、CPU101はフリック又はムーブがあったと判定することになる。   Here, if there is almost no movement of the coordinates from time t1 to time t2, that is, (Xt1, Yt1) ≒ (Xt2, Yt2), the CPU 101 determines that it is in the non-touch state. On the other hand, if there is a movement of the coordinates from time t1 to time t2, that is, if (Xt1, Yt1) ≠ (Xt2, Yt2), CPU 101 determines in step S309 that the touch-down has occurred, and in step S313 the pressing force is determined. Is greater than or equal to the first threshold value Z1, the CPU 101 determines that a flick or a move has occurred.

なお、(Xt1,Yt1)≒(Xt2,Yt2)である場合には、押圧力が第1の閾値Z1以上であっても、CPU101は非タッチ状態であると判定する。   When (Xt1, Yt1) ≒ (Xt2, Yt2), even if the pressing force is equal to or greater than the first threshold value Z1, the CPU 101 determines that it is in the non-touch state.

そして、時刻t3において押圧力が第1の閾値Z1未満となると、CPU101は非タッチ状態と判定する。   Then, when the pressing force becomes less than the first threshold value Z1 at time t3, the CPU 101 determines that the state is the non-touch state.

上述のように、座標移動ありの場合においては、第2の閾値Z2を用いることなく、第1の閾値Z1のみを用いてフリック又はムーブの判定が行われることになる。一方、座標移動なしの場合には、第1の閾値Z1および第2の閾値Z2を用いてタッチ状態の判定が行われる。   As described above, in the case where there is a coordinate movement, the determination of flick or move is performed using only the first threshold value Z1 without using the second threshold value Z2. On the other hand, when there is no coordinate movement, the touch state is determined using the first threshold value Z1 and the second threshold value Z2.

このように、本発明の第1の実施形態では、座標移動がない場合には第1の閾値Z1および第2の閾値Z2を用いてタッチ操作の有無を判定し、座標移動があると、第2の閾値Z2よりも小さい第1の閾値Z1のみを用いてタッチ操作の有無を判定する。これによって、タッチによる押圧力が弱い場合においても未検出を防止して、快適な操作を提供することができる。   As described above, in the first embodiment of the present invention, if there is no coordinate movement, the presence / absence of a touch operation is determined using the first threshold value Z1 and the second threshold value Z2. The presence or absence of a touch operation is determined using only the first threshold value Z1 smaller than the second threshold value Z2. Thus, even when the pressing force due to the touch is weak, it is possible to prevent undetection and provide a comfortable operation.

なお、上述の第1の実施形態では、図3Aおよび図3Bに示す処理をCPU101が行うものとして説明したが、ステップS311およびS319を除く処理は、タッチパネル制御部105が行ってもよい。この場合、ステップS309、S315、S318、およびS317では、それぞれタッチダウン、タッチアップ(フリック)、タッチアップ(ムーブ終了)、タッチアップ(シングルタッチでのタッチアップ)があったことをタッチパネル制御部105がCPU101に通知する。CPU101はこれらの通知を受けて、UI表示への反映や、スクロール、タッチされたアイコンの機能実行などのタッチ操作に応じた処理を実行する。   In the above-described first embodiment, the processing illustrated in FIGS. 3A and 3B is described as being performed by the CPU 101, but the processing excluding steps S311 and S319 may be performed by the touch panel control unit 105. In this case, in steps S309, S315, S318, and S317, the touch-panel control unit 105 determines that there is a touch-down, a touch-up (flick), a touch-up (move end), and a touch-up (single-touch touch-up). Notifies the CPU 101. Upon receiving these notifications, the CPU 101 executes processing corresponding to a touch operation such as reflection on the UI display, scrolling, and execution of a function of the touched icon.

[第2の実施形態]
次に、本発明の第2の実施形態による電子機器の1つであるタッチパネル装置について説明する。なお、第2の実施形態に係るタッチパネル装置の構成は、図1に示すタッチパネル装置と同様である。
[Second embodiment]
Next, a touch panel device which is one of the electronic devices according to the second embodiment of the present invention will be described. The configuration of the touch panel device according to the second embodiment is the same as that of the touch panel device shown in FIG.

前述の第1の実施形態においては、座標移動の有無を判定する結果、その処理に時間が掛かる。このため、第1の実施形態に係るタッチパネル装置では、その分応答性が低下する。   In the above-described first embodiment, as a result of determining the presence / absence of coordinate movement, the processing takes time. Therefore, in the touch panel device according to the first embodiment, the responsiveness is reduced accordingly.

ところで、タッチパネル107の特定の領域において、フリック又はタッチム−ブを受け付けない特定のモ−ドが設定された場合には、当該特定の領域においてはシングルタッチを除外することができる。よって、特定モードの際には、特定の領域において第1の実施形態のようにシングルタッチの誤検出を防ぐため、第2の閾値Z2を第1の閾値Z1よりも高く設定する必要はない。つまり、第2の閾値Z2を第1の閾値Z1と等しくすることができる。言い換えると、座標移動の有無を確認する必要がなく、応答性が向上する。   By the way, when a specific mode in which a flick or a touch move is not accepted is set in a specific area of the touch panel 107, a single touch can be excluded in the specific area. Therefore, in the specific mode, it is not necessary to set the second threshold value Z2 higher than the first threshold value Z1 in the specific area in order to prevent erroneous single touch detection as in the first embodiment. That is, the second threshold value Z2 can be made equal to the first threshold value Z1. In other words, there is no need to check for the presence or absence of coordinate movement, and the responsiveness improves.

図5Aおよび図5Bは、本発明の第2の実施形態に係るタッチパネル装置の動作を説明するためのフローチャートである。   5A and 5B are flowcharts for explaining the operation of the touch panel device according to the second embodiment of the present invention.

なお、図示のフローチャートに係る処理は、ROM102に記録されたプログラムをRAM103に展開してCPU101が実行することによって行われる。また、図示のフローチャートにおいて、図3Aおよび図3Bに示すフローチャートのステップと同一のステップについて同一の参照符号を付して説明を省略する。   The processing according to the illustrated flowchart is performed by expanding the program recorded in the ROM 102 into the RAM 103 and executing the program by the CPU 101. In the illustrated flowchart, the same steps as those in the flowcharts illustrated in FIGS. 3A and 3B are denoted by the same reference numerals, and description thereof is omitted.

ステップS301においてタッチパネル制御部105によってタッチパネル107に対する接触(タッチ操作)が検知されると、CPU101は前述の特定モードが設定されているか否かを判定する(ステップS501)。特定のモ−ドが設定されていると(ステップS501において、YES)、CPU101はタッチパネル107において特定の領域を指定する(ステップS502)。その後、CPU101はタッチパネル制御部105を制御してステップS302の処理を行う。   When the touch panel control unit 105 detects a touch (touch operation) on the touch panel 107 in step S301, the CPU 101 determines whether the above-described specific mode is set (step S501). If the specific mode is set (YES in step S501), CPU 101 specifies a specific area on touch panel 107 (step S502). After that, the CPU 101 controls the touch panel control unit 105 to perform the process of step S302.

一方、特定のモ−ドが設定されていないと(ステップS501において、NO)、CPU101はタッチパネル制御部105を制御してステップS302の処理を行う。   On the other hand, if the specific mode is not set (NO in step S501), CPU 101 controls touch panel control unit 105 to perform the process in step S302.

ステップ303において、接触抵抗値Rt(第1の抵抗値検出結果)が第1の閾値Z1以上であると(ステップS303において、YES)、CPU101はタッチパネル制御部105を制御して押下箇所のX座標およびY座標(第4の座標測定結果)を検出(測定)する(ステップS503)。   If the contact resistance value Rt (first resistance value detection result) is equal to or greater than the first threshold value Z1 in step 303 (YES in step S303), the CPU 101 controls the touch panel control unit 105 to control the X coordinate of the pressed position. And the Y coordinate (fourth coordinate measurement result) is detected (measured) (step S503).

続いて、CPU101は、ステップS503で得られたXY座標(第4の座標測定結果)が特定の領域内にあるか否かを判定する(ステップS504)。第4の座標測定結果が特定領域内にあると(ステップS504において、YES)、CPU101は第2の閾値Z2=第1の閾値Z1とする(ステップS505)。その後、CPU101はステップS304の処理に進む。   Subsequently, the CPU 101 determines whether or not the XY coordinates (fourth coordinate measurement result) obtained in step S503 are within a specific area (step S504). If the fourth coordinate measurement result is within the specific area (YES in step S504), CPU 101 sets second threshold value Z2 = first threshold value Z1 (step S505). After that, the CPU 101 proceeds to the process of step S304.

S501の処理において特定モ−ドではないと判定した場合には、CPU101はステップS504の処理において第4の座標測定結果が特定領域外に位置すると判定する。そして、第4の座標測定結果が特定領域外に位置すると(ステップS504において、NO)、CPU101はステップS304の処理に進む。   If it is determined in step S501 that the current mode is not the specific mode, the CPU 101 determines in step S504 that the fourth coordinate measurement result is located outside the specific area. If the fourth coordinate measurement result is located outside the specific area (NO in step S504), CPU 101 proceeds to the process in step S304.

ステップS505の処理において、第2の閾値Z2=第1の閾値Z1とした場合には、押圧力が第2の閾値Z2未満になることはない。よって、この場合には、CPU101は、ステップS304の処理において押圧力が第2の閾値Z2(=第1の閾値Z1)以上であると判定すると、ステップS309の処理に進んでタッチダウンと判定する。   In the process of step S505, when the second threshold value Z2 is set to the first threshold value Z1, the pressing force does not become less than the second threshold value Z2. Therefore, in this case, if the CPU 101 determines that the pressing force is equal to or more than the second threshold value Z2 (= first threshold value Z1) in the processing of step S304, the CPU 101 proceeds to the processing of step S309 and determines that touch-down is performed. .

このように、ステップS505の処理において、第2の閾値Z2=第1の閾値Z1とした場合には、CPU101は、前述のステップS305〜S308の処理を省略する。これによって、処理時間を短くすることができる。   As described above, in the case where the second threshold value Z2 is equal to the first threshold value Z1 in the process of step S505, the CPU 101 omits the processes of steps S305 to S308 described above. Thereby, the processing time can be shortened.

その後、ステップS310〜S316の処理が行われる。ステップS316において、移動がないと(ステップS316において、NO)、CPU101は、タッチ操作した位置の座標が特定領域内にあるか否かを判定する(ステップS506)。タッチ操作した位置の座標が特定領域内にあると(ステップS506において、YES)、CPU101は処理をステップS301に戻す。   Thereafter, the processing of steps S310 to S316 is performed. If there is no movement in step S316 (NO in step S316), CPU 101 determines whether or not the coordinates of the touched position are within the specific area (step S506). When the coordinates of the touched position are within the specific area (YES in step S506), CPU 101 returns the process to step S301.

一方、タッチ操作した位置の座標が特定領域外にあると(ステップS506において、NO)、CPU101はステップS317においてシングルタッチと判定する。   On the other hand, if the coordinates of the touched position are outside the specific area (NO in step S506), CPU 101 determines in step S317 that the touch is a single touch.

ところで、前述のように、タッチ操作した位置の座標が特定の領域内にある場合には、CPU101はシングルタッチを受け付けることはない。このため、ステップS506の処理において、タッチ操作した位置の座標が特定の領域内にあるか否かを判定する。そして、タッチ操作した位置の座標が特定の領域内にあると判定した場合には、シングルタッチを受け付けることなく、CPU101は処理をステップS301に戻す。   By the way, as described above, when the coordinates of the position where the touch operation is performed are within the specific area, the CPU 101 does not receive a single touch. For this reason, in the process of step S506, it is determined whether or not the coordinates of the position where the touch operation is performed are within a specific area. If it is determined that the coordinates of the touched position are within the specific area, the CPU 101 returns the process to step S301 without accepting a single touch.

このように、本発明の第2の実施形態では、特定モードが設定された際には、第2閾値Z2=第1の閾値Z1として、図3Aに示すステップS304〜S308の処理を省略して処理時間を短縮させて、応答性を向上させることができる。   As described above, in the second embodiment of the present invention, when the specific mode is set, the second threshold value Z2 is set to the first threshold value Z1, and the processing of steps S304 to S308 illustrated in FIG. 3A is omitted. The response time can be improved by shortening the processing time.

なお、第2の実施形態においても、第1の実施形態と同様に、ステップS311およびS319を除く処理は、タッチパネル制御部105が行ってもよい。この場合には、第1の実施形態と同様に、ステップS309、S315、S318、およびS317では、それぞれタッチダウン、タッチアップ(フリック)、タッチアップ(ムーブ終了)、タッチアップ(シングルタッチでのタッチアップ)があったことをタッチパネル制御部105がCPU101に通知する。CPU101はこれらの通知を受けて、UI表示への反映や、スクロール、タッチされたアイコンの機能実行などのタッチ操作に応じた処理を実行する。   Note that, in the second embodiment as well, in the same manner as in the first embodiment, processes other than steps S311 and S319 may be performed by the touch panel control unit 105. In this case, as in the first embodiment, in steps S309, S315, S318, and S317, touch-down, touch-up (flick), touch-up (move end), and touch-up (touch by single touch) are performed, respectively. Touch-panel control unit 105 notifies CPU 101 of the occurrence of “up”. Upon receiving these notifications, the CPU 101 executes processing corresponding to a touch operation such as reflection on the UI display, scrolling, and execution of a function of the touched icon.

[第3の実施形態]
続いて、本発明の第3の実施形態による電子機器の1つであるタッチパネル装置について説明する。なお、第3の実施形態に係るタッチパネル装置の構成は、図1に示すタッチパネル装置と同様である。
[Third Embodiment]
Subsequently, a touch panel device which is one of the electronic devices according to the third embodiment of the present invention will be described. The configuration of the touch panel device according to the third embodiment is the same as that of the touch panel device shown in FIG.

ところで、上述のタッチパネル装置を備える携帯端末装置においては、例えば、電源を投入した状態でカバンに入れてしまうことがある。さらには、カバンに入れた携帯端末装置が誤って起動することがある。そして、電源が投入された状態でタッチパネル107が誤って押された状態となると、自動電源オフ機能が作動せず、端末装置、つまり、タッチパネル装置は起動した状態を継続することになる。さらに、前述の第1の閾値Z1が低く設定されていると、タッチ操作が連続的に検出された状態となってタッチパネル装置は起動した状態を継続することになる。   By the way, in the portable terminal device provided with the above-mentioned touch panel device, for example, there is a case where the portable terminal device is put in a bag with the power turned on. Furthermore, the portable terminal device put in the bag may be activated by mistake. If the touch panel 107 is pressed by mistake while the power is turned on, the automatic power-off function does not operate, and the terminal device, that is, the touch panel device continues to be activated. Furthermore, if the above-mentioned first threshold value Z1 is set low, the touch operation is continuously detected, and the touch panel device continues to be activated.

そこで、第3の実施形態に係るタッチパネル装置では、CPU101はタッチパネル107をタッチ操作している時間(つまり、押圧時間)を計時する。そして、押圧力が第1の閾値Z1以上であって、押圧時間(つまり、計時時間)が所定の時間となると、CPU101は、例えば、タッチパネル101が異物などによって押圧されていると判定して電源をオフする。   Therefore, in the touch panel device according to the third embodiment, the CPU 101 measures the time during which the touch operation is being performed on the touch panel 107 (that is, the pressing time). When the pressing force is equal to or greater than the first threshold value Z1 and the pressing time (that is, the clocking time) reaches a predetermined time, the CPU 101 determines that the touch panel 101 has been pressed by a foreign object or the like, Turn off.

図6Aおよび図6Bは、本発明の第3の実施形態に係るタッチパネル装置の動作を説明するためのフローチャートである。   6A and 6B are flowcharts for explaining the operation of the touch panel device according to the third embodiment of the present invention.

なお、図示のフローチャートに係る処理は、ROM102に記録されたプログラムをRAM103に展開してCPU101が実行することによって行われる。また、図示のフローチャートにおいて、図3Aおよび図3Bに示すフローチャートのステップと同一のステップについて同一の参照符号を付して説明を省略する。   The processing according to the illustrated flowchart is performed by expanding the program recorded in the ROM 102 into the RAM 103 and executing the program by the CPU 101. In the illustrated flowchart, the same steps as those in the flowcharts illustrated in FIGS. 3A and 3B are denoted by the same reference numerals, and description thereof is omitted.

ステップS303の処理において、押圧力が第1の閾値Z1以上であると(ステップS303において、YES)、CPU101は所定の時間の計測を開始する(ステップS601)。そして、CPU101はステップS304の処理に進む。   In the process of step S303, if the pressing force is equal to or greater than the first threshold value Z1 (YES in step S303), CPU 101 starts measuring a predetermined time (step S601). Then, the CPU 101 proceeds to the process of step S304.

ステップS304の処理において、押圧力が第2の閾値Z2未満であると(ステップS304において、YES)、CPU101は、計時開始から所定の時間が経過したか否かを判定する(ステップS602)。所定の時間が経過すると(ステップS602において、YES)、CPU101はタッチパネル装置の電源をオフとする(ステップS603)。そして、CPU101は処理を終了する。   In the process of step S304, if the pressing force is less than the second threshold value Z2 (YES in step S304), CPU 101 determines whether a predetermined time has elapsed from the start of time measurement (step S602). When the predetermined time has elapsed (YES in step S602), CPU 101 turns off the power of the touch panel device (step S603). Then, the CPU 101 ends the processing.

一方、所定の時間が経過していないと(ステップS602において、NO)、CPU101はステップS305〜S312の処理を行う。   On the other hand, if the predetermined time has not elapsed (NO in step S602), CPU 101 performs the processing in steps S305 to S312.

ステップS312の処理の後、CPU101は、再び計時開始から所定の時間が経過したか否かを判定する(ステップS604)。所定の時間が経過すると(ステップS604において、YES)、CPU101はタッチパネル装置の電源をオフとする(ステップS605)。そして、CPU101は処理を終了する。   After the process in step S312, the CPU 101 determines again whether a predetermined time has elapsed since the start of the timing (step S604). When a predetermined time has elapsed (YES in step S604), CPU 101 turns off the power of the touch panel device (step S605). Then, the CPU 101 ends the processing.

一方、所定の時間が経過していないと(ステップS604において、NO)、CPU101はステップS313〜S319の処理を行う。   On the other hand, if the predetermined time has not elapsed (NO in step S604), CPU 101 performs the processing in steps S313 to S319.

このようにして、所定の時間が経過すると電源をオフとすれば、カバンに入れた携帯端末装置などにおいてタッチパネルが押圧された状態となっても、いずれは所定の時間が経過してステップS603又はS605において電源がオフとされる。   In this way, if the power is turned off after the predetermined time elapses, even if the touch panel is pressed in a portable terminal device or the like put in a bag, the predetermined time elapses in step S603 or In step S605, the power is turned off.

なお、図6Aおよび図6Bおいては、図3Aおよび図3Bに示すフローチャートの処理において電源をオフする場合について説明したが、図5Aおよび図5Bに示すフローチャートの処理においても同様にして適用することができる。   6A and 6B, the case where the power is turned off in the processing of the flowcharts shown in FIGS. 3A and 3B has been described. However, the same applies to the processing of the flowcharts shown in FIGS. 5A and 5B. Can be.

このように、本発明の第3の実施形態では、ユーザなどの人間の操作ではなく、例えば、異物によってタッチパネルが押圧されている状態においては所定の時間が経過すると電源がオフされるので、電源を無駄に消耗することがない。   As described above, according to the third embodiment of the present invention, the power is turned off after a predetermined time elapses in a state where the touch panel is pressed by a foreign object, not by a human operation such as a user. Is not wasted.

上述の第3の実施形態では、図6Aおよび図6Bに示す処理をCPU101が行うものとして説明したが、ステップS603、S605、S311、およびS319を除く処理は、タッチパネル制御部105が行ってもよい。この場合には、第1の実施形態と同様に、ステップS309、S315、S318、およびS317では、それぞれタッチダウン、タッチアップ(フリック)、タッチアップ(ムーブ終了)、タッチアップ(シングルタッチでのタッチアップ)があったことをタッチパネル制御部105がCPU101に通知する。CPU101はこれらの通知を受けて、UI表示への反映や、スクロール、タッチされたアイコンの機能実行などのタッチ操作に応じた処理を実行する。   In the above-described third embodiment, the processing illustrated in FIGS. 6A and 6B has been described as being performed by the CPU 101. However, the processing excluding steps S603, S605, S311, and S319 may be performed by the touch panel control unit 105. . In this case, as in the first embodiment, in steps S309, S315, S318, and S317, touch-down, touch-up (flick), touch-up (move end), and touch-up (touch by single touch) are performed, respectively. Touch-panel control unit 105 notifies CPU 101 of the occurrence of “up”. Upon receiving these notifications, the CPU 101 executes processing corresponding to a touch operation such as reflection on the UI display, scrolling, and execution of a function of the touched icon.

なお、上述のCPU101による制御は1つのハードウェアが行ってもよいし、複数のハードウェアが処理を分担することで、装置全体の制御を行ってもよい。   Note that the control by the CPU 101 may be performed by one piece of hardware, or a plurality of pieces of hardware may share the processing, thereby controlling the entire apparatus.

また、本発明をその好適な実施形態に基づいて詳述してきたが、本発明はこれら特定の実施形態に限られるものではなく、この発明の要旨を逸脱しない範囲の様々な形態も本発明に含まれる。さらに、上述した各実施形態は本発明の一実施形態を示すものにすぎず、各実施形態を適宜組み合わせることも可能である。   Although the present invention has been described in detail based on the preferred embodiments, the present invention is not limited to these specific embodiments, and various forms that do not depart from the gist of the present invention are also included in the present invention. included. Furthermore, each of the above-described embodiments is merely an embodiment of the present invention, and the embodiments can be appropriately combined.

また、上述した実施形態においては、本発明を電子機器の1つであるタッチパネル装置に適用した場合を例にして説明したが、これはこの例に限定されずタッチパネルを備える電子機器であれば適用可能である。すなわち、本発明はパーソナルコンピュータやPDA、携帯電話端末や携帯型の画像ビューワ、ディスプレイを備えるプリンタ装置、デジタルフォトフレーム、タッチパネルを備える音楽プレーヤー、ゲーム機、電子ブックリーダーなどに適用可能である。   Further, in the above-described embodiment, the case where the present invention is applied to a touch panel device, which is one of electronic devices, has been described as an example. However, the present invention is not limited to this example. It is possible. That is, the present invention can be applied to a personal computer, a PDA, a mobile phone terminal, a portable image viewer, a printer device having a display, a digital photo frame, a music player having a touch panel, a game machine, an electronic book reader, and the like.

[その他の実施形態]
本発明は、上述の実施形態の1以上の機能を実現するプログラムを、ネットワーク又は記憶媒体を介してシステム又は装置に供給し、そのシステム又は装置のコンピュータにおける1つ以上のプロセッサーがプログラムを読出し実行する処理でも実現可能である。また、1以上の機能を実現する回路(例えば、ASIC)によっても実現可能である。
[Other Embodiments]
The present invention supplies a program for realizing one or more functions of the above-described embodiments to a system or an apparatus via a network or a storage medium, and one or more processors in a computer of the system or the apparatus read and execute the program. This processing can be realized. Further, it can be realized by a circuit (for example, an ASIC) that realizes one or more functions.

101 CPU
102 ROM
103 RAM
104 操作部
105 タッチパネル制御部
106 表示部
107 タッチパネル
108 システムバス
101 CPU
102 ROM
103 RAM
104 operation unit 105 touch panel control unit 106 display unit 107 touch panel 108 system bus

Claims (8)

感圧式のタッチパネルと、
前記タッチパネルに対して予め定められた第1の圧力以上でかつ当該第1の圧力よりも高い第2の圧力未満の押圧がある場合に押圧の位置が所定の条件を満たして移動していない場合は、タッチ位置にかかわらず前記第1の圧力以上の押圧があってもタッチ操作の開始を示すタッチダウンに応じた表示の変更を行わず、前記押圧の位置が前記所定の条件を満たして移動をしている場合は、ユーザの押圧が前記第2の圧力を超えていなくとも前記タッチダウンに応じた表示の変更を行うように制御し、前記第2の圧力以上の押圧がある場合は、前記押圧の位置が前記所定の条件を満たして移動していなくとも前記タッチダウンに応じた表示の変更を行うように制御する制御手段と、
を有すること特徴とする電子機器。
A pressure-sensitive touch panel,
When the first and at least a pressure higher second than the first pressure of the pressure below the pressure there Ru predetermined on the touch panel, the position of the pressing is not moving satisfies a predetermined condition If not, without displaying changes in accordance with the touchdown indicating the start of even a touch operation if there is pressing at least the first pressure regardless of the touch position, the position of the pressing satisfies the predetermined condition In the case where the user is moving, control is performed such that the display is changed in accordance with the touchdown even if the user's pressing does not exceed the second pressure, and when there is a pressing of the second pressure or more. Control means for controlling the change of display according to the touchdown even if the position of the pressing does not move while satisfying the predetermined condition,
An electronic device comprising:
前記タッチダウンに応じた表示の変更とは、表示手段に表示されている選択項目について、ユーザのタッチ位置に表示されている前記選択項目の表示形態を変化させるような通知であることを特徴とする請求項1に記載の電子機器。The change of the display according to the touchdown is a notification that changes a display mode of the selection item displayed at the touch position of the user with respect to the selection item displayed on the display unit. The electronic device according to claim 1. 前記制御手段は、前記タッチパネルの特定の領域を特定のタッチ操作を受け付けない領域として指定した際、前記特定の領域においてタッチ操作があると、前記第1の圧力と前記第2の圧力とを等しくすることを特徴とする請求項1または2に記載の電子機器。 The control means, when a specific area of the touch panel is specified as an area that does not accept a specific touch operation, if there is a touch operation in the specific area, the first pressure and the second pressure are equal the electronic device according to claim 1 or 2, characterized in that. 前記特定のタッチ操作とは、前記タッチパネルに対するシングルタッチであることを特徴とする請求項3に記載の電子機器。The electronic device according to claim 3, wherein the specific touch operation is a single touch on the touch panel. 前記タッチパネルが前記第1の圧力以上で押圧されている時間を計時する計時手段を備え、
前記制御手段は、前記計時手段による計時時間が所定の時間を経過すると電子機器の電源をオフとすることを特徴とする請求項1乃至のいずれか1項に記載の電子機器。
The touch panel further includes a timing unit that measures a time during which the touch panel is pressed with the first pressure or more,
Wherein, the electronic device according to any one of claims 1 to 4 time measured by the clock means is characterized in that the turning off the power supply of the electronic device after a lapse of the predetermined time.
感圧式のタッチパネルを備える電子機器の制御方法であって、
前記タッチパネルに対して予め定められた第1の圧力以上でかつ当該第1の圧力よりも高い第2の圧力未満の押圧がある場合に押圧の位置が所定の条件を満たして移動していない場合は、タッチ位置にかかわらず前記第1の圧力以上の押圧があってもタッチ操作の開始を示すタッチダウンに応じた表示の変更を行わない第1のステップと、
前記押圧の位置が前記所定の条件を満たして移動をしている場合は、ユーザの押圧が前記第2の圧力を超えていなくとも前記タッチダウンに応じた表示の変更を行う第のステップと、
前記第2の圧力以上の押圧がある場合は、前記押圧の位置が前記所定の条件を満たして移動していなくとも前記タッチダウンに応じた表示の変更を行う第のステップと、
を有すること特徴とする制御方法。
A method for controlling an electronic device including a pressure-sensitive touch panel,
When the first and at least a pressure higher second than the first pressure of the pressure below the pressure there Ru predetermined on the touch panel, the position of the pressing is not moving satisfies a predetermined condition If not, a first step of not changing the display according to the touchdown indicating the start of the touch operation even if there is a pressure equal to or greater than the first pressure regardless of the touch position;
If the position of the pressing is to move satisfies the predetermined condition, a second step for changing the display in accordance with the touchdown without pressing users exceeds the second pressure ,
When said second there are more pressing pressure, a third step for changing the display in accordance with the touch-down even the position of the pressed not move satisfies the predetermined condition,
A control method comprising:
コンピュータを、請求項1乃至のいずれか1項に記載された電子機器の各手段として機能させるためのプログラム。 A program for a computer to function as each unit of the electronic apparatus according to any one of claims 1 to 5. コンピュータを、請求項1乃至のいずれか1項に記載された電子機器の各手段として機能させるためのプログラムを格納したコンピュータが読み取り可能な記憶媒体。 Computer, claims 1 to 5 stored a computer-readable storage medium storing a program to function as each unit of the electronic apparatus according to any one.
JP2015202783A 2015-10-14 2015-10-14 Electronic device, control method thereof, program, and storage medium Active JP6659109B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2015202783A JP6659109B2 (en) 2015-10-14 2015-10-14 Electronic device, control method thereof, program, and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2015202783A JP6659109B2 (en) 2015-10-14 2015-10-14 Electronic device, control method thereof, program, and storage medium

Publications (2)

Publication Number Publication Date
JP2017076217A JP2017076217A (en) 2017-04-20
JP6659109B2 true JP6659109B2 (en) 2020-03-04

Family

ID=58551328

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2015202783A Active JP6659109B2 (en) 2015-10-14 2015-10-14 Electronic device, control method thereof, program, and storage medium

Country Status (1)

Country Link
JP (1) JP6659109B2 (en)

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003015779A (en) * 2001-06-29 2003-01-17 Toshiba Corp Portable electronic equipment and method for saving power consumption of portable electronic equipment with pressure sensitive touch panel
JP4115198B2 (en) * 2002-08-02 2008-07-09 株式会社日立製作所 Display device with touch panel
US9069460B2 (en) * 2011-09-12 2015-06-30 Google Technology Holdings LLC Using pressure differences with a touch-sensitive display screen
KR101806350B1 (en) * 2012-05-09 2017-12-07 애플 인크. Device, method, and graphical user interface for selecting user interface objects

Also Published As

Publication number Publication date
JP2017076217A (en) 2017-04-20

Similar Documents

Publication Publication Date Title
AU2018282404B2 (en) Touch-sensitive button
AU2008258177B2 (en) Selective rejection of touch contacts in an edge region of a touch surface
US10114485B2 (en) Keyboard and touchpad areas
JP5654118B2 (en) Touch panel device, display method thereof, and display program
US20130201131A1 (en) Method of operating multi-touch panel and terminal supporting the same
US9405370B2 (en) Electronic device and control method thereof
US9201587B2 (en) Portable device and operation method thereof
KR20140140407A (en) Terminal and method for controlling multi-touch operation in the same
US20150153925A1 (en) Method for operating gestures and method for calling cursor
KR20090106768A (en) User interface controlling method for mobile device
JP6659109B2 (en) Electronic device, control method thereof, program, and storage medium
JP6971772B2 (en) Input devices and programs
JP6971573B2 (en) Electronic devices, their control methods and programs
TW201106221A (en) Touch panel device
JP6584876B2 (en) Information processing apparatus, information processing program, and information processing method
US20210018996A1 (en) Hybrid stylus and touch input device communicating with same
JP6421973B2 (en) Information processing device
KR20100053001A (en) Information input method in touch-screen
WO2017070926A1 (en) Touch device
JP2017084165A (en) Touch operation processing device and touch operation processing program
JP2015191259A (en) Input interface, control method therefor, control program therefor, information terminal having input interface, control method therefor, and control program therefor

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20181001

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20190411

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20190514

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20190709

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20200204

R151 Written notification of patent or utility model registration

Ref document number: 6659109

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151