JP3473113B2 - Gyro bearing calculation device - Google Patents

Gyro bearing calculation device

Info

Publication number
JP3473113B2
JP3473113B2 JP17148394A JP17148394A JP3473113B2 JP 3473113 B2 JP3473113 B2 JP 3473113B2 JP 17148394 A JP17148394 A JP 17148394A JP 17148394 A JP17148394 A JP 17148394A JP 3473113 B2 JP3473113 B2 JP 3473113B2
Authority
JP
Japan
Prior art keywords
azimuth
routine
gyro
correction
equation
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 - Lifetime
Application number
JP17148394A
Other languages
Japanese (ja)
Other versions
JPH0835840A (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.)
Aisin Corp
Original Assignee
Aisin Seiki Co Ltd
Aisin 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 Aisin Seiki Co Ltd, Aisin Corp filed Critical Aisin Seiki Co Ltd
Priority to JP17148394A priority Critical patent/JP3473113B2/en
Publication of JPH0835840A publication Critical patent/JPH0835840A/en
Application granted granted Critical
Publication of JP3473113B2 publication Critical patent/JP3473113B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、自動車等の車両上にて
車両の位置を測位し、現在位置情報を知らせる車載用測
位装置において、方位を測定するジャイロの出力データ
からジャイロの示す方位を算出するジャイロ方位算出装
置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention, in a vehicle-mounted positioning device that measures the position of a vehicle on a vehicle such as an automobile and notifies the current position information, determines the direction indicated by the gyro from the output data of the gyro for measuring the direction. The present invention relates to a gyro direction calculating device for calculating.

【0002】[0002]

【従来の技術】この種の装置として、特開平5−172
575号公報に開示された技術がある。この技術によれ
ば、ジャイロの出力に生じる0点の誤差を方位変化誤差
により補正するものである。
2. Description of the Related Art As an apparatus of this type, Japanese Patent Application Laid-Open No. 5-172 is known.
There is a technique disclosed in Japanese Patent No. 575. According to this technique, the error at the zero point occurring in the output of the gyro is corrected by the azimuth change error.

【0003】[0003]

【発明が解決しようとする課題】しかし、通常、走行中
は直進の検出が困難であり、停止しているときのみしか
0点補正をしていなかった。このため、高速道路等で長
時間連続して走行するような場合、ジャイロの0点のズ
レが大きくなり、測位の精度が悪化することがあった。
However, it is usually difficult to detect straight ahead while the vehicle is traveling, and the zero point correction is performed only when the vehicle is stopped. For this reason, when traveling continuously for a long time on a highway or the like, the zero point of the gyro may be misaligned and the positioning accuracy may be deteriorated.

【0004】そこで、本発明においては、走行中におい
ても0点を補正可能とすることを課題とする。
Therefore, it is an object of the present invention to be able to correct the 0 point even while the vehicle is running.

【0005】[0005]

【課題を解決するための手段】上記の課題を解決するた
めに請求項1に記載の発明においては、車両の方位偏差
を検出するジャイロ;ジャイロの出力からジャイロ方位
を検出するジャイロ方位算出手段;複数の衛星が発射す
る信号からそれぞれの衛星と車両との相対速度を検出
し、車両の基準方位を測定する方位測定手段;車両の速
度が所定値VLより高く、かつ方位測定手段の測定する
方位が時間的に変化かない場合、ジャイロの出力信号が
ゼロとして0点補正する0点補正手段;を備え、前記0
点補正手段は車速が高くなるにつれ、0点を変更するた
めに用いる時間を長くしたことである。た。
In order to solve the above problems, in the invention according to claim 1, a gyro for detecting a heading deviation of a vehicle; a gyro heading calculating means for detecting a gyro heading from an output of the gyro; Azimuth measuring means for detecting the relative speed between each satellite and the vehicle from the signals emitted by a plurality of satellites and measuring the reference azimuth of the vehicle; the azimuth measured by the azimuth measuring means when the speed of the vehicle is higher than a predetermined value VL. When there is no change with time, the output signal of the gyro is set to zero, and 0 point correction means for correcting 0 point is provided .
The point correction means changes the 0 point as the vehicle speed increases.
It means that the time used for the purpose was lengthened . It was

【0006】[0006]

【0007】上記の課題を解決するために請求項2に記
載の発明においては、請求項1において、前記0点補正
手段は、所定の車速VL,VU(>VL)、所定の時間
TL,TU(>TL)を設定した場合に、車速Vが0<
V<VLのとき、0点補正を行わず、VL≦V≦VUの
とき、T=TL+(TU−TL)×(V−VL)/(V
U−VL)で示される時間以上、前記方位測定手段の測
定する方位に変化がない場合に0点補正し、VU<Vの
とき、T=TUで示される時間以上、前記方位測定手段
の測定する方位に変化がない場合に0点補正するように
した。
In order to solve the above-mentioned problems, in the invention described in claim 2, in the claim 1, the 0-point correction is performed.
The means is a predetermined vehicle speed VL, VU (> VL), a predetermined time.
When TL and TU (> TL) are set, the vehicle speed V is 0 <
When V <VL, 0 point correction is not performed and VL ≦ V ≦ VU
At this time, T = TL + (TU−TL) × (V−VL) / (V
U-VL) for a time period longer than
If there is no change in the set azimuth, 0 point correction is performed and VU <V
When the time indicated by T = TU is exceeded, the azimuth measuring means
When there was no change in the measured azimuth, 0 point correction was performed.

【0008】[0008]

【0009】[0009]

【作用】請求項1に記載した発明によれば、ジャイロの
出力データよりジャイロ方位が算出される。一方、方位
測定手段は、複数の衛星が発射する信号からそれぞれの
衛星と車両との相対速度を検出し、車両の基準方位を測
定する。0点補正手段は車両の速度が所定値VLより
く、かつ方位測定手段の測定する方位が時間的に変化
ない場合、ジャイロの出力信号がゼロとして0点補正す
る。よって、走行中においてもジャイロの0点補正が行
える。この場合、車速が高くになるにつれ、0点を変更
するために用いる時間を長くすることによって、車速が
高くなるにつれ方位測定手段の測定する方位の変化しな
い時間が長くならないと0点補正しないようにしてい
る。それ故に、高速走行時において緩いカーブ上を走行
しているような場合には0点補正が行われないため、精
度のよい補正ができる。
According to the invention described in claim 1, the gyro azimuth is calculated from the output data of the gyro. On the other hand, the azimuth measuring means detects the relative speed between each satellite and the vehicle from the signals emitted by the plurality of satellites, and measures the reference azimuth of the vehicle. The 0-point correction means sets the output signal of the gyro to be 0 when the vehicle speed is higher than the predetermined value VL and the azimuth measured by the azimuth measuring means does not change with time. to correct. Therefore, the zero point correction of the gyro can be performed even while traveling. In this case, 0 point is changed as the vehicle speed becomes higher
By increasing the time used for this, the zero point correction is not performed unless the time during which the azimuth measured by the azimuth measuring means does not change as the vehicle speed increases. Therefore, when traveling at a high speed on a gentle curve, the zero point correction is not performed, so that the correction can be performed with high accuracy.

【0010】[0010]

【0011】請求項に記載した発明によれば、車速が
低いときには0点補正をしない。よって、低車速時の精
度の悪い方位測定手段のデータを利用しないので、精度
の悪化がない。また、車速が高くなるにつれ方位測定手
段の測定する方位の変化しない時間が長くならないと0
点補正しないようにしている。よって、高速走行時にお
いて緩いカーブ上を走行しているような場合には0点補
正が行われないため、精度のよい補正ができる。
According to the second aspect of the invention, the zero point correction is not performed when the vehicle speed is low. Therefore, since the data of the azimuth measuring means having low accuracy at low vehicle speed is not used, the accuracy is not deteriorated. In addition, as the vehicle speed increases, the time when the direction measured by the direction measuring means does not change becomes long, and 0
I am not trying to correct points. Therefore, when traveling on a gentle curve during high-speed traveling, the zero point correction is not performed, and therefore accurate correction can be performed.

【0012】この場合、方位測定手段からの基準方位
ジャイロ方位算出手段の出力から求めた方位との方位差
が、0点を補正することにより変化する方位の方向に対
して逆の方向にあるときのみ0点を補正すれば、0点補
正により、方位測定手段とジャイロ方位算出手段とがそ
れぞれに測定した方位がかけ離れる方向への補正は行わ
れないので、より精度のよい補正ができる。
In this case , the azimuth difference between the reference azimuth from the azimuth measuring means and the azimuth obtained from the output of the gyro azimuth calculating means is opposite to the direction of the azimuth which changes by correcting the zero point. If the 0 point is corrected only when the direction is , the 0 point correction does not correct the directions measured by the azimuth measuring means and the gyro azimuth calculating means to be different from each other. Can be corrected.

【0013】[0013]

【実施例】以下、本発明を図面を参照して説明する。図
1は車載用測位装置の実施例を示しす。この装置は、自
動車に搭載されており、受信アンテナ10,GPS受信
機11,GPS復調器12,表示装置13,車速センサ
14,圧電振動ジャイロ15,高度センサ16,及び電
子制御ユニット17を備える。GPSの各衛星からは
1.57542GHzの電波が送られている。GPS受
信機11は受信アンテナ10を介してGPSの各衛星か
らの電波を受信する。受信した信号はGPS復調器12
に送られる。GPS復調器12は、電波に乗った情報、
即ち衛星の軌道を示す関数,時刻,及び情報の精度を示
すコードを復調し、電子制御ユニット17に出力する。
車速センサ14は自動車の車輪軸の回転に応じてパルス
信号を電子制御ユニット17に出力するものである。車
速センサ14は、例えば、自動車のトランスミッション
の出力軸,又はこれと同期して回転する軸の回りに設け
られた磁石と、この磁石近傍に設けられたリードスイッ
チから構成し、車輪の回転に伴い、リードスイッチがオ
ン・オフするよう構成すればよい。圧電振動ジャイロ1
5は、自動車に固定されており、自動車の垂直軸を中心
とする回転角速度ωに比例したレベルのアナログ信号を
電子制御ユニット17に出力するものである。圧電振動
ジャイロ15は0〜5ボルトの電圧の出力が可能であ
り、2.5ボルトを中心に、右回転の場合2.5ボルト
以上の電圧を、左回転の場合、2.5ボルト以下の信号
を出力するよう調整されている。高度センサ16は、気
圧の変化、即ち高度変化に応じてレベルが変化するアナ
ログ信号を電子制御ユニット17に出力するものであ
る。表示装置13は自動車の存在する緯度,経度,高度
等を表示するものであり、電子制御ユニット17からの
情報を受け表示を行う。
DESCRIPTION OF THE PREFERRED EMBODIMENTS The present invention will be described below with reference to the drawings. FIG. 1 shows an embodiment of a vehicle-mounted positioning device. This device is installed in an automobile and includes a receiving antenna 10, a GPS receiver 11, a GPS demodulator 12, a display device 13, a vehicle speed sensor 14, a piezoelectric vibration gyro 15, an altitude sensor 16, and an electronic control unit 17. Radio waves of 1.57542 GHz are transmitted from each GPS satellite. The GPS receiver 11 receives radio waves from each GPS satellite via the receiving antenna 10. The received signal is the GPS demodulator 12
Sent to. The GPS demodulator 12 uses the information on the radio wave,
That is, the function indicating the orbit of the satellite, the time, and the code indicating the accuracy of the information are demodulated and output to the electronic control unit 17.
The vehicle speed sensor 14 outputs a pulse signal to the electronic control unit 17 according to the rotation of the wheel shaft of the vehicle. The vehicle speed sensor 14 is composed of, for example, a magnet provided around an output shaft of a vehicle transmission or an axis that rotates in synchronization with the output shaft, and a reed switch provided in the vicinity of the magnet. The reed switch may be turned on / off. Piezoelectric vibration gyro 1
5 is fixed to the automobile and outputs to the electronic control unit 17 an analog signal of a level proportional to the rotational angular velocity ω about the vertical axis of the automobile. The piezoelectric vibrating gyro 15 is capable of outputting a voltage of 0 to 5 Volts. A voltage of 2.5 Volts or more is required for clockwise rotation and 2.5 Volts or less for counterclockwise rotation with a center of 2.5 Volts. It is tuned to output a signal. The altitude sensor 16 outputs to the electronic control unit 17 an analog signal whose level changes according to a change in atmospheric pressure, that is, a change in altitude. The display device 13 displays the latitude, longitude, altitude, etc. of the automobile, and receives and displays information from the electronic control unit 17.

【0014】電子制御ユニット17は、マイクロコンピ
ュータ19,入出力インターフェース(I/O)18,
及びアナログ・デジタル変換器(A/D変換器)20を
備える。入出力インターフェース(I/O)18は、G
PS受信機11,GPS復調器12,及び車速センサ1
4からの信号をマイクロコンピュータ19に送ると共
に、マイクロコンピュータ19からの情報を表示装置1
3に送る。アナログ・デジタル変換器(A/D変換器)
20は圧電振動ジャイロ15,及び高度センサ16から
のアナログ信号をデジタル信号にA/D変換し、マイク
ロコンピュータ19に送る。車速センサ14からの信号
はマイクロコンピュータ19の外部割り込み端子に接続
されている。
The electronic control unit 17 includes a microcomputer 19, an input / output interface (I / O) 18,
And an analog / digital converter (A / D converter) 20. The input / output interface (I / O) 18 is G
PS receiver 11, GPS demodulator 12, and vehicle speed sensor 1
The signal from the microcomputer 4 is sent to the microcomputer 19, and the information from the microcomputer 19 is displayed on the display device 1.
Send to 3. Analog / digital converter (A / D converter)
Reference numeral 20 A / D-converts the analog signal from the piezoelectric vibration gyro 15 and the altitude sensor 16 into a digital signal, and sends it to the microcomputer 19. The signal from the vehicle speed sensor 14 is connected to the external interrupt terminal of the microcomputer 19.

【0015】マイクロコンピュータ19は図2のフロー
チャートに沿って作動する。マイクロコンピュータ19
に電源が入りスタートすると、まず、ステップ30にて
初期化が行われる。ここでは、入出力ポートの設定や、
メモリの初期化、割り込みの設定が行われる。割り込み
は、一定時間毎に実行されるタイマー割り込みと、外部
割り込み端子のレベル変化に応じて実行される外部割り
込みを設定する。これ以後、一定時間毎にメインルーチ
ンの処理を一時中断し、ステップ54のジャイロ方位算
出ルーチンを実行する。本実施例では、10mS毎に割
り込みを行っている。また、外部割り込み端子がレベル
変化する毎にメインルーチンの処理を一時中断し、ステ
ップ55の積算距離計算ルーチンを実行する。初期化ス
テップが終わると、ステップ31にて、3衛星以上復調
終了したか否かを判断する。ここで、復調終了した衛星
の数が3以上であれば、ステップ32の航法方程式1ル
ーチンにて航法方程式を設定し、ステップ33の測位推
定誤差計算ルーチンにて測位推定誤差を計算する。次
に,ステップ34にて、測位推定誤差が予め設定された
上限(例えば300m)より小であるか否かを判断す
る。測位推定誤差が上限より小であれば、ステップ35
の測位ルーチンにて測位を行い、ステップ36の高度補
正ルーチンにて高度の補正を行い、更に、ステップ37
のジャイロ補正ルーチンにてジャイロと車速の補正を行
う。その後、ステップ38にて現在位置情報(緯度,経
度,高度等)を表示装置13に対して出力する。次に、
ステップ39にてジャイロ方位が表示可能かどうか判断
する。ジャイロ方位が表示可能であれば、ステップ40
にてジャイロ方位を表示装置13に対して出力する。そ
の後、ステップ41のジャイロ0点補正ルーチンにてジ
ャイロの補正を行い、ステップ31に戻る。
The microcomputer 19 operates according to the flow chart of FIG. Microcomputer 19
When the power is turned on and starts, first, in step 30, initialization is performed. Here, I / O port settings,
Memory initialization and interrupt settings are performed. As the interrupt, a timer interrupt that is executed at regular time intervals and an external interrupt that is executed according to the level change of the external interrupt terminal are set. After that, the processing of the main routine is temporarily interrupted at regular intervals, and the gyro direction calculation routine of step 54 is executed. In this embodiment, an interrupt is made every 10 mS. Also, each time the level of the external interrupt terminal changes, the processing of the main routine is temporarily suspended and the integrated distance calculation routine of step 55 is executed. When the initialization step ends, it is determined in step 31 whether demodulation of three satellites or more has been completed. If the number of satellites that have been demodulated is 3 or more, the navigation equation is set in the navigation equation 1 routine in step 32, and the positioning estimation error is calculated in the positioning estimation error calculation routine in step 33. Next, in step 34, it is determined whether the positioning estimation error is smaller than a preset upper limit (for example, 300 m). If the positioning estimation error is smaller than the upper limit, step 35
Positioning is performed by the positioning routine of step 3, the altitude is corrected by the altitude correction routine of step 36, and further, step 37 is performed.
The gyro and the vehicle speed are corrected by the gyro correction routine. Then, in step 38, the current position information (latitude, longitude, altitude, etc.) is output to the display device 13. next,
In step 39, it is determined whether the gyro direction can be displayed. If the gyro direction can be displayed, step 40
The gyro direction is output to the display device 13. After that, the gyro is corrected in the gyro zero-point correction routine in step 41, and the process returns to step 31.

【0016】ステップ31にて、復調可能な衛星が2以
下の場合,又は、ステップ34にて測位推定誤差が上限
より大の場合、ステップ42にて2衛星以上復調終了し
たか否かを判断する。ここで、復調終了した衛星の数が
2であれば、ステップ43にて方位推定誤差が予め設定
された上限(例えば30°)より小であるか否かを判断
する。後述するが、方位推定誤差はタイマー割り込みの
ジャイロ方位算出ルーチン内で計算される。この方位推
定誤差が上限より小である場合、ステップ44の航法方
程式2ルーチンにて航法方程式を設定し、ステップ45
の測位推定誤差計算ルーチンにて測位推定誤差を計算す
る。次に,ステップ46にて、測位推定誤差が予め設定
された上限(例えば300m)より小であるか否かを判
断する。
If it is determined in step 31 that the number of satellites that can be demodulated is 2 or less, or if the positioning estimation error is greater than the upper limit in step 34, it is determined in step 42 whether or not demodulation of 2 satellites or more is completed. . Here, if the number of satellites that have been demodulated is two, it is determined in step 43 whether the azimuth estimation error is smaller than a preset upper limit (for example, 30 °). As will be described later, the azimuth estimation error is calculated in the gyro azimuth calculation routine of the timer interruption. If this bearing estimation error is smaller than the upper limit, the navigation equation is set in the navigation equation 2 routine in step 44, and step 45
The positioning estimation error is calculated by the positioning estimation error calculation routine of. Next, in step 46, it is determined whether or not the positioning estimation error is smaller than a preset upper limit (for example, 300 m).

【0017】測位推定誤差が上限より小であれば、ステ
ップ47の測位ルーチンにて測位を行う。その後、ステ
ップ38に跳ぶ。
If the positioning estimation error is smaller than the upper limit, positioning is performed in the positioning routine of step 47 . Then, jump to step 38.

【0018】ステップ42にて、復調可能な衛星が1以
下の場合、又は、ステップ43にて方位推定誤差が上限
より大の場合、又は、ステップ46にて測位推定誤差が
上限より大の場合、ステップ48にて方位推定誤差が予
め設定された上限(例えば30°)より小であるか否か
を判断する。方位推定誤差が上限より小である場合、ス
テップ49にて積算距離推定誤差STEPerror を計算
する。積算距離推定誤差STEPerror は後述する積算
距離算出ルーチン内で取り込んだ一定時間内のパルス数
と、後述の数値補正ルーチンで求めた回転誤差ROLLerro
r をかけて求める。ステップ50ではこの積算距離推定
誤差STEPerror が予め設定された上限(例えば10
0m)より小であるか否かを判断する。積算距離推定誤
差STEPerror がが上限より小である場合、ステップ
51の航法方程式3ルーチンにて航法方程式を設定し、
ステップ52の測位推定誤差計算ルーチンにて測位推定
誤差を計算する。次に,ステップ53にて、測位推定誤
差が予め設定された上限(例えば300m)より小であ
るか否かを判断する。測位推定誤差が上限より小であれ
ば、ステップ47の測位ルーチンに跳ぶ。
In step 42, if the number of satellites that can be demodulated is 1 or less, or in step 43, the direction estimation error is larger than the upper limit, or in step 46, the positioning estimation error is larger than the upper limit, In step 48, it is determined whether the azimuth estimation error is smaller than a preset upper limit (for example, 30 °). When the azimuth estimation error is smaller than the upper limit, the integrated distance estimation error STEPerror is calculated in step 49. The accumulated distance estimation error STEPerror is the number of pulses within a fixed time taken in by the accumulated distance calculation routine described later, and the rotation error ROLLerro obtained by the numerical correction routine described later.
Multiply by r to find. In step 50, the accumulated distance estimation error STEPerror is set to a preset upper limit (eg 10
It is determined whether or not it is smaller than 0 m). If the accumulated distance estimation error STEPerror is smaller than the upper limit, set the navigation equation in the navigation equation 3 routine in step 51,
The positioning estimation error is calculated in the positioning estimation error calculation routine in step 52. Next, in step 53, it is determined whether the positioning estimation error is smaller than a preset upper limit (for example, 300 m). If the positioning estimation error is smaller than the upper limit, the process jumps to the positioning routine of step 47.

【0019】ステップ48にて方位推定誤差が上限より
大の場合、又は、ステップ50にて積算距離推定誤差が
上限より大の場合、又は、ステップ53にて測位推定誤
差が上限より大の場合、ステップ41に跳ぶ。
If the bearing estimation error is greater than the upper limit in step 48, or if the integrated distance estimation error is greater than the upper limit in step 50, or if the positioning estimation error is greater than the upper limit in step 53, Jump to step 41.

【0020】以下、各サブルーチンの詳細を説明する。The details of each subroutine will be described below.

【0021】図3はジャイロ方位算出ルーチンのフロー
チャートである。ここでは、まず、ステップ56にて方
位偏差Δθを次式に従って求める。
FIG. 3 is a flowchart of a gyro direction calculation routine. Here, first, in step 56, the azimuth deviation Δθ is obtained according to the following equation.

【0022】[0022]

【数1】Δθ=Δθ+ADA(ADG−ADC) ここで、ADGは圧電振動ジャイロ15のアナログ出力
をデジタル変換した値であり、ADA,ADCは変換係
数である。係数ADCは回転角速度ωがゼロの時のアナ
ログ電圧値(2.5ボルト)をデジタル変換した値がセ
ットされている。
[Mathematical formula-see original document] [Delta] [theta] = [Delta] [theta] + ADA (ADG-ADC) where ADG is a value obtained by digitally converting the analog output of the piezoelectric vibration gyro 15, and ADA and ADC are conversion coefficients. The coefficient ADC is set to a value obtained by digitally converting the analog voltage value (2.5 volts) when the rotation angular velocity ω is zero.

【0023】係数ADAは、圧電振動ジャイロ15のア
ナログ出力をデジタル変換した値を更に角度に変換する
ように設定された値である。数1式の計算はタイマー割
り込みの周期毎に行われるので、Δθは単位時間あたり
の方位偏差量を示す。次に、ステップ57にて車速がゼ
ロか否かを判断し、車速がゼロであれば、ステップ58
にてジャイロ方位誤差turnを数2式に基づき更新し、ま
たステップ59にてジャイロのオフセット値offsetを数
3式に基づき更新する。ステップ57にて車速がゼロで
なければステップ58,59をとばして次へ進む。
The coefficient ADA is a value set so as to further convert a value obtained by digitally converting the analog output of the piezoelectric vibration gyro 15 into an angle. Since the calculation of Formula 1 is performed at each timer interrupt cycle, Δθ represents the amount of azimuth deviation per unit time. Next, in step 57, it is judged whether or not the vehicle speed is zero, and if the vehicle speed is zero, step 58
In step 59, the gyro heading error turn is updated based on the equation 2, and in step 59, the gyro offset value offset is updated based on the equation 3. If the vehicle speed is not zero in step 57, steps 58 and 59 are skipped and the process proceeds to the next step.

【0024】[0024]

【数2】turn=turn+ADAerror (ADG−ADC)[Equation 2] turn = turn + ADA error (ADG-ADC)

【0025】[0025]

【数3】offset=offset+ADCerror ここで、ADAerror は圧電振動ジャイロの出力の傾き
のずれを表す変換係数であり、ADCerror は圧電振動
ジャイロのゼロ点からのずれを示す変換係数である。
## EQU00003 ## offset = offset + ADCerror Here, ADAerror is a conversion coefficient that represents the deviation of the inclination of the output of the piezoelectric vibration gyro, and ADCerror is a conversion coefficient that represents the deviation of the piezoelectric vibration gyro from the zero point.

【0026】次に、ステップ60にて基準方位が有効で
あるか否かを判断する。基準方位が有効であれば、ステ
ップ62へ進む。基準方位が有効でなければ、表示用誤
差上限又はそれ以上の値を方位推定誤差ψerror にセッ
トする。
Next, at step 60, it is judged whether or not the reference azimuth is valid. If the reference azimuth is valid, the process proceeds to step 62. If the reference azimuth is not valid, the azimuth estimation error ψ error is set to a value equal to or higher than the display error upper limit.

【0027】次に、ステップ64にて圧電振動ジャイロ
15の割り込み用出力値和ADS1にデジタル出力値A
DGが加算されて、割り込み用出力値和ADS1が更新
される。次に、ステップ65にて測位解出力タイミング
か否かを判断する。このタイミングは本実施例では1秒
毎としている。測位解出力タイミングであれば、ステッ
プ292及びステップ62以降を実行し、測位解出力タ
イミングでなければジャイロ方位算出ルーチンを終了す
る。ステップ292ではバンク補正を行う。これは路面
のバンク量に応じて制御を調整するものである。ステッ
プ62では割り込み用方位ψ1に方位偏差Δθが加算さ
れて、割り込み用方位ψ1が更新される。次に、ステッ
プ63にて割り込み用方位ψ1rawに方位偏差Δθが
加算されて、割り込み用方位ψ1rawが更新される。
次に、ステップ66では方位推定誤差計算ルーチンを実
行し、本位誤差を求める。次にステップ67にて、割り
込み用方位ψ1に補正量を加える。次にステップ68に
て、方位ψに割り込み用方位ψ1を代入し、方位ψra
wに割り込み用方位ψ1rawを代入し、出力値和AD
Sに割り込み用出力値和ADS1を代入する。次に、ス
テップ69にて高度センサ16の出力の遅延データを更
新する。高度センサ16の出力の遅延データには、3秒
前の高度H〔−3〕,2秒前の高度H〔−2〕,1秒前
の高度H〔−1〕,現時点の高度H
Next, at step 64, the digital output value A is added to the interrupt output value sum ADS1 of the piezoelectric vibration gyro 15.
DG is added to update the interrupt output value sum ADS1. Next, in step 65, it is determined whether it is the positioning solution output timing. This timing is set to 1 second in this embodiment. If it is the positioning solution output timing, step 292 and step 62 and subsequent steps are executed, and if it is not the positioning solution output timing, the gyro azimuth calculation routine ends. In step 292, bank correction is performed. This adjusts the control according to the amount of banks on the road surface. At step 62, the azimuth deviation Δθ is added to the interrupt azimuth ψ1 to update the interrupt azimuth ψ1. Next, at step 63, the azimuth deviation Δθ is added to the interruption azimuth ψ1raw, and the interruption azimuth ψ1raw is updated.
Next, at step 66, an orientation estimation error calculation routine is executed to obtain a standard error. Next, at step 67, a correction amount is added to the interrupt direction ψ1. Next, at step 68, the interruption azimuth ψ1 is substituted for the azimuth ψ, and the azimuth ψra
Substituting interrupt direction ψ1raw into w, output value sum AD
Substitute the output value sum ADS1 for interrupt into S. Next, at step 69, the delay data of the output of the altitude sensor 16 is updated. The delay data of the output of the altitude sensor 16 includes the altitude H [-3] 3 seconds before, the altitude H [-2] before 2 seconds, the altitude H [-1] before 1 second, and the current altitude H.

〔0〕の4つの出力
データを備えている。ここでは、2秒前の高度H〔−
2〕を3秒前の高度H〔−3〕に、1秒前の高度H〔−
1〕を2秒前の高度H〔−2〕に、現時点の高度H
It has four output data of [0]. Here, the altitude H [-
2] to the altitude H [-3] three seconds before and the altitude H [-] one second before.
1] to the altitude H [-2] two seconds before, and the current altitude H

〔0〕を1秒前の高度H〔−1〕に、高度センサ16の
出力を現時点の高度H
[0] is set to the altitude H [-1] one second before, and the output of the altitude sensor 16 is set to the current altitude H [-1].

〔0〕に、それぞれ更新する。次
に、ステップ70にて圧電振動ジャイロ15の出力の遅
延データを更新する。圧電振動ジャイロ15の方位の遅
延データには、3秒前の方位ψ〔−3〕,2秒前の方位
ψ〔−2〕,1秒前の方位ψ〔−1〕,現時点の方位ψ
Update to [0] respectively. Next, at step 70, the delay data of the output of the piezoelectric vibration gyro 15 is updated. The azimuth delay data of the piezoelectric vibrating gyro 15 includes azimuth ψ [-3] 3 seconds before, azimuth ψ [-2] before 2 seconds, azimuth ψ [-1] before 1 second, and azimuth ψ at the present time.

〔0〕の4つの出力データを備えている。ここでは、2
秒前の方位ψ〔−2〕を3秒前の方位ψ〔−3〕に、1
秒前の方位ψ〔−1〕を2秒前の方位ψ〔−2〕に、現
時点の方位ψ
It has four output data of [0]. Here, 2
Set the azimuth ψ [-2] before 2 seconds to the azimuth ψ [-3] before 3 seconds 1
The azimuth ψ [-1] two seconds ago is changed to the azimuth ψ [-2] two seconds before, and the current azimuth ψ

〔0〕を1秒前の方位ψ〔−1〕に、ステ
ップ63で得た方位ψを現時点の方位ψ
[0] is the azimuth ψ [-1] one second before, and the azimuth ψ obtained in step 63 is the current azimuth ψ.

〔0〕に、それ
ぞれ更新する。次に、ステップ71にて車速センサ14
の一定時間中のパルス数の遅延データを更新する。パル
ス数の遅延データには、3秒前のパルス数P〔−3〕,
2秒前のパルス数P〔−2〕,1秒前のパルス数P〔−
1〕,現時点のパルス数P
Update to [0] respectively. Next, at step 71, the vehicle speed sensor 14
The delay data of the number of pulses during the fixed time of is updated. For the delay data of the pulse number, the pulse number P [-3], 3 seconds before,
Number of pulses 2 seconds before P [-2], number of pulses 1 second before P [-
1], current pulse number P

〔0〕の4つの出力データを
備えている。ここでは、2秒前のパルス数P〔−2〕を
3秒前のパルス数P〔−3〕に、1秒前のパルス数P
〔−1〕を2秒前のパルス数P〔−2〕に、現時点のパ
ルス数P
It has four output data of [0]. Here, the pulse number P [-2] 2 seconds before is changed to the pulse number P [-3] 3 seconds before and the pulse number P 1 second before is changed.
[-1] to the pulse number P [-2] two seconds before, and the current pulse number P

〔0〕を1秒前のパルス数P〔−1〕に、高度
センサ16の出力を現時点のパルス数P
[0] is the number of pulses P [-1] one second before, and the output of the altitude sensor 16 is the number of pulses P at the present time.

〔0〕に、それ
ぞれ更新する。ステップ66が終了するとジャイロ方位
算出ルーチンを終了する。
Update to [0] respectively. When step 66 ends, the gyro direction calculation routine ends.

【0028】図4は方位推定誤差計算ルーチンのフロー
チャートである。ここでは、まず、ステップ72にて、
フラグsignが1か否かを判定し、フラグsignが1であれ
ばステップ73を、フラグsignが1でなければステップ
74を実行する。このフラグsignは車両が右回転してい
るか左回転しているかを示すものであり、初期値は1に
設定してある。ステップ73では方位偏差RLにジャイ
ロ方位誤差turnを加算する。ステップ74では方位偏差
RLにジャイロ方位誤差turnを減算する。次に、ステッ
プ75にて方位偏差RLがゼロより上か否かを判断し、
ゼロ以下であれば、ステップ76にて、方位偏差RLの
符号を反転し、ステップ77にてフラグsignの状態を変
更(1であれば0に、0であれば1に変更)する。次に
ステップ78にて方位絶対値の補正があるか否かを判断
し、方位絶対値の補正があれば、ステップ79にてオフ
セット値offsetにGPS推定誤差GPSerror を代入
し、ステップ80にて回転方向信号RLをゼロとする。
その後、ステップ81にて方位偏差推定誤差Δθerror
を数4式に従って求め、方位推定誤差計算ルーチンを終
了する。この処理により、オフセットの誤差量を加味し
た方位推定誤差Δθerror が求められる。
FIG. 4 is a flowchart of the orientation estimation error calculation routine. Here, first, in step 72,
It is determined whether the flag sign is 1, and if the flag sign is 1, step 73 is executed, and if the flag sign is not 1, step 74 is executed. This flag sign indicates whether the vehicle is rotating to the right or to the left, and the initial value is set to 1. In step 73, the gyro heading error turn is added to the heading deviation RL. In step 74, the gyro heading error turn is subtracted from the heading deviation RL. Next, at step 75, it is judged whether the bearing deviation RL is higher than zero,
If it is less than zero, the sign of the azimuth deviation RL is inverted in step 76, and the state of the flag sign is changed in step 77 (0 if 1 and 0 if 1). Next, in step 78, it is determined whether or not the azimuth absolute value is corrected. If the azimuth absolute value is corrected, the GPS estimation error GPSerror is substituted for the offset value offset in step 79, and the rotation is performed in step 80. The direction signal RL is set to zero.
Then, in step 81, the bearing deviation estimation error Δθ error
Is calculated according to the equation (4), and the azimuth estimation error calculation routine ends. By this processing, the azimuth estimation error Δθ error considering the offset error amount is obtained.

【0029】[0029]

【数4】Δθerror =RL+offset 図5は積算距離算出ルーチンのフローチャートである。
ここでは、まず、ステップ82にて一定時間中のパルス
数を取り込む。次に、ステップ83にて一定時間中のパ
ルス数に変数ROLLをかけて、積算距離STEPを求め
る。変数ROLLはタイヤの有効半径や車速センサ14の出
力特性を加味して求めた変数で、車速センサ14のパル
ス数を距離に変換するためのものである。ステップ83
を終了すると、積算距離算出ルーチンを終了する。
## EQU4 ## Δθ error = RL + offset FIG. 5 is a flowchart of the integrated distance calculation routine.
Here, first, at step 82, the number of pulses within a certain period of time is fetched. Next, in step 83, the variable ROLL is multiplied by the number of pulses in a certain period of time to obtain the integrated distance STEP. The variable ROLL is a variable obtained by considering the effective radius of the tire and the output characteristics of the vehicle speed sensor 14, and is for converting the number of pulses of the vehicle speed sensor 14 into a distance. Step 83
When is finished, the integrated distance calculation routine is finished.

【0030】図6は航法方程式1ルーチンのフローチャ
ートである。ここでは、まず、ステップ84にて4衛星
以上復調終了したか否かを判断する。4衛星以上復調終
了していれば、ステップ86にて表1中の方程式1をセ
ットし、ステップ89にてσm 2 計算ルーチンを実行し
てσm 2 (σm 2 は各衛星の予測誤差を示す。m は復調
終了した衛星の数を示し、1〜4番目の衛星に対してそ
れぞれσ1 2 ,σ2 2,σ3 2 ,σ4 2 が計算される)
を求めた後、ステップ93にて表2中の行列式1に従っ
て測定値の予測誤差を示す行列Σεi+1 i は前回まで
の測位の回数を示す。i+1 は今回の測位となる。)を定
めて、このルーチンを終了する。ここで、航法方程式は
AX=Lの形で表されている。AはLm ,Mm ,Nm
m は復調終了した衛星の数でm =1〜4)を備える4×
4の行列,Xは〔Δx Δy Δz cΔt〕T ,Lは
1×4の行列で表されている。Aは測位のための計画行
列である。
FIG. 6 is a flowchart of the navigation equation 1 routine. Here, first, in step 84, it is determined whether the demodulation of four or more satellites has been completed. If four or more satellites have been demodulated, equation 1 in Table 1 is set in step 86, and the σ m 2 calculation routine is executed in step 89 to calculate σ m 2 (where σ m 2 is the prediction error of each satellite). are shown. m represents the number of satellites demodulated finished, each sigma 1 2 with respect to 4-th satellite, σ 2 2, σ 3 2 , σ 4 2 is calculated)
Then, in step 93, the matrix Σε i + 1 ( i indicates the number of positionings up to the previous time) indicating the prediction error of the measured value according to the determinant 1 in Table 2 in step 93. i + 1 is the current positioning. .) Is defined and this routine ends. Here, the navigation equation is expressed in the form of AX = L. A is L m , M m , N m (
m is the number of satellites that have been demodulated and has m = 1 to 4) 4x
4 is a matrix, X is a [Δx Δy Δz cΔt] T , and L is a 1 × 4 matrix. A is a planning matrix for positioning.

【0031】[0031]

【表1】 [Table 1]

【0032】図28に示すように、(Lm ,Mm
m )はm番目の衛星から前回位置(前回測位した時の
測位点)へ向かうベクトルを示す。このベクトルは衛星
からの情報から得られる。(Δx,Δy,Δz)は前回
位置から測位点に向かうベクトルを示す。Δtは前回位
置における時刻と測位点に達したときの時刻の時間差を
示す。cは光速を示す。ここでは、4衛星以上復調終了
しているので、m =1〜4の4つの衛星から前回位置へ
向かうベクトルの要素を用いて行列Aが表されている。
また、行列Lは〔ΔL1 ΔL2 ΔL3 ΔL4〕T で表され
る。このΔL1,ΔL2,ΔL3,ΔL4はそれぞれ1〜4番目
の衛星と測位点との間の距離Lm m =1〜4)から1
〜4番目の衛星と前回位置との間の距離L0mを引いた距
離を示す。この航法方程式1を解くことによって、4つ
の衛星から得た情報から3次元の相対位置(Δx,Δ
y,Δz)を求めることができる。
As shown in FIG. 28, (L m , M m ,
N m ) indicates a vector from the m-th satellite to the previous position (positioning point at the time of last positioning). This vector is derived from information from the satellite. (Δx, Δy, Δz) indicates a vector from the previous position to the positioning point. Δt indicates the time difference between the time at the previous position and the time when the positioning point is reached. c indicates the speed of light. Here, since demodulation has been completed for four or more satellites, the matrix A is represented by using the elements of the vectors from the four satellites with m = 1 to 4 to the previous position.
The matrix L is represented by [ΔL1 ΔL2 ΔL3 ΔL4] T. The ΔL1, ΔL2, ΔL3, and ΔL4 are 1 from the distance L m ( m = 1 to 4) between the first to fourth satellites and the positioning point, respectively.
The distance L 0m between the fourth satellite and the previous position is subtracted. By solving this navigation equation 1, the three-dimensional relative position (Δx, Δ
y, Δz) can be obtained.

【0033】図6において、ステップ84にて復調終了
した衛星の数が3の場合、ステップ85が実行される。
ステップ85では高度データがある否かを判断する。高
度データがあれば、ステップ87にて表1中の方程式2
をセットし、ステップ90にてσm 2 計算ルーチンを実
行して3つの衛星に対するσ1 2 ,σ2 2 ,σ3 2 を求
め、ステップ92にてσa 2 計算ルーチンを実行してσ
a 2 (σa 2 は高度に対する予測誤差を示す。)を求め
た後、ステップ94にて表2中の行列式2に従って測定
値の予測誤差を示す行列Σεi+1 を定めて、このルーチ
ンを終了する。
In FIG. 6, when the number of satellites demodulated in step 84 is 3, step 85 is executed.
In step 85, it is determined whether there is altitude data. If there is altitude data, the equation 2 in Table 1 is calculated in step 87.
Is set, the σ m 2 calculation routine is executed in step 90 to obtain σ 1 2 , σ 2 2 and σ 3 2 for the three satellites, and in step 92 the σ a 2 calculation routine is executed to calculate σ a 2.
After obtaining a 2a 2 indicates the prediction error with respect to altitude), in step 94, the matrix Σε i + 1 indicating the prediction error of the measured value is determined according to the determinant 2 in Table 2, and this routine is determined. To finish.

【0034】[0034]

【表2】 [Table 2]

【0035】ここで、航法方程式2は、航法方程式1と
同様に、AX=Lの形で表されている。ここでは、3衛
星が復調終了しているので、m =1〜3の3つの衛星か
ら前回位置へ向かうベクトルの要素を用いて行列Aが表
されている。また、行列Lは〔ΔL1 ΔL2 ΔL3 Δ
h〕T で表される。このΔhは高度センサ16により求
めた測位点の高度と前回位置の高度との差を示す。この
航法方程式2を解くことによって、3つの衛星から得た
情報と高度センサから得た高度差Δhから3次元の相対
位置(Δx,Δy,Δz)を求めることができる。
Here, the navigation equation 2 is expressed in the form of AX = L, like the navigation equation 1. Here, since the demodulation of three satellites has been completed, the matrix A is represented using the elements of the vectors from the three satellites of m = 1 to 3 toward the previous position. Also, the matrix L is [ΔL1 ΔL2 ΔL3 Δ
h] is represented by T. This Δh indicates the difference between the altitude of the positioning point obtained by the altitude sensor 16 and the altitude of the previous position. By solving this navigation equation 2, the three-dimensional relative position (Δx, Δy, Δz) can be obtained from the information obtained from the three satellites and the altitude difference Δh obtained from the altitude sensor.

【0036】ステップ85において、高度データがなけ
れば、ステップ88にて表1中の方程式3をセットし、
ステップ91にてσm 2 計算ルーチンを実行して3つの
衛星に対するσ1 2 ,σ2 2 ,σ3 2 を求めた後、ステ
ップ95にて表2中の行列式3に従って測定値の予測誤
差を示す行列Σεi+1 を定めて、このルーチンを終了す
る。ここで、航法方程式3は、航法方程式1と同様に、
AX=Lの形で表されている。ここでは、3衛星が復調
終了しているので、m =1〜3の3つの衛星から前回位
置へ向かうベクトルの要素を用いて行列Aが表されてい
る。また、行列Lは〔ΔL1 ΔL2 ΔL3 0〕T で表さ
れる。高さ方向の差Δzはゼロと仮定している。この航
法方程式3を解くことによって、3つの衛星から得た情
報から2次元相対位置(Δx,Δy)を求めることがで
きる。
If there is no altitude data in step 85, set equation 3 in Table 1 in step 88,
In step 91, the σ m 2 calculation routine is executed to obtain σ 1 2 , σ 2 2 , and σ 3 2 for three satellites, and then in step 95, the prediction error of the measurement value is calculated according to the determinant 3 in Table 2. Then, the matrix Σε i + 1 is defined, and this routine ends. Here, the navigation equation 3 is, like the navigation equation 1,
It is expressed in the form of AX = L. Here, since the demodulation of three satellites has been completed, the matrix A is represented using the elements of the vectors from the three satellites of m = 1 to 3 toward the previous position. The matrix L is represented by [ΔL1 ΔL2 ΔL3 0] T. The difference Δz in the height direction is assumed to be zero. By solving the navigation equation 3, the two-dimensional relative position (Δx, Δy) can be obtained from the information obtained from the three satellites.

【0037】図7は航法方程式2ルーチンのフローチャ
ートである。ここでは、まず、ステップ96にて高度デ
ータがある否かを判断する。高度データがあれば、ステ
ップ97にて表1中の方程式4をセットし、ステップ9
9にてσm 2 計算ルーチンを実行して2つの衛星に対す
るσ1 2 ,σ2 2 を求め、ステップ101にてσa 2
算ルーチンを実行してσa 2 を求め、ステップ102に
てσG 2 計算ルーチンを実行してσG 2 (σG 2 は圧電
振動ジャイロの出力の予測誤差を示す。)を求めた後、
ステップ104にて表2中の行列式4に従って測定値の
予測誤差を示す行列Σεi+1 を定めて、このルーチンを
終了する。ここでは、2衛星が復調終了しているので、
m =1〜2の2つの衛星から前回位置へ向かうベクトル
の要素と、Gx及びGyを用いて行列Aが表されてい
る。Δx及びΔyとGx及びGyとの間には次の関係が
ある。
FIG. 7 is a flowchart of the navigation equation 2 routine. Here, first, in step 96, it is determined whether or not there is altitude data. If there is altitude data, set equation 4 in Table 1 in step 97, and step 9
In step 9, the σ m 2 calculation routine is executed to find σ 1 2 and σ 2 2 for the two satellites, in step 101, the σ a 2 calculation routine is executed to find σ a 2 , and in step 102 σ After executing the G 2 calculation routine and obtaining σ G 2G 2 indicates the prediction error of the output of the piezoelectric vibration gyro),
In step 104, the matrix Σε i + 1 indicating the prediction error of the measured value is determined according to the determinant 4 in Table 2, and this routine is ended. Here, since two satellites have been demodulated,
The matrix A is represented using the elements of the vector from two satellites of m = 1 to 2 to the previous position, and Gx and Gy. There is the following relationship between Δx and Δy and Gx and Gy.

【0038】[0038]

【数5】 Δy/Δx=sin(180°−ψ)/cos(180°−ψ) =Gx/Gy また、行列Lは〔ΔL1 ΔL2 Δh 0〕T で表され
る。数3式を用いて航法方程式4を解くことによって、
2つの衛星から得た情報,圧電振動ジャイロから得た方
位ψ及び高度センサから得た高度差Δhから3次元相対
位置(Δx,Δy,Δz)を求めることができる。
Δy / Δx = sin (180 ° −ψ) / cos (180 ° −ψ) = Gx / Gy Further, the matrix L is represented by [ΔL1 ΔL2 Δh 0] T. By solving the navigation equation 4 using the equation 3,
The three-dimensional relative position (Δx, Δy, Δz) can be obtained from the information obtained from the two satellites, the azimuth ψ obtained from the piezoelectric vibration gyro, and the altitude difference Δh obtained from the altitude sensor.

【0039】ステップ96にて高度データがなければ、
ステップ98にて表1中の方程式5をセットし、ステッ
プ100にてσm 2 計算ルーチンを実行して2つの衛星
に対するσ1 2 ,σ2 2 を求め、ステップ103にてσ
G 2 計算ルーチンを実行してσG 2 を求めた後、ステッ
プ105にて表2中の行列式5に従って測定値の予測誤
差を示す行列Σεi+1 を定めて、このルーチンを終了す
る。ここでは、2衛星が復調終了しているので、m =1
〜2の2つの衛星から前回位置へ向かうベクトルの要素
と、Gx及びGyを用いて行列Aが表されている。ま
た、行列Lは〔ΔL1 ΔL2 0 0〕T で表される。高
さ方向の差Δzはゼロと仮定している。数3式を用いて
航法方程式5を解くことによって、2つの衛星から得た
情報及び圧電振動ジャイロから得た方位ψから2次元相
対位置(Δx,Δy)を求めることができる。
If there is no altitude data in step 96,
In step 98, equation 5 in Table 1 is set, in step 100, the σ m 2 calculation routine is executed to obtain σ 1 2 and σ 2 2 for two satellites, and in step 103, σ
After the G 2 calculation routine is executed to obtain σ G 2 , the matrix Σε i + 1 indicating the prediction error of the measurement value is determined according to the determinant 5 in Table 2 in step 105, and this routine is ended. Here, since two satellites have been demodulated, m = 1
The matrix A is represented using Gx and Gy, and the elements of the vector from the two satellites of ~ 2 to the previous position. The matrix L is represented by [ΔL1 ΔL2 0 0] T. The difference Δz in the height direction is assumed to be zero. The two-dimensional relative position (Δx, Δy) can be obtained from the information obtained from the two satellites and the azimuth ψ obtained from the piezoelectric vibration gyro by solving the navigation equation 5 using the equation (3).

【0040】図8は航法方程式3ルーチンのフローチャ
ートである。ここでは、まず、ステップ106にて1衛
星以上復調終了したか否かを判断する。1衛星以上復調
終了していれば、ステップ107が実行される。ステッ
プ107では高度データがある否かを判断する。高度デ
ータがあれば、ステップ109にて表1中の方程式6を
セットし、ステップ113にてσm 2 計算ルーチンを実
行して1つの衛星に対するσ1 2 を求め、ステップ11
5にてσδx 2 ,σδy 2 計算ルーチンを実行してσδ
x 2 ,σδy 2 (σδx 2 ,σδy 2 は車速センサと圧
電振動ジャイロの出力から求まる2次元位置のX座標及
びY座標の予測誤差を示す。)を求め、ステップ119
にてσa 2 計算ルーチンを実行してσa 2 を求めた後、
ステップ121にて表2中の行列式6に従って測定値の
予測誤差を示す行列Σεi+1 を定めて、このルーチンを
終了する。ここでは、1衛星が復調終了しているので、
m=1の1つの衛星から前回位置へ向かうベクトルの要
素を用いて行列Aが表されている。また、行列Lは〔Δ
L1 δx δy Δh〕T で表される。この内、δx
びδy は次式により、後述の測位推定誤差計算ルーチン
の中で求められる。
FIG. 8 is a flowchart of the navigation equation 3 routine. Here, first, in step 106, it is determined whether the demodulation of one or more satellites has been completed. If the demodulation of one or more satellites has been completed, step 107 is executed. In step 107, it is determined whether there is altitude data. If there is altitude data, equation 6 in Table 1 is set in step 109, the σ m 2 calculation routine is executed in step 113 to obtain σ 1 2 for one satellite, and step 11
In step 5, σδ x 2 and σδ y 2 calculation routines are executed to obtain σδ
x 2 , σ δ y 2 (where σ δ x 2 , σ δ y 2 indicate the prediction error of the X coordinate and Y coordinate of the two-dimensional position obtained from the output of the vehicle speed sensor and the piezoelectric vibration gyro), and step 119.
After determining the sigma a 2 running sigma a 2 calculation routine at,
In step 121, the matrix Σε i + 1 indicating the prediction error of the measured value is determined according to the determinant 6 in Table 2, and this routine is ended. Here, since one satellite has been demodulated,
The matrix A is represented using the elements of the vector from one satellite with m = 1 to the previous position. Also, the matrix L is [Δ
L1 δ x δ y Δh] T. Of these, δ x and δ y are calculated in the positioning estimation error calculation routine described later by the following equation.

【0041】[0041]

【数6】δx =STEP・cos(180−ψ) δy =STEP・sin(180−ψ) 数6式を用いて航法方程式6を解くことによって、1つ
の衛星から得た情報,圧電振動ジャイロから得た方位
ψ,車速センサから得た積算距離STEP,及び高度セ
ンサから得た高度差Δhから3次元相対位置(Δx,Δ
y,Δz)を求めることができる。
[Equation 6] δ x = STEP · cos (180−ψ) δ y = STEP · sin (180−ψ) Information obtained from one satellite by solving the navigation equation 6 using the equation 6, piezoelectric vibration The three-dimensional relative position (Δx, Δ) from the azimuth ψ obtained from the gyro, the integrated distance STEP obtained from the vehicle speed sensor, and the altitude difference Δh obtained from the altitude sensor.
y, Δz) can be obtained.

【0042】ステップ107にて高度データがない場
合、ステップ110にて表1中の方程式7をセットし、
ステップ114にてσm 2 計算ルーチンを実行して1つ
の衛星に対するσ1 2 を求め、ステップ116にてσδ
x 2 ,σδy 2 計算ルーチンを実行してσδx 2 ,σδ
y 2 を求めた後、ステップ122にて表2中の行列式7
に従って測定値の予測誤差を示す行列Σεi+1 を定め
て、このルーチンを終了する。ここでは、1衛星が復調
終了しているので、m =1の1つの衛星から前回位置へ
向かうベクトルの要素を用いて行列Aが表されている。
また、行列Lは〔ΔL1 δx δy 0〕T で表され
る。高さ方向の差Δzはゼロと仮定している。
If there is no altitude data in step 107, set equation 7 in Table 1 in step 110,
At step 114, the σ m 2 calculation routine is executed to obtain σ 1 2 for one satellite, and at step 116, σ δ
x 2 , σδ y 2 Calculation routine is executed and σδ x 2 , σδ
After y 2 is determined, the determinant 7 in Table 2 is calculated in step 122.
Then, the matrix Σε i + 1 indicating the prediction error of the measured value is determined according to the above, and this routine is ended. Here, since one satellite has been demodulated, the matrix A is represented by using the elements of the vector from one satellite with m = 1 to the previous position.
Further, the matrix L is represented by [ΔL1 δ x δ y 0] T. The difference Δz in the height direction is assumed to be zero.

【0043】数6式を用いて航法方程式7を解くことに
よって、1つの衛星から得た情報,圧電振動ジャイロか
ら得た方位ψ及び車速センサから得た積算距離STEP
から2次元相対位置(Δx,Δy)を求めることができ
る。
The information obtained from one satellite, the direction ψ obtained from the piezoelectric vibration gyro and the integrated distance STEP obtained from the vehicle speed sensor are obtained by solving the navigation equation 7 using the equation (6).
From this, the two-dimensional relative position (Δx, Δy) can be obtained.

【0044】ステップ106にて復調終了した衛星の数
がない場合、ステップ108が実行される。ステップ1
08では高度データがある否かを判断する。高度データ
があれば、ステップ111にて表1中の方程式8をセッ
トし、ステップ117にてσδx 2 ,σδy 2 計算ルー
チンを実行してσδx 2 ,σδy 2 を求め、ステップ1
20にてσa 2 計算ルーチンを実行してσa 2 を求めた
後、ステップ123にて表2中の行列式8に従って測定
値の予測誤差を示す行列Σεi+1 を定めて、このルーチ
ンを終了する。ここでは、復調終了している衛星はない
ので、行列Aは単位行列で表されている。また、行列L
は〔δx δy Δh 0〕T で表される。数6式を用
いて航法方程式8を解くことによって、圧電振動ジャイ
ロから得た方位ψ,車速センサから得た積算距離STE
P,及び高度センサから得た高度差Δhから3次元相対
位置(Δx,Δy,Δz)を求めることができる。
If there is no satellite that has been demodulated in step 106, step 108 is executed. Step 1
At 08, it is determined whether there is altitude data. If there is altitude data, the equation 8 in Table 1 is set in step 111, the σδ x 2 , σδ y 2 calculation routine is executed in step 117 to obtain σδ x 2 , σδ y 2 , and step 1
After the σ a 2 calculation routine is executed at 20 to obtain σ a 2 , the matrix Σε i + 1 indicating the prediction error of the measured value is determined according to the determinant 8 in Table 2 at step 123, and this routine is determined. To finish. Here, since no satellite has been demodulated, the matrix A is represented by a unit matrix. Also, the matrix L
Is represented by [δ x δ y Δh 0] T. By solving the navigation equation 8 using the equation 6, the direction ψ obtained from the piezoelectric vibration gyro and the integrated distance STE obtained from the vehicle speed sensor
The three-dimensional relative position (Δx, Δy, Δz) can be obtained from P and the altitude difference Δh obtained from the altitude sensor.

【0045】ステップ108にて高度データがない場
合、ステップ112にて表1中の方程式9をセットし、
ステップ118にてσδx 2 ,σδy 2 計算ルーチンを
実行してσδx 2 ,σδy 2 を求めた後、ステップ12
4にて表2中の行列式9に従って測定値の予測誤差を示
す行列Σεi+1 を定めて、このルーチンを終了する。こ
こでは、復調終了している衛星はないので、行列Aは単
位行列で表されている。
If there is no altitude data in step 108, set equation 9 in Table 1 in step 112,
In step 118, the σδ x 2 , σδ y 2 calculation routine is executed to obtain σδ x 2 , σδ y 2 , and then step 12
In step 4, the matrix Σε i + 1 indicating the prediction error of the measured value is determined according to the determinant 9 in Table 2, and this routine is ended. Here, since no satellite has been demodulated, the matrix A is represented by a unit matrix.

【0046】また、行列Lは〔δx δy 0 0〕T
で表される。高さ方向の差Δzはゼロと仮定している。
数6式を用いて航法方程式9を解くことによって、圧電
振動ジャイロから得た方位ψ及び車速センサから得た積
算距離STEPから2次元相対位置(Δx,Δy)を求
めることができる。
Further, the matrix L is [δ x δ y 0 0] T
It is represented by. The difference Δz in the height direction is assumed to be zero.
By solving the navigation equation 9 using the equation 6, the two-dimensional relative position (Δx, Δy) can be obtained from the azimuth ψ obtained from the piezoelectric vibration gyro and the integrated distance STEP obtained from the vehicle speed sensor.

【0047】図9はσm 2 計算ルーチンのフローチャー
トである。ここでは、まず、ステップ125にてUER
E計算ルーチンを実行し、i=1〜4番目の衛星の内、
復調終了したそれぞれの衛星のUERE(UEREは衛
星の配置によらない1σ誤差量であり、車速Vに応じて
補正したものを示す。)を求める。次に、ステップ12
6にて、それぞれの衛星について次式に基づきσm 2
求める。
FIG. 9 is a flowchart of the σ m 2 calculation routine. Here, first, in step 125, the UER
The E calculation routine is executed, and among i = 1 to 4 satellites,
The UARE of each satellite after demodulation (UERE is a 1σ error amount that does not depend on the satellite arrangement and is corrected according to the vehicle speed V) is obtained. Next, step 12
At 6, calculate σ m 2 for each satellite based on the following equation.

【0048】[0048]

【数7】σm 2 =UERE2 この計算の後、このルーチンを終了する。Equation 7] σ m 2 = UERE 2 After this calculation, the routine ends.

【0049】図10はσa 2 計算ルーチンのフローチャ
ートである。ここでは、まず、ステップ127にて誤差
用のUERE及びVDOP(VDOPは高度に対する誤
差指標を示す。)があるか否かを判断する。誤差用のU
ERE及びVDOPがあれば、ステップ128にて(V
DOP×UERE)2 をσa 2 に代入して、このルーチ
ンを終了する。誤差用のUERE及びVDOPがなけれ
ば、ステップ129にて所定の定数const2 をσa
2 に代入して、このルーチンを終了する。
FIG. 10 is a flowchart of the σ a 2 calculation routine. Here, first, in step 127, it is determined whether or not there are UARE and VDOP for error (VDOP indicates an error index for altitude). U for error
If there is ERE and VDOP, (V
Substitute DOP × UERE) 2 for σ a 2 and terminate this routine. If there is no UARE and VDOP for the error, the predetermined constant const 2 is set to σ a in step 129.
Substitute in 2 to end this routine.

【0050】図11はσG 2 計算ルーチンのフローチャ
ートである。ここでは、まず、ステップ130にて積算
距離STEPをメモリーから読みだす。次に、ステップ
131にて方位推定誤差計算ルーチンにて計算した方位
偏差推定誤差Δθerror を取り出し、ステップ132に
て次式に基づきσG 2 を計算する。
FIG. 11 is a flowchart of the σ G 2 calculation routine. Here, first, in step 130, the integrated distance STEP is read from the memory. Next, in step 131, the azimuth deviation estimation error Δθ error calculated by the azimuth estimation error calculation routine is taken out, and in step 132 σ G 2 is calculated based on the following equation.

【0051】[0051]

【数8】 σG 2 =(n×STEP×sinΔθerror )2 ここでnは定数である。上記計算をした後、このルーチ
ンを終了する。
Σ G 2 = (n × STEP × sin Δθ error) 2 where n is a constant. After performing the above calculation, this routine ends.

【0052】図12はσδx 2 ,σδy 2 計算ルーチン
のフローチャートである。ここでは、まず、ステップ1
33にてEψx ,Eψy 計算ルーチンを実行して、Eψ
x 及びEψy (Eψx 及びEψy は圧電振動ジャイロに
よるX座標及びY座標の誤差を示す。)を求める。次
に、ステップ134にて積算距離推定誤差STEPerro
r を求める。積算距離推定誤差STEPerror は前述の
積算距離算出ルーチン内で取り込んだ一定時間内のパル
ス数と、後述の数値補正ルーチンで求めた回転誤差ROLL
error をかけて求める。次に、ステップ135及びステ
ップ136にて次式に基づきσδx 2 及びσδy 2 を計
算する。
FIG. 12 is a flowchart of the σδ x 2 , σδ y 2 calculation routine. Here, first, step 1
At 33, the Eψ x and Eψ y calculation routines are executed to obtain Eψ
x and E ψ y (E ψ x and E ψ y indicate errors in the X coordinate and the Y coordinate due to the piezoelectric vibration gyro) are obtained. Next, at step 134, the accumulated distance estimation error STEPerro
Find r. The accumulated distance estimation error STEPerror is the number of pulses within a fixed time taken in by the accumulated distance calculation routine described above, and the rotation error ROLL obtained by the numerical correction routine described later.
Calculate by multiplying error. Next, in steps 135 and 136, σδ x 2 and σδ y 2 are calculated based on the following equations.

【0053】[0053]

【数9】σδx 2 =(Eψx +STEPerror ・cos
(180°−ψ))2 σδy 2 =(Eψy +STEPerror ・sin(180
°−ψ))2 ここで、ψはジャイロ方位算出ルーチンで得た方位であ
る。上記計算をした後、このルーチンを終了する。
## EQU9 ## σ δ x 2 = (E ψ x + STEPerror · cos
(180 ° -ψ)) 2 σδ y 2 = (E ψ y + STEPerror · sin (180
° -ψ)) 2 where ψ is the azimuth obtained in the gyro azimuth calculation routine. After performing the above calculation, this routine ends.

【0054】図13はEψx ,Eψy 計算ルーチンのフ
ローチャートである。ここでは、まず、ステップ137
にてジャイロ方位算出ルーチンで得た方位ψを取り出
す。次に、ステップ138にて方位推定誤差計算ルーチ
ンで得た方位推定誤差ψerrorを取り出す。次に、ステ
ップ139にて積算距離算出ルーチンで得た積算距離S
TEPを取り出す。次に、ステップ140にて数10式
によりψT を求める。次に、ステップ141及び142
にて数11式に基づきEψx 及びEψy を計算する。
FIG. 13 is a flowchart of the Eψ x , Eψ y calculation routine. Here, first, step 137.
The azimuth ψ obtained by the gyro azimuth calculation routine is taken out. Next, in step 138, the azimuth estimation error ψerror obtained by the azimuth estimation error calculation routine is extracted. Next, in step 139, the integrated distance S obtained by the integrated distance calculation routine
Take out the TEP. Next, in step 140, ψ T is calculated by the equation (10). Next, steps 141 and 142
Then, Eψ x and Eψ y are calculated based on the equation (11).

【0055】[0055]

【数10】ψT =ψ−ψerror[Equation 10] ψ T = ψ−ψ error

【0056】[0056]

【数11】Eψx =STEP〔cos(180°−ψ)
−cos(180°−ψT )〕 Eψy =STEP〔sin(180°−ψ)−sin
(180°−ψT )〕 上記計算をした後、このルーチンを終了する。
[Equation 11] Eψ x = STEP [cos (180 ° −ψ)
-Cos (180 ° -ψ T)]y = STEP [sin (180 ° -ψ) -sin
(180 ° −ψ T )] After the above calculation, this routine is ended.

【0057】図14は測位推定誤差計算ルーチンのフロ
ーチャートである。ここでは、まず、ステップ143に
て基準方位があるか否かを判断し、基準本位が有ればス
テップ145へ、無ければステップ144に進む。ステ
ップ144では1回目の測位か否かを判断する。1回目
の測位であればステップ145を実行し、2回目以降の
測位であればステップ146以下を実行する。ステップ
145では次式に基づきΣX1 を計算する。
FIG. 14 is a flowchart of the positioning estimation error calculation routine. Here, first, in step 143, it is determined whether or not there is a reference orientation. If the reference orientation is present, the process proceeds to step 145, and if not, the process proceeds to step 144. In step 144, it is determined whether or not it is the first positioning. If it is the first positioning, step 145 is executed, and if it is the second or later positioning, steps 146 and thereafter are executed. In step 145, ΣX 1 is calculated based on the following equation.

【0058】[0058]

【数12】ΣX1 =(A1 T Σε1 -11 -1 ここで、A1 は1回目の測位の時点における航法方程式
の左辺の行列Aである。
ΣX 1 = (A 1 T Σε 1 −1 A 1 ) −1, where A 1 is the matrix A on the left side of the navigation equation at the time of the first positioning.

【0059】Σε1 は1回目の測位の時点における表2
の行列式より求めた測定値の予測誤差を示す行列Σε
i+1 (i=0) である。ΣXi+1 は次に示す数13式
により定められた誤差を表す行列であり、ΣX1 は1回
目の測位の時点のものである。ステップ156では、数
12式及び数13式から求まったσx 2 及びσy 2 を用
いて、数14式に従って測位推定誤差を計算して、この
ルーチンを終了する。
Σε 1 is given in Table 2 at the time of the first positioning.
Matrix Σε showing the prediction error of the measured value obtained from the determinant of
i + 1 (i = 0). ΣX i + 1 is a matrix representing an error defined by the following equation 13, and ΣX 1 is at the time of the first positioning. In step 156, the positioning estimation error is calculated according to the equation 14 using σ x 2 and σ y 2 obtained from the equation 12 and the equation 13, and this routine ends.

【0060】[0060]

【数13】 [Equation 13]

【0061】[0061]

【数14】測位推定誤差=(σx 2 +σy 2 1/2 2回目以降の測位においては、まず、ステップ146に
て積算距離STEPを読みだし、ステップ147にて方
位ψを読みだす。次に、ステップ148にて、数6式に
従ってδx 及びδy を求める。次に、ステップ149に
て数15式に従って行列Yi+1 を定義する。
[Equation 14] Positioning estimation error = (σ x 2 + σ y 2 ) 1/2 In the second and subsequent positioning, first, the integrated distance STEP is read in step 146, and the azimuth ψ is read in step 147. Next, in step 148, δ x and δ y are obtained according to the equation (6). Next, in step 149, the matrix Y i + 1 is defined according to the equation (15).

【0062】[0062]

【数15】Yi+1 =〔δx δy 0 0〕T 次に、ステップ150にて、前述のσδx 2 ,σδy 2
計算ルーチンを実行し、σδx 2 及びσδy 2 を得る。
次に、ステップ151にてσa1 2 を定数const2に設定す
る。次に、ステップ152にて、数16式に示すように
予想誤差モデルを示す行列ΣUiを定義する。
[Formula 15] Y i + 1 = [δ x δ y 0 0] T Next, in step 150, the above-mentioned σ δ x 2 , σ δ y 2
The calculation routine is executed to obtain σδ x 2 and σδ y 2 .
Next, in step 151, σ a1 2 is set to the constant const 2 . Next, in step 152, a matrix ΣUi indicating the prediction error model is defined as shown in Expression 16.

【0063】[0063]

【数16】 [Equation 16]

【0064】次に、ステップ153にて、1回前(i回
目)の情報から求めた推定誤差行列ΣXi ,行列ΣUi
から、推定誤差の予測値を示す行列ΣYi+1 を数17式
に従って計算する。
Next, at step 153, the estimation error matrix ΣX i and the matrix ΣU i obtained from the information of the previous time (i-th time) are calculated.
From this, the matrix ΣY i + 1 indicating the predicted value of the estimation error is calculated according to the equation (17).

【0065】[0065]

【数17】ΣYi+1 =ΣXi +ΣUi 次に、ステップ154にて、カルマンゲインを示す行列
Kgを数18式に従って計算する。ここで、Ai+1 は表
1に基づき航法方程式1〜3ルーチンにてそれぞれ設定
した方程式1〜9の左辺の行列であり、Σεi+1 は表2
に基づきそれぞれ定義した行列である。
ΣY i + 1 = ΣX i + ΣU i Next, in step 154, the matrix Kg indicating the Kalman gain is calculated according to the formula 18. Here, A i + 1 is a matrix on the left side of equations 1 to 9 set in the navigation equations 1 to 3 routines based on Table 1, and Σε i + 1 is Table 2
Is a matrix defined based on

【0066】[0066]

【数18】Kg=ΣYi+1 i+1 T 〔Σεi+1 +Ai+1
ΣYi+1 i+1 T -1 次に、ステップ155にて、数19式に基づき今回の推
定誤差行列ΣXi+1 を求める。ここで、Iは4×4の単
位行列である。
[Number 18] Kg = ΣY i + 1 A i + 1 T [Σε i + 1 + A i + 1
ΣY i + 1 A i + 1 T ] −1 Next, at step 155, the present estimation error matrix ΣX i + 1 is obtained based on the equation (19). Here, I is a 4 × 4 identity matrix.

【0067】[0067]

【数19】 ΣXi+1 =2・〔I−Kg・Ai+1 〕ΣYi+1 この後、ステップ156にて、数19式を計算し数13
式に当てはめて求まったσx 2 及びσy 2 を用いて、数
14式に従って測位推定誤差を計算して、このルーチン
を終了する。
ΣX i + 1 = 2 · [I−Kg · A i + 1 ] ΣY i + 1 Then , in step 156, the formula 19 is calculated to calculate the formula 13
Using σ x 2 and σ y 2 obtained by applying the equation, the positioning estimation error is calculated according to equation 14, and this routine is ended.

【0068】このルーチンでの推定誤差行列ΣXi+1
計算方法はカルマンフィルターと呼ばれる最適フィルタ
ーを適用したものであり、測位解を求めるカルマンフィ
ルターによる誤差の分散・共分散行列(ΣXi+1 )の1
1成分(σx 2 )と22成分(σy 2 )の和を平方根と
した。必要であれば、33成分(σz 2 )も加えて平方
根としてもよい。
The calculation method of the estimated error matrix ΣX i + 1 in this routine is to apply an optimum filter called Kalman filter, and the variance / covariance matrix (ΣX i + 1) of the error by the Kalman filter for finding the positioning solution is used. ) 1
The sum of 1 component (σ x 2 ) and 22 components (σ y 2 ) was taken as a square root. If necessary, 33 components (σ z 2 ) may be added to obtain the square root.

【0069】図15は測位ルーチンのフローチャートで
ある。ここでは、まず、ステップ157にて2回目以降
の測位か否かを判断する。1回目の測位であればステッ
プ161を実行し、2回目以降の測位であればステップ
158〜160を実行する。
FIG. 15 is a flowchart of the positioning routine. Here, first, in step 157, it is determined whether or not the positioning is the second or subsequent positioning. If it is the first positioning, step 161 is executed, and if it is the second or later positioning, steps 158 to 160 are executed.

【0070】ステップ161では次式に基づきX1 を計
算する。
In step 161, X 1 is calculated based on the following equation.

【0071】[0071]

【数20】X1 =A1 -11 ここで、A1 は1回目の測位の時点における航法方程式
の左辺の行列Aである。
X 1 = A 1 −1 L 1 Here, A 1 is the matrix A on the left side of the navigation equation at the time of the first positioning.

【0072】L1 は1回目の測位の時点における航法方
程式の右辺の行列Lである。X1 は1回目の測位の時点
における求める解を示すものである。ステップ162で
は、求めた解(XYZ座標)を緯度,経度及び高度に変
換してこのルーチンを終了する。
L 1 is the matrix L on the right side of the navigation equation at the time of the first positioning. X 1 indicates the solution to be obtained at the time of the first positioning. In step 162, the obtained solution (XYZ coordinates) is converted into latitude, longitude, and altitude, and this routine ends.

【0073】ステップ157にて、2回目以降の測位の
場合にはステップ158にて、測位推定誤差計算ルーチ
ンにて求めた解の予測値を示す行列Yi+1 を取り出す。
次に、ステップ159にて、改善量を示す行列Dを数2
1式に基づいて計算する。
In step 157, in the case of the second and subsequent positioning, in step 158, the matrix Y i + 1 indicating the predicted value of the solution obtained by the positioning estimation error calculation routine is taken out.
Next, in step 159, the matrix D indicating the improvement amount is given by
Calculate based on the formula 1.

【0074】[0074]

【数21】D=Li+1 −Ai+1 i+1 ここで、Ai+1 は今回の測位における航法方程式の左辺
の行列Aである。Li+1は今回の測位における航法方
程式の右辺の行列Lである。次に、ステップ160にて
今回の測位の測位解を示す行列Xi+1 を数22式に
基づいて計算する。
D = L i + 1 −A i + 1 Y i + 1 where A i + 1 is the matrix A on the left side of the navigation equation in this positioning. L i + 1 is the matrix L on the right side of the navigation equation in this positioning. Next, in step 160, the matrix X i + 1 indicating the positioning solution of the current positioning is calculated based on the equation 22.

【0075】[0075]

【数22】Xi+1 =Yi+1 +Kg・D ここで、Kgは前述の測位推定誤差計算ルーチンにて数
18式に従って計算したカルマンゲインを示す行列であ
る。この後、ステップ162にて、求めた解(XYZ座
標)を緯度,経度及び高度に変換してこのルーチンを終
了する。
X i + 1 = Y i + 1 + Kg · D Here, Kg is a matrix showing the Kalman gain calculated according to the formula 18 in the above-mentioned positioning estimation error calculation routine. Thereafter, in step 162, the obtained solution (XYZ coordinates) is converted into latitude, longitude and altitude, and this routine is ended.

【0076】このルーチンの計算方法はカルマンフィル
ターと呼ばれる最適フィルターを適用したものであり、
異常な解の変化を抑制するものである。圧電振動ジャイ
ロと車速センサーの出力を用いた解が方程式の解の予想
を与えるようになっているので、衛星の異常等で測位解
が大きく変動する場合の歯止めとなる。特に、車速=0
の場合は解の予想として移動なしとなり、予想誤差も0
となるため停車中の解のふらつきを抑制する効果があ
る。
The calculation method of this routine is to apply an optimum filter called Kalman filter,
It suppresses abnormal changes in the solution. Since the solution using the output of the piezoelectric vibration gyro and the vehicle speed sensor gives the prediction of the solution of the equation, it becomes a stop when the positioning solution fluctuates greatly due to the abnormality of the satellite. Especially, vehicle speed = 0
In the case of, there is no movement as a solution prediction, and the prediction error is 0
Therefore, there is an effect of suppressing the fluctuation of the solution while the vehicle is stopped.

【0077】図16は高度補正ルーチンのフローチャー
トである。ここでは、まず、ステップ163にてVDO
PがVDOP上限より低いか否かを判断する。VDOP
がVDOP上限より低ければステップ164へ跳び、V
DOPがVDOP上限より高ければ何もせずこのルーチ
ンを終了する。ステップ164では、測位により得られ
た高度と高度センサにより得られた高度の差をとり補正
量を得る。ここで、この高度補正ルーチンは3衛星以上
復調が終了し、4衛星により測位を行っているので、測
位により得られた高度はGPSのみにより得られたもの
となる。GPSによる測位は通常、数秒遅れて得られる
ので、高度センサにより得られた高度との間には時間差
が生じている。そこで、GPSの遅れに応じて、ジャイ
ロ方位算出ルーチン中のステップ69にて更新している
過去の高度データを用いる。例えば、GPSの遅れが3
秒の場合、測位により得られた高度から高度H〔−3〕
を引き補正量とする。次に、ステップ165にて過去の
高度データに補正量を加えて補正する。次に、ステップ
166にてUERE計算ルーチンを実行し、UEREを
得る。次に、ステップ167にてVDOPとUEREを
記憶してこのルーチンを終了する。尚、VDOPはσz
2 の平方根をとって求める。
FIG. 16 is a flowchart of the altitude correction routine. Here, first, in step 163, VDO
It is determined whether P is lower than the VDOP upper limit. VDOP
Is below the upper limit of VDOP, jump to step 164
If DOP is higher than the VDOP upper limit, this routine is terminated without doing anything. In step 164, the difference between the altitude obtained by the positioning and the altitude obtained by the altitude sensor is taken to obtain the correction amount. Here, in this altitude correction routine, demodulation of three or more satellites is completed and positioning is performed by four satellites, so the altitude obtained by the positioning is obtained only by GPS. Since positioning by GPS is usually obtained with a delay of several seconds, there is a time difference with the altitude obtained by the altitude sensor. Therefore, the past altitude data updated in step 69 in the gyro direction calculation routine is used in accordance with the GPS delay. For example, GPS delay is 3
In case of seconds, from the altitude obtained by positioning to the altitude H [-3]
To be the correction amount. Next, in step 165, the correction amount is added to the past altitude data for correction. Next, in step 166, the UARE calculation routine is executed to obtain the UARE. Next, in step 167, VDOP and UARE are stored, and this routine ends. VDOP is σ z
Calculate by taking the square root of 2 .

【0078】図17はUERE計算ルーチンのフローチ
ャートである。ここでは、まず、各々の衛星の情報から
衛星の配置によらない指標であるSVACC(SVaccu
racy:個々の衛星の内部状態から、その衛星1 個が測
位に及ぼす影響を計算した指標)を得て、ステップ16
8にて、SVACCが0以上未満であるか否かを判断
する。SVACCが0以上未満であれば、ステップ1
70にてユーザーレンジアキュラシーURA(User Ran
ge Accuracy)を数23式により求める。SVACCが7
以上であれば、ステップ169にてユーザーレンジアキ
ュラシーURAを数24式により求める。
FIG. 17 is a flow chart of the UARE calculation routine. Here, first, SVACC (SVaccu
racy: Step 16 by obtaining an index that calculates the effect of one satellite on positioning from the internal state of each satellite)
At 8, it is determined whether SVACC is 0 or more and less than 7 . If SVACC is 0 or more and less than 7 , step 1
70. User Range Accuracy URA (User Ran
ge Accuracy) is calculated by the equation 23. SVACC is 7
If so, the user range accuracy URA is obtained in step 169 by the equation (24).

【0079】[0079]

【数23】 URA=2(1+SVACC/2) (0≦AVACC<7)[ Equation 23] URA = 2 (1 + SVACC / 2) (0 ≦ AVACC <7)

【0080】[0080]

【数24】 URA=2(SVACC-2) (7≦AVACC) 次に、ステップ171にて数25式に基づきUEREを
求める。
[ Expression 24] URA = 2 (SVACC-2) (7 ≦ AVACC) Next, in step 171, the UARE is calculated based on the expression 25.

【0081】[0081]

【数25】 UERE=(UEA2 +Σ(意図的劣化係数以外の値)2 1/2 =(UEA2 +119.7)1/2 この内、意図的劣化係数は、衛星の時計の誤差や衛星の
軌道の予測誤差によるものである。また、意図的劣化係
数以外の値は、衛星軌道の摂動予測誤差(1σの値=
1.0m)、電離層伝搬遅延補正誤差(1σの値=7.
5m)、対流圏伝搬遅延補正誤差(1σの値=2.0
m)、受信機雑音(1σの値=7.5m)、マルチパス
(1σの値=1.2m)、衛星に基づくその他の誤差
(1σの値=0.5m)、制御に基づくその他の誤差
(1σの値=0.5m)、利用者に基づくその他の誤差
(1σの値=0.5m)である。これらの誤差の大きさ
が変わった場合には、数25式の数値を変更すればよ
い。
URE = (UEA 2 + Σ (value other than the intentional deterioration coefficient) 2 ) 1/2 = (UEA 2 +119.7) 1/2 Of these, the intentional deterioration coefficient is the error of the satellite clock or This is due to the prediction error of the satellite orbit. Values other than the intentional deterioration coefficient are perturbation prediction errors of satellite orbit (value of 1σ =
1.0 m), ionosphere propagation delay correction error (value of 1σ = 7.
5 m), tropospheric propagation delay correction error (1σ value = 2.0
m), receiver noise (value of 1σ = 7.5 m), multipath (value of 1σ = 1.2 m), other error based on satellite (value of 1σ = 0.5 m), other error based on control (Value of 1σ = 0.5 m) and other errors based on the user (value of 1σ = 0.5 m). When the magnitudes of these errors are changed, the numerical value of the equation 25 may be changed.

【0082】次に、ステップ297にて車速Vが0から
所定値Vconstの範囲内であるか否かを判断する。
ここで、Vconstは最大車速を当てはめている。ス
テップ297において、車速Vが範囲内であれば、ステ
ップ298にて数26式に応じて変数aを求めるが、車
速Vが範囲外であれば、ステップ299にて変数aを1
とする。
Next, at step 297, it is determined whether or not the vehicle speed V is within the range of 0 to a predetermined value Vconst.
Here, Vconst applies the maximum vehicle speed. In step 297, if the vehicle speed V is within the range, the variable a is calculated according to the equation 26 in step 298. If the vehicle speed V is out of the range, the variable a is set to 1 in step 299.
And

【0083】[0083]

【数26】a=(1−n)V/Vconst+n 次にステップ300にてUEREに変数aを掛けてUE
REを更新する。この後、このルーチンを終了する。ス
テップ297〜300の処理によって、UEREは基本
的には次式のように設定される。
[Mathematical formula-see original document] a = (1-n) V / Vconst + n Then, in step 300, the UERE is multiplied by the variable a.
Update RE. After that, this routine ends. By the processing of steps 297 to 300, UARE is basically set as in the following equation.

【0084】[0084]

【数27】UERE=((1−n)V/Vconst+
n)×UERE 図18はジャイロ補正ルーチンのフローチャートであ
る。補正モードは、補正の状況を示すフラグである。こ
こでは、まず、補正モードがいずれかを判断し、補正モ
ードに応じてステップ173,174,175,176
のモード−1,モード0,モード1,モード2のいずれ
かのルーチンを実行し、このルーチンを終了する。
(27) UARE = ((1-n) V / Vconst +
n) × UERE FIG. 18 is a flowchart of the gyro correction routine. The correction mode is a flag indicating the correction status. Here, first, it is determined which of the correction modes is selected, and steps 173, 174, 175, and 176 are performed according to the correction mode.
Any one of the mode-1, mode 0, mode 1 and mode 2 routines is executed and this routine is terminated.

【0085】ここで、補正は走行中に順次通過する第1
の地点、第2の地点、第3の地点の間のジャイロやGP
Sの出力データを用いて行う。モード−1では補正の開
始を判断し、モード0では第1の地点のデータを収集
し、モード1では第2の地点のデータを収集し、モード
2では第3の地点のデータを収集し、これらのデータを
基に補正を行うものである。
Here, the correction is the first one which is successively passed through during traveling.
Gyro or GP between the second point, the third point and the second point
The output data of S is used. In mode-1, the start of correction is determined, in mode 0, the data at the first point is collected, in mode 1, the data at the second point is collected, and in mode 2, the data at the third point is collected. Correction is performed based on these data.

【0086】図19はモード−1ルーチンのフローチャ
ートである。補正モードがモード−1のとき、このルー
チンが実行される。補正モードは他のルーチンにより、
初期状態及び補正終了後にモード−1に設定されてい
る。よって、初期状態ではモード−1ルーチンが選択さ
れる。まず、ステップ177にて、車速が所定の下限値
より大か否かを判断する。車速が下限値(例えば10K
m/h)より低ければ,ステップ183にて補正モード
をモード−1のままとし、終了する。車速が下限値より
高ければ、ステップ178にて遅延時間分のジャイロデ
ータを保存しているか否かを調べる。ここで、遅延時間
分のジャイロデータを保存しているときにはステップ1
79へ進むが、遅延時間分のジャイロデータを保存して
いない場合にはステップ183へ進み、補正モードをモ
ード−1のままとし、終了する。ステップ179では補
正モードをモード0とし、ステップ180にて方位をφ
m1
FIG. 19 is a flow chart of the mode-1 routine. This routine is executed when the correction mode is mode-1. The correction mode is set by another routine.
The mode is set to mode-1 after the initial state and after the correction is completed. Therefore, the mode-1 routine is selected in the initial state. First, in step 177, it is determined whether the vehicle speed is higher than a predetermined lower limit value. The vehicle speed is the lower limit (eg 10K
If it is lower than m / h), the correction mode is kept at mode-1 in step 183, and the process ends. If the vehicle speed is higher than the lower limit value, it is checked in step 178 whether gyro data for the delay time is stored. Here, when the gyro data for the delay time is stored, step 1
However, if the gyro data corresponding to the delay time is not stored, the process proceeds to step 183, the correction mode remains as mode-1, and the process ends. In step 179, the correction mode is set to mode 0, and in step 180, the azimuth is φ.
m1

〔0〕に、また、GPSの遅延量をφm1〔1〕に
代入する。次に、ステップ181にてタイマーTφを0
にセットし、ステップ182にてカウンタcount0を0に
セットしてこのルーチンを終了する。タイマーTφは、
この後、経過時間をカウントする。
Substitute [0] and the GPS delay amount into φm1 [1]. Next, in step 181, the timer Tφ is set to 0.
Is set, the counter count0 is set to 0 in step 182, and this routine ends. The timer Tφ is
After this, the elapsed time is counted.

【0087】上述したように、モード−1ルーチンで
は、車速が下限値以上であり、かつ、GPSが出力する
データの遅延時間分のジャイロのデータを保存している
場合に、ジャイロ補正を開始する。
As described above, in the mode-1 routine, the gyro correction is started when the vehicle speed is equal to or higher than the lower limit value and the gyro data corresponding to the delay time of the data output by the GPS is stored. .

【0088】図20はモード0ルーチンのフローチャー
トである。補正モードがモード0のとき、このルーチン
が実行される。まず、ステップ184にてカウンタcoun
t0が1だけインクリメントされる。次に、ステップ18
5にて車速が所定の下限値より大となったか否かを判断
する。ステップ186では遅延時間分のジャイロデータ
が保存してあるか否かを判断する。ステップ187では
モード−1と連続しているか否かを判断する。ステップ
188ではモード−1とこの時点の方位が同じであるか
否かを判断する。ステップ185〜188のいずれかが
不成立の場合、ステップ189にて補正モードをモード
−1に変更し、このルーチンを終了する。ステップ18
5〜188のいずれも成立しているとき、ステップ19
0にて方位安定化がOKか否かが判断される。方位が不
安定であればこのルーチンを終了する。方位が安定して
おれば、ステップ191にて数値補正ルーチンを実行
し、ステップ192にて補正モードをモード1とする。
数値補正ルーチンの詳細は後述するが、GPS方位とジ
ャイロ方位の差を補正量とし、この補正量に応じてジャ
イロ方位等を補正するものである。次に、ステップ19
3にて、GPSにて測位した方位,遅延,誤差をそれぞ
れφ0
FIG. 20 is a flowchart of the mode 0 routine. This routine is executed when the correction mode is mode 0. First, at step 184, the counter coun
t0 is incremented by 1. Next, step 18
At 5, it is determined whether the vehicle speed is higher than a predetermined lower limit value. In step 186, it is determined whether or not the gyro data for the delay time is stored. In step 187, it is determined whether or not the mode-1 is continued. In step 188, it is determined whether or not the azimuth at this time is the same as that of the mode-1. If any of steps 185 to 188 is not established, the correction mode is changed to mode-1 in step 189, and this routine ends. Step 18
When all of 5 to 188 are established, step 19
At 0, it is determined whether or not the azimuth stabilization is OK. If the orientation is unstable, this routine ends. If the orientation is stable, the numerical correction routine is executed in step 191, and the correction mode is set to mode 1 in step 192.
Although details of the numerical correction routine will be described later, the difference between the GPS azimuth and the gyro azimuth is used as a correction amount, and the gyro azimuth and the like are corrected according to the correction amount. Next, Step 19
At 3, the azimuth, delay, and error measured by GPS are 0

〔0〕,φ0〔1〕,φ0〔2〕に代入する。次
に、ステップ194にてタイマーTφを0にセットす
る。次に、ステップ195にて遅延量に応じたジャイロ
方位gldelay-raw 〔遅延量〕をφ0raw に代入する。次
に、ステップ196にてカウンタcount0及びカウンタco
unt1を0にセットしてこのルーチンを終了する。
Substitute for [0], φ0 [1], and φ0 [2]. Next, at step 194, the timer Tφ is set to 0. Next, in step 195, the gyro azimuth gldelay-raw [delay amount] according to the delay amount is substituted into φ0raw. Next, at step 196, counter count0 and counter co
This routine is ended by setting unt1 to 0.

【0089】このように、モード0ルーチンでは、モー
ド−1での開始条件(車速が下限値以上であり、かつ、
GPSが出力するデータの遅延時間分のジャイロのデー
タを保存している)が継続しており、モード−1から続
いて実行されており、かつモード−1から方位に変更が
ない場合に、ジャイロ方位であるφ0raw ,GPS方位
であるφ0
As described above, in the mode 0 routine, the start condition in the mode-1 (the vehicle speed is equal to or higher than the lower limit value, and
The gyro data corresponding to the delay time of the data output from the GPS is stored), the gyro is continuously executed from the mode-1 and the direction is not changed from the mode-1. Azimuth φ0 raw, GPS azimuth φ0

〔0〕等のデータを記憶する。この点が第1
の地点となる。
Data such as [0] is stored. This point is the first
It becomes the point of.

【0090】図21はモード1ルーチンのフローチャー
トである。補正モードがモード1のとき、このルーチン
が実行される。まず、ステップ197にてカウンタcoun
t1が1だけインクリメントされる。次に、ステップ19
8にて車速が所定の下限値より大となったか否かを判断
する。ステップ199では遅延時間分のジャイロデータ
が保存してあるか否かを判断する。ステップ198,1
99のいずれかが不成立の場合、ステップ203にてカ
ウンタcount1を0とし、このルーチンを終了する。ステ
ップ198,199のいずれも成立しているとき、ステ
ップ200にてモード1が2回目以降か否かを判断す
る。1回目であればステップ201にて測位した方位,
遅延をそれぞれφ1
FIG. 21 is a flowchart of the mode 1 routine. This routine is executed when the correction mode is mode 1. First, at step 197, the counter coun
t1 is incremented by 1. Next, Step 19
At 8, it is determined whether the vehicle speed is higher than a predetermined lower limit value. In step 199, it is determined whether or not the gyro data for the delay time is stored. Step 198, 1
If any of 99 is not established, the counter count1 is set to 0 in step 203, and this routine ends. When both steps 198 and 199 are established, it is determined in step 200 whether or not the mode 1 is the second time or later. If it is the first time, the azimuth determined in step 201,
Each delay is φ1

〔0〕,φ1〔1〕に代入し、この
ルーチンを終了する。ステップ200にてモード1が2
回目以降であれば、ステップ202にて前回のモード1
とこの時点の方位が同じであるか否かを判断する。方位
が連続していなければ、ステップ203にてカウンタco
unt1を0とし、このルーチンを終了する。方位が同じで
あれば、ステップ204にて方位安定化がOKか否かが
判断される。方位が不安定であればこのルーチンを終了
する。方位が安定しておれば、ステップ205にて数値
補正ルーチンを実行し、ステップ206にてGPSにて
測位した方位,遅延をそれぞれφ1
Substituting [0] and φ1 [1], this routine ends. Mode 1 is 2 at step 200
If it is after the first time, in step 202, the previous mode 1
And whether the azimuth at this point is the same or not. If the azimuths are not continuous, in step 203 the counter co
unt1 is set to 0, and this routine ends. If the azimuths are the same, it is determined in step 204 whether the azimuth stabilization is OK. If the orientation is unstable, this routine ends. If the azimuth is stable, a numerical correction routine is executed in step 205, and the azimuth and delay measured by GPS in step 206 are φ1 respectively.

〔0〕,φ1〔1〕
に代入する。次に、ステップ207にて誤差がφ0
〔2〕より大きいか否かを判断する。大きければステッ
プ208にてφ1〔2〕に誤差を代入し、小さければス
テップ209にてφ1〔2〕にφ0〔2〕を代入する。
次に、ステップ210にて遅延量に応じたジャイロ方位
gldelay-raw 〔遅延量〕をφ1raw に代入する。次に、
ステップ211にてタイマーTφの値にφ0〔1〕を加
え、φ1〔1〕を引いてT10とする。次に、ステップ
212にてφ1
[0], φ1 [1]
To. Next, in step 207, the error is φ0.
[2] It is determined whether or not it is greater than. If it is larger, the error is substituted into φ1 [2] in step 208, and if it is smaller, φ0 [2] is substituted into φ1 [2] in step 209.
Next, in step 210, the gyro direction according to the delay amount
Substitute φ1raw with gldelay-raw [delay amount]. next,
At step 211, φ0 [1] is added to the value of the timer Tφ and φ1 [1] is subtracted to obtain T10. Next, in step 212, φ1

〔0〕からφ0[0] to φ0

〔0〕を引いて変数col1
とする。次にステップ213にてこの角度差が採用OK
か否かを判断する。採用OKでなければこのルーチンを
終了する。採用OKであれば、ステップ214にてφ1
raw からφ0raw を引いてraw1とする。次に、ステップ
215にてcol1,raw1をそれぞれT10で割って更新す
る。次に、ステップ216にて補正モードをモード2に
変更し、ステップ217にてタイマーTφを0にリセッ
トし、ステップ218にてカウンタcount1及びカウンタ
count2を0にセットしてこのルーチンを終了する。
Subtract [0] to the variable col1
And Next, at step 213, this angle difference is adopted.
Determine whether or not. If adoption is not OK, this routine ends. If adopted, φ1 at step 214
Φ0raw is subtracted from raw to make raw1. Next, in step 215, col1 and raw1 are each divided by T10 and updated. Next, in step 216, the correction mode is changed to mode 2, in step 217 the timer Tφ is reset to 0, and in step 218 the counter count1 and counter
Set count2 to 0 and terminate this routine.

【0091】このように、モード1ルーチンでは、モー
ド−1での開始条件(車速が下限値以上であり、かつ、
GPSが出力するデータの遅延時間分のジャイロのデー
タを保存している)が継続しており、モード1が2回以
上連続して実行されており、同じ方位が連続して安定し
ている場合に、ジャイロ方位であるφ1raw ,GPS方
位であるφ1
As described above, in the mode 1 routine, the start condition in the mode-1 (the vehicle speed is the lower limit value or more, and
Gyro data for the delay time of the data output by GPS is stored), Mode 1 is executed twice or more continuously, and the same azimuth is continuously stable. , Gyro direction is φ1 raw, GPS direction is φ1

〔0〕等のデータを記憶する。この点が第
2の地点となる。また、第1の地点と第2の地点間の時
間の差T10、GPS方位の差φ1
Data such as [0] is stored. This is the second point. Further, the time difference T10 between the first point and the second point, the GPS direction difference φ1

〔0〕−φ0[0] -φ0

〔0〕
(ステップ212でのcol1),及びジャイロ方位の差φ
1raw −φ0raw (ステップ214でのraw1)を計算
し、ステップ215にて時間当たりのGPS方位col1,
及び時間当たりのジャイロ方位raw1を求めておく。
[0]
(Col1 in step 212), and the difference in gyro direction φ
1raw−φ0raw (raw1 in step 214) is calculated, and in step 215 the GPS direction col1 per hour,
And the gyro direction raw1 per hour is obtained.

【0092】図22はモード2ルーチンのフローチャー
トである。補正モードがモード2のとき、このルーチン
が実行される。まず、ステップ219にてカウンタcoun
t2が1だけインクリメントされる。次に、ステップ22
0にて車速が所定の下限値より大となったか否かを判断
する。ステップ221では遅延時間分のジャイロデータ
が保存してあるか否かを判断する。ステップ220,2
21のいずれかが不成立の場合、ステップ225にて補
正モードをモード2のままとし、ステップ238にてカ
ウンタcount2を0とし、このルーチンを終了する。ステ
ップ220,221のいずれも成立しているとき、ステ
ップ222にてモード2が2回目以降か否かを判断す
る。1回目であればステップ223にて測位した方位,
遅延をそれぞれφ2
FIG. 22 is a flowchart of the mode 2 routine. This routine is executed when the correction mode is mode 2. First, at step 219, the counter coun
t2 is incremented by 1. Next, step 22
At 0, it is determined whether the vehicle speed is higher than a predetermined lower limit value. In step 221, it is determined whether or not the gyro data for the delay time is stored. Step 220, 2
If any of the items 21 is not satisfied, the correction mode is kept at mode 2 in step 225, the counter count2 is set to 0 in step 238, and this routine is ended. When both steps 220 and 221 are satisfied, it is determined in step 222 whether or not the mode 2 is the second time or later. If it is the first time, the azimuth determined in step 223,
Each delay is φ2

〔0〕,φ2〔1〕に代入し、この
ルーチンを終了する。ステップ222にてモード1が2
回目以降であれば、ステップ224にて前回のモード2
とこの時点の方位が同じであるか否かを判断する。方位
が連続していなければ、ステップ25て補正モードを
モード2のままとし、ステップ238にてカウンタcoun
t2を0とし、このルーチンを終了する。方位が同じであ
れば、ステップ226にて方位安定化がOKか否かが判
断される。方位が不安定であればこのルーチンを終了す
る。方位が安定しておれば、ステップ227にて数値補
正ルーチンを実行し、ステップ228 にて測位した方
位,遅延をそれぞれφ2
Substituting [0] and φ2 [1], this routine is ended. Mode 1 is set to 2 in step 222
If it is the second time or later, in step 224, the previous mode 2
And whether the azimuth at this point is the same or not. If the orientation is not continuous, and the correction mode remains in Mode 2 Te Step 2 25, the counter in step 238 coun
The t2 is set to 0, and this routine ends. If the azimuths are the same, it is determined in step 226 whether the azimuth stabilization is OK. If the orientation is unstable, this routine ends. If the azimuth is stable, the numerical correction routine is executed in step 227, and the azimuth and delay measured in step 228 are φ2.

〔0〕,φ2〔1〕に代入す
る。次に、ステップ229にて誤差がφ1〔2〕より大
きいか否かを判断する。大きければステップ231にて
φ2〔2〕に誤差を代入し、小さければステップ230
にてφ2〔2〕にφ1〔2〕を代入する。次に、ステッ
プ232にて遅延量に応じたジャイロ方位gldelay-raw
〔遅延量〕をφ2rawに代入し、タイマーTφの値にφ
1〔1〕を加えφ2〔1〕を引いてT21とし、φ2
Substitute for [0] and φ2 [1]. Next, in step 229, it is determined whether or not the error is larger than φ1 [2]. If larger, the error is substituted into φ2 [2] in step 231, and if smaller, step 230
Substitute φ1 [2] for φ2 [2]. Next, in step 232, the gyro direction gldelay-raw according to the delay amount
Substitute [delay amount] into φ2raw and set the value of timer Tφ to φ
Add 1 [1] and subtract φ2 [1] to T21, φ2

〔0〕からφ1[0] to φ1

〔0〕を引いてcol2とする。次にステッ
プ233にてこの角度差が採用OKか否かを判断する。
採用OKでなければ、ステップ234にてカウンタcoun
t2を0とし、ステップ235にてcol2を999(最大
値)に設定し、このルーチンを終了する。採用OKであ
れば、ステップ236にてφ2rawからφ1rawを引いて
raw2とし、col2,raw2をそれぞれT21で割って更新す
る。次に、ステップ237にて、col1とcol2の差の絶対
値が所定の下限値をT21で割った値よりも大きいか否
かを判断する。小さければステップ238にてカウンタ
count2を0とし、このルーチンを終了する。大きけれ
ば、ステップ239を実行する。ステップ239ではco
l1とcol2の差の絶対値が所定の上限値をT21で割った
値よりも小さく、かつ、raw1とraw2の差の絶対値が所定
の上限値をT21で割った値よりも小さいか否かを判断
する。成立しなければステップ246へ跳び、成立すれ
ばステップ240を実行する。ステップ240ではraw1
とraw2の差の絶対値が所定の下限値をT21で割った値
よりも大きいか否かを判断する。小さければこのルーチ
ンを終了し、大きければステップ241を実行する。ス
テップ241では補正量和が所定の下限値より大きいか
否かを判断する。大きければステップ242でAD変換
係数補正値を初期化し、ステップ243でAD変換係数
補正ルーチンを実行する。小さければステップ244に
て逐次近似ルーチンを実行する。次に、ステップ245
にて補正モードをモード−1に設定しステップ246へ
進む。ステップ246では、φ2
Subtract [0] to make col2. Next, in step 233, it is determined whether or not this angle difference is acceptable.
If the adoption is not OK, the counter coun at step 234
t2 is set to 0, col2 is set to 999 (maximum value) in step 235, and this routine ends. If it is OK to adopt, subtract φ1 raw from φ2 raw in step 236.
Raw2 is set, and col2 and raw2 are each divided by T21 and updated. Next, in step 237, it is determined whether or not the absolute value of the difference between col1 and col2 is greater than the predetermined lower limit value divided by T21. If smaller, counter at step 238
The count2 is set to 0, and this routine ends. If it is larger, step 239 is executed. In step 239, co
l1 and smaller than the value which the absolute value is divided by T21 a predetermined upper limit value of col2 differences, and whether the absolute value of the difference raw1 and raw2 is less than the value divided by T21 a predetermined upper limit value To judge. If not established, jump to step 246, and if established, step 240 is executed. Raw1 in step 240
It is determined whether or not the absolute value of the difference between RAW and raw2 is larger than a value obtained by dividing a predetermined lower limit value by T21. If it is smaller, this routine is ended, and if it is larger, step 241 is executed. In step 241, it is determined whether the sum of correction amounts is larger than a predetermined lower limit value. If it is larger, the AD conversion coefficient correction value is initialized in step 242, and the AD conversion coefficient correction routine is executed in step 243. If it is smaller, the successive approximation routine is executed in step 244. Then, step 245
Then, the correction mode is set to the mode-1 and the routine proceeds to step 246. In step 246, φ2

〔0〕をφ1Φ0 for [0]

〔0〕に
代入し、φ2〔1〕をφ1〔1〕に代入し、φ2〔2〕
をφ1〔2〕に代入し、col2をcol1に代入し、raw2をra
w1に代入する。次に、ステップ247にてタイマーTφ
を0にリセットし、このルーチンを終了する。
Substitute into [0], substitute φ2 [1] into φ1 [1], and obtain φ2 [2]
To φ1 [2], col2 to col1, and raw2 to ra
Substitute in w1. Next, at step 247, the timer Tφ
Is reset to 0 and this routine ends.

【0093】このように、モード2ルーチンでは、モー
ド−1での開始条件(車速が下限値以上であり、かつ、
GPSが出力するデータの遅延時間分のジャイロのデー
タを保存している)が継続しており、モード2が2回以
上連続して実行されており、同じ方位が連続して安定し
ている場合に、ジャイロ方位であるφ2raw ,GPS方
位であるφ2
As described above, in the mode 2 routine, the start condition in the mode-1 (the vehicle speed is the lower limit value or more, and
Gyro data for the delay time of the data output by GPS is stored), Mode 2 is executed twice or more continuously, and the same azimuth is continuously stable. , Gyro direction is φ2 raw, GPS direction is φ2

〔0〕等のデータを記憶する。この点が第
3の地点となる。また、第3の地点と第2の地点間の時
間の差T21、GPS方位の差φ2
Data such as [0] is stored. This is the third point. In addition, the time difference T21 between the third point and the second point and the GPS direction difference φ2

〔0〕−φ1[0] -φ1

〔0〕
(ステップ232でのcol2),及びジャイロ方位の差φ
2raw −φ1raw を計算し、ステップ235にて時間当
たりのGPS方位col2,及び時間当たりのジャイロ方位
raw2を求めておく。
[0]
(Col2 in step 232), and the difference in gyro direction φ
2raw-φ1raw is calculated, and in step 235 the GPS direction col2 per hour and the gyro direction per hour are calculated.
Get raw2.

【0094】図23は数値補正ルーチンのフローチャー
トである。まず、ステップ248にてGPS方位から遅
れ量を加味した方位ψ〔遅れ〕を引いて補正量を得る。
次に、ステップ249にてこの補正量がGPS方位誤差
のN倍以上でありかつGPS方位出力の最小単位の半分
以上であるか否かを判断し、この条件が成立すればステ
ップ250にて補正量和に補正量を加算して補正量の積
算値を求める。ここで、GPS方位誤差は次式に基づき
求めている。尚、VeはGPSの速度誤差定数である。
FIG. 23 is a flowchart of the numerical correction routine. First, in step 248, the correction amount is obtained by subtracting the azimuth ψ [delay] in which the delay amount is added from the GPS azimuth.
Next, in step 249, it is determined whether or not this correction amount is N times or more the GPS heading error and is half or more of the minimum unit of the GPS heading output. If this condition is satisfied, the correction is made in step 250. The correction amount is added to the sum of amounts to obtain an integrated value of the correction amounts. Here, the GPS bearing error is calculated based on the following equation. Ve is a velocity error constant of GPS.

【0095】[0095]

【数28】 GPS方位誤差=arctan(Ve/(車速+Ve)) 次にステップ251にてジャイロ方位に補正量を加え、
ジャイロ方位を補正する。次にステップ252にて、方
位の遅延量であるψ〔−3〕,ψ〔−2〕,ψ〔−
1〕,ψ
[Equation 28] GPS azimuth error = arctan (Ve / (vehicle speed + Ve)) Next, in step 251, a correction amount is added to the gyro azimuth,
Correct the gyro direction. Next, at step 252, azimuth delay amounts ψ [−3], ψ [−2], ψ [−
1], ψ

〔0〕にそれぞれ補正量を加え、補正する。次
にステップ253にて基準方位を有効とし、ステップ2
54にて方位推定誤差ψerror をゼロとする。
A correction amount is added to each of [0] to perform correction. Next, in step 253, the reference direction is validated, and in step 2
At 54, the orientation estimation error ψ error is set to zero.

【0096】次に、ステップ255にてGPS車速が予
め定めた車速補正下限(例えば10Km/h)以上であ
るか否かを判断し、車速補正下限以下であればこのルー
チンを終了し、車速補正下限以上であればステップ25
6にて、GPS車速を、遅れを加味したパルス数P〔遅
れ〕で割って変数ROLLnew を求める。また、GPS車速
誤差を、遅れを加味したパルス数P〔遅れ〕で割って変
数ROLLerrornewを求める。次に、ステップ257にて数
29式に基づき変数ROLLを補正し、ステップ258にて
数30式に基づき変数ROLLerror を補正する。
Next, at step 255, it is judged whether or not the GPS vehicle speed is equal to or higher than a predetermined vehicle speed correction lower limit (for example, 10 km / h), and if it is equal to or lower than the vehicle speed correction lower limit, this routine is finished and the vehicle speed correction is performed. If it is above the lower limit, step 25
In step 6, the GPS vehicle speed is divided by the number of pulses P [delay] in consideration of the delay to obtain the variable ROLLnew. Also, the GPS vehicle speed error is divided by the number of pulses P [delay] in consideration of the delay to obtain the variable ROLLerrornew. Next, in step 257, the variable ROLL is corrected based on the formula 29, and in step 258, the variable ROLL error is corrected based on the formula 30.

【0097】[0097]

【数29】 [Equation 29]

【0098】[0098]

【数30】 [Equation 30]

【0099】次に、ステップ259にて、パルス数の遅
延量であるP〔−3〕,P〔−2〕,P〔−1〕,P
Next, at step 259, the delay amount of the number of pulses P [-3], P [-2], P [-1], P

〔0〕にそれぞれ補正量を加え、補正し、このルーチン
を終了する。
A correction amount is added to each of [0], the correction is performed, and this routine ends.

【0100】図24はAD変換係数補正ルーチン及び逐
次近似ルーチンのフローチャートである。まず、ここで
はGPS方位であるcol1,col2、ジャイロ方位であるra
w1,raw2を用いて、行列Ai G 及びLi G を次のように
定義する。
FIG. 24 is a flow chart of the AD conversion coefficient correction routine and the successive approximation routine. First, here, the GPS directions are col1 and col2, and the gyro direction is ra.
The matrices A i G and L i G are defined as follows using w1 and raw2.

【0101】[0101]

【数31】 [Equation 31]

【0102】[0102]

【数32】Li G =〔col1 col2〕-T 更に、補正係数α及びθ0 を用いて、行列Xi G を次の
ように定義する。
L i G = [col1 col2] −T Furthermore, using the correction coefficients α and θ 0 , the matrix X i G is defined as follows.

【0103】[0103]

【数33】Xi G =〔α θ0 -T ここで、図28を参照して補正係数α及びθ0 の関係を
説明する。ここでは、道路R上を車両が進行中、第1の
地点a1から第2の地点a2までの間モード1となり、
第2の地点a2から第3の地点a3までの間モード2と
なっているものとする。第1の地点a1の車両の実際の
方位をd1、第2の地点a2の車両の実際の方位をd
2、第3の地点a3の車両の実際の方位をd3とする。
ここで、第1の地点a1から第2の地点a2までに時間
T10がかかり、第2の地点a2から第3の地点a3ま
でに時間T21がかかったものとする。ここで、モード
1でのGPSの方位変化量はcol1・T10となり、時間
当たりの方位変化量はcol1となる。また、モード2での
GPSの方位変化量はcol2・T21となり、時間当たり
の方位変化量はcol2となる。モード2でのジャイロの方
位変化量はraw1・T10となり、時間当たりの方位変化
量はraw1となる。また、モード2でのジャイロの方位変
化量はraw2・T21となり、時間当たりの方位変化量は
raw2となる。ここで、Ai G ・Xi G =Li G (iは整
数)とおくと、Ai G 及びLi G は算出できるので、X
i G の各項である補正係数α,θ0 が求められる。
X i G = [α θ 0 ] -T Here, the relationship between the correction coefficients α and θ 0 will be described with reference to FIG. Here, while the vehicle is traveling on the road R, the mode 1 is set between the first point a1 and the second point a2,
It is assumed that the mode 2 is set between the second point a2 and the third point a3. The actual heading of the vehicle at the first point a1 is d1, and the actual heading of the vehicle at the second point a2 is d.
2, the actual direction of the vehicle at the third point a3 is d3.
Here, it is assumed that it takes time T10 from the first point a1 to the second point a2 and time T21 takes from the second point a2 to the third point a3. Here, the direction change amount of GPS in mode 1 is col1 · T10, and the direction change amount per time is col1. Further, the GPS direction change amount in mode 2 is col2 · T21, and the time direction change amount is col2. The gyro direction change amount in mode 2 is raw1 · T10, and the time direction change amount is raw1. Also, the gyro direction change amount in mode 2 is raw2 · T21, and the direction change amount per time is
It becomes raw2. Here, if A i G · X i G = L i G (i is an integer), then A i G and L i G can be calculated.
The correction factors α and θ 0 that are the respective terms of i G are obtained.

【0104】AD変換係数補正ルーチンにおいては、ま
ず、ステップ260にて変数iに0をセットし、次に、
ステップ261にて、col1,col2の算出時に使用したG
PS方位誤差の内最大値を示すφ2 2 から1/σθ2
数34式により求める。
In the AD conversion coefficient correction routine, first, in step 260, variable i is set to 0, and then,
G used in calculating col1 and col2 in step 261
1 / σθ 2 is obtained from φ 2 2 showing the maximum value of the PS azimuth error by the formula 34.

【0105】[0105]

【数34】1/σθ2 =1/φ2 2 2 次に、ステップ262にて、行列Σε1 G -1を次式に基
づき算出する。
Equation 34] 1 / σθ 2 = 1 / φ2 2 2 Next, in step 262, calculated based matrix Σε 1 G -1 to the following equation.

【0106】[0106]

【数35】 [Equation 35]

【0107】次に、ステップ263にて行列ΣX1 G
次式に基づき算出する。
Next, at step 263, the matrix ΣX 1 G is calculated based on the following equation.

【0108】[0108]

【数36】ΣX1 G =(A1 G T Σε1 G -11 G -1 次に、ステップ264にて行列X1 G を次式に基づき算
出する。
ΣX 1 G = (A 1 GT Σε 1 G −1 A 1 G ) −1 Then, in step 264, the matrix X 1 G is calculated based on the following equation.

【0109】[0109]

【数37】X1 G =A1 G -11 G 尚、補正中の逆行列無しの場合には補正キャンセルとす
る。これにより、行列X1 G が求まり、補正係数α及び
θ0 が求まる。次に、ステップ265にて、圧電振動ジ
ャイロ15の変換係数ADAに補正係数αを掛けて変換
係数ADAを更新する。また、ステップ266にて行列
ΣXi+1 G の11成分の平方根を取って、圧電振動ジャ
イロ15の誤差係数ADAerror とする。ここではi=
0であるので、ここでは行列ΣX1 G の11成分の平方
根を取る。次に、ステップ267にて、θ0 をサンプル
数samples 及び変換係数ADAで割った値を変換係数A
DCから引いて、変換係数ADCを更新する。次に、ス
テップ268にて行列ΣXi+ 1 G の21成分の平方根を
取り、サンプル数samples 及び変換係数ADAで割って
圧電振動ジャイロ15の誤差係数ADCerror とする。
ここではi=0であるので、ここでは行列ΣX1 G の2
1成分の平方根を取る。次に、ステップ269にて遅延
データの再収集指定を行い、ステップ270にて補正量
和を零としてこのルーチンを終了する。
[Expression 37] X 1 G = A 1 G -1 L 1 G If there is no inverse matrix being corrected, the correction is canceled. As a result, the matrix X 1 G is obtained, and the correction coefficients α and θ 0 are obtained. Next, at step 265, the conversion coefficient ADA of the piezoelectric vibration gyro 15 is multiplied by the correction coefficient α to update the conversion coefficient ADA. Further, in step 266, the square root of the 11 components of the matrix ΣX i + 1 G is taken to obtain the error coefficient ADAerror of the piezoelectric vibration gyro 15. Where i =
Since it is 0, the square root of 11 elements of the matrix ΣX 1 G is taken here. Next, in step 267, a value obtained by dividing θ 0 by the number of samples samples and the conversion coefficient ADA is converted into the conversion coefficient A.
Subtract from DC to update the conversion factor ADC. Next, in step 268, the square root of 21 components of the matrix ΣX i + 1 G is taken and divided by the number of samples samples and the conversion coefficient ADA to obtain the error coefficient ADCerror of the piezoelectric vibration gyro 15.
Since i = 0 here, 2 of the matrix ΣX 1 G is used here.
Take the square root of one component. Next, in step 269, re-collection of the delay data is designated, and in step 270, the sum of correction amounts is set to zero, and this routine ends.

【0110】逐次近似ルーチンでは、まずステップ27
1にて2回目移行の係数補正か否かを判断する。1回目
の係数補正であれば、ステップ260に進み、以下AD
変換係数補正ルーチンと同一の処理を行う。2回目以降
の係数補正であれば、ステップ272に進み、変数iに
1を加える。次に、ステップ273にて、col1,col2の
算出時に使用したGPS方位誤差の内最大値を示すφ2
2 から数38式に応じてσθ2 を求める。
In the successive approximation routine, first, step 27
At 1, it is determined whether or not the coefficient correction is for the second shift. If it is the first coefficient correction, the process proceeds to step 260, where AD
The same processing as the conversion coefficient correction routine is performed. If it is the second or subsequent coefficient correction, the process proceeds to step 272 and 1 is added to the variable i. Next, in step 273, φ2 indicating the maximum value of the GPS heading error used when calculating col1 and col2
Σθ 2 is obtained from 2 according to the equation (38).

【0111】[0111]

【数38】σθ2 =φ2 2 2 次に、ステップ274にて、行列Σεi+1 G -1を次式に
基づき算出する。
Σθ 2 = φ 2 2 2 Next, in step 274, the matrix Σε i + 1 G −1 is calculated based on the following equation.

【0112】[0112]

【数39】 [Formula 39]

【0113】次に、ステップ275及びステップ276
にて行列ΣXi G をそれぞれ行列ΣUi G 及び行列ΣY
i G に代入する。次に、ステップ277にて、行列Y
i+1 G を次式に基づいて定義する。
Next, step 275 and step 276.
At matrix ΣX i G and matrix ΣU i G and matrix ΣY, respectively.
Substitute in i G. Next, in step 277, the matrix Y
i + 1 G is defined based on the following equation.

【0114】[0114]

【数40】Yi+1 G =〔1 0〕T 次に、ステップ278にて次式に基づきカルマンゲイン
を示す行列KgG を求める。
Y i + 1 G = [1 0] T Next, in step 278, the matrix Kg G indicating the Kalman gain is obtained based on the following equation.

【0115】[0115]

【数41】KgG =ΣYi+1 G i+1 G T 〔Σεi+1 G
+Ai+1 G ΣYi+1 G i+1 G T -1 次に、ステップ279にて次式に基づき推定誤差行列Σ
i+1 G を求める。ここで、Iは2×2の単位行列であ
る。
Equation 41] Kg G = ΣY i + 1 G A i + 1 GT [Σε i + 1 G
+ A i + 1 G ΣY i + 1 G A i + 1 GT ] −1 Next, in step 279, the estimation error matrix Σ is calculated based on the following equation.
Find i + 1 G. Here, I is a 2 × 2 identity matrix.

【0116】[0116]

【数42】 ΣXi+1 G =2〔I−KgG i+1 G 〕ΣYi+1 G 次に、ステップ280にて改善量を示す行列DG を次式
に基づき求める。
ΣX i + 1 G = 2 [I−Kg G A i + 1 G ] ΣY i + 1 G Next, in step 280, the matrix D G indicating the improvement amount is obtained based on the following equation.

【0117】[0117]

【数43】DG =Li+1 G −Ai+1 G i+1 G 次に、ステップ281にて行列Yi+1 G を次式に基づ
き、カルマンゲインに改善量を掛けた値を加えて更新す
る。
D G = L i + 1 G −A i + 1 G Y i + 1 G Next, in step 281, the matrix Y i + 1 G is multiplied by the improvement amount to the Kalman gain based on the following equation. Add value and update.

【0118】[0118]

【数44】Yi+1 G =Yi+1 G +KgG G この後、ステップ265に進む。ステップ265にて、
圧電振動ジャイロ15の変換係数ADAにαを掛けて変
換係数ADAを更新する。また、ステップ266にて行
列ΣXi+1 G の11成分の平方根を取って、圧電振動ジ
ャイロ15の誤差係数ADAerror とする。次に、ステ
ップ267にて、θ0 をサンプル数samples 及び変換係
数ADAで割った値を変換係数ADCから引いて、変換
係数ADCを更新する。次に、ステップ268にて行列
ΣXi+1 G の21成分の平方根を取り、サンプル数samp
les 及び変換係数ADAで割って圧電振動ジャイロ15
の誤差係数ADCerror とする。次に、ステップ269
にて遅延データの再収集指定を行い、ステップ270に
て補正量和を零としてこのルーチンを終了する。
Y i + 1 G = Y i + 1 G + Kg G D G After that, the process proceeds to step 265. At step 265,
The conversion coefficient ADA of the piezoelectric vibration gyro 15 is multiplied by α to update the conversion coefficient ADA. Further, in step 266, the square root of the 11 components of the matrix ΣX i + 1 G is taken to obtain the error coefficient ADAerror of the piezoelectric vibration gyro 15. Next, in step 267, a value obtained by dividing θ 0 by the number of samples samples and the conversion coefficient ADA is subtracted from the conversion coefficient ADC to update the conversion coefficient ADC. Next, in step 268, the square root of the 21 components of the matrix ΣX i + 1 G is taken and the number of samples samp
Piezoelectric vibration gyro 15 divided by les and conversion coefficient ADA
Error coefficient ADCerror. Then, step 269
In step 270, the correction amount sum is set to zero, and this routine ends.

【0119】上記AD変換係数補正ルーチンにより、補
正係数α及びθ0 が求められ、ジャイロの変換係数AD
A,ADCや誤差係数ADAerror ,ADCerror がG
PS及びジャイロの測定値により補正され、より正確な
測位ができるようになる。
The correction coefficients α and θ 0 are obtained by the AD conversion coefficient correction routine, and the gyro conversion coefficient AD is obtained.
A, ADC and error coefficients ADAerror, ADCerror are G
Corrected by the measured values of PS and gyro, it becomes possible to perform more accurate positioning.

【0120】図25はジャイロ0点補正ルーチンのフロ
ーチャートである。まず、ここではステップ282にて
車速=0かつ補正量和が所定の下限値以下であるか否か
を判断し、否であればステップ293にてV≠0時0点
補正ルーチンを実行してこのルーチンを終了し、否でな
ければ次のステップ283に進む。ステップ283では
電源が入った直後であるか、又は、ドリフトを検出して
いるか否かを判断する。否であればステップ285にて
車速=0の1秒き平均を取り、否でなければステップ2
84にて全遅延データの平均を取る。次にステップ28
6にて1秒間の和の内の最大値と最小値を求める。ステ
ップ287にて、この最大値と最小値の差が所定の上限
値(例えば20deg/s相当)より小さいか否かを判
断し、上限値より大きければ採用不可としてこのルーチ
ンを終了し、上限値より小さければステップ288にて
求めた平均値をゼロ点に変更する。その後ステップ28
9にて遅延データの再収集指定を行い、ステップ290
にて補正モードをモード−1に指定し、ステップ291
にて補正量和を零にしてこのルーチンを終了する。
FIG. 25 is a flowchart of the gyro zero point correction routine. First, here, in step 282, it is determined whether the vehicle speed = 0 and the sum of correction amounts is equal to or less than a predetermined lower limit value. If not, the zero point correction routine at V ≠ 0 is executed in step 293. This routine is completed, and if not negative, the routine proceeds to the next Step 283. In step 283, it is determined whether the power has just been turned on or whether drift has been detected. If not, step 285 takes the average for 1 second at vehicle speed = 0, and if not, step 2
At 84, average all delay data. Then step 28
At 6, the maximum value and the minimum value of the sum for 1 second are obtained. In step 287, it is judged whether or not the difference between the maximum value and the minimum value is smaller than a predetermined upper limit value (e.g., 20 deg / s equivalent). If it is smaller, the average value obtained in step 288 is changed to the zero point. Then step 28
Re-collection of delay data is designated in step 9, and step 290
Specify the correction mode to mode-1 in step 291.
Then, the correction amount sum is set to zero and the routine is finished.

【0121】このジャイロ0点補正ルーチンおいては、
ジャイロの0点を測定し、ドリフト量が零になるように
補正している。
In this gyro zero point correction routine,
The zero point of the gyro is measured and corrected so that the drift amount becomes zero.

【0122】図26はV≠0の時の0点補正ルーチン
に関するフローチャートである。まず、ここでは、ステ
ップ294およびステップ295にて、それぞれ、GP
S測位中であるか、及び車速が所定値VLより大である
かを判断する。GPS測位中であり、かつ車速が所定値
VLより大である場合にはステップ296へ進み、それ
以外はステップ304に進む。ステップ296では前回
方位を記憶しているか否かを判断する。
[0122] FIG. 26, 0-point correction routine at the time of the V ≠ 0
It is a flowchart regarding . First, here, in steps 294 and 295, respectively, GP
It is determined whether S positioning is in progress and whether the vehicle speed is higher than a predetermined value VL. If the GPS positioning is being performed and the vehicle speed is higher than the predetermined value VL, the process proceeds to step 296, otherwise the process proceeds to step 304. In step 296, it is determined whether or not the previous bearing is stored.

【0123】ここで、前回方位を記憶している場合には
ステップ297にて前回方位が今回方位と同じであるか
を判断する。ステップ296にて前回方位を記憶してい
ない場合、及びステップ297にて前回方位が今回方位
と同じでない場合には、ステップ298に進み現時点の
GPS方位である今回方位を前回方位として記憶する。
If the previous azimuth is stored, it is determined in step 297 whether the previous azimuth is the same as the current azimuth. If the previous azimuth is not stored in step 296 and if the previous azimuth is not the same as the current azimuth in step 297, the process proceeds to step 298 and the current azimuth, which is the GPS azimuth at the present time, is stored as the previous azimuth.

【0124】この後、ステップ299にて回数を1とし
ておく。その後、ステップ305へ進む。ステップ29
7にて前回方位が今回方位と同じ場合にはステップ30
0にて回数を+1し、データを記憶しておく。この回数
は前回方位と今回方位が同じ場合に+1されるので、方
位が変化しない同一方位の回数を示すことになる。次
に、ステップ301にて同一方位の回数が所定の要求回
以上になったか否かを判断する。ここで、所定の要求
回数は、次のように定める。まず、所定の車速VL,V
U(ただしVL<VU)および所定の時間TL,TU
(ただしTL<TU)を定める。ここで、VLはGP
S測位の誤差が大きくなる車速を設定し、VUは自動車
最高車速を設定しておくとよい。次に車速に応じて次
式のように時間Tを設定する。
Thereafter, the number of times is set to 1 in step 299. Then, it progresses to step 305. Step 29
If the previous bearing is the same as the current bearing in step 7, step 30
The number is incremented by 1 at 0 and the data is stored. Since this number is incremented by 1 when the previous azimuth and the current azimuth are the same, it indicates the number of times of the same azimuth in which the azimuth does not change. Next, in step 301, it is determined whether or not the number of times of the same azimuth is equal to or more than a predetermined number of times of request. Here, the predetermined number of requests is determined as follows. First, the predetermined vehicle speeds VL and V
U (however , VL <VU) and predetermined time TL, TU
(However , TL <TU) is defined. Where VL is GP
Set the vehicle speed at which the S positioning error increases, and VU is the vehicle
It is good to set the maximum vehicle speed of. Next, the time T is set according to the following equation according to the vehicle speed.

【0125】[0125]

【数45】 T=TL+(TU−TL)×(V−VL)/(VU−VL)・・・VL≦V≦V U T=TU ・・・VU<V この時間Tは、車速がVLに等しいとき最低の時間TL
に等しくなり、車速がVUに等しいとき最高の時間TU
に等しくなり、その間の車速では車速に比例して時間が
多くなる。要求回数は、この時間Tをこのルーチンが実
行される間隔で割って求める。
T = TL + (TU-TL) × (V-VL) / (VU-VL) ... VL ≦ V ≦ V U T = TU ... VU <V At this time T, the vehicle speed is VL. Minimum time TL when equal to
And the maximum time TU when the vehicle speed is equal to VU
, And the vehicle speed during that time increases in proportion to the vehicle speed. The number of requests is obtained by dividing this time T by the interval at which this routine is executed.

【0126】ステップ301で同一方位回数が要求回
よりも小のときにはステップ305へ進み、満たした
場合にはステップ302に進む。ステップ302では、
計算するデータが予め定めたデータ範囲内であるか否か
を判断する。データ範囲内の場合、ステップ303に進
み、新0点を計算する。この新0点にはジャイロ15の
出力するデータを当てはめる。その後、ステップ304
にて回数を0に戻し、ステップ305に進む。
In step 301, if the number of times of the same azimuth is smaller than the required number of times, the process proceeds to step 305, and if satisfied, the process proceeds to step 302. In step 302,
It is determined whether the calculated data is within a predetermined data range. If it is within the data range, the process proceeds to step 303 and a new 0 point is calculated. The data output from the gyro 15 is applied to this new zero point. Then step 304
The number of times is returned to 0 and the process proceeds to step 305.

【0127】ステップ294にてGPS測位中でない
合、ステップ295にて車速がVLより低い場合、及
び、ステップ302でデータ範囲内でない場合には、ス
テップ304にて回数を0とする。よって、これらの場
合には新0点は計算されない。
If GPS positioning is not being performed at step 294, if the vehicle speed is lower than VL at step 295, and if it is not within the data range at step 302, the number of times is set to 0 at step 304. To do. Therefore, in these cases, the new zero point is not calculated.

【0128】ステップ305では、補正量和が0より大
きく、かつ現0点が新0点より大きいか否かを判断す
る。条件が成立した場合にはステップ307に進み、成
立していない場合にはステップ306に進む。ステップ
306では、補正量和が0未満であり、かつ現0点が新
0点より小さいか否かを判断する。条件が成立した場合
にはステップ307に進み、成立していない場合にはこ
のルーチンを終了する。
In step 305, it is determined whether the sum of correction amounts is greater than 0 and the current 0 point is greater than the new 0 point. If the condition is satisfied, the process proceeds to step 307, and if not, the process proceeds to step 306. In step 306, it is determined whether the correction amount sum is less than 0 and the current 0 point is smaller than the new 0 point. If the condition is satisfied, the process proceeds to step 307, and if not, this routine is ended.

【0129】ステップ307では現0点に新0点を代入
し更新する。補正量和は数値補正ルーチン中のステップ
250(図23)にて設定されるものでありGPS方位
とジャイロ方位の差を累積したものである。ステップ3
05及び306では、補正量のズレ方向と、0点の補正
方向が逆向きであるか否かを判断し、逆向きの場合のみ
0点を更新するようにしたものである。例えば、補正量
和>0のとき、ジャイロは左回りにずれると考えられる
ので0点は右回りに補正されるはずである。この状況に
矛盾が生じている場合には、0点補正を行わない。
At step 307, the new zero point is substituted for the current zero point and updated. The correction amount sum is set in step 250 (FIG. 23) in the numerical correction routine, and is the cumulative difference between the GPS direction and the gyro direction. Step 3
In 05 and 306, it is determined whether or not the deviation direction of the correction amount is opposite to the correction direction of the 0 point, and the 0 point is updated only in the case of the opposite direction. For example, when the sum of correction amounts> 0, the gyro is considered to be shifted counterclockwise, so the 0 point should be corrected clockwise. If there is a contradiction in this situation, 0-point correction is not performed.

【0130】以上説明したように、本実施例は、車両の
方位偏差を検出するジャイロ15と、ジャイロの出力か
らジャイロ方位を検出するジャイロ方位算出手段である
ステップ56と、複数の衛星が発射する信号からそれぞ
れの衛星と車両との相対速度を検出し、車両の基準方位
を測定する方位測定手段であるアンテナ10,GPS受
信機11,GPS復調器12と、車両の速度が高く、か
つ方位測定手段の測定する方位が時間的に変化かない場
合、ジャイロの出力信号がゼロとして0点補正する0点
補正手段であるステップ294〜307とを備えた。よ
って、走行中においてもジャイロの0点補正が行える。
As described above, in the present embodiment, the gyro 15 for detecting the heading deviation of the vehicle, the step 56 which is a gyro heading calculating means for detecting the gyro heading from the output of the gyro, and a plurality of satellites are launched. An antenna 10, a GPS receiver 11, a GPS demodulator 12, which are azimuth measuring means for detecting the relative speed between each satellite and the vehicle from the signal, and measuring the reference azimuth of the vehicle, and a high vehicle speed and azimuth measurement. When the azimuth measured by the means does not change with time, the output signal of the gyro is set to zero, and the zero point correction means for correcting the zero point is provided, and steps 294 to 307 are provided. Therefore, the zero point correction of the gyro can be performed even while traveling.

【0131】また、ステップ301では0点を変更する
ために用いる時間を車速が高くなるにつれ長くするよう
にしている。具体的には、所定の車速VL,VU(ただ
しVL<VU)、所定の時間TL,TU(ただしTL<
TU)に対して、車速Vが0<V<VLのとき、補正を
行わず、VL<V<VUのとき、TL+(TU−TL)
×(V−VL)/(VU−VL)で示される時間以上前
記方位測定手段の測定する方位に変化がない場合0点補
正し、VU<Vのとき、TUで示される時間以上前記方
位測定手段の測定する方位に変化がない場合0点補正す
るようにした。
Further, in step 301, the time used for changing the zero point is made longer as the vehicle speed becomes higher. Specifically, predetermined vehicle speeds VL and VU (where VL <VU) and predetermined times TL and TU (where TL <
TU), when the vehicle speed V is 0 <V <VL, no correction is performed, and when VL <V <VU, TL + (TU-TL)
When there is no change in the azimuth measured by the azimuth measuring means for the time indicated by × (V-VL) / (VU-VL), 0 point correction is performed, and when VU <V, the azimuth measurement is performed for the time indicated by TU or more. When there is no change in the azimuth measured by the means, the zero point is corrected.

【0132】よって、低車速時の精度の悪い方位測定手
段のデータを利用しないので、精度の悪化がない。ま
た、高速走行時において緩いカーブ上を走行しているよ
うな場合には0点補正が行われないため、精度のよい補
正ができる。
Therefore, since the data of the azimuth measuring means having low accuracy at low vehicle speed is not used, the accuracy is not deteriorated. Further, when traveling on a gentle curve during high-speed traveling, zero-point correction is not performed, and therefore accurate correction can be performed.

【0133】また、ステップ305,306では方位測
定手段とジャイロ方位算出手段の出力から求めた方位と
の差の方向が、0点を補正することにより変化する方位
の方向に対して逆の方向にあるときのみ0点を補正する
ようにした。よって、0点補正により、方位測定手段と
ジャイロ方位算出手段とがそれぞれに測定した方位がか
け離れる方向への補正は行われないので、より精度のよ
い補正ができる。
Further, in steps 305 and 306, the direction of the difference between the azimuth measuring means and the azimuth obtained from the output of the gyro azimuth calculating means is opposite to the direction of the azimuth which is changed by correcting the zero point. The 0 point was corrected only at certain times. Therefore, the zero-point correction does not perform correction in directions in which the azimuths measured by the azimuth measuring means and the gyro azimuth calculating means are far apart from each other, so that more accurate correction can be performed.

【0134】[0134]

【発明の効果】請求項1の発明によれば、走行中におい
てもジャイロの0点補正が行える。
According to the first aspect of the invention, the gyro zero point correction can be performed even during traveling.

【0135】この場合、高速走行時において緩いカーブ
上を走行しているような場合には0点補正が行われない
ため、精度のよい補正ができる。
In this case , when the vehicle is traveling on a gentle curve during high speed traveling, the zero point correction is not performed, so that accurate correction can be performed.

【0136】請求項の発明によれば、低車速時の精度
の悪い方位測定手段のデータを利用しないので、精度の
悪化がない。また、高速走行時において緩いカーブ上を
走行しているような場合には0点補正が行われないた
め、精度のよい補正ができる。
According to the second aspect of the present invention, since the data of the azimuth measuring means having low accuracy at low vehicle speed is not used, the accuracy is not deteriorated. Further, when traveling on a gentle curve during high-speed traveling, zero-point correction is not performed, and therefore accurate correction can be performed.

【0137】[0137]

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

【図1】本発明の実施例の回路構成図である。FIG. 1 is a circuit configuration diagram of an embodiment of the present invention.

【図2】本発明の実施例のメインルーチンのフローチャ
ートである。
FIG. 2 is a flowchart of a main routine according to the embodiment of this invention.

【図3】本発明の実施例のジャイロ方位算出ルーチンの
フローチャートである。
FIG. 3 is a flowchart of a gyro azimuth calculation routine according to the embodiment of this invention.

【図4】本発明の実施例の方位推定誤差計算ルーチンの
フローチャートである。
FIG. 4 is a flowchart of a bearing estimation error calculation routine according to the embodiment of this invention.

【図5】本発明の実施例の積算距離算出ルーチンのフロ
ーチャートである。
FIG. 5 is a flowchart of an integrated distance calculation routine according to the embodiment of this invention.

【図6】本発明の実施例の航法方程式1ルーチンのフロ
ーチャートである。
FIG. 6 is a flowchart of a navigation equation 1 routine according to the embodiment of this invention.

【図7】本発明の実施例の航法方程式2ルーチンのフロ
ーチャートである。
FIG. 7 is a flowchart of a navigation equation 2 routine according to the embodiment of this invention.

【図8】本発明の実施例の航法方程式3ルーチンのフロ
ーチャートである。
FIG. 8 is a flowchart of a navigation equation 3 routine according to the embodiment of this invention.

【図9】本発明の実施例のσi2計算ルーチンのフローチ
ャートである。
FIG. 9 is a flowchart of a σ i 2 calculation routine according to the embodiment of this invention.

【図10】本発明の実施例のσa2計算ルーチンのフロー
チャートである。
FIG. 10 is a flowchart of a σ a 2 calculation routine according to the embodiment of this invention.

【図11】本発明の実施例のσG2計算ルーチンのフロー
チャートである。
FIG. 11 is a flowchart of a σ G 2 calculation routine according to the embodiment of this invention.

【図12】本発明の実施例のσδx2,σδy2計算ルーチ
ンのフローチャートである。
FIG. 12 is a flowchart of a σδx 2 , σδy 2 calculation routine according to the embodiment of this invention.

【図13】本発明の実施例のEψx Eψy 計算ルーチン
のフローチャートである。
FIG. 13 is a flowchart of an Eψx Eψy calculation routine according to the embodiment of this invention.

【図14】本発明の実施例の測位推定誤差計算ルーチン
のフローチャートである。
FIG. 14 is a flowchart of a positioning estimation error calculation routine according to the embodiment of this invention.

【図15】本発明の実施例の測位ルーチンのフローチャ
ートである。
FIG. 15 is a flowchart of a positioning routine according to the embodiment of this invention.

【図16】本発明の実施例の高度補正ルーチンのフロー
チャートである。
FIG. 16 is a flowchart of an altitude correction routine according to the embodiment of the present invention.

【図17】本発明の実施例のUERE計算ルーチンのフ
ローチャートである。
FIG. 17 is a flowchart of a UARE calculation routine according to the embodiment of this invention.

【図18】本発明の実施例のジャイロ補正ルーチンのフ
ローチャートである。
FIG. 18 is a flowchart of a gyro correction routine according to the embodiment of the present invention.

【図19】本発明の実施例のモード−1ルーチンのフロ
ーチャートである。
FIG. 19 is a flowchart of a mode-1 routine according to the embodiment of this invention.

【図20】本発明の実施例のモード0ルーチンのフロー
チャートである。
FIG. 20 is a flowchart of a mode 0 routine according to the embodiment of this invention.

【図21】本発明の実施例のモード1ルーチンのフロー
チャートである。
FIG. 21 is a flowchart of a mode 1 routine according to the embodiment of this invention.

【図22】本発明の実施例のモード2ルーチンのフロー
チャートである。
FIG. 22 is a flowchart of a mode 2 routine according to the embodiment of this invention.

【図23】本発明の実施例の数値補正ルーチンのフロー
チャートである。
FIG. 23 is a flowchart of a numerical correction routine according to the embodiment of the present invention.

【図24】本発明の実施例のAD変換係数補正ルーチン
及び逐次近似ルーチンのフローチャートである。
FIG. 24 is a flowchart of an AD conversion coefficient correction routine and a successive approximation routine according to the embodiment of this invention.

【図25】本発明の実施例のジャイロ0点補正ルーチン
のフローチャートである。
FIG. 25 is a flowchart of a gyro zero-point correction routine according to the embodiment of the present invention.

【図26】本発明の実施例のV≠0時0点補正ルーチン
のフローチャートである。
FIG. 26 is a flowchart of a zero point correction routine when V ≠ 0 according to the embodiment of this invention.

【図27】本発明の実施例の説明図である。FIG. 27 is an explanatory diagram of an example of the present invention.

【図28】本発明の実施例の説明図である。FIG. 28 is an explanatory diagram of an example of the present invention.

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

10 受信アンテナ 11 GPS受信機 12 GPS復調器 13 表示装置 14 車速センサ 15 圧電振動ジャイロ 16 高度センサ 17 電子制御ユニット 18 入出力インターフェース 19 マイクロコンピュータ 20 アナログ・デジタル変換器 10 receiving antenna 11 GPS receiver 12 GPS demodulator 13 Display 14 vehicle speed sensor 15 Piezoelectric vibration gyro 16 Altitude sensor 17 Electronic control unit 18 I / O interface 19 Microcomputer 20 analog / digital converter

フロントページの続き (56)参考文献 特開 平2−38916(JP,A) 特開 平4−62419(JP,A) 特開 平6−26865(JP,A) (58)調査した分野(Int.Cl.7,DB名) G01C 19/00 - 19/72 G01C 21/00 Continuation of the front page (56) References JP-A-2-38916 (JP, A) JP-A-4-62419 (JP, A) JP-A-6-26865 (JP, A) (58) Fields investigated (Int .Cl. 7 , DB name) G01C 19/00-19/72 G01C 21/00

Claims (2)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 車両の方位偏差を検出するジャイロ; 該ジャイロの出力からジャイロ方位を検出するジャイロ
方位算出手段; 複数の衛星が発射する信号からそれぞれの衛星と車両と
の相対速度を検出し、車両の基準方位を測定する方位測
定手段; 車両の速度が所定値VLより高く、かつ前記方位測定手
段の測定する方位が時間的に変化かない場合、ジャイロ
の出力信号がゼロとして0点補正する0点補正手段;を
備え 前記0点補正手段は車速が高くなるにつれ、0点を変更
するために用いる時間を長くした ことを特徴とするジャ
イロ方位算出装置。
1. A gyro for detecting an azimuth deviation of a vehicle; a gyro azimuth calculating means for detecting a gyro azimuth from an output of the gyro; a relative speed between each satellite and a vehicle is detected from signals emitted by a plurality of satellites; Azimuth measuring means for measuring the reference azimuth of the vehicle; if the speed of the vehicle is higher than the predetermined value VL and the azimuth measured by the azimuth measuring means does not change with time, the gyro output signal is set to zero and 0 is corrected. Point correction means; and the 0 point correction means changes the 0 point as the vehicle speed increases.
A gyro azimuth calculation device characterized in that the time used for doing is extended .
【請求項2】 請求項1において、前記0点補正手段
は、所定の車速VL,VU(>VL)、所定の時間T
L,TU(>TL)を設定した場合に、 車速Vが0<V<VLのとき、0点補正を行わず、 VL≦V≦VUのとき、T=TL+(TU−TL)×
(V−VL)/(VU−VL)で示される時間以上、前
記方位測定手段の測定する方位に変化がない場合に0点
補正し、 VU<Vのとき、T=TUで示される時間以上、前記方
位測定手段の測定する方位に変化がない場合に0点補正
する ことを特徴とするジャイロ方位算出装置。
2. The zero point correction means according to claim 1.
Is a predetermined vehicle speed VL, VU (> VL), a predetermined time T
When L and TU (> TL) are set , 0 point correction is not performed when the vehicle speed V is 0 <V <VL. When VL ≦ V ≦ VU, T = TL + (TU-TL) ×
Before the time indicated by (V-VL) / (VU-VL)
0 points when the direction measured by the direction measuring means does not change
Corrected, when VU <V, more than the time indicated by T = TU
0 point correction when there is no change in the direction measured by the position measuring means
A gyro azimuth calculation device characterized by:
JP17148394A 1994-07-22 1994-07-22 Gyro bearing calculation device Expired - Lifetime JP3473113B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP17148394A JP3473113B2 (en) 1994-07-22 1994-07-22 Gyro bearing calculation device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP17148394A JP3473113B2 (en) 1994-07-22 1994-07-22 Gyro bearing calculation device

Publications (2)

Publication Number Publication Date
JPH0835840A JPH0835840A (en) 1996-02-06
JP3473113B2 true JP3473113B2 (en) 2003-12-02

Family

ID=15923946

Family Applications (1)

Application Number Title Priority Date Filing Date
JP17148394A Expired - Lifetime JP3473113B2 (en) 1994-07-22 1994-07-22 Gyro bearing calculation device

Country Status (1)

Country Link
JP (1) JP3473113B2 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4546695B2 (en) * 2002-12-27 2010-09-15 東京計器株式会社 Gyro device
KR100651397B1 (en) * 2004-10-12 2006-11-29 삼성전자주식회사 Apparatus and method for setting gyroscope zero point
JP2008032632A (en) * 2006-07-31 2008-02-14 Denso Corp Calibration device of angular velocity sensor, and angular velocity value identifying device

Also Published As

Publication number Publication date
JPH0835840A (en) 1996-02-06

Similar Documents

Publication Publication Date Title
US5276451A (en) Navigation system with navigational data processing
US7983842B2 (en) Vehicular present position detection apparatus and program storage medium
JP3533745B2 (en) Mobile positioning device
US7711483B2 (en) Dead reckoning system
US5349531A (en) Navigation apparatus using a global positioning system
JP3448976B2 (en) Current position detection device for vehicles
WO2014125769A1 (en) Vehicle-orientation detection method and vehicle-orientation detection device
WO2016203744A1 (en) Positioning device
JP5273127B2 (en) Angular velocity sensor correction apparatus and angular velocity sensor correction method
JP3321096B2 (en) Vehicle position measuring device and speed measuring device
JP5365606B2 (en) Angular velocity sensor correction apparatus and angular velocity sensor correction method
JP2647342B2 (en) Vehicle mileage detection device
JP3473113B2 (en) Gyro bearing calculation device
JP3412262B2 (en) On-board positioning device
JP3044357B2 (en) Gyro device
JPH0835839A (en) Gyroscope bearing measuring apparatus
US9086482B2 (en) Method for determining the navigation speed of a carrier and hybridization device
RU2202102C2 (en) Procedure establishing positions of mobile objects and device for its realization
JPH0814922A (en) Position-measuring apparatus for vehicle-mounting
JP2514766B2 (en) Vehicle orientation correction device
JP6531768B2 (en) Sensor error correction apparatus and method
JPH0835849A (en) Arithmetic device for calculating estimated error
JP2946050B2 (en) Gyro device
JP2946051B2 (en) Gyro device
JPH0835838A (en) Gyroscope bearing calculator

Legal Events

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

Year of fee payment: 4

Free format text: PAYMENT UNTIL: 20070919

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

Year of fee payment: 5

Free format text: PAYMENT UNTIL: 20080919

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

Free format text: PAYMENT UNTIL: 20080919

Year of fee payment: 5

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

Year of fee payment: 6

Free format text: PAYMENT UNTIL: 20090919

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

Free format text: PAYMENT UNTIL: 20100919

Year of fee payment: 7

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

Year of fee payment: 8

Free format text: PAYMENT UNTIL: 20110919

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

Year of fee payment: 9

Free format text: PAYMENT UNTIL: 20120919