JP2503433B2 - Motor position initialization device for stepping motor for engine control - Google Patents

Motor position initialization device for stepping motor for engine control

Info

Publication number
JP2503433B2
JP2503433B2 JP61194300A JP19430086A JP2503433B2 JP 2503433 B2 JP2503433 B2 JP 2503433B2 JP 61194300 A JP61194300 A JP 61194300A JP 19430086 A JP19430086 A JP 19430086A JP 2503433 B2 JP2503433 B2 JP 2503433B2
Authority
JP
Japan
Prior art keywords
stepping motor
motor
value
initialization
control
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP61194300A
Other languages
Japanese (ja)
Other versions
JPS63167058A (en
Inventor
徹 橋本
晃 高橋
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Mitsubishi Motors Corp
Original Assignee
Mitsubishi Motors Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Mitsubishi Motors Corp filed Critical Mitsubishi Motors Corp
Publication of JPS63167058A publication Critical patent/JPS63167058A/en
Application granted granted Critical
Publication of JP2503433B2 publication Critical patent/JP2503433B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Electrical Control Of Air Or Fuel Supplied To Internal-Combustion Engine (AREA)
  • Combined Controls Of Internal Combustion Engines (AREA)

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、エンジン制御用ステッピングモータのモー
タポジション初期化装置に関し、特に、自動車用エンジ
ンにそなえて好適なエンジン制御用ステッピングモータ
のモータポジション初期化装置に関する。
Description: TECHNICAL FIELD The present invention relates to a motor position initialization device for an engine control stepping motor, and more particularly to a motor position initialization device for an engine control stepping motor suitable for an automobile engine. Regarding the chemical conversion device.

〔従来の技術〕[Conventional technology]

従来、自動車用エンジンの吸気系において、吸気通路
にはスロットルバルブが介装されており、このスロット
ルバルブのアイドル開度を調整すべく、アイドルスピー
ドコントロール(ISC)用調整手段が設けられている。
BACKGROUND ART Conventionally, in an intake system of an automobile engine, a throttle valve is provided in an intake passage, and an idle speed control (ISC) adjusting means is provided to adjust an idle opening degree of the throttle valve.

このアイドルスピードコントロール(ISC)用調整手
段として、ステッピングモータを用いることが考えられ
る。
It is conceivable to use a stepping motor as the adjusting means for this idle speed control (ISC).

そして、このような従来のステッピングモータを用い
たアイドルスピードコントロール用調整手段では、ステ
ッピングモータのロッドの位置を正確にコントロールす
ることができるので、ロッド突出位置(ステッピングモ
ータの位置)を検出するポジションセンサを省略するこ
とができる。
Further, in such an idle speed control adjusting means using the conventional stepping motor, since the position of the rod of the stepping motor can be accurately controlled, a position sensor for detecting the rod protruding position (position of the stepping motor) is provided. Can be omitted.

〔発明が解決しようとする問題点〕[Problems to be solved by the invention]

しかしながら、このような従来のアイドルスピードコ
ントロール用調整手段では、ステッピングモータの制御
位置、すなわち、コンピュータ等のメモリ内に記憶して
いるステッピングモータの仮想位置と、ステッピングモ
ータの実際の位置とが、不一致(以下、「脱調現象」と
いう。)となる恐れがあるので、ステッピングモータの
イニシャライズ(キャリブレート)を行なう必要があ
る。かかるイニシャライズは、ステッピングモータを初
期位置へ駆動するとともに、この初期位置に対応するよ
うにメモリ内の記憶値をリセットすることにより行なわ
れる。
However, in such conventional adjusting means for idle speed control, the control position of the stepping motor, that is, the virtual position of the stepping motor stored in the memory of the computer or the like does not match the actual position of the stepping motor. (Hereinafter, referred to as “step-out phenomenon”), it is necessary to initialize (calibrate) the stepping motor. Such initialization is performed by driving the stepping motor to the initial position and resetting the stored value in the memory so as to correspond to this initial position.

ところで、イグニッションキーのオン時またはオフ時
に、ステッピングモータを弁全閉位置まで作動させてか
ら、イニシャライズを行なうことが考えられるが、この
場合弁全閉位置へ確実に到達させることが必要であるこ
とから、必要数よりも多めのパルス信号をステッピング
モータへ供給することが行なわれる。これによりコンピ
ュータで記憶されているモータ位置と実際のモータ位置
との間にズレがない場合、ステッピングモータは弁全閉
位置に達したのち、更に弁全閉側に駆動されるため、ロ
ック状態を引き起こし、弁の弁シート部の摩耗や噛み込
みを招く恐れがある。
By the way, when the ignition key is turned on or off, it may be possible to operate the stepping motor to the valve fully closed position before the initialization, but in this case it is necessary to make sure that the valve fully closed position is reached. Therefore, more pulse signals than necessary are supplied to the stepping motor. As a result, if there is no deviation between the motor position stored in the computer and the actual motor position, the stepping motor will be driven toward the valve fully closed side after reaching the valve fully closed position, and the locked state will be maintained. May cause wear and bite of the valve seat portion of the valve.

なお、ステッピングモータをEGR弁駆動用や過給圧
(又は排気圧)バイパス用に使用した場合も、上記と同
様の問題が生じる。
Even when the stepping motor is used for driving the EGR valve or bypassing the boost pressure (or exhaust pressure), the same problem as described above occurs.

本発明は、このような問題点を解決しようとするもの
で、ステッピングモータにおけるモータポジションの初
期化を適切に行なえるようにした、エンジン制御用ステ
ッピングモータのモータポジション初期化装置を提供す
ることを目的とする。
The present invention is intended to solve such a problem, and provides a motor position initialization device for an engine control stepping motor, which is capable of appropriately performing initialization of the motor position in the stepping motor. To aim.

〔問題点を解決するための手段〕[Means for solving problems]

このため、本発明のエンジン制御用ステッピングモー
タのモータポジション初期化装置は、現在のモータポジ
ションを仮想的に記憶するモータポジション記憶手段
と、エンジンの状態変化によって変更される学習値を記
憶する学習値記憶手段と、同学習値記憶手段からの学習
値を加味して目標とするモータポジションを設定する目
標ポジション設定手段と、上記のモータポジション記憶
手段からのモータポジションと目標ポジション設定手段
からの目標とするモータポジションとに基づき制御信号
を出力する制御手段と、同制御手段からの制御信号を受
けて作動するステッピングモータと、同ステッピングモ
ータによって駆動されるエンジン制御用被駆動部材とを
そなえるとともに、上記ステッピングモータへ初期化信
号を出力して上記被駆動部材を初期化位置へ移動させる
モータポジション初期化手段をそなえ、同モータポジシ
ョン初期化手段が、上記学習値記憶手段に記憶された学
習値が異常値に達したことを受けて上記初期化信号の出
力を指令する初期化時期決定手段をそなえて構成された
ことを特徴としている。
For this reason, the motor position initialization device for the engine control stepping motor of the present invention includes a motor position storage means for virtually storing the current motor position and a learning value for storing a learning value changed by a change in the state of the engine. A storage unit, a target position setting unit that sets a target motor position in consideration of the learning value from the learning value storage unit, a motor position from the motor position storage unit, and a target from the target position setting unit. And a stepping motor that operates by receiving a control signal from the control means, and an engine control driven member that is driven by the stepping motor. Output the initialization signal to the stepping motor to drive the above The motor position initialization means for moving the member to the initialization position is provided, and the motor position initialization means receives the fact that the learning value stored in the learning value storage means reaches an abnormal value, It is characterized in that it is configured with an initialization timing determining means for instructing output.

〔作用〕[Action]

上述の本発明のエンジン制御用ステッピングモータの
モータポジション初期化装置では、エンジン制御に使用
される学習値が異常値に達したことを受けて初期化時期
が決定され、このようにして決定された時期にモータポ
ジションの初期化が行なわれる。
In the motor position initialization device for an engine control stepping motor of the present invention described above, the initialization time is determined in response to the learning value used for engine control reaching an abnormal value, and is thus determined. At that time, the motor position is initialized.

〔実施例〕〔Example〕

以下、図面により本発明の実施例について説明する
と、第1〜7図は本発明の第1実施例としてのエンジン
制御用ステッピングモータのモータポジション初期化装
置をそなえた自動車用エンジン制御システムを示すもの
で、第1図はその要部ブロック図、第2図はその全体構
成図、第3図はそのブロック図、第4図はその点火系の
一部を示す模式図、第5図はそのアイドルスピード制御
およびモータポジション初期化処理を示すフローチャー
ト、第6図はそのステッピングモータ駆動ルーチンを示
すフローチャート、第7図はそのアイドルスピード制御
時の作用を説明するためのグラフである。
An embodiment of the present invention will be described below with reference to the drawings. FIGS. 1 to 7 show an automobile engine control system equipped with a motor position initialization device for an engine control stepping motor as a first embodiment of the present invention. FIG. 1 is a block diagram of its main part, FIG. 2 is its overall configuration diagram, FIG. 3 is its block diagram, FIG. 4 is a schematic diagram showing a part of its ignition system, and FIG. 5 is its idle. FIG. 6 is a flow chart showing the speed control and motor position initialization processing, FIG. 6 is a flow chart showing the stepping motor drive routine, and FIG. 7 is a graph for explaining the operation during the idle speed control.

さて、この第1実施例は、第2図に示すごとく、V型
6気筒エンジン(以下「V6エンジン」ということがあ
る)2に適用したものであるが、このV型6気筒エンジ
ン2では、核気筒につながる吸気マニホルド4のそれぞ
れに電磁式燃料噴射弁「フュエルインジェクタ)6を有
するいわゆるマルチポイント噴射方式(MPI方式)が採
用されている。
Now, as shown in FIG. 2, this first embodiment is applied to a V-type 6-cylinder engine (hereinafter sometimes referred to as “V6 engine”) 2. However, in this V-type 6-cylinder engine 2, A so-called multipoint injection system (MPI system) having an electromagnetic fuel injection valve “fuel injector” 6 in each intake manifold 4 connected to a nuclear cylinder is adopted.

そして、吸気マニホルド4にはサージタンク8を介し
て吸気通路10の一端が接続されており、吸気通路10の他
端には、エアクリーナ12が取り付けられている。
Then, one end of an intake passage 10 is connected to the intake manifold 4 via a surge tank 8, and an air cleaner 12 is attached to the other end of the intake passage 10.

また、吸気通路10にはスロットルバルブ14が介装され
ているが、このスロットルバルブ14の配設部分と並列に
スロットルバルブ14をバイパスするバイパス通路16が設
けられている。
A throttle valve 14 is provided in the intake passage 10, and a bypass passage 16 that bypasses the throttle valve 14 is provided in parallel with a portion where the throttle valve 14 is provided.

バイパス通路16には、アイドルスピードコントロール
バルブ(ICSバルブ)18とファストアイドルエアバルブ
(FIAバルブ)20とが相互に並列に配設されている。
In the bypass passage 16, an idle speed control valve (ICS valve) 18 and a fast idle air valve (FIA valve) 20 are arranged in parallel with each other.

アイドルスピードコントロールバルブ18は、ステッピ
ングモータ(ステッパモータともいう)18aと、ステッ
ピングモータ18aによって開閉駆動される弁体18bと、弁
体18bを閉方向へ付勢するリターンスプリング18cとをそ
なえて構成されている。ステッピングモータ18aは4つ
のコイル部を環状に配し且つこれらのコイル部で囲まれ
た空間にロータ(回転体部分)を有し、ロータが回転す
るロータリタイプのもの(4相ユニポーラ,2相励磁型)
で、パルス信号をコイル部に所定の順序で受けると所定
角度だけ左右に回動するようになっている。そして、ス
テッピングモータ18aのロータは弁体18b付きのロッド18
dと同軸的に配設されこれに外側から螺合している。ま
た、ロッド18dには回転止めが施されている。これによ
りステッピングモータ18aが回転作動すると、弁体18b付
きロッド18dは軸方向に沿い移動して、弁開度が変わる
ようになっている。
The idle speed control valve 18 includes a stepping motor (also referred to as a stepper motor) 18a, a valve body 18b that is driven to open and close by the stepping motor 18a, and a return spring 18c that biases the valve body 18b in a closing direction. ing. The stepping motor 18a has four coil parts arranged in an annular shape and has a rotor (rotating body part) in a space surrounded by these coil parts. The rotor type is a rotary type (four-phase unipolar, two-phase excitation). Type)
When the pulse signals are received by the coil section in a predetermined order, the coil section is rotated left and right by a predetermined angle. The rotor of the stepping motor 18a is the rod 18 with the valve body 18b.
It is arranged coaxially with d and is screwed into it. Further, the rod 18d is provided with a rotation stop. As a result, when the stepping motor 18a is rotationally operated, the rod 18d with the valve element 18b moves along the axial direction, and the valve opening degree changes.

ファストアイドルエアバルブ20はワックスタイプのも
ので、エンジン温度が低いときは収縮してバイパス通路
16を開き、エンジン温度が高くなるに従い伸長してバイ
パス通路16を閉じてゆくようになっている。
The fast idle air valve 20 is a wax type valve that contracts when the engine temperature is low and causes a bypass passage.
16 is opened, and as the engine temperature rises, it extends and closes the bypass passage 16.

なお、各電磁式中燃料噴射弁6へは燃料ポンプ22から
の燃料が供給されるようになっているが、この燃料ポン
プ22からの燃料圧は燃圧レギュレータ24によって調整さ
れるようになっている。ここで燃圧レギュレータ24はダ
イアフラムで仕切られた2つのチャンバのうちの一方に
制御通路26をつなぎ、この一方のチャンバに制御通路26
を通じ制御圧を加えることにより、燃圧調整を行なうよ
うになっている。なお、燃圧レギュレータ24のチャンバ
内には、基準燃圧を決めるためのリターンスプリングが
設けられている。
The fuel from the fuel pump 22 is supplied to each electromagnetic medium fuel injection valve 6, and the fuel pressure from the fuel pump 22 is adjusted by the fuel pressure regulator 24. . Here, the fuel pressure regulator 24 connects the control passage 26 to one of the two chambers partitioned by the diaphragm, and connects the control passage 26 to this one chamber.
The fuel pressure is adjusted by applying a control pressure through. A return spring for determining the reference fuel pressure is provided in the chamber of the fuel pressure regulator 24.

また、制御通路26にはサーモバルブ28が介装されてい
る。このサーモバルブ28は、燃料供給路30にワックス式
感温部をそなえ、このワックス式感温部に弁体が取り付
けられたもので、燃料温度が低いと、制御通路26を開い
て、燃圧レギュレータ24のチャンバ内へ吸気通路圧力
(この圧力はスロットルバルブ14の配設位置よりも下流
側の圧力)を導く一方、燃料温度が高くなってゆくと、
サーモバルブ28内の大気側開口部と制御通路26とを強制
的に連通させて、燃圧レギュレータ24のチャンバ内へ大
気圧を導くことができるようになっている。
Further, a thermo valve 28 is provided in the control passage 26. This thermo-valve 28 has a wax type temperature sensing portion in a fuel supply passage 30, and a valve body is attached to this wax type temperature sensing portion. When the fuel temperature is low, the control passage 26 is opened to open a fuel pressure regulator. While the intake passage pressure (this pressure is the pressure on the downstream side of the position where the throttle valve 14 is disposed) is introduced into the chamber of 24, as the fuel temperature rises,
Atmospheric pressure can be introduced into the chamber of the fuel pressure regulator 24 by forcibly communicating the atmosphere side opening in the thermo valve 28 and the control passage 26.

なお、このようなワックスタイプのサーモバルブ28の
代わりに、これと同機能を有する電磁式のサーモバルブ
を用いてもよい。
Instead of such a wax type thermo-valve 28, an electromagnetic thermo-valve having the same function as this may be used.

ところで、このエンジン2については、燃料供給制
御,点火時間制御,アイドルスピード制御,オーバヒー
ト時制御,燃料ポンプ制御,クーラリレーオンオフ制
御、自己診断(ダイアグノシス)表示制御等、種々の制
御が施されるが、かかる制御を行なうために、種々のセ
ンサが設けられている。すなわち、第2〜4図に示すご
とく、エアフローセンサ32、吸気温センサ34,スロット
ルポジションセンサ36,アイドルスイッチ38,水温センサ
40,クランク角センサ42,上死点センサ(TDCセンサ)44,
O2センサ46,インヒビタスイッチ48,クーラスイッチ50,
クランキングスイッチ52,イグニッションスイッチ(キ
ースイッチということもある)54,イグニッションキー
脱着センサ55,高温スイッチ56,パワステアリングスイッ
チ(パワステスイッチ)58,車速リードスイッチ60,診断
スイッチ62,大気圧センサ64,ドアセンサ92,ロック状態
センサ94,シートスイッチ96が設けられている。
By the way, various controls such as fuel supply control, ignition time control, idle speed control, overheat control, fuel pump control, cooler relay on / off control, self-diagnosis (diagnosis) display control, etc. are performed on the engine 2. Various sensors are provided to perform such control. That is, as shown in FIGS. 2 to 4, an air flow sensor 32, an intake air temperature sensor 34, a throttle position sensor 36, an idle switch 38, a water temperature sensor.
40, crank angle sensor 42, top dead center sensor (TDC sensor) 44,
O 2 sensor 46, inhibitor switch 48, cooler switch 50,
Cranking switch 52, ignition switch (sometimes called a key switch) 54, ignition key attachment / detachment sensor 55, high temperature switch 56, power steering switch (power steering switch) 58, vehicle speed reed switch 60, diagnostic switch 62, atmospheric pressure sensor 64, A door sensor 92, a lock state sensor 94, and a seat switch 96 are provided.

エアフローセンサ32はエアクリーナ12内に設けられて
カルマン渦を検出することにより吸入空気量に比例した
周波数パルスを出力するオープンコレクタ出力タイプの
もので、吸入空気量の検出のために使われる。
The air flow sensor 32 is provided in the air cleaner 12 and is an open collector output type that outputs a frequency pulse proportional to the intake air amount by detecting a Karman vortex, and is used for detecting the intake air amount.

吸入温センサ34もエアクリーナ12内に設けらえて吸入
空気の温度(吸気温)を検出するので、サーミスタ等が
使用される。
Since the intake temperature sensor 34 is also provided in the air cleaner 12 to detect the temperature of intake air (intake temperature), a thermistor or the like is used.

スロットルポジションセンサ36はスロットルバルブ14
の開度を検出するもので、ポテンショメータ(バリアブ
ルレジスタ)式のものが使用される。
Throttle position sensor 36 is throttle valve 14
Of the potentiometer (variable register) type is used.

アイドルスイッチ38はスロットルバルブ14がアイドル
開度にあることを検出するものであるが、その他にスピ
ードアジャスティングスクリューとしての機能も有す
る。
The idle switch 38 detects that the throttle valve 14 is at the idle opening, but also has a function as a speed adjusting screw.

水温センサ40はエンジン冷却水温を検出するもので、
サーミスタ等が使用される。
The water temperature sensor 40 detects the engine cooling water temperature,
A thermistor or the like is used.

クランク角センサ42および上死点センサ44はそれぞれ
第4図に示すごとく、ディストリビュータ68に設けられ
るものであるが、クランク角センサ42はディストリビュ
ータ角(分解能1°)からクランク角を検出するもの
で、上死点センサ44は上死点あるいはその少し手前のタ
イミングを各気筒(6個分)ごとに検出するもので、気
筒判別信号を出力するほか、上死点センサ44からはクラ
ンク角で120°ごとにパルス信号(基準信号)が検出さ
れるので、このパルス信号間隔をはかることによりエン
ジン回転数を検出することができる。
The crank angle sensor 42 and the top dead center sensor 44 are respectively provided in the distributor 68 as shown in FIG. 4, but the crank angle sensor 42 detects the crank angle from the distributor angle (resolution 1 °). The top dead center sensor 44 detects the timing of the top dead center or slightly before that for each cylinder (6 cylinders), outputs a cylinder discrimination signal, and outputs a crank angle of 120 ° from the top dead center sensor 44. Since the pulse signal (reference signal) is detected every time, the engine speed can be detected by measuring the pulse signal interval.

O2センサ46は排気マニホルドの集合部よりも下流側の
排気通路70に設けらえて排気中の酸素量を検出するもの
である。なお、O2センサ46はヒータをそなえたO2センサ
として構成されている。
The O 2 sensor 46 is provided in the exhaust passage 70 on the downstream side of the collecting portion of the exhaust manifold and detects the amount of oxygen in the exhaust. The O 2 sensor 46 is configured as an O 2 sensor having a heater.

インヒビタスイッチ48はエンジン2に連結された自動
変速機のシフトポジションに応じてオンオフするスイッ
チで、P,Nレンジのときにオン、それ以外でオフとな
る。
The inhibitor switch 48 is a switch that is turned on / off in accordance with the shift position of the automatic transmission connected to the engine 2, and is turned on in the P and N ranges, and turned off otherwise.

クーラスイッチ50はクーラ作動時にオンして電源電圧
又はH信号を出力してそれ以外でオフとなってL信号を
出力するスイッチであり、クランキングスイッチ52はエ
ンジンクランキング中にオン,それ以外でオフとなるス
イッチで、イングニッションスイッチ54はエンジンキー
をIG位置,ST位置にしたときにオンするスイッチで、オ
ンすることにより点火コイル72(第4図参照)を通じて
点火プラグから火花をとばせる状態にする。
The cooler switch 50 is a switch that is turned on when the cooler is operating and outputs the power supply voltage or the H signal, and is turned off otherwise and outputs the L signal. The cranking switch 52 is turned on during engine cranking, and otherwise. The ignition switch 54 is a switch that is turned off. The ignition switch 54 is a switch that is turned on when the engine key is set to the IG position and the ST position, and when turned on, a spark is emitted from the spark plug through the ignition coil 72 (see FIG. 4). Ready to go.

イグニッションキー着脱センサ55はイグニッションキ
ー(エンジンキー)を車体側キーシリンダに挿入したと
きにオンとなり、それ以外でオフとなるセンサである。
The ignition key attachment / detachment sensor 55 is a sensor which is turned on when the ignition key (engine key) is inserted into the vehicle body side key cylinder, and is turned off otherwise.

高温スイッチ56は排気通路70に配設された触媒コンバ
ータ74の下流側に設けられて排気温度(排温)を検出す
るものである。
The high temperature switch 56 is provided downstream of the catalytic converter 74 arranged in the exhaust passage 70 and detects the exhaust temperature (exhaust temperature).

パワステアリングスイッチ58はパワステアリングの作
動時における油圧を検出してオンするものである。
The power steering switch 58 detects a hydraulic pressure when the power steering is activated and turns on.

車速リードスイッチ60は車速に比例した周波数のパル
スを出力して車速を検出するもので、診断スイッチ62は
ダイアグノシスのためのスイッチである。
The vehicle speed reed switch 60 outputs a pulse having a frequency proportional to the vehicle speed to detect the vehicle speed, and the diagnostic switch 62 is a switch for diagnosis.

大気圧センサ64は絶対圧に比例した電圧を出力して大
気圧を検出するもので、例えば半導体圧力センサが使用
される。なお、大気圧センサ64はコンピュータ(以下、
「ECU」ともいう)76に内蔵されている。
The atmospheric pressure sensor 64 detects the atmospheric pressure by outputting a voltage proportional to the absolute pressure, and for example, a semiconductor pressure sensor is used. The atmospheric pressure sensor 64 is a computer (hereinafter,
(Also called "ECU") 76 built-in.

また、ドアセンサ(ドア状態センサ)92に運転席側ド
アに取り付けられてドアの開閉状態を検出するためのも
ので、さらに、ロック状態センサ(ドア状態センサ)94
はドアロック機構のロック・アンロック状態を検出する
ためのもので、シートスイッチ96は運転席における着座
状態を検出するためのものである。
A door sensor (door state sensor) 92 is attached to the driver side door to detect the open / closed state of the door, and further, a lock state sensor (door state sensor) 94.
Is for detecting the locked / unlocked state of the door lock mechanism, and the seat switch 96 is for detecting the seated state in the driver's seat.

そして、これらのセンサ32〜64,92〜96は、第3図に
示すごとく、ECU76へ入力されている。
The sensors 32 to 64 and 92 to 96 are input to the ECU 76 as shown in FIG.

ECU76は燃料供給制御,点火時期制御,アイドルスピ
ード制御,オーバヒート時制御,燃料ポンプ制御,クー
ラリレーオンオフ制御,自己診断表示制御等の集中制御
を行なうもので、そのハードウェア構成は、入出力イン
タフェース,プロセッサ(CPU),RAMやROM等のメモリ
[後述するアイドルスピード制御に使用する実ポジショ
ンや学習値やバッテリ着脱検出値を記憶するバックアッ
プメモリ76aを含む]をそなえて構成されているもので
ある。
The ECU 76 performs centralized control such as fuel supply control, ignition timing control, idle speed control, overheat control, fuel pump control, cooler relay on / off control, and self-diagnosis display control. Its hardware configuration is an input / output interface, It is configured to include a processor (CPU), a memory such as a RAM and a ROM [including a backup memory 76a for storing an actual position, a learning value and a battery attachment / detachment detection value used for idle speed control described later].

また、そのソフトウェア(ファームウェア化されたも
のも含む)については、上記の各制御ごとに仔細なプロ
グラムがセットされている。かかるプログラムはプログ
ラムメモリに格納されている。なお、制御のためのデー
タは2次元あるいは3次元マップ化されてRAMやROMに記
憶されたり、所要のラッチに一時記憶されたりするよう
になっている。
As for the software (including the one in the form of firmware), detailed programs are set for each control described above. Such a program is stored in the program memory. The control data is two-dimensionally or three-dimensionally mapped and stored in RAM or ROM, or temporarily stored in a required latch.

そして、ECU76からは各部へ制御信号が出力される。
即ち、ECU76からは6本の電磁式燃料噴射弁6、アイド
ルスピードコントロールバルブ18のステッピングモータ
18a,点火時期制御部(点火装置)78,燃料ポンプ制御部8
0,クーラリレー82,自己診断表示部84,クランキング手段
としてのスタータ89へそれぞれに適した制御信号が出力
されるようになっている。
Then, the control signal is output from the ECU 76 to each unit.
That is, from the ECU 76, six electromagnetic fuel injection valves 6 and an idle speed control valve 18 stepping motor
18a, ignition timing control unit (ignition device) 78, fuel pump control unit 8
Control signals suitable for 0, the cooler relay 82, the self-diagnosis display section 84, and the starter 89 as a cranking means are output.

電磁式燃料噴射弁6やアイドルスピードコントロール
バルブ18のステッピングモータ18aについては前述のと
おりであるが、電磁式燃料噴射弁6は所要のデューティ
率で供給されるパルス制御信号が供給されるとプランジ
ャを駆動して弁開時間を制御されながら燃料の噴射が可
能な弁であり、ステッピングモータ18aはその4つのコ
イル部へ所要のパルス制御信号が供給されると、各コイ
ル部への通電順序によって右または左まわりにまわるこ
とにより、弁体18bの弁開度を調整するものである。
The electromagnetic fuel injection valve 6 and the stepping motor 18a of the idle speed control valve 18 are as described above, but the electromagnetic fuel injection valve 6 operates the plunger when the pulse control signal supplied at the required duty ratio is supplied. The stepping motor 18a is a valve that can be driven to inject fuel while controlling the valve opening time. When the required pulse control signals are supplied to the four coil portions of the stepping motor 18a, depending on the energization order to each coil portion, Alternatively, the valve opening of the valve element 18b is adjusted by turning it counterclockwise.

点火時期制御部78はスイッチングトランジスタ等を含
む電子回路から成るイグナイタがその主要部をなしてお
り、コンピュータ76からの制御信号を受けることにより
所要のタイミング(点火時期)で点火コイル72へのコイ
ル電流を遮断するものである。
The ignition timing control unit 78 is mainly composed of an igniter composed of an electronic circuit including a switching transistor and the like, and receives a control signal from the computer 76 to generate a coil current to the ignition coil 72 at a required timing (ignition timing). To shut off.

燃料ポンプ制御部80は複数のリレースイッチを有する
コントロールリレーとして構成されており、燃料ポンプ
22の作動状態を制御するものである。
The fuel pump control unit 80 is configured as a control relay having a plurality of relay switches.
It controls 22 operating states.

クーラリレー82はECU76からのH信号を受けると閉じ
てコンプレッサを作動させ、ECU76からの信号がL信号
になると開いてコンプレッサを不作動状態にするもの
で、クーラオンオフリレーとして機能する。
The cooler relay 82 closes when it receives an H signal from the ECU 76 and operates the compressor, and opens when the signal from the ECU 76 becomes an L signal to deactivate the compressor, and functions as a cooler on-off relay.

自己診断表示部84は外部から別に接続されるチェッカ
ー回路として構成されており、LEDの点滅パターンによ
り故障コードを表示するものである。
The self-diagnosis display unit 84 is configured as a checker circuit that is separately connected from the outside, and displays the failure code by the blinking pattern of the LED.

また、コンピュータ76へのバッテリ電源66からの電源ラ
インはバックアップメモリ76a用を含め2本あるが、メ
インラインにはリレースイッチ103のリレー接点103bが
介装されており、このリレー接点103bはスイッチングト
ランジスタ104でオンオフされるリレーコイル103aによ
って開閉されるようになっている。また、スイッチング
トランジスタ104のベースには、ORゲート102からの出力
が抵抗105を介して供給されるようになっている。ORゲ
ート102はその一入力端にイグニッションスイッチ54を
介しての電源分岐ラインが接続されるとともに、その他
入力端にイグニッションスイッチ54および遅延回路100
を介しての電源分岐ラインが接続されている。
Also, there are two power lines from the battery power source 66 to the computer 76, including those for the backup memory 76a, but the main line is provided with the relay contact 103b of the relay switch 103, and this relay contact 103b is a switching transistor. It is adapted to be opened and closed by a relay coil 103a which is turned on and off by 104. The output of the OR gate 102 is supplied to the base of the switching transistor 104 via the resistor 105. The OR gate 102 has one input end connected to the power supply branch line via the ignition switch 54, and the other input end connected to the ignition switch 54 and the delay circuit 100.
The power supply branch line via is connected.

これにより、イグニッションスイッチ54をオフしても
コンピュータ76はすぐには切れず、所要の遅延時間後に
切れる。この遅延時間は後述するモータポジション初期
化処理を行なうのに十分な時間が選ばれる。
As a result, the computer 76 does not turn off immediately after the ignition switch 54 is turned off, but turns off after a required delay time. This delay time is selected to be sufficient for performing the motor position initialization process described later.

なお、バックアップメモリ76aはイグニッションスイ
ッチ54のオンオフとは無関係にいつもバッテリ電源66か
らの電力の供給を受けている。
The backup memory 76a is always supplied with power from the battery power source 66 regardless of whether the ignition switch 54 is on or off.

また、第2図中の符号11はキャニスタ、27はポジティ
ブクランクケースベンチレーション98はリザーバを示し
ている。
Reference numeral 11 in FIG. 2 indicates a canister, 27 indicates a positive crankcase ventilation 98, and a reservoir.

以下、このエンジン2について行なわれる種々の制御
のうち本発明と最も関連の深いアイドルスポード制御
(ISC)について説明する。
Hereinafter, among various controls performed on the engine 2, the idle spud control (ISC), which is most closely related to the present invention, will be described.

すなわち、この第1実施例におけるアイドルスピード
制御方式としては、ステッピングモータ18aをアクチュ
エータとし、バイパス通路16に設けられたアイドルスピ
ードコントロールバルブ18の開度を調節してアイドル回
転数を制御するバイパスエア制御方式が採用されてい
る。
That is, as the idle speed control method in the first embodiment, the stepping motor 18a is used as an actuator and the opening speed of the idle speed control valve 18 provided in the bypass passage 16 is adjusted to control the idle speed. The method is adopted.

そして、このアイドルスピード制御はいくつかの制御
モードに分けられるが、各センサからどの制御モードに
あるかが判定され、判定された制御モードの制御内容に
従い、ステッピングモータ18aの駆動制御を行なうこと
により実現するものである。
The idle speed control is divided into several control modes. Which control mode is in each sensor is determined, and the stepping motor 18a is driven and controlled according to the control content of the determined control mode. It will be realized.

かかるアイドルスピード制御は第1図に示すブロック
図で実現される。この第1図において、符号106はモー
タ18aの作動に連動して現在のモータポジション情報を
書き替えこれを仮想的に実ポジションPrとして記憶する
実ポジション記憶手段、108はエンジン2の状態変化に
よって変更される学習値Pstを記憶する学習値記憶手
段、110は学習値記憶手段108からの学習値Pstを加味し
て目標とするモータポジション(目標ポジション)Ps
(=Po+ΣΔP+Pst)を設定する目標ポジション設定
手段、112は実ポジション記憶手段106からの実ポジショ
ンPrと目標ポジション設定手段110からの目標モータポ
ジションPsとに基づき制御信号を出力する制御手段、11
4はドライバを示している。Po,ΣΔP,Pstの意味は後述
する。
Such idle speed control is realized by the block diagram shown in FIG. In FIG. 1, reference numeral 106 is an actual position storing means for rewriting the present motor position information in synchronism with the operation of the motor 18a and storing it virtually as an actual position Pr, and 108 is changed according to the state change of the engine 2. Learning value storage means for storing the learned value Pst, 110 is a target motor position (target position) Ps in consideration of the learning value Pst from the learning value storage means 108.
Target position setting means for setting (= Po + ΣΔP + Pst), 112 is a control means for outputting a control signal based on the actual position Pr from the actual position storage means 106 and the target motor position Ps from the target position setting means 110, 11
4 indicates a driver. The meaning of Po, ΣΔP, Pst will be described later.

次に動作について説明する。すなわち、第5図に示す
ごとく、イグニッションスイッチ54が投入されると、即
ちイグニッションスイッチ54がオンになると、ステップ
5−1で、コンピュータ76のメモリをイニシャライズす
る。このとき実ポジションPrおよび学習値Pstを記憶す
るバックアップメモリ76aの内容(このバックアップメ
モリ76aは実ポジション記憶手段106および学習値記憶手
段108の機能をもつ)の内容はイニシャライズされな
い。次に、ステップ5−2で、エンジン負荷,エンジン
回転数,水温等、エンジンの運転状態を入力し、ステッ
プ5−3で、アイドルスピード制御以外の他の制御(燃
料制御や点火時期制御等)を行なう。なお、これらの制
御は他のルーチンを実行することにより行なわれる。
Next, the operation will be described. That is, as shown in FIG. 5, when the ignition switch 54 is turned on, that is, when the ignition switch 54 is turned on, the memory of the computer 76 is initialized in step 5-1. At this time, the contents of the backup memory 76a that stores the actual position Pr and the learned value Pst (this backup memory 76a has the functions of the actual position storage means 106 and the learned value storage means 108) are not initialized. Next, in step 5-2, the engine operating conditions such as engine load, engine speed, and water temperature are input, and in step 5-3, controls other than idle speed control (fuel control, ignition timing control, etc.) Do. Note that these controls are performed by executing another routine.

そして、ステップ5−4で、キースイッチオン(イグ
ニッションスイッチオン)かどうかが判断される。最初
はキースイッチオンであるから、YESルートをとり、ア
イドルスピード制御ISCが実行される。すなわち、まず
ステップ5−5で、エンジン運転状態に応じた基本ポジ
ションPoを設定し、ステップ5−6で、安定したアイド
ル運転状態かどうかが判断される。
Then, in step 5-4, it is determined whether or not the key switch is on (ignition switch on). Initially, the key switch is on, so the YES route is taken and the idle speed control ISC is executed. That is, first, in step 5-5, the basic position Po corresponding to the engine operating state is set, and in step 5-6, it is determined whether or not the engine is in a stable idle operating state.

ここで、アイドルスイッチ38がオンで、次の条件が全
て成立した場合に安定したアイドル運転状態であると判
定される。
Here, when the idle switch 38 is on and all of the following conditions are met, it is determined that the idle operation state is stable.

(1)始動時に行なわれる制御モードを離脱した後、所
要時間経過していること。
(1) The required time has elapsed after leaving the control mode performed at startup.

(2)クーラスイッチオン/オフ変化後所要時間経過し
ていること。
(2) The required time has passed after the cooler switch was turned on / off.

(3)ダッシュポット制御(スロットル弁急閉時に所要
の開度のところから徐々にスロットル弁を閉じてゆく制
御)モードを離脱した後、所要時間経過していること。
(3) The required time has elapsed after leaving the dashpot control mode (control in which the throttle valve is gradually closed from the required opening when the throttle valve is closed rapidly).

(4)NレンジとDレンジとの間の切替後所要時間経過
していること。
(4) The required time has elapsed after switching between the N range and the D range.

(5)アイドルスイッチ38オン後所要時間経過している
こと。
(5) The required time has elapsed after the idle switch 38 was turned on.

(6)停止中であること。(6) Being stopped.

(7)その他異常回転に対処する制御モード離脱後所要
時間経過していること。
(7) Others The required time has elapsed since the control mode was disengaged to cope with abnormal rotation.

そして、ステップ5−6でNOであれば、ポジションフ
ィードバック制御を行なうべく、ステップ5−7で、回
転数フィードバックタイマをセットし、ステップ5−8
で、補正ポジションの積算値ΣΔP=0として、ステッ
プ5−9で、Ps=Po+ΣΔP+Pstなる演算を行なう。
ここで、Pstは上述のごとく学習値である。
If NO in step 5-6, the rotation speed feedback timer is set in step 5-7 to perform position feedback control, and step 5-8 is performed.
Then, the integrated value ΣΔP = 0 of the correction position is set, and in step 5-9, the calculation of Ps = Po + ΣΔP + Pst is performed.
Here, Pst is a learning value as described above.

一方、安定したアイドル運転状態であれば、ステップ
5−10で、回転数フィードバックタイマが0かどうかが
判断される。これは回転数フィードバック制御モードへ
の切替は所要時間おいてから行なうほうがよいからであ
る。
On the other hand, if the engine is in a stable idle operation state, it is determined in step 5-10 whether the rotation speed feedback timer is 0 or not. This is because it is better to switch to the rotation speed feedback control mode after a required time.

そして、ステップ5−10で、YESなら、ステップ5−1
1で、目標回転数Nsを設定し、ステップ5−12で、目標
回転数Nsと実回転数Nrとの偏差ΔNに応じて補正ポジシ
ョンΔPを設定する。その後はステップ5−13で、回転
数フィードバックタイマをセットしてから、ステップ5
−14で、エンジン冷却水温TwがTs(例えばTs=70℃)よ
りも高いかどうかが判断される。
If YES in step 5-10, step 5-1
At 1, the target rotation speed Ns is set, and at step 5-12, the correction position ΔP is set according to the deviation ΔN between the target rotation speed Ns and the actual rotation speed Nr. After that, in Step 5-13, set the rotation speed feedback timer, and then in Step 5
At -14, it is determined whether the engine cooling water temperature Tw is higher than Ts (for example, Ts = 70 ° C.).

なお、ステップ5−10で、NOの場合は、ステップ5−
11,5−12,5−13をジャンプして、ステップ5−14の処理
を行なう。
If NO in step 5-10, step 5-
Steps 11-14, 5-12 and 5-13 are jumped to and the processing of step 5-14 is performed.

そして、Tw≦Tsの場合(水温が低い場合)は、ステッ
プ5−9で、Ps=Po+ΣΔP+Pstなる演算がなされ、T
w>Tsの場合は、ステップ5−15で、回転数フィードバ
ック制御が安定しているか、即ち不感帯Nb(第7図参
照)に入って×秒経過しているかどうかが判断され、NO
の場合はステップ5−9で、Ps=Po+ΣΔP+Pstなる
演算を行なう。もしステップ5−15で、YESの場合は、
ステップ5−16で、ΣΔPに基づいて学習値Pstを更新
する。この場合Pstは徐々に即ち小さい補正変化量で更
新されてゆくものとする。ステップ5−16での学習値Ps
tの更新後は、ステップ5−9で、更新されたPstを使っ
てPs=Po+ΣΔP+Pstなる演算が行なわれる。
Then, if Tw ≦ Ts (when the water temperature is low), the calculation of Ps = Po + ΣΔP + Pst is performed in step 5-9, and Ts
If w> Ts, in step 5-15, it is determined whether the rotation speed feedback control is stable, that is, whether or not x seconds have elapsed since the dead zone Nb (see FIG. 7) has been entered, and NO
In the case of, the calculation of Ps = Po + ΣΔP + Pst is performed in step 5-9. If YES at step 5-15,
In step 5-16, the learning value Pst is updated based on ΣΔP. In this case, Pst is updated gradually, that is, with a small correction change amount. Learning value Ps in step 5-16
After t is updated, in step 5-9, the operation Ps = Po + ΣΔP + Pst is performed using the updated Pst.

そして、ステップ5−9の処理の後は、ステップ5−
2へ戻る。このようにして、アイドルスピード制御が実
行される。
Then, after the processing of step 5-9, step 5-
Return to 2. In this way, the idle speed control is executed.

その後、イグニッションスイッチ54を切ってオフして
も、遅延回路100の作用により、ORゲート102の出力が所
要時間だけハイレベルを維持しているので、トランジス
タ104がオン、リレー接点103bがオンの状態で保持し
て、イグニッションスイッチ54のオフ後所要時間はコン
ピュータ76は作動をつづける。ここで、遅延回路100で
設定される遅延時間はモータポジション初期化に要すの
るに十分な時間である。なお、モータポジション初期化
は、第1図に示すように、ステッピングモータ18aへ初
期化信号を出力して上記ロッド18dを初期化位置へ移動
させるモータポジション初期化手段116によって行なわ
れるが、このモータポジション初期化手段116は、学習
値記憶手段108に記憶された学習値Pstに基づいてステッ
ピングモータ18aへの初期化信号出力時期を決定する初
期化時期決定手段をそなえて構成されている。
After that, even if the ignition switch 54 is turned off and turned off, the output of the OR gate 102 is kept at the high level for the required time by the action of the delay circuit 100, so that the transistor 104 is on and the relay contact 103b is on. Then, the computer 76 continues to operate for the time required after the ignition switch 54 is turned off. Here, the delay time set by the delay circuit 100 is a time sufficient for the initialization of the motor position. The motor position initialization is performed by a motor position initialization means 116 which outputs an initialization signal to the stepping motor 18a to move the rod 18d to the initialization position as shown in FIG. The position initializing means 116 is provided with an initialization timing determining means for determining the timing of outputting the initialization signal to the stepping motor 18a based on the learning value Pst stored in the learning value storage means 108.

以下、モータポジション初期化処理について説明す
る。すなわち、上記のようにイグニッションスイッチ54
をオフにすると、初期化モードINITIALIZEが実行され
る。まずステップ5−4で、NOルートをとるから次にス
テップ5−17で、イニシャライズ終了フラグがセットさ
れたかどうかが判断される。最初はNOであるから、次に
ステップ5−18でイニシャライズフラグセットかどうか
が判断される。この場合も、最初はNOであるから、次に
ステップ5−19で、学習値Pstが異常値を示しているか
どうかが判断される。
The motor position initialization process will be described below. That is, as described above, the ignition switch 54
When is turned off, the initialization mode INITIALIZE is executed. First, at step 5-4, the NO route is taken, and then at step 5-17, it is judged whether or not the initialization end flag is set. Since it is initially NO, it is then determined in step 5-18 whether the initialization flag is set. In this case as well, since it is initially NO, it is then determined in step 5-19 whether the learning value Pst indicates an abnormal value.

ここで、学習値Pstが異常値であると破断されるの
は、学習値Pstが通常の学習制御によって更新される値
に比べ十分に大きい正の値Pstp(このPstpとしては例え
ば30前後の値が選ばれる)よりも大きい場合と、学習値
Pstが所要の負の値Pstn(このPstnとしては例えば−10
以上の適宜の負の値が選ばれる)よりも小さい場合であ
る。即ちPstn<Pst<Pstpの場合は、学習値Pstが異常な
値であるとはみないが、Pst≧PstpまたはPst≦Pstnの場
合は、学習値Pstが異常な値であるとみなすのである。
Here, if the learning value Pst is an abnormal value, it is broken that the learning value Pst is a positive value Pstp that is sufficiently larger than the value updated by normal learning control (for example, a value around 30 for this Pstp Is selected) and the learning value
Pst is a required negative value Pstn (for example, this Pstn is −10
This is a case where the above-mentioned appropriate negative value is selected). That is, when Pstn <Pst <Pstp, the learning value Pst is not considered to be an abnormal value, but when Pst ≧ Pstp or Pst ≦ Pstn, the learning value Pst is considered to be an abnormal value.

一般にエンジンは、同一のスロットル開度(負荷一
定)で運転する場合でも、使用するにつれて、即ち径年
変化によってエンジン回転数は低下してくるものであ
る。すなわち一般には学習値Pstは負の値をとらない。
したがって異常であるかどうかを判断するための学習値
Pstの上限値Pstpと下限値Pstnとはその絶対値が異なっ
ている。即ち|Pstp|>|Pstn|となっている。
Generally, even when the engine is operated with the same throttle opening (constant load), the engine speed decreases as it is used, that is, due to the change over time. That is, generally, the learning value Pst does not take a negative value.
Therefore, the learning value for determining whether it is abnormal
The absolute value of the upper limit value Pstp of Pst and the lower limit value Pstn are different. That is | Pstp |> | Pstn |.

そして、ステップ5−19で、学習値Pstが異常でない
と判断された場合は、もはや初期化する必要はないの
で、初期化処理は行なわれずにメインルーチンの実行を
終了する。
If it is determined in step 5-19 that the learned value Pst is not abnormal, it is no longer necessary to initialize the learning value Pst, so that the initialization process is not performed and the execution of the main routine ends.

もし、ステップ5−19で、学習値Pstが異常であると
判断されると、ステップ5−20で、イニシャライズフラ
グをセットして、ステップ5−21で、Pst>0かどうか
が判断される。ステップ5−21で、Pst>0の場合、即
ちPst≧Pstpの場合は、ステップ5−23で、Ps=0とお
き、ステップ5−21で、Pst≦0の場合、即ちPst≦Pstn
の場合は、ステップ5−22で、Pr=Pr+12とセットして
から、ステップ5−23で、Ps=0とおく。
If it is determined in step 5-19 that the learned value Pst is abnormal, the initialization flag is set in step 5-20, and it is determined in step 5-21 whether Pst> 0. If Pst> 0 in step 5-21, that is, Pst ≧ Pstp, Ps = 0 is set in step 5-23, and if Pst ≦ 0 in step 5-21, that is, Pst ≦ Pstn.
In this case, Pr = Pr + 12 is set in step 5-22, and then Ps = 0 is set in step 5-23.

このように、学習値Pstが正の場合は実ポジションPr
に補正を加えず、学習値Pstが負の場合は、実ポジショ
ンPrに補正を加えるのは次のとおりである。
Thus, when the learning value Pst is positive, the actual position Pr
When the learning value Pst is negative without correction, the actual position Pr is corrected as follows.

まず、Pst≧Pstpの場合は、学習値Pst+十分に大きい
ので、何も補正しなくても、バックアップメモリ76aで
記憶されている実ポジションPrが十分大きく、これによ
り全閉位置に確実に達するに十分なパルス数を供給でき
るからであり、次にPst≦Pstnの場合は、バックアップ
メモリ76a内で記憶されている実ポジションPrが実際よ
りも小さいため、下限値|Pstn|よりも大きな補正値(例
えば12)を実ポジションPrに足して補正しなければ、前
閉位置へ戻すことができない場合があるからである。
First, in the case of Pst ≧ Pstp, the learning value Pst + is sufficiently large, so the actual position Pr stored in the backup memory 76a is sufficiently large without any correction, so that the fully closed position can be reliably reached. This is because a sufficient number of pulses can be supplied. Next, in the case of Pst ≦ Pstn, the actual position Pr stored in the backup memory 76a is smaller than the actual value, and therefore the correction value (Pstn | This is because it may not be possible to return to the front closed position unless, for example, 12) is added to the actual position Pr for correction.

その後、ステップ5−24で、Pr=Ps、即ちPr=0かど
うかを判断する。最初はPr=0でないから、ステップ5
−24でNOルートをとり、ステップ5−2へ戻る。そし
て、その後ステップ5−3,5−4,5−17,5−18,5−23,5−
24の処理を繰り返す。これによりステッピングモータ18
aひいてはロッド18dが全閉位置へ移動する。そして、Pr
=0となると、ステッピングモータ18aは確実に全閉位
置になる。
Then, in step 5-24, it is determined whether Pr = Ps, that is, Pr = 0. Initially Pr = 0, so step 5
Take NO route at -24 and return to step 5-2. Then, after that, in steps 5-3,5-4,5-17,5-18,5-23,5-
The process of 24 is repeated. This enables stepping motor 18
Then, the rod 18d moves to the fully closed position. And Pr
When = 0, the stepping motor 18a surely reaches the fully closed position.

このように、バックアップメモリ76a内の実ポジショ
ン値Prが0となり、しかもステッピングモータ18aも実
ポジション0に対応する全閉位置にくるので、実際のモ
ータポジションとコンピュータ76内の実ポジションPrと
が一致する。すなわちモータポジションが初期化される
のである。
In this way, the actual position value Pr in the backup memory 76a becomes 0, and the stepping motor 18a also comes to the fully closed position corresponding to the actual position 0, so that the actual motor position and the actual position Pr in the computer 76 match. To do. That is, the motor position is initialized.

その後はステップ5−25で、イニシャライズ終了フラ
グをセットして、ステップ5−26で、Ps=60とおいて、
ステップ5−27で、Pr=PsすなわちPr=60かどうかが判
断される。最初はPr=0であるので、ステップ5−27で
は、NOルートをとり、ステップ5−2へ戻る。そしてそ
の後は、ステップ5−3,5−4,5−17,5−26,5−27の処理
を繰り返す。これによりステッピングモータ18aをひい
てはロッド18dが中間位置(全開位置はPr=120前後であ
る)へ移動する。
After that, in step 5-25, the initialization end flag is set, and in step 5-26, Ps = 60 is set,
In Step 5-27, it is judged whether Pr = Ps, that is, Pr = 60. Since Pr = 0 at the beginning, the NO route is taken in step 5-27, and the process returns to step 5-2. Then, after that, the processing of steps 5-3, 5-4,5-17, 5-26 and 5-27 is repeated. As a result, the stepping motor 18a and thus the rod 18d move to the intermediate position (the fully open position is around Pr = 120).

そして、Pr=60となると、この場合は実際のモータポ
ジションとコンピュータ76内の実ポジションPrとが一致
した状態で、ステッピングモータ18aが中間弁位置をと
らせる位置となる。
Then, when Pr = 60, in this case, the stepping motor 18a is set to the intermediate valve position with the actual motor position and the actual position Pr in the computer 76 coincident.

なお、このようにモータポジション初期化のあと、中
間位置にしておくのは次の理由による。すなわち次のエ
ンジン始動時において、冷態始動を行なうような場合、
一般にロッド18dを全開位置まで進めるが、このときロ
ッド18dを全開位置へ速やかに移行させるためである。
そしてこのように中間位置にセットしておくと、弁全開
方向のみならず弁閉方向への調整も速やかに行なえるも
のである。
The reason why the intermediate position is set after the motor position is initialized is as follows. That is, when performing a cold start at the next engine start,
Generally, the rod 18d is advanced to the fully open position, but at this time, the rod 18d is quickly moved to the fully open position.
When the intermediate position is set in this way, not only the valve fully opening direction but also the valve closing direction can be quickly adjusted.

このようにして、イグニッションスイッチ54のオンあ
るいはオフごとにモータポジションの初期化は行なわな
いで、学習値Pstが異常値を示したときだけモータポジ
ションの初期化を行なうので、不必要な初期化操作をな
くして、全体として初期化回数を減らすことができ、こ
れにより全閉ロック状態になってしまう確率を極めて小
さくすることができる。
In this way, the motor position is not initialized each time the ignition switch 54 is turned on or off, and the motor position is initialized only when the learning value Pst shows an abnormal value. Can be eliminated, and the number of initializations can be reduced as a whole, so that the probability of a fully closed lock state can be made extremely small.

なお、ステップ5−27でYESの場合は、学習値につい
てエンジン経年変化情報を累積してもっているという理
由からリセットなどしないで、処理を終了したが、ステ
ップ5−28を設けて、学習値Pstを0にリセットした
り、加重平均等を施して学習値Pstを所要の値(この値
は0とPstとの間の値が選ばれる)にしてもよい。
If YES in step 5-27, the processing is ended without resetting because the engine aging information about the learning value is accumulated, but step 5-28 is provided to set the learning value Pst. May be reset to 0, or a weighted average may be applied to set the learning value Pst to a desired value (a value between 0 and Pst is selected as this value).

ところで、ステッピングモータ18aの駆動ルーチン
は、第6図に示すごとく、1/125秒毎のタイマ割込みに
よってトリガされるが、まずステップ6−1で、PrとPs
との比較がなされ、もしPr>Psであれば、ステップ6−
2で、ステッピングモータ18aへ負側1パルス(ステッ
ピングモータ18aを負側へ1ステップだけ進ませるため
のパルス)を出力し、ステップ6−3で、Pr=Pr−1と
して、リターンする。これにより目標ポジションPsへ1
パルス分だけ近付く。
By the way, the driving routine of the stepping motor 18a is triggered by a timer interrupt every 1/125 second as shown in FIG. 6, but first, in step 6-1, Pr and Ps
If Pr> Ps, step 6-
In step 2, one pulse on the negative side (a pulse for advancing the stepping motor 18a to the negative side by one step) is output to the stepping motor 18a, and in step 6-3, Pr = Pr-1 is set and the process returns. This leads to the target position Ps 1
Get closer to the pulse.

また、ステップ6−1で、Pr≦Psの場合は、NOルート
をとって、ステップ6−4で、Pr<Psかどうか判断す
る。Pr<Psであれば、ステップ6−5で、ステッピング
モータ18aを正側1パルス(ステッピングモータ18aを正
側へ1ステップだけ進ませるためのパルス)を出力し、
ステップ6−6で、Pr=Pr+1として、リターンする。
これにより目標ポジションPsへ1パルス分だけ近付く。
If Pr ≦ Ps in step 6-1, the NO route is taken, and in step 6-4, it is determined whether Pr <Ps. If Pr <Ps, in step 6-5, the stepping motor 18a outputs one pulse on the positive side (pulse for advancing the stepping motor 18a to the positive side by one step),
In step 6-6, Pr = Pr + 1 is set and the process returns.
As a result, the target position Ps is approached by one pulse.

このような操作をタイマ割込みごとに繰り返し行なっ
て、Pr=Psとなると、ステップ6−4でNOルートをと
り、リターンする。これによりステッピングモータ18a
ひいてはロッド18dが目標ポジションとなる。
Such an operation is repeated for each timer interrupt, and when Pr = Ps, the NO route is taken in step 6-4 and the process returns. This enables the stepping motor 18a
Eventually, the rod 18d becomes the target position.

第8〜10図は本発明の第2実施例としてのエンジン制
御用ステッピングモータのモータポジション初期化装置
を示すもので、第8図はその要部ブロック図、第9図は
そのアイドルスピード制御およびモータポジション初期
化処理等を示すフローチャート、第10図はそのステッピ
ングモータ駆動ルーチンを示すフローチャートであり、
第8〜10図中、第1〜7図と同じ符号はほぼ同様の部分
を示している。
8 to 10 show a motor position initialization device for an engine control stepping motor according to a second embodiment of the present invention. FIG. 8 is a block diagram of its essential part, and FIG. 9 is its idle speed control and FIG. 10 is a flowchart showing a motor position initialization process and the like, and FIG. 10 is a flowchart showing the stepping motor drive routine.
In FIGS. 8 to 10, the same reference numerals as those in FIGS. 1 to 7 indicate almost the same parts.

この第2実施例も、前述の第1実施例と同様、V6エン
ジンシステム(第2図参照)へ適用したものであるが、
この第2実施例では、空調装置(エアコン)の作動時
(オン時)と不作動時(オフ時)とで異なった学習を行
なうようにしたもので、エアコンオフ時にはロングタイ
ム学習と呼ばれる学習が実施され、エアコンオン時には
リアルタイム学習と呼ばれる学習が実行される。
This second embodiment is also applied to the V6 engine system (see FIG. 2) as in the above-mentioned first embodiment,
In the second embodiment, different learning is performed when the air conditioner (air conditioner) is operating (on) and when it is not operating (off). When the air conditioner is off, learning called long-time learning is performed. When the air conditioner is turned on, learning called real-time learning is executed.

以下、この第2実施例においても、前述の第1実施例
と同様、このエンジン2について行なわれる種々の制御
のうち本発明と最も関連の深いアイドルスピード制御
(ISC)について説明する。
In the second embodiment, as in the first embodiment, the idle speed control (ISC), which is the most relevant to the present invention among various controls performed on the engine 2, will be described below.

まず、この第2実施例におけるアイドルスピード制御
方式は、前述の第1実施例と同様、ステッピングモータ
18aをアクチュエータとし、バイパス通路16に設けられ
たアイドルスピードコントロールバルブ18の開度を調節
してアイドル回転数を制御するバイパスエア制御方式が
採用されている。
First, the idle speed control system in the second embodiment is similar to the first embodiment described above in that the stepping motor is used.
A bypass air control method is employed in which 18a is used as an actuator and the opening speed of an idle speed control valve 18 provided in the bypass passage 16 is adjusted to control the idle speed.

そして、上記アイドルスピード制御は第8図に示すブ
ロック図で実現される。この第8図において、符号106
はモータ18aの作動に連動して現在のモータポジション
情報を書き替えこれを仮想的に実ポジションPrとして記
憶する実ポジション記憶手段、108′はエンジン2の状
態変化によって変更されるリアルタイム学習値Prstおよ
びロングタイム学習値Plstをそれぞれ記憶する学習値記
憶手段、110はこの学習値記憶手段108′からの学習値Pr
st,Plst(これらのPrst,Plstを代表してPstということ
がある)を加味して目標とするタータポジション(目標
ポジション)Ps(=Po+ΔP+Pst)を設定する目標ポ
ジション設定手段、111はバッテリ電源66が外されると
外される前とは異なった値になってその値を保持するバ
ッテリ着脱検出値記憶手段、112は実ポジション記憶手
段106からの実ポジションPrと目標ポジション設定手段1
10からの目標モータポジションPsとに基づき制御信号を
出力する制御手段、114はドライバを示している。な
お、リアルタイム学習値Prstやロングタイム学習値Plst
の意味は後述する。
The idle speed control is realized by the block diagram shown in FIG. In FIG. 8, reference numeral 106
Is an actual position storage means for rewriting the current motor position information in synchronism with the operation of the motor 18a and storing it virtually as an actual position Pr, and 108 'is a real-time learning value Prst and a real-time learning value Prst which are changed by a change in the state of the engine 2. Learning value storage means for storing the long-time learning value Plst, 110 is a learning value Pr from this learning value storage means 108 '.
Target position setting means for setting a target tartar position (target position) Ps (= Po + ΔP + Pst) in consideration of st, Plst (sometimes referred to as Pst for these Prst, Plst), 111 is a battery power source 66 When the battery is removed, the battery attachment / detachment detection value storage means 112 holds a value different from that before the removal, 112 is the actual position Pr from the actual position storage means 106 and the target position setting means 1
Control means for outputting a control signal based on the target motor position Ps from 10 and 114 are drivers. The real-time learning value Prst and the long-time learning value Plst
Will be described later.

次に動作について説明する。すなわち、第9図
(a),(b)に示すごとく、イグニッションスイッチ
54が投入されると、即ちイグニッションスイッチ54がオ
ンになると、ステップ9−1で、コンピュータ76のメモ
リをイニシャライズする。このとき実ポジションPr,ロ
ングタイム学習値Plstおよびバッテリ着脱検出値Bonを
記憶するバックアップメモリ76aの内容(このバックア
ップメモリ76aは実ポジション記憶手段106,学習値記憶
手段108′およびバッテリ着脱検出値記憶手段111の機能
をもつ)の内容はイニシャライズされない。次に、ステ
ップ9−2で、エンジン負荷,エンジン回転数,水温
等、エンジンの運転状態を入力し、ステップ9−3で、
アイドルスピード制御以外の他の制御(燃料制御や点火
時間制御等)を行なう。なお、これらの制御は他のルー
チンを実行することにより行なわれる。
Next, the operation will be described. That is, as shown in FIGS. 9A and 9B, the ignition switch
When 54 is turned on, that is, when the ignition switch 54 is turned on, the memory of the computer 76 is initialized in step 9-1. At this time, the contents of the backup memory 76a that stores the actual position Pr, the long time learning value Plst, and the battery attachment / detachment detection value Bon (this backup memory 76a is the actual position storage means 106, the learning value storage means 108 ', and the battery attachment / detachment detection value storage means). The contents of (having the function of 111) are not initialized. Next, in step 9-2, the engine operating conditions such as engine load, engine speed, and water temperature are input, and in step 9-3,
Control other than idle speed control (fuel control, ignition time control, etc.) is performed. Note that these controls are performed by executing another routine.

次に、ステップ9−4で、ステッピングモータ位置初
期化フラグ(このフラグはステッピングモータ18aのモ
ータポジションを初期化したいときに、セットされるフ
ラグである)がセットされているかどうかが判断され
る。最初はNOであるから、ステップ9−5で、バッテリ
電源が前回キースイッチを切ってから今回キースイッチ
を投入するまでの間に外された履歴があるかどうかが判
断される。この場合はバッテリ着脱検出値Bonがセット
値から外れているかどうかで判断する。
Next, at step 9-4, it is judged if the stepping motor position initialization flag (this flag is a flag that is set when the motor position of the stepping motor 18a is desired to be initialized) is set. Since it is initially NO, it is determined in step 9-5 whether or not there is a history of battery power being removed from the time when the key switch was last turned off until the time when the key switch was turned on this time. In this case, it is determined whether the battery attachment / detachment detection value Bon is out of the set value.

バッテリ電源66が外された履歴がないとすると、ステ
ップ9−6で、キースイッチオン(イグニッションスイ
ッチオン)かどうかが判断される。最初はキースイッチ
オンであるから、YESルートをとり、アイドルスピード
制御ISCが実行される。すなわち、まずステップ9−7
で、エンジン始動時かどうか判断される。エンジン始動
時の場合は、ステップ9−8で、Ps=Psta+Plstとおい
てから、ステップ9−9[第9図(b)参照]へジャン
プする。ここでPstaはエンジン始動時用の基本設定開
度、Plstはロングタイム学習値である。
If there is no history of disconnection of the battery power source 66, it is determined in step 9-6 whether the key switch is on (ignition switch on). Initially, the key switch is on, so the YES route is taken and the idle speed control ISC is executed. That is, first, step 9-7
Then, it is determined whether the engine is starting. When starting the engine, in step 9-8, after setting Ps = Psta + Plst, jump to step 9-9 [see FIG. 9 (b)]. Here, Psta is a basic set opening degree for starting the engine, and Plst is a long time learning value.

そして、ステップ9−9では、Ps<Psminかどうかが
判断される。ここで、Psminは目標ポジションPsの下限
値で、例えば5程度の値が選ばれる。もし、Ps<Psmin
の場合は、目標ポジションPsが下限値よりも小さく設定
されてしまうため、これを回避すべく、ステップ9−10
で、Ps=Psminと設定してから、ステップ9−11の処理
を行なう。なお、Ps≧Psminの場合は、そのままステッ
プ9−11の処理へ移る。ステップ9−11では、Ps>Psma
xかどうかが判断される。ここで、Psmaxは目標ポジショ
ンPsの上限値で、例えば110〜120程度の値が選ばれる。
もしPs>Psmaxの場合は、目標ポジションPsが上限値よ
りも大きく設定されてしまうため、これを回避すべく、
ステップ9−12でPs=Psmaxと設定する。このようにし
て、目標ポジションPsは下限値と上限値との間に調整さ
れる。
Then, in step 9-9, it is determined whether Ps <Psmin. Here, Psmin is a lower limit value of the target position Ps, and a value of about 5 is selected. If Ps <Psmin
In the case of, the target position Ps is set smaller than the lower limit value, so in order to avoid this, step 9-10
Then, after setting Ps = Psmin, the process of steps 9-11 is performed. If Ps ≧ Psmin, the process directly proceeds to step 9-11. In Step 9-11, Ps> Psma
x is determined. Here, Psmax is an upper limit value of the target position Ps, and a value of, for example, about 110 to 120 is selected.
If Ps> Psmax, the target position Ps will be set larger than the upper limit value, so to avoid this,
In step 9-12, Ps = Psmax is set. In this way, the target position Ps is adjusted between the lower limit value and the upper limit value.

このように目標ポジションPsが調整されたあと(ステ
ップ9−11でNOルートをとった場合やステップ9−12の
処理のあと)は、ステップ9−13でPr>Psかどうかが判
断される。実ポジションPrが目標ポジションPsよりも小
さいときは、ステップ9−14で、ステッピングモータ駆
動速度設定フラグKを2とする。ここでステッピングモ
ータ駆動速度設定フラグKは1〜4までの値をとること
ができるようになっており、K=1の場合はステッピン
グモータ18aを高速(例えば250pps)で駆動させ、K=
2の場合はステッピングモータ18aを中速(例えば125pp
s)で駆動させ、K=3の場合はステッピングモータ18a
を低速(例えば8pps)で駆動させ、K=4の場合はステ
ッピングモータ18aをテスト用速度で駆動させる。
After the target position Ps is adjusted in this way (when the NO route is taken in step 9-11 or after the processing of step 9-12), it is determined in step 9-13 whether Pr> Ps. When the actual position Pr is smaller than the target position Ps, the stepping motor drive speed setting flag K is set to 2 in step 9-14. Here, the stepping motor drive speed setting flag K can take a value from 1 to 4, and when K = 1, the stepping motor 18a is driven at a high speed (for example, 250 pps) and K =
In the case of 2, the stepping motor 18a is set to medium speed (for example, 125pp
s), stepping motor 18a when K = 3
Is driven at a low speed (for example, 8 pps), and when K = 4, the stepping motor 18a is driven at a test speed.

したがって、実ポジションPrが目標ポジションPsより
も小さい場合は、ステッピングモータ18aを中速で駆動
させて、目標ポジションPsに近付ける。
Therefore, when the actual position Pr is smaller than the target position Ps, the stepping motor 18a is driven at a medium speed to bring it closer to the target position Ps.

また、Pr>Psの場合は、ステップ9−15でPr−Ps>Δ
1かどうかが判断され、NOならば、ステップ9−16でP
r−Ps>ΔP2かづかが判断される。そして、Pr−Ps>Δ
1を満足した場合や、Pr−Ps<ΔP2を満足した場合
は、ステップ9−14で、ステッピングモータ18aが中速
で駆動される。さらに、Pr−Ps≦ΔP1を満足し、Pr−P
s≧ΔP2を満足した場合は、ステップ9−17で、K=3
とする。これによりステッピングモータ18aが低速で駆
動される。ここで、ΔP1>ΔP2である。
If Pr> Ps, Pr-Ps> Δ in step 9-15.
It is determined whether or not it is P 1, and if it is NO, then in step 9-16, P
It is determined whether r−Ps> ΔP 2 . And Pr-Ps> Δ
If P 1 is satisfied or if Pr−Ps <ΔP 2 is satisfied, the stepping motor 18a is driven at medium speed in step 9-14. Furthermore, Pr−Ps ≦ ΔP 1 is satisfied, and Pr−Ps
If s ≧ ΔP 2 is satisfied, K = 3 in step 9-17.
And As a result, the stepping motor 18a is driven at a low speed. Here, ΔP 1 > ΔP 2 .

これにより実ポジションPrが目標ポジションPsよりも
大きい場合は、その差Pr−PsがΔP1より大きい範囲で
ステッピングモータ18aが中速で駆動され、その差Pr−P
sがΔP1とΔP2との間でステッピングモータ18aが低速
で駆動され、その差Pr−PsがΔP2よりも小さい範囲で
ステッピングモータ18aが中速で駆動されるようにし
て、目標ポジションPsに近付ける。すなわちステッピン
グモータ18aは、実ポジションPrが目標ポジションPsに
近付くにつれ、最初は中速でその後低速になり、最後は
中速で駆動される。
As a result, when the actual position Pr is larger than the target position Ps, the stepping motor 18a is driven at a medium speed in the range where the difference Pr−Ps is larger than ΔP 1 , and the difference Pr−Ps.
The stepping motor 18a is driven at a low speed when s is between ΔP 1 and ΔP 2, and the stepping motor 18a is driven at a medium speed within a range where the difference Pr−Ps is smaller than ΔP 2 , so that the target position Ps is reached. Get closer to. That is, as the actual position Pr approaches the target position Ps, the stepping motor 18a is first driven at medium speed and then at low speed, and finally driven at medium speed.

このように、速度に変化をつけるのは、エンジン回転
数が急激に落ち込むのを防止するためである。
The reason why the speed is changed in this way is to prevent the engine speed from dropping sharply.

その後は、ステップ9−2[第9図(a)参照]へ戻
って、以降の処理を行なう。そして、エンジン始動後
は、ステップ9−7で、NOルートをとって、ステップ9
−18で、エアコンオンかどうかが判断される。エアコン
オフであれば、NOルートをとって、ステップ9−19で、
エアコンフラグ(このフラグは、エアコンがオンとなる
とセットされ、エアコンがオフとなるとリセットされる
フラグである)がセットかどうかが判断される。もしエ
アコンをオフした直後であれば、エアコンフラグはセッ
ト状態にあるから、ステップ9−20でエアコンフラグを
リセットし、ステップ9−21で補正ポジションの積算値
ΔPを0とし、学習値Pstをロングタイム学習値Plstを
使ってセットしたのち(ステップ9−22)、ステップ9
−23でロングタイム学習フラグ(このフラグはロングタ
イム学習を実行するときにセットされ、それ以外でリセ
ットされるフラグである)がセットされる。
After that, the process returns to step 9-2 [see FIG. 9 (a)] to perform the subsequent processing. Then, after the engine is started, the NO route is taken in step 9-7 and step 9
At -18, it is determined whether the air conditioner is on. If the air conditioner is off, take the NO route and go to step 9-19.
It is determined whether or not the air conditioner flag (this flag is set when the air conditioner is turned on and is reset when the air conditioner is turned off). If the air conditioner has just been turned off, the air conditioner flag is in the set state, so the air conditioner flag is reset in step 9-20, the integrated value ΔP of the correction position is set to 0 in step 9-21, and the learning value Pst is set to be long. After setting using the time learning value Plst (step 9-22), step 9
At -23, the long-time learning flag (this flag is set when executing long-time learning and is reset otherwise) is set.

なお、エアコンオフ直後でなければ、既にステップ9
−20でエアコンフラグはリセットされているから、ステ
ップ9−19で、NOルートをとって、ステップ9−23の処
理を実行する。
If it is not immediately after turning off the air conditioner, step 9 has already been performed.
Since the air conditioner flag is reset at -20, the NO route is taken at step 9-19 and the process at step 9-23 is executed.

ロングタイム学習フラグセット後は、ステップ9−24
でエンジン冷却水温Twに応じた基本ポジションPo=Pnac
(Tw)を設定するとともに、ステップ9−25でエンジン
冷却水温Twに応じた目標回転数Ns=Nnac(Tw)を設定す
る。
After setting the long time learning flag, step 9-24
Basic position Po = Pnac according to engine cooling water temperature Tw
(Tw) is set, and in step 9-25, the target rotation speed Ns = Nnac (Tw) is set according to the engine cooling water temperature Tw.

一方、エアコンオンであれば、ステップ9−18でYES
ルートをとって、ステップ9−26で、エアコンフラグが
セットかどうかが判断される。もしエアコンをオンした
直後であれば、エアコンフラグはリセット状態にあるか
ら、ステップ9−27でエアコンフラグをセットし、ステ
ップ9−28で補正ポジションの積算値ΔPを0とし、学
習値Pstをリアルタイム学習値Prstを使ってセットした
のち(ステップ9−29)、ステップ9−30でロングタイ
ム学習フラグがリセットされる。
On the other hand, if the air conditioner is on, YES in step 9-18.
Taking the route, it is determined in step 9-26 whether the air conditioner flag is set. If the air conditioner is just turned on, the air conditioner flag is in the reset state, so the air conditioner flag is set in step 9-27, the integrated value ΔP of the correction position is set to 0 in step 9-28, and the learning value Pst is set in real time. After setting using the learning value Prst (step 9-29), the long-time learning flag is reset in step 9-30.

なお、エアコンオン直後でなければ、既にステップ9
−27でエアコンフラグはセットされているから、ステッ
プ9−26で、YESルートをとって、ステップ9−30の処
理を実行する。
If it is not immediately after the air conditioner is turned on, step 9 has already been performed.
Since the air conditioner flag is set at -27, the YES route is taken at step 9-26 and the processing at step 9-30 is executed.

ロングタイム学習フラグリセット後は、ステップ9−
31でエンジン冷却水温Twに応じた基本ポジションPo=Pa
c(Tw)を設定するとともに、ステップ9−32でエンジ
ン冷却水温Twに応じた目標回転数Ns=Nac(Tw)を設定
する。
After resetting the long time learning flag, step 9-
At 31 the basic position Po = Pa according to the engine cooling water temperature Tw
In addition to setting c (Tw), a target speed Ns = Nac (Tw) corresponding to the engine cooling water temperature Tw is set in step 9-32.

このようにして、基本ポジションPoや目標回転数Nsを
設定したあとは、ステップ9−33[第9図(b)参照]
で、安定したアイドル運転状態かどうかが判断される。
After setting the basic position Po and the target rotational speed Ns in this way, step 9-33 [see FIG. 9 (b)]
Then, it is determined whether the engine is in a stable idle operation state.

ここで、アイドルスイッチ38がオンで、次の条件が全
て成立した場合に安定したアイドル運転状態であると判
定される。
Here, when the idle switch 38 is on and all of the following conditions are met, it is determined that the idle operation state is stable.

(1)始動時に行なわれる制御モードを離脱した後、所
要時間経過していること。
(1) The required time has elapsed after leaving the control mode performed at startup.

(2)クーラスイッチオン/オフ変化後所要時間経過し
ていること。
(2) The required time has passed after the cooler switch was turned on / off.

(3)ダッシュポット制御(スロットル弁急閉時に所要
の開度のところから徐々にスロットル弁を閉じてゆく制
御)モードを離脱した後、所要時間経過していること。
(3) The required time has elapsed after leaving the dashpot control mode (control in which the throttle valve is gradually closed from the required opening when the throttle valve is closed rapidly).

(4)NレンジとDレンジとの間の切替後所要時間経過
していること。
(4) The required time has elapsed after switching between the N range and the D range.

(5)アイドルスイッチ38オン後所要時間経過している
こと。
(5) The required time has elapsed after the idle switch 38 was turned on.

(6)停車中であること。(6) Being stopped.

(7)その他異常回転に対処する制御モード離脱後所要
時間経過していること。
(7) Others The required time has elapsed since the control mode was disengaged to cope with abnormal rotation.

そして、ステップ9−33でNOであれば、ステップ9−
34で、エンジン冷却水温Twが設定値Tsよりも大きいかど
うかが判断され、Tw≦Tsの場合は、ステップ9−35で、
補正ポジションの積算値ΔP=0として、ステップ9−
36で、Ps=Po+ΔP+Pstなる演算を行なう。ここで、P
stは上述のごとく学習値である。
If NO at step 9-33, step 9-
At 34, it is determined whether the engine cooling water temperature Tw is higher than the set value Ts. If Tw ≦ Ts, at step 9-35,
Assuming that the integrated value ΔP = 0 of the correction position, step 9-
At 36, the calculation of Ps = Po + ΔP + Pst is performed. Where P
st is a learning value as described above.

一方、安定したアイドル運転状態であれば、ステップ
9−37で、テスト信号入力有かどうかが判断される。こ
こで、テスト信号が入力されるのは、車両が停車してお
り、シフトレバーがNレンジにあり、しかも点火時期ス
ピードアジャスティングスクリュー調整用信号が所定値
範囲にあるときであるが、ここでは、テスト信号入力は
今ないとすると、ステップ9−37ではNOルートをとっ
て、ステップ9−38で、回転数フィードバックタイマ
(このタイマは1秒程度のタイマである)が0かどうか
が判断される。これは回転数フィードバック制御モード
への切替は所要時間おいてから行なうほうがよいからで
ある。
On the other hand, if the idle operation is stable, it is determined in step 9-37 whether the test signal is input. Here, the test signal is input when the vehicle is stopped, the shift lever is in the N range, and the ignition timing speed adjusting screw adjustment signal is in the predetermined value range. If there is no test signal input now, the NO route is taken in step 9-37, and it is judged in step 9-38 whether the rotation speed feedback timer (this timer is a timer of about 1 second) is 0 or not. It This is because it is better to switch to the rotation speed feedback control mode after a required time.

そして、ステップ9−38で、YESなら、ステップ9−3
9で、目標回転数Nsと実回転数Nrとの偏差ΔNを演算
し、ステップ9−40で、このΔNに応じて補正ポジショ
ンΔPnを設定する。その後はステップ9−41で、補正ポ
ジションΔP=ΔP+ΔPnとおいてから、ステップ9−
42で、回転数フィードパックタイマをセットしてから、
ステップ9−43で、エンジン冷却水温TwがTs(例えばTs
=70℃)よりも高いかどうかが判断される。
If YES in step 9-38, step 9-3
At 9, the deviation ΔN between the target rotation speed Ns and the actual rotation speed Nr is calculated, and at step 9-40, the correction position ΔPn is set according to this ΔN. After that, in step 9-41, the correction position ΔP = ΔP + ΔPn is set, and then step 9-
At 42, set the rotation speed feed pack timer, then
In step 9-43, the engine cooling water temperature Tw is set to Ts (for example, Ts
= 70 ° C).

なお、ステップ9−38で、NOでの場合は、ステップ9
−39,9−40,9−41,9−42をジャンプして、ステップ9−
43の処理を行なう。
If NO in step 9-38, step 9-38
-39, 9-40, 9-41, 9-42 jump, step 9-
Perform step 43.

そして、Tw≦Tsの場合(水温が低い場合)は、ステッ
プ9−44,9−45でそれぞれ第1学習タイマおよび第2学
習タイマ(これらのタイマは1秒程度のタイマである)
をセットしてから、ステップ9−36で、Ps=Po+ΔP+
Pstなる演算がなされ、Tw>Tsの場合は、ステップ9−4
6でPs=Psminかどうかが判断され、NOなら、ステップ9
−47で第1学習タイマをセットしてから、ステップ9−
48で、回転数フィードバック制御が安定しているか、ス
テップΔNが不感帯Nb(第7図参照)に入っているかど
うかが判断され、NOの場合は、ステップ9−45で、第2
学習タイマをセットしてから、ステップ9−36で、Ps=
Po+ΔP+Pstなる演算を行なう。
When Tw ≦ Ts (when the water temperature is low), the first learning timer and the second learning timer (these timers are timers of about 1 second) in steps 9-44 and 9-45, respectively.
After setting, in step 9-36, Ps = Po + ΔP +
If Pst is calculated and Tw> Ts, step 9-4.
In step 6, it is determined whether Ps = Psmin. If NO, step 9
-Set the first learning timer at -47, then step 9-
At 48, it is determined whether the rotation speed feedback control is stable or whether the step ΔN is within the dead zone Nb (see FIG. 7). If NO, at step 9-45, the second
After setting the learning timer, in Step 9-36, Ps =
The calculation Po + ΔP + Pst is performed.

もし、Ps=Psminの場合は、ステップ9−46でYESルー
トをとり、ステップ9−49で、第1学習タイマが0かど
うかが判断され、この第1学習タイマが0でない場合
は、ステップ9−49でNOルートをとって、ステップ9−
48の処理を行なう。また|ΔN|<Nbの場合は、ステップ
9−50で、第2学習タイマが0かどうかが判断され、こ
の第2学習タイマが0でない場合は、ステップ9−36の
処理を行なう。そして、第1学習タイマまたは第2学習
タイマが0になると、学習値を更新すべく、次のステッ
プ9−51以降の処理を施す。すなわちステップ9−43〜
9−50の処理において、学習値を更新するかどうかの判
断を行なっているのである。換言すれば、エンジン実回
転数が目標回転数±不感帯内に1秒程度滞留し、且つエ
ンジン冷却水温TwがTs以上であるか、またはPsが下限値
にあり、回転数フィードバックが1秒程度つづいた場合
は、学習値が更新されるのである。そして、学習値のな
かには、リアルタイム学習による学習値Prstとロングタ
イム学習による学習値Plstとがあるから、それぞれの学
習値Prst,Plstの更新が次のステップ9−51以降におい
て行なわれる。まずステップ9−51で、ロングタイム学
習フラグがセットされているかどうかが判断される。も
しNOであるなら、すなわちエアコンがオンで、ステップ
9−30でロングタイム学習フラグがリセットされている
なら、リアルタイム学習値Prstの更新が行なわれる。ま
ずステップ9−52で、Prst=Prst±ΔPとおき、ステッ
プ9−53で、ΔP=0とおき、その後ステップ9−54で
Pst=Prstとおくことにより、リアルタイム学習が実行
される。
If Ps = Psmin, the YES route is taken in step 9-46, and it is determined in step 9-49 whether the first learning timer is 0. If the first learning timer is not 0, step 9 -Take NO route at 49, step 9-
Perform 48 processes. When | ΔN | <Nb, it is determined in step 9-50 whether the second learning timer is 0. If this second learning timer is not 0, the processing in step 9-36 is performed. Then, when the first learning timer or the second learning timer becomes 0, the processing from the next step 9-51 is performed to update the learning value. In other words, step 9-43 ~
In the processing of 9-50, it is determined whether or not the learning value is updated. In other words, the actual engine speed stays within the target speed ± dead zone for about 1 second, and the engine cooling water temperature Tw is Ts or higher, or Ps is at the lower limit value, and the rotation speed feedback continues for about 1 second. If so, the learning value is updated. Then, among the learning values, there are the learning value Prst by the real-time learning and the learning value Plst by the long-time learning, so that the respective learning values Prst, Plst are updated in the next steps 9-51 and subsequent steps. First, at step 9-51, it is judged if the long time learning flag is set. If NO, that is, if the air conditioner is on and the long time learning flag is reset in step 9-30, the real time learning value Prst is updated. First, in step 9-52, set Prst = Prst ± ΔP, in step 9-53, set ΔP = 0, and then in step 9-54.
By setting Pst = Prst, real-time learning is executed.

また、ステップ9−51で、ロングタイム学習フラグが
セットされていると、次のステップ9−55でリアルタイ
ム学習フラグ(このフラグはロングタイム学習モード時
に特別にリアルタイム学習モードにするときにセットさ
れるフラグである)がセットされているかどうかが判断
される。一般には、NOであるから、ステップ9−56で、
Plst=Plst+(ΔP/Ko)とおいてから、ステップ9−57
でPst=Plstとおくことにより、ロングタイム学習が実
行される。ここで、Koは定数である。
If the long-time learning flag is set in step 9-51, the real-time learning flag is set in the next step 9-55 (this flag is set when the real-time learning mode is specially set in the long-time learning mode). Flag) is set. Generally, since it is NO, in steps 9-56,
Plst = Plst + (ΔP / Ko) and then step 9-57
By setting Pst = Plst, long time learning is executed. Where Ko is a constant.

なお、もしステップ9−55で、リアルタイム学習フラ
グがセットされている場合は、ステップ9−58でリアル
タイム学習フラグをリセットしてから、ステップ9−59
でPlst=Plst+ΔPとおいたのち、ステップ9−60でΔ
P=0とおいて、ステップ9−57の処理(Pst=Plstと
おく処理)を実行する。これによりロングタイム学習値
を用いたリアルタイム学習が1回だけ実行される。
If the real-time learning flag is set in step 9-55, the real-time learning flag is reset in step 9-58, and then step 9-59.
Then Plst = Plst + ΔP, then Δ in step 9-60.
When P = 0, the process of step 9-57 (the process of setting Pst = Plst) is executed. As a result, real-time learning using the long-time learning value is executed only once.

そして、ステップ9−54や9−57でPst=PrstまたはP
st=Plstとセットされたのちは、ステップ9−36で、Ps
=Po+Pst+ΔPなる演算が施される。これにより更新
された学習値が目標ポジションPsに反映される。
Then, in steps 9-54 and 9-57, Pst = Prst or P
After st = Plst is set, in step 9-36, Ps
= Po + Pst + ΔP is calculated. The updated learning value is reflected in the target position Ps.

さらに、このステップ9−36の処理のあとは、ステッ
プ9−9〜ステップ9−17を経てステップ9−2以降の
処理を繰り返す。これにより実ポジションPrが目標ポジ
ションPsとなるように制御される。その結果適宜学習値
を更新しながらアイドルスピード制御が実行される。
Further, after the processing of step 9-36, the processing of step 9-2 and subsequent steps is repeated after steps 9-9 to 9-17. As a result, the actual position Pr is controlled to become the target position Ps. As a result, the idle speed control is executed while appropriately updating the learning value.

その後、イグニッションスイッチ54を切ってオフにし
ても、遅延回路100の作用により、ORゲート102の出力が
所要時間だけハイレベルを維持しているので、スイッチ
ングトランジスタ104がオン、即ちリレー接点103bがオ
ンの状態を保持し、これによりイグニッションスイッチ
54のオフ後所要時間はコンピュータ76は作動をつづけ
る。ここで、遅延回路100で設定される遅延時間はモー
タポジション初期化に要するのに十分な時間である。な
お、モータポジション初期化は、第8図に示すように、
ステッピングモータ18aへ初期化信号を出力して上記ロ
ッド18dを初期化位置へ移動させるモータポジション初
期化手段116によって行なわれるが、このモータポジシ
ョン初期化手段116は、学習値記憶手段108′に記憶され
たロングタイム学習値Plstに基づいてステッピングモー
タ18aへ初期化信号出力時期を決定する初期化時期決定
手段をそなえて構成されている。
After that, even if the ignition switch 54 is turned off and turned off, the output of the OR gate 102 is kept at the high level for the required time by the action of the delay circuit 100, so that the switching transistor 104 is turned on, that is, the relay contact 103b is turned on. Hold the state of the ignition switch
The computer 76 continues to operate for the time required after turning off 54. Here, the delay time set by the delay circuit 100 is a time sufficient to initialize the motor position. The motor position initialization is as shown in FIG.
This is performed by motor position initialization means 116 that outputs an initialization signal to the stepping motor 18a to move the rod 18d to the initialization position. The motor position initialization means 116 is stored in the learning value storage means 108 '. Further, it comprises an initialization timing determining means for determining the timing of outputting the initialization signal to the stepping motor 18a based on the long time learning value Plst.

以下、モータポジション初期化処理について説明す
る。すなわち、上記のようにイグニッションスイッチ54
をオフにすると、初期化モードINITIALIZEが実行され
る。まずステップ9−6[第9図(a)参照]で、NOル
ートをとるから次にステップ9−61で、キーオフ後フラ
グがセットされたかどうかが判断される。最初はNOであ
るから、次にステップ9−62でキーオフ後フラグをセッ
トする。そして次のステップで、ロングタイム学習値Pl
stが異常値を示しているかどうかが判断される。
The motor position initialization process will be described below. That is, as described above, the ignition switch 54
When is turned off, the initialization mode INITIALIZE is executed. First, at step 9-6 [see FIG. 9 (a)], the NO route is taken, and then at step 9-61, it is judged if the post-key-off flag is set. Since it is initially NO, the flag after key-off is set in step 9-62. Then, in the next step, the long-time learning value Pl
It is determined whether st indicates an abnormal value.

ここで、ロングタイム学習値Plstが異常値であると判
断されるのは、ロングタイム学習値Plstが通常の学習制
御によって更新される値に比べ十分に大きい正の値Pltm
ax(このPlstlmaxとしては例えば30前後の値が選ばれ
る)よりも大きい場合と、ロングタイム学習値Plstが所
要の負の値Plstmin(このPlstminとしては例えば−10以
上の適宜の負の値が選ばれる)よりも小さい場合であ
る。即ちPlstmin<Plst<Plstmaxの場合は、ロングタイ
ム学習値Plstが異常な値であるとはみないが、Plst≧Pl
stmaxまたはPlst≦Plstminの場合は、ロングタイム学習
値Plstが異常な値であるとみなすのである。
Here, it is determined that the long-time learning value Plst is an abnormal value because the long-time learning value Plst is a positive value Pltm that is sufficiently larger than the value updated by normal learning control.
If it is larger than ax (a value around 30 is selected for this Plstlmax), and if the long-time learning value Plst is a required negative value Plstmin (for this Plstmin, an appropriate negative value of -10 or more is selected, for example). Is smaller than). That is, when Plstmin <Plst <Plstmax, the long-time learning value Plst is not considered to be an abnormal value, but Plst ≧ Pl
If stmax or Plst ≦ Plstmin, the long-time learning value Plst is regarded as an abnormal value.

一般にエンジンは、同一スロットル開度(負荷一定)
で運転する場合でも、使用するにつれて、即ち経年変化
によってエンジン回転数は低下してくるものである。す
なわち一般にはロングタイム学習値Plstは負の値をとら
ない。したがって異常であるかどうかを判断するための
ロングタイム学習値Plstの上限値Plstmaxと下限値Plstm
inとはその絶対値が異なっている。即ち|Plstmax|>|Pl
stmin|となっている。
Generally, the engine has the same throttle opening (constant load)
Even when the engine is operated at 1, the engine speed decreases as it is used, that is, due to aging. That is, in general, the long-time learning value Plst does not take a negative value. Therefore, the upper limit value Plstmax and the lower limit value Plstm of the long-time learning value Plst for determining whether or not there is an abnormality
Its absolute value is different from in. That is | Plstmax | > | Pl
stmin |

そして、ロングタイム学習値Plstが異常であるかどう
かを判断するために、まずステップ9−63で、Plst<Pl
stminかどうかが判断される。ステップ9−63で、NOの
場合、ステップ9−64で、Plst>Plstmaxかどうかが判
断される。もし、このステップ9−64でもNOの場合は、
ロングタイム学習値PlstはPlstminとPlstmaxとの間にあ
るので、異常でないと判断され、この場合は、もはや初
期化する必要はないので、初期化処理は行なわれずにメ
インルーチンの実行を終了する。
Then, in order to determine whether the long-time learning value Plst is abnormal, first in step 9-63, Plst <Pl
It is determined whether it is stmin. If NO in step 9-63, it is determined in step 9-64 whether Plst> Plstmax. If NO at step 9-64,
Since the long-time learning value Plst is between Plstmin and Plstmax, it is determined that there is no abnormality, and in this case, since it is no longer necessary to initialize, the execution of the main routine ends without performing initialization processing.

一方、ステップ9−63で、Plst<Plstminの場合はス
テップ9−65で、Pr=Pr+12とセットしてから、ステッ
プ9−66で、ステッピング位置初期化フラグをセットし
たのち、ステップ9−67でPs=0とおく。
On the other hand, if Plst <Plstmin in step 9-63, set Pr = Pr + 12 in step 9-65, set the stepping position initialization flag in step 9-66, and then set in step 9-67. Set Ps = 0.

また、Plst>Plstmaxの場合は、すぐにステップ9−6
6の処理をしたのち、ステップ9−67でPs=0とおく。
If Plst> Plstmax, immediately proceed to Step 9-6.
After performing the process of 6, Ps = 0 is set in step 9-67.

なお、ロングタイム学習値Plstが正の場合は実ポジシ
ョンPrに補正を加えず、ロングタイム学習値Plstが負の
場合は実ポジションPrに補正を加えるのは次のとおりで
ある。
Note that, when the long time learning value Plst is positive, the actual position Pr is not corrected, and when the long time learning value Plst is negative, the actual position Pr is corrected as follows.

まず、Plst≧Plstmaxの場合は、ロングタイム学習値P
lstが十分に大きいので、何も補正しなくても、バック
アップメモリ76aで記憶されている実ポジションPrが十
分大きく、これにより全閉位置に確実に達するのは十分
なパルス数を供給できるからであり、次にPlst≦Plstmi
の場合は、バックアップメモリ76a内で記憶されている
実ポジションPrが実際よりも小さいため、下限値|Plstm
in|よりも大きな補正値(例えば12)を実ポジションRr
に足して補正しなければ、全閉位置へ戻すことができな
い場合があるからである。
First, if Plst ≧ Plstmax, the long-time learning value P
Since lst is sufficiently large, the actual position Pr stored in the backup memory 76a is sufficiently large without any correction, so that the fully closed position can be reliably reached because a sufficient number of pulses can be supplied. Yes, then Plst ≤ Plstmi
In the case of, since the actual position Pr stored in the backup memory 76a is smaller than the actual position, the lower limit value | Plstm
A correction value larger than in |
This is because it may not be possible to return to the fully closed position unless the correction is made by adding to.

その後は、ステップ9−68で、K=1とおいて、ステ
ッピングモータ18aが高速駆動される状態にしてから、
ステップ9−2へ戻る。そして、その後ステップ9−2,
9−3を経て、ステップ9−4でYESルートをとる。そし
て、次のステップ9−69で、イニシャライズ終了フラグ
(このフラグはイニシャライズ処理が終了したときにセ
ットされるフラグである)がセットされているかどうか
を判断する。最初はNOであるから、ステップ9−70で、
Pr=Ps即ちPr=0(なぜならステップ9−67でPs=0と
おかれているからである)かどうかが判断される。最初
はNOであるから、ステップ9−71でK=1とおいて、ス
テップ9−2へ戻る。以降はPr=0となるまで、ステッ
プ9−2,9−3,9−4,9−69,9−70,9−71の処理を繰り返
す。これによりステッピングモータ18aひいてはロッド1
8dが全閉位置へ高速で移動する。そして、Pr=0となる
と、ステッピングモータ18aは確実に全閉位置になる。
After that, in step 9-68, K = 1 is set, and the stepping motor 18a is driven at a high speed.
Return to step 9-2. Then, after that, step 9-2,
After 9-3, take the YES route in step 9-4. Then, in the next Step 9-69, it is determined whether or not the initialization end flag (this flag is a flag which is set when the initialization processing is completed) is set. The first is NO, so in steps 9-70,
It is determined whether Pr = Ps, that is, Pr = 0 (because Ps = 0 is set in step 9-67). Since it is initially NO, K = 1 is set in step 9-71, and the process returns to step 9-2. After that, the processes of steps 9-2, 9-3, 9-4, 9-69, 9-70, and 9-71 are repeated until Pr = 0. As a result, the stepping motor 18a and thus the rod 1
8d moves to the fully closed position at high speed. Then, when Pr = 0, the stepping motor 18a surely reaches the fully closed position.

このように、バックアップメモリ76a内の実ポジショ
ン値Prが0となり、しかもステッピングモータ18aも実
ポジション0に対応する全閉位置にくるので、実際のモ
ータポジションとコンピュータ76内の実ポジションPrと
が一致する。すなわちモータポジションが初期化される
のである。
In this way, the actual position value Pr in the backup memory 76a becomes 0, and the stepping motor 18a also comes to the fully closed position corresponding to the actual position 0, so that the actual motor position and the actual position Pr in the computer 76 match. To do. That is, the motor position is initialized.

その後はステップ9−72で、イニシャライズ終了フラ
グをセットして、ステップ9−73でPs=10とおいてか
ら、ステップ9−74でK=3とおいたのち、ステップ9
−2へ戻る。その後ステップ9−3,9−4を経て、ステ
ップ9−69でYESルートをとってステップ9−75でPr=P
sかどうか、即ちPr=10(なぜならステップ9−73でPs
=10とおかれているからである)かどうかが判断され
る。この最初はNOであるからステップ9−73,9−74,9−
2,9−3,9−4,9−69,9−75を経てステップ9−73へ戻る
処理をPr=10となるまで繰り返す。これによりステッピ
ングモータ18aひいてはロッド18dが開方向へ低速で10ス
テップ分だけ移動する。
Thereafter, in step 9-72, the initialization end flag is set, Ps = 10 is set in step 9-73, K = 3 is set in step 9-74, and then step 9
Return to -2. After that, through steps 9-3 and 9-4, take the YES route at step 9-69, and set Pr = P at step 9-75.
s, that is, Pr = 10 (because Ps in step 9-73)
= 10)) is determined. Since this is initially NO, steps 9-73, 9-74, 9-
The process of returning to step 9-73 through 2,9-3, 9-4, 9-69, 9-75 is repeated until Pr = 10. This causes the stepping motor 18a and thus the rod 18d to move in the opening direction at low speed by 10 steps.

そして、10ステップ分すすんでPr=10となると、ステ
ップ9−76で、Ps=60とおいて、ステップ9−77で、Pr
=PsすなわちPr=60(なぜならステップ9−76でPs=60
とおかれているからである)かどうかが判断される。最
初はPr=10であるので、ステップ9−77では、NOルート
をとり、ステップ9−78でK=2とおいてから、ステッ
プ9−2へ戻る。そしてその後は、ステップ9−3,9−
4,9−69,9−75,9−76,9−77の処理を繰り返す。これに
よりステッピングモータ18aひいてはロッド18dが中間開
位置(全開位置はPr=120前後である)へ向け中速で移
動する。
Then, when Pr = 10 after 10 steps, Ps = 60 is set in Step 9-76 and Pr is set in Step 9-77.
= Ps or Pr = 60 (because Ps = 60 in step 9-76)
Because it is said)) is determined. Since Pr = 10 at first, the NO route is taken in step 9-77, K = 2 is set in step 9-78, and then the process returns to step 9-2. And after that, steps 9-3, 9-
The processing of 4,9-69, 9-75, 9-76, 9-77 is repeated. As a result, the stepping motor 18a and thus the rod 18d move at an intermediate speed toward the intermediate open position (the fully open position is around Pr = 120).

そして、Pr=60となると、ステップ9−77でYESルー
トをとって、ステップ9−78でステッピングモータ位置
初期化フラグがリセットされるが、この場合は実際のモ
ータポジションとコンピュータ76内の実ポジションPrと
が一致した状態で、ステッピングモータ18aが中間弁位
置をとらせる位置となる。
When Pr = 60, the YES route is taken in step 9-77, and the stepping motor position initialization flag is reset in step 9-78. In this case, the actual motor position and the actual position in the computer 76 are reset. The stepping motor 18a is in a position to take the intermediate valve position in a state where it matches Pr.

なお、このようにモータポジション初期化のあと、中
間位置にしておくのは、次のエンジン始動時において、
冷態始動を行なうような場合、一般にロッド18dを全開
位置まで進めるが、このときロッド18dを全開位置へ速
やかに移行させるためである。そしてこのように中間位
置にセットしておくと、弁全開方向のみならず弁閉方向
への調整も速やかに行なえるものである。
In addition, it is necessary to set the intermediate position after initializing the motor position in this way at the next engine start.
When performing cold start, generally, the rod 18d is advanced to the fully open position, but at this time, the rod 18d is rapidly moved to the fully open position. When the intermediate position is set in this way, not only the valve fully opening direction but also the valve closing direction can be quickly adjusted.

このようにして、イグニッションスイッチ54のオンあ
るいはオフごとにモータポジションの初期化は行なわな
いで、ロングタイム学習値Plstが異常値を示したときだ
けモータポジションの初期化を行なうので、不必要な初
期化操作をなくして、全体として初期化回数を減らすこ
とができ、これにより全閉ロック状態になってしまう確
率を極めて小さくすることができる。
In this way, the motor position is not initialized each time the ignition switch 54 is turned on or off, and the motor position is initialized only when the long-time learning value Plst shows an abnormal value. It is possible to reduce the number of times of initialization as a whole by eliminating the activating operation, and thereby to extremely reduce the probability of becoming the fully closed lock state.

なお、ステッピングモータ18aひいてはロッド18dの全
閉位置を経て中間位置へ至るまでの動きは次のとおりで
ある。まず高速で全閉位置まで駆動され、ついで10ステ
ップ分は低速で駆動され、最後に中速で中間位置まで駆
動されるのである。
The movement of the stepping motor 18a and then the rod 18d from the fully closed position to the intermediate position is as follows. First, it is driven at high speed to the fully closed position, then at low speed for 10 steps, and finally at medium speed to the intermediate position.

また、ステップ9−77でYESの場合は、ロングタイム
学習値についてはエンジン経年変化情報を累積してもっ
ているという理由からリセットをしなかったが、ロング
タイム学習値Plstを0にリセットしたり、加重平均等を
施してロングタイム学習値Plstを所要の値(この値は0
と現在のPlstとの間の値が選ばれる)にしてもよい。
If YES in step 9-77, the long-time learning value is not reset because the engine aging information is accumulated, but the long-time learning value Plst is reset to 0, Apply the weighted average to set the long-time learning value Plst to the required value (this value is 0
Value between the current Plst and the current Plst).

ところで、前回キースイッチを切ったのち、今回キー
スイッチを入れるまでの間に、バッテリ電源66が外され
たという履歴がある場合は、バッテリ着脱検出値Bonが
セット値と大きくくいちがうことから、この場合はステ
ップ9−5でYESルートをとって、ステップ9−80でバ
ッテリ着脱検出値Bonをセット値にセットし、ステップ
9−81でステッピングモータ位置初期化フラグをセット
し、ステップ9−82でリアルタイム学習フラグをセット
してから、ステップ9−83でPr=150とセットし、ステ
ップ9−84でPs=0とセットし、ステップ9−85でK=
1とおいてから、ステップ9−2の処理へ戻る。
By the way, if there is a history that the battery power supply 66 has been removed before turning on the key switch this time after turning off the key switch last time, this is because the battery attachment / detachment detection value Bon greatly differs from the set value. If YES in step 9-5, the battery attachment / detachment detection value Bon is set to the set value in step 9-80, the stepping motor position initialization flag is set in step 9-81, and in step 9-82. After setting the real-time learning flag, set Pr = 150 in step 9-83, set Ps = 0 in step 9-84, and set K = in step 9-85.
After setting 1, the process returns to step 9-2.

その後はステップ9−2,9−3を経て、ステップ9−
4でYESルートをとり、更にステップ9−69でNOルート
をとって、ステップ9−70でPr=Ps即ちPr=0(なぜな
らステップ9−84でPs=0とおかれているからである)
かどうか判断される。最初はPr=150であるからNOルー
トをとり、ステップ9−71を経てステップ9−2へ戻
る。そして、更にステップ9−3,9−4,9−69,9−70,9−
71,9−2の処理を繰り返すことにより、Prを1ずつカウ
ントダウンしてゆく。そして、Pr=0となると、モータ
ポジションが初期化される。
After that, through steps 9-2 and 9-3, step 9-
The YES route is taken in step 4, the NO route is taken in step 9-69, and Pr = Ps, that is, Pr = 0 in step 9-70 (because Ps = 0 is set in step 9-84).
It is judged whether or not. At first, since Pr = 150, the NO route is taken, and the process returns to step 9-2 through step 9-71. And, further steps 9-3, 9-4, 9-69, 9-70, 9-
By repeating the processing of 71, 9-2, Pr is counted down by one. Then, when Pr = 0, the motor position is initialized.

このようにキースイッチオフからオンの間にバッテリ
電源96が外された履歴があると、モータポジションの初
期化を行なうのは、バックアップメモリ76aにストアさ
れていたデータがもとの値と変わってしまい、その後の
アイドルスピード制御の信頼性を欠くからであり、モー
タポジションの初期化を行なうことにより、その欠点を
解消しているのである。
In this way, if there is a history that the battery power supply 96 has been removed during the key switch from OFF to ON, the motor position is initialized when the data stored in the backup memory 76a is changed from the original value. This is because the reliability of the idle speed control after that is lacking, and the drawback is solved by initializing the motor position.

また、バッテリ電源66が外された履歴がある場合に、
ステップ9−82でリアルタイム学習フラグをセットする
ことが行なわれるので、その後に学習値が1回だけリア
ルタイム学習で補正される[第9図(b)のステップ9
−59,9−60参照]。
Also, if there is a history of the battery power 66 being removed,
Since the real-time learning flag is set in step 9-82, the learning value is then corrected only once by real-time learning [step 9 in FIG. 9 (b)].
-59, 9-60].

なお、上記のようにバッテリ電源66の着脱履歴がある
場合には、ステップ9−80〜9−85のいずれかのステッ
プの前後において、Plst=0とする処理を行ってなって
もよい。これはバッテリ電源66が外れたことにより、ロ
ングタイム学習値Plstも異常な値が入っているおそれが
あるから、これを速やかに解消するためである。なお、
このPlst=0とする処理がない場合でも、Plstが異常な
値を示していると、ステップ9−63〜9−65で、その後
のキースイッチオフ時に自動的に初期化処理が実行され
るから問題はない。
When there is a history of attachment / detachment of the battery power source 66 as described above, the process of setting Plst = 0 may be performed before or after any of the steps 9-80 to 9-85. This is because the long-time learning value Plst may have an abnormal value due to the disconnection of the battery power source 66, and this is promptly resolved. In addition,
Even if there is no process for setting Plst = 0, if Plst indicates an abnormal value, the initialization process is automatically executed at the subsequent key switch off in steps 9-63 to 9-65. No problem.

そして、上記のようにして、初期化されたあとは、ス
テッピングモータ18aひいてはロッド18dを中間位置(Pr
=60)のところまで駆動しておく。その動作は、前述の
初期化処理での説明のとおりである。
After the initialization as described above, the stepping motor 18a and then the rod 18d are moved to the intermediate position (Pr
= 60). The operation is as described in the above initialization processing.

なお、テスト信号入力が有った場合は、ステップ9−
37[第9図(b)参照]でYESルートをとり、ステップ
9−86で、テスト開度Pstestを設定し、Ps=Pstestとお
いてから、ステップ9−87でリアルタイム学習フラグを
セットしたのち、ステップ9−88でK=4とおいて、ス
テップ9−2へ戻る。
If there is a test signal input, step 9-
Take the YES route at 37 [see FIG. 9 (b)], set the test opening Pstest at step 9-86, set Ps = Pstest, and set the real-time learning flag at step 9-87. In step 9-88, K = 4 is set, and the process returns to step 9-2.

ここで、テスト開度Pstestはテストの種類(テストと
しては例えば2つのテスト用目標ポジション間を周期的
に往復動させるテストや全閉側へ駆動させるテスト等が
ある)によって適宜設定され、またK=4とおかれるこ
とにより設定されるテスト速度も上記テストの種類によ
って適宜設定される。
Here, the test opening Pstest is appropriately set according to the type of test (for example, there are tests for periodically reciprocating between two test target positions and tests for driving to the fully closed side), and K The test speed set by setting = 4 is also appropriately set according to the type of the above test.

そして、このテスト処理時においても、ステップ9−
87でリアルタイム学習フラグをセットすることが行なわ
れるので、その後に学習値が1回だけリアルタイム学習
で補正される(ステップ9−59,9−60参照)。
Then, even during this test process, step 9-
Since the real-time learning flag is set in 87, the learning value is corrected only once by real-time learning (see steps 9-59 and 9-60).

このように、バッテリ電源66が外された履歴がある場
合やテスト処理後に、1回だけリアルタイム学習で学習
値を補正するのは、学習値を正しい値に初期化する趣旨
である。
As described above, when there is a history that the battery power source 66 has been removed or after the test process, the learning value is corrected only once by the real-time learning in order to initialize the learning value to a correct value.

なお、回転数フィードバックタイマ,第1学習タイ
マ,第2学習タイマはセットされると、そのとき例えば
1秒をセットし、その後所要時間間隔のタイマ割込み毎
に、所定値(例えば1)をカウンドダウンしてゆくよう
になっている。
When the rotation speed feedback timer, the first learning timer, and the second learning timer are set, for example, 1 second is set at that time, and then a predetermined value (for example, 1) is counted down for each timer interrupt at the required time interval. It is designed to go on.

ところで、ステッピングモータ18aの駆動ルーチン
は、第10図に示すごとく、1/250秒毎,1/125秒毎,1/8秒
毎等のタイマ割込みによってトリガされるが、まず1/25
0秒毎のタイマ割込みによって高速タイマ割込みルーチ
ンがスタートし、1/125秒毎のタイマ割込みによって中
速タイマ割込みルーチンがスタートし、1/8秒毎のタイ
マ割込みによって低速タイマ割込みルーチンがスタート
し、予め設定された種々の時間毎のタイマ割込みによっ
てテスト用割込みルーチンがスタートする。1/250秒毎
のタイマ割込みがあると、ステップ10−1でK=1かど
うかが判断され、K=1であるなら、ステッピングモー
タ18aを高速駆動すべくYESルートをとり、K=1でない
から、リターンする。また1/125秒毎のタイマ割込みが
あると、ステップ10−2でK=2かどうかが判断され、
K=2であるなら、ステッピングモータ18aを中速駆動
すべくYESルートをとり、K=2でないなら、リターン
する。
By the way, the driving routine of the stepping motor 18a is triggered by timer interrupts such as every 1/250 second, every 1/125 second, every 1/8 second as shown in FIG.
A high-speed timer interrupt routine starts with a timer interrupt every 0 seconds, a medium-speed timer interrupt routine starts with a timer interrupt every 1/125 seconds, and a low-speed timer interrupt routine starts with a timer interrupt every 1/8 seconds. A test interrupt routine is started by preset timer interrupts at various times. If there is a timer interrupt every 1/250 second, it is determined in step 10-1 whether K = 1. If K = 1, a YES route is taken to drive the stepping motor 18a at high speed, and K = 1 is not satisfied. To return. If there is a timer interrupt every 1/125 second, it is determined in step 10-2 whether K = 2,
If K = 2, the YES route is taken to drive the stepping motor 18a at a medium speed, and if K = 2 is not satisfied, the process returns.

さらに、1/8秒毎のタイマ割込みがあると、ステップ1
0−3でK=3かどうかが判断され、K=3であるな
ら、ステッピングモータ18aを低速駆動すべくYESルート
をとり、K=3でないなら、リターンする。そして、テ
スト用として設定された時間毎のタイマ割込みがある
と、ステップ10−4でK=4かどうかが判断され、K=
4であるなら、ステッピングモータ18aをテスト用速度
で駆動すべくYESルートをとり、K=4でないなら、リ
ターンする。
Furthermore, if there is a timer interrupt every 1/8 second, step 1
In 0-3, it is determined whether or not K = 3. If K = 3, the YES route is taken to drive the stepping motor 18a at a low speed, and if K = 3 is not satisfied, the process returns. Then, if there is a timer interrupt for each time set for the test, it is determined in step 10-4 whether K = 4, and K =
If 4, the YES route is taken to drive the stepping motor 18a at the test speed, and if K = 4, the process returns.

ステップ10−1,10−2,10−3,10−4でYESルートをと
ると、次はステップ10−5で、PrとPsとの比較がなさ
れ、もしPr>Psであれば、ステップ10−6で、ステッピ
ングモータ18aへ負側1パルス(ステッピングモータ18a
を負側へ1ステップだけ進ませるためのパルス)を出力
し、ステップ10−7で、Pr=Pr−1として、リターンす
る。これにより目標ポジションPsへ1パルス分だけ近付
く。
If the YES route is taken in steps 10-1, 10-2, 10-3, and 10-4, then in step 10-5, Pr and Ps are compared. If Pr> Ps, step 10 At -6, one pulse on the negative side to the stepping motor 18a (stepping motor 18a
Pulse for advancing one step to the negative side) is output, and in step 10-7, Pr = Pr-1 is set and the process returns. As a result, the target position Ps is approached by one pulse.

ま、ステップ10−5で、Pr≦Psの場合は、NOルートを
とって、ステップ10−8で、Pr<Psかどうかを判断す
る。Pr<Psであれば、ステップ10−9で、ステッピング
モータ18aへ正側1パルス(ステッピングモータ18aを正
側へ1ステップだけ進ませるためのパルス)を出力し、
ステップ10−10で、Pr=Pr+1として、リターンする。
これにより目標ポジションPsへ1パルス分だけ近付く。
In step 10-5, if Pr≤Ps, the NO route is taken, and in step 10-8, it is determined whether Pr <Ps. If Pr <Ps, in step 10-9, one pulse on the positive side (pulse for advancing the stepping motor 18a to the positive side by one step) is output to the stepping motor 18a,
In step 10-10, Pr = Pr + 1 is set and the process returns.
As a result, the target position Ps is approached by one pulse.

このような操作をタイマ割込みごとに繰り返し行なっ
て、Pr=Psとなると、ステップ10−8でNOルートをと
り、リターンする。これによりステッピングモータ18a
ひいてはロッド18dが目標ポジションとなる。
This operation is repeated for each timer interrupt, and when Pr = Ps, the NO route is taken in step 10-8 and the process returns. This enables the stepping motor 18a
Eventually, the rod 18d becomes the target position.

このとき、K=1のフラグが立っているときは、タイ
マ割込み1/250秒毎にステッピングモータ18aが駆動され
るため、ステッピングモータ18aは高速で目標ポジショ
ンに近付き、K=2のフラグが立っているときは、タイ
マ割込み1/125秒毎にステッピングモータ18aが駆動され
るため、ステッピングモータ18aは中速で目標ポジショ
ンに近付き、K=3のフラグが立っているときは、タイ
マ割込み1/8秒毎にステッピングモータ18aが駆動される
ため、ステッピングモータ18aは低速で目標ポジション
に近付き、K=4のフラグが立っているときは、テスト
用に設定された時間毎にステッピングモータ18aが駆動
されるため、ステッピングモータ18aはテスト用速度で
テスト用目標ポジションに近付くのである。
At this time, when the flag of K = 1 is set, the stepping motor 18a is driven every 1/250 seconds of the timer interruption. Therefore, the stepping motor 18a approaches the target position at high speed, and the flag of K = 2 is set. The timer interrupt 1/125 seconds drives the stepping motor 18a every 1 second, so the stepping motor 18a approaches the target position at medium speed, and when the flag K = 3 is set, the timer interrupt 1 / Since the stepping motor 18a is driven every 8 seconds, the stepping motor 18a approaches the target position at a low speed, and when the flag of K = 4 is set, the stepping motor 18a is driven at the time set for the test. Therefore, the stepping motor 18a approaches the test target position at the test speed.

なお、モータポジションの初期化については、アイド
ルスピード制御用のステッピングモータ18aを例に説明
したが、その他EGR弁の駆動制御用や過給圧(又は排気
圧)バイパス制御用のステッピングモータにも同様にし
て適用することができる。
Note that the initialization of the motor position has been described using the stepping motor 18a for idle speed control as an example, but the same applies to other stepping motors for EGR valve drive control and boost pressure (or exhaust pressure) bypass control. Can be applied.

〔発明の効果〕〔The invention's effect〕

以上詳述したように、本発明のエンジン制御用ステッ
ピングモータのモータポジション初期化装置によれば、
現在のモータポジションを仮想的に記憶するモータポジ
ション記憶手段と、エンジンの状態変化によって変更さ
れる学習値と記憶する学習値記憶手段と、同学習値記憶
手段からの学習値を加味して目標とするモータポジショ
ンを設定する目標ポジション設定手段と、上記のモータ
ポジション記憶手段からのモータポジションと目標ポジ
ション設定手段からの目標とするモータポジションとに
基づき制御信号を出力する制御手段と、同制御手段から
の制御信号を受けて作動するステッピングモータと、同
ステッピングモータによって駆動されるエンジン制御用
被駆動部材とをそなえるとともに、上記ステッピングモ
ータへ初期化信号を出力して上記被駆動部材を初期化位
置へ移動させるモータポジション初期化手段をそなえ、
同モータポジション初期化手段が、上記学習値記憶手段
に記憶された学習値が異常値に達したことを受けて上記
初期化信号の出力を指令する初期化時期決定手段をそな
えて構成されているので、従来のようにイグニッション
スイッチ(キースイッチ)のオンあるいはオフごとにモ
ータポジションの初期化はしないで、エンジン制御に使
用される学習値が異常値を示したときだけモータポジシ
ョンの初期化を行なうので、不必要な初期化操作をなく
すことができ、これにより全体として初期化回数を減ら
すことができるのであって、その結果全閉ロック状態に
なってしまう確率を極めて小さくできる利点がある。
As described in detail above, according to the motor position initialization device for the engine control stepping motor of the present invention,
A motor position storage means for virtually storing the current motor position, a learning value storage means for storing a learning value changed by a change in the state of the engine, and a target considering the learning value from the learning value storage means. Target position setting means for setting a motor position to be set, control means for outputting a control signal based on the motor position from the motor position storage means and the target motor position from the target position setting means, and the control means And a driven member for engine control that is driven by the stepping motor, and outputs an initialization signal to the stepping motor to move the driven member to the initialization position. It has a motor position initialization means to move,
The motor position initialization means includes an initialization timing determination means for instructing the output of the initialization signal when the learning value stored in the learning value storage means reaches an abnormal value. Therefore, unlike the conventional case, the motor position is not initialized each time the ignition switch (key switch) is turned on or off, but the motor position is initialized only when the learning value used for engine control shows an abnormal value. Therefore, it is possible to eliminate unnecessary initialization operations, which can reduce the number of initializations as a whole, and as a result, there is an advantage that the probability of a fully closed lock state can be made extremely small.

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

第1〜7図は本発明の第1実施例としてのエンジン制御
用ステッピングモータのモータポジション初期化装置を
そなえた自動車用エンジン制御システムを示すもので、
第1図はそのブロック図、第2図はその全体構成図、第
3図はそのブロック図、第4図はその点火系の一部を示
す模式図、第5図はそのアイドルスピード制御およびモ
ータポジション初期化処理を示すフローチャート、第6
図はそのステッピングモータ駆動ルーチンを示すフロー
チャート、第7図はそのアイドルスピード制御時の作用
を説明するためのグラフであり、第8〜10図は本発明の
第2実施例としてのエンジン制御用ステッピングモータ
のモータポジション初期化装置を示すもので、第8図は
その要部ブロック図、第9図はそのアイドルスピード制
御およびモータポジション初期化処理等を示すフローチ
ャート、第10図はそのステッピングモータ駆動ルーチン
を示すフローチャートである。 2……V型6気筒エンジン、4……吸気マニホルド、6
……電磁式燃料噴射弁(フュエルインジェクタ)、8…
…サージタンク、10……吸気通路、11……キャニスタ、
12……エアクリーナ、14……スロットルバルブ、16……
バイパス通路、18……アイドルスピードコントロールバ
ルブ(ISCバルブ)、18a……ステッピングモータ、18b
……弁体、18c……リターンスプリング、18d……ロッ
ド、20……ファストアイドルエアバルブ(FIAバル
ブ)、22……燃料ポンプ、24……燃圧レギュレータ、26
……制御通路、27……ポジティブクランクケースベンチ
レーションバルブ、28……サーモバルブ、30……燃料供
給路、32……エアフローセンサ、34……吸気温センサ、
36……スロットルポジションセンサ、38……アイドルス
イッチ、40……水温センサ、42……クランク角センサ、
44……上死点センサ(TDCセンサ)、46……O2センサ、4
8……インヒビタスイッチ、50……クーラスイッチ、52
……クランキングスイッチ、54……イグニッションスイ
ッチ、55……イグニッションキー着脱センサ、56……高
温スイッチ、58……パワステアリングスイッチ(パワス
テスイッチ)、60……車速リードスイッチ、62……診断
スイッチ、64……大気圧センサ、66……バッテリ電源、
68……ディストリビュータ、70……排気通路、72……点
火コイル、74……触媒コンバータ、76……コンピュータ
(ECU)、76a……バックアップメモリ、78……点火時期
制御部、80……燃料ポンプ制御部、82……クーラリレ
ー、84……自己診断表示部、89……クランキング手段を
構成するスタータ、92……ドア状態センサとしてのドア
センサ、94……ドア状態センサとしてのロック状態セン
サ、96……シートスイッチ、98……燃料タンク、100…
…遅延回路、102……ORゲート、103……リレースイッ
チ、103a……リレーコイル、103b……リレー接点、104
……スイッチングトランジスタ、105……抵抗、106……
実ポジション記憶手段(モータポジション記憶手段)、
108,108′……学習値記憶手段、110……目標ポジション
設定手段、111……バッテリ着脱検出値記憶手段、112…
…制御手段、114……ドライバ、116……モータポジショ
ン初期化手段。
1 to 7 show an automobile engine control system having a motor position initialization device for an engine control stepping motor according to a first embodiment of the present invention.
FIG. 1 is its block diagram, FIG. 2 is its overall configuration diagram, FIG. 3 is its block diagram, FIG. 4 is a schematic diagram showing a part of its ignition system, and FIG. 5 is its idle speed control and motor. Flowchart showing position initialization processing, sixth
FIG. 7 is a flow chart showing the stepping motor drive routine, FIG. 7 is a graph for explaining the operation at the time of idle speed control, and FIGS. 8 to 10 are engine control stepping as a second embodiment of the present invention. FIG. 8 shows a motor position initialization device for a motor. FIG. 8 is a block diagram of its main part, FIG. 9 is a flowchart showing its idle speed control and motor position initialization processing, and FIG. 10 is its stepping motor drive routine. It is a flowchart showing. 2 ... V-6 engine, 4 ... intake manifold, 6
...... Electromagnetic fuel injection valve (fuel injector), 8 ...
… Surge tank, 10… intake passage, 11… canister,
12 …… Air cleaner, 14 …… Throttle valve, 16 ……
Bypass passage, 18 …… idle speed control valve (ISC valve), 18a …… stepping motor, 18b
...... Valve, 18c ...... Return spring, 18d ...... Rod, 20 ...... Fast idle air valve (FIA valve), 22 ...... Fuel pump, 24 ...... Fuel pressure regulator, 26
...... Control passage, 27 ...... Positive crankcase ventilation valve, 28 ...... Thermo valve, 30 ...... Fuel supply passage, 32 ...... Air flow sensor, 34 ...... Intake air temperature sensor,
36 …… Throttle position sensor, 38 …… Idle switch, 40 …… Water temperature sensor, 42 …… Crank angle sensor,
44 …… Top dead center sensor (TDC sensor), 46 …… O 2 sensor, 4
8 …… Inhibitor switch, 50 …… Cooler switch, 52
…… Cranking switch, 54 …… Ignition switch, 55 …… Ignition key attachment / detachment sensor, 56 …… High temperature switch, 58 …… Power steering switch (power steering switch), 60 …… Vehicle speed reed switch, 62 …… Diagnostic switch, 64 …… Atmospheric pressure sensor, 66 …… Battery power supply,
68: Distributor, 70 ... Exhaust passage, 72 ... Ignition coil, 74 ... Catalytic converter, 76 ... Computer (ECU), 76a ... Backup memory, 78 ... Ignition timing control unit, 80 ... Fuel pump Control unit, 82 ...... Cooler relay, 84 ...... Self-diagnosis display unit, 89 ...... Starter that constitutes cranking means, 92 ...... Door sensor as door state sensor, 94 ...... Lock state sensor as door state sensor, 96 …… Seat switch, 98 …… Fuel tank, 100…
... delay circuit, 102 ... OR gate, 103 ... relay switch, 103a ... relay coil, 103b ... relay contact, 104
...... Switching transistor, 105 ...... Resistor, 106 ......
Actual position storage means (motor position storage means),
108, 108 '... Learning value storage means, 110 ... Target position setting means, 111 ... Battery attachment / detachment detection value storage means, 112 ...
... control means 114 ... driver, 116 ... motor position initialization means.

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】現在のモータポジションを仮想的に記憶す
るモータポジション記憶手段と、エンジンの状態変化に
よって変更される学習値を記憶する学習値記憶手段と、
同学習値記憶手段からの学習値を加味して目標とするモ
ータポジションを設定する目標ポジション設定手段と、
上記のモータポジション記憶手段からのモータポジショ
ンと目標ポジション設定手段からの目標とするモータポ
ジションとに基づき制御信号を出力する制御手段と、同
制御手段からの制御信号を受けて作動するステッピング
モータと、同ステッピングモータによって駆動されるエ
ンジン制御用被駆動部材とをそなえるとともに、上記ス
テッピングモータへ初期化信号を出力して上記被駆動部
材を初期化位置へ移動させるモータポジション初期化手
段をそなえ、同モータポジション初期化手段が、上記学
習値記憶手段に記憶された学習値が異常値に達したこと
を受けて上記初期化信号の出力を指令する初期化時期決
定手段をそなえて構成されたことを特徴とする、エンジ
ン制御用ステッピングモータのモータポジション初期化
装置。
1. A motor position storage means for virtually storing a current motor position, and a learning value storage means for storing a learning value changed by a change in a state of an engine.
Target position setting means for setting a target motor position in consideration of the learned value from the learned value storage means,
A control unit that outputs a control signal based on the motor position from the motor position storage unit and a target motor position from the target position setting unit; and a stepping motor that operates by receiving a control signal from the control unit. The engine control driven member driven by the stepping motor is provided, and a motor position initialization means for outputting an initialization signal to the stepping motor to move the driven member to the initialization position is provided. The position initialization means comprises an initialization timing determination means for instructing the output of the initialization signal in response to the learning value stored in the learning value storage means reaching an abnormal value. A motor position initialization device for an engine control stepping motor.
JP61194300A 1986-07-21 1986-08-20 Motor position initialization device for stepping motor for engine control Expired - Fee Related JP2503433B2 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP17100886 1986-07-21
JP61-171008 1986-07-21

Publications (2)

Publication Number Publication Date
JPS63167058A JPS63167058A (en) 1988-07-11
JP2503433B2 true JP2503433B2 (en) 1996-06-05

Family

ID=15915387

Family Applications (1)

Application Number Title Priority Date Filing Date
JP61194300A Expired - Fee Related JP2503433B2 (en) 1986-07-21 1986-08-20 Motor position initialization device for stepping motor for engine control

Country Status (1)

Country Link
JP (1) JP2503433B2 (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2526533Y2 (en) * 1990-08-09 1997-02-19 本田技研工業株式会社 Vehicle engine output control device
JP2523840Y2 (en) * 1990-03-27 1997-01-29 本田技研工業株式会社 Throttle valve opening control device for internal combustion engine using pulse motor
US7679360B2 (en) * 2005-03-14 2010-03-16 Continental Automotive Systems Us, Inc. Method for initializing increment position sensor
JP4633085B2 (en) * 2007-05-09 2011-02-16 三菱電機株式会社 Engine control device
JP6247151B2 (en) * 2014-05-19 2017-12-13 愛三工業株式会社 Evaporative fuel processing equipment
CN113757436B (en) * 2017-12-26 2024-04-30 株式会社不二工机 Electric valve control device and electric valve device provided with same
JP2022142611A (en) * 2021-03-16 2022-09-30 ダイハツ工業株式会社 Control device of internal combustion engine and initial learning method of throttle valve opening

Also Published As

Publication number Publication date
JPS63167058A (en) 1988-07-11

Similar Documents

Publication Publication Date Title
US20060157023A1 (en) Starting system for internal combustion engine
JP2503433B2 (en) Motor position initialization device for stepping motor for engine control
JPS63619B2 (en)
JPS6328221B2 (en)
JP2006200385A (en) Starter of internal combustion engine
US4773378A (en) Fuel supply control method for internal combustion engines after starting in hot state
JP3251782B2 (en) Control device for internal combustion engine
US6640763B2 (en) Apparatus for controlling starting of internal combustion engine
EP2184470A2 (en) Controller of vehicle internal combustion engine
US20190113015A1 (en) Controller and control method for internal combustion engine
JP4271618B2 (en) Throttle valve control device
US4421076A (en) Starting auxiliary device for internal combustion engine
JPS593135A (en) Control of idle revolution number of internal- combustion engine
US7120534B2 (en) Idle regulating valve control system for engine
JPS623139A (en) Throttle opening controller for starting
JPS639092B2 (en)
JPS59131743A (en) Method of controlling idling speed of internal- combustion engine for vehicle
JP2507984B2 (en) Engine idle speed controller
JP2560287B2 (en) Abnormal engine A / N reduction prevention device during tapping
JP3946289B2 (en) Engine fuel supply control system
JPS59122761A (en) Suction air flow controller for internal-combustion engine
JPS62225922A (en) Apparatus for generating false temperature of engine for vehicle
JP2000257480A (en) Intake air quantity control unit for internal combustion engine
JPH10220271A (en) Controller of internal combustion engine
JPS62225747A (en) Device for initializing engine control stepping motor

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees