JPH02155498A - Learning controller for stepping motor - Google Patents

Learning controller for stepping motor

Info

Publication number
JPH02155498A
JPH02155498A JP30760588A JP30760588A JPH02155498A JP H02155498 A JPH02155498 A JP H02155498A JP 30760588 A JP30760588 A JP 30760588A JP 30760588 A JP30760588 A JP 30760588A JP H02155498 A JPH02155498 A JP H02155498A
Authority
JP
Japan
Prior art keywords
value
learning
step motor
stepping
output
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.)
Pending
Application number
JP30760588A
Other languages
Japanese (ja)
Inventor
Akihiro Nakajima
中嶋 明浩
Tomomi Sakaeno
栄野 友美
Yoshihiro Okuda
奥田 義弘
Shunichiro Hiromasa
広政 俊一郎
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.)
Denso Corp
Original Assignee
NipponDenso Co Ltd
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 NipponDenso Co Ltd filed Critical NipponDenso Co Ltd
Priority to JP30760588A priority Critical patent/JPH02155498A/en
Publication of JPH02155498A publication Critical patent/JPH02155498A/en
Pending legal-status Critical Current

Links

Landscapes

  • Control Of Stepping Motors (AREA)

Abstract

PURPOSE:To prevent erroneous learning by updating detecting values corresponding to each angle of stepping as novel learning values only when keeping within a specified tolerance of the detecting values is decided. CONSTITUTION:Whether a detecting signal from a position sensor 4 is close to a detecting signal corresponding to the angle of stepping of '0' of a stepping motor 3 or not is discriminated by an ECU 12 constituting a learning-value storage means and a learning-value update means. The target number of, stepping for controlling the stepping motor 3 is set to '0'. The output of stepping is read from the position sensor 4. Whether the absolute value of the difference of the output of stepping read and a reference value corresponding to the target number of stepping previously stored is brought to a fixed value or less or not is discriminated. When the absolute value of the difference of the output of stopping and the previously stored reference value is brought to the fixed value or less, the output of stepping is updated as a stepping learning value and stored.

Description

【発明の詳細な説明】 し産業上の利用分野] この発明はステップモータのステップ角に対応する作動
位置を位置検出器により検出し、その検出値を以後のス
テップモータ制御のための学習値として予め記憶するス
テップモータの学習制御装置に関するものである。
[Detailed Description of the Invention] Industrial Application] This invention detects the operating position corresponding to the step angle of the step motor using a position detector, and uses the detected value as a learning value for subsequent step motor control. The present invention relates to a step motor learning control device that stores information in advance.

[従来の技術] 従来、例えばステップモータを作動させる制御装置とし
て特開昭62−91644号公報においては、ステップ
モータの作動位置を検出する位置検出器を設け、その検
出値と制御装置が判断しているステップモータの目標ス
テップ角とが一致していない場合に、ステップモータに
脱調等の異常が発生したことを検知してステップモータ
制御の信頼性を向上させるようにしている(第1従来例
)。
[Prior Art] Conventionally, for example, in JP-A-62-91644, a control device for operating a step motor is provided with a position detector that detects the operating position of the step motor, and the control device uses the detected value to determine the position of the step motor. If the target step angle of the step motor does not match the target step angle of the step motor, the reliability of step motor control is improved by detecting that an abnormality such as step out has occurred in the step motor (first conventional method). example).

一方、特開昭62−96756号公報においては、位置
検出器の出力特性バラツキや経時変化、ステップモータ
の取付誤差等を吸収するために、制御装置が指示するス
テップモータの所定ステンプ角に対応する作動位置を位
置検出器により検出してその検出(直に基づいた学g(
直を予め算出しておき、通常のステップモータ制御にお
いて前記学習値に基いて位置検出器の検出値を較正する
ようにした制御装置が提案されている(第2従来例)。
On the other hand, in Japanese Patent Application Laid-Open No. 62-96756, in order to absorb variations in the output characteristics of a position detector, changes over time, mounting errors of the step motor, etc. The operating position is detected by a position detector.
A control device has been proposed (second conventional example) in which the position sensor is calculated in advance and the detected value of the position detector is calibrated based on the learned value during normal step motor control.

[発明が解決しようとする課題] ところが、前記第2従来例の制御装置では、ステップモ
ータに脱調等の異常が発生した場合叫も学習値が算出さ
れるという誤学習の虞がある。この場合、通常のステッ
プモータ制御において、異常発生時の学習値に基いて位
置検出器の検出値の較正が行われることになり、ステッ
プモータが正常に制御されていても逆に異常な制御であ
ると判断される不具合の起こる虞があった。
[Problems to be Solved by the Invention] However, in the control device of the second conventional example, there is a risk of erroneous learning in which the learned value is calculated even when the step motor is out of synch or the like. In this case, in normal step motor control, the detected value of the position detector is calibrated based on the learned value at the time of abnormality, and even if the step motor is controlled normally, the control may be abnormal. There was a risk that a malfunction would occur.

この発明は前述した事情に鑑みてなされたものであって
、その目的は、位置挟手段の出力特性バラツキや経時変
化、ステップモータの取付誤差等を吸収するために、ス
テップモータのステップ角に対応する作動位置を位置挟
手段により検出し、その検出値を以後のステップモータ
制御のための学習値として予め記憶する際の誤学習を未
然に防止し得るステップモータの学習制御装置を提供す
ることにある。
This invention was made in view of the above-mentioned circumstances, and its purpose is to adapt to the step angle of the step motor in order to absorb variations in the output characteristics of the position clamping means, changes over time, mounting errors of the step motor, etc. To provide a learning control device for a step motor that can prevent erroneous learning when detecting an operating position by a position clamping means and storing the detected value in advance as a learning value for subsequent step motor control. be.

[課題を解決するための手段] 上記の目的を達成するためにこの発明においては、第1
図に示すように、入力パルス数に対応してステップ角を
歩進させるステップモータM1と、そのステップモータ
M1の各ステップ角に対応する実際の作動位置を検出す
る位置検出手段M2と、その位置検出手段M2による検
出値を、前記ステップモータM1の制御を行うための学
習値として予め記憶する学習値記憶手段M3とを備えた
ステップモータの学習制御装置において、予め定められ
た学習条件が成立したときに、各ステップ角に対応して
位置検出手段M2により検出される検出値が所定の許容
範囲内の値であると判断したときのみに、その検出値を
新たな学習値として学習値記憶手段M3を更新する学習
値更新手段M4とを備えている。
[Means for Solving the Problems] In order to achieve the above object, the present invention has the following features:
As shown in the figure, a step motor M1 that advances the step angle in accordance with the number of input pulses, a position detection means M2 that detects the actual operating position corresponding to each step angle of the step motor M1, and its position In a step motor learning control device comprising a learning value storage means M3 that stores in advance a value detected by the detection means M2 as a learning value for controlling the step motor M1, a predetermined learning condition is satisfied. Sometimes, only when it is determined that the detected value detected by the position detecting means M2 corresponding to each step angle is within a predetermined tolerance range, the learned value storage means uses the detected value as a new learned value. The learning value updating means M4 updates M3.

[作用] 従って、予め定められた学習条件が成立したときに、ス
テップモータM1が駆動されることにより、そのステッ
プモータM1の各ステップ角に対応して位置検出手段M
2により検出される検出値が所定の許容範囲内の値であ
るか否が学習値更新手段M4により判断される。そして
、その検出値が許容範囲内の値であると判断されたとき
のみに、その検出値を新たな学習値として学習更新手段
により学習値記憶手段M3が更新される。
[Operation] Therefore, when the predetermined learning condition is satisfied, the step motor M1 is driven, and the position detection means M is activated in response to each step angle of the step motor M1.
The learning value updating means M4 determines whether the detected value detected by step 2 is within a predetermined allowable range. Then, only when it is determined that the detected value is within the allowable range, the learned value storage means M3 is updated by the learning update means using the detected value as a new learned value.

[第1実施例] 以下、この発明を車両用エンジンのメタリングオイルポ
ンプの制御装置に具体化した第1実施例を第2図及び第
3図に基いて詳細に説明する。
[First Embodiment] Hereinafter, a first embodiment in which the present invention is embodied in a control device for a metering oil pump of a vehicle engine will be described in detail with reference to FIGS. 2 and 3.

第2図はロータリエンジン等の内燃機関へ潤滑オイルを
供給するためのメタリングオイルポンプ(潤滑油流量調
整装置)1及びその制御系を示している。メタリングオ
イルポンプ1はオイル吐出用のポンプ本体2と、その吐
出量を調整するために作動されるステップモータ3と、
そのステップモータ3の各ステップ角に対応する実際の
作動位置を検出する位置検出手段としての位置検出器4
とを備えている。
FIG. 2 shows a metering oil pump (lubricating oil flow rate adjustment device) 1 and its control system for supplying lubricating oil to an internal combustion engine such as a rotary engine. The metering oil pump 1 includes a pump body 2 for discharging oil, a step motor 3 operated to adjust the discharge amount,
A position detector 4 as a position detection means for detecting the actual operating position corresponding to each step angle of the step motor 3
It is equipped with

ステップモータ3は入力パルス数に対応してステップ角
を歩進させるものであり、その下部にはステップ角に対
応して伸縮される出力軸3aが下方へ突出して設けられ
ている。この実施例において、ステップモータ3は「0
」の最小ステップ角からrlooJの最大ステップ角ま
での範囲で作動され、各ステップ角に比例して出力軸3
aの伸縮位置が変更される。
The step motor 3 advances the step angle in accordance with the number of input pulses, and is provided with an output shaft 3a projecting downward at its lower part, which extends and contracts in accordance with the step angle. In this embodiment, the step motor 3 is "0".
'' to the maximum step angle of rlooJ, and the output shaft 3 is operated in proportion to each step angle.
The expanded/contracted position of a is changed.

又、位置検出器4はポテンショメータ5を備え、その接
触子5aが上方へ突出付勢されている。
Further, the position detector 4 includes a potentiometer 5, the contact 5a of which is biased to protrude upward.

ポンプ本体2の内部には上下方向に延びる穴部2a及び
その上部に連続する空洞部2bが設けられ、その空洞部
2b内にはステップモータ3の出力軸3a及び位置検出
器4の接触子5aが配置されている。又、穴部2aには
上下動可能な作動ロッド6が設けられ、その上端には空
洞部2bにて横方向へ広がる作動板7が固着され、両者
6,7は圧縮ばね8を介して上方へ一体的に付勢されて
いる。この作動板7の中心には凹部7aが形成され、そ
の凹部7aにて前記出力軸3aが上方から係合し、同作
動板7の縁部にて前記接触子5aが下方から係合してい
る。
Inside the pump body 2, there is provided a hole 2a extending in the vertical direction and a cavity 2b continuous to the upper part thereof, and the output shaft 3a of the step motor 3 and the contact 5a of the position detector 4 are disposed inside the cavity 2b. is located. Further, an actuation rod 6 that can move up and down is provided in the hole 2a, and an actuation plate 7 that spreads laterally in the cavity 2b is fixed to the upper end of the rod 6, and both 6 and 7 are moved upwardly through a compression spring 8. is integrally energized. A recess 7a is formed in the center of the actuating plate 7, and the output shaft 3a is engaged with the recess 7a from above, and the contact 5a is engaged with the edge of the actuating plate 7 from below. There is.

そして、ステップモータ3が作動されてその出力軸3a
が下方へ伸長されることにより、作動板7及び作動ロッ
ド6が圧縮ばね8の付勢力に抗して下方へ押圧移動され
る。このとき、その移動量に比例して接触子5aが下方
へ押圧移動され、ステップモータ3の各ステップ角に対
応する出力軸3aの実際の作動位置、即ち伸長位置が検
出され、その検出信号がステップ出力として位置検出器
4から出力される。
Then, the step motor 3 is operated and its output shaft 3a
By extending downward, the actuating plate 7 and the actuating rod 6 are pushed downward against the biasing force of the compression spring 8. At this time, the contact 5a is pressed downward in proportion to the amount of movement, and the actual operating position, that is, the extended position, of the output shaft 3a corresponding to each step angle of the step motor 3 is detected, and the detection signal is It is output from the position detector 4 as a step output.

又、作動ロッド6の下部には円周面6aとその円周面6
aに連続するテーパ面6bが形成されている。そして、
これら各面6a、6bに対応して、ポンプ本体2には前
記穴部2aに連通して横方向に延びるシリンダ部2Cが
設けられている。
Further, the lower part of the operating rod 6 has a circumferential surface 6a and a circumferential surface 6a.
A tapered surface 6b continuous to a is formed. and,
Corresponding to these surfaces 6a and 6b, the pump body 2 is provided with a cylinder portion 2C that communicates with the hole portion 2a and extends laterally.

このシリンダ部2Cには往復動可能かつ回転可能なプラ
ンジャ9が設けられている。このプランジャ9の基端は
ポンプ本体2に設けたオイル通路10a、10bを開閉
する弁部11となっている。
This cylinder portion 2C is provided with a plunger 9 that can reciprocate and rotate. The base end of the plunger 9 is a valve portion 11 that opens and closes oil passages 10a and 10b provided in the pump body 2.

又、プランジャ9の外周にはギア部9aが設けられ、プ
ランジャ9はそのギア部9aを介して図示しないエンジ
ンに駆動連結されている。
Further, a gear portion 9a is provided on the outer periphery of the plunger 9, and the plunger 9 is drivingly connected to an engine (not shown) via the gear portion 9a.

このプランジャ9の先端面には、径方向へ離間する一対
の保合突起9bとそれら係合突起9bの中間に位置する
保合ビン9cが設けられている。
The plunger 9 is provided with a pair of locking projections 9b spaced apart from each other in the radial direction and a locking pin 9c located between the locking projections 9b.

プランジャ9は図示しない付勢部材によりその係合突起
9b及び係合ビン9cが作動ロッド6に係合する方向へ
付勢されている。又、両保合突起9bはプランジャ9の
径方向に離間しているため、第2図に示す再係合突起9
b及び係合ビン9cが上下に並ぶ状態では、一方の保合
突起9bが作動ロッド6の円周面6aに係合することに
なる。又、第2図に示す状態からプランジャ9が90度
回転して再係合突起9b及び係合ビン9cが横に並ぶ状
態では、両保合突起9bが前記円周面6aに係合するこ
となく作動ロッド6の両側に位置することになり、保合
ピン9cのみが円周面6a又はテーパ面6bに係合する
ことになる。
The plunger 9 is biased by a biasing member (not shown) in a direction such that its engagement protrusion 9b and engagement pin 9c engage with the actuating rod 6. Furthermore, since both the engagement protrusions 9b are spaced apart in the radial direction of the plunger 9, the re-engagement protrusion 9 shown in FIG.
b and the engagement pins 9c are arranged vertically, one of the engagement protrusions 9b engages with the circumferential surface 6a of the actuating rod 6. Further, when the plunger 9 rotates 90 degrees from the state shown in FIG. 2 and the re-engaging projections 9b and the engaging pins 9c are lined up side by side, both the locking projections 9b engage with the circumferential surface 6a. Therefore, only the retaining pins 9c engage with the circumferential surface 6a or the tapered surface 6b.

従って、ギア部9aを介してプランジャ9が回転駆動さ
れることにより、その先端の保合突起9bが90度の回
転周期で作動ロッド6との係脱を繰り返す。そして、係
合ビン9cが作動ロッド6の円周面6aに係合した状態
では、プランジャ9は往復動されることなく定位置にて
回転される。
Therefore, when the plunger 9 is rotationally driven via the gear portion 9a, the retaining protrusion 9b at its tip repeatedly engages and disengages from the actuating rod 6 at a rotation period of 90 degrees. In a state where the engagement pin 9c is engaged with the circumferential surface 6a of the actuating rod 6, the plunger 9 is rotated at a fixed position without being reciprocated.

一方、作動ロッド6が下方へ移動されてそのテーパ面6
bが係合ビン9cに対向した状態では、プランジャ9の
回転に伴って保合突起9bが作動ロッド6から離脱した
ときに、係合ビン9cとテーパ面6bとの間の間隔分だ
けプランジャ9が往動され、再び保合突起9bが作動ロ
ッド6に係合したときにプランジャ9が復動される。
Meanwhile, the actuating rod 6 is moved downward and its tapered surface 6
b faces the engagement pin 9c, when the retaining protrusion 9b separates from the actuating rod 6 as the plunger 9 rotates, the plunger 9 moves by the distance between the engagement pin 9c and the tapered surface 6b. is moved forward, and when the retaining protrusion 9b engages with the actuating rod 6 again, the plunger 9 is moved back.

そして、このようなプランジャ9の往復動に基いて弁部
11にて潤滑オイルが吐出されると共に、作動ロッド6
の上下位置を変更して前記テーパ面6bと係合ビン9C
との間の間隔を変更することにより、プランジャ9の往
復動量が変更されて前記弁部11における潤滑オイルの
吐出量が変更調節される。
Based on such reciprocating motion of the plunger 9, lubricating oil is discharged from the valve portion 11, and the operating rod 6
by changing the vertical position of the taper surface 6b and the engaging pin 9C.
By changing the distance between the two, the amount of reciprocating movement of the plunger 9 is changed, and the amount of lubricating oil discharged from the valve portion 11 is changed and adjusted.

ECU l 2は学習値記憶手段及び学習値更新手段を
構成している。又、ECU12はメモリ機能を備えると
共に所定の制御プログラムを格納し、そのプログラムに
基いてメタリングオイルポンプ1及びエンジン等の制御
動作を実行する。
The ECU I2 constitutes a learning value storage means and a learning value updating means. Further, the ECU 12 has a memory function, stores a predetermined control program, and executes control operations for the metering oil pump 1, the engine, etc. based on the program.

ECU12はメタリングオイルポンプ1を駆動制御する
ためにステップモータ3へ適宜なパルス信号を出力する
と共に、そのときのステップモータ3の作動位置、即ち
出力軸3aの実際の伸縮位置を検知するために位置検出
器4から検出信号を入力する。
The ECU 12 outputs an appropriate pulse signal to the step motor 3 in order to drive and control the metering oil pump 1, and also detects the operating position of the step motor 3 at that time, that is, the actual expansion/contraction position of the output shaft 3a. A detection signal is input from the position detector 4.

又、ECU12は周知のようにエンジンの運転状態を制
御するために図示しない各種のセンサがらスロットル開
度信号、エンジン回転数信号、吸入空気信号、冷却水温
信号及び吸気温信号等の種々の信号を入力する。
Further, as is well known, the ECU 12 sends various signals such as a throttle opening signal, an engine rotation speed signal, an intake air signal, a cooling water temperature signal, and an intake air temperature signal from various sensors (not shown) in order to control the operating state of the engine. input.

そして、ECU12は予め定めた学習条件が成立したと
き、即ちこの実施例ではエンジン起動状flQにおいて
ステップモータ3のステップ角が「0」に近い値で、か
つ冷却水温が充分に高い80℃以上の状態であるときに
、位置検出器4による検出値を学習値として予め記憶す
るための学習制御を実行する。
Then, when the predetermined learning conditions are satisfied, that is, in this embodiment, the step angle of the step motor 3 is close to "0" in the engine starting state flQ, and the cooling water temperature is sufficiently high at 80° C. or higher. In this state, learning control is executed to store the detected value by the position detector 4 as a learning value in advance.

一方、前記学習制御を終了してメタリングオイルポンプ
1の通常制御を行うときには、ECUI2は前記学習制
御により得た学習値に基いてステップモータ3の各ステ
ップ角に対応する位置検出器4の検出値が適正であるか
否かを判断してステップモータ3を制御すると共にエン
ジンの運転を制御する。
On the other hand, when the learning control is finished and normal control of the metering oil pump 1 is performed, the ECUI 2 detects the position detector 4 corresponding to each step angle of the step motor 3 based on the learning value obtained by the learning control. It determines whether the value is appropriate and controls the step motor 3 as well as the operation of the engine.

次に、上記のように構成されたメタリングオイルポンプ
1のECU 12による学習制御を第3図のフローチャ
ートの学習更新ルーチンに従って説明する。
Next, learning control by the ECU 12 of the metering oil pump 1 configured as described above will be explained according to the learning update routine shown in the flowchart of FIG.

エンジン起動状態において、まずステップ101では所
定の学習条件が成立したか否かを判別する。即ち、位置
検出器4からの検出信号がステップモータ3の「0」の
ステップ角に対応する検出信号に近い値で、かつ冷却水
温が充分に高い状態であるか否かを判別する。そして、
この学習条件が成立しない場合には学習更新ルーチンを
終了し、学習条件が成立する場合には一連の学習制御を
開始するためにステップ102へ移行する。
In the engine starting state, first, in step 101, it is determined whether a predetermined learning condition is satisfied. That is, it is determined whether the detection signal from the position detector 4 is close to the detection signal corresponding to a step angle of "0" of the step motor 3 and whether the cooling water temperature is sufficiently high. and,
If this learning condition is not met, the learning update routine is ended, and if the learning condition is met, the process moves to step 102 to start a series of learning controls.

ステップ102では、ステップモータ3を制御するため
の目標ステップ数Nを「0」にセットしてステップ10
3へ移行する。ステップ103では、目標ステップ数N
が最大ステップ数Nmax(この実施例ではrloo−
J)を超えているか否かを判別する。
In step 102, the target number of steps N for controlling the step motor 3 is set to "0", and step 10
Move to 3. In step 103, the target number of steps N
is the maximum number of steps Nmax (in this example, rloo-
J) is exceeded.

この場合、目標ステップ数Nは「0」であるので、ステ
ップ104へ移行してステップモータ3のステップ角を
目標ステップ数Nに作動させる。
In this case, since the target number of steps N is "0", the process moves to step 104 and the step angle of the step motor 3 is operated to the target number of steps N.

即ち、この場合はステップモータ3のステップ角を「0
」に作動させる。
That is, in this case, the step angle of the step motor 3 is set to "0".
”.

次に、ステップ105へ移行し、ステップ出力PA (
N)を位置検出器4から読み込む。即ち、この場合は「
0」のステップ角に対応するステップ出力PA (0)
を位置検出器4から読み込む。
Next, the process moves to step 105, and the step output PA (
N) is read from the position detector 4. That is, in this case "
Step output PA corresponding to a step angle of 0 (0)
is read from the position detector 4.

続いて、ステップ106へ移行し、読み込んだステップ
出力PA (N)と予め記憶された目標ステップ数Nに
対応する基準値αとの差の絶対値、が所定値X以下であ
るか否かを判別する。即ち、この場合にはステップ出力
PA (0)と基準値αとの差の絶対値が所定値X以下
であるか否かを判別する。つまり、ステップ出力PA 
(0)が基準値αより所定値Xだけ多い又は少ない範囲
内にあるか否かを判別する。
Next, the process moves to step 106, and it is determined whether the absolute value of the difference between the read step output PA (N) and the reference value α corresponding to the target number of steps N stored in advance is less than or equal to the predetermined value X. Discern. That is, in this case, it is determined whether the absolute value of the difference between the step output PA (0) and the reference value α is less than or equal to the predetermined value X. In other words, step output PA
It is determined whether or not (0) is within a range that is greater or less than the reference value α by a predetermined value X.

そして、ステップ出力PA (0)と予め記憶された基
準値αとの差の絶対値が所定値Xよりも大きい場合には
、ステップモータ3に脱調等の異常が発生しているとし
てステップ101ヘジヤンプし、ステップ101〜ステ
ツプ106の処理を改めて実行し直す。一方、前記差の
絶対値が所定値X以下である場合には、ステップ106
からステップ107へ移行し、ステップ出力PA(N)
をNステップ学習値VLRN(N)として更新して記憶
する。即ち、この場合は前記ステップ出力PA(0)を
0ステツプ学習値VLRN(0)として更新して記憶す
る。
If the absolute value of the difference between the step output PA (0) and the pre-stored reference value α is larger than the predetermined value Hejumps and re-executes steps 101 to 106. On the other hand, if the absolute value of the difference is less than or equal to the predetermined value X, step 106
The process moves to step 107, and the step output PA(N)
is updated and stored as an N-step learning value VLRN(N). That is, in this case, the step output PA(0) is updated and stored as the 0 step learning value VLRN(0).

続いて、ステップ108へ移行し、目標ステ・7プ数N
を1ステ・ノブアップさせた後、ステップ108からス
テップ103ヘジヤンプする。そして、目標ステップ数
Nが最大ステップ数Nmaxになるまでステップ103
〜ステツプ108の一連の処理を繰り返す。
Next, the process moves to step 108, and the target step number N of 7 steps is determined.
After raising the knob by 1 step, jump from step 108 to step 103. Then, step 103 is performed until the target number of steps N reaches the maximum number of steps Nmax.
- Repeat the series of processes from step 108.

即ち、この実施例では、目標ステップ数NがrloOJ
になるまで、1ステツプずつアップさせてステップモー
タ3を「0〜100Jのステップ角に作動させ、「0〜
100Jのステップ角に対応する各ステップ出力PA 
(0)〜PA(100)を位置検出器4から読み込み、
そのときのステップ出力PA (0)〜PA(100)
と予め記憶された「0〜100」の目標ステップ数Nに
対応する各基準値αとの差の絶対値が所定値X以下であ
るときのみ各ステップ出力PA (0)〜PA(100
)をOステップ学習値VLRN(0) 〜100ステツ
プ学習値VLRN(100)として更新して記憶する。
That is, in this embodiment, the target number of steps N is rloOJ
Operate the step motor 3 to a step angle of 0 to 100J by increasing the angle by one step until
Each step output PA corresponding to a step angle of 100J
(0) to PA (100) are read from the position detector 4,
Step output PA (0) to PA (100) at that time
Each step output PA (0) to PA (100
) is updated and stored as O step learning value VLRN(0) to 100 step learning value VLRN(100).

尚、この実施例において、上記のような学習制御は、前
記学習条件が50回成立する毎に定期的に行われるよう
になっている。
In this embodiment, the above learning control is periodically performed every 50 times when the learning condition is satisfied.

し第2実施例] 次に、この発明を同じくメタリングオイルポンプの制御
装置に具体化した第2実施例を第4図のフローチャート
に従って説明する。尚、この実施例においては前記第1
実施例と同様のメタリングオイルポンプ及びその制御系
を使用することとして説明を省略する。
Second Embodiment] Next, a second embodiment in which the present invention is similarly embodied in a control device for a metering oil pump will be described with reference to the flowchart of FIG. 4. Note that in this embodiment, the first
Since the same metering oil pump and its control system as in the embodiment are used, the explanation will be omitted.

第4図に示すように、この実施例の学習更新ル−チンは
第3図に示す前記第1実施例のそれと基本的に同じに構
成されている。
As shown in FIG. 4, the learning update routine of this embodiment is basically the same as that of the first embodiment shown in FIG.

即ち、エンジン起動状態において、ステ・ンプ201で
は前記第1実施例と同様に学習条件が成立したか否かを
判別する。そして、その学習条件が成立した場合には、
ステップ202へ移行し、ステップモータ3を制御する
ための目標ステ・ノブ数NをrOJにセットし、更にス
テップ203では、目標ステップ数Nが最大ステ・ツブ
数N ll1axを超えているか否かを判別する。
That is, in the engine starting state, the stepper 201 determines whether or not the learning condition is satisfied, as in the first embodiment. Then, if the learning conditions are met,
The process moves to step 202, and the target number of step knobs N for controlling the step motor 3 is set to rOJ, and further, in step 203, it is determined whether the target number of steps N exceeds the maximum number of step knobs Nll1ax. Discern.

そして、目標ステップ数Nが最大ステップ数Nn+ax
以下である場合にはステップ204へ移行し、ステップ
モータ3のステップ角を目標ステップ数Nに作動させ、
更にステップ205へ移行してステ・ツブ出力PA(N
)を位置検出器4から読み込む。
Then, the target number of steps N is the maximum number of steps Nn+ax
If it is below, the process moves to step 204, where the step angle of the step motor 3 is operated to the target step number N,
Further, the process moves to step 205 and the step output PA (N
) is read from the position detector 4.

次に、ステップ206へ移行し、ステップ205にて読
み込んだステップ出力PA (N)と目標ステップ数N
に対応して既に記憶されている現在学習値βとの差の絶
対値が所定値Y以下であるか否かを判別する。つまり、
ステップ出力PA(N)が現在学習値βより所定値Yだ
け多い又は少ない範囲内にあるか否かを判別する。
Next, the process moves to step 206, where the step output PA (N) read in step 205 and the target step number N
It is determined whether the absolute value of the difference from the currently stored current learning value β is less than or equal to a predetermined value Y or not. In other words,
It is determined whether the step output PA(N) is within a range that is greater or less than the current learning value β by a predetermined value Y.

そして、ステップ出力PA (N)と予め記t9された
現在学習値βとの差の絶対値が所定値Yよりも大きい場
合には、ステップモータ3に脱調等の異常が発生してい
るとしてステップ201ヘジヤンプし、ステップ201
〜ステツプ206の処理を改めて実行し直す。一方、前
記差の絶対値が所定値Y以下である場合には、ステップ
206からステップ207へ移行し、ステップ出力PA
(N)をNステップ学習値VLRN(N)として更新し
て記憶する。
If the absolute value of the difference between the step output PA (N) and the current learning value β recorded in advance at t9 is larger than the predetermined value Y, it is assumed that an abnormality such as step-out has occurred in the step motor 3. step 201 hedge jump, step 201
- Re-execute the process in step 206. On the other hand, if the absolute value of the difference is less than or equal to the predetermined value Y, the process moves from step 206 to step 207, and the step output PA
(N) is updated and stored as the N-step learning value VLRN(N).

続いて、ステップ208へ移行し、目標ステップ数Nを
1ステツプアンプさせた後、ステップ208からステッ
プ203ヘジヤンプする。そして、目標ステップ数Nが
最大ステップ数Nmaxになるまでステップ203〜ス
テツプ208の一連の処理を繰り返す。
Subsequently, the process moves to step 208, where the target step number N is amplified by one step, and then jumps from step 208 to step 203. Then, the series of processes from step 203 to step 208 is repeated until the target number of steps N reaches the maximum number of steps Nmax.

上記のように第1及び第2の実施例では、前記一連の学
習制御により、ECU12がステップモータ3の「0〜
100」の全ステップ角に対応する位置検出器4の各ス
テップ出力PA (0)〜PA(100)を0ステツプ
学習値VLRN(0) 〜100ステップ学習値VLI
IN(l OO)として更新して記憶することができる
As described above, in the first and second embodiments, the ECU 12 controls the step motor 3 from "0 to
Each step output PA (0) to PA (100) of the position detector 4 corresponding to the total step angle of 100'' is set to the 0 step learning value VLRN (0) to the 100 step learning value VLI.
It can be updated and stored as IN(l OO).

又、この学習制御の際に、ステップモータ3に脱調等の
異常が生じて、位置検出器4のステップ出力PA (N
)が異常な値である場合には、そのステップ出力PA(
N)をNステップ学習値VLRN(N)とすることがな
いので、誤学習を未然に防止することができる。
Also, during this learning control, an abnormality such as step-out occurs in the step motor 3, and the step output PA (N
) is an abnormal value, the step output PA (
Since N) is not set as the N-step learning value VLRN(N), erroneous learning can be prevented.

従って、ステップモータ3の通常制御を行う際に、異常
発生時のNステップ学習値VLRN(N)に基いて位置
検出器4の検出値が適正であるが否がが判断されること
がないので、ステップモータ3の制御の信頼性をより向
上することができる。
Therefore, when performing normal control of the step motor 3, it is not determined whether the detected value of the position detector 4 is appropriate or not based on the N step learning value VLRN(N) at the time of abnormality occurrence. , the reliability of control of the step motor 3 can be further improved.

又、この実施例では、最小のrOJから最大のrloo
jまでの全ステップ角に対応して位置検出器4のステッ
プ出力PA (N)を学習してNステップ学習値VLR
N(N)を得ているので、使用頻度の少ないステップ角
領域、特に最大のステップ角領域のステップ出力PA(
N)についても確実に学習値を得ることができる。この
ため、ステップモータ3の取付誤差或いは位置検出器4
の取付誤差や検出誤差を吸収し、位置検出器4の出力特
性バラツキや経時変化等に影響されることなく、ステッ
プモータ3をその全ステップ角を考慮して適正に制御す
ることができる。
Also, in this example, from the minimum rOJ to the maximum rloo
The step output PA (N) of the position detector 4 is learned corresponding to all step angles up to j, and the N step learning value VLR is determined.
Since N(N) is obtained, the step output PA(
It is also possible to reliably obtain a learned value for N). Therefore, the installation error of the step motor 3 or the position detector 4 may
It is possible to absorb mounting errors and detection errors of the position detector 4, and to appropriately control the step motor 3 in consideration of its entire step angle without being affected by variations in the output characteristics of the position detector 4, changes over time, etc.

従って、メタリングオイルポンプ1としてエンジンの要
求する潤滑オイルの全流量域に対応して学習値を得るこ
とができ、メタリングオイルポンプ1を全閉から全開ま
でより正確に制御して、オイル吐出量制御の精度及び信
頼性を向上させることができる。
Therefore, the metering oil pump 1 can obtain learning values corresponding to the entire flow range of lubricating oil required by the engine, and can more accurately control the metering oil pump 1 from fully closed to fully open to discharge oil. The accuracy and reliability of quantity control can be improved.

尚、この発明は前記各実施例に限定されるものではなく
、発明の趣旨を逸脱しない範囲において構成の一部を適
宜に変更して次のように実施することもできる。
The present invention is not limited to the above-mentioned embodiments, and may be implemented as follows by appropriately changing a part of the structure without departing from the spirit of the invention.

(1)前記各実施例では、車両用エンジンのメタリング
オイルポンプ10制御装置に具体化したが、第5図に示
すような電子式エンジン制御システムのアイドル回転数
制御装置に具体化してもよい。
(1) In each of the above embodiments, the control device is implemented as a metering oil pump 10 control device for a vehicle engine, but it may also be implemented in an idle speed control device of an electronic engine control system as shown in FIG. .

即ち、吸気管路21内のスロットル弁22の上流側とエ
ンジン23のサージタンク24との間に設けたバイパス
路25にステップモータ26により作動されるバイパス
空気流ffi ml 御弁27を設け、そのステップモ
ータ26の各ステップ角に対応する実際の作動位置を検
出する位置検出器28を設けて、ECU29によりステ
ップモータ26の最小から最大までのステップ角に対応
して位置検出器28のステップ出力を学習値として更新
して記憶するように構成してもよい。
That is, a bypass airflow control valve 27 operated by a step motor 26 is provided in a bypass passage 25 provided between the upstream side of the throttle valve 22 in the intake pipe line 21 and the surge tank 24 of the engine 23. A position detector 28 is provided to detect the actual operating position corresponding to each step angle of the step motor 26, and the ECU 29 detects the step output of the position detector 28 corresponding to the step angle from the minimum to the maximum of the step motor 26. It may be configured to update and store it as a learned value.

又、車両用エンジンに限らず、ステップモータを使用し
たこの他のアクチュエータ等に具体化してもよい。
Further, the present invention is not limited to a vehicle engine, and may be embodied in other actuators using a step motor.

(2)前記各実施例は、ステップ106においてステッ
プ出力PA (0)と予め記憶された基準値αとの差の
絶対値が所定値X−よりも大きい場合に、或いはステッ
プ206においてステップ出力PA(N)と予め記憶さ
れた現在学習値βとの差の絶対値が所定値Yよりも大き
い場合に、それぞれステップモータ3に脱調等の異常が
発生しているとしてステップ101或いはステップ20
1ヘジヤツプして処理を改めて実行し直すように構成し
たが、処理を改めて実行し直すことなく異常報知等の処
理を行って一連の処理を終了するように構成してもよい
(2) In each of the above embodiments, when the absolute value of the difference between the step output PA (0) and the pre-stored reference value α is larger than the predetermined value If the absolute value of the difference between (N) and the pre-stored current learning value β is larger than the predetermined value Y, it is determined that an abnormality such as step-out has occurred in the step motor 3, and the process is executed in step 101 or step 20, respectively.
Although the configuration is such that the process is re-executed after a single jump, it may be configured such that an abnormality notification process or the like is performed and the series of processes is completed without having to re-execute the process.

(3)前記各実施例では、最小の「0」から最大のrl
oOJまでの全ステップ角に対応して位置検出器4のス
テップ出力を学習して学習値としたが、予め定められた
任意のステップ角に対応して位置検出器4のステップ出
力を学習して学習値とするように構成してもよい。
(3) In each of the above embodiments, from the minimum "0" to the maximum rl
The step output of the position detector 4 is learned corresponding to all step angles up to oOJ and used as a learned value, but the step output of the position detector 4 is learned corresponding to any predetermined step angle. It may be configured to be a learned value.

[発明の効果] 以上詳述したようにこの発明によれば、位置検出器の出
力特性バラツキや経時変化、ステップモータの取付誤差
等を吸収するために、ステップモータのステップ角に対
応する作動位置を位置挟手段により検出し、その検出値
を以後のステップモータ制御のための学習値として予め
記憶する際の誤学習を未然に防止することができ、延い
てはステップモータの制御の信頼性をより向上すること
ができるという優れた効果を発揮する。
[Effects of the Invention] As detailed above, according to the present invention, in order to absorb variations in the output characteristics of the position detector, changes over time, installation errors of the step motor, etc., the operating position corresponding to the step angle of the step motor is adjusted. is detected by the position clamping means, and erroneous learning can be prevented when the detected value is stored in advance as a learning value for subsequent step motor control, which in turn improves the reliability of step motor control. It exhibits an excellent effect of being able to improve even more.

【図面の簡単な説明】[Brief explanation of the drawing]

第1図はこの発明に係る制御装置のクレーム対応図、第
2図はこの発明を具体化した第1実施例のメタリングオ
イルポンプ及びその制御系を示す概略構成図、第3図は
その学習制御を説明するフローチャート、第4図はこの
発明を具体化した第2実施例の学習制御を説明するフロ
ーチャート、第5図はこの発明を電子式エンジン制御シ
ステムのアイドル回転数制御装置に具体化した別の実施
例を示す概略構成図である。 図中、Mlはステップモータ、M2は位置検出手段、M
3は学習値記憶手段、M4は学習値更新手段、3,26
はステップモータ、4.28は位置検出手段としての位
置検出器、12.29は学習値記憶手段及び学習値更新
手段としてのEC1Jである。
Fig. 1 is a claim correspondence diagram of a control device according to the present invention, Fig. 2 is a schematic configuration diagram showing a metering oil pump of a first embodiment embodying this invention and its control system, and Fig. 3 is a learning diagram thereof. FIG. 4 is a flowchart explaining the learning control of the second embodiment embodying the present invention; FIG. 5 is a flowchart explaining the learning control of the second embodiment embodying the present invention; FIG. It is a schematic block diagram which shows another Example. In the figure, Ml is a step motor, M2 is a position detection means, and M
3 is a learning value storage means, M4 is a learning value updating means, 3,26
is a step motor, 4.28 is a position detector as a position detection means, and 12.29 is an EC1J as a learned value storage means and a learned value update means.

Claims (1)

【特許請求の範囲】 1 入力パルス数に対応してステップ角を歩進させるス
テップモータと、 そのステップモータの各ステップ角に対応する実際の作
動位置を検出する位置検出手段と、その位置検出手段に
よる検出値を、前記ステップモータの制御を行うための
学習値として予め記憶する学習値記憶手段と を備えたステップモータの学習制御装置において、予め
定められた学習条件が成立したときに、前記各ステップ
角に対応して前記位置検出手段により検出される検出値
が所定の許容範囲内の値であると判断したときのみに、
その検出値を新たな学習値として前記学習値記憶手段を
更新する学習値更新手段と を備えたことを特徴とするステップモータの学習制御装
置。
[Scope of Claims] 1. A step motor that advances a step angle in accordance with the number of input pulses, a position detecting means for detecting an actual operating position corresponding to each step angle of the step motor, and a position detecting means for the step motor. In the learning control device for a step motor, the step motor learning control device is provided with a learning value storage means for storing in advance a detected value detected by the above as a learning value for controlling the step motor. Only when it is determined that the detected value detected by the position detection means corresponding to the step angle is within a predetermined tolerance range,
A learning control device for a step motor, comprising learning value updating means for updating the learning value storage means using the detected value as a new learning value.
JP30760588A 1988-12-05 1988-12-05 Learning controller for stepping motor Pending JPH02155498A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP30760588A JPH02155498A (en) 1988-12-05 1988-12-05 Learning controller for stepping motor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP30760588A JPH02155498A (en) 1988-12-05 1988-12-05 Learning controller for stepping motor

Publications (1)

Publication Number Publication Date
JPH02155498A true JPH02155498A (en) 1990-06-14

Family

ID=17971057

Family Applications (1)

Application Number Title Priority Date Filing Date
JP30760588A Pending JPH02155498A (en) 1988-12-05 1988-12-05 Learning controller for stepping motor

Country Status (1)

Country Link
JP (1) JPH02155498A (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS59136539A (en) * 1983-01-24 1984-08-06 Toyota Motor Corp Method of controlling air-fuel ratio of internal-combustion engine
JPS6291644A (en) * 1985-10-17 1987-04-27 Toyota Motor Corp Switching control device
JPS6296756A (en) * 1985-10-22 1987-05-06 Toyota Motor Corp Controller for opening and closing of throttle valve
JPS62276230A (en) * 1986-04-21 1987-12-01 Mitsubishi Motors Corp Number of idling revolutions control device for internal combustion engine
JPS6361743A (en) * 1986-09-02 1988-03-17 Toyota Motor Corp Air-fuel ratio control device for internal combustion engine
JPS63111000A (en) * 1986-10-29 1988-05-16 Ricoh Co Ltd Positioning apparatus for head of magnetic disk device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS59136539A (en) * 1983-01-24 1984-08-06 Toyota Motor Corp Method of controlling air-fuel ratio of internal-combustion engine
JPS6291644A (en) * 1985-10-17 1987-04-27 Toyota Motor Corp Switching control device
JPS6296756A (en) * 1985-10-22 1987-05-06 Toyota Motor Corp Controller for opening and closing of throttle valve
JPS62276230A (en) * 1986-04-21 1987-12-01 Mitsubishi Motors Corp Number of idling revolutions control device for internal combustion engine
JPS6361743A (en) * 1986-09-02 1988-03-17 Toyota Motor Corp Air-fuel ratio control device for internal combustion engine
JPS63111000A (en) * 1986-10-29 1988-05-16 Ricoh Co Ltd Positioning apparatus for head of magnetic disk device

Similar Documents

Publication Publication Date Title
US5235527A (en) Method for diagnosing abnormality of sensor
US5153835A (en) Fail safe device for temperature sensor
US5617337A (en) Method and device for monitoring sensor functions
US4625697A (en) Automotive engine control system capable of detecting specific engine operating conditions and projecting subsequent engine operating patterns
US9726120B2 (en) Vaporized fuel processing apparatus
JPH0146697B2 (en)
KR890005043B1 (en) Fuel injection device for internal combustion engine
US7463936B2 (en) Method and device for adapting a stop of an electrically triggered actuator
US4393842A (en) Air/fuel ratio control system for internal combustion engines, having atmospheric pressure compensating function
US5653210A (en) Method and device for the open-loop and/or closed loop control of a final controlling element
JP2018159305A (en) Evaporative fuel treatment device
US20060081041A1 (en) Abnormality determination apparatus for intake amount control mechanism
JPH0250305B2 (en)
US4414950A (en) Fail safe device for air/fuel ratio feedback control system
JPH02155498A (en) Learning controller for stepping motor
US6397799B1 (en) Method for controlling a valve lift device
US6034500A (en) Stepping motor control apparatus
JP4867791B2 (en) Position control device
US7389681B2 (en) Method for monitoring a camshaft adjustment of an internal combustion engine
JPH01167440A (en) Excessive revolution preventing device for engine
JPH02155499A (en) Learning controller for stepping motor
US20020087259A1 (en) Method, computer program and control and/or regulating device for operating an internal combustion engine
US5259350A (en) Fuel injection device
JP6684678B2 (en) Electronically controlled throttle device
JPH0370497A (en) Stepping motor controller