JP2015210800A - Information processing device and method for controlling information processing device - Google Patents

Information processing device and method for controlling information processing device Download PDF

Info

Publication number
JP2015210800A
JP2015210800A JP2014094247A JP2014094247A JP2015210800A JP 2015210800 A JP2015210800 A JP 2015210800A JP 2014094247 A JP2014094247 A JP 2014094247A JP 2014094247 A JP2014094247 A JP 2014094247A JP 2015210800 A JP2015210800 A JP 2015210800A
Authority
JP
Japan
Prior art keywords
value
sensor
change
mode
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.)
Pending
Application number
JP2014094247A
Other languages
Japanese (ja)
Inventor
柏木 徹
Toru Kashiwagi
徹 柏木
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 JP2014094247A priority Critical patent/JP2015210800A/en
Priority to PCT/JP2015/062886 priority patent/WO2015166965A1/en
Publication of JP2015210800A publication Critical patent/JP2015210800A/en
Pending legal-status Critical Current

Links

Images

Abstract

PROBLEM TO BE SOLVED: To provide an information processing device in which the malfunction of a contact sensor due to an influence of noise is suppressed.SOLUTION: An information processing device includes: a reference value change unit (25) that changes a reference level; and a change amount detection unit (24) that detects the amount of change per unit time of a sensor value. The reference value change unit (25) executes, if the amount of change is smaller than a predetermined change threshold value, a normal mode for setting the sensor value as a reference level; and does not execute, if the amount of change is equal to or larger than the change threshold value, the normal mode.

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.

特許文献1に記載されているようなセンサ(接触センサ)は、周囲の環境の変化によって、物体が非接触のときのセンサ値が変化する場合がある。例えば、静電容量センサの場合、センサの周囲の温度変化によって、物体が非接触のときに検出されるセンサ値が変化してしまう。このとき物体が接触したか否かを判定するための閾値が不変であると、センサの誤動作(例えば、ユーザが接触センサに触れているのに、触れていないと判定するなど)が生じ得る。このような問題の解決策として、物体が非接触であると判断されるときのセンサ値を取得し、当該センサ値に合わせて所定の時間間隔で閾値を変化させる技術がある。   A sensor (contact sensor) as described in Patent Document 1 may change the sensor value when the object is not in contact with the surrounding environment. For example, in the case of a capacitance sensor, a sensor value detected when an object is not in contact changes due to a temperature change around the sensor. If the threshold value for determining whether or not an object has touched at this time is unchanged, a malfunction of the sensor (for example, determining that the user is touching the touch sensor but not touching it) may occur. As a solution to such a problem, there is a technique of acquiring a sensor value when an object is determined to be non-contact and changing a threshold value at a predetermined time interval in accordance with the sensor value.

図7は、従来の情報処理装置におけるセンサ値と閾値との関係を示すタイミングチャートであり、(a)は、温度変化によるセンサ値の変化に応じて閾値を変化させたときのタイミングチャートであり、(b)は、ノイズの影響を受けてセンサ値が変化したときのタイミングチャートである。   FIG. 7 is a timing chart showing a relationship between a sensor value and a threshold value in a conventional information processing apparatus, and (a) is a timing chart when the threshold value is changed according to a change in the sensor value due to a temperature change. , (B) is a timing chart when the sensor value changes due to the influence of noise.

図7の(a)に示すように、従来は、所定のタイミングでセンサ値を取得することによって、物体が非接触のときのセンサ値としての基準レベルを設定し、当該基準レベルと一定の差を有する値を閾値としていた。これにより、センサ値の変化に追従するようにして閾値を変化させ、センサの周囲の温度変化によって生じ得る誤動作を防止していた。   As shown in FIG. 7A, conventionally, by obtaining a sensor value at a predetermined timing, a reference level is set as a sensor value when the object is not in contact, and a certain difference from the reference level is set. A value having a threshold value was used as a threshold value. Thereby, the threshold value is changed so as to follow the change of the sensor value, and the malfunction that may occur due to the temperature change around the sensor is prevented.

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

しかしながら、上記のようなセンサを備えた情報処理装置は、RFノイズなどの外乱によって誤動作が発生してしまうという問題がある。以下、具体的に説明する。   However, an information processing apparatus including the above-described sensor has a problem that malfunction occurs due to disturbance such as RF noise. This will be specifically described below.

静電容量センサを備えた情報処理装置では、RFノイズの影響を受けたり、静電容量センサのインピーダンスが変動したりすることによって、センサ値が変化する。例えば、図7の(b)に示すように、時刻t0においてノイズの影響を受けてセンサ値が上昇(増大)し始め、センサ値の変化に追従するように基準レベル及び閾値を変化させ、時刻t1においてノイズの影響が無くなることによってセンサ値が低下(減少)する場合を考える。   In an information processing apparatus provided with a capacitance sensor, the sensor value changes due to the influence of RF noise or the impedance of the capacitance sensor fluctuating. For example, as shown in FIG. 7B, the sensor value starts to increase (increase) due to the influence of noise at time t0, and the reference level and threshold are changed so as to follow the change in the sensor value. Consider a case in which the sensor value decreases (decreases) because the influence of noise disappears at t1.

ノイズの影響によるセンサ値の変化は、温度変化の影響によるセンサ値の変化に比べて急峻であるため、時刻t1以降のセンサ値の低下に対して、基準レベル及び閾値を十分な応答速度で追従変化させることができない。   The change in sensor value due to the effect of noise is steeper than the change in sensor value due to the effect of temperature change, so the reference level and threshold value are followed with sufficient response speed against the decrease in sensor value after time t1. It cannot be changed.

その結果、時刻t2においてセンサ値が閾値を下回り、ユーザが接触センサに触れていないにもかかわらず触れていると判定するなどの誤動作をしてしまう。   As a result, the sensor value falls below the threshold value at time t2, and a malfunction occurs such as determining that the user is touching the touch sensor even though he is not touching the touch sensor.

そこで、本発明は、上記の課題に鑑みなされたものであって、その目的は、ノイズの影響による接触センサの誤動作を抑制した情報処理装置、及び情報処理装置の制御方法を提供することにある。   Therefore, the present invention has been made in view of the above-described problems, and an object thereof is to provide an information processing apparatus that suppresses malfunction of a contact sensor due to the influence of noise, and a control method for the information processing apparatus. .

上記の課題を解決するために、本発明の一態様に係る情報処理装置は、把持部を把持したユーザの手が接触する位置に設けられており、上記把持部に対する物体の接近又は接触に伴って変化するセンサ値を出力する接触センサと、上記物体が非接触のときの上記センサ値に対応する基準値と、出力された上記センサ値と、の差分の値に基づいて把持の有無を判定する把持判定手段と、上記センサ値の変化に伴い、上記基準値を変更する基準値変更手段と、を備えた情報処理装置であって、任意の時間における上記センサ値の単位時間当たりの変化量を検知する変化量検知手段を備えており、上記基準値変更手段は、上記変化量が予め定められた値である変化閾値よりも小さい場合に、上記センサ値の値を上記基準値として設定する第1モードを実行するとともに、上記変化量が上記変化閾値以上である場合に、上記第1モードを実行しないことを特徴とする。   In order to solve the above-described problem, an information processing apparatus according to one embodiment of the present invention is provided at a position where a user's hand holding a gripping unit comes into contact with an object approaching or contacting the gripping unit. The presence or absence of gripping is determined based on the difference between the contact sensor that outputs a sensor value that changes and the reference value corresponding to the sensor value when the object is not in contact with the output sensor value. An information processing apparatus comprising: a gripping determination unit that performs a reference value changing unit that changes the reference value in accordance with a change in the sensor value, wherein the amount of change per unit time of the sensor value at an arbitrary time The reference value changing means sets the sensor value as the reference value when the change amount is smaller than a change threshold that is a predetermined value. 1st mode And executes, if the change amount is equal to or larger than the variation threshold, characterized in that it does not execute the first mode.

また、上記の課題を解決するために、本発明の一態様に係る情報処理装置の制御方法は、把持部を把持したユーザの手が接触する位置に設けられており、上記把持部に対する物体の接近又は接触に伴って変化するセンサ値を出力する接触センサを備えた情報処理装置の制御方法であって、上記物体が非接触のときの上記センサ値に対応する基準値と、出力された上記センサ値と、の差分の値に基づいて把持の有無を判定する把持判定ステップと、上記センサ値の変化に伴い、上記基準値を変更する基準値変更ステップと、任意の時間における上記センサ値の単位時間当たりの変化量を検知する変化量検知ステップと、を含んでおり、上記基準値変更ステップにおいて、上記変化量が予め定められた値である変化閾値よりも小さい場合に、上記センサ値の値を上記基準値として設定する第1モードを実行するとともに、上記変化量が上記変化閾値以上である場合に、上記第1モードを実行しないことを特徴とする。   In order to solve the above-described problem, a control method for an information processing device according to an aspect of the present invention is provided at a position where a user's hand holding a gripping unit touches the object, A control method of an information processing apparatus including a contact sensor that outputs a sensor value that changes with approach or contact, wherein the reference value corresponding to the sensor value when the object is not in contact with the output sensor A gripping determination step for determining the presence or absence of gripping based on a difference value between the sensor value, a reference value changing step for changing the reference value in accordance with a change in the sensor value, and the sensor value at an arbitrary time. A change amount detecting step for detecting a change amount per unit time, and in the reference value changing step, when the change amount is smaller than a change threshold that is a predetermined value, The values of capacitors value and executes a first mode to be set as the reference value, if the change amount is equal to or larger than the variation threshold, characterized in that it does not execute the first mode.

本発明の一態様によれば、ノイズの影響による接触センサの誤動作を抑制した情報処理装置、及び情報処理装置の制御方法を提供することができる。   According to one embodiment of the present invention, it is possible to provide an information processing apparatus and a control method for the information processing apparatus in which malfunction of the contact sensor due to the influence of noise is suppressed.

本発明の実施形態1に係る携帯端末の要部構成の一例を示すブロック図である。It is a block diagram which shows an example of the principal part structure of the portable terminal which concerns on Embodiment 1 of this invention. 本発明の実施形態1に係る携帯端末(情報処理装置)の外観を示す概略図である。It is the schematic which shows the external appearance of the portable terminal (information processing apparatus) which concerns on Embodiment 1 of this invention. 本発明の実施形態1に係る携帯端末(情報処理装置)におけるセンサ値、基準レベル、及び閾値の関係を示すタイミングチャートである。It is a timing chart which shows the relationship between the sensor value in the portable terminal (information processing apparatus) which concerns on Embodiment 1 of this invention, a reference level, and a threshold value. 本発明の実施形態2に係る携帯端末(情報処理装置)におけるセンサ値、基準レベル、及び閾値の関係を示すタイミングチャートである。It is a timing chart which shows the relationship between the sensor value in the portable terminal (information processing apparatus) which concerns on Embodiment 2 of this invention, a reference level, and a threshold value. 本発明の実施形態3に係る携帯端末(情報処理装置)におけるセンサ値及び基準レベルの関係を示すタイミングチャートである。It is a timing chart which shows the relationship between the sensor value in the portable terminal (information processing apparatus) which concerns on Embodiment 3 of this invention, and a reference level. 本発明の実施形態3に係る携帯端末(情報処理装置)におけるセンサ値及び基準レベルの関係を示すタイミングチャートである。It is a timing chart which shows the relationship between the sensor value in the portable terminal (information processing apparatus) which concerns on Embodiment 3 of this invention, and a reference level. 従来の情報処理装置におけるセンサ値と閾値との関係を示すタイミングチャートであり、(a)は、温度変化によるセンサ値の変化に応じて閾値を変化させたときのタイミングチャートであり、(b)は、ノイズの影響を受けてセンサ値が変化したときのタイミングチャートである。It is a timing chart which shows the relationship between the sensor value and threshold value in the conventional information processing apparatus, (a) is a timing chart when changing a threshold value according to the change of the sensor value by a temperature change, (b) These are timing charts when the sensor value changes due to the influence of noise.

以下、本発明の実施形態について、詳細に説明する。以下の特定の項目(実施形態)における構成について、それが他の項目で説明されている構成と同じである場合は、説明を省略する場合がある。また、説明の便宜上、各項目に示した部材と同一の機能を有する部材については、同一の符号を付し、適宜その説明を省略する。   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.

〔実施形態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 external appearance of the mobile terminal 1 (information processing apparatus) 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.

図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 including a contact sensor 11, a grip determination unit 12 (grip determination unit), 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 the approach or 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 (contact determination unit), a calibration unit 23, a change amount detection unit 24 (change amount detection unit), and a reference value change unit 25 (reference value change unit). Prepare. 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.

把持判定部12は、センサ値と閾値(把持閾値)とを比較し、センサ値が閾値を超えた場合に、筐体が把持されたと判定する。言い換えると、把持判定部12は、基準レベルとセンサ値との差分を算出し、上記差分が所定の値を超えた場合に、筐体が把持されたと判定する。   The grip determination unit 12 compares the sensor value with a threshold value (grip threshold value), and determines that the housing is gripped when the sensor value exceeds the threshold value. In other words, the grip determination unit 12 calculates a difference between the reference level and the sensor value, and determines that the housing is gripped when the difference exceeds a predetermined value.

なお、「センサ値が閾値を超えた場合」は、「センサ値が閾値を越えた場合」と言い換えることができる。すなわち、ここでいう「センサ値が閾値を超えた場合」は、センサ値が閾値を跨いで変化することを意味し、センサ値が閾値を上回る場合と下回る場合とを含む。   Note that “when the sensor value exceeds the threshold” can be restated as “when the sensor value exceeds the threshold”. That is, “when the sensor value exceeds the threshold value” here means that the sensor value changes across the threshold value, and includes a case where the sensor value exceeds the threshold value and a case where the sensor value falls below the threshold value.

具体的には、筐体が把持されるに伴ってセンサ値が変化する方向が正方向である場合、「センサ値が閾値を超えた場合」とは、センサ値が閾値を上回る場合を意味し、筐体が把持されるに伴ってセンサ値が変化する方向が負方向である場合、「センサ値が閾値を超えた場合」とは、センサ値が閾値を下回る場合を意味する。   Specifically, when the sensor value changes in the positive direction as the housing is gripped, “when the sensor value exceeds the threshold” means that the sensor value exceeds the threshold. When the direction in which the sensor value changes as the casing is gripped is a negative direction, “when the sensor value exceeds the threshold” means that the sensor value is below the threshold.

筐体が把持されるに伴ってセンサ値が変化する方向を正方向とするか負方向とするかは、接触センサ11をはじめとする携帯端末1の設計に応じて適宜選択することができる。   Whether the direction in which the sensor value changes as the casing is gripped can be positive or negative can be appropriately selected according to the design of the mobile terminal 1 including the contact sensor 11.

以下では、筐体が把持されるに伴ってセンサ値が変化する方向が負方向である携帯端末1を例に挙げて説明する。   Hereinafter, the portable terminal 1 in which the direction in which the sensor value changes as the casing is gripped will be described as an example.

(センサ制御部21)
センサ制御部21は、所定のタイミングで接触センサ11を動作させ、接触センサ11の出力としてセンサ値を取得する。センサ制御部21は、一定期間ごとに接触センサ11からセンサ値を取得する。接触センサ11が複数ある場合、センサ制御部21は、一定期間ごとにそれぞれの接触センサ11からセンサ値を取得する。センサ制御部21は、センサ値を、接触判定部22、変化量検知部24、及び基準値変更部25に出力する。
(Sensor control unit 21)
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, the change amount detection unit 24, and the reference value change unit 25.

(接触判定部22)
接触判定部22は、センサ値と把持閾値とを比較し、センサ値が把持閾値より小さくなった場合、ユーザの手が(筐体を介して)接触センサ11に接触していると判定する。また、接触判定部22は、現時点で接触センサ11が接触状態であることを記憶する。さらに、接触判定部22は、センサ値と解放閾値とを比較し、センサ値が解放閾値より大きくなった場合、ユーザの手が接触センサ11から離れた(把持から解放された)と判定する。また、接触判定部22は、現時点で接触センサ11が非接触状態であることを記憶する。センサ値が把持閾値以上かつ解放閾値以下の場合、接触判定部22は、直前の状態(接触状態または非接触状態)が継続していると判定し、その状態を記憶し続ける。
(Contact determination unit 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 (gripping determination step). 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)
較正部23は、所定のタイミングでセンサ制御部21からセンサ値を取得し、センサ値に基づいて基準レベルを較正する。例えば較正部23は、一定期間ごとに基準レベルの較正を行う。また、較正部23は、携帯端末1の電源がオンになった時、および、把持判定の機能がオンに設定された時などにも基準レベルの較正を行う。較正部23は、センサ値を複数回取得し、複数のセンサ値の平均値(または中間値)を基準レベルとして設定する。基準レベルが変更されると、基準レベル値を変更した情報に基づいて、把持閾値および解放閾値も変更される。これにより、温度などの環境変化に応じて、非接触時のセンサ値を表すための基準レベルを較正することができる。
(Calibration unit 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 that has changed the reference level value. 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)
変化量検知部24は、任意の時間におけるセンサ値の単位時間当たりの変化量(センサ値の傾き)を検知する(変化量検知ステップ)。さらに、センサ値の単位時間当たりの変化量を基準値変更部25に出力する。
(Change amount detection unit 24)
The change amount detection unit 24 detects the change amount (sensor value inclination) per unit time of the sensor value at an arbitrary time (change amount detection step). Further, the change amount per unit time of the sensor value is output to the reference value changing unit 25.

センサ値の単位時間当たりの変化量とは、例えば、センサ制御部21によって一定期間を空けて連続して取得される2つのセンサ値の差分であってもよい。   The amount of change per unit time of the sensor value may be, for example, a difference between two sensor values that are continuously acquired by the sensor control unit 21 after a certain period.

(基準値変更部25)
基準値変更部25は、変化量検知部24に検知されたセンサ値の変化量と、予め定められた変化量の閾値(変化閾値)とを比較し、比較結果に応じて、通常モード(第1モード)、及びUモード(第2モード)の何れかのモードを実行する。
(Reference value changing unit 25)
The reference value changing unit 25 compares the change amount of the sensor value detected by the change amount detection unit 24 with a predetermined change amount threshold value (change threshold value), and according to the comparison result, the normal mode (first mode). 1 mode) and U mode (second mode).

具体的には、変化量検知部24によるセンサ値の変化量が変化閾値よりも小さい場合、通常モードを実行し、変化量検知部24によるセンサ値の変化量が変化閾値以上である場合、Uモードを実行する。そして、基準値変更部25は、必要に応じて基準レベルを変更し(基準値変更ステップ)、変更後の基準レベルを接触判定部22に出力する。   Specifically, when the change amount of the sensor value by the change amount detection unit 24 is smaller than the change threshold value, the normal mode is executed, and when the change amount of the sensor value by the change amount detection unit 24 is equal to or greater than the change threshold value, U Run the mode. Then, the reference value changing unit 25 changes the reference level as necessary (reference value changing step), and outputs the changed reference level to the contact determination unit 22.

センサの周囲の温度が低温から高温へと変化する場合、温度変化に基づくセンサ値の変化量は、RFノイズの影響に基づくセンサ値の変化量よりも小さい。そこで、温度変化に基づくセンサ値の変化量と、RFノイズの影響に基づくセンサ値の変化量とを分類するのに適した値を、上記変化閾値として予め設定する。これにより、センサ値の変化を、温度変化によるものと、RFノイズの影響によるものとに分類することができ、それぞれの要因に基づくセンサ値の変化に応じて、各モードを実行することができる。   When the ambient temperature of the sensor changes from a low temperature to a high temperature, the change amount of the sensor value based on the temperature change is smaller than the change amount of the sensor value based on the influence of the RF noise. Therefore, a value suitable for classifying the change amount of the sensor value based on the temperature change and the change amount of the sensor value based on the influence of the RF noise is set in advance as the change threshold value. Thereby, changes in sensor values can be classified into those due to temperature changes and those due to the influence of RF noise, and each mode can be executed in accordance with changes in sensor values based on the respective factors. .

基準値変更部25は、通常モード実行中は、センサ値の変化に追従して基準レベルを変更する。一方で、基準値変更部25は、Uモード実行中は、センサ値が変化した場合であってもセンサ値の変化に追従して基準レベルを変更しない。   The reference value changing unit 25 changes the reference level following the change in the sensor value during execution of the normal mode. On the other hand, the reference value changing unit 25 does not change the reference level following the change of the sensor value even when the sensor value changes during execution of the U mode.

基準値変更部25は、通常モード実行中、センサ値の変化に追従するように基準レベルを変更することによって、温度変化などの周囲の環境の変化に応じて基準レベル及び閾値を変化させることができる。これにより、環境の変化が生じた場合であっても誤動作の発生を抑制することができる。   The reference value changing unit 25 can change the reference level and the threshold according to a change in the surrounding environment such as a temperature change by changing the reference level so as to follow the change in the sensor value during execution of the normal mode. it can. Thereby, even if it is a case where a change of an environment arises, generation | occurrence | production of a malfunction can be suppressed.

また、RFノイズの影響によるセンサ値の変化量は、温度変化によるセンサ値の変化量よりも大きい。さらに、RFノイズの影響によるセンサ値の変化は、温度変化によるセンサ値の変化に比べて急峻である。そのため、RFノイズの影響によるセンサ値の変化に応じて基準レベルを変化させた場合、図7の(b)に示すように、突如、RFノイズが無くなったときに、ユーザの動作にかかわらずセンサ値が閾値(把持閾値、解放閾値)を超えてしまい、誤動作が発生してしまう。   Further, the change amount of the sensor value due to the influence of the RF noise is larger than the change amount of the sensor value due to the temperature change. Furthermore, the change in the sensor value due to the influence of the RF noise is steep compared to the change in the sensor value due to the temperature change. Therefore, when the reference level is changed according to the change of the sensor value due to the influence of the RF noise, as shown in FIG. 7B, when the RF noise suddenly disappears, the sensor is not affected regardless of the user's operation. The value exceeds a threshold value (gripping threshold value, release threshold value), and a malfunction occurs.

これに対して、本実施形態の携帯端末1によれば、基準値変更部25は、センサ値の変化量が変化閾値以上である場合に、Uモードを実行し、Uモード実行中はセンサ値が変化した場合であってもセンサ値の変化に追従して基準レベルを変更しない。すなわち、基準値変更部25は、RFノイズなどの外乱の影響に応じて基準レベルを変更しない。これにより、RFノイズの影響による誤動作を抑制することができる。   On the other hand, according to the mobile terminal 1 of the present embodiment, the reference value changing unit 25 executes the U mode when the change amount of the sensor value is equal to or larger than the change threshold, and the sensor value during the execution of the U mode. Even if is changed, the reference level is not changed following the change of the sensor value. That is, the reference value changing unit 25 does not change the reference level according to the influence of disturbance such as RF noise. Thereby, malfunction due to the influence of RF noise can be suppressed.

(動作例)
以下、本実施形態におけるセンサ値と基準レベルとの関係、及び携帯端末1の制御方法について、具体例に基づいて説明する。
(Operation example)
Hereinafter, the relationship between the sensor value and the reference level and the control method of the mobile terminal 1 in the present embodiment will be described based on specific examples.

図3は、本実施形態の携帯端末におけるセンサ値、基準レベル、及び閾値の関係を示すタイミングチャートである。   FIG. 3 is a timing chart showing the relationship between the sensor value, the reference level, and the threshold value in the mobile terminal of the present embodiment.

図3に示すように、変化量検知部24は、時刻t1(第1の時刻)おけるセンサ値(第1センサ値)と、時刻t2(第2の時刻)におけるセンサ値(第2センサ値)との差分から、時刻t1から時刻t2までの時間(単位時間)当たりのセンサ値の変化量を検知する。時刻t1から時刻t2までの単位時間当たりのセンサ値の変化量が、予め定められた変化閾値以上である場合、基準値変更部25は、時刻t2において、通常モードからUモードに移行する。   As shown in FIG. 3, the change amount detection unit 24 has a sensor value (first sensor value) at time t1 (first time) and a sensor value (second sensor value) at time t2 (second time). From this difference, the change amount of the sensor value per time (unit time) from time t1 to time t2 is detected. When the change amount of the sensor value per unit time from time t1 to time t2 is equal to or greater than a predetermined change threshold, the reference value changing unit 25 shifts from the normal mode to the U mode at time t2.

なお、仮に、時刻t1から時刻t2までの単位時間当たりのセンサ値の変化量が変化閾値よりも小さい場合、基準値変更部25は通常モードを継続し、時刻t2におけるセンサ値を基準レベルとして設定する。   If the change amount of the sensor value per unit time from time t1 to time t2 is smaller than the change threshold value, the reference value changing unit 25 continues the normal mode and sets the sensor value at time t2 as the reference level. To do.

図3に示すように、基準値変更部25は、Uモード実行中、センサ値が変化した場合であっても基準レベルを変更しない。これにより、突如、RFノイズなどの外乱が無くなり、センサ値が低下した場合であっても、センサ値が容易に閾値(把持閾値、解放閾値)を超えることがないため、誤動作を抑制することができる。   As shown in FIG. 3, the reference value changing unit 25 does not change the reference level even when the sensor value changes during execution of the U mode. As a result, even when disturbance such as RF noise suddenly disappears and the sensor value decreases, the sensor value does not easily exceed the threshold value (gripping threshold value, release threshold value), so that malfunctions can be suppressed. it can.

また、基準値変更部25は、Uモード実行中、時刻t3において、センサ値が予め定められた値であるUモード解除閾値(モード閾値)を超えた場合、Uモードにから通常モードに移行する。   The reference value changing unit 25 shifts from the U mode to the normal mode when the sensor value exceeds a U mode release threshold (mode threshold) that is a predetermined value at time t3 during execution of the U mode. .

Uモード解除閾値の値は適宜設定することができる。例えば、Uモード解除閾値の値は、Uモード実行中における基準レベルと同じ値であってもよい。   The value of the U mode release threshold can be set as appropriate. For example, the value of the U mode release threshold value may be the same value as the reference level during execution of the U mode.

〔実施形態2〕
本発明の他の実施形態について、図4に基づいて説明すれば、以下のとおりである。なお、説明の便宜上、前記実施形態にて説明した部材と同じ機能を有する部材については、同じ符号を付記し、その説明を省略する。
[Embodiment 2]
The following will describe another embodiment of the present invention with reference to FIG. For convenience of explanation, members having the same functions as those described in the embodiment are given the same reference numerals, and descriptions thereof are omitted.

本実施形態の携帯端末1の基準値変更部25は、実施形態1の携帯端末の基準値変更部とは異なり、Uモード実行中であっても、温度変化などの環境の変化に対応して基準レベルを変更する。   Unlike the reference value changing unit of the portable terminal of the first embodiment, the reference value changing unit 25 of the portable terminal 1 of the present embodiment responds to environmental changes such as temperature changes even during the execution of the U mode. Change the reference level.

図4は、本実施形態の携帯端末におけるセンサ値、基準レベル、及び閾値の関係を示すタイミングチャートである。   FIG. 4 is a timing chart showing the relationship between the sensor value, the reference level, and the threshold value in the mobile terminal of this embodiment.

図4に示すように、変化量検知部24は、時刻t1おけるセンサ値と、時刻t2におけるセンサ値との差分から、時刻t1から時刻t2までの単位時間当たりのセンサ値の変化量を検知する。時刻t1から時刻t2までの単位時間当たりのセンサ値の変化量が、予め定められた変化閾値以上である場合、基準値変更部25は、時刻t2において、通常モードからUモードに移行する。   As shown in FIG. 4, the change amount detection unit 24 detects the change amount of the sensor value per unit time from time t1 to time t2 from the difference between the sensor value at time t1 and the sensor value at time t2. . When the change amount of the sensor value per unit time from time t1 to time t2 is equal to or greater than a predetermined change threshold, the reference value changing unit 25 shifts from the normal mode to the U mode at time t2.

変化量検知部24は、その後も単位時間当たりのセンサ値の変化量を検知する。そして、単位時間当たりのセンサ値の変化量が変化閾値以上である場合には、基準値変更部25は基準レベルを変更しない。   After that, the change amount detection unit 24 detects the change amount of the sensor value per unit time. When the change amount of the sensor value per unit time is equal to or greater than the change threshold value, the reference value changing unit 25 does not change the reference level.

一方、単位時間当たりのセンサ値の変化量の絶対値が、変化閾値よりも小さい場合には、基準レベルを上記変化量に応じて増減する。具体的には、時刻t3から時刻t4までの単位時間当たりのセンサ値の増加量S34の絶対値が変化閾値よりも小さい場合、時刻t4において、センサ値、閾値及びUモード閾値をS34だけ上昇させる。また、時刻t5から時刻t6までの単位時間当たりのセンサ値の減少量S56の絶対値が変化閾値よりも小さい場合、時刻t6において、センサ値、閾値及びUモード閾値をS56だけ低下させる。これにより、Uモード実行中において、単位時間当たりのセンサ値の変化量の絶対値が変化閾値よりも小さい場合に、当該センサ値の変化を環境の変化に起因するものと捉え、センサ値と基準レベルとの差を保ったまま、センサ値の変化に追従するように基準レベル及び閾値を変更することができる。   On the other hand, when the absolute value of the change amount of the sensor value per unit time is smaller than the change threshold value, the reference level is increased or decreased according to the change amount. Specifically, when the absolute value of the sensor value increase amount S34 per unit time from time t3 to time t4 is smaller than the change threshold, the sensor value, the threshold, and the U mode threshold are increased by S34 at time t4. . If the absolute value of the sensor value decrease amount S56 per unit time from time t5 to time t6 is smaller than the change threshold value, the sensor value, threshold value, and U mode threshold value are decreased by S56 at time t6. As a result, when the absolute value of the change amount of the sensor value per unit time is smaller than the change threshold during execution of the U mode, the change of the sensor value is regarded as being caused by the change of the environment, and the sensor value and the reference The reference level and the threshold value can be changed so as to follow the change of the sensor value while maintaining the difference from the level.

なお、時刻t7から時刻t8までの単位時間当たりのセンサ値の減少量S78の絶対値が変化閾値以上である場合、基準値変更部25は、センサ値、閾値及びUモード閾値を変更しない。   When the absolute value of the sensor value decrease amount S78 per unit time from time t7 to time t8 is equal to or greater than the change threshold, the reference value changing unit 25 does not change the sensor value, the threshold, and the U mode threshold.

本実施形態の携帯端末によれば、Uモード実行中においても、環境の変化に対応して基準レベル及び閾値を適切に設定することができ、センサの周囲の環境の変化によって生じ得る誤動作を抑制することができる。   According to the mobile terminal of this embodiment, even during the execution of the U mode, it is possible to appropriately set the reference level and the threshold corresponding to the environmental change, and to suppress malfunctions that may occur due to the environmental change around the sensor. can do.

〔実施形態3〕
本発明の他の実施形態について、図5〜図6に基づいて説明すれば、以下のとおりである。なお、説明の便宜上、前記実施形態にて説明した部材と同じ機能を有する部材については、同じ符号を付記し、その説明を省略する。
[Embodiment 3]
The following will describe another embodiment of the present invention with reference to FIGS. For convenience of explanation, members having the same functions as those described in the embodiment are given the same reference numerals, and descriptions thereof are omitted.

本実施形態の携帯端末1の基準値変更部25は、ユーザが接触センサ11に接触した状態(携帯端末1を把持した状態)で較正部23による較正が行われた後は、単位時間当たりのセンサ値の変化量が変化閾値以上である場合であっても、Uモードに移行せず、通常モードを実行することを特徴とする。   The reference value changing unit 25 of the mobile terminal 1 according to the present embodiment has a unit per unit time after calibration is performed by the calibration unit 23 in a state in which the user is in contact with the contact sensor 11 (a state in which the mobile terminal 1 is held). Even when the change amount of the sensor value is equal to or larger than the change threshold value, the normal mode is executed without shifting to the U mode.

上述したように、携帯端末1において、較正部23は、所定のタイミングでセンサ値を取得し、センサ値に基づいて基準レベルを較正する。例えば較正部23は、一定期間ごとに基準レベルの較正を行う。具体的には、較正部23は、センサ値を複数回取得し、複数のセンサ値の平均値を基準レベルとして設定する。   As described above, in the mobile terminal 1, the calibration unit 23 acquires the sensor value 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. Specifically, the calibration unit 23 acquires sensor values a plurality of times, and sets an average value of the plurality of sensor values as a reference level.

ユーザが携帯端末1を把持した状態では、センサ値は閾値よりも小さい値となっている。そのため、ユーザが携帯端末1を把持した状態で較正部23による較正が行われた場合、基準レベルは、較正時における閾値よりも小さい値に設定される。   In a state where the user holds the mobile terminal 1, the sensor value is smaller than the threshold value. Therefore, when the calibration is performed by the calibration unit 23 while the user is holding the mobile terminal 1, the reference level is set to a value smaller than the threshold value at the time of calibration.

上記のように基準レベルが較正された場合、閾値は通常よりも低い値となってしまい、ユーザが携帯端末1を把持した状態であってもセンサ値が閾値を超え難いため、正常に把持判定をすることができない。   When the reference level is calibrated as described above, the threshold value is lower than normal, and the sensor value is unlikely to exceed the threshold value even when the user is holding the mobile terminal 1. I can't.

そこで、本実施形態の携帯端末1の基準値変更部25は、ユーザが携帯端末1を把持した状態で較正部23による較正が行われた後の所定期間では、単位時間当たりのセンサ値の変化量が変化閾値以上である場合であっても、Uモードに移行せず通常モードを実行することにより、早期に基準レベルを較正前の値まで上昇させる。   Therefore, the reference value changing unit 25 of the mobile terminal 1 according to the present embodiment changes the sensor value per unit time in a predetermined period after the calibration is performed by the calibration unit 23 with the user holding the mobile terminal 1. Even if the amount is equal to or greater than the change threshold value, the reference level is raised to the value before calibration early by executing the normal mode without shifting to the U mode.

以下、具体例を挙げて説明する。図5及び図6は、本実施形態の携帯端末におけるセンサ値及び基準レベルの関係を示すタイミングチャートである。   Hereinafter, a specific example will be described. 5 and 6 are timing charts showing the relationship between the sensor value and the reference level in the mobile terminal of the present embodiment.

図5に示すように、ユーザが携帯端末1を把持することによって、時刻t0からセンサ値が低下し始め、閾値(図示しない)以下まで低下する。センサ値が閾値以下まで低下した状態で、時刻t1において較正部23による較正が行われた場合、基準レベルは、較正前の値Bc(第1基準値)から較正時のセンサ値まで低下する。   As shown in FIG. 5, when the user holds the mobile terminal 1, the sensor value starts to decrease from time t <b> 0 and decreases to a threshold value (not shown) or less. When calibration by the calibration unit 23 is performed at time t1 in a state where the sensor value has decreased below the threshold value, the reference level decreases from the pre-calibration value Bc (first reference value) to the sensor value at the time of calibration.

基準値変更部25は、較正前の基準レベルの値であるBcを記憶する。そして、基準レベルが上昇して再びBcとなるまでの期間において、単位時間当たりのセンサ値の変化量が変化閾値以上であっても、基準値変更部25は、Uモードに移行することなく通常モードを実行する。具体的には、基準レベルが上昇して再びBcとなるまでの期間において、時刻t1から時刻t2までの単位時間当たりのセンサ値の変化量が変化閾値以上であっても、基準値変更部25は通常モードを実行し、センサ値の変化に追従するように基準レベルを変更する。   The reference value changing unit 25 stores Bc, which is the value of the reference level before calibration. In the period from when the reference level rises to Bc again, the reference value changing unit 25 normally does not shift to the U mode even if the change amount of the sensor value per unit time is equal to or greater than the change threshold. Run the mode. Specifically, in the period from when the reference level increases to Bc again, even if the sensor value change amount per unit time from time t1 to time t2 is greater than or equal to the change threshold, the reference value changing unit 25 Executes the normal mode and changes the reference level to follow the change of the sensor value.

基準レベルが上昇して再びBcとなった後は、基準値変更部25は、実施形態1及び2と同様に、通常モード又はUモードを実行する。   After the reference level increases and becomes Bc again, the reference value changing unit 25 executes the normal mode or the U mode as in the first and second embodiments.

また、図6に示すように、時刻t1において較正部23による較正が行われた後、時刻t2において、センサ値がBcよりも大きくなった場合には、基準値変更部25は、基準レベルをBcに設定する。これにより、時刻t1において較正部23による較正が行われた後、センサ値がBcよりも大きくなった場合に、較正前の基準レベルの値(Bc)を上限として基準レベルを設定することによって、基準レベルの過度な上昇を防止することができる。   As shown in FIG. 6, after the calibration by the calibration unit 23 at time t1, if the sensor value becomes larger than Bc at time t2, the reference value changing unit 25 sets the reference level. Set to Bc. Thus, after the calibration by the calibration unit 23 at time t1, when the sensor value becomes larger than Bc, by setting the reference level with the reference level value (Bc) before calibration as the upper limit, An excessive increase in the reference level can be prevented.

上記の構成によれば、ユーザが携帯端末1を把持した状態で較正部23による較正が行われることによって基準レベルが極端に低下した場合であっても、早期に基準レベルを較正前の値に戻すことができ、正常に把持判定をすることができる。また、Bcは較正前の保持された基準レベルとしたが、ここは、絶対値で設定してもよい。   According to said structure, even if it is a case where a reference level falls extremely by calibration by the calibration part 23 in the state which the user hold | gripped the portable terminal 1, a reference level is made into the value before calibration early. It can be returned, and a gripping determination can be made normally. In addition, Bc is a held reference level before calibration, but may be set as an absolute value.

〔ソフトウェアによる実現例〕
携帯端末1の制御ブロック(特に把持判定部12)は、集積回路(ICチップ)等に形成された論理回路(ハードウェア)によって実現してもよいし、CPU(Central Processing Unit)を用いてソフトウェアによって実現してもよい。
[Example of software implementation]
The control block (particularly the grip determination unit 12) of the mobile terminal 1 may be realized by a logic circuit (hardware) formed in an integrated circuit (IC chip) or the like, or software using a CPU (Central Processing Unit). It may be realized by.

後者の場合、携帯端末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)は、把持部を把持したユーザの手が接触する位置に設けられており、上記把持部に対する物体の接近又は接触に伴って変化するセンサ値を出力する接触センサ(11)と、上記物体が非接触のときの上記センサ値に対応する基準値(基準レベル)と、出力された上記センサ値と、の差分の値に基づいて把持の有無を判定する把持判定手段(把持判定部12)と、上記センサ値の変化に伴い、上記基準値を変更する基準値変更手段(基準値変更部25)と、を備えた情報処理装置であって、任意の時間における上記センサ値の単位時間当たりの変化量を検知する変化量検知手段(変化量検知部24)を備えており、上記基準値変更手段は、上記変化量が予め定められた値である変化閾値よりも小さい場合に、上記センサ値の値を上記基準値として設定する第1モード(通常モード)を実行するとともに、上記変化量が上記変化閾値以上である場合に、上記第1モードを実行しないことを特徴とする。
[Summary]
An information processing apparatus (portable terminal 1) according to aspect 1 of the present invention is provided at a position where a user's hand holding a gripping part comes into contact, and changes with an object approaching or contacting the gripping part A contact sensor (11) that outputs a value, a reference value (reference level) corresponding to the sensor value when the object is not in contact, and a difference value between the output sensor value and An information processing apparatus comprising: grip determination means (grip determination section 12) for determining presence / absence; and reference value change means (reference value change section 25) for changing the reference value in accordance with a change in the sensor value. And a change amount detecting means (change amount detecting unit 24) for detecting a change amount per unit time of the sensor value at an arbitrary time, and the reference value changing means has the change amount determined in advance. Than the change threshold value In this case, the first mode (normal mode) in which the sensor value is set as the reference value is executed, and the first mode is not executed when the amount of change is equal to or greater than the change threshold. Features.

上記の構成によれば、基準値変更手段は、単位時間当たりのセンサ値の変化量が変化閾値以上である場合に、第1モードを実行しないため、センサ値が変化した場合であってもセンサ値の変化に追従して基準値を変更しない。   According to the above configuration, the reference value changing unit does not execute the first mode when the change amount of the sensor value per unit time is equal to or greater than the change threshold value. The reference value is not changed following the change in value.

一般的に、RFノイズなどの外乱の影響に基づくセンサ値の変化量は、温度変化などの環境の変化に基づくセンサ値の変化量よりも大きい。   Generally, the amount of change in sensor value based on the influence of disturbance such as RF noise is larger than the amount of change in sensor value based on environmental changes such as temperature changes.

そこで、外乱の影響に基づくセンサ値の変化量と、環境の変化に基づくセンサ値の変化量とを分類するのに適した値を、変化閾値として設定しておくことによって、外乱の影響に基づいてセンサ値が変化した場合に、センサ値の変化に追従して基準値を変更しないものとすることができる。   Therefore, based on the influence of the disturbance by setting a value suitable for classifying the change amount of the sensor value based on the influence of the disturbance and the change amount of the sensor value based on the environmental change as a change threshold. Thus, when the sensor value changes, the reference value may not be changed following the change of the sensor value.

これにより、突如、外乱の影響が無くなった場合であっても、センサ値が容易に接触閾値を超えることがないため、外乱の影響による誤動作を抑制することができる。   As a result, even if the influence of the disturbance suddenly disappears, the sensor value does not easily exceed the contact threshold value, so that malfunction due to the influence of the disturbance can be suppressed.

本発明の態様2に係る情報処理装置は、上記態様1において、上記センサ値は、上記把持部に対する物体の接近又は接触に伴って値が変化し、上記変化量検知手段は、第1の時刻(時刻t1)に検出されたセンサ値としての第1センサ値から、第1の時刻よりも後の第2の時刻(時刻t2)に検出されたセンサ値としての第2センサ値への増加量を、上記変化量として検知し、上記基準値変更手段は、上記変化量が上記変化閾値よりも小さい場合に、上記第1モードにおいて、上記第2センサ値の値を上記基準値として設定する構成であってもよい。   The information processing apparatus according to aspect 2 of the present invention is the information processing apparatus according to aspect 1, wherein the sensor value changes as the object approaches or contacts the grip portion, and the change amount detection unit is configured to perform the first time Increase amount from the first sensor value as the sensor value detected at (time t1) to the second sensor value as the sensor value detected at the second time (time t2) after the first time The reference value changing means sets the value of the second sensor value as the reference value in the first mode when the change amount is smaller than the change threshold. It may be.

上記の構成によれば、環境の変化に基づくセンサ値の変化に対応して、基準値を適切に設定することができ、センサの周囲の環境の変化によって生じ得る誤動作を抑制することができる。   According to said structure, a reference value can be set appropriately according to the change of the sensor value based on the change of an environment, and the malfunction which may arise by the change of the environment around a sensor can be suppressed.

本発明の態様3に係る情報処理装置は、上記態様1または2において、上記基準値変更手段は、上記変化量が上記変化閾値以上である場合に、上記センサ値の値を上記基準値として設定しない第2モード(Uモード)を実行し、上記基準値変更手段は、上記第2モード実行中に上記接触センサから出力された上記センサ値が、予め定められた値であるモード閾値(Uモード解除閾値)を超えた場合に、上記第2モードに代えて、上記第1モードを実行する構成であってもよい。   In the information processing apparatus according to aspect 3 of the present invention, in the aspect 1 or 2, the reference value changing unit sets the value of the sensor value as the reference value when the amount of change is equal to or greater than the change threshold. The second mode (U mode) is executed, and the reference value changing means is configured to set a mode threshold value (U mode) in which the sensor value output from the contact sensor during execution of the second mode is a predetermined value. If the release threshold is exceeded, the first mode may be executed instead of the second mode.

上記の構成によれば、第1モードと第2モードとを、予め定められたモード閾値の値に応じて適切に切り替えることができる。   According to said structure, it can switch appropriately between 1st mode and 2nd mode according to the value of the predetermined mode threshold value.

なお、上記態様3において、上記モード閾値は、上記第2モード実行中における上記基準値と等しい値であってもよい。   In the aspect 3, the mode threshold may be equal to the reference value during execution of the second mode.

本発明の態様4に係る情報処理装置は、上記態様3において、上記第2モード実行中の単位時間当たりの上記センサ値の変化量の絶対値が、上記変化閾値の絶対値よりも小さい場合、上記基準値変更手段は、上記基準値及び上記モード閾値を、当該変化量に応じて増減する構成であってもよい。   In the information processing apparatus according to aspect 4 of the present invention, in the aspect 3, when the absolute value of the change amount of the sensor value per unit time during the execution of the second mode is smaller than the absolute value of the change threshold value, The reference value changing means may be configured to increase or decrease the reference value and the mode threshold according to the change amount.

上記の構成によれば、第2モード実行中においても、環境の変化に対応して基準レベル及び閾値を適切に設定することができ、センサの周囲の環境の変化によって生じ得る誤動作を抑制することができる。   According to the above configuration, even during execution of the second mode, it is possible to appropriately set the reference level and the threshold corresponding to the environmental change, and to suppress malfunction that may occur due to the environmental change around the sensor. Can do.

本発明の態様5に係る情報処理装置は、上記態様3または4において、上記基準値変更手段は、ある時刻の上記基準値である第1基準値を、把持部が把持された状態における上記センサ値に変更した後、上記センサ値が上記第1基準値を超えるまでの期間、上記変化量が上記変化閾値以上であっても、上記第2モードに移行せず、上記第1モードを実行する構成であってもよい。   In the information processing apparatus according to aspect 5 of the present invention, in the aspect 3 or 4, the reference value changing unit is configured to detect the first reference value, which is the reference value at a certain time, in the state where the grip portion is gripped. After the change to the value, during the period until the sensor value exceeds the first reference value, even if the change amount is not less than the change threshold value, the first mode is executed without shifting to the second mode. It may be a configuration.

上記の構成によれば、ユーザが情報処理装置を把持した状態で基準値の較正が行われることによって基準値が極端に上昇又は低下した場合であっても、早期に基準値を較正前の値に戻すことができ、正常に把持判定をすることができる。   According to the above configuration, even if the reference value is extremely increased or decreased due to calibration of the reference value while the user is holding the information processing apparatus, the reference value is set to the value before calibration at an early stage. Thus, the gripping determination can be made normally.

本発明の態様6に係る情報処理装置の制御方法は、把持部を把持したユーザの手が接触する位置に設けられており、上記把持部に対する物体の接近又は接触に伴って変化するセンサ値を出力する接触センサを備えた情報処理装置の制御方法であって、上記物体が非接触のときの上記センサ値に対応する基準値と、出力された上記センサ値と、の差分の値に基づいて把持の有無を判定する把持判定ステップと、上記センサ値の変化に伴い、上記基準値を変更する基準値変更ステップと、任意の時間における上記センサ値の単位時間当たりの変化量を検知する変化量検知ステップと、を含んでおり、上記基準値変更ステップにおいて、上記変化量が予め定められた値である変化閾値よりも小さい場合に、上記センサ値の値を上記基準値として設定する第1モードを実行するとともに、上記変化量が上記変化閾値以上である場合に、上記第1モードを実行しないことを特徴とする。   The control method of the information processing device according to aspect 6 of the present invention is provided at a position where the user's hand holding the gripping unit comes into contact, and sensor values that change as the object approaches or touches the gripping unit are obtained. A method for controlling an information processing apparatus including an output contact sensor, based on a difference value between a reference value corresponding to the sensor value when the object is non-contact and the output sensor value A gripping determination step for determining the presence or absence of gripping, a reference value changing step for changing the reference value as the sensor value changes, and a change amount for detecting a change amount per unit time of the sensor value at an arbitrary time Detecting step, and setting the sensor value as the reference value when the change amount is smaller than a change threshold that is a predetermined value in the reference value changing step. And it executes a first mode that, if the change amount is equal to or larger than the variation threshold, characterized in that it does not execute the first mode.

本発明は上述した各実施形態に限定されるものではなく、請求項に示した範囲で種々の変更が可能であり、異なる実施形態にそれぞれ開示された技術的手段を適宜組み合わせて得られる実施形態についても本発明の技術的範囲に含まれる。さらに、各実施形態にそれぞれ開示された技術的手段を組み合わせることにより、新しい技術的特徴を形成することができる。   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 携帯端末(情報処理装置)
11 接触センサ
12 把持判定部(把持判定手段)
24 変化量検知部(変化量検知手段)
25 基準値変更部(基準値変更手段)
t1 時刻(第1の時刻)
t2 時刻(第2の時刻)
1 Mobile terminal (information processing device)
11 Contact sensor 12 Grasping determination unit (gripping determination means)
24 Change amount detection unit (change amount detection means)
25 Reference value changing section (reference value changing means)
t1 time (first time)
t2 time (second time)

Claims (6)

把持部を把持したユーザの手が接触する位置に設けられており、上記把持部に対する物体の接近又は接触に伴って変化するセンサ値を出力する接触センサと、
上記物体が非接触のときの上記センサ値に対応する基準値と、出力された上記センサ値と、の差分の値に基づいて把持の有無を判定する把持判定手段と、
上記センサ値の変化に伴い、上記基準値を変更する基準値変更手段と、を備えた情報処理装置であって、
任意の時間における上記センサ値の単位時間当たりの変化量を検知する変化量検知手段を備えており、
上記基準値変更手段は、上記変化量が予め定められた値である変化閾値よりも小さい場合に、上記センサ値の値を上記基準値として設定する第1モードを実行するとともに、上記変化量が上記変化閾値以上である場合に、上記第1モードを実行しないことを特徴とする情報処理装置。
A contact sensor that is provided at a position where a user's hand holding the gripping unit comes into contact, and that outputs a sensor value that changes as the object approaches or contacts the gripping unit;
Gripping determination means for determining the presence or absence of gripping based on a difference value between a reference value corresponding to the sensor value when the object is non-contact and the output sensor value;
A reference value changing means for changing the reference value in accordance with a change in the sensor value;
It includes a change amount detecting means for detecting a change amount per unit time of the sensor value at an arbitrary time,
The reference value changing means executes a first mode in which the sensor value is set as the reference value when the change amount is smaller than a change threshold that is a predetermined value, and the change amount is The information processing apparatus, wherein the first mode is not executed when the change threshold value is equal to or greater than the change threshold value.
上記センサ値は、上記把持部に対する物体の接近又は接触に伴って値が変化し、
上記変化量検知手段は、第1の時刻に検出されたセンサ値としての第1センサ値から、第1の時刻よりも後の第2の時刻に検出されたセンサ値としての第2センサ値への増加量を、上記変化量として検知し、
上記基準値変更手段は、上記変化量が上記変化閾値よりも小さい場合に、上記第1モードにおいて、上記第2センサ値の値を上記基準値として設定することを特徴とする請求項1に記載の情報処理装置。
The sensor value changes as the object approaches or touches the grip part,
The change amount detecting means changes from the first sensor value as the sensor value detected at the first time to the second sensor value as the sensor value detected at the second time after the first time. Is detected as the amount of change above,
The said reference value change means sets the value of the said 2nd sensor value as the said reference value in the said 1st mode, when the said variation | change_quantity is smaller than the said change threshold value. Information processing device.
上記基準値変更手段は、上記変化量が上記変化閾値以上である場合に、上記センサ値の値を上記基準値として設定しない第2モードを実行し、
上記基準値変更手段は、上記第2モード実行中に上記接触センサから出力された上記センサ値が、予め定められた値であるモード閾値を超えた場合に、上記第2モードに代えて、上記第1モードを実行することを特徴とする請求項1または2に記載の情報処理装置。
The reference value changing means executes a second mode in which the value of the sensor value is not set as the reference value when the change amount is equal to or greater than the change threshold value,
The reference value changing means replaces the second mode when the sensor value output from the contact sensor during execution of the second mode exceeds a predetermined mode threshold value. The information processing apparatus according to claim 1, wherein the first mode is executed.
上記第2モード実行中の単位時間当たりの上記センサ値の変化量の絶対値が、上記変化閾値の絶対値よりも小さい場合、上記基準値変更手段は、上記基準値及び上記モード閾値を、当該変化量に応じて増減することを特徴とする請求項3に記載の情報処理装置。   When the absolute value of the change amount of the sensor value per unit time during execution of the second mode is smaller than the absolute value of the change threshold value, the reference value changing means sets the reference value and the mode threshold value to The information processing apparatus according to claim 3, wherein the information processing apparatus increases or decreases according to the amount of change. 上記基準値変更手段は、ある時刻の上記基準値である第1基準値を、把持部が把持された状態における上記センサ値に変更した後、上記センサ値が上記第1基準値を超えるまでの期間、上記変化量が上記変化閾値以上であっても、上記第2モードに移行せず、上記第1モードを実行することを特徴とする請求項3または4に記載の情報処理装置。   The reference value changing means changes the first reference value, which is the reference value at a certain time, to the sensor value in a state where the grip portion is gripped, and then the sensor value exceeds the first reference value. 5. The information processing apparatus according to claim 3, wherein the first mode is executed without shifting to the second mode even if the amount of change is equal to or greater than the change threshold during a period. 把持部を把持したユーザの手が接触する位置に設けられており、上記把持部に対する物体の接近又は接触に伴って変化するセンサ値を出力する接触センサを備えた情報処理装置の制御方法であって、
上記物体が非接触のときの上記センサ値に対応する基準値と、出力された上記センサ値と、の差分の値に基づいて把持の有無を判定する把持判定ステップと、
上記センサ値の変化に伴い、上記基準値を変更する基準値変更ステップと、
任意の時間における上記センサ値の単位時間当たりの変化量を検知する変化量検知ステップと、を含んでおり、
上記基準値変更ステップにおいて、上記変化量が予め定められた値である変化閾値よりも小さい場合に、上記センサ値の値を上記基準値として設定する第1モードを実行するとともに、上記変化量が上記変化閾値以上である場合に、上記第1モードを実行しないことを特徴とする情報処理装置の制御方法。
This is a control method for an information processing apparatus provided with a contact sensor that is provided at a position where a user's hand holding the gripping unit comes in contact and outputs a sensor value that changes as the object approaches or contacts the gripping unit. And
A grip determination step of determining presence or absence of gripping based on a difference value between a reference value corresponding to the sensor value when the object is non-contact and the output sensor value;
A reference value changing step for changing the reference value in accordance with a change in the sensor value;
A change amount detecting step for detecting a change amount per unit time of the sensor value at an arbitrary time, and
In the reference value changing step, when the amount of change is smaller than a change threshold that is a predetermined value, a first mode for setting the value of the sensor value as the reference value is executed, and the amount of change is A control method for an information processing apparatus, wherein the first mode is not executed when the change threshold is not less than the threshold value.
JP2014094247A 2014-04-30 2014-04-30 Information processing device and method for controlling information processing device Pending JP2015210800A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP2014094247A JP2015210800A (en) 2014-04-30 2014-04-30 Information processing device and method for controlling information processing device
PCT/JP2015/062886 WO2015166965A1 (en) 2014-04-30 2015-04-28 Information processing device, and control method of information processing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2014094247A JP2015210800A (en) 2014-04-30 2014-04-30 Information processing device and method for controlling information processing device

Publications (1)

Publication Number Publication Date
JP2015210800A true JP2015210800A (en) 2015-11-24

Family

ID=54612894

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2014094247A Pending JP2015210800A (en) 2014-04-30 2014-04-30 Information processing device and method for controlling information processing device

Country Status (1)

Country Link
JP (1) JP2015210800A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2020075473A1 (en) * 2018-10-09 2020-04-16 株式会社デンソー Heater device
CN111050649A (en) * 2017-08-31 2020-04-21 欧姆龙株式会社 Operating device and X-ray imaging unit

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111050649A (en) * 2017-08-31 2020-04-21 欧姆龙株式会社 Operating device and X-ray imaging unit
CN111050649B (en) * 2017-08-31 2024-03-26 欧姆龙株式会社 Operating device and X-ray photographing unit
WO2020075473A1 (en) * 2018-10-09 2020-04-16 株式会社デンソー Heater device
JP2020060313A (en) * 2018-10-09 2020-04-16 株式会社デンソー Heater device
JP7077905B2 (en) 2018-10-09 2022-05-31 株式会社デンソー Heater device

Similar Documents

Publication Publication Date Title
US20150301684A1 (en) Apparatus and method for inputting information
US10914773B2 (en) Resolution adjustment for capacitive touch sensor
US9563319B2 (en) Capacitive sensing without a baseline
TWI592845B (en) Method and associated controller for adaptively adjusting touch-control threshold
US20160026316A1 (en) Method and device for measuring pressure based on touch input
JPWO2015033609A1 (en) Information processing apparatus, input method, and program
US9405393B2 (en) Information processing device, information processing method and computer program
US11537238B2 (en) Touch control identification method, device and system
TWI510976B (en) Method of selecting touch input source and electronic device using the same
JP2014048971A (en) Input device, method for controlling input device, control program, and computer readable recording medium recorded with control program
US20150193075A1 (en) Touch apparatus and touch method thereof
JP2015211455A (en) Information processing device and control method therefor
JP6352039B2 (en) Information processing apparatus and control method of information processing apparatus
JP2015210800A (en) Information processing device and method for controlling information processing device
WO2021036718A1 (en) Touch point determining method and device
TWI502427B (en) Touch device and measuring voltage dynamic adjustment method thereof
JP6546111B2 (en) INPUT DEVICE, ITS CONTROL METHOD, AND PROGRAM
TWI622921B (en) Capacitance value detecting method of touch device
US20190138144A1 (en) Touch device and touch signal processing method thereof
WO2015166965A1 (en) Information processing device, and control method of information processing device
JP2018116630A (en) Touch detection device
JP6345476B2 (en) Information processing apparatus and information processing apparatus control method
JP6571030B2 (en) INPUT DEVICE, ITS CONTROL METHOD, AND PROGRAM
TWI582646B (en) Electronic device and the method for preventing noise-interference thereof
JP6345475B2 (en) Information processing apparatus and control method