JPH07103766A - Azimuth measuring device - Google Patents

Azimuth measuring device

Info

Publication number
JPH07103766A
JPH07103766A JP24551293A JP24551293A JPH07103766A JP H07103766 A JPH07103766 A JP H07103766A JP 24551293 A JP24551293 A JP 24551293A JP 24551293 A JP24551293 A JP 24551293A JP H07103766 A JPH07103766 A JP H07103766A
Authority
JP
Japan
Prior art keywords
azimuth
disturbance
window
magnetic
magnetization
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
JP24551293A
Other languages
Japanese (ja)
Other versions
JP3019965B2 (en
Inventor
Kazuhide Ota
和秀 太田
Tetsuya Shimagami
哲也 島上
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.)
SANRITSU OOTOMEISHIYON KK
Toyota Motor Corp
Original Assignee
SANRITSU OOTOMEISHIYON KK
Toyota Motor 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 SANRITSU OOTOMEISHIYON KK, Toyota Motor Corp filed Critical SANRITSU OOTOMEISHIYON KK
Priority to JP24551293A priority Critical patent/JP3019965B2/en
Publication of JPH07103766A publication Critical patent/JPH07103766A/en
Application granted granted Critical
Publication of JP3019965B2 publication Critical patent/JP3019965B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Abstract

PURPOSE:To provide an azimuth measuring device which can measure an accurate azimuth by automatically correcting magnetization when the magnetization occurs caused by the influence of a disturbance magnetic field. CONSTITUTION:Deviation of a detection value from a first window 26 enables influence of disturbance magnetic field to be detected. Stable data P1 before being affected by the disturbance magnetic field are detected by a second window 28. Further, stable data P2 after the influence of the disturbance magnetic field is eliminated is also detected by the second window 28. Assuming that the moving direction of a vehicle does not change before and after disturbance, the coordinates of a center O2 of an azimuth circle 24 after the disturbance are calculated from the above data P1 and P2 and the coordinates of a center O1 of the azimuth circle 20 before the turbulence, thus setting the azimuth circle 24 after magnetization.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、車両などの移動体の進
行方位を得るために移動体に設けられる地磁気に基づき
進行方位を測定する装置に関するものであり、特に着磁
による誤差を自動的に補正可能な方位測定装置に関す
る。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a device for measuring the traveling direction of a moving body such as a vehicle based on the geomagnetism provided in the moving body. The present invention relates to an azimuth measuring device that can be corrected.

【0002】[0002]

【従来の技術】車両に搭載されるナビゲーションシステ
ムにおいては、車両の進行方位を得る必要があり、この
ための装置として磁気センサを利用した方位測定装置が
用いられている。この磁気センサは、互いに直交配置さ
れた一対の磁気検出素子から構成され、方位測定装置は
この検出された磁気ベクトルに基づき地磁気ベクトルを
算出し、車両の進行方位を判定する。
2. Description of the Related Art In a navigation system mounted on a vehicle, it is necessary to obtain the traveling azimuth of the vehicle, and an azimuth measuring device using a magnetic sensor is used as a device for this purpose. This magnetic sensor is composed of a pair of magnetic detection elements arranged orthogonally to each other, and the azimuth measuring device calculates a geomagnetic vector based on the detected magnetic vector to determine the traveling azimuth of the vehicle.

【0003】前記磁気センサを構成する磁気検出素子は
指向性を有する構造となっており、外部の磁気ベクトル
が磁気検出素子の指向と一致すれば、その出力は最大と
なり、また直交する場合は0となる。したがって、二つ
のセンサを同時に使用して互いに直交する磁気を検出す
れば磁気の向きと大きさ、すなわち磁気ベクトルを決定
することができる。この磁気センサにより地磁気を検出
し、この向きに基づき車両の進行方位が決定できる。
The magnetic detection element constituting the magnetic sensor has a structure having directivity. When the external magnetic vector matches the direction of the magnetic detection element, its output becomes maximum, and when it is orthogonal, it is 0. Becomes Therefore, the direction and magnitude of the magnetism, that is, the magnetic vector can be determined by using two sensors at the same time to detect magnetisms orthogonal to each other. The magnetic sensor detects geomagnetism, and the traveling direction of the vehicle can be determined based on this direction.

【0004】前記互いに直交する磁気検出素子の各々の
出力を座標軸とする座標平面において、車両の向きが変
わることによって、検出された磁気ベクトルの先端位置
が前記座標平面上を移動する。この移動の軌跡がいわゆ
る方位円である。理想的には地磁気ベクトルの先端はひ
とつの方位円上を移動する。
On the coordinate plane having the output of each of the magnetic detection elements orthogonal to each other as coordinate axes, the direction of the vehicle changes, so that the tip position of the detected magnetic vector moves on the coordinate plane. The locus of this movement is a so-called azimuth circle. Ideally, the tip of the geomagnetic vector moves on one azimuth circle.

【0005】しかし、外部磁界により外乱が生ずると磁
気センサの出力は方位円を外れて正確な方位を判定でき
なくなる。また、外部磁界が非常に大きい場合、車両の
ボディに外部磁界と逆向きの磁界が発生し、外部磁界が
なくなった後も磁界が残留する、いわゆる着磁が発生す
る。この着磁が発生するとこの残留磁界によって、地磁
気の正確な測定ができなくなる。このため、方位の測定
が不正確となり、ナビゲーションのシステムの信頼性を
低下させる。
However, when a disturbance is generated by an external magnetic field, the output of the magnetic sensor deviates from the azimuth circle and it becomes impossible to determine the correct azimuth. Further, when the external magnetic field is very large, a magnetic field in the direction opposite to the external magnetic field is generated in the vehicle body, and so-called magnetization occurs in which the magnetic field remains even after the external magnetic field disappears. When this magnetization occurs, the residual magnetic field makes it impossible to accurately measure the earth's magnetism. This makes the azimuth measurement inaccurate and reduces the reliability of the navigation system.

【0006】そこで、着磁を判定し、着磁後に補正を行
う必要がある。本出願人により先に出願された特開平3
−241481号公報には、方位円に沿って所定幅の円
環状のウインドウと、この円環状のウインドウの外側に
設けられたウインドウにより着磁の判定を行う装置が開
示されている。
Therefore, it is necessary to determine the magnetization and make a correction after the magnetization. Japanese Patent Application Laid-Open No. Hei 3 filed previously by the applicant
Japanese Patent No. 241481 discloses an apparatus for determining magnetization by using an annular window having a predetermined width along an azimuth circle and a window provided outside the annular window.

【0007】前記装置は円環状のウインドウから所定時
間連続して外れたことにより着磁があったことを判定
し、外側のウインドウから外れたことにより外乱があっ
たことを判定する。この判定に基づき搭乗者に着磁補正
の必要があることを報知する。
The apparatus determines that there is a magnetization due to continuous removal from the annular window for a predetermined time, and determines that there is disturbance due to removal from the outer window. Based on this determination, the passenger is notified that the magnetization correction is necessary.

【0008】[0008]

【発明が解決しようとする課題】前述の従来装置におい
ては、着磁補正を促す警告を行うことについては記載さ
れているが、その後どのように補正を実行するのかは示
されていない。現在方位を手動で入力するにしても、現
在の方位を知ることは必ずしも容易ではなく、また運転
操作中であれば手動入力操作そのものが煩わしいもので
ある。すなわち、搭乗者は警告を受けても適切な補正を
行うことが難しいという問題があった。
In the above-mentioned conventional apparatus, it is described that the warning for urging the magnetization correction is given, but it is not shown how the correction is executed thereafter. Even if the current azimuth is manually input, it is not always easy to know the current azimuth, and the manual input operation itself is troublesome during driving operation. That is, there is a problem that it is difficult for a passenger to make an appropriate correction even when receiving a warning.

【0009】また、自動的に補正を行う場合、外乱がな
くなった後の方位を、前記円環状ウインドウにから外れ
る直前に測定された方位に一致させる方法も考えられ
る。しかし、この場合円環状のウインドウが大きくて、
外れる直前に測定された方位がすでに外乱の影響を受け
ている場合があるという問題があった。
In addition, in the case of automatically performing the correction, a method in which the azimuth after the disturbance is eliminated coincides with the azimuth measured immediately before the deviation from the annular window can be considered. However, in this case, the circular window is large,
There was a problem that the azimuth measured immediately before the departure may already be affected by the disturbance.

【0010】本発明は前述の問題点を解決するためにな
されたものであり、外乱のために着磁が生じた場合に、
搭乗者を煩わせることなく、正確な着磁補正が行える方
位測定装置を提供することを目的とする。
The present invention has been made to solve the above-mentioned problems, and in the case where magnetization occurs due to disturbance,
It is an object of the present invention to provide an azimuth measuring device capable of performing accurate magnetization correction without bothering passengers.

【0011】[0011]

【課題を解決するための手段】前述の目的を達成するた
めに、本発明にかかる方位測定装置は、互いに直交配置
された一対の磁気検出素子からなる磁気センサによって
磁気ベクトルを検出し、当該磁気ベクトルに基づき地磁
気方位を測定する方位測定装置であって、前記磁気検出
素子の各々の検出上限出力および検出下限出力にほぼ等
しい上限値および下限値を有する第1ウインドウと、前
記磁気ベクトル先端付近に設定され、磁気ベクトルの検
出値の安定度を判定する第2ウインドウと、前記第2ウ
インドウ内に存在する最新の連続する所定個の磁気ベク
トル検出値に基づき算出された方位を記憶する記憶手段
と、前記磁気ベクトルの検出値が第1ウインドウの外側
となったときに外乱ありと判定する外乱判定手段と、外
乱が判定されると、前記記憶手段に記憶されている方位
を外乱前の方位とする外乱前方位設定手段と、前記磁気
ベクトルが第1ウインドウ内に復帰し、その後第2ウイ
ンドウ内に存在する連続する所定個の磁気ベクトル検出
値および前記外乱前方位とに基づき外乱後の着磁を補正
する着磁補正手段とを有する。
In order to achieve the above-mentioned object, an azimuth measuring apparatus according to the present invention detects a magnetic vector by a magnetic sensor composed of a pair of magnetic detecting elements arranged orthogonal to each other, and A azimuth measuring device for measuring a geomagnetic azimuth based on a vector, comprising: a first window having an upper limit value and a lower limit value substantially equal to a detection upper limit output and a detection lower limit output of each of the magnetic detection elements; A second window that is set and determines the stability of the detected value of the magnetic vector; and storage means that stores the azimuth calculated based on the latest continuous predetermined number of detected magnetic vector values existing in the second window. A disturbance determining unit that determines that there is a disturbance when the detected value of the magnetic vector is outside the first window; Pre-disturb azimuth setting means for setting the azimuth stored in the storage means as the pre-disturb azimuth, and a predetermined number of continuous magnetic vectors for returning the magnetic vector to the first window and thereafter existing in the second window And a magnetization correction means for correcting the magnetization after the disturbance based on the detected value and the azimuth before the disturbance.

【0012】[0012]

【作用】本発明は以上のような構成を有しており、外乱
の判定を第1ウインドウで行い、外乱の前後の測定方位
を第2ウインドウ内にある検出データに基づき算出し、
外乱後の方位は、外乱前の方位と等しいとして、新たな
方位円を設定することにより着磁補正を行う。第2ウイ
ンドウは検出された磁気ベクトルが所定時間一定である
かを判定するウインドウであり、したがって外乱の影響
を受けた検出値を除外することによって正確な着磁補正
を行うことができる。
The present invention has the above-mentioned configuration, and the disturbance is determined in the first window, and the measurement directions before and after the disturbance are calculated based on the detection data in the second window.
Assuming that the azimuth after the disturbance is equal to the azimuth before the disturbance, magnetization correction is performed by setting a new azimuth circle. The second window is a window for determining whether or not the detected magnetic vector is constant for a predetermined period of time. Therefore, accurate magnetization correction can be performed by excluding the detected value affected by the disturbance.

【0013】[0013]

【実施例】以下、本発明にかかる実施例を図面に基づき
説明する。
Embodiments of the present invention will be described below with reference to the drawings.

【0014】図1は、二つの磁気検出素子10a,10
bを直交して配置した磁気センサ10が示されている。
磁気検出素子10a,10bはその磁気センサの向いた
方向の成分を検出を検出する。図1においては矢印12
により示される磁気ベクトルHに対し、素子10aはx
軸方向の成分Hxを検出し、素子10bはy軸方向の成
分Hyを検出する。すなわち、磁気ベクトルがx軸とな
す角をθとすれば各素子10a,10bにより検出され
る磁気ベクトルの成分は、 Hx=H sinθ Hy=H cosθ であり、逆に各方向の成分Hx,Hyを検出すれば磁気
ベクトルの方向(θ)および大きさ(H)が決定でき
る。これが磁気センサの原理である。
FIG. 1 shows two magnetic detecting elements 10a and 10a.
A magnetic sensor 10 is shown with b arranged orthogonally.
The magnetic detection elements 10a and 10b detect the detection of the component in the direction of the magnetic sensor. Arrow 12 in FIG.
For the magnetic vector H indicated by
The element 10b detects the axial component Hx, and the element 10b detects the y-axis component Hy. That is, if the angle formed by the magnetic vector with respect to the x-axis is θ, the component of the magnetic vector detected by each of the elements 10a and 10b is Hx = H sin θ Hy = H cos θ, and conversely the components Hx and Hy in each direction. By detecting, the direction (θ) and magnitude (H) of the magnetic vector can be determined. This is the principle of the magnetic sensor.

【0015】図2は、図1に示した磁気検出素子10
a,10bの出力Vx,Vyによりリサージュ図形を描
かせたものである。地磁気ベクトルの場合にはその大き
さはほぼ一定しているので、方向θを0°から360°
まで変化させたとき、磁気検出素子の出力Vx,Vyは
各々正弦波形14,16となる。ただし、位相は90°
ずれている。したがって、図2に示すようにそのリサー
ジュ図形は円18となる。この円がいわゆる方位円18
であり、磁気センサ10の検出値はこの方位円18上に
存在することとなる。そして、方位円18上のどこにあ
るかが分れば、方位θが分かる。すなわち方位円18の
半径をRとすれば、 Vx=R sinθ Vy=R cosθ を満たすθを一意的に決定することができる。
FIG. 2 shows the magnetic sensing element 10 shown in FIG.
The Lissajous figure is drawn by the outputs Vx and Vy of a and 10b. In the case of a geomagnetic vector, its magnitude is almost constant, so the direction θ is 0 ° to 360 °.
When changed to, the outputs Vx and Vy of the magnetic detection element become sinusoidal waveforms 14 and 16, respectively. However, the phase is 90 °
Deviated. Therefore, as shown in FIG. 2, the Lissajous figure becomes a circle 18. This circle is the so-called azimuth circle 18
Therefore, the detection value of the magnetic sensor 10 exists on this azimuth circle 18. Then, if the position on the azimuth circle 18 is known, the azimuth θ can be known. That is, if the radius of the azimuth circle 18 is R, then θ that satisfies Vx = R sin θ Vy = R cos θ can be uniquely determined.

【0016】図3は本発明の原理の説明図である。前述
の磁気センサの各検出素子10a,10bの出力がそれ
ぞれVx軸,Vy軸に表されている。但し、検出素子の
出力は前述のように0を中心として正負双方に出力され
るものであるが、A/D変換を行うために出力に一定値
を加えて方位円が全て正の領域で描かれるようにしてい
る。図中Vxの上限値がVxm、Vyの上限値がVymで示
され、双方の下限値は0である。
FIG. 3 illustrates the principle of the present invention. The outputs of the detection elements 10a and 10b of the magnetic sensor described above are represented on the Vx axis and the Vy axis, respectively. However, the output of the detection element is output both positively and negatively with 0 as the center, as described above. However, in order to perform A / D conversion, a constant value is added to the output and the azimuth circle is drawn in the positive area I am trying to do it. In the figure, the upper limit value of Vx is indicated by V xm , the upper limit value of Vy is indicated by V ym , and the lower limit values of both are 0.

【0017】前述のように、この磁気センサにより地磁
気を検出する場合は、センサの向きにより検出される地
磁気ベクトルの向きは変化するがその大きさは変化しな
い。また、方位円の中心は、磁気センサの向きを変えて
2回の測定を行うことによって定められる。または、現
在の地磁気センサが向いている方位がすでに分かってい
る場合には、この方位を入力しても方位円中心を決定す
ることができる。このようにして、中心O1 (VxO1
yO1 )が決定され、方位円20が描かれる。磁気検出
素子の検出方向(図1ではy軸方向)が車両の進行方向
に一致するように磁気センサを設置した場合、車両の向
きは地磁気ベクトルとVy軸がなす角によって現され
る。図3の場合、地磁気ベクトルP1 (VxP1
yP1 )とVy軸がなす角θ1 が車両の進行方位であ
る。すなわち、 (VxP1 −VxO1 )=B sinθ1 (VyP1 −VyO1 )=B cosθ1 ここで、 B={(VxP1 −VxO1 2 +(VyP1 −VyO1 2
1/2 を満たすθ1 を求めることになる。
As described above, when the geomagnetic field is detected by this magnetic sensor, the direction of the geomagnetic vector detected changes depending on the direction of the sensor, but its magnitude does not change. Further, the center of the azimuth circle is determined by changing the direction of the magnetic sensor and performing the measurement twice. Alternatively, if the azimuth to which the current geomagnetic sensor is facing is already known, the azimuth circle center can be determined by inputting this azimuth. In this way, the center O 1 (V xO1 ,
V yO1 ) is determined and the orientation circle 20 is drawn. When the magnetic sensor is installed so that the detection direction of the magnetic detection element (the y-axis direction in FIG. 1) coincides with the traveling direction of the vehicle, the direction of the vehicle is represented by the angle between the geomagnetic vector and the Vy axis. In the case of FIG. 3, the geomagnetic vector P 1 (V xP1 ,
An angle θ 1 formed between the V yP1 ) and the Vy axis is the traveling direction of the vehicle. That is, (V xP1 −V xO1 ) = B sin θ 1 (V yP1 −V yO1 ) = B cos θ 1 where B = {(V xP1 −V xO1 ) 2 + (V yP1 −V yO1 ) 2 }
We will find θ 1 that satisfies 1/2 .

【0018】通常の場合、検出される地磁気ベクトル
は、この方位円20上から外れることはないが、地磁気
以外の外乱磁界を検出することによって、外れることが
ある。たとえば、車両が電車通過後の踏切を通過した場
合など、鉄道の架線を流れる電流によって磁界が形成さ
れ、これを磁気センサが検出してしまう場合などであ
る。このような場合は、前述のVx,Vyの上限値をは
るかに超える値となる。これが図中の曲線22として現
されている。さらに問題なことは、このような大きな外
乱があった後、方位円が元の位置に戻らないことであ
る。これは、前述の外乱磁界を通過する際に、車両の車
体等にこの磁界を打ち消すように逆向きの磁界が発生
し、これが外乱磁界通過後も残留し、着磁が発生する。
すなわち、磁気センサは地磁気と前記残留磁界を合わせ
て検出し、残留磁界の分だけ方位円の位置がずれる。図
中、方位円24が外乱通過後の方位円を示している。も
ちろん、地磁気ベクトルについては変化する要素はない
ので、方位円の大きさなどは変化することはない。つま
り、単に方位円の中心が点O1 から点O2 に移動しただ
けである。
Normally, the detected geomagnetic vector does not deviate from the azimuth circle 20, but it may deviate by detecting a disturbance magnetic field other than the geomagnetic field. For example, when a vehicle passes a railroad crossing after passing a train, a magnetic field is formed by an electric current flowing through an overhead wire of a railway, and the magnetic sensor detects the magnetic field. In such a case, the values far exceed the upper limits of Vx and Vy described above. This is represented by curve 22 in the figure. A further problem is that the bearing circle does not return to its original position after such a large disturbance. This is because, when passing through the disturbance magnetic field described above, a reverse magnetic field is generated in the vehicle body of the vehicle so as to cancel the magnetic field, and the magnetic field remains even after passing through the disturbance magnetic field to cause magnetization.
That is, the magnetic sensor detects both the geomagnetism and the residual magnetic field, and the position of the azimuth circle is displaced by the residual magnetic field. In the figure, the azimuth circle 24 shows the azimuth circle after the disturbance has passed. Of course, since there is no element that changes in the geomagnetic vector, the size of the azimuth circle does not change. That is, the center of the azimuth circle simply moved from the point O 1 to the point O 2 .

【0019】しかし、この着磁に対して補正が行われな
いと測定された方位が不正確となってしまう。図4にお
いて、方位円20が着磁によって方位円24に移動した
場合、本来着磁後においても等しい方位θ1 を示す場合
においても、地磁気ベクトルと着磁によるベクトルの合
成された磁気ベクトルPN に基づき方位を算出するの
で、求まる方位はθ2 となってしまう。
However, if the magnetization is not corrected, the measured azimuth becomes inaccurate. In FIG. 4, when the azimuth circle 20 moves to the azimuth circle 24 due to the magnetization, even if the azimuth circle 20 shows the same azimuth θ 1 even after originally magnetized, the magnetic vector P N obtained by combining the geomagnetic vector and the magnetized vector. Since the azimuth is calculated based on, the azimuth obtained is θ 2 .

【0020】そこで、本装置においては、外乱磁界が検
出されると、外乱による影響を受けていないデータに基
づき外乱以前の方位を決定し、外乱の影響がなくなった
時点での方位を外乱以前の方位であるとして、方位円の
位置の補正を行う。外乱磁界の検出は第1ウインドウ2
6により行われる。第1ウインドウ26は、出力Vx,
Vyの上限値と下限値に作る正方形のやや内側に設定さ
れた正方形の形状を有している。第1ウインドウ26の
範囲は、具体的にはVx,Vyの下限値がVx1,Vy1
あり上限値がVx2,Vy2である。そして、測定できる限
界を超えた磁界が検知された場合に外乱磁界を受けてい
ると判定される。外乱磁界を受けていると判定されると
外乱以前の地磁気ベクトルP1 (VxP1 ,VyP1 )に基
づき方位θ1 が算出され、記憶される。そして外乱後の
検出値(VxP2 ,VyP2 )と前記の方位θ1 によって、
方位円の中心O2 を決定する。これ以降は、方位円24
に基づき方位の計測を行う。ここで、検出値が外乱の影
響を受けているのか否かを判定する必要がある。このた
めに本装置においては第2ウインドウ28が設けられて
いる。すなわち、検出値が所定時間内第2ウインドウ2
8内に存在すれば、測定された方位は安定しており、外
乱の影響を受けていないと考える。以上が本装置におけ
る着磁補正の概要である。
Therefore, in the present apparatus, when the disturbance magnetic field is detected, the azimuth before the disturbance is determined based on the data not affected by the disturbance, and the azimuth at the time when the influence of the disturbance disappears is set to the azimuth before the disturbance. The position of the azimuth circle is corrected assuming that it is the azimuth. The disturbance magnetic field can be detected in the first window 2
6 is performed. The first window 26 displays the output Vx,
It has a square shape that is set slightly inside of the square created by the upper and lower limits of Vy. In the range of the first window 26, specifically, the lower limit values of Vx and Vy are V x1 and V y1 and the upper limit values are V x2 and V y2 . Then, when a magnetic field exceeding the measurable limit is detected, it is determined that the disturbance magnetic field is being received. When it is determined that the disturbance magnetic field is being received, the azimuth θ 1 is calculated and stored based on the geomagnetic vector P 1 (V xP1 , V yP1 ) before the disturbance. And it said the azimuth theta 1 and the detection value after the disturbance (V xP2, V yP2),
Determine the center O 2 of the azimuth circle. After this, the azimuth circle 24
The azimuth is measured based on. Here, it is necessary to determine whether or not the detected value is affected by the disturbance. For this reason, the second window 28 is provided in this device. That is, the detected value is within the predetermined time within the second window 2
If it exists within 8, it is considered that the measured azimuth is stable and is not affected by the disturbance. The above is the outline of the magnetization correction in this apparatus.

【0021】図5には本実施例の装置の全体構成が示さ
れている。本体1には前述の地磁気センサ10の出力V
x,Vyが入力され、その信号はA/D変換器2により
A/D変換された後、マイクロコンピュータ3に入力さ
れる。また、本体1には温度センサ4からの信号Tが入
力され、この温度信号もA/D変換されてマイクロコン
ピュータ3に入力されている。マイクロコンピュータ3
にはメモリ5が接続されており、方位円の中心座標や各
ウインドウの値が格納されている。また、マイクロコン
ピュータ3は、地磁気センサ10の出力に基づき車両の
進行方位を演算し、表示器ドライバ6を介して表示器7
に対して方位信号を出力している。本体1に設けられた
電源回路8はバッテリEに接続されて、各回路への電源
の供給を行っている。図においてSW1は車両のイグニ
ッションスイッチである。
FIG. 5 shows the overall construction of the apparatus of this embodiment. The output V of the geomagnetic sensor 10 described above is applied to the main body 1.
x and Vy are input, the signal is A / D converted by the A / D converter 2, and then input to the microcomputer 3. Further, the signal T from the temperature sensor 4 is input to the main body 1, and this temperature signal is also A / D converted and input to the microcomputer 3. Microcomputer 3
A memory 5 is connected to and stores the center coordinates of the azimuth circle and the values of each window. Further, the microcomputer 3 calculates the traveling direction of the vehicle based on the output of the geomagnetic sensor 10, and the display 7 is displayed via the display driver 6.
To the azimuth signal. The power supply circuit 8 provided in the main body 1 is connected to the battery E to supply power to each circuit. In the figure, SW1 is an ignition switch of the vehicle.

【0022】以下、図6以下に示すフローチャートによ
って、本装置の方位計測の制御についてさらに詳細な説
明を行う。本装置が起動されると、初期設定が必要かが
判断される(S101)。前回装置使用時の検出値が記
憶されている場合はこれを利用し、初期設定は行われな
い。初期設定が必要な場合は、車両、すなわち磁気セン
サを旋回させて、検出値Vx,Vyの各々の最大値、最
小値を計測する(S102)。さらに、これらの検出値
より方位円が算出され、その中心O1 のVx−Vy平面
上の座標が計算され、初期設定が終了する(S10
3)。
The control of azimuth measurement of this apparatus will be described below in more detail with reference to the flowcharts shown in FIG. When the apparatus is activated, it is determined whether initial setting is necessary (S101). If the detected value when the device was used last time is stored, this is used and the initial setting is not performed. When the initial setting is necessary, the vehicle, that is, the magnetic sensor is turned to measure the maximum value and the minimum value of each of the detection values Vx and Vy (S102). Further, the azimuth circle is calculated from these detected values, the coordinates of the center O 1 on the Vx-Vy plane are calculated, and the initial setting is completed (S10).
3).

【0023】初期設定が必要ない場合、または初期設定
が終了すると温度Tが計測される。これは、温度依存性
のある地磁気センサの出力を補正するためである(S1
04)。次に地磁気センサの出力Vx,Vyが測定され
る(S105)。
When the initial setting is not necessary or when the initial setting is completed, the temperature T is measured. This is to correct the output of the geomagnetic sensor, which has temperature dependence (S1).
04). Next, the outputs Vx and Vy of the geomagnetic sensor are measured (S105).

【0024】これらの出力を基に外乱磁界があるか、お
よび着磁が生じたかが判断され、着磁が生じた場合着磁
警告がなされ、また着磁補正が開始される(S10
6)。このステップS106については、後でさらに詳
しく説明する。着磁などがなかった場合は、そのままの
出力に基づきマイクロコンピュータ3にて方位θの算出
が行われる(S107)。着磁が生じ補正が必要な場合
は、補正後に方位θの算出が行われる(S107)。そ
して、この方位θが表示器7に表示される(S10
8)。以降、ステップS104からステップS108ま
での工程は所定の周期で順次繰り返される。
Based on these outputs, it is judged whether or not there is a disturbance magnetic field and whether or not magnetization has occurred. If magnetization has occurred, a magnetization warning is given and magnetization correction is started (S10).
6). This step S106 will be described in more detail later. If there is no magnetization, etc., the azimuth θ is calculated by the microcomputer 3 based on the output as it is (S107). When magnetization occurs and correction is necessary, the azimuth θ is calculated after the correction (S107). Then, this azimuth θ is displayed on the display 7 (S10
8). Thereafter, steps S104 to S108 are sequentially repeated at a predetermined cycle.

【0025】図7には、外乱および着磁判定のフロー
と、自動着磁補正のフローが示されている。ステップS
105にて磁気センサの出力Vx,Vyが測定される
と、方位円20の中心O1 の座標(VxO1 ,VyO1 )と
の距離Bが算出される(S201)。この距離Bが方位
円20の半径Rと比較される。具体的には,方位円20
に沿って、幅2K1 Rの円環状のウインドウ30(第3
ウインドウ)内に検出された磁気ベクトル検出値(V
x,Vy)が存在するかを判定する(S202)。ここ
でK1 は0以上1未満の所定の係数である。よって、第
3ウインドウは中心が点O1 で外半径(1+K1 )R、
内半径(1−K1 )Rの円環形状を有する。そして、こ
の第3ウインドウは、設定されている方位円が何らかの
原因で現在の方位円と一致しなくなったことを検出する
のに適している。この第3ウインドウ30内に検出値
(Vx,Vy)が存在しない場合は、さらに、第1ウイ
ンドウ26内に検出値が存在するかが判断される(S2
03)。第1ウインドウ内に存在すれば計数C1 が10
0以上であるかが判断される(S204)。この計数C
1 は、検出値が第3ウインドウ30外で第1ウインドウ
26内である状態の継続時間を示すものである。もし、
計数C1 が100以上であれば着磁警告がなされ、初期
設定をやり直すことを促す。計数C1 が100未満また
はステップS205にて着磁警告がなされた後には、計
数C1 に1が加えられ更新される(S206)。さら
に、計数C2 に1が入力される(S207)。計数C2
は検出値が第3ウインドウ30に復帰してからの経過時
間を表す。
FIG. 7 shows a flow of disturbance and magnetization determination, and a flow of automatic magnetization correction. Step S
When the outputs Vx and Vy of the magnetic sensor are measured at 105, the distance B from the coordinates ( VxO1 , VyO1 ) of the center O 1 of the azimuth circle 20 is calculated (S201). This distance B is compared with the radius R of the azimuth circle 20. Specifically, the azimuth circle 20
Along with the circular window 30 of width 2K 1 R (3rd
Magnetic vector detected value (V
It is determined whether (x, Vy) exists (S202). Here, K 1 is a predetermined coefficient of 0 or more and less than 1. Therefore, in the third window, the center is the point O 1 and the outer radius is (1 + K 1 ) R,
It has an annular shape with an inner radius (1-K 1 ) R. The third window is suitable for detecting that the set azimuth circle does not match the current azimuth circle for some reason. When the detected value (Vx, Vy) does not exist in the third window 30, it is further determined whether the detected value exists in the first window 26 (S2).
03). If it is in the first window, the count C 1 is 10
It is determined whether it is 0 or more (S204). This count C
1 indicates the duration of the state in which the detected value is outside the third window 30 and inside the first window 26. if,
If the count C 1 is 100 or more, a magnetization warning is given and prompts to redo the initial setting. After the count C 1 is less than 100 or the magnetization warning is given in step S205, the count C 1 is updated by adding 1 (S206). Further, 1 is input to the count C 2 (S207). Count C 2
Represents the elapsed time after the detected value returns to the third window 30.

【0026】そして、C1 =C2 =0の時の最新のV
x,Vyを出力データとみなす(S208)。これは、
第3ウインドウを外れる以前のデータが外乱などの影響
を受けない信頼性のあるデータであるという仮定に基づ
くものである。なお、この最新のVx,Vyは後述する
ステップS214にて記憶されたものである。
The latest V when C 1 = C 2 = 0
x and Vy are regarded as output data (S208). this is,
This is based on the assumption that the data before leaving the third window is reliable data that is not affected by disturbance or the like. The latest Vx and Vy are stored in step S214 described later.

【0027】ステップS202において、検出値が第3
ウインドウ内にあると判定されると、さらに係数C2
0か、または4を超えるかが判定される(S210)。
この条件を満たす場合は、C1 =C2 =0と入力される
(S212,S213)。したがって、C1 =C2 =0
である場合は、磁気センサの出力に異常値がないことを
示していることが分かる。この場合の検出値Vx,Vy
を記憶する(S214)。これは前述のステップS20
8にて用いられる最新のVx,Vyのデータとなる。
In step S202, the detected value is the third value.
If it is determined that it is within the window, it is further determined whether the coefficient C 2 is 0 or exceeds 4 (S210).
When this condition is satisfied, C 1 = C 2 = 0 is input (S212, S213). Therefore, C 1 = C 2 = 0
In the case of, it can be seen that it indicates that there is no abnormal value in the output of the magnetic sensor. Detection values Vx, Vy in this case
Is stored (S214). This is step S20 described above.
It becomes the latest Vx, Vy data used in 8.

【0028】ステップS210において、C2 =1,
2,3と判定された場合は、今までのC2 に1を加えて
(S211)、前述のステップS208に移行する。以
上のように、ステップS210によってC2 =1,2,
3と判定された場合は、一旦第3ウインドウの外に出た
検出値が、また第3ウインドウに復帰した場合で、かつ
復帰してからまだ所定の時間が経過していない場合であ
る。このような場合は、検出値が安定するまで、信頼性
のある最新のデータ、すなわちステップS214で記憶
された検出値Vx,Vyを用いて現在の進行方位を計算
する。
In step S210, C 2 = 1 and
If it is determined to be 2 or 3, 1 is added to the existing C 2 (S211), and the process proceeds to step S208. As described above, in step S210, C 2 = 1, 2,
When it is determined to be 3, it means that the detected value once outside the third window has returned to the third window, and that the predetermined time has not elapsed since the return. In such a case, the current traveling direction is calculated using the latest reliable data, that is, the detection values Vx and Vy stored in step S214, until the detection value becomes stable.

【0029】ステップS208,S214からはステッ
プS209に移行する。ここでは、外乱などの影響を受
けていない安定したデータを格納する。これは連続して
N個、同値とみなせる値が検出されたことによって、こ
れらの検出値を安定したデータとしている。図8によ
り、この安定したデータの収集に関し詳細に説明する。
From steps S208 and S214, the process proceeds to step S209. Here, stable data that is not affected by disturbance or the like is stored. This is because the N detected values which can be regarded as the same value are continuously detected, and these detected values are made stable data. The stable data collection will be described in detail with reference to FIG.

【0030】図8は、ステップS209をさらに詳しく
示したフローチャートである。まず、VxP=0かつVyP
=0が判定される(S301)。VxPとVyPは安定判定
の基準値であり、これらが0であるということは、安定
判定の対象となるべきデータがまだ検出されていないこ
とを示している。逆に、基準値VxP,VyPのいずれかが
0以外であるということは、すでに基準値が定められデ
ータの格納が行われていることを示す。VxPとVyPが0
でない場合、今回の制御周期で検出されたVx,Vyが
各々VxP,VyPを中心として2K2 Rの幅に入っている
かが判定される(S302)。この判定に用いられてい
るウインドウが第2ウインドウである(図3では符号2
8で示される)。K2 は0を超えて1未満の係数であ
り、従って第2ウインドウは基準値の座標(VxP
yP)を対角線の交点とする矩形形状を有することが分
かる。そして、第2ウインドウ内に検出値が存在すれ
ば、この検出値がVx(n) ,Vy(n) として、順次格納
される(S303)。ここでnは基準値VxP,VyPが定
められてから検出された順番を示す。そして、最大N個
までデータが取り込まれると、その後は最も古いデータ
を消去して、最新のデータを取り込む。
FIG. 8 is a flowchart showing step S209 in more detail. First, V xP = 0 and V yP
= 0 is determined (S301). V xP and V yP are reference values for stability determination, and the fact that they are 0 indicates that the data to be the target of stability determination has not been detected yet. On the contrary, if any of the reference values V xP and V yP is other than 0, it means that the reference value has already been set and data is stored. V xP and V yP are 0
If not, it is determined whether Vx and Vy detected in the current control cycle are within the width of 2K 2 R centered on V xP and V yP , respectively (S302). The window used for this determination is the second window (reference numeral 2 in FIG. 3).
8). K 2 is a coefficient of more than 0 and less than 1, so that the second window has coordinates of the reference value (V xP ,
It can be seen that it has a rectangular shape with V yP ) as the intersection of the diagonal lines. Then, if the detected value exists in the second window, the detected value is sequentially stored as Vx (n) and Vy (n) (S303). Here, n indicates the order of detection after the reference values V xP and V yP are determined. Then, when up to N pieces of data have been fetched, the oldest data is erased thereafter and the latest data is fetched.

【0031】ステップS302で、検出値が第2ウイン
ドウ外であると判定された場合は、VxP=0,VyP=0
が入力される(S304)。
When it is determined in step S302 that the detected value is outside the second window, V xP = 0 and V yP = 0.
Is input (S304).

【0032】また、ステップS301でVxP=0かつV
yP=0が判定されると、Vx(n) ,Vy(n) がすでに記
憶されている場合、これらを消去する(S305)。さ
らに、今回検出された値を基準値VxP,VyPとして採用
する(S306)。そして、ステップS303へ移行す
る。以上のように、第2ウインドウによって判定され
た、安定したデータが記憶され、これらのデータは後述
する自動一方位着磁補正に用いられる。
Further, in step S301, V xP = 0 and V x
When yP = 0 is determined, if Vx (n) and Vy (n) are already stored, they are erased (S305). Further, the values detected this time are adopted as the reference values V xP and V yP (S306). Then, the process proceeds to step S303. As described above, the stable data determined by the second window is stored, and these data are used for the automatic one-sided magnetization correction described later.

【0033】図7に戻って、ステップS203にて検出
値が第1ウインドウ外と判定された場合、自動着磁補正
のルーチンに移行する(S215,S216)。本装置
の自動着磁補正機能は一つの方位の計測によって、着磁
後の方位円を決定するものである。
Returning to FIG. 7, if it is determined in step S203 that the detected value is outside the first window, the routine proceeds to the automatic magnetization correction routine (S215, S216). The automatic magnetization correction function of this device determines the azimuth circle after magnetization by measuring one azimuth.

【0034】以下、図9および図10によって、自動一
方位着磁補正機能について説明をする。図9は図7にお
けるステップS215,216をさらに詳細に示したフ
ローチャートである。また図10は、横軸に時間をとり
縦軸に検出値Vyをとった図である。図10中の符号
は、図3と同様のものを示す場合には、同一の符号を付
する。
The automatic one-sided magnetization correction function will be described below with reference to FIGS. 9 and 10. FIG. 9 is a flowchart showing steps S215 and 216 in FIG. 7 in more detail. Further, FIG. 10 is a diagram in which the horizontal axis represents time and the vertical axis represents the detected value Vy. The reference numerals in FIG. 10 are the same as those in FIG.

【0035】図10は、VyP1 付近で安定していた検出
値が外乱により第1ウインドウを外れて、後に再び第1
ウインドウ内に復帰して、外乱前とは異なった検出値V
yP2で安定した経過を示している。図8などに示したフ
ローにより、連続した同値とみなせる検出値がN個記憶
されている。これらのデータは、第2ウインドウ28内
に存在する。そして、外乱により検出値に乱れが生じる
とB10,B11,B12と第2ウインドウ28を外れる値が
検出される。しかし、これらの検出値はまだ第1ウイン
ドウを外れてはいない。これが、第1ウインドウを外れ
ると、自動補正制御が開始される。ここで、第3ウイン
ドウ30をデータの安定判定に使わないのは、このウイ
ンドウが円環形状をしているために、たとえば図3のA
で示した部分でわかるように、幅が非常に広くなる場合
があり安定判定としては不適当な場合があるからであ
る。図10で説明すれば、第3ウインドウ30の幅は第
2ウインドウの幅に比して広く、これをそのまま使え
ば、検出値B10,B11も安定したデータとして取り込ま
れ、外乱の影響を受けたデータを含んでしまう可能性が
ある。このため、外乱前の検出値を利用する本装置の補
正制御にとっては不適切であるので、外乱の影響を極力
排除するためにより小さな範囲の第2ウインドウ28に
より、安定判定が行われる。
FIG. 10 shows that the detected value, which was stable near V yP1 , deviated from the first window due to the disturbance, and later again the first value was detected.
After returning to the window, the detected value V different from that before the disturbance
It shows a stable course at yP2 . According to the flow shown in FIG. 8 and the like, N detection values that can be regarded as continuous same values are stored. These data are present in the second window 28. When the detected value is disturbed due to the disturbance, B 10 , B 11 , and B 12 and a value outside the second window 28 are detected. However, these detected values are not outside the first window. When this goes out of the first window, the automatic correction control is started. Here, the reason why the third window 30 is not used for the stability judgment of the data is that this window has an annular shape, and for example, A of FIG. 3 is used.
This is because, as can be seen from the part indicated by, the width may be extremely wide and may not be appropriate for stability determination. Referring to FIG. 10, the width of the third window 30 is wider than the width of the second window, and if this is used as it is, the detected values B 10 and B 11 are also taken in as stable data, and the influence of disturbance is affected. It may include the received data. For this reason, it is not suitable for the correction control of the present apparatus that uses the detected value before the disturbance, and therefore the stability determination is performed by the second window 28 in a smaller range in order to eliminate the influence of the disturbance as much as possible.

【0036】自動着磁補正の制御については図9のフロ
ーチャートにより説明する。第1ウインドウ26を外れ
た値が検出されると、計数C3 が100以上であるかが
判定される(S401)。計数C3 は、自動着磁補正の
実行に要している時間をカウントしている。この所定時
間以上要しても補正が終了しないときには、図8のステ
ップS205に移行して、搭乗者に異常を報知する。ま
だ所定時間が経過していない場合には検出された値が第
1ウインドウ内に復帰したかが判定される(S40
2)。第1回目は、当然第1ウインドウ外であり、再び
Vx,Vyの測定が行われる(S403)。次に、計数
3 に1が加えられる(S404)。そして、ステップ
S401に戻る。このステップS401からS404の
工程は、検出値が第1ウインドウ26内に復帰するまで
繰り返される。この時、繰り返すたびに計数C3 が増加
し、長い間第1ウインドウ26内に復帰しないと所定時
間が経過することになる。
The control of the automatic magnetization correction will be described with reference to the flowchart of FIG. When a value outside the first window 26 is detected, it is determined whether the count C 3 is 100 or more (S401). The count C 3 counts the time required to execute the automatic magnetization correction. If the correction is not completed even if the predetermined time or more is required, the process proceeds to step S205 in FIG. 8 to notify the passenger of the abnormality. If the predetermined time has not elapsed yet, it is determined whether the detected value has returned to the first window (S40).
2). The first time is of course outside the first window, and Vx and Vy are measured again (S403). Next, 1 is added to the count C 3 (S404). Then, the process returns to step S401. The steps S401 to S404 are repeated until the detected value returns to the first window 26. At this time, the count C 3 increases each time it is repeated, and a predetermined time elapses unless it returns to the first window 26 for a long time.

【0037】検出値が第1ウインドウ26内に復帰する
とステップS209で記憶されたVx(n) ,Vy(n) の
各々の平均値VxP1 ,VyP1 が算出され、記憶される
(S405)。これが外乱前の磁気ベクトルの先端の座
標とする。この平均値VxP1 ,VyP1 の算出は、これ以
前に行うことも可能であるが、実際この値を使用する段
になって、算出するほうが無駄な演算処理を行うことを
減少させることができる。
When the detected value returns to the first window 26, the average values V xP1 and V yP1 of Vx (n) and Vy (n) stored in step S209 are calculated and stored (S405). These are the coordinates of the tip of the magnetic vector before the disturbance. The calculation of the average values V xP1 and V yP1 can be performed before this, but it is possible to reduce unnecessary calculation processing by actually calculating the average values. .

【0038】次に、ここでも計数C3 が100以上であ
るかが判定される(S406)。この判定は、外乱後の
検出するまでに時間が経過し、外乱判定がなされてから
所定時間が過ぎたことを判定するもので、ステップS4
01と同様所定時間が経過するとステップS205へ移
行する。所定時間が経過していない場合にはVx,Vy
の測定が行われる。そして、M個連続して同値とみなせ
る検出値Vx(m) ,Vy(m) を順次記憶する(ステップ
S408)。このステップは図7のステップS209と
同様に図8に示される流れで処理される。ただし、図8
の“n”は“m”に読み替え、またデータがM個になっ
た後、古いデータを捨て新しいデータで書き換えること
は行われない。そして、記憶されたデータの数がM個に
なったかが判定される(S409)。M個に達していな
い場合には、計数C3 に1が加えられ(S410)、ス
テップS406に戻る。また、データがM個に達してい
た場合には、記憶されたVx(m) ,Vy(m) の各々の平
均値VxP2 ,VyP2 が算出され、記憶される(S41
1)。これらが外乱後の磁気ベクトルの先端の座標であ
る。
Next, again, it is determined whether the count C 3 is 100 or more (S406). In this determination, it is determined that time has elapsed before detection after the disturbance and a predetermined time has passed since the disturbance determination was made.
Similar to 01, when a predetermined time has elapsed, the process proceeds to step S205. Vx, Vy when the predetermined time has not elapsed
Is measured. Then, the M detected values Vx (m) and Vy (m) which can be continuously regarded as the same value are sequentially stored (step S408). This step is processed in the flow shown in FIG. 8 similarly to step S209 in FIG. However, FIG.
The “n” in “1” is read as “m”, and after the number of data becomes M, the old data is not discarded and rewritten with new data. Then, it is determined whether the number of stored data has reached M (S409). If the number has not reached M, 1 is added to the count C 3 (S410), and the process returns to step S406. Also, if the data has reached the M is stored Vx (m), each of the average value of Vy (m) V xP2, V yP2 are calculated and stored (S41
1). These are the coordinates of the tip of the magnetic vector after the disturbance.

【0039】ステップS405,S411にて求められ
た外乱前後もベクトルの先端座標に基づき外乱後の方位
円を設定する(S412)。具体的には以下のようにな
る。車両の進行方位は外乱磁界の生じている間変化しな
いとし、したがって外乱前後において、測定される方位
は変化しないとする。すなわち、図3において、Vy軸
とベクトルP1 ,P2 のなす角は各々θ1 で等しいとい
うことである。さらに、地磁気を検出するのであるか
ら、方位円の半径は常に等しい。これら二つの前提か
ら、ベクトル先端が決定できれば、方位円の中心O2
座標(VxO2 ,VyO 2 )を次式より決定することができ
ることが分かる。
Before and after the disturbance obtained in steps S405 and S411, the azimuth circle after the disturbance is set based on the coordinates of the tip of the vector (S412). Specifically, it is as follows. It is assumed that the heading of the vehicle does not change while the disturbance magnetic field is generated, and therefore the measured heading does not change before and after the disturbance. That is, in FIG. 3, the angles formed by the Vy axis and the vectors P 1 and P 2 are equal to θ 1 . Furthermore, since the geomagnetism is detected, the azimuth circles always have the same radius. From these two assumptions, if decision vector tip, it can be seen that it is possible to determine by the following formula center O 2 of the coordinates of the orientation circle (V xO2, V yO 2) .

【0040】VxO2 =VxP2 −(VxP1 −VxO1 ) VyO2 =VyP2 −(VyP1 −VyO1 ) このようにして求まった新しい方位円24により以後方
位測定が行なわれる。そして最後に計数C3 を0とする
(S413)。
[0040] V xO2 = V xP2 - (V xP1 -V xO1) V yO2 = V yP2 - (V yP1 -V yO1) subsequent orientation determined by such new orientation ¥ 24 Motoma' in the are performed. Finally, the count C 3 is set to 0 (S413).

【0041】以上のように本装置においては、外乱磁界
によって着磁が生じて、磁気センサの出力を補正する必
要が生じたことを装置が判定し、さらに補正動作も自動
的に行う。
As described above, in the present apparatus, the apparatus determines that it is necessary to correct the output of the magnetic sensor due to the magnetization due to the disturbance magnetic field, and the correction operation is automatically performed.

【0042】[0042]

【発明の効果】以上、本発明においては外乱磁界を検知
することにより、着磁が生じることを判定し、着磁が生
じた場合に外乱磁界検出前後の検出値を基に補正を行
う。この時搭乗者は初期設定を再び行うことや、現在に
進行方位を入力するなどの操作を一切することがなく、
自動的に着磁補正が行われる。
As described above, according to the present invention, it is determined by detecting the disturbance magnetic field that the magnetization is generated, and when the magnetization is generated, the correction is performed based on the detection values before and after the detection of the disturbance magnetic field. At this time, the passenger does not have to perform the initial settings again or perform any operation such as inputting the heading at present,
Magnetization correction is automatically performed.

【図面の簡単な説明】[Brief description of drawings]

【図1】磁気センサの原理の説明図である。FIG. 1 is an explanatory diagram of the principle of a magnetic sensor.

【図2】磁気センサの原理の説明図であり、特に方位円
を説明する図である。
FIG. 2 is an explanatory diagram of a principle of a magnetic sensor, and particularly a diagram illustrating an azimuth circle.

【図3】方位測定装置の原理の説明図であり、また本発
明の原理の説明図である。
FIG. 3 is an explanatory diagram of the principle of the azimuth measuring device, and is also an explanatory diagram of the principle of the present invention.

【図4】方位測定装置の着磁現象を説明するための図で
ある。
FIG. 4 is a diagram for explaining a magnetization phenomenon of the azimuth measuring device.

【図5】本発明にかかる方位測定装置の好適な実施例の
構成を示す図である。
FIG. 5 is a diagram showing a configuration of a preferred embodiment of an azimuth measuring device according to the present invention.

【図6】本実施例の制御フローの概要を示すフローチャ
ートである。
FIG. 6 is a flowchart showing an outline of a control flow of this embodiment.

【図7】本実施例の制御フローであり、特に着磁判定に
関する制御のフローチャートである。
FIG. 7 is a control flow of the present embodiment, and is a flow chart of control particularly regarding magnetization determination.

【図8】本実施例の制御フローであり、特に外乱磁気検
出前の安定したデータを格納するための制御のフローチ
ャートである。
FIG. 8 is a control flow of the present embodiment, and is a flow chart of control for storing stable data, particularly before disturbance magnetic field detection.

【図9】本実施例の制御フローであり、特に自動着磁補
正に関する制御のフローチャートである。
FIG. 9 is a control flow of the present embodiment, and is a flowchart of control relating to automatic magnetization correction in particular.

【図10】本実施例の自動着磁補正機能を説明するため
の図である。
FIG. 10 is a diagram for explaining the automatic magnetization correction function of the present embodiment.

【符号の説明】[Explanation of symbols]

20 方位円(外乱前) 22 外乱磁気検出時の磁気ベクトル先端の軌跡 24 方位円(外乱後) 26 第1ウインドウ 28 第2ウインドウ 30 第3ウインドウ 20 azimuth circle (before disturbance) 22 trajectory of magnetic vector tip at the time of detecting disturbance magnetism 24 azimuth circle (after disturbance) 26 first window 28 second window 30 third window

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】互いに直交配置された一対の磁気検出素子
からなる磁気センサによって磁気ベクトルを検出し、当
該磁気ベクトルに基づき地磁気方位を測定する方位測定
装置において、 前記磁気検出素子の各々の検出上限出力および検出下限
出力にほぼ等しい上限値および下限値を有する第1ウイ
ンドウと、 前記磁気ベクトル先端付近に設定され、磁気ベクトルの
検出値の安定度を判定する第2ウインドウと、 前記第2ウインドウ内に存在する最新の連続する所定個
の磁気ベクトル検出値に基づき算出された方位を記憶す
る記憶手段と、 前記磁気ベクトルの検出値が第1ウインドウの外側とな
ったときに外乱ありと判定する外乱判定手段と、 外乱が判定されると、前記記憶手段に記憶されている方
位を外乱前の方位とする外乱前方位設定手段と、 前記磁気ベクトルが第1ウインドウ内に復帰し、その後
第2ウインドウ内に存在する連続する所定個の磁気ベク
トル検出値および前記外乱前方位とに基づき外乱後の着
磁を補正する着磁補正手段と、を有する方位測定装置。
1. An azimuth measuring device for detecting a magnetic vector by a magnetic sensor composed of a pair of magnetic detection elements arranged orthogonal to each other, and measuring a geomagnetic azimuth based on the magnetic vector, wherein a detection upper limit of each of the magnetic detection elements. A first window having an upper limit value and a lower limit value that are substantially equal to the output and the detection lower limit output; a second window that is set near the tip of the magnetic vector and that determines the stability of the detected value of the magnetic vector; Storage means for storing the azimuth calculated on the basis of the latest continuous predetermined magnetic vector detection values existing in, and a disturbance determined to have a disturbance when the detection value of the magnetic vector is outside the first window. When the disturbance is determined, the determination means and the pre-disturbance azimuth setting hand that sets the azimuth stored in the storage means as the pre-disturbance azimuth And a magnetization correction for correcting the magnetization after the disturbance based on a predetermined number of consecutive magnetic vector detection values existing in the second window and the disturbance front direction after the magnetic vector returns to the first window. And an azimuth measuring device having a means.
JP24551293A 1993-09-30 1993-09-30 Direction measurement device Expired - Fee Related JP3019965B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP24551293A JP3019965B2 (en) 1993-09-30 1993-09-30 Direction measurement device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP24551293A JP3019965B2 (en) 1993-09-30 1993-09-30 Direction measurement device

Publications (2)

Publication Number Publication Date
JPH07103766A true JPH07103766A (en) 1995-04-18
JP3019965B2 JP3019965B2 (en) 2000-03-15

Family

ID=17134789

Family Applications (1)

Application Number Title Priority Date Filing Date
JP24551293A Expired - Fee Related JP3019965B2 (en) 1993-09-30 1993-09-30 Direction measurement device

Country Status (1)

Country Link
JP (1) JP3019965B2 (en)

Also Published As

Publication number Publication date
JP3019965B2 (en) 2000-03-15

Similar Documents

Publication Publication Date Title
JP2006234581A (en) Electronic compass and azimuth measuring method
JPH0629729B2 (en) Direction detector for mobile
JP2520952B2 (en) Vehicle direction detector
JPH061191B2 (en) A method for determining the strike direction of a vehicle using an electronic compass
JPH0216446B2 (en)
JPH04238216A (en) Calculating method for scale factor of gyroscope
JPS5834483A (en) Current position indicator for moving object
JPH03131712A (en) Method for correcting output of on-vehicle earth magnetism sensor
JP2514254B2 (en) Vehicle compass
JP3019965B2 (en) Direction measurement device
JP3278950B2 (en) Direction detection device
JP2677390B2 (en) Vehicle azimuth correction device
JPH09133530A (en) Bearing detector for vehicle
JPS5817313A (en) Azimuth meter for vehicle
JP2884259B2 (en) One-position designation magnetization correction type azimuth detection device
JP3337866B2 (en) Vehicle direction detector
JPH0833299B2 (en) Vehicle compass
JPS62255814A (en) Correcting method for vehicle azimuth error
JPS61215915A (en) Azimuth detecting device
JP3682091B2 (en) Current position calculation system and current position calculation method
JPS6290508A (en) Direction detector of moving body
JPH0521408B2 (en)
JP2630131B2 (en) Geomagnetic detector
JP2526346B2 (en) Moving body orientation measuring method and device
JPH0373804A (en) Azimuth meter for vehicle

Legal Events

Date Code Title Description
FPAY Renewal fee payment (prs date is renewal date of database)

Year of fee payment: 8

Free format text: PAYMENT UNTIL: 20080114

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

Year of fee payment: 9

Free format text: PAYMENT UNTIL: 20090114

LAPS Cancellation because of no payment of annual fees