Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP3595048B2 - Vehicle direction detector - Google Patents
[go: Go Back, main page]

JP3595048B2 - Vehicle direction detector - Google Patents

Vehicle direction detector Download PDF

Info

Publication number
JP3595048B2
JP3595048B2 JP29262995A JP29262995A JP3595048B2 JP 3595048 B2 JP3595048 B2 JP 3595048B2 JP 29262995 A JP29262995 A JP 29262995A JP 29262995 A JP29262995 A JP 29262995A JP 3595048 B2 JP3595048 B2 JP 3595048B2
Authority
JP
Japan
Prior art keywords
origin
intersections
correction data
axis direction
calculation
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP29262995A
Other languages
Japanese (ja)
Other versions
JPH09133530A (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.)
Jeco Corp
Original Assignee
Jeco 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 Jeco Corp filed Critical Jeco Corp
Priority to JP29262995A priority Critical patent/JP3595048B2/en
Publication of JPH09133530A publication Critical patent/JPH09133530A/en
Application granted granted Critical
Publication of JP3595048B2 publication Critical patent/JP3595048B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Measuring Magnetic Variables (AREA)

Description

【0001】
【発明の属する技術分野】
この発明は、地磁気を利用して車両の進行方位を検出する車両用方位検出装置に関するものである。
【0002】
【従来の技術】
従来より、この種の車両用方位検出装置においては、入力磁気ベクトルのX軸方向成分およびY軸方向成分を検出し、この検出したX軸方向成分およびY軸方向成分から予め記憶されている車両のX軸方向およびY軸方向の着磁量(オフセット量)を差し引き、この着磁量の差し引かれた検出磁気成分に基づいて車両の進行方位を検出するものとしている。
【0003】
すなわち、直交する2軸(X,Y軸)の磁気検出素子(X軸コイル,Y軸コイル)を有する磁気センサを、そのX軸を車両の幅方向にとり、そのY軸を車両の長さ方向(車両の進行方向)にとり、X,Y軸のなす面が水平面となるように保持のうえ、車両に配置している。
ここで、X軸と地磁気ベクトル(水平成分)との成す角度をθ、地磁気ベクトル(水平成分)の絶対値をR、車両のX軸方向の着磁量をα、車両のY軸方向の着磁量をβとすると、磁気センサの検出する入力磁気ベクトルのX軸方向成分VxおよびY軸方向成分Vyは、下記(1)および(2)式により表される。
Vx=R・cosθ+α ・・・(1)
Vy=R・sinθ+β ・・・(2)
【0004】
つまり、均一な地磁気中で車両が周回旋回した時のVx,Vyを座標面上で描くならば、図9に示すように、円(以下、この円を方位円と呼ぶ)が描かれる。ちなみに、方位円の原点C0の座標は(α,β)であり、半径はRとなる。
ここで、車両の着磁量α,βは、車両を周回旋回することにより検出することができる。例えば、方位円のX軸,Y軸それぞれについて、その最大値(Vxma,Vymax ),最小値(Vxmin ,Vymin )を求めることにより、下記(3)および(4)式から着磁量αおよびβを得ることができる。
α=(Vxmax +Vxmin )/2 ・・・(3)
β=(Vymax +Vymin )/2 ・・・(4)
これにより、着磁量αおよびβをオフセット量として予め記憶しておけば、すなわち方位円の原点COの座標を(α,β)として記憶しておけば、車両の刻々の進行方位θは下記(5)式より求めることができる。
θ=tan−1〔(Vy−β)/(Vx−α)〕 ・・・(5)
【0005】
しかしながら、この場合、方位円の原点C0から磁気センサの検出する座標点(Vx,Vy)に向かうベクトルの方向を求めているから、マグネットを車両に近づけたり、車両が強磁場中を通過するなどして、着磁量α,βが変化した場合、検出誤差を生ずる。すなわち、図10に示すように、方位円の原点C0がC1にずれた場合、実際の進行方位がθ’であるにも拘らずθとして検出されてしまい、θ’−θ=θの検出誤差が生じてしまう。
このような場合、再度車両を周回旋回し、着磁量α,βを求め直すことが考えられる。しかし、周回旋回に適した広い場所は都市部において皆無とも言える状況であり、またユーザに頻繁な周回旋回による検出誤差の補正を強いるのは酷である。そこで、頻繁な周回旋回の実施をユーザに強いることなく、着磁量の変化による検出誤差の補正を自動的に行うことの可能な車両用方位検出装置が提案されている。
【0006】
この車両用方位検出装置では、走行中、所定時間が経過する毎に、検出X軸方向成分および検出Y軸方向成分で示される座標点を記憶候補座標点として抽出する。そして、この抽出した記憶候補座標点とすでに記憶されている各記憶確定座標点とを比較し、その記憶候補座標点が各記憶確定座標点を中心として定められる各領域(非選択領域)の何れにも位置していなければ、その記憶候補座標点を記憶確定座標点として収集する。そして、離散的に収集されるこの記録確定座標点(補正用データ)が所定数(例えば、4個)以上となった場合、これらの記憶確定座標点を通る円弧の中心点を求め、この中心点の座標位置から車両のX軸方向およびY軸方向の着磁量を求め、この求めた着磁量を車両の新しいX軸方向およびY軸方向の着磁量α’,β’、すなわち方位円の原点C1(α’,β’)として更新記憶する。これにより、交差点等での旋回時、方位円の原点が求め直され、この求め直された原点を使用して検出進行方位の補正が自動的に行われる。
【0007】
【発明が解決しようとする課題】
入力磁気ベクトルの変化は、地磁気変化だけではく、工事現場の鉄板上の走行、高圧線下の通過、磁気を帯びた車両の側方通過、高架・橋の走行、車載電装品のオン・オフ等により変化する。しかしながら、上述した従来の車両用方位検出装置では、実際の地磁気変化と地磁気以外による磁気変化(以下、外乱磁気による磁気変化と言う)との識別が困難で、記憶候補座標点が外乱磁気によって非選択領域に位置しなくなったのにも拘らず、その記憶候補座標点を記憶確定座標点として決定してしまう。このため、記憶確定座標点が所定数以上となった場合に求められる記憶確定座標点の円弧の中心点、すなわち新たに求められる車両のX軸方向およびY軸方向の着磁量は、現在の車両のX軸方向およびY軸方向の着磁量α’,β’と一致せず、検出誤差が生じることになる。
【0008】
本発明はこのような課題を解決するためになされたもので、その目的とするところは、頻繁な周回旋回の実施をユーザに強いることなく、着磁量の変化による検出誤差の補正を自動的に行うことが可能で、かつ外乱磁気の影響をでき得る限り排除して検出誤差の補正を高精度で行うことの可能な車両用方位検出装置を提供することにある。
【0009】
【課題を解決するための手段】
このような目的を達成するために、第1発明(請求項1に係る発明)は、入力磁気ベクトルのX軸方向成分およびY軸方向成分を補正用データとして離散的に所定数収集し、この収集した補正用データに基づいて方位円の原点を求め直し、この求め直した原点を使用して検出進行方位を補正する一方、収集した各補正用データを中心として方位円の半径で描かれる円の各交差点を求め、これにより求められた各交差点の中からその占有面積が最小のN個の交差点の組み合わせを選択し、この選択したN個の交差点の内の一つでも予め定められた所定の収束範囲に入らない場合、その収集した補正用データを用いての検出進行方位の補正を禁止するようにしたものである。
【0010】
この発明によれば、入力磁気ベクトルのX軸方向成分およびY軸方向成分が補正用データとして離散的に所定数(例えば、4個)収集され、この収集された補正用データに基づいて検出進行方位が補正される。この場合、収集された各補正用データを中心として方位円の半径で描かれる円の各交差点(例えば、12個)が求められ、これにより求められた各交差点の中からその占有面積が最小のN個(例えば、6個)の交差点の組み合わせが選択され、そのN個の交差点が所定の収束範囲に入っているか否かがチェックされる。N個の交差点の内の一つでも所定の収束範囲に入っていなければ、その収集した補正用データを用いての検出進行方位の補正はキャンセルされる。
【0011】
第2発明(請求項2に係る発明)は、入力磁気ベクトルのX軸方向成分およびY軸方向成分を補正用データとして離散的に所定数収集し、この収集した補正用データに基づいて方位円の原点を求め直し、この求め直した原点を使用して検出進行方位を補正する一方、収集した各補正用データを中心として方位円の半径で描かれる円の各交差点を求め、これにより求められた各交差点の中からその占有面積が最小のN個の交差点の組み合わせを選択し、この選択したN個の交差点の内の一つでも予め定められた所定の収束範囲に入らない場合、その収集した補正用データを用いての検出進行方位の補正を禁止し、上記選択したN個の交差点の全てが所定の収束範囲に入った場合、その選択したN個の交差点の平均座標点を算出原点として求め、この算出原点に対する各補正用データの座標上における偏差を求め、所定の上下限の範囲に入らない偏差があれば、最大偏差にかかわる補正用データを異常データとして除去するものとし、これにより異常データが除去された場合、上記選択されたN個の交差点の中から異常データとして除去された補正用データを利用して求められた交差点を除去し、残された各交差点の平均座標点を算出原点として再度求め、この算出原点に対する各補正用データの座標上における偏差を求め、所定の上下限の範囲に入らない偏差があれば、その補正用データを用いての検出進行方位の補正を禁止するようにしたものである。
【0012】
この発明によれば、入力磁気ベクトルのX軸方向成分およびY軸方向成分が補正用データとして離散的に所定数(例えば、4個)収集され、この収集された補正用データに基づいて検出進行方位が補正される。この場合、収集された各補正用データを中心として方位円の半径で描かれる円の各交差点(例えば、12個)が求められ、これにより求められた各交差点の中からその占有面積が最小のN個(例えば、6個)の交差点の組み合わせが選択され、そのN個の交差点が所定の収束範囲に入っているか否かがチェックされる。N個の交差点の内の一つでも所定の収束範囲に入っていなければ、その収集した補正用データを用いての検出進行方位の補正はキャンセルされる。
これに対し、N個の交差点の全てが所定の収束範囲に入っていれば、その選択したN個の交差点の平均座標点が算出原点として求められる。そして、この算出原点に対する各補正用データの座標上における偏差が求められ、所定の上下限の範囲に入らない偏差があれば、最大偏差にかかわる補正用データが異常データとして除去される。
また、これにより異常データが除去された場合、選択されたN個の交差点の中から異常データとして除去された補正用データを利用して求められた交差点が除去され、残された各交差点の平均座標点が算出原点として再度求められ、この算出原点に対する各補正用データ(異常データ除去後の各補正用データ)の座標上における偏差が求められる。ここで、所定の上下限の範囲に入らない偏差があれば、その補正用データを用いての検出進行方位の補正はキャンセルされる。
【0013】
第3発明(請求項3に係る発明)は、第2発明において、算出原点を所定数記憶し、この記憶した各算出原点間の距離のばらつきが所定の範囲内である場合、各算出原点の平均座標点を確定原点とするようにしたものである。この発明によれば、算出原点が所定数(例えば、3個)記憶され、この記憶された各算出原点間の距離のばらつきが判定される、この結果、各算出原点間の距離のばらつきが所定の範囲内であれば、各算出原点の平均座標点が確定原点とされる。
【0014】
第4発明(請求項4に係る発明)は、第3発明において、確定原点と現在使用している方位円の原点(使用原点)との距離が所定距離未満の場合には確定原点と使用原点との平均値を新たな使用原点とし、所定距離以上離れている場合には確定原点を新たな使用原点とするようにしたものである。この発明によれば、確定原点と使用原点との距離が所定距離未満であれば、確定原点と使用原点との平均値が新たな使用原点とされ、所定距離以上離れている場合には確定原点が新たな使用原点とされる。
【0015】
【発明の実施の形態】
以下、本発明を実施の形態に基づき詳細に説明する。図2はこの発明の一実施の形態を示す車両用方位検出装置のシステム構成図である。同図において、1は車両に搭載された磁気センサ、2−1および2−2はこの磁気センサ1の検出する入力磁気ベクトルのX軸方向成分VxおよびY軸方向成分Vyを入力とするA/D変換回路、3はこのA/D変換回路2−1および2−2によりディジタル値に変換されたX軸方向成分VxおよびY軸方向成分Vyを所定のサンプリング周期で読み込み、所定のプログラムに従い処理動作を行う演算回路、4は演算回路3での処理動作により得られる車両の進行方位を表示するLEDやLCDパネル等の表示装置である。
【0016】
磁気センサ1は、磁気検出素子としてのX軸コイル1−1およびY軸コイル1−2と、X軸コイル1−1およびY軸コイル1−2に生ずる入力磁気ベクトルのX軸方向成分およびY軸方向成分に応じた検出電圧を増幅するXアンプ1−3およびYアンプ1−4とを備えている。なお、演算回路3には、メモリ(図示せず)が設けられ、このメモリに車両のX軸方向およびY軸方向の着磁量αおよびβ、すなわち方位円の原点C0(α,β)ならびに振幅係数Kx,Kyが格納されている。ここで、振幅係数KxはX軸方向成分に対する振幅係数、振幅係数KyはY軸方向成分に対する振幅係数である。
【0017】
次に、この車両用方位検出装置における特徴的な動作について、図3および図4に示すフローチャートを参照しながら説明する。図3(a)は演算回路3内部での処理を示すフローチャートである。演算回路3は、初期設定を行ってから(ステップ#1)、メイン処理に入る(ステップ#2)。
【0018】
メイン処理#2において、演算回路3は、磁気センサ1の検出している入力磁気ベクトルのX軸方向成分VxおよびY軸方向成分VyのA/D変換値を所定のサンプリング周期で読み込み、所定数読み込む毎に平均化処理を行う(図3(b)に示すステップ301)。そして、メモリに格納されている方位円の原点C0(α,β)および振幅係数Kx,Kyを読み出し、X軸方向成分VxおよびY軸方向成分Vyの平均化処理値に対してオフセット・振幅調整を行う(ステップ302)。このオフセット・振幅調整によって得られるX軸方向成分およびY軸方向成分をVXおよびVYとする。なお、この実施の形態では、方位円の半径Rが250mGとなるように、振幅係数Kx,Kyを設定している。
【0019】
そして、演算回路3は、ステップ303へ進み、ステップ302で得られたX軸方向成分VXおよびY軸方向成分VYで示される座標点(VX,VY)を記憶候補座標点とする。そして、この記憶候補座標点(VX,VY)と補正用データとしてすでに記憶されている各記憶確定座標点(Xt(n),Yt(n))とを比較し、記憶候補座標点(VX,VY)が各記憶確定座標点(Xt(n),Yt(n))を中心として定められる非選択領域の何れにも位置していなければ、その記憶候補座標点(VX,VY)を次の記憶確定座標点(Xt(n),Yt(n))とする。
【0020】
図5を用いて記憶確定座標点(Xt(n),Yt(n))の決定過程を具体的に説明する。今、補正用データとして記憶確定座標点Q1(Xt(1),Yt(1))、Q2(Xt(2),Yt(2))、Q3(Xt(3),Yt(3))が決定されており、ステップ303において記憶候補座標点Q4(VX,VY)が抽出されたとする。この場合、記憶確定座標点Q1,Q2,Q3に対しては、Q1,Q2,Q3を中心とする正方形状の非選択領域S1,S2,S3が定められている。記憶候補座標点Q4は非選択領域S1,S2,S3の何れにも位置していない。したがって、この場合、記憶候補座標点Q4は次の記憶確定座標点Q4(Xt(4),Yt(4))、すなわち補正用データとして決定される。
【0021】
演算回路3は、補正用データが4点確定するまでの間は、ステップ304におけるステップ401(図4参照)でのNOに応じ、ステップ305,306,307を経てステップ301へ戻る。この場合、ステップ305では、ステップ302で得たX軸方向成分VXおよびY軸方向成分VYに対しフィルタ処理を施し、ノイズ成分を除去する。ステップ306では、ノイズ成分の除去されたX軸方向成分VXおよびY軸方向成分VYに基づいて現在の進行方位を算出し、表示用角度に換算する。ステップ307では、表示出力処理を行い、換算された表示用角度を表示する。
【0022】
これに対し、補正用データが4点確定すると、演算回路3は、ステップ401でのYESに応じ、ステップ402へ進む。ステップ402では、確定した4点の補正用データを中心として方位円の半径Rで描かれる円の各交差点を求める。すなわち、図1に示す如く、確定した4点の補正用データをQ1(Xt(1),Yt(1))、Q2(Xt(2),Yt(2))Q3(Xt(3),Yt(3))、Q4(Xt(4),Yt(4))とした場合、Q1〜Q4を中心とする半径Rの円の各交差点P1〜P6,P1’〜P6’を求める。
【0023】
ここで、P1,P1’はQ1およびQ2を中心とする半径Rの円の交差点、P2,P2’はQ1およびQ3を中心とする半径Rの円の交差点、P3,P3’はQ1およびQ4を中心とする半径Rの円の交差点、P4,P4’はQ2およびQ3を中心とする半径Rの円の交差点、P5,P5’はQ2およびQ4を中心とする半径Rの円の交差点、P6,P6’はQ3およびQ4を中心とする半径Rの円の交差点である。
【0024】
今、Q1〜Q4が半径Rの方位円の円周上に乗っているものとすれば、交差点P1〜P6は1点に収束する。すなわち、所定の収束範囲(2軸の領域)Saを定め、この収束範囲Saに交差点P1〜P6の全てが入れば、Q1〜Q4が半径Rの方位円の円周上にほゞ乗っていると判断することができる。これに対し、交差点P1〜P6の内の一つでも収束範囲Saに入らないものがあれば(図6参照)、Q1〜Q4中に半径Rの方位円の円周上からかなり外れているものがあると判断することができる。
【0025】
そこで、この実施の形態では、確定した4点の補正用データを中心として方位円の半径Rで描かれる円の各交差点を求め(ステップ402)、これにより求められた12個の各交差点の中からその占有面積が最小の6個の交差点の組み合わせを選択し(ステップ403)、この選択した6個の交差点の全てが収束範囲Saに入っているか否かを判定するようにしている(ステップ404)。
【0026】
なお、この実施の形態では、100mG(R÷2.5=250mG÷2.5=100mG)角の領域を収束範囲Saとしている。また、12個の各交差点の中からその占有面積が最小の6個の交差点の組み合わせを選択する際、同一占有面積のものが存在した場合には、縦横比が1に近い方を選択するようにしている。
【0027】
ここで、選択した6個の交差点の内一つでも収束範囲Saに入らないものがあれば、ステップ404でのNOに応じてステップ420へ進み、補正用データQ1〜Q4をクリアしてステップ305以降の処理へと進む。すなわち、選択した6個の交差点の内一つでも収束範囲Saに入らないものがあれば、その収集した補正用データQ1〜Q4を用いての検出進行方位の補正をキャンセルする。
【0028】
これにより、外乱等による異常地磁気が発生しても初期設定されている半径Rにある程度適合する地磁気データの原点を算出することが可能となる。なお、ここでは後述の処理とのからみがあり、比較的許容したレベルに判定領域(収束範囲Sa)を設定している。
【0029】
選択した6個の交差点の全てが収束範囲Saに入れば、ステップ404でのYESに応じて、ステップ405へ進む。
ステップ405では、ステップ403で選択した6個の交差点の平均座標点、すなわち図1で言えば交差点P1〜P6の平均座標点を、算出原点M(AX,AY)として求める。
AX=(P1〜P6のX座標合計)/6
AY=(P1〜P6のY座標合計)/6
そして、この求めた算出原点M(AX,AY)に対する補正用データQ1〜Q4の座標上における偏差δ1〜δ4を求める(図7参照)。
【0030】
そして、ステップ405で求めた偏差δ1〜δ4と所定の上下限(本実施の形態では、R±(R/5)=250mG±50mG)とを比較し、異常値が存在するか否かを判断する(ステップ406)。ここで、偏差δ1〜δ4が上記上下限の間に入れば、異常値が存在しないものと判断し、その時の算出原点M(AX,AY)を記憶する(ステップ410)。
【0031】
一方、ステップ406において、上記上下限の間に入らない偏差があれば、最大偏差にかかわる補正用データを異常データとして除去する(ステップ407)。そして、ステップ408へ進み、ステップ403で選択した6個の交差点の中から異常データとして除去された補正用データを利用して求められた交差点を除去し、残された交差点の平均座標点を算出原点M(AX,AY)として再度求める。例えば、補正用データQ4が異常データとして除去された場合には、ステップ403で選択した交差点P1〜P6の中から補正用データQ4を利用して求められた交差点P3,P5,P6を除去し、残された交差点P1,P2,P4の平均座標点を算出原点M(AX,AY)として再度求める。
AX=(P1,P2,P4のX座標合計)/3
AY=(P1,P2,P4のY座標合計)/3
そして、この求めた算出原点M(AX,AY)に対する補正用データQ1〜Q3の座標上における偏差δ1〜δ3を求める。
【0032】
そして、このステップ408で求めた偏差δ1〜δ3と所定の上下限(本実施の形態では、R±(R/5)=250mG±50mG)とを比較し、異常値が存在するか否かを判断する(ステップ409)。ここで、偏差δ1〜δ3が上記上下限の間に入れば、異常値が存在しないものと判断し、その時の算出原点M(AX,AY)を記憶する(ステップ410)。これに対し、ステップ409において、上記上下限の間に入らない偏差があれば、ステップ420へ進み、補正用データQ1〜Q4をクリアしてステップ305以降の処理へと進む。すなわち、偏差δ1〜δ3の内一つでも上記上下限の間に入らないものがあれば、補正用データQ1〜Q3を用いての検出進行方位の補正をキャンセルする。
【0033】
ここでの処理の狙いは、比較的許容した形で車両の旋回の判定を行い、次にサンプリングした補正用データのバラツキを認識し、異常データを除去して精度よく原点算出を行うことにある。また、データ自体が仮にバラツキが大だっとしても平均値に対するバラツキ判定でそれを認識して処理を中断することができる。今回のサンプリングポイントは90度以内に4点が測定されるように設定してあり、通常の交差点の通過で、この算出原点Mが確定する。
【0034】
ステップ410で算出原点Mを記憶すれば、ステップ411へ進んで、バラツキ判定を行う。今、算出原点Mとして、最初の算出原点M1(AX1,AY1)が記憶されたとする。この場合、ステップ411では、比較すべき算出原点がまだ無いので、ステップ412へ進み、ステップ412でのNOに応じてステップ305以降の処理へと進む。
【0035】
次に、ステップ410において、次の算出原点M2(AX2,AY2)が記憶されたとする。この場合、ステップ411では、最初の算出原点M1と次の算出原点M2との距離を測定し、一定の距離以内か否かを判定する。本実施の形態では、この一定の距離を、95mGとして定めている。この95mGはR×sin(表示分解能)より得た値である(図8参照)。
【0036】
ステップ411において、算出原点M1と算出原点M2との距離が95mG未満であれば、M1とM2を算出原点として確定のうえ、ステップ412へ進む。この場合、算出原点M1,M2については確定されたが、M3についてはまだ確定されていないので、ステップ412でのNOに応じてステップ305以降の処理へと進む。
【0037】
次に、ステップ410において、算出原点M3(AX3,AY3)が記憶されたとする。この場合、ステップ411では、算出原点M3と算出原点M1との距離、算出原点M3と算出原点M2との距離を測定し、95mG以内か否かを判定する。ここで、算出原点M3と算出原点M1との距離、算出原点M3と算出原点M2との距離が95mG未満であれば、算出原点M1〜M3間の距離のばらつきが所定の範囲内であるとして、M1〜M3を算出原点として確定する。算出原点M1〜M3が確定されれば、ステップ412でのYESに応じ、ステップ413へ進む。
【0038】
ステップ413では、確定された算出原点M1〜M3の平均座標点、すなわち(M1+M2+M3)/3を確定原点Gとする。そして、現在使用している方位円の原点(使用原点)Dとの距離を|G−D|として求め、この距離|G−D|が一定の距離以内か否かをチェックする(ステップ414)。本実施の形態では、この一定の距離を、95mGとして定めている。この95mGはR×sin(表示分解能)より得た値である。
【0039】
ここで、距離|G−D|が95mG以上である場合は、現在使用している原点Dが着磁等で異常状態である可能性があるため、Gを振幅補正前の状態G’に戻した後(ステップ415)、使用原点DをG’に置き換える(ステップ416)。これにより、異常に際して、早期回復が図られる。
【0040】
距離|G−D|が95mG未満である場合は、特に異常状態ではないため、Gを振幅補正前の状態G’に戻した後(ステップ417)、使用原点Dを{(D+G’)/2}とする(ステップ418)。これにより、過去の原点座標データの移動平均的な処理が実行され、常に安定的に精度を確保できるような補正が行われる。
【0041】
なお、ステップ411において、算出原点M1,M2間、またはM1,M2,M3間で95mG以上を越えるバラツキが存在すれば、その段階で全ての記憶算出原点Mnをクリアして(ステップ419)、また全ての記憶補正用データQnをクリアして(ステップ420)、ステップ305以降の処理へと進む。これは、記憶算出原点の何れかが外乱成分を含んでいる可能性があり、また記憶されている算出原点の測定ポイントが全く異なる環境である危険性があるためである。このM1,M2,M3は、道路上での交差点3回または270度程度の旋回が安定的に実施されれば確定できるため、比較的短時間に実行される。
【0042】
また、この実施の形態では、算出原点Mが3個確定された場合にステップ413へ進むものとしたが、3個に限られるものでないことは言うまでもない。本実施の形態では、外乱の侵入、退出の際の地磁気変化を考慮して2個まではあり得ると考えて3個とした。
【0043】
【発明の効果】
以上説明したことから明らかなように本発明によれば、収集された各補正用データを中心として方位円の半径で描かれる円の各交差点が求められ、これにより求められた各交差点の中からその占有面積が最小のN個の交差点の組み合わせが選択され、そのN個の交差点の内の一つでも所定の収束範囲に入っていなければ、その収集した補正用データを用いての検出進行方位の補正がキャンセルされるものとなり、頻繁な周回旋回の実施をユーザに強いることなく、着磁量の変化による検出誤差の補正を自動的に行うことを可能としたうえ、外乱磁気の影響をでき得る限り排除することができるようになる。
すなわち、外乱を含む地磁気データであっても収束・バラツキ等の各種判定により、外乱データのみを排除することが可能となり、着磁等により方位円の原点がずれてしまったような場合でも、早期にかつ信頼性の高い真の方位円の原点を算出することが可能となる。
【図面の簡単な説明】
【図1】交差点P1〜P6が収束範囲に入っている状況を示す図である。
【図2】本発明の一実施の形態を示す車両用方位検出装置のシステム構成図である。
【図3】この車両用方位検出装置における演算回路内部での処理を示すフローチャートである。
【図4】図3(b)における自動補正処理ルーチンを示すフローチャートである。
【図5】記憶確定座標点(Xt(n),Yt(n))の決定過程を説明するための図である。
【図6】交差点P1〜P6の内の交差点P1が収束範囲に入っていない状況を示す図である。
【図7】算出原点M(AX,AY)に対する補正用データQ1〜Q4の座標上における偏差δ1〜δ4を示す図である。
【図8】R×sin(表示分解能)を示す図である。
【図9】均一な地磁気中で車両が周回旋回した時に磁気センサの出力Vx,Vyにより座標面で描かれる方位円を示す図である。
【図10】図9に示した方位円の中心点C0がC1にずれた状態を示す図である。
【符号の説明】
1…磁気センサ、1−1…X軸コイル、1−2…Y軸コイル、1−3…Xアンプ、1−4…Yアンプ、2−1,2−2…A/D変換回路、3…演算回路、4…表示装置、Q1〜Q4…補正用データ、P1〜P6,P1’〜P6’…交差点、Sa…収束範囲、R…方位円の半径、δ1〜δ4…偏差。
[0001]
TECHNICAL FIELD OF THE INVENTION
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a vehicle azimuth detecting device for detecting a traveling azimuth of a vehicle using geomagnetism.
[0002]
[Prior art]
2. Description of the Related Art Conventionally, in this type of vehicle azimuth detecting device, an X-axis component and a Y-axis component of an input magnetic vector are detected, and a vehicle stored in advance from the detected X-axis component and Y-axis component. Are subtracted from the amount of magnetization (offset amount) in the X-axis direction and the Y-axis direction, and the traveling direction of the vehicle is detected based on the detected magnetic component from which the amount of magnetization is subtracted.
[0003]
That is, a magnetic sensor having two orthogonal (X, Y-axis) magnetic detection elements (X-axis coil, Y-axis coil) is taken with the X axis in the width direction of the vehicle and the Y axis in the length direction of the vehicle. In the (vehicle traveling direction), the X- and Y-axes are arranged on the vehicle while being held so that the plane formed by the axes becomes a horizontal plane.
Here, the angle between the X axis and the geomagnetic vector (horizontal component) is θ, the absolute value of the geomagnetic vector (horizontal component) is R, the amount of magnetization of the vehicle in the X axis direction is α, and the amount of magnetization of the vehicle in the Y axis direction is α. Assuming that the magnetic quantity is β, the X-axis component Vx and the Y-axis component Vy of the input magnetic vector detected by the magnetic sensor are expressed by the following equations (1) and (2).
Vx = R · cos θ + α (1)
Vy = R · sin θ + β (2)
[0004]
That is, if Vx and Vy when the vehicle turns around in the uniform geomagnetism are drawn on the coordinate plane, a circle (hereinafter, this circle is called an azimuth circle) is drawn as shown in FIG. Incidentally, the coordinates of the origin C0 of the azimuth circle are (α, β), and the radius is R.
Here, the magnetization amounts α and β of the vehicle can be detected by turning around the vehicle. For example, the maximum value (Vx ma x , Vy max ), Minimum value (Vx min , Vy min ), The following (3) ) And (4), the amounts of magnetization α and β can be obtained.
α = (Vx max + Vx min ) / 2 (3)
β = (Vy max + Vy min ) / 2 (4)
Thus, if the magnetization amounts α and β are stored in advance as offset amounts, that is, if the coordinates of the origin CO of the azimuth circle are stored as (α, β), the instantaneous traveling azimuth θ of the vehicle can be calculated as follows: It can be obtained from equation (5).
θ = tan -1 [(Vy-β) / (Vx-α)] (5)
[0005]
However, in this case, since the direction of the vector from the origin C0 of the azimuth circle to the coordinate point (Vx, Vy) detected by the magnetic sensor is obtained, the magnet is moved closer to the vehicle, or the vehicle passes through a strong magnetic field. Then, when the magnetization amounts α and β change, a detection error occurs. That is, as shown in FIG. 10, when the origin C0 of the azimuth circle deviates to C1, it is detected as θ despite the fact that the actual traveling azimuth is θ ′, and θ′−θ = θ. E Will cause a detection error.
In such a case, it is conceivable that the vehicle turns around again and the amounts of magnetization α and β are obtained again. However, there is almost no wide area suitable for orbital turning in an urban area, and it is severe to force a user to correct a detection error due to frequent orbital turning. Therefore, a vehicle direction detection device that can automatically correct a detection error due to a change in the amount of magnetization without forcing the user to perform frequent round turns has been proposed.
[0006]
In this azimuth detecting device for a vehicle, the coordinate points indicated by the detected X-axis direction component and the detected Y-axis direction component are extracted as storage candidate coordinate points every time a predetermined time elapses during traveling. Then, the extracted storage candidate coordinate point is compared with each of the already stored storage confirmed coordinate points, and the storage candidate coordinate point is determined for each of the areas (non-selected areas) defined around each of the storage confirmed coordinate points. If not, the storage candidate coordinate points are collected as storage determined coordinate points. Then, when the number of the discretely collected recording fixed coordinate points (correction data) is equal to or more than a predetermined number (for example, four), the center point of an arc passing through these stored fixed coordinate points is determined. Magnetization amounts in the X-axis direction and the Y-axis direction of the vehicle are obtained from the coordinate positions of the points, and the obtained magnetization amounts are used as new magnetization amounts α ′ and β ′ in the X-axis direction and the Y-axis direction of the vehicle, that is, It is updated and stored as the circle origin C1 (α ′, β ′). Thereby, when turning at an intersection or the like, the origin of the azimuth circle is obtained again, and the detected traveling azimuth is automatically corrected using the obtained origin.
[0007]
[Problems to be solved by the invention]
Changes in the input magnetic vector are not limited to changes in the geomagnetic field, but also travel on steel plates at construction sites, pass under high-voltage lines, pass sideways of magnetized vehicles, run on elevated tracks and bridges, and turn on / off onboard electrical components. And so on. However, in the above-described conventional azimuth detecting device for a vehicle, it is difficult to distinguish between an actual geomagnetic change and a magnetic change caused by something other than the geomagnetism (hereinafter, referred to as a magnetic change due to disturbance magnetism). Although it is no longer located in the selected area, the storage candidate coordinate point is determined as a storage confirmed coordinate point. For this reason, the center point of the arc of the stored memory coordinate point obtained when the number of stored memory coordinate points becomes equal to or more than a predetermined number, that is, the newly determined magnetization amounts in the X-axis direction and the Y-axis direction of the vehicle are the current values. Since the amounts of magnetization α ′ and β ′ in the X-axis direction and the Y-axis direction of the vehicle do not match, a detection error occurs.
[0008]
The present invention has been made to solve such a problem, and an object of the present invention is to automatically correct a detection error due to a change in the amount of magnetization without forcing a user to perform frequent orbital turns. It is an object of the present invention to provide an azimuth detecting device for a vehicle which can perform the correction of a detection error with high accuracy while eliminating the influence of disturbance magnetism as much as possible.
[0009]
[Means for Solving the Problems]
In order to achieve such an object, the first invention (the invention according to claim 1) discretely collects a predetermined number of X-axis direction components and Y-axis direction components of an input magnetic vector as correction data. The origin of the azimuth circle is recalculated based on the collected correction data, and the detected traveling azimuth is corrected using the recalculated origin, while a circle drawn with the radius of the azimuth circle around each collected correction data. Are selected, and a combination of the N intersections having the smallest occupied area is selected from the intersections thus obtained, and at least one of the selected N intersections is determined in advance. Is not within the convergence range, the correction of the detected traveling direction using the collected correction data is prohibited.
[0010]
According to the present invention, a predetermined number (for example, four) of the X-axis direction component and the Y-axis direction component of the input magnetic vector are discretely collected as correction data, and the detection progress is performed based on the collected correction data. The azimuth is corrected. In this case, the intersections (for example, 12) of the circle drawn with the radius of the azimuth circle with the collected correction data as the center are obtained, and the occupied area of each intersection is the smallest among the obtained intersections. A combination of N (for example, 6) intersections is selected, and it is checked whether the N intersections are within a predetermined convergence range. If at least one of the N intersections does not fall within the predetermined convergence range, the correction of the detected traveling direction using the collected correction data is canceled.
[0011]
According to a second invention (an invention according to claim 2), a predetermined number of X-axis components and Y-axis components of an input magnetic vector are discretely collected as correction data, and an azimuth circle is obtained based on the collected correction data. The origin of the circle is recalculated, and the detected traveling direction is corrected using the recalculated origin.At the same time, the intersections of the circle drawn with the radius of the azimuth circle centered on the collected data for correction are obtained. A combination of N intersections having the smallest occupied area is selected from each of the intersections, and if at least one of the selected N intersections does not fall within a predetermined convergence range, the collection is performed. The correction of the detected traveling direction using the corrected data is prohibited, and when all of the selected N intersections are within a predetermined convergence range, the average coordinate point of the selected N intersections is calculated. As The deviation on the coordinates of each correction data with respect to the calculation origin of is calculated, and if there is a deviation that does not fall within the predetermined upper and lower limits, the correction data relating to the maximum deviation shall be removed as abnormal data, thereby obtaining the abnormal data. Is removed, the intersection obtained using the correction data removed as abnormal data from the selected N intersections is removed, and the average coordinate point of each remaining intersection is calculated. The deviation on the coordinates of each correction data with respect to the calculated origin is calculated again. If there is a deviation that does not fall within the predetermined upper and lower limits, the correction of the detected traveling direction using the correction data is prohibited. It is like that.
[0012]
According to the present invention, a predetermined number (for example, four) of the X-axis direction component and the Y-axis direction component of the input magnetic vector are discretely collected as correction data, and the detection progress is performed based on the collected correction data. The azimuth is corrected. In this case, the intersections (for example, 12) of the circle drawn with the radius of the azimuth circle with the collected correction data as the center are obtained, and the occupied area of each intersection is the smallest among the obtained intersections. A combination of N (for example, 6) intersections is selected, and it is checked whether the N intersections are within a predetermined convergence range. If at least one of the N intersections does not fall within the predetermined convergence range, the correction of the detected traveling direction using the collected correction data is canceled.
On the other hand, if all of the N intersections fall within the predetermined convergence range, the average coordinate point of the selected N intersections is obtained as the calculation origin. Then, a deviation on the coordinates of each correction data from the calculated origin is obtained. If there is a deviation that does not fall within the predetermined upper and lower limits, the correction data relating to the maximum deviation is removed as abnormal data.
Further, when the abnormal data is thereby removed, the intersection determined using the correction data removed as the abnormal data from the selected N intersections is removed, and the average of the remaining intersections is removed. The coordinate point is obtained again as the calculation origin, and a deviation of each correction data (each correction data after removing abnormal data) from the calculation origin on the coordinate is obtained. Here, if there is a deviation that does not fall within the predetermined upper and lower limits, the correction of the detected traveling direction using the correction data is canceled.
[0013]
According to a third invention (an invention according to claim 3), in the second invention, a predetermined number of calculation origins are stored, and when a variation in the distance between the stored calculation origins is within a predetermined range, the calculation origin of each calculation origin is stored. The average coordinate point is set as the fixed origin. According to the present invention, a predetermined number (for example, three) of calculation origins are stored, and the variation in the distance between the stored calculation origins is determined. As a result, the variation in the distance between the calculation origins is a predetermined value. Is within the range, the average coordinate point of each calculation origin is set as the fixed origin.
[0014]
A fourth invention (an invention according to claim 4) is the invention according to the third invention, wherein the distance between the fixed origin and the origin of the currently used azimuth circle (used origin) is less than a predetermined distance, and the fixed origin and the used origin. Is used as a new use origin, and when it is more than a predetermined distance, the fixed origin is used as a new use origin. According to the present invention, if the distance between the fixed origin and the use origin is smaller than the predetermined distance, the average value of the fixed origin and the use origin is set as a new use origin. Is the new origin of use.
[0015]
BEST MODE FOR CARRYING OUT THE INVENTION
Hereinafter, the present invention will be described in detail based on embodiments. FIG. 2 is a system configuration diagram of a vehicle azimuth detecting device showing an embodiment of the present invention. In FIG. 1, reference numeral 1 denotes a magnetic sensor mounted on a vehicle, and 2-1 and 2-2 input signals A / X having an X-axis direction component Vx and a Y-axis direction component Vy of an input magnetic vector detected by the magnetic sensor 1 as inputs. The D conversion circuit 3 reads the X-axis direction component Vx and the Y-axis direction component Vy converted into digital values by the A / D conversion circuits 2-1 and 2-2 at a predetermined sampling period, and processes them according to a predetermined program. The arithmetic circuit 4 for performing the operation is a display device such as an LED or an LCD panel for displaying the traveling direction of the vehicle obtained by the processing operation in the arithmetic circuit 3.
[0016]
The magnetic sensor 1 includes an X-axis coil 1-1 and a Y-axis coil 1-2 as magnetic detection elements, and an X-axis direction component and Y of an input magnetic vector generated in the X-axis coil 1-1 and the Y-axis coil 1-2. An X amplifier 1-3 and a Y amplifier 1-4 for amplifying a detection voltage corresponding to an axial component are provided. The arithmetic circuit 3 is provided with a memory (not shown). In this memory, the amounts of magnetization α and β in the X-axis direction and the Y-axis direction of the vehicle, that is, the origin C0 (α, β) of the azimuth circle and The amplitude coefficients Kx and Ky are stored. Here, the amplitude coefficient Kx is an amplitude coefficient for the X-axis direction component, and the amplitude coefficient Ky is an amplitude coefficient for the Y-axis direction component.
[0017]
Next, a characteristic operation of the azimuth detecting device for a vehicle will be described with reference to flowcharts shown in FIGS. FIG. 3A is a flowchart showing the processing inside the arithmetic circuit 3. After performing the initial setting (step # 1), the arithmetic circuit 3 enters the main process (step # 2).
[0018]
In the main process # 2, the arithmetic circuit 3 reads an A / D conversion value of the X-axis direction component Vx and the Y-axis direction component Vy of the input magnetic vector detected by the magnetic sensor 1 at a predetermined sampling period, and An averaging process is performed each time the data is read (step 301 shown in FIG. 3B). Then, the origin C0 (α, β) and the amplitude coefficients Kx, Ky of the azimuth circle stored in the memory are read out, and the offset / amplitude adjustment is performed on the average processing value of the X-axis direction component Vx and the Y-axis direction component Vy. Is performed (step 302). The X-axis direction component and the Y-axis direction component obtained by this offset / amplitude adjustment are VX and VY. In this embodiment, the amplitude coefficients Kx and Ky are set such that the radius R of the azimuth circle is 250 mG.
[0019]
Then, the operation circuit 3 proceeds to step 303, and sets the coordinate points (VX, VY) indicated by the X-axis direction component VX and the Y-axis direction component VY obtained in step 302 as storage candidate coordinate points. Then, the storage candidate coordinate point (VX, VY) is compared with each of the stored fixed coordinate points (Xt (n), Yt (n)) already stored as correction data, and the storage candidate coordinate point (VX, VX, VY) is compared. If VY) is not located in any of the non-selected areas defined around each of the memory determined coordinate points (Xt (n), Yt (n)), the storage candidate coordinate point (VX, VY) is set to the next The storage determined coordinate point (Xt (n), Yt (n)).
[0020]
With reference to FIG. 5, the process of determining the storage confirmed coordinate point (Xt (n), Yt (n)) will be specifically described. Now, the stored fixed coordinate points Q1 (Xt (1), Yt (1)), Q2 (Xt (2), Yt (2)), and Q3 (Xt (3), Yt (3)) are determined as correction data. It is assumed that the storage candidate coordinate point Q4 (VX, VY) has been extracted in step 303. In this case, square non-selection areas S1, S2, and S3 centered on Q1, Q2, and Q3 are defined for the storage confirmed coordinate points Q1, Q2, and Q3. The storage candidate coordinate point Q4 is not located in any of the non-selected areas S1, S2, S3. Therefore, in this case, the storage candidate coordinate point Q4 is determined as the next storage fixed coordinate point Q4 (Xt (4), Yt (4)), that is, correction data.
[0021]
The arithmetic circuit 3 returns to step 301 via steps 305, 306, and 307 in response to NO in step 401 (see FIG. 4) in step 304 until four correction data points are determined. In this case, in step 305, a filtering process is performed on the X-axis direction component VX and the Y-axis direction component VY obtained in step 302 to remove noise components. In step 306, the current traveling azimuth is calculated based on the X-axis direction component VX and the Y-axis direction component VY from which the noise component has been removed, and is converted into a display angle. In step 307, display output processing is performed, and the converted display angle is displayed.
[0022]
On the other hand, when four points of correction data are determined, the arithmetic circuit 3 proceeds to step 402 in response to YES in step 401. In step 402, each intersection of the circle drawn with the radius R of the azimuth circle is determined with the determined four correction data at the center. That is, as shown in FIG. 1, the determined correction data at the four points are divided into Q1 (Xt (1), Yt (1)), Q2 (Xt (2), Yt (2)) and Q3 (Xt (3), Yt (3)) and Q4 (Xt (4), Yt (4)), the intersections P1 to P6 and P1 ′ to P6 ′ of the circle of radius R centered on Q1 to Q4 are obtained.
[0023]
Here, P1 and P1 'are intersections of circles of radius R centered on Q1 and Q2, P2 and P2' are intersections of circles of radius R centered on Q1 and Q3, and P3 and P3 'are Q1 and Q4. P4, P4 'are intersections of circles of radius R centered on Q2 and Q3, P5, P5' are intersections of circles of radius R centered on Q2 and Q4, P6. P6 'is the intersection of circles of radius R centered on Q3 and Q4.
[0024]
Now, assuming that Q1 to Q4 are on the circumference of the azimuth circle of radius R, the intersections P1 to P6 converge to one point. That is, a predetermined convergence range (two-axis region) Sa is determined, and if all the intersections P1 to P6 fall within the convergence range Sa, Q1 to Q4 are almost on the circumference of the azimuth circle of radius R. Can be determined. On the other hand, if any one of the intersections P1 to P6 does not fall within the convergence range Sa (see FIG. 6), one of the intersections P1 to P4 that is considerably off the circumference of the azimuth circle of radius R is present. It can be determined that there is.
[0025]
Therefore, in this embodiment, each intersection of a circle drawn with the radius R of the azimuth circle is determined with the determined four correction data at the center (step 402), and among the twelve intersections thus determined, , The combination of the six intersections having the smallest occupied area is selected (step 403), and it is determined whether all of the selected six intersections are within the convergence range Sa (step 404). ).
[0026]
In this embodiment, a region having an angle of 100 mG (R2502.5 = 250 mG ÷ 2.5 = 100 mG) is defined as the convergence range Sa. Also, when selecting a combination of six intersections having the smallest occupied area from each of the twelve intersections, if there is one having the same occupied area, the one having an aspect ratio closer to 1 is selected. I have to.
[0027]
If at least one of the six selected intersections does not fall within the convergence range Sa, the process proceeds to step 420 in response to NO in step 404, and the correction data Q1 to Q4 are cleared and step 305 is executed. Proceed to subsequent processing. That is, if even one of the six selected intersections does not fall within the convergence range Sa, the correction of the detected traveling direction using the collected correction data Q1 to Q4 is canceled.
[0028]
As a result, even if abnormal geomagnetism occurs due to disturbance or the like, it becomes possible to calculate the origin of geomagnetic data that somewhat matches the initially set radius R. Note that, here, the determination region (convergence range Sa) is set at a relatively allowable level in consideration of the processing described later.
[0029]
If all of the selected six intersections fall within the convergence range Sa, the process proceeds to step 405 in response to YES in step 404.
In step 405, the average coordinate point of the six intersections selected in step 403, that is, the average coordinate point of the intersections P1 to P6 in FIG. 1, is determined as the calculation origin M (AX, AY).
AX = (total X coordinate of P1 to P6) / 6
AY = (total Y coordinate of P1 to P6) / 6
Then, deviations δ1 to δ4 on the coordinates of the correction data Q1 to Q4 with respect to the calculated calculation origin M (AX, AY) are obtained (see FIG. 7).
[0030]
Then, the deviations δ1 to δ4 obtained in step 405 are compared with predetermined upper and lower limits (R ± (R / 5) = 250 mG ± 50 mG in the present embodiment) to determine whether or not an abnormal value exists. (Step 406). If the deviations δ1 to δ4 fall between the upper and lower limits, it is determined that there is no abnormal value, and the calculated origin M (AX, AY) at that time is stored (step 410).
[0031]
On the other hand, if there is a deviation that does not fall within the upper and lower limits in step 406, the correction data relating to the maximum deviation is removed as abnormal data (step 407). Then, the process proceeds to step 408, in which the intersection determined using the correction data removed as abnormal data is removed from the six intersections selected in step 403, and the average coordinate point of the remaining intersection is calculated. It is obtained again as the origin M (AX, AY). For example, when the correction data Q4 is removed as abnormal data, the intersections P3, P5, and P6 obtained using the correction data Q4 are removed from the intersections P1 to P6 selected in step 403, The average coordinate point of the remaining intersections P1, P2, P4 is obtained again as the calculation origin M (AX, AY).
AX = (total X coordinate of P1, P2, P4) / 3
AY = (total Y coordinate of P1, P2, P4) / 3
Then, deviations δ1 to δ3 on the coordinates of the correction data Q1 to Q3 with respect to the calculated origin M (AX, AY) are obtained.
[0032]
Then, the deviations δ1 to δ3 obtained in step 408 are compared with predetermined upper and lower limits (in this embodiment, R ± (R / 5) = 250 mG ± 50 mG) to determine whether an abnormal value exists. A judgment is made (step 409). If the deviations δ1 to δ3 fall between the upper and lower limits, it is determined that there is no abnormal value, and the calculated origin M (AX, AY) at that time is stored (step 410). On the other hand, in step 409, if there is a deviation that does not fall within the upper and lower limits, the process proceeds to step 420, where the correction data Q1 to Q4 are cleared, and the process proceeds to step 305 and subsequent steps. That is, if any of the deviations δ1 to δ3 does not fall within the upper and lower limits, the correction of the detected traveling direction using the correction data Q1 to Q3 is canceled.
[0033]
The purpose of the processing here is to determine the turning of the vehicle in a relatively permissible manner, recognize the variation in the sampled correction data, remove the abnormal data, and calculate the origin accurately. . Even if the data itself has a large variation, the process can be interrupted by recognizing the variation in the average value and determining the variation. The sampling points this time are set so that four points are measured within 90 degrees, and the calculation origin M is determined by passing through a normal intersection.
[0034]
If the calculated origin M is stored in step 410, the process proceeds to step 411, and the variation is determined. Now, it is assumed that the first calculation origin M1 (AX1, AY1) is stored as the calculation origin M. In this case, in step 411, since there is no calculation origin to be compared yet, the process proceeds to step 412, and the process proceeds to step 305 and subsequent processes in response to NO in step 412.
[0035]
Next, it is assumed that the next calculation origin M2 (AX2, AY2) is stored in step 410. In this case, in step 411, the distance between the first calculation origin M1 and the next calculation origin M2 is measured, and it is determined whether or not the distance is within a certain distance. In the present embodiment, this fixed distance is set to 95 mG. This 95 mG is a value obtained from R × sin (display resolution) (see FIG. 8).
[0036]
In step 411, if the distance between the calculation origin M1 and the calculation origin M2 is less than 95 mG, M1 and M2 are determined as the calculation origin, and the process proceeds to step 412. In this case, although the calculation origins M1 and M2 have been determined, but the calculation origin M3 has not been determined yet, the process proceeds to step 305 and subsequent steps in response to NO in step 412.
[0037]
Next, it is assumed that the calculation origin M3 (AX3, AY3) is stored in step 410. In this case, in step 411, the distance between the calculation origin M3 and the calculation origin M1 and the distance between the calculation origin M3 and the calculation origin M2 are measured, and it is determined whether the distance is within 95 mG. Here, if the distance between the calculation origin M3 and the calculation origin M1 and the distance between the calculation origin M3 and the calculation origin M2 are less than 95 mG, it is assumed that the variation in the distance between the calculation origins M1 to M3 is within a predetermined range. M1 to M3 are determined as calculation origins. If the calculation origins M1 to M3 are determined, the process proceeds to step 413 in response to YES in step 412.
[0038]
In step 413, the average coordinate point of the determined calculation origins M1 to M3, that is, (M1 + M2 + M3) / 3 is set as the determined origin G. Then, the distance from the origin (use origin) D of the azimuth circle currently used is determined as | GD |, and it is checked whether or not this distance | GD | is within a certain distance (step 414). . In the present embodiment, this fixed distance is set to 95 mG. This 95 mG is a value obtained from R × sin (display resolution).
[0039]
Here, if the distance | G−D | is 95 mG or more, since the origin D currently used may be in an abnormal state due to magnetization or the like, G is returned to the state G ′ before amplitude correction. After that (step 415), the use origin D is replaced with G '(step 416). Thereby, in the event of an abnormality, early recovery is achieved.
[0040]
If the distance | GD− is less than 95 mG, there is no particular abnormal state, so that G is returned to the state G ′ before the amplitude correction (step 417), and the use origin D is set to {(D + G ′) / 2. } (Step 418). As a result, a moving average process of the past origin coordinate data is executed, and correction is performed so that the accuracy can always be stably secured.
[0041]
In step 411, if there is a variation exceeding 95 mG between the calculation origins M1 and M2 or between M1, M2 and M3, all stored calculation origins Mn are cleared at that stage (step 419). All stored correction data Qn is cleared (step 420), and the process proceeds to step 305 and subsequent steps. This is because any one of the storage calculation origins may include a disturbance component, and there is a risk that the stored measurement points of the calculation origin are completely different environments. These M1, M2, and M3 can be determined if the intersection on the road is turned three times or about 270 degrees in a stable manner, and thus is executed in a relatively short time.
[0042]
In this embodiment, the process proceeds to step 413 when three calculation origins M have been determined. However, it is needless to say that the number of calculation origins M is not limited to three. In the present embodiment, considering the geomagnetic change at the time of disturbance intrusion and egress, three are considered to be possible.
[0043]
【The invention's effect】
As is clear from the above description, according to the present invention, each intersection of a circle drawn with the radius of the azimuth circle with each collected correction data as the center is obtained, and from among the obtained intersections, A combination of the N intersections having the smallest occupied area is selected, and if at least one of the N intersections does not fall within the predetermined convergence range, the detected traveling direction using the collected correction data is used. Correction is canceled, and it is possible to automatically correct a detection error due to a change in the amount of magnetization without forcing the user to perform frequent orbital turns, and to reduce the influence of disturbance magnetism. You can eliminate as much as you can.
That is, even with geomagnetic data including disturbance, it is possible to eliminate only disturbance data by various determinations such as convergence and variation, and even if the origin of the azimuth circle is shifted due to magnetization or the like, early It is possible to calculate the origin of the true azimuth circle with high reliability.
[Brief description of the drawings]
FIG. 1 is a diagram showing a situation where intersections P1 to P6 are within a convergence range.
FIG. 2 is a system configuration diagram of a vehicle azimuth detecting device showing an embodiment of the present invention.
FIG. 3 is a flowchart showing a process inside an arithmetic circuit in the vehicle direction detecting device.
FIG. 4 is a flowchart illustrating an automatic correction processing routine in FIG.
FIG. 5 is a diagram for explaining a process of determining a storage confirmed coordinate point (Xt (n), Yt (n)).
FIG. 6 is a diagram illustrating a situation where an intersection P1 among the intersections P1 to P6 is not within a convergence range.
FIG. 7 is a diagram showing deviations δ1 to δ4 on the coordinates of correction data Q1 to Q4 with respect to a calculation origin M (AX, AY).
FIG. 8 is a diagram showing R × sin (display resolution).
FIG. 9 is a diagram showing an azimuth circle drawn on a coordinate plane by outputs Vx and Vy of a magnetic sensor when a vehicle turns around in uniform geomagnetism.
10 is a diagram showing a state in which a center point C0 of the azimuth circle shown in FIG. 9 is shifted to C1.
[Explanation of symbols]
DESCRIPTION OF SYMBOLS 1 ... Magnetic sensor, 1-1 ... X-axis coil, 1-2 ... Y-axis coil, 1-3 ... X amplifier, 1-4 ... Y amplifier, 2-1, 2-2 ... A / D conversion circuit, 3 ... Arithmetic circuit, 4 display device, Q1 to Q4 correction data, P1 to P6, P1 ′ to P6 ′, intersection, Sa, convergence range, R, radius of azimuth circle, δ1 to δ4, deviation.

Claims (4)

入力磁気ベクトルのX軸方向成分およびY軸方向成分を検出し、この検出したX軸方向成分およびY軸方向成分に基づいて車両の進行方位を検出する一方、入力磁気ベクトルのX軸方向成分およびY軸方向成分を補正用データとして離散的に所定数収集し、この収集した補正用データに基づいて方位円の原点を求め直し、この求め直した原点を使用して検出進行方位を補正する車両用方位検出装置において、
前記収集した各補正用データを中心として前記方位円の半径で描かれる円の各交差点を求め、これにより求められた各交差点の中からその占有面積が最小のN個の交差点の組み合わせを選択し、この選択したN個の交差点の内の一つでも予め定められた所定の収束範囲に入らない場合、その収集した補正用データを用いての検出進行方位の補正を禁止する補正禁止手段を
備えたことを特徴とする車両用方位検出装置。
An X-axis direction component and a Y-axis direction component of the input magnetic vector are detected, and a traveling direction of the vehicle is detected based on the detected X-axis direction component and the Y-axis direction component. A vehicle in which a predetermined number of Y-axis direction components are discretely collected as correction data, the origin of the azimuth circle is calculated again based on the collected correction data, and the detected traveling azimuth is corrected using the calculated origin. Direction detection device,
Each intersection of the circle drawn with the radius of the azimuth circle is determined with the collected correction data as the center, and a combination of N intersections whose occupied area is the smallest is selected from the obtained intersections. If any one of the selected N intersections does not fall within a predetermined convergence range, a correction prohibiting unit for prohibiting correction of the detected traveling direction using the collected correction data is provided. An azimuth detecting device for a vehicle.
入力磁気ベクトルのX軸方向成分およびY軸方向成分を検出し、この検出したX軸方向成分およびY軸方向成分に基づいて車両の進行方位を検出する一方、入力磁気ベクトルのX軸方向成分およびY軸方向成分を補正用データとして離散的に所定数収集し、この収集した補正用データに基づいて方位円の原点を求め直し、この求め直した原点を使用して検出進行方位を補正する車両用方位検出装置において、
前記収集した各補正用データを中心として前記方位円の半径で描かれる円の各交差点を求め、これにより求められた各交差点の中からその占有面積が最小のN個の交差点の組み合わせを選択し、この選択したN個の交差点の内の一つでも予め定められた所定の収束範囲に入らない場合、その収集した補正用データを用いての検出進行方位の補正を禁止する第1の補正禁止手段と、
前記選択したN個の交差点の全てが前記所定の収束範囲に入った場合、その選択したN個の交差点の平均座標点を算出原点として求める算出原点導出手段と、
この算出原点導出手段により求められた算出原点に対する前記各補正用データの座標上における偏差を求め、所定の上下限の範囲に入らない偏差があれば、最大偏差にかかわる補正用データを異常データとして除去する異常データ除去手段と、
この異常データ除去手段により異常データが除去された場合、前記選択されたN個の交差点の中から前記異常データとして除去された補正用データを利用して求められた交差点を除去し、残された各交差点の平均座標点を算出原点として再度求め、この算出原点に対する前記各補正用データの座標上における偏差を求め、所定の上下限の範囲に入らない偏差があれば、その補正用データを用いての検出進行方位の補正を禁止する第2の補正禁止手段と
備えたことを特徴とする車両用方位検出装置。
An X-axis direction component and a Y-axis direction component of the input magnetic vector are detected, and a traveling direction of the vehicle is detected based on the detected X-axis direction component and the Y-axis direction component. A vehicle in which a predetermined number of Y-axis direction components are discretely collected as correction data, the origin of the azimuth circle is calculated again based on the collected correction data, and the detected traveling azimuth is corrected using the calculated origin. Direction detection device,
Each intersection of the circle drawn with the radius of the azimuth circle is determined with the collected correction data as the center, and a combination of N intersections whose occupied area is the smallest is selected from the obtained intersections. If even one of the selected N intersections does not fall within the predetermined convergence range, the first correction prohibition that prohibits the correction of the detected traveling direction using the collected correction data. Means,
A calculation origin deriving unit that obtains an average coordinate point of the selected N intersections as a calculation origin when all of the selected N intersections fall within the predetermined convergence range;
A deviation on the coordinates of each of the correction data from the calculation origin calculated by the calculation origin deriving means is determined.If there is a deviation that does not fall within the predetermined upper and lower limits, the correction data relating to the maximum deviation is regarded as abnormal data. Abnormal data removing means for removing;
When the abnormal data is removed by the abnormal data removing means, the intersection determined using the correction data removed as the abnormal data from the selected N intersections is removed and the remaining intersections are left. The average coordinate point of each intersection is obtained again as the calculation origin, a deviation on the coordinates of the correction data from the calculation origin is obtained, and if there is a deviation that does not fall within the predetermined upper and lower limits, the correction data is used. And a second correction prohibiting means for prohibiting the correction of the detected traveling azimuths.
請求項2において、算出原点を所定数記憶し、この記憶した各算出原点間の距離のばらつきが所定の範囲内である場合、各算出原点の平均座標点を確定原点とするようにしたことを特徴とする車両用方位検出装置。In claim 2, a predetermined number of calculation origins are stored, and when the variation in the distance between the stored calculation origins is within a predetermined range, an average coordinate point of each calculation origin is set as a fixed origin. Characteristic vehicle direction detecting device. 請求項3において、確定原点と現在使用している方位円の原点(使用原点)との距離が所定距離未満の場合には確定原点と使用原点との平均値を新たな使用原点とし、所定距離以上離れている場合には確定原点を新たな使用原点とするようにしたことを特徴とする車両用方位検出装置。4. The method according to claim 3, wherein when the distance between the fixed origin and the origin of the currently used azimuth circle (used origin) is less than a predetermined distance, an average value of the fixed origin and the used origin is set as a new used origin. An azimuth detecting device for a vehicle, wherein the determined origin is set as a new used origin when the vehicle is separated from the vehicle.
JP29262995A 1995-11-10 1995-11-10 Vehicle direction detector Expired - Fee Related JP3595048B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP29262995A JP3595048B2 (en) 1995-11-10 1995-11-10 Vehicle direction detector

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP29262995A JP3595048B2 (en) 1995-11-10 1995-11-10 Vehicle direction detector

Publications (2)

Publication Number Publication Date
JPH09133530A JPH09133530A (en) 1997-05-20
JP3595048B2 true JP3595048B2 (en) 2004-12-02

Family

ID=17784279

Family Applications (1)

Application Number Title Priority Date Filing Date
JP29262995A Expired - Fee Related JP3595048B2 (en) 1995-11-10 1995-11-10 Vehicle direction detector

Country Status (1)

Country Link
JP (1) JP3595048B2 (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1605232A3 (en) 2004-06-11 2010-12-29 Yamaha Corporation Method and apparatus for measuring magnetic offset of geomagnetic sensor and portable electronic apparatus
EP1793200A4 (en) * 2004-07-23 2012-01-04 Yamaha Corp Direction processor, direction processing method, direction processing program, direction measuring instrument, inclination offset correcting method, direction measuring method, direction sensor unit and portable electronic device
US8065083B2 (en) 2004-07-23 2011-11-22 Yamaha Corporation Azimuth processing device, azimuth processing method, azimuth processing program, direction finding device, tilt offset correcting method, azimuth measuring method, compass sensor unit, and portable electronic device
WO2006011184A1 (en) * 2004-07-23 2006-02-02 Yamaha Corporation Azimuth processing device, azimuth processing method, azimuth processing program, azimuth measurement device, and geographical information display device
WO2006011276A1 (en) 2004-07-23 2006-02-02 Yamaha Corporation Direction processing device, direction processing method, direction processing program, direction measuring device, and geographic information display
WO2006011238A1 (en) 2004-07-29 2006-02-02 Yamaha Corporation Azimuth data arithmetic method, azimuth sensor unit, and mobile electronic device
CN107655463B (en) * 2017-09-21 2019-10-11 大连理工大学 Electronic compass calibration method based on simulated annealing algorithm

Also Published As

Publication number Publication date
JPH09133530A (en) 1997-05-20

Similar Documents

Publication Publication Date Title
US4890233A (en) Vehicle bearing detection and data processing methods applicable to vehicle navigation system
JPH0555806B2 (en)
JP3380727B2 (en) Navigation method for correcting angular velocity using azimuth detection sensor
US6512978B2 (en) Vehicle traveling position detecting system
AU2019232853A1 (en) IMU calibration
EP0566390A1 (en) Apparatus for detecting the position of a vehicle
JP4643436B2 (en) Own vehicle position determination device
EP0640207A1 (en) Calibration method for a relative heading sensor
JPH10206390A (en) Method for detecting damage to buried steel pipe coating
US20080243417A1 (en) Magnetometer normalization
JP3595048B2 (en) Vehicle direction detector
JP2520952B2 (en) Vehicle direction detector
US5151872A (en) Method and apparatus for correcting the output of an onboard vehicle terrestrial magnetism sensor
JPS62502215A (en) How to determine the strike direction of a vehicle using an electronic compass
JP2010190721A (en) On-vehicle navigation device and vehicle orientation change part determination program
EP2158580A1 (en) Method and apparatus for decide turn condition using sensor
JPH08105745A (en) Method and apparatus for correction of orientation error of geomagnetic sensor
JP2870258B2 (en) Magnetization correction method for geomagnetic bearing sensor
JP2004504619A (en) Navigation device for position correction and method for position correction
JP3971236B2 (en) Location device
JP3337866B2 (en) Vehicle direction detector
JPH1183489A (en) Apparatus for correcting bearing of vehicle
JPH0833299B2 (en) Vehicle compass
JPS5817313A (en) Azimuth meter for vehicle
JPS628011A (en) Mobile object direction detection device

Legal Events

Date Code Title Description
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: 20040831

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20040902

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20090910

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20100910

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20100910

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20130910

Year of fee payment: 9

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

LAPS Cancellation because of no payment of annual fees