JP5086225B2 - Calibration apparatus, method and program for magnetic direction sensor - Google Patents

Calibration apparatus, method and program for magnetic direction sensor Download PDF

Info

Publication number
JP5086225B2
JP5086225B2 JP2008286447A JP2008286447A JP5086225B2 JP 5086225 B2 JP5086225 B2 JP 5086225B2 JP 2008286447 A JP2008286447 A JP 2008286447A JP 2008286447 A JP2008286447 A JP 2008286447A JP 5086225 B2 JP5086225 B2 JP 5086225B2
Authority
JP
Japan
Prior art keywords
magnetic
sensor
gain
offset
value
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
JP2008286447A
Other languages
Japanese (ja)
Other versions
JP2010112871A (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.)
Nippon Telegraph and Telephone Corp
Original Assignee
Nippon Telegraph and Telephone 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 Nippon Telegraph and Telephone Corp filed Critical Nippon Telegraph and Telephone Corp
Priority to JP2008286447A priority Critical patent/JP5086225B2/en
Publication of JP2010112871A publication Critical patent/JP2010112871A/en
Application granted granted Critical
Publication of JP5086225B2 publication Critical patent/JP5086225B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本発明は、ある1方向での磁気の強度を測定する1次元の磁気センサを複数組み合わせて2次元あるいは3次元の方位センサを構成する際に、各軸の磁気センサの感度を整合させるためのパラメータを算出する磁気方位センサのキャリブレーション装置、方法およびプログラムに関するものである。   The present invention is for adjusting the sensitivity of magnetic sensors of each axis when a two-dimensional or three-dimensional azimuth sensor is configured by combining a plurality of one-dimensional magnetic sensors that measure the magnetic strength in one direction. The present invention relates to a magnetic azimuth sensor calibration apparatus, method, and program for calculating parameters.

1次元の方位センサを平行で一様な磁場の中で磁場方向を含む面内で回転させた場合、その出力(測定値)は回転角に応じて正弦波状に変化する。その際の出力の振幅の大きさは、与えられた磁場に対するセンサの感度であるので、この振幅の逆数をセンサのゲインと呼ぶ。また、測定された振幅の中心値をセンサのオフセットと呼ぶ。ゲインとオフセットは個々のセンサに固有のパラメータであり、正確に測定して校正する必要がある。   When a one-dimensional azimuth sensor is rotated in a plane including a magnetic field direction in a parallel and uniform magnetic field, its output (measured value) changes in a sine wave shape according to the rotation angle. Since the magnitude of the output amplitude at this time is the sensitivity of the sensor to a given magnetic field, the reciprocal of this amplitude is called the sensor gain. The center value of the measured amplitude is called a sensor offset. Gain and offset are parameters unique to each sensor and must be accurately measured and calibrated.

複数のセンサを用いて2次元あるいは3次元の方位センサを構成する場合、これらのパラメータを校正しなければ各センサの出力を合成することはできない。
センサチップの出荷時の校正においては、センサチップを単独で適切な位置に設置し、磁気発生装置を用いるなどして磁場を回転させることで、センサの校正が可能である。
この出荷時校正に加えて、センサチップの利用段階においては、利用場所の環境や同時に組み込まれる回路の影響を考慮して、利用状況に合わせて再度校正を行なうことが望ましい。
When a two-dimensional or three-dimensional azimuth sensor is configured using a plurality of sensors, the outputs of the sensors cannot be combined unless these parameters are calibrated.
In calibration at the time of shipment of the sensor chip, the sensor can be calibrated by installing the sensor chip alone at an appropriate position and rotating the magnetic field by using a magnetism generator.
In addition to this calibration at the time of shipment, it is desirable to recalibrate the sensor chip in accordance with the usage situation in consideration of the environment of the place of use and the influence of the circuit incorporated at the same time.

一般に、利用環境における校正では、地磁気を利用した校正が行なわれる。地磁気を利用した校正では、鉛直軸周りに回転できる回転台上に、地表面と平行となるようにセンサを設置し、水平面内でセンサを回転させながら地磁気を測定し、ゲインとオフセットとを求める。このような地磁気を利用した校正方法については、例えば非特許文献1に開示されている。   In general, calibration using a geomagnetism is performed in calibration in a use environment. In calibration using geomagnetism, a sensor is installed on a turntable that can rotate around the vertical axis so that it is parallel to the ground surface, and the geomagnetism is measured while rotating the sensor in a horizontal plane to obtain the gain and offset. . Such a calibration method using geomagnetism is disclosed in Non-Patent Document 1, for example.

「6軸G2モーションセンサ評価キットAMI601−CG取扱説明書」,アイチ・マイクロ・インテリジェント株式会社,<http://www.aichi−mi.com/3_products/601−cgmanual_j.pdf>“6-Axis G2 Motion Sensor Evaluation Kit AMI601-CG Instruction Manual”, Aichi Micro Intelligent Co., Ltd., <http: // www. aichi-mi. com / 3_products / 601-cgmanual_j. pdf>

非特許文献1に開示された校正方法では、センサを地表面と水平に設置できることを前提としている。しかしながら、センサを機器ケース内に組み込んだ状態においては、センサと機器ケースとが必ずしも平行であるとは限らず、また個々の組み込み状況に応じて取り付け角度に誤差が生じ得るため、センサを水平面内で回転させることは容易ではなかった。   The calibration method disclosed in Non-Patent Document 1 assumes that the sensor can be installed horizontally with the ground surface. However, in the state in which the sensor is incorporated in the equipment case, the sensor and the equipment case are not necessarily parallel, and an error may occur in the mounting angle depending on the individual installation situation. It was not easy to rotate with.

本発明は、校正のための回転面とセンサとが必ずしも平行とはならないことを前提として、磁気センサの本来のパラメータであるゲインとオフセットに加え、回転面に対するセンサの取り付け角度を同時に求められるような校正方法を実現し、利用者環境における磁気方位センサの高精度のキャリブレーションを可能とすることを目的とする。   According to the present invention, on the assumption that the rotation surface for calibration and the sensor are not necessarily parallel, the sensor mounting angle with respect to the rotation surface can be obtained simultaneously in addition to the gain and offset which are the original parameters of the magnetic sensor. An object of the present invention is to realize a simple calibration method and to enable highly accurate calibration of a magnetic direction sensor in a user environment.

本発明の磁気方位センサのキャリブレーション装置は、2次元または3次元の磁気方位センサが水平面内で回転しているときに、この磁気方位センサを構成する、磁気の強度測定方向が異なる2個または3個の磁気センサから観測値を収集するセンサ観測値収集手段と、各磁気センサの観測値の最大値を検出する最大値検出手段と、各磁気センサの観測値の最小値を検出する最小値検出手段と、1つの磁気センサを注目センサとして、この注目センサが最大値を観測したときの各磁気センサの観測値である第1の観測値と前記注目センサが最小値を観測したときの各磁気センサの観測値である第2の観測値とを求めることを、各磁気センサの各々を前記注目センサとして実施し、前記第1の観測値と第2の観測値との差を磁気センサ毎に計算して、この観測値の差から各磁気センサの水平面に対する傾きを計算する傾き計算手段と、予め与えられた地磁気の水平成分と前記傾き計算手段によって計算された各磁気センサの傾きと観測値の差とから、各磁気センサのゲインを計算するゲイン計算手段と、前記地磁気の水平成分と観測地点の地磁気ベクトルの水平面に対する角度である伏角と各磁気センサの傾きと各磁気センサのゲインとから、各磁気センサのオフセットを計算するオフセット計算手段とを備えることを特徴とするものである。   The magnetic azimuth sensor calibration apparatus according to the present invention includes two or more different magnetic intensity measuring directions constituting the magnetic azimuth sensor when the two-dimensional or three-dimensional magnetic azimuth sensor rotates in a horizontal plane. Sensor observation value collection means for collecting observation values from three magnetic sensors, maximum value detection means for detecting the maximum value of observation values of each magnetic sensor, and minimum value for detecting the minimum value of observation values of each magnetic sensor With the detection means and one magnetic sensor as an attention sensor, the first observation value that is an observation value of each magnetic sensor when the attention sensor observes the maximum value and each of the observation values when the attention sensor observes the minimum value The second observation value, which is the observation value of the magnetic sensor, is obtained as each sensor of interest, and the difference between the first observation value and the second observation value is determined for each magnetic sensor. To calculate In addition, an inclination calculating means for calculating the inclination of each magnetic sensor with respect to the horizontal plane from the difference between the observed values, and a difference between the pre-given horizontal component of the geomagnetism and the inclination of each magnetic sensor calculated by the inclination calculating means and the observed value. From the gain calculation means for calculating the gain of each magnetic sensor, and the horizontal component of the geomagnetism and the dip angle that is the angle of the geomagnetic vector at the observation point with respect to the horizontal plane, the inclination of each magnetic sensor, and the gain of each magnetic sensor, And an offset calculating means for calculating an offset of the magnetic sensor.

また、本発明の磁気方位センサのキャリブレーション装置の1構成例において、前記磁気方位センサが3個の磁気センサSx,Sy,Szから構成され、ある注目センサSu(Su∈{Sx,Sy,Sz})が最大値を観測したときの磁気センサSv(Sv∈{Sx,Sy,Sz})の観測値vumaxと注目センサSuが最小値を観測したときの磁気センサSvの観測値vuminとの差をvudiffとしたとき、前記傾き計算手段は、各磁気センサSx,Sy,Szの水平面に対する傾きφx,φy,φzを、

Figure 0005086225
により計算することを特徴とするものである。
また、本発明の磁気方位センサのキャリブレーション装置の1構成例において、予め与えられた地磁気の水平成分をNHとしたとき、前記ゲイン計算手段は、各磁気センサSx,Sy,Szのゲインgainx,gainy,gainzを、2NH=gainxxdiff/cosφx=gainyydiff/cosφy=gainzzdiff/cosφzにより計算することを特徴とするものである。
また、本発明の磁気方位センサのキャリブレーション装置の1構成例において、前記観測地点の伏角をαとしたとき、前記オフセット計算手段は、各磁気センサSx,Sy,Szのオフセットoffsetx,offsety,offsetzを、offsetx=(xxmax+xxmin)/2−NHtanαsinφx/gainx、offsety=(yymax+yymin)/2−NHtanαsinφy/gainy、offsetz=(zzmax+zzmin)/2−NHtanαsinφz/gainzにより計算することを特徴とするものである。
また、本発明の磁気方位センサのキャリブレーション装置の1構成例において、前記オフセット計算手段は、前記磁気方位センサの姿勢が異なる複数の状態の各々について各磁気センサSx,Sy,Szの観測値の最大値xxmax,yymax,zzmaxおよび観測値の最小値xxmin,yymin,zzminが得られ、前記複数の状態の各々について各磁気センサSx,Sy,Szの水平面に対する傾きφx,φy,φzが計算されたとき、(xxmax+xxmin)/2=Axsinφx+Bx、(yymax+yymin)/2=Aysinφy+By、(zzmax+zzmin)/2=Azsinφz+Bzの関係から最小二乗法により係数Bx,By,Bzを計算し、この係数Bx,By,Bzを各磁気センサSx,Sy,Szのオフセットoffsetx,offsety,offsetzとすることを特徴とするものである。 In one configuration example of the magnetic orientation sensor calibration apparatus according to the present invention, the magnetic orientation sensor includes three magnetic sensors S x , S y , S z , and a sensor of interest S u (S u ε { S x, S y, S z }) magnetic sensor when the observed maximum value S v (S v ∈ {S x, S y, observed value v umax of interest sensor S u is the minimum value of S z}) when the difference between the observed value v umin magnetic sensor S v when observed was v Udiff, said slope calculating means, the magnetic sensors S x, S y, inclination phi x with respect to the horizontal plane of the S z, phi y , Φ z
Figure 0005086225
It is characterized by calculating by.
Further, in one configuration example of the magnetic azimuth sensor calibration apparatus of the present invention, when the pre-given horizontal component of the geomagnetism is N H , the gain calculation means includes the magnetic sensors S x , S y , S z. The gains gain x , gain y , and gain z are calculated by 2N H = gain x x xdiff / cos φ x = gain y y diff / cos φ y = gain z z zdiff / cos φ z .
Further, in one configuration example of the magnetic azimuth sensor calibration apparatus of the present invention, when the dip angle of the observation point is α, the offset calculating means is configured to offset the offset offset x of each magnetic sensor S x , S y , S z. , Offset y , offset z , offset x = (x xmax + x xmin ) / 2−N H tan αsin φ x / gain x , offset y = (y ymax + y ymin ) / 2−N H tan αsin φ y / gain y , offset z = (Z zmax + z zmin ) / 2−N H tan α sin φ z / gain z
Also, in one configuration example of the magnetic azimuth sensor calibration apparatus according to the present invention, the offset calculation means includes the magnetic sensors S x , S y , and S z for each of a plurality of states in which the orientation of the magnetic azimuth sensor is different. Maximum values x xmax , y ymax , z zmax of observation values and minimum values x xmin , y ymin , z zmin of observation values are obtained, and for each of the plurality of states, each of the magnetic sensors S x , S y , S z When the inclinations φ x , φ y , φ z with respect to the horizontal plane are calculated, (x xmax + x xmin ) / 2 = A x sin φ x + B x , (y ymax + y ymin ) / 2 = A y sin φ y + B y , ( z zmax + z zmin) / 2 = a z sinφ z + B z factor B x by the least square method from the relationship, B y, and B z calculated, the coefficient B x, B y, and B z the magnetic sensor S x , S y, S z of offset offset x, offset y, of It is characterized in that a The set z.

また、本発明の磁気方位センサのキャリブレーション方法は、2次元または3次元の磁気方位センサが水平面内で回転しているときに、この磁気方位センサを構成する、磁気の強度測定方向が異なる2個または3個の磁気センサから観測値を収集するセンサ観測値収集手順と、各磁気センサの観測値の最大値を検出する最大値検出手順と、各磁気センサの観測値の最小値を検出する最小値検出手順と、1つの磁気センサを注目センサとして、この注目センサが最大値を観測したときの各磁気センサの観測値である第1の観測値と前記注目センサが最小値を観測したときの各磁気センサの観測値である第2の観測値とを求めることを、各磁気センサの各々を前記注目センサとして実施し、前記第1の観測値と第2の観測値との差を磁気センサ毎に計算して、この観測値の差から各磁気センサの水平面に対する傾きを計算する傾き計算手順と、予め与えられた地磁気の水平成分と前記傾き計算手順によって計算された各磁気センサの傾きと観測値の差とから各磁気センサのゲインを計算するゲイン計算手順と、前記地磁気の水平成分と観測地点の地磁気ベクトルの水平面に対する角度である伏角と各磁気センサの傾きと各磁気センサのゲインとから各磁気センサのオフセットを計算するオフセット計算手順とを備えることを特徴とするものである。   In addition, according to the calibration method of the magnetic direction sensor of the present invention, when the two-dimensional or three-dimensional magnetic direction sensor is rotating in the horizontal plane, the magnetic intensity measuring direction constituting the magnetic direction sensor is different. Sensor observation value collection procedure for collecting observation values from three or three magnetic sensors, maximum value detection procedure for detecting the maximum value of the observation values of each magnetic sensor, and detection of the minimum value of the observation values of each magnetic sensor Minimum value detection procedure, when one magnetic sensor is used as a target sensor, and when the target sensor observes the maximum value, the first observation value that is the observation value of each magnetic sensor and the target sensor observes the minimum value The second observation value, which is the observation value of each magnetic sensor, is determined as each sensor of interest, and the difference between the first observation value and the second observation value is determined magnetically. For each sensor An inclination calculation procedure for calculating and calculating the inclination of each magnetic sensor with respect to the horizontal plane from the difference between the observed values, and a predetermined horizontal component of geomagnetism and the inclination and observation value of each magnetic sensor calculated by the inclination calculation procedure. The gain calculation procedure for calculating the gain of each magnetic sensor from the difference between the horizontal direction, the dip angle that is the angle of the horizontal component of the geomagnetism and the geomagnetic vector at the observation point with respect to the horizontal plane, the inclination of each magnetic sensor, and the gain of each magnetic sensor. And an offset calculation procedure for calculating an offset of the magnetic sensor.

本発明によれば、磁気方位センサを構成する各磁気センサが水平面に対して傾いている場合であっても、磁気方位センサのキャリブレーションを行うことができる。   ADVANTAGE OF THE INVENTION According to this invention, even if it is a case where each magnetic sensor which comprises a magnetic direction sensor inclines with respect to a horizontal surface, a magnetic direction sensor can be calibrated.

[従来技術によるキャリブレーション]
まず、本実施の形態について説明する前に、従来技術による磁気方位センサのキャリブレーション(校正)方法について説明する。測定地点の座標系として、鉛直方向上向きにZ軸をとり、Z軸に直交するようにX−Y平面を定める。このとき、X−Y平面が地表面に平行な水平面となる。地磁気の磁北方向を指すベクトル(地磁気ベクトル)を基準として北向きにZ軸と直交するようにX軸をとり、西向きにX軸とZ軸に直交するようにY軸をとる。
この座標系において、地磁気ベクトルはX−Z平面上のベクトルとなる。地磁気ベクトルが水平面(地表面)となす角を伏角と呼ぶ。
[Calibration using conventional technology]
First, before explaining the present embodiment, a magnetic direction sensor calibration method according to the prior art will be explained. As the coordinate system of the measurement point, the XY plane is determined so that the Z axis is taken upward in the vertical direction and is orthogonal to the Z axis. At this time, the XY plane is a horizontal plane parallel to the ground surface. With reference to a vector (geomagnetic vector) pointing to the magnetic north direction of the geomagnetism, the X axis is taken to be orthogonal to the Z axis in the north direction, and the Y axis is taken to be orthogonal to the X axis and the Z axis in the west direction.
In this coordinate system, the geomagnetic vector is a vector on the XZ plane. The angle between the geomagnetic vector and the horizontal plane (the ground surface) is called the dip angle.

定性的にはX−Y平面内に置いた磁気センサをZ軸周りに回転させると、磁気センサがX軸正方向(北)を向いたときに測定値は最大となり、磁気センサがX軸負方向(南)を向いたときに測定値は最小となる。
X−Y平面内に置いた磁気センサをZ軸周りに回転させるとき、磁気センサがX軸正方向となす角をθとする。地磁気のベクトルをNとする。このベクトルをZ軸方向成分とX軸方向成分に分け、Z軸方向成分をNZ、X軸方向成分(水平面内成分)をNHとする。地磁気の伏角をαとすると、NZ=Nsinα、NH=Ncosαである。
Qualitatively, when a magnetic sensor placed in the XY plane is rotated around the Z axis, the measured value becomes maximum when the magnetic sensor faces the X axis positive direction (north), and the magnetic sensor is negative on the X axis. The measured value is minimum when facing the direction (south).
When the magnetic sensor placed in the XY plane is rotated around the Z axis, the angle formed by the magnetic sensor with respect to the positive direction of the X axis is defined as θ. Let N be the geomagnetic vector. This vector is divided into a Z-axis direction component and an X-axis direction component, the Z-axis direction component is N Z , and the X-axis direction component (horizontal plane component) is N H. If the dip angle of geomagnetism is α, N Z = Nsin α and N H = N cos α.

磁気センサによる観測値をxで表す。xはθの関数となるので、θについて議論する際にはx(θ)と表す。センサ固有のパラメータとして、磁場が無いときの出力値をオフセットoffsetx、基準となる磁気(NC)を観測した際に適切な出力をとるようゲインgainxを定める。すなわち、観測値xと、オフセット、ゲイン、基準となる磁気との関係を次のように定める。
C=gainx(x−offsetx) ・・・(1)
The observation value by the magnetic sensor is represented by x. Since x is a function of θ, it is expressed as x (θ) when discussing θ. As a parameter unique to the sensor, an offset value x is set as an output value when there is no magnetic field, and a gain gain x is set so that an appropriate output is obtained when the reference magnetism (N C ) is observed. That is, the relationship between the observed value x and the offset, gain, and reference magnetism is determined as follows.
N C = gain x (x−offset x ) (1)

式(1)から、任意の磁気Nを観測した際の観測値は次のようになる。
x=N/gainx+offsetx ・・・(2)
磁気センサを水平面内で回転させたときの観測値x(θ)は次のようになる。
x(θ)=NHcosθ/gainx+offsetx ・・・(3)
From the equation (1), the observed value when an arbitrary magnetic N is observed is as follows.
x = N / gain x + offset x (2)
The observed value x (θ) when the magnetic sensor is rotated in the horizontal plane is as follows.
x (θ) = N H cos θ / gain x + offset x (3)

観測値が最大となるのは磁気センサが北方向を向いたとき(θ=0)であり、観測値が最小となるのは磁気センサが南方向を向いたとき(θ=π)である。観測値xの最大値xmaxと最小値xminは次のようになる。
max=x(0)=NH/gainx+offsetx ・・・(4)
min=x(π)=−NH/gainx+offsetx ・・・(5)
式(4)、式(5)よりゲインgainxとオフセットoffsetxを次のように求めることができる。
offsetx=(xmax+xmin)/2 ・・・(6)
gainx -1=(xmax−xmin)/2NH ・・・(7)
The observed value is maximized when the magnetic sensor is facing north (θ = 0), and the observed value is minimized when the magnetic sensor is facing south (θ = π). The maximum value x max and the minimum value x min of the observed value x are as follows.
x max = x (0) = N H / gain x + offset x (4)
x min = x (π) = − N H / gain x + offset x (5)
From the equations (4) and (5), the gain gain x and the offset offset x can be obtained as follows.
offset x = (x max + x min ) / 2 (6)
gain x −1 = (x max −x min ) / 2N H (7)

実際に最大値xmaxおよび最小値xminを求めるためには、磁気センサを水平面内で回転させた際の観測値から、最大値xmaxと最小値xminを選択すればよい。
互いに直交する3軸の磁気センサSx,Sy,Szを考える場合、それぞれの軸毎に水平面内での回転を行なうとすると、3回の回転でキャリブレーションが行なえる。2つの磁気センサ(例えばSxとSy)を同時に水平面内に設置することができれば、2回の回転で3軸全てのキャリブレーションを行なうことが可能である。
To actually determine the maximum value x max and the minimum value x min from the observed value at the time of rotating the magnetic sensor in a horizontal plane may be selected maximum value x max and the minimum value x min.
When considering three-axis magnetic sensors Sx, Sy, and Sz orthogonal to each other, if rotation is performed in the horizontal plane for each axis, calibration can be performed with three rotations. If two magnetic sensors (for example, Sx and Sy) can be installed in the horizontal plane at the same time, it is possible to perform calibration for all three axes by two rotations.

[センサに傾きのある場合に生じる誤差]
次に、従来のキャリブレーション方法において磁気センサを水平面内に設置することができなかった場合について考える。磁気センサと水平面とがなす角をφとする。磁気センサの方向は2つの変数θとφで表される。
磁気センサによる観測値x(θ,φ)は次のようになる。
x(θ,φ)=NHcosθcosφ/gainx+NZsinφ/gainx
+offsetx ・・・(8)
[Errors that occur when the sensor is tilted]
Next, a case where the magnetic sensor cannot be installed in the horizontal plane in the conventional calibration method will be considered. The angle between the magnetic sensor and the horizontal plane is φ. The direction of the magnetic sensor is represented by two variables θ and φ.
Observation values x (θ, φ) by the magnetic sensor are as follows.
x (θ, φ) = N H cos θ cos φ / gain x + N Z sin φ / gain x
+ Offset x (8)

磁気センサを水平面内で回転させた際に観測される観測値xの最大値xmaxと最小値xminは次のようになる。
max=x(0,φ)=NHcosφ/gainx+NZsinφ/gainx
+offsetx ・・・(9)
min=x(π,φ)=−NHcosφ/gainx+NZsinφ/gainx
+offsetx ・・・(10)
The maximum value x max and the minimum value x min of the observed value x observed when the magnetic sensor is rotated in the horizontal plane are as follows.
x max = x (0, φ) = N H cos φ / gain x + N Z sin φ / gain x
+ Offset x (9)
x min = x (π, φ) = − N H cos φ / gain x + N Z sin φ / gain x
+ Offset x (10)

ここで、磁気センサの水平面からの傾きφを無視して、式(9)、式(10)に基づいてゲインgainxとオフセットoffsetxを求めると、以下のように誤差を含んだ値が求まる。
offsetx'=(xmax+xmin)/2=offsetx+NZsinφ/gainx
・・・(11)
gainx'-1=(xmax−xmin)/2NH=gainx -1cosφ ・・・(12)
Here, ignoring the inclination φ of the magnetic sensor from the horizontal plane and obtaining the gain gain x and the offset offset x based on the equations (9) and (10), values including errors are obtained as follows. .
offset x '= (x max + x min ) / 2 = offset x + N Z sin φ / gain x
(11)
gain x−1 = (x max −x min ) / 2N H = gain x −1 cos φ (12)

近年では5mm角程度の3軸磁気センサチップが生産されているが、このようなチップを取り付ける際に両端の高さで0.5mm程度の差が生じていると、10度程度の傾きが生じることとなる。この傾きはsinφ=0.2程度に相当し、オフセットの誤差は無視できないものとなる。
したがって、磁気センサを水平面内に設置できない状況下においては、従来の傾きのないモデルを前提としたキャリブレーション方法を適用することはできない。
In recent years, a triaxial magnetic sensor chip of about 5 mm square has been produced, but when such a chip is attached, if a difference of about 0.5 mm occurs at the height of both ends, an inclination of about 10 degrees occurs. It will be. This inclination corresponds to about sin φ = 0.2, and the offset error cannot be ignored.
Therefore, in a situation where the magnetic sensor cannot be installed in a horizontal plane, the conventional calibration method based on a model without an inclination cannot be applied.

[傾きのあるキャリブレーションモデル]
次に、本実施の形態で用いるキャリブレーション方法について説明する。互いに直交する3軸の磁気センサSx,Sy,Szを考える。磁気センサSx,Sy,Szは、それぞれX,Y,Z方向の磁気の強度を測定する1次元の磁気センサである。それぞれの磁気センサSx,Sy,Szが水平面となす角をφx,φy,φzとする(図1)。
[Inclined calibration model]
Next, a calibration method used in this embodiment will be described. Consider three-axis magnetic sensors S x , S y , and S z that are orthogonal to each other. The magnetic sensors S x , S y , and S z are one-dimensional magnetic sensors that measure the magnetic strength in the X, Y, and Z directions, respectively. The angles formed by the respective magnetic sensors S x , S y , S z and the horizontal plane are φ x , φ y , φ z (FIG. 1).

ある磁気センサSu(Su∈{Sx,Sy,Sz})が最大値を観測したときの、各センサSx,Sy,Szにおける観測値をそれぞれxumax,yumax,zumaxと表す。同様に、磁気センサSu(Su∈{Sx,Sy,Sz})が最小値を観測したときの、各センサSx,Sy,Szにおける観測値をそれぞれxumin,yumin,zuminと表す。 When a certain magnetic sensor S u (S u ε {S x , S y , S z }) observes the maximum value, the observation values at the sensors S x , S y , S z are respectively represented by x umax , y umax , It is expressed as z umax . Similarly, when the magnetic sensor S u (S u ε {S x , S y , S z }) observes the minimum value, the observed values at the sensors S x , S y , S z are respectively x umin , y. umin and zumin .

磁気センサSu(Su∈{Sx,Sy,Sz})が最大値を観測したときと最小値を観測したときの、各センサSx,Sy,Szにおける観測値の差をそれぞれxudiff,yudiff,zudiffとする。すなわち、磁気センサSuが最大値を観測したときの磁気センサSv(Sv∈{Sx,Sy,Sz})の観測値vumaxと磁気センサSuが最小値を観測したときの磁気センサSvの観測値vuminとの差vudiffは次のようになる。
udiff=vumax−vumin (Su,Sv∈{Sx,Sy,Sz}) ・・・(13)
Difference in observed values at each sensor S x , S y , S z when the magnetic sensor S u (S u ∈ {S x , S y , S z }) observes the maximum value and the minimum value. each x udiff, y udiff, and z Udiff. That is, when the magnetic sensor when the magnetic sensor S u observes the maximum value S v (S v ∈ {S x, S y, S z}) observations v umax and the magnetic sensor S u of the observed minimum The difference v udiff from the observed value v umin of the magnetic sensor S v is as follows.
v udiff = v umax −v umin (S u , S v ε {S x , S y , S z }) (13)

従来手法にあるように各磁気センサの最大値と最小値を用いるだけでなく、他の磁気センサの観測値が最大および最小となった際の観測値を用いることで、それぞれに磁気センサが水平面となす角を同時に算出することが可能となる。
具体的には、観測値の間で幾何学的に成立する以下の関係を用いることでパラメータの算出を行なう。
Not only using the maximum and minimum values of each magnetic sensor as in the conventional method, but also using the observation values when the observation values of the other magnetic sensors become maximum and minimum, It is possible to calculate the angle between the two at the same time.
Specifically, the parameters are calculated by using the following relationship that is geometrically established between the observed values.

Figure 0005086225
Figure 0005086225

式(14)において、xxdiff,xydiff,xzdiffは、それぞれ磁気センサSx,Sy,Szが最大値を観測したときの磁気センサSxの観測値xxmax,xymax,xzmaxと磁気センサSx,Sy,Szが最小値を観測したときの磁気センサSxの観測値xxmin,xymin,xzminとの差である。yxdiff,yydiff,yzdiffは、それぞれ磁気センサSx,Sy,Szが最大値を観測したときの磁気センサSyの観測値yxmax,yymax,yzmaxと磁気センサSx,Sy,Szが最小値を観測したときの磁気センサSyの観測値yxmin,yymin,yzminとの差である。zxdiff,zydiff,zzdiffは、それぞれ磁気センサSx,Sy,Szが最大値を観測したときの磁気センサSzの観測値zxmax,zymax,zzmaxと磁気センサSx,Sy,Szが最小値を観測したときの磁気センサSzの観測値zxmin,zymin,zzminとの差である。 In the formula (14), x xdiff, x ydiff, x zdiff a magnetic sensor S x, respectively, S y, observed value of the magnetic sensor S x when the S z observes the maximum value x xmax, x ymax, x zmax And the observed values x xmin , x ymin , x zmin of the magnetic sensor S x when the magnetic sensors S x , S y , S z observe the minimum value. y xdiff , y ydiff , and y zdiff are the observed values y xmax , y ymax , and y zmax of the magnetic sensor S y when the maximum values of the magnetic sensors S x , S y , and S z are observed, and the magnetic sensors S x , This is the difference between the observed values y xmin , y ymin , and y zmin of the magnetic sensor S y when the minimum values of S y and S z are observed. z xdiff , z ydiff , z zdiff are the observed values z xmax , z ymax , z zmax of the magnetic sensor S z when the magnetic sensors S x , S y , S z observe the maximum values, and the magnetic sensors S x , S y and S z are the differences from the observed values z xmin , z ymin and z zmin of the magnetic sensor S z when the minimum values are observed.

φx,φy,φz以外の項は全て観測値であるから、式(14)の関係から各磁気センサの水平面に対する傾きを求めることができる。
ゲインについては、以下の関係が成り立つ。
2NH=gainxxdiff/cosφx=gainyydiff/cosφy
=gainzzdiff/cosφz ・・・(15)
Since terms other than φ x , φ y , and φ z are all observed values, the inclination of each magnetic sensor with respect to the horizontal plane can be obtained from the relationship of Equation (14).
The following relationship holds for gain.
2N H = gain x x xdiff / cos φ x = gain y y ydiff / cos φ y
= Gain z z zdiff / cosφ z (15)

gainx,gainy,gainzは、それぞれ磁気センサSx,Sy,Szのゲインである。式(15)におけるNHとして観測地点の地磁気の水平成分の強度が与えられることが望ましいが、方位センサを構成することが目的である場合、NHの値が正確でなくとも、各センサのバランスがとれるので問題とはならない。したがって、日本付近の地磁気の水平成分として用いられるNH=30000[nT]程度の値を与えればよい。 Gain x , gain y , and gain z are gains of the magnetic sensors S x , S y , and S z , respectively. Although it is desirable that the intensity of the horizontal component of the geomagnetism at the observation point is given as N H in Equation (15), if the purpose is to construct an azimuth sensor, even if the value of N H is not accurate, It is not a problem because it is balanced. Therefore, a value of about N H = 30000 [nT] used as a horizontal component of geomagnetism near Japan may be given.

伏角計などを用いて観測地点の伏角αが測定されている場合、地磁気の垂直方向成分の大ささNzをNz=Nsinα=NHtanαとして求めることができるため、各磁気センサSx,Sy,Szのオフセットoffsetx,offsety,offsetzは次式のように求めることができる。
offsetx=(xxmax+xxmin)/2−NHtanαsinφx/gainx
・・・(16)
offsety=(yymax+yymin)/2−NHtanαsinφy/gainy
・・・(17)
offsetz=(zzmax+zzmin)/2−NHtanαsinφz/gainz
・・・(18)
If dip angle α of the observation point by using a dip meter is measured, it is possible to obtain the large bamboo N z in the vertical direction component of terrestrial magnetism as N z = Nsinα = N H tanα , the magnetic sensors S x, The offsets offset x , offset y , and offset z of S y and S z can be obtained as follows.
offset x = (x xmax + x xmin ) / 2−N H tan α sin φ x / gain x
... (16)
offset y = (y ymax + y ymin ) / 2−N H tan α sin φ y / gain y
... (17)
offset z = (z zmax + z zmin ) / 2-N H tanαsinφ z / gain z
... (18)

xmax,yymax,zzmaxはそれぞれ磁気センサSx,Sy,Szの観測値の最大値、xxmin,yymin,zzminはそれぞれ磁気センサSx,Sy,Szの観測値の最小値である。
以上のキャリブレーションは水平面内の1回の回転により実現することができる。
x xmax, y ymax, z zmax magnetic sensor S x, respectively, S y, the maximum value of the observed value of S z, x xmin, y ymin , z zmin magnetic sensor each S x, S y, observed value of S z Is the minimum value.
The above calibration can be realized by one rotation in the horizontal plane.

伏角計を用いることができない場合、式(16)において、Ax=NHtanα/gainxおよびBx=offsetxとおくと、(xxmax+xxmin)/2=Axsinφx+Bxと変形できる。センサの設置方法を変えて複数の姿勢で同様の測定を行い、複数のφxに対する観測値xxmaxおよびxxminの値を得て、最小二乗法により係数AxとBxを求める。このときのBxがセンサSxのオフセットoffsetxである。
式(17)および式(18)についても同形式であるから、センサSyのオフセットoffsetyおよびセンサSzのオフセットoffsetzを同様の手法により求めることができる。
When the dipmeter cannot be used, if A x = N H tan α / gain x and B x = offset x in equation (16), (x xmax + x xmin ) / 2 = A x sin φ x + B x Can be transformed. The same measurement is performed in a plurality of postures by changing the installation method of the sensor, the observed values x xmax and x xmin for a plurality of φ x are obtained, and the coefficients A x and B x are obtained by the least square method. B x at this time is an offset offset x of the sensor S x .
Also because the same format for formula (17) and (18), the offset offset z offset offset y and sensor S z of the sensor S y can be obtained in the same manner.

また、以上の計算において、測定誤差の影響を少なくするためには、各磁気センサの方向が鉛直方向および水平面から離れていることが望ましい。これは、φの値が0度および90度付近である場合には、vudiff(Su,Sv∈{Sx,Sy,Sz})の絶対値が小さくなり、測定誤差の影響が大きくなり得ることによる。 In the above calculation, in order to reduce the influence of measurement errors, it is desirable that the direction of each magnetic sensor is away from the vertical direction and the horizontal plane. This is because the absolute value of v udiff (S u , S v ∈ {S x , S y , S z }) decreases when the value of φ is around 0 and 90 degrees, and the influence of measurement error Can be large.

図1を用いて説明した以上のキャリブレーションモデルに基づき、水平面に対して傾きがある状態に設置された3軸の磁気センサのキャリブレーションを実現するキャリブレーション装置の構成を図2に示す。
キャリブレーション装置は、センサ観測値収集部1と、最大値検出部2x,2y,2zと、最小値検出部3x,3y,3zと、傾きおよびゲイン計算部4と、オフセット計算部5とを有する。
FIG. 2 shows a configuration of a calibration apparatus that realizes calibration of a three-axis magnetic sensor installed in a state where there is an inclination with respect to a horizontal plane based on the calibration model described above with reference to FIG.
The calibration apparatus includes a sensor observation value collection unit 1, maximum value detection units 2 x , 2 y , 2 z , minimum value detection units 3 x , 3 y , 3 z , a slope and gain calculation unit 4, and an offset And a calculator 5.

磁気センサSx,Sy,Szを水平面内で回転させるための回転台(不図示)と、回転台の上に磁気センサSx,Sy,Szを任意の姿勢で固定するための固定具(不図示)とを設ける。回転台と固定具の材質は地磁気に影響をおよぼさないものとする。 A rotating table (not shown) for rotating the magnetic sensors S x , S y , S z in the horizontal plane, and a magnetic sensor S x , S y , S z for fixing the magnetic sensors S x , S y , S z in an arbitrary posture on the rotating table. A fixing tool (not shown) is provided. The material of the turntable and fixtures shall not affect the geomagnetism.

図3は本実施の形態のキャリブレーション装置の動作を示すフローチャートである。センサ観測値収集部1は、磁気センサSx,Sy,Szが回転台の回転に伴って水平面内を回転する間、各磁気センサSx,Sy,Szが出力する観測値を収集して記憶する(ステップS1)。各磁気センサSx,Sy,Szの出力は時間順に整列されている。センサ観測値収集部1は、収集した各観測値に固有のインデクス番号を割り振る。このインデクス番号によって特定の観測値をセンサ観測値収集部1から読み出すことが可能になる。 FIG. 3 is a flowchart showing the operation of the calibration apparatus of the present embodiment. Sensor observation value acquisition unit 1, the magnetic sensor S x, S y, while the S z rotates in a horizontal plane with rotation of the turntable, the magnetic sensors S x, S y, the observed value S z outputs Collect and store (step S1). The outputs of the magnetic sensors S x , S y , S z are aligned in time order. The sensor observation value collection unit 1 assigns a unique index number to each collected observation value. A specific observation value can be read from the sensor observation value collection unit 1 by this index number.

最大値検出部2x,2y,2zは、それぞれ磁気センサSx,Sy,Szの観測値の最大値を検出し、この検出した最大値のインデクス番号を出力する(ステップS2)。
最小値検出部3x,3y,3zは、それぞれ磁気センサSx,Sy,Szの観測値の最小値を検出し、この検出した最小値のインデクス番号を出力する(ステップS3)。
The maximum value detectors 2 x , 2 y , 2 z detect the maximum values of the observed values of the magnetic sensors S x , S y , S z , respectively, and output the index numbers of the detected maximum values (step S2). .
The minimum value detectors 3 x , 3 y , 3 z detect the minimum values of the observed values of the magnetic sensors S x , S y , S z , respectively, and output the detected index numbers of the minimum values (step S3). .

傾きおよびゲイン計算部4は、最大値検出部2x,2y,2zと最小値検出部3x,3y,3zから出力されたインデクス番号に基づき、磁気センサSx,Sy,Szが最大値を観測したときの磁気センサSxの観測値xxmax,xymax,xzmax、磁気センサSx,Sy,Szが最大値を観測したときの磁気センサSyの観測値yxmax,yymax,yzmax、および磁気センサSx,Sy,Szが最大値を観測したときの磁気センサSzの観測値zxmax,zymax,zzmaxをセンサ観測値収集部1から読み出すと共に、磁気センサSx,Sy,Szが最小値を観測したときの磁気センサSxの観測値xxmin,xymin,xzmin、磁気センサSx,Sy,Szが最小値を観測したときの磁気センサSyの観測値yxmin,yymin,yzmin、および磁気センサSx,Sy,Szが最小値を観測したときの磁気センサSzの観測値zxmin,zymin,zzminをセンサ観測値収集部1から読み出し、式(14)を用いて各磁気センサSx,Sy,Szの水平面に対する傾きφx,φy,φzを計算する(ステップS4)。 The inclination and gain calculation unit 4 is based on the index numbers output from the maximum value detection units 2 x , 2 y , 2 z and the minimum value detection units 3 x , 3 y , 3 z , and the magnetic sensors S x , S y , S z is the observed value x xmax of the magnetic sensor S x when the observed maximum value, x ymax, x zmax, observation of the magnetic sensor S y when the magnetic sensor S x, S y, S z observes the maximum value Sensor observation value collection unit for values y xmax , y ymax , y zmax , and observation values z xmax , z ymax , z zmax of magnetic sensor S z when the maximum values of magnetic sensors S x , S y , S z are observed reads from 1, the magnetic sensor S x, S y, observed value of the magnetic sensor S x when the S z observes the minimum x xmin, x ymin, x zmin , the magnetic sensor S x, S y, is S z Observation values y xmin , y ymin , y zmin of the magnetic sensor S y when the minimum value is observed, and the magnetic sensors S x , S y , S z , the observed values z xmin , z ymin , z zmin of the magnetic sensor S z when the minimum value is observed are read out from the sensor observation value collecting unit 1 and each of the magnetic sensors S x , S is read using equation (14). The inclinations φ x , φ y and φ z with respect to the horizontal plane of y and S z are calculated (step S4).

続いて、傾きおよびゲイン計算部4は、予め与えられた地磁気の水平成分NHとステップS4の計算によって得られた各磁気センサSx,Sy,Szの傾きφx,φy,φzと観測値の差xxdiff,yydiff,zzdiffとから、式(15)を用いて各磁気センサSx,Sy,Szのゲインgainx,gainy,gainzを計算する(ステップS5)。 Subsequently, the inclination and gain calculation unit 4 calculates the inclinations φ x , φ y , φ of each of the magnetic sensors S x , S y , S z obtained by the calculation of the geomagnetic horizontal component NH and the calculation in step S4. z and the observed value of the difference x xdiff, y ydiff, and a z zdiff, equation (15) the magnetic sensors S x using, S y, gain gain x of S z, gain y, to calculate the gain z (step S5).

オフセット計算部5は、地磁気の水平成分NHと伏角計6などによって測定された観測地点の伏角αとステップS4の計算によって得られた各磁気センサSx,Sy,Szの傾きφx,φy,φzとステップS5の計算によって得られた各磁気センサSx,Sy,Szのゲインgainx,gainy,gainzとから、式(16)、式(17)、式(18)を用いて各磁気センサのオフセットoffsetx,offsety,offsetzを計算する(ステップS6)。 The offset calculation unit 5 includes the horizontal component N H of geomagnetism, the dip angle α of the observation point measured by the dip meter 6 and the inclination φ x of each magnetic sensor S x , S y , S z obtained by the calculation in step S4. , Φ y , φ z and gains gain x , gain y , gain z of the magnetic sensors S x , S y , S z obtained by the calculation in step S5, the expressions (16), (17), (18) is used to calculate the offsets offset x , offset y , offset z of each magnetic sensor (step S6).

磁気センサSxについて観測値xが得られるとき、図示しない校正部は、傾きおよびゲイン計算部4とオフセット計算部5によって求められたパラメータgainxとoffsetxを用いて、観測地点における地磁気のSx方向成分Mxを、式(1)よりMx=gainx(x−offsetx)として求めることができる。地磁気のSy方向成分MyおよびSz方向成分Mzについても同様に求めることができる。各磁気センサSx,Sy,Szで観測された地磁気はこれらの値を用いて、センサSx,Sy,Szの各軸を基底とする3次元のベクトル(Mx,My,Mz)として表すことができる。こうして、センサSx,Sy,Szを校正することができる。 When the observation value x is obtained for the magnetic sensor S x , the calibration unit (not shown) uses the parameters gain x and offset x obtained by the inclination and gain calculation unit 4 and the offset calculation unit 5 to determine the geomagnetism S at the observation point. The x- direction component M x can be obtained as M x = gain x (x−offset x ) from Equation (1). It can be obtained similarly for the geomagnetic S y direction component M y and S z direction component M z. The magnetic sensors S x, S y, geomagnetism observed at S z by using these values, the sensor S x, S y, 3-dimensional vector to base the axes of S z (M x, M y , M z ). In this way, the sensors S x , S y , S z can be calibrated.

各軸を構戒するセンサSx,Sy,Szが、設置時の傾きの影響を排してバランスよく校正されているとき、このベクトル(Mx,My,Mz)はセンサ座標系から見た地磁気の方向を示すものとなるから、物体の静止姿勢や運動中の姿勢および移動軌跡の検出に用いることができる。 Sensor S x to構戒each axis, S y, when the S z has been calibrated well balanced discharge the influence of inclination at the time of installation, the vector (M x, M y, M z) is the sensor coordinate Since it indicates the direction of geomagnetism as seen from the system, it can be used to detect the stationary posture of the object, the posture during movement, and the movement trajectory.

以上のように、本実施の形態では、3軸の磁気センサの傾きをパラメータとしてモデル化し、このモデルに基づいて各磁気センサの傾きを求めた上で、各磁気センサのゲインとオフセットを求めるようにした。
従来のキャリブレーション方法では、各磁気センサを地表面に対して水平に回転させる必要があったが、実際の回路に磁気センサを組み込んだ場合に実現することは困難であった。これに対して、本実施の形態では、各磁気センサが水平面に対して傾いている場合であっても、磁気方位センサのキャリブレーションを行うことができる。
As described above, in the present embodiment, the tilt of the triaxial magnetic sensor is modeled as a parameter, and the gain and offset of each magnetic sensor are obtained after obtaining the tilt of each magnetic sensor based on this model. I made it.
In the conventional calibration method, it was necessary to rotate each magnetic sensor horizontally with respect to the ground surface, but it was difficult to realize when the magnetic sensor was incorporated in an actual circuit. On the other hand, in this Embodiment, even if it is a case where each magnetic sensor inclines with respect to a horizontal surface, a magnetic orientation sensor can be calibrated.

なお、本実施の形態のキャリブレーション装置は、CPU、記憶装置および外部とのインタフェースを備えたコンピュータと、これらのハードウェア資源を制御するプログラムによって実現することができる。このようなコンピュータにおいて、本発明のキャリブレーション方法を実現させるためのプログラムは、フレキシブルディスク、CD−ROM、DVD−ROM、メモリカードなどの記録媒体に記録された状態で提供される。CPUは、記録媒体から読み込んだプログラムを記憶装置に格納し、記憶装置に格納されたプログラムに従って本実施の形態で説明した処理を実行する。   The calibration device according to the present embodiment can be realized by a computer having a CPU, a storage device, and an external interface, and a program for controlling these hardware resources. In such a computer, a program for realizing the calibration method of the present invention is provided in a state of being recorded on a recording medium such as a flexible disk, a CD-ROM, a DVD-ROM, or a memory card. The CPU stores the program read from the recording medium in the storage device, and executes the processing described in the present embodiment in accordance with the program stored in the storage device.

本発明は、磁気方位センサのキャリブレーション技術に適用することができる。   The present invention can be applied to a magnetic direction sensor calibration technique.

本発明の実施の形態で用いるキャリブレーションモデルを示す図である。It is a figure which shows the calibration model used by embodiment of this invention. 本発明の実施の形態に係るキャリブレーション装置の構成を示すブロック図である。It is a block diagram which shows the structure of the calibration apparatus which concerns on embodiment of this invention. 本発明の実施の形態に係るキャリブレーション装置の動作を示すフローチャートである。It is a flowchart which shows operation | movement of the calibration apparatus which concerns on embodiment of this invention.

符号の説明Explanation of symbols

x,Sy,Sz…磁気センサ、1…センサ観測値収集部、2x,2y,2z…最大値検出部、3x,3y,3z…最小値検出部、4…傾きおよびゲイン計算部、5…オフセット計算部、6…伏角計6。 S x , S y , S z ... magnetic sensor, 1 ... sensor observation value collection unit, 2 x , 2 y , 2 z ... maximum value detection unit, 3 x , 3 y , 3 z ... minimum value detection unit, 4 ... Inclination and gain calculation unit, 5... Offset calculation unit, 6.

Claims (11)

2次元または3次元の磁気方位センサが水平面内で回転しているときに、この磁気方位センサを構成する、磁気の強度測定方向が異なる2個または3個の磁気センサから観測値を収集するセンサ観測値収集手段と、
各磁気センサの観測値の最大値を検出する最大値検出手段と、
各磁気センサの観測値の最小値を検出する最小値検出手段と、
1つの磁気センサを注目センサとして、この注目センサが最大値を観測したときの各磁気センサの観測値である第1の観測値と前記注目センサが最小値を観測したときの各磁気センサの観測値である第2の観測値とを求めることを、各磁気センサの各々を前記注目センサとして実施し、前記第1の観測値と第2の観測値との差を磁気センサ毎に計算して、この観測値の差から各磁気センサの水平面に対する傾きを計算する傾き計算手段と、
予め与えられた地磁気の水平成分と前記傾き計算手段によって計算された各磁気センサの傾きと観測値の差とから、各磁気センサのゲインを計算するゲイン計算手段と、
前記地磁気の水平成分と観測地点の地磁気ベクトルの水平面に対する角度である伏角と各磁気センサの傾きと各磁気センサのゲインとから、各磁気センサのオフセットを計算するオフセット計算手段とを備えることを特徴とする磁気方位センサのキャリブレーション装置。
When a two-dimensional or three-dimensional magnetic direction sensor rotates in a horizontal plane, a sensor that collects observation values from two or three magnetic sensors with different magnetic intensity measurement directions that constitute the magnetic direction sensor. Observation value collection means;
Maximum value detecting means for detecting the maximum value of the observed value of each magnetic sensor;
Minimum value detecting means for detecting the minimum value of the observed value of each magnetic sensor;
Using one magnetic sensor as an attention sensor, the first observation value that is an observation value of each magnetic sensor when the attention sensor observes the maximum value and the observation of each magnetic sensor when the attention sensor observes the minimum value. The second observation value that is a value is obtained by performing each of the magnetic sensors as the attention sensor, and calculating a difference between the first observation value and the second observation value for each magnetic sensor. Inclination calculating means for calculating the inclination of each magnetic sensor with respect to the horizontal plane from the difference between the observed values
Gain calculation means for calculating the gain of each magnetic sensor from the horizontal component of geomagnetism given in advance and the difference between the inclination and observation value of each magnetic sensor calculated by the inclination calculation means;
Offset calculation means for calculating an offset of each magnetic sensor from the horizontal component of the geomagnetism and the dip angle that is the angle of the geomagnetic vector of the observation point with respect to the horizontal plane, the inclination of each magnetic sensor, and the gain of each magnetic sensor. A magnetic azimuth sensor calibration device.
請求項1記載の磁気方位センサのキャリブレーション装置において、
前記磁気方位センサが3個の磁気センサSx,Sy,Szから構成され、ある注目センサSu(Su∈{Sx,Sy,Sz})が最大値を観測したときの磁気センサSv(Sv∈{Sx,Sy,Sz})の観測値vumaxと注目センサSuが最小値を観測したときの磁気センサSvの観測値vuminとの差をvudiffとしたとき、前記傾き計算手段は、各磁気センサSx,Sy,Szの水平面に対する傾きφx,φy,φzを、
Figure 0005086225
により計算することを特徴とする磁気方位センサのキャリブレーション装置。
The magnetic orientation sensor calibration apparatus according to claim 1,
The magnetic azimuth sensor is composed of three magnetic sensors S x , S y , S z , and a certain sensor S u (S u ∈ {S x , S y , S z }) observes the maximum value. magnetic sensor S v (S v ∈ {S x, S y, S z}) the difference between the observed value v umin magnetic sensor S v when observed value v umax of interest sensor S u of the observed minimum When v udiff is given, the inclination calculation means calculates the inclinations φ x , φ y , φ z of the magnetic sensors S x , S y , S z with respect to the horizontal plane,
Figure 0005086225
The magnetic azimuth sensor calibration apparatus characterized by the above calculation.
請求項2記載の磁気方位センサのキャリブレーション装置において、
予め与えられた地磁気の水平成分をNHとしたとき、前記ゲイン計算手段は、各磁気センサSx,Sy,Szのゲインgainx,gainy,gainzを、2NH=gainxxdiff/cosφx=gainyydiff/cosφy=gainzzdiff/cosφzにより計算することを特徴とする磁気方位センサのキャリブレーション装置。
In the magnetic orientation sensor calibration apparatus according to claim 2,
When the horizontal component of the pre-given geomagnetism was N H, the gain calculation means, the magnetic sensors S x, S y, gain gain x of S z, gain y, the gain z, 2N H = gain x x xdiff / cosφ x = gain y y ydiff / cosφ y = gain z z zdiff / calibration apparatus of the magnetic direction sensor and calculates a cos [phi z.
請求項3記載の磁気方位センサのキャリブレーション装置において、
前記観測地点の伏角をαとしたとき、前記オフセット計算手段は、各磁気センサSx,Sy,Szのオフセットoffsetx,offsety,offsetzを、offsetx=(xxmax+xxmin)/2−NHtanαsinφx/gainx、offsety=(yymax+yymin)/2−NHtanαsinφy/gainy、offsetz=(zzmax+zzmin)/2−NHtanαsinφz/gainzにより計算することを特徴とする磁気方位センサのキャリブレーション装置。
The magnetic orientation sensor calibration apparatus according to claim 3,
When the dip angle of the observation point alpha, the offset calculation means, the magnetic sensors S x, S y, offset offset x of S z, offset y, the offset z, offset x = (x xmax + x xmin) / 2-N H tan αsin φ x / gain x , offset y = (y ymax + y ymin ) / 2−N H tan αsin φ y / gain y , offset z = (z zmax + z zmin ) / 2−N H tan αsin φ z / gain z A magnetic azimuth sensor calibration apparatus characterized by calculating.
請求項2記載の磁気方位センサのキャリブレーション装置において、
前記オフセット計算手段は、前記磁気方位センサの姿勢が異なる複数の状態の各々について各磁気センサSx,Sy,Szの観測値の最大値xxmax,yymax,zzmaxおよび観測値の最小値xxmin,yymin,zzminが得られ、前記複数の状態の各々について各磁気センサSx,Sy,Szの水平面に対する傾きφx,φy,φzが計算されたとき、(xxmax+xxmin)/2=Axsinφx+Bx、(yymax+yymin)/2=Aysinφy+By、(zzmax+zzmin)/2=Azsinφz+Bzの関係から最小二乗法により係数Bx,By,Bzを計算し、この係数Bx,By,Bzを各磁気センサSx,Sy,Szのオフセットoffsetx,offsety,offsetzとすることを特徴とする磁気方位センサのキャリブレーション装置。
In the magnetic orientation sensor calibration apparatus according to claim 2,
The offset calculation means includes a maximum value x xmax , y ymax , z zmax of the observed values of the magnetic sensors S x , S y , S z and a minimum of the observed values for each of a plurality of states having different attitudes of the magnetic direction sensor. When the values x xmin , y ymin , z zmin are obtained and the inclinations φ x , φ y , φ z of the respective magnetic sensors S x , S y , S z with respect to the horizontal plane are calculated for each of the plurality of states, x xmax + x xmin ) / 2 = A x sinφ x + B x , (y ymax + y ymin ) / 2 = A y sinφ y + B y , (z zmax + z zmin ) / 2 = minimum from the relationship of A z sinφ z + B z Coefficients B x , B y , B z are calculated by the square method, and these coefficients B x , B y , B z are set as offsets offset x , offset y , offset z of the magnetic sensors S x , S y , S z. A magnetic orientation sensor calibration apparatus.
2次元または3次元の磁気方位センサが水平面内で回転しているときに、この磁気方位センサを構成する、磁気の強度測定方向が異なる2個または3個の磁気センサから観測値を収集するセンサ観測値収集手順と、
各磁気センサの観測値の最大値を検出する最大値検出手順と、
各磁気センサの観測値の最小値を検出する最小値検出手順と、
1つの磁気センサを注目センサとして、この注目センサが最大値を観測したときの各磁気センサの観測値である第1の観測値と前記注目センサが最小値を観測したときの各磁気センサの観測値である第2の観測値とを求めることを、各磁気センサの各々を前記注目センサとして実施し、前記第1の観測値と第2の観測値との差を磁気センサ毎に計算して、この観測値の差から各磁気センサの水平面に対する傾きを計算する傾き計算手順と、
予め与えられた地磁気の水平成分と前記傾き計算手順によって計算された各磁気センサの傾きと観測値の差とから各磁気センサのゲインを計算するゲイン計算手順と、
前記地磁気の水平成分と観測地点の地磁気ベクトルの水平面に対する角度である伏角と各磁気センサの傾きと各磁気センサのゲインとから各磁気センサのオフセットを計算するオフセット計算手順とを備えることを特徴とする磁気方位センサのキャリブレーション方法。
When a two-dimensional or three-dimensional magnetic direction sensor rotates in a horizontal plane, a sensor that collects observation values from two or three magnetic sensors with different magnetic intensity measurement directions that constitute the magnetic direction sensor. Observation value collection procedure,
A maximum value detection procedure for detecting the maximum value of the observed value of each magnetic sensor;
Minimum value detection procedure for detecting the minimum value of the observed value of each magnetic sensor;
Using one magnetic sensor as an attention sensor, the first observation value that is an observation value of each magnetic sensor when the attention sensor observes the maximum value and the observation of each magnetic sensor when the attention sensor observes the minimum value. The second observation value that is a value is obtained by performing each of the magnetic sensors as the attention sensor, and calculating a difference between the first observation value and the second observation value for each magnetic sensor. , An inclination calculation procedure for calculating the inclination of each magnetic sensor with respect to the horizontal plane from the difference between the observed values,
A gain calculation procedure for calculating a gain of each magnetic sensor from a horizontal component of geomagnetism given in advance and a difference between an inclination and an observation value of each magnetic sensor calculated by the inclination calculation procedure;
An offset calculation procedure for calculating an offset of each magnetic sensor from the horizontal component of the geomagnetism and the dip angle that is an angle of the geomagnetic vector of the observation point with respect to the horizontal plane, the inclination of each magnetic sensor, and the gain of each magnetic sensor; Calibration method for magnetic orientation sensor.
請求項6記載の磁気方位センサのキャリブレーション方法において、
前記磁気方位センサが3個の磁気センサSx,Sy,Szから構成され、ある注目センサSu(Su∈{Sx,Sy,Sz})が最大値を観測したときの磁気センサSv(Sv∈{Sx,Sy,Sz})の観測値vumaxと注目センサSuが最小値を観測したときの磁気センサSvの観測値vuminとの差をvudiffとしたとき、前記傾き計算手順は、各磁気センサSx,Sy,Szの水平面に対する傾きφx,φy,φzを、
Figure 0005086225
により計算することを特徴とする磁気方位センサのキャリブレーション方法。
The magnetic direction sensor calibration method according to claim 6,
The magnetic azimuth sensor is composed of three magnetic sensors S x , S y , S z , and a certain sensor S u (S u ∈ {S x , S y , S z }) observes the maximum value. magnetic sensor S v (S v ∈ {S x, S y, S z}) the difference between the observed value v umin magnetic sensor S v when observed value v umax of interest sensor S u of the observed minimum When v udiff is given, the inclination calculation procedure is to calculate the inclinations φ x , φ y , φ z of the magnetic sensors S x , S y , S z with respect to the horizontal plane,
Figure 0005086225
A method for calibrating a magnetic azimuth sensor, characterized by:
請求項7記載の磁気方位センサのキャリブレーション方法において、
予め与えられた地磁気の水平成分をNHとしたとき、前記ゲイン計算手順は、各磁気センサSx,Sy,Szのゲインgainx,gainy,gainzを、2NH=gainxxdiff/cosφx=gainyydiff/cosφy=gainzzdiff/cosφzにより計算することを特徴とする磁気方位センサのキャリブレーション方法。
The magnetic direction sensor calibration method according to claim 7,
When the pre-given horizontal component of geomagnetism is N H , the gain calculation procedure is to calculate the gains gain x , gain y , and gain z of each magnetic sensor S x , S y , S z as 2N H = gain x x A method for calibrating a magnetic azimuth sensor, characterized in that xdiff / cos φ x = gain y y ydiff / cos φ y = gain z z zdiff / cos φ z
請求項8記載の磁気方位センサのキャリブレーション方法において、
前記観測地点の伏角をαとしたとき、前記オフセット計算手順は、各磁気センサSx,Sy,Szのオフセットoffsetx,offsety,offsetzを、offsetx=(xxmax+xxmin)/2−NHtanαsinφx/gainx、offsety=(yymax+yymin)/2−NHtanαsinφy/gainy、offsetz=(zzmax+zzmin)/2−NHtanαsinφz/gainzにより計算することを特徴とする磁気方位センサのキャリブレーション方法。
The magnetic direction sensor calibration method according to claim 8,
When the dip angle of the observation point is α, the offset calculation procedure is as follows: offset x , offset y , offset z of each magnetic sensor S x , S y , S z is offset x = (x xmax + xx min ) / 2-N H tan αsin φ x / gain x , offset y = (y ymax + y ymin ) / 2−N H tan αsin φ y / gain y , offset z = (z zmax + z zmin ) / 2−N H tan αsin φ z / gain z A method for calibrating a magnetic azimuth sensor, characterized by:
請求項7記載の磁気方位センサのキャリブレーション方法において、
前記オフセット計算手順は、前記磁気方位センサの姿勢が異なる複数の状態の各々について各磁気センサSx,Sy,Szの観測値の最大値xxmax,yymax,zzmaxおよび観測値の最小値xxmin,yymin,zzminが得られ、前記複数の状態の各々について各磁気センサSx,Sy,Szの水平面に対する傾きφx,φy,φzが計算されたとき、(xxmax+xxmin)/2=Axsinφx+Bx、(yymax+yymin)/2=Aysinφy+By、(zzmax+zzmin)/2=Azsinφz+Bzの関係から最小二乗法により係数Bx,By,Bzを計算し、この係数Bx,By,Bzを各磁気センサSx,Sy,Szのオフセットoffsetx,offsety,offsetzとすることを特徴とする磁気方位センサのキャリブレーション方法。
The magnetic direction sensor calibration method according to claim 7,
In the offset calculation procedure, the maximum value x xmax , y ymax , z zmax of the observed value of each magnetic sensor S x , S y , S z and the minimum of the observed value for each of a plurality of states having different attitudes of the magnetic direction sensor When the values x xmin , y ymin , z zmin are obtained and the inclinations φ x , φ y , φ z of the respective magnetic sensors S x , S y , S z with respect to the horizontal plane are calculated for each of the plurality of states, x xmax + x xmin ) / 2 = A x sinφ x + B x , (y ymax + y ymin ) / 2 = A y sinφ y + B y , (z zmax + z zmin ) / 2 = minimum from the relationship of A z sinφ z + B z Coefficients B x , B y , B z are calculated by the square method, and these coefficients B x , B y , B z are set as offsets offset x , offset y , offset z of the magnetic sensors S x , S y , S z. A magnetic direction sensor calibration method characterized by the above.
請求項6乃至10のいずれか1項に記載の手順をコンピュータに実行させることを特徴とするキャリブレーションプログラム。   A calibration program for causing a computer to execute the procedure according to any one of claims 6 to 10.
JP2008286447A 2008-11-07 2008-11-07 Calibration apparatus, method and program for magnetic direction sensor Active JP5086225B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2008286447A JP5086225B2 (en) 2008-11-07 2008-11-07 Calibration apparatus, method and program for magnetic direction sensor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2008286447A JP5086225B2 (en) 2008-11-07 2008-11-07 Calibration apparatus, method and program for magnetic direction sensor

Publications (2)

Publication Number Publication Date
JP2010112871A JP2010112871A (en) 2010-05-20
JP5086225B2 true JP5086225B2 (en) 2012-11-28

Family

ID=42301532

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2008286447A Active JP5086225B2 (en) 2008-11-07 2008-11-07 Calibration apparatus, method and program for magnetic direction sensor

Country Status (1)

Country Link
JP (1) JP5086225B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104049229A (en) * 2014-05-28 2014-09-17 苏州中盛纳米科技有限公司 Method for generating standard high frequency alternating magnetic field

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012002695A (en) * 2010-06-17 2012-01-05 Fujikura Ltd Error factor determination method and device thereof, error compensation method, triaxial magnetic sensor, sensor module, and program for determining error factor
CN102589537B (en) * 2012-03-05 2016-01-20 无锡汉和航空技术有限公司 A kind of method for calibrating electronic compass having unmanned plane under magnetic environment
EP2861940A4 (en) * 2012-06-14 2015-09-16 Yei Corp Determining and correcting error of positional vector-valued sensors using a fixed angle calibration process
US9255799B2 (en) 2012-06-14 2016-02-09 Yost Labs Inc. Determining and correcting error of positional vector-valued sensors using a fixed angle calibration process
KR101315271B1 (en) 2013-06-28 2013-10-08 대한민국 Calculation method for induced current in seconds unit using geomagnetic field observation data
KR101517760B1 (en) * 2014-10-07 2015-05-07 김평 Calibration method and device for measuring a position and depth of magnetic marker
KR101721924B1 (en) * 2015-06-04 2017-03-31 주식회사 내비오닉스코리아 Apparatus and method for measuring geomagnetism

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3872262B2 (en) * 2000-01-25 2007-01-24 セイコーインスツル株式会社 Electronic compass and electronic watch with electronic compass
JP2003042766A (en) * 2001-07-30 2003-02-13 Japan Aviation Electronics Industry Ltd Azimuth measuring instrument
JP4207929B2 (en) * 2004-06-30 2009-01-14 ヤマハ株式会社 Method for correcting geomagnetic sensor, method for measuring offset of geomagnetic sensor, azimuth data calculation device, and portable information terminal
JP2007256161A (en) * 2006-03-24 2007-10-04 Citizen Holdings Co Ltd Electronic azimuth meter
JP2007309833A (en) * 2006-05-19 2007-11-29 Alps Electric Co Ltd Azimuth calculation program and electronic compass

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104049229A (en) * 2014-05-28 2014-09-17 苏州中盛纳米科技有限公司 Method for generating standard high frequency alternating magnetic field
CN104049229B (en) * 2014-05-28 2017-01-18 苏州中盛纳米科技有限公司 Method for generating standard high frequency alternating magnetic field

Also Published As

Publication number Publication date
JP2010112871A (en) 2010-05-20

Similar Documents

Publication Publication Date Title
JP5086225B2 (en) Calibration apparatus, method and program for magnetic direction sensor
JP2007500350A (en) System using 2-axis magnetic sensor for 3-axis compass solution
JP4252555B2 (en) Tilt sensor and azimuth measuring device using the same
CN109813336B (en) Calibration method for inertia measurement unit
JP2004286732A5 (en)
KR101485142B1 (en) Method and system for a self-calibrated multi-magnetometer platform
JPWO2006035505A1 (en) Magnetic sensor control method, control device, and portable terminal device
CN110849403B (en) Calibration method of directional sensor
JP2012506548A (en) Electronic compass and method for obtaining zero error of electronic compass
TW201428297A (en) Angular velocity estimation using a magnetometer and accelerometer
JP5386698B2 (en) Indoor position detector
Zongwei et al. A low-cost calibration strategy for measurement-while-drilling system
JP2005061969A (en) Azimuthal angle measuring instrument and azimuthal angle measuring method
CN109059960B (en) Calibration method of three-dimensional electronic compass
JP5264497B2 (en) Shape / acceleration measuring instrument and apparatus
JP6485195B2 (en) Inclination measuring method and apparatus, electronic apparatus and program
JP5374422B2 (en) Magnetic field detector
US11921173B2 (en) Device and method for determining an orientation of a magnet, and a joystick
WO2011129288A1 (en) Terrestrial magnetism detection device
JP6550906B2 (en) Method and apparatus for measuring inclination, electronic device and program
Klingbeil et al. Magnetic field sensor calibration for attitude determination
JP4648423B2 (en) Rotation angle measurement device and rotation angle measurement method
JP2006337333A (en) Triaxial electronic compass, and azimuth detecting method using the same
JP6477214B2 (en) Method and apparatus for measuring inclination, electronic device and program
CN106705954B (en) Floating ball platform carrier posture measuring method

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20101215

RD02 Notification of acceptance of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7422

Effective date: 20111117

RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20111117

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

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

R151 Written notification of patent or utility model registration

Ref document number: 5086225

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151

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

Free format text: PAYMENT UNTIL: 20150914

Year of fee payment: 3

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350