JP6330266B2 - Mobile terminal and program - Google Patents
Mobile terminal and program Download PDFInfo
- Publication number
- JP6330266B2 JP6330266B2 JP2013158414A JP2013158414A JP6330266B2 JP 6330266 B2 JP6330266 B2 JP 6330266B2 JP 2013158414 A JP2013158414 A JP 2013158414A JP 2013158414 A JP2013158414 A JP 2013158414A JP 6330266 B2 JP6330266 B2 JP 6330266B2
- Authority
- JP
- Japan
- Prior art keywords
- detection data
- geomagnetic sensor
- data
- detection
- mobile terminal
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
Description
本発明は、磁場を検出する地磁気センサを有する携帯端末及びプログラムに関する。 The present invention relates to a portable terminal having a geomagnetic sensor for detecting a magnetic field and a program.
従来、携帯端末向けOS(Operating System)として、Android(登録商標) OS等が知られている。これらのOSの携帯端末には、様々なデバイスやセンサが標準で搭載されている。その中でも、地磁気センサは、電子コンパスやハイブリットGPS(Global Positioning System)等、用途が多岐にわたり、様々なソリューションへの搭載が期待されている。 Conventionally, an Android (registered trademark) OS or the like is known as an OS (Operating System) for portable terminals. Various devices and sensors are mounted as standard on these OS portable terminals. Among them, the geomagnetic sensor has a wide variety of uses such as an electronic compass and a hybrid GPS (Global Positioning System), and is expected to be installed in various solutions.
この地磁気センサの主な特徴としては、下記特徴(1)、(2)が挙げられる。
(1)地磁気程度の微弱な磁場を検出できる。
(2)3軸方向での検出が可能である。
The main features of the geomagnetic sensor include the following features (1) and (2).
(1) A weak magnetic field equivalent to geomagnetism can be detected.
(2) Detection in three axis directions is possible.
地磁気センサの問題点としては、下記問題点(1)が挙げられる。
(1)地磁気センサは、微弱な電気信号を扱うために、携帯電話通信等の電波の強度が大きいと検出データが正確な出力にならなくなる。
As a problem of the geomagnetic sensor, there is the following problem (1).
(1) Since the geomagnetic sensor handles weak electric signals, detection data cannot be output accurately when the intensity of radio waves for mobile phone communication or the like is large.
上記問題(1)を解決するため、電波強度が予め設定された基準電波強度を超えた場合に、地磁気センサ等の姿勢角度演算用センサの出力が誤っていると判断して、姿勢角度の演算を中止する携帯機器用の姿勢角度検出装置が知られている(例えば、特許文献1参照)。 To solve the above problem (1), when the radio field intensity exceeds a preset reference radio field intensity, it is determined that the output of the attitude angle calculation sensor such as a geomagnetic sensor is incorrect, and the attitude angle is calculated. There is known a posture angle detection device for a portable device that stops the operation (see, for example, Patent Document 1).
地磁気センサを備える携帯端末がユーザにより動かされた場合に、検出される地磁気の検出データが一度大きくなり、その後正常値に落ち着く状態になる可能性が高い。 When a mobile terminal having a geomagnetic sensor is moved by a user, the detected geomagnetism detection data is likely to increase once and then settle down to a normal value.
これに対し、地磁気センサに対して環境磁場の変化が発生した場合に、地磁気の検出データは、一度変動してそのままの値を留める状態となる可能性が高い。また、磁力ノイズを持つ他のもの(スピーカ等を持つ精密機器など)が地磁気センサに近づいた場合に、地磁気の検出データは、大きな変化が常に起きる状態となる可能性が高い。 On the other hand, when the environmental magnetic field changes with respect to the geomagnetic sensor, the detection data of the geomagnetism is likely to be in a state in which it changes once and stays as it is. In addition, when another object having magnetic noise (such as a precision instrument having a speaker or the like) approaches the geomagnetic sensor, the geomagnetic detection data is likely to be in a state in which a large change always occurs.
しかし、地磁気センサの他の問題点として、下記問題点(2)があった。
(2)地磁気センサの検出データが変化した際に、その変化が、携帯端末が動いたことによる検出データの変化なのか、外部のノイズ(環境磁場の変化や、磁力ノイズが地磁気センサに近づいたこと)による検出データの変化なのかが判別できない。
However, there is the following problem (2) as another problem of the geomagnetic sensor.
(2) When the detection data of the geomagnetic sensor changes, whether the change is a change of the detection data due to the movement of the mobile terminal, external noise (change of the environmental magnetic field or magnetic noise approaches the geomagnetic sensor It is impossible to determine whether the detected data changes due to the above.
問題点(2)により、地磁気センサを携帯端末の電子コンパスに用いた場合に、外部のノイズにより検出データの変化が発生した場合に、当該電子コンパスが実際の方位とは全く別の方位を指し示すおそれがあった。同様に、地磁気センサを携帯端末の位置検出に用いた場合に、携帯端末が実際とは異なる位置を表示してしまうおそれがあった。 Due to the problem (2), when a geomagnetic sensor is used for an electronic compass of a portable terminal, when a change in detected data occurs due to external noise, the electronic compass points to a completely different direction from the actual direction. There was a fear. Similarly, when the geomagnetic sensor is used for detecting the position of the mobile terminal, the mobile terminal may display a position different from the actual position.
本発明の課題は、地磁気センサの検出データが変化した原因が、端末本体が動いたことによるものかを判別することである。 An object of the present invention is to determine whether the cause of change in detection data of a geomagnetic sensor is due to movement of a terminal body.
上記課題を解決するために、本発明の携帯端末は、磁場を検出する地磁気センサと、端末本体の動きを検出する動き検出手段と、前記地磁気センサの検出データと前記動き検出手段の検出データとに基づいて、前記地磁気センサの検出データが変化した原因が、前記端末本体が動いたことによるものか、あるいは外部のノイズによるものかを判別する判別手段と、前記判別手段の判別結果に応じて予め決められた処理を行う処理手段と、を備え、前記判別手段は、前記地磁気センサの検出データが予め設定された第1の閾値以上であり、前記動き検出手段の検出データが予め設定された第2の閾値以上である場合は、前記地磁気センサの検出データが変化した原因が、前記端末本体が動いたことによるものと判別し、前記地磁気センサの検出データが前記第1の閾値以上であり、前記動き検出手段の検出データが前記第2の閾値未満である場合は、前記地磁気センサの検出データが変化した原因が、前記外部のノイズによるものと判別する。 In order to solve the above problems, a mobile terminal of the present invention includes a geomagnetic sensor that detects a magnetic field, a motion detection unit that detects a motion of the terminal body, detection data of the geomagnetic sensor, and detection data of the motion detection unit. And determining means for determining whether the detection data of the geomagnetic sensor has changed due to movement of the terminal body or external noise, and depending on the determination result of the determining means Processing means for performing a predetermined process, wherein the determination means has detection data of the geomagnetic sensor equal to or higher than a preset first threshold value, and detection data of the motion detection means is preset. If it is greater than or equal to the second threshold, it is determined that the cause of the change in the detection data of the geomagnetic sensor is that the terminal body has moved, and the detection of the geomagnetic sensor Data is greater than or equal to the first threshold and the detection data of the motion detection means is less than the second threshold, the cause of the change in the detection data of the geomagnetic sensor is due to the external noise. Determine.
本発明によれば、地磁気センサの検出データが変化した原因が、端末本体が動いたことによるものかを判別することができる。 According to the present invention, it is possible to determine whether the cause of the change in the detection data of the geomagnetic sensor is due to the movement of the terminal body.
以下、添付図面を参照して本発明に係る第1〜第5の実施の形態を順に詳細に説明する。なお、本発明は、図示例に限定されるものではない。 Hereinafter, first to fifth embodiments of the present invention will be described in detail in order with reference to the accompanying drawings. The present invention is not limited to the illustrated example.
(第1の実施の形態)
図1〜図2を参照して、本発明に係る第1の実施の形態を説明する。先ず、図1を参照して、本実施の形態の装置構成を説明する。図1は、本実施の形態の携帯端末10の機能構成を示すブロック図である。
(First embodiment)
The first embodiment according to the present invention will be described with reference to FIGS. First, the apparatus configuration of the present embodiment will be described with reference to FIG. FIG. 1 is a block diagram illustrating a functional configuration of the
本実施の形態の携帯端末10は、Android(登録商標) OSがインストールされたハンディーターミナルであるものとするが、これに限定されるものではない。携帯端末10は、少なくとも地磁気センサと、携帯端末10の動きの検出部(動き検出部)と、を備える携帯端末であればよく、他のOSをインストールした携帯端末や、スマートフォン、PDA(Personal Digital Assistant)等、他の携帯端末としてもよい。
Although the
図1に示すように、携帯端末10は、CPU(Central Processing Unit)11と、操作部12と、RAM(Random Access Memory)13と、表示部14と、ROM(Read Only Memory)15と、通信部16と、記憶部17と、地磁気センサ18と、動き検出部19と、電源部20と、を備える。携帯端末10の電源部20を除く各部は、バス21を介して互いに接続されている。
As shown in FIG. 1, the
CPU11は、携帯端末10の各部を制御する。CPU11は、各種プログラムのうち指定されたプログラムをROM15から読み出してRAM13に展開し、展開されたプログラムとの協働で各種処理を実行する。
The
CPU11は、第1の地磁気センサデータ処理プログラム151に従い、地磁気センサ18の検出データが、予め設定された閾値T1以上であるか否かを判別し、地磁気センサ18の検出データが閾値T1以上であると判別された場合に、動き検出部19の検出データが、予め設定された閾値(閾値T2又はT3)以上であり携帯端末10の動きを示すか否かを判別する。そして、CPU11は、携帯端末10の動きを示さないと判別された場合に、地磁気センサ18の検出データを異常データとして処理し、携帯端末10の動きを示すと判別された場合に、地磁気センサ18の検出データを正常データとして処理する。
In accordance with the first geomagnetic sensor
操作部12は、文字入力キー、機能キー等の各種キーを有し、各キーの入力を受け付けて、その操作情報をCPU11に出力する。また、操作部12は、表示部14の表示パネル上に設けられたタッチパネルを有し、そのタッチ入力に応じた操作情報をCPU11に出力することとしてもよい。
The
RAM13は、揮発性の半導体メモリ等の記憶部であり、各種データ及び各種プログラムを格納するワークエリアを有する。
The
表示部14は、LCD(Liquid Crystal Display)、EL(ElectroLuminescent)ディスプレイ等の表示パネルを備える表示部であり、CPU11から入力される表示情報に応じて表示パネルに各種表示を行う。
The
ROM15は、読み出し専用の半導体メモリである。ROM15には、地磁気センサデータ処理プログラム151が記憶されている。
The
通信部16は、携帯電話通信方式の無線通信を行う。通信部16は、アンテナ、変復調回路、信号処理回路等を備え、外部機器から基地局を介して電波を受信し復調等して受信信号を得るとともに、送信用の信号を変調等してアンテナから電波を出力し基地局を介して外部機器に送信信号を送信する。しかし、通信部16は、無線LAN(Local Area Network)通信部とし、アクセスポイントを介してLAN内の他の機器と通信を行うものとしてもよい。
The
記憶部17は、EEPROM(Electrically Erasable Programmable ROM)、フラッシュメモリ等、情報の読み出し及び書き込みが可能な半導体メモリである。
The
地磁気センサ18は、地磁気等の磁場を検出するセンサである。地磁気センサ18は、3次元で互いに直交する3軸方向の磁場(磁束密度)を検出し、検出した磁場の検出データをCPU11に出力する。また、地磁気センサ18は、磁場の検出データを、その検出時刻の情報とともに出力する。
The
動き検出部19は、加速度センサ19Aと、ジャイロスコープ19Bと、を有する。加速度センサ19Aは、重力加速度や、携帯端末10移動時の加速度の携帯端末10に働く加速度を検出するセンサである。加速度センサ19Aは、3次元で互いに直交する3軸方向の加速度を検出し、検出した加速度の検出データをCPU11に出力する。また、加速度センサ19Aは、加速度の検出データを、その検出時刻の情報とともに出力する。
The
ジャイロスコープ19Bは、携帯端末10回転時の角速度を検出するセンサである。ジャイロスコープ19Bは、3次元で互いに直交する3軸方向の角速度を検出し、検出した角速度の検出データをCPU11に出力する。また、ジャイロスコープ19Bは、角加速度の検出データを、その検出時刻の情報とともに出力する。
The
電源部20は、携帯端末10の各部に電源供給を行うリチウム電池等の二次電池、又は一次電池の電源部である。
The
次に、図2を参照して、携帯端末10の動作を説明する。図2は、第1の地磁気センサデータ処理を示すフローチャートである。
Next, the operation of the
第1の地磁気センサデータ処理は、地磁気センサ18の検出データが通常よりも大きい場合に、動き検出部19の検出データにより携帯端末10に動きが発生しているか否かを判別し、その判別結果に応じて正常又は異常のデータ処理を行う処理である。携帯端末10において、例えば、ユーザ操作により電源オンがなされたことをトリガとして、CPU11が、ROM15から読み出され適宜RAM13に展開された第1の地磁気センサデータ処理プログラム151との協働で、第1の地磁気センサデータ処理を実行する。
In the first geomagnetic sensor data processing, when the detection data of the
なお、地磁気センサ18、加速度センサ19A及びジャイロスコープ19Bは、電源オン中に、検出したデータをリアルタイムで出力し続けるものとする。
It is assumed that the
図2に示すように、先ず、CPU11は、地磁気センサ18、加速度センサ19A及びジャイロスコープ19Bから出力された最新(現在時刻)の検出データを取得する(ステップS11)。ステップS11において、磁場、加速度、角速度それぞれ、3軸の検出データの絶対値(3軸の合成ベクトルの長さ)が算出されて取得され、RAM13に記憶されるものとする。
As shown in FIG. 2, first, the
そして、CPU11は、ステップS11で取得した地磁気センサ18の検出データが、予め設定された閾値T1以上であるか否かを判別する(ステップS12)。ステップS12では、地磁気センサ18の検出データの絶対値と、閾値T1と、が比較される。
And CPU11 discriminate | determines whether the detection data of the
地磁気センサ18の3軸の検出データの絶対値を用いる理由は、3軸(3次元)のそのままの検出データを用いる場合に比べて、次の利点がある。
・向きに依存しないので、どの向きにでも対応可能である
・モニタリングすべき出力値が1個となるのでアルゴリズムが簡単である。このため、消費電力を抑えられる。
The reason why the absolute value of the detection data of the three axes of the
・ Because it does not depend on the direction, it can be used in any direction. ・ The algorithm is simple because there is only one output value to be monitored. For this reason, power consumption can be suppressed.
閾値T1は、通常の地磁気における磁場の大きさ(日本では、約50[μT])よりも大きく、携帯端末10が動いたことと、外部のノイズ(環境磁場の変化又は磁力ノイズの接近)と、の少なくとも一つによる磁場の変化が発生したか否かを判別するための磁場の絶対値の閾値である。
The threshold value T1 is larger than the magnitude of the magnetic field in normal geomagnetism (in Japan, about 50 [μT]), the
地磁気センサ18の検出データが閾値T1以上でない場合(ステップS12;NO)、CPU11は、地磁気センサ18の検出データの正常データ処理を行い(ステップS13)、ステップS11に移行する。正常データ処理とは、地磁気センサ18の検出データを正常データとしてそのまま出力させる処理である。携帯端末10のドライバは、地磁気センサ18の検出データをそのまま使用できる。
When the detection data of the
地磁気センサ18の検出データが閾値T1以上である場合(ステップS12;YES)、CPU11は、ステップS11で取得した加速度センサ19Aの検出データが、予め設定された閾値T2以上であるか否かを判別する(ステップS14)。ステップS14では、加速度センサ19Aの3軸の検出データの絶対値と、閾値T2と、が比較される。
When the detection data of the
閾値T2は、携帯端末10に所定の加速度が発生し、携帯端末10が動いたか否かを判別するための加速度の絶対値の閾値である。加速度センサ19Aの検出データが閾値T2以上である場合(ステップS14;YES)、ステップS13に移行される。
The threshold value T2 is a threshold value of an absolute value of acceleration for determining whether or not a predetermined acceleration has occurred in the
加速度センサ19Aの検出データが閾値T2以上でない場合(ステップS14;NO)、CPU11は、ステップS11で取得したジャイロスコープ19Bの検出データの変化量が、予め設定された閾値T3以上であるか否かを判別する(ステップS15)。ステップS15では、ジャイロスコープ19Bの3軸の検出データの絶対値と、閾値T3と、が比較される。
When the detection data of the
閾値T3は、携帯端末10に所定の角速度が発生し、携帯端末10が動いたか否かを判別するための角速度の絶対値の閾値である。ジャイロスコープ19Bの検出データが閾値T3以上である場合(ステップS15;YES)、ステップS13に移行される。
The threshold value T3 is a threshold value of an absolute value of the angular velocity for determining whether or not a predetermined angular velocity is generated in the
ジャイロスコープ19Bの検出データが閾値T3以上でない場合(ステップS15;NO)、CPU11は、地磁気センサ18の検出データの異常データ処理を行い(ステップS16)、ステップS11に移行する。異常データ処理とは、地磁気センサ18の検出データが異常データであるものとし、当該検出データを、異常である旨の情報とともに出力させる処理である。なお、異常データ処理は、上記のものに限定されるものではなく、例えば、地磁気センサ18の検出データを出力させない処理としてもよい。
When the detection data of the
地磁気センサ18の検出データを異常である旨の情報とともに出力させる場合に、携帯端末10のドライバは、異常である旨の情報に応じて、当該検出データを使用するか否かを決定する。なお、地磁気センサ18の検出データを出力させない場合に、携帯端末10のドライバは、当該検出データを使用できない。
When the detection data of the
ステップS14,S15では、携帯端末10に物理的な動きがあるか否かを判別している。つまり、携帯端末10に物理的な動きがある場合に、地磁気センサ18の検出データが変化した原因が携帯端末10本体が動いたことによるものと判別されてステップS13に移行され、携帯端末10に物理的な動きがない場合に、地磁気センサ18の検出データが変化した原因が外部のノイズによるものと判別されてステップS16に移行される。
In steps S14 and S15, it is determined whether or not the
以上、本実施の形態によれば、携帯端末10は、地磁気センサ18の検出データと動き検出部19(加速度センサ19A又はジャイロスコープ19B)の検出データとに基づいて、地磁気センサ18の検出データが変化した原因が、端末本体が動いたことによるものか、あるいは外部のノイズによるものかを判別し、この判別結果に応じて予め決められた処理を行う。
As described above, according to the present embodiment, the
また、携帯端末10は、地磁気センサ18の検出データが、閾値T1以上であり、動き検出部19の検出データが、所定の閾値(閾値T2又はT3)以上である場合は、地磁気センサ18の検出データが変化した原因が、端末本体が動いたことによるものと判別し、地磁気センサ18の検出データが、閾値T1以上であり、動き検出部19の検出データが、所定の閾値(閾値T2又はT3)未満である場合は、地磁気センサ18の検出データが変化した原因が、外部のノイズによるものと判別する。
The
このため、地磁気センサの検出データが変化した原因が、携帯端末10本体が動いたことによるものか、あるいは外部のノイズによるものかを判別することができる。
For this reason, it is possible to determine whether the change in the detection data of the geomagnetic sensor is due to the movement of the main body of the
また、携帯端末10は、地磁気センサ18の検出データが変化した原因が、外部のノイズによるもの判別された場合に、地磁気センサ18の検出データを異常データとして処理する。このため、地磁気センサ18の検出データに変化が発生した場合に、その原因として外部のノイズを判別でき、この原因の場合の当該検出データを異常データとすることができる。特に、携帯端末10のドライバは、地磁気センサ18の検出データが異常であるとして認識できる。
The portable terminal 10 processes the detection data of the
また、携帯端末10は、地磁気センサ18の検出データが閾値T1以上でないと判別された場合、又は動き検出部19の検出データが閾値T2以上であると判別された場合に、地磁気センサ18の検出データを正常データとして処理する。このため、地磁気センサ18の検出データに大きな変化がなく通常である場合、又は地磁気センサ18の検出データが変化した原因が、携帯端末10本体が動いたことによるものである場合に、地磁気センサ18の検出データを正常データとして処理することができる。特に、携帯端末10のドライバは、地磁気センサ18の検出データを正常データであるとして使用できる。
The
また、動き検出部19は、加速度センサ19A及びジャイロスコープ19Bを有し、加速度センサ19Aの検出データが閾値T2以上、又はジャイロスコープ19Bの検出データが閾値T3以上であるか否かにより、携帯端末10の動きを示すか否かを判別する。このため、加速度と角速度との検出データから、携帯端末10の動きの発生を正確に判別できる。
The
(第2の実施の形態)
図3を参照して、本発明に係る第2の実施の形態を説明する。図3は、第2の地磁気センサデータ処理を示すフローチャートである。
(Second Embodiment)
A second embodiment according to the present invention will be described with reference to FIG. FIG. 3 is a flowchart showing the second geomagnetic sensor data processing.
本実施の形態の装置構成は、第1の実施の形態の携帯端末10と同様の構成である。但し、ROM15には、第1の地磁気センサデータ処理プログラム151に代えて、第2の地磁気センサデータ処理プログラムが記憶されているものとする。
The apparatus configuration of the present embodiment is the same as that of the
次に、図3を参照して、携帯端末10の動作を説明する。第2の地磁気センサデータ処理は、地磁気センサ18の検出データが通常よりも大きい場合に、動き検出部19の検出データの変化により携帯端末10に動きが発生しているか否かを判別し、その判別結果に応じて正常又は異常のデータ処理を行う処理である。
Next, the operation of the
携帯端末10において、例えば、ユーザ操作により電源オンがなされたことをトリガとして、CPU11が、ROM15から読み出され適宜RAM13に展開された第2の地磁気センサデータ処理プログラムとの協働で、第2の地磁気センサデータ処理を実行する。
In the
図3に示すように、ステップS21〜S23,S26は、第1の実施の形態の第1の地磁気センサデータ処理のステップS11〜S13,S16と同様である。但し、加速度センサ19A及びジャイロスコープ19Bから出力された検出データは、少なくとも現在時刻から予め設定された第1の所定時間の履歴分がRAM13に記憶されるものとする。ステップS21において、CPU11は、地磁気センサ18の検出データを取得するとともに、RAM13を参照し、加速度センサ19A及びジャイロスコープ19Bの第1の所定時間の検出データを取得するものとする。
As shown in FIG. 3, steps S21 to S23 and S26 are the same as steps S11 to S13 and S16 of the first geomagnetic sensor data processing according to the first embodiment. However, as for the detection data output from the
地磁気センサ18の検出データが閾値T1以上である場合(ステップS22;YES)、CPU11は、ステップS21で取得した加速度センサ19Aの検出データの第1の所定時間の変化量が、予め設定された閾値T4以上であるか否かを判別する(ステップS24)。ステップS24では、加速度センサ19Aの3軸の検出データの絶対値の第1の所定時間における変化量と、閾値T4と、が比較される。
When the detection data of the
閾値T4は、携帯端末10に所定の加速度が発生し、携帯端末10が動いたか否かを判別するための加速度の絶対値の第1の所定時間における変化量の閾値である。加速度センサ19Aの検出データの変化量が閾値T4以上である場合(ステップS24;YES)、ステップS23に移行される。
The threshold value T4 is a threshold value of a change amount in the first predetermined time of the absolute value of the acceleration for determining whether or not the
加速度センサ19Aの検出データの変化量が閾値T4以上でない場合(ステップS24;NO)、CPU11は、ステップS21で取得したジャイロスコープ19Bの検出データの第1の所定時間の変化量が、予め設定された閾値T5以上であるか否かを判別する(ステップS25)。ステップS25では、ジャイロスコープ19Bの3軸の検出データの合成ベクトルの絶対値(長さ)の第1の所定時間における変化量と、閾値T5と、が比較される。また、ステップS25の第1の所定時間は、ステップS24の第1の所定時間と異なることとしてもよい。
When the change amount of the detection data of the
閾値T5は、携帯端末10に所定の角速度が発生し、携帯端末10が動いたか否かを判別するための角速度の絶対値の第1の所定時間における変化量の閾値である。ジャイロスコープ19Bの検出データの変化量が閾値T5以上である場合(ステップS25;YES)、ステップS23に移行される。ジャイロスコープ19Bの検出データの変化量が閾値T5以上でない場合(ステップS25;NO)、ステップS26に移行される。
The threshold value T5 is a threshold value of a change amount in the first predetermined time of the absolute value of the angular velocity for determining whether or not the
以上、本実施の形態によれば、携帯端末10は、動き検出部19(加速度センサ19A又はジャイロスコープ19B)の検出データの変化量が、所定の閾値(閾値T4又はT5)以上であるか否かを判別する。このため、加速度と角速度との検出データの変化から、携帯端末10の動きの発生を正確に判別できる。
As described above, according to the present embodiment,
(第3の実施の形態)
図4を参照して、本発明に係る第3の実施の形態を説明する。図4は、第3の地磁気センサデータ処理を示すフローチャートである。
(Third embodiment)
A third embodiment according to the present invention will be described with reference to FIG. FIG. 4 is a flowchart showing the third geomagnetic sensor data processing.
本実施の形態の装置構成は、第1の実施の形態の携帯端末10と同様の構成である。但し、ROM15には、第1の地磁気センサデータ処理プログラム151に代えて、第3の地磁気センサデータ処理プログラムが記憶されているものとする。
The apparatus configuration of the present embodiment is the same as that of the
次に、図4を参照して、携帯端末10の動作を説明する。第3の地磁気センサデータ処理は、地磁気センサ18の検出データの変化が通常よりも大きい場合に、動き検出部19の検出データの変化により携帯端末10に動きが発生しているか否かを判別し、その判別結果に応じて正常又は異常のデータ処理を行う処理である。
Next, the operation of the
携帯端末10において、例えば、ユーザ操作により電源オンがなされたことをトリガとして、CPU11が、ROM15から読み出され適宜RAM13に展開された第3の地磁気センサデータ処理プログラムとの協働で、第3の地磁気センサデータ処理を実行する。
In the
図4に示すように、ステップS31,S33〜S36は、第2の実施の形態の第2の地磁気センサデータ処理のステップS21,S23〜S26と同様である。但し、地磁気センサ18から出力された検出データは、少なくとも現在時刻から第1の所定時間の履歴分がRAM13に記憶されるものとする。ステップS31において、CPU11は、RAM13を参照し、地磁気センサ18の第1の所定時間の検出データを取得するとともに、地磁気センサ18、加速度センサ19A及びジャイロスコープ19Bの第1の所定時間の検出データを取得するものとする。
As shown in FIG. 4, steps S31 and S33 to S36 are the same as steps S21 and S23 to S26 of the second geomagnetic sensor data processing according to the second embodiment. However, as for the detection data output from the
ステップS31の後、CPU11は、ステップS31で取得した地磁気センサ18の第1の所定時間の検出データの変化量が、予め設定された閾値T6以上であるか否かを判別する(ステップS32)。ステップS32では、地磁気センサ18の3軸の検出データの絶対値の第1の所定時間における変化量と、閾値T6と、が比較される。また、ステップS32の第1の所定時間は、ステップS34やステップS35の第1の所定時間と異なることとしてもよい。
After step S31, the
閾値T6は、携帯端末10が動いたこと、外部のノイズ(環境磁場の変化又は磁力ノイズの接近)と、の少なくとも一つによる磁場の変化が発生したか否かを判別するための磁気の絶対値の第1の所定時間における変化量の閾値である。地磁気センサ18の検出データの変化量が閾値T6以上でない場合(ステップS32;NO)、ステップS33に移行される。地磁気センサ18の検出データの変化量が閾値T6以上である場合(ステップS32;YES)、ステップS34に移行される。
The threshold T6 is an absolute value of magnetism for determining whether or not a change in the magnetic field has occurred due to at least one of the movement of the
以上、本実施の形態によれば、携帯端末10は、地磁気センサ18の検出データの変化量が、閾値T6以上であるか否かを判別する。このため、地磁気の検出データの変化から、携帯端末10の動き、又は外部のノイズによる地磁気の検出データの変化の発生を正確に判別できる。
As mentioned above, according to this Embodiment, the
(第4の実施の形態)
図5を参照して、本発明に係る第4の実施の形態を説明する。図5は、第4の地磁気センサデータ処理を示すフローチャートである。
(Fourth embodiment)
A fourth embodiment according to the present invention will be described with reference to FIG. FIG. 5 is a flowchart showing the fourth geomagnetic sensor data processing.
本実施の形態の装置構成は、第1の実施の形態の携帯端末10と同様の構成である。但し、ROM15には、第1の地磁気センサデータ処理プログラム151に代えて、第4の地磁気センサデータ処理プログラムが記憶されているものとする。
The apparatus configuration of the present embodiment is the same as that of the
次に、図5を参照して、携帯端末10の動作を説明する。第4の地磁気センサデータ処理は、地磁気センサ18の検出データの変化が通常よりも大きい場合に、動き検出部19の検出データの変化により携帯端末10に動きが発生しているか否かを判別し、その判別結果と地磁気センサ18の検出データのパターンとに応じて正常又は異常のデータ処理を行う処理である。
Next, the operation of the
携帯端末10において、例えば、ユーザ操作により電源オンがなされたことをトリガとして、CPU11が、ROM15から読み出され適宜RAM13に展開された第4の地磁気センサデータ処理プログラムとの協働で、第4の地磁気センサデータ処理を実行する。
In the
図5に示すように、ステップS41〜S46は、上記第3の実施の形態の第3の地磁気センサデータ処理のステップS31〜S36と同様である。但し、加速度センサ19Aの検出データの変化量が閾値T4以上である場合(ステップS44;YES)、又はジャイロスコープ19Bの検出データの変化量が閾値T5以上である場合(ステップS45;YES)、ステップS47に移行される。
As shown in FIG. 5, steps S41 to S46 are the same as steps S31 to S36 of the third geomagnetic sensor data process of the third embodiment. However, when the change amount of the detection data of the
そして、CPU11は、ステップS41で取得した地磁気センサ18の現在時刻前後の第2の所定時間の検出データのパターンを参照(モニタ)し、当該検出データのパターンが携帯端末10のどの状態に対応するかと、その検出データの有効性と、を判定する(ステップS47)。
Then, the
ステップS47では、CPU11は、例えば、参照した地磁気センサ18の検出データのパターンと、携帯端末10が動いたときの検出データのモデルパターン、環境磁場の変化がある場合の検出データのモデルパターン、及び磁力ノイズの接近の場合の検出データのパターンと、を比較する。
In step S47, the
その比較結果に応じて、CPU11は、地磁気センサ18の検出データのパターンが、携帯端末10が動いたときのパターンに近い場合には、携帯端末10が動いた状態に対応し、正常データと見なせるため検出データが有効であると判定する。また、CPU11は、地磁気センサ18の検出データのパターンが、環境磁場の変化、又は磁力ノイズの接近の場合のパターンに近い場合には、環境磁場の変化、又は磁力ノイズの接近の場合の状態に対応し、異常データと見なせるため検出データが有効でないと判定する。
In accordance with the comparison result, when the pattern of the detection data of the
なお、ステップS47において、地磁気センサ18の検出データのパターンが、各種閾値等を用いて参照されることにより各種状態が判定されることとしてもよい。例えば、地磁気センサ18の検出データのパターンが、一旦上がった後、下がる(正常値に戻る)場合には、携帯端末10が動いた状態であると判定される。地磁気センサ18の検出データのパターンが、一旦上がった後、そのままの値を留める場合には、環境磁場の変化の状態であると判定される。地磁気センサ18の検出データのパターンが、大きな変化が常に続く場合には、磁力ノイズの接近の状態であると判定される。
In step S47, various states may be determined by referring to the pattern of detection data of the
そして、CPU11は、ステップS47で判定した地磁気センサ18の検出データの有効性が有効であるか否かを判別する(ステップS48)。地磁気センサ18の検出データのパターンが有効である場合(ステップS48;YES)、ステップS43に移行される。
And CPU11 discriminate | determines whether the validity of the detection data of the
地磁気センサ18の検出データのパターンが有効でない場合(ステップS48;NO)、CPU11は、ステップS46に移行される。このとき、ステップS46において、CPU11は、異常データ処理として、地磁気センサ18の検出データが異常データであるものとし、当該検出データを、そのパターンに対応する携帯端末10の状態(環境磁場の変化又は磁力ノイズの接近)の識別情報及びその状態とともに出力させる処理を行うものとする。
When the pattern of the detection data of the
環境磁場の変化が発生した場合、地磁気センサ18の検出データのオフセット補正により、環境磁場の変化による検出データへの影響が低減できる。このため、ステップS46において、携帯端末10の状態の識別情報が環境磁場の変化を示す場合に、当該識別情報は、オフセット補正又はキャリブレーションのアラーム情報として機能する。携帯端末10のドライバは、環境磁場の変化の状態の識別情報に応じて、地磁気センサ18の検出データのオフセット補正や、キャリブレーションを行う。
When a change in the environmental magnetic field occurs, the influence of the change in the environmental magnetic field on the detection data can be reduced by offset correction of the detection data of the
また、磁力ノイズの接近が発生した場合、検出データへの影響を低減させることは難しい。このため、ステップS46において、携帯端末10の状態の識別情報が磁力ノイズの接近を示す場合に、当該識別情報は、異常磁場のアラーム情報として機能する。携帯端末10のドライバは、磁力ノイズの接近の状態の識別情報に応じて、地磁気センサ18の検出データを使用しない等の処理を行う。
In addition, when magnetic noise approaches, it is difficult to reduce the influence on detection data. For this reason, when the identification information of the state of the
また、ステップS47,S48は、加速度センサ19A及びジャイロスコープ19Bが動作していない間に、CPU11により行われるものとする。
Steps S47 and S48 are performed by the
以上、本実施の形態によれば、携帯端末10は、動き検出部19(加速度センサ19A又はジャイロスコープ19B)の検出データの変化量が所定の閾値(閾値T4又はT5)以上であると判別された場合に、地磁気センサ18の検出データのパターンを参照して携帯端末10の状態を判定する。そして、携帯端末10は、当該判定した状態が外部のノイズ(環境磁場の変化又は磁力ノイズの接近)の状態である場合に、地磁気センサ18の検出データを異常データとして前記判定した状態の情報とともに出力させる。このため、携帯端末10のドライバ等は、判定された環境磁場の変化又は磁力ノイズの接近の状態の情報に応じて、地磁気センサ18の検出データを適切に使用できる。
As described above, according to the present embodiment, the
なお、第4の地磁気センサデータ処理において、CPU11は、ステップS47で携帯端末10の状態が携帯端末10に動きが発生した状態であると判定された場合に、ステップS63で、地磁気センサ18の検出データを正常データとして前記判定した状態の識別情報とともに出力させることとしてもよい。
In the fourth geomagnetic sensor data processing, the
(第5の実施の形態)
図6を参照して、本発明に係る第5の実施の形態を説明する。図6は、第5の地磁気センサデータ処理を示すフローチャートである。
(Fifth embodiment)
A fifth embodiment according to the present invention will be described with reference to FIG. FIG. 6 is a flowchart showing fifth geomagnetic sensor data processing.
本実施の形態の装置構成は、第1の実施の形態の携帯端末10と同様の構成である。但し、ROM15には、第1の地磁気センサデータ処理プログラム151に代えて、第5の地磁気センサデータ処理プログラムが記憶されているものとする。
The apparatus configuration of the present embodiment is the same as that of the
次に、図6を参照して、携帯端末10の動作を説明する。第5の地磁気センサデータ処理は、地磁気センサ18の検出データの変化から、正常か異常かを断定しきれないグレーゾーンの場合に、動き検出部19の検出データの変化により携帯端末10に動きが発生しているか否かを判別し、その判別結果に応じて正常又は異常のデータ処理を行う処理である。
Next, the operation of the
携帯端末10において、例えば、ユーザ操作により電源オンがなされたことをトリガとして、CPU11が、ROM15から読み出され適宜RAM13に展開された第5の地磁気センサデータ処理プログラムとの協働で、第5の地磁気センサデータ処理を実行する。
In the
図6に示すように、ステップS61,S63,S65〜S67は、上記第3の実施の形態の第3の地磁気センサデータ処理のステップS31,S33〜S36と同様である。ステップS61の後、CPU11は、ステップS61で取得した地磁気センサ18の第1の所定時間の検出データの変化量が、予め設定された閾値T7以上であるか否かを判別する(ステップS62)。ステップS62では、地磁気センサ18の3軸の検出データの絶対値の第1の所定時間における変化量と、閾値T7と、が比較される。
As shown in FIG. 6, steps S61, S63, S65 to S67 are the same as steps S31 and S33 to S36 of the third geomagnetic sensor data processing of the third embodiment. After step S61, the
閾値T7は、地磁気センサ18の検出データの変化が小さく、当該検出データが明らかに正常であるか否かを判別するための磁気の絶対値の第1の所定時間における変化量の閾値である。地磁気センサ18の検出データの変化量が閾値T7以上でない場合(ステップS62;NO)、ステップS63に移行される。
The threshold value T7 is a threshold value of the amount of change in the first predetermined time of the absolute value of magnetism for determining whether or not the change in detection data of the
地磁気センサ18の検出データの変化量が閾値T7以上である場合(ステップS62;YES)、CPU11は、ステップS61で取得した地磁気センサ18の第1の所定時間の検出データの変化量が、予め設定された閾値T8以上であるか否かを判別する(ステップS64)。ステップS64では、地磁気センサ18の3軸の検出データの絶対値の第1の所定時間における変化量と、閾値T8と、が比較される。
When the change amount of the detection data of the
閾値T8は、地磁気センサ18の検出データの変化が比較的大きく、当該検出データが明らかに異常(環境磁場の変化又は磁力ノイズの接近)であるか否かを判別するための磁気の絶対値の第1の所定時間における変化量の閾値である。閾値T8は、閾値T7よりも大きい値である。地磁気センサ18の検出データの変化量が閾値T8以上でない場合(ステップS64;NO)、ステップS65に移行される。地磁気センサ18の検出データの変化量が閾値T8以上である場合(ステップS64;YES)、ステップS67に移行される。
The threshold T8 is an absolute value of magnetism for determining whether or not the change in the detection data of the
以上、本実施の形態によれば、携帯端末10は、地磁気センサ18の検出データの変化量が、閾値T7よりも大きく予め設定された閾値T8以上であるか否かを判別する。携帯端末10は、地磁気センサ18の検出データが閾値T7以上であり且つ閾値T8未満であると判別された場合に、動き検出部19(加速度センサ19A又はジャイロスコープ19B)の検出データの変化量が所定の閾値(閾値T4又はT5)以上であるか否かを判別する。携帯端末10は、地磁気センサ18の検出データが閾値T8以上であると判別された場合に、地磁気センサ18の検出データを異常データとして処理する。
As described above, according to the present embodiment, the
このため、地磁気センサ18の検出データが閾値T8以上である明らかに異常な場合に、地磁気センサ18の検出データを異常データとして処理でき、同じく閾値T7以上であり且つ閾値T8未満であるグレーゾーンの場合に、携帯端末10の動きの検出を行い、CPU11の処理負担を低減できる。
For this reason, when the detection data of the
以上の説明では、本発明に係るプログラムのコンピュータ読み取り可能な媒体としてROM15を使用した例を開示したが、この例に限定されない。
その他のコンピュータ読み取り可能な媒体として、フラッシュメモリ等の不揮発性メモリ、CD−ROM等の可搬型記録媒体を適用することが可能である。
また、本発明に係るプログラムのデータを通信回線を介して提供する媒体として、キャリアウエーブ(搬送波)も本発明に適用される。
In the above description, the example in which the
As other computer-readable media, a non-volatile memory such as a flash memory and a portable recording medium such as a CD-ROM can be applied.
A carrier wave is also applied to the present invention as a medium for providing program data according to the present invention via a communication line.
なお、上記実施の形態における記述は、本発明に係る携帯端末及びプログラムの一例であり、これに限定されるものではない。 The description in the above embodiment is an example of the mobile terminal and the program according to the present invention, and the present invention is not limited to this.
例えば、上記複数の実施の形態の少なくとも2つを組み合わせる構成としてもよい。例えば、第1の実施の形態の第1の地磁気センサデータ処理の地磁気センサ18の検出データと閾値との比較を、第4、第5の実施の形態の第4、第5の地磁気センサデータ処理に適用する構成としてもよい。
For example, it is good also as a structure which combines at least 2 of the said several embodiment. For example, the detection data of the
また、上記各実施の形態の携帯端末10で、加速度センサ19A及びジャイロスコープ19Bが3軸のものとする構成としたが、これに限定されるものではない。例えば、携帯端末10の1軸を鉛直方向の軸に固定するような姿勢で携帯端末10を使用する場合に、加速度センサ19A及びジャイロスコープ19Bが水平面の2軸のデータを検出するセンサとしてもよい。
Moreover, although the
また、上記各実施の形態の携帯端末10で、動き検出部19が動き検出センサとして、加速度センサ19A及びジャイロスコープ19Bを有する構成としたが、これに限定されるものではない。動き検出部19の動き検出センサとしては、振り子式の振動計等、他の動き検出センサを用いることとしてもよい。
In the
また、上記各実施の形態では、携帯端末10に動きが検出された場合に、正常データ処理が行われることとしたが、これに限定されるものではない。地磁気センサ18の検出データに変化が発生した場合に、携帯端末10に動きがあると、正常値に落ち着く可能性が高いものの、磁力ノイズ源近くに移動した場合等、地磁気センサ18の検出データが高いまま正常値に落ち着かない可能性もある。このため、地磁気センサ18の検出データに変化が発生した場合に、携帯端末10に動きがあると判別されると、CPU11は、地磁気センサ18の検出データを携帯端末10に動きがある旨の情報とともに出力させる処理を行うこととしてもよい。
Further, in each of the above embodiments, normal data processing is performed when motion is detected in the
また、上記各実施の形態では、地磁気センサ18の検出データを携帯端末10のドライバが使用する構成としたが、これに限定されるものではない。例えば、記憶部17に各種アプリケーションプログラムが記憶され、当該アプリケーションプログラムが地磁気センサ18の検出データを直接使用する構成としてもよい。
Moreover, in each said embodiment, although the driver of the
また、上記実施の形態における携帯端末10の各構成要素の細部構成及び細部動作に関しては、本発明の趣旨を逸脱することのない範囲で適宜変更可能であることは勿論である。
Moreover, it is needless to say that the detailed configuration and detailed operation of each component of the
本発明の実施の形態を説明したが、本発明の範囲は、上述の実施の形態に限定するものではなく、特許請求の範囲に記載された発明の範囲とその均等の範囲を含む。
以下に、この出願の願書に最初に添付した特許請求の範囲に記載した発明を付記する。付記に記載した請求項の項番は、この出願の願書に最初に添付した特許請求の範囲の通りである。
〔付記〕
<請求項1>
磁場を検出する地磁気センサと、
端末本体の動きを検出する動き検出手段と、
前記地磁気センサの検出データと前記動き検出手段の検出データとに基づいて、前記地磁気センサの検出データが変化した原因が、前記端末本体が動いたことによるものか、あるいは外部のノイズによるものかを判別する判別手段と、
前記判別手段の判別結果に応じて予め決められた処理を行う処理手段と、
を備える携帯端末。
<請求項2>
前記判別手段は、前記地磁気センサの検出データが予め設定された第1の閾値以上であり、前記動き検出手段の検出データが予め設定された第2の閾値以上である場合は、前記地磁気センサの検出データが変化した原因が、前記端末本体が動いたことによるものと判別し、前記地磁気センサの検出データが前記第1の閾値以上であり、前記動き検出手段の検出データが前記第2の閾値未満である場合は、前記地磁気センサの検出データが変化した原因が、前記外部のノイズによるものと判別する請求項1に記載の携帯端末。
<請求項3>
前記処理手段は、前記判別手段により前記地磁気センサの検出データが変化した原因が前記外部のノイズによるものと判別された場合は、前記地磁気センサの検出データを異常データとして処理する請求項1または2に記載の携帯端末。
<請求項4>
前記処理手段は、前記判別手段により前記地磁気センサの検出データが前記第1の閾値以上でないと判別された場合、又は前記判別手段により前記動き検出手段の検出データが前記第2の閾値以上であり前記原因が前記携帯端末が動いたことによるものと判別された場合に、前記地磁気センサの検出データを正常データとして処理する請求項2または3に記載の携帯端末。
<請求項5>
前記判別手段は、前記地磁気センサの検出データの変化量が、前記第1の閾値以上であるか否かを判別する請求項2〜4のいずれか一項に記載の携帯端末。
<請求項6>
前記判別手段は、前記動き検出手段の検出データの変化量が、前記第2の閾値以上であるか否かを判別する請求項2〜5のいずれか一項に記載の携帯端末。
<請求項7>
前記判別手段により前記動き検出手段の検出データが前記携帯端末の動きを示すと判別された場合に、前記地磁気センサの検出データのパターンを参照し、当該検出データのパターンに対応する前記携帯端末の状態を判定する判定手段を備え、
前記処理手段は、前記判定された状態が外部のノイズの状態である場合に、前記地磁気センサの検出データを異常データとして当該状態の識別情報とともに出力させる処理を行う請求項1〜6のいずれか一項に記載の携帯端末。
<請求項8>
前記判別手段は、前記地磁気センサの検出データが、前記第1の閾値よりも大きく予め設定された第3の閾値以上であるか否かを判別すると共に、前記地磁気センサの検出データが前記第1の閾値以上であり且つ前記第3の閾値以上でないと判別された場合に、前記動き検出手段の検出データが、前記第2の閾値以上であり前記原因が前記携帯端末が動いたことによるものか否かを判別し、
前記処理手段は、前記地磁気センサの検出データが前記第3の閾値以上であると判別された場合に、前記地磁気センサの検出データを異常データとして処理する請求項2〜7のいずれか一項に記載の携帯端末。
<請求項9>
前記動き検出手段は、複数種類の動き検出センサを有し、
前記判別手段は、前記動き検出センサの検出データの少なくとも一つが、前記第2の閾値以上であるか否かにより、前記携帯端末の動きを示すか否かを判別する請求項2〜8のいずれか一項に記載の携帯端末。
<請求項10>
前記動き検出手段は、前記動き検出センサとして、加速度センサと、ジャイロスコープと、を有する請求項9に記載の携帯端末。
<請求項11>
磁場を検出する地磁気センサと、端末本体の動きを検出する動き検出手段とを備える携帯端末のコンピュータを制御するためのプログラムであって、
前記コンピュータを、
前記地磁気センサの検出データと前記動き検出手段の検出データとに基づいて、前記地磁気センサの検出データが変化した原因が、前記端末本体が動いたことによるものか、あるいは外部のノイズによるものかを判別する判別手段、
前記判別手段の判別結果に応じて予め決められた処理を行う処理手段、
として機能させるようにしたコンピュータ読み取り可能なプログラム。
Although the embodiments of the present invention have been described, the scope of the present invention is not limited to the above-described embodiments, but includes the scope of the invention described in the claims and the equivalents thereof.
The invention described in the scope of claims attached to the application of this application will be added below. The item numbers of the claims described in the appendix are as set forth in the claims attached to the application of this application.
[Appendix]
<Claim 1>
A geomagnetic sensor for detecting a magnetic field;
Movement detection means for detecting movement of the terminal body;
Based on the detection data of the geomagnetic sensor and the detection data of the motion detection means, whether the detection data of the geomagnetic sensor has changed is due to movement of the terminal body or external noise. Discriminating means for discriminating;
Processing means for performing predetermined processing according to the determination result of the determination means;
A mobile terminal comprising:
<Claim 2>
When the detection data of the geomagnetic sensor is greater than or equal to a preset first threshold value and the detection data of the motion detection means is greater than or equal to a preset second threshold value, It is determined that the cause of the change in the detection data is that the terminal main body has moved, the detection data of the geomagnetic sensor is greater than or equal to the first threshold value, and the detection data of the motion detection means is the second threshold value. 2. The mobile terminal according to claim 1, wherein if it is less than 1, the cause of the change in the detection data of the geomagnetic sensor is determined to be due to the external noise.
<Claim 3>
The processing means processes the detection data of the geomagnetic sensor as abnormal data when the determination means determines that the cause of the change in the detection data of the geomagnetic sensor is due to the external noise. The portable terminal as described in.
<Claim 4>
In the processing unit, when the determination unit determines that the detection data of the geomagnetic sensor is not equal to or greater than the first threshold value, or the detection unit detects that the detection data of the motion detection unit is equal to or greater than the second threshold value. The portable terminal according to claim 2 or 3, wherein when the cause is determined to be caused by movement of the portable terminal, the detection data of the geomagnetic sensor is processed as normal data.
<Claim 5>
The portable terminal according to any one of claims 2 to 4, wherein the determination unit determines whether or not a change amount of detection data of the geomagnetic sensor is equal to or greater than the first threshold value.
<Claim 6>
The mobile terminal according to any one of claims 2 to 5, wherein the determination unit determines whether or not a change amount of detection data of the motion detection unit is equal to or greater than the second threshold value.
<Claim 7>
When the determination means determines that the detection data of the movement detection means indicates the movement of the mobile terminal, the detection data pattern of the geomagnetic sensor is referred to and the mobile terminal corresponding to the detection data pattern is referred to. A determination means for determining the state;
The said processing means performs the process which outputs the detection data of the said geomagnetic sensor with the identification information of the said state as abnormal data, when the determined state is an external noise state. The mobile terminal according to one item.
<Claim 8>
The discriminating unit discriminates whether or not the detection data of the geomagnetic sensor is greater than the first threshold and is equal to or greater than a preset third threshold, and the detection data of the geomagnetic sensor is the first If it is determined that the detected data of the motion detection means is greater than or equal to the second threshold and the cause is that the mobile terminal has moved. Determine whether or not
The said processing means processes the detection data of the said geomagnetic sensor as abnormal data, when it determines with the detection data of the said geomagnetic sensor being more than the said 3rd threshold value. The portable terminal described.
<Claim 9>
The motion detection means has a plurality of types of motion detection sensors,
The determination unit according to any one of claims 2 to 8, wherein the determination unit determines whether or not the movement of the mobile terminal is indicated based on whether or not at least one of detection data of the movement detection sensor is equal to or greater than the second threshold value. A portable terminal according to claim 1.
<Claim 10>
The mobile terminal according to claim 9, wherein the motion detection unit includes an acceleration sensor and a gyroscope as the motion detection sensor.
<Claim 11>
A program for controlling a computer of a mobile terminal comprising a geomagnetic sensor for detecting a magnetic field and a motion detecting means for detecting the motion of the terminal body,
The computer,
Based on the detection data of the geomagnetic sensor and the detection data of the motion detection means, whether the detection data of the geomagnetic sensor has changed is due to movement of the terminal body or external noise. Discriminating means for discriminating,
Processing means for performing a predetermined process according to the determination result of the determination means;
A computer-readable program designed to function as a computer.
10 携帯端末
11 CPU
12 操作部
13 RAM
14 表示部
15 ROM
16 通信部
17 記憶部
18 地磁気センサ
19 動き検出部
19A 加速度センサ
19B ジャイロスコープ
20 電源部
21 バス
10
12
14
16
Claims (6)
端末本体の動きを検出する動き検出手段と、
前記地磁気センサの検出データと前記動き検出手段の検出データとに基づいて、前記地磁気センサの検出データが変化した原因が、前記端末本体が動いたことによるものか、あるいは外部のノイズによるものかを判別する判別手段と、
前記判別手段の判別結果に応じて予め決められた処理を行う処理手段と、
を備え、
前記判別手段は、前記地磁気センサの検出データが予め設定された第1の閾値以上であり、前記動き検出手段の検出データが予め設定された第2の閾値以上である場合は、前記地磁気センサの検出データが変化した原因が、前記端末本体が動いたことによるものと判別し、前記地磁気センサの検出データが前記第1の閾値以上であり、前記動き検出手段の検出データが前記第2の閾値未満である場合は、前記地磁気センサの検出データが変化した原因が、前記外部のノイズによるものと判別する携帯端末。 A geomagnetic sensor for detecting a magnetic field;
Movement detection means for detecting movement of the terminal body;
Based on the detection data of the geomagnetic sensor and the detection data of the motion detection means, whether the detection data of the geomagnetic sensor has changed is due to movement of the terminal body or external noise. Discriminating means for discriminating;
Processing means for performing predetermined processing according to the determination result of the determination means;
With
When the detection data of the geomagnetic sensor is greater than or equal to a preset first threshold value and the detection data of the motion detection means is greater than or equal to a preset second threshold value, It is determined that the cause of the change in the detection data is that the terminal main body has moved, the detection data of the geomagnetic sensor is greater than or equal to the first threshold value, and the detection data of the motion detection means is the second threshold value. If not, the portable terminal determines that the cause of the change in the detection data of the geomagnetic sensor is due to the external noise.
前記処理手段は、前記判定された状態が外部のノイズの状態である場合に、前記地磁気センサの検出データを異常データとして当該状態の識別情報とともに出力させる処理を行う請求項1〜3のいずれか一項に記載の携帯端末。 When the determination means determines that the detection data of the movement detection means indicates the movement of the mobile terminal, the detection data pattern of the geomagnetic sensor is referred to and the mobile terminal corresponding to the detection data pattern is referred to. A determination means for determining the state;
The said processing means performs the process which outputs the detection data of the said geomagnetic sensor with the identification information of the said state as abnormal data, when the determined state is an external noise state. The mobile terminal according to one item.
前記処理手段は、前記地磁気センサの検出データが前記第3の閾値以上であると判別された場合に、前記地磁気センサの検出データを異常データとして処理する請求項1〜4のいずれか一項に記載の携帯端末。 The discriminating unit discriminates whether or not the detection data of the geomagnetic sensor is greater than the first threshold and is equal to or greater than a preset third threshold, and the detection data of the geomagnetic sensor is the first If it is determined that the detected data of the motion detection means is greater than or equal to the second threshold and the cause is that the mobile terminal has moved. Determine whether or not
The said processing means processes the detection data of the said geomagnetic sensor as abnormal data, when it determines with the detection data of the said geomagnetic sensor being more than the said 3rd threshold value. The portable terminal described.
前記コンピュータを、
前記地磁気センサの検出データと前記動き検出手段の検出データとに基づいて、前記地磁気センサの検出データが変化した原因が、前記端末本体が動いたことによるものか、あるいは外部のノイズによるものかを判別する判別手段、
前記判別手段の判別結果に応じて予め決められた処理を行う処理手段、
として機能させ、
前記判別手段は、前記地磁気センサの検出データが予め設定された第1の閾値以上であり、前記動き検出手段の検出データが予め設定された第2の閾値以上である場合は、前記地磁気センサの検出データが変化した原因が、前記端末本体が動いたことによるものと判別し、前記地磁気センサの検出データが前記第1の閾値以上であり、前記動き検出手段の検出データが前記第2の閾値未満である場合は、前記地磁気センサの検出データが変化した原因が、前記外部のノイズによるものと判別するようにしたコンピュータ読み取り可能なプログラム。 A program for controlling a computer of a mobile terminal comprising a geomagnetic sensor for detecting a magnetic field and a motion detecting means for detecting the motion of the terminal body,
The computer,
Based on the detection data of the geomagnetic sensor and the detection data of the motion detection means, whether the detection data of the geomagnetic sensor has changed is due to movement of the terminal body or external noise. Discriminating means for discriminating,
Processing means for performing a predetermined process according to the determination result of the determination means;
Function as
When the detection data of the geomagnetic sensor is greater than or equal to a preset first threshold value and the detection data of the motion detection means is greater than or equal to a preset second threshold value, It is determined that the cause of the change in the detection data is that the terminal main body has moved, the detection data of the geomagnetic sensor is greater than or equal to the first threshold value, and the detection data of the motion detection means is the second threshold value. A computer-readable program that determines that the cause of the change in the detection data of the geomagnetic sensor is due to the external noise.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2013158414A JP6330266B2 (en) | 2013-07-31 | 2013-07-31 | Mobile terminal and program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2013158414A JP6330266B2 (en) | 2013-07-31 | 2013-07-31 | Mobile terminal and program |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2015029236A JP2015029236A (en) | 2015-02-12 |
JP6330266B2 true JP6330266B2 (en) | 2018-05-30 |
Family
ID=52492671
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2013158414A Active JP6330266B2 (en) | 2013-07-31 | 2013-07-31 | Mobile terminal and program |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP6330266B2 (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2017195448A (en) * | 2016-04-18 | 2017-10-26 | 京セラ株式会社 | Portable device, control method and control program |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP5560413B2 (en) * | 2010-10-26 | 2014-07-30 | アイチ・マイクロ・インテリジェント株式会社 | Magnetic gyro |
JP5873867B2 (en) * | 2011-06-13 | 2016-03-01 | パナソニック インテレクチュアル プロパティ コーポレーション オブアメリカPanasonic Intellectual Property Corporation of America | Noise pattern acquisition device and position detection device including the same |
-
2013
- 2013-07-31 JP JP2013158414A patent/JP6330266B2/en active Active
Also Published As
Publication number | Publication date |
---|---|
JP2015029236A (en) | 2015-02-12 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR101370138B1 (en) | Method and apparatus for movement detection by evaluating elementary movement patterns | |
US8494799B2 (en) | Dynamic compass calibration in a portable device | |
KR101477442B1 (en) | Methods and apparatuses for gesture-based user input detection in a mobile device | |
US7921572B2 (en) | Accuracy indications for an electronic compass in a portable device | |
US9151622B2 (en) | Method and apparatus for estimating moving direction of user and computer-readable storage medium having recorded thereon the method | |
US20080108329A1 (en) | Mobile terminal and method and medium for controlling the same | |
JP5012252B2 (en) | Magnetic data processing apparatus, method and program | |
JP2008170309A (en) | Portable navigation system, portable navigation method, and program for portable navigation, and portable terminal | |
JP2007329599A (en) | Communicating system | |
JP6441470B2 (en) | Electronic device, control method of electronic device, and program | |
JP6753942B2 (en) | Information processing equipment, electronic devices, control methods and control programs for information processing equipment | |
JP2015122609A (en) | Electronic apparatus | |
JP5933498B2 (en) | Terminal, control method and control program | |
KR101714628B1 (en) | Apparatus and method for user authentication using a movement information | |
KR20120056696A (en) | Method for estimating displacement of user terminal and apparatus for the same | |
JP6330266B2 (en) | Mobile terminal and program | |
KR101472960B1 (en) | Apparatus and method for esimating orientation using pattern recogniion | |
JP6149661B2 (en) | Portable electronic device, state determination program, and state determination method | |
US20140067306A1 (en) | Controlling sensor use on an electronic device | |
US9693309B2 (en) | Mobile electronic device | |
JP2013250707A (en) | Spatial position coordinate input device | |
EP2703778B1 (en) | Controlling sensor operation in an electronic device | |
CN115267868B (en) | Positioning point processing method and device and computer readable storage medium | |
JP2013200124A (en) | Position information providing device and method therefor, computer program for providing position information, and recording medium recording computer program | |
EP2703779B1 (en) | Stabilizing Orientation Values Of An Electronic Device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20160629 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20170414 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20170425 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20170626 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20171010 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20171204 |
|
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: 20180327 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20180409 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 6330266 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |