JP2007225325A - Magnetic sensor controller, magnetic measuring instrument, offset setting method, and program - Google Patents

Magnetic sensor controller, magnetic measuring instrument, offset setting method, and program Download PDF

Info

Publication number
JP2007225325A
JP2007225325A JP2006044180A JP2006044180A JP2007225325A JP 2007225325 A JP2007225325 A JP 2007225325A JP 2006044180 A JP2006044180 A JP 2006044180A JP 2006044180 A JP2006044180 A JP 2006044180A JP 2007225325 A JP2007225325 A JP 2007225325A
Authority
JP
Japan
Prior art keywords
base point
offset
vertical
vertical bisector
bisector
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.)
Granted
Application number
JP2006044180A
Other languages
Japanese (ja)
Other versions
JP4893021B2 (en
Inventor
Hideki Sato
秀樹 佐藤
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 JP2006044180A priority Critical patent/JP4893021B2/en
Publication of JP2007225325A publication Critical patent/JP2007225325A/en
Application granted granted Critical
Publication of JP4893021B2 publication Critical patent/JP4893021B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Measuring Magnetic Variables (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To accurately set an offset without using statistical processing. <P>SOLUTION: This magnetic sensor controller comprises a means for inputting sequentially a plurality of magnetic data having three components or two components output sequentially from a magnetic sensor, a means for calculating a bisecting normal surface or a perpendicular bisector of two points corresponding to the two magnetic data, in every set comprising two combined according to an input order, and a means for repeating processing of updating a base point to a point on a line segment drawn perpendicularly to the bisecting normal surface or perpendicular bisector from the base point, as to the plurality of bisecting normal surfaces or perpendicular bisectors, and for setting the offset of the magnetic data, based on the updated base point. <P>COPYRIGHT: (C)2007,JPO&INPIT

Description

本発明は磁気センサ制御装置、磁気測定装置、並びにオフセット設定方法及びプログラムに関し、特に地磁気センサのオフセット設定方法に関する。   The present invention relates to a magnetic sensor control device, a magnetic measurement device, an offset setting method and a program, and more particularly to an offset setting method for a geomagnetic sensor.

従来、移動体に搭載され、地磁気の方向を検出する3次元磁気センサ及び2次元磁気センサが知られている。一般に3次元磁気センサは、磁界のベクトルを互いに直交する3方向の成分に分解してスカラー量を検出するための3つの磁気センサモジュールを備えている。3次元磁気センサの出力である磁気データは、そのような3つの磁気センサモジュールのそれぞれの出力の組み合わせからなるため、3成分を有する。磁気データを成分とするベクトルの方向と大きさが、3次元磁気センサが検出している磁界の方向と大きさである。3次元磁気センサの出力に基づいて地磁気の方向又は大きさを特定するとき、その出力には移動体の着磁成分と磁気センサ自体の測定誤差が含まれている。従ってそれらを打ち消すために3次元磁気センサの出力を補正する処理が必要である。この補正処理の操作値はオフセットと呼ばれている。オフセットは3次元磁気センサが検出している移動体の着磁による磁界のベクトルと磁気センサの測定誤差のベクトルとの合成ベクトルを3次元座標空間で表しており、3次元磁気センサの出力である磁気データからオフセットが引き算されることによって移動体の着磁成分と磁気センサ自体の測定誤差が一括して打ち消される。3次元座標空間において、磁気データを成分とする点は所定の球面に沿ってプロットされる。その球面の中心を求めることによってオフセットを算出することができる。オフセットを求める処理はキャリブレーションと呼ばれている。   Conventionally, a three-dimensional magnetic sensor and a two-dimensional magnetic sensor that are mounted on a moving body and detect the direction of geomagnetism are known. In general, a three-dimensional magnetic sensor includes three magnetic sensor modules for detecting a scalar quantity by decomposing a magnetic field vector into three orthogonal components. The magnetic data that is the output of the three-dimensional magnetic sensor has three components because it consists of a combination of the outputs of such three magnetic sensor modules. The direction and magnitude of the vector having magnetic data as the component are the direction and magnitude of the magnetic field detected by the three-dimensional magnetic sensor. When the direction or magnitude of geomagnetism is specified based on the output of the three-dimensional magnetic sensor, the output includes the magnetization component of the moving body and the measurement error of the magnetic sensor itself. Therefore, a process for correcting the output of the three-dimensional magnetic sensor is necessary to cancel them. The operation value of this correction process is called offset. The offset represents a combined vector of a magnetic field vector due to magnetization of the moving body detected by the three-dimensional magnetic sensor and a measurement error vector of the magnetic sensor in a three-dimensional coordinate space, and is an output of the three-dimensional magnetic sensor. By subtracting the offset from the magnetic data, the magnetization component of the moving body and the measurement error of the magnetic sensor itself are canceled together. In the three-dimensional coordinate space, points having magnetic data as components are plotted along a predetermined spherical surface. The offset can be calculated by obtaining the center of the spherical surface. The process for obtaining the offset is called calibration.

ところで、磁気データを成分とする点の集合は現実には完全な球面にならない。なぜならば、3次元磁気センサの出力自体がガウス分布に従う測定誤差を有しているし、現実には完全に一様な磁界は存在しないためオフセットを算出するために必要な磁気データが蓄積される期間中に3次元磁気センサが測定している磁界が変動するし、3次元磁気センサの出力をディジタル値で取り出すまでの計算誤差があるからである。   By the way, a set of points whose components are magnetic data is not a perfect sphere in reality. This is because the output of the three-dimensional magnetic sensor itself has a measurement error according to a Gaussian distribution, and in reality there is no completely uniform magnetic field, so magnetic data necessary for calculating the offset is accumulated. This is because the magnetic field measured by the three-dimensional magnetic sensor fluctuates during the period, and there is a calculation error until the output of the three-dimensional magnetic sensor is extracted as a digital value.

従来の磁気センサのオフセット算出方法は、多数の磁気データを蓄積し、それらの統計処理によって、最も確からしいオフセットを算出するものであった(例えば特許文献1参照)。しかし、多数の磁気データの統計処理をする場合には、母集団となる磁気データ群の分布が満遍なく広く、特異な磁気データが母集団から排除されていなければ精度のよいオフセットを算出することができない。ところが、統計処理によって算出されたオフセットの信頼性や磁気データの母集団要素としての適性を的確に判定することは困難である。また統計処理によって最も確からしい球面の中心を求める処理量は相当多く、時間と資源の消費が多い。   The conventional offset calculation method of a magnetic sensor is to accumulate a large number of magnetic data and calculate the most probable offset by their statistical processing (see, for example, Patent Document 1). However, when statistical processing of a large number of magnetic data is performed, it is possible to calculate an accurate offset if the distribution of the magnetic data group as a population is uniformly wide and unique magnetic data is not excluded from the population. Can not. However, it is difficult to accurately determine the reliability of offset calculated by statistical processing and the suitability of magnetic data as a population element. Moreover, the amount of processing for obtaining the most probable spherical center by statistical processing is considerable, and it consumes a lot of time and resources.

また、三次元磁気センサでは、平面上で移動体を意識的に回転させる操作をユーザに強いることなくキャリブレーションが可能であるため、キャリブレーション中に移動体をどのように動かすべきかという案内をユーザにする必要がない。したがって、キャリブレーション中に移動体が存在している磁界の強さが変動することは十分に予見される。ところが、特許文献1に記載されているように磁気データを成分とする点までの距離のばらつきが最小になる点の成分をオフセットとする場合、統計処理の母集団となる磁気データが蓄積される期間中に地磁気の強さが変動すると、正確なオフセットを求めることができなくなるという問題がある。例えば屋内から屋外に磁気センサが移動すると、磁気センサが検出する地磁気が強くなるため、特許文献1に記載されている方法でオフセットを求めるとその誤差が大きくなる。   In addition, the 3D magnetic sensor can be calibrated without forcing the user to consciously rotate the moving object on a flat surface, so guidance on how to move the moving object during calibration is provided. There is no need to be a user. Therefore, it is fully foreseen that the strength of the magnetic field in which the moving body exists during calibration will fluctuate. However, when the component at the point where the variation in distance to the point having the magnetic data as a component is minimized as described in Patent Document 1, the magnetic data serving as a statistical processing population is accumulated. If the strength of the geomagnetism varies during the period, there is a problem that an accurate offset cannot be obtained. For example, when the magnetic sensor moves from indoor to outdoor, the geomagnetism detected by the magnetic sensor becomes stronger. Therefore, when the offset is obtained by the method described in Patent Document 1, the error increases.

国際公開第2004−003476号パンフレットInternational Publication No. 2004-003476 Pamphlet

本発明は上述の問題に鑑みて創作されたものであって、統計処理を用いることなく正確にオフセットを設定できる磁気センサ制御装置、オフセット設定方法及びプログラム、ならびに磁気測定装置を提供することを目的とする。   The present invention was created in view of the above-described problems, and an object thereof is to provide a magnetic sensor control device, an offset setting method and program, and a magnetic measurement device that can accurately set an offset without using statistical processing. And

(1)上記目的を達成するための磁気センサ制御装置は、磁気センサから順次出力される、3成分又は2成分を有する複数の磁気データを順次入力する手段と、2つの前記磁気データに対応する2点の垂直二等分面又は垂直二等分線を、入力順に組み合わせられた2つ1組の前記磁気データ毎に算出する手段と、基点から前記垂直二等分面又は前記垂直二等分線に垂直に下ろす線分上の点に前記基点を更新する処理を、複数の前記垂直二等分面又は複数の前記垂直二等分線について繰り返し、更新された前記基点の成分に基づいて前記磁気データのオフセットを設定する手段と、を備える。
円周上の2点の垂直二等分線は円の中心を通る。2次元磁気センサから出力される磁気データを成分とする多数の点が特定の円周から近距離の範囲に分布している場合、それらの多数の点を2つ1組にすると、各組の垂直二等分線はその円周の中心近くを通る。ここで、円の中心近くの複数の点から放射状に伸びる多数の直線について考える。それらの直線と円の中心との距離が十分近ければ、ある点からそれらの直線に垂直に下ろす線分上の点を求め、求めたその点から別の直線に垂直に下ろす線分上の点を求め、新たに求めたその点から別の直線に垂直に下ろす線分上の点を求めるという処理を繰り返すことにより、求まる点は円の中心近くに収束する。同様に、球の中心近くの複数の点を通る互いに平行でない多数の平面について考えると、それらの平面と円の中心との距離が十分近ければ、ある点からそれらの平面に下ろす線分上の点を求め、求めたその点から別の平面に垂直に下ろす線分上の点を求め、新たに求めたその点から別の平面に垂直に下ろす線分上の点を求めるという処理を繰り返すことにより、求まる点は球の中心近くに収束する。本発明は、これらの現象を用いることにより統計処理を用いることなく磁気センサのオフセットを求めている。
また、磁気センサが検出している地磁気の強さのみが変化する前後では、磁気センサの真のオフセットに対応する点から磁気データを成分とする点までの距離は変化する。しかし、地磁気の強さが変化する前に磁気センサから出力される2つの磁気データを成分とする2点の垂直二等分面又は垂直二等分線と、地磁気の強さが変化した後に磁気センサから出力される2つの磁気データを成分とする2点の垂直二等分面又は垂直二等分線とは、変化前後の各2点に対応する地磁気の検出方向が一致している場合には、一致する。このことから、磁気データを成分とする2点の垂直二等分面又は垂直二等分線を用いてオフセットを求める場合には、求まるオフセットの精度は地磁気の強さの変化の影響を受けにくいということがいえる。本発明は、この現象を用いることによりオフセットを求める精度を上げている。
(1) A magnetic sensor control device for achieving the above object corresponds to means for sequentially inputting a plurality of magnetic data having three or two components, which are sequentially output from the magnetic sensor, and the two magnetic data. Means for calculating two sets of perpendicular bisectors or perpendicular bisectors for each set of the magnetic data combined in the order of input, and the vertical bisector or the vertical bisector from the base point The process of updating the base point to a point on the line segment perpendicular to the line is repeated for the plurality of vertical bisectors or the plurality of vertical bisectors, and based on the updated component of the base point Means for setting an offset of magnetic data.
Two perpendicular bisectors on the circumference pass through the center of the circle. When a large number of points whose components are magnetic data output from a two-dimensional magnetic sensor are distributed in a range from a specific circumference to a short distance, when these many points are grouped into two, The perpendicular bisector passes near the center of the circumference. Consider a number of straight lines extending radially from a plurality of points near the center of the circle. If the distance between these lines and the center of the circle is sufficiently close, find a point on a line segment that drops perpendicularly to the line from one point, and a point on a line segment that drops vertically from that point to another line By repeating the process of obtaining a point on a line segment that is perpendicular to another straight line from the newly obtained point, the obtained point converges near the center of the circle. Similarly, consider a number of planes that are not parallel to each other through multiple points near the center of the sphere, and if the distance between those planes and the center of the circle is close enough, they will be on the line down from one point to those Repeat the process of finding a point, finding a point on a line segment perpendicular to another plane from that point, and finding a point on the line segment perpendicular to another plane from that newly obtained point Thus, the obtained point converges near the center of the sphere. The present invention uses these phenomena to determine the offset of the magnetic sensor without using statistical processing.
Further, before and after only the strength of the geomagnetism detected by the magnetic sensor changes, the distance from the point corresponding to the true offset of the magnetic sensor to the point having magnetic data as a component changes. However, before the strength of geomagnetism changes, two perpendicular bisectors or perpendicular bisectors that have two magnetic data output from the magnetic sensor as components, and magnetism after the geomagnetism strength changes Two perpendicular bisectors or perpendicular bisectors that are composed of two magnetic data output from the sensor are in the case where the geomagnetic detection directions corresponding to the two points before and after the change coincide. Will match. Therefore, when the offset is obtained using two vertical bisectors or perpendicular bisectors having magnetic data as components, the accuracy of the obtained offset is not easily affected by changes in the strength of the geomagnetism. It can be said that. The present invention uses this phenomenon to improve the accuracy for obtaining the offset.

(2)上記目的を達成するための磁気センサ制御装置において、前記オフセットを設定する手段は、前記基点を更新する処理を複数の前記垂直二等分面又は前記垂直二等分線について前記垂直二等分面又は前記垂直二等分線の算出順に1回ずつ繰り返してもよい。   (2) In the magnetic sensor control device for achieving the above object, the means for setting the offset performs a process of updating the base point on the plurality of vertical bisectors or the vertical bisectors. It may be repeated once each in the order of calculation of the bisector or the perpendicular bisector.

(3)上記目的を達成するための磁気センサ制御装置において、前記オフセットを設定する手段は、前記基点を更新する処理を各前記垂直二等分面又は各前記垂直二等分線について複数回ずつ繰り返してもよい。
基点を更新する処理を各前記垂直二等分面又は各前記垂直二等分線について複数回ずつ繰り返すことにより、オフセットを求めるために用いられる磁気データが少ない段階であっても、基点の更新処理によって基点を真のオフセットに対応する点の近くに収束させることができる。
(3) In the magnetic sensor control apparatus for achieving the above object, the means for setting the offset performs the process of updating the base point a plurality of times for each vertical bisector or each vertical bisector. It may be repeated.
By updating the base point update process multiple times for each vertical bisector or each vertical bisector, the base point update process is performed even when there is little magnetic data used to obtain the offset. Allows the base point to converge near the point corresponding to the true offset.

(4)上記目的を達成するための磁気センサ制御装置において、予め決められた所定距離以上離れた2点に対応する2つ1組の前記磁気データを入力順に選抜する手段をさらに備えてもよい。前記垂直二等分面又は前記垂直二等分線を算出する手段は、選抜された前記磁気データの組毎に前記垂直二等分面又は前記垂直二等分線を算出してもよい。
磁気データ自体の誤差に着目すれば、オフセットに対応する基点を更新するために用いられる垂直二等分面又は垂直二等分線を規定する2点と真のオフセットに対応する点とを結ぶ2直線のなす角が小さいほど、それら2点の垂直二等分面又は垂直二等分線と真のオフセットに対応する点との距離が大きくなる傾向がある。したがって、ある程度離れた2点が1組となるように磁気データを選抜し、各組について垂直二等分面又は垂直二等分線を求めることにより、オフセットを求める精度を上げることができる。また地磁気の強さの変化に着目すれば、1組の要素となる2点に対応する磁気データが出力される時期のずれが小さいほど、それら2点の垂直二等分面又は垂直二等分線と真のオフセットに対応する点との距離が小さくなる。したがって、予め決められた所定距離以上離れた2点の成分になる2つ1組の磁気データを選抜し、選抜された磁気データの組毎に垂直二等分面又は垂直二等分線を算出することにより、オフセットを求める精度を上げることができる。
(4) The magnetic sensor control device for achieving the above object may further comprise means for selecting two sets of the magnetic data corresponding to two points separated by a predetermined distance or more in the order of input. . The means for calculating the vertical bisector or the vertical bisector may calculate the vertical bisector or the vertical bisector for each selected set of magnetic data.
Focusing on the error of the magnetic data itself, 2 connecting the two points defining the vertical bisector or vertical bisector used for updating the base point corresponding to the offset and the point corresponding to the true offset. The smaller the angle formed by the straight line, the larger the distance between the two perpendicular bisectors or the perpendicular bisector and the point corresponding to the true offset. Therefore, the accuracy of obtaining the offset can be increased by selecting the magnetic data so that two points separated to a certain degree constitute one set, and obtaining the vertical bisector or the perpendicular bisector for each set. If attention is paid to the change in the strength of the geomagnetism, the smaller the difference in the timing of outputting the magnetic data corresponding to the two points as one set of elements, the smaller the vertical bisector or bisector of the two points. The distance between the line and the point corresponding to the true offset is reduced. Therefore, two sets of magnetic data that are components of two points separated by a predetermined distance or more are selected, and a perpendicular bisector or perpendicular bisector is calculated for each selected magnetic data set. By doing so, the accuracy of obtaining the offset can be increased.

(5)上記目的を達成するための磁気センサ制御装置において、既に選抜された前記垂直二等分面又は前記垂直二等分線とのなす全ての角が予め決められた所定角度以上になる前記垂直二等分面又は前記垂直二等分線を選抜する手段をさらに備えてもよい。前記オフセットを設定する手段は、選抜された前記垂直二等分面又は前記垂直二等分線について前記基点を更新する処理を繰り返してもよい。
オフセットに対応する基点を更新するために連続して用いられる2つの垂直二等分面又は垂直二等分線が平行に近いほど、それらが交わる線又は点と真のオフセットに対応する点との距離は大きくなる。本発明では、基点を垂直二等分面又は垂直二等分線が交わる線又は点の近くに収束させるアルゴリズムを採用しているため、オフセットに対応する基点を更新するために連続して用いられる2つの垂直二等分面又は垂直二等分線のなす角はある程度大きいことが望ましい。したがって、既に選抜された垂直二等分面又は垂直二等分線とのなす全ての角が予め決められた所定角度以上になる垂直二等分面又は垂直二等分線を選抜し、選抜された垂直二等分面又は垂直二等分線について基点を更新する処理を繰り返すことが望ましい。
(5) In the magnetic sensor control device for achieving the above object, all the angles formed by the already selected vertical bisector or the perpendicular bisector are equal to or larger than a predetermined angle. There may be further provided means for selecting a vertical bisector or the vertical bisector. The means for setting the offset may repeat the process of updating the base point for the selected vertical bisector or the vertical bisector.
The closer the two perpendicular bisectors or vertical bisectors used in succession to update the base point corresponding to the offset are in parallel, the line or point they intersect and the point corresponding to the true offset The distance increases. In the present invention, an algorithm for converging the base point near a line or a point at which the perpendicular bisector or the perpendicular bisector intersects is used, so that the base point is continuously used to update the base point corresponding to the offset. It is desirable that the angle formed by the two vertical bisectors or vertical bisectors is somewhat large. Therefore, a vertical bisector or vertical bisector where all the angles formed by the previously selected vertical bisector or vertical bisector are equal to or greater than a predetermined angle is selected and selected. It is desirable to repeat the process of updating the base point for the vertical bisector or vertical bisector.

(6)上記目的を達成するための磁気センサ制御装置において、前記オフセットを設定する手段は、前記基点から前記垂直二等分面又は前記垂直二等分線に下ろす垂線の足に前記基点を更新してもよい。
基点から垂直二等分面又は垂直二等分線に下ろす垂線の足に基点を更新することにより、ある範囲に基点が収束するまでに基点を更新する回数を低減することができる。
(6) In the magnetic sensor control device for achieving the above object, the means for setting the offset updates the base point to a perpendicular foot extending from the base point to the vertical bisector or the vertical bisector. May be.
By updating the base point to the foot of the perpendicular line drawn from the base point to the vertical bisector or the vertical bisector, the number of times the base point is updated before the base point converges within a certain range can be reduced.

(7)上記目的を達成するための磁気センサ制御装置において、前記オフセットを設定する手段は、基点から前記垂直二等分面又は前記垂直二等分線に垂直に下ろす線分上の内分点に前記基点を更新してもよい。
一時的な外乱によって真のオフセットに対応する点から遠い垂直二等分面又は垂直二等分線が求められた場合には、それらを用いて基点の更新処理が行われると、外乱によるオフセットの算出誤差が発生する。基点から垂直二等分面又は垂直二等分線に垂直に下ろす線分上の内分点に基点を更新することにより、そのような誤差を低減することができる。
(7) In the magnetic sensor control device for achieving the above object, the means for setting the offset is an internal dividing point on a line segment that is perpendicular to the vertical bisector or the perpendicular bisector from a base point. The base point may be updated.
If a vertical bisector or a perpendicular bisector that is far from the point corresponding to the true offset is obtained due to a temporary disturbance, the offset of the offset due to the disturbance will be updated when the base point is updated using them. Calculation error occurs. Such an error can be reduced by updating the base point to the internal divide point on the vertical bisector or the perpendicular bisector line from the base point.

(8)上記目的を達成するための磁気センサ制御装置において、前記オフセットを設定する手段は、前記基点を更新する処理を、前記基点から前記垂直二等分面又は前記垂直二等分線に垂直に下ろす線分の長さが所定値以下になるまで繰り返し、最後の前記基点の成分に基づいて前記オフセットを設定してもよい。
更新される基点の分布範囲の広さは更新処理を無限に繰り返しても0に収束することはない。したがって、地磁気が一定の状況では、基点の更新処理をある程度の回数繰り返すと、それ以上の更新処理は無駄になる。したがって、基点から垂直二等分面又は垂直二等分線に垂直に下ろす線分の長さが所定値以下になるまで繰り返し、最後の基点の成分を磁気データのオフセットとして設定することは合理的である。
(8) In the magnetic sensor control device for achieving the above object, the means for setting the offset performs a process of updating the base point from the base point to the vertical bisector or the vertical bisector. The offset may be set based on the last component of the base point by repeating until the length of the line segment to be lowered to a predetermined value or less.
The width of the distribution range of the updated base point does not converge to 0 even if the update process is repeated infinitely. Therefore, in a situation where the geomagnetism is constant, if the base point update process is repeated a certain number of times, the further update process becomes useless. Therefore, it is reasonable to set the component of the last base point as the offset of the magnetic data by repeating until the length of the vertical bisector or the line segment perpendicular to the vertical bisector from the base point is less than the predetermined value. It is.

尚、本発明に備わる複数の手段の各機能は、構成自体で機能が特定されるハードウェア資源、プログラムにより機能が特定されるハードウェア資源、又はそれらの組み合わせにより実現される。また、これら複数の手段の各機能は、各々が物理的に互いに独立したハードウェア資源で実現されるものに限定されない。また、本発明は装置の発明として特定できるだけでなく、プログラムの発明としても、そのプログラムを記録した記録媒体の発明としても、方法の発明としても特定することができる。尚、請求項に記載された方法の各動作の順序は、技術上の阻害要因がない限り、記載順に限定されるものではなく、どのような順番で実行されてもよく、また同時に実行されてもよい。   Each function of the plurality of means provided in the present invention is realized by hardware resources whose functions are specified by the configuration itself, hardware resources whose functions are specified by a program, or a combination thereof. Further, the functions of the plurality of means are not limited to those realized by hardware resources that are physically independent of each other. The present invention can be specified not only as an apparatus invention but also as a program invention, a recording medium recording the program, and a method invention. It should be noted that the order of each operation of the method described in the claims is not limited to the order of description as long as there is no technical obstruction factor, and may be executed in any order, or may be executed simultaneously. Also good.

以下、実施例に基づいて本発明の実施の形態を説明する。
本実施例では、3次元磁気センサの出力に含まれる、それが搭載されている移動体の着磁成分と磁気センサ自体の測定誤差を打ち消すためのオフセットを求める。オフセットを求めるためには、3次元磁気センサの出力である磁気データを成分とするベクトル空間内の無数の点の集合を球面として近似する。この球面を方位球の球面というものとする。また測定誤差のない理想的な3次元磁気センサの出力である磁気データを成分とするベクトル空間内の無数の点の集合を真の方位球の球面というものとする。本実施例では、方位球の中心点の成分がオフセットとして算出される。
Embodiments of the present invention will be described below based on examples.
In the present embodiment, an offset for canceling the magnetization component of the moving body on which the three-dimensional magnetic sensor is mounted and the measurement error of the magnetic sensor itself is obtained. In order to obtain the offset, an infinite number of points in the vector space whose components are magnetic data that is the output of the three-dimensional magnetic sensor is approximated as a spherical surface. This spherical surface is referred to as an azimuth spherical surface. In addition, an infinite number of points in a vector space whose component is magnetic data that is an output of an ideal three-dimensional magnetic sensor having no measurement error is referred to as a spherical surface of a true azimuth sphere. In this embodiment, the component of the center point of the azimuth sphere is calculated as an offset.

1.ハードウェア構成
図2は本発明が適用される移動体の一例である携帯型電話機1の外観を示す模式図、図3は携帯型電話機1のブロック図である。携帯型電話機1には3次元磁気センサ4が搭載されている。3次元磁気センサは互いに直交するx、y、zの3方向の磁界のベクトル成分を検出することによって磁界の方向および強さを検出する。ディスプレイ5には、文字や画像の各種情報が表示される。例えばディスプレイ5には、地図と方位を示す矢印や文字が表示される。
1. Hardware Configuration FIG. 2 is a schematic diagram showing the appearance of a mobile phone 1 as an example of a mobile body to which the present invention is applied, and FIG. 3 is a block diagram of the mobile phone 1. The mobile phone 1 is equipped with a three-dimensional magnetic sensor 4. A three-dimensional magnetic sensor detects the direction and strength of a magnetic field by detecting vector components of magnetic fields in three directions of x, y, and z orthogonal to each other. Various information on characters and images is displayed on the display 5. For example, the display 5 displays a map and an arrow or character indicating the direction.

制御部45は、CPU40とROM42とRAM44とを備えている所謂コンピュータであって、磁気センサ制御装置を構成している。CPU40は、携帯型電話機1の全体制御を司るプロセッサである。ROM42は、CPU40によって実行される磁気センサ制御プログラムや、移動体の機能を実現するための種々のプログラム、例えばナビゲーションプログラムが格納されている、不揮発性の記憶媒体である。磁気センサ制御プログラムは、3次元磁気センサ4から出力される磁気データに基づいてナビゲーションプログラム等に方位データを提供するためのプログラムである。方位データは地磁気の方向を示す2次元ベクトルデータである。尚、方位データは3次元ベクトルデータとしてナビゲーションプログラムに提供されてもよい。磁気センサ制御プログラムのモジュール群にはオフセット設定プログラムが含まれている。オフセット設定プログラムは3次元磁気センサ4から出力される磁気データを補正するためのオフセットを設定するプログラムである。CPU40が磁気センサ制御プログラムを実行するとき、CPU40、RAM44及びROM42は磁気センサ制御装置として機能する。ナビゲーションプログラムは、現在地から目的地までの周辺地図を表示する周知のプログラムである。地図の認識のし易さから、地図は現実の方位に地図上の方位が一致するように画面表示される。したがって例えば、携帯型電話機1が回転すると、ディスプレイ5に表示される地図は地面に対して回転しないようにディスプレイ5に対して回転する。このような地図の表示処理に方位データが用いられる。もちろん、方位データは、単に方位を文字や矢印で表示するためにのみ用いられてもよい。RAM44はCPU40の処理対象となるデータを一時的に保持する揮発性の記憶媒体である。種々のプログラムは、その一部又は全部をネットワークを介した通信によってROM42に格納されてもよい。尚、磁気センサ制御装置と3次元磁気センサ4とを1チップの磁気測定装置として構成することもできる。   The control unit 45 is a so-called computer including a CPU 40, a ROM 42, and a RAM 44, and constitutes a magnetic sensor control device. The CPU 40 is a processor that controls the entire mobile phone 1. The ROM 42 is a non-volatile storage medium that stores a magnetic sensor control program executed by the CPU 40 and various programs for realizing the function of the moving body, for example, a navigation program. The magnetic sensor control program is a program for providing azimuth data to a navigation program or the like based on the magnetic data output from the three-dimensional magnetic sensor 4. The azimuth data is two-dimensional vector data indicating the direction of geomagnetism. The azimuth data may be provided to the navigation program as three-dimensional vector data. The module group of the magnetic sensor control program includes an offset setting program. The offset setting program is a program for setting an offset for correcting magnetic data output from the three-dimensional magnetic sensor 4. When the CPU 40 executes the magnetic sensor control program, the CPU 40, the RAM 44, and the ROM 42 function as a magnetic sensor control device. The navigation program is a well-known program that displays a surrounding map from the current location to the destination. For ease of map recognition, the map is displayed on the screen so that the orientation on the map matches the actual orientation. Therefore, for example, when the mobile phone 1 rotates, the map displayed on the display 5 rotates relative to the display 5 so as not to rotate relative to the ground. Direction data is used for such map display processing. Of course, the azimuth data may be used only for displaying the azimuth by characters or arrows. The RAM 44 is a volatile storage medium that temporarily holds data to be processed by the CPU 40. Some or all of the various programs may be stored in the ROM 42 by communication via a network. The magnetic sensor control device and the three-dimensional magnetic sensor 4 can be configured as a one-chip magnetic measurement device.

アンテナ13、RF部10、変復調部12及びCDMA部14は、基地局と携帯型電話機1とでCDMA方式の通信を行うための回路である。
音声処理部18は、マイクロホン16から入力されるアナログ音声信号のAD変換と、スピーカ50にアナログ音声信号を出力するためのDA変換を行う回路である。
GPS受信部20は、アンテナ21で受信されたGPS衛星からのGPS電波を処理し、現在位置の緯度経度を出力する回路である。
キー入力部48は、文字入力キーを兼ねたダイヤルキー、カーソルキー等を備える。
電子撮像部52は、図示しない光学系、撮像素子、AD変換器等で構成されている。
表示部54は、LCD等のディスプレイ5、図示しない表示制御回路等で構成され、携帯型電話機1の動作モードに応じた各種画面をディスプレイ5に表示する。
報知部58は、図示しない音源回路、着信音スピーカ、バイブレータ、LED等を備え、着信をユーザに報知する。
The antenna 13, the RF unit 10, the modem unit 12, and the CDMA unit 14 are circuits for performing CDMA communication between the base station and the mobile phone 1.
The audio processing unit 18 is a circuit that performs AD conversion of an analog audio signal input from the microphone 16 and DA conversion for outputting the analog audio signal to the speaker 50.
The GPS receiver 20 is a circuit that processes GPS radio waves from GPS satellites received by the antenna 21 and outputs the latitude and longitude of the current position.
The key input unit 48 includes a dial key that also serves as a character input key, a cursor key, and the like.
The electronic imaging unit 52 includes an optical system (not shown), an imaging device, an AD converter, and the like.
The display unit 54 includes a display 5 such as an LCD, a display control circuit (not shown), and the like, and displays various screens according to the operation mode of the mobile phone 1 on the display 5.
The notification unit 58 includes a sound source circuit, a ring tone speaker, a vibrator, an LED, and the like (not shown) and notifies the user of an incoming call.

図4は、3次元磁気センサ4の概略内部構成図である。3次元磁気センサ4は、地磁気による磁界ベクトルのx方向成分、y方向成分、z方向成分をそれぞれ検出するためのx軸センサ30とy軸センサ32とz軸センサ34とを備えている。x軸センサ30、y軸センサ32及びz軸センサ34は、いずれも巨大磁気抵抗効果素子、ホール素子等で構成され、指向性のある1次元磁気センサであればどのようなものであってもよい。x軸センサ30、y軸センサ32およびz軸センサ34は、それぞれの感度方向が互いに直交するように固定されている。x軸センサ30、y軸センサ32、z軸センサ34、温度センサ36の出力は、切換部24によって択一的に選択され増幅器25で増幅された後にA/D変換器26によってAD変換される。x軸センサ30、y軸センサ32、z軸センサ34、温度センサ36の出力に対応するx軸磁気データ、y軸磁気データ、z軸磁気データ、温度データは、磁気センサI/F27によってバス11に出力される。温度データはオフセットの設定に用いたり、x軸磁気データ、y軸磁気データ、z軸磁気データのそれぞれの温度補正に用いることが可能である。x軸磁気データ、y軸磁気データ及びz軸磁気データの3成分で構成される3次元磁気センサ4の出力データを磁気データというものとする。   FIG. 4 is a schematic internal configuration diagram of the three-dimensional magnetic sensor 4. The three-dimensional magnetic sensor 4 includes an x-axis sensor 30, a y-axis sensor 32, and a z-axis sensor 34 for detecting an x-direction component, a y-direction component, and a z-direction component of a magnetic field vector due to geomagnetism. The x-axis sensor 30, the y-axis sensor 32, and the z-axis sensor 34 are all composed of giant magnetoresistive elements, Hall elements, etc., and any directivity one-dimensional magnetic sensor can be used. Good. The x-axis sensor 30, the y-axis sensor 32, and the z-axis sensor 34 are fixed so that their sensitivity directions are orthogonal to each other. Outputs of the x-axis sensor 30, the y-axis sensor 32, the z-axis sensor 34, and the temperature sensor 36 are alternatively selected by the switching unit 24, amplified by the amplifier 25, and then AD-converted by the A / D converter 26. . The x-axis magnetic data, y-axis magnetic data, z-axis magnetic data, and temperature data corresponding to the outputs of the x-axis sensor 30, the y-axis sensor 32, the z-axis sensor 34, and the temperature sensor 36 are sent to the bus 11 by the magnetic sensor I / F 27. Is output. The temperature data can be used for setting an offset or for correcting each temperature of x-axis magnetic data, y-axis magnetic data, and z-axis magnetic data. The output data of the three-dimensional magnetic sensor 4 composed of three components of x-axis magnetic data, y-axis magnetic data, and z-axis magnetic data is referred to as magnetic data.

2.第一のオフセット設定方法
図1は、本発明を適用した第一のオフセット設定方法における処理の流れを示すフローチャートである。図1に示す処理は、ナビゲーションプログラムの起動時、着信時、一定時間毎等に起動されるオフセット設定プログラムが制御部45によって実行されることによって進行する。
2. First Offset Setting Method FIG. 1 is a flowchart showing a process flow in a first offset setting method to which the present invention is applied. The process shown in FIG. 1 proceeds when the control unit 45 executes an offset setting program that is activated when the navigation program is activated, when an incoming call is received, or at regular intervals.

ステップS100では最初の基点が設定される。基点はxyzの3成分を有する座標としてデータ構造体に記憶され、ベクトル空間における特定の点の位置を示す。最初の基点は任意に設定しうるが、例えば、ナビゲーションプログラムの前回の終了時に設定されていたオフセットを基点として設定したり、工場出荷時に測定されたオフセットを最初の基点として設定しておくことができる。データ構造体や変数の値は、RAM44に記憶される。   In step S100, the first base point is set. The base point is stored in the data structure as coordinates having three components of xyz, and indicates the position of a specific point in the vector space. The initial base point can be set arbitrarily, but for example, the offset set at the previous end of the navigation program may be set as the base point, or the offset measured at the time of factory shipment may be set as the first base point. it can. Data structures and variable values are stored in the RAM 44.

ステップS102では、磁気データが制御部45に入力され、入力された磁気データがp1に設定される。磁気データは、xyzの3成分を有する座標としてデータ構造体p1に記憶され、ベクトル空間における特定の点の位置を示す。
ステップS104では、磁気データが制御部45に入力され、入力された磁気データがp2に設定される。p1に設定される磁気データが入力されてから、p2に設定される磁気データが入力されるまでの時間間隔は任意に設定することができる。磁気データは、xyzの3成分を有する座標としてデータ構造体p2に記憶され、ベクトル空間における特定の点の位置を示す。
At step S102, is input to the magnetic data control unit 45, a magnetic data input is set to p 1. The magnetic data is stored in the data structure p 1 as coordinates having three components of xyz, and indicates the position of a specific point in the vector space.
At step S104, is input to the magnetic data control unit 45, a magnetic data input is set to p 2. The time interval from the input of the magnetic data set at p 1 to the input of the magnetic data set at p 2 can be arbitrarily set. The magnetic data is stored in the data structure p 2 as coordinates having three components of xyz and indicates the position of a specific point in the vector space.

ステップS106では、p1とp2との距離が算出され、その距離が所定値より大きいかが判定される。算出された距離が所定値以下であればステップS104の処理によって再び磁気データが入力され、新たに入力された磁気データによってp2が更新される。
1とp2の距離が近すぎる場合、3次元磁気センサ4自体の測定誤差や3次元磁気センサ4の出力をディジタル値で取り出す際の計算誤差等の影響によって真の方位球の球面からp1とp2がわずかに離れるだけでp1とp2の垂直二等分面と真のオフセットに対応する点との距離が大きく離れるため(図5の一点鎖線参照)、その垂直二等分面を用いてオフセットを算出すると、算出されたオフセットと真のオフセットとの誤差が大きくなる。ステップS106の処理では、あまりに近い2点の垂直二等分面がオフセットの設定に用いられることがないように、入力された磁気データが選抜される。またステップS106の処理では、垂直二等分面を算出するための磁気データが入力順に組み合わせられるため、1つの垂直二等分面が求まる1組の磁気データに対応する磁界強度の差を低減することができる。したがって、そのようにして求めた垂直二等分面を用いてオフセットを算出することにより、測定中に地磁気の強さの変動の影響を受けにくくなるため、精度良くオフセットを設定することができる。これに対し、入力順があまりに遠い2点の垂直二等分面を算出する場合、測定期間中に2点に対応する各磁気データの地磁気の強さが異なる可能性があるので、算出される垂直二等分面と真のオフセットに対応する点との距離が大きくなる垂直二等分面が算出されるおそれがある。
In step S106, a distance between p 1 and p 2 is calculated, and it is determined whether the distance is greater than a predetermined value. Calculated distance is input again the magnetic data by the processing in step S104 is equal to or less than a predetermined value, p 2 is updated by the newly entered magnetic data.
If the distance between p 1 and p 2 is too close, the measurement error of the three-dimensional magnetic sensor 4 itself, the calculation error when extracting the output of the three-dimensional magnetic sensor 4 as a digital value, and the like will cause the p 1 and p 2 just leaves slightly p 1 and perpendicular bisector of p 2 and true for the distance between the point corresponding to the offset deviates greatly (see the one-dot chain lines in FIG. 5), the perpendicular bisector When the offset is calculated using the surface, an error between the calculated offset and the true offset increases. In the process of step S106, the input magnetic data is selected so that two perpendicular bisectors that are too close are not used for the offset setting. Further, in the process of step S106, magnetic data for calculating the vertical bisector is combined in the order of input, so the difference in magnetic field strength corresponding to a set of magnetic data for which one vertical bisector is obtained is reduced. be able to. Therefore, by calculating the offset using the vertical bisector thus obtained, it is less likely to be affected by fluctuations in the strength of the geomagnetism during measurement, so that the offset can be set with high accuracy. On the other hand, when calculating two vertical bisectors whose input order is too far, the geomagnetism strength of each magnetic data corresponding to the two points may be different during the measurement period. There is a risk of calculating a vertical bisector where the distance between the vertical bisector and the point corresponding to the true offset is large.

ステップS108では、p1とp2の垂直二等分面が算出される。p1を(x1,y1,z1)、p2を(x2,y2,z2)とすると、p12の垂直二等分面の式は以下の式(1)の通りである。

Figure 2007225325
In step S108, a perpendicular bisector of p 1 and p 2 is calculated. Assuming that p 1 is (x 1 , y 1 , z 1 ) and p 2 is (x 2 , y 2 , z 2 ), the vertical bisector of p 1 p 2 is given by the following equation (1): Street.
Figure 2007225325

算出した垂直二等分面を後の計算で用いるためには、平面方程式ax+by+cz+d=0の各定数として、以下の式(2)で表される変数a,b,c,dを算出し記憶すればよい。

Figure 2007225325
In order to use the calculated vertical bisector in subsequent calculations, variables a, b, c, and d expressed by the following equation (2) are calculated and stored as constants of the plane equation ax + by + cz + d = 0. That's fine.
Figure 2007225325

尚、後続のステップS112では、ステップS108で連続して算出される2平面を用いて処理が行われるため、今回の平面方程式と前回の平面方程式を別々に記憶するための変数a1,b1,c1,d1,a2,b2,c2,d2を用意し、今回の平面方程式を記憶するための変数a1,b1,c1,d1に格納されている前回算出された平面方程式の定数を、前回の平面方程式を記憶するための変数a2,b2,c2,d2に格納し直す処理が必要になる。 In the subsequent step S112, since processing is performed using the two planes continuously calculated in step S108, the variables a 1 and b 1 for storing the current plane equation and the previous plane equation separately are stored. , C 1 , d 1 , a 2 , b 2 , c 2 , d 2, and the previous calculation stored in the variables a 1 , b 1 , c 1 , d 1 for storing the current plane equation It is necessary to store the constants of the plane equation thus stored in the variables a 2 , b 2 , c 2 , and d 2 for storing the previous plane equation.

ステップS110、112では、二回目以降に算出された垂直二等分面について、今回算出された垂直二等分面と前回算出された垂直二等分面のなす角θが所定値αより大きいかが判定される。2平面のなす角θが所定値α以下であれば、前回算出された垂直二等分面とのなす角θがαより大きくなる垂直二等分面が算出されるまで、新たな磁気データの入力と垂直二等分面の算出が繰り返される。   In steps S110 and 112, for the vertical bisector calculated after the second time, whether the angle θ formed by the currently calculated vertical bisector and the previously calculated vertical bisector is greater than a predetermined value α. Determined. If the angle θ formed by the two planes is less than or equal to the predetermined value α, the new magnetic data is updated until the vertical bisector where the angle θ formed with the previously calculated vertical bisector is greater than α is calculated. The input and vertical bisector calculations are repeated.

2平面のなす角を求めることは、それぞれの平面の法線ベクトルのなす角を求めることと等価である。したがって、今回算出された垂直二等分面a1x+b1y+c1z+d1=0と、前回算出された垂直二等分面a2x+b2y+c2z+d2=0と、それらのなす角θの関係は、以下の式(3)の通りである。

Figure 2007225325
Finding the angle between the two planes is equivalent to finding the angle between the normal vectors of the respective planes. Therefore, the vertical bisector a 1 x + b 1 y + c 1 z + d 1 = 0 calculated this time, the previously calculated vertical bisector a 2 x + b 2 y + c 2 z + d 2 = 0, and the angle θ formed by them The relationship is as shown in the following formula (3).
Figure 2007225325

したがって、二平面のなす角θが所定値α(α<π/2)より大きいかを判定するためには、以下の式(4)の関係が成立しているか否かを計算により判定すればよい。

Figure 2007225325
Therefore, in order to determine whether the angle θ formed by the two planes is larger than the predetermined value α (α <π / 2), it is determined by calculation whether the relationship of the following equation (4) is established. Good.
Figure 2007225325

連続して算出された垂直二等分面のなす角が図6に示すようにあまりに小さい場合、それら2平面の真のオフセットからの距離が近くても2平面は真のオフセットから遠い位置で交わる。本実施形態で採用されているアルゴリズムは、更新される基点の軌跡が平面の交わる直線に向かう性質を有するため、交わる直線が真のオフセットに対応する点から遠くなる可能性のある2平面を用いて基点の更新を行うことはオフセットの算出精度を落とす原因になる。また、ほぼ平行な2平面を用いて基点を更新しても、基点が真のオフセットに向かって動きにくいということもある。ステップS112では、このような問題を解決するために、算出された平面の選抜が行われている。   When the angle formed by the continuously calculated perpendicular bisectors is too small as shown in FIG. 6, even if the distance from the true offset of these two planes is close, the two planes intersect at a position far from the true offset. . The algorithm employed in the present embodiment has the property that the locus of the base point to be updated is directed to a straight line where the planes intersect, so that the intersecting straight lines use two planes that may be far from the point corresponding to the true offset. Updating the base point causes a decrease in the offset calculation accuracy. Further, even if the base point is updated using two substantially parallel planes, the base point may not easily move toward the true offset. In step S112, in order to solve such a problem, the calculated plane is selected.

ステップS114では、基点から今回算出された垂直二等分面に下ろした垂線の足の座標が求められ、その足に基点が更新される。基点の座標を(x0,y0,z0)とすると、その基点から今回算出された垂直二等分面a1x+b1y+c1z+d1=0に下ろした垂線の足の座標(xa,ya,za)は以下の式(5)によって求まる。

Figure 2007225325
In step S114, the coordinates of the foot of the perpendicular line drawn from the base point to the vertical bisector calculated this time are obtained, and the base point is updated to the foot. Assuming that the coordinates of the base point are (x 0 , y 0 , z 0 ), the vertical foot coordinates (x a) down from the base point to the vertical bisector a 1 x + b 1 y + c 1 z + d 1 = 0 calculated this time. , Y a , z a ) is obtained by the following equation (5).
Figure 2007225325

ステップS114の処理が繰り返されると、順次更新される基点は図5に示す軌跡を辿って徐々に狭い範囲に収束する。図5では、f1からf4は垂線が下ろされた垂直二等分面を示し、fの添え字は垂直二等分面の算出順を示している。また、破線は基点の更新軌跡を示している。なお、f5以降の垂直二等分面は省略されている。本実施形態で採用されているアルゴリズムでは、オフセットを算出するための母集団要素数(磁気データの数)が少なくても、母集団要素数に応じた正確さでオフセットを算出できる。また、本実施形態で採用されているアルゴリズムでは、垂直二等分面を用いてオフセットが算出されるため、地磁気の強さの変化によってオフセットの算出精度が落ちにくい。例えば、地磁気の強さが変化して真の方位球の球面がS1からS2に変化したと仮定する。真の方位球の球面がS2であるときに入力される磁気データに対応するp1、p2(図5で黒丸で示されている点)の垂直二等分面は、真の方位球の球面がS1であるときに同一の姿勢とタイミングで入力される磁気データに対応する点(図5で三角形で示されている点)の垂直二等分面に一致する。したがって、本実施形態では地磁気の強さが変化しても、オフセットの算出精度が落ちにくい。 When the process of step S114 is repeated, the base points that are sequentially updated follow the locus shown in FIG. 5 and gradually converge to a narrow range. In FIG. 5, f 1 to f 4 indicate vertical bisectors with perpendicular lines, and the suffix “f” indicates the calculation order of the vertical bisectors. Moreover, the broken line has shown the update locus | trajectory of the base point. The vertical bisector after f 5 is omitted. In the algorithm employed in the present embodiment, even if the number of population elements (number of magnetic data) for calculating the offset is small, the offset can be calculated with accuracy according to the number of population elements. In addition, in the algorithm employed in this embodiment, the offset is calculated using the vertical bisector, so that the offset calculation accuracy is unlikely to decrease due to a change in the strength of the geomagnetism. For example, assume that the strength of the geomagnetism changes and the spherical surface of the true azimuth sphere changes from S 1 to S 2 . The perpendicular bisector of p 1 and p 2 (points indicated by black circles in FIG. 5) corresponding to the magnetic data input when the spherical surface of the true azimuth sphere is S 2 is the true azimuth sphere. When the spherical surface of S 1 is S 1 , it coincides with a perpendicular bisector of a point (point indicated by a triangle in FIG. 5) corresponding to magnetic data input with the same posture and timing. Therefore, in this embodiment, even if the strength of geomagnetism changes, the offset calculation accuracy is unlikely to drop.

ステップS116では、基点の更新回数が予め決められた所定回数に達しているかが判定される。
基点の更新回数がある程度多くなれば、基点は真のオフセットに対応する点に近い狭い範囲に収束していると考えられる。そこで、基点の更新回数が所定回数に達した場合には、基点の成分がオフセットとして設定される(ステップS118)。
In step S116, it is determined whether the number of base point updates has reached a predetermined number.
If the number of updates of the base point increases to some extent, the base point is considered to have converged in a narrow range close to the point corresponding to the true offset. Therefore, when the base point update count reaches a predetermined number, the base point component is set as an offset (step S118).

オフセットが初めて設定された以後も上述の処理が繰り返され、都度オフセットが更新される。オフセットの更新は何度繰り返されてもよいし、所定回数で更新処理がうち切られてもよい。また、基点の更新回数に関わらずにオフセットが設定されてもよい。このようにして設定されるオフセットは、方位データを利用するプログラムが必要とするタイミングで利用される。尚、方位データを利用するプログラムの要求に応じて上述のようにして1度だけオフセットを設定してもよい。いずれにしても、本実施形態では、3次元磁気センサ4の出力に基づいてそのオフセットが設定されるため、キャリブレーション中に3次元磁気センサ4のxy軸が水平面上を回転している必要はない。したがって、キャリブレーションのためにユーザに特定の操作を強いる必要はない。このことから、3次元磁気センサのキャリブレーションでは、キャリブレーションにどれだけ時間を掛けてもよいし、どのようなタイミングでキャリブレーションを実行してもよいことになる。キャリブレーションにおける操作方法やタイミングをユーザに案内しない場合、キャリブレーション中に磁界の強さが変動することが想定される。本実施形態では、垂直二等分面を用いてオフセットが算出されるため、仮にキャリブレーション中に磁界の強さが変動したとしても、上述したようにオフセットの算出精度が落ちにくい。   The above process is repeated after the offset is set for the first time, and the offset is updated each time. The update of the offset may be repeated any number of times, and the update process may be cut off a predetermined number of times. Also, an offset may be set regardless of the number of base point updates. The offset set in this way is used at a timing required by a program that uses azimuth data. Note that the offset may be set only once as described above in accordance with the request of the program using the azimuth data. In any case, in this embodiment, since the offset is set based on the output of the three-dimensional magnetic sensor 4, the xy axis of the three-dimensional magnetic sensor 4 needs to be rotated on the horizontal plane during the calibration. Absent. Therefore, it is not necessary to force the user to perform a specific operation for calibration. For this reason, in the calibration of the three-dimensional magnetic sensor, it may take time for the calibration, and the calibration may be executed at any timing. When the operation method and timing in calibration are not guided to the user, it is assumed that the strength of the magnetic field fluctuates during calibration. In the present embodiment, since the offset is calculated using the vertical bisector, even if the magnetic field strength fluctuates during calibration, the offset calculation accuracy is unlikely to decrease as described above.

3.第二のオフセット設定方法
図7及び図8は、本発明を適用した第二のオフセット設定方法における処理の流れを示すフローチャートである。第二のオフセット設定方法が第一のオフセット設定方法と異なる主な点は、所定数(例えば5個)の垂直二等分面からなる1つの垂直二等分面群を繰り返し用いて基点を更新する点である。図7及び図8に示す処理は、オフセット設定プログラムが制御部45によって実行されることによって進行する。
3. Second Offset Setting Method FIGS. 7 and 8 are flowcharts showing the flow of processing in the second offset setting method to which the present invention is applied. The main difference between the second offset setting method and the first offset setting method is that the base point is updated by repeatedly using one vertical bisector group consisting of a predetermined number (for example, five) of perpendicular bisectors. It is a point to do. The processing shown in FIGS. 7 and 8 proceeds when the offset setting program is executed by the control unit 45.

ステップS200では、最初の基点が設定され、カウンタiが1に設定される。カウンタiは、基点更新に繰り返し用いられる垂直二等分面群を蓄積する第一のループ処理の繰り返し数である。
ステップS202からステップS212まで、第一のオフセット設定方法で説明されたステップS102からステップS112までの処理と同様の処理が実行される。
In step S200, the first base point is set and the counter i is set to 1. The counter i is the number of repetitions of the first loop processing for accumulating vertical bisector groups that are repeatedly used for updating the base point.
From step S202 to step S212, processing similar to the processing from step S102 to step S112 described in the first offset setting method is executed.

ステップS214では、今回算出された垂直二等分面がfiとして記憶される。すなわち、今回算出された垂直二等分面が、基点更新に繰り返し用いられる垂直二等分面群の第i番目の要素として記憶される。具体的には、今回算出された垂直二等分面の式の各定数がai,bi,ci,diの各変数に格納される。
ステップS218でiがインクリメントされながら垂直二等分面の算出が繰り返され、n番目の垂直二等分面fnが記憶されると(ステップS216で肯定判定される場合)、n個の垂直二等分面について以下のように基点の更新処理が開始される。nは1つの垂直二等分面群の構成要素数を規定する定数である。
In step S214, the currently calculated vertical bisector is stored as f i . That is, the vertical bisector calculated this time is stored as the i-th element of the vertical bisector group used repeatedly for the base point update. Specifically, each constant of the vertical bisector formula calculated this time is stored in each variable a i , b i , c i , d i .
While i is incremented in step S218 calculates the perpendicular bisector is repeated, (if an affirmative decision is made at step S216) n-th perpendicular bisector f n is and stored, n-number of perpendicular double The base point update process is started for the equally divided plane as follows. n is a constant that defines the number of components of one vertical bisector group.

ステップS220ではカウンタjが1に設定される。カウンタjはn個の垂直二等分面のそれぞれを基点更新に繰り返し用いる回数を制限するためのカウンタである。n個の垂直二等分面が十分近い範囲で交わっていない場合は、それらの垂直二等分面を何度繰り返し用いて基点更新したとしても、基点は真のオフセットに対応する点に近い狭い範囲に収束しない。したがって、このような場合にはオフセットを求めるために用いる垂直二等分面群を更新することが望ましい。カウンタjを用いるのはこのような理由による。   In step S220, the counter j is set to 1. The counter j is a counter for limiting the number of times each of the n vertical bisectors is repeatedly used for the base point update. If n vertical bisectors do not intersect in a sufficiently close range, the base point is narrow and close to the point corresponding to the true offset even if the vertical bisector is used repeatedly to update the base point. Does not converge to the range. Therefore, in such a case, it is desirable to update the vertical bisector group used for obtaining the offset. This is the reason why the counter j is used.

ステップS222ではgに現在の基点の座標が設定される。gは概念的には基点更新の終了判定がなされる時点で最後から2番目に算出された基点である。具体的にはgは3成分を有する現在の基点の座標が格納されるデータ構造体である。
ステップS224では、変数lmaxが0に、カウンタiが1に設定される。lmaxは基点更新の終了判定に用いる距離が格納される変数である。iは要素数がn個である1つの垂直二等分面群について1番目の垂直二等分面からn番目の垂直二等分面まで、順次垂線の足を求める対象となる垂直二等分面を特定するためのカウンタである。
In step S222, the coordinates of the current base point are set in g. Conceptually, g is the base point calculated second from the end when the end point of base point update is determined. Specifically, g is a data structure in which the coordinates of the current base point having three components are stored.
In step S224, the variable l max is set to 0 and the counter i is set to 1. l max is a variable in which a distance used for determining whether to update the base point is stored. i is a vertical bisector for which a vertical leg is sequentially obtained from the first vertical bisector to the n-th vertical bisector for one vertical bisector having n elements. It is a counter for specifying a surface.

ステップS226では、基点から垂直二等分面fiに下ろした垂線の足の座標が求められ、その足に基点が更新される。
ステップS228では、更新された基点と更新前の基点gとの距離lが算出され、距離lがlmaxより大きいか否かが判定される。
今回算出された距離lがlmaxより大きければ、lmaxはlに更新される(ステップS30)。
In step S226, the coordinates of the perpendicular foot drawn from the base point to the vertical bisector f i are obtained, and the base point is updated to the foot.
In step S228, the distance l between the updated base point and the base point g before the update is calculated, and it is determined whether or not the distance l is greater than l max .
If this calculated distance l is greater than l max, l max is updated to l (step S30).

ステップS232では、n個の垂直二等分面を用いて基点を更新する処理が一巡したかが判定される。具体的にはiとnの一致判定が行われる。
ステップS234でiがインクリメントされながらn個の垂直二等分面からなる1つの垂直二等分面群を用いて基点を更新する処理が一巡すると、その垂直二等分面群を用いて基点を更新する処理の終了判定が次のように実行される。
In step S232, it is determined whether the process of updating the base point using n vertical bisectors has been completed. Specifically, i and n match determination is performed.
When the process of updating the base point using one vertical bisector group consisting of n vertical bisectors while i is incremented in step S234 completes, the base point is determined using the vertical bisector group. The end determination of the update process is executed as follows.

ステップS236では、lmaxが予め決められた所定値以下(例えば2μT程度以下)であるかが判定される。lmaxには、n個の垂直二等分面からなる1つの垂直二等分面群を用いて基点を更新する処理が一巡する過程で算出された2つの基点間距離の最大値が格納されている(図9参照)。1つの垂直二等分面群を用いて基点が更新される過程において1度の更新によって基点が移動する最大距離が小さければ、狭い範囲に基点が収束していると考えられる。したがって、lmaxがある程度小さくなったことをもって真のオフセットに対応する点に近い基点が求まっていると判定することができる。 In step S236, it is determined whether l max is equal to or less than a predetermined value (for example, approximately 2 μT or less). In l max , the maximum value of the distance between the two base points calculated in the course of the process of updating the base point using one vertical bisector group consisting of n vertical bisectors is stored. (See FIG. 9). If the maximum distance that the base point moves by one update in the process of updating the base point using one vertical bisector group is small, it is considered that the base point has converged in a narrow range. Therefore, it can be determined that a base point close to the point corresponding to the true offset has been obtained when l max has decreased to some extent.

maxが予め決められた所定値以下であれば、最後に求められた基点の成分がオフセットとして設定される(ステップS242)。
maxが予め決められた所定値以下でなければ、カウンタjがインクリメントされながら(ステップS240)、n個の垂直二等分面からなる1つの垂直二等分面群を用いて基点を更新する処理が繰り返される(図10参照)。
If l max is less than or equal to a predetermined value, the last determined base point component is set as an offset (step S242).
If l max is not less than a predetermined value, the base point is updated using one vertical bisector group consisting of n vertical bisectors while the counter j is incremented (step S240). The process is repeated (see FIG. 10).

1つの垂直二等分面群を用いて基点を更新する処理が予め決められた回数(例えば20回)だけ巡回してもlmaxが予め決められた所定値以下にならなければ(ステップS238で肯定判定される場合)、記憶されている1つの垂直二等分面群が破棄されてステップS202の処理に戻る。その後、上述したように磁気データの入力処理、n個の垂直二等分面の蓄積処理が繰り返され、n個の垂直二等分面が新たに蓄積されると、新たに蓄積された1つの垂直二等分面群について基点の更新処理が上述したように繰り返される。 Even if the process of updating the base point using one vertical bisector group is repeated for a predetermined number of times (for example, 20 times), l max does not fall below a predetermined value (step S238). If the determination is affirmative), the stored one vertical bisector group is discarded and the process returns to step S202. Thereafter, as described above, the magnetic data input process and the n vertical bisectors are repeated, and when n vertical bisectors are newly accumulated, one newly accumulated one is stored. The base point update process is repeated for the vertical bisector group as described above.

3.第三のオフセット設定方法
図11は本発明を適用した第三のオフセット設定方法を示す模式図である。第三のオフセット設定方法が第一のオフセット設定方法及び第二のオフセット設定方法と異なる点は、基点を垂直二等分面に下ろす垂線の足で更新するのではなく、基点から垂直二等分面に垂直に下ろす線分の内分点で基点を更新する点である。第三のオフセット設定方法は、第一のオフセット設定方法にも第二のオフセット設定方法にも適用可能である。
3. Third Offset Setting Method FIG. 11 is a schematic diagram showing a third offset setting method to which the present invention is applied. The third offset setting method is different from the first offset setting method and the second offset setting method in that the base point is not updated with the foot of the vertical line that hangs down to the vertical bisector, but the vertical bisector from the base point. This is the point at which the base point is updated at the internal dividing point of the line segment drawn down perpendicular to the surface. The third offset setting method can be applied to both the first offset setting method and the second offset setting method.

図11では第二のオフセット設定方法において基点から垂直二等分面に垂直に下ろす線分の中点で基点が更新される場合に基点が辿る軌跡が破線で示されている。ただし内分点を1:2、2:1、1:3、3:1とどのように設定するかは設計事項である。図11に示されるように、真のオフセットから遠い垂直二等分面f4を用いて基点の更新処理が行われる場合、各垂直二等分面に下ろす足で基点が更新されると、真のオフセットに対応する点からやや遠い範囲にまで基点(軌跡の屈曲点に相当する)が分布する。これに対し、真のオフセットから遠い垂直二等分面f4に垂直に下ろす線分の内分点で基点が更新される場合には、真のオフセットに対応する点からより近い範囲に基点が分布する。したがって、基点から垂直二等分面に垂直に下ろす線分の内分点で基点を更新することにより、真のオフセットに対応する点から遠い基点の成分でオフセットが設定されることを防止できる。 In FIG. 11, in the second offset setting method, a locus traced by the base point when the base point is updated at the midpoint of the line segment extending vertically from the base point to the vertical bisector is indicated by a broken line. However, how to set the internal dividing point as 1: 2, 2: 1, 1: 3, 3: 1 is a design matter. As shown in FIG. 11, when the base point update process is performed using the vertical bisector f 4 far from the true offset, the true point is updated when the base point is updated with a foot down to each vertical bisector. The base points (corresponding to the inflection points of the trajectory) are distributed in a range slightly distant from the point corresponding to the offset. On the other hand, when the base point is updated at the internal dividing point of the line segment perpendicular to the vertical bisector f 4 far from the true offset, the base point is in a range closer to the point corresponding to the true offset. Distributed. Therefore, by updating the base point at the internal dividing point of the line segment extending vertically from the base point to the vertical bisector, it is possible to prevent the offset from being set by the component of the base point far from the point corresponding to the true offset.

4.他の実施形態
以上、本発明を3次元磁気センサに適用した例について説明したが、本発明は2次元磁気センサに適用することもできる。また、オフセットの精度を上げるためには磁気データ及び垂直二等分面の選抜を行った方がよいが、必ずしもこれらの選抜を行わなくてもよいし、本実施形態で説明された例とは別の数学的処理によって選別することもできる。また、第二のオフセット設定方法においてキャリブレーションの終了判定を例示していたが、説明された終了判定は第一のオフセット設定方法にも適用できる。
4). Other Embodiments Although an example in which the present invention is applied to a three-dimensional magnetic sensor has been described above, the present invention can also be applied to a two-dimensional magnetic sensor. Further, in order to increase the accuracy of offset, it is better to select magnetic data and vertical bisector, but it is not always necessary to select these, and the example described in this embodiment It is also possible to sort by another mathematical process. Moreover, although the end determination of calibration was illustrated in the second offset setting method, the described end determination can also be applied to the first offset setting method.

本発明の実施形態に係るフローチャート。The flowchart which concerns on embodiment of this invention. 本発明の実施形態に係る模式図。The schematic diagram which concerns on embodiment of this invention. 本発明の実施形態に係るブロック図。The block diagram which concerns on embodiment of this invention. 本発明の実施形態に係るブロック図。The block diagram which concerns on embodiment of this invention. 本発明の実施形態に係る模式図。The schematic diagram which concerns on embodiment of this invention. 本発明の実施形態に係る模式図。The schematic diagram which concerns on embodiment of this invention. 本発明の実施形態に係るフローチャート。The flowchart which concerns on embodiment of this invention. 本発明の実施形態に係るフローチャート。The flowchart which concerns on embodiment of this invention. 本発明の実施形態に係る模式図。The schematic diagram which concerns on embodiment of this invention. 本発明の実施形態に係る模式図。The schematic diagram which concerns on embodiment of this invention. 本発明の実施形態に係る模式図。The schematic diagram which concerns on embodiment of this invention.

符号の説明Explanation of symbols

1:携帯型電話機、4:3次元磁気センサ、24:切換部、25:増幅器、26:A/D変換器、27:磁気センサI/F、30:x軸センサ、32:y軸センサ、34:z軸センサ、40:CPU、42:ROM、44:RAM、45:制御部(磁気センサ制御装置)
1: mobile phone, 4: three-dimensional magnetic sensor, 24: switching unit, 25: amplifier, 26: A / D converter, 27: magnetic sensor I / F, 30: x-axis sensor, 32: y-axis sensor, 34: z-axis sensor, 40: CPU, 42: ROM, 44: RAM, 45: control unit (magnetic sensor control device)

Claims (12)

磁気センサから順次出力される、3成分又は2成分を有する複数の磁気データを順次入力する手段と、
2つの前記磁気データに対応する2点の垂直二等分面又は垂直二等分線を、入力順に組み合わせられた2つ1組の前記磁気データ毎に算出する手段と、
基点から前記垂直二等分面又は前記垂直二等分線に垂直に下ろす線分上の点に前記基点を更新する処理を、複数の前記垂直二等分面又は複数の前記垂直二等分線について繰り返し、更新された前記基点の成分に基づいて前記磁気データのオフセットを設定する手段と、
を備える磁気センサ制御装置。
Means for sequentially inputting a plurality of magnetic data having three or two components sequentially output from the magnetic sensor;
Means for calculating two sets of perpendicular bisectors or perpendicular bisectors corresponding to the two magnetic data for each set of the magnetic data combined in the order of input;
A process of updating the base point from a base point to a point on the vertical bisector or a line segment perpendicular to the vertical bisector, the plurality of vertical bisectors or the plurality of vertical bisectors Means for setting an offset of the magnetic data based on the updated component of the base point;
A magnetic sensor control device comprising:
前記オフセットを設定する手段は、前記基点を更新する処理を複数の前記垂直二等分面又は前記垂直二等分線について前記垂直二等分面又は前記垂直二等分線の算出順に1回ずつ繰り返す、
請求項1に記載の磁気センサ制御装置。
The means for setting the offset performs the process of updating the base point once for a plurality of the vertical bisectors or the vertical bisectors in the calculation order of the vertical bisector or the vertical bisector. repeat,
The magnetic sensor control apparatus according to claim 1.
前記オフセットを設定する手段は、前記基点を更新する処理を各前記垂直二等分面又は各前記垂直二等分線について複数回ずつ繰り返す、
請求項1に記載の磁気センサ制御装置。
The means for setting the offset repeats the process of updating the base point a plurality of times for each vertical bisector or each vertical bisector,
The magnetic sensor control apparatus according to claim 1.
予め決められた所定距離以上離れた2点に対応する2つ1組の前記磁気データを入力順に選抜する手段をさらに備え、
前記垂直二等分面又は前記垂直二等分線を算出する手段は、選抜された前記磁気データの組毎に前記垂直二等分面又は前記垂直二等分線を算出する、
請求項1〜3のいずれか一項に記載の磁気センサ制御装置。
A means for selecting two sets of magnetic data corresponding to two points separated by a predetermined distance or more in order of input;
The means for calculating the vertical bisector or the vertical bisector calculates the vertical bisector or the vertical bisector for each selected set of magnetic data.
The magnetic sensor control apparatus as described in any one of Claims 1-3.
既に選抜された前記垂直二等分面又は前記垂直二等分線とのなす全ての角が予め決められた所定角度以上になる前記垂直二等分面又は前記垂直二等分線を選抜する手段をさらに備え、
前記オフセットを設定する手段は、選抜された前記垂直二等分面又は前記垂直二等分線について前記基点を更新する処理を繰り返す、請求項1〜4のいずれか一項に記載の磁気センサ制御装置。
Means for selecting the vertical bisector or the vertical bisector in which all the angles formed by the selected vertical bisector or the perpendicular bisector are equal to or greater than a predetermined angle. Further comprising
5. The magnetic sensor control according to claim 1, wherein the means for setting the offset repeats the process of updating the base point for the selected vertical bisector or the perpendicular bisector. apparatus.
前記オフセットを設定する手段は、前記基点から前記垂直二等分面又は前記垂直二等分線に下ろす垂線の足に前記基点を更新する、請求項1〜5のいずれか一項に記載の磁気センサ制御装置。   The magnetic unit according to any one of claims 1 to 5, wherein the means for setting the offset updates the base point to a perpendicular foot extending from the base point to the vertical bisector or the vertical bisector. Sensor control device. 前記オフセットを設定する手段は、前記基点から前記垂直二等分面又は前記垂直二等分線に垂直に下ろす線分上の内分点に前記基点を更新する、請求項1〜5のいずれか一項に記載の磁気センサ制御装置。   The means for setting the offset updates the base point to an internal dividing point on the vertical bisector or a line segment perpendicular to the vertical bisector from the base point. The magnetic sensor control device according to one item. 前記オフセットを設定する手段は、前記基点を更新する処理を、前記基点から前記垂直二等分面又は前記垂直二等分線に垂直に下ろす線分の長さが所定値以下になるまで繰り返し、最後の前記基点の成分に基づいて前記オフセットを設定する、請求項3に記載の磁気センサ制御装置。   The means for setting the offset repeats the process of updating the base point until the length of a line segment extending vertically from the base point to the vertical bisector or the vertical bisector is equal to or less than a predetermined value, The magnetic sensor control device according to claim 3, wherein the offset is set based on a component of the last base point. 請求項1〜8のいずれか一項に記載の磁気センサ制御装置と、
前記磁気センサと、
を備える磁気測定装置。
The magnetic sensor control device according to any one of claims 1 to 8,
The magnetic sensor;
A magnetic measuring device comprising:
磁気センサから順次出力される、3成分又は2成分を有する複数の磁気データを順次入力し、
2つの前記磁気データに対応する2点の垂直二等分面又は垂直二等分線を、入力順に組み合わせられた2つ1組の前記磁気データ毎に算出し、
基点から前記垂直二等分面又は前記垂直二等分線に垂直に下ろす線分上の点に前記基点を更新する処理を、複数の前記垂直二等分面又は複数の前記垂直二等分線について繰り返し、
更新された前記基点の成分に基づいて前記磁気データのオフセットを設定する、
ことを含むオフセット設定方法。
A plurality of magnetic data having three components or two components sequentially output from the magnetic sensor are sequentially input,
Two vertical bisectors or vertical bisectors corresponding to the two magnetic data are calculated for each set of the magnetic data combined in the order of input,
A process of updating the base point from a base point to a point on the vertical bisector or a line segment perpendicular to the vertical bisector, the plurality of vertical bisectors or the plurality of vertical bisectors Repeat about the
Setting an offset of the magnetic data based on the updated component of the base point;
An offset setting method.
磁気センサから順次出力される、3成分又は2成分を有する複数の磁気データを順次入力する手段と、
2つの前記磁気データに対応する2点の垂直二等分面又は垂直二等分線を、入力順に組み合わせられた2つ1組の前記磁気データ毎に算出する手段と、
基点から前記垂直二等分面又は前記垂直二等分線に垂直に下ろす線分上の点に前記基点を更新する処理を、複数の前記垂直二等分面又は複数の前記垂直二等分線について繰り返し、更新された前記基点の成分に基づいて前記磁気データのオフセットを設定する手段と、
してコンピュータを機能させるオフセット設定プログラム。
Means for sequentially inputting a plurality of magnetic data having three or two components sequentially output from the magnetic sensor;
Means for calculating two sets of perpendicular bisectors or perpendicular bisectors corresponding to the two magnetic data for each set of the magnetic data combined in the order of input;
A process of updating the base point from a base point to a point on the vertical bisector or a line segment perpendicular to the vertical bisector, the plurality of vertical bisectors or the plurality of vertical bisectors Means for setting an offset of the magnetic data based on the updated component of the base point;
An offset setting program that allows the computer to function.
請求項11に記載のオフセット設定プログラムが格納されたコンピュータ読み取り可能な記録媒体。




A computer-readable recording medium in which the offset setting program according to claim 11 is stored.




JP2006044180A 2006-02-21 2006-02-21 Magnetic sensor control device, magnetic measurement device, offset setting method and program Expired - Fee Related JP4893021B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2006044180A JP4893021B2 (en) 2006-02-21 2006-02-21 Magnetic sensor control device, magnetic measurement device, offset setting method and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2006044180A JP4893021B2 (en) 2006-02-21 2006-02-21 Magnetic sensor control device, magnetic measurement device, offset setting method and program

Related Child Applications (1)

Application Number Title Priority Date Filing Date
JP2011028408A Division JP5195949B2 (en) 2011-02-14 2011-02-14 Magnetic sensor control device, magnetic measurement device, offset setting method and program

Publications (2)

Publication Number Publication Date
JP2007225325A true JP2007225325A (en) 2007-09-06
JP4893021B2 JP4893021B2 (en) 2012-03-07

Family

ID=38547295

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2006044180A Expired - Fee Related JP4893021B2 (en) 2006-02-21 2006-02-21 Magnetic sensor control device, magnetic measurement device, offset setting method and program

Country Status (1)

Country Link
JP (1) JP4893021B2 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010032103A (en) * 2008-07-29 2010-02-12 Hitachi Appliances Inc Air conditioner
EP2363688A2 (en) 2010-03-02 2011-09-07 Yamaha Corporation Magnetic data processing device, method, and program
JP2017129452A (en) * 2016-01-20 2017-07-27 日本電産サンキョー株式会社 Encoder

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS62294906A (en) * 1986-06-16 1987-12-22 Mitsubishi Electric Corp Azimuth detector for moving body
JPH05215553A (en) * 1992-02-03 1993-08-24 Nec Home Electron Ltd Navigation apparatus
JPH06241809A (en) * 1993-02-19 1994-09-02 Nippondenso Co Ltd Azimuth detector

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS62294906A (en) * 1986-06-16 1987-12-22 Mitsubishi Electric Corp Azimuth detector for moving body
JPH05215553A (en) * 1992-02-03 1993-08-24 Nec Home Electron Ltd Navigation apparatus
JPH06241809A (en) * 1993-02-19 1994-09-02 Nippondenso Co Ltd Azimuth detector

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010032103A (en) * 2008-07-29 2010-02-12 Hitachi Appliances Inc Air conditioner
EP2363688A2 (en) 2010-03-02 2011-09-07 Yamaha Corporation Magnetic data processing device, method, and program
JP2017129452A (en) * 2016-01-20 2017-07-27 日本電産サンキョー株式会社 Encoder

Also Published As

Publication number Publication date
JP4893021B2 (en) 2012-03-07

Similar Documents

Publication Publication Date Title
JP4899525B2 (en) Magnetic sensor control device, magnetic measurement device, offset setting method and program
US8437970B2 (en) Restoring and storing magnetometer calibration data
JP4908637B2 (en) Physical quantity measuring apparatus and physical quantity measuring method
EP1775550B1 (en) Magnetic sensor control device
US7119533B2 (en) Method, system and device for calibrating a magnetic field sensor
JP4252555B2 (en) Tilt sensor and azimuth measuring device using the same
JP2012202787A (en) Measuring device, measuring method, program, and recording medium
JP2006113019A (en) Triaxial type electronic compass, and azimuth detecting method using same
JP2006226810A (en) Azimuth measuring instrument
JP4893021B2 (en) Magnetic sensor control device, magnetic measurement device, offset setting method and program
JP5375394B2 (en) Magnetic data processing apparatus, magnetic data processing method, and magnetic data processing program
JP4448957B2 (en) Magnetic measuring device and magnetic measuring method
JP2005195376A (en) Azimuth measuring method, and azimuth measuring instrument
JP5195949B2 (en) Magnetic sensor control device, magnetic measurement device, offset setting method and program
JP4899524B2 (en) Magnetic sensor control device, magnetic measurement device, offset setting method and program
US9423252B2 (en) Using clustering techniques to improve magnetometer bias estimation
RU2623192C1 (en) Method for calibrating electronic magnetic compass
JP4899506B2 (en) Magnetic sensor control device, magnetic measurement device, offset setting method, and offset setting program
JP2020027108A (en) Information processing device, information processing method, data structure and recording medium
JP2014130102A (en) Portable information device, program, and method capable of evaluating stability of walk
KR20060085570A (en) Method of controlling magnetic sensor, control device therefor, and portable terminal
JP4761142B2 (en) Magnetic data processing method, apparatus and program
JP2011017679A (en) Magnetic data processing device, magnetic data processing method, and magnetic data processing program

Legal Events

Date Code Title Description
RD01 Notification of change of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7426

Effective date: 20070824

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20090120

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20101021

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20101214

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20110209

RD03 Notification of appointment of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7423

Effective date: 20110818

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

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

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

Year of fee payment: 3

LAPS Cancellation because of no payment of annual fees