JP4839975B2 - Azimuth and tilt angle detection device, azimuth and tilt angle detection method, program, and portable terminal device - Google Patents

Azimuth and tilt angle detection device, azimuth and tilt angle detection method, program, and portable terminal device Download PDF

Info

Publication number
JP4839975B2
JP4839975B2 JP2006169104A JP2006169104A JP4839975B2 JP 4839975 B2 JP4839975 B2 JP 4839975B2 JP 2006169104 A JP2006169104 A JP 2006169104A JP 2006169104 A JP2006169104 A JP 2006169104A JP 4839975 B2 JP4839975 B2 JP 4839975B2
Authority
JP
Japan
Prior art keywords
geomagnetic
azimuth
angle
coordinate system
tilt angle
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP2006169104A
Other languages
Japanese (ja)
Other versions
JP2007040982A (en
Inventor
秀樹 佐藤
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Yamaha Corp
Original Assignee
Yamaha 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 Yamaha Corp filed Critical Yamaha Corp
Priority to JP2006169104A priority Critical patent/JP4839975B2/en
Publication of JP2007040982A publication Critical patent/JP2007040982A/en
Application granted granted Critical
Publication of JP4839975B2 publication Critical patent/JP4839975B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Navigation (AREA)
  • Traffic Control Systems (AREA)

Description

この発明は、地磁気成分や重力成分を検出することにより、対象とする装置の中心線の対地座標系での方位及び傾斜角を検出する技術に関し、特に検出精度を向上させる技術に関する。   The present invention relates to a technique for detecting an azimuth and an inclination angle of a center line of a target device in a ground coordinate system by detecting a geomagnetic component and a gravity component, and particularly to a technique for improving detection accuracy.

近年、携帯電話機等の携帯端末では高機能化が進み、方位を測定するために地磁気を検出する磁気センサや装置本体の傾斜を検出する加速度センサを備えたものが開発されている。この種の装置では、装置本体の傾斜による補正を加えることにより方位の検出精度を高めるといった処理が可能となる利点がある。   2. Description of the Related Art In recent years, mobile terminals such as mobile phones have been improved in functionality, and those equipped with a magnetic sensor for detecting geomagnetism and an acceleration sensor for detecting the inclination of the apparatus main body have been developed to measure the direction. This type of apparatus has an advantage that it is possible to perform processing for improving the direction detection accuracy by adding correction based on the inclination of the apparatus main body.

従来のこの種の技術には、たとえば特許文献1,2に記載される技術がある。これらの技術はいずれも、地磁気センサと加速度センサを両方使用し、両センサの協調動作により検出精度を向上させるものである。
特開平10−185608号公報 特開2003−172633号公報
Conventional techniques of this type include techniques described in Patent Documents 1 and 2, for example. Both of these technologies use both a geomagnetic sensor and an acceleration sensor, and improve detection accuracy by cooperative operation of both sensors.
JP-A-10-185608 JP 2003-172633 A

携帯電話機等の携帯端末にこの種の検出装置を搭載した場合、携帯端末の動きにより生じる加速度成分を加速度センサがピックアップしてしまい、検出する携帯端末の傾斜に誤差を生じ、これに伴って方位の補正量に誤差が生じて検出精度の劣化を招く問題があった。かかる問題は、特許文献1,2に記載される技術をもっても解消されないものであった。   When this type of detection device is mounted on a portable terminal such as a cellular phone, the acceleration sensor picks up the acceleration component generated by the movement of the portable terminal, causing an error in the inclination of the detected portable terminal, and the orientation There is a problem in that an error occurs in the correction amount of this and the detection accuracy deteriorates. Such a problem cannot be solved even with the techniques described in Patent Documents 1 and 2.

この発明は、このような事情に鑑み、地磁気成分や重力成分を検出することにより、対象とする装置の中心線の対地座標系での方位成分を検出するにあたって、重力成分に含まれる誤差の影響を低減して検出精度を向上した技術を提供することを課題とする。   In view of such circumstances, the present invention detects the azimuth component in the ground coordinate system of the center line of the target device by detecting the geomagnetic component and the gravitational component. It is an object of the present invention to provide a technique in which detection accuracy is improved by improving the detection accuracy.

上記の課題を解決するために請求項1記載の発明は、装置固定の座標系での地磁気成分を検出する方位センサと、同じく装置固定の座標系での重力成分を検出する加速度センサを備えた対地座標系での装置の方位及び傾斜角の検出値を生成する方位及び傾斜角検出装置であって、前記地磁気成分及び前記重力成分を用いて前記傾斜角を演算して参考情報とする第1の演算手段と、水平面と地磁気方向とがなす角である地磁気伏角を取得する地磁気伏角取得手段と、前記装置固定の座標系および対地座標系での地磁気成分の関係から前記地磁気伏角をもって規定される前記方位及び傾斜角の連立方程式を解くことにより前記方位と傾斜角の演算結果を求め、該演算結果を前記検出値とする第2の演算手段と、前記演算結果が複数通りある場合に前記参考情報である前記傾斜角に近いほうの傾斜角をもつ演算結果を選択して前記検出値とする選択手段と、を備えことを特徴とする方位及び傾斜角検出装置を提供する。 In order to solve the above problems, the invention described in claim 1 includes an azimuth sensor that detects a geomagnetic component in a coordinate system fixed to the apparatus and an acceleration sensor that detects a gravity component in the coordinate system fixed to the apparatus . a azimuth and tilt angle detection device for generating a detection value of the azimuth and tilt angle of the device against the ground coordinate system, and reference information by calculating the inclination oblique angle using the geomagnetism component and the gravity component It is defined by the geomagnetic depression angle from the relationship between the first computing means, the geomagnetic depression angle obtaining means for obtaining the geomagnetic depression angle that is an angle formed by the horizontal plane and the geomagnetic direction, and the geomagnetic component in the coordinate system fixed to the device and the ground coordinate system. is the calculated the azimuth and the calculation result of the inclination angle by solving the simultaneous equations of the azimuth and tilt angle, and a second arithmetic means to the detected value of the operation result when the operation result plurality Street Providing azimuth and tilt angle detection device, characterized in that Ru and a selection means to the detected value by selecting the operation result with the inclination angle closer to the tilt angle which is the reference information.

また請求項2記載の発明は、請求項1記載の方位及び傾斜角検出装置において、前記第1の演算手段は、前記装置のねじれ角も演算し、前記ねじれ角が所定範囲以内である場合は、前記参考情報を前記検出値とすることを特徴とする方位及び傾斜角検出装置を提供する。 According to a second aspect of the present invention, in the azimuth and inclination angle detection device according to the first aspect, the first calculation means calculates a twist angle of the device, and the twist angle is within a predetermined range. An azimuth and tilt angle detection device is provided in which the reference information is the detection value.

また請求項3記載の発明は、請求項1記載の方位及び傾斜角検出装置において、前記地磁気伏角取得手段は、前記重力成分を用いて前記地磁気成分の座標変換を行うことにより前記地磁気伏角に相当する値を算出する地磁気伏角演算手段と、該地磁気伏角に相当する値を蓄積して平均値をとって前記地磁気伏角に設定する平均化手段と、を有することを特徴とする方位及び傾斜角検出装置を提供する。 According to a third aspect of the present invention, in the azimuth and inclination angle detection device according to the first aspect, the geomagnetic dip angle acquisition means corresponds to the geomagnetic dip angle by performing coordinate conversion of the geomagnetic component using the gravity component. Bearing and inclination angle detection means, comprising: a geomagnetic dip angle calculating means for calculating a value to be calculated; and an averaging means for accumulating a value corresponding to the geomagnetic dip angle and taking an average value to set the geomagnetic dip angle. Providing equipment.

また請求項4記載の発明は、請求項1記載の方位及び傾斜角検出装置において、前記地磁気伏角取得手段は、現在の緯度経度のうち少なくとも緯度を現在の位置情報として取得する位置情報取得手段と、該現在の位置情報から地磁気伏角を生成する地磁気伏角生成手段と、を有することを特徴とする方位及び傾斜角検出装置を提供する。 According to a fourth aspect of the present invention, in the azimuth and tilt angle detection device according to the first aspect, the geomagnetic dip angle acquisition means includes position information acquisition means for acquiring at least the latitude as the current position information among the current latitude and longitude. There is provided an azimuth and tilt angle detecting device comprising a geomagnetic dip angle generating means for generating a geomagnetic dip angle from the current position information.

また請求項5記載の発明は、装置固定の座標系での地磁気成分を検出すると共に、同じく装置固定の座標系での重力成分を検出し、対地座標系での装置の方位及び傾斜角の検出値を生成する装置における方位及び傾斜角検出方法であって、前記装置の第1の演算手段が、前記地磁気成分及び前記重力成分を用いて前記傾斜角を演算して参考情報とし、前記装置の地磁気伏角取得手段が、水平面と地磁気方向とがなす角である地磁気伏角を取得し、前記装置の第2の演算手段が、前記装置固定の座標系および対地座標系での地磁気成分の関係から前記地磁気伏角をもって規定される前記方位及び傾斜角の連立方程式を解くことにより前記方位と傾斜角の演算結果を求め、該演算結果を前記検出値とし、前記装置の選択手段が、前記演算結果が複数通りある場合に前記参考情報である前記傾斜角に近いほうの傾斜角をもつ演算結果を選択して前記検出値とすることを特徴とする方位及び傾斜角検出方法を提供する。 According to claim 5, wherein also invention detects a geomagnetic components in the coordinate system of the device fixed, also detects the gravity component in the coordinate system of the apparatus fixation, the device against the ground coordinate system of azimuth and inclination angle a azimuth and inclination angle detection method in an apparatus for generating a detection value, the first calculation means of the device, and the geomagnetic components and reference information by calculating the inclination oblique angle with the gravity component, The geomagnetic depression angle acquisition means of the device acquires a geomagnetic depression angle that is an angle formed by a horizontal plane and a geomagnetic direction, and the second calculation means of the device calculates the geomagnetic component in the coordinate system fixed to the device and the ground coordinate system. The calculation result of the azimuth and the inclination angle is obtained by solving the simultaneous equations of the azimuth and the inclination angle defined by the geomagnetic dip from the relationship, the calculation result is set as the detection value, and the selection unit of the device includes The operation result is duplicated When the streets, providing azimuth and inclination angle detection method comprising said reference the detected value information is a Select operation result with the inclination angle closer to the angle of inclination and to Turkey.

また請求項6記載の発明は、装置固定の座標系での地磁気成分を検出する方位センサと、同じく装置固定の座標系での重力成分を検出する加速度センサを備えた対地座標系での装置の方位及び傾斜角の検出値を生成する方位及び傾斜角検出装置のコンピュータに前記地磁気成分及び前記重力成分を用いて前記傾斜角を演算して参考情報とするステップと、水平面と地磁気方向とがなす角である地磁気伏角を取得するステップと、前記装置固定の座標系および対地座標系での地磁気成分の関係から前記地磁気伏角をもって規定される前記方位及び傾斜角の連立方程式を解くことにより前記方位と傾斜角の演算結果を求め、該演算結果を前記検出値とするステップと、前記演算結果が複数通りある場合に前記参考情報である前記傾斜角に近いほうの傾斜角をもつ演算結果を選択して前記検出値とするステップと、を実行させるプログラムを提供する。 According to a sixth aspect of the present invention, there is provided an apparatus for detecting a geomagnetic component in a coordinate system fixed to the apparatus and an acceleration sensor for detecting a gravitational component in the coordinate system fixed to the apparatus. the computer of azimuth and tilt angle detection device for generating a detection value of the azimuth and tilt angle, the steps of the reference information by calculating the inclination oblique angle using the geomagnetism component and the gravity component, and the horizontal plane and the geomagnetic direction Obtaining the geomagnetic dip angle which is an angle formed by the system, and solving the simultaneous equations of the azimuth and tilt angle defined by the geomagnetic dip angle from the relationship between the geomagnetic component in the coordinate system fixed to the device and the ground coordinate system. obtains the operation result of the azimuth and tilt angle, the steps of the calculation result and the detected value, when the operation result plurality of ways, closer to the tilt angle which is the reference information A step of said detected value by selecting the operation result with the inclination angle Urn, the providing Help program is executed.

た請求項7記載の発明は、装置固定の座標系での地磁気成分を検出する方位センサと、同じく装置固定の座標系での重力成分を検出する加速度センサを備えた対地座標系での装置の方位及び傾斜角の検出値を生成する手段を有する携帯端末装置であって、前記地磁気成分及び前記重力成分を用いて前記傾斜角を演算して参考情報とする第1の演算手段と、水平面と地磁気方向とがなす角である地磁気伏角を取得する地磁気伏角取得手段と、前記装置固定の座標系および対地座標系での地磁気成分の関係から前記地磁気伏角をもって規定される前記方位及び傾斜角の連立方程式を解くことにより前記方位と傾斜角の演算結果を求め、該演算結果を前記検出値とする第2の演算手段と、前記演算結果が複数通りある場合に前記参考情報である前記傾斜角に近いほうの傾斜角をもつ演算結果を選択して前記検出値とする選択手段と、を備えことを特徴とする携帯端末装置を提供する。 Invention or請 Motomeko 7 described, an azimuth sensor for detecting the terrestrial magnetism components in the coordinate system of the device fixed, likewise in pairs locations coordinate system including an acceleration sensor for detecting the gravity component in the coordinate system of the device fixing a portable terminal apparatus having a means for generating a detection value of the azimuth and inclination angle of the apparatus, the geomagnetic components and first calculating means for the reference information by calculating the inclination oblique angle with the gravity component And a geomagnetic dip angle acquisition means for acquiring a geomagnetic dip angle which is an angle formed by a horizontal plane and a geomagnetic direction, and the orientation defined by the geomagnetic dip angle from the relationship between the geomagnetic component in the coordinate system fixed to the device and the ground coordinate system, and obtains an operation result of the inclination angle and the azimuth by solving the simultaneous equations of the inclination angle, a second calculating means for the calculation result and the detected value, when the operation result plurality of ways, in the reference information is there To provide a mobile terminal device for the selection means to the detected value by selecting the operation result with the inclination angle closer to the serial inclination angle, characterized in that Ru comprising a.

この発明によれば、地磁気成分により規定される方位及び傾斜角の連立方程式を解くことにより方位及び傾斜角を算出するので、重力成分の誤差の影響を受けない検出値を得ることができ、検出精度が向上する利点がある。しかも地磁気成分および重力成分から方位成分を演算して参考情報としておき、この参考情報を用いて複数の解のうちから1つを選択することにより、上記の連立方程式が複数の解をもつ場合がある問題を解消している。このような利点からこの発明は、可搬型の方位及び傾斜角検出装置、特に携帯電話機等の携帯端末に内蔵される方位及び傾斜角検出装置に適用して極めて効果的である。   According to the present invention, since the azimuth and the inclination angle are calculated by solving the simultaneous equations of the azimuth and the inclination angle defined by the geomagnetic component, a detection value that is not affected by the error of the gravity component can be obtained, and the detection is performed. There is an advantage that accuracy is improved. Moreover, by calculating the azimuth component from the geomagnetic component and the gravity component as reference information, and selecting one of a plurality of solutions using this reference information, the above simultaneous equations may have a plurality of solutions. A problem is solved. Because of such advantages, the present invention is extremely effective when applied to a portable azimuth and tilt angle detection device, particularly an azimuth and tilt angle detection device built in a portable terminal such as a mobile phone.

また地磁気伏角取得手段は、たとえば重力成分を用いて地磁気成分を座標変換することにより地磁気伏角に相当する値を算出し、この値を蓄積して平均値をとることにより加速度センサの誤差成分を平均除去して地磁気伏角として使用する形態をとれば、現地点における地磁気伏角の実測値を用いた信頼性の高い演算が可能となる利点がある。   In addition, the geomagnetic depression angle acquisition means calculates a value corresponding to the geomagnetic depression angle by, for example, converting the geomagnetic component using the gravity component, accumulates this value, and averages the error component of the acceleration sensor. If it is removed and used as a geomagnetic depression, there is an advantage that a highly reliable calculation using the measured value of the geomagnetic depression at the local point is possible.

また地磁気伏角取得手段は、たとえば現在の緯度経度のうち少なくとも緯度を現在の位置情報として取得し、この現在の位置情報から地磁気伏角を生成する形態をとれば、重力成分の誤差の影響を全く受けない値として地磁気伏角を取得でき、検出精度を向上できる利点がある。   Further, for example, if the geomagnetic depression angle acquisition unit acquires at least the latitude as the current position information from the current latitude and longitude, and generates the geomagnetic depression angle from the current position information, it is completely affected by the error of the gravity component. There is an advantage that the geomagnetic dip angle can be acquired as a non-existent value and the detection accuracy can be improved.

以下、図面を用いてこの発明の実施形態について説明する。
図1は、この発明の一実施形態に係る携帯電話機の概略を示すブロック図である。
Embodiments of the present invention will be described below with reference to the drawings.
FIG. 1 is a block diagram showing an outline of a mobile phone according to an embodiment of the present invention.

同図に示すように携帯電話機1は、端末ユニット1−1,1−2の2つの筐体を備えた、折り畳み式の携帯端末である。アンテナ201は図示しない無線基地局との間の電波信号の送受信を行うためのアンテナである。RF(Radio Frequency)部202は、アンテナ201が受信する受信信号を中間周波数の受信信号に変換して変復調部203へ出力するものである。さらにこのRF部202は、変復調部203から入力する送信信号を送信周波数の信号に変調し、アンテナ201へ出力して送信も行うものである。   As shown in the figure, the mobile phone 1 is a foldable mobile terminal including two housings of terminal units 1-1 and 1-2. The antenna 201 is an antenna for transmitting and receiving radio signals with a radio base station (not shown). An RF (Radio Frequency) unit 202 converts a received signal received by the antenna 201 into a received signal having an intermediate frequency and outputs the received signal to the modem unit 203. Further, the RF unit 202 modulates a transmission signal input from the modulation / demodulation unit 203 into a signal having a transmission frequency, and outputs the signal to the antenna 201 for transmission.

変復調部203は、RF部202から入力した受信信号の復調処理と、CDMA(Code Division Multiple Access:符号分割多元接続)部204から入力した送信信号の変調処理とを行うものである。CDMA部204は、送信信号の符号化処理、および受信信号の復号化処理を行うものである。音声処理部205は、マイクロホン301から入力される音声信号をデジタル信号に変換してCDMA部204へ出力し、また、CDMA部204からデジタルの音声信号を入力してアナログの音声信号に変換し、スピーカ302へ出力して発音させるものである。   The modem unit 203 performs a demodulation process on the received signal input from the RF unit 202 and a modulation process on the transmission signal input from the CDMA (Code Division Multiple Access) unit 204. The CDMA unit 204 performs transmission signal encoding processing and reception signal decoding processing. The audio processing unit 205 converts the audio signal input from the microphone 301 into a digital signal and outputs the digital signal to the CDMA unit 204. Also, the audio processing unit 205 inputs the digital audio signal from the CDMA unit 204 and converts it into an analog audio signal. The sound is output to the speaker 302 and sounded.

アンテナ401は、GPS(Global Positioning System)衛星からの電波信号を受信するためのアンテナである。GPS受信部402は、GPS衛星から受信した電波信号を復調し、電波信号に基づいて携帯端末1の緯度・経度(3次元モードの場合はさらに高度等)で表される位置を算出するものである。   The antenna 401 is an antenna for receiving a radio signal from a GPS (Global Positioning System) satellite. The GPS receiving unit 402 demodulates a radio signal received from a GPS satellite, and calculates a position represented by the latitude / longitude of the mobile terminal 1 (more altitude in the case of the three-dimensional mode) based on the radio signal. is there.

加速度センサ部510は、端末ユニット1−1の加速度を検出するものであり、1つのパッケージに組み込まれ1チップ化されている。ここで図2は、携帯電話機1の端末ユニット1−1,1−2を開いた状態にしたときの正面図であり、Y軸は、端末ユニット1−1の、端末ユニット1−1から端末ユニット1−2へ向かう方向の側面に平行な軸である。一方、X軸は、端末ユニット1−1の表面上の軸であり、かつ上記Y軸と直交する軸である。Z軸は、X軸及びY軸を含む平面に対して垂直で且つ、同図の裏側から表側に向かう方向に設定する。図1に戻って説明を続けると、この加速度センサ部510による検出加速度は、たとえば端末ユニット1−1の動きや傾斜を検出するために用いられる。   The acceleration sensor unit 510 detects the acceleration of the terminal unit 1-1, and is integrated into one package to form a single chip. Here, FIG. 2 is a front view when the terminal units 1-1 and 1-2 of the mobile phone 1 are opened, and the Y-axis indicates the terminal unit 1-1 of the terminal unit 1-1 to the terminal. It is an axis parallel to the side surface in the direction toward the unit 1-2. On the other hand, the X axis is an axis on the surface of the terminal unit 1-1 and is an axis orthogonal to the Y axis. The Z axis is set in a direction perpendicular to the plane including the X axis and the Y axis and from the back side to the front side in FIG. Returning to FIG. 1 and continuing the description, the acceleration detected by the acceleration sensor unit 510 is used, for example, to detect the movement and tilt of the terminal unit 1-1.

磁気センサ部520は、磁気センサ521−1〜521−3、温度センサ522および磁気センサ制御部523とを備えたものであり、1つのパッケージに組み込まれ1チップ化されている。磁気センサ521−1〜521−3は、互いに直交するX,Y,Z軸の各々の軸方向の磁気(磁界)を検出し、磁界データとして出力するものである。ここでは、X,Y,Z軸は加速度センサと同一となるように調整されているものとする。温度センサ522は、磁気センサ521−1〜521−3の温度補償を行うために周囲の温度を検出するものである。磁気センサ制御部523は、各磁気センサ521−1〜521−3,温度センサ522および加速度センサ部510の検出出力に対して所定のデータ処理を行い出力するものである。   The magnetic sensor unit 520 includes magnetic sensors 521-1 to 521-3, a temperature sensor 522, and a magnetic sensor control unit 523. The magnetic sensor unit 520 is incorporated into one package and formed into one chip. The magnetic sensors 521-1 to 521-3 detect magnetism (magnetic field) in the axial directions of the X, Y, and Z axes orthogonal to each other and output the magnetic field data. Here, it is assumed that the X, Y, and Z axes are adjusted to be the same as the acceleration sensor. The temperature sensor 522 detects the ambient temperature in order to perform temperature compensation of the magnetic sensors 521-1 to 521-3. The magnetic sensor control unit 523 performs predetermined data processing on the detection outputs of the magnetic sensors 521-1 to 521-3, the temperature sensor 522, and the acceleration sensor unit 510 and outputs the result.

主制御部601は、携帯端末1の主制御を司るものであり、CPU(Central Processing Unit)を用いて構成されている。ROM(Read Only Memory)602およびRAM(Random Access Memory)603は、CPUのメインメモリを構成するメモリである。ROM602は、CPUで実行するプログラムや各種データを保持している。RAM603は、CPUが動作中にデータ記憶等に使用するためのワーク領域等を提供する。   The main control unit 601 manages the main control of the mobile terminal 1, and is configured using a CPU (Central Processing Unit). A ROM (Read Only Memory) 602 and a RAM (Random Access Memory) 603 are memories constituting a main memory of the CPU. The ROM 602 holds programs executed by the CPU and various data. The RAM 603 provides a work area and the like for use in data storage or the like while the CPU is operating.

報知手段303は、スピーカ・バイブレータ・発光ダイオード等を備え、着信やメール受信等を音・振動・光等によってユーザに報知するものである。時計部304は、主制御部601が使用する計時機能部である。主操作部305は、ユーザの指示入力を取り込んで主制御部601に与えるものである。   The notification unit 303 includes a speaker, a vibrator, a light emitting diode, and the like, and notifies the user of an incoming call or mail reception by sound, vibration, light, or the like. The clock unit 304 is a time measuring function unit used by the main control unit 601. The main operation unit 305 takes in the user's instruction input and gives it to the main control unit 601.

電子撮像部306は、被写体の像をデジタル信号に変換して主制御部601へ出力するものである。表示部307は、主制御部から入力する表示用の信号に基づいて画像や文字等を表示する液晶ディスプレイ(LCD)である。タッチパネル308は、表示部307の液晶ディスプレイの表面に組み込まれ、ユーザの接触操作による入力内容を表す信号を主制御部601へ出力するものである。副操作部309は、表示切り替えに用いられるプッシュスイッチである。   The electronic imaging unit 306 converts the subject image into a digital signal and outputs the digital signal to the main control unit 601. The display unit 307 is a liquid crystal display (LCD) that displays images, characters, and the like based on display signals input from the main control unit. The touch panel 308 is incorporated in the surface of the liquid crystal display of the display unit 307, and outputs a signal representing the input content by the user's contact operation to the main control unit 601. The sub operation unit 309 is a push switch used for display switching.

以上の構成において、主制御部601はROM602から読み出された上位プログラムをCPUにより起動して、この上位プログラムから各種アプリケーションプログラムを選択して実行していくが、実行するアプリケーションプログラムが方位または傾斜データを必要とする場合、このアプリケーションプログラムの実行に伴って測定トリガが立ち上がる。この測定トリガを受けて主制御部601は、方位及び傾斜角の検出処理を立ち上げて対地座標系での方位成分である方位角α,仰角βを取得する。   In the above configuration, the main control unit 601 activates the upper program read from the ROM 602 by the CPU and selects and executes various application programs from the upper program. When data is required, a measurement trigger is activated as the application program is executed. In response to this measurement trigger, the main control unit 601 activates the azimuth and tilt angle detection process to acquire the azimuth angle α and elevation angle β, which are azimuth components in the ground coordinate system.

図3は、この方位及び傾斜角の検出処理において実現される機能の概略を示すブロック図である。同図に示すように、測定トリガ手段701は測定指示を発生するものである。測定データ取り込み手段702は、加速度センサ部510や磁気センサ部520から測定データg,hを取り込むものである。第1の方位および傾斜角の演算手段703は、後述する第1の演算を実行し、測定データg,hから方位角αや仰角β、ねじれ角γ、地磁気伏角θを算出するものである。方位角αや仰角β等については後で詳細に説明する。なお、第1の演算で求めた方位角αや仰角βは参考値α0,β0として扱われ、地磁気伏角θは誤差を含む粗い値θ0として扱われる。平均化手段704は、地磁気伏角θ0を蓄積し、蓄積した地磁気伏角θ0の平均値をとって誤差を平均除去して地磁気伏角θとするものである。   FIG. 3 is a block diagram showing an outline of functions realized in the azimuth and tilt angle detection processing. As shown in the figure, the measurement trigger means 701 generates a measurement instruction. The measurement data capturing unit 702 captures the measurement data g and h from the acceleration sensor unit 510 and the magnetic sensor unit 520. The first azimuth and tilt angle calculation means 703 executes a first calculation described later, and calculates an azimuth angle α, an elevation angle β, a torsion angle γ, and a geomagnetic depression angle θ from the measurement data g and h. The azimuth angle α and elevation angle β will be described in detail later. Note that the azimuth angle α and elevation angle β obtained in the first calculation are treated as reference values α0 and β0, and the geomagnetic depression angle θ is treated as a rough value θ0 including an error. The averaging means 704 accumulates the geomagnetic depression angle θ0, takes the average value of the accumulated geomagnetic depression angle θ0, and removes the error to obtain the geomagnetic depression angle θ.

第2の方位及び傾斜角の演算手段705は、後述する第2の演算を実行し、測定データhと地磁気伏角θとから方位角αや仰角βを算出するものである。もしも方位角αや仰角βの値として複数の解が存在する場合、それぞれの解を候補値(α1,β1)(α2,β2)として出力する。選択手段706は、第1の方位及び傾斜角の演算手段703で得られた(α0,β0)を参考値とし、候補値(α1,β1)(α2,β2)の中からいずれかを選択し、検出値(α,β)として出力するものである。   The second azimuth and inclination angle calculation means 705 executes a second calculation described later, and calculates the azimuth angle α and the elevation angle β from the measurement data h and the geomagnetic dip angle θ. If a plurality of solutions exist as the values of the azimuth angle α and the elevation angle β, the respective solutions are output as candidate values (α1, β1) (α2, β2). The selection means 706 uses (α0, β0) obtained by the first azimuth and tilt angle calculation means 703 as a reference value, and selects one of the candidate values (α1, β1) (α2, β2). Are output as detected values (α, β).

図4は、第1および第2の演算で用いるデータおよびその座標系を示す線図である。同図において、x,y,z軸は携帯電話機上に設定される直交座標軸(図2参照)である。x0,y0,z0軸は、水平面上にx0,y0軸が位置し、y0軸が磁北方位Nを向く直交座標軸である。z0軸は水平面に対して鉛直上方に伸びる軸である。以下では、x0、y0、z0軸で表される座標系を対地座標系と呼ぶ。ベクトルVは携帯電話機の中心線の向きを示すベクトルであり、y軸と平行となる。ベクトルV0は、ベクトルVをz0軸上方からx0y0平面(水平面)に対して投影したものであり、x0y0平面上のベクトルである。方位角αは、y0軸とベクトルV0とがなす角に相当する。仰角βは、ベクトルV0とベクトルVとがなす角に相当する。ベクトルVは、方位角αと仰角βにより方向が決定される。ねじれ角γは、x,y平面のy軸回りのねじれの角度であり、yz0平面とyz平面との交角に相当する。ベクトルHは地磁気の方向を示すベクトルであり、磁極N0に向いている。地磁気伏角θは、水平面と地磁気の方向がなす角であり、y0軸(磁北方位N)とベクトルH(磁北N0)とがなす角に相当する。   FIG. 4 is a diagram showing data used in the first and second calculations and its coordinate system. In the figure, x, y and z axes are orthogonal coordinate axes (see FIG. 2) set on the mobile phone. The x0, y0, and z0 axes are orthogonal coordinate axes in which the x0 and y0 axes are located on the horizontal plane and the y0 axis faces the magnetic north direction N. The z0 axis is an axis extending vertically upward with respect to the horizontal plane. Hereinafter, the coordinate system represented by the x0, y0, and z0 axes is referred to as a ground coordinate system. A vector V is a vector indicating the direction of the center line of the mobile phone, and is parallel to the y-axis. The vector V0 is obtained by projecting the vector V onto the x0y0 plane (horizontal plane) from above the z0 axis, and is a vector on the x0y0 plane. The azimuth angle α corresponds to an angle formed by the y0 axis and the vector V0. The elevation angle β corresponds to an angle formed by the vector V0 and the vector V. The direction of the vector V is determined by the azimuth angle α and the elevation angle β. The torsion angle γ is an angle of torsion about the y axis in the x and y planes, and corresponds to the intersection angle between the yz0 plane and the yz plane. The vector H is a vector indicating the direction of geomagnetism, and faces the magnetic pole N0. The geomagnetic depression angle θ is an angle formed by the horizontal plane and the direction of geomagnetism, and corresponds to an angle formed by the y0 axis (magnetic north direction N) and the vector H (magnetic north N0).

図5は、方位及び傾斜角の検出処理の概略を示すフローチャートである。図1,5を用いて説明すると主制御部601は、加速度センサ部510から検出重力gを取り込むと共に、磁気センサ部520から検出地磁気hを取り込む(S101)。ここで検出重力gは、数1に示すように上述した携帯電話機1上の座標(x,y,z軸座標)系での重力成分(gx,gy,gz)として取得される。ここでgx,gy,gzは、加速度センサ510−1〜3の検出出力に相当する。   FIG. 5 is a flowchart showing an outline of the azimuth and tilt angle detection processing. 1 and 5, the main control unit 601 takes in the detected gravity g from the acceleration sensor unit 510 and takes in the detected geomagnetism h from the magnetic sensor unit 520 (S101). Here, the detected gravity g is acquired as a gravity component (gx, gy, gz) in the coordinate (x, y, z-axis coordinate) system on the mobile phone 1 described above as shown in Equation (1). Here, gx, gy, and gz correspond to detection outputs of the acceleration sensors 510-1 to 510-3.

Figure 0004839975
Figure 0004839975

主制御部601は、取り込んだ検出重力g、検出地磁気hを用いてまず第1の演算を実行する(S102)。この第1の演算においては、まず第1の角度演算を実行して検出重力gから仰角β、ねじれ角γを演算し、さらに第2の角度演算を実行して検出地磁気h、仰角β、ねじれ角γから方位角αを演算する。   The main control unit 601 first executes a first calculation using the detected gravity g and the detected geomagnetism h (S102). In this first calculation, first the first angle calculation is executed to calculate the elevation angle β and the twist angle γ from the detected gravity g, and then the second angle calculation is executed to detect the detected geomagnetism h, the elevation angle β, and the twist. The azimuth angle α is calculated from the angle γ.

ここで第1の角度演算について説明するにあたって、検出重力gと対地座標系での重力Gとの関係を説明する。対地座標系での重力Gは、(Gx0,Gy0,Gz0)として捉えることができ、Gx0=0,Gy0=0であるから、数2に示すようになる。なおGx0,Gy0,Gz0は、上述したx0,y0,z0軸上の重力成分である。   Here, in describing the first angle calculation, the relationship between the detected gravity g and the gravity G in the ground coordinate system will be described. Gravity G in the ground coordinate system can be grasped as (Gx0, Gy0, Gz0), and Gx0 = 0 and Gy0 = 0. Gx0, Gy0, and Gz0 are gravity components on the above-described x0, y0, and z0 axes.

Figure 0004839975
Figure 0004839975

このとき両者の関係は、数3に示すようになる。   At this time, the relationship between them is as shown in Equation 3.

Figure 0004839975
Figure 0004839975

ただし、Bは仰角βだけ回転変換するための変換式であり、数4に示す行列式となる。   However, B is a conversion formula for rotationally converting only the elevation angle β, and is a determinant represented by Equation 4.

Figure 0004839975
Figure 0004839975

また、Cはねじれ角γだけ回転変換するための変換式であり、数5に示す行列式となる。   C is a conversion formula for rotational conversion by the torsion angle γ, and is a determinant represented by Formula 5.

Figure 0004839975
Figure 0004839975

数4,5より、仰角βおよびねじれ角γだけ回転変換する合成変換式BCは、数6に示す行列式となり、   From Equations 4 and 5, the composite transformation equation BC that rotationally transforms by the elevation angle β and the torsion angle γ is a determinant expressed by Equation 6,

Figure 0004839975
Figure 0004839975

この数6と数2を、数3に代入して整理すると、数7に示すようになる。   Substituting Equation 6 and Equation 2 into Equation 3 for rearrangement results in Equation 7.

Figure 0004839975
Figure 0004839975

数7を整理すると、数8に示すように、仰角βと重力成分gx,gy,gzとの関係式が定まると共に、   By rearranging Equation 7, as shown in Equation 8, the relational expression between the elevation angle β and the gravity components gx, gy, gz is determined, and

Figure 0004839975
Figure 0004839975

数9に示すように、ねじれ角γと重力成分gx,gy,gzとの関係式が定まる。   As shown in Equation 9, a relational expression between the twist angle γ and the gravity components gx, gy, gz is determined.

Figure 0004839975
Figure 0004839975

第1の角度演算では、数8,9の関係式を用いて重力成分gx,gy,gzから仰角βとねじれ角γを演算する。   In the first angle calculation, the elevation angle β and the torsion angle γ are calculated from the gravity components gx, gy, gz using the relational expressions of equations 8 and 9.

次に第2の角度演算について説明する。ここで検出地磁気hは、数10に示すように携帯電話機1上の座標(x,y,z軸座標)系での地磁気成分hx,hy,hzとして取得される。なおhx,hy,hzは、磁気センサ521−1〜3の検出出力に相当する。   Next, the second angle calculation will be described. Here, the detected geomagnetism h is acquired as a geomagnetic component hx, hy, hz in a coordinate (x, y, z-axis coordinate) system on the mobile phone 1 as shown in Equation 10. Hx, hy, hz correspond to detection outputs of the magnetic sensors 521-1 to 521-3.

Figure 0004839975
Figure 0004839975

対地座標(x0,y0,z0軸座標)系での地磁気Hは、(Hx0,Hy0,Hz0)として捉えることができ、Hx0=0であるから、数11に示すようになる。なおHx0,Hy0,Hz0はx0,y0,z0軸上の地磁気成分である。   The geomagnetism H in the ground coordinate (x0, y0, z0 axis coordinate) system can be regarded as (Hx0, Hy0, Hz0), and since Hx0 = 0, it is as shown in Equation 11. Hx0, Hy0, and Hz0 are geomagnetic components on the x0, y0, and z0 axes.

Figure 0004839975
Figure 0004839975

このとき両者の関係は、数12に示すようになる。   At this time, the relationship between the two is as shown in Equation 12.

Figure 0004839975
Figure 0004839975

ただし、Aは方位角αだけ回転変換するための変換式であり、数13に示す行列式となる。   However, A is a conversion formula for rotational conversion by the azimuth angle α, and is a determinant expressed by Equation 13.

Figure 0004839975
Figure 0004839975

数12を変形すると数14が得られる。この式は(hx1,hy1,hz1)の恒等式となっている。ここでhx1,hy1,hz1は、x0,y0,z0軸をz0軸回りに方位角αだけ回転変換した座標軸x1,y1,z1軸(図示せず)による座標での地磁気成分である。   When Expression 12 is transformed, Expression 14 is obtained. This equation is an identity of (hx1, hy1, hz1). Here, hx1, hy1, and hz1 are geomagnetic components at coordinates based on coordinate axes x1, y1, and z1 (not shown) obtained by rotationally converting the x0, y0, and z0 axes around the z0 axis by an azimuth angle α.

Figure 0004839975
Figure 0004839975

数14を整理すると数15の式が得られ、   When formula 14 is rearranged, formula 15 is obtained.

Figure 0004839975
Figure 0004839975

数15から、数16に示すように、方位角αと地磁気成分hx1,hy1との関係式が得られる。   From Equation 15, a relational expression between the azimuth angle α and the geomagnetic components hx1 and hy1 is obtained as shown in Equation 16.

Figure 0004839975
Figure 0004839975

また同様にして、地磁気伏角θと地磁気成分hx1,hy1,hz1との関係式は、数17に示すようになる。   Similarly, the relational expression between the geomagnetic depression angle θ and the geomagnetic components hx1, hy1, hz1 is as shown in Expression 17.

Figure 0004839975
Figure 0004839975

第2の角度演算では、数14と数16の関係式を用いて、地磁気成分hx,hy,hzから方位角αを演算する。   In the second angle calculation, the azimuth angle α is calculated from the geomagnetic components hx, hy, hz using the relational expressions of Expressions 14 and 16.

このようにして主制御部601は、第1,第2の角度演算を実行することにより、方位角αと仰角βが求まる。ただし、ここで求めた方位角αと仰角βは、検出重力gに基づいて算出された値であって、携帯電話機1の動きによる誤差の影響を受けた精度の低い値であるから、主制御部601は、求めた方位角αと仰角βを参考値(α0,β0)として登録してステップS102を終了する。なお、ここで、演算されたねじれ角γが−10度から+10度の範囲内であれば、(α0、β0)を最終的な検出値としてステップS102以降を省略してもよい。   In this way, the main control unit 601 determines the azimuth angle α and the elevation angle β by executing the first and second angle calculations. However, since the azimuth angle α and the elevation angle β obtained here are values calculated based on the detected gravity g and are values with low accuracy affected by errors due to the movement of the mobile phone 1, the main control is performed. The unit 601 registers the obtained azimuth angle α and elevation angle β as reference values (α0, β0), and ends step S102. Here, if the calculated twist angle γ is within a range of −10 degrees to +10 degrees, (α0, β0) may be set as a final detection value, and steps S102 and after may be omitted.

次に主制御部601は、第2の演算を実行する(S103)。この第2の演算では、ステップ101で取り込んだ検出地磁気hと、別途取得した地磁気伏角θとから、方位角αと仰角βとを演算する。   Next, the main control unit 601 executes a second calculation (S103). In this second calculation, an azimuth angle α and an elevation angle β are calculated from the detected geomagnetism h captured in step 101 and the separately acquired geomagnetic dip angle θ.

ここで第2の演算について説明するにあたって、地磁気Hの水平、及び垂直成分を地磁気強度Hgと地磁気伏角θを用いて表すと、数18に示すようになる。   Here, in describing the second calculation, when the horizontal and vertical components of the geomagnetism H are expressed using the geomagnetic intensity Hg and the geomagnetic depression angle θ, the following formula 18 is obtained.

Figure 0004839975
Figure 0004839975

ここで、地磁気Hと検出地磁気hとの関係は数19に示すようになる。   Here, the relationship between the geomagnetism H and the detected geomagnetism h is as shown in Equation 19.

Figure 0004839975
Figure 0004839975

ただし、ABはx,y,z軸座標系とx0,y0,z0軸座標系との変換のための合成変換式であり、数4,13から数20に示す行列式になる。   However, AB is a composite conversion equation for conversion between the x, y, z-axis coordinate system and the x0, y0, z0-axis coordinate system, and is a determinant expressed by equations 4-13.

Figure 0004839975
Figure 0004839975

数18,19から、数21に示す式が導かれる。   From Equations 18 and 19, the equation shown in Equation 21 is derived.

Figure 0004839975
Figure 0004839975

すなわち、地磁気伏角θと地磁気成分hx,hy,hzとが与えられるとき、数20,21から方位角αと仰角βの連立方程式が得られる。   That is, when the geomagnetic depression angle θ and the geomagnetic components hx, hy, hz are given, simultaneous equations of the azimuth angle α and the elevation angle β can be obtained from Equations 20 and 21.

主制御部601は、第2の演算において、地磁気伏角θと地磁気成分hx,hy,hzとから方位角αと仰角βとの連立方程式を取得し、この連立方程式を解くことにより方位角αと仰角βとを算出する。ただし、この連立方程式の解は、必ずしも1つではなく、複数の解が得られることもある。   In the second calculation, the main control unit 601 obtains simultaneous equations of the azimuth angle α and the elevation angle β from the geomagnetic depression angle θ and the geomagnetic components hx, hy, hz, and solves the simultaneous equations to obtain the azimuth angle α. The elevation angle β is calculated. However, the solution of the simultaneous equations is not necessarily one, and a plurality of solutions may be obtained.

そこで主制御部601は、複数の解が得られた場合、その複数の解をそれぞれ候補値(α1,β1)(α2,β2)として登録してステップS103を終了する。そして第2の演算の結果、求めた解が1つである場合(S104:No)、その解を検出値α,βとして登録して終了する。もしも求めた解が複数である場合(S104:Yes)、主制御部601は比較選択処理を実行する(S105)。   Therefore, when a plurality of solutions are obtained, the main control unit 601 registers the plurality of solutions as candidate values (α1, β1) (α2, β2), and ends step S103. If there is one solution obtained as a result of the second calculation (S104: No), the solution is registered as the detected values α and β, and the process ends. If there are a plurality of obtained solutions (S104: Yes), the main control unit 601 executes a comparison / selection process (S105).

この比較選択処理では、前述の参考値(α0,β0)と候補値(α1,β1)(α2,β2)とを比較し、参考値の仰角β0に近いほうの仰角を持つ候補値を選択して検出値(α,β)として登録する。このようにして得られた検出値α,βは、地磁気伏角θと地磁気成分hx,hy,hzとに基づいて得られた値であるから、携帯電話機1の動きによる誤差の影響を含まず、精度の高い値が得られる。   In this comparison and selection process, the reference values (α0, β0) and the candidate values (α1, β1) (α2, β2) are compared, and a candidate value having an elevation angle closer to the reference value elevation angle β0 is selected. And registered as detected values (α, β). The detection values α and β obtained in this way are values obtained based on the geomagnetic dip angle θ and the geomagnetic components hx, hy, hz, and thus do not include the influence of errors due to the movement of the mobile phone 1. A highly accurate value can be obtained.

次に、地磁気伏角θの取得処理について説明する。
図6は、地磁気伏角θの取得処理の一例を示すフローチャートである。図1,6を用いて説明すると、主制御部601は、任意に設定されたトリガをもって地磁気伏角θの取得処理を立ち上げる。この処理では、主制御部601は、前述の方位及び傾斜角の検出処理と同様に、まず加速度センサ部510から検出重力gを取り込むと共に、磁気センサ部520から検出地磁気hを取り込む(S201)。そして数8,9の関係式と数14,17の関係式とを用いて、重力成分gx,gy,gzと地磁気成分hx,hy,hzとから地磁気伏角θを求める(S202)。主制御部601は、求めた地磁気伏角θを、加速度センサ部510の誤差を含む粗い値θ0として登録蓄積する(S203)。
Next, the acquisition process of the geomagnetic depression angle θ will be described.
FIG. 6 is a flowchart showing an example of the acquisition process of the geomagnetic depression angle θ. 1 and 6, the main control unit 601 starts up the acquisition process of the geomagnetic depression angle θ with an arbitrarily set trigger. In this process, the main control unit 601 first captures the detected gravity g from the acceleration sensor unit 510 and also captures the detected geomagnetism h from the magnetic sensor unit 520 (S201), similarly to the above-described azimuth and tilt angle detection process. Then, the geomagnetic depression angle θ is obtained from the gravity components gx, gy, gz and the geomagnetic components hx, hy, hz using the relational expressions of Expressions 8 and 9 and Expressions 14 and 17 (S202). The main control unit 601 registers and accumulates the obtained geomagnetic depression angle θ as a rough value θ0 including an error of the acceleration sensor unit 510 (S203).

この後、主制御部601は、蓄積データが所定量貯まる等のトリガをもって平均値演算処理を選択する(S204)。この平均値演算処理では、蓄積した地磁気伏角θ0の平均値をとって、携帯電話機1の動きに起因する加速度センサ部510の誤差を平均除去する(S205)。このとき、たとえば現在の平均値θから一定の偏差範囲にある値θ0のみを弁別し、弁別した値θ0のみを平均値演算の対象データとして用いるといった形態をとることもできる。この形態によれば、加速度センサ部510の誤差が顕著なθ0を排除することにより、より精度の高い地磁気伏角θを取得できる利点がある。   Thereafter, the main control unit 601 selects an average value calculation process with a trigger such as accumulation of a predetermined amount of accumulated data (S204). In this average value calculation process, the average value of the accumulated geomagnetic dip angle θ0 is taken, and the error of the acceleration sensor unit 510 caused by the movement of the mobile phone 1 is averaged out (S205). At this time, for example, only the value θ0 within a certain deviation range from the current average value θ can be discriminated, and only the discriminated value θ0 can be used as target data for the average value calculation. According to this embodiment, there is an advantage that a more accurate geomagnetic depression angle θ can be obtained by eliminating θ0 where the error of the acceleration sensor unit 510 is significant.

ここで、地磁気伏角θの蓄積方法について一例を示す。ステップS203にてθ0を蓄積する際に、主制御部601は時計部304から現在日時を示す日時データを取得し、その日時データをθ0と共にテーブルに書き込む。図が地磁気伏角θ0と日時データとを蓄積した地磁気伏角テーブルの一例を示す図である。主制御部601は、地磁気伏角テーブルに所定個数nのデータが蓄積されると、再度時計部304から現在日時を示す日時データを取得する。 Here, an example of a method for accumulating the geomagnetic depression angle θ will be shown. When accumulating θ0 in step S203, the main control unit 601 obtains date / time data indicating the current date / time from the clock unit 304, and writes the date / time data in the table together with θ0. FIG. 7 is a diagram showing an example of a geomagnetic depression table in which the geomagnetic depression angle θ0 and date / time data are accumulated. When the predetermined number n of data is accumulated in the geomagnetic dip table, the main control unit 601 acquires date / time data indicating the current date / time from the clock unit 304 again.

続いて、主制御部601は所得した現在日時を示す日時データと、地磁気伏角テーブルにθ0と共に蓄積された日時データとを比較し、現在日時から所定時間以上離れたデータが地磁気伏角テーブルに蓄積されていないかを判定する。現在日時から所定時間以上離れたデータが蓄積されていない場合には、主制御部601はステップS204の処理に進み、θ0の平均値演算処理を行う。   Subsequently, the main control unit 601 compares the date and time data indicating the current date and time of income with the date and time data stored together with θ0 in the geomagnetic depression table, and data that is more than a predetermined time away from the current date and time is accumulated in the geomagnetic depression table. Judge whether or not. If data that is more than a predetermined time away from the current date and time is not accumulated, the main control unit 601 proceeds to the process of step S204 and performs an average value calculation process of θ0.

一方、現在日時から所定時間以上離れたデータが蓄積されている場合には、主制御部601はそのデータに対応するθ0を地磁気伏角テーブルから削除し、再度ステップS201に戻ってデータの取り込みを続ける。なお、ステップS204の処理に進んだ場合においても、主制御部601は地磁気伏角テーブルのデータをクリアしない。これにより、過去に取得した地磁気伏角のデータを有効に利用することが可能となり、さらに上述した日時データを用いた判定処理を行うことで現在日時から所定時間以内のデータのみを利用することが可能となり、地磁気伏角の検出精度を向上させることができる。   On the other hand, if data that is longer than the predetermined time from the current date and time is accumulated, the main control unit 601 deletes θ0 corresponding to the data from the geomagnetic depression table, and returns to step S201 again to continue taking in data. . Even when the processing proceeds to step S204, the main control unit 601 does not clear the data of the geomagnetic depression table. As a result, it is possible to effectively use the geomagnetic dip data acquired in the past, and it is possible to use only the data within a predetermined time from the current date and time by performing the determination process using the date and time data described above. Thus, the detection accuracy of the geomagnetic depression can be improved.

地磁気伏角θの蓄積方法に関する別の形態として、主制御部601がGPS受信部402から現在の位置情報(緯度・経度)を取得し、θ0と共に地磁気伏角テーブルに蓄積してもよい。この場合、日時データを用いた判定処理で述べたのと同様の方法で現在の位置情報と地磁気伏角テーブルに蓄積された位置情報とを比較し、現在の位置から所定距離以上離れているデータを削除もしくは使用しないようにしてもよい。図8に日時データと共に位置情報を蓄積した場合の地磁気伏角テーブルの一例を示す。   As another form regarding the accumulation method of the geomagnetic depression angle θ, the main control unit 601 may acquire the current position information (latitude / longitude) from the GPS reception unit 402 and accumulate it in the geomagnetic depression table together with θ0. In this case, the current position information is compared with the position information stored in the geomagnetic depression table in the same manner as described in the determination process using the date / time data, and data that is more than a predetermined distance away from the current position is obtained. It may be deleted or not used. FIG. 8 shows an example of a geomagnetic dip table when position information is accumulated together with date / time data.

次に、地磁気伏角θの取得処理の他の例について、図1を用いて説明する。
主制御部601は、たとえば方位及び傾斜角の検出処理におけるステップS103(図5参照)の開始時に、地磁気伏角θの取得処理を実行する。この取得処理において、主制御部601は、まずGPS受信部402から現在の位置情報φ,λを取得する。ただしφは緯度、λは経度である。そして数22を用いて、位置情報φ,λから地磁気伏角θを演算する。
Next, another example of the processing for obtaining the geomagnetic depression angle θ will be described with reference to FIG.
The main control unit 601 executes the acquisition process of the geomagnetic depression angle θ, for example, at the start of step S103 (see FIG. 5) in the azimuth and tilt angle detection process. In this acquisition process, the main control unit 601 first acquires the current position information φ, λ from the GPS receiving unit 402. Where φ is latitude and λ is longitude. Then, using Equation 22, the geomagnetic depression angle θ is calculated from the position information φ, λ.

Figure 0004839975
Figure 0004839975

なお、この式は2000年度の式であり、ΔφはΔφ=φ−37°N、ΔλはΔλ=λ−138°Eである。   Note that this equation is an equation for 2000, Δφ is Δφ = φ−37 ° N, and Δλ is Δλ = λ−138 ° E.

この数22は、地磁気伏角の分布を緯度・経度の2次式で近似した式である。数22の各項の係数は、磁極の移動に伴って変化するため、1年毎等、定期的に更新する(例えば、サーバから各係数のデータを携帯端末にダウンロードする)などして正確さを維持すれば良い。また、地磁気伏角θの取得に対して要求される精度によっては、数22の第2項まで、すなわち地磁気伏角θを緯度φで1次近似した式を用いる形態をとることも可能である。   This equation 22 is an expression obtained by approximating the distribution of the geomagnetic dip with a quadratic expression of latitude and longitude. Since the coefficients of each term in Equation 22 change with the movement of the magnetic pole, they are updated periodically (for example, the data of each coefficient is downloaded from the server to the portable terminal) every year or the like. Should be maintained. Further, depending on the accuracy required for obtaining the geomagnetic depression angle θ, it is also possible to use a form up to the second term of Equation 22, that is, an expression that linearly approximates the geomagnetic depression angle θ by the latitude φ.

また数22に基づいて、位置情報φ,λを地磁気伏角θに変換する変換テーブルを予め作成してROM602に格納しておき、この変換テーブルに位置情報φ,λを入力して地磁気伏角θを取得する形態をとることも可能である。この例によれば、加速度センサ部510から検出重力を用いずに地磁気伏角θを取得できるから、加速度センサ部510の誤差を含まない精度の高い演算が可能となる利点がある。また簡素な演算のみで地磁気伏角θを取得できる利点がある。 Further, based on Equation 22, a conversion table for converting the position information φ, λ to the geomagnetic depression angle θ is created in advance and stored in the ROM 602, and the position information φ, λ is input to the conversion table to determine the geomagnetic depression angle θ. It can also take the form of acquisition. According to this example, detection because gravity g can acquire the geomagnetic dip θ without using the from the acceleration sensor unit 510, there is an advantage that high computing accuracy without the error of the acceleration sensor 510 becomes possible. Further, there is an advantage that the geomagnetic dip angle θ can be obtained only by simple calculation.

以上、この発明の実施形態を詳述してきたが、具体的な構成はこの実施形態に限られるものではなく、この発明の要旨を逸脱しない範囲の設計変更等も含まれる。たとえば携帯電話機等、通信機能を有する装置にこの発明を適用する場合、通信先の中継局やサーバ等に位置情報φ,λあるいは地磁気伏角θを通知する機能を設置しておき、携帯電話機からの要求に応じ、要求された情報を中継局側から携帯電話機に送信するといった形態をとることもできる。この形態は、特にPHS(登録商標:Personal Handyphone System)等の狭域無線通信システムにおいて高精度の地磁気伏角θを端末が取得できる点で好適である。   The embodiment of the present invention has been described in detail above, but the specific configuration is not limited to this embodiment, and includes design changes and the like within a scope not departing from the gist of the present invention. For example, when the present invention is applied to a device having a communication function, such as a mobile phone, a function for notifying the position information φ, λ or the geomagnetic depression angle θ to a relay station or server or the like as a communication destination is installed. In response to the request, the requested information may be transmitted from the relay station side to the mobile phone. This form is particularly suitable in that the terminal can obtain a highly accurate geomagnetic dip angle θ in a narrow area wireless communication system such as PHS (registered trademark: Personal Handyphone System).

また、主制御部601は、CPUを用いた制御部として説明したが、具体的にはBBP(Base Band Processor)、あるいはBBPをメインに通話信号の変復調処理等を行うDSP(Digital Signal Processor)をサブとして組み合わせて構築する形態等をとることができる。   Although the main control unit 601 has been described as a control unit using a CPU, specifically, a BBP (Base Band Processor) or a DSP (Digital Signal Processor) that performs modulation / demodulation processing of a call signal mainly using the BBP. It is possible to take a form that is constructed by combining as sub.

BBPやDSPに組み込むプログラムは、コンピュータ読み取り可能な記録媒体に記録されて頒布されることができ、機能の一部を実現する形態で頒布されるものであっても良い。たとえばOS(オペレーション・システム)が提供する基本機能を利用したアプリケーションソフトの形式で頒布されるものであっても良い。さらにコンピュータシステムにすでに記録されている既存システムのプログラムとの組み合わせで所定の機能を実現できるもの、いわゆる差分プログラムで頒布される形態をとることも可能である。   The program incorporated in the BBP or DSP can be recorded and distributed on a computer-readable recording medium, and may be distributed in a form that realizes a part of the functions. For example, it may be distributed in the form of application software using basic functions provided by an OS (operation system). Further, it is possible to adopt a form in which a predetermined function can be realized in combination with a program of an existing system already recorded in a computer system, that is, a so-called differential program.

また上記のコンピュータ読み取り可能な記録媒体には、可搬型の磁気ディスクや光磁気ディスク等の記憶媒体等以外にも、ハードディスク等の記憶装置その他不揮発性の記憶装置を含む。さらにインターネットその他のネットワーク等、任意の伝送媒体を介して他のコンピュータシステムから提供される形態でも良い。この場合、「コンピュータ読み取り可能な記録媒体」には、ネットワーク上のホストやクライアントとなるコンピュータシステム内部の揮発性メモリのように、伝送媒体において一定時間プログラムを保持しているものも含む。   The computer-readable recording medium includes a storage device such as a hard disk and other nonvolatile storage devices in addition to a storage medium such as a portable magnetic disk and a magneto-optical disk. Furthermore, the form provided from another computer system via arbitrary transmission media, such as the internet and other networks, may be sufficient. In this case, the “computer-readable recording medium” includes a medium that holds a program for a certain period of time in a transmission medium such as a volatile memory inside a computer system serving as a host or client on a network.

またBBPやDSPによるコプロセッサ方式により制御部を構築する形態に言及したが、少なくともその一部のプロセッサをFPGA(Field Programmable Gate Alley)等のハードウエア回路により構築する形態も可能である。FPGAに組み込む回路プログラム情報の頒布については、上記のプログラムの頒布と同様に各種の形態をとることも可能である。   In addition, although a configuration in which the control unit is constructed by a coprocessor method using BBP or DSP is mentioned, at least a part of the processor may be constructed by a hardware circuit such as an FPGA (Field Programmable Gate Array). The distribution of circuit program information to be incorporated into the FPGA can take various forms in the same manner as the distribution of the program.

この発明の一実施形態に係る携帯電話機の概略を示すブロック図である。It is a block diagram which shows the outline of the mobile telephone which concerns on one Embodiment of this invention. 端末携帯電話機の端末ユニットを開いた状態にしたときの正面図である。It is a front view when the terminal unit of a terminal portable telephone is made into the open state. この方位及び傾斜角の検出処理において実現される機能の概略を示すブロック図である。It is a block diagram which shows the outline of the function implement | achieved in the detection process of this azimuth | direction and an inclination angle. 第1および第2の演算で用いるデータおよびその座標系を示す線図である。It is a diagram which shows the data used by the 1st and 2nd calculation, and its coordinate system. 方位及び傾斜角の検出処理の概略を示すフローチャートである。It is a flowchart which shows the outline of the detection process of an azimuth | direction and an inclination angle. 地磁気伏角θの取得処理の一例を示すフローチャートである。It is a flowchart which shows an example of the acquisition process of geomagnetic depression angle (theta). 地磁気伏角θ0が蓄積される地磁気伏角テーブルの一例を示す図である。It is a figure which shows an example of the geomagnetic depression angle table in which the geomagnetic depression angle θ0 is accumulated. 地磁気伏角θ0が蓄積される地磁気伏角テーブルの別の一例を示す図である。It is a figure which shows another example of the geomagnetic depression angle table in which geomagnetic depression angle (theta) 0 is accumulate | stored.

符号の説明Explanation of symbols

1…携帯電話機 1−1,1−2…端末ユニット 201…アンテナ 202…RF部 203…変復調部 204…CDMA部 205…音声処理部 301…マイクロホン 302…スピーカ 303…報知手段 304…時計部 305…主操作部 306…電子撮像部 307…表示部 308…タッチパネル 309…副操作部 401…アンテナ 402…GPS受信部 510…加速度センサ部 520…磁気センサ部 521−1〜521−3…磁気センサ 522…温度センサ 523…磁気センサ制御部 601…主制御部 602…ROM 603…RAM 701…測定トリガ手段 702…測定データ取り込み手段 703…第1の演算手段 704…平均化手段 705…第2の演算手段 706…選択手段   DESCRIPTION OF SYMBOLS 1 ... Cellular phone 1-1, 1-2 ... Terminal unit 201 ... Antenna 202 ... RF part 203 ... Modulator / demodulator 204 ... CDMA part 205 ... Voice processing part 301 ... Microphone 302 ... Speaker 303 ... Notification means 304 ... Clock part 305 ... Main operation unit 306 ... Electronic imaging unit 307 ... Display unit 308 ... Touch panel 309 ... Sub operation unit 401 ... Antenna 402 ... GPS reception unit 510 ... Acceleration sensor unit 520 ... Magnetic sensor unit 521-1 to 521-3 ... Magnetic sensor 522 ... Temperature sensor 523 ... Magnetic sensor control unit 601 ... Main control unit 602 ... ROM 603 ... RAM 701 ... Measurement trigger means 702 ... Measurement data fetching means 703 ... First calculation means 704 ... Averaging means 705 ... Second calculation means 706 ... selection means

Claims (7)

装置固定の座標系での地磁気成分を検出する方位センサと、同じく装置固定の座標系での重力成分を検出する加速度センサを備えた対地座標系での装置の方位及び傾斜角の検出値を生成する方位及び傾斜角検出装置であって、
前記地磁気成分及び前記重力成分を用いて前記傾斜角を演算して参考情報とする第1の演算手段と、
水平面と地磁気方向とがなす角である地磁気伏角を取得する地磁気伏角取得手段と、
前記装置固定の座標系および対地座標系での地磁気成分の関係から前記地磁気伏角をもって規定される前記方位及び傾斜角の連立方程式を解くことにより前記方位と傾斜角の演算結果を求め、該演算結果を前記検出値とする第2の演算手段と、
前記演算結果が複数通りある場合に前記参考情報である前記傾斜角に近いほうの傾斜角をもつ演算結果を選択して前記検出値とする選択手段と、
を備えことを特徴とする方位及び傾斜角検出装置。
An azimuth sensor for detecting the terrestrial magnetism components in the coordinate system of the device fixed, also the detection values of the azimuth and tilt angle of the device against the ground coordinate system including an acceleration sensor for detecting the gravity component in the coordinate system of the device fixing A azimuth and tilt angle detection device to generate,
First calculating means for said geomagnetic components and reference information by calculating the inclination oblique angle with the gravity component,
A geomagnetic depression obtaining means for obtaining a geomagnetic depression that is an angle formed by a horizontal plane and a geomagnetic direction;
The calculation result of the azimuth and the tilt angle is obtained by solving the simultaneous equations of the azimuth and the tilt angle defined by the geomagnetic dip from the relationship between the geomagnetic component in the coordinate system fixed to the device and the ground coordinate system, and the calculation result A second computing means having the detected value as the detection value;
If the operation result plurality of ways, and selection means to the detected value by selecting the operation result with the inclination angle closer to the tilt angle which is the reference information,
Azimuth and tilt angle detection apparatus characterized by Ru with a.
前記第1の演算手段は、前記装置のねじれ角も演算し、前記ねじれ角が所定範囲以内である場合は、前記参考情報を前記検出値とすることを特徴とする請求項1記載の方位及び傾斜角検出装置。 2. The azimuth and azimuth according to claim 1, wherein the first calculation means also calculates a twist angle of the device, and if the twist angle is within a predetermined range, the reference information is used as the detected value. Inclination angle detector. 前記地磁気伏角取得手段は、
前記重力成分を用いて前記地磁気成分の座標変換を行うことにより前記地磁気伏角に相当する値を算出する地磁気伏角演算手段と、
該地磁気伏角に相当する値を蓄積して平均値をとって前記地磁気伏角に設定する平均化手段と、
を有することを特徴とする請求項1記載の方位及び傾斜角検出装置。
The geomagnetic dip angle acquisition means includes:
A geomagnetic dip calculation means for calculating a value corresponding to the geomagnetic dip by performing coordinate conversion of the geomagnetic component using the gravitational component;
An averaging means for accumulating a value corresponding to the geomagnetic depression and taking an average value to set the geomagnetic depression;
The azimuth and tilt angle detection device according to claim 1, wherein
前記地磁気伏角取得手段は、
現在の緯度経度のうち少なくとも緯度を現在の位置情報として取得する位置情報取得手段と、
該現在の位置情報から地磁気伏角を生成する地磁気伏角生成手段と、
を有することを特徴とする請求項1記載の方位及び傾斜角検出装置。
The geomagnetic dip angle acquisition means includes:
Position information acquisition means for acquiring at least latitude as current position information among current latitude and longitude;
A geomagnetic dip generating means for generating a geomagnetic dip from the current position information;
The azimuth and tilt angle detection device according to claim 1, wherein
装置固定の座標系での地磁気成分を検出すると共に、同じく装置固定の座標系での重力成分を検出し、対地座標系での装置の方位及び傾斜角の検出値を生成する装置における方位及び傾斜角検出方法であって、
前記装置の第1の演算手段が、前記地磁気成分及び前記重力成分を用いて前記傾斜角を演算して参考情報とし、
前記装置の地磁気伏角取得手段が、水平面と地磁気方向とがなす角である地磁気伏角を取得し、
前記装置の第2の演算手段が、前記装置固定の座標系および対地座標系での地磁気成分の関係から前記地磁気伏角をもって規定される前記方位及び傾斜角の連立方程式を解くことにより前記方位と傾斜角の演算結果を求め、該演算結果を前記検出値とし、
前記装置の選択手段が、前記演算結果が複数通りある場合に前記参考情報である前記傾斜角に近いほうの傾斜角をもつ演算結果を選択して前記検出値とす
とを特徴とする方位及び傾斜角検出方法。
Detects the geomagnetism components in device fixed coordinate system, also detects the gravity component in the coordinate system of the device fixed orientation in apparatus for generating a detection value of the azimuth and tilt angle of the device against the ground coordinate system and An inclination angle detection method comprising:
First arithmetic means of the apparatus, the geomagnetic components and calculates the inclination oblique angle with the gravity component and reference information,
The geomagnetic depression obtaining means of the device obtains a geomagnetic depression that is an angle formed by a horizontal plane and a geomagnetic direction ,
The second calculation means of the apparatus solves the azimuth and inclination by solving simultaneous equations of the azimuth and inclination defined by the geomagnetic dip from the relationship between geomagnetic components in the coordinate system fixed to the apparatus and the ground coordinate system. Obtain the calculation result of the corner, the calculation result as the detection value ,
Selecting means of the device, when the operation result plurality of ways, you and the detection value by selecting the operation result with the inclination angle closer to the tilt angle which is the reference information
Azimuth and inclination angle detection method comprising the this.
装置固定の座標系での地磁気成分を検出する方位センサと、同じく装置固定の座標系での重力成分を検出する加速度センサを備えた対地座標系での装置の方位及び傾斜角の検出値を生成する方位及び傾斜角検出装置のコンピュータに
前記地磁気成分及び前記重力成分を用いて前記傾斜角を演算して参考情報とするステップと、
水平面と地磁気方向とがなす角である地磁気伏角を取得するステップと、
前記装置固定の座標系および対地座標系での地磁気成分の関係から前記地磁気伏角をもって規定される前記方位及び傾斜角の連立方程式を解くことにより前記方位と傾斜角の演算結果を求め、該演算結果を前記検出値とするステップと、
前記演算結果が複数通りある場合に前記参考情報である前記傾斜角に近いほうの傾斜角をもつ演算結果を選択して前記検出値とするステップと、
を実行させるプログラム。
Generates azimuth sensor and azimuth angle detection values in ground coordinate system with azimuth sensor to detect geomagnetic component in device fixed coordinate system and acceleration sensor to detect gravitational component in device fixed coordinate system To the computer of the azimuth and tilt angle detection device
The method comprising the reference information by calculating the inclination oblique angle using the geomagnetism component and the gravity component,
Obtaining a geomagnetic dip angle which is an angle formed by a horizontal plane and a geomagnetic direction;
The calculation result of the azimuth and the tilt angle is obtained by solving the simultaneous equations of the azimuth and the tilt angle defined by the geomagnetic dip from the relationship between the geomagnetic component in the coordinate system fixed to the device and the ground coordinate system, and the calculation result Setting the detected value to
If the operation result plurality of ways, the steps of said detection value by selecting the operation result with the inclination angle closer to the tilt angle which is the reference information,
The Help program to run.
装置固定の座標系での地磁気成分を検出する方位センサと、同じく装置固定の座標系での重力成分を検出する加速度センサを備えた対地座標系での装置の方位及び傾斜角の検出値を生成する手段を有する携帯端末装置であって、
前記地磁気成分及び前記重力成分を用いて前記傾斜角を演算して参考情報とする第1の演算手段と、
水平面と地磁気方向とがなす角である地磁気伏角を取得する地磁気伏角取得手段と、
前記装置固定の座標系および対地座標系での地磁気成分の関係から前記地磁気伏角をもって規定される前記方位及び傾斜角の連立方程式を解くことにより前記方位と傾斜角の演算結果を求め、該演算結果を前記検出値とする第2の演算手段と、
前記演算結果が複数通りある場合に前記参考情報である前記傾斜角に近いほうの傾斜角をもつ演算結果を選択して前記検出値とする選択手段と、
を備えことを特徴とする携帯端末装置。
An azimuth sensor for detecting the terrestrial magnetism components in the coordinate system of the device fixed, also the detection values of the azimuth and tilt angle of the device against the ground coordinate system including an acceleration sensor for detecting the gravity component in the coordinate system of the device fixing A portable terminal device having means for generating,
First calculating means for said geomagnetic components and reference information by calculating the inclination oblique angle with the gravity component,
A geomagnetic depression obtaining means for obtaining a geomagnetic depression that is an angle formed by a horizontal plane and a geomagnetic direction;
The calculation result of the azimuth and the tilt angle is obtained by solving the simultaneous equations of the azimuth and the tilt angle defined by the geomagnetic dip from the relationship between the geomagnetic component in the coordinate system fixed to the device and the ground coordinate system, and the calculation result A second computing means having the detected value as the detection value;
If the operation result plurality of ways, and selection means to the detected value by selecting the operation result with the inclination angle closer to the tilt angle which is the reference information,
Portable terminal device characterized by Ru with a.
JP2006169104A 2005-07-01 2006-06-19 Azimuth and tilt angle detection device, azimuth and tilt angle detection method, program, and portable terminal device Expired - Fee Related JP4839975B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2006169104A JP4839975B2 (en) 2005-07-01 2006-06-19 Azimuth and tilt angle detection device, azimuth and tilt angle detection method, program, and portable terminal device

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
JP2005193547 2005-07-01
JP2005193547 2005-07-01
JP2006169104A JP4839975B2 (en) 2005-07-01 2006-06-19 Azimuth and tilt angle detection device, azimuth and tilt angle detection method, program, and portable terminal device

Publications (2)

Publication Number Publication Date
JP2007040982A JP2007040982A (en) 2007-02-15
JP4839975B2 true JP4839975B2 (en) 2011-12-21

Family

ID=37799071

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2006169104A Expired - Fee Related JP4839975B2 (en) 2005-07-01 2006-06-19 Azimuth and tilt angle detection device, azimuth and tilt angle detection method, program, and portable terminal device

Country Status (1)

Country Link
JP (1) JP4839975B2 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5034012B2 (en) * 2007-10-22 2012-09-26 アイチ・マイクロ・インテリジェント株式会社 Motor ability detection device
CN102203553B (en) * 2008-10-31 2015-06-10 高通股份有限公司 Using magnetometer with a positioning system
JP5849448B2 (en) 2011-06-14 2016-01-27 リコーイメージング株式会社 Direction measuring method and direction measuring apparatus using a three-axis electronic compass

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3797661B2 (en) * 2001-11-28 2006-07-19 Necトーキン株式会社 Attitude angle detector
JP3837533B2 (en) * 2003-01-15 2006-10-25 独立行政法人産業技術総合研究所 Attitude angle processing apparatus and attitude angle processing method
JP4149344B2 (en) * 2003-09-30 2008-09-10 Necトーキン株式会社 Geomagnetic orientation sensor and method of using geomagnetic orientation sensor
JP4433919B2 (en) * 2004-07-22 2010-03-17 ヤマハ株式会社 Mobile terminal and tilt angle calculation method

Also Published As

Publication number Publication date
JP2007040982A (en) 2007-02-15

Similar Documents

Publication Publication Date Title
KR100802249B1 (en) Apparatus and method for detecting azimuth and inclination angle, program for detecting the same, and portable terminal device for detecting the same
US7324906B2 (en) Compass sensor unit and portable electronic device
US10641625B2 (en) Method and apparatus for calibrating a magnetic sensor
KR100876030B1 (en) Azimuth processing device, azimuth processing method, computer readable recording medium recording azimuth processing program, azimuth measuring device, a method of correcting a tilt offset, azimuth measuring method, azimuth sensor unit and portable electronic device
US7119533B2 (en) Method, system and device for calibrating a magnetic field sensor
JP4120648B2 (en) Portable terminal, portable terminal control method, program, and recording medium
JP6372751B2 (en) Electronic device, offset value acquisition method, and offset value acquisition program
US8531180B2 (en) Determining heading using magnetometer data and angular rate data
JP4899525B2 (en) Magnetic sensor control device, magnetic measurement device, offset setting method and program
KR100693963B1 (en) Portable terminal, incline angle calculating method of portable terminal main body, and recording medium
JP4161985B2 (en) Portable electronic device with orientation detection function and calibration method thereof
JP4111211B2 (en) Direction data generation method, direction sensor unit, storage medium, and portable electronic device
JP4229093B2 (en) Portable electronic device with azimuth detection function, magnetic sensor device, and calibration method thereof
JP4839975B2 (en) Azimuth and tilt angle detection device, azimuth and tilt angle detection method, program, and portable terminal device
JP2005345387A (en) Portable terminal apparatus
JP2005345388A (en) Portable terminal apparatus
KR20070031415A (en) Azimuth data calculation method, azimuth sensor unit, and portable electronic apparatus
JP2013222385A (en) Information processor, moving body, charging system and charging method
JP2008005430A (en) Portable telephone, subtended angle specification method, and subtended angle specification program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20090420

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20110204

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20110208

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20110405

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

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20110919

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20141014

Year of fee payment: 3

LAPS Cancellation because of no payment of annual fees