JP3623399B2 - Steering angle detector - Google Patents

Steering angle detector Download PDF

Info

Publication number
JP3623399B2
JP3623399B2 JP16968299A JP16968299A JP3623399B2 JP 3623399 B2 JP3623399 B2 JP 3623399B2 JP 16968299 A JP16968299 A JP 16968299A JP 16968299 A JP16968299 A JP 16968299A JP 3623399 B2 JP3623399 B2 JP 3623399B2
Authority
JP
Japan
Prior art keywords
steering
steering angle
vehicle
offset
neutral
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP16968299A
Other languages
Japanese (ja)
Other versions
JP2001004313A (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.)
Nissan Motor Co Ltd
Calsonic Kansei Corp
Original Assignee
Nissan Motor Co Ltd
Calsonic Kansei 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 Nissan Motor Co Ltd, Calsonic Kansei Corp filed Critical Nissan Motor Co Ltd
Priority to JP16968299A priority Critical patent/JP3623399B2/en
Publication of JP2001004313A publication Critical patent/JP2001004313A/en
Application granted granted Critical
Publication of JP3623399B2 publication Critical patent/JP3623399B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Measurement Of Length, Angles, Or The Like Using Electric Or Magnetic Means (AREA)
  • Length Measuring Devices By Optical Means (AREA)
  • Transmission And Conversion Of Sensor Element Output (AREA)
  • Power Steering Mechanism (AREA)

Description

【0001】
【発明の属する技術分野】
本発明は操舵角検出装置に関し、特に、舵角センサーの操舵中立点の校正方法を改善したものである。
【0002】
【従来の技術】
一般に、ステアリングホイールの操舵角を検出するために、所定舵角ごとにパルス信号を発生する舵角センサーが用いられる。この舵角センサーの検出舵角から車両が直進する操舵の中立点を検出する方法として、レーザーレーダーを用いて道路沿いに設置されるデリニエーター(反射式道路境界標識)を検出し、その検出結果に基づいて車両が直進しているか否かを判定し、直進判定時の舵角センサーの検出舵角を操舵中立点として舵角センサーの出力を校正するようにした操舵角検出装置が知られている(例えば、特開平10−213446号公報参照)。
【0003】
【発明が解決しようとする課題】
しかしながら、従来の操舵角検出装置では、車両を運行するたびに車両の直進状態を検出して操舵中立点を得ていたので、車両を運行するたびに車両の直進状態を検出するまでは操舵中立点が得られず、それまでの間は舵角センサーの出力が校正されないので操舵角の検出誤差が大きく、舵角検出値により車両の各種制御を行うと制御精度が低下するという問題がある。
【0004】
本発明の目的は、常に正確な操舵角を検出することにある。
【0005】
【課題を解決するための手段】
一実施の形態の舵角演算処理を示す図5〜図9に対応づけて本発明を説明すると、
(1) 請求項1の発明は、ステアリングホイールの所定舵角ごとにパルス信号を出力するとともに、ステアリングホイール1回転ごとに中立位置のパルス信号を出力する舵角センサーを備えた操舵角検出装置であって、舵角センサーの所定舵角ごとのパルス信号を計数するパルス計数手段(図7のS21〜S23)と、車両の直進状態を検出する直進状態検出手段と、車両の直進状態が検出された時のパルス計数手段のパルス計数値を、車両が直進する操舵中立点に設定する操舵中立点設定手段と(図5のS4)、操舵中立点設定値と操舵中立点に最も近接した舵角センサーの中立位置との差をオフセットとして算出するオフセット算出手段(図5のS7)と、オフセットを記憶するオフセット記憶手段(図5のS7)と、オフセット記憶値と操舵中立点に最も近接した舵角センサーの中立位置とに基づいて、車両が直進する操舵中立点を演算する操舵中立点演算手段(図6のS13)と、操舵中立点演算値とパルス計数手段のパルス計数値とに基づいて操舵角を演算する操舵角演算手段(図6のS14)とを備える。
(2) 請求項2の操舵角検出装置は、舵角センサーの中立位置のパルス信号が所定の舵角範囲の幅を有するパルス信号であり、ステアリングホイールの回転にともなって所定舵角範囲の両端を通過する時のパルス計数手段のパルス計数値に基づいて、所定舵角範囲の中央値を演算する中央値演算手段(図8、図9のS31〜S44)を備え、中央値演算手段により演算された中央値を舵角センサーの中立位置とするようにしたものである。
(3) 請求項3の操舵角検出装置は、直進状態検出手段によって、レーザービームを車両前方の水平方向に走査して路側デリニエーターを検出し、デリニエーターの検出結果に基づいて車両の直進状態を検出するようにしたものである。
(4) 請求項4の操舵角検出装置は、直進状態検出手段によって、車両前方を撮像した画像を処理して道路上の白線を検出し、検出した白線の直線性に基づいて車両の直進状態を検出するようにしたものである。
(5) 請求項5の操舵角検出装置は、オフセット算出手段によって車両を運行するたびにオフセットを算出し(図6のS17)、オフセット記憶手段によって新たに算出されたオフセットでオフセット記憶値を更新する(図6のS17)ようにしたものである。
(6) 請求項6の操舵角検出装置は、オフセット算出手段によって車両を運行するたびにオフセットを算出し、オフセット記憶手段によって複数のオフセットの平均値を記憶するようにしたものである。
【0006】
上述した課題を解決するための手段の項では、説明を分かりやすくするために一実施の形態の図を用いたが、これにより本発明が一実施の形態に限定されるものではない。
【0007】
【発明の効果】
(1) 請求項1の発明によれば、一度車両の直進状態を検出して操舵中立点を設定し、操舵中立点設定値と操舵角センサーの中立位置との差をオフセットとして記憶しておき、それ以後の車両運行時にはオフセット記憶値を用いて操舵中立点を演算により求め、操舵中立点演算値により舵角センサーの出力を校正するようにしたので、一度車両の直進状態を検出してオフセットを求めれば、車両を運行するたびに車両の直進状態を検出する必要がなく、常に正確な操舵角を検出することができる。
(2) 請求項2の発明によれば、舵角センサーの中立位置のパルス信号が所定の舵角範囲の幅を有するパルス信号であっても、ステアリングホイールの回転にともなって所定舵角範囲の両端を通過する時のパルス計数手段のパルス計数値に基づいて、所定舵角範囲の中央値を演算し、その中央値を舵角センサーの中立位置とするようにしたので、請求項1と同様な効果が得られる。
(3) 請求項4の発明によれば、車両を運行するたびにオフセットを算出し、新たに算出されたオフセットでオフセット記憶値を更新するようにしたので、より正確なオフセットに変更することができる。
(4) 請求項5の発明によれば、車両を運行するたびにオフセットを算出し、複数のオフセットの平均値を記憶するようにしたので、より正確なオフセットを求めることができ、操舵角の検出精度を向上させることができる。
【0008】
【発明の実施の形態】
図1は一実施の形態の構成を示す図である。
舵角センサー1はステアリングホイールの回転と連動して回転し、中立位置、出力1および出力2の3種類のパルス信号を出力する。この舵角センサー1の出力仕様については後述する。レーダーヘッド2はスキャンニング方式のレーダーヘッドであり、車両前方にレーザービームを照射して先行車や障害物などからの反射光を受光し、先行車や障害物までの距離と方位を検出する。駆動回路2aは、レーダーヘッド2のレーザービームを車両前方の水平方向に走査させるとともに、レーダーヘッド2とコントローラー4との間の通信ラインを駆動するための駆動回路である。また、車速センサー3は車両の走行速度Vsp[km/h]を検出する。
【0009】
コントローラー4はCPU4a、ROM4b、RAM4cなどを備え、後述するプログラムを実行して舵角を演算する。コントローラー4には、後述する舵角のオフセット値を記録するための不揮発性メモリ5が接続される。
【0010】
図2は舵角センサー1の出力仕様を示す。
(a)、(b)に示すように、出力1と出力2は所定の舵角ごとに互いに位相が90度ずれたパルス信号を出力し、ステアリングホイール右転舵時には、(a)に示すように出力1の立ち上がりエッジにおいて出力2がローレベルとなっており、ステアリングホイール左転舵時には、(b)に示すように出力1の立ち上がりエッジにおいて出力2がハイレベルとなっている。
【0011】
舵角センサー1はエンコーダー(不図示)を備え、ステアリングホイールが1回転すると舵角センサー1のエンコーダーも1回転するようにステアリングシャフトと連結される。中立位置信号は、ステアリングホイールが1回転するたびに(c)に示すように舵角20度にわたって(以下、この範囲を中立範囲NZ(Neutral Zone)と呼ぶ)ハイレベルのパルス信号を出力する。この舵角センサー1をステアリングシャフトに連結する際には、中立範囲NZの中央値CNZ(Center of Neutral Zone)が車両を直進させる操舵中立点(以下、記号Nで表す)と一致するように取り付けられるが、取り付け誤差や連結機構に含まれるギアのバックラッシュなどがあるため、中央値CNZを操舵中立点Nに完全に一致させるのは困難である。
【0012】
この明細書では、車両を直進させるための操舵中立点Nを基準にした舵角を記号θ(単位[度])で表し、操舵中立点Nから右に転舵した場合の舵角θを正値とし、左に転舵した場合の舵角θを負値とする。また、舵角センサー1の出力1のパルスカウント値を記号Pで表す。なお、舵角センサー1の出力2のパルスカウント値を用いてもよい。さらに、舵角センサー1の中立範囲NZとその中央値CNZの単位をパルスカウント値(P)で表す。
【0013】
図3は、ステアリングホイールを左右に転舵した時の、舵角センサー1のパルスカウント値P、中立範囲NZの認識番号n(ステアリングホイールの回転数を表し、右回転が(+)、左回転が(−)になる)、および各中立範囲NZの最大パルスカウント値Pmax(n)と最少パルスカウント値Pmin(n)を示す図である。
舵角センサー1の中立位置信号は、ステアリングホイール1回転ごとに中立範囲NZにおいてハイレベルとなる。当初、ステアリングホイールがA点にあったとすると、A点におけるパルスカウント値Pは0であり、A点から右に転舵するとパルスカウント値Pが増加し、A点から左に転舵するとパルスカウント値Pが減少する。
【0014】
ステアリングホイール1回転ごとに現れる中立範囲NZを識別するために、それぞれの中立範囲NZに認識番号nを付して区別する。A点から右に転舵した場合に、最初に現れる中立範囲NZの認識番号を1とし、次に現れる中立範囲NZの認識番号を2とする。逆に、A点から左に転舵した場合に、最初に現れる中立範囲NZの認識番号を−1とし、次に現れる中立範囲NZの認識番号を−2とする。つまり、操舵の初期位置(図3に示す例ではA点)から右に転舵して中立範囲NZに入るたびに認識番号nをインクリメントし、逆に、操舵の初期位置から左に転舵して中立範囲NZを出るたびに認識番号nをデクリメントする。したがって、例えば操舵の初期位置が左フル転舵位置にあった場合には、右転舵1回転ごとに認識番号nが1,2,3,・・・と増加し、逆に操舵の初期位置が右フル転舵位置にあった場合には、左転舵1回転ごとに認識番号nが−1,−2,−3,・・・と減少する。
【0015】
図4は、操舵中立点Nと、操舵中立点Nに最も近接した中立範囲NZの中央値CNZとの関係、およびオフセットαを示す図である。
各中立範囲NZの両端におけるパルスカウント値Pの内、左端の最少のパルスカウント値を中立範囲NZの認識番号nと対応づけて記号Pmin(n)(単位はパルスカウント値(P))で表し、右端の最大のパルスカウント値を中立範囲NZの認識番号nと対応づけて記号Pmax(n)(単位はパルスカウント値(P))で表す。図3に示す例では、認識番号n=1の中立範囲NZの最少パルスカウント値はPmin(1)=30であり、最大パルスカウント値はPmax(1)=70である。また、認識番号n=−1の中立範囲NZの最少パルスカウント値はPmin(−1)=−290であり、最大パルスカウント値はPmax(−1)=−330である。
【0016】
中立範囲NZの中央値CNZは、図4に示すように、各中立範囲NZの最少パルスカウント値Pmin(n)と最大パルスカウント値Pmax(n)とに基づいて次式により求められる。
【数1】
CNZ=(Pmin(n)+Pmax(n))/2
【0017】
左フル転舵位置から右フル転舵位置までステアリングホイールを回転させると、一般の車両では3または5回、中立範囲NZを通過する。これらの中立範囲NZの中で、車両が直進する操舵中立点Nに最も近接した中立範囲NZは1個のみであり、通常は真ん中の中立範囲NZが操舵中立点Nに最も近接した中立範囲NZである。図4に示すように、操舵中立点Nに最も近接した中立範囲の中央値CNZと、操舵中立点Nとの差をオフセットと呼び、記号α(単位はパルスカウント値(P))で表す。
【数2】
α=N−CNZ
【0018】
操舵中立点Nは、車両が直進している時の舵角センサー1のパルスカウント値Pで表す。車両の直進状態の検出には、例えば次のような方法を用いることができる。スキャンニング方式またはマルチビーム方式のレーザーレーダーを用い、路側デリニエーターまでの距離と方位を検出して道路の曲率半径を演算し、曲率半径が所定値以下であれば直線道路を走行中であると判定する(特開平10−213446号公報参照)。また、カメラで車両前方を撮像し、撮像した画像を処理して道路上の白線を検出し、白線の直線性を確認して直進判定を行ってもよい。
【0019】
また、操舵中立点Nに最も近接した中立範囲NZの中央値CNZは、次のようにして求める。
ステアリングホイール1回転ごとに中立範囲NZを通過するが、各中立範囲NZに出入りした回数を認識番号nに対応づけて記号C(n)で表す。この出入り回数C(n)は各中立範囲NZに出入りするたびに単純に1を加算するのではなく、表1に示す出入り時点の車速Vspに応じた車速ポイントvを加算する。
【表1】

Figure 0003623399
【0020】
車速ポイントvは車速Vspが高いほど大きいので、車速Vspが高い時に中立範囲NZに入った場合には、その中立範囲NZの出入り回数C(n)には大きなポイントが加算される。通常、高速で走行している場合には大きな操舵が行われることがなく、また操舵中立点Nに最も近接した中立範囲NZに出入りする可能性が高いので、高速走行時に出入りする中立範囲NZの出入り回数C(n)は大きな値になる。なお、低速走行時には高速走行時に比べて大きな操舵が行われることが多く、また操舵中立点Nに最も近接した中立範囲NZ以外の中立範囲NZに出入りすることも多い。このようにして設定された中立範囲NZごとの出入り回数C(n)の中で、最も数値が大きい中立範囲NZが、操舵中立点Nに最も近接した中立範囲NZである。
【0021】
操舵中立点Nと操舵中立点Nに最も近接した中立範囲NZの中央値CNZとに基づいて、上記数式2からオフセットαを求めて記憶しておけば、車両を運行するたびに車両の直進判定を行って操舵中立点Nを求める必要がなく、操舵中立点Nに最も近接した中立範囲NZの中央値CNZを演算し、オフセット記憶値αを用いて次式により操舵中立点Nを演算により求めることができる。
【数3】
N=CNZ+α
【0022】
操舵中立点Nが得られれば、舵角θを次式により演算することができる。
【数4】
θ=k(P−N)
上式において、kは舵角センサー1のパルスカウント値Pを舵角θに換算するための係数である。
【0023】
なお、操舵の初期位置(図3に示す例ではA点)は、車両の運行を開始した時、すなわちイグニッションキーをオンした時の位置とする。したがって、イグニッションキーをオンするたびに、舵角センサー1のパルスカウント値P、中立範囲NZの認識番号n、中立範囲NZごとの最少パルスカウント値Pmin(n)と最大パルスカウント値Pmax(n)、各中立範囲NZの出入り回数C(n)をそれぞれ0に初期化する。
【0024】
図5〜図9は、コントローラー4のROM4bに格納されている舵角演算プログラムを示すフローチャートである。これらのフローチャートにより、一実施の形態の動作を説明する。
【0025】
まず、図7に示す割込処理1ルーチンにより、舵角センサー1のパルスカウント値Pの計数処理を説明する。
舵角センサー1の出力1の立ち上がりエッジでCPU4aに割り込みがかかり、CPU4aはこの割込処理1ルーチンを実行する。ステップ21において、出力1の立ち上がり時点において出力2がローレベルであるか否かを判定する。出力1の立ち上がり時点で出力2がローレベルであればステップ22へ進み、図2(a)に示すようにステアリングホイールが右転舵されていると判断し、パルスカウント値Pをインクリメントする。一方、出力1の立ち上がり時点で出力2がハイレベルであればステップ23へ進み、図2(b)に示すようにステアリングホイールが左転舵されていると判断し、パルスカウント値Pをデクリメントする。以上の処理が終了したら図5、図6に示す舵角演算プログラムへリターンする。
【0026】
次に、図8、図9に示す割込処理2ルーチンにより、操舵中立点Nに最も近接した中立範囲NZの中央値CNZの演算処理を説明する。
図2(c)に示す中立位置信号の立ち上がりエッジまたは立ち下がりエッジにおいてCPU4aに割り込みがかかり、CPU4aはこの割込処理2ルーチンを実行する。ステップ31において、操舵にともなって舵角センサー1の中立範囲NZに入ったかどうかを確認する。図2(c)に示すように、舵角センサー1の中立位置信号がローレベルからハイレベルに立ち上がったら中立範囲NZに入ったと判定する。
【0027】
中立範囲NZに入ったらステップ32へ進み、ステアリングホイールが右転舵されて中立範囲NZに入ったかどうかを確認する。舵角センサー1のパルスカウント値Pが増加している時に中立位置信号が立ち上がった場合は、右転舵で中立範囲NZに入ったと判定する。逆に、舵角センサー1のパルスカウント値Pが減少している時に中立位置信号が立ち上がった場合は、左転舵で中立範囲NZに入ったと判定する。
【0028】
右転舵で中立範囲NZに入った場合はステップ33へ進み、中立範囲NZの認識番号nをインクリメントする。続くステップ34で、右転舵で中立範囲NZに入った時点のパルスカウント値Pを、現在の認識番号nの中立範囲NZの最少パルスカウント値Pmin(n)に設定するとともに、右転舵で中立範囲NZに入った時点の車速Vspに応じた車速ポイントvを、現在の認識番号nの中立範囲NZの出入り回数C(n)に加算する。
【0029】
一方、左転舵で中立範囲NZに入った時はステップ35へ進み、左転舵で中立範囲NZに入った時点のパルスカウント値Pを、現在の認識番号nの中立範囲NZの最大パルスカウント値Pmax(n)に設定するとともに、左転舵で中立範囲NZに入った時点の車速Vspに応じた車速ポイントvを、現在の認識番号nの中立範囲NZの出入り回数C(n)に加算する。
【0030】
ステップ31で中立範囲NZに入っていないと判定された場合は中立範囲を出たと判断し、ステップ36へ進む。ステップ36では右転舵で中立範囲NZを出たかどうかを確認する。舵角センサー1のパルスカウント値Pが増加している時に中立位置信号が立ち下がった場合は、右転舵で中立範囲NZを出た判定する。逆に、舵角センサー1のパルスカウント値Pが減少している時に中立位置信号が立ち下がった場合は、左転舵で中立範囲NZを出たと判断する。
【0031】
右転舵で中立範囲NZを出た場合はステップ37へ進み、右転舵で中立範囲NZを出た時点のパルスカウント値Pを、現在の認識番号nの中立範囲NZの最大パルスカウント値Pmax(n)に設定するとともに、右転舵で中立範囲NZを出た時点の車速Vspに応じた車速ポイントvを、現在の認識番号nの中立範囲NZの出入り回数C(n)に加算する。
【0032】
一方、左転舵で中立範囲NZを出た場合はステップ38へ進み、左転舵で中立範囲NZを出た時点のパルスカウント値Pを、現在の認識番号nの中立範囲NZの最少パルスカウント値Pmin(n)に設定するとともに、左転舵で中立範囲NZを出た時点の車速Vspに応じた車速ポイントvを、現在の認識番号nの中立範囲NZの出入り回数C(n)に加算する。続くステップ39で、中立範囲NZの認識番号nをデクリメントする。
【0033】
ステップ41において、各中立範囲NZの出入り回数C(n)の最大値とその次に大きい値を抽出する。そして、ステップ42で出入り回数C(n)の最大値とその次に大きい値との差が16以上あるか否かを判定する。この実施の形態では、中立範囲NZの出入り回数C(n)に加算する車速Vspに応じた車速ポイントvを、表1に示すように決定した。この車速ポイントvを加算した場合には、出入り回数C(n)の最大値とその次に大きい値との差が16以上あれば、最大回数C(n)に対応する中立範囲NZが操舵中立点Nに最も近接した中立範囲NZであると判定しても、その判定の信頼性は高いと考えられる。差が16未満の場合には、さらに出入り回数C(n)のデータを積み重ねて判定の信頼性を上げる必要があり、図5、図6に示すプログラムへリターンする。なお、車速ポイントvおよび判定基準値16はこの実施の形態の値に限定されない。
【0034】
出入り回数C(n)の最大値とその次に大きい値との差が16以上ある場合はステップ43へ進み、最大回数C(n)の中立範囲NZの最大パルスカウント値Pmax(n)と最少パルスカウント値Pmin(n)に値が入っているかどうかを確認する。最大、最少パルスカウント値Pmax(n)、Pmin(n)はイグニッションオン時に0に初期化されているので、それらの値のいずれかが0のままであれば一度もその中立範囲NZを通過したことがないと考えられ、中央値CNZを演算することができないので、図5、図6に示すプログラムへリターンする。
【0035】
一方、最大回数C(n)の中立範囲NZの最大パルスカウント値Pmax(n)と最少パルスカウント値Pmin(n)に値が入っている時はステップ44へ進み、最大回数C(n)の中立範囲NZの最大、最少パルスカウント値Pmax(n)、Pmin(n)を用いて、数式1により操舵中立点Nに最も近接した中立範囲NZの中央値CNZを演算する。その後、図5、図6に示すプログラムへリターンする。
【0036】
次に、図5、図6に示すフローチャートにより、舵角演算処理を説明する。
コントローラー4のCPU4aは、イグニッションキースイッチがオンするとこのプログラムの実行を開始する。ステップ1において、舵角センサー1のパルスカウント値P、中立範囲NZごとの最大パルスカウント値Pmax(n)と最少パルスカウント値Pmin(n)、中立範囲NZの識別番号nおよび各中立範囲NZごとの出入り回数C(n)の値をそれぞれ0に初期化する。さらに、上述した割込処理1(図7参照)と割込処理2(図8、図9参照)の割り込みを許可する。
【0037】
ステップ2で舵角θを0に初期化してステップ3へ進み、上述した方法により車両の直進判定を行う。車両が直進していると判定されるとステップ4へ進み、直進判定がない場合はステップ11へ進む。
【0038】
車両の直進判定がなされた場合には、ステップ4で直進判定時の舵角センサー1のパルスカウント値Pを操舵中立点Nに設定する。続くステップ5で、操舵中立点Nを用いて数式4により舵角θを演算する。なお、ステップ4で操舵中立点Nを設定してから操舵が全く行われなかった場合には、ステップ5における舵角θの演算結果は0、つまりステアリングホイールは車両を直進走行させる中立位置にある。
【0039】
ステップ6において、上述した割込処理2により操舵中立点Nに最も近接した中立範囲NZの中央値CNZが求められたかどうかを確認し、中央値CNZが求められている時はステップ7へ進み、まだ求められていない時はステップ5へ戻って舵角演算処理を繰り返す。
【0040】
操舵中立点Nに最も近接した中立範囲NZの中央値CNZが求められている時は、ステップ7で操舵中立点Nと操舵中立点Nに最も近接した中立範囲NZの中央値CNZとを用いて、上記数式2によりオフセットαを演算し、不揮発性メモリ5へ記憶する。その後、ステップ8へ進み、イグニッションキースイッチがオフされるまで、舵角センサー1のパルスカウント値Pと操舵中立点Nとに基づいて上記数式4により舵角θを演算する。
【0041】
車両の直進判定がない場合は、ステップ11において、上述した割込処理2により操舵中立点Nに最も近接した中立範囲NZの中央値CNZが求められたかどうかを確認し、中央値CNZが求められている時はステップ12へ進み、まだ求められていない時はステップ2へ戻って上記処理を繰り返す。
【0042】
中央値CNZが求められている時は、ステップ12で不揮発性メモリ5に記憶されているオフセットαが所定範囲内の値かどうかを確認する。オフセットαは、図4に示すように中立範囲NZ内にあるはずであり、前記所定範囲には中立範囲NZよりわずかに広い範囲を設定する。車両完成時または舵角検出装置交換時には、オフセットαに割り当てられたメモリ容量の最大値が記憶されており、ステップ3で直進判定がなされてステップ7でオフセットαが演算されると、その演算値で不揮発性メモリ5の記憶値が更新される。したがって、一度でもオフセットαが求められていればオフセットαの記憶値は所定範囲内にあるはずであり、ステップ13へ進む。一度もオフセットαが求められていなければオフセットαの記憶値は所定範囲よりも大きい値であるから、ステップ2へ戻って上記処理を繰り返す。
【0043】
操舵中立点Nに最も近接した中立範囲NZの中央値CNZとオフセットαとが求められている時は、ステップ13で上記数式3により操舵中立点Nを演算する。続くステップ14で、舵角センサー1のパルスカウント値Pと操舵中立点Nとに基づいて上記数式4により舵角θを演算する。
【0044】
ステップ15において、上述した方法により車両の直進判定を行う。車両が直進していると判定されるとステップ16へ進み、直進判定がない場合はステップ14へ戻って舵角θの演算を繰り返す。
【0045】
車両の直進判定がなされた時は、ステップ16で直進判定時の舵角センサー1のパルスカウント値Pを操舵中立点Nに設定する。続くステップ17で、操舵中立点Nと操舵中立点Nに最も近接した中立範囲NZの中央値CNZとを用いて、上記数式2によりオフセットαを演算し、不揮発性メモリ5の記憶値を更新する。その後、ステップ18へ進み、イグニッションキースイッチがオフされるまで、舵角センサー1のパルスカウント値Pと操舵中立点Nとに基づいて上記数式4により舵角θを演算する。
【0046】
このように、一度車両の直進状態を検出して操舵中立点Nを求めるとともに、操舵中立点Nに近接した中立範囲NZの中央値CNZを演算し、操舵中立点Nと操舵中立点Nに近接した中立範囲NZの中央値CNZとの差をオフセットαとして記憶しておき、それ以後の車両運行時にはオフセットαの記憶値を用いて操舵中立点Nを演算により求め、操舵中立点Nの演算値により舵角センサー1の出力を校正するようにしたので、一度車両の直進状態を検出してオフセットを求めれば、車両を運行するたびに車両の直進状態を検出する必要がなく、常に正確な操舵角を検出することができる。
【0047】
この舵角検出装置により検出された舵角θは、車両の各種制御に用いられる。例えば、スキャンニング方式またはマルチビーム方式のレーザーヘッドを用いて路側デリニエーターを検出し、検出結果に基づいて道路の曲率を演算し、曲線路での先行車追従制御や車両の挙動制御を行う場合に、路側にデリニエーターが設置されていない道路では曲率が算出できず、曲線路が検出できない。そこで、路側デリニエーターが検出できない時は、ステアリングホイールの舵角を用いて道路の曲率を推定し、曲線路を検出することが考えられるが、舵角が正確でないと曲率の推定誤差が大きくなり、曲線路を正確に検出できなくなって先行車追従制御や車両の挙動制御の制御性能が低下する。このような場合に、本願発明の舵角検出装置により検出した正確な舵角を用いることによって、デリニエーターを検出できない場合でも、正確な道路曲率と曲線路を検出でき、先行車追従制御や車両の挙動制御における制御性能の低下を防止できる。
【0048】
なお、上述した一実施の形態では、図2(c)に示すような中立範囲NZ、すなわち所定の舵角範囲でハイレベルとなる中立位置信号を出力する舵角センサー1を例に上げて説明したが、中立位置において狭い幅のパルス信号を出力する舵角センサーを用いてもよい。その場合には、上記実施の形態で説明した中立範囲NZの中央値CNZの演算を省略することができる。
【0049】
また、ステップ17のオフセットαの更新において、車両の運行の都度算出されるオフセットαを不揮発性メモリ5に順次記憶しておき、複数の記憶値の単純平均あるいは移動平均により最終的なオフセットαを求め、そのオフセットαを用いて操舵中立点Nを演算するようにしてもよい。この方法によれば、さらに正確な操舵中立点Nを求めることができ、舵角θの検出精度を向上させることができる。
【0050】
さらに、図5のステップ3〜7のオフセットαの演算と記憶処理は、車両の工場出荷時の走行試験時に行うことができ、そのようにすれば、車両がユーザーにわたった時にはすでにオフセットαが記憶されているので、ユーザーの使用開始時点から正確な操舵角を検出することができる。
【0051】
以上の実施の形態の構成において、舵角センサー1が舵角センサーを、コントローラー4がパルス計数手段、直進状態検出手段、オフセット算出手段、操舵中立点演算手段、操舵角演算手段および中央値演算手段を、不揮発性メモリ5がオフセット記憶手段をそれぞれ構成する。
【図面の簡単な説明】
【図1】一実施の形態の構成を示す図である。
【図2】舵角センサーの出力仕様を示す図である。
【図3】ステアリングホイールを左右に転舵した時の、舵角センサーのパルスカウント値P、中立範囲NZの認識番号n、および各中立範囲NZの最大パルスカウント値Pmax(n)と最少パルスカウント値Pmin(n)を示す図である。
【図4】操舵中立点Nと、操舵中立点Nに最も近接した中立範囲NZの中央値CNZとの関係、およびオフセットαを示す図である。
【図5】舵角演算プログラムを示すフローチャートである。
【図6】図5に続く、舵角演算プログラムを示すフローチャートである。
【図7】割込処理1ルーチンを示すフローチャートである。
【図8】割込処理2ルーチンを示すフローチャートである。
【図9】図8に続く、割込処理2ルーチンを示すフローチャートである。
【符号の説明】
1 舵角センサー
2 レーダーヘッド
2a 駆動回路
3 車速センサー
4 コントローラー
4a CPU
4b ROM
4c RAM
5 不揮発性メモリ[0001]
BACKGROUND OF THE INVENTION
The present invention relates to a steering angle detection device, and in particular, an improved method for calibrating a steering neutral point of a steering angle sensor.
[0002]
[Prior art]
In general, a steering angle sensor that generates a pulse signal for each predetermined steering angle is used to detect the steering angle of the steering wheel. As a method of detecting the steering neutral point where the vehicle goes straight from the detected steering angle sensor, a delineator (reflective road boundary sign) installed along the road is detected using a laser radar. There is known a steering angle detection device that determines whether or not the vehicle is traveling straight, and calibrates the output of the steering angle sensor with the detected steering angle of the rudder angle sensor at the time of straight traveling as the steering neutral point. (For example, refer to JP-A-10-213446).
[0003]
[Problems to be solved by the invention]
However, since the conventional steering angle detection device detects the straight traveling state of the vehicle every time the vehicle is operated and obtains the steering neutral point, the steering neutral state is detected until the straight traveling state of the vehicle is detected every time the vehicle is operated. Since no points are obtained and the output of the steering angle sensor is not calibrated until then, there is a large detection error of the steering angle, and there is a problem that the control accuracy decreases when various controls of the vehicle are performed using the detected steering angle value.
[0004]
An object of the present invention is to always detect an accurate steering angle.
[0005]
[Means for Solving the Problems]
The present invention will be described with reference to FIGS. 5 to 9 showing the steering angle calculation process of the embodiment.
(1) The invention of claim 1 is a steering angle detection device including a steering angle sensor that outputs a pulse signal for each predetermined steering angle of the steering wheel and outputs a pulse signal of a neutral position for each rotation of the steering wheel. The pulse counting means (S21 to S23 in FIG. 7) for counting the pulse signal for each predetermined steering angle of the steering angle sensor, the straight traveling state detecting means for detecting the straight traveling state of the vehicle, and the straight traveling state of the vehicle are detected. A steering neutral point setting means for setting the pulse count value of the pulse counting means to the steering neutral point where the vehicle goes straight (S4 in FIG. 5), the steering neutral point setting value and the steering angle closest to the steering neutral point Offset calculation means (S7 in FIG. 5) for calculating the difference from the sensor neutral position as an offset, offset storage means (S7 in FIG. 5) for storing the offset, and offset stored value And a steering neutral point calculation means (S13 in FIG. 6) for calculating a steering neutral point where the vehicle goes straight on the basis of the neutral position of the steering angle sensor closest to the steering neutral point, a steering neutral point calculation value and a pulse count Steering angle calculation means (S14 in FIG. 6) for calculating the steering angle based on the pulse count value of the means.
(2) The steering angle detection device according to claim 2 is a pulse signal in which the pulse signal at the neutral position of the steering angle sensor has a width of a predetermined steering angle range, and both ends of the predetermined steering angle range as the steering wheel rotates. Is provided with median computing means (S31 to S44 in FIG. 8 and FIG. 9) for computing the median value of the predetermined steering angle range based on the pulse count value of the pulse counting means when passing the vehicle. The calculated median value is set as the neutral position of the rudder angle sensor.
(3) In the steering angle detection device according to claim 3, the straight traveling state detection means scans the laser beam in the horizontal direction in front of the vehicle to detect the roadside delineator, and detects the straight traveling state of the vehicle based on the detection result of the delineator. It is what you do.
(4) In the steering angle detecting device according to claim 4, the straight line state detection means processes an image captured in front of the vehicle to detect a white line on the road, and the straight line state of the vehicle based on the linearity of the detected white line. Is to be detected.
(5) The steering angle detecting device according to claim 5 calculates an offset every time the vehicle is operated by the offset calculating means (S17 in FIG. 6), and updates the offset stored value with the offset newly calculated by the offset storing means. (S17 in FIG. 6).
(6) In the steering angle detection device according to the sixth aspect, the offset is calculated every time the vehicle is operated by the offset calculation means, and the average value of the plurality of offsets is stored by the offset storage means.
[0006]
In the section of the means for solving the above-described problem, a diagram of an embodiment is used for easy understanding of the description. However, the present invention is not limited to the embodiment.
[0007]
【The invention's effect】
(1) According to the first aspect of the present invention, the vehicle is once detected to set the steering neutral point, and the difference between the steering neutral point set value and the neutral position of the steering angle sensor is stored as an offset. Since the steering neutral point is calculated using the stored offset value during subsequent vehicle operations, and the steering angle sensor output is calibrated using the steering neutral point calculated value, the vehicle's straight-ahead state is detected once and offset. Therefore, it is not necessary to detect the straight traveling state of the vehicle every time the vehicle is operated, and an accurate steering angle can always be detected.
(2) According to the invention of claim 2, even if the pulse signal at the neutral position of the rudder angle sensor is a pulse signal having a width of a predetermined rudder angle range, as the steering wheel rotates, Since the median value of the predetermined rudder angle range is calculated based on the pulse count value of the pulse counting means when passing through both ends, and the median value is set as the neutral position of the rudder angle sensor, the same as in claim 1 Effects can be obtained.
(3) According to the invention of claim 4, since the offset is calculated every time the vehicle is operated and the offset stored value is updated with the newly calculated offset, the offset can be changed to a more accurate offset. it can.
(4) According to the invention of claim 5, since the offset is calculated every time the vehicle is operated and the average value of a plurality of offsets is stored, a more accurate offset can be obtained, and the steering angle Detection accuracy can be improved.
[0008]
DETAILED DESCRIPTION OF THE INVENTION
FIG. 1 is a diagram showing a configuration of an embodiment.
The steering angle sensor 1 rotates in conjunction with the rotation of the steering wheel, and outputs three kinds of pulse signals of neutral position, output 1 and output 2. The output specification of the rudder angle sensor 1 will be described later. The radar head 2 is a scanning type radar head, which irradiates a laser beam in front of the vehicle to receive reflected light from a preceding vehicle or an obstacle, and detects the distance and direction to the preceding vehicle or the obstacle. The drive circuit 2a is a drive circuit for driving the communication line between the radar head 2 and the controller 4 while scanning the laser beam of the radar head 2 in the horizontal direction in front of the vehicle. Further, the vehicle speed sensor 3 detects a traveling speed Vsp [km / h] of the vehicle.
[0009]
The controller 4 includes a CPU 4a, a ROM 4b, a RAM 4c, and the like, and calculates a steering angle by executing a program described later. The controller 4 is connected to a non-volatile memory 5 for recording a steering angle offset value, which will be described later.
[0010]
FIG. 2 shows the output specifications of the rudder angle sensor 1.
As shown in (a) and (b), output 1 and output 2 output pulse signals whose phases are shifted from each other by 90 degrees for each predetermined steering angle. As shown in FIG. At the rising edge of the output 1, the output 2 is at the low level, and when turning the steering wheel left, the output 2 is at the high level at the rising edge of the output 1 as shown in FIG.
[0011]
The rudder angle sensor 1 includes an encoder (not shown), and is connected to the steering shaft so that when the steering wheel rotates once, the encoder of the rudder angle sensor 1 also rotates once. As shown in (c), the neutral position signal outputs a high-level pulse signal over a steering angle of 20 degrees (hereinafter, this range is referred to as a neutral range NZ) as shown in (c). When this rudder angle sensor 1 is connected to the steering shaft, it is attached so that the median value CNZ (Center of Neutral Zone) of the neutral range NZ coincides with a steering neutral point (hereinafter represented by the symbol N) for straightening the vehicle. However, it is difficult to completely match the median value CNZ with the steering neutral point N due to an attachment error, a gear backlash included in the coupling mechanism, and the like.
[0012]
In this specification, the steering angle based on the steering neutral point N for moving the vehicle straight is represented by the symbol θ (unit [degree]), and the steering angle θ when the steering is turned right from the steering neutral point N is correct. The steering angle θ when turning to the left is a negative value. The pulse count value of the output 1 of the rudder angle sensor 1 is represented by the symbol P. Note that the pulse count value of the output 2 of the rudder angle sensor 1 may be used. Further, the unit of the neutral range NZ and the median value CNZ of the rudder angle sensor 1 is represented by a pulse count value (P).
[0013]
FIG. 3 shows the pulse count value P of the steering angle sensor 1 and the identification number n of the neutral range NZ when the steering wheel is turned to the left and right (representing the number of rotations of the steering wheel, clockwise rotation is (+), counterclockwise rotation) Is (−)), and shows the maximum pulse count value Pmax (n) and the minimum pulse count value Pmin (n) of each neutral range NZ.
The neutral position signal of the steering angle sensor 1 becomes a high level in the neutral range NZ for each rotation of the steering wheel. If the steering wheel is initially at point A, the pulse count value P at point A is 0, the pulse count value P increases when turning from point A to the right, and the pulse count value when turning from point A to the left. The value P decreases.
[0014]
In order to identify the neutral range NZ that appears for each rotation of the steering wheel, each neutral range NZ is identified with an identification number n. When turning to the right from the point A, the recognition number of the neutral range NZ that appears first is set to 1, and the recognition number of the neutral range NZ that appears next is set to 2. On the contrary, when turning to the left from the point A, the recognition number of the neutral range NZ that appears first is set to -1, and the recognition number of the neutral range NZ that appears next is set to -2. That is, each time the steering wheel is turned right from the initial steering position (point A in the example shown in FIG. 3) and enters the neutral range NZ, the recognition number n is incremented. Each time the neutral range NZ is exited, the identification number n is decremented. Therefore, for example, when the initial steering position is at the left full steering position, the recognition number n is increased to 1, 2, 3,... Is at the right full turning position, the recognition number n is decreased to -1, -2, -3,.
[0015]
FIG. 4 is a diagram showing the relationship between the steering neutral point N and the median value CNZ of the neutral range NZ closest to the steering neutral point N, and the offset α.
Of the pulse count values P at both ends of each neutral range NZ, the smallest pulse count value at the left end is associated with the identification number n of the neutral range NZ and expressed by the symbol Pmin (n) (unit: pulse count value (P)). The maximum pulse count value at the right end is associated with the identification number n of the neutral range NZ and is represented by the symbol Pmax (n) (unit: pulse count value (P)). In the example shown in FIG. 3, the minimum pulse count value of the neutral range NZ with the identification number n = 1 is Pmin (1) = 30, and the maximum pulse count value is Pmax (1) = 70. Further, the minimum pulse count value in the neutral range NZ of the identification number n = −1 is Pmin (−1) = − 290, and the maximum pulse count value is Pmax (−1) = − 330.
[0016]
As shown in FIG. 4, the median value CNZ of the neutral range NZ is obtained by the following equation based on the minimum pulse count value Pmin (n) and the maximum pulse count value Pmax (n) of each neutral range NZ.
[Expression 1]
CNZ = (Pmin (n) + Pmax (n)) / 2
[0017]
When the steering wheel is rotated from the left full steering position to the right full steering position, the vehicle passes through the neutral range NZ 3 or 5 times in a general vehicle. Among these neutral ranges NZ, there is only one neutral range NZ closest to the steering neutral point N where the vehicle goes straight. Normally, the neutral range NZ is closest to the steering neutral point N. It is. As shown in FIG. 4, the difference between the median value CNZ of the neutral range closest to the steering neutral point N and the steering neutral point N is called an offset, and is represented by the symbol α (unit: pulse count value (P)).
[Expression 2]
α = N-CNZ
[0018]
The steering neutral point N is represented by a pulse count value P of the steering angle sensor 1 when the vehicle is traveling straight. For example, the following method can be used to detect the straight traveling state of the vehicle. Scanning or multi-beam laser radar is used to calculate the radius of curvature of the road by detecting the distance and direction to the roadside delineator. If the radius of curvature is less than the specified value, it is determined that the vehicle is traveling on a straight road. (See Japanese Patent Laid-Open No. 10-213446). Alternatively, the front of the vehicle may be imaged with a camera, the captured image may be processed to detect a white line on the road, and straightness may be determined by confirming the linearity of the white line.
[0019]
Further, the median value CNZ of the neutral range NZ closest to the steering neutral point N is obtained as follows.
Although it passes through the neutral range NZ for each rotation of the steering wheel, the number of times of entering and exiting each neutral range NZ is represented by the symbol C (n) in association with the recognition number n. This entry / exit number C (n) is not simply incremented by 1 each time entering / exiting each neutral range NZ, but a vehicle speed point v corresponding to the vehicle speed Vsp at the entry / exit shown in Table 1 is added.
[Table 1]
Figure 0003623399
[0020]
Since the vehicle speed point v increases as the vehicle speed Vsp increases, when the vehicle enters the neutral range NZ when the vehicle speed Vsp is high, a large point is added to the number of entry / exit C (n) of the neutral range NZ. Usually, when traveling at high speed, large steering is not performed, and there is a high possibility that the vehicle enters and exits the neutral range NZ closest to the steering neutral point N. The entry / exit count C (n) is a large value. In many cases, large steering is performed during low-speed traveling as compared with high-speed traveling, and the vehicle enters and exits a neutral range NZ other than the neutral range NZ closest to the steering neutral point N. The neutral range NZ having the largest numerical value among the entry / exit times C (n) for each neutral range NZ set in this way is the neutral range NZ closest to the steering neutral point N.
[0021]
Based on the steering neutral point N and the median value CNZ of the neutral range NZ that is closest to the steering neutral point N, if the offset α is obtained from the equation 2 and stored, it is determined whether the vehicle is going straight every time the vehicle is operated. To calculate the center value CNZ of the neutral range NZ that is closest to the steering neutral point N, and calculate the steering neutral point N by the following equation using the offset stored value α. be able to.
[Equation 3]
N = CNZ + α
[0022]
If the steering neutral point N is obtained, the steering angle θ can be calculated by the following equation.
[Expression 4]
θ = k (P−N)
In the above equation, k is a coefficient for converting the pulse count value P of the rudder angle sensor 1 into the rudder angle θ.
[0023]
Note that the initial steering position (point A in the example shown in FIG. 3) is the position when the operation of the vehicle is started, that is, when the ignition key is turned on. Therefore, each time the ignition key is turned on, the pulse count value P of the steering angle sensor 1, the identification number n of the neutral range NZ, the minimum pulse count value Pmin (n) and the maximum pulse count value Pmax (n) for each neutral range NZ The number C (n) of entering / exiting each neutral range NZ is initialized to 0, respectively.
[0024]
5 to 9 are flowcharts showing the steering angle calculation program stored in the ROM 4 b of the controller 4. The operation of the embodiment will be described with reference to these flowcharts.
[0025]
First, the counting process of the pulse count value P of the steering angle sensor 1 will be described with reference to the interruption process 1 routine shown in FIG.
The CPU 4a is interrupted at the rising edge of the output 1 of the rudder angle sensor 1, and the CPU 4a executes this interrupt processing 1 routine. In step 21, it is determined whether or not the output 2 is at a low level at the time when the output 1 rises. If the output 2 is at a low level when the output 1 rises, the process proceeds to step 22, and it is determined that the steering wheel is steered to the right as shown in FIG. 2 (a), and the pulse count value P is incremented. On the other hand, if the output 2 is at the high level when the output 1 rises, the process proceeds to step 23, where it is determined that the steering wheel is steered to the left as shown in FIG. 2B, and the pulse count value P is decremented. . When the above processing is completed, the process returns to the steering angle calculation program shown in FIGS.
[0026]
Next, the calculation process of the median value CNZ of the neutral range NZ closest to the steering neutral point N will be described by the interruption process 2 routine shown in FIGS.
The CPU 4a is interrupted at the rising edge or falling edge of the neutral position signal shown in FIG. 2C, and the CPU 4a executes this interrupt processing 2 routine. In step 31, it is confirmed whether or not the steering angle sensor 1 has entered the neutral range NZ with steering. As shown in FIG. 2C, when the neutral position signal of the rudder angle sensor 1 rises from a low level to a high level, it is determined that the vehicle has entered the neutral range NZ.
[0027]
When entering the neutral range NZ, the routine proceeds to step 32, where it is confirmed whether or not the steering wheel is turned to the right and enters the neutral range NZ. If the neutral position signal rises when the pulse count value P of the steering angle sensor 1 is increasing, it is determined that the vehicle has entered the neutral range NZ by turning right. Conversely, if the neutral position signal rises when the pulse count value P of the rudder angle sensor 1 is decreasing, it is determined that the vehicle has entered the neutral range NZ by turning left.
[0028]
If the vehicle enters the neutral range NZ by turning right, the process proceeds to step 33, and the recognition number n of the neutral range NZ is incremented. In the next step 34, the pulse count value P at the time of entering the neutral range NZ by turning right is set to the minimum pulse count value Pmin (n) of the neutral range NZ of the current recognition number n, and by turning right. The vehicle speed point v corresponding to the vehicle speed Vsp at the time of entering the neutral range NZ is added to the number C (n) of entering / exiting the neutral range NZ of the current recognition number n.
[0029]
On the other hand, when the vehicle enters the neutral range NZ by turning left, the process proceeds to step 35, and the pulse count value P when the vehicle enters the neutral range NZ by turning left is used as the maximum pulse count of the neutral range NZ of the current recognition number n. The vehicle speed point v corresponding to the vehicle speed Vsp at the time of entering the neutral range NZ by turning left is added to the number P (n) of entering / exiting the neutral range NZ of the current recognition number n. To do.
[0030]
If it is determined in step 31 that it is not within the neutral range NZ, it is determined that the neutral range has been exited, and the routine proceeds to step 36. In step 36, it is confirmed whether or not the vehicle has left the neutral range NZ by turning right. If the neutral position signal falls while the pulse count value P of the steering angle sensor 1 is increasing, it is determined that the neutral range NZ has been left by turning right. Conversely, if the neutral position signal falls when the pulse count value P of the rudder angle sensor 1 is decreasing, it is determined that the neutral range NZ has been left by turning left.
[0031]
When the neutral range NZ is exited by turning right, the process proceeds to step 37, and the pulse count value P when the neutral range NZ is exited by turning right is determined as the maximum pulse count value Pmax of the neutral range NZ of the current recognition number n. In addition to setting to (n), the vehicle speed point v corresponding to the vehicle speed Vsp at the time of exiting the neutral range NZ by turning right is added to the number C (n) of entering / exiting the neutral range NZ of the current recognition number n.
[0032]
On the other hand, if the neutral range NZ is exited by left steering, the process proceeds to step 38, and the pulse count value P when the neutral range NZ is exited by left steering is determined as the minimum pulse count of the neutral range NZ of the current recognition number n. Set to the value Pmin (n) and add the vehicle speed point v corresponding to the vehicle speed Vsp at the time of leaving the neutral range NZ by left turning to the number of entry / exit C (n) of the neutral range NZ of the current recognition number n To do. In the subsequent step 39, the recognition number n of the neutral range NZ is decremented.
[0033]
In step 41, the maximum value and the next largest value of the number of entry / exit C (n) in each neutral range NZ are extracted. In step 42, it is determined whether or not there is a difference of 16 or more between the maximum value of the number of entry / exit C (n) and the next largest value. In this embodiment, the vehicle speed point v corresponding to the vehicle speed Vsp to be added to the number of entry / exit C (n) of the neutral range NZ is determined as shown in Table 1. When the vehicle speed point v is added, if the difference between the maximum value of the number of entry / exit C (n) and the next largest value is 16 or more, the neutral range NZ corresponding to the maximum number of times C (n) becomes the steering neutral. Even if it is determined that the neutral range NZ is closest to the point N, the reliability of the determination is considered high. If the difference is less than 16, it is necessary to further increase the reliability of determination by accumulating data of the number of times of entry / exit C (n), and the process returns to the programs shown in FIGS. The vehicle speed point v and the determination reference value 16 are not limited to the values in this embodiment.
[0034]
If there is a difference of 16 or more between the maximum value of the number of entry / exit C (n) and the next largest value, the routine proceeds to step 43, where the maximum pulse count value Pmax (n) in the neutral range NZ of the maximum number of times C (n) is the minimum. It is confirmed whether or not the pulse count value Pmin (n) has a value. Since the maximum and minimum pulse count values Pmax (n) and Pmin (n) are initialized to 0 when the ignition is turned on, if any of these values remains 0, the neutral range NZ has been passed through once. Since the median value CNZ cannot be calculated, the program returns to the program shown in FIGS.
[0035]
On the other hand, when the maximum pulse count value Pmax (n) and the minimum pulse count value Pmin (n) in the neutral range NZ of the maximum number C (n) are set, the process proceeds to step 44, where the maximum number C (n) Using the maximum and minimum pulse count values Pmax (n) and Pmin (n) of the neutral range NZ, the median value CNZ of the neutral range NZ that is closest to the steering neutral point N is calculated using Equation 1. Thereafter, the program returns to the program shown in FIGS.
[0036]
Next, the steering angle calculation process will be described with reference to the flowcharts shown in FIGS.
The CPU 4a of the controller 4 starts executing this program when the ignition key switch is turned on. In step 1, the pulse count value P of the steering angle sensor 1, the maximum pulse count value Pmax (n) and the minimum pulse count value Pmin (n) for each neutral range NZ, the identification number n of the neutral range NZ, and each neutral range NZ The number of times C (n) enters and exits is initialized to 0. Further, the interrupts of the interrupt process 1 (see FIG. 7) and the interrupt process 2 (see FIGS. 8 and 9) described above are permitted.
[0037]
In step 2, the steering angle θ is initialized to 0, and the process proceeds to step 3 to determine whether the vehicle is traveling straight by the method described above. If it is determined that the vehicle is traveling straight, the process proceeds to step 4. If there is no straight traveling determination, the process proceeds to step 11.
[0038]
If it is determined that the vehicle is traveling straight, the pulse count value P of the rudder angle sensor 1 at the time of straight traveling determination is set to the steering neutral point N in step 4. In the following step 5, the steering angle θ is calculated by the equation 4 using the steering neutral point N. If no steering is performed after setting the steering neutral point N in step 4, the calculation result of the steering angle θ in step 5 is 0, that is, the steering wheel is in a neutral position where the vehicle travels straight. .
[0039]
In step 6, it is confirmed whether or not the median value CNZ of the neutral range NZ closest to the steering neutral point N has been obtained by the interruption process 2 described above. When the median value CNZ is obtained, the process proceeds to step 7. If not yet determined, the process returns to step 5 to repeat the steering angle calculation process.
[0040]
When the median value CNZ of the neutral range NZ closest to the steering neutral point N is obtained, the steering neutral point N and the median value CNZ of the neutral range NZ closest to the steering neutral point N are used in step 7. Then, the offset α is calculated by the above formula 2 and stored in the nonvolatile memory 5. Thereafter, the process proceeds to step 8, and the steering angle θ is calculated by the above equation 4 based on the pulse count value P of the steering angle sensor 1 and the steering neutral point N until the ignition key switch is turned off.
[0041]
If there is no straight traveling determination of the vehicle, it is checked in step 11 whether or not the median value CNZ of the neutral range NZ closest to the steering neutral point N has been obtained by the interruption process 2 described above, and the median value CNZ is obtained. If yes, go to Step 12. If not so, return to Step 2 and repeat the above process.
[0042]
When the median value CNZ is obtained, it is checked in step 12 whether the offset α stored in the nonvolatile memory 5 is a value within a predetermined range. The offset α should be within the neutral range NZ as shown in FIG. 4, and a range slightly wider than the neutral range NZ is set as the predetermined range. When the vehicle is completed or the steering angle detection device is replaced, the maximum value of the memory capacity assigned to the offset α is stored, and when the straight traveling determination is made in step 3 and the offset α is calculated in step 7, the calculated value Thus, the stored value of the nonvolatile memory 5 is updated. Therefore, if the offset α has been obtained even once, the stored value of the offset α should be within the predetermined range, and the process proceeds to step 13. If the offset α has never been obtained, the stored value of the offset α is larger than the predetermined range, so the process returns to step 2 and the above processing is repeated.
[0043]
When the median value CNZ of the neutral range NZ closest to the steering neutral point N and the offset α are obtained, the steering neutral point N is calculated in accordance with Equation 3 in step 13. In subsequent step 14, the steering angle θ is calculated by the above equation 4 based on the pulse count value P of the steering angle sensor 1 and the steering neutral point N.
[0044]
In step 15, the vehicle is judged to go straight by the method described above. If it is determined that the vehicle is traveling straight, the process proceeds to step 16, and if there is no straight travel determination, the process returns to step 14 to repeat the calculation of the steering angle θ.
[0045]
When it is determined that the vehicle is traveling straight, the pulse count value P of the rudder angle sensor 1 at the time of straight traveling determination is set to the steering neutral point N in step 16. In the subsequent step 17, the offset α is calculated by the above equation 2 using the steering neutral point N and the median value CNZ of the neutral range NZ closest to the steering neutral point N, and the stored value of the nonvolatile memory 5 is updated. . Thereafter, the routine proceeds to step 18 where the steering angle θ is calculated by the above equation 4 based on the pulse count value P of the steering angle sensor 1 and the steering neutral point N until the ignition key switch is turned off.
[0046]
In this way, once the vehicle is traveling straight, the steering neutral point N is obtained, and the median value CNZ of the neutral range NZ in the vicinity of the steering neutral point N is calculated to be close to the steering neutral point N and the steering neutral point N. The difference from the median value CNZ of the neutral range NZ is stored as an offset α, and the steering neutral point N is obtained by calculation using the stored value of the offset α during subsequent vehicle operations, and the calculated value of the steering neutral point N is calculated. Since the output of the rudder angle sensor 1 is calibrated by this, once the vehicle straight-running state is detected and the offset is obtained, it is not necessary to detect the straight-running state of the vehicle every time the vehicle is operated, and accurate steering is always performed. Corners can be detected.
[0047]
The steering angle θ detected by the steering angle detection device is used for various controls of the vehicle. For example, when a roadside delineator is detected using a scanning or multi-beam laser head, the curvature of the road is calculated based on the detection result, and the following vehicle follow-up control or vehicle behavior control on a curved road is performed. The curvature cannot be calculated on a road without a delineator on the road side, and a curved road cannot be detected. Therefore, when the roadside delineator cannot be detected, it is conceivable to estimate the curvature of the road using the steering angle of the steering wheel and detect the curved road, but if the steering angle is not accurate, the estimation error of the curvature becomes large, The curved road cannot be accurately detected, and the control performance of the preceding vehicle following control and the vehicle behavior control is deteriorated. In such a case, by using the accurate steering angle detected by the steering angle detection device of the present invention, even when the delineator cannot be detected, the accurate road curvature and curved road can be detected, and the preceding vehicle following control and the vehicle It is possible to prevent a decrease in control performance in behavior control.
[0048]
In the embodiment described above, a neutral range NZ as shown in FIG. 2C, that is, a steering angle sensor 1 that outputs a neutral position signal that becomes a high level in a predetermined steering angle range will be described as an example. However, a steering angle sensor that outputs a narrow-width pulse signal at the neutral position may be used. In that case, the calculation of the median value CNZ of the neutral range NZ described in the above embodiment can be omitted.
[0049]
Further, in the update of the offset α in step 17, the offset α calculated every time the vehicle is operated is sequentially stored in the nonvolatile memory 5, and the final offset α is obtained by simple averaging or moving average of a plurality of stored values. The steering neutral point N may be calculated using the offset α. According to this method, a more accurate steering neutral point N can be obtained, and the detection accuracy of the steering angle θ can be improved.
[0050]
Further, the calculation and storage processing of the offset α in Steps 3 to 7 in FIG. 5 can be performed at the time of a vehicle running test at the time of shipment from the factory. Since it is stored, an accurate steering angle can be detected from the user's use start point.
[0051]
In the configuration of the above embodiment, the rudder angle sensor 1 is the rudder angle sensor, the controller 4 is the pulse counting means, the straight traveling state detecting means, the offset calculating means, the steering neutral point calculating means, the steering angle calculating means, and the median value calculating means. The non-volatile memory 5 constitutes an offset storage means.
[Brief description of the drawings]
FIG. 1 is a diagram showing a configuration of an embodiment.
FIG. 2 is a diagram showing output specifications of a rudder angle sensor.
FIG. 3 shows a pulse count value P of the steering angle sensor, a recognition number n of the neutral range NZ, and a maximum pulse count value Pmax (n) and a minimum pulse count of each neutral range NZ when the steering wheel is turned left and right. It is a figure which shows value Pmin (n).
4 is a diagram showing a relationship between a steering neutral point N and a median value CNZ of a neutral range NZ closest to the steering neutral point N, and an offset α. FIG.
FIG. 5 is a flowchart showing a steering angle calculation program.
FIG. 6 is a flowchart illustrating a steering angle calculation program continued from FIG. 5;
FIG. 7 is a flowchart showing an interrupt processing 1 routine.
FIG. 8 is a flowchart showing an interrupt processing 2 routine.
FIG. 9 is a flowchart showing an interrupt process 2 routine continued from FIG. 8;
[Explanation of symbols]
1 Rudder angle sensor
2 Radar head
2a Drive circuit
3 Vehicle speed sensor
4 Controller
4a CPU
4b ROM
4c RAM
5 Nonvolatile memory

Claims (6)

ステアリングホイールの所定舵角ごとにパルス信号を出力するとともに、ステアリングホイール1回転ごとに中立位置のパルス信号を出力する舵角センサーを備えた操舵角検出装置であって、
前記舵角センサーの所定舵角ごとのパルス信号を計数するパルス計数手段と、
車両の直進状態を検出する直進状態検出手段と、
車両の直進状態が検出された時の前記パルス計数手段のパルス計数値を、車両が直進する操舵中立点に設定する操舵中立点設定手段と、
前記操舵中立点設定値と操舵中立点に最も近接した前記舵角センサーの中立位置との差をオフセットとして算出するオフセット算出手段と、
前記オフセットを記憶するオフセット記憶手段と、
前記オフセット記憶値と操舵中立点に最も近接した前記舵角センサーの中立位置とに基づいて、車両が直進する操舵中立点を演算する操舵中立点演算手段と、
前記操舵中立点演算値と前記パルス計数手段のパルス計数値とに基づいて操舵角を演算する操舵角演算手段とを備えることを特徴とする操舵角検出装置。
A steering angle detection device including a steering angle sensor that outputs a pulse signal for each predetermined steering angle of the steering wheel and outputs a pulse signal of a neutral position for each rotation of the steering wheel,
Pulse counting means for counting a pulse signal for each predetermined steering angle of the steering angle sensor;
Straight-running state detecting means for detecting the straight-running state of the vehicle;
Steering neutral point setting means for setting a pulse count value of the pulse counting means when a straight traveling state of the vehicle is detected to a steering neutral point where the vehicle travels straight;
Offset calculating means for calculating the difference between the steering neutral point setting value and the neutral position of the rudder angle sensor closest to the steering neutral point as an offset;
Offset storage means for storing the offset;
Steering neutral point calculating means for calculating a steering neutral point where the vehicle goes straight based on the offset stored value and the neutral position of the rudder angle sensor closest to the steering neutral point;
A steering angle detection device comprising: a steering angle calculation means for calculating a steering angle based on the steering neutral point calculation value and the pulse count value of the pulse counting means.
請求項1に記載の操舵角検出装置において、
前記舵角センサーの中立位置のパルス信号は所定の舵角範囲の幅を有するパルス信号であり、
ステアリングホイールの回転にともなって前記所定舵角範囲の両端を通過する時の前記パルス計数手段のパルス計数値に基づいて、前記所定舵角範囲の中央値を演算する中央値演算手段を備え、
前記中央値演算手段により演算された中央値を前記舵角センサーの中立位置とすることを特徴とする操舵角検出装置。
The steering angle detection device according to claim 1,
The neutral position pulse signal of the rudder angle sensor is a pulse signal having a predetermined rudder angle range width,
Median calculating means for calculating the median value of the predetermined steering angle range based on the pulse count value of the pulse counting means when passing through both ends of the predetermined steering angle range as the steering wheel rotates,
The steering angle detection device characterized in that the median value calculated by the median value calculation means is set as a neutral position of the steering angle sensor.
請求項1または請求項2に記載の操舵角検出装置において、
前記直進状態検出手段は、レーザービームを車両前方の水平方向に走査して路側デリニエーターを検出し、デリニエーターの検出結果に基づいて車両の直進状態を検出することを特徴とする操舵角検出装置。
In the steering angle detection device according to claim 1 or 2,
The straight angle detection unit detects a road-side delineator by scanning a laser beam in a horizontal direction in front of the vehicle, and detects a straight-line state of the vehicle based on a detection result of the delineator.
請求項1または請求項2に記載の操舵角検出装置において、
前記直進状態検出手段は、車両前方を撮像した画像を処理して道路上の白線を検出し、検出した白線の直線性に基づいて車両の直進状態を検出することを特徴とする操舵角検出装置。
In the steering angle detection device according to claim 1 or 2,
The straight-ahead state detecting means detects a white line on the road by processing an image captured in front of the vehicle, and detects a straight-ahead state of the vehicle based on the linearity of the detected white line. .
請求項1〜4のいずれかの項に記載の操舵角検出装置において、
前記オフセット算出手段は車両を運行するたびにオフセットを算出し、前記オフセット記憶手段は新たに算出されたオフセットでオフセット記憶値を更新することを特徴とする操舵角検出装置。
In the steering angle detection device according to any one of claims 1 to 4,
The offset calculation unit calculates an offset every time the vehicle is operated, and the offset storage unit updates an offset storage value with a newly calculated offset.
請求項1〜4のいずれかの項に記載の操舵角検出装置において、
前記オフセット算出手段は車両を運行するたびにオフセットを算出し、前記オフセット記憶手段は複数のオフセットの平均値を記憶することを特徴とする操舵角検出装置。
In the steering angle detection device according to any one of claims 1 to 4,
The offset calculation means calculates an offset every time the vehicle is operated, and the offset storage means stores an average value of a plurality of offsets.
JP16968299A 1999-06-16 1999-06-16 Steering angle detector Expired - Fee Related JP3623399B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP16968299A JP3623399B2 (en) 1999-06-16 1999-06-16 Steering angle detector

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP16968299A JP3623399B2 (en) 1999-06-16 1999-06-16 Steering angle detector

Publications (2)

Publication Number Publication Date
JP2001004313A JP2001004313A (en) 2001-01-12
JP3623399B2 true JP3623399B2 (en) 2005-02-23

Family

ID=15890963

Family Applications (1)

Application Number Title Priority Date Filing Date
JP16968299A Expired - Fee Related JP3623399B2 (en) 1999-06-16 1999-06-16 Steering angle detector

Country Status (1)

Country Link
JP (1) JP3623399B2 (en)

Families Citing this family (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004170185A (en) 2002-11-19 2004-06-17 Koyo Seiko Co Ltd Steering angle compensation device
DE10257559B4 (en) * 2002-12-10 2013-02-07 Robert Bosch Gmbh Determination of the start segment of a rotation angle sensor with periodic characteristic
JP2005037302A (en) * 2003-07-17 2005-02-10 Yazaki Corp Relative steering angle sensor
JP2005091137A (en) 2003-09-17 2005-04-07 Nsk Ltd Rudder angle sensor
JP5092510B2 (en) * 2006-11-20 2012-12-05 日本精工株式会社 Absolute rudder angle detector
JP5133664B2 (en) * 2007-11-30 2013-01-30 住友ナコ マテリアル ハンドリング株式会社 forklift
JP5091809B2 (en) * 2008-09-02 2012-12-05 本田技研工業株式会社 Steering angle detector
JP5107312B2 (en) * 2009-07-17 2012-12-26 本田技研工業株式会社 Device for determining the center position of the steering angle of a vehicle handle
JP5822108B2 (en) * 2011-03-31 2015-11-24 Kyb株式会社 Steering shaft rotation angle detection device
US11383727B2 (en) * 2018-03-19 2022-07-12 Qualcomm Incorporated Vehicle operation based on vehicular measurement data processing

Also Published As

Publication number Publication date
JP2001004313A (en) 2001-01-12

Similar Documents

Publication Publication Date Title
JP2008546577A (en) Method and apparatus for outputting parking instructions
JP4544987B2 (en) Collision prediction method and collision prediction apparatus
JP3912416B2 (en) Vehicle departure prevention control device
JP4005597B2 (en) Side guide support method and apparatus for vehicle
US8195363B2 (en) Steering control device for vehicle
JP3623399B2 (en) Steering angle detector
US5841366A (en) Traveling-path deduction apparatus and method for vehicles
US20140180543A1 (en) Vehicle control device
JP6743719B2 (en) Vehicle steering assist device
EP3831679A1 (en) Traveling trajectory correction method, traveling control method, and traveling trajectory correction device
JP2002531886A (en) Method and apparatus for determining future course area of vehicle
JP2004291865A (en) Parking assist device
US11560145B2 (en) Travel path recognition apparatus and travel path recognition method
JPH10283597A (en) Vehicle controller
JP6669001B2 (en) Travel locus estimation method and travel locus estimation device
JP3931760B2 (en) Obstacle detection device for vehicles
US20190362164A1 (en) Image recognition device, image recognition method, and parking assist system
JP6590988B1 (en) Lane marking recognition system
JP4082286B2 (en) Front object position detection device
JP5189316B2 (en) Yaw rate sensor output determination device and following vehicle determination device
CN115697815A (en) Method and device for determining a correction angle for a straight-ahead correction of a vehicle
JP3930309B2 (en) Vehicle driving support device
JP3606039B2 (en) Road shape detection device
JP2000198402A (en) Object detector
KR100469773B1 (en) Method and apparatus for correcting a curve radius

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20040723

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20041109

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20041124

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20081203

Year of fee payment: 4

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

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

Free format text: PAYMENT UNTIL: 20081203

Year of fee payment: 4

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

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

Free format text: PAYMENT UNTIL: 20091203

Year of fee payment: 5

LAPS Cancellation because of no payment of annual fees