JPH06225592A - Controller for stepping motor - Google Patents

Controller for stepping motor

Info

Publication number
JPH06225592A
JPH06225592A JP3131993A JP3131993A JPH06225592A JP H06225592 A JPH06225592 A JP H06225592A JP 3131993 A JP3131993 A JP 3131993A JP 3131993 A JP3131993 A JP 3131993A JP H06225592 A JPH06225592 A JP H06225592A
Authority
JP
Japan
Prior art keywords
steps
interruption
step number
energization
excitation phase
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
JP3131993A
Other languages
Japanese (ja)
Inventor
Katsumi Ishida
克己 石田
Yukitoshi Asada
幸敏 浅田
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.)
Aisan Industry Co Ltd
Original Assignee
Aisan Industry 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 Aisan Industry Co Ltd filed Critical Aisan Industry Co Ltd
Priority to JP3131993A priority Critical patent/JPH06225592A/en
Publication of JPH06225592A publication Critical patent/JPH06225592A/en
Pending legal-status Critical Current

Links

Landscapes

  • Control Of Stepping Motors (AREA)

Abstract

PURPOSE:To eliminate a low speed initial conduction state by providing initial number-of-steps storage means for storing number of steps at the time of inter ruption in the case of the interruption at the time of stopping the conduction or number of correcting steps in the case of no interruption as number of steps at the time of restarting next conduction. CONSTITUTION:When a slowing-down control is executed based on a reference position reset signal E1, synchronous movement interruption deciding means H is started to decide whether an object C is synchronized with switching of an exciting phase or not, and at the time of interruption, number of steps in the case of interruption is stored in initial number-of-steps storage means M by interruption time number-of-steps counting means I. On the other hand, in the case of no interruption, number of steps at the time of stop of conduction is stored in conduction stop time number-of-steps storage means J, further number of deviated steps thereafter is counted by number of deviated steps count K, number of steps corresponding to that when the object C is reset to a reference position by number-of-corrected steps count means L is counted, and stored in the means M.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、例えばエンジンの吸気
量を調整するスロットルバルブ等のように、全開ないし
全閉位置等の基準位置の側にばね等の付勢手段で付勢さ
れている物体を、その付勢力に抗して移動させるために
用いられるステップモータの制御装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention is biased by a biasing means such as a spring toward a reference position such as a fully open or fully closed position such as a throttle valve for adjusting an intake air amount of an engine. The present invention relates to a control device for a step motor used to move an object against its urging force.

【0002】[0002]

【従来の技術】ステップモータで物体を移動させる場
合、ステップモータへの通電が停止されている間にロー
タや物体の位置が変わらなければ、通電停止時の励磁相
で通電を再開することによって、通電開始時からロータ
と励磁相が同期した状態となり、物体が励磁相の切換に
同期して移動される。しかるに例えばスロットルバルブ
等のように、基準位置の側にばね付勢されているような
場合には、通電停止中にロータや物体が移動してしま
い、通電停止時の励磁相で通電を再開しても、ただちに
は同期しない。
2. Description of the Related Art When an object is moved by a step motor, if the position of the rotor or the object does not change while the energization of the step motor is stopped, the energization is restarted in the excitation phase when the energization is stopped. The rotor and the excitation phase are in synchronization with each other from the start of energization, and the object is moved in synchronization with the switching of the excitation phase. However, for example, in the case where the valve is biased toward the reference position, such as a throttle valve, the rotor and objects move while the energization is stopped, and the energization is restarted in the excitation phase when the energization is stopped. But it doesn't sync right away.

【0003】基準位置とステップモータの位置関係が正
確にわかっていれば、基準位置にある物体と同期する励
磁相が正確にわかることから、この励磁相で通電を開始
することによって、通電開始直後から同期を確保するこ
とができるはずである。しかしながら現実には基準位置
に同期する励磁相がわからないことが多く、またたとえ
あるとき同期していたとしても(例えば工場出荷時には
同期していたとしても)、その後の経年変化によって基
準位置がシフトしたり、あるいは物体とステップモータ
を機械的に連携しているギヤ列のバックラッシュ等が変
化して、予定されていた励磁相では同期しなくなってし
まうことが生ずる。
If the positional relationship between the reference position and the step motor is accurately known, the excitation phase synchronized with the object at the reference position can be accurately determined. Therefore, by starting the energization in this excitation phase, immediately after the start of the energization. You should be able to ensure synchronization from. However, in reality, the excitation phase that synchronizes with the reference position is often unknown, and even if the excitation phase is synchronized at one time (for example, even when it is synchronized with the factory), the reference position shifts due to the secular change thereafter. Or, the backlash or the like of the gear train mechanically linking the object and the step motor may change, and the gears may not be synchronized in the planned excitation phase.

【0004】そこで特公昭57−54613号公報や特
開平1−259793号公報に開示されている技術が知
られている。前者の場合は通電開始後所定時間経過する
までの間は比較的長時間間隔で励磁相を切換える。後者
の場合は励磁相が一巡するまでの間は励磁相の切換時間
間隔を長く保持する。これらの技術ではロータや物体等
を動かすのに充分なトルクが発生するように前記の励磁
相切換時間間隔を長く確保しており、長時間間隔で励磁
相を切換えている途中で同期が確保されるようにしてい
る。
Therefore, the techniques disclosed in Japanese Patent Publication No. 57-54613 and Japanese Patent Laid-Open No. 1-259793 are known. In the former case, the excitation phase is switched at relatively long intervals until a predetermined time has elapsed after the start of energization. In the latter case, the excitation phase switching time interval is kept long until the excitation phase completes one cycle. In these technologies, the excitation phase switching time interval is secured long so that sufficient torque is generated to move the rotor, object, etc., and synchronization is secured while switching the excitation phase at long intervals. I am trying to do it.

【0005】[0005]

【発明が解決しようとする課題】しかしながら、これら
の技術では、所定時間あるいは励磁相が一巡するまでの
間は長時間間隔で励磁相が切換えられてゆくため、その
間ステップモータの回転が高速化されない。そのため物
体を応答性良く移動させることが難しい。そこで本発明
では、通電開始時から物体やロータと励磁相の同期が確
保され、物体やロータと励磁相を同期させるために必要
とされていた低速初期通電状態、すなわち長時間間隔で
励磁相を切換えてゆく通電状態を不要とできるステップ
モータの制御装置を提案するものである。
However, in these techniques, the excitation phase is switched at a long time interval for a predetermined time or until the excitation phase completes one cycle, so that the rotation of the step motor is not speeded up during that period. . Therefore, it is difficult to move the object with good responsiveness. Therefore, in the present invention, the synchronization of the excitation phase with the object or the rotor is secured from the start of energization, and the low-speed initial energization state required for synchronizing the excitation phase with the object or the rotor, that is, the excitation phase is set at a long time interval. The present invention proposes a step motor control device that can eliminate the need for switching the energized state.

【0006】[0006]

【課題を解決するための手段】そのために本発明では、
図1(a) にその概念が模式的に示されているステップモ
ータの制御装置を創作した。このステップモータの制御
装置は、目標ステップ数指示信号Eに基づいて、基準位
置(例えばストッパAに当接する位置)側にばねB等で
付勢されている物体Cを移動させるステップモータDの
制御装置であり、前記物体Cの存在位置をこのステップ
モータDのステップ数で検出する物体位置検出手段G、
このステップモータDのステップ数変化に追従して順次
励磁相を切換えるステップ毎励磁相切換手段F、前記目
標ステップ数指示信号Eが前記物体Cを基準位置に復帰
させる基準位置復帰信号E1であるときに起動し、前記
物体位置検出手段Gによる検出値と前記ステップ毎励磁
相切換手段Fによる励磁相切換タイミングとから、前記
物体Cが励磁相の切換に同期して移動している状態が中
断されたか否かを判別する同期移動中断判別手段H、前
記同期移動中断判別手段Hによって中断が判別されたと
きに、その時のステップ数をカウントする中断時ステッ
プ数カウント手段I、前記同期移動中断判別手段Hによ
って通電停止時までに中断が判別されないときに、通電
停止時のステップ数を記憶する通電停止時ステップ数記
憶手段J、通電停止時とそれから所定時間経過後のステ
ップ数のずれをカウントするずれステップ数カウント手
段K、前記通電停止時ステップ数記憶手段Jの記憶ステ
ップ数と前記ずれステップ数カウント手段Kでカウント
されたステップ数とから前記所定時間経過後のステップ
数をカウントとする補正ステップ数カウント手段L、前
記同期移動中断判別手段Hで中断が判別されたときは前
記中断時ステップ数カウント手段Iのステップ数を、前
記同期移動中断判別手段Hで中断が判別されなかったと
きは前記補正ステップ数カウント手段Lのステップ数
を、次の通電再開時のステップ数として記憶する初期ス
テップ数記憶手段Mとを有している。
Therefore, according to the present invention,
We created a step motor controller whose concept is schematically shown in Fig. 1 (a). The control device for the step motor controls the step motor D based on the target step number instruction signal E to move the object C urged by the spring B or the like toward the reference position (for example, the position where the stopper A contacts). Object position detecting means G for detecting the existing position of the object C by the number of steps of the step motor D.
When the step-by-step excitation phase switching means F for sequentially switching the excitation phase following the step number change of the step motor D and the target step number instruction signal E is the reference position return signal E1 for returning the object C to the reference position Then, the state in which the object C is moving in synchronism with the switching of the excitation phase is interrupted from the detection value by the object position detecting means G and the excitation phase switching timing by the step-by-step excitation phase switching means F. Whether or not there is a synchronous movement interruption determining means H, when the interruption is determined by the synchronous movement interruption determining means H, an interruption step number counting means I that counts the number of steps at that time, the synchronous movement interruption determining means When the interruption is not determined by H before energization is stopped, the energization stop step number storage means J for storing the number of steps when energization is stopped, energization stop A deviation step number counting means K for counting deviations in time and a step number after a lapse of a predetermined time, the number of steps stored in the energization stop step number storage means J, and the number of steps counted by the deviation step number counting means K. When the interruption is determined by the correction step number counting means L and the synchronous movement interruption determination means H, the step number of the interruption step number counting means I is set to the synchronization step When the movement interruption determination means H does not determine the interruption, it has an initial step number storage means M for storing the number of steps of the correction step number counting means L as the number of steps when the energization is restarted next time.

【0007】[0007]

【作用】目標ステップ数指示信号Eの目標ステップ数
が、物体Cを基準位置(例えばストッパAに当接する位
置)に移動させるときのステップ数であると、すなわち
物体Cを基準位置に復帰させる信号E1であると、図1
(b) のMbあるいは図1(c) のMCに示すように、1励
磁相あたりの通電時間を長くしながら励磁相を切換え、
最長切換時間に達したらその励磁相での通電を最後とし
て通電を停止する。なお図1(b)(c)中の数字は励磁相の
切換時間間隔に対応する値であり、数が小さいときほど
切換時間間隔は長く、従ってステップモータの回転速度
が遅くなることになる。またレベル“0”が最長の切換
時間間隔である。これは通常スローダウン制御と呼ばれ
る。
When the target step number of the target step number instruction signal E is the step number when the object C is moved to the reference position (for example, the position where it abuts on the stopper A), that is, the signal for returning the object C to the reference position. If it is E1, FIG.
As shown by Mb in (b) or MC in FIG. 1 (c), the excitation phase is switched while the energization time per excitation phase is lengthened.
When the longest switching time is reached, the energization in that excitation phase is the last and the energization is stopped. The numbers in FIGS. 1 (b) and 1 (c) are values corresponding to the switching time intervals of the excitation phase. The smaller the number, the longer the switching time interval, and the slower the rotation speed of the step motor. The level "0" is the longest switching time interval. This is usually called slowdown control.

【0008】このスローダウン制御では、レベル“0”
となったときの励磁相に同期した位置にある物体Cがち
ょうど基準位置となるようにする。しかしながら、必ず
しも意図したとおりとならず、図1(b) に示すように物
体Cが基準位置に復帰する以前に通電が停止されたり、
あるいは図1(c) に示すように励磁相の切換途中で物体
Cが基準位置に復帰してしまうことが起る。
In this slowdown control, the level is "0".
Then, the object C located at the position synchronized with the excitation phase when becomes is exactly the reference position. However, this is not always what was intended, and as shown in FIG. 1 (b), the energization is stopped before the object C returns to the reference position,
Alternatively, as shown in FIG. 1C, the object C may return to the reference position during the switching of the excitation phase.

【0009】前者の場合は通電停止中に物体Cが移動
し、この移動量が励磁相の1/2巡相当量以上になる
と、通電停止時の励磁相で通電を再開しても、通電再開
時の最初の励磁相と物体位置が同期しない。後者の場合
は通電停止時の励磁相に対応する位置に至るよりも早く
物体の移動が禁止されているために、やはり通電停止時
の励磁相で通電を再開しても最初の励磁相と物体位置は
同期しない。
In the former case, the object C moves while the energization is stopped, and when the amount of movement is equal to or more than 1/2 cycle of the excitation phase, the energization is restarted even if the energization is resumed in the excitation phase when the energization is stopped. The first excitation phase and the object position are not synchronized. In the latter case, since the movement of the object is prohibited before reaching the position corresponding to the excitation phase when the energization is stopped, even if the energization is restarted in the excitation phase when the energization is stopped, the first excitation phase and the object The position is not synchronized.

【0010】本発明によると、基準位置復帰信号E1に
基づいてスローダウン制御が実行されると、同期移動中
断判別手段Hが起動され、物体Cが励磁相の切換えに同
期している状態かあるいはその状態が中断されたかを判
別する。図1(b) のように、通電停止時まで物体Cが自
由に動き得れば中断は生じない。一方図1(c) のように
通電停止以前に物体Cの動きが規制されれば中断が生じ
る。すなわち同期移動中断判別手段Hは図1(b) と図1
(c) のケース分けを実行する。
According to the present invention, when the slowdown control is executed on the basis of the reference position return signal E1, the synchronous movement interruption determining means H is activated and the object C is in a state of being synchronized with the switching of the excitation phase, or Determine if the state was interrupted. As shown in FIG. 1 (b), if the object C can move freely until the power supply is stopped, no interruption occurs. On the other hand, if the movement of the object C is restricted before the power supply is stopped as shown in FIG. 1 (c), the interruption occurs. That is, the synchronous movement interruption determining means H is shown in FIG.
Execute the case classification of (c).

【0011】この結果、図1(c) に示す“中断発生”の
ケースでは、中断時ステップ数カウント手段Iによっ
て、中断時のステップ数(図1(c) の場合スピードレベ
ル“1”のときのステップ数が相当する)が記憶され、
これが初期ステップ数記憶手段Mに記憶される。一方図
1(b) に示す“中断無”のケースでは、まず通電停止時
ステップ数記憶手段Jに通電停止時のステップ数が記憶
され、さらにずれステップ数カウント手段Kによってそ
の後のずれステップ数がカウントされる。ここでずれス
テップ数DSは図1(b) に示されているように、通電停
止時のステップ数と物体Cが基準位置になったときのス
テップ数のずれに等しい。そのために補正ステップ数カ
ウント手段Lによって、物体Cが基準位置に復帰したと
きに対応するステップ数がカウントされる。この場合は
このステップ数が初期ステップ数記憶手段Mに記憶され
る。
As a result, in the case of "interruption occurrence" shown in FIG. 1C, the interruption step number counting means I causes the number of steps at interruption (in the case of FIG. 1C, when the speed level is "1"). Is stored,
This is stored in the initial step number storage means M. On the other hand, in the case of "without interruption" shown in FIG. 1 (b), first, the number of steps when energization is stopped is stored in the energization stop step number storage means J, and the deviation step number after that is stored by the deviation step number counting means K. Is counted. Here, the deviation step number DS is equal to the deviation between the step number when the energization is stopped and the step number when the object C reaches the reference position, as shown in FIG. 1 (b). Therefore, the correction step number counting means L counts the number of steps corresponding to when the object C returns to the reference position. In this case, this step number is stored in the initial step number storage means M.

【0012】次回の通電開始時には、初期ステップ数記
憶手段Mに記憶されているステップ数に対応する励磁相
で通電が再開される。この励磁相は、図1(b) のNbあ
るいは図1(c) のNCに示されているように、基準位置
に復帰している物体と同期する関係となる。そこで本発
明によると、再通電開始時から物体と励磁相の同期が確
保されることになり、ステップモータをすばやく増速す
ることが可能となる。
At the next start of energization, energization is restarted in the excitation phase corresponding to the number of steps stored in the initial step number storage means M. This excitation phase is in a relationship of synchronizing with the object returning to the reference position, as indicated by Nb in FIG. 1 (b) or NC in FIG. 1 (c). Therefore, according to the present invention, the synchronization between the object and the excitation phase is secured from the start of reenergization, and the step motor can be speeded up quickly.

【0013】[0013]

【発明の効果】このため、本発明によるとステップモー
タをすばやく増速することができ、物体の位置を時間的
応答性よく追従させることができる。このため本発明を
スロットルバルブを開閉させるためのステップモータに
応用すると、エンジンの応答性が向上することになる。
As described above, according to the present invention, the stepping motor can be quickly accelerated and the position of the object can be tracked with good time responsiveness. Therefore, when the present invention is applied to the step motor for opening and closing the throttle valve, the response of the engine is improved.

【0014】[0014]

【実施例】図2は本発明をエンジンのトラクションコン
トロールシステムに適用した一実施例のシステム構成を
示している。図中2はエンジンを示し、その吸気管6に
メインスロットルバルブ8が組付けられている。メイン
スロットルバルブ8は図示しないアクセルペダルに機械
的に連携されており、アクセルペダルの踏込み量に対応
して回動する。吸気管6にはエンジン2のトラクション
コントロール用にサブスロットルバルブ12が組込まれ
ている。このサブスロットルバルブ12は図示しないば
ねによって全開位置に付勢されている。そして車輪にス
リップが発生すると吸気路6の通路面積を狭めてスリッ
プを解消するように用いられる。このサブスロットルバ
ルブ12はステップモータ10で回転される。すなわち
この実施例では、サブスロットルバルブ12がステップ
モータ10で移動される物体となっている。サブスロッ
トルバルブ12のシャフトにはスロットルセンサ4が取
付けられており、サブスロットルバルブ12の開度、す
なわちステップモータ10で移動される物体の存在位置
が検出可能となっている。
FIG. 2 shows a system configuration of an embodiment in which the present invention is applied to an engine traction control system. Reference numeral 2 in the figure denotes an engine, and a main throttle valve 8 is attached to an intake pipe 6 thereof. The main throttle valve 8 is mechanically linked to an accelerator pedal (not shown) and rotates according to the amount of depression of the accelerator pedal. A sub-throttle valve 12 is incorporated in the intake pipe 6 for traction control of the engine 2. The sub-throttle valve 12 is biased to the fully open position by a spring (not shown). When a wheel slips, it is used to reduce the passage area of the intake passage 6 and eliminate the slip. The sub-throttle valve 12 is rotated by the step motor 10. That is, in this embodiment, the sub throttle valve 12 is an object that is moved by the step motor 10. A throttle sensor 4 is attached to the shaft of the sub-throttle valve 12, and the opening degree of the sub-throttle valve 12, that is, the position where an object moved by the step motor 10 exists can be detected.

【0015】スロットルセンサ4の検出信号は入力イン
ターフェース24を介してCPU26に入力可能となっ
ている。この他アクセル開度を検出するセンサ14の検
出信号と車輪の速度を検出するセンサ16の検出信号も
入力インターフェース24を介してCPU26に入力可
能となっている。CPU26にはROM28とRAM3
0が接続され、マイクロコンピュータシステム20が形
成されている。この他CPU26には駆動回路22が接
続されており、この駆動回路22によってステップモー
タ10が駆動される。
The detection signal of the throttle sensor 4 can be input to the CPU 26 via the input interface 24. In addition, the detection signal of the sensor 14 for detecting the accelerator opening and the detection signal of the sensor 16 for detecting the wheel speed can be input to the CPU 26 via the input interface 24. The CPU 26 has a ROM 28 and a RAM 3
0 is connected to form a microcomputer system 20. In addition, a drive circuit 22 is connected to the CPU 26, and the step circuit 10 is driven by the drive circuit 22.

【0016】この実施例の場合、ステップモータ10は
4相タイプであり、これが1−2相励磁で用いられる。
すなわちステップモータ10の各相に対し、図3に示す
励磁相パターンに従って順に励磁相が切換えられてゆ
く。サブスロットルバルブ12を全開位置から閉じ側に
移動させるには励磁相パターンを7→…→0→7→…の
順に切換えてゆく。
In the case of this embodiment, the step motor 10 is of a four-phase type, which is used for 1-2 phase excitation.
That is, for each phase of the step motor 10, the excitation phase is sequentially switched according to the excitation phase pattern shown in FIG. In order to move the sub-throttle valve 12 from the fully opened position to the closed side, the excitation phase pattern is switched in the order of 7 → ... → 0 → 7 →.

【0017】この実施例ではCPU26に図4と図5の
処理を実行させるプログラムがROM28に記憶されて
いる。図4の処理は、アクセルの開度を検出するセンサ
14や車輪の速度を検出するセンサ16の値に基づいて
CPU26で計算されるサブスロットルバルブ12の目
標開度が現在の開度と異なったときに割込み実行され、
その後はステップS20やS9等でセットされる時間の
経過時毎に割込み実行されるように手配されている。
In this embodiment, a program for causing the CPU 26 to execute the processes of FIGS. 4 and 5 is stored in the ROM 28. In the processing of FIG. 4, the target opening of the sub-throttle valve 12 calculated by the CPU 26 based on the values of the sensor 14 for detecting the opening of the accelerator and the sensor 16 for detecting the speed of the wheels is different from the current opening. When interrupt is executed,
After that, it is arranged that an interrupt is executed every time the time set in steps S20, S9, etc. elapses.

【0018】次に図4の処理を説明するに先立ってその
処理で用いられるMSPDについて説明する。MSPD
は励磁相の切換時間間隔を定める値でレベル0から8ま
でのいずれかの値をとる。レベル0のとき切換時間間隔
は最も長く、ステップモータ10は最低速最大トルク状
態で駆動される。レベル8のとき切換時間間隔は最も短
く、ステップモータ10は最高速最小トルク状態で駆動
される。レベル0の時間間隔は、その励磁相に対応する
位置にロータや物体が動き得るかぎり、すなわち全開位
置を規制するストッパによってそれ以上の動きが禁止さ
れない限り、その励磁相に対応する位置にロータや物体
を移動させ得る時間間隔とされている。レベル2以上の
時間間隔は、物体やロータが同期していればその同期状
態を維持できるけれども、非同期のものを同期させるほ
どの時間間隔とされていない。これらのレベルは加速通
電中に用いられるレベルである。
Prior to describing the process of FIG. 4, the MSPD used in the process will be described. MSPD
Is a value that determines the switching time interval of the excitation phase, and takes any value from level 0 to level 8. When the level is 0, the switching time interval is the longest, and the step motor 10 is driven in the lowest speed and maximum torque state. At level 8, the switching time interval is the shortest, and the step motor 10 is driven in the maximum speed / minimum torque state. As long as the rotor and the object can move to the position corresponding to the excitation phase, that is, unless the stopper that restricts the fully open position prohibits further movement, the level 0 time interval corresponds to the position corresponding to the excitation phase. It is a time interval in which an object can be moved. The time intervals of level 2 and above are not so long as to synchronize non-synchronized objects, although the synchronized state can be maintained if the object and the rotor are synchronized. These levels are the levels used during accelerated energization.

【0019】さてサブスロットルバルブ12の目標開度
が現在の開度と異なったとき、図4の処理が最初に実行
される。このときはステップS1でチェック要求フラグ
が“1”か否か判別する。後述から明らかなように、チ
ェック要求フラグは通常“0”であり、目標開度と現在
開度が不一致となってステップモータ10を動かし始め
るときも“0”となっている。そこでこの場合はステッ
プS2に進む。
Now, when the target opening of the sub-throttle valve 12 is different from the current opening, the processing of FIG. 4 is first executed. At this time, it is determined in step S1 whether the check request flag is "1". As will be apparent from the description below, the check request flag is normally "0", and is also "0" when the target opening and the current opening do not match and the step motor 10 starts moving. Therefore, in this case, the process proceeds to step S2.

【0020】ステップS2は、目標ステップ数が基準ス
テップ数SINTであるか否かを判定する。ここで目標
ステップ数は、アクセルの開度センサ14や車輪の速度
センサ16の値に基づいてCPU26で演算されて求め
られる。この演算はCPU26で実行されるものの、そ
の演算プロセス自体はステップモータの制御と無関係で
あり、図4に示すステップモータの制御手順についてい
うと目標ステップ数は他の処理手順から指示されるもの
である。図1(a) に示される目標ステップ数指示信号E
は図4のステップS2またはS3で用いられる目標ステ
ップ数のデータを指示するものであり、この実施例の場
合は目標ステップ数もステップモータの制御を実行する
CPUと同一のCPU26で計算されるのである。また
基準ステップ数SINTは図1(b) のPbあるいは図1
(c) のPCに例示されるステップ数であり、サブスロッ
トルバルブ12を全開位置(基準位置)に復帰させるは
ずのステップ数である。ただし経年変化等に起因して基
準ステップ数SINTと基準位置が正確には対応しなく
なっていることも多い。この基準ステップ数SINT
は、後述のようにステップS13ないしS22で学習・
更新され、基準位置によく対応するステップ数となるよ
うに修正されている。
A step S2 decides whether or not the target number of steps is the reference number of steps SINT. Here, the target number of steps is calculated and calculated by the CPU 26 based on the values of the accelerator opening sensor 14 and the wheel speed sensor 16. Although this calculation is executed by the CPU 26, the calculation process itself is irrelevant to the control of the step motor, and as for the step motor control procedure shown in FIG. 4, the target number of steps is instructed by another processing procedure. is there. Target step number instruction signal E shown in FIG. 1 (a)
Indicates the data of the target number of steps used in step S2 or S3 of FIG. 4, and in the case of this embodiment, the target number of steps is also calculated by the same CPU 26 as the CPU that executes the control of the step motor. is there. The reference step number SINT is Pb in FIG. 1 (b) or FIG.
It is the number of steps exemplified in the PC of (c), and is the number of steps that should return the sub-throttle valve 12 to the fully open position (reference position). However, in many cases, the reference step number SINT and the reference position do not correspond accurately due to aging. This reference step number SINT
Learns in steps S13 to S22 as described below.
It has been updated and modified so that the number of steps corresponds well to the reference position.

【0021】ステップS2でイエスのときは目標ステッ
プ数がサブスロットルバルブ12を基準位置(全開位
置)に復帰させるステップ数である場合であり、基準位
置復帰信号E1が入力された場合に相当する。一方ノー
のときはサブスロットルバルブ12を所定の閉じ角とす
る場合に相当する。後者の場合には図4のステップS3
によって、指示されたステップ数となるようにステップ
モータ12を駆動する。このときの制御手順の詳細は図
5に示されている。そしてこれについては後述する。
When the result of step S2 is YES, the target number of steps is the number of steps for returning the sub-throttle valve 12 to the reference position (fully open position), and corresponds to the case where the reference position return signal E1 is input. On the other hand, the case of No corresponds to the case where the sub-throttle valve 12 is set to a predetermined closing angle. In the latter case, step S3 in FIG.
The step motor 12 is driven so that the specified number of steps is achieved. Details of the control procedure at this time are shown in FIG. This will be described later.

【0022】ステップS2がイエスのとき、すなわち基
準位置復帰信号E1が入力されている間は、ステップS
4に進む。ステップS4はステップモータ12の現在の
ステップ数STEPが所定値以上か否かを判別する。図
1(b)(c)に例示されているように、この実施例ではステ
ップ数STEPが大きいほどサブスロットルバルブ12
が大きく開く関係におかれている。また所定値としては
サブスロットルバルブ12が基準位置(全開位置)にご
く接近するはずのステップ数がとられている。より正確
にいうと、経年変化や部品公差を考慮してもなおこの所
定値以下のステップ数でサブスロットルバルブ12が全
開となってしまうということはないという条件下でとり
得る最大のステップ数とされている。
When step S2 is YES, that is, while the reference position return signal E1 is being input, step S2
Go to 4. A step S4 decides whether or not the current step number STEP of the step motor 12 is a predetermined value or more. As illustrated in FIGS. 1B and 1C, in this embodiment, the sub-throttle valve 12 increases as the step number STEP increases.
Have a large opening relationship. The predetermined value is the number of steps by which the sub-throttle valve 12 should be very close to the reference position (fully open position). To be more precise, the maximum number of steps that can be taken under the condition that the sub-throttle valve 12 will not be fully opened with the number of steps equal to or less than the predetermined value even if aging and component tolerance are taken into consideration. Has been done.

【0023】ステップS4でノーの間、すなわちまだサ
ブスロットルバルブ12が全開に近づかない間は、ステ
ップS5に進む。ステップS5は励磁相の切換時間間隔
を定めるスピードレベルMSPDのレベル値を決定する
ステップであり、現在のステップ数と目標ステップ数
(この場合全開位置にごく接近した所定値に相当するス
テップ数)の差が大きい間はステップS5が実行される
たびにスピードレベルMSPDを1ずつ増加させ(ただ
し前述のようにMSPDの最大値は8なので8に達した
ら8を維持する)、一方サブスロットルバルブ12が所
定値に近づいて現在のステップ数と所定値の差が小さく
なるとステップS5が実行されるたびにスピードレベル
MSPDを1ずつ減少させ、そして現在のステップ数と
所定値の差がゼロのとき丁度スピードレベルが“ゼロ”
となるようなMSPDの値を設定するのである。なおこ
れはスローアップ・スローダウン制御として知られてい
る技術であり、詳しい説明は省略する。
If the answer in step S4 is NO, that is, if the sub-throttle valve 12 has not yet approached full opening, the operation proceeds to step S5. Step S5 is a step of determining the level value of the speed level MSPD that determines the switching time interval of the excitation phase, and is the step number of the current step number and the target step number (in this case, the step number corresponding to a predetermined value that is very close to the fully open position). While the difference is large, the speed level MSPD is increased by 1 each time step S5 is executed (however, the maximum value of MSPD is 8 as described above, so 8 is maintained when 8 is reached), while the sub-throttle valve 12 When the difference between the current step number and the predetermined value becomes smaller as the value approaches the predetermined value, the speed level MSPD is decreased by 1 each time step S5 is executed, and when the difference between the current step number and the predetermined value is zero, the speed is just increased. Level is “zero”
The value of MSPD is set so that Note that this is a technique known as slow-up / slow-down control, and detailed description thereof will be omitted.

【0024】現在のステップ数が所定値未満の間は、ス
テップS5の処理の終了後ステップS6に進む。ステッ
プS6では現在のサブスロットルバルブ12の開度、す
なわちステップS8で実行する励磁よりも前のサブスロ
ットルバルブ12の開度をTAとして記憶する。そして
ステップSTEPを更新してSTEPという変数に現在
のステップ数が保存されるようにする。そしてその後ス
テップS8でステップ数STEPに応じた励磁相での励
磁を開始する。STEPの値はステップS7が実行され
るたびに1ずつ変化する。また励磁相はSTEPの値の
下位3ビットで定義されるためステップS8が実行され
るたびに図3の励磁相パターンが順に切換えられてゆ
く。すなわちステップS7とS8等によって、ステップ
毎に励磁相を順次切換えてゆく手段が構成されている。
If the current number of steps is less than the predetermined value, the process proceeds to step S6 after the process of step S5 is completed. In step S6, the current opening degree of the sub-throttle valve 12, that is, the opening degree of the sub-throttle valve 12 before the excitation executed in step S8 is stored as TA. Then, step STEP is updated so that the current number of steps is stored in a variable called STEP. Then, in step S8, the excitation in the excitation phase corresponding to the step number STEP is started. The value of STEP changes by one each time step S7 is executed. Since the excitation phase is defined by the lower 3 bits of the STEP value, the excitation phase pattern of FIG. 3 is sequentially switched every time step S8 is executed. That is, steps S7 and S8 and the like constitute a means for sequentially switching the excitation phase for each step.

【0025】ステップS8で1つの励磁相への通電が開
始されると、それからそのときのスピードレベルMSP
Dで決定される時間後に図4の処理が再度割込み処理さ
れるように手配し(ステップS9)、その励磁相への通
電を継続した状態で一旦処理を終了する。
When energization to one excitation phase is started in step S8, then the speed level MSP at that time is started.
After the time determined by D, the process of FIG. 4 is arranged to be interrupted again (step S9), and the process is temporarily terminated while the energization to the excitation phase is continued.

【0026】MSPDで決定された時間後に図4の処理
が再度実行されるが、そのときステップS4でノーのう
ちはステップS5,S7,S8の処理が繰返されてゆ
く。すなわち励磁相が順次切換えられ、さらに全開位置
に近づくにつれて切換時間間隔が徐々に引伸ばされてゆ
く。そしてこれを繰返しているうちにステップS4がイ
エスとなる。
After the time determined by the MSPD, the processing of FIG. 4 is executed again, but at that time, the processing of steps S5, S7, and S8 is repeated in the case of NO at step S4. That is, the excitation phases are sequentially switched, and the switching time interval is gradually extended as it approaches the fully open position. And while repeating this, step S4 becomes YES.

【0027】ステップS4でイエスとなると、すなわち
サブスロットルバルブ12が全開位置にごく接近する
と、ステップS10が実行される。ステップS10は現
在のスロットル開度と前回図4の処理を実行した際にス
テップS6で記憶された前回のスロットル開度の差を所
定値と比較するものであり、ここで所定値としては励磁
相を1相分切換えたときの開度変化量の1/2程度とさ
れている。すなわち前回図4の処理を実行したときにス
テップS8で実行された励磁によって、サブスロットル
バルブ12がその励磁相の切換えに同期して回転してい
ればステップS10がイエスとなり、サブスロットルバ
ルブ12が励磁相の切換に追従していなければノーとな
る。すなわちこのステップS10は、物体の同期移動が
維持されているかあるいは中断されたのかを判別する処
理を実行するものであり、同期移動中断判別手段Hに相
当するものである。
If the answer in step S4 is YES, that is, if the sub-throttle valve 12 is very close to the fully open position, step S10 is executed. In step S10, the difference between the current throttle opening and the previous throttle opening stored in step S6 when the processing of FIG. 4 is executed last time is compared with a predetermined value. Here, the predetermined value is the excitation phase. Is about 1/2 of the opening change amount when one phase is switched. That is, if the sub-throttle valve 12 is rotating in synchronism with the switching of its excitation phase due to the excitation executed in step S8 when the processing of FIG. 4 was executed last time, step S10 becomes YES and the sub-throttle valve 12 is turned on. If it does not follow the switching of the excitation phase, it will be NO. That is, this step S10 executes a process for judging whether the synchronous movement of the object is maintained or interrupted, and corresponds to the synchronous movement interruption judging means H.

【0028】ステップS10がノーのとき、すなわち同
期移動中断判別手段Hで“中断有”が判別されたときに
は(図1(c) のケースがそれに相当する)、ステップS
13で現在のステップ数すなわち中断時のステップ数S
TEPを呼出し(この工程が中断時ステップ数カウント
手段Iに相当する)、これを基準ステップ数SINTに
入力する。ここでSINTの値は後述の図5のステップ
S306で理解されるように、次の通電再開時の最初の
励磁相を決定するステップ数であり、変数SINTが次
の通電再開時のステップ数を記憶しておく初期ステップ
数記憶手段Mとして活用されている。次にステップS1
4で学習済であることを示すフラグに“1”をセット
し、ステップS15で通電を停止し、ステップS16で
割込み不許可としておく。この状態となると、次に現在
のステップ数と目標ステップ数が不一致となるまで図4
の処理は実行されない。
When the step S10 is NO, that is, when the synchronous movement interruption judging means H judges "the interruption is present" (the case of FIG. 1C corresponds to that case), the step S
13, the current number of steps, that is, the number of steps S at the time of interruption
The TEP is called (this step corresponds to the step number counting means I at the time of interruption), and this is input to the reference step number SINT. Here, the value of SINT is the number of steps for determining the first excitation phase at the time of restarting the next energization, and the variable SINT indicates the number of steps at the time of restarting the next energization, as will be understood in step S306 in FIG. 5 described later. It is utilized as the initial step number storage means M to be stored. Next step S1
In step 4, the flag indicating that learning has been completed is set to "1", the energization is stopped in step S15, and the interrupt is disabled in step S16. In this state, until the current step number and the target step number do not match,
Is not executed.

【0029】さて図1(b) に例示したような場合、ステ
ップS10がノーとなることはない。そこでこの場合、
ステップS11が実行される。ステップS11では現在
のステップ数が基準ステップ数に一致したか否かを判別
するものであり、ノーの間はステップS12でスピード
レベルMSPDをゼロとし、励磁相の切換時間間隔を最
長にする。そしてこの状態でステップS7,S8等を実
行し、最低速で現実のステップ数が目標ステップ数とな
るようにする。処理を繰返しているうちにステップS1
1がイエスとなる。この場合は、図1(b) に示すように
サブスロットルバルブ12が全開とされないうちに、基
準ステップ数となってしまった場合であり、そのずれ分
を算出する必要がある場合である。そこでずれステップ
数をチェックする必要のあることを示すフラグに“1”
をセットし(ステップS18)、通電を停止し(ステッ
プS19)、そして所定時間後に図4の処理が再度実行
されるようにする(ステップS20)。ここでこの所定
時間は図1(b) に示すように、基準ステップ数にまで回
動したサブスロットルバルブ12がばね力によって全開
位置にまで開かれるに必要な時間とされている。なお通
電停止に先立って現在のスロットル開度がTAに保存さ
れるようにしている(ステップS17)。これは通電停
止時ステップ数記憶手段Jの具体例に相当する。
In the case shown in FIG. 1 (b), step S10 does not become negative. So in this case,
Step S11 is executed. In step S11, it is determined whether or not the current number of steps matches the reference number of steps. While the determination is NO, the speed level MSPD is set to zero and the excitation phase switching time interval is maximized in step S12. Then, in this state, steps S7, S8, etc. are executed so that the actual number of steps becomes the target number of steps at the lowest speed. While repeating the process, step S1
1 becomes yes. In this case, as shown in FIG. 1 (b), the reference step number is reached before the sub-throttle valve 12 is fully opened, and it is necessary to calculate the deviation. Therefore, "1" is added to the flag indicating that it is necessary to check the number of deviation steps.
Is set (step S18), the energization is stopped (step S19), and the process of FIG. 4 is executed again after a predetermined time (step S20). Here, this predetermined time is the time required for the sub-throttle valve 12 rotated to the reference step number to be opened to the fully open position by the spring force, as shown in FIG. 1 (b). The current throttle opening is stored in TA prior to the stop of energization (step S17). This corresponds to a concrete example of the step number storage means J when the energization is stopped.

【0030】さてこの時間が経過すると、次に図4の処
理が実行されるときにはステップS1がイエスとなる。
このときは前回図4の処理を実行したときにステップS
17で記憶したスロットル開度(これはステップ数を単
位として検出されている)と、サブスロットルバルブ1
2が全開位置に移動したあとの開度と差を求めこれをD
Sとする(ステップS21)。このようにして算出され
るDSは、通電停止時と、通電停止時から所定時間経過
してサブスロットルバルブ12が全開位置となったとき
のステップ数のずれに相当するものであり、ステップS
21がずれステップ数カウント手段Kに相当する。
After this time has elapsed, step S1 becomes YES when the process of FIG. 4 is executed next.
In this case, when the process of FIG. 4 was executed last time, step S
The throttle opening stored in 17 (this is detected by the number of steps) and the sub-throttle valve 1
2. Find the difference from the opening after moving 2 to the fully open position and set this to D
S (step S21). The DS calculated in this manner corresponds to a difference in the number of steps between when the energization is stopped and when the sub-throttle valve 12 is in the fully open position after a predetermined time has passed since the energization was stopped.
21 corresponds to the deviation step number counting means K.

【0031】次に通電停止時のステップ数STEPにD
Sを加え、これを新たな基準ステップ数SINTとして
記憶する(ステップS22)。ステップS22のうち右
辺の加算工程が補正ステップ数カウント手段Lに相当
し、これを基準ステップ数SINTに記憶させることで
初期ステップ数記憶手段Mに補正済みの基準ステップ数
が記憶されることになる。
Next, D is added to the step number STEP when the energization is stopped.
S is added and stored as a new reference step number SINT (step S22). The addition step on the right side of step S22 corresponds to the corrected step number counting means L, and by storing this in the reference step number SINT, the corrected reference step number is stored in the initial step number storage means M. .

【0032】以上の処理の終了後、基準ステップ数SI
NTが更新済みであることを示すフラグに“1”をセッ
トし(ステップS23)、チェック要求フラグを“0”
に復帰させ(ステップS24)、そして割込みを不許可
とする(ステップS25)。この結果図4の処理は現在
ステップ数と目標ステップ数が不一致となるまで一旦処
理が中止される。
After the above processing is completed, the reference step number SI
"1" is set to the flag indicating that NT has been updated (step S23), and the check request flag is "0".
(Step S24), and the interruption is not permitted (step S25). As a result, the process of FIG. 4 is temporarily suspended until the current number of steps and the target number of steps do not match.

【0033】さてこのようにしてサブスロットルバルブ
12が全開位置に復帰したあと車輪がスリップし始める
とサブスロットルバルブ12の目標開度は閉じたステッ
プ数となる。そのため図4の処理が再度実行される。こ
のときはステップS1もノー、ステップS2もノーとな
りステップS3が実行される。このステップS3の詳細
が図5に示されている。
When the wheels begin to slip after the sub-throttle valve 12 returns to the fully open position in this way, the target opening degree of the sub-throttle valve 12 becomes the closed step number. Therefore, the process of FIG. 4 is executed again. At this time, step S1 is NO, step S2 is NO, and step S3 is executed. The details of this step S3 are shown in FIG.

【0034】ステップS301は、サブスロットルバル
ブ12が全開位置に復帰してステップモータへの通電が
停止されている状態で通電を再開するのか、あるいはす
でに通電が開始されているのかを判別する。スリップが
発生してトラクションコントロールを開始するときはイ
エスとなる。次にステップS302で学習済フラグが
“1”か否か判定する。学習済フラグは図4のステップ
S14とS23で“1”にセットされている。すなわち
ステップS13とS22によって、基準ステップ数SI
NTが学習の結果更新されたときに“1”未学習のうち
は“0”となっている。学習済であればカウンタSCN
Tをゼロとし、未学習のときはSCNTを7とする(ス
テップS303と304)。次にMSPDにゼロをセッ
トし(ステップS305)、一相あたりの通電時間を最
長とする。次にステップ数を基準ステップ数SINTと
する(ステップS306)。そしてそのステップ数に応
じた励磁相を決定して通電を開始し(ステップS31
2)、スピードレベルMSPD(この場合はゼロ)に対
応する時間の後は図5の処理が再度実行されるようにす
る。この結果基準ステップ数SINTが更新されていれ
ば、最初の励磁相でサブスロットルバルブ12と励磁相
が同期した状態となる。
In step S301, it is determined whether energization is resumed while the sub-throttle valve 12 is returned to the fully open position and energization of the step motor is stopped, or energization has already been started. Yes when slip occurs and traction control starts. Next, in step S302, it is determined whether the learned flag is "1". The learned flag is set to "1" in steps S14 and S23 of FIG. That is, the reference number of steps SI is determined by steps S13 and S22.
When NT is updated as a result of learning, "1" is "0" among unlearned. Counter SCN if learned
T is set to zero, and SCNT is set to 7 when unlearned (steps S303 and 304). Next, MSPD is set to zero (step S305) to maximize the energization time per phase. Next, the number of steps is set as the reference number of steps SINT (step S306). Then, the excitation phase corresponding to the number of steps is determined, and energization is started (step S31
2) After the time corresponding to the speed level MSPD (zero in this case), the processing of FIG. 5 is executed again. As a result, if the reference step number SINT has been updated, the sub-throttle valve 12 and the excitation phase are synchronized with each other in the first excitation phase.

【0035】MSPD=0に対応する時間が経過すると
図5の処理が再度実行される。このときはステップS3
01がノーとなり、またステップS307はステップS
304が実行されたときにのみノーとなる。すなわち未
学習の基準ステップ数SINTを用いて通電を再開した
ときにのみステップS308,309が実行され、その
他のときはステップS310が実行される。ステップS
308は低速初期通電を実行するためにスピードレベル
を“1”に維持するものである。そしてステップS30
9と307によってスピードレベル“1”での励磁が7
回繰返されることになる。ここでスピードレベル“1”
の励磁はサブスロットルバルブ12を回転させるに充分
なトルクが発生する状態であり、たとえ基準ステップ数
SINTがずれていてもスピードレベル“1”の励磁を
7回繰返していればその間に同期が確保されるようにし
ている。すなわち未学習のSINTに対しては従来の技
術と同様の低速初期通電を実行するのである。
When the time corresponding to MSPD = 0 has elapsed, the processing of FIG. 5 is executed again. In this case, step S3
01 is NO, and step S307 is step S307.
No only if 304 is executed. That is, steps S308 and 309 are executed only when the energization is restarted using the unlearned reference step number SINT, and in other cases, step S310 is executed. Step S
308 is to maintain the speed level at "1" in order to execute the low-speed initial energization. And step S30
Excitation at speed level “1” is 7 by 9 and 307
It will be repeated. Here, speed level "1"
Excitation is a state in which a sufficient torque is generated to rotate the sub-throttle valve 12, and even if the reference step number SINT is deviated, synchronization is secured during the excitation of the speed level "1" seven times. I am trying to do it. That is, the unlearned SINT is subjected to the low-speed initial energization similar to the conventional technique.

【0036】ステップS303が実行されたあと、すな
わちSINTが学習済である場合、ステップS307が
最初からイエスとなり、ステップS308はスキップさ
れる。そのかわりにステップS310が実行される。ス
テップS310は図4のステップS5と同様のものであ
り、スローアップ・スローダウン制御を行なう。
After step S303 is executed, that is, when SINT has been learned, step S307 becomes YES from the beginning, and step S308 is skipped. Instead, step S310 is executed. Step S310 is similar to step S5 of FIG. 4, and performs slow-up / slow-down control.

【0037】この処理の結果、 (1) 基準ステップ数SINTが学習されていれば、再通
電開始時にそのSINTで決まる励磁相で通電を開始
し、その直後から加速してゆく。 (2) 一方基準ステップ数SINTが未学習であると、予
め定められている基準ステップ数SINTで決まる励磁
相で通電を開始し、その後励磁相が一巡するまで低速初
期通電を実行し、その後に加速してゆくことになる。
As a result of this processing, (1) If the reference step number SINT has been learned, energization is started in the excitation phase determined by the SINT when reenergization is started, and acceleration is started immediately thereafter. (2) On the other hand, if the reference step number SINT is unlearned, energization is started in the excitation phase determined by the predetermined reference step number SINT, then low-speed initial energization is executed until the excitation phase completes one cycle, and then It will accelerate.

【0038】図6と図7はこの実施例に従うときの励磁
相変化を示しており、いずれも基準ステップ数SINT
が学習済の場合である。図6は図1(c) に相当する場合
であり、基準ステップ数SINTが学習して更新されて
いないと、低速初期通電期間中のQの励磁相で始めてサ
ブスロットルバルブ12が動き始め、低速初期通電が終
了するタイミングR以降やっとモータが加速されてゆく
のに対し、基準ステップ数SINTが学習されていると
その直後から同期が確保され、ただちに加速されてゆ
く。
FIG. 6 and FIG. 7 show changes in the excitation phase according to this embodiment, both of which are the reference step number SINT.
This is the case when has been learned. FIG. 6 is a case corresponding to FIG. 1 (c). If the reference step number SINT has not been learned and updated, the sub-throttle valve 12 starts to move at the excitation phase of Q during the low speed initial energization period, and the low speed After the timing R at which the initial energization ends, the motor is finally accelerated, whereas when the reference step number SINT is learned, synchronization is secured immediately after that and the motor is immediately accelerated.

【0039】一方図7は図1(b) に相当する場合であ
り、この場合は従来の技術でも最初の励磁相でサブスロ
ットルバルブの同期状態が得られる。しかしながらこの
場合比較的大きくサブスロットルバルブを動かして同期
を得る必要があり、最初の励磁相の通電時間、すなわち
MSPD=0に相当する時間を長く必要とする(図中こ
れがO(old)として例示されている)。
On the other hand, FIG. 7 shows a case corresponding to FIG. 1 (b). In this case, in the conventional technique, the sub-throttle valve can be synchronized in the first excitation phase. However, in this case, it is necessary to move the sub-throttle valve relatively large to obtain synchronization, and the energization time of the first excitation phase, that is, the time corresponding to MSPD = 0 is required to be long (this is illustrated as O (old) in the figure. Has been).

【0040】これに対し、本実施例によると基準ステッ
プ数SINTが学習されて更新されているために、サブ
スロットルバルブは僅かに動くだけで同期状態となるこ
とが保障されており、最初の励磁相の通電時間も短くて
すむ(これが0として記載されている)。この他当然低
速初期通電の有無も異なる。このようにして本実施例に
よると、無駄に初期通電することなく、いちはやく同期
状態を得てステップモータが加速されてゆくことにな
り、サブスロットルバルブの応答性が大幅に向上され
る。
On the other hand, according to the present embodiment, since the reference step number SINT is learned and updated, it is guaranteed that the sub-throttle valve will be in the synchronized state even if the sub-throttle valve is slightly moved. The energization time of the phase is also short (this is described as 0). In addition to this, naturally, the presence or absence of low-speed initial energization also differs. In this way, according to the present embodiment, the step motor is accelerated with the synchronous state quickly obtained without unnecessary initial energization, and the responsiveness of the sub-throttle valve is greatly improved.

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

【図1】本発明の概念を模式的に示す図FIG. 1 is a diagram schematically showing the concept of the present invention.

【図2】実施例のシステム構成を示す図FIG. 2 is a diagram showing a system configuration of an embodiment.

【図3】励磁相パターンを示す図FIG. 3 is a diagram showing an excitation phase pattern.

【図4】処理手順を示す図FIG. 4 is a diagram showing a processing procedure.

【図5】処理手順の一部の詳細を示す図FIG. 5 is a diagram showing details of part of a processing procedure.

【図6】処理結果の一例を示す図FIG. 6 is a diagram showing an example of a processing result.

【図7】処理結果の他の例を示す図FIG. 7 is a diagram showing another example of the processing result.

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

D:ステップモータ E:目標ステップ数指示信号 E1:基準位置復帰信号 F:ステップ毎励磁相切換手段 G:物体位置検出手段 H:同期移動中断判別手段 I:中断時ステップ数カウント手段 J:通電停止時ステップ数記憶手段 K:ずれステップ数カウント手段 L:補正ステップ数カウント手段 M:初期ステップ数記憶手段 D: Step motor E: Target step number instruction signal E1: Reference position return signal F: Step-by-step excitation phase switching means G: Object position detection means H: Synchronous movement interruption determination means I: Interruption step number counting means J: Energization stop Hour step number storage means K: Deviation step number count means L: Corrected step number count means M: Initial step number storage means

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 目標ステップ数指示信号に基づいて、基
準位置側に付勢されている物体を移動させるステップモ
ータの制御装置であり、 前記物体の存在位置をこのステップモータのステップ数
で検出する物体位置検出手段、 このステップモータのステップ数変化に追従して順次励
磁相を切換えるステップ毎励磁相切換手段、 前記目標ステップ数指示信号が前記物体を基準位置に復
帰させる基準位置復帰信号であるときに起動し、前記物
体位置検出手段による検出値と前記ステップ毎励磁相切
換手段による励磁相切換タイミングとから、前記物体が
励磁相の切換に同期して移動している状態が中断された
か否かを判別する同期移動中断判別手段、 前記同期移動中断判別手段によって中断が判別されたと
きに、その時のステップ数をカウントする中断時ステッ
プ数カウント手段、 前記同期移動中断判別手段によって通電停止時までに中
断が判別されないときに、通電停止時のステップ数を記
憶する通電停止時ステップ数記憶手段、 通電停止時とそれから所定時間経過後のステップ数のず
れをカウントするずれステップ数カウント手段、 前記通電停止時ステップ数記憶手段の記憶ステップ数と
前記ずれステップ数カウント手段でカウントされたステ
ップ数とから前記所定時間経過後のステップ数をカウン
トとする補正ステップ数カウント手段、 前記同期移動中断判別手段で中断が判別されたときは前
記中断時ステップ数カウント手段のステップ数を、前記
同期移動中断判別手段で中断が判別されなかったときは
前記補正ステップ数カウント手段のステップ数を、次の
通電再開時のステップ数として記憶する初期ステップ数
記憶手段、 とを有することを特徴とするステップモータの制御装
置。
1. A step motor control device for moving an object urged toward a reference position based on a target step number instruction signal, wherein the existing position of the object is detected by the step number of the step motor. Object position detection means, step-by-step excitation phase switching means for sequentially switching the excitation phase following changes in the step number of the step motor, when the target step number instruction signal is a reference position return signal for returning the object to the reference position Whether the state in which the object is moving in synchronism with the switching of the excitation phase is interrupted based on the detection value by the object position detection means and the excitation phase switching timing by the step-by-step excitation phase switching means. And a synchronous movement interruption determining means for determining whether the interruption is determined by the synchronous movement interruption determining means, and counts the number of steps at that time. An interruption step number counting means, an energization step number storage means for storing the number of steps when the energization is stopped when the interruption is not determined by the synchronous movement interruption determination means before the energization is stopped, when the energization is stopped and for a predetermined time Deviation step number counting means for counting deviation of step number after elapse, step after the predetermined time has elapsed from the number of steps stored in the energization stop step number storage means and the number of steps counted by the deviation step number counting means A correction step number counting means for counting the number, when the synchronous movement interruption determining means determines interruption, the step number of the interruption step number counting means is not determined by the synchronous movement interruption determining means. In this case, the step number of the correction step number counting means is set to Initial step number storage means for storing as a flop number, the control device of the stepping motor and having a city.
JP3131993A 1993-01-27 1993-01-27 Controller for stepping motor Pending JPH06225592A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3131993A JPH06225592A (en) 1993-01-27 1993-01-27 Controller for stepping motor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3131993A JPH06225592A (en) 1993-01-27 1993-01-27 Controller for stepping motor

Publications (1)

Publication Number Publication Date
JPH06225592A true JPH06225592A (en) 1994-08-12

Family

ID=12327958

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3131993A Pending JPH06225592A (en) 1993-01-27 1993-01-27 Controller for stepping motor

Country Status (1)

Country Link
JP (1) JPH06225592A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0752755A1 (en) * 1995-07-06 1997-01-08 Unisia Jecs Corporation Stepping motor driving method
CN103195597A (en) * 2013-04-07 2013-07-10 奇瑞汽车股份有限公司 Method and device for controlling self-learning of stepping motor
CN113054879A (en) * 2021-03-26 2021-06-29 深圳市大富智慧健康科技有限公司 Speed control method of stepping motor and related equipment

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0752755A1 (en) * 1995-07-06 1997-01-08 Unisia Jecs Corporation Stepping motor driving method
CN103195597A (en) * 2013-04-07 2013-07-10 奇瑞汽车股份有限公司 Method and device for controlling self-learning of stepping motor
CN113054879A (en) * 2021-03-26 2021-06-29 深圳市大富智慧健康科技有限公司 Speed control method of stepping motor and related equipment
CN113054879B (en) * 2021-03-26 2023-02-03 深圳市大富智慧健康科技有限公司 Speed control method of stepping motor and related equipment

Similar Documents

Publication Publication Date Title
JP2922752B2 (en) Step motor drive controller
JPH06225592A (en) Controller for stepping motor
JPH06106965A (en) Control device for automobile air-conditioner
JPH06225596A (en) Controller for stepping motor
JPH05163988A (en) Control device for throttle valve
JPH07174041A (en) Fuel supply controller of internal combustion engine
JP3148449B2 (en) Step motor control device
JPH07269603A (en) Rat-tooth type electromagnetic clutch synchronizing method and device, and throttle controller
JP3210073B2 (en) Step motor control device
JP3053964B2 (en) Step motor control method
JP3020713B2 (en) Stepping motor driving method and device
JPH06101551A (en) Method for initializing control valve driven by stepper motor
JP2004124802A (en) Control device for automatic transmission
JP3802576B2 (en) Method and apparatus for controlling a drive unit of a vehicle
JPH06233594A (en) Controller of stepping motor
JP3006233B2 (en) Throttle valve drive for internal combustion engine
KR102529453B1 (en) Method for CVVD Location Learning Control Based on Variable Duty and CVVD System Thereof
JP2009281359A (en) Control device for internal combustion engine
JP3201285B2 (en) Fuel injection timing adjustment device for fuel injection device
JPH10337094A (en) Controller of step motor
EP0952318A2 (en) Apparatus and method for driving a valve with a stepping motor
JP4120213B2 (en) Vehicle driving force control device
JPH0717302A (en) Controller or automatic transmission
JP3203697B2 (en) Electronic governor control device
JPH06343298A (en) Stepping motor controller