Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP6345476B2 - Information processing apparatus and information processing apparatus control method - Google Patents
[go: Go Back, main page]

JP6345476B2 - Information processing apparatus and information processing apparatus control method - Google Patents

Information processing apparatus and information processing apparatus control method Download PDF

Info

Publication number
JP6345476B2
JP6345476B2 JP2014094251A JP2014094251A JP6345476B2 JP 6345476 B2 JP6345476 B2 JP 6345476B2 JP 2014094251 A JP2014094251 A JP 2014094251A JP 2014094251 A JP2014094251 A JP 2014094251A JP 6345476 B2 JP6345476 B2 JP 6345476B2
Authority
JP
Japan
Prior art keywords
time
condition
value
sensor
sensor value
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.)
Expired - Fee Related
Application number
JP2014094251A
Other languages
Japanese (ja)
Other versions
JP2015210801A (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.)
Sharp Corp
Original Assignee
Sharp 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 Sharp Corp filed Critical Sharp Corp
Priority to JP2014094251A priority Critical patent/JP6345476B2/en
Priority to PCT/JP2015/062871 priority patent/WO2015166958A1/en
Publication of JP2015210801A publication Critical patent/JP2015210801A/en
Application granted granted Critical
Publication of JP6345476B2 publication Critical patent/JP6345476B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Telephone Function (AREA)

Description

本発明は、接触センサの検出結果に応じて、所定の処理を実行することが可能な情報処理装置に関する。   The present invention relates to an information processing apparatus capable of executing a predetermined process according to a detection result of a contact sensor.

従来、スマートフォンなどの情報処理装置に備えられたセンサによる検出結果に応じて、情報処理装置にて実行する処理を決定する技術がある。例えば、特許文献1には、情報処理装置である携帯端末の両端に静電容量センサの電極を配置し、両方の電極に触れたか否か、および触れた指の本数により、携帯端末にて実行する処理を決定する技術が開示されている。   Conventionally, there is a technique for determining a process to be executed by an information processing device in accordance with a detection result by a sensor provided in the information processing device such as a smartphone. For example, in Patent Document 1, the electrodes of a capacitance sensor are arranged at both ends of a mobile terminal that is an information processing apparatus, and the process is executed on the mobile terminal depending on whether or not both electrodes are touched and the number of touched fingers. A technique for determining the processing to be performed is disclosed.

特開2011−119959号公報(2011年6月16日公開)JP 2011-119959 A (released on June 16, 2011)

特許文献1に記載されているような接触センサは、温度などの環境の変化によって、物体が非接触のときのセンサ値が変化する場合がある。そのため、非接触状態におけるセンサ値を表すための基準レベルが、定期的に較正される。物体が接触したか否かを判定するための閾値は、基準レベルの増減に合わせて変更される。   In the contact sensor described in Patent Document 1, the sensor value when the object is not in contact may change due to a change in environment such as temperature. Therefore, the reference level for representing the sensor value in the non-contact state is periodically calibrated. The threshold for determining whether or not an object has touched is changed according to the increase or decrease of the reference level.

外的要因(無線通信などの電磁波のノイズ、落下による衝撃など)によって接触センサから出力されるセンサ値が一時的に変化することがある。ここでは、ユーザの手が接触センサに接触するなどして静電容量が増加する場合にセンサ値が「下降」し、配線部のインピーダンスが増加するなどして静電容量が減少する場合にセンサ値が「上昇」するとする。従来の技術では、例えばノイズによって一時的にセンサ値が上昇している時に基準レベルの較正を行ってしまうことが考えられる。その場合、基準レベルが、非接触状態におけるノイズがないときのセンサ値より大きな値に設定されてしまう。また、基準レベルに応じて物体が接触したか否かを判定するための閾値も追従して補正されるため、ノイズがないときの上記閾値より大きく設定されてしまう。その結果、物体が接触しているか否かを誤判定してしまうという問題が生じる。   The sensor value output from the contact sensor may change temporarily due to external factors (such as noise of electromagnetic waves such as wireless communication, impact caused by dropping, etc.). Here, if the capacitance increases due to the user's hand touching the contact sensor, etc., the sensor value will “decrease”, and if the capacitance decreases due to an increase in the impedance of the wiring section, etc. Suppose the value is “rising”. In the conventional technique, it is conceivable that the reference level is calibrated when the sensor value is temporarily increased due to, for example, noise. In that case, the reference level is set to a value larger than the sensor value when there is no noise in the non-contact state. In addition, the threshold value for determining whether or not the object has touched according to the reference level is also corrected following the threshold level, so that it is set larger than the above threshold value when there is no noise. As a result, there arises a problem that it is erroneously determined whether or not an object is in contact.

本発明は、接触センサの誤判定を防ぐことができる情報処理装置を提供することを目的とする。   An object of this invention is to provide the information processing apparatus which can prevent the misjudgment of a contact sensor.

本発明の一態様に係る情報処理装置は、把持部を把持したユーザの手が接触する位置に設けられ、センサ値を出力する接触センサを備え、把持の有無を判定するための基準を与えるため、把持されていないときの上記センサ値を表すための基準値が変更可能に設定された情報処理装置であって、上記センサ値が把持されるに伴って変化する方向を負方向と定義した場合、第1時刻から第2時刻までの上記センサ値の上昇量が正の第1閾値より大きく、かつ、上記第2時刻の上記センサ値が上記第1時刻の上記基準値より大きければ、第1条件を満たすと判定する第1判定手段と、第3時刻から上記第2時刻より後の第4時刻までの上記センサ値の上昇量が正の第2閾値より大きく、かつ、上記第4時刻の上記センサ値が上記第3時刻の上記基準値より大きければ、第2条件を満たすと判定する第2判定手段と、上記第1条件および上記第2条件の両方が満たされると、上記基準値を正方向に補正し、上記第1条件および上記第2条件の一方でも満たされないと、上記基準値を上記第1時刻の値にする較正手段とを備える。   An information processing apparatus according to an aspect of the present invention is provided with a contact sensor that outputs a sensor value provided at a position where a user's hand holding a gripping unit touches, and provides a reference for determining whether or not the gripping is performed An information processing apparatus in which a reference value for expressing the sensor value when not being gripped is set to be changeable, and a direction that changes as the sensor value is gripped is defined as a negative direction If the amount of increase in the sensor value from the first time to the second time is greater than the positive first threshold and the sensor value at the second time is greater than the reference value at the first time, the first A first determination means for determining that the condition is satisfied; an increase amount of the sensor value from a third time to a fourth time after the second time is greater than a positive second threshold value; The sensor value is the base of the third time. If both of the first condition and the second condition are satisfied, the reference value is corrected in the positive direction when both the first condition and the second condition are satisfied. And calibration means for setting the reference value to the value at the first time when one of the second conditions is not satisfied.

本発明の一態様に係る情報処理装置の制御方法は、把持部を把持したユーザの手が接触する位置に設けられ、センサ値を出力する接触センサを備え、把持の有無を判定するための基準を与えるため、把持されていないときの上記センサ値を表すための基準値が変更可能に設定された情報処理装置の制御方法であって、上記センサ値が把持されるに伴って変化する方向を負方向と定義した場合、第1時刻から第2時刻までの上記センサ値の上昇量が正の第1閾値より大きく、かつ、上記第2時刻の上記センサ値が上記第1時刻の上記基準値より大きければ、第1条件を満たすと判定する第1判定ステップと、第3時刻から上記第2時刻より後の第4時刻までの上記センサ値の上昇量が正の第2閾値より大きく、かつ、上記第4時刻の上記センサ値が上記第3時刻の上記基準値より大きければ、第2条件を満たすと判定する第2判定ステップと、上記第1条件および上記第2条件の両方が満たされると、上記基準値を正方向に補正し、上記第1条件および上記第2条件の一方でも満たされないと、上記基準値を上記第1時刻の値にする較正ステップとを含む。   A control method for an information processing device according to an aspect of the present invention includes a contact sensor that is provided at a position where a user's hand that grips a gripping unit touches and outputs a sensor value, and a reference for determining whether or not the grip is held In order to change the reference value for representing the sensor value when the sensor value is not gripped, and the direction in which the sensor value changes as the sensor value is gripped. When the negative direction is defined, the increase amount of the sensor value from the first time to the second time is larger than the positive first threshold value, and the sensor value at the second time is the reference value at the first time. If it is larger, the first determination step for determining that the first condition is satisfied, the amount of increase in the sensor value from the third time to the fourth time after the second time is greater than the positive second threshold, and The sensor at the fourth time Is greater than the reference value at the third time, the second determination step for determining that the second condition is satisfied, and when both the first condition and the second condition are satisfied, the reference value is set in the positive direction. And a calibration step for correcting the reference value to the value of the first time when one of the first condition and the second condition is not satisfied.

本発明の一態様によれば、ノイズなどの外的要因による短期的かつ一時的なセンサ値の上昇によって基準値が不要に較正されて誤判定が生じることを、回避することができる。   According to one embodiment of the present invention, it is possible to avoid an erroneous determination caused by unnecessary calibration of a reference value due to a short-term and temporary increase in sensor value due to external factors such as noise.

本発明の一実施形態に係る携帯端末(情報処理装置)の要部構成の一例を示すブロック図である。It is a block diagram which shows an example of a principal part structure of the portable terminal (information processing apparatus) which concerns on one Embodiment of this invention. 本発明の一実施形態に係る携帯端末(情報処理装置)の外観を示す概略図である。It is the schematic which shows the external appearance of the portable terminal (information processing apparatus) which concerns on one Embodiment of this invention. 周期的な電磁波ノイズによる影響を受けた場合の、参考例における基準レベルの較正処理を示す図である。It is a figure which shows the calibration process of the reference | standard level in a reference example when it receives to the influence by periodic electromagnetic wave noise. 本発明の一実施形態に係る上昇判定部の判定処理を示すタイミングチャートである。It is a timing chart which shows the determination process of the raise determination part which concerns on one Embodiment of this invention. 本発明の一実施形態に係る上昇較正部の基準レベルの較正処理を示すタイミングチャートである。It is a timing chart which shows the calibration process of the reference | standard level of the raise calibration part which concerns on one Embodiment of this invention. 周期的な電磁波ノイズによる影響を受けた場合の、本発明の一実施形態における基準レベルの較正処理を示す図である。It is a figure which shows the calibration process of the reference level in one Embodiment of this invention when it receives to the influence by periodic electromagnetic wave noise. 本発明の他の実施形態における上昇較正部の基準レベルの較正処理を示すタイミングチャートである。It is a timing chart which shows the calibration process of the reference | standard level of the raise calibration part in other embodiment of this invention. 本発明の他の実施形態における上昇較正部の基準レベルの較正処理を示すタイミングチャートである。It is a timing chart which shows the calibration process of the reference | standard level of the raise calibration part in other embodiment of this invention. 本発明の一実施形態における基準レベルの較正処理の例を示すタイミングチャートである。It is a timing chart which shows the example of the calibration process of the reference level in one Embodiment of this invention. 本発明の他の実施形態における基準レベルの較正処理の例を示すタイミングチャートである。It is a timing chart which shows the example of the calibration process of the reference level in other embodiment of this invention. 本発明の他の実施形態における基準レベルの較正処理の例を示すタイミングチャートである。It is a timing chart which shows the example of the calibration process of the reference level in other embodiment of this invention.

以下、本発明の実施形態について、詳細に説明する。以下の特定の項目(実施形態)における構成について、それが他の項目で説明されている構成と同じである場合は、説明を省略する場合がある。また、説明の便宜上、各項目に示した部材と同一の機能を有する部材については、同一の符号を付し、適宜その説明を省略する。   Hereinafter, embodiments of the present invention will be described in detail. The configuration of the following specific items (embodiments) may be omitted if it is the same as the configuration described in other items. For convenience of explanation, members having the same functions as those shown in each item are given the same reference numerals, and the explanation thereof is omitted as appropriate.

また、以下の説明では情報処理装置の一例として携帯端末を例に、また把持部として携帯端末の筺体を例にして説明するが、これに限定されるものではなく、人が把持する部分を有する機器であれば本発明を適用できる。情報処理装置としては、例えば、スマートフォン、携帯電話、タブレット端末、リモコン、ドライヤー、掃除機、その他ハンドルで操作する情報処理装置等が含まれる。情報処理装置は、把持の有無に応じた処理を行う。   In the following description, a portable terminal is taken as an example of an information processing apparatus, and a case of a portable terminal is taken as an example of a gripping portion. However, the present invention is not limited to this, and has a portion that a person grips. The present invention can be applied to any device. Examples of the information processing device include a smartphone, a mobile phone, a tablet terminal, a remote controller, a dryer, a vacuum cleaner, and other information processing devices operated with a handle. The information processing apparatus performs processing according to the presence or absence of gripping.

〔実施形態1〕
(携帯端末1の構成)
図2は、本実施形態に係る携帯端末1の外観を示す概略図である。携帯端末1は、筐体の少なくとも1つの面に表示部10(タッチパネル等)を備えている。なお、表示部10を備える面を携帯端末1の「正面」と呼称する。また、携帯端末1は、携帯端末1の筐体を把持したユーザの手が携帯端末1に接触する位置に、接触センサ11を備えている。例えば、図2に示すように、携帯端末1は、上記正面の長辺と隣接する2つの面(当該2つの面を携帯端末1の「側面」と呼称する)に、それぞれ1つずつの接触センサ11を備えている。なお、接触センサ11の数、および、接触センサ11が配置される範囲は、図2に示すような例に限定されず、例えば、接触センサ11が上記各側面に複数配置されてもよいし、接触センサ11が側面全体に配置されてもよい。接触センサ11は、筐体の外に露出してもよいし、筐体の中に配置されていてもよい。換言すれば、接触センサは、筐体を把持したユーザの手の位置に対応する位置に設けられていればよい。
Embodiment 1
(Configuration of mobile terminal 1)
FIG. 2 is a schematic diagram illustrating an appearance of the mobile terminal 1 according to the present embodiment. The mobile terminal 1 includes a display unit 10 (such as a touch panel) on at least one surface of the housing. Note that the surface provided with the display unit 10 is referred to as the “front” of the mobile terminal 1. In addition, the mobile terminal 1 includes a contact sensor 11 at a position where a user's hand holding the casing of the mobile terminal 1 contacts the mobile terminal 1. For example, as illustrated in FIG. 2, the mobile terminal 1 is in contact with two surfaces adjacent to the long side of the front (the two surfaces are referred to as “side surfaces” of the mobile terminal 1). A sensor 11 is provided. Note that the number of contact sensors 11 and the range in which the contact sensors 11 are arranged are not limited to the example shown in FIG. 2. For example, a plurality of contact sensors 11 may be arranged on each side surface. The contact sensor 11 may be disposed on the entire side surface. The contact sensor 11 may be exposed to the outside of the casing or may be disposed in the casing. In other words, the contact sensor should just be provided in the position corresponding to the position of the user's hand holding the housing.

図1は、携帯端末1の要部構成の一例を示すブロック図である。携帯端末1は、接触センサ11、把持判定部12(把持判定装置)、およびホスト制御部13を備える情報処理装置である。なお、図1では図面の見やすさを考慮し、一部矢印を省略している。   FIG. 1 is a block diagram illustrating an example of a main configuration of the mobile terminal 1. The mobile terminal 1 is an information processing apparatus that includes a contact sensor 11, a grip determination unit 12 (grip determination device), and a host control unit 13. In FIG. 1, some arrows are omitted in consideration of the visibility of the drawing.

接触センサ11は、ユーザの手などの物体の接触を検出するセンサである。本実施形態では、接触センサ11は静電容量センサであるが、この例に限定されるものではない。接触センサ11として、圧力センサ、光センサなどを使用することもできる。なお、静電容量センサは、静電容量センサとユーザの手との間に筐体が介在しても、手の近接(筐体と手との接触)を検出することができる。接触センサ11は、把持判定部12からの指示に基づいて、物体の接触の有無に応じたセンサ値を把持判定部12に出力する。具体的には接触センサ11は、筐体の側面に配置された電極の静電容量の変化に応じたセンサ値を、把持判定部12に出力する。例えば、接触センサ11の出力信号の電位をセンサ値とする場合、筐体が把持されたときに電位が下降するか上昇するかは接触センサの種類によって異なる。ここでは、説明を統一するため、筐体が把持されるに伴ってセンサ値が変化する方向を、負方向と定義する。すなわち、筐体が把持されたときのセンサ値は、把持されていないときのセンサ値より小さい。   The contact sensor 11 is a sensor that detects contact of an object such as a user's hand. In the present embodiment, the contact sensor 11 is a capacitance sensor, but is not limited to this example. As the contact sensor 11, a pressure sensor, an optical sensor, or the like can be used. Note that the capacitance sensor can detect the proximity of the hand (contact between the housing and the hand) even if the housing is interposed between the capacitance sensor and the user's hand. The contact sensor 11 outputs a sensor value corresponding to the presence or absence of an object contact to the grip determination unit 12 based on an instruction from the grip determination unit 12. Specifically, the contact sensor 11 outputs a sensor value corresponding to a change in electrostatic capacitance of an electrode disposed on the side surface of the housing to the grip determination unit 12. For example, when the potential of the output signal of the contact sensor 11 is used as the sensor value, whether the potential decreases or increases when the housing is gripped depends on the type of the contact sensor. Here, in order to unify the description, the direction in which the sensor value changes as the casing is gripped is defined as the negative direction. That is, the sensor value when the casing is gripped is smaller than the sensor value when the casing is not gripped.

ホスト制御部13は、携帯端末1のホスト側の制御を主に担う。ホスト制御部13は、例えば表示部10の制御を行う。ホスト制御部13は、把持判定部12における把持の有無の判定結果に応じて、表示部10の表示を変更する。   The host control unit 13 mainly performs control on the host side of the mobile terminal 1. For example, the host control unit 13 controls the display unit 10. The host control unit 13 changes the display of the display unit 10 according to the determination result of the presence / absence of gripping in the gripping determination unit 12.

(把持判定部12の構成)
把持判定部12は、センサ制御部21、接触判定部22、較正部23、上昇判定部24、および上昇較正部25(較正手段)を備える。また、把持判定部12は、記憶部(図示せず)を備える。記憶部は、基準レベル(基準値)、把持閾値、および解放閾値などを記憶する。把持判定部12の各部は、記憶部からこれらの記憶された値を読み書きすることができる。
(Configuration of gripping determination unit 12)
The grip determination unit 12 includes a sensor control unit 21, a contact determination unit 22, a calibration unit 23, a rise determination unit 24, and a rise calibration unit 25 (calibration means). In addition, the grip determination unit 12 includes a storage unit (not shown). The storage unit stores a reference level (reference value), a gripping threshold value, a release threshold value, and the like. Each unit of the grip determination unit 12 can read and write these stored values from the storage unit.

基準レベルは、筐体がユーザに把持されていないときのセンサ値を表すためのものである。把持閾値は、筐体が把持されていることを判定するための閾値である。解放閾値は、把持から解放された(手が離れた)ことを判定するための閾値である。例えば、把持閾値は、基準レベルより小さい値に設定される。解放閾値は、基準レベルより小さく、かつ把持閾値より大きい値に設定される。基準レベルと把持閾値との差および基準レベルと解放閾値との差は、あらかじめ設定されている。すなわち基準レベルが決まれば、それに応じて把持閾値および解放閾値は自ずと決まる。このように、基準レベルは、把持の有無を判定するための基準(把持閾値、解放閾値)を与えるために変更可能に設定される変数である。ここでは、把持の有無をヒステリシスに判定するために把持閾値と解放閾値とは異なるが、同じ値としてもよい。また、基準レベル、把持閾値、および解放閾値は、接触センサ11ごとにそれぞれ設定される。   The reference level is for representing a sensor value when the casing is not gripped by the user. The gripping threshold value is a threshold value for determining that the housing is gripped. The release threshold value is a threshold value for determining that the hand is released from the grip (the hand is released). For example, the gripping threshold is set to a value smaller than the reference level. The release threshold is set to a value smaller than the reference level and larger than the grip threshold. The difference between the reference level and the grip threshold and the difference between the reference level and the release threshold are set in advance. That is, when the reference level is determined, the gripping threshold value and the release threshold value are automatically determined accordingly. As described above, the reference level is a variable that is set to be changeable in order to provide a reference (gripping threshold value, release threshold value) for determining whether or not there is gripping. Here, the gripping threshold value and the release threshold value are different in order to determine the presence / absence of gripping as hysteresis, but they may be the same value. In addition, the reference level, the grip threshold, and the release threshold are set for each contact sensor 11.

センサ制御部21は、所定のタイミングで接触センサ11を動作させ、接触センサ11の出力としてセンサ値を取得する。センサ制御部21は、一定期間ごとに接触センサ11からセンサ値を取得する。接触センサ11が複数ある場合、センサ制御部21は、一定期間ごとにそれぞれの接触センサ11からセンサ値を取得する。センサ制御部21は、センサ値を接触判定部22に出力する。   The sensor control unit 21 operates the contact sensor 11 at a predetermined timing, and acquires a sensor value as an output of the contact sensor 11. The sensor control unit 21 acquires a sensor value from the contact sensor 11 at regular intervals. When there are a plurality of contact sensors 11, the sensor control unit 21 acquires sensor values from the respective contact sensors 11 at regular intervals. The sensor control unit 21 outputs the sensor value to the contact determination unit 22.

接触判定部22は、センサ値と把持閾値とを比較し、センサ値が把持閾値より小さくなった場合、ユーザの手が(筐体を介して)接触センサ11に接触していると判定する。また、接触判定部22は、現時点で接触センサ11が接触状態であることを記憶する。さらに、接触判定部22は、センサ値と解放閾値とを比較し、センサ値が解放閾値より大きくなった場合、ユーザの手が接触センサ11から離れた(把持から解放された)と判定する。また、接触判定部22は、現時点で接触センサ11が非接触状態であることを記憶する。センサ値が把持閾値以上かつ解放閾値以下の場合、接触判定部22は、直前の状態(接触状態または非接触状態)が継続していると判定し、その状態を記憶し続ける。   The contact determination unit 22 compares the sensor value with the gripping threshold value, and determines that the user's hand is in contact with the contact sensor 11 (via the housing) when the sensor value becomes smaller than the gripping threshold value. Moreover, the contact determination part 22 memorize | stores that the contact sensor 11 is a contact state at this time. Furthermore, the contact determination unit 22 compares the sensor value with the release threshold value, and determines that the user's hand is separated from the contact sensor 11 (released from gripping) when the sensor value is greater than the release threshold value. Moreover, the contact determination part 22 memorize | stores that the contact sensor 11 is a non-contact state at this time. If the sensor value is greater than or equal to the grip threshold and less than or equal to the release threshold, the contact determination unit 22 determines that the immediately previous state (contact state or non-contact state) continues and continues to store the state.

接触判定部22は、複数の(両側の)接触センサ11が接触状態である場合、ユーザの手が筐体(携帯端末1)を把持していると判定する。例えば、片方の側面の接触センサ11だけが接触状態で、他方の側面の接触センサ11が非接触状態の場合、接触判定部22は、ユーザの手が筐体を把持していないと判定してもよい。なお、携帯端末1に設けられた接触センサ11が1つだけの場合、接触判定部22は、その接触センサ11の接触状態に基づいて把持の有無を判定する。接触判定部22は、把持の有無の判定結果情報を、ホスト制御部13に出力する。なお、以下の説明では簡単のため、1つの接触センサ11の接触状態の判定について説明する。   The contact determination part 22 determines with the user's hand holding the housing | casing (mobile terminal 1), when the some (both sides) contact sensor 11 is a contact state. For example, when only the contact sensor 11 on one side is in contact and the contact sensor 11 on the other side is in a non-contact state, the contact determination unit 22 determines that the user's hand is not gripping the housing. Also good. When there is only one contact sensor 11 provided in the mobile terminal 1, the contact determination unit 22 determines the presence or absence of gripping based on the contact state of the contact sensor 11. The contact determination unit 22 outputs determination result information regarding the presence or absence of gripping to the host control unit 13. In the following description, for the sake of simplicity, determination of the contact state of one contact sensor 11 will be described.

較正部23は、所定のタイミングでセンサ制御部21からセンサ値を取得し、センサ値に基づいて基準レベルを較正する。例えば較正部23は、一定期間ごとに基準レベルの較正を行う。また、較正部23は、携帯端末1の電源がオンになった時、および、把持判定の機能がオンに設定された時などにも基準レベルの較正を行う。較正部23は、センサ値を複数回取得し、複数のセンサ値の平均値(または中間値)を基準レベルとして設定する。基準レベルが変更されると、基準レベルを変更した情報に基づいて、把持閾値および解放閾値も変更される。これにより、温度などの環境変化に応じて、非接触時のセンサ値を表すための基準レベルを較正することができる。   The calibration unit 23 acquires the sensor value from the sensor control unit 21 at a predetermined timing, and calibrates the reference level based on the sensor value. For example, the calibration unit 23 calibrates the reference level at regular intervals. The calibration unit 23 also calibrates the reference level when the mobile terminal 1 is turned on and when the grip determination function is turned on. The calibration unit 23 acquires sensor values a plurality of times, and sets an average value (or intermediate value) of the plurality of sensor values as a reference level. When the reference level is changed, the gripping threshold value and the release threshold value are also changed based on the information for changing the reference level. Thereby, the reference level for expressing the sensor value at the time of non-contact can be calibrated according to environmental changes, such as temperature.

上昇判定部24は、センサ制御部21からセンサ値を取得する。上昇判定部24は、第1上昇判定部24a(第1判定手段)および第2上昇判定部24b(第2判定手段)を備える。第1上昇判定部24aは、所定の長さの第1期間Paにおいてセンサ値が所定の傾き以上の傾きで上昇しているか否かを判定する。具体的には、第1上昇判定部24aは、
(A)第1期間Paにおけるセンサ値の上昇量>正の第1閾値、
(B)第1期間Pa終了時のセンサ値>第1期間Pa開始時の基準レベル、
を満たす場合に、第1条件を満たすと判定する。ここで、センサ値の上昇量は、第1期間Pa終了時のセンサ値から第1期間Pa開始時のセンサ値を減算したものである。第1期間Paにおいてセンサ値が下降している場合は、「センサ値の上昇量」は負の値になる。第1閾値は所定の正の値であるので、判定式Aは、センサ値が所定の傾き以上の傾きで上昇しているか否かを判定するためのものである。
The rise determination unit 24 acquires a sensor value from the sensor control unit 21. The rise determination unit 24 includes a first rise determination unit 24a (first determination unit) and a second rise determination unit 24b (second determination unit). The first rise determination unit 24a determines whether or not the sensor value is rising at a slope equal to or greater than a predetermined slope in the first period Pa having a predetermined length. Specifically, the first rise determination unit 24a
(A) Increase amount of sensor value in first period Pa> positive first threshold value,
(B) sensor value at the end of the first period Pa> reference level at the start of the first period Pa;
When satisfy | filling, it determines with satisfy | filling 1st conditions. Here, the increase amount of the sensor value is obtained by subtracting the sensor value at the start of the first period Pa from the sensor value at the end of the first period Pa. When the sensor value is decreasing in the first period Pa, the “sensor value increase amount” is a negative value. Since the first threshold value is a predetermined positive value, the determination formula A is used to determine whether or not the sensor value is rising with a gradient equal to or greater than a predetermined gradient.

第2上昇判定部24bは、所定の長さの第2期間Pbにおいてセンサ値が所定の傾き以上の傾きで上昇しているか否かを判定する。具体的には、第2上昇判定部24bは、
(C)第2期間Pbにおけるセンサ値の上昇量>正の第2閾値、
(D)第2期間Pb終了時のセンサ値>第2期間Pb開始時の基準レベル、
を満たす場合に、第2条件を満たすと判定する。ここで、第2期間Pbの終了時は、第1期間Paの終了時より後である。第2上昇判定部24bは、第1上昇判定部24aより後のタイミングで、センサ値が所定の傾き以上の傾きで上昇しているか否かを判定する。第1期間Paの長さと第2期間Pbの長さ、第1閾値と第2閾値は、それぞれ同じであっても異なっていてもよい。第1閾値および第2閾値は、温度によるセンサ値の上昇では上記判定式A、Cが満たされない程度に、大きな値である。上昇判定部24は、第1上昇判定部24aの判定結果および第2上昇判定部24bの判定結果を、上昇較正部25に出力する。
The second increase determination unit 24b determines whether or not the sensor value is increasing with a gradient equal to or greater than a predetermined gradient in the second period Pb having a predetermined length. Specifically, the second rise determination unit 24b
(C) sensor value increase amount in second period Pb> positive second threshold value,
(D) sensor value at the end of the second period Pb> reference level at the start of the second period Pb;
When satisfying, it determines with satisfy | filling 2nd conditions. Here, the end of the second period Pb is after the end of the first period Pa. The second rise determination unit 24b determines whether or not the sensor value is rising at a slope equal to or greater than a predetermined slope at a timing after the first rise determination section 24a. The length of the first period Pa and the length of the second period Pb, and the first threshold value and the second threshold value may be the same or different. The first threshold value and the second threshold value are large values such that the determination formulas A and C are not satisfied when the sensor value increases with temperature. The increase determination unit 24 outputs the determination result of the first increase determination unit 24a and the determination result of the second increase determination unit 24b to the increase calibration unit 25.

上昇較正部25は、センサ値が上昇傾向にある場合、基準レベルを上昇させるよう較正する。具体的には、上昇較正部25は、第1条件および第2条件の両方が満たされた場合、第2期間Pbの終了より後に、基準レベルを正方向に補正する、すなわち基準レベルを上昇させる。例えば、上昇較正部25は、基準レベルを第2期間Pbの終了時のセンサ値に変更する。一方、第1条件および第2条件のいずれか一方でも満たされない場合、上昇較正部25は、基準レベルを上昇させない。   The rising calibration unit 25 calibrates the reference level to increase when the sensor value tends to increase. Specifically, when both the first condition and the second condition are satisfied, the rising calibration unit 25 corrects the reference level in the positive direction after the end of the second period Pb, that is, increases the reference level. . For example, the ascending calibration unit 25 changes the reference level to the sensor value at the end of the second period Pb. On the other hand, when any one of the first condition and the second condition is not satisfied, the rising calibration unit 25 does not increase the reference level.

環境の温度変化によるセンサ値の変化は、ゆっくりとしたものであるので、通常の温度変化では上記判定式A、Cは満たされない。温度変化に対しては、較正部23によって別途異なるタイミングで基準レベルの較正(増減)が行われる。一方で、ユーザが携帯端末1を把持した状態または接触センサ11に少し接触した状態(センサ値が下降した状態)で、較正部23による較正が行われた場合、基準レベルは非接触状態におけるセンサ値より大きく下側に設定されてしまう。金属製の(静電容量の大きな)机に携帯端末1が置かれているときに較正部23による較正が行われた場合も、同様のことが起こり得る。その後、ユーザが携帯端末1から手を離すと(机から離すと)、センサ値は低く設定された基準レベルから大きく上昇する。この手を離した時のセンサ値の上昇は、上記判定式A、Cを満たす。上昇判定部24は、例えばこのような、手を離した時のセンサ値の上昇を検出し、上昇較正部25は、低く設定された基準レベルを適正な値まで上昇させる。なお、上昇較正部25は、センサ値の上昇に応じた基準レベルの正方向への補正を行う。ユーザの把持などによってセンサ値は下降し得るので、センサ値が下降する場合は、上昇較正部25は、基準レベルの変更を行わない。もしセンサ値の下降に合わせて基準レベルを下降させると、把持閾値も下降してしまい、ユーザの把持を検出できなくなる。   Since the change in the sensor value due to the environmental temperature change is slow, the above-described determination formulas A and C are not satisfied by the normal temperature change. For the temperature change, calibration (increase / decrease) of the reference level is performed by the calibration unit 23 at different timings. On the other hand, when the calibration is performed by the calibration unit 23 in a state where the user holds the mobile terminal 1 or slightly touches the contact sensor 11 (a state where the sensor value decreases), the reference level is a sensor in a non-contact state. It will be set below the value. The same can occur when calibration is performed by the calibration unit 23 when the portable terminal 1 is placed on a metal desk (having a large capacitance). Thereafter, when the user releases his / her hand from the portable terminal 1 (away from the desk), the sensor value greatly increases from the reference level set low. The increase of the sensor value when the hand is released satisfies the determination formulas A and C. The rise determination unit 24 detects, for example, such an increase in sensor value when the hand is released, and the rise calibration unit 25 raises the reference level set low to an appropriate value. The ascending calibration unit 25 corrects the reference level in the positive direction according to the sensor value increase. Since the sensor value can be lowered due to a user's grip or the like, the rising calibration unit 25 does not change the reference level when the sensor value is lowered. If the reference level is lowered in accordance with the drop in the sensor value, the gripping threshold is also lowered, and the user's grip cannot be detected.

(参考例)
図3は、周期的な電磁波ノイズによる影響を受けた場合の、参考例における基準レベルの較正処理を示す図である。参考例では、上昇判定部は、例えば第1条件の判定のみを行い、上昇較正部は、第1条件の判定結果のみに基づいて、基準レベルの上昇補正を行う。すなわち参考例では、1つの期間において、所定値以上の傾きでセンサ値が上昇したときに、基準レベルを上昇させるよう基準レベルの較正を行う。横軸は時間、縦軸はセンサ値などの値を表す。以下の図では、見やすいように、適宜基準レベルとセンサ値とを少しずらして描いている。
(Reference example)
FIG. 3 is a diagram illustrating a reference level calibration process in the reference example when affected by periodic electromagnetic noise. In the reference example, the increase determination unit performs only the determination of the first condition, for example, and the increase calibration unit performs the increase correction of the reference level based only on the determination result of the first condition. That is, in the reference example, the reference level is calibrated so as to increase the reference level when the sensor value increases with a gradient equal to or greater than a predetermined value in one period. The horizontal axis represents time, and the vertical axis represents values such as sensor values. In the following drawings, the reference level and the sensor value are appropriately shifted for easy viewing.

(1)携帯端末の無線通信などにより、周期的な電磁波ノイズが発生すると、その影響を受けてセンサ値が一時的に上昇することがある。このようなノイズによってセンサ値が上昇している期間(センサ値の1つの山の横幅)は、典型的には1秒以下、例えば400ミリ秒程度である。   (1) When periodic electromagnetic noise is generated due to wireless communication of a mobile terminal, the sensor value may temporarily increase due to the influence. The period during which the sensor value increases due to such noise (the width of one peak of the sensor value) is typically 1 second or less, for example, about 400 milliseconds.

(2)参考例では、このセンサ値の上昇を検知して、センサ値のピークまで基準レベルを上昇させる。基準レベルの上昇に合わせて、把持閾値Th1および解放閾値Hys1も同じ量だけ上昇する。   (2) In the reference example, the increase in the sensor value is detected, and the reference level is increased to the peak of the sensor value. As the reference level increases, the grip threshold Th1 and the release threshold Hys1 also increase by the same amount.

(3)その後、センサ値は元の値まで下降するが、基準レベルは上記ピークの高さに維持される。そのため、センサ値が把持閾値Th1より小さくなり、接触センサが接触状態であると誤判定してしまう。再びノイズによりセンサ値が上昇してセンサ値が解放閾値Hys1より大きくなるまで、接触状態であると誤判定してしまう。ノイズが発生している間は、ノイズの周期に合わせて接触状態が誤って検出される。   (3) Thereafter, the sensor value drops to the original value, but the reference level is maintained at the height of the peak. For this reason, the sensor value becomes smaller than the grip threshold Th1, and it is erroneously determined that the contact sensor is in a contact state. Until the sensor value rises again due to noise and the sensor value becomes larger than the release threshold value Hys1, the contact state is erroneously determined. While noise is occurring, the contact state is erroneously detected in accordance with the noise cycle.

(4)ユーザが携帯端末を把持すると、センサ値は大きく下がり、解放すると、センサ値は元のレベルに戻る。しかしながら、ユーザが携帯端末を把持/解放する動作をしても、センサ値は把持閾値Th1より下側で変化するだけなので、ユーザの把持/解放のタイミングを正しく検出することができない。   (4) When the user grips the mobile terminal, the sensor value decreases greatly, and when released, the sensor value returns to the original level. However, even if the user performs an operation of gripping / releasing the mobile terminal, the sensor value only changes below the grip threshold Th1, and thus the timing of gripping / releasing of the user cannot be detected correctly.

(5)また、ノイズの発生が停止した後は、ユーザが触っていないのに接触状態が続くと誤判定される。1つの期間だけのセンサ値の上昇に基づいて基準レベルを上昇補正すると、ノイズまたは落下の衝撃により一時的にセンサ値が上昇した場合に基準レベルが上昇補正され、このような問題が生じる。   (5) Further, after the generation of noise stops, it is erroneously determined that the contact state continues even though the user is not touching. If the reference level is corrected to be increased based on the increase in the sensor value for only one period, the reference level is corrected to increase when the sensor value is temporarily increased due to noise or impact of dropping, and this problem occurs.

(動作例)
図4は、本実施形態の上昇判定部24の判定処理を示すタイミングチャートである。横軸は時間、縦軸はセンサ値を表す。実線の曲線は、接触センサ11から手を離したときのセンサ値の変動例を表す。破線の曲線は、ノイズによるセンサ値の変動例を表す。図中の黒点は、センサ制御部21が一定期間ごとに取得するセンサ値を示す。例えば、センサ制御部21は、約60ミリ秒周期でセンサ値を取得(センシング)する。所定の第1期間Paはセンシングの3周期分であり、所定の第1期間Pbはセンシングの4周期分である。また、第1期間Paの開始から第2期間Pbの開始までの遅延期間Dxはセンシングの5周期分に設定されている。これらの期間は、任意に設定可能である。
(Operation example)
FIG. 4 is a timing chart showing determination processing of the ascent determination unit 24 of the present embodiment. The horizontal axis represents time, and the vertical axis represents sensor values. A solid curve represents a variation example of the sensor value when the hand is released from the contact sensor 11. The dashed curve represents an example of sensor value variation due to noise. Black dots in the figure indicate sensor values that the sensor control unit 21 acquires at regular intervals. For example, the sensor control unit 21 acquires (senses) the sensor value at a period of about 60 milliseconds. The predetermined first period Pa is for three sensing periods, and the predetermined first period Pb is for four sensing periods. Further, the delay period Dx from the start of the first period Pa to the start of the second period Pb is set to five sensing cycles. These periods can be set arbitrarily.

第1上昇判定部24aが第1条件の判定を開始する時刻(第1期間Paの開始時)をt1(第1時刻)とする。判定開始から第1期間Pa後の時刻(第1期間Paの終了時)をt2(第2時刻)とする。第1上昇判定部24aは、時刻t1におけるセンサ値と基準レベルとを取得し、時刻t2におけるセンサ値を取得する。   The time at which the first rise determination unit 24a starts determining the first condition (at the start of the first period Pa) is t1 (first time). The time after the first period Pa from the determination start (at the end of the first period Pa) is defined as t2 (second time). The first increase determination unit 24a acquires the sensor value and the reference level at time t1, and acquires the sensor value at time t2.

第1上昇判定部24aは、時刻t1から時刻t2までのセンサ値の上昇量Raを特定する。上昇量Ra=(時刻t2のセンサ値)−(時刻t1のセンサ値)、である。第1上昇判定部24aは、(A)上昇量Raが正の第1閾値より大きく、かつ、(B)時刻t2のセンサ値が時刻t1の基準レベルより大きければ、第1条件を満たすと判定する。例えば、上昇量Raが十分大きくても、時刻t2のセンサ値が時刻t1の基準レベル以下であれば、基準レベルを上昇補正する必要は無い。図示する実線の曲線および破線の曲線は、第1条件を満たす。   The first increase determination unit 24a specifies the increase amount Ra of the sensor value from time t1 to time t2. Increase amount Ra = (sensor value at time t2) − (sensor value at time t1). The first increase determination unit 24a determines that the first condition is satisfied if (A) the increase amount Ra is greater than the positive first threshold and (B) the sensor value at time t2 is greater than the reference level at time t1. To do. For example, even if the increase amount Ra is sufficiently large, if the sensor value at time t2 is equal to or lower than the reference level at time t1, there is no need to correct the reference level for increase. The solid curve and the dashed curve shown in the figure satisfy the first condition.

時刻t1から遅延期間Dx後の時刻(第2期間Pbの開始時)をt3(第3時刻)とする。時刻t3から第2期間Pb後の時刻(第2期間Pbの終了時)をt4(第4時刻)とする。なお、時刻t3は、ここでは時刻t1より後であるが、時刻t1と同じであってもよいし、時刻t1より前であってもよい。ただし、時刻t4は、時刻t2より後である。第2上昇判定部24bは、時刻t3におけるセンサ値と基準レベルとを取得し、時刻t4におけるセンサ値を取得する。   The time after the delay period Dx from the time t1 (at the start of the second period Pb) is defined as t3 (third time). The time after the second period Pb from the time t3 (at the end of the second period Pb) is defined as t4 (fourth time). Here, the time t3 is after the time t1, but may be the same as the time t1 or may be before the time t1. However, time t4 is after time t2. The second increase determination unit 24b acquires the sensor value and the reference level at time t3, and acquires the sensor value at time t4.

第2上昇判定部24bは、時刻t3から時刻t4までのセンサ値の上昇量Rbを特定する。上昇量Rb=(時刻t4のセンサ値)−(時刻t3のセンサ値)、である。第2上昇判定部24bは、(C)上昇量Rbが正の第2閾値より大きく、かつ、(D)時刻t4のセンサ値が時刻t3の基準レベルより大きければ、第2条件を満たすと判定する。図示する実線の曲線での上昇量をRb1とすると、上昇量Rb1は正の第2閾値より大きい。図示する実線の曲線は、第2条件を満たす。   The second increase determination unit 24b specifies the increase amount Rb of the sensor value from time t3 to time t4. Increase amount Rb = (sensor value at time t4) − (sensor value at time t3). The second increase determination unit 24b determines that the second condition is satisfied if (C) the increase amount Rb is greater than the positive second threshold and (D) the sensor value at time t4 is greater than the reference level at time t3. To do. If the amount of increase in the solid curve shown is Rb1, the amount of increase Rb1 is larger than the positive second threshold value. The solid curve shown satisfies the second condition.

一方、ノイズによる変動を表す破線の曲線は、センサ値が上昇する期間が短いため、第1条件を満たしたとしても第2条件を満たさない。図示するノイズによる変動(破線)の場合、上昇量をRb2とすると、上昇量Rb2は負の値になる。第1条件および第2条件のいずれか一方でも満たされない場合(破線の場合)、上昇較正部25は、基準レベルの上昇補正は行わず、基準レベルは、時刻t1のときの値のままにされる。   On the other hand, since the broken curve representing the fluctuation due to noise has a short period during which the sensor value rises, even if the first condition is satisfied, the second condition is not satisfied. In the case of the fluctuation (broken line) due to the noise shown in the figure, if the increase amount is Rb2, the increase amount Rb2 becomes a negative value. When either one of the first condition and the second condition is not satisfied (in the case of a broken line), the rising calibration unit 25 does not perform the increase correction of the reference level, and the reference level is left at the value at the time t1. The

図5は、上昇較正部25の基準レベルの較正処理を示すタイミングチャートである。横軸は時間、縦軸はセンサ値を表す。実線の曲線は、接触センサ11から手を離したときのセンサ値の変動例を表す。基準レベルは細線で示される。このセンサ値の変動は、第1期間Paにおける第1条件および第2期間Pbにおける第2条件の両方を満たすので、上昇較正部25は、時刻t4の後に基準レベルを時刻t4でのセンサ値まで上昇させる(正方向に補正する)。なお、基準レベルは、このように直前のセンサ値に補正されてもよいし、いくつかのセンサ値を用いて得られる代表値(平均値など)に補正されてもよい。また、第1条件および第2条件を満たす場合、基準レベルは、時刻t1での基準レベルより大きくなるよう、正方向に補正されればよい。また、第1条件が満たされるか否かに関わらず、第2条件の判定が行われる時刻t4までは、基準レベルの正方向の補正(上昇補正)は行われない。   FIG. 5 is a timing chart showing the reference level calibration process of the ascending calibration unit 25. The horizontal axis represents time, and the vertical axis represents sensor values. A solid curve represents a variation example of the sensor value when the hand is released from the contact sensor 11. The reference level is indicated by a thin line. Since the fluctuation of the sensor value satisfies both the first condition in the first period Pa and the second condition in the second period Pb, the ascending calibration unit 25 sets the reference level to the sensor value at time t4 after time t4. Raise (correct in the positive direction). The reference level may be corrected to the immediately preceding sensor value as described above, or may be corrected to a representative value (such as an average value) obtained by using several sensor values. Further, when the first condition and the second condition are satisfied, the reference level may be corrected in the positive direction so as to be larger than the reference level at time t1. Regardless of whether or not the first condition is satisfied, the correction (increase correction) in the positive direction of the reference level is not performed until time t4 when the determination of the second condition is performed.

第1期間Pa、正の第1閾値、第2期間Pb、正の第2閾値、遅延期間Dxは、基準レベルの上昇補正の対象外としたいセンサ値の変動(上昇の傾き、変動量、変動期間など)に応じて、設定することが好ましい。ノイズによるセンサ値の変動を無視し、手を離したときのセンサ値の変動に応じて基準レベルを上昇補正できるよう、時刻t1から時刻t4までの長さは、例えば1秒以下、典型的には600ミリ秒以下に設定することができる。また、時刻t2から時刻t4までの間隔が、時刻t1から時刻t2までの間隔以上になるように、第1期間Pa、第2期間Pb、および遅延期間Dxの長さを設定することができる。このようにすることで、センサ値の上昇傾向を判定するための第1条件および第2条件をある程度離れたタイミングで判定することができる。そのため、ノイズによるセンサ値の短期的な変動と、携帯端末1から手を離すまたは金属体を離すことなどによるセンサ値の変動とを判別することができる。また、第1期間Paを短く設定することで、センサ値の上昇傾向を早く検知することが可能となるため、第2期間Pbの設定を対象外のセンサ値変動期間に近くすることができる。そのため、1回の上昇補正の期間(時刻t1から時刻t4まで)が短くなり、より短い周期で較正対象のセンサ値変動を検出することが可能となる。   The first period Pa, the positive first threshold value, the second period Pb, the positive second threshold value, and the delay period Dx are sensor value fluctuations (rising slope, fluctuation amount, fluctuation) that are not to be corrected for the reference level. It is preferable to set according to the period. The length from time t1 to time t4 is typically 1 second or less, for example, so that the reference level can be increased and corrected according to the fluctuation of the sensor value when the hand is released, ignoring the fluctuation of the sensor value due to noise. Can be set to 600 milliseconds or less. Further, the lengths of the first period Pa, the second period Pb, and the delay period Dx can be set so that the interval from time t2 to time t4 is equal to or greater than the interval from time t1 to time t2. By doing in this way, it is possible to determine the first condition and the second condition for determining the increasing tendency of the sensor value at a timing that is separated to some extent. Therefore, it is possible to discriminate between a short-term fluctuation of the sensor value due to noise and a fluctuation of the sensor value caused by releasing the hand from the mobile terminal 1 or releasing a metal body. Further, by setting the first period Pa to be short, it is possible to quickly detect the increasing tendency of the sensor value, so that the setting of the second period Pb can be made close to the sensor value fluctuation period that is not a target. For this reason, the period of one ascent correction (from time t1 to time t4) is shortened, and it becomes possible to detect the sensor value fluctuation of the calibration target in a shorter cycle.

なお、第2上昇判定部24bによる第2期間(第2条件)の判定が終わると、第1上昇判定部24aは、時刻t4以後に(例えば時刻t4の次のセンシングから)改めて第1期間を設定し、第1条件の判定を開始する。このように、第1期間Paおよび第2期間Pbの判定を繰り返し行うことにより、接触センサ11から手を離したときのセンサ値の上昇を見逃さずに基準レベルを上昇補正することができる。なお、第1条件が満たされなかった場合、続いて第2条件の判定を行わず、時刻t4より前に改めて第1期間を設定し、第1上昇判定部24aが第1条件の判定を開始してもよい。このようにすることで、無駄な第2条件の判定を省略し、いち早く基準レベルをセンサ値の上昇に追従させることができる。   When the second period (second condition) is determined by the second increase determination unit 24b, the first increase determination unit 24a sets the first period again after time t4 (for example, from the next sensing at time t4). Set and start determining the first condition. As described above, by repeatedly determining the first period Pa and the second period Pb, the reference level can be corrected to be increased without overlooking the increase in the sensor value when the hand is released from the contact sensor 11. If the first condition is not satisfied, the second condition is not subsequently determined, the first period is set again before time t4, and the first rise determination unit 24a starts determining the first condition. May be. By doing so, it is possible to omit the useless determination of the second condition and promptly follow the reference level with the increase in the sensor value.

図6は、周期的な電磁波ノイズによる影響を受けた場合の、本実施形態における基準レベルの較正処理を示す図である。横軸および縦軸は図3と同じである。   FIG. 6 is a diagram showing a reference level calibration process in the present embodiment when affected by periodic electromagnetic wave noise. The horizontal and vertical axes are the same as in FIG.

(1)電磁波ノイズの影響を受けてセンサ値が一時的に上昇する。   (1) The sensor value temporarily rises due to the influence of electromagnetic noise.

(2)本実施形態では、短期間の一時的なセンサ値の上昇は、第1条件および第2条件のいずれかを満たさないので、基準レベルは元の値に維持される。例えば、ノイズの影響によってセンサ値が上昇した後の下降中に、第1条件の判定が開始(時刻t1)されると、第1条件が満たされなくなる。   (2) In the present embodiment, since the temporary sensor value increase for a short period does not satisfy either the first condition or the second condition, the reference level is maintained at the original value. For example, if the determination of the first condition is started (time t1) while the sensor value is increasing due to the influence of noise, the first condition is not satisfied.

(3)ユーザが携帯端末1を把持すると、センサ値は把持閾値Th1を下に超え、解放すると、センサ値は解放閾値Hys1を上に超える。そのため、把持判定部12は、ユーザの把持/解放のタイミングを正しく検出することができる。   (3) When the user grips the mobile terminal 1, the sensor value exceeds the grip threshold Th1, and when released, the sensor value exceeds the release threshold Hys1. Therefore, the grip determination unit 12 can correctly detect the grip / release timing of the user.

本実施形態の携帯端末1によれば、センサ値の上昇傾向を判定することにより、ユーザが把持していたまたは金属体上に置かれていたなどのときに低く設定(較正)された基準レベルを、上昇補正することができる。なおかつ、センサ値の上昇傾向を2段階(第1上昇判定部24a、第2上昇判定部24b)で判定することにより、電磁波のノイズまたは落下の衝撃などに起因する短期的かつ一時的なセンサ値の上昇によって誤判定を引き起こすような不要な基準レベルの較正がされることを回避することができる。   According to the mobile terminal 1 of the present embodiment, a reference level that is set low (calibrated) when the user is gripping or placed on a metal body by determining an upward tendency of the sensor value. Can be corrected upward. In addition, by determining the rising tendency of the sensor value in two stages (the first rising determination unit 24a and the second rising determination unit 24b), a short-term and temporary sensor value caused by electromagnetic noise or a drop impact, etc. It is possible to avoid an unnecessary reference level calibration that causes an erroneous determination due to an increase in.

〔実施形態2〕
本実施形態では、第1条件を満たした時点で、一旦基準レベルを上昇補正する構成について説明する。携帯端末1の構成は、図1に示すものと同じである。上昇判定部24の判定処理も上述の実施形態と同じである。図7〜11において、横軸は時間、縦軸はセンサ値を表す。
[Embodiment 2]
In the present embodiment, a configuration will be described in which the reference level is once corrected to be increased when the first condition is satisfied. The configuration of the portable terminal 1 is the same as that shown in FIG. The determination process of the rise determination unit 24 is the same as that in the above-described embodiment. 7 to 11, the horizontal axis represents time, and the vertical axis represents sensor values.

図7は、本実施形態における上昇較正部25の基準レベルの較正処理を示すタイミングチャートである。実線の曲線は、接触センサ11から手を離したときのセンサ値の変動例を表す。このセンサ値の変動は、第1期間Paにおける第1条件および第2期間Pbにおける第2条件の両方を満たす。第1条件が満たされると判定された時点(時刻t2の後)で、上昇較正部25は、基準レベルを時刻t2でのセンサ値まで上昇させる。その後、第2上昇判定部24bは、第2期間Pbにおける第2条件の判定を行う。第2条件が満たされると判定された時点(時刻t4の後)で、上昇較正部25は、基準レベルを時刻t4でのセンサ値までさらに上昇させる。このように本実施形態では、第1条件を満たした時点で、一旦基準レベルを上昇補正する。   FIG. 7 is a timing chart showing the reference level calibration process of the ascending calibration unit 25 in the present embodiment. A solid curve represents a variation example of the sensor value when the hand is released from the contact sensor 11. This change in sensor value satisfies both the first condition in the first period Pa and the second condition in the second period Pb. When it is determined that the first condition is satisfied (after time t2), the rising calibration unit 25 increases the reference level to the sensor value at time t2. Thereafter, the second increase determination unit 24b determines the second condition in the second period Pb. When it is determined that the second condition is satisfied (after time t4), the rising calibration unit 25 further increases the reference level to the sensor value at time t4. As described above, in this embodiment, when the first condition is satisfied, the reference level is once corrected to be increased.

図8は、本実施形態における上昇較正部25の基準レベルの較正処理を示すタイミングチャートである。破線の曲線は、ノイズによるセンサ値の変動例を表す。このセンサ値の変動は、第1期間Paにおける第1条件を満たすが、第2期間Pbにおける第2条件を満たさない。第1条件が満たされると判定された時点(時刻t2の後)で、上昇較正部25は、基準レベルを時刻t2でのセンサ値まで上昇させる。なお、上昇較正部25は、変更前(時刻t1)の基準レベルを記憶しておく。その後、第2条件が満たされないと判定された時点(時刻t4の後)で、上昇較正部25は、基準レベルを時刻t1での基準レベルに戻す。すなわち、一旦上昇させた基準レベルの変更を取り消す。   FIG. 8 is a timing chart showing the reference level calibration process of the ascending calibration unit 25 in the present embodiment. The dashed curve represents an example of sensor value variation due to noise. This change in sensor value satisfies the first condition in the first period Pa, but does not satisfy the second condition in the second period Pb. When it is determined that the first condition is satisfied (after time t2), the rising calibration unit 25 increases the reference level to the sensor value at time t2. The ascending calibration unit 25 stores the reference level before the change (time t1). Thereafter, when it is determined that the second condition is not satisfied (after time t4), the ascending calibration unit 25 returns the reference level to the reference level at time t1. That is, the change of the reference level once raised is canceled.

本実施形態の携帯端末1によれば、低く設定(較正)された基準レベルを、適切に上昇補正することができる。なおかつ、電磁波のノイズまたは落下の衝撃などに起因する短期的かつ一時的なセンサ値の上昇によって誤判定を引き起こすような不要な基準レベルの較正がされることを回避することができる。   According to the mobile terminal 1 of the present embodiment, the reference level set low (calibrated) can be appropriately increased and corrected. In addition, it is possible to avoid an unnecessary reference level calibration that causes erroneous determination due to a short-term and temporary increase in sensor value due to electromagnetic noise or drop impact.

(実施形態1、2の動作の比較)
以下に、第1条件の判定が終わってから第2条件の判定が終わるまでの間(時刻t2〜時刻t4)に、ユーザによる携帯端末1の把持が行われる場合について、実施形態1、2の動作を比較する。
(Comparison of operation of Embodiments 1 and 2)
Hereinafter, the case where the user holds the mobile terminal 1 during the period from the end of the determination of the first condition to the end of the determination of the second condition (time t2 to time t4) is described in the first and second embodiments. Compare behavior.

図9は、上述の実施形態1における基準レベルの較正処理の例を示すタイミングチャートである。点線で示されるセンサ値の変動は、第1条件および第2条件の両方を満たす。実施形態1では、第1条件が満たされると判定されても、第2条件も満たされると判定されるまでは、実線で示される基準レベルの上昇補正は行われない。第2条件が満たされると判定される時刻t4で初めて、基準レベルが時刻t4でのセンサ値に上昇補正される。   FIG. 9 is a timing chart showing an example of the reference level calibration process in the first embodiment. The fluctuation of the sensor value indicated by the dotted line satisfies both the first condition and the second condition. In the first embodiment, even if it is determined that the first condition is satisfied, the reference level increase correction indicated by the solid line is not performed until it is determined that the second condition is also satisfied. Only at time t4 when it is determined that the second condition is satisfied, the reference level is corrected to increase to the sensor value at time t4.

(1)ただし、非接触状態におけるセンサ値は、携帯端末1が金属体から離されたなどの理由により、時刻t1から時刻t4の間に上昇している。   (1) However, the sensor value in the non-contact state increases between time t1 and time t4 due to reasons such as the mobile terminal 1 being separated from the metal body.

(2)時刻t2から時刻t4までの間に、ユーザが携帯端末1の把持を行ったとする。このとき非接触状態におけるセンサ値は上昇しているが、把持閾値Th1はまだ変更されていない。そのため、把持によって下降したセンサ値は、把持閾値Th1より大きいままになることがある。このような場合に、把持判定部12は、ユーザの携帯端末1の把持を正しく検出することができない可能性がある。   (2) It is assumed that the user grips the mobile terminal 1 between time t2 and time t4. At this time, the sensor value in the non-contact state increases, but the grip threshold Th1 has not been changed yet. For this reason, the sensor value that is lowered by gripping may remain larger than the gripping threshold Th1. In such a case, the grip determination unit 12 may not be able to correctly detect the grip of the user's mobile terminal 1.

図10は、実施形態2における基準レベルの較正処理の例を示すタイミングチャートである。点線で示されるセンサ値の変動は、図9のものと同じである。時刻t2に第1条件を満たしたと判定されると、実線で示される基準レベルが時刻t2でのセンサ値に上昇補正される。基準レベルの上昇に応じて把持閾値Th1および解放閾値Hys1も上昇する。その後、時刻t4に第2条件を満たしたと判定されると、基準レベルが時刻t4でのセンサ値に上昇補正される。   FIG. 10 is a timing chart illustrating an example of a reference level calibration process according to the second embodiment. The fluctuation of the sensor value indicated by the dotted line is the same as that in FIG. If it is determined that the first condition is satisfied at time t2, the reference level indicated by the solid line is corrected to be increased to the sensor value at time t2. As the reference level increases, the gripping threshold Th1 and the release threshold Hys1 also increase. Thereafter, when it is determined that the second condition is satisfied at time t4, the reference level is corrected to be increased to the sensor value at time t4.

(1)図9に示す例と同様に、非接触状態におけるセンサ値は、時刻t1から時刻t4の間に上昇している。   (1) Similar to the example shown in FIG. 9, the sensor value in the non-contact state increases between time t1 and time t4.

(2)時刻t2から時刻t4までの間に、ユーザが携帯端末1の把持を行ったとする。把持閾値Th1は、時刻t2の後に上昇補正されている。そのため、把持によって下降したセンサ値は、把持閾値Th1より小さくなる。このように、実施形態2の把持判定部12は、第2条件の判定前に行われるユーザの把持を正しく検出することができる。実施形態2では、基準レベルを非接触状態のセンサ値の変動により迅速に追従させ、ユーザの操作性を向上することができる。   (2) It is assumed that the user grips the mobile terminal 1 between time t2 and time t4. The grip threshold Th1 is corrected for increase after time t2. Therefore, the sensor value that is lowered by gripping becomes smaller than the gripping threshold Th1. As described above, the grip determination unit 12 according to the second embodiment can correctly detect the user's grip performed before the determination of the second condition. In the second embodiment, the reference level can be quickly followed by the fluctuation of the sensor value in the non-contact state, and the user operability can be improved.

図11は、実施形態2における基準レベルの較正処理の例を示すタイミングチャートである。点線で示されるセンサ値の変動は、第1条件を満たすが、第2条件を満たさない。   FIG. 11 is a timing chart illustrating an example of a reference level calibration process according to the second embodiment. The fluctuation of the sensor value indicated by the dotted line satisfies the first condition but does not satisfy the second condition.

(1)時刻t1から時刻t3の間に、ノイズなどに起因して一時的にセンサ値が上昇して元に戻る。   (1) Between time t1 and time t3, the sensor value temporarily rises due to noise or the like and returns to the original value.

(2)時刻t2に第1条件を満たしたと判定されると、実線で示される基準レベルが時刻t2でのセンサ値に一旦上昇補正される。基準レベルの上昇に応じて把持閾値Th1および解放閾値Hys1も上昇する。   (2) When it is determined that the first condition is satisfied at time t2, the reference level indicated by the solid line is once corrected to be increased to the sensor value at time t2. As the reference level increases, the gripping threshold Th1 and the release threshold Hys1 also increase.

(3)センサ値の一時的な上昇が元に戻った後、時刻t3から時刻t4までの間に、机などに携帯端末1が置かれたとする。時刻t2に把持閾値Th1が一旦上昇補正されている。そのため、机に置くことによるセンサ値の下降が、普段なら把持閾値Th1を下回らない程度の変動であっても、この場合はセンサ値が把持閾値Th1を下回ってしまうことがある。そのため、実施形態2では、把持と判定したくないセンサ値の変動幅が小さいケースを、把持と誤判定してしまう可能性がある。なお、時刻t4に第2条件が満たされないと判定されると、基準レベルは時刻t1での基準レベルに戻される。   (3) Assume that the portable terminal 1 is placed on a desk or the like between the time t3 and the time t4 after the temporary increase in the sensor value returns. At time t2, the gripping threshold Th1 is once corrected for increase. For this reason, even if the decrease in the sensor value caused by placing it on the desk is a fluctuation that does not normally fall below the gripping threshold value Th1, the sensor value may fall below the gripping threshold value Th1 in this case. Therefore, in the second embodiment, there is a possibility that a case where the fluctuation range of the sensor value that is not determined to be gripped is small is erroneously determined to be gripped. When it is determined that the second condition is not satisfied at time t4, the reference level is returned to the reference level at time t1.

これに対して、実施形態1では、時刻t2の時点では基準レベルおよび把持閾値Th1を上昇させない。そのため、第1条件を満たしたセンサ値の変動がノイズなどによるものであった場合でも、ノイズの後のセンサ値の小さな変動(下降)を、把持と誤判定することはない。   On the other hand, in the first embodiment, the reference level and the grip threshold Th1 are not increased at the time t2. Therefore, even if the fluctuation of the sensor value that satisfies the first condition is due to noise or the like, a small fluctuation (down) of the sensor value after the noise is not erroneously determined as gripping.

〔ソフトウェアによる実現例〕
携帯端末1の制御ブロック(特に把持判定部12、センサ制御部21、接触判定部22、較正部23、上昇判定部24(第1上昇判定部24a、第2上昇判定部24b)、および上昇較正部25)は、集積回路(ICチップ)等に形成された論理回路(ハードウェア)によって実現してもよいし、CPU(Central Processing Unit)を用いてソフトウェアによって実現してもよい。
[Example of software implementation]
Control blocks of mobile terminal 1 (particularly grip determination unit 12, sensor control unit 21, contact determination unit 22, calibration unit 23, rise determination unit 24 (first rise determination unit 24a, second rise determination unit 24b), and rise calibration The unit 25) may be realized by a logic circuit (hardware) formed in an integrated circuit (IC chip) or the like, or may be realized by software using a CPU (Central Processing Unit).

後者の場合、携帯端末1は、各機能を実現するソフトウェアであるプログラムの命令を実行するCPU、上記プログラムおよび各種データがコンピュータ(またはCPU)で読み取り可能に記録されたROM(Read Only Memory)または記憶装置(これらを「記録媒体」と称する)、上記プログラムを展開するRAM(Random Access Memory)などを備えている。そして、コンピュータ(またはCPU)が上記プログラムを上記記録媒体から読み取って実行することにより、本発明の目的が達成される。上記記録媒体としては、「一時的でない有形の媒体」、例えば、テープ、ディスク、カード、半導体メモリ、プログラマブルな論理回路などを用いることができる。また、上記プログラムは、該プログラムを伝送可能な任意の伝送媒体(通信ネットワークや放送波等)を介して上記コンピュータに供給されてもよい。なお、本発明は、上記プログラムが電子的な伝送によって具現化された、搬送波に埋め込まれたデータ信号の形態でも実現され得る。   In the latter case, the mobile terminal 1 includes a CPU that executes instructions of a program that is software that implements each function, a ROM (Read Only Memory) in which the program and various data are recorded so as to be readable by a computer (or CPU), or A storage device (these are referred to as “recording media”), a RAM (Random Access Memory) that expands the program, and the like are provided. And the objective of this invention is achieved when a computer (or CPU) reads the said program from the said recording medium and runs it. As the recording medium, a “non-temporary tangible medium” such as a tape, a disk, a card, a semiconductor memory, a programmable logic circuit, or the like can be used. The program may be supplied to the computer via an arbitrary transmission medium (such as a communication network or a broadcast wave) that can transmit the program. The present invention can also be realized in the form of a data signal embedded in a carrier wave in which the program is embodied by electronic transmission.

〔まとめ〕
本発明の態様1に係る情報処理装置は、把持部を把持したユーザの手が接触する位置に設けられ、センサ値を出力する接触センサを備え、把持の有無を判定するための基準を与えるため、把持されていないときの上記センサ値を表すための基準値が変更可能に設定された情報処理装置(携帯端末1)であって、上記センサ値が把持されるに伴って変化する方向を負方向と定義した場合、第1時刻から第2時刻までの上記センサ値の上昇量が正の第1閾値より大きく、かつ、上記第2時刻の上記センサ値が上記第1時刻の上記基準値より大きければ、第1条件を満たすと判定する第1判定手段(第1上昇判定部24a)と、第3時刻から上記第2時刻より後の第4時刻までの上記センサ値の上昇量が正の第2閾値より大きく、かつ、上記第4時刻の上記センサ値が上記第3時刻の上記基準値より大きければ、第2条件を満たすと判定する第2判定手段(第2上昇判定部24b)と、上記第1条件および上記第2条件の両方が満たされると、上記基準値を正方向に補正し、上記第1条件および上記第2条件の一方でも満たされないと、上記基準値を上記第1時刻の値にする較正手段(上昇較正部25)とを備える。
[Summary]
An information processing apparatus according to aspect 1 of the present invention is provided with a contact sensor that outputs a sensor value provided at a position where a user's hand holding a gripping unit touches, and provides a reference for determining whether or not the gripping is performed An information processing apparatus (mobile terminal 1) in which a reference value for representing the sensor value when not being gripped is set to be changeable, and has a negative direction that changes as the sensor value is gripped. When the direction is defined, the increase amount of the sensor value from the first time to the second time is larger than the positive first threshold value, and the sensor value at the second time is higher than the reference value at the first time. If it is larger, the first determination means (first increase determination unit 24a) that determines that the first condition is satisfied, and the increase amount of the sensor value from the third time to the fourth time after the second time is positive. Greater than the second threshold and the fourth time If the sensor value is greater than the reference value at the third time, the second determination means (second increase determination unit 24b) determines that the second condition is satisfied, and both the first condition and the second condition Is satisfied, the reference value is corrected in the positive direction, and if one of the first condition and the second condition is not satisfied, the calibration means (the rising calibration unit 25) sets the reference value to the value at the first time. ).

上記の構成によれば、第1条件と第2条件とによって、センサ値が上昇しているかを2段階で判定する。これにより、低く設定(較正)された基準値を、適切に正方向に補正することができる。なおかつ、2段階の判定によって、電磁波のノイズまたは落下の衝撃などに起因する短期的かつ一時的なセンサ値の上昇によって誤判定を引き起こすような不要な基準値の較正がされることを回避することができる。   According to said structure, it is determined in two steps whether the sensor value is rising by 1st condition and 2nd condition. Thereby, the reference value set (calibrated) low can be appropriately corrected in the positive direction. Furthermore, avoiding unnecessary calibration of reference values that may cause erroneous determination due to short-term and temporary increase in sensor value due to electromagnetic noise or drop impact, etc., by two-step determination Can do.

本発明の態様2に係る情報処理装置では、上記態様1において、上記較正手段は、上記第1条件が満たされたか否かに関わらず上記第4時刻までは上記基準値の正方向の補正は行わず、上記第1条件および上記第2条件の両方が満たされると、上記第4時刻の後に、上記基準値を正方向に補正する。   In the information processing apparatus according to aspect 2 of the present invention, in the aspect 1, the calibration means corrects the reference value in the positive direction until the fourth time regardless of whether or not the first condition is satisfied. If both the first condition and the second condition are satisfied, the reference value is corrected in the positive direction after the fourth time.

上記の構成によれば、ノイズなどによる一時的なセンサ値の上昇が第1条件を満たした場合であっても、第2条件を満たさない限り基準値の正方向の補正は行われない。そのため、第2時刻から第4時刻の間に、把持と判定すべきでないセンサ値の小さな変動(下降)があった場合でも、それを把持と誤判定することを避けることができる。   According to the above configuration, even if a temporary increase in sensor value due to noise or the like satisfies the first condition, the reference value is not corrected in the positive direction unless the second condition is satisfied. Therefore, even if there is a small change (decrease) in the sensor value that should not be determined as gripping between the second time and the fourth time, it can be avoided that the sensor value is erroneously determined as gripping.

本発明の態様3に係る情報処理装置では、上記態様1において、上記較正手段は、上記第1条件が満たされると、上記第4時刻より前に上記基準値を正方向に補正し、その後、上記第2条件が満たされると、上記第4時刻の後に上記基準値をさらに正方向に補正し、上記第2条件が満たされないと、上記第4時刻の後に上記基準値を上記第1時刻の値に戻す。   In the information processing apparatus according to aspect 3 of the present invention, in the aspect 1, when the first condition is satisfied, the calibration unit corrects the reference value in the positive direction before the fourth time, and then If the second condition is satisfied, the reference value is further corrected in the positive direction after the fourth time, and if the second condition is not satisfied, the reference value is set to the first time after the fourth time. Return to value.

上記の構成によれば、第1条件が満たされると第4時刻より前に基準値が正方向に補正されるので、基準値を非接触状態のセンサ値の変動に迅速に追従させ、把持判定の感度を向上することができる。   According to the above configuration, since the reference value is corrected in the positive direction before the fourth time when the first condition is satisfied, the reference value is quickly followed to the fluctuation of the sensor value in the non-contact state, and the grip determination is performed. The sensitivity can be improved.

本発明の態様4に係る情報処理装置では、上記態様1から3において、上記第1条件が満たされないと、上記第2判定手段による上記第2条件の判定を待たずに、上記第4時刻より前に改めて上記第1判定手段が上記第1条件の判定を開始する。   In the information processing apparatus according to aspect 4 of the present invention, in the above aspects 1 to 3, if the first condition is not satisfied, the second determination unit does not wait for the determination of the second condition and starts from the fourth time. The first determination means starts determining the first condition again before.

上記の構成によれば、無駄な第2条件の判定を省略し、いち早く基準値をセンサ値の上昇に追従させることができる。   According to said structure, determination of useless 2nd conditions can be abbreviate | omitted and a reference value can be made to follow a raise of a sensor value promptly.

本発明の態様5に係る情報処理装置では、上記態様1から4において、上記第3時刻は、上記第1時刻以後である。   In the information processing apparatus according to aspect 5 of the present invention, in the above aspects 1 to 4, the third time is after the first time.

本発明の態様6に係る情報処理装置では、上記態様1から5において、上記第2時刻から上記第4時刻までの間隔は、上記第1時刻から上記第2時刻までの間隔以上である。   In the information processing apparatus according to aspect 6 of the present invention, in the above aspects 1 to 5, the interval from the second time to the fourth time is not less than the interval from the first time to the second time.

本発明の態様7に係る情報処理装置の制御方法は、把持部を把持したユーザの手が接触する位置に設けられ、センサ値を出力する接触センサを備え、把持の有無を判定するための基準を与えるため、把持されていないときの上記センサ値を表すための基準値が変更可能に設定された情報処理装置の制御方法であって、上記センサ値が把持されるに伴って変化する方向を負方向と定義した場合、第1時刻から第2時刻までの上記センサ値の上昇量が正の第1閾値より大きく、かつ、上記第2時刻の上記センサ値が上記第1時刻の上記基準値より大きければ、第1条件を満たすと判定する第1判定ステップと、第3時刻から上記第2時刻より後の第4時刻までの上記センサ値の上昇量が正の第2閾値より大きく、かつ、上記第4時刻の上記センサ値が上記第3時刻の上記基準値より大きければ、第2条件を満たすと判定する第2判定ステップと、上記第1条件および上記第2条件の両方が満たされると、上記基準値を正方向に補正し、上記第1条件および上記第2条件の一方でも満たされないと、上記基準値を上記第1時刻の値にする較正ステップとを含む。   The control method of the information processing device according to aspect 7 of the present invention is provided with a contact sensor that outputs a sensor value provided at a position where a user's hand holding the gripping unit comes into contact, and a reference for determining whether or not the gripping is performed In order to change the reference value for representing the sensor value when the sensor value is not gripped, and the direction in which the sensor value changes as the sensor value is gripped. When the negative direction is defined, the increase amount of the sensor value from the first time to the second time is larger than the positive first threshold value, and the sensor value at the second time is the reference value at the first time. If it is larger, the first determination step for determining that the first condition is satisfied, the amount of increase in the sensor value from the third time to the fourth time after the second time is greater than the positive second threshold, and The sensor at the fourth time Is greater than the reference value at the third time, the second determination step for determining that the second condition is satisfied, and when both the first condition and the second condition are satisfied, the reference value is set in the positive direction. And a calibration step for correcting the reference value to the value of the first time when one of the first condition and the second condition is not satisfied.

本発明の各態様に係る情報処理装置は、コンピュータによって実現してもよく、この場合には、コンピュータを上記情報処理装置が備える各手段として動作させることにより上記情報処理装置をコンピュータにて実現させる情報処理装置の制御プログラム、およびそれを記録したコンピュータ読み取り可能な記録媒体も、本発明の範疇に入る。   The information processing apparatus according to each aspect of the present invention may be realized by a computer. In this case, the information processing apparatus is realized by the computer by causing the computer to operate as each unit included in the information processing apparatus. A control program for the information processing apparatus and a computer-readable recording medium on which the control program is recorded also fall within the scope of the present invention.

本発明は上述した各実施形態に限定されるものではなく、請求項に示した範囲で種々の変更が可能であり、異なる実施形態にそれぞれ開示された技術的手段を適宜組み合わせて得られる実施形態についても本発明の技術的範囲に含まれる。さらに、各実施形態にそれぞれ開示された技術的手段を組み合わせることにより、新しい技術的特徴を形成することができる。   The present invention is not limited to the above-described embodiments, and various modifications are possible within the scope shown in the claims, and embodiments obtained by appropriately combining technical means disclosed in different embodiments. Is also included in the technical scope of the present invention. Furthermore, a new technical feature can be formed by combining the technical means disclosed in each embodiment.

本発明は、接触センサを備える情報処理装置(スマートフォン、携帯電話、タブレット端末、リモコン、ドライヤー、掃除機、その他ハンドルで操作する情報処理装置など)に利用することができる。   The present invention can be used for an information processing device (a smart phone, a mobile phone, a tablet terminal, a remote controller, a dryer, a vacuum cleaner, and other information processing devices operated with a handle) including a contact sensor.

1 携帯端末(情報処理装置)
10 表示部
11 接触センサ
12 把持判定部(把持判定装置)
13 ホスト制御部
21 センサ制御部
22 接触判定部
23 較正部
24 上昇判定部
24a 第1上昇判定部(第1判定手段)
24b 第2上昇判定部(第2判定手段)
25 上昇較正部(較正手段)
1 Mobile terminal (information processing device)
DESCRIPTION OF SYMBOLS 10 Display part 11 Contact sensor 12 Grasp determination part (gripping determination apparatus)
13 Host Control Unit 21 Sensor Control Unit 22 Contact Determination Unit 23 Calibration Unit 24 Ascent Determination Unit 24a First Ascent Determination Unit (First Determination Unit)
24b 2nd rise judgment part (2nd judgment means)
25 Ascent calibration unit (calibration means)

Claims (6)

把持部を把持したユーザの手が接触する位置に設けられ、センサ値を出力する接触センサを備え、
把持の有無を判定するための基準を与えるため、把持されていないときの上記センサ値を表すための基準値が変更可能に設定された情報処理装置であって、
上記センサ値が把持されるに伴って変化する方向を負方向と定義した場合、
第1時刻から第2時刻までの上記センサ値の上昇量が正の第1閾値より大きく、かつ、上記第2時刻の上記センサ値が上記第1時刻の上記基準値より大きければ、第1条件を満たすと判定する第1判定手段と、
第3時刻から上記第2時刻より後の第4時刻までの上記センサ値の上昇量が正の第2閾値より大きく、かつ、上記第4時刻の上記センサ値が上記第3時刻の上記基準値より大きければ、第2条件を満たすと判定する第2判定手段と、
上記第1条件および上記第2条件の両方が満たされると、上記基準値を正方向に補正し、上記第1条件および上記第2条件の一方でも満たされないと、上記基準値を上記第1時刻の上記基準値にする較正手段とを備えることを特徴とする情報処理装置。
Provided at the position where the user's hand that grips the gripping part comes into contact, and includes a contact sensor that outputs a sensor value,
In order to give a reference for determining the presence or absence of gripping, an information processing apparatus in which a reference value for representing the sensor value when not gripped is set to be changeable,
When the direction that changes as the sensor value is gripped is defined as the negative direction,
If the amount of increase in the sensor value from the first time to the second time is greater than a positive first threshold and the sensor value at the second time is greater than the reference value at the first time, the first condition First determination means for determining that the condition is satisfied;
The amount of increase in the sensor value from the third time to the fourth time after the second time is greater than the positive second threshold, and the sensor value at the fourth time is the reference value at the third time. A second determination means for determining that the second condition is satisfied if greater,
When both the first condition and the second condition are satisfied, the reference value is corrected in the positive direction, and when one of the first condition and the second condition is not satisfied, the reference value is set to the first time. An information processing apparatus comprising calibration means for setting the reference value.
上記較正手段は、上記第1条件が満たされたか否かに関わらず上記第4時刻までは上記基準値の正方向の補正は行わず、上記第1条件および上記第2条件の両方が満たされると、上記第4時刻の後に、上記基準値を正方向に補正することを特徴とする請求項1に記載の情報処理装置。   Regardless of whether the first condition is satisfied, the calibration means does not correct the reference value in the positive direction until the fourth time, and both the first condition and the second condition are satisfied. The information processing apparatus according to claim 1, wherein the reference value is corrected in a positive direction after the fourth time. 上記較正手段は、
上記第1条件が満たされると、上記第4時刻より前に上記基準値を正方向に補正し、
その後、上記第2条件が満たされると、上記第4時刻の後に上記基準値をさらに正方向に補正し、上記第2条件が満たされないと、上記第4時刻の後に上記基準値を上記第1時刻の上記基準値に戻すことを特徴とする請求項1に記載の情報処理装置。
The calibration means includes
When the first condition is satisfied, the reference value is corrected in the positive direction before the fourth time,
Thereafter, when the second condition is satisfied, the reference value is further corrected in the positive direction after the fourth time, and when the second condition is not satisfied, the reference value is changed to the first value after the fourth time. The information processing apparatus according to claim 1, wherein the information processing apparatus returns to the reference value of time.
上記第1条件が満たされないと、上記第2判定手段による上記第2条件の判定を待たずに、上記第4時刻より前に改めて上記第1判定手段が上記第1条件の判定を開始することを特徴とする請求項1から3のいずれか一項に記載の情報処理装置。   If the first condition is not satisfied, the first determination means starts the determination of the first condition again before the fourth time without waiting for the determination of the second condition by the second determination means. The information processing apparatus according to any one of claims 1 to 3, wherein: 上記第3時刻は、上記第1時刻以後であることを特徴とする請求項1から4のいずれか一項に記載の情報処理装置。   The information processing apparatus according to any one of claims 1 to 4, wherein the third time is after the first time. 把持部を把持したユーザの手が接触する位置に設けられ、センサ値を出力する接触センサを備え、
把持の有無を判定するための基準を与えるため、把持されていないときの上記センサ値を表すための基準値が変更可能に設定された情報処理装置の制御方法であって、
上記センサ値が把持されるに伴って変化する方向を負方向と定義した場合、
第1時刻から第2時刻までの上記センサ値の上昇量が正の第1閾値より大きく、かつ、上記第2時刻の上記センサ値が上記第1時刻の上記基準値より大きければ、第1条件を満たすと判定する第1判定ステップと、
第3時刻から上記第2時刻より後の第4時刻までの上記センサ値の上昇量が正の第2閾値より大きく、かつ、上記第4時刻の上記センサ値が上記第3時刻の上記基準値より大きければ、第2条件を満たすと判定する第2判定ステップと、
上記第1条件および上記第2条件の両方が満たされると、上記基準値を正方向に補正し、上記第1条件および上記第2条件の一方でも満たされないと、上記基準値を上記第1時刻の上記基準値にする較正ステップとを含むことを特徴とする情報処理装置の制御方法。
Provided at the position where the user's hand that grips the gripping part comes into contact, and includes a contact sensor that outputs a sensor value,
In order to give a reference for determining the presence or absence of gripping, a control method for an information processing apparatus in which a reference value for representing the sensor value when not gripped is set to be changeable,
When the direction that changes as the sensor value is gripped is defined as the negative direction,
If the amount of increase in the sensor value from the first time to the second time is greater than a positive first threshold and the sensor value at the second time is greater than the reference value at the first time, the first condition A first determination step for determining that the condition is satisfied;
The amount of increase in the sensor value from the third time to the fourth time after the second time is greater than the positive second threshold, and the sensor value at the fourth time is the reference value at the third time. A second determination step for determining that the second condition is satisfied if greater,
When both the first condition and the second condition are satisfied, the reference value is corrected in the positive direction, and when one of the first condition and the second condition is not satisfied, the reference value is set to the first time. And a calibration step for setting the reference value to the above-mentioned reference value.
JP2014094251A 2014-04-30 2014-04-30 Information processing apparatus and information processing apparatus control method Expired - Fee Related JP6345476B2 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP2014094251A JP6345476B2 (en) 2014-04-30 2014-04-30 Information processing apparatus and information processing apparatus control method
PCT/JP2015/062871 WO2015166958A1 (en) 2014-04-30 2015-04-28 Information processing device and control method for information processing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2014094251A JP6345476B2 (en) 2014-04-30 2014-04-30 Information processing apparatus and information processing apparatus control method

Publications (2)

Publication Number Publication Date
JP2015210801A JP2015210801A (en) 2015-11-24
JP6345476B2 true JP6345476B2 (en) 2018-06-20

Family

ID=54612895

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2014094251A Expired - Fee Related JP6345476B2 (en) 2014-04-30 2014-04-30 Information processing apparatus and information processing apparatus control method

Country Status (1)

Country Link
JP (1) JP6345476B2 (en)

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5476952B2 (en) * 2009-12-03 2014-04-23 日本電気株式会社 Mobile device
JP2011170617A (en) * 2010-02-18 2011-09-01 On Semiconductor Trading Ltd Electrostatic capacity type touch sensor
JP2012053684A (en) * 2010-09-01 2012-03-15 Toshiba Tec Corp Display input device and display input method
JP5656666B2 (en) * 2011-01-21 2015-01-21 三菱電機株式会社 Touch panel device
JP5784471B2 (en) * 2011-11-29 2015-09-24 ミネベア株式会社 Electronic device input device and input control method

Also Published As

Publication number Publication date
JP2015210801A (en) 2015-11-24

Similar Documents

Publication Publication Date Title
JP7585448B2 (en) Method performed by a pen or a pen detection device for detecting said pen
US9785344B2 (en) Portable electronic apparatus and touch detecting method thereof
JP5618703B2 (en) Mobile device
KR101826212B1 (en) Capacitive sensor action in response to proximity sensor data
CN106453829A (en) Method and device for detecting drop height
CN105824465A (en) Touch determination method and device, and display device
JP2014048971A (en) Input device, method for controlling input device, control program, and computer readable recording medium recorded with control program
JP6089906B2 (en) Input device, input program, and input method
CN111522470A (en) Touch data processing method and device, electronic device, storage medium
CN111338495A (en) Method and device for determining touch point
JP2015210800A (en) Information processing apparatus and control method of information processing apparatus
JP6345476B2 (en) Information processing apparatus and information processing apparatus control method
JP6352039B2 (en) Information processing apparatus and control method of information processing apparatus
JP2015211455A (en) Information processing apparatus and information processing apparatus control method
US20140292726A1 (en) Information processing apparatus, information processing method, and computer-readable recording medium recording information processing program
TW201931079A (en) Electronic device, control device, storage medium, and control method
EP3220243B1 (en) Input device, control method of input device, and program
WO2015166958A1 (en) Information processing device and control method for information processing device
TWI622921B (en) Capacitance value detecting method of touch device
TWI582646B (en) Electronic device and method for preventing noise interference applied to electronic device
JP6345475B2 (en) Information processing apparatus and control method
JP6334249B2 (en) Information processing apparatus and information processing apparatus control method
CN110035172B (en) Electronic equipment, control device, and recording medium
JP6334246B2 (en) Information processing apparatus and control method of information processing apparatus
WO2015166965A1 (en) Information processing device, and control method of information processing device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20170323

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20171031

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20171211

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20180523

R150 Certificate of patent or registration of utility model

Ref document number: 6345476

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

LAPS Cancellation because of no payment of annual fees