JP2854441B2 - Motorcycle control device - Google Patents
Motorcycle control deviceInfo
- Publication number
- JP2854441B2 JP2854441B2 JP17591691A JP17591691A JP2854441B2 JP 2854441 B2 JP2854441 B2 JP 2854441B2 JP 17591691 A JP17591691 A JP 17591691A JP 17591691 A JP17591691 A JP 17591691A JP 2854441 B2 JP2854441 B2 JP 2854441B2
- Authority
- JP
- Japan
- Prior art keywords
- angle
- control
- value
- motorcycle
- calculated
- 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
Links
Landscapes
- Steering Devices For Bicycles And Motorcycles (AREA)
- Electrical Control Of Ignition Timing (AREA)
- Control Of Vehicle Engines Or Engines For Specific Uses (AREA)
- Combined Controls Of Internal Combustion Engines (AREA)
- Lighting Device Outwards From Vehicle And Optical Signal (AREA)
- Automatic Cycles, And Cycles In General (AREA)
Abstract
Description
【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION
【0001】[0001]
【産業上の利用分野】本発明は二輪車の制御装置に関す
るものであり、特に、車速及びハンドル切れ角に応じて
当該二輪車のバンク角を演算し、該バンク角に応じて当
該二輪車を制御(ヘッドライト装置の配光制御や駆動力
制御等)する二輪車の制御装置に関するものである。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a control device for a two-wheeled vehicle, and in particular, calculates a bank angle of the two-wheeled vehicle according to a vehicle speed and a steering wheel turning angle, and controls the two-wheeled vehicle according to the bank angle. The present invention relates to a control device for a motorcycle that performs light distribution control, driving force control, and the like of a light device.
【0002】[0002]
【従来の技術】自動二輪車等のヘッドライト装置におい
ては、当該二輪車等が直線走行しているか、コーナリン
グしているかにかかわらず、車体前方の所要部に対して
常に良好な配光が成されることが要求される。このた
め、光源からの光の一部を反射鏡の前面開口部側に配置
した遮蔽板(以下、シェードという)により遮蔽するこ
とにより、所定の配光パターンを形成するように構成さ
れたヘッドライト装置が知られている。このような装置
は、例えば特開昭63−158701号公報に記載され
ている。2. Description of the Related Art In a headlight device for a motorcycle or the like, a good light distribution is always provided to a required portion in front of the vehicle body regardless of whether the motorcycle or the like is traveling straight or cornering. Is required. For this reason, a headlight configured to form a predetermined light distribution pattern by shielding a part of the light from the light source by a shielding plate (hereinafter, referred to as a shade) arranged on the front opening side of the reflecting mirror. Devices are known. Such an apparatus is described in, for example, JP-A-63-158701.
【0003】ところで、このようなヘッドライト装置を
制御するためには、当該自動二輪車等の車体の傾斜角
(以下、バンク角という)を検出する必要があるが、前
記公報においては、バンク角の検出としてジンバル、ジ
ャイロスコープ等を用いているために、当該ヘッドライ
ト制御装置の構造が複雑化し、コストアップにつなが
る。 このような不具合を解決するために、特開平1−
101245号においては、車速とハンドル切れ角とに
よりバンク角を検出する技術が提案されている。In order to control such a headlight device, it is necessary to detect an inclination angle (hereinafter referred to as a bank angle) of a vehicle body such as the motorcycle. Since a gimbal, a gyroscope, or the like is used for detection, the structure of the headlight control device becomes complicated, leading to an increase in cost. To solve such a problem, Japanese Unexamined Patent Publication No.
No. 101245 proposes a technique for detecting a bank angle based on a vehicle speed and a steering wheel turning angle.
【0004】また、従来より、滑りやすい路面での発進
時や加速時において車両の過大なスリップを防止するこ
とができるように、車両の駆動輪及び従動輪の回転数よ
り車両のスリップ率を検出し、該スリップ率が所定値よ
りも大きい場合には、点火時期や燃料噴射量、あるいは
スロットル弁の開度を調整して、当該車両の駆動力を抑
えるようにした駆動力制御装置が提案されている。[0004] Conventionally, a slip ratio of a vehicle is detected from the rotational speeds of a driving wheel and a driven wheel of the vehicle so that excessive slip of the vehicle can be prevented when starting or accelerating on a slippery road surface. However, when the slip ratio is larger than a predetermined value, a driving force control device that suppresses the driving force of the vehicle by adjusting the ignition timing, the fuel injection amount, or the opening of the throttle valve has been proposed. ing.
【0005】このような駆動力制御装置においても、車
速及びハンドル切れ角に応じて、換言すればバンク角に
応じて駆動力制御を行えば、当該車両のコーナリング状
態に応じて、過大なスリップを良好に防止することがで
きる。In such a driving force control device as well, if the driving force control is performed in accordance with the vehicle speed and the steering wheel turning angle, in other words, in accordance with the bank angle, an excessive slip may be generated in accordance with the cornering state of the vehicle. It can be prevented well.
【0006】[0006]
【発明が解決しようとする課題】特開平1−10124
5号に記載された技術では、定常円旋回中は良好な制御
が可能であるが、コーナリング開始時あるいは終了時等
における過渡状態においては、ハンドル切れ角が安定し
ないために、演算されたバンク角の信頼性が低い場合が
ある。Problems to be Solved by the Invention
According to the technology described in No. 5, good control is possible during steady circular turning, but in a transient state such as at the start or end of cornering, the steering angle is not stable. May have low reliability.
【0007】つまり、例えば左に旋回しようとする場
合、ライダは、ハンドルを一旦瞬時に右側に切ってライ
ダの重心を当該自動二輪車の左側に移動させた後、ハン
ドルを左側に切ることになるから、このような旋回の過
渡状態では、ハンドル切れ角とバンク角とは直接対応し
ない。そして、このような場合、ハンドル切れ角から直
接バンク角を演算すると、バンク角データ(想定された
当該自動二輪車の傾斜角)の信頼性が低くなり、バンク
角に応じた配光制御や駆動力制御を良好に行うことがで
きないおそれがある。That is, for example, when trying to turn to the left, the rider turns the steering wheel to the left immediately after temporarily turning the steering wheel to the right to move the rider's center of gravity to the left side of the motorcycle. In such a transitional state of turning, the steering wheel turning angle and the bank angle do not directly correspond to each other. In such a case, if the bank angle is calculated directly from the steering wheel turning angle, the reliability of the bank angle data (the assumed inclination angle of the motorcycle) becomes low, and the light distribution control and the driving force according to the bank angle are reduced. Control may not be performed well.
【0008】本発明は、前述の問題点を解決するために
なされたものであり、その目的は、コーナリング開始時
あるいは終了時等における過渡状態においても、バンク
角の検出を正確に行い、これにより当該二輪車を正確に
制御することのできる二輪車の制御装置を提供すること
にある。SUMMARY OF THE INVENTION The present invention has been made to solve the above-mentioned problem, and an object of the present invention is to accurately detect a bank angle even in a transitional state at the start or end of cornering. It is an object of the present invention to provide a motorcycle control device that can accurately control the motorcycle.
【0009】[0009]
【課題を解決するための手段】前記の問題点を解決する
ために、本発明は、ハンドル切れ角の変化速度を演算
し、該変化速度に応じて、バンク角データを修正するよ
うにした点に特徴がある。 また、演算されたバンク角
データを、さらに車速に応じて修正するようにした点に
も特徴がある。SUMMARY OF THE INVENTION In order to solve the above-mentioned problems, the present invention calculates the change speed of the steering wheel turning angle and corrects the bank angle data according to the change speed. There is a feature. Another feature is that the calculated bank angle data is further corrected according to the vehicle speed.
【0010】[0010]
【作用】ハンドル切れ角の変化速度が大きい場合には、
コーナリング開始時あるいは終了時等における過渡状態
にあると判断できるから、該変化速度に応じてバンク角
データを修正すれば、コーナリング開始時あるいは終了
時等における過渡状態においても、バンク角の検出を正
確に行うことができる。[Function] When the change speed of the steering wheel turning angle is large,
Since it can be determined that the bank is in a transient state at the start or end of the cornering, etc., if the bank angle data is corrected according to the change speed, the bank angle can be accurately detected even in the transient state at the start or end of the cornering. Can be done.
【0011】また、定常円旋回中には、車速Vが大きい
ほどハンドル切れ角の変化速度は小さくなるので、前記
変化速度及び車速Vに応じてバンク角データを修正すれ
ば、コーナリング開始時あるいは終了時等における過渡
状態において、バンク角の検出をさらに正確に行うこと
ができる。Also, during a steady circular turning, the change speed of the steering wheel turning angle decreases as the vehicle speed V increases. Therefore, if the bank angle data is corrected in accordance with the change speed and the vehicle speed V, the cornering starts or ends. In a transient state such as at the time, the bank angle can be detected more accurately.
【0012】[0012]
【実施例】以下に、図面を参照して、本発明を詳細に説
明する。まず、本発明を自動二輪車の配光制御装置に適
用して説明する。図2は本発明の第1の実施例が適用さ
れるヘッドライト装置の構成の概略を示す図、図3はヘ
ッドライト装置の一例の断面図である。各々の図におい
て、それぞれ同一の符号は、同一又は同等部分をあらわ
している。また、図2において、H−H線及びV−V線
は、それぞれ水平線及び鉛直線を示している。なお、図
示したヘッドライト装置は、自動二輪車が左側通行する
場合のものである。DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Hereinafter, the present invention will be described in detail with reference to the drawings. First, the present invention will be described as applied to a light distribution control device for a motorcycle. FIG. 2 is a diagram schematically showing the configuration of a headlight device to which the first embodiment of the present invention is applied, and FIG. 3 is a sectional view of an example of the headlight device. In the respective drawings, the same reference numerals indicate the same or equivalent parts. In FIG. 2, the HH line and the VV line indicate a horizontal line and a vertical line, respectively. The illustrated headlight device is for the case where the motorcycle travels on the left side.
【0013】各々の図において、ヘッドライト装置1
は、図示されないランプボディ内に収容されて、当該自
動二輪車に装着されている。回転楕円体面をなす反射面
3を有する反射鏡4の前方に、連結部材5を介して凸レ
ンズ6が取り付けられており、反射鏡4及び凸レンズ6
のそれぞれ光軸は、一致している(光軸X)。In each figure, a headlight device 1
Is housed in a lamp body (not shown) and mounted on the motorcycle. A convex lens 6 is attached via a connecting member 5 in front of a reflecting mirror 4 having a reflecting surface 3 forming a spheroidal surface.
Have the same optical axis (optical axis X).
【0014】バルブ7は、その光源であるフィラメント
8が反射面3を形成する楕円の第1焦点F1に位置する
ように取り付けられている。F2は、前記楕円の第2焦
点で、この実施例においては、凸レンズ6の入射面に位
置している。F3は凸レンズ6の焦点であり、シェード
9の上縁の中心点9Cが該焦点F3に位置している。The bulb 7 is mounted so that the filament 8 as the light source is located at the first focal point F1 of the ellipse forming the reflection surface 3. F2 is the second focal point of the ellipse, which in this embodiment is located on the entrance surface of the convex lens 6. F3 is the focal point of the convex lens 6, and the center point 9C of the upper edge of the shade 9 is located at the focal point F3.
【0015】シェード9の上縁は、光線照射方向に対し
て左右方向に延びている。そして、左側(反射鏡4側か
ら凸レンズ6側に向かって左、以下同様)の上縁9A
は、中心点9Cと同じ高さで水平に延びているが、右側
の上縁9Bは、中心点9Cから下方に傾斜している。シ
ェード9の下縁には、後方すなわち反射鏡4側に屈曲し
た取付部9Dが一体に形成されており、該取付部9Dが
ねじ11により後方のギヤプレート10に固定されてい
る。The upper edge of the shade 9 extends in the left-right direction with respect to the light beam irradiation direction. Then, an upper edge 9A on the left side (left from the reflecting mirror 4 side toward the convex lens 6 side, and so on)
Extends horizontally at the same height as the center point 9C, but the upper right edge 9B is inclined downward from the center point 9C. At the lower edge of the shade 9, a mounting portion 9D bent rearward, that is, toward the reflecting mirror 4 is integrally formed, and the mounting portion 9D is fixed to the rear gear plate 10 by screws 11.
【0016】ギヤプレート10は、ヘッドライト装置1
の横断面下半分全体を覆う大きさの扇形状をなしてい
る。このギヤプレート10の上縁の中心部すなわちシェ
ード9の中心点9Cの背後に位置する部分に光軸Xを軸
線とする軸受穴12が設けられている。The gear plate 10 is used for the headlight device 1
Has a fan shape large enough to cover the lower half of the cross section. A bearing hole 12 having an optical axis X as an axis is provided in a central portion of an upper edge of the gear plate 10, that is, a portion located behind a central point 9C of the shade 9.
【0017】ギヤプレート10の背後には、その下縁を
反射鏡4の開口縁下部に固定された支柱部材14が立設
されている。前記支柱部材14の上端はギヤプレート1
0の突出部13の後方に位置し、この部分に前記軸受穴
12に整合する軸受穴15が設けられている。そして、
この軸受穴12,15にピボット軸16が挿通されて、
ギヤプレート10を支柱部材14に傾動可能に支持する
軸受部17が形成されている。Behind the gear plate 10, a column member 14 having a lower edge fixed below the opening edge of the reflecting mirror 4 is provided upright. The upper end of the support member 14 is the gear plate 1
The bearing hole 15 which is located behind the zero protrusion 13 and is aligned with the bearing hole 12 is provided in this portion. And
The pivot shaft 16 is inserted through the bearing holes 12 and 15,
A bearing portion 17 that supports the gear plate 10 on the support member 14 in a tiltable manner is formed.
【0018】また、前記ギヤプレート10は、その下部
においてサーボモータ18により駆動される駆動ギア1
9と噛み合っている。したがって、サーボモータ18を
駆動させることにより、ギヤプレート10を軸受部17
の軸線すなわち光軸Xを中心として傾動させることがで
き、これに応じてシェード9がその上縁の中心点9Cを
通る光軸Xのまわりに傾動する。The lower portion of the gear plate 10 has a drive gear 1 driven by a servomotor 18.
9 is engaged. Therefore, by driving the servo motor 18, the gear plate 10 is moved to the bearing portion 17.
, Ie, the optical axis X, and the shade 9 correspondingly tilts around the optical axis X passing through the center point 9C of the upper edge thereof.
【0019】このように構成されることにより、バルブ
7より照射される光は、図2に示されるように、暗部2
1及び明部22を有する配光状態となる。前記暗部21
及び明部22を区画する明暗境界線9a及び9bは、そ
れぞれ前記シェード9の上縁9A及び上縁9Bにより決
定される。With such a configuration, the light radiated from the bulb 7 is, as shown in FIG.
1 and a light distribution state having a bright portion 22. The dark part 21
Light and dark boundaries 9a and 9b that define the light and light portions 22 are determined by the upper edge 9A and the upper edge 9B of the shade 9, respectively.
【0020】本実施例におけるヘッドライト装置の基本
的な配光制御は、当該二輪車が左側にコーナリングする
場合には明暗境界線9a及び9bが図2のL方向に回転
するように、また右側にコーナリングする場合には同図
R方向に回転するように、前記サーボモータ18を駆動
して、シェード9を回転させるものである。なお、この
ようなヘッドライト装置の構成は単なる一例であり、本
発明に適用されるヘッドライト装置はいかなるものであ
っても良い。The basic light distribution control of the headlight device in this embodiment is such that when the motorcycle corners to the left, the light / dark boundary lines 9a and 9b rotate in the direction L in FIG. In the case of cornering, the servo motor 18 is driven to rotate the shade 9 so as to rotate in the direction R in FIG. The configuration of such a headlight device is merely an example, and any headlight device applied to the present invention may be used.
【0021】図4は本発明の第1の実施例の構成を示す
ブロック図である。図4において、自動二輪車30の車
速(前輪の速度)Vを検出するための車速センサ31
と、ハンドルの切れ角を検出する舵角センサ32と、シ
ェード9を回転させるためのサーボモータ18と、該サ
ーボモータ18の回転角(すなわち、シェード9の回転
角)を検出するためのモータ回転角センサ33とは、自
動二輪車30の適宜の箇所に取り付けられている。この
例においては、前記モータ回転角センサ33は、適当な
減速率を有する減速機構43を介してサーボモータ18
に接続されている。FIG. 4 is a block diagram showing the configuration of the first embodiment of the present invention. In FIG. 4, a vehicle speed sensor 31 for detecting a vehicle speed (front wheel speed) V of the motorcycle 30 is shown.
A steering angle sensor 32 for detecting a steering angle of the steering wheel, a servomotor 18 for rotating the shade 9, and a motor rotation for detecting a rotation angle of the servomotor 18 (that is, a rotation angle of the shade 9). The angle sensor 33 is attached to an appropriate part of the motorcycle 30. In this example, the motor rotation angle sensor 33 is connected to the servo motor 18 via a speed reduction mechanism 43 having an appropriate speed reduction rate.
It is connected to the.
【0022】符号42は、当該ヘッドライト制御を行う
ための、マイクロコンピュータを備えた電子制御装置で
あり、必要に応じて、当該自動二輪車30の他の各種制
御(エンジンの点火時期制御、燃料噴射制御等)も行
う。Reference numeral 42 denotes an electronic control unit provided with a microcomputer for performing the headlight control. If necessary, various other controls (such as engine ignition timing control and fuel injection control) of the motorcycle 30 are performed. Control).
【0023】前記車速センサ31は、入力回路34及び
レベル判定回路35を介して、また、前記舵角センサ3
2は、入力回路36及びA/Dコンバータ37を介し
て、それぞれ電子制御装置42に接続されている。ま
た、前記サーボモータ18は、保護回路38及びドライ
バ39を介して、また前記モータ回転角センサ33は、
入力回路40及びA/Dコンバータ41を介して、それ
ぞれ電子制御装置42に接続されている。The vehicle speed sensor 31 is connected to the steering angle sensor 3 via an input circuit 34 and a level determination circuit 35.
2 are connected to an electronic control unit 42 via an input circuit 36 and an A / D converter 37, respectively. The servo motor 18 is connected via a protection circuit 38 and a driver 39, and the motor rotation angle sensor 33 is connected
Via an input circuit 40 and an A / D converter 41, they are connected to an electronic control unit 42, respectively.
【0024】前記入力回路34、36及び40は、ノイ
ズ、サージ電圧、静電気あるいは電磁波等の影響から、
レベル判定回路35、A/Dコンバータ37及び41、
並びに電子制御装置42を保護する。同様に、保護回路
38も、前記したような影響からサーボモータ18を保
護する。The input circuits 34, 36, and 40 are provided with the following components due to the effects of noise, surge voltage, static electricity, electromagnetic waves, and the like.
Level determination circuit 35, A / D converters 37 and 41,
In addition, the electronic control unit 42 is protected. Similarly, the protection circuit 38 protects the servomotor 18 from the above-described effects.
【0025】前記車速センサ31は、例えば前輪の回転
に応じてパルス(以下、車速検出用パルスVPという)
を発生するパルス発生器である。また前記舵角センサ3
2及びモータ回転角センサ33は、例えば、それぞれハ
ンドルの切れ角及びサーボモータ18の回転角に応じて
出力電圧が変化するポテンショメータである。The vehicle speed sensor 31 generates a pulse (hereinafter referred to as a vehicle speed detection pulse VP) in accordance with, for example, the rotation of the front wheels.
Is a pulse generator. The steering angle sensor 3
2 and the motor rotation angle sensor 33 are, for example, potentiometers whose output voltages change according to the steering angle and the rotation angle of the servomotor 18, respectively.
【0026】レベル判定回路35は、後述するように、
入力回路34を介して出力された車速検出用パルスVP
の電圧値を判定し、該電圧値が所定範囲内にない場合に
は、その旨の信号を電子制御装置42に出力する。前記
電子制御装置42は、前記信号を検出して、車速センサ
31が断線又は短絡しているものと判断し、その後は、
シェード9の制御を停止する。The level determination circuit 35, as described later,
Vehicle speed detection pulse VP output via input circuit 34
Is determined, and if the voltage value is not within the predetermined range, a signal to that effect is output to the electronic control unit 42. The electronic control unit 42 detects the signal and determines that the vehicle speed sensor 31 is disconnected or short-circuited.
The control of the shade 9 is stopped.
【0027】電源回路45は、切換回路46及び定電圧
回路47を備えている。そして、コンビスイッチ49の
オン操作により、バッテリ44が定電圧回路47に接続
され、所定電圧(例えば+5[V])が電子制御装置4
2等に供給される。また、コンビスイッチ49のオン操
作は、抵抗48を有する接続ラインにより、電子制御装
置42に検出される。そして、コンビスイッチ49がオ
ンからオフ状態になると、切換回路46が切り替えら
れ、該オフ状態から予定時間(例えば3時間)の間は、
バッテリ44が電源回路45に接続され、電子制御装置
42等がバックアップされる。The power supply circuit 45 includes a switching circuit 46 and a constant voltage circuit 47. When the combination switch 49 is turned on, the battery 44 is connected to the constant voltage circuit 47 and a predetermined voltage (for example, +5 [V]) is applied to the electronic control unit 4.
2 and so on. The operation of the combination switch 49 is detected by the electronic control unit 42 through the connection line having the resistor 48. When the combination switch 49 changes from the on state to the off state, the switching circuit 46 is switched, and during the scheduled time (for example, 3 hours) from the off state,
The battery 44 is connected to the power supply circuit 45, and the electronic control unit 42 and the like are backed up.
【0028】また、バッテリ44が定電圧回路47に接
続されている間は、該バッテリ44は、図示されるよう
に、抵抗53、インジケータランプ50、保護回路51
及びスイッチング素子52に接続される。常時はスイッ
チング素子52がオンとなっているので、インジケータ
ランプ50は点灯しないが、異常時には、スイッチング
素子52がオフとなり、インジケータランプ50に通電
され、点灯する。Further, while the battery 44 is connected to the constant voltage circuit 47, the battery 44 includes a resistor 53, an indicator lamp 50, and a protection circuit 51 as shown in the figure.
And the switching element 52. Since the switching element 52 is normally on, the indicator lamp 50 does not light up. However, when an abnormality occurs, the switching element 52 is turned off and the indicator lamp 50 is energized and lit.
【0029】図20及び図21は本発明の第1の実施例
を具備する二輪車のヘッドライト制御装置の構成及びそ
の動作を示す機能ブロック図であり、それぞれを組合せ
て一図を構成している。図20及び図21において、図
4と同一の符号は、同一又は同等部分をあらわしてい
る。FIGS. 20 and 21 are functional block diagrams showing the structure and operation of a headlight control device for a motorcycle equipped with the first embodiment of the present invention. . 20 and 21, the same reference numerals as those in FIG. 4 indicate the same or equivalent parts.
【0030】図20及び図21において、車速センサ3
1より出力される車速検出用パルスVPは、断線/短絡
検出手段101に入力され、該パルスの電圧値が検出さ
れる。この電圧値が予想される値よりも小さい場合、又
は大きい場合には、それぞれ短絡又は断線と判断され、
Fid発生手段102よりフラグFidが発生される。この
断線/短絡検出手段101の機能は、レベル判定回路3
5(図4)により達成される。Referring to FIGS. 20 and 21, the vehicle speed sensor 3
The vehicle speed detection pulse VP output from 1 is input to the disconnection / short circuit detection means 101, and the voltage value of the pulse is detected. If this voltage value is smaller than the expected value or larger than it is, it is determined that a short circuit or disconnection respectively,
The flag Fid is generated by the Fid generation means 102. The function of the disconnection / short detection means 101 is as follows.
5 (FIG. 4).
【0031】ドライバ130は、常時はスイッチング素
子52をオンとしているので、インジケータランプ50
は消灯しているが、前記フラグFidの発生により、スイ
ッチング素子52をオフとし、インジケータランプ50
を点灯させる。このインジケータランプ50の点灯によ
り、当該自動二輪車の異常が表示される。Since the driver 130 normally keeps the switching element 52 on, the indicator lamp 50
Is off, the switching element 52 is turned off by the occurrence of the flag Fid, and the indicator lamp 50 is turned off.
Lights up. By turning on the indicator lamp 50, the abnormality of the motorcycle is displayed.
【0032】また、前記Fidの発生により、後述する切
換手段123が付勢されて、モータ復帰手段127がド
ライバ39に接続される。これにより、当該ヘッドライ
ト制御装置は、バンク角に応じたシェード9の制御(サ
ーボモータ18の制御)を停止し、シェード9を中央位
置(後述するモータ中央値θmc)に復帰させる。In response to the occurrence of the Fid, the switching means 123 described later is energized, and the motor return means 127 is connected to the driver 39. Accordingly, the headlight control device stops the control of the shade 9 (control of the servo motor 18) according to the bank angle, and returns the shade 9 to the center position (motor center value θmc described later).
【0033】車速センサ31の断線又は短絡が検出され
ない場合には、車速検出手段103により、適宜の手法
により、当該自動二輪車の車速Vが検出される。速度範
囲確認手段104は、車速Vが例えば3[km/h]≦V≦
127.5[km/h]である場合には、車速Vをそのまま
バンク角演算手段120に出力し、V<3[km/h]であ
る場合には、車速Vを0[km/h]としてバンク角演算手
段120に出力する。When the disconnection or short circuit of the vehicle speed sensor 31 is not detected, the vehicle speed V of the motorcycle is detected by the vehicle speed detecting means 103 by an appropriate method. The speed range checking means 104 determines that the vehicle speed V is, for example, 3 [km / h] ≦ V ≦
When the speed is 127.5 [km / h], the vehicle speed V is output to the bank angle calculation means 120 as it is, and when V <3 [km / h], the vehicle speed V is set to 0 [km / h]. Is output to the bank angle calculation means 120.
【0034】127.5[km/h]<Vである場合には、
Fvo発生手段105が付勢され、フラグFvoが発生され
る。このFvoの発生により切換手段123が付勢され、
第2モータ制御手段126がドライバ39に接続され
る。このように自動二輪車が高速で走行している場合に
は、コーナリング半径が大きく、シェード9の制御は不
要であるので、前記第2モータ制御手段126は、シェ
ード9を徐々に中央位置に復旧させる。When 127.5 [km / h] <V,
The Fvo generating means 105 is energized, and a flag Fvo is generated. The switching means 123 is biased by the occurrence of Fvo,
Second motor control means 126 is connected to driver 39. When the motorcycle is running at a high speed in this manner, the cornering radius is large and the control of the shade 9 is unnecessary, so the second motor control means 126 gradually restores the shade 9 to the center position. .
【0035】舵角センサ32より出力される舵角信号θ
ho(n) は、所定タイミング毎に断線/短絡検出手段10
6に入力され、その電圧値が検出される。そして、この
断線/短絡検出手段106は、前記断線/短絡検出手段
101と同様に、前記電圧値が予想される値よりも小さ
い場合、又は大きい場合には、それぞれ舵角センサ32
の短絡又は断線と判断する。これにより、Fid発生手段
107よりフラグFidが発生される。The steering angle signal θ output from the steering angle sensor 32
ho (n) is a means for detecting disconnection / short circuit 10 every predetermined timing.
6 and its voltage value is detected. The disconnection / short-circuit detection means 106, as in the case of the disconnection / short-circuit detection means 101, controls the steering angle sensor 32 when the voltage value is smaller or larger than the expected value.
Is judged as short circuit or disconnection. As a result, the flag Fid is generated by the Fid generating means 107.
【0036】Δθh 演算手段116は、前記θho(n) を
取り込み、その偏差Δθh を演算する。前述のように、
θh0(n) は所定タイミング毎に検出されるので、Δθh
はハンドル切れ角の変化速度である。The .DELTA..theta.h calculating means 116 takes in the .theta.ho (n) and calculates the deviation .DELTA..theta.h. As aforementioned,
Since θh0 (n) is detected at every predetermined timing, Δθh
Is the change speed of the steering wheel turning angle.
【0037】移動平均値演算手段108は、サンプリン
グされた所定数のθh0(n) からその平均値を演算すると
共に、それらを該平均値が演算されるたびに複数個集
め、さらにそれらの平均値(移動平均値)を演算する。
もちろん、前記移動平均値演算手段108は、サンプリ
ングされた所定数のθh0(n) から、単にその平均値を演
算するだけであっても良い。The moving average value calculating means 108 calculates the average value from a predetermined number of sampled θh0 (n), collects a plurality of them each time the average value is calculated, and further calculates the average value. (Moving average value).
Of course, the moving average value calculating means 108 may simply calculate the average value from a predetermined number of sampled θh0 (n).
【0038】θhaはダイナミックセンター値演算手段1
10に入力され、該演算手段110は、舵角センサ32
の動的な中央位置データ、すなわち当該自動二輪車が実
際に直進走行している場合における舵角センサ32の出
力信号θdcd を演算する。このダイナミックセンター値
演算手段110によるθdcd の演算は、θhaが演算され
るたびに行われても良いが、分周比記憶手段112に記
憶された分周比で(すなわち、θhaが所定回数演算され
るたびに)行われても良い。Θha is a dynamic center value calculating means 1
10 and the arithmetic means 110 is provided with the steering angle sensor 32
, That is, the output signal θdcd of the steering angle sensor 32 when the motorcycle is actually traveling straight. The calculation of θdcd by the dynamic center value calculation means 110 may be performed every time θha is calculated, but may be calculated by the frequency division ratio stored in the frequency division ratio storage means 112 (that is, θha is calculated a predetermined number of times). Every time).
【0039】なお、前記ダイナミックセンター値演算手
段110によるθdcd の演算は、図11及び図12に関
して後述するように、前記ハンドル舵角の移動平均値θ
ha、不感帯幅記憶手段111に記憶された不感帯幅R、
及び車速検出用パルスVP(換言すれば、当該自動二輪
車の走行距離データ)により行われる。演算されたダイ
ナミックセンター値θdcd は、ダイナミックセンター値
記憶手段113にθdcとして記憶される。The calculation of θdcd by the dynamic center value calculation means 110 is performed by the moving average value θ of the steering wheel angle as described later with reference to FIGS.
ha, the dead zone width R stored in the dead zone storage means 111,
And the vehicle speed detection pulse VP (in other words, the traveling distance data of the motorcycle). The calculated dynamic center value θdcd is stored in the dynamic center value storage means 113 as θdc.
【0040】ハンドル切れ角演算手段109は、ハンド
ル切れ角の移動平均値θha、及びダイナミックセンター
値記憶手段113から読み出されたダイナミックセンタ
ー値θdcを用いて、真のハンドル切れ角θh(n)(ハンド
ルの中央位置からのハンドル切れ角、換言すれば前輪の
切れ角)を演算する。The steering wheel turning angle calculating means 109 uses the moving average value θha of the steering wheel turning angle and the dynamic center value θdc read from the dynamic center value storage means 113 to obtain the true steering wheel turning angle θh (n) ( The steering angle from the center position of the steering wheel, in other words, the steering angle of the front wheel, is calculated.
【0041】変化量制限手段114は、今回演算された
ハンドル切れ角θh(n)の値が、前回演算されたハンドル
切れ角θh(n-1)から所定レベルを上回っていたならば、
θh(n)を前記所定レベルの範囲内に抑える。換言すれ
ば、変化量制限手段114は、ハンドル切れ角の変化量
が所定レベル以上であるか否かを検出し、所定レベル以
上である場合には、該変化量が前記所定レベルとなるよ
うにハンドル切れ角を修正し、これをδテーブル119
及びバンク角演算手段120に出力する。これにより、
ハンドルが急に切られても、バンク角θb の検出値が緩
和される。If the value of the steering wheel turning angle θh (n) calculated this time exceeds a predetermined level from the steering wheel turning angle θh (n−1) calculated last time,
θh (n) is kept within the range of the predetermined level. In other words, the change amount limiting unit 114 detects whether the change amount of the steering wheel turning angle is equal to or more than a predetermined level, and when the change amount is equal to or more than the predetermined level, the change amount becomes equal to the predetermined level. Correct the steering wheel turning angle, and change this to the δ table 119
And the bank angle calculation means 120. This allows
Even if the steering wheel is suddenly turned, the detected value of the bank angle θb is relaxed.
【0042】αテーブル118、βマップ117及びδ
テーブル119は、それぞれ第1補正係数α、第2補正
係数β及び第4補正係数δが記憶されたテーブル又はマ
ップであり、それぞれ車速V、該車速V及びΔθh 、そ
してθh(n)を用いて読み出される。Α table 118, β map 117 and δ
The table 119 is a table or a map in which the first correction coefficient α, the second correction coefficient β, and the fourth correction coefficient δ are stored, respectively, and uses the vehicle speed V, the vehicle speed V, Δθh, and θh (n), respectively. Is read.
【0043】バンク角演算手段120は、車速V、及び
ハンドル切れ角θh(n)、並びに第1補正係数α、第2補
正係数β及び第4補正係数δを用いて、第1式より、当
該自動二輪車のバンク角(当該自動二輪車の、走行時に
おける傾斜角)θb を演算する。Using the vehicle speed V, the steering wheel turning angle θh (n), the first correction coefficient α, the second correction coefficient β, and the fourth correction coefficient δ, the bank angle calculation means 120 The bank angle of the motorcycle (the inclination angle of the motorcycle during traveling) θb is calculated.
【0044】 θb =V×α×θh(n)×δ×β …(1) ここで、前記第1補正係数α、第2補正係数β及び第4
補正係数δを説明する。Θb = V × α × θh (n) × δ × β (1) where the first correction coefficient α, the second correction coefficient β, and the fourth correction coefficient β
The correction coefficient δ will be described.
【0045】第1補正係数αは、車速V及びハンドル切
れ角θh(n)を用いてバンク角θb を決定する際の係数で
あり、車速Vに応じて読み出される。The first correction coefficient α is a coefficient for determining the bank angle θb using the vehicle speed V and the steering wheel turning angle θh (n), and is read out according to the vehicle speed V.
【0046】第2補正係数βは、車速V及びハンドル切
れ角の変化速度Δθhをパラメータとして決定される係
数である。この第2補正係数βがΔθh をパラメータと
する係数β1、及び車速Vをパラメータとするβ2の積
で表現されるものとすると、該β1及びβ2は図22及
び図23に示されるような係数になる。つまり、第2補
正係数βは、Δθh が大きいほど、また車速Vが大きい
ほど、小さい値に設定されている。The second correction coefficient β is a coefficient determined using the vehicle speed V and the change speed Δθh of the steering wheel turning angle as parameters. Assuming that the second correction coefficient β is expressed as a product of a coefficient β1 using Δθh as a parameter and β2 using vehicle speed V as a parameter, β1 and β2 become coefficients as shown in FIGS. 22 and 23. Become. That is, the second correction coefficient β is set to a smaller value as Δθh is larger and the vehicle speed V is larger.
【0047】すなわち、コーナリングの開始時、又は終
了時等においては、ハンドル切れ角はバンク角に直接対
応した数値とならない。つまり、例えば左に旋回しよう
とする場合、ライダは、ハンドルを一旦瞬時に右側に切
ってライダの重心を当該自動二輪車の左側に移動させた
後、ハンドルを左側切ることになるから、このような旋
回の過渡状態では、ハンドル切れ角とバンク角とは直接
対応しない。そして、このような場合、ハンドル切れ角
から直接バンク角θb を演算すると、バンク角に応じた
シェード9の制御ができないおそれがある。That is, at the start or end of the cornering, the steering wheel turning angle does not become a value directly corresponding to the bank angle. That is, for example, when trying to turn to the left, the rider turns the steering wheel to the left once after instantly turning the steering wheel to the right, moving the center of gravity of the rider to the left side of the motorcycle, and then turning the steering wheel to the left. In the turning transient state, the steering wheel turning angle and the bank angle do not directly correspond. In such a case, if the bank angle θb is calculated directly from the steering wheel turning angle, the shade 9 may not be controlled in accordance with the bank angle.
【0048】したがって、このような過渡状態、すなわ
ちΔθh が急変するような場合には、該Δθh が大きい
ほど小さく設定された第2補正係数βを乗算することに
より、演算されるバンク角の急変化を極力抑えるように
し、バンク角の演算、すなわちシェード9の制御が正確
にできるようにしている。Therefore, in such a transient state, that is, when .DELTA..theta.h changes abruptly, the larger the .DELTA..theta.h is, the larger the second correction coefficient .beta. Is suppressed as much as possible, and the calculation of the bank angle, that is, the control of the shade 9 can be performed accurately.
【0049】また、同じハンドル切れ角の変化速度で
も、バンク角は、車速Vが大きいほど小さくなるので、
第2補正係数βを車速Vが大きいほど小さな値とし、前
記変化速度及び車速Vが共に大きい場合には、バンク角
が、想定されるデータよりもさらに小さいものと判定
し、バンク角データをさらに減少させて、シェード9の
制御をさらに良好に行うようにしている。定常円旋回に
入った場合には、Δθh の変化が少なくなるために、第
2補正係数βの値が大きくなり、ハンドル切れ角に応じ
て正確にバンク角が算出できる。Also, even at the same changing speed of the steering wheel turning angle, the bank angle becomes smaller as the vehicle speed V becomes higher.
The second correction coefficient β is set to a smaller value as the vehicle speed V increases, and when both the change speed and the vehicle speed V are higher, it is determined that the bank angle is smaller than expected data, and the bank angle data is further reduced. The shade 9 is reduced so that the control of the shade 9 is performed more favorably. When the vehicle enters a steady circular turn, the change in Δθh is reduced, so that the value of the second correction coefficient β is increased, and the bank angle can be accurately calculated according to the steering wheel turning angle.
【0050】第4補正係数δは、ハンドル切れ角、及び
ハンドルが右に切れているか左に切れているかに応じて
決定される係数であり、ハンドル切れ角が同一であって
も、ハンドルが右に切れている場合には、左に切れてい
る場合に比較して小さな値に設定されている。この第4
補正係数δの内容を図24に示す。The fourth correction coefficient δ is a coefficient determined according to the steering wheel turning angle and whether the steering wheel is turned to the right or to the left. When it is cut off, it is set to a smaller value than when it is cut off to the left. This fourth
FIG. 24 shows the contents of the correction coefficient δ.
【0051】つまり、バンク角が0である場合、すなわ
ち当該自動二輪車が直立して走行(直進走行)している
場合には、シェード9は中央位置にあるが、その配光状
態は、もともと自動二輪車前方右側はフラット、そして
前方左側は左上がりとなっている。したがって、ハンド
ルが右に切れている場合と左に切れている場合と(バン
ク角が右である場合と左である場合と)でシェード9の
回転角を同一とすると、ライダにとってはバンク角が右
側になった場合の配光制御量が大きく感じられてしまう
おそれがある。この実施例では、バンク角からシェード
9の制御量を決定するようにしているので、バンク角が
右側である場合に、前記制御量を小さくするために、こ
の第4補正係数δを用いている。In other words, when the bank angle is 0, that is, when the motorcycle is running upright (straight running), the shade 9 is located at the center position, but the light distribution state is originally set to automatic. The front right side of the motorcycle is flat, and the front left side is rising left. Accordingly, if the rotation angle of the shade 9 is the same between when the steering wheel is turned to the right and when the steering wheel is turned to the left (when the bank angle is right and when the bank angle is left), the bank angle for the rider is There is a possibility that the light distribution control amount in the case of the right side may be felt large. In this embodiment, since the control amount of the shade 9 is determined from the bank angle, the fourth correction coefficient δ is used to reduce the control amount when the bank angle is on the right side. .
【0052】モータ制御量演算手段121は、バンク角
θb に後述する第3補正係数γを乗算してサーボモータ
18のモータ中央値θmc(当該二輪車が直進走行してい
る場合におけるシェードの回転角(シェードの中央位
置)に対応するシェード駆動用モータの回転角)からの
回転角(モータ制御量)θmを演算する。前記第3補正
係数γは、前記ダイナミックセンター値記憶手段113
に記憶されたダイナミックセンター値θdcの値が、走行
の開始直後であり、安定した直進状態が検出されない場
合のものであるときには、前記ダイナミックセンター値
演算手段110より出力されるデータにより、減少され
る。したがって、ハンドル切れ角θh(n)の信頼性が低い
領域では、モータ制御量θm の値が緩和される。The motor control amount calculation means 121 multiplies the bank angle θb by a third correction coefficient γ, which will be described later, to calculate the motor center value θmc of the servo motor 18 (the rotation angle of the shade (when the motorcycle is traveling straight) ( The rotation angle (motor control amount) θm from the rotation angle of the shade driving motor corresponding to the center position of the shade) is calculated. The third correction coefficient γ is stored in the dynamic center value storage unit 113.
When the value of the dynamic center value θdc stored in the above is immediately after the start of traveling and a stable straight running state is not detected, the value is reduced by the data output from the dynamic center value calculating means 110. . Accordingly, in a region where the reliability of the steering wheel turning angle θh (n) is low, the value of the motor control amount θm is reduced.
【0053】演算されたモータ制御量θm が所定角度以
内である場合には、Fbu発生手段122が付勢され、フ
ラグFbuが発生される。このフラグFbuの発生により、
第2モータ制御手段126がドライバ39に接続され
る。このようにモータ制御量θm 、換言すればバンク角
θb が比較的小さい場合には、直進時のちょっとしたラ
イン変更や、路面の凹凸等による、車体のノイズ的な傾
斜であると判断できるから、このような場合には、シェ
ード9の制御は本来的に不要であるので、前記第2モー
タ制御手段126は、バンク角θb に応じたシェード9
の制御を行わず、該シェード9を徐々に中央位置に復旧
させる。When the calculated motor control amount θm is within the predetermined angle, the Fbu generating means 122 is energized, and the flag Fbu is generated. Due to the generation of the flag Fbu,
Second motor control means 126 is connected to driver 39. If the motor control amount θm, in other words, the bank angle θb, is relatively small, it can be determined that the inclination is a noise-like inclination of the vehicle body due to a slight line change during straight traveling or unevenness of the road surface. In such a case, since the control of the shade 9 is essentially unnecessary, the second motor control means 126 controls the shade 9 according to the bank angle θb.
, The shade 9 is gradually restored to the central position.
【0054】前記フラグFid,Fvo及びFbu、並びに後
述するフラグFd ,Fd1及びFvo1が発生されていない
(“H”となっていない)場合には、モータ制御量θm
は、第1モータ制御手段124に供給される。この第1
モータ制御手段124は、前記θm に、後述するように
して算出されたモータ中央値θmcを加算することによ
り、モータ制御角θm0を演算し、さらに、該制御角θm0
と、モータ回転角センサ33より断線/短絡検出手段1
28を介して出力されるモータの実回転角θm1とを用い
て、ドライバ39に制御信号を出力し、サーボモータ1
8をフィードバック制御する。If the flags Fid, Fvo and Fbu, and the flags Fd, Fd1 and Fvo1 described below have not been generated (they are not "H"), the motor control amount θm
Is supplied to the first motor control means 124. This first
The motor control means 124 calculates the motor control angle θm0 by adding the motor median value θmc calculated as described later to the θm, and further calculates the control angle θm0.
Disconnection / short detection means 1 from the motor rotation angle sensor 33
A control signal is output to the driver 39 using the actual rotation angle θm1 of the motor output via the
8 is feedback-controlled.
【0055】このフィードバック制御は、モータ制御角
θm0とモータ実回転角θm1との差に応じたデューティ比
をデューティ比記憶手段125(図19参照)より読出
し、サーボモータ18をチョッピング制御することによ
り行われる。This feedback control is performed by reading a duty ratio corresponding to the difference between the motor control angle θm0 and the actual motor rotation angle θm1 from the duty ratio storage means 125 (see FIG. 19), and performing chopping control of the servo motor 18 to perform the feedback control. Will be
【0056】前記断線/短絡検出手段128は、モータ
回転角センサ33より出力されるモータ実回転角θm1の
電圧値を検出し、前記前記断線/短絡検出手段101及
び106と同様に、前記電圧値が予想される値よりも小
さい場合、又は大きい場合には、それぞれモータ回転角
センサ33の短絡又は断線と判断する。これにより、F
id発生手段129よりフラグFidが発生される。The disconnection / short detection means 128 detects the voltage value of the actual motor rotation angle θm1 output from the motor rotation angle sensor 33, and the voltage value is detected in the same manner as the disconnection / short detection means 101 and 106. Is smaller or larger than the expected value, it is determined that the motor rotation angle sensor 33 is short-circuited or broken, respectively. Thereby, F
A flag Fid is generated by the id generation means 129.
【0057】切換回路46は、常時(初期状態)はコン
ビスイッチ49をオンとしなければ、バッテリ44が定
電圧回路47に接続されないように構成されている。コ
ンビスイッチ49が投入されると、バッテリ44より抵
抗48を介して流入する電流によりFb 発生手段131
が付勢され、フラグFb が発生する。そして、このフラ
グFb の発生により、バックアップタイマ133がリセ
ットされる。また、このフラグFb の発生は、コンビス
イッチ49をオフにすると解除される。 前記フラグF
b が発生してから消滅した場合、すなわちフラグFb の
立ち下がりにより、Fhr発生手段132が付勢され、フ
ラグFhrが発生される。これにより、バックアップタイ
マ133が起動されると共に、切換回路46が付勢さ
れ、定電圧回路47が、コンビスイッチ49を介さずに
直接バッテリ44に接続される。The switching circuit 46 is configured so that the battery 44 is not connected to the constant voltage circuit 47 unless the combination switch 49 is always turned on (initial state). When the combination switch 49 is turned on, the current flowing from the battery 44 via the resistor 48 causes the Fb generating means 131
Is activated, and the flag Fb is generated. When the flag Fb is generated, the backup timer 133 is reset. The generation of the flag Fb is released when the combination switch 49 is turned off. The flag F
When b disappears after the occurrence, that is, when the flag Fb falls, the Fhr generating means 132 is activated, and the flag Fhr is generated. As a result, the backup timer 133 is activated, the switching circuit 46 is energized, and the constant voltage circuit 47 is directly connected to the battery 44 without passing through the combination switch 49.
【0058】前記バックアップタイマ133は、予定時
間(例えば3時間)の経過を検出すると、前記切換回路
46を消勢し、定電圧回路47をバッテリ44から切り
離す。 すなわち、コンビスイッチ49がオフとなって
も前記予定時間の間は、当該ヘッドライト制御装置に電
源が接続されたままとなり、RAM等の各種記憶手段に
記憶された各種データ(ダイナミックセンター値記憶手
段113に記憶されたダイナミックセンター値θdc等)
が保持される。したがって、例えばライダがコンビスイ
ッチ49をオフとして休憩をした後、再び走行を開始し
たような場合には、即座に良好なヘッドライトの制御が
可能となる。When the backup timer 133 detects the elapse of the scheduled time (for example, three hours), the backup circuit 133 deactivates the switching circuit 46 and disconnects the constant voltage circuit 47 from the battery 44. That is, even if the combination switch 49 is turned off, the power is kept connected to the headlight control device during the scheduled time, and various data (dynamic center value storage means) stored in various storage means such as RAM. Dynamic center value θdc stored in 113, etc.)
Is held. Therefore, for example, in a case where the rider restarts running after turning off the combination switch 49 and then taking a rest, good headlight control can be immediately performed.
【0059】また、前記バックアップタイマ133が予
定時間を検出する前に、コンビスイッチ49がオンとな
った場合には、Fb 発生手段131より発生されるフラ
グFb により、該バックアップタイマ133はリセッ
ト、停止される。また、切換回路46が消勢される。If the combination switch 49 is turned on before the backup timer 133 detects the scheduled time, the backup timer 133 is reset and stopped by the flag Fb generated by the Fb generating means 131. Is done. Further, the switching circuit 46 is deactivated.
【0060】コンビスイッチ49、フラグFb 及びバッ
クアップタイマ133の状態と、定電圧回路47より出
力される電源電圧との関係を示すタイムチャートを、図
25に示す。FIG. 25 is a time chart showing the relationship between the state of the combination switch 49, the flag Fb and the backup timer 133 and the power supply voltage output from the constant voltage circuit 47.
【0061】コンビスイッチ49のオン状態が検出され
た場合、すなわちフラグFb の立ち上がりが検出された
場合には、モータ復帰手段127が付勢される。この場
合、モータ復帰手段127は、車速Vが所定速度(例え
ば3[km/h])以下である場合には、シェードがその左
右のストッパに当接するまで、サーボモータ18を右方
向及び左方向に一杯に回転させ、それぞれのモータ実回
転角を検出し、それらの合計の1/2の値を演算する。
シェード及びそのストッパが当該二輪車のフレームに対
して正確に取り付けられているならば、この値は、ハン
ドルの中央位置、換言すればシェードの中央位置に対応
するモータ中央値θmcである。この後、サーボモータ1
8が前記中央値θmcとなるように、該サーボモータ18
を制御する。When the ON state of the combination switch 49 is detected, that is, when the rising of the flag Fb is detected, the motor return means 127 is energized. In this case, when the vehicle speed V is equal to or lower than a predetermined speed (for example, 3 [km / h]), the motor return unit 127 rotates the servo motor 18 in the right and left directions until the shade comes into contact with the left and right stoppers. , And the actual rotation angles of the respective motors are detected, and a half of the sum is calculated.
If the shade and its stopper are correctly attached to the frame of the motorcycle, this value is the motor center value θmc corresponding to the center position of the steering wheel, in other words, the center position of the shade. After this, servo motor 1
8 so as to be the median value θmc.
Control.
【0062】さて、図11及び図12に関して後述する
ように、前記ダイナミックセンター値演算手段110に
より算出されたダイナミックセンター値θdcd が、当該
ヘッドライト制御に用いられるのに相応しい値となった
場合、換言すれば、当該自動二輪車が比較的長い距離を
走行してダイナミックセンター値θdcd が信頼できる値
となったことが判別された場合には、Fd 発生手段11
5及びFd1発生手段134より、フラグFd 及びFd1が
発生される。As will be described later with reference to FIGS. 11 and 12, when the dynamic center value θdcd calculated by the dynamic center value calculating means 110 becomes a value suitable for use in the headlight control, in other words, Then, when it is determined that the motorcycle has traveled a relatively long distance and the dynamic center value θdcd has become a reliable value, the Fd generating means 11
5 and Fd1 generating means 134 generate flags Fd and Fd1.
【0063】フラグFd が発生されるまでの間は、前記
Fb の発生によりサーボモータ18が中央位置に戻され
た後は、該モータの制御は行われないが、Fd の発生に
より切換手段123が制御され、第1又は第2モータ制
御手段124又は126による制御が可能となる。Until the flag Fd is generated, after the servomotor 18 is returned to the center position by the generation of Fb, the servomotor 18 is not controlled, but the switching means 123 is generated by the generation of Fd. Controlled by the first or second motor control means 124 or 126.
【0064】また前記Fd1の発生により、フラグFd の
立ち上がり時だけ、バンク角θb に応じたサーボモータ
18の制御が第2モータ制御手段124により緩和さ
れ、モータの回転角が制御角θm0に徐々に一致するよう
に制御される。その後、フラグFd1がリセットされ、第
1モータ制御手段124により制御が続行される。Further, due to the occurrence of Fd1, the control of the servo motor 18 in accordance with the bank angle θb is relaxed by the second motor control means 124 only when the flag Fd rises, and the rotation angle of the motor is gradually reduced to the control angle θm0. Controlled to match. After that, the flag Fd1 is reset, and the control is continued by the first motor control means 124.
【0065】また、前述のように、前記第2モータ制御
手段126は、フラグFvoが発生している場合(12
7.5[km/h]<Vとなった場合)には、シェード9を
徐々に中央位置に復旧させるが、車速Vが127.5
[km/h]以下となった場合、すなわち、Fvoの立ち下が
りにより、Fvo1 発生手段135が付勢され、フラグF
vo1 が発生されると、バンク角θb に応じたサーボモー
タ18の制御が再開される。この場合、モータの回転角
は、制御角θm0に徐々に一致するように制御され、そし
て、一致が確認された場合には、前記フラグFvo1 がリ
セットされ、その後、第1モータ制御手段124により
制御が続行される。As described above, when the flag Fvo is generated (12)
When 7.5 [km / h] <V), the shade 9 is gradually restored to the center position, but the vehicle speed V becomes 127.5.
[Km / h] or less, that is, when Fvo falls, the Fvo1 generating means 135 is energized and the flag F
When vo1 is generated, the control of the servo motor 18 according to the bank angle θb is restarted. In this case, the rotation angle of the motor is controlled so as to gradually coincide with the control angle θm0, and when the coincidence is confirmed, the flag Fvo1 is reset. Is continued.
【0066】なお、前述の説明より明らかなように、断
線/短絡検出手段101,106及び128は、それぞ
れ同様の機能であるが、この実施例においては、断線/
短絡検出手段101のみがハード構成となっており(す
なわち、その機能はレベル判定回路35により実現され
ており)、断線/短絡検出手段106及び128の機能
は、電子制御装置42(図4)によりソフトウェアによ
り実現されている。もちろん、断線/短絡検出手段10
1の機能も電子制御装置42により行われても良い。As is clear from the above description, the disconnection / short detection means 101, 106 and 128 have the same functions, respectively.
Only the short-circuit detecting means 101 has a hardware configuration (that is, the function is realized by the level determination circuit 35), and the functions of the disconnection / short-circuit detecting means 106 and 128 are controlled by the electronic control unit 42 (FIG. 4). Implemented by software. Of course, the disconnection / short detection means 10
The first function may also be performed by the electronic control unit 42.
【0067】次に、図20及び図21に示された二輪車
のヘッドライト制御装置の動作を詳細に説明する。この
実施例によるシェード9の制御は、基本的には、図5に
示されるメインルーチンと、メインルーチン実行中に定
時間ごとに行われる割込処理(図7)、及びメインルー
チン実行中に車速検出用パルスの割込により行われる割
込処理(図9及び図10)により行われる。Next, the operation of the motorcycle headlight control device shown in FIGS. 20 and 21 will be described in detail. The control of the shade 9 according to this embodiment is basically performed by a main routine shown in FIG. 5, an interrupt process (FIG. 7) performed at regular intervals during the execution of the main routine, and a vehicle speed during the execution of the main routine. This is performed by interrupt processing (FIGS. 9 and 10) performed by interrupting the detection pulse.
【0068】図5において、まずステップS1では、イ
ニシャライズが行われる。これにより、フラグFb が
“H”と、また、それ以外の各種フラグ(Fvo,Fvo1
,Fbu,Fd ,Fd1,Fid及びFhr)が“L”にセッ
トされる。また、図7に関して後述するn、並びに各種
カウンタ及びタイマ等がリセットされる。さらに、図1
1及び図12に関して後述するLdcmax が“0”データ
にセットされる。In FIG. 5, first, in step S1, initialization is performed. As a result, the flag Fb becomes "H" and the other various flags (Fvo, Fvo1
, Fbu, Fd, Fd1, Fid and Fhr) are set to "L". Further, n, which will be described later with reference to FIG. 7, and various counters and timers are reset. Further, FIG.
Ldcmax described later with reference to FIG. 1 and FIG. 12 is set to "0" data.
【0069】ステップS2においては、シェードの初期
動作確認が行われる。この処理では、シェード9(図2
及び図3)を中央位置(すなわち、当該自動二輪車30
が直進走行している場合のシェード9の位置)に復帰さ
せる。この処理の詳細を図6に示す。In step S2, the initial operation of the shade is confirmed. In this process, shade 9 (FIG. 2)
And FIG. 3) at the center position (that is, the motorcycle 30).
(The position of the shade 9 when the vehicle is traveling straight). FIG. 6 shows the details of this processing.
【0070】図6のステップS20においては、Fb が
“H”であるか否かが判別され、“L”であれば、当該
処理は終了する。Fb が“H”であれば、ステップS2
1において自動二輪車30の車速Vが3[km/h]以下で
あるか否かが判別される。Vが3[km/h]を超えていれ
ば、当該処理は終了する。In step S20 of FIG. 6, it is determined whether or not Fb is "H". If Fb is "L", the process ends. If Fb is "H", step S2
At 1, it is determined whether or not the vehicle speed V of the motorcycle 30 is 3 [km / h] or less. If V exceeds 3 [km / h], the process ends.
【0071】Vが3[km/h]以下であれば、ステップS
22において、サーボモータ18が右方向に回転され
る。この回転は、ステップS23において、シェード9
がそのストッパ(図示せず)に接触したことが検出され
るまで、行われる。ステップS24においては、サーボ
モータ18の回転角θm1がθmrm として読み込まれる。If V is 3 [km / h] or less, step S
At 22, the servomotor 18 is rotated clockwise. This rotation is performed in step S23 by the shade 9
Until the contact with the stopper (not shown) is detected. In step S24, the rotation angle θm1 of the servo motor 18 is read as θmrm.
【0072】ステップS25において、サーボモータ1
8が左方向に回転される。この回転は、ステップS26
において、シェード9がストッパに接触したことが検出
されるまで、行われる。ステップS27においては、サ
ーボモータ18の回転角θm1がθmlm として読み込まれ
る。In step S25, the servo motor 1
8 is rotated to the left. This rotation is performed in step S26.
Is performed until the contact of the shade 9 with the stopper is detected. In step S27, the rotation angle θm1 of the servo motor 18 is read as θmlm.
【0073】ステップS28においては、当該二輪車が
直進走行している場合におけるシェードの回転角(シェ
ードの中央位置)に対応するシェード駆動用モータ18
の回転角(モータ中央値)θmcが演算される。この演算
は、前記θmrm 及びθmlm の和を1/2することにより
行われる。ステップS29においては、サーボモータ1
8の回転角がθmcとなるように、該サーボモータ18を
駆動させる。この駆動の後、当該処理は終了する。In step S28, the shade driving motor 18 corresponding to the rotation angle of the shade (the center position of the shade) when the motorcycle is traveling straight ahead.
Is calculated (motor center value) θmc. This calculation is performed by halving the sum of θmrm and θmlm. In step S29, the servo motor 1
The servo motor 18 is driven so that the rotation angle of the motor 8 becomes θmc. After this driving, the process ends.
【0074】なお、図示されていないが、前記ステップ
S22及びS25の処理において、サーボモータ18の
良好な回転が確認されない場合にはモータロックと判断
し、フラグFidが“H”となる。このFidが“H”とな
った場合の効果は、図26に関して後述する。Although not shown in the drawings, in the processing in steps S22 and S25, if satisfactory rotation of the servo motor 18 is not confirmed, it is determined that the motor is locked, and the flag Fid is set to "H". The effect when this Fid becomes "H" will be described later with reference to FIG.
【0075】図5に戻り、ステップS2の処理の後は、
ステップS3において、Fidが“H”であるか否かが判
別される。Fidが“L”であれば、ステップS5におい
てスイッチング素子52がオン(すなわちインジケータ
ランプ50が消灯)された後、ステップS6に移行す
る。また、Fidが“H”であれば、当該処理はステップ
S4のインジケータ処理に移行する。この処理の詳細を
図26に示す。なお、このインジケータ処理は、Fidが
“H”となったときに割り込みで実行されても良い。Referring back to FIG. 5, after the processing in step S2,
In step S3, it is determined whether or not Fid is "H". If Fid is “L”, after the switching element 52 is turned on (that is, the indicator lamp 50 is turned off) in step S5, the process proceeds to step S6. If Fid is "H", the process proceeds to the indicator process of step S4. FIG. 26 shows details of this processing. Note that this indicator process may be executed by interruption when Fid becomes “H”.
【0076】図26において、ステップS211では、
スイッチング素子52がオフとなり、インジケータラン
プ50が点灯される。ステップS212においては、サ
ーボモータ18の回転角がθmcとなるように、サーボモ
ータ18を制御する。フラグFidが図6に示された処理
で“H”となった場合にはθmcは算出されていないの
で、このような場合には、予め定められた回転角となる
ように、サーボモータ18を制御する。In FIG. 26, in step S211,
The switching element 52 is turned off, and the indicator lamp 50 is turned on. In step S212, the servo motor 18 is controlled such that the rotation angle of the servo motor 18 becomes θmc. When the flag Fid becomes “H” in the process shown in FIG. 6, θmc is not calculated, and in such a case, the servo motor 18 is controlled so that the rotation angle becomes a predetermined rotation angle. Control.
【0077】そして、ステップS213においては、図
示されないリセットスイッチがオンとなったか否かが判
別される。オンである場合には当該処理は終了する。す
なわち、図5のステップS1に戻る。Then, in step S213, it is determined whether a reset switch (not shown) has been turned on. If it is on, the process ends. That is, the process returns to step S1 in FIG.
【0078】図5に戻り、ステップS6においては、コ
ンビスイッチ49がオフであるか否かが判別される。コ
ンビスイッチ49がオンであれば、ステップS7におい
てFhrが“L”であるか否かが判別される。Fhrが
“L”であれば、ステップS3に戻る。Returning to FIG. 5, in step S6, it is determined whether or not the combination switch 49 is off. If the combination switch 49 is on, it is determined in step S7 whether or not Fhr is "L". If Fhr is "L", the process returns to step S3.
【0079】Fhrが“H”であれば、ステップS405
において、切換回路46(図4並びに図21)がリセッ
トされ、バッテリ44と定電圧回路47との直接接続が
解除される。前記直接接続は、後述するステップS40
0において行われる。If Fhr is "H", step S405
, The switching circuit 46 (FIGS. 4 and 21) is reset, and the direct connection between the battery 44 and the constant voltage circuit 47 is released. The direct connection is performed in step S40 described below.
0.
【0080】ステップS8及びS9において、Fhr及び
Fb がそれぞれ“L”及び“H”にセットされる。そし
て、ステップS11において、後述するステップS16
でセットされたバックアップタイマがリセットされ、そ
の後、当該処理はステップS3に戻る。In steps S8 and S9, Fhr and Fb are set to "L" and "H", respectively. Then, in step S11, step S16 described later is performed.
The backup timer set in is reset, and then the process returns to step S3.
【0081】前記ステップS6においてコンビスイッチ
49がオフであることが判別された場合には、ステップ
S12において、Fhrが“H”であるか否かが判別され
る。Fhrが“L”であれば、ステップS14において、
Fb が“L”にセットされる。 ステップS13におい
ては、Fhrが“H”にセットされる。If it is determined in step S6 that the combination switch 49 is off, it is determined in step S12 whether or not Fhr is "H". If Fhr is "L", in step S14,
Fb is set to "L". In step S13, Fhr is set to "H".
【0082】ステップS400においては、前記切換回
路46がセットされ、バッテリ44と定電圧回路47と
が直接接続される。そして、ステップS16において、
バックアップタイマにより時間計測が開始された後、ス
テップS3に戻る。In step S400, the switching circuit 46 is set, and the battery 44 and the constant voltage circuit 47 are directly connected. Then, in step S16,
After the time measurement is started by the backup timer, the process returns to step S3.
【0083】前記ステップS12においてFhrが“H”
であることが判別された後は、ステップS17において
所定時間(例えば3時間)が経過したか否かが判別され
る。前記所定時間の経過が判別されない場合には当該処
理はステップS3に戻り、前記所定時間の経過が判別さ
れた場合には、ステップS404において切換回路46
がリセットされ、バッテリ44と定電圧回路47との直
接接続が解除される。コンビスイッチ49はオフである
から、これにより、当該ヘッドライト制御装置に対する
電源の接続がなくなり、当該処理は終了する。In step S12, Fhr is "H".
Is determined, whether or not a predetermined time (for example, 3 hours) has elapsed in step S17. If the elapse of the predetermined time is not determined, the process returns to step S3. If the elapse of the predetermined time is determined, the switching circuit 46 is determined in step S404.
Is reset, and the direct connection between the battery 44 and the constant voltage circuit 47 is released. Since the combination switch 49 is off, the power supply is not connected to the headlight control device, and the process ends.
【0084】図7はメインルーチン実行中に定時間ごと
(例えば5[msec]ごと)に行われる割込処理(定時間
割込処理)を示すフローチャートである。図7におい
て、ステップS30においては、nに1が加算される。
ステップS31においては、舵角センサ32の出力信号
である舵角信号θh0(n) が読み込まれる。FIG. 7 is a flowchart showing an interruption process (a fixed time interruption process) performed at regular time intervals (for example, every 5 [msec]) during execution of the main routine. In FIG. 7, in step S30, 1 is added to n.
In step S31, the steering angle signal θh0 (n), which is the output signal of the steering angle sensor 32, is read.
【0085】ステップS32においては、舵角センサ3
2の断線/短絡検出処理が行われる。この処理の詳細を
図8に示す。なお、A/Dコンバータ37(図4)を介
して出力される舵角センサ32の信号は、通常は、例え
ば0.5〜4.5[V]の範囲(ハンドルが最も左に切
れた場合〜最も右に切れた場合)にあり、製造取付誤差
がある場合には、0〜5[V]の範囲までとする。In step S32, the steering angle sensor 3
2 is performed. FIG. 8 shows the details of this processing. In addition, the signal of the steering angle sensor 32 output via the A / D converter 37 (FIG. 4) usually has a range of, for example, 0.5 to 4.5 [V] (when the steering wheel is turned to the leftmost position). To the rightmost) and if there is a manufacturing mounting error, the range is from 0 to 5 [V].
【0086】図8において、ステップS40において
は、θh0(n) が0.5[V]を下回っているか否かが判
別され、下回っていればステップS42に、下回ってい
なければステップS41に移行する。ステップS41に
おいては、θh0(n) が4.5[V]を上回っているか否
かが判別され、上回っていればステップS42に、上回
っていなければステップS46に移行する。In FIG. 8, in step S40, it is determined whether or not θh0 (n) is less than 0.5 [V]. If it is, the process proceeds to step S42, and if not, the process proceeds to step S41. . In step S41, it is determined whether or not θh0 (n) exceeds 4.5 [V]. If it is, the process proceeds to step S42, and if not, the process proceeds to step S46.
【0087】ステップS42においては、車速Vが例え
ば30[km/h]以上であるか否かが判別され、30[km
/h]以上であればステップS43に、30[km/h]以上
でなければステップS46に移行する。ステップS43
においては、切れ角カウンタ(図示せず)のカウント値
に1が加算される。In step S42, it is determined whether or not the vehicle speed V is, for example, 30 [km / h] or more.
/ h] or more, the flow proceeds to step S43, and if not more than 30 [km / h], the flow proceeds to step S46. Step S43
, 1 is added to the count value of a turning angle counter (not shown).
【0088】ステップS44においては、前記カウント
値が20以上であるが否かが判別され、20未満であれ
ば当該処理は終了する。また、前記カウント値が20以
上である場合には、舵角センサ32の断線又は短絡と判
定し、ステップS45においてFidが“H”にセットさ
れ、その後、当該処理は終了する。In step S44, it is determined whether or not the count value is equal to or greater than 20, and if the count value is less than 20, the process ends. If the count value is 20 or more, it is determined that the steering angle sensor 32 is disconnected or short-circuited, and Fid is set to "H" in step S45, and thereafter, the process ends.
【0089】また、ステップS46においては、前記切
れ角カウンタのカウント値がリセットされる。つまり、
この図8の処理は、比較的高速(30[km/h]以上)で
走行している場合には、ハンドル切れ角があまり大きく
ならない(θh0(n) があまり大きく、又はあまり小さく
ならない)という事実に基づいて舵角センサ32の断線
/短絡検出を行うものである。In step S46, the count value of the turning angle counter is reset. That is,
According to the processing of FIG. 8, when the vehicle is traveling at a relatively high speed (30 [km / h] or more), the steering wheel turning angle does not become too large (θh0 (n) does not become too large or does not become too small). The disconnection / short-circuit detection of the steering angle sensor 32 is performed based on the fact.
【0090】もちろん、舵角センサ32に製造誤差がな
く、断線/短絡でない場合にはその出力が必ず0.5〜
4.5[V]となる場合には、ステップS40及びS4
1のしきい値を0.5[V]よりも大きく、また4.5
[V]よりも小さくしても良い。Of course, if there is no manufacturing error in the steering angle sensor 32 and there is no disconnection / short circuit, its output must be 0.5 to
If it becomes 4.5 [V], steps S40 and S4
1 is greater than 0.5 [V] and 4.5.
It may be smaller than [V].
【0091】また、このように、前記しきい値を当該舵
角センサ32より出力が予想される最大の範囲よりも小
さな範囲の上端値及び下端値に設定する場合には、ステ
ップS42の処理を省略することによっても、舵角セン
サ32の断線/短絡の検出を行うことができる。When the threshold value is set to the upper end value and the lower end value in a range smaller than the maximum range in which the output from the steering angle sensor 32 is expected, the process of step S42 is performed. Even if it is omitted, disconnection / short circuit of the steering angle sensor 32 can be detected.
【0092】図7に戻り、ステップS33においては、
第2式より、ハンドル切れ角の変化速度Δθh が演算さ
れる。Returning to FIG. 7, in step S33,
From the equation (2), the change speed Δθh of the steering wheel turning angle is calculated.
【0093】 Δθh =θh0(n) −θh0(n-10) …(2) なお、第2式において、θh0(n) から減算される値は、
(n-10)以外のタイミングで検出されたθh0でも良い。Δθh = θh0 (n) −θh0 (n−10) (2) In the second equation, the value subtracted from θh0 (n) is
θh0 detected at a timing other than (n−10) may be used.
【0094】ステップS34においては、θh0を用い
て、図20及び図21に関して前述したような移動平均
値(又は単なる平均値)を演算する。ステップS35に
おいては、後述するダイナミックセンター値θdcが読み
出される。In step S34, a moving average value (or a simple average value) as described above with reference to FIGS. 20 and 21 is calculated using θh0. In step S35, a dynamic center value θdc described later is read.
【0095】ステップS36においては、第3式より、
ハンドル切れ角(ハンドルの中心位置からの切れ角)θ
h(n)を演算する。In step S36, from the third equation,
Steering angle (steering angle from center of handle) θ
Calculate h (n).
【0096】 θh(n)=θha−θdc …(3) ステップS37においては、θh(n)からθh(n-1)を減じ
た差の絶対値が、所定[レベル]、例えば3[レベル]
(1[レベル]は当該マイクロコンピュータにより演算
可能な最小値、すなわちマイクロコンピュータに設定さ
れた分解能、以下、同様)を超えているか否かが判別さ
れる。所定レベルを超えていなければステップS39
へ、所定レベルを超えていればステップS38に移行す
る。Θh (n) = θha−θdc (3) In step S37, the absolute value of the difference obtained by subtracting θh (n−1) from θh (n) is a predetermined [level], for example, 3 [level].
It is determined whether or not (1 [level] exceeds a minimum value that can be calculated by the microcomputer, that is, a resolution set in the microcomputer, the same applies hereinafter). If it does not exceed the predetermined level, step S39
If it exceeds the predetermined level, the process moves to step S38.
【0097】ステップS38においては、θh(n)の絶対
値が、θh(n-1)に2[レベル]を加算した値にセットさ
れる。そして、ステップS39において、θh(n)が記憶
された後、この処理は終了する。In step S38, the absolute value of θh (n) is set to a value obtained by adding 2 [levels] to θh (n-1). Then, in step S39, after θh (n) is stored, this processing ends.
【0098】図9及び図10はメインルーチン実行中に
車速検出用パルスの割込により行われる割込処理を示す
フローチャートであり、それぞれを組合せて一図を構成
している。図9及び図10において、まずステップS5
1においては、車速検出用パルスVPの検出間隔時間を
用いて、適宜の手法により、当該自動二輪車30の車速
Vが検出される。FIG. 9 and FIG. 10 are flowcharts showing the interruption processing performed by interruption of the vehicle speed detection pulse during execution of the main routine, and these are combined to form a diagram. 9 and 10, first, in step S5
In 1, the vehicle speed V of the motorcycle 30 is detected by an appropriate method using the detection interval time of the vehicle speed detection pulse VP.
【0099】ステップS52においては、車速Vが12
7.5[km/h]を超えているか否かが判別される。超え
ていれば、ステップS53においてFvoが“H”にセッ
トされてステップS56に移行する。車速Vが127.
5[km/h]を超えていない場合には、ステップS201
において、フラグFvoが“H”であるか否かが判別され
る。“H”でない場合には、ステップS54に移行す
る。In step S52, the vehicle speed V becomes 12
It is determined whether the speed exceeds 7.5 [km / h]. If so, Fvo is set to "H" in step S53, and the flow shifts to step S56. Vehicle speed V is 127.
If it does not exceed 5 [km / h], step S201
In, it is determined whether or not the flag Fvo is “H”. If not “H”, the process moves to step S54.
【0100】Fvoが“H”である場合には、ステップS
202及びS203において、フラグFvo及びFvo1
が、それぞれ“L”及び“H”にセットされる。そし
て、ステップS204において、図15のステップS1
25において後述するθmmがリセットされたのち、ステ
ップS54に移行する。If Fvo is "H", step S
At 202 and S203, the flags Fvo and Fvo1
Are set to “L” and “H”, respectively. Then, in step S204, step S1 in FIG.
After θmm, which will be described later, is reset at 25, the process proceeds to step S54.
【0101】ステップS54においては、車速Vが3
[km/h]未満であるか否かが判別される。3[km/h]未
満である場合には、ステップS55において車速Vが0
[km/h]にセットされてから、ステップS56に移行す
る。また、3[km/h]以上である場合には、そのままス
テップS56に移行する。In step S54, the vehicle speed V becomes 3
It is determined whether it is less than [km / h]. If it is less than 3 [km / h], the vehicle speed V is set to 0 in step S55.
After being set to [km / h], the flow shifts to step S56. If the speed is 3 [km / h] or more, the process directly proceeds to step S56.
【0102】ステップS56においては、後述するステ
ップS57の処理を行うタイミングであるか否かが判別
される。すなわち、ステップS57の処理は、例えば当
該フローチャートが所定回数実行される毎に行われる。
このステップS57では、舵角センサ32の動的な中心
位置データであるダイナミックセンター値、すなわちハ
ンドルが中央に位置している場合の舵角センサ32の出
力信号が演算される。このダイナミックセンター値の検
出により、舵角センサ32の取り付けが当該自動二輪車
に対してずれていても、ハンドル中央位置における舵角
センサ32の出力信号を正確に得ることができる。In step S56, it is determined whether or not it is time to perform the processing in step S57 described later. That is, the process of step S57 is performed, for example, every time the flowchart is executed a predetermined number of times.
In this step S57, a dynamic center value as dynamic center position data of the steering angle sensor 32, that is, an output signal of the steering angle sensor 32 when the steering wheel is located at the center is calculated. By detecting the dynamic center value, an output signal of the steering angle sensor 32 at the steering wheel center position can be accurately obtained even if the attachment of the steering angle sensor 32 is shifted with respect to the motorcycle.
【0103】前記ステップS57の処理の詳細を、図1
1及び図12に示す。図11及び図12はそれぞれを組
合せて一図を構成している。まずステップS71では、
図7のステップS34で演算されたθhaが読み込まれ
る。ステップS72においては、後述するステップS8
5において、不感帯が既にセットされているか否かが判
別される。不感帯がセットされていなければステップS
84に移行する。The details of the processing in step S57 are shown in FIG.
1 and FIG. FIG. 11 and FIG. 12 are combined to form a diagram. First, in step S71,
The θha calculated in step S34 of FIG. 7 is read. In step S72, step S8 described later is performed.
At 5, it is determined whether the dead zone has already been set. If no dead zone has been set, step S
Move to 84.
【0104】ステップS84においては、θhaがθhaa
にセットされる。ステップS85においては、不感帯が
セットされる。この不感帯は、前記θhaa の上下方向に
所定幅Rを有するものであり(図18参照)、その上限
値θhd1及び下限値θhd2 は、前記θhaa に不感帯幅R
を加算又は減算したものである。In step S84, θha becomes θhaa
Is set to In step S85, a dead zone is set. This dead zone has a predetermined width R in the vertical direction of the above-mentioned θhaa (see FIG. 18), and the upper limit value θhd1 and the lower limit value θhd2 of the dead zone width R
Is added or subtracted.
【0105】そして、後述するように、θhaが不感帯か
ら外れた場合に、該不感帯がセットされてから(θhaa
がセットされてから)θhaが不感帯から外れるまでに当
該自動二輪車が走行した距離Ldcが測定され(同図参
照)、また、後述のように所定の条件を満たした場合、
そのときのθhaa がθhaa 又はθhaa(FF)として記憶
される。As will be described later, when θha deviates from the dead zone, after the dead zone is set (θhaa
The distance Ldc traveled by the motorcycle before θha deviates from the dead zone is measured (after the is set) (see FIG. 3), and when a predetermined condition is satisfied as described later,
Θhaa at that time is stored as θhaa or θhaa (FF).
【0106】ステップS86においては、不感帯がセッ
トされてからの走行距離Ldcの計測が開始され、その
後、当該処理は終了する。前記ステップS72において
不感帯がセットされていると判別された場合には、ステ
ップS73において、θhaが不感帯を外れたか否か、つ
まり、上限値θhd1 を上回ったか否か、あるいは下限値
θhd2 を下回ったか否かが判別される。In step S86, the measurement of the traveling distance Ldc after the dead zone is set is started, and thereafter, the process ends. If it is determined in step S72 that the dead zone has been set, in step S73, it is determined whether θha has deviated from the dead zone, that is, whether θha has exceeded the upper limit θhd1 or whether it has fallen below the lower limit θhd2. Is determined.
【0107】不感帯を超えていなければ、ステップS8
7において、走行距離Ldcが所定距離FF以上であるか
否かが判別される。FF以上でなければ当該処理は終了
する。 前記ステップS73において、θhaが不感帯を
外れたことが判別された場合には、ステップS74にお
いて、走行距離Ldcの計測が終了し、記憶される。換言
すれば、不感帯がセットされてからθhaが不感帯から外
れるまでに当該自動二輪車が走行した距離、つまり安定
した直進状態の距離Ldcが検出される。If it does not exceed the dead zone, step S8
At 7, it is determined whether or not the traveling distance Ldc is equal to or longer than a predetermined distance FF. If not, the process ends. If it is determined in step S73 that θha has deviated from the dead zone, the measurement of the traveling distance Ldc is completed and stored in step S74. In other words, the distance traveled by the motorcycle from when the dead zone was set to when θha deviated from the dead zone, that is, the distance Ldc in a stable straight traveling state is detected.
【0108】ステップS90においては、前記距離Ldc
がLdcmax(今まで検出されたLdcのうちで最も大きい
値、このLdcmax の初期値は図5のステップS1におい
てイニシャライズされた“0”なる値である)以上であ
るか否かが判別される。LdcがLdcmax 以上でなけれ
ば、後述するステップS75に移行する。In step S90, the distance Ldc
Is greater than or equal to Ldcmax (the largest value of Ldc detected so far, and the initial value of Ldcmax is the value “0” initialized in step S1 of FIG. 5). If Ldc is not equal to or greater than Ldcmax, the process proceeds to step S75 described later.
【0109】LdcがLdcmax 以上であれば、ステップS
91において、Ldcmax として前述したFFなる値がセ
ットされているか否かが判別される。このセットは、後
述するステップS95において行われる。If Ldc is equal to or greater than Ldcmax, step S
At 91, it is determined whether or not the value of FF described above is set as Ldcmax. This setting is performed in step S95 described later.
【0110】Ldcmax がFFとなっていれば、ステップ
S94において、不感帯セット時にセットされたθhaa
の値がθhaa(FF)にセットされ、その後、ステップS
75に移行する。Ldcmax がFFでなければ、ステップ
S92において、θhaa の値がそのままθhaa として記
憶される。そして、ステップS93においては、前記ス
テップS74で記憶されたLdcがLdcmax として記憶さ
れ、その後、ステップS75に移行する。If Ldcmax is FF, in step S94, θhaa set at the time of setting the dead zone is set.
Is set to θhaa (FF), and then step S
It moves to 75. If Ldcmax is not FF, in step S92, the value of θhaa is stored as it is as θhaa. Then, in step S93, Ldc stored in step S74 is stored as Ldcmax, and thereafter, the flow shifts to step S75.
【0111】前記ステップS87においてLdcが所定距
離FF以上であることが判別された場合には、ステップ
S95においてLdcmax がFFにセットされる。前記L
dcmax の値は、ステップS90の処理から明らかなよう
に、Ldcの最も大きな値に順次セットされていくが、ス
テップS87においてLdcが所定距離FF以上となった
ことが判別された場合には、Ldcmax の値はFFの値に
固定される。If it is determined in step S87 that Ldc is not less than the predetermined distance FF, Ldcmax is set to FF in step S95. Said L
As is clear from the processing in step S90, the value of dcmax is sequentially set to the largest value of Ldc. However, if it is determined in step S87 that Ldc has exceeded the predetermined distance FF, Ldcmax is set. Is fixed to the value of FF.
【0112】ステップS96においては、不感帯セット
時にセットされたθhaa の値がθhaa(FF)にセットさ
れる。その後、ステップS75に移行する。このよう
に、Ldcの最も大きい値がLdcmax にセットされると共
に、そのときのθhaa がそのままθhaa として記憶され
る。そして、Ldcmax が最大値FFにセットされた後
は、θhaa は、θhaa(FF)として記憶される。In step S96, the value of θhaa set at the time of setting the dead zone is set to θhaa (FF). After that, the processing shifts to the step S75. As described above, the largest value of Ldc is set to Ldcmax, and θhaa at that time is stored as it is as θhaa. Then, after Ldcmax is set to the maximum value FF, θhaa is stored as θhaa (FF).
【0113】ステップS75においては、Fd が“L”
であるか否かが判別され、“H”であればステップS8
0に移行する。Fd が“L”であれば、ステップS76
において、Ldc(又はLdcmax )がLdcb (<FF)を
上回っているか否かが判別され、上回っていなければ、
ステップS80に移行する。In step S75, Fd becomes "L".
Is determined, and if "H", the process proceeds to step S8.
Move to 0. If Fd is "L", step S76
In, it is determined whether or not Ldc (or Ldcmax) exceeds Ldcb (<FF).
Move to step S80.
【0114】LdcがLdcb を上回っていれば、ステップ
S77においてFd 及びFd1が“H”にセットされた
後、ステップS80に移行する。ステップS80におい
ては、θhaa(FF)が4つ記憶されているか否かが判別
される。θhaa(FF)が4つ記憶されている場合には、
ステップS81において、その4つの平均値がハンドル
切れ角のダイナミックセンター値θdcd として演算さ
れ、これがθdcとして記憶される。そして、ステップS
82において、最も古いθhaa(FF)が削除される。す
なわち、最新の3つのθhaa(FF)が選択される。その
後、当該処理はステップS83に移行する。If Ldc is greater than Ldcb, Fd and Fd1 are set to "H" in step S77, and then the flow shifts to step S80. In step S80, it is determined whether four θhaa (FF) are stored. When four θhaa (FF) are stored,
In step S81, the four average values are calculated as the dynamic center value θdcd of the steering wheel turning angle, and this is stored as θdc. And step S
At 82, the oldest θhaa (FF) is deleted. That is, the latest three θhaa (FF) are selected. Thereafter, the process proceeds to step S83.
【0115】前記ステップS80において、θhaa(F
F)が4つあることが判別されない場合には、ステップ
S88において、最新のθhaa (すなわちステップS9
2で記憶されたθhaa 、又はステップS94若しくはS
96において記憶されたθhaa(FF))がダイナミック
センター値θdcd として選択され、これがθdcとして記
憶された後、ステップS83に移行する。ステップS8
3においては、不感帯がリセットされた後、前記ステッ
プS84に移行して、不感帯が再度セットされる。In step S80, θhaa (F
If it is not determined that there are four F), in step S88, the latest θhaa (ie, step S9
Θhaa stored in step 2, or step S94 or S94
Θhaa (FF) stored at 96 is selected as the dynamic center value θdcd, and after it is stored as θdc, the flow proceeds to step S83. Step S8
In 3, after the dead zone is reset, the process proceeds to step S84, where the dead zone is set again.
【0116】図9及び図10に戻り、ステップS58な
いしS60において、図20及び図21に関して前述し
た第1補正係数α、第2補正係数β及び第4補正係数δ
が読み出され、そして、ステップS61において、前掲
した第1式よりバンク角θbが演算される。Returning to FIGS. 9 and 10, in steps S58 to S60, the first correction coefficient α, the second correction coefficient β, and the fourth correction coefficient δ described above with reference to FIGS.
Is read out, and in step S61, the bank angle θb is calculated from the above-described first equation.
【0117】ステップS62においては、サーボモータ
18の制御量が演算される。この処理の詳細を図13に
示す。図13において、まずステップS100において
は、θhaa(FF)(図11及び図12参照)が1以上記
憶されているか否かが判別される。θhaa(FF)が1以
上記憶されている場合には、ダイナミックセンター値が
信頼性の高い値であると判断し、ステップS101にお
いて第3補正係数γがεに設定される。In step S62, the control amount of the servo motor 18 is calculated. FIG. 13 shows the details of this processing. 13, first, in step S100, it is determined whether or not one or more θhaa (FF) (see FIGS. 11 and 12) is stored. If one or more θhaa (FF) is stored, it is determined that the dynamic center value is a highly reliable value, and the third correction coefficient γ is set to ε in step S101.
【0118】前述のように、バンク角θb はハンドル切
れ角θh(n)を用いて算出されており、また該θh(n)は、
図11及び図12において決定されたダイナミックセン
ター値θdcを用いて行われるが、このθdcは、θhaa(F
F)が記憶されている場合(当該自動二輪車が走行を開
始してから、ハンドル切れ角θhaが不感帯を外れること
なく、距離FF以上走行した場合)には信頼性が高いと
いうことができる。つまり、このような場合には、ハン
ドルは中央位置にあると予想することができる。 した
がって、このような場合には、第3補正係数γがそのま
まεに設定される。 しかし、それ以外の、θhaa(F
F)が一つも記憶されていない場合には、ダイナミック
センター値θdcの信頼性が低いと判定され、第3補正係
数γは、ステップS103又は105に示すように、ε
よりも小さい値に設定される。As described above, the bank angle θb is calculated using the steering wheel turning angle θh (n).
This is performed using the dynamic center value θdc determined in FIGS. 11 and 12, and this θdc is calculated as θhaa (F
F) is stored (in the case where the motorcycle has traveled the distance FF or more without the steering wheel turning angle θha falling outside the dead zone since the motorcycle started traveling), it can be said that the reliability is high. That is, in such a case, it can be expected that the handle is at the center position. Therefore, in such a case, the third correction coefficient γ is set to ε as it is. However, other than that, θhaa (F
If no F) is stored, it is determined that the reliability of the dynamic center value θdc is low, and the third correction coefficient γ is set to ε as shown in step S103 or 105.
It is set to a smaller value.
【0119】ステップS100において、θhaa(FF)
が一つも記憶されていないと判別された場合には、ステ
ップS102においてθhaa が1以上記憶されているか
否かが判別される。θhaa が一つも記憶されていない場
合には、ダイナミックセンター値が算出されていないと
判定し、ステップS103において第3補正係数γが0
に設定される。すなわち、後述するステップS106に
おいて、モータ制御量θm が0となる。In step S100, θhaa (FF)
Is not stored, it is determined in step S102 whether or not one or more θhaa is stored. If no θhaa is stored, it is determined that the dynamic center value has not been calculated, and the third correction coefficient γ is set to 0 in step S103.
Is set to That is, in step S106 described later, the motor control amount θm becomes zero.
【0120】θhaa が1以上記憶されている場合には、
ステップS104において、Ldcmax がLdcb を超えて
いるか否かが判別される。そして、Ldcb を超えていな
ければダイナミックセンター値の信頼性が低いと判定
し、ステップS103に移行する。また、Ldcb を超え
ていればステップS105に移行する。When one or more θhaa are stored,
In step S104, it is determined whether or not Ldcmax exceeds Ldcb. If it does not exceed Ldcb, it is determined that the reliability of the dynamic center value is low, and the flow shifts to step S103. If it exceeds Ldcb, the process proceeds to step S105.
【0121】ステップS105においては、第4式よ
り、第3補正係数γを演算する。In step S105, a third correction coefficient γ is calculated from the fourth equation.
【0122】 γ=ε×{(Ldc−Ldcb )/(FF−Ldcb )} …(4) この第4式より明らかなように、第3補正係数γはεよ
りも小さな値に設定される。すなわち、ステップS10
5に移行した場合、ダイナミックセンター値の信頼性は
それほど高くはないが、該センター値を緩和すれば、モ
ータ制御量θmの演算に十分使用できるものと判定さ
れ、第3補正係数γがLdcに応じて緩和される。なお、
前掲した第4式においては、LdcとしてLdcmax を用い
ても良い。Γ = ε × {(Ldc−Ldcb) / (FF−Ldcb)} (4) As is apparent from the fourth equation, the third correction coefficient γ is set to a value smaller than ε. That is, step S10
In the case of shifting to 5, the reliability of the dynamic center value is not so high, but if the center value is relaxed, it is determined that the dynamic control value can be used sufficiently for the calculation of the motor control amount θm, and the third correction coefficient γ becomes Ldc. Alleviated accordingly. In addition,
In the above-described fourth equation, Ldcmax may be used as Ldc.
【0123】第3補正係数γが設定された後は、ステッ
プS106において、第5式よりサーボモータ18の制
御量(サーボモータ18の回転軸の中心位置からの角度
差)θm が演算される。After the third correction coefficient γ is set, in step S106, the control amount of the servo motor 18 (the angle difference from the center position of the rotation axis of the servo motor 18) θm is calculated from the fifth equation.
【0124】 θm =θb ×γ …(5) なお、ステップS101及びS105に示されたεは、
バンク角θb をサーボモータ18の制御量θm に変換す
るための係数である。Θm = θb × γ (5) Note that ε shown in steps S101 and S105 is
This is a coefficient for converting the bank angle θb into a control amount θm of the servomotor 18.
【0125】図10に戻り、ステップS63において
は、演算されたモータ制御量θm が±5度未満であるか
否かが判定される。±5度未満であれば、ステップS6
4においてフラグFbuが“H”にセットされた後、ステ
ップS65に移行する。 θmが±5度以上であれば、
ステップS205においてフラグFbuが“L”にセット
され、ステップS206において、前記ステップS20
4と同様にθmmがリセットされた後、ステップS65に
移行する。Returning to FIG. 10, in step S63, it is determined whether or not the calculated motor control amount θm is less than ± 5 degrees. If less than ± 5 degrees, step S6
After the flag Fbu is set to "H" in 4, the process proceeds to step S65. If θm is ± 5 degrees or more,
In step S205, the flag Fbu is set to "L", and in step S206, the process proceeds to step S20.
After [theta] mm is reset in the same manner as in step 4, the process proceeds to step S65.
【0126】ステップS65においては、モータ回転角
センサ33よりA/Dコンバータ41(図4)を介して
出力されるサーボモータ18の実回転角θm1を読み込
む。ステップS66においては、モータ回転角センサ3
3の断線/短絡検出処理が行われる。この処理の詳細
を、図14に示す。なお、A/Dコンバータ41を介し
て出力されるモータ回転角センサ33の信号は、通常
は、0.5〜4.5[V]の範囲内にあるものとする。In step S65, the actual rotation angle θm1 of the servo motor 18 output from the motor rotation angle sensor 33 via the A / D converter 41 (FIG. 4) is read. In step S66, the motor rotation angle sensor 3
The disconnection / short-circuit detection processing of No. 3 is performed. FIG. 14 shows details of this processing. Note that the signal of the motor rotation angle sensor 33 output via the A / D converter 41 is normally in the range of 0.5 to 4.5 [V].
【0127】図14において、まず、ステップS110
では、θm1が0.5[V]未満であるか否かが判別され
る。0.5[V]未満であればステップS112に移行
し、0.5[V]以上であれば、ステップS111に移
行する。ステップS111においては、θm1が4.5
[V]を超えているか否かが判別される。4.5[V]
を超えていればステップS112に移行し、4.5
[V]以下であれば、ステップS113に移行する。In FIG. 14, first, at step S110
In, it is determined whether or not θm1 is less than 0.5 [V]. If it is less than 0.5 [V], the process proceeds to step S112, and if it is 0.5 [V] or more, the process proceeds to step S111. In step S111, θm1 is 4.5.
It is determined whether or not [V] is exceeded. 4.5 [V]
If it has exceeded 4.5, the process proceeds to step S112 and proceeds to 4.5.
If [V] or less, the process proceeds to step S113.
【0128】ステップS112においては、モータ回転
角カウンタ(図示せず)のカウント値に1が加算され
る。ステップS114においては、前記カウント値が2
0以上であるか否かが判別され、20未満であれば当該
処理は終了する。また、前記カウント値が20以上であ
る場合には、モータ回転角センサ33の断線又は短絡と
判定し、ステップS115において、フラグFidが
“H”にセットされ、その後、当該処理は終了する。ま
た、前記ステップS113においては、前記モータ回転
角カウンタのカウント値がリセットされる。In step S112, 1 is added to the count value of the motor rotation angle counter (not shown). In step S114, the count value is 2
It is determined whether it is 0 or more, and if it is less than 20, the process ends. If the count value is equal to or greater than 20, it is determined that the motor rotation angle sensor 33 is disconnected or short-circuited, and in step S115, the flag Fid is set to "H", and then the process ends. In step S113, the count value of the motor rotation angle counter is reset.
【0129】図10に戻り、ステップS67において
は、サーボモータ18の制御が行われる。この処理の詳
細を、図15及び図16に示す。なお、図15及び図1
6はそれぞれを組合せて一図を構成しており、またステ
ップS144及びS145の処理は、実モータ回転角θ
m1を、演算された制御角θm0に即座に一致させるための
フィードバック処理、ステップS125〜S135は、
実モータ回転角を徐々に中央位置に戻すための処理、そ
して、ステップS136〜S143は、実モータ回転角
を、演算された制御角に徐々に一致させるための処理で
ある。Returning to FIG. 10, in step S67, control of the servo motor 18 is performed. Details of this processing are shown in FIGS. 15 and FIG.
6 form a diagram by combining them, and the processing in steps S144 and S145 is based on the actual motor rotation angle θ.
Feedback processing for immediately matching m1 with the calculated control angle θm0, steps S125 to S135,
Processing for gradually returning the actual motor rotation angle to the center position, and steps S136 to S143 are processing for gradually bringing the actual motor rotation angle into agreement with the calculated control angle.
【0130】図15及び図16において、まず、ステッ
プS120では、フラグFd が“L”であるか否かが判
別される。“L”である場合、すなわちコンビスイッチ
49がオンとなってから、Ldc>Ldcb となるまでの間
(図13のステップS104に関して前述したように、
ダイナミックセンター値が信頼性の低い値であるとき、
あるいは算出されていないとき)は、サーボモータ18
の制御を行わずに、当該処理は終了する。In FIGS. 15 and 16, first, in step S120, it is determined whether or not the flag Fd is "L". If it is “L”, that is, from when the combination switch 49 is turned on until Ldc> Ldcb (as described above with reference to step S104 in FIG. 13,
When the dynamic center value is an unreliable value,
Or when it is not calculated), the servo motor 18
The processing is terminated without performing the control of (1).
【0131】Fd が“H”であれば、ステップS121
において、フラグFbuが“H”であるか否かが判別され
る。“H”であれば(図10のステップS63及びS6
4に関して前述したように、モータ制御量θm が±5度
未満のとき)ステップS221に、“L”であればステ
ップS122に移行する。If Fd is "H", step S121
In, it is determined whether or not the flag Fbu is “H”. If it is "H" (steps S63 and S6 in FIG. 10)
As described above with respect to No. 4, the process proceeds to step S221 if the motor control amount θm is less than ± 5 degrees, and if “L”, to step S122.
【0132】ステップS122においては、フラグFvo
が“H”であるか否かが判別され、“H”であれば(図
9のステップS52及びS53に関して前述したよう
に、車速Vが127.5[km/h]を超えているとき)ス
テップS221に、“L”であればステップS123に
移行する。In step S122, flag Fvo
Is "H" or not, and if it is "H" (when the vehicle speed V exceeds 127.5 [km / h] as described above with reference to steps S52 and S53 in FIG. 9). If “L” is determined in step S221, the process proceeds to step S123.
【0133】ステップS221においては、フラグFvo
1 が“L”にリセットされ、ステップS222では、フ
ラグFd1が“L”にリセットされる。そして、ステップ
S200において、モータ制御量θm が0であるか否か
が判別される。0であれば、当該処理は終了する。In the step S221, the flag Fvo
1 is reset to "L", and in step S222, the flag Fd1 is reset to "L". Then, in step S200, it is determined whether or not the motor control amount θm is 0. If it is 0, the process ends.
【0134】θm が0でない場合には、ステップS12
5において、後述するステップS126又はS127で
すでにθm がθmmにセットされているか否かが判別され
る。このθmmなる値は、シェード9を徐々に中央位置に
戻すための、基準データである。If θm is not 0, step S12
In step 5, it is determined in step S126 or S127 to be described later whether or not θm has already been set to θmm. The value θmm is reference data for gradually returning the shade 9 to the center position.
【0135】θmmがセットされていれば、ステップS1
27に移行する。また、θmmがセットされていなけれ
ば、ステップS126において、現在のモータの回転角
θm1から、図6のステップS28で算出されたモータ回
転角の中央値θmcを減じて実モータ回転角の中央位置か
らの偏差を算出し、これをθmmにセットした後、ステッ
プS127に移行する。If θmm is set, step S1
Move to 27. If θmm is not set, in step S126, the median value θmc of the motor rotation angle calculated in step S28 of FIG. 6 is subtracted from the current motor rotation angle θm1 to calculate the actual motor rotation angle from the central position. Is calculated and set to θ mm, and then the flow shifts to step S127.
【0136】ステップS127においては、θmmの絶対
値から所定レベル(例えば1[レベル])が減じられ、
ステップS128において、θmmがモータ制御量θm に
セットされる。In step S127, a predetermined level (for example, 1 [level]) is subtracted from the absolute value of θmm.
In step S128, θmm is set to the motor control amount θm.
【0137】ステップS129においては、前記中央値
θmcに前記θmが加算され、これがモータ制御角θm0に
セットされる(第6式)。In step S129, the value θm is added to the median value θmc, and this is set as the motor control angle θm0 (Equation 6).
【0138】 θm0=θmc+θm …(6) ステップS130においては、ドライバ39(図4)に
対して、制御データが出力される。この処理の詳細を、
図17に示す。Θm0 = θmc + θm (6) In step S130, control data is output to the driver 39 (FIG. 4). Details of this process
As shown in FIG.
【0139】図17において、まずステップS150に
おいては、モータ制御角θm0と実モータ回転角θm1との
差(角度差)が検出される。ステップS151において
は、前記θm0及びθm1の大小に応じて、サーボモータ1
8へ通電される電流の極性が検出される。In FIG. 17, first, in step S150, a difference (angle difference) between the motor control angle θm0 and the actual motor rotation angle θm1 is detected. In step S151, according to the magnitude of θm0 and θm1, the servo motor 1
8 is detected.
【0140】ステップS152においては、前記角度差
に応じて、例えば図19に示されようなテーブルからド
ライバ39に出力されるべき信号のデューティ比が読み
出される。なお、この図19に示されたテーブルは一例
であり、サーボモータ18の特性等に応じて、任意に決
定される。In step S152, the duty ratio of the signal to be output to the driver 39 is read from a table as shown in FIG. 19, for example, according to the angle difference. The table shown in FIG. 19 is an example, and is arbitrarily determined according to the characteristics of the servo motor 18 and the like.
【0141】そして、ステップS153においては、前
記極性及びデューティ比に基づいて、ドライバ39に制
御信号が出力される。その後、当該処理は終了する。以
上の説明から明らかなように、この例においては、読み
出されたデューティ比が100[%]未満である場合に
は、サーボモータ18はチョッピング制御される。In step S153, a control signal is output to the driver 39 based on the polarity and the duty ratio. Thereafter, the process ends. As is clear from the above description, in this example, when the read duty ratio is less than 100 [%], the servo motor 18 is subjected to chopping control.
【0142】図15及び図16に戻り、ステップS13
1においては、θm が0であるか否か、すなわち、サー
ボモータ18の回転角が中央位置に戻ったか否かが判別
される。θm が0でない場合には当該処理は終了する。
またθm が0である場合には、ステップS135におい
ては、θmmの値がリセットされ、その後、当該処理は終
了する。このような処理により、サーボモータ18が徐
々に中央位置に復旧する。Returning to FIG. 15 and FIG. 16, step S13
In step 1, it is determined whether or not θm is 0, that is, whether or not the rotation angle of the servo motor 18 has returned to the center position. If θm is not 0, the process ends.
If θm is 0, the value of θmm is reset in step S135, and the process ends thereafter. By such processing, the servo motor 18 is gradually restored to the center position.
【0143】前記ステップS122においてフラグFvo
が“L”であると判別された場合には、ステップS12
3において、フラグFvo1 が“H”であるか否かが判別
される。“H”である場合(図9のステップS52,S
53,S201及びS203に関して前述したように、
車速Vが127.5[km/h]を超えてから、該速度以下
となった場合)には、ステップS136に、また“L”
である場合にはステップS124に移行する。At the step S122, the flag Fvo
Is "L", the process proceeds to step S12.
At 3, it is determined whether or not the flag Fvo1 is "H". If it is “H” (steps S52 and S52 in FIG. 9)
As described above with respect to 53, S201 and S203,
If the vehicle speed V has become equal to or less than 127.5 [km / h] after the vehicle speed has exceeded 127.5 [km / h], the process returns to step S136 and returns to “L”.
If it is, the process proceeds to step S124.
【0144】ステップS124においては、フラグFd1
が“H”であるか否かが判別される。“H”であれば
(図12のステップS76及びS77関して前述したよ
うに、Ldcが走行後初めてLdcb を上回った場合、すな
わちダイナミックセンター値が算出され始めた場合)、
ステップS136に移行し、“L”であればステップS
144に移行する。In the step S124, the flag Fd1
Is "H". If it is “H” (as described above with reference to steps S76 and S77 in FIG. 12, when Ldc exceeds Ldcb for the first time after traveling, that is, when the dynamic center value starts to be calculated),
The process proceeds to step S136, and if “L”, the process proceeds to step S136
The process moves to 144.
【0145】ステップS136においては、ステップS
129と同様に、第6式の演算が行われ、モータ制御角
θm0がセットされる。ステップS137においては、θ
m0及びθm1の角度差の絶対値が3[レベル]以上である
か否かが判別される。3[レベル]以上でなければ、ス
テップS139に移行する。また、3[レベル]以上で
あれば、ステップS138において、モータ制御角θm0
を実モータ回転角θm1から2[レベル]の範囲に抑え
る。これにより、後述のステップS139におけるモー
タ制御が緩和される。In step S136, step S
Similarly to 129, the calculation of Expression 6 is performed, and the motor control angle θm0 is set. In step S137, θ
It is determined whether or not the absolute value of the angle difference between m0 and θm1 is 3 [level] or more. If not more than 3 [levels], the flow shifts to step S139. If it is equal to or more than 3 [levels], in step S138, the motor control angle θm0
In the range from the actual motor rotation angle θm1 to 2 [levels]. This alleviates the motor control in step S139 described below.
【0146】ステップS139においては、ステップS
130と同様に、ドライバ39に対して制御データが出
力される。ステップS140においては、モータ制御角
θm0が実モータ回転角θm1に一致したか否かが判別され
る。一致していなければ当該処理は終了し、一致してい
れば、ステップS141において、フラグFvo1 が
“H”であるか否かが判別される。この処理は、ステッ
プS136〜S140の処理の実行が、フラグFvo1 =
“H”に起因するものか、あるいはフラグFd1=“H”
に起因するものかを判別するためのものである。In step S139, step S
Similarly to 130, control data is output to the driver 39. In step S140, it is determined whether or not the motor control angle θm0 matches the actual motor rotation angle θm1. If they do not match, the process ends. If they do match, it is determined in step S141 whether the flag Fvo1 is "H". In this processing, the execution of the processing of steps S136 to S140 is performed when the flag Fvo1 =
Either due to "H" or flag Fd1 = "H"
This is for determining whether or not it is caused by the above.
【0147】Fvo1 が“H”であれば、ステップS14
2においてFvo1 が“L”にセットされた後、当該処理
は終了する。Fvo1 が“H”でなければ、すなわちFd1
が“H”であれば、ステップS143において、Fd1が
“L”にセットされた後、当該処理は終了する。If Fvo1 is "H", step S14
After Fvo1 is set to "L" in 2, the process ends. Fvo1 is not "H", that is, Fd1
Is "H", in step S143, after Fd1 is set to "L", the process ends.
【0148】前記ステップS124においてFd1が
“L”であると判別された場合には、ステップS144
において、ステップS129及びS136と同様に、第
6式の演算が行われ、モータ制御角θm0がセットされ
る。そして、ステップS145において、ステップS1
30及びS139と同様に、ドライバ39に対して制御
データが出力され、その後、当該処理は終了する。If Fd1 is determined to be "L" in step S124, step S144 is performed.
In the same manner as in steps S129 and S136, the calculation of the sixth equation is performed, and the motor control angle θm0 is set. Then, in step S145, step S1
Similarly to S30 and S139, control data is output to the driver 39, and then the process ends.
【0149】図10に戻り、ステップS67が終了した
後は、当該処理は終了する。Returning to FIG. 10, after step S67 ends, the process ends.
【0150】さて、前記実施例では、ダイナミックセン
ター値演算手段211は、図11及び図12に示された
ような手法を用いてダイナミックセンター値を演算する
ものとして説明したが、同図に示された手法以外の手法
により演算されても良い。また、第3補正係数γの修正
(図13のステップS105)のタイミングは、同図に
関して前述したようなタイミングのみに限定されず、算
出されたダイナミックセンター値の信頼性があまり高く
ないと予測できるタイミングであれば良い。In the above-described embodiment, the dynamic center value calculating means 211 has been described as calculating the dynamic center value by using the method shown in FIGS. 11 and 12. It may be calculated by a method other than the above method. Further, the timing of the correction of the third correction coefficient γ (step S105 in FIG. 13) is not limited to the timing described above with reference to FIG. Any timing is fine.
【0151】図27は、図13に示された処理の他の例
を示すフローチャートであり、図13と同一の符号は同
等処理をあらわしている。図27において、まずステッ
プS300では、ダイナミックセンター値記憶手段11
3に記憶されたダイナミックセンター値が、θhaa(F
F)4つの平均値により演算されたものであるか否か
(図11及び図12のステップS81で演算されたダイ
ナミックセンター値であるか否か)が判別される。肯定
の場合には、ステップS101に移行する。FIG. 27 is a flowchart showing another example of the processing shown in FIG. 13, and the same reference numerals as those in FIG. 13 represent the same processing. In FIG. 27, first, in step S300, the dynamic center value storage unit 11
3, the dynamic center value is θhaa (F
F) It is determined whether or not the calculation is based on the four average values (whether or not the dynamic center value is calculated in step S81 in FIGS. 11 and 12). If affirmative, the process proceeds to step S101.
【0152】否定の場合には、ステップS301におい
て、ダイナミックセンター値記憶手段113に記憶され
たダイナミックセンター値が、最新のθhaaによるもの
であるか否か(図12のステップS88で設定されたダ
イナミックセンター値であるか否か)が判別される。肯
定の場合にはステップS105に移行し、否定の場合
(すなわちダイナミックセンター値が演算されていない
場合)はステップS103に移行する。In the case of negative, in step S301, it is determined whether or not the dynamic center value stored in the dynamic center value storage means 113 is based on the latest θhaa (the dynamic center value set in step S88 in FIG. 12). Value or not). If the determination is affirmative, the process proceeds to step S105. If the determination is negative (ie, the dynamic center value has not been calculated), the process proceeds to step S103.
【0153】つまり、これは、ダイナミックセンター値
の算出が前記ステップS81で行われた場合には、該ダ
イナミックセンター値を信頼性の高いものであると予測
し、前記ステップS88で行われた場合には、ダイナミ
ックセンター値の信頼性はそれ程高くはないが、制御を
緩和して行えば、十分使用に耐えるものであると予測
し、この予測結果に応じて第3補正係数γを決定するも
のである。なお、この図27のステップS105の処理
(第4式)においても、第3補正係数の算出に、Ldcの
代わりにLdcmax を用いても良い。That is, if the calculation of the dynamic center value is performed in step S81, the dynamic center value is predicted to be highly reliable, and if the calculation is performed in step S88. Predicts that the reliability of the dynamic center value is not so high, but if the control is relaxed, it is expected to be sufficient for use, and the third correction coefficient γ is determined according to the prediction result. is there. In the process of step S105 in FIG. 27 (Equation 4), Ldcmax may be used instead of Ldc for calculating the third correction coefficient.
【0154】図1は本発明の一実施例の機能ブロック図
である。図1において、図20及び図21と同一の符号
は、同一又は同等部分をあらわしている。まず、車速演
算手段201は、車速センサ31より出力される信号を
用いて当該自動二輪車の車速Vを演算し、該データをバ
ンク角演算手段203に出力する。FIG. 1 is a functional block diagram of one embodiment of the present invention. 1, the same reference numerals as those in FIGS. 20 and 21 represent the same or equivalent parts. First, the vehicle speed calculating means 201 calculates the vehicle speed V of the motorcycle using the signal output from the vehicle speed sensor 31 and outputs the data to the bank angle calculating means 203.
【0155】ハンドル切れ角演算手段202は、舵角セ
ンサ32より出力される信号を用いてハンドル切れ角
(ハンドル中央位置からの切れ角)θh を算出し、該デ
ータを前記バンク角演算手段203に出力する。またΔ
θh 演算手段116は、前記舵角センサ32の出力信号
を用いて、ハンドル切れ角の変化速度Δθh を演算す
る。もろちん、このΔθh 演算手段116は、前記ハン
ドル切れ角を用いて、該ハンドル切れ角の変化速度Δθ
h を演算しても良い。The steering wheel turning angle calculating means 202 calculates the steering wheel turning angle (turning angle from the steering wheel center position) θh using the signal output from the steering angle sensor 32, and sends the data to the bank angle calculating means 203. Output. Also Δ
The θh calculating means 116 calculates the change speed Δθh of the steering wheel turning angle using the output signal of the steering angle sensor 32. Of course, the Δθh calculating means 116 uses the steering wheel turning angle to calculate the change speed Δθ of the steering wheel turning angle.
h may be calculated.
【0156】図22に示されたβ1及び図23に示され
たβ2の乗算値である第2補正係数βが車速V及びハン
ドル切れ角の変化速度Δθh を用いてβマップ117よ
り読み出され、該データはバンク角演算手段203に出
力される。前記バンク角演算手段203は、入力された
各種データを用いて当該自動二輪車のバンク角θb を演
算する。この演算は、具体的には、ハンドル切れ角θh
、車速V及び第2補正係数βを乗算することにより行
われ、必要に応じて、所定の係数(第1補正係数α等)
が乗算される。A second correction coefficient β, which is a product of β1 shown in FIG. 22 and β2 shown in FIG. 23, is read from the β map 117 using the vehicle speed V and the change speed Δθh of the steering wheel turning angle. The data is output to the bank angle calculation means 203. The bank angle calculation means 203 calculates the bank angle θb of the motorcycle using the various data input. This calculation is, specifically, the steering wheel turning angle θh
, The vehicle speed V and the second correction coefficient β, and, if necessary, a predetermined coefficient (such as a first correction coefficient α).
Is multiplied.
【0157】モータ制御量演算手段204は、前記バン
ク角θb を用いてモータ制御量(モータの中心位置から
の制御角)θm を演算する。そして、モータ制御手段2
05は、モータ制御量θm 及びモータの中央位置データ
θmcよりモータ制御角θm0を演算し、該制御角θm0と、
モータ回転角センサ33より出力されるモータの実回転
角θm1とを用いて、サーボモータ18をフィードバック
制御する。The motor control amount calculation means 204 calculates a motor control amount (control angle from the center position of the motor) θm using the bank angle θb. And the motor control means 2
05 calculates the motor control angle θm0 from the motor control amount θm and the motor center position data θmc, and calculates the control angle θm0,
The servo motor 18 is feedback-controlled using the actual rotation angle θm1 of the motor output from the motor rotation angle sensor 33.
【0158】さて、前記実施例では、バンク角の演算に
は、ハンドル切れ角の変化速度Δθh 及び車速Vをパラ
メータとした第2補正係数βが用いられるものとして説
明したが、前記可変速度Δθh のみをパラメータとして
係数(β1)のみを用いるようにしても良い。In the above-described embodiment, the calculation of the bank angle has been described on the assumption that the change rate Δθh of the steering wheel turning angle and the second correction coefficient β using the vehicle speed V as parameters are used, but only the variable speed Δθh is used. May be used as a parameter and only the coefficient (β1) may be used.
【0159】さて次に、本発明を自動二輪車の駆動力制
御装置に適用して説明する。図28は本発明の第2の実
施例が適用される自動二輪車の一例の側面図、図29は
図28の平面図である。各々の図において、同一の符号
は、同一又は同等部分をあらわしている。Next, the present invention will be described as applied to a driving force control device for a motorcycle. FIG. 28 is a side view of an example of a motorcycle to which the second embodiment of the present invention is applied, and FIG. 29 is a plan view of FIG. In each drawing, the same reference numerals represent the same or equivalent parts.
【0160】各々の図において、自動二輪車1001の
エンジン1005には、エンジン回転数検出用の一対の
第1パルサ1002A及び第2パルサ1002Bが設け
られている。前記第1パルサ1002Aは、クランク軸
が所定角度回転するたびにパルス信号PC1を発生し、
第2パルサ1002Bは、クランク軸が所定角度に達す
るたびにパルス信号PC2を発生する。In each of the figures, the engine 1005 of the motorcycle 1001 is provided with a pair of a first pulser 1002A and a second pulser 1002B for detecting the engine speed. The first pulser 1002A generates a pulse signal PC1 every time the crankshaft rotates a predetermined angle,
The second pulser 1002B generates a pulse signal PC2 every time the crankshaft reaches a predetermined angle.
【0161】自動二輪車1001の前輪(従動輪)及び
後輪(駆動輪)には、それぞれの車輪の回転速度を検出
するための前輪速度センサ1003及び後輪速度センサ
1004が設けられている。これらのセンサ1003及
び1004は、前輪及び後輪が所定角度回転するたびに
パルス信号を発生する。A front wheel (driven wheel) and a rear wheel (drive wheel) of the motorcycle 1001 are provided with a front wheel speed sensor 1003 and a rear wheel speed sensor 1004 for detecting the rotation speed of each wheel. These sensors 1003 and 1004 generate pulse signals each time the front and rear wheels rotate by a predetermined angle.
【0162】点火制御用ECU1031は、メータパネ
ル1020の裏側(各種メータが配置された側と反対
側)に配置され、第1パルサ1002A及び第2パルサ
1002Bより検出されたエンジン回転数Ne 、前輪速
度センサ1003及び後輪速度センサ1004の出力信
号等を用いて、後述するように、イグニションコイル1
008の点火時期(点火角)を制御する。この点火制御
用ECU1031は、標準的な点火時期を演算する点火
CPUと、当該車両の、主に加速時の車輪のスリップを
制御するための、駆動力制御(トラクションコントロー
ル)用の点火時期を演算する駆動力制御CPUとを備え
ている。また、舵角センサ32の出力信号を用いて行わ
れる、当該自動二輪車1001のバンク角の演算は、例
えば前記点火CPUで行われる。The ignition control ECU 1031 is arranged on the back side of the meter panel 1020 (on the side opposite to the side where various meters are arranged), and detects the engine speed Ne and the front wheel speed detected by the first pulsar 1002A and the second pulsar 1002B. Using the output signals of the sensor 1003 and the rear wheel speed sensor 1004, as described later, the ignition coil 1
The ignition timing (ignition angle) of 008 is controlled. The ignition control ECU 1031 calculates an ignition CPU for calculating a standard ignition timing, and calculates an ignition timing for driving force control (traction control) for mainly controlling wheel slippage during acceleration of the vehicle. And a driving force control CPU. The calculation of the bank angle of the motorcycle 1001 performed using the output signal of the steering angle sensor 32 is performed by, for example, the ignition CPU.
【0163】ALB用ECU1032は、本発明の動作
とは直接は関係ないが、ブレーキ操作時において、当該
自動二輪車のスリップ率あるいはスリップ量が所定レベ
ルを超えた場合に、フロントキャリパ1037及びリア
キャリパ1038によるブレーキ動作を制御する。符号
1033,1034,1035,1036は、これらの
制御を行うためのフロントモジュレータ、リアモジュレ
ータ、フロントブレーキマスタシリンダ、リアブレーキ
マスタシリンダである。Although not directly related to the operation of the present invention, the ALB ECU 1032 operates the front caliper 1037 and the rear caliper 1038 when the slip rate or the slip amount of the motorcycle exceeds a predetermined level during a brake operation. Control the braking action. Reference numerals 1033, 1034, 1035, and 1036 denote a front modulator, a rear modulator, a front brake master cylinder, and a rear brake master cylinder for performing these controls.
【0164】符号1020はメータパネルであり、図2
9に示されるように、スピードメータ1021、タコメ
ータ1022、フュエルメータ1023、水温メータ1
024、ターンランプ(左)1025及びターンランプ
(右)1026を備えている。このメータパネル102
0の上部にはインジケータパネル1010が設けられて
いる。Reference numeral 1020 denotes a meter panel.
As shown in FIG. 9, a speedometer 1021, a tachometer 1022, a fuel meter 1023, a water temperature meter 1
024, a turn lamp (left) 1025 and a turn lamp (right) 1026. This meter panel 102
An indicator panel 1010 is provided at the upper part of 0.
【0165】図30はインジケータパネル1010の詳
細を示す平面図である。同図において、フレーム101
0Aには、当該駆動力制御が解除されたことを示す解除
ランプ1011、当該駆動力制御が実行されていること
を示す作動ランプ1012、サイドスタンドが出ている
ことを示すサイドスタンドランプ1013、前記ALB
用ECU1032により実行されるブレーキ制御(AL
B)システムがフェールしたことを表示するALBフェ
ールランプ1014及びALBフェールLED109
4、オイル切れを表示するオイル警告ランプ1015、
後述の駆動力制御システムがフェールしたことを表示す
るフェールランプ1016及びフェールLED109
6、燃料切れを表示する燃料警告ランプ1017、ヘッ
ドライトの配光状態がハイ(ハイビーム)であることを
表示するハイビームランプ1018、並びにエンジンの
変速装置がニュートラル状態であることを表示するニュ
ートラルランプ1019が設けられている。FIG. 30 is a plan view showing details of the indicator panel 1010. In FIG.
0A includes a release lamp 1011 indicating that the driving force control has been released, an operation lamp 1012 indicating that the driving force control has been executed, a side stand lamp 1013 indicating that the side stand is out, and the ALB.
Control (AL) executed by the ECU 1032
B) ALB fail lamp 1014 and ALB fail LED 109 indicating that the system has failed
4. Oil warning lamp 1015 that indicates running out of oil
A fail lamp 1016 and a fail LED 109 indicating that a driving force control system described later has failed.
6. A fuel warning lamp 1017 indicating that the fuel is running out, a high beam lamp 1018 indicating that the light distribution state of the headlight is high (high beam), and a neutral lamp 1019 indicating that the transmission of the engine is in a neutral state. Is provided.
【0166】前記ランプ1011〜1013はオレンジ
色、ランプ及びLED1014〜1017,1094,
1096は赤色、ランプ1018は青色、そしてランプ
1019は緑色である。なお、符号1010Bは、イン
ジケータパネル1010の取付穴である。The lamps 1011 to 1013 are orange, lamps and LEDs 1014 to 1017, 1094,
1096 is red, lamp 1018 is blue, and lamp 1019 is green. Reference numeral 1010B denotes a mounting hole of the indicator panel 1010.
【0167】図28に戻り、符号1028及び1029
はホーン及び警告ブザー、図29において符号102
7,1041,1042,1043,1044は、それ
ぞれ当該駆動力制御システムの解除スイッチ、スロット
ルグリップ、スイッチケース、イグニションキー穴、ハ
ンドルカバーである。Returning to FIG. 28, reference numerals 1028 and 1029
Is a horn and a warning buzzer, and reference numeral 102 in FIG.
Reference numerals 7, 1041, 1042, 1043, and 1044 denote a release switch, a throttle grip, a switch case, an ignition key hole, and a handle cover of the driving force control system, respectively.
【0168】図31は本発明の第2の実施例の構成を示
すブロック図である。同図において、図28、図29及
び図4と同一の符号は同一又は同等部分をあらわしてい
るので、その説明は省略する。第1パルサ1002A及
び第2パルサ1002B、前輪速度センサ1003、並
びに後輪速度センサ1004より出力される信号は、そ
れぞれ波形整形回路1301〜1303を介して電子制
御回路1305に入力される。前輪速度センサ1003
は、図4に示された車速センサ31に相当する。FIG. 31 is a block diagram showing the configuration of the second embodiment of the present invention. 28, FIG. 29, and FIG. 4 denote the same or equivalent parts, and a description thereof will not be repeated. Signals output from the first pulser 1002A and the second pulser 1002B, the front wheel speed sensor 1003, and the rear wheel speed sensor 1004 are input to the electronic control circuit 1305 via the waveform shaping circuits 1301 to 1303, respectively. Front wheel speed sensor 1003
Corresponds to the vehicle speed sensor 31 shown in FIG.
【0169】この電子制御回路1305は、マイクロコ
ンピュータを備えていて、入力された各種信号を用い
て、後述するような手法で点火時期θig(後述するSθ
ig(n)及びCθig(n) )を演算し、その一方をドライバ
(点火制御装置)1069に出力する。これにより、イ
グニションコイル1008による点火時期がスリップ状
態に応じて制御される。The electronic control circuit 1305 is provided with a microcomputer, and uses the various signals inputted to the ignition timing θig (Sθ to be described later) in a manner to be described later.
ig (n) and Cθig (n)), and outputs one of them to a driver (ignition control device) 1069. Thus, the ignition timing of the ignition coil 1008 is controlled according to the slip state.
【0170】本実施例にかかる駆動力制御を行うか否か
を選択するための解除スイッチ1027は、前記電子制
御回路1305に接続されている。また前記電子制御回
路1305は、本実施例にかかる、スリップ状態に応じ
た駆動力制御が行われている場合には、ドライバ107
1を介してインジケータパネル1010に設けられた作
動ランプ1012を点灯する。A release switch 1027 for selecting whether or not to perform the driving force control according to the present embodiment is connected to the electronic control circuit 1305. When the driving force control according to the slip state according to the present embodiment is performed, the electronic control circuit 1305 controls the driver 107.
An operation lamp 1012 provided on the indicator panel 1010 is turned on via the control panel 1.
【0171】インジケータパネル1010に設けられた
解除ランプ1011及びフェールランプ1016は、ド
ライバ1072及び1207を介して、前記電子制御回
路1305に接続されている。またフェールLED10
96は直接電子制御回路1305に接続されている。ま
たメータパネル1020内に配置された警告ブザー10
29は、ドライバ1108を介して、前記電子制御回路
1305に接続されている。前記電子制御回路1305
は、必要に応じて、当該自動二輪車1001の他の制御
(燃料噴射制御、排気制御、自動変速機の変速比制御、
減速時におけるブレーキ制御、ヘッドライト装置の配光
制御等)を行う。A release lamp 1011 and a fail lamp 1016 provided on the indicator panel 1010 are connected to the electronic control circuit 1305 via drivers 1072 and 1207. Also fail LED10
Reference numeral 96 is directly connected to the electronic control circuit 1305. A warning buzzer 10 arranged in the meter panel 1020
Reference numeral 29 is connected to the electronic control circuit 1305 via a driver 1108. The electronic control circuit 1305
If necessary, the other controls of the motorcycle 1001 (fuel injection control, exhaust control, transmission gear ratio control,
Brake control during deceleration, light distribution control of a headlight device, etc.).
【0172】次に点火制御用ECU1031で演算され
る本発明の第2の実施例の動作を説明する。図32及び
図33は本発明の第2の実施例の動作を示すフローチャ
ートである。この図32及び図33はそれぞれを組合わ
せて一図を構成しており、またこの処理は、定時間ごと
に行われる。なお、図11及び図12に示されたような
ダイナミックセンター値θdcの検出、及び図7に示され
たようなハンドル切れ角θh(n)の演算は、所定タイミン
グごとに行われるものとする。また、ハンドル切れ角θ
h(n)は、その変化量が大きいときには、その値が制限さ
れる(図7のステップS37及びS38参照)が、この
実施例においては省略可能である。Next, the operation of the second embodiment of the present invention calculated by the ignition control ECU 1031 will be described. FIGS. 32 and 33 are flowcharts showing the operation of the second embodiment of the present invention. FIG. 32 and FIG. 33 are combined to form a diagram, and this process is performed at regular time intervals. The detection of the dynamic center value θdc as shown in FIGS. 11 and 12 and the calculation of the steering wheel turning angle θh (n) as shown in FIG. 7 are performed at predetermined timings. Also, the steering angle θ
When the amount of change of h (n) is large, its value is limited (see steps S37 and S38 in FIG. 7), but can be omitted in this embodiment.
【0173】まずステップS501においては、nに1
が加算される。ステップS502においては、前輪速度
センサ1003及び後輪速度センサ1004(図31)
より出力される信号を用いて、公知の手法により、前輪
回転速度(以下、前輪速度という)HA及び後輪回転速
度(以下、後輪速度という)HBが演算される。First, in step S501, 1 is set to n.
Is added. In step S502, the front wheel speed sensor 1003 and the rear wheel speed sensor 1004 (FIG. 31)
Using the output signals, the front wheel rotation speed (hereinafter, referred to as front wheel speed) HA and the rear wheel rotation speed (hereinafter, referred to as rear wheel speed) HB are calculated by a known method.
【0174】ステップS601においては、車速V(す
なわち前輪速度HA)は、所定値(速度)以上であるか
否かが判定される。所定値以上であれば、ステップS6
05において、バンク角補正係数Kθ(ステップS60
7に関して後述する。)が1にセットされ、その後ステ
ップS503に移行する。In step S601, it is determined whether or not vehicle speed V (ie, front wheel speed HA) is equal to or higher than a predetermined value (speed). If not less than the predetermined value, step S6
05, the bank angle correction coefficient Kθ (step S60)
7 will be described later. ) Is set to 1, and then the flow shifts to step S503.
【0175】車速が前記所定値以上でなければ、ステッ
プS602において、図9及び図10のステップS58
〜S60に関して前述したように、第1補正係数α、第
2補正係数β及び第4補正係数δが検出される。もちろ
ん、第2補正係数βの検出は、車速及びハンドル切れ角
の変化速度、あるいは車速に応じて行われる。If the vehicle speed is not equal to or higher than the predetermined value, in step S602, step S58 in FIG. 9 and FIG.
As described above with respect to S60, the first correction coefficient α, the second correction coefficient β, and the fourth correction coefficient δ are detected. Of course, the detection of the second correction coefficient β is performed according to the changing speed of the vehicle speed and the steering wheel turning angle or the vehicle speed.
【0176】ステップS603においては、前掲した第
1式より、当該自動二輪車1001のバンク角θb が演
算される。ステップS604においては、図34に示さ
れたようなテーブルを用いて、バンク角θb からバンク
角補正係数Kθが読み出される。図34より明らかなよ
うに、バンク角θb が微少値θbb未満である場合にはバ
ンク角補正係数Kθは1にセットされ、θb がθbb以上
である場合にはKθはθb に応じて設定される。なお、
符号K1は、バンク角補正係数Kθの、設定され得る最
大の数値である。In step S603, the bank angle θb of the motorcycle 1001 is calculated from the above-described first equation. In step S604, the bank angle correction coefficient Kθ is read from the bank angle θb using a table as shown in FIG. As is clear from FIG. 34, when the bank angle θb is smaller than the minute value θbb, the bank angle correction coefficient Kθ is set to 1 and when θb is equal to or larger than θbb, Kθ is set according to θb. . In addition,
The code K1 is the maximum numerical value of the bank angle correction coefficient Kθ that can be set.
【0177】ステップS503においては、次式(第7
式)より当該自動二輪車1001の実際のスリップ率S
b(n)が演算される。In step S503, the following equation (7
From equation, the actual slip ratio S of the motorcycle 1001 is obtained.
b (n) is calculated.
【0178】 Sb(n)=(HB−HA)/HB …(7) この結果、スリップ率Sb(n)は、0〜1の範囲内で演算
される。もちろん、前輪が駆動輪で、後輪が従動輪であ
る場合には、HA及びHBの値は入れ替えて用いられ
る。Sb (n) = (HB−HA) / HB (7) As a result, the slip ratio Sb (n) is calculated within the range of 0 to 1. Of course, when the front wheel is the drive wheel and the rear wheel is the driven wheel, the values of HA and HB are used interchangeably.
【0179】ステップS504においては、他の処理に
おいてPC1及びPC2を用いて公知の手法により演算
されたエンジン回転数Ne が読み出される。ステップS
505においては、公知の手法により、標準的なエンジ
ンの点火時期(以下、標準点火時期という)Sθig(n)
が演算される。In step S504, the engine speed Ne calculated by a known method using PC1 and PC2 in another process is read. Step S
At 505, a standard engine ignition timing (hereinafter referred to as a standard ignition timing) Sθig (n) is obtained by a known method.
Is calculated.
【0180】ステップS506においては、現在、標準
点火時期でエンジンが制御中であるか、あるいは後述す
るステップS509において演算された駆動力制御用点
火時期でエンジンが制御中であるかが判別される。現
在、標準点火時期で制御中であればステップS507に
移行し、駆動力制御用点火時期で制御中であればステッ
プS606に移行する。In step S506, it is determined whether the engine is currently being controlled at the standard ignition timing or whether the engine is being controlled at the driving force control ignition timing calculated in step S509 described later. If the control is currently being performed at the standard ignition timing, the process proceeds to step S507, and if the control is being performed at the driving force control ignition timing, the process proceeds to step S606.
【0181】ステップS507においては、標準点火時
期で制御を継続すべき条件であるか否か、換言すれば駆
動力制御用点火時期を用いた制御に移行すべき条件であ
るか否かが、判別される。標準点火時期で制御を継続す
べき条件である場合には、ステップS508に移行し、
駆動力制御用点火時期を用いた制御に移行すべき条件と
なった場合には、ステップS606に移行する。In step S507, it is determined whether or not the condition is that the control should be continued at the standard ignition timing, in other words, whether or not the condition should be shifted to the control using the driving force control ignition timing. Is done. If the condition is such that the control should be continued at the standard ignition timing, the process proceeds to step S508,
If the condition to shift to the control using the driving force control ignition timing is satisfied, the process proceeds to step S606.
【0182】このステップS507の処理の詳細を、図
35に示す。図35において、まずステップS521に
おいては、スリップ率Sb(n)が予め設定された第1スリ
ップ率S1 (後述する目標スリップ率Sよりも小さな
値、例えば0.05)を超えたか否かが判別される。超
えていなければステップS508に移行し、超えていれ
ばステップS522に移行する。FIG. 35 shows the details of the processing in step S507. In FIG. 35, first, in step S521, it is determined whether or not the slip ratio Sb (n) exceeds a preset first slip ratio S1 (a value smaller than a target slip ratio S described later, for example, 0.05). Is done. If it does not exceed, the process proceeds to step S508, and if it does, the process proceeds to step S522.
【0183】ステップS522においては、後輪速度H
Bが予め設定された所定車速HBon(例えば5[km/
h])を超えたか否かが判別される。超えていればステ
ップS509に移行し、超えていなければステップS5
08に移行する。図32及び図33に戻り、ステップS
508においては、点火時期θig(n) として標準点火時
期Sθig(n) が採用される。その後、当該処理はステッ
プS512に移行する。In step S522, the rear wheel speed H
B is a predetermined vehicle speed HBon (for example, 5 [km /
h]) is determined. If it exceeds, the process proceeds to step S509, and if it does not exceed, the process proceeds to step S5.
08. Returning to FIGS. 32 and 33, step S
At 508, the standard ignition timing Sθig (n) is adopted as the ignition timing θig (n). Thereafter, the process proceeds to step S512.
【0184】ステップS606においては、Kθが1で
あるか否かが判定される。Kθが1であればステップS
509に移行し、1でなければ(すなわち1を超えてい
れば)ステップS607に移行する。ステップS607
においてはバンク角補正係数Kθが修正又は緩和され
る。このKθの修正又は緩和は、例えば図36又は図3
7に示されたような手順で行われる。In step S606, it is determined whether or not Kθ is 1. If Kθ is 1, step S
The process moves to step S509, and if it is not 1, the process moves to step S607. Step S607
In, the bank angle correction coefficient Kθ is corrected or relaxed. This correction or mitigation of Kθ is performed by, for example, FIG. 36 or FIG.
The procedure is performed as shown in FIG.
【0185】図36及び図37において、図13及び図
27と同一の符号は、同一又は同等処理を表わしてい
る。各々の図との対比より明らかなように、ダイナミッ
クセンター値の信頼性が低い場合には、ステップS70
3において、第5補正係数γ´が0にセットされる。ま
た、ダイナミックセンター値が信頼性の高い値であると
判断される場合には、ステップS701において、第5
補正係数γ´が1にセットされる。In FIGS. 36 and 37, the same reference numerals as those in FIGS. 13 and 27 indicate the same or equivalent processes. As is clear from comparison with the respective drawings, when the reliability of the dynamic center value is low, step S70
In 3, the fifth correction coefficient γ ′ is set to 0. If it is determined that the dynamic center value is a highly reliable value, the fifth center is determined in step S701.
The correction coefficient γ ′ is set to 1.
【0186】そして、ダイナミックセンター値の信頼性
はそれほど高くはないが、該センター値による影響を緩
和すれば、駆動力制御用点火時期の演算に十分使用でき
るものと判定された場合には、ステップS705におい
て、前記第5補正係数γ´がLdcに応じて緩和され、0
<γ´<1の範囲内で設定される。このステップS70
5の演算では、LdcとしてLdcmax を用いても良い。Although the reliability of the dynamic center value is not so high, if it is determined that if the influence of the center value can be reduced, the dynamic center value can be used sufficiently for calculating the driving force control ignition timing. In S705, the fifth correction coefficient γ ′ is reduced according to Ldc,
It is set within the range of <γ ′ <1. This step S70
In the calculation of 5, Ldcmax may be used as Ldc.
【0187】その後、ステップS706では、すでにス
テップS604において設定されているバンク角補正係
数Kθを、前記第5補正係数γ´を用いて修正(緩和)
する。この修正は、例えば図46に示されるような、修
正前のKθ(すなわちステップS604において設定さ
れたKθ)及び第5補正係数γ´をパラメータとするマ
ップを用いて行われる。このようにして、Kθが1から
ステップS604で設定された数値までの範囲内で、ダ
イナミックセンター値の信頼性に応じて修正される。そ
の後、当該処理は終了する。Thereafter, in step S706, the bank angle correction coefficient Kθ already set in step S604 is corrected (relaxed) using the fifth correction coefficient γ ′.
I do. This correction is performed using, for example, a map as shown in FIG. 46 in which Kθ before correction (that is, Kθ set in step S604) and the fifth correction coefficient γ ′ are parameters. In this way, Kθ is corrected according to the reliability of the dynamic center value within the range from 1 to the numerical value set in step S604. Thereafter, the process ends.
【0188】図32及び図33に戻り、ステップS50
9においては、駆動力制御用点火時期Cθig(n) が演算
される。この処理の詳細を図38に示す。図38におい
て、まずステップS531においては、フィードバック
制御項Tp 、Td 及びTd2が、第8式〜第10式より演
算される。Returning to FIG. 32 and FIG. 33, step S50
In step 9, the driving force control ignition timing Cθig (n) is calculated. FIG. 38 shows the details of this processing. In FIG. 38, first, in step S531, the feedback control terms Tp, Td, and Td2 are calculated from the eighth to tenth equations.
【0189】 Tp =(Sb(n)−S)×Gp =ΔS(n) ×Gp …(8) Td =(ΔS(n) −ΔS(n-1) )×Gd …(9) Td2={(ΔS(n) −ΔS(n-1) )−(ΔS(n-1) −ΔS(n-2) )}×Gd2 …(10) このTp 、Td 及びTd2はPID制御による制御項であ
る。なお、Sは制御の目標値となる目標スリップ率(例
えば0.1)、Gp 、Gd 及びGd2は予め設定された制
御ゲイン、ΔS(n) はSb(n)からSを減じた差、ΔS(n
-1) はΔS(n)の前回演算値、ΔS(n-2) はΔS(n) の
前々回演算値である。Tp = (Sb (n) −S) × Gp = ΔS (n) × Gp (8) Td = (ΔS (n) −ΔS (n−1)) × Gd (9) Td2 = { (ΔS (n) −ΔS (n−1)) − (ΔS (n−1) −ΔS (n−2))} × Gd2 (10) Tp, Td and Td2 are control terms by PID control. . Here, S is a target slip ratio (for example, 0.1) which is a target value of control, Gp, Gd, and Gd2 are preset control gains, ΔS (n) is a difference obtained by subtracting S from Sb (n), ΔS (n
-1) is the previous calculated value of ΔS (n), and ΔS (n-2) is the calculated value of ΔS (n) two times before.
【0190】Sb(n)、S及びΔS(n) の関係を図47に
示す。Tp を演算するための(Sb(n)−S)は今回検出
されたスリップ率と目標スリップ率との差、Td を演算
するための(ΔS(n) −ΔS(n-1) )は前記差の変化
量、Td2を演算するための{(ΔS(n) −ΔS(n-1) )
−(ΔS(n-1) −ΔS(n-2) )}は、前記変化量の変化
量である。FIG. 47 shows the relationship among Sb (n), S and ΔS (n). (Sb (n) -S) for calculating Tp is the difference between the slip rate detected this time and the target slip rate, and (.DELTA.S (n)-. DELTA.S (n-1)) for calculating Td is as described above. {(ΔS (n) -ΔS (n-1)) for calculating the amount of change in difference, Td2
− (ΔS (n−1) −ΔS (n−2))} is a change amount of the change amount.
【0191】ステップS532においては、第11式よ
り制御項の合算値Ktotal が演算される。In step S532, the total value Ktotal of the control terms is calculated from equation (11).
【0192】 Ktotal =Tp +Td +Td2 …(11) ステップS533においては、Ktotal 、及び前記ステ
ップS504において読み込まれたエンジン回転数Ne
を用いて、基本補正量Δθigが設定される。この基本補
正量Δθigは、図39に示されるようにKtotal 及びN
e をパラメータとするマップから読み出される。このマ
ップにおけるΔθigは、Ne に対しては図40の関係
で、またKtotal に対しては図41の関係で予めセッテ
ィングされている。なお、図39〜図41では、Δθig
の+値は点火時期の進角側、−値は遅角側のデータであ
る。Ktotal = Tp + Td + Td2 (11) In step S533, Ktotal and the engine speed Ne read in step S504 are determined.
Is used to set the basic correction amount Δθig. The basic correction amount Δθig is calculated as Ktotal and N
Read from the map with e as a parameter. In this map, Δθig is set in advance for Ne in the relationship shown in FIG. 40 and for Ktotal in the relationship shown in FIG. 39 to 41, Δθig
The + value is data on the advance side of the ignition timing, and the-value is data on the retard side of the ignition timing.
【0193】ステップS534においては、後述するス
テップS537でセットされた減算補正量Zが0である
か否かが判別される。ステップS537においては、減
算補正量Zは、正の値にセットされる。Zが0であれ
ば、ステップS535において、前回演算されたスリッ
プ率Sb(n-1)が、目標スリップ率Sと予め設定された第
3スリップ率S3 との和の値を下回っているか否かが判
別される(図42参照)。下回っていなければステップ
S539に移行し、下回っていればステップS536に
移行する。In step S534, it is determined whether or not the subtraction correction amount Z set in step S537 described later is zero. In step S537, the subtraction correction amount Z is set to a positive value. If Z is 0, in step S535, it is determined whether the previously calculated slip ratio Sb (n-1) is smaller than the sum of the target slip ratio S and a preset third slip ratio S3. Is determined (see FIG. 42). If not, the process proceeds to step S539, and if lower, the process proceeds to step S536.
【0194】ステップS536においては、今回演算さ
れたスリップ率Sb(n)が、目標スリップ率Sと予め設定
された第3スリップ率S3 との和の値以上であるか否か
が判別される。前記和の値以上でなければステップS5
39に移行し、前記和の値以上であればステップS53
7に移行する。In step S536, it is determined whether or not the slip rate Sb (n) calculated this time is equal to or greater than the sum of the target slip rate S and a preset third slip rate S3. If the sum is not equal to or greater than the sum, step S5
39, and if it is equal to or greater than the sum, the process proceeds to step S53.
Move to 7.
【0195】ステップS537においては、例えば前輪
速度HA(すなわち車速)に応じて減算補正量Zが読み
出され、その後、ステップS539に移行する。ここ
で、前記減算補正量Zは、例えば図43に示されるよう
に、車速が大きいほど大きな値に設定される。In step S537, the subtraction correction amount Z is read according to, for example, the front wheel speed HA (ie, the vehicle speed), and then the flow shifts to step S539. Here, the subtraction correction amount Z is set to a larger value as the vehicle speed is higher, as shown in FIG. 43, for example.
【0196】一般に同じスリップ状態であっても、低速
時よりも高速時の方が早く駆動力を抑制することが望ま
しい。この実施例では、車速に応じた減算補正量Zの設
定が行われることにより、駆動力制御がさらに良好に行
われるようになる。このZは、後述のように駆動力制御
用点火時期の遅角量となる。In general, even in the same slip state, it is desirable to suppress the driving force faster at a high speed than at a low speed. In the present embodiment, the setting of the subtraction correction amount Z according to the vehicle speed is performed, so that the driving force control is performed more favorably. This Z is a retard amount of the driving force control ignition timing as described later.
【0197】前記ステップS534においてZが0でな
いと判別された場合には、ステップS38においてZか
ら所定遅角量(例えば1)が減算され、その後、ステッ
プS539に移行する。ステップS539においては、
ステップS505において演算された標準点火時期Sθ
ig(n) が読み出される。If it is determined in step S534 that Z is not 0, a predetermined retard amount (for example, 1) is subtracted from Z in step S38, and thereafter, the flow shifts to step S539. In step S539,
Standard ignition timing Sθ calculated in step S505
ig (n) is read.
【0198】ステップS540においては、ステップS
605又はS607で設定されたバンク角補正係数Kθ
が読み出される。ステップS541においては、第12
式より、当該自動二輪車の変速機のギヤ比GRが演算さ
れる。In step S540, step S540
Bank angle correction coefficient Kθ set in 605 or S607
Is read. In step S541, the twelfth
From the equation, the gear ratio GR of the transmission of the motorcycle is calculated.
【0199】 GR=(HB×1000)/(Ne ×60) …(12) ステップS542においては、ギヤ比GRに応じてギヤ
比係数Kg が設定される。このギヤ比係数Kg は、図4
4に示すように、ギヤ比GRが大きい場合には、大きな
値に設定される。これにより、後述のように、エンジン
のトルクが大きい場合には、小さい場合に比較して、Δ
θigの値が大きく補正される。GR = (HB × 1000) / (Ne × 60) (12) In step S542, the gear ratio coefficient Kg is set according to the gear ratio GR. This gear ratio coefficient Kg is calculated as shown in FIG.
As shown in FIG. 4, when the gear ratio GR is large, the value is set to a large value. Thereby, as described later, when the torque of the engine is large, Δ
The value of θig is greatly corrected.
【0200】ステップS543においては、第13式よ
り、駆動力制御用点火時期Cθig(n) が演算される。At step S543, the driving force control ignition timing Cθig (n) is calculated from the thirteenth equation.
【0201】 Cθig(n) =Sθig(n) +{(Δθig×Kg ×Kθ)−Z} …(13) このようにして、Cθig(n) が演算された後は、当該処
理は終了する。Cθig (n) = Sθig (n) + {(Δθig × Kg × Kθ) −Z} (13) After Cθig (n) is calculated in this manner, the process is terminated.
【0202】なお、第13式より明らかなように、減算
補正量Zがセットされた直後の場合には、Zがセットさ
れていない場合(Z=0の場合)に比較して、点火時期
Cθig(n) が大きく遅角される。As is clear from the expression (13), immediately after the subtraction correction amount Z is set, the ignition timing Cθig is smaller than when Z is not set (when Z = 0). (n) is greatly retarded.
【0203】さて、このように、Cθig(n) は、基本的
には、標準点火時期Sθig(n) に、スリップ率Sb に応
じた基本制御量(換言すれば、点火時期の変化量)Δθ
igを加算することにより決定される。したがって、スリ
ップ率Sb に応じて点火時期の絶対角度を演算する場合
等に比較して、いままでの走行状態が反映されることに
なり、良好な制御が期待できる。As described above, Cθig (n) is basically obtained by adding the basic control amount (in other words, the change amount of the ignition timing) Δθ to the standard ignition timing Sθig (n) in accordance with the slip ratio Sb.
It is determined by adding ig. Therefore, as compared with the case where the absolute angle of the ignition timing is calculated in accordance with the slip ratio Sb, the current running state is reflected, and good control can be expected.
【0204】さらに、前記基本制御量Δθig自体も、今
回以前に演算されたスリップ率等により決定されるΔS
(n) 、ΔS(n-1) 、ΔS(n-2) 等により決定されるの
で、いままでの走行状態が反映され、さらに良好な制御
が期待できる。Further, the basic control amount Δθig itself is also determined by ΔS determined by the slip ratio calculated before this time.
(n), ΔS (n−1), ΔS (n−2), etc., so that the current running state is reflected, and better control can be expected.
【0205】さらにバンク角に応じて設定されたバンク
角補正係数Kθを乗算することにより、Cθig(n) がバ
ンク角に応じて設定されることになり、コーナリングに
応じた駆動力制御が可能となる。そして、このKθがダ
イナミックセンター値の信頼性に応じて緩和されるの
で、さらに良好な制御が可能となる。Further, by multiplying by the bank angle correction coefficient Kθ set according to the bank angle, Cθig (n) is set according to the bank angle, and the driving force control according to the cornering can be performed. Become. And, since this Kθ is alleviated according to the reliability of the dynamic center value, more excellent control becomes possible.
【0206】図32及び図33に戻り、ステップS51
0においては、駆動力制御用点火時期で制御を継続すべ
き条件であるか否か、換言すれば標準点火時期を用いた
制御に移行すべき条件であるか否かが、判別される。駆
動力制御用点火時期で制御を継続すべき条件である場合
にはステップS511に移行し、標準点火時期を用いた
制御に移行すべき条件となった場合には、ステップS5
08に移行する。Returning to FIG. 32 and FIG. 33, step S51
At 0, it is determined whether or not the condition is that the control should be continued at the driving force control ignition timing, in other words, whether or not the condition should be shifted to the control using the standard ignition timing. If the condition is that the control should be continued at the driving force control ignition timing, the process proceeds to step S511, and if the condition is to shift to the control using the standard ignition timing, the process proceeds to step S5.
08.
【0207】このステップS510の処理の詳細を、図
45に示す。図45において、まずステップS551で
は、Sb(n)が予め設定された第2スリップ率S2 (S2
<S1 、図42参照)を下回ったか否かが判別される。
下回っていなければステップS511に移行し、下回っ
ていればステップS552に移行する。FIG. 45 shows the details of the processing in step S510. In FIG. 45, first, in step S551, Sb (n) is set to a predetermined second slip ratio S2 (S2
<S1, see FIG. 42).
If not, the process proceeds to step S511, and if not, the process proceeds to step S552.
【0208】ステップS552においては、Cθig(n)
とSθig(n) との差の絶対値が所定角度r度以上である
か否かが判別される。前記所定角度r度未満であればス
テップS511に移行し、r度以上であればステップS
553に移行する。ステップS553においては、タイ
マがスタートされ、時間計測が開始される。In step S552, Cθig (n)
It is determined whether or not the absolute value of the difference between Sθig (n) and Sθig (n) is equal to or greater than a predetermined angle r degrees. If the angle is less than the predetermined angle r, the process proceeds to step S511.
553. In step S553, a timer is started and time measurement is started.
【0209】ステップS554においては、タイマがス
タートされてから所定時間Tn [msec]経過したか否か
が判別される。Tn の経過が判別されない場合には、ス
テップS511に移行する。またTn の経過が判別され
た場合には、ステップS555において前記タイマが停
止され、リセットされる。そして、ステップS556に
おいて、Zが0にリセットされた後、当該処理はステッ
プS508に移行する。[0209] In step S554, it is determined whether a predetermined time Tn [msec] has elapsed since the timer was started. If it is not determined that Tn has elapsed, the process moves to step S511. If it is determined that Tn has elapsed, the timer is stopped and reset in step S555. Then, after Z is reset to 0 in step S556, the process proceeds to step S508.
【0210】図32及び図33に戻り、ステップS51
1においては、点火時期θig(n) として駆動力制御用点
火時期Cθig(n) が採用される。その後、当該処理はス
テップS512に移行する。ステップS512において
は、決定された点火時期θig(n) による点火タイミング
であるか否が判別される。点火タイミングであれば、ス
テップS513において点火され、ステップS514に
移行する。また、点火タイミングでなければ、直接ステ
ップS514に移行する。Returning to FIG. 32 and FIG. 33, step S51
In 1, the ignition timing Cθig (n) for driving force control is adopted as the ignition timing θig (n). Thereafter, the process proceeds to step S512. In step S512, it is determined whether the ignition timing is based on the determined ignition timing θig (n). If it is the ignition timing, the ignition is performed in step S513, and the process proceeds to step S514. If it is not the ignition timing, the process directly proceeds to step S514.
【0211】ステップS514においては、点火時期θ
ig(n) として、駆動力制御用点火時期Cθig(n) が採用
されたか否かが判別される。Cθig(n) が採用されてい
なければ、ステップS517において作動ランプ101
2(図30)が消灯(オフ)され、その後、当該処理は
終了する。At step S514, the ignition timing θ
It is determined whether or not the driving force control ignition timing Cθig (n) has been adopted as ig (n). If Cθig (n) has not been adopted, the operation lamp 101 is determined in step S517.
2 (FIG. 30) is turned off (off), and then the process ends.
【0212】ステップS514において、Cθig(n) の
採用が検出されたならば、ステップS515において、
Cθig(n) とSθig(n) との差の絶対値が所定角度R度
以上であるか否かが判別される。前記所定角度R度未満
であればステップS517に移行し、R度以上であれば
ステップS516に移行する。If the adoption of Cθig (n) is detected in step S514, then in step S515,
It is determined whether or not the absolute value of the difference between Cθig (n) and Sθig (n) is equal to or greater than a predetermined angle R degrees. If the angle is less than the predetermined angle R, the process proceeds to step S517.
【0213】ステップS516においては、作動ランプ
1012が点灯(オン)され、その後、当該処理は終了
する。上記した制御の様子を、さらに図42を参照して
説明する。In step S516, the operation lamp 1012 is turned on (turned on), and then the process ends. The state of the above control will be further described with reference to FIG.
【0214】図42は、本発明の第2の実施例による駆
動力制御の様子を説明するための、当該自動二輪車のス
リップ率の変化を示す一例のタイムチャートである。同
図において、縦軸はスリップ率Sb 、横軸は時間を表し
ている。図42において、まず標準点火時期による点火
時期制御が開始され、時刻T0において、当該自動二輪
車1が走行を開始したとすると、例えばスロットル弁の
開け過ぎによりスリップ率Sb が急激に上昇する。FIG. 42 is a time chart showing an example of the driving force control according to the second embodiment of the present invention and showing a change in the slip ratio of the motorcycle. In the figure, the vertical axis represents the slip ratio Sb, and the horizontal axis represents time. In FIG. 42, first, the ignition timing control based on the standard ignition timing is started. Assuming that the motorcycle 1 starts running at time T0, the slip ratio Sb sharply increases due to, for example, excessive opening of the throttle valve.
【0215】そして、スリップ率Sb が第1スリップ率
S1 を超え、かつ後輪速度HBが所定車速HBonを超え
た時点(T1、図35参照)で、ステップS509で演
算された駆動力制御用点火時期Cθigによる点火時期制
御に移行する。このスリップ率Sb の増加によりCθig
の値が減少し、点火時期が遅角される。At the time when the slip ratio Sb exceeds the first slip ratio S1 and the rear wheel speed HB exceeds a predetermined vehicle speed HBon (T1, see FIG. 35), the driving force control ignition calculated in step S509 is performed. The process proceeds to the ignition timing control based on the timing Cθig. Due to the increase of the slip ratio Sb, Cθig
Is decreased, and the ignition timing is retarded.
【0216】このような制御の後も、スリップ率Sb が
増加を続け、Sb が目標スリップ率Sと第3スリップ率
S3 との和以上となってしまった場合(T2)には、演
算されたCθigから前輪速度HAに応じた減算補正量Z
が減算される。このZの値は0となるまで徐々に減じら
れる。またZの値が0を超えている間は、Zの再セット
は禁止される(図38参照)。このZのセットにより点
火時期がさらに遅角され、出力の制限が大きくなる。After such control, if the slip ratio Sb continues to increase and Sb becomes equal to or greater than the sum of the target slip ratio S and the third slip ratio S3 (T2), the calculation is performed. Subtraction correction amount Z corresponding to front wheel speed HA from Cθig
Is subtracted. The value of Z is gradually reduced until it becomes zero. While the value of Z exceeds 0, resetting of Z is prohibited (see FIG. 38). The ignition timing is further retarded by the setting of Z, and the output limitation is increased.
【0217】Zが0となった(T3)後、再度、スリッ
プ率Sb が目標スリップ率Sと第3スリップ率S3 との
和以上となってしまった場合(T4)には、前輪速度H
Aに応じてZが再度セットされる。この後、当該自動二
輪車が図45に示した各種条件を満たした場合(T6)
には、Cθig(n) による点火時期制御から、Sθig(n)
による標準点火時期制御に移行する。After Z becomes 0 (T3), if the slip ratio Sb becomes equal to or larger than the sum of the target slip ratio S and the third slip ratio S3 again (T4), the front wheel speed H
Z is set again according to A. Thereafter, when the motorcycle satisfies the various conditions shown in FIG. 45 (T6).
From ignition timing control by Cθig (n), Sθig (n)
To the standard ignition timing control.
【0218】もちろん、スロットル弁の開け過ぎ状態が
未だ持続されている場合には、図42の二点鎖線で示し
たように、当該自動二輪車は、そのスリップ率Sb が目
標スリップ率Sに一致するように制御される。Of course, when the throttle valve is excessively opened, the slip ratio Sb of the motorcycle coincides with the target slip ratio S, as indicated by the two-dot chain line in FIG. Is controlled as follows.
【0219】図48及び図49は本発明の第2の実施例
の機能ブロック図である。これらの図はそれぞれを組合
せることにより一図を構成しており、また図1及び図3
1と同一の符号は、同一又は同等部分をあらわしてい
る。図48及び図49において、Ne 検出手段1021
は、第1パルサ1002A及び第2パルサ1002Bの
出力信号PC1及びPC2を用いてエンジン回転数Ne
を検出する。FIGS. 48 and 49 are functional block diagrams of the second embodiment of the present invention. These figures constitute one figure by combining them, and FIGS. 1 and 3
The same reference numerals as 1 denote the same or equivalent parts. 48 and 49, the Ne detecting means 1021
Is calculated using the output signals PC1 and PC2 of the first pulser 1002A and the second pulser 1002B.
Is detected.
【0220】前輪速度演算手段1022(すなわち車速
演算手段201)及び後輪速度演算手段1023は、前
輪速度センサ1003(すなわち車速センサ31)及び
後輪速度センサ1004より出力される信号を用いて、
前輪速度HA(すなわち車速V)及び後輪速度HBを演
算する。The front wheel speed calculating means 1022 (ie, the vehicle speed calculating means 201) and the rear wheel speed calculating means 1023 use the signals output from the front wheel speed sensor 1003 (ie, the vehicle speed sensor 31) and the rear wheel speed sensor 1004,
The front wheel speed HA (that is, the vehicle speed V) and the rear wheel speed HB are calculated.
【0221】スリップ率演算手段1024は、前記HA
及びHB、並びに第7式を用いて当該自動二輪車のスリ
ップ率Sb(n)を演算する。制御項演算手段1025は、
第8式〜第10式を用いてフィードバック制御項Tp 、
Td 及びTd2を演算する。[0221] The slip ratio calculating means 1024 is provided by the HA
, HB, and the seventh equation are used to calculate the slip ratio Sb (n) of the motorcycle. The control term calculation means 1025
Using Equations 8 to 10, the feedback control term Tp,
Calculate Td and Td2.
【0222】Ktotal 演算手段1026は、第11式を
用いてKtotal を演算する。Δθig設定手段1027
は、Ktotal 及びNe を用いて、図39に示されるよう
な基本補正量テーブルより基本補正量Δθigを読み出
す。このΔθigは駆動力制御用点火時期演算手段103
4に出力される。The K total calculation means 1026 calculates K total by using the eleventh formula. Δθig setting means 1027
Reads the basic correction amount Δθig from the basic correction amount table as shown in FIG. 39 using Ktotal and Ne. This Δθig is the driving force control ignition timing calculation means 103
4 is output.
【0223】状況判定手段1028は、今回演算された
スリップ率Sb(n)と、前回演算されたスリップ率Sb(n-
1)と、Zが0であるか否かとに応じて、Zをセットする
か否かを判定する。Z設定手段1029は、前記状況判
定手段1028により付勢され、HAに応じて減算補正
量Zをセットする。このセットは、図43に示したよう
に、例えばHAに応じて予めZの値が記憶されたテーブ
ルから、Zのデータを読み出すことにより行われる。The state determining means 1028 compares the currently calculated slip ratio Sb (n) with the previously calculated slip ratio Sb (n-
It is determined whether or not Z is set according to 1) and whether or not Z is 0. The Z setting means 1029 is energized by the situation determining means 1028 and sets the subtraction correction amount Z according to the HA. This setting is performed by reading the data of Z from a table in which the value of Z is stored in advance in accordance with, for example, HA as shown in FIG.
【0224】漸減制御手段1030は、Z設定手段10
29より出力されるZの値を所定時間ごと(例えば演算
手段1034による演算タイミングごと)に減少して、
駆動力制御用点火時期演算手段1034に出力する。ま
た、この漸減制御手段1030は、Zが0となるまで、
Z設定手段1029によるZの再セットを禁止する。The gradual decrease control means 1030 is provided with the Z setting means 10
29 is reduced at predetermined intervals (for example, at each operation timing by the operation means 1034).
It outputs to the driving force control ignition timing calculation means 1034. The gradual decrease control means 1030 operates until Z becomes zero.
The resetting of Z by the Z setting means 1029 is prohibited.
【0225】GR演算手段1032は、エンジン回転数
Ne 及び後輪速度HB、並びに第12式を用いて、ギヤ
比GRを演算する。Kg 設定手段1033は、ギヤ比G
Rに応じてギヤ比係数Kg をセットする。このセット
は、図44に示したように、例えばギヤ比GRに応じて
予めKg の値が記憶されたテーブルから、Kg のデータ
を読み出すことにより行われる。セットされたKg は、
前記演算手段1034に出力される。The GR calculating means 1032 calculates the gear ratio GR using the engine speed Ne, the rear wheel speed HB, and the twelfth formula. Kg setting means 1033 determines the gear ratio G
The gear ratio coefficient Kg is set according to R. This setting is performed by reading the data of Kg from a table in which the value of Kg is stored in advance, for example, according to the gear ratio GR, as shown in FIG. The set Kg is
It is output to the arithmetic means 1034.
【0226】標準点火時期演算手段1035は、公知の
手法を用いて、エンジン回転数Neより標準点火時期S
θig(n) を演算し、前記駆動力制御用点火時期演算手段
1034及び切換手段36に出力する。The standard ignition timing calculating means 1035 calculates the standard ignition timing S based on the engine speed Ne using a known method.
θig (n) is calculated and output to the driving force control ignition timing calculating means 1034 and the switching means 36.
【0227】図1に関して前述したように、ハンドル切
れ角演算手段202はハンドル切れ角(ハンドル中央位
置からの切れ角)θh を算出し、またΔθh 演算手段1
16は、ハンドル切れ角の変化速度Δθh を演算する。
図22に示されたβ1及び図23に示されたβ2の乗算
値である第2補正係数βは、前輪速度センサ1003の
出力信号又は車速V、及びハンドル切れ角の変化速度Δ
θh を用いてβマップ117より読み出され、該データ
はバンク角演算手段203に出力される。As described above with reference to FIG. 1, the steering wheel turning angle calculating means 202 calculates the steering wheel turning angle (turning angle from the handle center position) θh, and calculates the Δθh calculating means 1
A step 16 calculates the change speed Δθh of the steering wheel turning angle.
The second correction coefficient β, which is a product of β1 shown in FIG. 22 and β2 shown in FIG. 23, is the output signal or vehicle speed V of the front wheel speed sensor 1003 and the change speed Δ of the steering wheel turning angle.
The data is read from the β map 117 using θh, and the data is output to the bank angle calculation means 203.
【0228】前記バンク角演算手段203は、車速V、
第2補正係数β及びハンドル切れ角θh を用いて当該自
動二輪車のバンク角θb を演算する。Kθ設定手段15
01は、図34に示したようなテーブルを備えていて、
バンク角θb に応じてバンク角補正係数Kθを演算し、
駆動力制御用点火時期演算手段1034に出力する。The bank angle calculating means 203 calculates the vehicle speed V,
The bank angle θb of the motorcycle is calculated using the second correction coefficient β and the steering wheel turning angle θh. Kθ setting means 15
01 has a table as shown in FIG.
A bank angle correction coefficient Kθ is calculated according to the bank angle θb,
It outputs to the driving force control ignition timing calculation means 1034.
【0229】駆動力制御用点火時期演算手段1034
は、第13式より、駆動力制御用点火時期Cθig(n) を
演算し、切換手段1036に出力する。切換手段103
6は、常時はSθig(n) を点火制御手段1040に出力
するが、第1切換制御手段1037より制御信号が出力
された場合には、Cθig(n) を点火制御手段1040に
出力する。また、この状態において、第2切換制御手段
1038より制御信号が出力された場合には、再びSθ
ig(n) を点火制御手段1040に出力する。Drive power control ignition timing calculation means 1034
Calculates the driving force control ignition timing Cθig (n) from the expression (13) and outputs it to the switching means 1036. Switching means 103
6 always outputs Sθig (n) to the ignition control means 1040, but outputs Cθig (n) to the ignition control means 1040 when the control signal is output from the first switching control means 1037. In this state, when the control signal is output from the second switching control means 1038, Sθ
ig (n) is output to the ignition control means 1040.
【0230】点火制御手段1040は、入力された点火
時期でイグニションコイル1008を付勢する。前記第
1切換制御手段1037は、図35に示されたような機
能を有し、ステップS522において肯定判断が成され
た場合に、切換手段1036に制御信号を出力する。[0230] The ignition control means 1040 energizes the ignition coil 1008 at the input ignition timing. The first switching control means 1037 has a function as shown in FIG. 35, and outputs a control signal to the switching means 1036 when an affirmative determination is made in step S522.
【0231】また前記第2切換制御手段1038は、図
45に示されたような機能を有し、ステップS554に
おいて肯定判断が成され、ステップS556の処理が終
了した後に、切換手段1036に制御信号を出力する。
またこの際、Zを0にリセットする。比較手段1041
は、図33のステップS515の処理を行う機能を有
し、該処理において肯定判断が成された場合に、アンド
ゲート1042の一方の入力端子に出力を発生する。The second switching control means 1038 has a function as shown in FIG. 45. After an affirmative judgment is made in step S554 and the processing in step S556 is completed, the control signal is sent to the switching means 1036. Is output.
At this time, Z is reset to zero. Comparison means 1041
Has a function of performing the process of step S515 in FIG. 33, and generates an output at one input terminal of the AND gate 1042 when an affirmative determination is made in the process.
【0232】また、切換手段1036は、Cθig(n) を
選択している場合に、前記アンドゲート1042の他方
の入力端子に出力を発生する。作動ランプ1012は、
前記アンドゲート1042の出力により付勢され、点灯
する。The switching means 1036 generates an output at the other input terminal of the AND gate 1042 when Cθig (n) is selected. The operation lamp 1012 is
It is energized by the output of the AND gate 1042 and lights up.
【0233】さて、前述したように、バンク角の演算に
は、ハンドル切れ角の変化速度Δθh 及び車速Vをパラ
メータとした第2補正係数βが用いられるものとして説
明したが、前記可変速度Δθh のみをパラメータとして
係数(β1)のみを用いるようにしても良い。As described above, the calculation of the bank angle has been described on the assumption that the change rate Δθh of the steering wheel turning angle and the second correction coefficient β using the vehicle speed V as parameters are used, but only the variable speed Δθh is used. May be used as a parameter and only the coefficient (β1) may be used.
【0234】また、減速制御量Zは車速に応じて決定さ
れるものとして説明したが、例えば車速に応じて変化し
ない、固定値であっても良い。さらに、ギヤ比GRは、
第12式より演算されるものとして説明したが、当該車
両の変速機がマニュアルミッションである場合には、第
12式のような演算を行うことなく、単に変速機のギヤ
位置からGRの値をセットしても良い。Although the deceleration control amount Z has been described as being determined according to the vehicle speed, it may be a fixed value that does not change according to the vehicle speed, for example. Further, the gear ratio GR is
Although the description has been made on the assumption that the transmission is calculated from Expression 12, when the transmission of the vehicle is a manual transmission, the value of GR is simply obtained from the gear position of the transmission without performing the calculation as Expression 12. May be set.
【0235】さらにまた、Δθig、Kg 、Z、Kθは、
それぞれ図39〜図41、図44、図43、図34に示
された特性以外のテーブルより設定されても良い。これ
らのテーブルは、当該車両の走行特性等により決定され
る。Furthermore, Δθig, Kg, Z, and Kθ are
39 to 41, 44, 43, and 34 may be set from tables other than the characteristics shown in FIGS. These tables are determined based on the traveling characteristics of the vehicle.
【0236】また駆動力の制御は、前述したような点火
時期の遅角により行うだけでなく、点火の間引きやスロ
ットル弁開度の制御、あるいは他の各種エンジンデバイ
スの制御により行っても良い。The control of the driving force may be performed not only by retarding the ignition timing as described above, but also by controlling the thinning of the ignition, the opening of the throttle valve, or the control of various other engine devices.
【0237】さらに、図38のステップS531におい
ては、第8式〜第10式を用いてフィードバック制御項
Tp 、Td 及びTd2が演算され、これらを用いて合算値
Ktotal が演算されるものとして説明したが、次の第1
4式〜第16式を用いてPIDフィードバック制御項T
p 、Ti 及びTd を演算し、これらの合算値をKtotal
としても良い。In step S531 of FIG. 38, the feedback control terms Tp, Td, and Td2 are calculated using the eighth to tenth equations, and the total value Ktotal is calculated using these. But the first
PID feedback control term T using Equations 4 to 16
Calculate p, Ti and Td, and calculate the sum of these values as Ktotal
It is good.
【0238】 Tp =(Vb(n)−VT(n) )×Gp =ΔV(n) ×Gp …(14) Ti =(ΔV(n) +ΔV(n-1) +ΔV(n-2) +…+ΔV(1) )×Gi =dtΣΔV(n) ×Gi …(15) Td =(ΔV(n-1) −ΔV(n) )×Gd …(16) ここで、Gp 、Gi 及びGd は予め設定された制御ゲイ
ン、Vb(n)は後輪速度から前輪速度を減じた値である現
在の実スリップ量、VT(n) は目標スリップ量である。
したがって、ΔV(n) は現在の実スリップ量Vb(n)と目
標スリップ量VT(n) との差である。また、dtΣΔV
(n) は、最初の定時間割込において演算されたΔV(n)
の値(すなわちΔV(1) )から、今回の定時間処理にお
いて演算されたΔV(n) の値までの総和である。Tp = (Vb (n) −VT (n)) × Gp = ΔV (n) × Gp (14) Ti = (ΔV (n) + ΔV (n-1) + ΔV (n-2) + ... + ΔV (1)) × Gi = dtΣΔV (n) × Gi (15) Td = (ΔV (n-1) −ΔV (n)) × Gd (16) Here, Gp, Gi and Gd are set in advance. The obtained control gain, Vb (n) is a current actual slip amount which is a value obtained by subtracting the front wheel speed from the rear wheel speed, and VT (n) is a target slip amount.
Therefore, ΔV (n) is the difference between the current actual slip amount Vb (n) and the target slip amount VT (n). DtΣΔV
(n) is ΔV (n) calculated in the first fixed time interrupt
(Ie, ΔV (1)) to the value of ΔV (n) calculated in the current fixed-time processing.
【0239】[0239]
【発明の効果】以上の説明から明らかなように、本発明
によれば、次のような効果が達成される。 (1) 請求項1記載の二輪車の制御装置によれば、ハンド
ル切れ角の変化速度に応じて、演算されたバンク角デー
タが修正されるので、ハンドル切れ角変化速度が大き
い、コーナリング開始時あるいは終了時等における過渡
状態においても、ヘッドライト装置や駆動力制御装置等
の車両制御装置による制御を正確に行うことができる。As is clear from the above description, according to the present invention, the following effects are achieved. (1) According to the control device for a motorcycle according to the first aspect, the calculated bank angle data is corrected according to the change speed of the steering wheel turning angle, so that the steering wheel turning angle change speed is large, at the start of cornering or Even in a transient state such as at the time of termination, control by a vehicle control device such as a headlight device or a driving force control device can be accurately performed.
【0240】(2) 請求項2記載の二輪車の制御装置によ
れば、車速に応じてもバンク角データが修正されるの
で、バンク角データがさらに良好に修正される。したが
って、前記過渡状態において、前記車両制御装置による
制御をさらに正確に行うことができる。(2) According to the control device for a two-wheeled vehicle according to the second aspect, the bank angle data is corrected even in accordance with the vehicle speed, so that the bank angle data is corrected more favorably. Therefore, in the transient state, the control by the vehicle control device can be performed more accurately.
【図1】 本発明の第1の実施例の機能ブロック図であ
る。FIG. 1 is a functional block diagram of a first embodiment of the present invention.
【図2】 本発明が適用されるヘッドライト装置の構成
の概略を示す図である。FIG. 2 is a diagram schematically illustrating a configuration of a headlight device to which the present invention is applied.
【図3】 ヘッドライト装置の一例の断面図である。FIG. 3 is a sectional view of an example of a headlight device.
【図4】 本発明の第1の実施例の構成を示すブロック
図である。FIG. 4 is a block diagram illustrating a configuration of a first exemplary embodiment of the present invention.
【図5】 図20及び図21に示されたヘッドライト制
御装置のメインルーチンを示すフローチャートである。FIG. 5 is a flowchart showing a main routine of the headlight control device shown in FIGS. 20 and 21.
【図6】 ステップS2の詳細を示すフローチャートで
ある。FIG. 6 is a flowchart showing details of step S2.
【図7】 定時間割込処理のフローチャートである。FIG. 7 is a flowchart of a fixed time interruption process.
【図8】 ステップS32の詳細を示すフローチャート
である。FIG. 8 is a flowchart showing details of step S32.
【図9】 図10と組合せることにより構成される車速
検出用パルスの割込により行われる割込処理のフローチ
ャートである。FIG. 9 is a flowchart of an interruption process performed by interruption of a vehicle speed detection pulse configured in combination with FIG. 10;
【図10】 図9と組合せることにより構成される車速
検出用パルスの割込により行われる割込処理のフローチ
ャートである。FIG. 10 is a flowchart of an interrupt process performed by interrupting a vehicle speed detection pulse configured by combining with FIG. 9;
【図11】 図12と組合せることにより構成されるス
テップS57の詳細を示すフローチャートである。FIG. 11 is a flowchart showing details of step S57 configured by combining with FIG. 12;
【図12】 図11と組合せることにより構成されるス
テップS57の詳細を示すフローチャートである。FIG. 12 is a flowchart showing details of step S57 configured by combining with FIG. 11;
【図13】 ステップS62の詳細を示すフローチャー
トである。FIG. 13 is a flowchart showing details of step S62.
【図14】 ステップS66の詳細を示すフローチャー
トである。FIG. 14 is a flowchart showing details of step S66.
【図15】 図16と組合せることにより構成されるス
テップS67の詳細を示すフローチャートである。FIG. 15 is a flowchart showing details of step S67 configured by combining with FIG. 16;
【図16】 図15と組合せることにより構成されるス
テップS67の詳細を示すフローチャートである。FIG. 16 is a flowchart showing details of step S67 configured by combining with FIG. 15;
【図17】 ステップS130の詳細を示すフローチャ
ートである。FIG. 17 is a flowchart showing details of step S130.
【図18】 θhaと自動二輪車の走行距離との関係の一
例を示すタイムチャートである。FIG. 18 is a time chart showing an example of the relationship between θha and the traveling distance of the motorcycle.
【図19】 デューティ比記憶手段125に記憶される
デューティ比テーブルの一例を示す図である。FIG. 19 is a diagram showing an example of a duty ratio table stored in a duty ratio storage unit 125.
【図20】 図21と組合せることにより構成される本
発明の第1の実施例を具備する二輪車のヘッドライト制
御装置の構成及びその動作を示す機能ブロック図であ
る。20 is a functional block diagram showing a configuration and operation of a headlight control device for a motorcycle including the first embodiment of the present invention configured by combining with FIG. 21.
【図21】 図20と組合せることにより構成される本
発明の第1の実施例を具備する二輪車のヘッドライト制
御装置の構成及びその動作を示す機能ブロック図であ
る。21 is a functional block diagram showing a configuration and operation of a headlight control device for a motorcycle including the first embodiment of the present invention configured by combining with FIG. 20;
【図22】 第2補正係数βを構成するβ1の内容を示
す図である。FIG. 22 is a diagram showing the contents of β1 forming the second correction coefficient β.
【図23】 第2補正係数βを構成するβ2の内容を示
す図である。FIG. 23 is a diagram showing the contents of β2 forming the second correction coefficient β.
【図24】 第4補正係数δの内容を示す図である。FIG. 24 is a diagram showing the contents of a fourth correction coefficient δ.
【図25】 コンビスイッチ49、フラグFb 及びタイ
マ133の状態と、定電圧回路47より出力される電源
電圧との関係を示すタイムチャートである。FIG. 25 is a time chart showing the relationship between the state of the combination switch 49, the flag Fb, and the timer 133, and the power supply voltage output from the constant voltage circuit 47.
【図26】 ステップS4の詳細を示すフローチャート
である。FIG. 26 is a flowchart showing details of step S4.
【図27】 ステップS62の内容の他の例を示すフロ
―チャ―トであり、図13と対応する図である。FIG. 27 is a flowchart showing another example of the content of step S62, and is a diagram corresponding to FIG.
【図28】 本発明の第2の実施例が適用される自動二
輪車の一例の側面図である。FIG. 28 is a side view of an example of a motorcycle to which the second embodiment of the present invention is applied.
【図29】 図28の平面図である。FIG. 29 is a plan view of FIG. 28.
【図30】 インジケータパネル1010の詳細を示す
平面図である。FIG. 30 is a plan view showing details of an indicator panel 1010.
【図31】 本発明の第2の実施例の構成を示すブロッ
ク図である。FIG. 31 is a block diagram showing a configuration of a second example of the present invention.
【図32】 図33と組合せることにより構成される本
発明の第2の実施例の動作を示すフローチャートであ
る。FIG. 32 is a flowchart showing the operation of the second embodiment of the present invention configured by combining with FIG. 33;
【図33】 図32と組合せることにより構成される本
発明の第2の実施例の動作を示すフローチャートであ
る。FIG. 33 is a flowchart showing the operation of the second embodiment of the present invention configured by combining with FIG. 32;
【図34】 バンク角補正係数Kθの内容を示すテーブ
ルである。FIG. 34 is a table showing the contents of a bank angle correction coefficient Kθ.
【図35】 ステップS507の詳細を示すフローチャ
ートである。FIG. 35 is a flowchart showing details of step S507.
【図36】 ステップS607におけるバンク角補正係
数Kθの修正手順の一例を示すフローチャートである。FIG. 36 is a flowchart illustrating an example of a procedure for correcting a bank angle correction coefficient Kθ in step S607.
【図37】 ステップS607におけるバンク角補正係
数Kθの修正手順の他の例を示すフローチャートであ
る。FIG. 37 is a flowchart showing another example of the procedure for correcting the bank angle correction coefficient Kθ in step S607.
【図38】 ステップS509における駆動力制御用点
火時期Cθig(n)の演算処理の詳細を示すフローチャー
トである。FIG. 38 is a flowchart showing details of a calculation process of a driving force control ignition timing Cθig (n) in step S509.
【図39】 基本補正量Δθigの内容を示すマップであ
る。FIG. 39 is a map showing the contents of a basic correction amount Δθig.
【図40】 ΔθigとNe との関係を示す図である。FIG. 40 is a diagram showing the relationship between Δθig and Ne.
【図41】 ΔθigとKtotal との関係を示す図であ
る。FIG. 41 is a diagram showing a relationship between Δθig and Ktotal.
【図42】 スリップ率の変化の一例を示すタイムチャ
ートである。FIG. 42 is a time chart showing an example of a change in a slip ratio.
【図43】 減算補正量Zの内容を示すテーブルであ
る。FIG. 43 is a table showing contents of a subtraction correction amount Z;
【図44】 ギヤ比係数Kg の内容を示すテーブルであ
る。FIG. 44 is a table showing the content of a gear ratio coefficient Kg.
【図45】 ステップS510の処理の詳細を示すフロ
ーチャートである。FIG. 45 is a flowchart showing details of the process of step S510.
【図46】 第5補正係数γ´を用いてステップS60
4において設定されたKθを修正するための、該第5補
正係数γ´及び修正前のKθとをパラメータとするマッ
プである。FIG. 46: Step S60 using a fifth correction coefficient γ ′
4 is a map in which the fifth correction coefficient γ ′ and Kθ before correction are used as parameters for correcting Kθ set in 4.
【図47】 Sb(n)、S及びΔS(n) の関係を示す図で
ある。FIG. 47 is a diagram showing the relationship among Sb (n), S and ΔS (n).
【図48】 図49と組合せることにより構成される本
発明の第2の実施例の機能ブロック図である。FIG. 48 is a functional block diagram of a second embodiment of the present invention configured by combining with FIG. 49;
【図49】 図48と組合せることにより構成される本
発明の第2の実施例の機能ブロック図である。FIG. 49 is a functional block diagram of a second embodiment of the present invention configured by combining with FIG. 48;
1…ヘッドライト装置、18…サーボモータ、31…車
速センサ、32…舵角センサ、116…Δθh 演算手
段、117…βマップ、201…車速演算手段、202
…ハンドル切れ角演算手段、203…バンク角演算手
段、204…モータ制御量演算手段、1003…前輪速
度センサ、1004…後輪速度センサ、1008…イグ
ニションコイル、1024…スリップ率演算手段、10
27…Δθig設定手段、1034…駆動力制御用点火時
期演算手段、1035…標準点火時期演算手段、103
6…切換手段、1040…点火制御手段、1501…K
θ設定手段DESCRIPTION OF SYMBOLS 1 ... Headlight device, 18 ... Servo motor, 31 ... Vehicle speed sensor, 32 ... Steering angle sensor, 116 ... Δθh calculating means, 117 ... β map, 201 ... Vehicle speed calculating means, 202
... steering wheel turning angle calculation means, 203 ... bank angle calculation means, 204 ... motor control amount calculation means, 1003 ... front wheel speed sensor, 1004 ... rear wheel speed sensor, 1008 ... ignition coil, 1024 ... slip ratio calculation means, 10
27 .DELTA..theta.ig setting means, 1034 ... driving force control ignition timing calculating means, 1035 ... standard ignition timing calculating means, 103
6 switching means, 1040 ignition control means, 1501 K
θ setting means
───────────────────────────────────────────────────── フロントページの続き (51)Int.Cl.6 識別記号 FI F02D 45/00 314 B60Q 1/10 C F02P 5/15 F02P 5/15 B (56)参考文献 特開 平2−81776(JP,A) 特開 平1−204874(JP,A) 特開 昭63−53137(JP,A) 特開 昭63−162387(JP,A) 特開 平1−101245(JP,A) 特開 平4−121240(JP,A) 特開 平5−139133(JP,A) 特開 平1−94029(JP,A) 特開 昭64−41488(JP,A) 特開 平7−215258(JP,A) 実開 平5−4810(JP,U) (58)調査した分野(Int.Cl.6,DB名) F02D 29/02 B60Q 1/115 B62J 6/02 B62K 21/00──────────────────────────────────────────────────の Continuation of front page (51) Int.Cl. 6 Identification code FI F02D 45/00 314 B60Q 1/10 C F02P 5/15 F02P 5/15 B (56) References JP-A-2-81776 (JP) JP-A-1-204874 (JP, A) JP-A-63-53137 (JP, A) JP-A-63-162387 (JP, A) JP-A-1-101245 (JP, A) JP-A-5-139133 (JP, A) JP-A-1-94029 (JP, A) JP-A-64-41488 (JP, A) JP-A-7-215258 (JP, A) A) Japanese Utility Model Hei 5-5810 (JP, U) (58) Field surveyed (Int. Cl. 6 , DB name) F02D 29/02 B60Q 1/115 B62J 6/02 B62K 21/00
Claims (2)
ル切れ角を演算するハンドル切れ角演算手段と、車速及
びハンドル切れ角に応じて、当該二輪車のバンク角を演
算するバンク角演算手段と、演算されたバンク角に応じ
て、当該二輪車を制御する車両制御手段とを具備した二
輪車の制御装置において、ハンドル切れ角の変化速度を
演算する変化速度演算手段をさらに備え、前記バンク角
演算手段は、さらにハンドル切れ角の変化速度に応じて
バンク角データを修正することを特徴とする二輪車の制
御装置。1. A vehicle speed calculating means for calculating a vehicle speed, a steering wheel turning angle calculating means for calculating a steering wheel turning angle, a bank angle calculating means for calculating a bank angle of the motorcycle according to the vehicle speed and the steering wheel turning angle, A control device for a motorcycle, comprising: a vehicle control unit that controls the motorcycle according to the calculated bank angle. The control device for a motorcycle further includes a change speed calculation unit that calculates a change speed of a steering wheel turning angle, and the bank angle calculation unit includes: A control device for a two-wheeled vehicle, further comprising correcting bank angle data according to a change speed of a steering wheel turning angle.
応じてバンク角データを修正することを特徴とする請求
項1記載の二輪車の制御装置。2. The two-wheeled vehicle control device according to claim 1, wherein said bank angle calculation means further corrects bank angle data according to vehicle speed.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP17591691A JP2854441B2 (en) | 1990-08-15 | 1991-06-21 | Motorcycle control device |
Applications Claiming Priority (3)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP02215327 | 1990-08-15 | ||
| JP2-215327 | 1990-08-15 | ||
| JP17591691A JP2854441B2 (en) | 1990-08-15 | 1991-06-21 | Motorcycle control device |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPH05637A JPH05637A (en) | 1993-01-08 |
| JP2854441B2 true JP2854441B2 (en) | 1999-02-03 |
Family
ID=26497020
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP17591691A Expired - Fee Related JP2854441B2 (en) | 1990-08-15 | 1991-06-21 | Motorcycle control device |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP2854441B2 (en) |
Families Citing this family (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2007218269A (en) * | 2006-02-14 | 2007-08-30 | Honda Motor Co Ltd | Control method of transmission for motorcycle |
| JP5152778B2 (en) * | 2007-07-19 | 2013-02-27 | 本田技研工業株式会社 | Inclination angle detector for motorcycles |
| JP4963312B2 (en) * | 2009-10-02 | 2012-06-27 | 川崎重工業株式会社 | Motorcycle headlamp device |
| JP5602875B2 (en) * | 2010-11-19 | 2014-10-08 | ヤマハ発動機株式会社 | Motorcycle and its control device |
| ITMI20111469A1 (en) | 2011-08-01 | 2013-02-02 | Piaggio & C Spa | ADJUSTMENT SYSTEM FOR THE HEADLIGHTS OF A TILTING VEHICLE WITH A ROLLIO MECHANISM |
-
1991
- 1991-06-21 JP JP17591691A patent/JP2854441B2/en not_active Expired - Fee Related
Also Published As
| Publication number | Publication date |
|---|---|
| JPH05637A (en) | 1993-01-08 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| EP0475093B1 (en) | Two-wheeled vehicle control apparatus | |
| US10850661B2 (en) | Adaptive lighting system | |
| US6918688B2 (en) | Vehicle headlamp apparatus | |
| US6230093B1 (en) | Method and device for determining the probable path to be covered by a vehicle | |
| JP3168414B2 (en) | Optical axis adjustment device for vehicle headlights | |
| US6229263B1 (en) | Lighting-direction control unit for vehicle lamp | |
| GB2309773A (en) | Controlling direction of vehicle lights | |
| US20220075373A1 (en) | Vehicle control device, vehicle control method and computer-readable storage medium | |
| JPS6071341A (en) | Constant speed running device | |
| JP2000062525A (en) | Illuminating direction control device for vehicular lighting fixture | |
| US6688761B2 (en) | Vehicle headlamp automatic adjusting device with sensor failure detection means | |
| JP2854441B2 (en) | Motorcycle control device | |
| JP2000233682A (en) | Automatic leveling device of headlamp for automobile | |
| JP3372810B2 (en) | Vehicle driving condition monitoring device | |
| JPH1128974A (en) | Optical axis adjustment device for vehicle headlamp | |
| JP2004182195A (en) | Irradiation direction control device of headlight for vehicle | |
| JPH05305845A (en) | Vehicle headlights | |
| JP2922609B2 (en) | Motorcycle headlight control device | |
| JP3046866B2 (en) | Motorcycle inclination angle detection device | |
| JP2922610B2 (en) | Motorcycle headlight control device | |
| JP2023103705A (en) | Vehicle automatic deceleration control device | |
| JPH04100745A (en) | Headlight controlling device for motorcycle | |
| JPH04100747A (en) | Headlight controlling device for motorcycle | |
| KR0134384B1 (en) | Pneumatic pressure check device of car tire and control method thereof | |
| JP3137972B2 (en) | Vehicle driving force control device |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| LAPS | Cancellation because of no payment of annual fees |