JP2009229062A - Portable electronic apparatus - Google Patents
Portable electronic apparatus Download PDFInfo
- Publication number
- JP2009229062A JP2009229062A JP2006203276A JP2006203276A JP2009229062A JP 2009229062 A JP2009229062 A JP 2009229062A JP 2006203276 A JP2006203276 A JP 2006203276A JP 2006203276 A JP2006203276 A JP 2006203276A JP 2009229062 A JP2009229062 A JP 2009229062A
- Authority
- JP
- Japan
- Prior art keywords
- portable electronic
- calibration data
- electronic device
- unit
- data acquisition
- 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.)
- Withdrawn
Links
Images
Classifications
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01C—MEASURING DISTANCES, LEVELS OR BEARINGS; SURVEYING; NAVIGATION; GYROSCOPIC INSTRUMENTS; PHOTOGRAMMETRY OR VIDEOGRAMMETRY
- G01C17/00—Compasses; Devices for ascertaining true or magnetic north for navigation or surveying purposes
- G01C17/38—Testing, calibrating, or compensating of compasses
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M2250/00—Details of telephonic subscriber devices
- H04M2250/10—Details of telephonic subscriber devices including a GPS signal receiver
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M2250/00—Details of telephonic subscriber devices
- H04M2250/12—Details of telephonic subscriber devices including a sensor for measuring a physical value, e.g. temperature or motion
Landscapes
- Engineering & Computer Science (AREA)
- Radar, Positioning & Navigation (AREA)
- Remote Sensing (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Telephone Function (AREA)
- Mobile Radio Communication Systems (AREA)
- Measuring Magnetic Variables (AREA)
- Traffic Control Systems (AREA)
Abstract
Description
本発明は、地磁気センサを搭載した携帯電子機器に関し、特に、キャリブレーション処理を正確に行えるようにした2軸式地磁気センサを搭載した携帯電子機器に関する。 The present invention relates to a portable electronic device equipped with a geomagnetic sensor, and more particularly, to a portable electronic device equipped with a biaxial geomagnetic sensor that can perform calibration processing accurately.
近年、地磁気センサの小型化および低価格化が進み、携帯電子機器に搭載される場合が多くなりつつある。地磁気センサは、磁気計測方向が2軸式と3軸式とに大別されるが、2軸式の地磁気センサの方が安価かつサイズが小さく、携帯電子機器に搭載するには適している。携帯電子機器は、スピーカ、バッテリや金属部品など、様々な磁性材料を含むため、これら磁性材料が磁気・磁束を発し、地磁気センサの精度などに影響を及ぼすこととなる。即ち、携帯電子機器に搭載された地磁気センサは、機器内の磁性材料が発する「機器内磁気」と「地磁気」とが合成された磁気を検出してしまう。従って、地磁気センサの精度を適正に保持するためには、機器内の磁性材料が発する「磁気」による誤差分を補正するためのキャリブレーションが必要である。 In recent years, geomagnetic sensors are becoming smaller and less expensive, and are increasingly being installed in portable electronic devices. The geomagnetic sensor is roughly classified into a biaxial type and a triaxial type, but the biaxial type geomagnetic sensor is cheaper and smaller in size, and is suitable for mounting on a portable electronic device. Since portable electronic devices include various magnetic materials such as speakers, batteries, and metal parts, these magnetic materials generate magnetism and magnetic flux, which affects the accuracy of the geomagnetic sensor. That is, the geomagnetic sensor mounted on the portable electronic device detects the magnetism in which the “magnetic in the device” and the “geomagnetic” generated by the magnetic material in the device are combined. Therefore, in order to properly maintain the accuracy of the geomagnetic sensor, calibration for correcting an error due to “magnetism” generated by the magnetic material in the device is necessary.
ここで「キャリブレーション」とは、携帯電子機器内部の磁気の影響を補正することであり、例えば、携帯電子機器を水平に保ち回転させる動作等によって携帯電子機器内の磁気発生部材による影響をキャンセルさせる動作である。携帯電子機器内の磁気発生部材による磁気は、温度の影響で変化し得るものである。また、携帯電子機器をより大きな磁気を発するスピーカやモータなどのそばに置いた場合、フラッシュメモリなどの外部記憶素子を挿入した場合も、携帯電子機器全体としても着磁状態が変化して磁気センサの計測に影響を及ぼしてしまう。 Here, “calibration” is to correct the influence of magnetism inside the portable electronic device, for example, cancel the influence of the magnetic generating member in the portable electronic device by the operation of keeping the portable electronic device horizontal and rotating it. It is an action to make. The magnetism generated by the magnetism generating member in the portable electronic device can change under the influence of temperature. In addition, when a portable electronic device is placed near a speaker or motor that emits more magnetism, or when an external storage element such as a flash memory is inserted, the magnetization state of the portable electronic device as a whole changes. It will affect the measurement.
携帯電子機器内の地磁気センサが、自機器内の磁性体の影響を受け、正確な方位を示すことができなくなっているか否かは、ユーザが外部から携帯電子機器を観察しても見極めることができない。従って、ユーザは地磁気センサに定期的なキャリブレーション処理を施す必要がある。2軸式地磁気センサのキャリブレーション処理において機器を水平に回転させる動作において、回転速度が速すぎると、キャリブレーションデータ取得用のメモリがオーバーフローするなど、回転速度が一定の範囲から外れた場合に、キャリブレーション精度が劣化したり不能になったりするなどの問題がある。そこで、回転速度に依存せず低速でも高速でも正確にキャリブレーション動作を行うことができる技術が提案されている(特許文献1を参照されたい。)。
2軸式地磁気センサの場合、例えば、ユーザがセンサを搭載した携帯電子機器を水平(X軸、Y軸に並行な面)にして、「一定速度を保持しながら回転させる」必要がある。このとき、縦方向(Z軸)へ携帯電子機器を動かすことは誤ったキャリブレーションデータが取得される要因となるため、ユーザが慎重に携帯電子機器を平面上で回転さるることが要求される。上述した従来技術によれば、一定速度で回転させるという制約は無くなるが、2軸(X軸、Y軸)方向以外の縦方向(Z軸)にぶれさせずに、携帯電子機器を「平面上に保持しながら回転させる」という制約は依然として残っている。 In the case of a biaxial geomagnetic sensor, for example, the user needs to make the portable electronic device on which the sensor is mounted horizontal (a plane parallel to the X axis and Y axis) and “rotate while maintaining a constant speed”. At this time, since moving the portable electronic device in the vertical direction (Z-axis) causes erroneous calibration data to be acquired, the user is required to carefully rotate the portable electronic device on a plane. . According to the above-described prior art, there is no restriction of rotating at a constant speed, but the portable electronic device can be placed on a plane without being shaken in the vertical direction (Z-axis) other than the two-axis (X-axis, Y-axis) directions. The constraint of “rotating while holding” remains.
一般的に、携帯電子機器は、地磁気センサ以外の諸機能を搭載しており、例えば、通信機能、より具体的には、無線電話機能、メール送受信機能、アラーム機能、またはデジタル・アナログ放送(例えばワンセグメント放送)受信機能などが搭載される。特に、無線電話機能やメール送受信機能では、キャリブレーション動作中であっても、予期せぬ電話やメールの着信があるため、ユーザは着信に反応して無意識に機器を縦方向(Z方向)に動かすことが想定される。また、機器が携帯電話端末である場合には、マナーモード(サイレントモード)に設定されることが多く、電話やメールの着信があったときにバイブレータ用の小型モータが動作し、振動を発生させてユーザに着信を知らせる。このようなケースでは、たとえ、ユーザが機器を縦方向に動かさなくても、モータを構成するロータやステータが発する磁力線の状況が変化し、正確なキャリブレーションデータを取得することはできない。このように、機能によっては実行中に「内部磁気」の発生状況を変動させる場合がよくあるが、このような場合では、ユーザは正確にキャリブレーション処理を終えたつもりであっても、実際には誤ったキャリブレーション処理が実行され、正確な方位を表示することができないことがある。 In general, portable electronic devices are equipped with various functions other than geomagnetic sensors, such as communication functions, more specifically, wireless telephone functions, mail transmission / reception functions, alarm functions, or digital / analog broadcasting (for example, (One-segment broadcasting) reception function etc. will be installed. In particular, in the wireless telephone function and mail transmission / reception function, even when calibration is in progress, an unexpected incoming call or mail is received, so the user unconsciously moves the device vertically (Z direction) in response to the incoming call. It is assumed to move. In addition, when the device is a mobile phone terminal, it is often set to silent mode, and when a phone call or mail is received, a small motor for the vibrator operates to generate vibration. To notify users of incoming calls. In such a case, even if the user does not move the device in the vertical direction, the state of the magnetic lines of force generated by the rotor and stator constituting the motor changes, and accurate calibration data cannot be acquired. In this way, depending on the function, the occurrence of “internal magnetism” is often changed during execution. In such a case, even if the user intends to finish the calibration process correctly, In some cases, an incorrect calibration process is performed and an accurate orientation cannot be displayed.
本発明は、上述した諸課題を解消するために、キャリブレーション処理を正確に行える2軸式地磁気センサを搭載した携帯電子機器を提供することを目的とする。 In order to solve the above-described problems, an object of the present invention is to provide a portable electronic device equipped with a biaxial geomagnetic sensor that can accurately perform a calibration process.
上述した諸課題を解決すべく、第1の発明による携帯電子機器は、
複数の機能を搭載した携帯電子機器(携帯電話端末装置、PDAなど)であって、
地磁気を検出する2軸の地磁気センサと、
ユーザによるキャリブレーション処理開始操作を受ける入力部と、
ユーザによるキャリブレーション処理開始操作を受け、前記地磁気センサによって検出される地磁気に基づいて、方位測定のためのキャリブレーションデータを取得するキャリブレーションデータ取得部と、
前記キャリブレーションデータ取得部により前記キャリブレーションデータが取得されているときに、前記携帯電子機器に搭載されている複数の機能のうち少なくとも1つの機能が実行中(起動を含む)であるか否かを判定する監視部(例えば、割り込みハンドラー)と、
前記キャリブレーションデータが取得されているときに、前記複数の機能のうち少なくとも1つの機能が実行中(起動を含む)であると前記監視部によって判定された場合、前記キャリブレーションデータ取得部で取得されたキャリブレーションデータを破棄するよう前記キャリブレーションデータ取得部を制御する制御部と、
前記キャリブレーションデータ取得部により取得されたキャリブレーションデータに基づきキャリブレーション処理を行い前記地磁気センサの各軸に補正値(感度値、オフセットなど)を設定するキャリブレーション処理実行部と、
を備えることを特徴とする。
In order to solve the above-mentioned problems, the portable electronic device according to the first invention is
A portable electronic device (cell phone terminal device, PDA, etc.) equipped with a plurality of functions,
A biaxial geomagnetic sensor for detecting geomagnetism;
An input unit that receives a calibration process start operation by a user;
A calibration data acquisition unit that receives a calibration process start operation by a user and acquires calibration data for azimuth measurement based on the geomagnetism detected by the geomagnetic sensor;
Whether or not at least one function among a plurality of functions mounted on the portable electronic device is being executed (including activation) when the calibration data is acquired by the calibration data acquisition unit A monitoring unit (for example, an interrupt handler) for determining
When the calibration data is acquired, if the monitoring unit determines that at least one of the plurality of functions is being executed (including activation), the calibration data acquisition unit acquires the calibration data. A control unit that controls the calibration data acquisition unit so as to discard the calibration data,
A calibration processing execution unit that performs a calibration process based on the calibration data acquired by the calibration data acquisition unit and sets a correction value (sensitivity value, offset, etc.) for each axis of the geomagnetic sensor;
It is characterized by providing.
また、第2の発明による携帯電子機器は、
前記少なくとも1つの機能が、電話(音声通話、テレビ電話など)の着信機能、メールの着信機能、および、前記携帯電子機器内の時間情報(システムクロックおよび起動設定時刻)に基づく起動機能(典型的には、アラーム、タイマー録画・録音など)のうちのいずれか1つである、
ことを特徴とする。
The portable electronic device according to the second invention is
The at least one function includes an incoming function for a telephone (voice call, videophone, etc.), an incoming mail function, and an activation function based on time information (system clock and activation setting time) in the portable electronic device (typically Is one of alarm, timer recording / recording, etc.,
It is characterized by that.
また、第3の発明による携帯電子機器は、
前記制御部が、前記取得されたキャリブレーションデータを破棄するよう指示した後、キャリブレーションデータ取得を再実行するよう前記キャリブレーションデータ取得部を制御する、ことを特徴とする。
A portable electronic device according to a third invention is
The control unit controls the calibration data acquisition unit to re-execute calibration data acquisition after instructing to discard the acquired calibration data.
また、第4の発明による携帯電子機器は、
携帯電子機器が表示部をさらに備え、
前記制御部は、キャリブレーションデータ取得の再実行中のときその旨を前記表示部に表示するよう制御する、ことを特徴とする。
A portable electronic device according to a fourth invention is
The portable electronic device further includes a display unit,
The control unit controls the display unit to display the fact when calibration data acquisition is being re-executed.
また、第5の発明による携帯電子機器は、
携帯電子機器が表示部をさらに備え、
前記制御部は、前記キャリブレーションデータを破棄するよう指示した後、キャリブレーションデータ取得の再実行を行うか否かの選択を促す表示(例えば、「キャリブレーションデータは破棄されました。再実行しますか?」など)を前記表示部に表示するよう制御する、ことを特徴とする。
A portable electronic device according to a fifth invention is
The portable electronic device further includes a display unit,
The control unit instructs to discard the calibration data, and then prompts the user to select whether to re-execute calibration data acquisition (for example, “Calibration data has been discarded. Re-execute. Or the like "is displayed on the display unit.
上述したように本発明の解決手段を機器(装置)として説明してきたが、本発明はこれらに実質的に相当する方法、プログラム、プログラムを記録した記憶媒体としても実現し得るものであり、本発明の範囲にはこれらも包含されるものと理解されたい。 As described above, the solution of the present invention has been described as a device (apparatus). However, the present invention can also be realized as a method, a program, and a storage medium storing the program. It should be understood that these are included in the scope of the invention.
キャリブレーション動作中に携帯電子機器に含まれる諸機能(音声通話の着信など)が起動される事象が発生した場合、ユーザによって2軸方向以外の方向に機器が動かされたり、起動された機能によっては機器内の磁気状況が変動したりする恐れがあるが、本発明によれば、このような事象が発生した場合、信頼性の低いキャリブレーションデータを自動的に破棄して、正確なキャリブレーションデータ取得を保証し、適正なキャリブレーション処理によってユーザに正確な方位を提供することが可能となる。 When an event that activates various functions (such as incoming voice calls) included in the portable electronic device occurs during the calibration operation, the device is moved in a direction other than the biaxial direction by the user, or depending on the activated function However, according to the present invention, when such an event occurs, the calibration data with low reliability is automatically discarded and accurate calibration is performed. Data acquisition is guaranteed, and an accurate orientation can be provided to the user by an appropriate calibration process.
以降、諸図面を参照しながら、本発明の実施態様を詳細に説明する。
<携帯電子機器の基本構成>
図1は、本発明による携帯電子機器の基本的な構成を示すブロック図である。図に示すように、本発明による携帯電子機器100は、2軸式地磁気センサ(電子コンパス)110、制御部120、記憶部130、無線通信部140、GPS信号受信部150、メモリカード部160、キー入力部170、表示部180、および音声処理部190を備える。なお、無線通信部を備える携帯電子機器の典型例は携帯電話端末装置である。
Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings.
<Basic configuration of portable electronic device>
FIG. 1 is a block diagram showing a basic configuration of a portable electronic device according to the present invention. As shown in the figure, a portable
2軸式地磁気センサ110は、X軸方向およびY軸方向の地磁気情報をそれぞれ出力し、これらに基づき、携帯電子機器100のX軸・Y軸に並行な平面上における方位が算出される。例えば、2軸式地磁気センサ110は、携帯電子機器100の筐体内の回路基板上(図示せず)に設定された所定の座標系(2軸)を基準として、その各軸方向の地磁気を検出する。地磁気の検出には、例えばコイルの励磁を利用する方法や、ホール効果を利用する方法、磁気抵抗素子を利用する方法など、種々の方法を用いることが可能である。
The biaxial
制御部120は、装置全体の制御を司るものであり、キャリブレーションデータ取得部121、キャリブレーション処理実行部122、監視部123、キャリブレーションデータ取得制御部124を備える。
The
記憶部130は、制御部120において処理に利用される各種のデータを記憶する。記憶部130は、例えば、地磁気センサにより取得されたキャリブレーションデータ、その他の様々な情報を格納する。さらには、制御部120に備わるコンピュータのプログラム、通信相手の電話番号や電子メールアドレス等の個人情報を管理するアドレス帳、着信音やアラーム音を再生するための音源ファイル、待ち受け画面用の画像ファイル、各種の設定データ、プログラムの処理過程で利用される一時的なデータなどを保持する。また、記憶部130は、例えば不揮発性の記憶デバイス(不揮発性半導体メモリ、ハードディスク装置、光ディスク装置など)やランダムアクセス可能な記憶デバイス(例えばSRAM、DRAM)などによって構成される。
The
無線通信部140は、通信ネットワークに接続される基地局(図示せず)と無線通信を行う。例えば、無線通信部140は、制御部120から供給される送信データに所定の変調処理を施して無線信号に変換し、アンテナから送出する。また、アンテナにおいて受信される基地局からの無線信号に所定の復調処理を施して受信データに変換し、制御部120に出力する。
The
GPS信号受信部150は、既知の軌道を周回する3つまたはそれ以上のGPS衛星から送信されるGPS信号を受信し、これに増幅、ノイズ除去、変調等の信号処理を施して、携帯電子機器100の地理的位置を算出するために必要な情報を取得する。
The GPS
メモリカード部160は、フラッシュメモリなどの外部記憶素子を挿入し、それを外部記憶部としてして利用し、各種情報やデータを格納するためのインターフェイスとして機能する。
The
キー入力部170は、例えば電源キー、通話キー、数字キー、文字キー、方向キー、決定キーなど、各種の機能が割り当てられたキーを有しており、これらのキーがユーザによって操作された場合に、その操作内容に対応する信号を発生し、これをユーザの指示として制御部120に入力する。
The
表示部180は、例えば液晶表示パネルや有機ELパネルなどの表示デバイスを用いて構成されており、制御部120から供給される映像信号に応じた画像を表示する。例えば、発信時における発信先の電話番号、着信時における着信相手の電話番号、受信メールや送信メールの内容、日付、時刻、バッテリ残量、待ち受け画面などの各種の情報を表示する。また表示部180は、GPS機能によりナビゲーションを行う場合や待ち受け画面を表示している場合などにおいて、2軸式地磁気センサ110の検出結果に基づく方位の情報を表示する。
The
音声処理部190は、スピーカSPにおいて出力される音声信号やマイクロフォンMICにおいて入力される音声信号の処理を行う。すなわち、マイクロフォンMICから入力される音声信号に増幅、アナログ−デジタル変換、符号化等の信号処理を施し、デジタルの音声データに変換して制御部120に出力する。また、制御部120から供給される音声データに復号化、デジタル−アナログ変換、増幅等の信号処理を施し、アナログの音声信号に変換してスピーカSPに出力する。
The
<2軸式磁気センサの方位算出処理>
2軸式地磁気センサには、上述したように各種原理を利用したものがあるが、ホール効果を利用したホール素子を例示して2軸式地磁気センサの方位算出処理の詳細を説明する。図2は、2軸式磁気センサを用いた方位算出処理の一例を示す機能ブロック図である。図に示すように、2軸式磁気センサ200、素子駆動部210、センサ用電源220、差動入力アンプ230、A/Dコンバータ240、方位算出部250、および制御部260が設けられ、2軸式磁気センサ200は、X軸ホール素子200XおよびY軸ホール素子200Yが設けられている。
<Direction calculation processing of biaxial magnetic sensor>
Some biaxial geomagnetic sensors utilize various principles as described above. The details of the azimuth calculation processing of the biaxial geomagnetic sensor will be described by exemplifying a Hall element utilizing the Hall effect. FIG. 2 is a functional block diagram illustrating an example of an azimuth calculation process using a two-axis magnetic sensor. As shown in the figure, a two-axis
ここで、X軸ホール素子200XおよびY軸ホール素子200Yは、例えば、携帯電子機器の筐体主面(図示せず)に並行に装着されている主回路基板(図示せず)上に配置され、X軸ホール素子200XおよびY軸ホール素子200Yは水平面内の回転角を検出するように配置されている。なお、X軸ホール素子200XおよびY軸ホール素子200Yは地磁気を検出するためのものである。
Here, the
素子駆動部210は、X軸ホール素子200XおよびY軸ホール素子200Yをそれぞれ駆動する端子を切り換える、即ち、駆動対象のホール素子を選択するためのものであり、センサ用電源220から出力された駆動電圧をX軸ホール素子200XおよびY軸ホール素子200Yにそれぞれ印加する。ここで、素子駆動部210は、例えば、チョッパ駆動として構成させることが可能ある。
The
X軸ホール素子200XおよびY軸ホール素子200Yから出力された信号は、差動入力アンプ230によりそれぞれ増幅され、ここで増幅されたアナログ信号の出力増幅値がA/Dコンバータ240でデジタル信号に変換された後、方位算出部250に入力される。
The signals output from the
方位算出部250では、制御部260から得られる補正指示に基づき、X軸およびY軸のデジタル信号の出力増幅値に補正処理を行い、方位を算出する。
The
キャリブレーション処理中は、方位算出部250は、方位を算出せずに、X軸およびY軸のデジタル信号の出力増幅値をキャリブレーションデータとして格納し続け、所定の量のデータ取得が完了した後で、適正に取得されたキャリブレーションデータを用いて、補正用データを算出し、この新たに算出された補正用データで既存のものを更新してキャリブレーション処理を終える。
During the calibration process, the
<キャリブレーション操作>
図3は、本発明による携帯電子機器で実行されるキャリブレーション操作の一例を示すフローチャートである。また、図4は、本発明による携帯電子機器で実行されるキャリブレーション操作時の表示例を示す図である。図3に示すように、ステップS10では、キー入力部170がユーザによるキャリブレーション処理開始操作を受け付け、これを受け、制御部120がキャリブレーション操作を開始する。このときから、ユーザは、携帯電子機器を水平にして回転する動作「キャリブレーション動作」を行う。ステップS11では、制御部120がキャリブレーションデータ用バッファをクリア(破棄)する。その後、キャリブレーション処理の「再実行中」のフラグが立っているか否かを判定し(ステップS12)、再実行中のフラグが立っていない場合はステップS15に進み、制御部120に設けられたキャリブレーションデータ取得部121が、2軸式地磁気センサ110によって検出される地磁気に基づいて、方位測定(補正)のためのキャリブレーションデータ取得を実行する。
<Calibration operation>
FIG. 3 is a flowchart showing an example of the calibration operation executed by the portable electronic device according to the present invention. FIG. 4 is a diagram showing a display example at the time of a calibration operation executed by the portable electronic device according to the present invention. As shown in FIG. 3, in step S <b> 10, the
キャリブレーションデータ取得の実行中は、制御部(例えばCPUなど)120に設けられた監視部(例えば、割り込みハンドラーなど)123が、着信などの割り込みが発生したか否か(即ち、当該割り込みに関連する機能が開始される、或いは、実行中であるか否か)を監視する(ステップS16)。ステップS16で割り込みが発生したと判定された場合は、ステップS17に進み、監視部123が割り込み発生時のレジスタや実行中のタスクなどの諸データを一時的に記憶部130に退避させ、当該割り込みに対応した割り込み処理を行うと共に、制御部120に設けられたキャリブレーションデータ取得制御部123に対して、キャリブレーションデータ取得の再実行および再実行中のフラグ(図示せず)を立てるよう指示する。再実行指示を受け、処理はステップS11に戻り、制御部120に設けられたキャリブレーションデータ取得制御部124の指示を受けたキャリブレーションデータ取得部121が、キャリブレーションデータ用バッファをクリアする。この場合は、キャリブレーション処理の「再実行中」のフラグが立っているとステップS12で判定され、ステップS13に進み、図4(a)に示すように、再実行を開始するか否かを選択するようユーザに促す表示を表示部180に表示する。再実行を開始することが選択された場合は、図4(b)に示すように、表示部180に再実行中である旨を表示し(ステップS14)、ステップS15の実際のデータ取得処理に移行する。キー入力部170を介したユーザの指示によりステップS13で再実行を開始しないものと判定された場合はキャリブレーション操作を終了する。
During execution of the calibration data acquisition, the monitoring unit (for example, interrupt handler) 123 provided in the control unit (for example, CPU) 120 determines whether an interrupt such as an incoming call has occurred (that is, related to the interrupt). Whether the function to be started is started or is being executed) (step S16). If it is determined in step S16 that an interrupt has occurred, the process proceeds to step S17, and the monitoring unit 123 temporarily saves various data such as a register at the time of the occurrence of the interrupt and a task being executed in the
ステップS16で割り込みが発生していないと判定された場合は、ステップS18に進み、キャリブレーションデータが必要な数まで取得できたか否かを判定し、必要な数を満たすまではステップS15に戻りデータ取得を繰り返す。ステップS18で必要な数が取得できたと判定された場合は、キャリブレーションデータ取得の処理を終え、その後の処理、例えば、制御部120に設けられたキャリブレーション処理実行部122が、取得したキャリブレーションデータに基づきキャリブレーション処理を行い、地磁気センサの各軸に補正値(オフセットなど)を設定するなどを実行する。
If it is determined in step S16 that no interrupt has occurred, the process proceeds to step S18, where it is determined whether or not the necessary number of calibration data has been acquired, and the process returns to step S15 until the necessary number is satisfied. Repeat acquisition. If it is determined in step S18 that the necessary number has been acquired, the calibration data acquisition process is finished, and the subsequent processing, for example, the calibration
本発明を諸図面や実施例に基づき説明してきたが、当業者であれば本開示に基づき種々の変形や修正を行うことが容易であることに注意されたい。従って、これらの変形や修正は本発明の範囲に含まれることに留意されたい。例えば、各部材、各手段、各ステップなどに含まれる機能などは論理的に矛盾しないように再配置可能であり、複数の手段やステップなどを1つに組み合わせたり、或いは分割したりすることが可能である。実施例では、監視部としての「割り込みハンドラー」が電話などの着信を監視・検知する方式を想定して説明したが、割り込みハンドラー以外の監視部(ハードウェアモジュール、或いは、CPUで実行されるソフトウェアモジュール、またはこれらの双方からなるモジュール)が、割り込み用キューの内容、或いは、割り込みハンドラーの後続タスクにおける割り込み内容を表す特定フィールドの内容などを監視する構成であってもよい。 Although the present invention has been described based on the drawings and examples, it should be noted that those skilled in the art can easily make various modifications and corrections based on the present disclosure. Therefore, it should be noted that these variations and modifications are included in the scope of the present invention. For example, functions included in each member, each means, each step, etc. can be rearranged so as not to be logically contradictory, and a plurality of means, steps, etc. can be combined or divided into one. Is possible. In the embodiment, the “interrupt handler” as a monitoring unit has been described assuming a method of monitoring and detecting an incoming call such as a telephone. However, a monitoring unit (hardware module or software executed by a CPU) other than the interrupt handler is described. The module may be configured to monitor the contents of the interrupt queue or the contents of a specific field indicating the interrupt contents in the subsequent task of the interrupt handler.
100 携帯電子機器
110 軸式地磁気センサ
120 制御部
121 キャリブレーションデータ取得部
122 キャリブレーション処理実行部
123 監視部
124 キャリブレーションデータ取得制御部
130 記憶部
140 無線通信部
150 GPS信号受信部
160 メモリカード部
170 キー入力部
180 表示部
190 音声処理部
200 2軸式磁気センサ
200X X軸ホール素子
200Y Y軸ホール素子
210 素子駆動部
220 センサ用電源
230 差動入力アンプ
240 A/Dコンバータ
250 方位算出部
260 制御部
MIC マイクロフォン
SP スピーカ
DESCRIPTION OF
Claims (5)
地磁気を検出する2軸の地磁気センサと、
前記地磁気センサによって検出される地磁気に基づいて、方位測定のためのキャリブレーションデータを取得するキャリブレーションデータ取得部と、
前記キャリブレーションデータが取得されているときに、前記複数の機能のうち少なくとも1つの機能が実行中である場合、前記キャリブレーションデータ取得部で取得されたキャリブレーションデータを破棄するよう前記キャリブレーションデータ取得部を制御する制御部と、
を備えることを特徴とする携帯電子機器。 A portable electronic device with multiple functions,
A biaxial geomagnetic sensor for detecting geomagnetism;
Based on the geomagnetism detected by the geomagnetic sensor, a calibration data acquisition unit that acquires calibration data for azimuth measurement;
When the calibration data is acquired, if at least one of the plurality of functions is being executed, the calibration data is discarded so that the calibration data acquired by the calibration data acquisition unit is discarded. A control unit for controlling the acquisition unit;
A portable electronic device comprising:
前記少なくとも1つの機能が、電話の着信機能、メールの着信機能、および、前記携帯電子機器内の時間情報に基づく起動機能のうちのいずれか1つである、
ことを特徴とする携帯電子機器。 The portable electronic device according to claim 1,
The at least one function is any one of an incoming call function, an incoming mail function, and an activation function based on time information in the portable electronic device;
A portable electronic device characterized by that.
前記制御部が、前記取得されたキャリブレーションデータを破棄するよう指示した後、キャリブレーションデータ取得を再実行するよう前記キャリブレーションデータ取得部を制御する、
ことを特徴とする携帯電子機器。 The portable electronic device according to claim 1 or 2,
The controller controls the calibration data acquisition unit to re-execute calibration data acquisition after instructing to discard the acquired calibration data;
A portable electronic device characterized by that.
携帯電子機器が表示部をさらに備え、
前記制御部は、キャリブレーションデータ取得の再実行中のときその旨を前記表示部に表示するよう制御する、
ことを特徴とする携帯電子機器。 The portable electronic device according to claim 3,
The portable electronic device further includes a display unit,
The control unit controls to display the fact on the display unit when calibration data acquisition is being re-executed.
A portable electronic device characterized by that.
携帯電子機器が表示部をさらに備え、
前記制御部は、前記キャリブレーションデータを破棄するよう指示した後、キャリブレーションデータ取得の再実行を行うか否かの選択を促す表示を前記表示部に表示するよう制御する、
ことを特徴とする携帯電子機器。
The portable electronic device according to any one of claims 1 to 3,
The portable electronic device further includes a display unit,
The control unit controls the display unit to display a display prompting the user to select whether to re-execute calibration data acquisition after instructing to discard the calibration data.
A portable electronic device characterized by that.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2006203276A JP2009229062A (en) | 2006-07-26 | 2006-07-26 | Portable electronic apparatus |
PCT/JP2007/061312 WO2008012990A1 (en) | 2006-07-26 | 2007-06-04 | Portable electronic device and method of controlling the same |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2006203276A JP2009229062A (en) | 2006-07-26 | 2006-07-26 | Portable electronic apparatus |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2009229062A true JP2009229062A (en) | 2009-10-08 |
Family
ID=38981305
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2006203276A Withdrawn JP2009229062A (en) | 2006-07-26 | 2006-07-26 | Portable electronic apparatus |
Country Status (2)
Country | Link |
---|---|
JP (1) | JP2009229062A (en) |
WO (1) | WO2008012990A1 (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2012070619A1 (en) * | 2010-11-25 | 2012-05-31 | Necカシオモバイルコミュニケーションズ株式会社 | Portable terminal with electronic compass and direction calculation method |
JP7217824B1 (en) | 2022-03-23 | 2023-02-03 | 旭化成エレクトロニクス株式会社 | CALIBRATION INSTRUCTION DEVICE, SENSOR, SENSOR SYSTEM, CALIBRATION INSTRUCTION METHOD AND PROGRAM |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105006170B (en) * | 2015-07-06 | 2017-05-03 | 中国船舶重工集团公司第七一〇研究所 | Parking stall detection system and method based on doppler radar and terrestrial magnetism detection |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2006005540A (en) * | 2004-06-16 | 2006-01-05 | Yamaha Corp | Mobile terminal |
JP2006098200A (en) * | 2004-09-29 | 2006-04-13 | Yamaha Corp | Portable terminal |
-
2006
- 2006-07-26 JP JP2006203276A patent/JP2009229062A/en not_active Withdrawn
-
2007
- 2007-06-04 WO PCT/JP2007/061312 patent/WO2008012990A1/en active Application Filing
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2012070619A1 (en) * | 2010-11-25 | 2012-05-31 | Necカシオモバイルコミュニケーションズ株式会社 | Portable terminal with electronic compass and direction calculation method |
JP5958345B2 (en) * | 2010-11-25 | 2016-07-27 | 日本電気株式会社 | Mobile terminal with electronic compass and direction calculation method |
JP7217824B1 (en) | 2022-03-23 | 2023-02-03 | 旭化成エレクトロニクス株式会社 | CALIBRATION INSTRUCTION DEVICE, SENSOR, SENSOR SYSTEM, CALIBRATION INSTRUCTION METHOD AND PROGRAM |
JP2023141230A (en) * | 2022-03-23 | 2023-10-05 | 旭化成エレクトロニクス株式会社 | Calibration instruction device, sensor, sensor system, calibration instruction method, and program |
Also Published As
Publication number | Publication date |
---|---|
WO2008012990A1 (en) | 2008-01-31 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR101220600B1 (en) | Mobile electronic device and method for calibrating terrestrial magnetism sensor | |
US9055164B2 (en) | Mobile terminal device, time control method, and timer control program | |
JP4545814B2 (en) | Portable electronic device and geomagnetic sensor calibration method | |
US9279680B2 (en) | Methods and devices for determining orientation | |
EP2784442B1 (en) | Azimuth correction method and electronic device therefor | |
JP4674240B2 (en) | Portable electronic device and its orientation display method | |
JP5014645B2 (en) | Portable electronic device and control method thereof | |
JP2010054469A (en) | Current position detector, current position detection method, and program for current position detection | |
JP2009229062A (en) | Portable electronic apparatus | |
JP2006047038A (en) | Correction method for geomagnetic sensor | |
JP2003256129A (en) | Portable terminal unit and its control method | |
JP2008064662A (en) | Portable electronic equipment | |
JP2005315650A (en) | Cellphone with magnetometric sensor | |
JP4669751B2 (en) | Direction measuring apparatus with wireless communication function, direction measuring method, and program | |
JP5263956B2 (en) | Electronic device and program | |
JP3733904B2 (en) | Mobile phone device and control method thereof | |
JP2007235279A (en) | Mobile electronic apparatus and control method thereof | |
JP4864146B2 (en) | Portable electronic device and control method thereof | |
JP2004337619A (en) | Portable information terminal and control method by game software executed thereby | |
JP4593440B2 (en) | Direction measuring device and direction measuring method | |
JP2006271715A (en) | Portable terminal device and control method of portable terminal device | |
JP2006266800A (en) | Portable information terminal and correction program for geomagnetic sensor |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A300 | Application deemed to be withdrawn because no request for examination was validly filed |
Free format text: JAPANESE INTERMEDIATE CODE: A300 Effective date: 20091006 |