JPH06343296A - Stepping motor controller - Google Patents

Stepping motor controller

Info

Publication number
JPH06343296A
JPH06343296A JP15108093A JP15108093A JPH06343296A JP H06343296 A JPH06343296 A JP H06343296A JP 15108093 A JP15108093 A JP 15108093A JP 15108093 A JP15108093 A JP 15108093A JP H06343296 A JPH06343296 A JP H06343296A
Authority
JP
Japan
Prior art keywords
step motor
stepping motor
target value
resonance
set target
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.)
Granted
Application number
JP15108093A
Other languages
Japanese (ja)
Other versions
JP3213121B2 (en
Inventor
Katsumi Ishida
克己 石田
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 JP15108093A priority Critical patent/JP3213121B2/en
Publication of JPH06343296A publication Critical patent/JPH06343296A/en
Application granted granted Critical
Publication of JP3213121B2 publication Critical patent/JP3213121B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Control Of Throttle Valves Provided In The Intake System Or In The Exhaust System (AREA)
  • Control Of Stepping Motors (AREA)

Abstract

PURPOSE:To provide a stepping motor controller which makes damping hardly occur when a stepping motor shuts down. CONSTITUTION:A stepping motor controller 17 is provided with a program 24 for sampling of a set target value, a stepping motor accelerating and reducing program 25 which calculates a difference between the set target value and a current position of a stepping motor 15 and then accelerates or reduces the stepping motor 15 according to the calculated difference and stops the stepping motor 15 at the set target value, and a driving time countering program 29 which counters the driving time CMOVE of the stepping motor 15. This controller also has a resonance discrimination program 27 which discriminates that resonance occurs when the driving time CMOVE agrees with a multiple of a cycle which corresponds to a natural frequency of a driving system of the stepping motor and a reverse phase excitation program 28 which conducts reverse-phase excitation for stopping the stepping motor when it is discriminated that resonance occurs.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、ステップモータの目標
停止位置が変化するときに、変化する目標停止位置に速
やかにステップモータを加減速制御するステップモータ
制御装置に関し、さらに詳細には、ステップモータを設
定目標値で停止させるときに、加減速により発生する振
動を軽減できるステップモータ制御装置に関するもので
ある。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a step motor control device for rapidly accelerating and decelerating a step motor to a changing target stop position when the step motor target stop position changes. The present invention relates to a step motor control device capable of reducing vibration generated by acceleration / deceleration when stopping a motor at a set target value.

【0002】[0002]

【従来の技術】近年、自動車エンジンのスロットルバル
ブをステップモータにより電子的に制御する方法が実施
され、自動車においてもステップモータの駆動および停
止を制御するためのステップモータ制御装置が広く使用
されている。ここで、スロットルバルブの開閉量をアク
セルの踏み込み量に追従して制御する必要があるため、
ステップモータ制御装置は、アクセルの踏み込み量をポ
テンショメータ等でアナログデータとして計測し、その
ポテンショメータの計測値を一定間隔でサンプリングし
A/D変換して目標値とし、その目標値に応じてステッ
プモータの停止位置を制御することにより、スロットル
バルブの開閉量を制御している。
2. Description of the Related Art In recent years, a method of electronically controlling a throttle valve of an automobile engine by a step motor has been implemented, and a step motor control device for controlling driving and stopping of the step motor is widely used in automobiles. . Here, since it is necessary to control the opening / closing amount of the throttle valve by following the depression amount of the accelerator,
The step motor control device measures the amount of depression of the accelerator as analog data with a potentiometer or the like, samples the measured value of the potentiometer at a constant interval, A / D-converts the target value, and sets the step motor according to the target value. By controlling the stop position, the opening / closing amount of the throttle valve is controlled.

【0003】一般に、ステップモータの制御装置は、ス
テップモータの目標停止位置まで、ステップモータを適
宜増速し、設定目標値が近づくと減速し、また停止時に
発生するダンピングを軽減することにより正確かつ迅速
にステップモータを停止する方法が行われている。すな
わち、ステップモータを停止させるときに発生するダン
ピングを軽減する方法として、例えば、次の方法が提案
されている。特開平1−91699号公報には、ステッ
プモータを停止させるときに目標ステップに供給する電
流を一時的に遮断する方法が開示されている。また、特
開昭61−94590号公報には、目標ステップの直前
ステップに供給する電流を一時的に遮断する方法が開示
されている。また、特開昭62−16095号公報に
は、目標ステップで一時的に逆相を励磁する方法が開示
されている。
Generally, a control device for a step motor accurately and accurately accelerates the step motor to a target stop position of the step motor, decelerates when the set target value approaches, and reduces damping generated at the time of stop. A method for quickly stopping the step motor is used. That is, for example, the following method has been proposed as a method for reducing damping that occurs when the step motor is stopped. Japanese Patent Laid-Open No. 1-91699 discloses a method of temporarily interrupting the current supplied to the target step when stopping the step motor. Further, Japanese Patent Laid-Open No. 61-94590 discloses a method of temporarily interrupting the current supplied to the step immediately before the target step. Further, Japanese Patent Application Laid-Open No. 62-16095 discloses a method of temporarily exciting a reverse phase at a target step.

【0004】[0004]

【発明が解決しようとする課題】しかしながら、従来の
ステップモータ制御装置には、次に示すような問題があ
った。すなわち、スロットルバルブの開閉を調節するス
テップモータの制御装置においては、アクセルの踏み込
み量を計測するポテンショメータを一定のサンプリング
時間毎にサンプリングして、ステップモータをサンプリ
ングした目標値に近づけ、目標値が一定になったときに
ステップモータを停止させる制御を行っている。そし
て、ステップモータを速やかに目標値に回転させるため
に、回転の開始時に急速に加速し、目標値に近づいたと
きに減速する加減速サイクルを行う制御が通常行われて
いる。そのため、ステップモータの加減速サイクルによ
り、スロットルバルブを含むステップモータの駆動系で
うねり振動を発生している。
However, the conventional step motor control device has the following problems. That is, in a step motor control device that adjusts the opening and closing of a throttle valve, a potentiometer that measures the amount of depression of the accelerator is sampled at regular sampling times to bring the step motor close to the sampled target value, and the target value is constant. Is controlled to stop the step motor. Then, in order to quickly rotate the step motor to the target value, control is usually performed to perform an acceleration / deceleration cycle in which the rotation speed is accelerated at the start of rotation and decelerated when approaching the target value. Therefore, due to the acceleration / deceleration cycle of the step motor, swell vibration is generated in the drive system of the step motor including the throttle valve.

【0005】しかし、従来のステップモータの停止時の
制御では、うねり振動の有無が考慮されていなかったた
め、ステップモータを停止するときのうねり振動の状態
によっては、ダンピングを軽減するために行った方法に
より、逆にダンピングを強めてしまう場合があった。そ
の一具体例を図7の(a)に示す。図中Mは、アクセル
の踏み込み量をポテンショメータでアナログデータとし
て計測し、一定のサンプリング時間Aでサンプリングし
て、A/D変換した目標値を示している。Pは、ステッ
プモータの現在あるステップを示している。またMSP
Dは、ステップモータに与えられる駆動パルスの条件を
示し、具体的には、駆動周波数および励磁時間として与
えられる。ここで、ステップモータに与えられる駆動周
波数、およびその励磁時間は、ステップモータの現在位
置と目標値との差より、例えば、図5に示すようなテー
ブルを用いて与えられる。
However, in the conventional control when the step motor is stopped, the presence or absence of the swell vibration is not taken into consideration. Therefore, depending on the state of the swell vibration when the step motor is stopped, a method for reducing the damping is performed. On the contrary, in some cases, the damping may be strengthened. One specific example is shown in FIG. In the figure, M indicates a target value obtained by measuring the amount of depression of the accelerator as analog data with a potentiometer, sampling for a fixed sampling time A, and A / D converting. P indicates the current step of the step motor. Also MSP
D represents the condition of the drive pulse applied to the step motor, and is specifically given as the drive frequency and the excitation time. Here, the drive frequency given to the step motor and its excitation time are given from the difference between the current position of the step motor and the target value, for example, using a table as shown in FIG.

【0006】すなわち、Mが変化すると、ステップモー
タの現在位置と目標値との差MAをなくす方向に、ステ
ップモータがMSPD=1,2,3と順次加速される。
そして、ステップモータの現在位置が目標値に近づくと
停止時の振動を減少させるためにステップモータは、M
SPD=2,1と順次減速される。このときステップモ
ータが駆動されている時間Aは、図5のテーブルによ
り、MSPD=1の励磁時間が2.000ms、MSP
D=2の励磁時間が1.429ms、MSPD=3の励
磁時間が1.186msであるから、合計A=8.04
4msである。
That is, when M changes, the step motor is sequentially accelerated to MSPD = 1, 2, 3, in the direction of eliminating the difference MA between the current position of the step motor and the target value.
Then, when the current position of the step motor approaches the target value, the step motor M
SPD is gradually decelerated to 2,1. At this time, the time A during which the step motor is driven is as shown in the table of FIG.
Since the excitation time of D = 2 is 1.429 ms and the excitation time of MSPD = 3 is 1.186 ms, the total A = 8.04.
4 ms.

【0007】しかしながら、本出願の発明者が実験した
結果によれば、図6に示すように、ステップモータの駆
動時間がスロットルバルブを駆動するステップモータの
駆動系の固有振動数150〜180Hzに対応する周期
Tc=5.6〜6.7msの倍数と一致する場合に、ス
ロットルバルブ停止時のダンピングが大きいことを確認
した。すなわち、ステップモータの駆動時間が、Tc,
2Tc,3Tc,4Tcの近傍にあるとき、スロットル
バルブの停止時に大きなダンピングが発生し、それ以外
の場合には、ダンピングが発生しないかまたは発生して
も振動の振幅が小さく問題とならないレベルであること
を確認した。
However, according to the results of experiments conducted by the inventor of the present application, as shown in FIG. 6, the driving time of the step motor corresponds to the natural frequency of 150 to 180 Hz of the driving system of the step motor for driving the throttle valve. It was confirmed that the damping when the throttle valve was stopped was large when the cycle Tc was equal to a multiple of 5.6 to 6.7 ms. That is, the driving time of the step motor is Tc,
When the throttle valve is in the vicinity of 2Tc, 3Tc, and 4Tc, large damping occurs when the throttle valve is stopped, and in other cases, damping does not occur, or even if it occurs, the amplitude of vibration is small and a level that does not pose a problem. It was confirmed.

【0008】このことを上記具体例で考えると、A=
8.044msはTcの倍数でないから、図7の(a)
に示すように、本来そのまま停止してもダンピングは小
さく問題がない。しかし、従来のステップモータのダン
ピング軽減方法では、例えば、図7の(b)に示すよう
に、常に目標ステップで逆相Gを励磁しているため、逆
相Gの励磁により新たに振動Kを発生させる問題があっ
た。そして、ステップモータを停止させ、かつすぐに再
起動させるときに、ステップモータ制御装置がステップ
モータを停止状態にしても、ステップモータの駆動系が
振動しているため、再起動時のスロットルバルブの挙動
がしばらくの間不安定となり、アクセルの踏み込み量に
追従しないという問題があった。また、最悪の場合、反
転時に脱調する問題があった。
Considering this in the above specific example, A =
Since 8.044 ms is not a multiple of Tc, (a) in FIG.
As shown in, even if it is stopped as it is, damping is small and there is no problem. However, in the conventional method of reducing damping of the step motor, for example, as shown in (b) of FIG. 7, since the anti-phase G is always excited at the target step, the vibration K is newly excited by the anti-phase G excitation. There was a problem that caused it. When the step motor is stopped and restarted immediately, even if the step motor controller stops the step motor, the drive system of the step motor is vibrating, so the throttle valve There was a problem that the behavior became unstable for a while and did not follow the accelerator depression amount. Further, in the worst case, there was a problem of step-out during reversal.

【0009】それを回避するため、従来のステップモー
タ制御装置では、例えば、ステップモータを反転して駆
動する場合に、スロットルバルブを目標停止位置に一度
停止した後、少なくとも20〜30ms程度はスロット
ルバルブを停止状態に保持する必要があった。そのた
め、アクセルの踏み込み量が増速から減速に反転した場
合に、その分遅れが発生する問題があった。
In order to avoid this, in the conventional step motor control device, for example, when the step motor is driven by reversing, the throttle valve is stopped at the target stop position once and then at least about 20 to 30 ms. Needed to be held in a stopped state. Therefore, when the accelerator depression amount is reversed from acceleration to deceleration, there is a problem in that a delay occurs.

【0010】本発明は、上記問題点を解決するためにな
されたものであり、ステップモータを停止するときに、
ダンピングが発生することの少ないステップモータ制御
装置を提供することを目的とする。
The present invention has been made to solve the above problems, and when the step motor is stopped,
An object of the present invention is to provide a step motor control device in which damping is less likely to occur.

【0011】[0011]

【課題を解決するための手段】この目的を達成するため
本発明のステップモータ制御装置は、ステップモータを
停止させる設定目標値をサンプリングするサンプリング
手段と、サンプリングされた設定目標値とステップモー
タの現在位置との差を演算して、その差に応じてステッ
プモータを加速し、設定目標値に近づいた時にステップ
モータを減速させ、設定目標値でステップモータを停止
させるステップモータ加減速手段とを有するステップモ
ータ制御装置であって、ステップモータが駆動されてか
ら設定目標値で停止されるまでの駆動時間を計数する駆
動時間計数手段と、計数した駆動時間がステップモータ
の駆動系の固有振動数に対応する周期の倍数と一致する
ときに共振発生と判別する共振判別手段と、共振判別手
段が共振発生と判別した場合、ステップモータを停止す
るときに振動を軽減するための制御を行う振動軽減手段
とを有している。
To achieve this object, a step motor control device of the present invention comprises a sampling means for sampling a set target value for stopping a step motor, a sampled set target value and a current step motor. And a step motor acceleration / deceleration means for calculating a difference from the position, accelerating the step motor according to the difference, decelerating the step motor when approaching the set target value, and stopping the step motor at the set target value. In the step motor control device, drive time counting means for counting the drive time from when the step motor is driven to when it is stopped at a set target value, and the counted drive time is the natural frequency of the drive system of the step motor. Resonance determining means that determines that resonance has occurred and that the resonance determining means determines that resonance has occurred when it matches a multiple of the corresponding cycle. If, and a vibration reducing means for performing control for reducing the vibration when stopping the stepping motor.

【0012】また、上記構成を有するステップモータ制
御装置において、前記振動軽減手段が、ステップモータ
へ供給する目標ステップでの電流を一時的に遮断する手
段、ステップモータへ供給する目標ステップの直前ステ
ップでの電流を一時的に遮断する手段、ステップモータ
へ一時的に逆相電流を励磁する手段のいずれかであるこ
とを特徴とする。また、上記構成を有するステップモー
タ制御装置において、前記ステップモータの駆動系の固
有振動数に対応する周期が5.2〜7.2msであるこ
とを特徴とする。
In the step motor control device having the above structure, the vibration reducing means temporarily cuts off the current at the target step supplied to the step motor, and the step immediately before the target step supplied to the step motor. It is characterized in that it is either a means for temporarily interrupting the current of 1) or a means for temporarily exciting a reverse phase current to the step motor. Further, in the step motor control device having the above configuration, the cycle corresponding to the natural frequency of the drive system of the step motor is 5.2 to 7.2 ms.

【0013】[0013]

【作用】このような構成を有する本発明のステップモー
タは、駆動系を介してエンジンのスロットルバルブを駆
動する。ここで、スロットルバルブおよびステップモー
タを含むステップモータの駆動系の固有振動数は、15
0〜180Hzの範囲内にあることが実験により確認さ
れている。また、ステップモータ制御装置のサンプリン
グ手段は、時間経過に伴って変化するアクセルの踏み込
み量を計測するポテンショメータから設定目標値をサン
プリングする。また、ステップモータ加減速手段は、サ
ンプリングされた設定目標値とステップモータの現在位
置との差を演算して、その差に応じてステップモータを
加速し、ステップモータの現在位置が設定目標値に近づ
いた時にステップモータを減速させ、設定目標値でステ
ップモータを停止させるステップモータ加減速サイクル
を行う。
The step motor of the present invention having such a structure drives the throttle valve of the engine through the drive system. Here, the natural frequency of the drive system of the step motor including the throttle valve and the step motor is 15
It has been confirmed by experiments that the frequency is in the range of 0 to 180 Hz. Further, the sampling means of the step motor control device samples a set target value from a potentiometer that measures the accelerator depression amount that changes with the passage of time. Further, the step motor acceleration / deceleration means calculates the difference between the sampled set target value and the current position of the step motor, accelerates the step motor according to the difference, and sets the current position of the step motor to the set target value. When approaching, the step motor is decelerated and the step motor acceleration / deceleration cycle is performed to stop the step motor at the set target value.

【0014】ここで、ステップモータの駆動時間が、ス
テップモータが駆動する駆動系の固有振動数150〜1
80Hzに安全係数をかけた139〜192Hzに対応
する周期5.2〜7.2msと一致した場合に、共振発
生判別手段はダンピング振動が発生する可能性が高いと
判断し、ステップモータの駆動時間が固有振動数に対応
する周期と一致しない場合に、共振発生判別手段はダン
ピング振動が発生する可能性が低いと判断する。そし
て、振動軽減手段は、共振判別手段が振動が発生する可
能性が高いと判断した場合にのみ、ステップモータへ一
時的に逆相電流を励磁する等の振動軽減制御を行い、共
振判別手段が振動が発生する可能性が低いと判断した場
合は、振動軽減制御を行っていないので、共振が発生す
る可能性がないときに、余計な振動軽減制御を行ってダ
ンピングを発生させることがない。従って、スロットル
バルブを迅速かつ安定して停止させることができ、エン
ジンへの吸気量を正確に制御することができる。また、
アクセルが増速から減速に反転された場合でも、速やか
に対応することができる。
Here, the drive time of the step motor is determined by the natural frequency of the drive system driven by the step motor, which is 150 to 1
When the cycle coincides with the cycle of 5.2 to 7.2 ms corresponding to 139 to 192 Hz obtained by multiplying 80 Hz by the safety factor, the resonance occurrence determining means determines that damping vibration is likely to occur, and drives the step motor. Is not coincident with the cycle corresponding to the natural frequency, the resonance occurrence determining means determines that damping vibration is unlikely to occur. Then, the vibration reducing means performs vibration reduction control such as temporarily exciting a reverse phase current to the step motor only when the resonance determining means determines that the vibration is likely to occur, and the resonance determining means When it is determined that vibration is unlikely to occur, vibration reduction control is not performed, and therefore, when there is no possibility of resonance, extra vibration reduction control is not performed to cause damping. Therefore, the throttle valve can be stopped quickly and stably, and the amount of intake air to the engine can be accurately controlled. Also,
Even if the accelerator is reversed from acceleration to deceleration, it is possible to quickly respond.

【0015】[0015]

【実施例】以下、本発明を具体化した一実施例を図面を
参照して説明する。図1に第一の実施例であるステップ
モータ制御装置17の構成をブロック図で示す。自動車
用ガソリンエンジン11に、ガソリンと空気の混合気体
を吸気する吸気パイプ13が接続している。吸気パイプ
13には、ガソリンエンジン11に供給する混合気体の
量を調節するためのスロットルバルブ12が、吸気パイ
プ13に対してスロットル軸14を中心に回転可能に保
持されている。スロットル軸14は、減速機構を介して
ステップモータ15の出力軸に接続している。ステップ
モータ15は、ステップモータ制御装置17のステップ
モータ用の駆動回路18に接続している。駆動回路18
は、演算装置であるCPU19に接続している。CPU
19には、一時的にデータ等を記憶するためのRAM2
3、制御プログラム等を記憶しているROM22が接続
している。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will be described below with reference to the drawings. FIG. 1 is a block diagram showing the configuration of the step motor control device 17 according to the first embodiment. An intake pipe 13 for inhaling a mixed gas of gasoline and air is connected to an automobile gasoline engine 11. A throttle valve 12 for adjusting the amount of mixed gas supplied to the gasoline engine 11 is held in the intake pipe 13 so as to be rotatable about a throttle shaft 14 with respect to the intake pipe 13. The throttle shaft 14 is connected to the output shaft of the step motor 15 via a reduction mechanism. The step motor 15 is connected to the step motor drive circuit 18 of the step motor controller 17. Drive circuit 18
Is connected to the CPU 19, which is an arithmetic unit. CPU
A RAM 2 for temporarily storing data etc. in 19
3. A ROM 22 storing a control program and the like is connected.

【0016】ROM22には、ポテンショメータ16が
計測するアクセルデータを一定のサンプリング時間T毎
にサンプリングするためのサンプリングプログラム24
が記憶されている。また、ROM22には、そのサンプ
リング値とステップモータの現在位置との差を演算し
て、その差に応じて駆動回路18を介してステップモー
タ15を加速し、ステップモータ15がサンプリング値
に近づいたときにステップモータ15を減速させ、サン
プリング値でステップモータ15を停止させるステップ
モータ加減速プログラム25が記憶されている。
The ROM 22 has a sampling program 24 for sampling the accelerator data measured by the potentiometer 16 at a constant sampling time T.
Is remembered. In addition, the ROM 22 calculates the difference between the sampled value and the current position of the step motor, accelerates the step motor 15 via the drive circuit 18 according to the difference, and the step motor 15 approaches the sampled value. A step motor acceleration / deceleration program 25 for decelerating the step motor 15 and stopping the step motor 15 at a sampling value is stored.

【0017】また、ROM22には、ステップモータ1
5が回転を開始してから停止するまでのステップモータ
15の駆動時間CMOVEを計数する駆動時間計数プロ
グラム29が記憶されている。また、ROM22には、
計数した駆動時間CMOVEが、ステップモータ15が
駆動する駆動系の固有振動数に対応する周期と一致する
か否かを判別する共振判別プログラム27が記憶されて
いる。また、ROM22には、共振判別プログラム27
が、駆動時間CMOVEと上記固有振動数に対応する周
期とが一致すると判別した場合に、ステップモータを停
止する時に、ステップモータ15に発生する振動を軽減
するために、一時的な逆相励磁を与える逆相励磁プログ
ラム28が記憶されている。また、CPU19には、ポ
テンショメータ16が計測するアナログデータであるア
クセルデータをA/D変換するためのA/Dコンバータ
20が接続している。A/Dコンバータ20は、入力イ
ンターフェース21を介してアクセル26の踏み込み量
を計測するためのポテンショメータ16に接続してい
る。
The ROM 22 has a step motor 1
A drive time counting program 29 for counting the drive time CMOVE of the step motor 15 from the start of the rotation of 5 to the stop thereof is stored. Further, in the ROM 22,
A resonance determination program 27 is stored that determines whether the counted drive time CMOVE matches the cycle corresponding to the natural frequency of the drive system driven by the step motor 15. Further, the ROM 22 has a resonance determination program 27.
However, when it is determined that the drive time CMOVE and the period corresponding to the natural frequency match, temporary reverse phase excitation is performed to reduce the vibration generated in the step motor 15 when the step motor is stopped. A reverse phase excitation program 28 to be given is stored. Further, an A / D converter 20 for A / D converting the accelerator data, which is analog data measured by the potentiometer 16, is connected to the CPU 19. The A / D converter 20 is connected to the potentiometer 16 for measuring the depression amount of the accelerator 26 via the input interface 21.

【0018】次に、上記構成を有するステップモータ制
御装置17の作用について説明する。アクセル26が運
転者により操作されると、ポテンショメータ16がアク
セル26の移動量をリニアなアナログデータとして計測
する。CPU19は、サンプリングプログラム24によ
り、ポテンショメータ16のアナログデータを一定のサ
ンプリング時間T毎に入力インターフェース21から取
り込んで、A/Dコンバータ20によりA/D変換し
て、その値をサンプリングした目標値としてRAM23
に記憶する。
Next, the operation of the step motor control device 17 having the above configuration will be described. When the driver operates the accelerator 26, the potentiometer 16 measures the amount of movement of the accelerator 26 as linear analog data. The CPU 19 fetches the analog data of the potentiometer 16 from the input interface 21 at a constant sampling time T by the sampling program 24, A / D-converts it by the A / D converter 20, and RAM 23 as the sampled target value.
Remember.

【0019】ステップモータの制御状態を説明するため
の図を図2に示す。図2において、TSTEPは、ポテ
ンショメータ16の計測値をサンプリングしてA/D変
換した目標値、すなわち、スロットルバルブ12を駆動
するステップモータ15が停止すべき目標ステップ位置
を示している。STEPは、ステップモータ15の現在
あるステップ位置を示している。またMSPDは、ステ
ップモータに与えられる駆動パルスの条件を示し、具体
的には、図5に示すように、駆動周波数および励磁時間
として与えられる。
FIG. 2 shows a diagram for explaining the control state of the step motor. In FIG. 2, TSTEP indicates a target value obtained by sampling and A / D converting the measurement value of the potentiometer 16, that is, a target step position at which the step motor 15 driving the throttle valve 12 should be stopped. STEP indicates the current step position of the step motor 15. Further, MSPD indicates the condition of the drive pulse given to the step motor, and more specifically, as shown in FIG. 5, it is given as the drive frequency and the excitation time.

【0020】ステップモータ15の加減速の方法を説明
する。図3にステップモータ制御装置17のステップモ
ータ加減速プログラム25、駆動時間計数プログラム2
9、共振判別プログラム27および逆相励磁プログラム
28の作用をフローチャートで示す。本フローチャート
は、ステップモータ15が1ステップ動作完了するタイ
ミングでタイマー割り込みにより起動される。始めに、
逆相励磁プログラム28を実行させるための逆相励磁指
令フラグFLGが0か否かを判断する(S1)。後述す
るように、ステップモータ15を停止するときに、駆動
時間CMOVEがステップモータの駆動系の固有振動数
に対応する周期と一致する場合は、FLG=1となって
いる。
A method of accelerating and decelerating the step motor 15 will be described. FIG. 3 shows the step motor acceleration / deceleration program 25 and the drive time counting program 2 of the step motor controller 17.
9, the operation of the resonance determination program 27 and the anti-phase excitation program 28 is shown by a flowchart. This flowchart is activated by a timer interrupt at the timing when the step motor 15 completes one step operation. At the beginning,
It is determined whether the anti-phase excitation command flag FLG for executing the anti-phase excitation program 28 is 0 (S1). As will be described later, when the step motor 15 is stopped, if the drive time CMOVE matches the cycle corresponding to the natural frequency of the drive system of the step motor, FLG = 1.

【0021】FLG=0の場合(S1,YES)、ステ
ップモータ15の停止時期ではないと判断して、目標ス
テップTSTEPに向けて、ステップモータ15の現在
あるステップSTEPを1ステップ更新する(S2)。
次に、目標ステップTSTEPとステップモータ15が
現在あるステップSTEPとの差DSTEPを演算し、
DSTEPと現在のステップモータ15の速度MSPD
とを比較して、DSTEP>MSPDならばMSPDを
1増加させてステップモータ15を加速し(S3)、D
STEP<MSPDならばMSPDを1減少させてステ
ップモータ15を減速する(S3)。DSTEP=MS
PDならば、MSPDを変更せずに等速を保持する(S
3)。
If FLG = 0 (S1, YES), it is determined that it is not the stop timing of the step motor 15, and the step STEP which is present in the step motor 15 is updated by one step toward the target step TSTEP (S2). .
Next, the difference DSTEP between the target step TSTEP and the step STEP that the step motor 15 currently has is calculated,
DSTEP and current step motor 15 speed MSPD
If DSTEP> MSPD, MSPD is increased by 1 to accelerate the step motor 15 (S3), and D
If STEP <MSPD, MSPD is decremented by 1 and the step motor 15 is decelerated (S3). DSTEP = MS
If PD, constant speed is maintained without changing MSPD (S
3).

【0022】次に、目標ステップに到達するとMSPD
=0となるので(S4,YES)、ステップモータ15
が駆動を開始してからの駆動時間CMOVEが、共振が
発生する可能性の高い共振域、すなわちスロットルバル
ブを駆動するステップモータ15の駆動系の固有振動数
に対応する周期5.2〜7.2msの倍数と一致するか
否かを判断する(S7)。これが、共振判別プログラム
27である。共振判別プログラム27が共振発生の可能
性が高いと判断した場合(S7,YES)、FLGを1
とする(S9)。次に、励磁時間TSPDにTR1を入
れ(S10)、S11へ進む。一方、共振発生の可能性
が低いと判断した場合(S7,NO)、TSPDにTR
0を入れ(S8)、S11へ進む。次に、ステップモー
タ15が停止したのであるから、次回の駆動時間CMO
VEを計数するために、RAM23に記憶されているC
MOVEをクリアして0とする(S11)。また一方、
目標ステップに到達していないとMSPD=0でないの
で(S4,NO)、図5よりMSPDに対応する励磁時
間TSPDを読み込む(S5)。次に、CMOVEに読
み込んだTSPDを加算し(S6)、S12へ進む。
Next, when the target step is reached, the MSPD is reached.
= 0 (S4, YES), the step motor 15
The drive time CMOVE after the start of the drive is in the resonance range in which resonance is highly likely to occur, that is, the period 5.2 to 7. Corresponding to the natural frequency of the drive system of the step motor 15 that drives the throttle valve. It is determined whether or not it matches a multiple of 2 ms (S7). This is the resonance determination program 27. When the resonance determination program 27 determines that resonance is likely to occur (S7, YES), FLG is set to 1
(S9). Next, TR1 is put in the excitation time TSPD (S10), and the process proceeds to S11. On the other hand, when it is determined that the possibility of occurrence of resonance is low (S7, NO), TR is added to TSPD.
Enter 0 (S8) and proceed to S11. Next, since the step motor 15 has stopped, the next drive time CMO
C stored in RAM 23 for counting VE
MOVE is cleared to 0 (S11). On the other hand,
If the target step has not been reached, MSPD is not 0 (S4, NO), so the excitation time TSPD corresponding to MSPD is read from FIG. 5 (S5). Next, the TSPD read in is added to CMOVE (S6), and the process proceeds to S12.

【0023】また、FLGが0でない場合(S1,N
O)、FLGが1か否かを判断する(S14)。FLG
=1の場合は(S14,YES)、逆相励磁を行うため
S15へ進む。すなわち、STEPをリバース方向に1
ステップ更新することにより(S15)、逆相電流ステ
ップが準備される。次に、FLG=2とする(S1
6)。次に、TSPDにTR2をセットして(S1
7)、S12へ進む。一方、FLGが0でも1でもない
場合は(S14,NO)、STEPをフォワード方向に
1ステップ戻し(S18)、FLGを0とし(S1
9)、TSPDにTR3をセットして(S20)、S1
2へ進む。
If FLG is not 0 (S1, N
O), it is determined whether FLG is 1 (S14). FLG
If = 1 (S14, YES), the process proceeds to S15 to perform the anti-phase excitation. That is, STEP is set to 1 in the reverse direction.
By performing step updating (S15), a reverse phase current step is prepared. Next, FLG = 2 (S1
6). Next, set TR2 to TSPD (S1
7) Go to S12. On the other hand, if FLG is neither 0 nor 1 (S14, NO), STEP is returned by one step in the forward direction (S18), and FLG is set to 0 (S1
9), set TR3 to TSPD (S20), S1
Go to 2.

【0024】次に、本実施例では、4相のステップモー
タを1−2相励磁で制御しているので、ステップモータ
の現在ステップSTEPの下位3ビットの値より図4に
示すパターンで、図5に示す駆動周波数、励磁時間だけ
ステップモータ15の励磁を行う(S12)。次に、T
SPD後に割り込みタイマをセットする(S13)。そ
して、割り込み時間経過後、再びS1へ進む。
Next, in the present embodiment, since the 4-phase step motor is controlled by the 1-2 phase excitation, the pattern shown in FIG. 4 is obtained from the lower 3 bits of the current step STEP of the step motor. The step motor 15 is excited for the drive frequency and the excitation time shown in 5 (S12). Then T
The interrupt timer is set after SPD (S13). Then, after the interruption time has elapsed, the process proceeds to S1 again.

【0025】次に、上記フローチャートを具体例により
説明する。図2のステップST1の位置にあるとき、F
LG=0であり(S1,YES)、そのステップを基準
とすれば、STEP=0であるから、ステップ更新する
ことによりSTEP=1となる(S2)。一方、目標ス
テップTSTEP=9であり、STEP=1であるか
ら、DSTEP=8となり、MSPD=0だから、DS
TEP>MSPDとなり、MSPDを0から1に増加さ
せる(S3)。次に、MSPD=0ではないので(S
4,NO)、図5に示すMSPD=1に対応する励磁時
間2.000msを読みだしてTSPDとして記憶する
(S5)。次に、CMOVE=0にTSPD=2.00
0msを加算して、CMOVE=2.000msとする
(S6)。次に、図5に示す駆動周波数500ppsの
駆動パルスを、ステップの下位3ビットより図4に示す
所定の励磁パターンで駆動回路18を介してステップモ
ータ15に与える(S12)。次に、次回の割り込み時
間をTSPDにセットする(S13)。これにより、T
SPD=2.000msの時間、上記駆動パルスが与え
られる。そして、ステップモータの現在位置ステップS
TEPはST2になる。
Next, the above flow chart will be described with reference to a concrete example. When in the position of step ST1 in FIG.
LG = 0 (S1, YES), and if that step is used as a reference, STEP = 0. Therefore, STEP = 1 results in STEP = 1 (S2). On the other hand, since the target step TSTEP = 9 and STEP = 1, DSTEP = 8 and MSPD = 0, so DS
TEP> MSPD, and MSPD is increased from 0 to 1 (S3). Next, since MSPD = 0 is not satisfied (S
4, NO) and the excitation time of 2.000 ms corresponding to MSPD = 1 shown in FIG. 5 is read out and stored as TSPD (S5). Then, CMOVE = 0 and TSPD = 2.00
0 ms is added to set CMOVE = 2.000 ms (S6). Next, the drive pulse having the drive frequency of 500 pps shown in FIG. 5 is applied to the step motor 15 via the drive circuit 18 from the lower 3 bits of the step in the predetermined excitation pattern shown in FIG. 4 (S12). Next, the next interrupt time is set in TSPD (S13). This gives T
The drive pulse is applied for a time of SPD = 2.000 ms. Then, the current position of the step motor, step S
TEP becomes ST2.

【0026】ST2の場合は、DSTEP=9−2=
4、MSPD=1であるから、MSPD=2に増速し
(S3)、図5に示すMSPD=2に対応する励磁時間
1.429msを読みだしてTSPDとして記憶する
(S5)。次に、CMOVE=2.000msにTSP
D=1.429msを加算して、CMOVE=3.42
9msとする(S6)。次に、MSPD=2であるから
図5により、駆動周波数700ppsの駆動パルスを与
える(S12)。次に、次回の割り込み時間をTSPD
にセットする(S13)。これにより、TSPD=1.
429msの時間、上記駆動パルスが与えられる。そし
て、ステップモータの現在位置ステップSTEPはST
3になる。
In the case of ST2, DSTEP = 9-2 =
4. Since MSPD = 1, the speed is increased to MSPD = 2 (S3), the excitation time 1.429 ms corresponding to MSPD = 2 shown in FIG. 5 is read and stored as TSPD (S5). Next, the TSP at CMOVE = 2.000 ms
Adding D = 1.429 ms, CMOVE = 3.42
It is set to 9 ms (S6). Next, since MSPD = 2, a drive pulse having a drive frequency of 700 pps is given according to FIG. 5 (S12). Next, set the next interrupt time to TSPD
(S13). As a result, TSPD = 1.
The drive pulse is applied for a time of 429 ms. Then, the current position step STEP of the step motor is ST
It will be 3.

【0027】ST3〜ST8の場合は、上記した場合の
繰り返しであるので、説明を省略する。ここで、ST4
までは増速が行われ、ST5では等速が保持され、ST
6〜ST8では減速が行われている。ST8において
は、CMOVE=2.000+1.429+1.186
+1.040+1.040+1.186+1.429+
2.000=11.31である。次に、ST9における
フローを説明する。FLG=0であり(S1,YE
S)、STEPを更新して目標ステップであるSTEP
=9とし(S2)、減速してMSPD=0とする(S
3)。MSPD=0なので(S4,YES)、S7へ進
む。CMOVE=11.310msは、スロットルバル
ブを駆動するステップモータ15の固有振動数に対応す
る周期5.2〜7.2msの倍数領域10.2〜14.
4msに含まれるので(S7,YES)、共振が発生す
る可能性が高いと判断して(S7,YES)、逆相励磁
を行うためのフラグFLGを1とする(S9)。次に、
TSPDにTR1を入れる(S10)。本実施例ではT
R1=1.0msとしている。次に、CMOVEをクリ
アして0とする(S11)。
In the case of ST3 to ST8, the description is omitted because it is the repetition of the above case. Where ST4
Up to ST5, constant speed is maintained in ST5, ST
In 6 to ST8, deceleration is being performed. In ST8, CMOVE = 2.000 + 1.429 + 1.186
+ 1.040 + 1.040 + 1.186 + 1.429 +
2,000 = 11.31. Next, the flow in ST9 will be described. FLG = 0 and (S1, YE
S), STEP is updated and STEP is a target step
= 9 (S2), decelerating and setting MSPD = 0 (S2)
3). Since MSPD = 0 (S4, YES), the process proceeds to S7. CMOVE = 11.310 ms is a multiple region 10.2-14.10 with a period of 5.2-7.2 ms corresponding to the natural frequency of the step motor 15 that drives the throttle valve.
Since it is included in 4 ms (S7, YES), it is determined that resonance is likely to occur (S7, YES), and the flag FLG for performing anti-phase excitation is set to 1 (S9). next,
Insert TR1 into TSPD (S10). In this embodiment, T
R1 = 1.0 ms. Next, CMOVE is cleared to 0 (S11).

【0028】次に、ステップモータ15にMSPD=0
の励磁をTSPD=1.0ms与える(S12)。そし
て、TSPD=1ms後に割り込みによりS1へ進む。
次に、FLG=1なので(S1,NO;S14,YE
S)、STEP=9をリバース方向に1ステップ更新し
てSTEP=8とする(S15)。次に、FLGを2と
する(S16)。次に、TSPDにTR2を入れる(S
17)。本実施例では、TR2=1.0msとしてい
る。次に、ステップ8の状態の励磁が、逆相励磁として
ステップモータ15に与えられる(S12)。そして、
1.0ms後に割り込みによりST1へ進む。
Next, the step motor 15 has MSPD = 0.
Is excited by TSPD = 1.0 ms (S12). Then, after TSPD = 1 ms, the process proceeds to S1 by an interrupt.
Next, since FLG = 1 (S1, NO; S14, YE
S) and STEP = 9 are updated one step in the reverse direction to set STEP = 8 (S15). Next, FLG is set to 2 (S16). Next, insert TR2 into TSPD (S
17). In this embodiment, TR2 = 1.0 ms. Next, the excitation in the state of step 8 is given to the step motor 15 as anti-phase excitation (S12). And
After 1.0 ms, the operation proceeds to ST1 by an interrupt.

【0029】次に、FLG=2であるから(S1,N
O;S2,NO)、STEP=8をフォワード方向に1
ステップ戻して(S18)、STEP=9とする。次
に、FLGを0とし(S19)、TSPDにTR3を入
れる(S20)。本実施例では、TR3=3.0msと
している。次に、目標ステップの励磁がステップモータ
15にTSPD=3.0ms与えられる(S12)。そ
して、TSPD=3.0ms後割り込みによりS1へ戻
る。これにより、アクセル26の踏み込み量が変化した
場合に、次の目標値に対して迅速に追従することができ
る。
Next, since FLG = 2 (S1, N
O; S2, NO), STEP = 8 in the forward direction 1
The step is returned (S18), and STEP = 9. Next, FLG is set to 0 (S19), and TR3 is put into TSPD (S20). In this embodiment, TR3 = 3.0 ms. Next, excitation of the target step is given to the step motor 15 by TSPD = 3.0 ms (S12). Then, after TSPD = 3.0 ms, the process returns to S1 by an interrupt. As a result, when the depression amount of the accelerator 26 changes, it is possible to quickly follow the next target value.

【0030】本実施例では、逆相励磁が行われる場合に
ついて説明したが、駆動時間が5.2〜7.2msの倍
数領域と一致しない場合は、逆相励磁を行わないほう
が、振動を軽減することができるため、逆相励磁を行っ
ていない。本実施例では、駆動時間がステップモータ1
5の駆動系の固有振動数に対応する周期である5.2〜
7.2msの2倍領域に一致する場合について説明した
が、図6に示すように、1倍、3倍以上の場合も同様で
ある。
In this embodiment, the case where the anti-phase excitation is performed has been described. However, when the drive time does not match the multiple region of 5.2 to 7.2 ms, the oscillation is reduced by not performing the anti-phase excitation. Therefore, anti-phase excitation is not performed. In this embodiment, the driving time is the step motor 1
The period corresponding to the natural frequency of the drive system of No. 5 is 5.2 to
Although the case of matching with the double region of 7.2 ms has been described, the same applies to the case of 1 ×, 3 × or more as shown in FIG.

【0031】本実施例では、逆相励磁の時間TR2を一
定としているが、図6に示す振動の振幅の大きさに対応
して、逆相励磁の時間TR2を変化させても良い。ま
た、図6に起因する振動の位相のずれによるダンピング
の位相差を考慮して逆相励磁のタイミングであるTR1
を変化させても良い。本実施例では、振動の軽減方法と
して逆相励磁を説明したが、電流を遮断する方法も全く
同様の効果を発揮するものである。電流を遮断する方法
については従来技術で引用した公報により公知であるの
で、詳細な説明は省略する。
In this embodiment, the anti-phase excitation time TR2 is constant, but the anti-phase excitation time TR2 may be changed according to the magnitude of the vibration amplitude shown in FIG. In addition, considering the phase difference of damping due to the phase shift of vibration caused by FIG.
May be changed. In this embodiment, the anti-phase excitation has been described as the vibration reducing method, but the method of interrupting the current also exhibits exactly the same effect. The method of cutting off the current is well known from the publications cited in the prior art, and a detailed description thereof will be omitted.

【0032】上記詳細に説明したように、本実施例のス
テップモータ制御装置17によれば、ステップモータ1
5の駆動時間を計数して、駆動時間がステップモータ1
5の駆動系の固有振動数に対応する周期である5.2〜
7.2msの倍数領域に一致する場合にのみ、逆相励磁
を与えているので、共振が発生しない場合に逆相励磁を
行って新たな振動を発生させることがないため、ステッ
プモータ15の停止を迅速かつ正確に行うことができ
る。それにより、スロットルバルブ12を正確に制御で
き、ガソリンエンジン11への吸気量を正確に制御する
ことができる。また、ステップモータ15を停止時に、
スロットルバルブ12の振動が少ないので、停止時の振
動もきわめて短時間で収束させることができるため、ア
クセル26の踏み込み量が増速から減速に反転されたと
きでも、速やかに対応することができる。
As described in detail above, according to the step motor controller 17 of this embodiment, the step motor 1
The drive time of step motor 1 is counted by counting the drive time of 5
The period corresponding to the natural frequency of the drive system of No. 5 is 5.2 to
Since the anti-phase excitation is applied only when it coincides with the multiple region of 7.2 ms, the anti-phase excitation is not performed and new vibration is not generated when resonance does not occur. Therefore, the step motor 15 is stopped. Can be done quickly and accurately. As a result, the throttle valve 12 can be accurately controlled, and the amount of intake air to the gasoline engine 11 can be accurately controlled. Also, when the step motor 15 is stopped,
Since the vibration of the throttle valve 12 is small, the vibration at the time of stopping can be converged in an extremely short time. Therefore, even when the depression amount of the accelerator 26 is reversed from acceleration to deceleration, it is possible to quickly respond.

【0033】以上、いくつかの実施例について本発明を
説明したが、本発明は上記実施例に何ら限定されるもの
ではなく、本発明の趣旨を逸脱しない範囲で種々の変形
改良が可能であることは容易に推察できるものである。
本実施例では、目標設定値をサンプリングする装置につ
いて説明したが、OA機器において、ホストコンピュー
タ等から与えられる目標設定値にステップモータを停止
させる場合でも、本発明を適用できること当然である。
また、本実施例では、スロットルバルブを駆動するステ
ップモータの制御装置について説明したが、全てのステ
ップモータの制御に適用することが可能である。
Although the present invention has been described with reference to some embodiments, the present invention is not limited to the above embodiments, and various modifications and improvements can be made without departing from the spirit of the present invention. This can be easily guessed.
In the present embodiment, the apparatus for sampling the target set value has been described, but it is natural that the present invention can be applied even when the step motor is stopped at the target set value given from the host computer or the like in the OA equipment.
Further, in the present embodiment, the control device of the step motor that drives the throttle valve has been described, but the present invention can be applied to the control of all step motors.

【0034】[0034]

【発明の効果】以上説明したことから明かなように、本
発明のステップモータ制御装置によれば、ステップモー
タが駆動されてから前記設定目標値で停止されるまでの
駆動時間を計数する駆動時間計数手段と、前記駆動時間
がステップモータの駆動系の固有振動数に対応する周期
の倍数と一致するときに共振発生と判別する共振判別手
段と、共振判別手段が共振発生と判別した場合、ステッ
プモータを停止するときに振動を軽減するための制御を
行う振動軽減手段とを有しているので、共振が発生する
可能性のあるときにのみ振動を軽減し、共振が発生する
可能性の無いときに新たな振動を発生することがないた
め、ステップモータを迅速かつ正確に停止させることが
でき、スロットルバルブを迅速かつ正確に停止すること
ができ、エンジンへの吸気量を正確に制御することがで
きる。また、アクセルの踏み込み量に反転があった場合
でも、速やかに対応することができる。
As is apparent from the above description, according to the step motor control device of the present invention, the drive time for counting the drive time from when the step motor is driven to when the step motor is stopped at the set target value is calculated. Counting means, resonance determining means for determining resonance occurrence when the drive time matches a multiple of the cycle corresponding to the natural frequency of the drive system of the step motor, and when the resonance determining means determines resonance occurrence, step Since it has a vibration reducing means for performing control for reducing vibration when the motor is stopped, vibration is reduced only when there is a possibility of resonance, and there is no possibility of resonance occurring. Sometimes, new vibration is not generated, so the step motor can be stopped quickly and accurately, and the throttle valve can be stopped quickly and accurately. It can be controlled amount of the intake accurately. Further, even if the accelerator depression amount is reversed, it can be promptly dealt with.

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

【図1】本発明の一実施例であるステップモータ制御装
置の構成を示すブロック図である。
FIG. 1 is a block diagram showing the configuration of a step motor control device that is an embodiment of the present invention.

【図2】上記ステップモータ制御装置により制御された
ステップモータの制御状態を示す説明図である。
FIG. 2 is an explanatory diagram showing a control state of a step motor controlled by the step motor control device.

【図3】上記ステップモータ制御装置の作用を示すフロ
ーチャートである。
FIG. 3 is a flowchart showing an operation of the step motor control device.

【図4】ステップモータの励磁パターンを示すデータ図
である。
FIG. 4 is a data diagram showing an excitation pattern of a step motor.

【図5】ステップモータの加減速用の駆動パルスを示す
データ図である。
FIG. 5 is a data diagram showing drive pulses for acceleration / deceleration of a step motor.

【図6】ステップモータ停止時の振動の振幅を示す実験
データ図である。
FIG. 6 is an experimental data diagram showing the amplitude of vibration when the step motor is stopped.

【図7】従来のステップモータ制御装置により制御され
たステップモータの制御状態を示す説明図である。
FIG. 7 is an explanatory diagram showing a control state of a step motor controlled by a conventional step motor control device.

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

12 スロットルバルブ 15 ステップモータ 16 ポテンショメータ 17 ステップモータ制御装置 18 駆動回路 19 CPU 20 A/Dコンバータ 24 サンプリングプログラム 25 ステップモータ加減速プログラム 27 共振判別プログラム 28 逆相励磁プログラム 29 駆動時間計数プログラム 12 Throttle Valve 15 Step Motor 16 Potentiometer 17 Step Motor Control Device 18 Drive Circuit 19 CPU 20 A / D Converter 24 Sampling Program 25 Step Motor Acceleration / Deceleration Program 27 Resonance Discrimination Program 28 Reverse Phase Excitation Program 29 Drive Time Counting Program 29

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 ステップモータを停止させる設定目標値
をサンプリングするサンプリング手段と、 サンプリングされた設定目標値とステップモータの現在
位置との差を演算して、その差に応じてステップモータ
を加速し、設定目標値に近づいた時にステップモータを
減速させ、設定目標値でステップモータを停止させるス
テップモータ加減速手段とを有するステップモータ制御
装置において、 ステップモータが駆動されてから前記設定目標値で停止
されるまでの駆動時間を計数する駆動時間計数手段と、 前記駆動時間がステップモータの駆動系の固有振動数に
対応する周期の倍数と一致するときに共振発生と判別す
る共振判別手段と、 前記共振判別手段が共振発生と判別した場合、ステップ
モータを停止するときに振動を軽減するための制御を行
う振動軽減手段とを有することを特徴とするステップモ
ータ制御装置。
1. A sampling means for sampling a set target value for stopping a step motor, a difference between the sampled set target value and the current position of the step motor is calculated, and the step motor is accelerated according to the difference. In a step motor control device having a step motor acceleration / deceleration means for decelerating the step motor when approaching the set target value and stopping the step motor at the set target value, the step motor is stopped at the set target value after being driven. A drive time counting means for counting the drive time until, and a resonance determining means for determining the occurrence of resonance when the drive time matches a multiple of the cycle corresponding to the natural frequency of the drive system of the step motor, If the resonance determination means determines that resonance has occurred, a control is provided to reduce vibration when the step motor is stopped. Step motor control apparatus characterized by comprising a vibration reducing means for performing.
【請求項2】 請求項1に記載するものにおいて、 前記振動軽減手段が、ステップモータへ供給する目標ス
テップでの電流を一時的に遮断する手段、ステップモー
タへ供給する目標ステップの直前ステップでの電流を一
時的に遮断する手段、ステップモータへ一時的に逆相電
流を励磁する手段のいずれかであることを特徴とするス
テップモータ制御装置。
2. The device according to claim 1, wherein the vibration reducing means temporarily interrupts a current at a target step supplied to the step motor, and a step immediately before the target step supplied to the step motor. A step motor control device, characterized in that it is either a means for temporarily interrupting a current or a means for temporarily exciting a reverse phase current to a step motor.
【請求項3】 請求項1または請求項2に記載するもの
において、 前記ステップモータの駆動系の固有振動数に対応する周
期が5.2〜7.2msであることを特徴とするステッ
プモータ制御装置。
3. The step motor control according to claim 1 or 2, wherein a cycle corresponding to the natural frequency of the drive system of the step motor is 5.2 to 7.2 ms. apparatus.
JP15108093A 1993-05-28 1993-05-28 Step motor control device Expired - Fee Related JP3213121B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP15108093A JP3213121B2 (en) 1993-05-28 1993-05-28 Step motor control device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP15108093A JP3213121B2 (en) 1993-05-28 1993-05-28 Step motor control device

Publications (2)

Publication Number Publication Date
JPH06343296A true JPH06343296A (en) 1994-12-13
JP3213121B2 JP3213121B2 (en) 2001-10-02

Family

ID=15510884

Family Applications (1)

Application Number Title Priority Date Filing Date
JP15108093A Expired - Fee Related JP3213121B2 (en) 1993-05-28 1993-05-28 Step motor control device

Country Status (1)

Country Link
JP (1) JP3213121B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6302090B1 (en) 1998-12-25 2001-10-16 Mitsubishi Denki Kabushiki Kaisha Valve device and valve control method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6302090B1 (en) 1998-12-25 2001-10-16 Mitsubishi Denki Kabushiki Kaisha Valve device and valve control method

Also Published As

Publication number Publication date
JP3213121B2 (en) 2001-10-02

Similar Documents

Publication Publication Date Title
CA1279363C (en) Adaptive controller for a motor vehicle engine throttle operator
JPH0746891A (en) Drive controller for stepping motor
JPH06343296A (en) Stepping motor controller
JPH05228794A (en) Positioning method for main spindle
JP2942441B2 (en) Step motor control device
JPS5945515A (en) Method for controlling position of motor
CN112865627B (en) Control method and device for stepping motor
JPH06343298A (en) Stepping motor controller
JP2001327194A (en) Pulse oscillation ic and motor positioning control method and device using the ic
JPH06336943A (en) Step motor controller
CN113359620A (en) Soft limit control method for shaft motion and open type motion controller based on RTX64
JP3210073B2 (en) Step motor control device
JPH0617662B2 (en) Slot valve control method
JP3020713B2 (en) Stepping motor driving method and device
KR0122292B1 (en) Linear variable speed control method and device of step motor
EP0324531B1 (en) Brake-initiated release of an electric motor driven cruise control apparatus
JPH0240045A (en) Control method for step motor for driving throttle valve
JPH0734945A (en) Throttle valve control device
JP3352517B2 (en) Driving device for stepping motor
JP4063458B2 (en) Diesel engine control device
JP2781032B2 (en) Constant speed traveling control device
JPH0215311A (en) Backlash correcting device for position control device
JP2000299997A (en) Drive control system
JP2004248392A (en) Motor control method and pulse generating ic for motor control
JPS63171198A (en) Controller for air quantity

Legal Events

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