JPH0373804A - Azimuth meter for vehicle - Google Patents
Azimuth meter for vehicleInfo
- Publication number
- JPH0373804A JPH0373804A JP20955189A JP20955189A JPH0373804A JP H0373804 A JPH0373804 A JP H0373804A JP 20955189 A JP20955189 A JP 20955189A JP 20955189 A JP20955189 A JP 20955189A JP H0373804 A JPH0373804 A JP H0373804A
- Authority
- JP
- Japan
- Prior art keywords
- center value
- center
- vehicle
- value
- geomagnetic
- 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.)
- Pending
Links
Landscapes
- Navigation (AREA)
Abstract
Description
【発明の詳細な説明】
[発明の目的]
(産業上の利用分野)
本発明は、地磁気方位センサの出力値で示される座標へ
該センサの出力円中心座標から向かう方向を車両の方位
として検出する車両用方位計に関し、更に詳しくは、地
磁気方位センサの出力方位置の中心値を補正して正確な
車両方位を検出する車両用方位計に関する。[Detailed Description of the Invention] [Object of the Invention] (Industrial Application Field) The present invention detects the direction from the output circle center coordinates of the sensor to the coordinates indicated by the output value of the geomagnetic direction sensor as the vehicle direction. The present invention relates to a vehicle compass, and more particularly, to a vehicle compass that corrects the center value of the output direction position of a geomagnetic compass sensor to detect accurate vehicle direction.
(従来の技術)
従来、地磁気方位センサを使用して車両の方位を検出す
る装置としては、例えば特開昭59−100812号に
開示されているものがある。この開示されている方位セ
ンサは、一対の巻線が水平姿勢で直交して設けられ、こ
れらの巻線から鎖交地磁気に応じて地磁気成分検出電圧
が得られるようになっている。この方位センサは均一な
地磁気中において車両が周回走行すると、巻線の検出電
圧で示される座標により座標上で円が描かれる。(Prior Art) Conventionally, as a device for detecting the direction of a vehicle using a geomagnetic direction sensor, there is one disclosed in, for example, Japanese Patent Laid-Open No. 100812/1983. In this disclosed orientation sensor, a pair of windings are provided in a horizontal orientation and orthogonal to each other, and a geomagnetic component detection voltage can be obtained from these windings in accordance with interlinked geomagnetism. In this direction sensor, when a vehicle travels around in a uniform geomagnetic field, a circle is drawn on the coordinates based on the coordinates indicated by the detected voltage of the winding.
ここで、車両が着磁すると、円が移動するため、車両の
走行方位に誤差が生ずることになる。Here, when the vehicle is magnetized, the circle moves, resulting in an error in the running direction of the vehicle.
そこで、そのような場合には、車両を周回走行し、この
間に地磁気方位センサの出力値をサンプリングし、車両
が1周旋回して地磁気方位センサの出力円がその座標系
のX軸およびY軸と交差する4点の出力が得られた時に
、そのサンプリング出力値を平均して移動した出力円の
中心値を求めて、走行方位の検出誤差を補正している。Therefore, in such a case, the output value of the geomagnetic azimuth sensor is sampled while the vehicle is running in a circle, and the output circle of the geomagnetic azimuth sensor is aligned with the X-axis and Y-axis of the coordinate system as the vehicle turns once. When the outputs of the four intersecting points are obtained, the center value of the output circle is calculated by averaging the sampled output values to correct the detection error of the running direction.
また、車両の着磁を検知する方法としては、例えば特開
昭59−210317号に開示されているものがある。Further, as a method for detecting magnetization of a vehicle, there is a method disclosed in, for example, Japanese Patent Laid-Open No. 59-210317.
これは地磁気絶対値が基準値を越えたことで、方位系の
誤動作を検出するようになっている。This is to detect a malfunction in the orientation system when the absolute value of the geomagnetic field exceeds a reference value.
(発明が解決しようとする課題)
上述した従来の車両用方位計においては、地磁気方位セ
ンサの出力が異常であることを検出すると、補正のため
の一周旋回を行うように車両の乗員に警告を発生して補
正を行うため、センサ出力の異常の度に一周旋回して補
正操作を行う必要があるとともに、このような補正走行
は不可能な場合が多く、走行距離が長くなればなるほど
、位置検出誤差が多くなり、ナビゲーションシステムの
不能状態をしばしば生じさせていた。また、補正操作を
行ったとしても、補正操作により算出された中心値をそ
のまま車両の方位計算の中心値としていたため、正確な
車両方位を得ることができないことが頻繁に発生すると
いう問題がある。(Problem to be Solved by the Invention) In the above-described conventional vehicle direction meter, when it detects that the output of the geomagnetic direction sensor is abnormal, it warns the vehicle occupant to make a full circle turn for correction. In order to make corrections when the sensor output is abnormal, it is necessary to make a full turn and perform correction operations every time there is an abnormality in the sensor output.In addition, such correction driving is often impossible; Detection errors increased, often causing the navigation system to become disabled. In addition, even if a correction operation is performed, the center value calculated by the correction operation is used as the center value for calculating the vehicle's direction, so there is a problem that accurate vehicle direction cannot be obtained frequently. .
本発明は、上記に鑑みてなされたもので、その目的とす
るところは、地磁気方位センサの出力方位円の中心値を
適確に補正して正確な車両方位を検出することができる
車両用方位計を提供することにある。The present invention has been made in view of the above, and its purpose is to provide a vehicle azimuth that can accurately correct the center value of the output azimuth circle of a geomagnetic azimuth sensor to detect accurate vehicle direction. The objective is to provide a measurement system.
[発明の構成]
(課題を解決するための手段)
上記目的を達成するため、本発明の車両用方位計は、第
1図に示すように、地磁気の方位を互いに直交する2方
向成分の地磁気データとして検出する地磁気センサ1と
、車両の相対角変位を検出する車両方位変化量検出手段
3と、前記検出された地磁気データおよび相対角変化量
を記憶するデータ記憶手段5と、該データ記憶手段に記
憶させている地磁気データおよび車両電装品スイッチの
信号に基づいて前記地磁気方位センナの出力円の中心値
の移動の可能性を判断する中心値移動可能性判断手段1
6と、該中心値移動可能性判断手段による出力円の中心
値の移動の可能性に基づいて中心値を決定する場合の距
離係数を設定する距離係数設定手段18と、前記データ
記憶手段に記憶されている地磁気データおよび相対角変
化量から前記地磁気センサの出力円中心値を予測する出
力円中心値予測手段7と、この予測された中心値を記憶
する予測中心値記憶手段つと、現在の車両方位を計算し
ている現中心値から離れた位置に記憶中心値が出現し始
めてからの中心値群を用いて第1の仮中心値を演算する
第1の仮中心演算手段11と、現中心値を算出した記憶
中心値群および最新の記憶中心値を用いて第2の仮中心
値を演算する第2の仮中心演算手段13と、前記第1お
よび第2の仮中心値の重みを演算する重み演算手段15
と、現中心値と仮中心値との間の距離を演算する距離演
算手段17と、前記重み、距離および距離係数から地磁
気データを用いて車両方位を計算するために使用する中
心値を決定する中心値決定手段19とを有することを要
旨とする。[Structure of the Invention] (Means for Solving the Problems) In order to achieve the above object, the vehicle azimuth meter of the present invention, as shown in FIG. A geomagnetic sensor 1 that detects the data as data, a vehicle direction change amount detection means 3 that detects the relative angular displacement of the vehicle, a data storage means 5 that stores the detected geomagnetic data and the relative angular change amount, and the data storage means Center value movement possibility determination means 1 for determining the possibility of movement of the center value of the output circle of the geomagnetic azimuth sensor based on the geomagnetic data stored in the geomagnetic data and signals from vehicle electrical equipment switches.
6, distance coefficient setting means 18 for setting a distance coefficient when determining the center value based on the possibility of movement of the center value of the output circle by the center value movement possibility determining means, and a distance coefficient setting means 18 for setting a distance coefficient for determining the center value based on the possibility of movement of the center value of the output circle by the center value movement possibility determining means; an output circle center value prediction means 7 for predicting the output circle center value of the geomagnetic sensor from the geomagnetic data and the amount of relative angle change; a predicted center value storage means for storing the predicted center value; a first provisional center calculation means 11 that calculates a first provisional center value using a group of center values from the time when the stored center value begins to appear at a position away from the current center value for which the orientation is being calculated; a second provisional center calculation means 13 that calculates a second provisional center value using the stored center value group for which the values have been calculated and the latest stored center value; and a second provisional center calculation means 13 that calculates the weights of the first and second provisional center values. Weight calculation means 15
and a distance calculating means 17 for calculating the distance between the current center value and the temporary center value, and determining a center value to be used for calculating vehicle heading using geomagnetic data from the weight, distance and distance coefficient. The gist is that the central value determining means 19 is provided.
(作用)
本発明の車両用方位計では、走行中に収集した地磁気方
位センサの出力から中心値を予測して記憶し、記憶した
予測中心値から、中心値が大きく移動したかを検知する
第1の仮中心値および現在の方位円の中心値の近傍で更
に中心値精度を向上させるための第2の仮中心値を設定
するとともに、前記第1および第2の仮中心値の重みお
よび距離を計算し、地磁気データ等により地磁気方位セ
ンナの出力円中心値の移動可能性に基づいて距離係数を
設定し、前記重み、距離および距離係数に基づいて、中
心値が大きく移動したと判断した場合、第1の仮中心値
を新しい中心値に設定して走行中に高速で中心値補正を
行うとともに、中心値移動がない場合には、走行中に得
られる予測中心値を使用して算出される第2の仮中心値
を新しい中心値に設定して中心値精度を向上し、中心値
の移動の有無に関わらず中心値を常に精度の良い方に移
動し、走行すればするほど、中心値精度を向上すること
ができる。(Function) The vehicle direction meter of the present invention predicts and stores a center value from the output of the geomagnetic direction sensor collected while driving, and detects whether the center value has moved significantly from the stored predicted center value. A second temporary center value is set in the vicinity of the first temporary center value and the center value of the current azimuth circle to further improve center value accuracy, and the weight and distance of the first and second temporary center values are set. is calculated, and a distance coefficient is set based on the possibility of movement of the output circle center value of the geomagnetic azimuth sensor using geomagnetic data, etc., and when it is determined that the center value has moved significantly based on the weight, distance, and distance coefficient. , the first provisional center value is set to a new center value and the center value is corrected at high speed while driving, and if there is no center value movement, the predicted center value obtained while driving is used to calculate the center value. The accuracy of the center value is improved by setting the second temporary center value as the new center value, and the center value is always moved to the side with better accuracy regardless of whether or not the center value has moved. Value accuracy can be improved.
(実施例) 以下、図面を用いて本発明の詳細な説明する。(Example) Hereinafter, the present invention will be explained in detail using the drawings.
第2図は本発明の一実施例に係わる車両用方位計の構成
を示すブロック図である。同図に示す車両用方位計は、
地磁気の方位を互いに直交する2方向成分の地磁気デー
タとして検出する地磁気方位センサ21と、該センサの
出力をディジタル信号に変換する出力処理回路23と、
車両の方位変化を検知するレートジャイロで構成され、
車両の旋回角速度Ωを出力するジャイロセンサ25と、
該ジャイロセンサ25の出力を積分して車両の相対角変
化量である方位変化量を算出するジャイロ信号処理回路
27と、以下、マイクロコンピュータで処理される前記
出力処理回路23およびジャイロ信号処理回路27の出
力から出力方位円中心値を予測する出力円中心値予測部
2つと、車両電装品スイッチ28と、前記出力処理回路
23からの地磁気データから判断される着磁の可能性お
よび前記車両電装品スイッチ(サンルーフの開閉、サン
バイザの開閉等)28に基づいて地磁気方位センサ21
の出力円中心値の移動可能性を判断する出力円中心値移
動可能性検出回路30と、予測された中心値を基に更に
精度の高い中心値を求める新中心値演算部31と、この
求められた中心点および出力処理回路23でディジタル
変換された地磁気方位センサ21の出力から車両方位を
求める方位検出部33とから構成されている。FIG. 2 is a block diagram showing the configuration of a vehicle compass according to an embodiment of the present invention. The vehicle direction meter shown in the same figure is
a geomagnetic azimuth sensor 21 that detects the geomagnetic direction as geomagnetic data of two mutually orthogonal directional components; an output processing circuit 23 that converts the output of the sensor into a digital signal;
Consists of a rate gyro that detects changes in the vehicle's direction.
a gyro sensor 25 that outputs the turning angular velocity Ω of the vehicle;
A gyro signal processing circuit 27 that integrates the output of the gyro sensor 25 to calculate the amount of change in azimuth, which is the amount of relative angle change of the vehicle, and the output processing circuit 23 and the gyro signal processing circuit 27, which are processed by a microcomputer. two output circle center value prediction units that predict the output azimuth circle center value from the output of the vehicle electrical component switch 28, and the possibility of magnetization determined from geomagnetic data from the output processing circuit 23 and the vehicle electrical component. A geomagnetic direction sensor 21 based on a switch 28 (opening/closing a sunroof, opening/closing a sun visor, etc.)
an output circle center value shift possibility detection circuit 30 that determines the shift possibility of the output circle center value; a new center value calculation unit 31 that calculates a more accurate center value based on the predicted center value; and a direction detecting section 33 that determines the vehicle direction from the center point determined and the output of the geomagnetic direction sensor 21 which is digitally converted by the output processing circuit 23.
前記地磁気方位センサ21は、第3図に示すように、環
状のパーマロイコア60に互いに直交する巻線70X、
70Yが巻回されている。As shown in FIG. 3, the geomagnetic direction sensor 21 includes windings 70X perpendicular to each other on an annular permalloy core 60;
70Y is wound.
また、そのパーマロイコア60には巻線80が巻回され
ており、この巻線80は第4図に示すようにパーマロイ
コア60が飽和する直前まで励磁電源90によって通電
されている。Further, a winding 80 is wound around the permalloy core 60, and this winding 80 is energized by an excitation power source 90 until just before the permalloy core 60 is saturated, as shown in FIG.
この地磁気方位センサ21が無磁界内におかれると、パ
ーマロイコア60の部位S1および部位S2を各々通る
磁束φ1およびφ2は第5図のように大きさが同じで方
向が反対となる。When the geomagnetic direction sensor 21 is placed in a non-magnetic field, the magnetic fluxes φ1 and φ2 passing through the portions S1 and S2 of the permalloy core 60, respectively, have the same magnitude and opposite directions, as shown in FIG.
従って、巻線70Xに鎖交する磁束が零となると、その
検出電圧VWは−N−dφ/dt(Nは巻数)も零とな
り、同様に巻線70Yの検出量電圧vyも零となる。Therefore, when the magnetic flux interlinking with the winding 70X becomes zero, the detected voltage VW -N-dφ/dt (N is the number of turns) also becomes zero, and similarly the detected amount voltage vy of the winding 70Y also becomes zero.
更に、この地磁気方位線鎖21は第3図のように地磁気
Heが巻線70Xに対して直角に加わると、パーマロイ
コア60内において磁束密度Be−μHe (μはパ
ーマロイコア60の透磁率)だけ磁束にバイアスが与え
られ、磁束φ日、φ2は第6図のように非対称になる。Furthermore, when the geomagnetic field He is applied perpendicularly to the winding 70X as shown in FIG. A bias is applied to the magnetic flux, and the magnetic flux φ2 becomes asymmetrical as shown in FIG.
従って、巻線70Xには第7図に示される波形の検出電
圧Vxが与えられる。Therefore, the detection voltage Vx having the waveform shown in FIG. 7 is applied to the winding 70X.
また、巻線70Yに対して地磁気Heが平行であるので
、その巻線70Yには電圧vyが生ずることはない。Further, since the earth's magnetic field He is parallel to the winding 70Y, no voltage vy is generated in the winding 70Y.
この地磁気方位センサ21は第8図に示すように水平姿
勢で車両に搭載された場合、例えば同図のように地磁気
Heがその巻線70X、70Yには地磁気Heに応じた
検出電圧Vx、Vy(出力値)が各々得られる。When this geomagnetic direction sensor 21 is mounted on a vehicle in a horizontal position as shown in FIG. 8, for example, as shown in FIG. (output value) are obtained respectively.
検出電圧Vx、Vyは値Kを巻線定数、値Bを地磁気H
eの水平分力とすれば、次の(首)式および第(2)式
で示される。For the detection voltages Vx and Vy, the value K is the winding constant, and the value B is the earth's magnetic field H.
If it is the horizontal component of e, it is expressed by the following equation (head) and equation (2).
Xx−−KBcosθ 第(盲)式Vy−−
KBsInθ 第(2)式従って、第8図の
ように車両の幅方向を基準とすれば、その走行方向を示
す角度θは
θ−tan ’ (Vx / xy ) 第(
3)式%式%
そして、前記第(1)式および第(2)式から理解され
るように、均一な地磁気He中で車両が周回されると、
巻線70X、70Y(7)検出電圧Vx、Vyで示され
る座標により第9図のようにX−Y平面座標上で円(地
磁気方位センサ21の出力円)が描かれ、その出力円は
次式で示される。Xx--KBcosθ Second (blind) formula Vy--
KBsInθ Equation (2) Therefore, if the width direction of the vehicle is used as a reference as shown in FIG.
3) Formula % Formula % As understood from the above equations (1) and (2), when the vehicle orbits in the uniform geomagnetic He,
The coordinates indicated by the windings 70X and 70Y (7) detected voltages Vx and Vy draw a circle (the output circle of the geomagnetic direction sensor 21) on the X-Y plane coordinates as shown in Figure 9, and the output circle is It is shown by the formula.
Vx 2+Vy 2= (KB) 2 第(4)式こ
のように巻線70X、70Yの検出電圧Vx。Vx 2+Vy 2= (KB) 2 Equation (4) Thus, the detection voltage Vx of the windings 70X and 70Y.
vyで定まる座標が出力円上に存在するので、その座標
点(出力点)へ出力円の中心Oから向かう方向が車両の
走行方位として検出される。Since the coordinate defined by vy exists on the output circle, the direction toward that coordinate point (output point) from the center O of the output circle is detected as the running direction of the vehicle.
ここで、車体が着磁して、例えば第10図のように地磁
気Heとともにその着磁による磁界Gが巻線70X、7
0Yに鎖交すると、第11図のように破線位置から実線
位置へ出力円が移動する。Here, the vehicle body is magnetized, and as shown in FIG. 10, for example, as shown in FIG.
When interlinked with 0Y, the output circle moves from the broken line position to the solid line position as shown in FIG.
このため、本実施例の車両用方位計では、第12図のフ
ローチャートに示す処理によって出力方位円の中心値を
補正し、常に正確な車両方位を検出しようとするもので
ある。For this reason, the vehicle azimuth meter of this embodiment corrects the center value of the output azimuth circle through the process shown in the flowchart of FIG. 12 in order to always detect accurate vehicle direction.
次に、第12図に示すフローチャートを参照して作用を
説明する。Next, the operation will be explained with reference to the flowchart shown in FIG.
まず、出力円中心値予測回路29は、出力処理回路23
を介して地磁気方位センサ21から供給される地磁気デ
ータおよびジャイロ信号処理回路27から供給される方
位変化量から出力方位円の予測中心値から算出する(ス
テップ300)。これは、例えば、実願昭63−832
8号、実願昭63−41579号に記載されているよう
な相対角度変化法、最小2乗法等を用いて計算される。First, the output circle center value prediction circuit 29
The predicted center value of the output azimuth circle is calculated from the geomagnetic data supplied from the geomagnetic azimuth sensor 21 via the geomagnetic azimuth sensor 21 and the azimuth change amount supplied from the gyro signal processing circuit 27 (step 300). This is, for example, Jitsugan Sho 63-832
It is calculated using the relative angle change method, the least squares method, etc. as described in No. 8 and Utility Model Application No. 63-41579.
この計算は成功するまで行われる(ステップ310)。This calculation is performed until successful (step 310).
計算が成功すると、この計算された予測中心値は仮中心
A算出用のデータメモリであるメモリAAおよび仮中心
B算出用のデータメモリであるメモリBBに記憶される
(ステップ320)。If the calculation is successful, the calculated predicted center value is stored in the memory AA, which is the data memory for calculating the temporary center A, and the memory BB, which is the data memory for calculating the temporary center B (step 320).
以上の処理は出力円中心値予測部2つによって行われる
。The above processing is performed by two output circle center value prediction units.
上述したように計算された予測中心値がメモリAAおよ
びBBに記憶されると、以下新中心値演算部31の作用
により、まずメモリAAに記憶されている予測中心値の
数が1個であるか否かがチエツクされる(ステップ32
0)。1個の場合には、ステップ300に戻って同じ動
作を繰り返す。When the predicted center value calculated as described above is stored in the memories AA and BB, the number of predicted center values stored in the memory AA is 1 due to the action of the new center value calculation unit 31. is checked (step 32).
0). If there is one, return to step 300 and repeat the same operation.
また、メモリAAに記憶されている予測中心値の数が2
個以上の場合には、ステップ350に進んで、メモリA
Aに記憶されているn個の予測中心値Xi、Ylを用い
て次式により中心座標値Xa、Ybを算出する。Also, the number of predicted central values stored in memory AA is 2.
If the memory A
Using the n predicted center values Xi and Yl stored in A, center coordinate values Xa and Yb are calculated using the following equations.
Xa −(ΣXi)/n
Ya−(ΣY1)/n
それから、仮中心Aの重みを次式により算出する(ステ
ップ360)。Xa - (ΣXi)/n Ya - (ΣY1)/n Then, the weight of the temporary center A is calculated using the following equation (step 360).
σa−([Σ((Xi −Xa ) 2 +YI−Ya
)21 /nl’−2)*100/R
重み一1/σa2
次に、メモリBBに記憶されているm個の予測中心値を
用いて仮中心Bの中心値を前記ステップ350と同じ計
算によって算出する(ステップ370)。それから、前
記ステップ360と同様に、仮中心Bの重みを算出する
(ステップ380)。σa−([Σ((Xi −Xa) 2 +YI−Ya
)21 /nl'-2)*100/R Weight - 1/σa2 Next, the center value of the temporary center B is calculated using the same calculation as in step 350 using the m predicted center values stored in the memory BB. Calculate (step 370). Then, similar to step 360, the weight of temporary center B is calculated (step 380).
なお、メモリAAおよびBBに記憶される予測中心値は
後述するようにステップ440,490でクリアされる
のに対して、メモリBBに記憶される予71111中心
値はステップ420でメモリAAの内容が転送されるよ
うになっており、両者はどこまで過去のデータをもって
いけるかかが違うものである。記憶される予測中心値の
データの数はn±mである。Note that the predicted center value stored in memories AA and BB is cleared in steps 440 and 490 as described later, whereas the predicted center value stored in memory BB is cleared in step 420 when the contents of memory AA are cleared. The difference between the two is how much past data can be carried. The number of stored prediction center value data is n±m.
また、以下の説明からもわかるように、仮中心Aは車体
着磁等により方位円が大きくずれたことを認知するため
のものであり、また仮中心Bは車体着磁等がない場合に
過去からの予想中心点を用いて精度の高い中心値を求め
るためのものである。In addition, as can be seen from the following explanation, temporary center A is used to recognize that the azimuth circle has shifted significantly due to car body magnetization, etc., and temporary center B is used to recognize that the azimuth circle has shifted significantly due to car body magnetization, etc. This is to find a highly accurate center value using the predicted center point from .
仮中心Aは車体着磁等がない場合には仮中心Bの座標点
とほぼ同じ座標点であり、この場合には後述するように
仮中心Aは仮中心算出用メモリAAとともにクリアされ
る。また、方位円がずれた場合には早急に仮中心Aが示
す座標点に中心値を移動するようになっている。更に、
車体着磁があった場合には、その時の仮中心Aの内容を
仮中心Bとするようになっている。The temporary center A is approximately the same coordinate point as the temporary center B when there is no vehicle body magnetization, and in this case, the temporary center A is cleared together with the temporary center calculation memory AA, as will be described later. Further, if the azimuth circle shifts, the center value is immediately moved to the coordinate point indicated by the temporary center A. Furthermore,
When the vehicle body is magnetized, the contents of temporary center A at that time are set as temporary center B.
上述したように計算した仮中心Aの重みと現在の中心点
の重みとを比較しくステップ390)、仮中心Aの重み
が大きい場合は、車体が着磁したり、外部磁界の影響等
により中心値が大きく移動した場合であり、ステップ4
00以降に進み、中心値浦正処理を高速に行う。すなわ
ち、ステップ400では、まず、現在方位計算に使用し
ている中心値を捨てて、仮中IC,シAを方位計算用の
中心値、仮中心Aの重みを方位計算用中心の重みとし、
それからメモリBBの内容を消去しくステップ410)
、メモリAAの内容をメモリBBに転送する(ステップ
420)、更に、仮中心Aの内容を消去しくステップ4
30)、またメモリAAの内容も消去しくステップ44
0)、ステップ300にもどる。Compare the weight of the temporary center A calculated as described above with the weight of the current center point (Step 390). If the weight of the temporary center A is large, the center point may be lowered due to magnetization of the vehicle body or the influence of an external magnetic field. This is a case where the value has moved significantly, and step 4
00 onward, and central value Urasa processing is performed at high speed. That is, in step 400, first, the center value currently used for direction calculation is discarded, temporary center IC and A are set as center values for direction calculation, and the weight of temporary center A is set as the center weight for direction calculation.
Then erase the contents of memory BB (step 410).
, transfer the contents of memory AA to memory BB (step 420), and erase the contents of temporary center A in step 4.
30), and also erase the contents of memory AA in step 44.
0), return to step 300.
また、前記ステップ390で仮中心Aの重みが現在の中
心点の重みより小さい場合には、ステップ445に進み
、前記出力円中心値移動可能性検出回路30から距離係
数Kを読み込む。If the weight of the temporary center A is smaller than the weight of the current center point in step 390, the process proceeds to step 445, where the distance coefficient K is read from the output circle center value movement possibility detection circuit 30.
この出力円中心値移動可能性検出部30における距離係
数にの算出について第12図に示す処理フローを参照し
て説明する。The calculation of the distance coefficient in the output circle center value movement possibility detection section 30 will be explained with reference to the processing flow shown in FIG. 12.
第12図に示す処理は1秒毎の割り込みにより動作し、
ます着磁の可能性があるか否かを判断する(ステップ6
00)。この着磁の可能性の判断は、例えば特願昭62
−203167に記載されている着磁検出処理により行
われるものと同じであり、その説明は省略する。なお、
本実施例では、この機能により着磁を判断するのではな
く、着磁の可能性があると判断するだけである。The process shown in FIG. 12 operates by an interrupt every second,
Determine whether there is a possibility of magnetization (Step 6)
00). The possibility of magnetization can be determined by, for example, Japanese Patent Application No. 62
This is the same as that performed by the magnetization detection processing described in No. 203167, and the explanation thereof will be omitted. In addition,
In this embodiment, this function does not determine magnetization, but merely determines that there is a possibility of magnetization.
ステップ600の処理により着磁の可能性がない場合に
は、ステップ605に進み、前記車両電装品スイッチ2
8がオンか否かをチエツクする。If there is no possibility of magnetization as a result of the processing in step 600, the process proceeds to step 605, and the vehicle electrical component switch 2
Check whether 8 is on.
車両電装品スイッチ28がオンの場合には、ピーク値P
Aを800(電装品に応じて変えても良い)に仮設定し
てステップ620に進み、このステップに示す距離係数
にの式にピーク値PA−800を代入して、距離係数K
を算出する。そして、この算出した距離係数Kをバッフ
ァメモリに記憶しくステップ630)、処理を終了する
。When the vehicle electrical equipment switch 28 is on, the peak value P
Temporarily set A to 800 (which may be changed depending on the electrical equipment), proceed to step 620, and substitute the peak value PA-800 into the formula for the distance coefficient shown in this step to obtain the distance coefficient K.
Calculate. Then, the calculated distance coefficient K is stored in the buffer memory (step 630), and the process ends.
また、ステップ605のチエツクにおいて、車両電装品
スイッチ28がオンでない場合には、距離係数Kを50
に設定しくステップ610)、この距離係数に−50を
バッファメモリに記憶しくステップ630)、処理を終
了する。Further, in the check at step 605, if the vehicle electrical component switch 28 is not on, the distance coefficient K is set to 50.
This distance coefficient is set to 610), -50 is stored in the buffer memory, and the process ends.
更に、ステップ600のチエツクにおいて、着磁の可能
性があり、出力円の移動の可能性があると判断された場
合には、ステップ620に進み、ピーク値PAに応じて
距離係数Kを算出し、この算出した距離係数Kをバッフ
ァメモリに記憶しくステップ630)、処理を終了する
。Further, in the check at step 600, if it is determined that there is a possibility of magnetization and a possibility of movement of the output circle, the process proceeds to step 620, and a distance coefficient K is calculated according to the peak value PA. , the calculated distance coefficient K is stored in the buffer memory (step 630), and the process ends.
以上のように距離係数Kが算出され、バッファメモリに
記憶されると、この距離係数にはステップ445で読み
込まれ、ステップ450に進む。When the distance coefficient K is calculated as described above and stored in the buffer memory, it is read into this distance coefficient in step 445, and the process proceeds to step 450.
ステップ450では、仮中心Aの中心点と現在の中心点
との間の距離を次式により算出する。In step 450, the distance between the center point of the temporary center A and the current center point is calculated using the following equation.
距離−((Xa −X) 2
+ (Ya −Y) 211 −2
それから、この計算した距離を前記距離係数にと比較し
、距離が距離係数により小さい場合、すなわち中心値の
移動が少ない場合には、ステップ470に進み、中心値
の精度向上を図る。すなわち、ステップ470では、現
在の中心値を捨てて、仮中心Bの中心値を方位計算用中
心値とし、仮中心Bの重みを方位計算用中心値の重みと
する。それからの仮中心Aの内容を消去しくステップ4
80)、更にメモリAAの内容を消去しくステップ49
0)、ステップ300に戻る。このステップ460〜4
90の処理は通常の処理として行われ、方位計算用中心
値の精度向上の目的で行われる。Distance - ((Xa - Proceeds to step 470, where the accuracy of the center value is improved.In other words, in step 470, the current center value is discarded, the center value of temporary center B is used as the center value for calculating the direction, and the weight of temporary center B is set as the center value for direction calculation. Use the weight of the center value for calculation.Then, delete the contents of the temporary center A.Step 4
80), further erase the contents of memory AA in step 49.
0), return to step 300. This step 460-4
The process 90 is performed as a normal process, and is performed for the purpose of improving the accuracy of the center value for calculating the direction.
更に、前記ステップ460において、距離が距離係数に
より大きい場合には、何もしないで、ステップ300に
戻る。この場合には、方位計算用中心値の移動は行われ
ず、元のままである。すなわち、このステップ460で
距離の方が大きい場合は、中心値が移動したが、しばら
くの間は仮中心Aの重みが現在の中心点の重みよりも小
さい場合であり、この状態からしばらくすると、仮中心
Aの重みが大きくなり、ステップ390からステップ4
00に進む場合である。更に具体的には、ステップ39
0〜460の処理は中心が大きく移動した可能性がある
場合に行われ、移動か否かの判断がつくまで繰り返され
る。従って、着磁の可能性が大きいほどステップ460
からステップ300に戻る場合が多くなる。Further, in step 460, if the distance is greater than the distance factor, nothing is done and the process returns to step 300. In this case, the center value for azimuth calculation is not moved and remains as it was. That is, if the distance is larger in this step 460, the center value has moved, but for a while the weight of the temporary center A is smaller than the weight of the current center point, and after a while from this state, The weight of the tentative center A increases, and steps 390 to 4
This is the case when proceeding to 00. More specifically, step 39
Processing from 0 to 460 is performed when there is a possibility that the center has moved significantly, and is repeated until it is determined whether the center has moved or not. Therefore, the greater the possibility of magnetization, the more
In many cases, the process returns to step 300.
また、中心値が移動していないが、予測中心値が不正確
になった場合は、仮中心Aの座標のばたつきが発生して
中心間距離が大きくなるが、予測中心値が安定すれば、
中心間距離も小さくなり、ステップ460からステップ
470に進むことになる。すなわち、中心値移動と予測
中心値のばたつきの区別がつかないため、ステップ46
0でどちらの現象であるか見極めているのである。In addition, if the predicted center value becomes inaccurate even though the center value has not moved, the coordinates of the temporary center A will fluctuate and the distance between the centers will increase, but if the predicted center value becomes stable,
The center-to-center distance also becomes smaller, and the process proceeds from step 460 to step 470. In other words, since it is not possible to distinguish between center value movement and fluctuation of the predicted center value, step 46
0 to determine which phenomenon is occurring.
なお、前記ステップ390で、仮中心Aの重みが現在の
中心点の重みよりも大きい場合は、方位円の中心値が移
動した場合であり、これは車体が着磁した場合に限らず
、例えばサンルーフの開閉、サンバイザの開閉、ルーフ
キャリアおよびキャリア上に磁性体を搭載した場合、地
域および周辺環境等の種々の影響によるものである。In step 390, if the weight of the temporary center A is larger than the weight of the current center point, this is a case where the center value of the azimuth circle has moved, and this is not limited to the case where the vehicle body is magnetized; for example, Opening/closing of the sunroof, opening/closing of the sun visor, roof carrier, and when a magnetic material is mounted on the carrier are affected by various factors such as the local area and surrounding environment.
[発明の効果]
以上説明したように、本発明によれば、現在の中心点以
外に第1の仮中心および第2の仮中心を設定し、第1お
よび第2の仮中心値の重みおよび距離を計算し、地磁気
データ等により地磁気方位センサの出力円中心値の移動
可能性に基づいて距離係数を設定し、前記重み、距離お
よび距離係数に基づいて、その時点の最も精度の高い中
心値を採用するようにしているので、車両走行中、特別
な補正操作を行わなくても、常にその場の最適な中心値
を得ることができるとともに、中心値精度の良い方に中
心を移動するため、走行すればするほど、中心値精度が
向上する。また、車体の着磁や車両電装品スイッチがオ
ンされたこと等により中心値が移動しても、そのまま走
行を継続することにより走行中に自動的に中心値を補正
することができる。また、車体の着磁の可能性や車両電
装品スイッチのオンの検知等を距離係数に反映させ、こ
れらにより中心値が大きく移動する場合にも、高速に正
しい中心値を得ることができる。更に、信頼区間により
現在の中心値の精度がわかるため、地磁気方位センサの
出力により計算された方位の精度が常にわかる。[Effects of the Invention] As explained above, according to the present invention, the first temporary center and the second temporary center are set in addition to the current center point, and the weights of the first and second temporary center values and Calculate the distance, set a distance coefficient based on the possibility of movement of the output circle center value of the geomagnetic direction sensor using geomagnetic data, etc., and set the most accurate center value at that time based on the weight, distance, and distance coefficient. As the vehicle is running, it is possible to always obtain the optimal center value at that point without any special correction operations, and the center can be moved to the side with better center value accuracy. , the more the vehicle travels, the more the center value accuracy improves. Furthermore, even if the center value moves due to magnetization of the vehicle body or turning on of a vehicle electrical equipment switch, the center value can be automatically corrected while the vehicle is running by continuing to drive. In addition, by reflecting the possibility of magnetization of the vehicle body, the detection of on-state vehicle electrical equipment switches, etc. in the distance coefficient, it is possible to quickly obtain the correct center value even when the center value moves significantly. Furthermore, since the accuracy of the current center value is known from the confidence interval, the accuracy of the orientation calculated from the output of the geomagnetic orientation sensor is always known.
第1図は本発明のクレーム対応図、第2図は本発明の一
実施例に係わる車両用方位計の構成を示すブロック図、
第3図は地磁気方位センサの構成説明図、第4図は地磁
気方位センサの励磁特性説明図、第5図は無磁界中にお
ける地磁気方位センサのパーマロイコアにおける磁束変
化を示す図、第6図は地磁気作用の検出作用説明図、第
7図は地磁気方位センサの検出作用説明図ミ第8図は車
両走行方位の説明図、第9図は出力円の説明図、第10
図は地磁気方位センサに地磁気以外の磁界が加わった状
態を示す説明図、第11図は車体着磁による出力円の移
動を示す説明図、第12図は第2図に示す車両用方位計
の作用を示すフローチャート、第13図は第2図の車両
用方位計に使用される出力円中心値移動可能性検出回路
の作用を示すフローチャートである。
21・・・地磁気方位センサ
23・・・出力処理回路
25・・・ジャイロセンサ
27・・・ジャイロ信号処理回路
28・・・車両電装品スイッチ
29・・・出力円中心値予測部
30・・・出力円中心値移動可能性検出部31・・・新
中心値演算部
33・・・方位検出部FIG. 1 is a diagram corresponding to the claims of the present invention, and FIG. 2 is a block diagram showing the configuration of a vehicle compass according to an embodiment of the present invention.
Figure 3 is an explanatory diagram of the configuration of the geomagnetic orientation sensor, Figure 4 is an explanatory diagram of the excitation characteristics of the geomagnetic orientation sensor, Figure 5 is a diagram showing magnetic flux changes in the permalloy core of the geomagnetic orientation sensor in the absence of a magnetic field, and Figure 6 is Fig. 7 is an explanatory diagram of the detection action of the geomagnetic direction sensor; Fig. 8 is an explanatory diagram of the vehicle running direction; Fig. 9 is an explanatory diagram of the output circle;
The figure is an explanatory diagram showing a state in which a magnetic field other than geomagnetism is applied to the geomagnetic direction sensor, Figure 11 is an explanatory diagram showing the movement of the output circle due to vehicle body magnetization, and Figure 12 is an explanatory diagram of the vehicle compass shown in Figure 2. FIG. 13 is a flowchart showing the operation of the output circle center value shift possibility detection circuit used in the vehicle compass shown in FIG. 2. 21... Geomagnetic direction sensor 23... Output processing circuit 25... Gyro sensor 27... Gyro signal processing circuit 28... Vehicle electrical equipment switch 29... Output circle center value prediction unit 30... Output circle center value movement possibility detection unit 31...new center value calculation unit 33...direction detection unit
Claims (1)
タとして検出する地磁気センサと、車両の相対角変位を
検出する車両方位変化量検出手段と、前記検出された地
磁気データおよび相対角変化量を記憶するデータ記憶手
段と、該データ記憶手段に記憶させている地磁気データ
および車両電装品スイッチの信号に基づいて前記地磁気
方位センサの出力円の中心値の移動の可能性を判断する
中心値移動可能性判断手段と、該中心値移動可能性判断
手段による出力円の中心値の移動の可能性に基づいて中
心値を決定する場合の距離係数を設定する距離係数設定
手段と、前記データ記憶手段に記憶されている地磁気デ
ータおよび相対角変化量から前記地磁気センサの出力円
中心値を予測する出力円中心値予測手段と、この予測さ
れた中心値を記憶する予測中心値記憶手段と、現在の車
両方位を計算している現中心値から離れた位置に記憶中
心値が出現し始めてからの中心値群を用いて第1の仮中
心値を演算する第1の仮中心演算手段と、現中心値を算
出した記憶中心値群および最新の記憶中心値を用いて第
2の仮中心値を演算する第2の仮中心演算手段と、前記
第1および第2の仮中心値の重みを演算する重み演算手
段と、現中心値と仮中心値との間の距離を演算する距離
演算手段と、前記重み、距離および距離係数から地磁気
データを用いて車両方位を計算するために使用する中心
値を決定する中心値決定手段とを有することを特徴とす
る車両用方位計。A geomagnetic sensor that detects the geomagnetic direction as geomagnetic data of two direction components orthogonal to each other, a vehicle direction change amount detection means that detects the relative angular displacement of the vehicle, and stores the detected geomagnetic data and the relative angular change amount. a data storage means, and a center value movement possibility determination for determining the possibility of movement of the center value of the output circle of the geomagnetic azimuth sensor based on the geomagnetic data stored in the data storage means and a signal from a vehicle electrical component switch. means, distance coefficient setting means for setting a distance coefficient when determining a center value based on the possibility of movement of the center value of the output circle by the center value movement possibility determining means; output circle center value prediction means for predicting the output circle center value of the geomagnetic sensor from the geomagnetic data and the amount of relative angle change; predicted center value storage means for storing the predicted center value; a first provisional center calculation means for calculating a first provisional center value using a group of center values after the stored center value begins to appear at a position away from the current center value being calculated; and a first provisional center calculation means for calculating the current center value. second provisional center calculation means for calculating a second temporary center value using the stored center value group and the latest storage center value; and weight calculation means for calculating weights of the first and second temporary center values. a distance calculation means for calculating the distance between the current center value and the tentative center value; and a center for determining the center value used to calculate the vehicle heading using geomagnetic data from the weight, distance and distance coefficient. A vehicle compass comprising: a value determining means.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP20955189A JPH0373804A (en) | 1989-08-15 | 1989-08-15 | Azimuth meter for vehicle |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP20955189A JPH0373804A (en) | 1989-08-15 | 1989-08-15 | Azimuth meter for vehicle |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH0373804A true JPH0373804A (en) | 1991-03-28 |
Family
ID=16574691
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP20955189A Pending JPH0373804A (en) | 1989-08-15 | 1989-08-15 | Azimuth meter for vehicle |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH0373804A (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2007327934A (en) * | 2006-05-10 | 2007-12-20 | Yamaha Corp | Magnetic data processing device, method, and program |
-
1989
- 1989-08-15 JP JP20955189A patent/JPH0373804A/en active Pending
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2007327934A (en) * | 2006-05-10 | 2007-12-20 | Yamaha Corp | Magnetic data processing device, method, and program |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US5349530A (en) | Direction detecting device | |
| US5023799A (en) | Vehicular traveling direction measuring system | |
| JPH0629729B2 (en) | Direction detector for mobile | |
| US4738031A (en) | Method for establishing the driving direction of a vehicle with an electronic compass | |
| EP0451839B1 (en) | Direction finding apparatus | |
| JP2514254B2 (en) | Vehicle compass | |
| JPH07101174B2 (en) | Vehicle compass | |
| JP2870258B2 (en) | Magnetization correction method for geomagnetic bearing sensor | |
| JPH0373804A (en) | Azimuth meter for vehicle | |
| JPS62140017A (en) | Present position recognition apparatus for vehicle | |
| JPH07117415B2 (en) | Vehicle compass | |
| JPS63113309A (en) | Method for processing data of earth magnetism sensor | |
| JP3278950B2 (en) | Direction detection device | |
| JPS5817313A (en) | Azimuth meter for vehicle | |
| JPS62255815A (en) | Correcting method for vehicle azimuth error | |
| JPS6348415A (en) | Correcting method for magnetism error of azimuth detecting device | |
| JPH0833299B2 (en) | Vehicle compass | |
| JPH0585847B2 (en) | ||
| JPH05297799A (en) | Vehicle advance azimuth correcting device | |
| JP3019965B2 (en) | Direction measurement device | |
| JPS628011A (en) | Mobile object direction detection device | |
| JPS6290508A (en) | Direction detector of moving body | |
| JPS61147104A (en) | Azimuth detecting device for vehicle | |
| JPS58190711A (en) | Magnetic azimuth finder | |
| JPH0676890B2 (en) | Vehicle route display device |