JPH06336943A - Step motor controller - Google Patents

Step motor controller

Info

Publication number
JPH06336943A
JPH06336943A JP15107993A JP15107993A JPH06336943A JP H06336943 A JPH06336943 A JP H06336943A JP 15107993 A JP15107993 A JP 15107993A JP 15107993 A JP15107993 A JP 15107993A JP H06336943 A JPH06336943 A JP H06336943A
Authority
JP
Japan
Prior art keywords
step motor
acceleration
time
deceleration
cycle
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
JP15107993A
Other languages
Japanese (ja)
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 JP15107993A priority Critical patent/JPH06336943A/en
Publication of JPH06336943A publication Critical patent/JPH06336943A/en
Pending legal-status Critical Current

Links

Landscapes

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

Abstract

PURPOSE:To eliminate the occurrence of resonance due to swell vibration in a throttle valve by providing a speed keeping means for keeping a specific speed for a given time while extending an acceleration/deceleration cycle time when a specific condition is discriminated. CONSTITUTION:A step motor control device 17 has a sampling program 24 sampling a set objective value, varied following time elapse, even fixed time, and a step motor acceleration/deceleration program 25 acceleration/deceleration- cycle-controlling a step motor according to a difference between a sampling valve and the present position of the step motor. Also the device 17 has a resonance discrimination program 27 discriminating whether an acceleration/ deceleration time is conformed with a resonance period corresponding to the characteristic frequency of the driving system of the step motor or not, and moreover, a speed keeping program 28 extending the acceleration/deceleration cycle time to keep a specific speed for a given time. Consequently the occurrence of resonance due to swell vibration is eliminated in a throttle valve.

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 target stop position that changes when the target stop position of the step motor changes momentarily. The present invention relates to a step motor control device in which vibration generated by repeated acceleration and deceleration of a step motor is reduced.

【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】スロットルバルブの開閉量を制御するため
に、ステップモータの停止位置を制御することは、通常
のステップモータの制御装置と、次の点で異なってい
る。すなわち、アクセルの踏み込み量は、自動車の運転
状態により時々刻々と変化するものであり、また、アク
セルの踏み込み量に対するスロットルバルブの開閉量の
制御も速やかな応答性が要求される。しかし、通常のス
テップモータの制御装置は、目標停止位置の変化が短時
間の間に発生することはないので、ステップモータの目
標停止位置まで、予め設定した速度パターンに従ってス
テップモータを駆動して精度よく停止することに関心が
集中していた。
Controlling the stop position of the step motor in order to control the opening / closing amount of the throttle valve differs from a normal step motor control device in the following points. That is, the amount of depression of the accelerator changes from moment to moment depending on the operating state of the vehicle, and control of the opening / closing amount of the throttle valve with respect to the amount of depression of the accelerator also requires prompt responsiveness. However, a normal step motor control device does not change the target stop position within a short time, so the step motor is driven according to a preset speed pattern to the target stop position of the step motor, and the accuracy is improved. The focus was on stopping often.

【0004】アクセルの踏み込み量をステップモータを
利用して電子的に制御することに対する要望が高まる
中、スロットルバルブの開閉に使用するステップモータ
の制御方法については、例えば、特開昭61−1388
55号公報に、アクセルにより指示された目標値とステ
ップモータの現在値とを比較して、異なる場合に記憶手
段に記憶されているテーブルに従って、ステップモータ
の回転スピードを制御する方法が開示されている。
With a growing demand for electronically controlling the amount of depression of the accelerator by using a step motor, a method of controlling the step motor used for opening and closing the throttle valve is disclosed in, for example, Japanese Patent Laid-Open No. 61-1388.
Japanese Patent No. 55 discloses a method of comparing the target value instructed by the accelerator with the current value of the step motor and controlling the rotation speed of the step motor according to the table stored in the storage means when the values differ. There is.

【0005】[0005]

【発明が解決しようとする課題】しかしながら、従来の
ステップモータ制御装置には、次に示すような問題があ
った。 (1)ステップモータ制御装置は、アクセルの踏み込み
量を計測するポテンショメータを一定のサンプリング時
間毎にサンプリングして、ステップモータをサンプリン
グした目標値に近づけ、目標値が一定になったときにス
テップモータを停止させる制御を行っている。そして、
ステップモータを速やかに目標値に回転させるために、
回転の開始時に急速に加速し、目標値に近づいたときに
減速する加減速サイクルを行う制御が通常行われてい
る。ステップモータの加減速サイクルの繰り返しによ
り、スロットルバルブを含むステップモータの駆動系で
うねり振動を発生し、スロットルバルブの位置が不安定
となるため、エンジンの吸気量が不安定になり、自動車
の速度がアクセルの踏み込み量と対応できないという問
題があった。
However, the conventional step motor control device has the following problems. (1) The step motor control device samples a potentiometer that measures the amount of depression of the accelerator at regular sampling times to bring the step motor close to the sampled target value, and when the target value becomes constant, the step motor is switched on. It is controlled to stop. And
In order to quickly rotate the step motor to the target value,
Control is usually performed in which an acceleration / deceleration cycle is performed in which acceleration is rapidly performed at the start of rotation and deceleration is performed when the target value is approached. Repeated acceleration / deceleration cycles of the step motor generate swell vibrations in the drive system of the step motor including the throttle valve, and the position of the throttle valve becomes unstable. There was a problem that could not correspond to the amount of accelerator depression.

【0006】ステップモータで振動が発生する場合の一
具体例を図6に示す。図中Mは、アクセルの踏み込み量
をポテンショメータでアナログデータとして計測し、一
定のサンプリング時間Aでサンプリングして、A/D変
換した目標値の変化を示している。ここで、サンプリン
グ時間Aは、自動車の主制御を担当するCPUが同時に
種々の機器を制御している関係から、一般に6m秒(以
下msと表示する。)程度で行われている。Pは、ステ
ップモータの現在あるステップを示している。またMS
PDは、ステップモータに与えられる駆動パルスの条件
を示し、具体的には、駆動周波数および励磁時間として
与えられる。ここで、ステップモータに与えられる駆動
周波数、およびその励磁時間は、ステップモータの現在
位置と目標値との差より、例えば、図5に示すようなテ
ーブルを用いて与えられる。
FIG. 6 shows a specific example of the case where vibration is generated by the step motor. In the figure, M indicates the change of the target value obtained by measuring the accelerator depression amount as analog data with a potentiometer, sampling it for a fixed sampling time A, and performing A / D conversion. Here, the sampling time A is generally about 6 msec (hereinafter referred to as ms) because the CPU in charge of the main control of the automobile controls various devices at the same time. P indicates the current step of the step motor. Also MS
PD indicates the condition of the drive pulse given 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.

【0007】すなわち、Mが変化すると、ステップモー
タの現在位置と目標値との差MAをなくす方向に、ステ
ップモータがMSPD=1,2と順次加速される。そし
て、ステップモータの現在位置が目標値に近づくと停止
時の振動を減少させるためにステップモータは、MSP
D=2,1と順次減速される。この一連の加減速サイク
ルの時間は、図5のテーブルにより、MSPD=1の励
磁時間が2.000ms、MSPD=2の励磁時間が
1.429msであるから、合計B=6.858msで
ある。上記のステップモータ制御装置により制御したス
ロットルバルブの開度を計測すると、Sに示すように、
周期的にうねり振動が発生している。そして、スロット
ルバルブのうねり振動によりスロットルバルブの位置が
不安定となるため、エンジンの吸気量が不安定になり、
自動車の速度がアクセルの踏み込み量と対応できないと
いう問題があった。さらに、ステップモータのうねり振
動が大きくなった場合には、ステップモータが指令パル
スに追従しない脱調現象を発生し、自動車の速度がアク
セルの踏み込み量に追従できなくなる恐れがあった。
That is, when M changes, the step motor is sequentially accelerated to MSPD = 1, 2 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 is moved to the MSP in order to reduce the vibration at the time of stop.
The speed is gradually reduced to D = 2,1. The time of this series of acceleration / deceleration cycles is a total of B = 6.858 ms because the excitation time of MSPD = 1 is 2.000 ms and the excitation time of MSPD = 2 is 1.429 ms according to the table of FIG. When the opening degree of the throttle valve controlled by the step motor controller is measured, as shown in S,
Swell vibration is generated periodically. And because the throttle valve position becomes unstable due to the swelling vibration of the throttle valve, the intake amount of the engine becomes unstable,
There was a problem that the speed of the car could not correspond to the amount of accelerator depression. Further, when the swell vibration of the step motor becomes large, a step-out phenomenon occurs in which the step motor does not follow the command pulse, and there is a risk that the speed of the vehicle cannot follow the accelerator pedal depression amount.

【0008】(2)また、ステップモータを停止後すぐ
に駆動させるときに、ステップモータ制御装置がステッ
プモータを停止状態にしても、ステップモータの駆動系
が振動しているため、停止後の駆動におけるスロットル
バルブの挙動がしばらくの間不安定となり、自動車の速
度がアクセルの踏み込み量に追従しないという問題があ
った。それを回避するため、従来のステップモータ制御
装置では、例えば、ステップモータを反転して駆動する
場合に、スロットルバルブを目標停止位置に一度停止し
た後、振動が収束するまでの時間、少なくとも20〜3
0ms程度はスロットルバルブを停止状態に保持する必
要があった。そのため、アクセルの踏み込み量が変化し
たときに、その分遅れが発生する問題があった。
(2) Further, when the step motor is driven immediately after it is stopped, even if the step motor controller stops the step motor, the drive system of the step motor is vibrating, so that the drive after the stop is stopped. There was a problem that the behavior of the throttle valve in became unstable for a while, and the vehicle speed did not follow the accelerator pedal depression amount. In order to avoid this, in the conventional step motor control device, for example, when the step motor is driven by being reversed, the time until the vibration converges after the throttle valve is once stopped at the target stop position, at least 20 to. Three
It was necessary to keep the throttle valve stopped for about 0 ms. Therefore, when the amount of depression of the accelerator changes, there is a problem that a delay occurs by that amount.

【0009】本発明は、上記問題点を解決するためにな
されたものであり、ステップモータを周期的に加減速駆
動しても、うねり振動が発生することの少ないステップ
モータ制御装置を提供することを目的とする。
The present invention has been made in order to solve the above problems, and provides a step motor control device in which undulation vibration is less likely to occur even when the step motor is periodically accelerated / decelerated. With the goal.

【0010】[0010]

【課題を解決するための手段】この目的を達成するため
本発明のステップモータ制御装置は、時間経過に伴って
変化する設定目標値を一定のサンプリング時間毎にサン
プリングするサンプリング手段と、サンプリングされた
設定目標値とステップモータ現在位置との差を演算し
て、その差に応じてステップモータを加速し、設定目標
値に近づいた時にステップモータを減速させ、設定目標
値でステップモータを停止させるステップモータ加減速
サイクルを行うステップモータ加減速手段とを有するス
テップモータ制御装置であって、加減速サイクル時間が
ステップモータが駆動する駆動系の固有振動数に対応す
る周期と一致するか否かを判別する共振発生判別手段
と、共振発生判別手段が、加減速サイクル時間が前記周
期と一致すると判別した場合に、加減速サイクル時間を
延長して所定時間、速度を一定に保持する速度保持手段
とを有している。
In order to achieve this object, a stepping motor control apparatus of the present invention includes a sampling means for sampling a set target value which changes with the passage of time at a constant sampling time, and a sampling means. The step of calculating the difference between the set target value and the current step motor 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 A step motor control device having a step motor acceleration / deceleration means for performing a motor acceleration / deceleration cycle, wherein it is determined whether or not the acceleration / deceleration cycle time matches a cycle corresponding to a natural frequency of a drive system driven by the step motor. The resonance occurrence determining means and the resonance occurrence determining means determine that the acceleration / deceleration cycle time matches the cycle. When a predetermined time by extending the acceleration and deceleration cycle time, and a speed holding means for holding the speed constant.

【0011】ここで、本発明のステップモータ制御装置
においては、スロットルバルブを駆動するステップモー
タの駆動系の固有振動数が150〜180Hzであるた
め、安全係数をかけた139〜192Hzに対応する周
期5.2〜7.2msを共振発生の注意周期としてい
る。従って、加減速サイクル時間が、5.2〜7.2m
sと一致する場合に、最終速度のステップをもう一度繰
り返す。
In the step motor control device of the present invention, since the natural frequency of the drive system of the step motor for driving the throttle valve is 150 to 180 Hz, the cycle corresponding to 139 to 192 Hz multiplied by the safety factor. The caution period for occurrence of resonance is 5.2 to 7.2 ms. Therefore, the acceleration / deceleration cycle time is 5.2 to 7.2 m.
If it matches s, then repeat the final velocity step again.

【0012】[0012]

【作用】このような構成を有する本発明のステップモー
タは、駆動系を介してエンジンのスロットルバルブを駆
動する。ここで、スロットルバルブおよびステップモー
タを含むステップモータの駆動系の固有振動数は、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 the potentiometer, which measures the amount of depression of the accelerator, which changes with the passage of time, at a constant sampling 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.

【0013】ここで、加減速サイクル時間が、ステップ
モータが駆動する駆動系の固有振動数150〜180H
zに安全係数をかけた139〜192Hzに対応する周
期5.2〜7.2msと一致した場合に、最終ステップ
を繰り返して、所定時間速度を一定に保持しているの
で、ステップモータの加減速がモータ系の固有振動数に
対応する周期でサンプリングが繰り返えされることがな
いため、スロットルバルブにおいてうねり振動による共
振が発生することがなく、スロットルバルブを正確に制
御でき、エンジンへの吸気量を正確に制御することがで
きる。また、ステップモータを停止するときも、スロッ
トルバルブのうねり振動が少ないので、停止時の振動も
きわめて短時間で収束させることができるため、アクセ
ルの踏み込み量に再び変化があったときに、速やかに対
応することができる。
Here, the acceleration / deceleration cycle time depends on the natural frequency of the drive system driven by the step motor, which is 150 to 180H.
When the cycle coincides with the cycle of 5.2 to 7.2 ms corresponding to 139 to 192 Hz obtained by multiplying z by the safety factor, the final step is repeated and the speed is kept constant for a predetermined time. Since the sampling is not repeated at the cycle corresponding to the natural frequency of the motor system, resonance due to swell vibration does not occur in the throttle valve, the throttle valve can be accurately controlled, and the intake air amount to the engine Can be controlled accurately. Also, when the step motor is stopped, the swell vibration of the throttle valve is small, so the vibration at the time of stop can be converged in an extremely short time. Can respond.

【0014】[0014]

【実施例】以下、本発明を具体化した一実施例を図面を
参照して説明する。図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.

【0015】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.

【0016】また、ROM22には、加減速サイクル時
間Bを計数して加減速サイクル時間が、ステップモータ
15が駆動する駆動系の固有振動数に対応する周期と一
致するか否かを判別する共振発生判別手段である共振判
別プログラム27が記憶されている。また、ROM22
には、共振判別プログラム27が、加減速サイクル時間
Bと上記固有振動数に対応する周期とが一致すると判別
した場合に、加減速サイクル時間経過後の所定時間、速
度を一定に保持する速度保持プログラム28が記憶され
ている。また、CPU19には、ポテンショメータ16
が計測するアナログデータであるアクセルデータをA/
D変換するためのA/Dコンバータ20が接続してい
る。A/Dコンバータ20は、入力インターフェース2
1を介してアクセル26の踏み込み量を計測するための
ポテンショメータ16に接続している。
Further, the ROM 22 counts the acceleration / deceleration cycle time B and determines whether or not the acceleration / deceleration cycle time coincides with the cycle corresponding to the natural frequency of the drive system driven by the step motor 15. A resonance determination program 27, which is generation determination means, is stored. Also, the ROM 22
In the case where the resonance determination program 27 determines that the acceleration / deceleration cycle time B matches the cycle corresponding to the natural frequency, a speed hold for holding the speed constant for a predetermined time after the acceleration / deceleration cycle time has elapsed. A program 28 is stored. Further, the CPU 19 has a potentiometer 16
Accelerator data, which is analog data measured by
An A / D converter 20 for D conversion is connected. The A / D converter 20 has an input interface 2
It is connected via 1 to a potentiometer 16 for measuring the depression amount of the accelerator 26.

【0017】次に、上記構成を有するステップモータ制
御装置17の作用について説明する。アクセル26が運
転者により操作されると、ポテンショメータ16がアク
セル26の移動量をリニアなアナログデータとして計測
する。CPU19は、サンプリングプログラム24によ
り、ポテンショメータ16のアナログデータを一定のサ
ンプリング時間T毎に入力インターフェース21から取
り込んで、A/Dコンバータ20によりA/D変換し
て、その値をサンプリングした目標値としてRAM23
に記憶する。ここで、本実施例では、サンプリング時間
は従来と同様に、T=6msとしている。
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. Here, in this embodiment, the sampling time is T = 6 ms, as in the conventional case.

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

【0019】ステップモータ15の加減速の方法を説明
する。図3にステップモータ制御装置17のステップモ
ータ加減速プログラム25、共振判別プログラム27お
よび速度保持プログラム28の作用をフローチャートで
示す。本フローチャートは、メインプログラムによりス
テップモータ15が1ステップ動作完了するタイミング
でタイマー割り込みにより起動される。目標ステップT
STEPに向けて、ステップモータ15の現在あるステ
ップSTEPを1ステップ更新する(S1)。次に、目
標ステップTSTEPとステップモータ15が現在ある
ステップSTEPとの差を演算し、その絶対値をステッ
プ差DSTEPとする(S2)。
A method of accelerating and decelerating the step motor 15 will be described. FIG. 3 is a flowchart showing the operation of the step motor acceleration / deceleration program 25, the resonance determination program 27, and the speed holding program 28 of the step motor control device 17. This flowchart is started by a timer interrupt at the timing when the step motor 15 completes one step operation by the main program. Target step T
Toward STEP, the current step STEP of the step motor 15 is updated by one step (S1). Next, the difference between the target step TSTEP and the step STEP that the step motor 15 currently has is calculated, and the absolute value is set as the step difference DSTEP (S2).

【0020】次に、ステップ差DSTEPと駆動パルス
MSPDとを比較して、DSTEP>MSPDでないな
らば(S3,NO)、S4に進む。次に、DSTEP=
MSPDでないならば(S4,NO)、判断してS5へ
進む。このときは、DSTEP<MSPDであり、ステ
ップモータ15を減速させるため、MSPDの値を1減
少させ(S5)、次に加速状態を示すフラグFACCを
0として加速状態にないことをRAM23に記憶し(S
6)、S13へ進む。また、DSPD=MSPDなら
ば、ステップモータ15を定速状態とするため、MSP
Dを変えずにS13へ進む(S4,YES)。
Next, the step difference DSTEP is compared with the drive pulse MSPD, and if DSTEP> MSPD is not satisfied (S3, NO), the process proceeds to S4. Next, DSTEP =
If it is not MSPD (S4, NO), the determination is made and the process proceeds to S5. At this time, DSTEP <MSPD, and in order to decelerate the step motor 15, the value of MSPD is decremented by 1 (S5), the flag FACC indicating the acceleration state is set to 0, and the fact that the acceleration state is not stored is stored in the RAM 23. (S
6) Go to S13. If DSPD = MSPD, the step motor 15 is set to the constant speed state,
Proceed to S13 without changing D (S4, YES).

【0021】一方、ステップ差DSTEPと駆動パルス
MSPDとを比較して、DSTEP>MSPDならば
(S3,YES)、ステップモータ15を加速するため
S7へ進む。そして、加速状態を示すフラグFACC=
1でない時は、いままで加速状態になくて、新たに加速
開始要求があったと判断して、S8へ進む(S7,N
O)。また、FACC=1の時は、前回から加速中であ
るので、そのままS11へ進む(S7,YES)。次
に、加速開始要求があったときは、前回の加速要求があ
った時からの時間CACCがステップモータ15の駆動
系の固有振動数に対応する周期と一致するか否かをチェ
ックする。すなわち、CACCが固有振動数に対応する
周期の下限値LVL1と等しいかまたは小さい時は、今
回行われた加減速サイクルが固有振動数に対応する周期
と異なっていると判別して、S10へ進む(S8,YE
S)。本実施例では、LVL1=5.2msとしてい
る。
On the other hand, the step difference DSTEP is compared with the drive pulse MSPD. If DSTEP> MSPD (S3, YES), the process proceeds to S7 to accelerate the step motor 15. Then, the flag FACC indicating the acceleration state =
If it is not 1, it is determined that there is no acceleration condition so far and a new acceleration start request is made, and the process proceeds to S8 (S7, N
O). Further, when FACC = 1, the acceleration has been in progress since the previous time, so the process directly proceeds to S11 (S7, YES). Next, when an acceleration start request is made, it is checked whether or not the time CACC from the time when the previous acceleration request is made matches the cycle corresponding to the natural frequency of the drive system of the step motor 15. That is, when CACC is equal to or smaller than the lower limit value LVL1 of the cycle corresponding to the natural frequency, it is determined that the acceleration / deceleration cycle performed this time is different from the cycle corresponding to the natural frequency, and the process proceeds to S10. (S8, YE
S). In this embodiment, LVL1 = 5.2 ms.

【0022】また、CACCがLVL1により小さくな
い時は(S8,NO)、今回行われた加減速サイクルが
固有振動数に対応する周期と一致している可能性がある
ので、次に、CACCと固有振動数に対応する周期の上
限値LVL2とを比較する(S9)。CACCがLVL
2と等しいかまたは大きい時は、今回行われた加減速サ
イクルが固有振動数に対応する周期と異なっていると判
別して、S10へ進む(S9,YES)。一方、CAC
CがLVL2より小さい時は、今回行われた加減速サイ
クルが固有振動数に対応する周期と一致していると判別
して、S13へ進む(S9,NO)。
When CACC is not smaller than LVL1 (S8, NO), the acceleration / deceleration cycle performed this time may match the cycle corresponding to the natural frequency. The upper limit value LVL2 of the cycle corresponding to the natural frequency is compared (S9). CACC is LVL
When it is equal to or larger than 2, it is determined that the acceleration / deceleration cycle performed this time is different from the cycle corresponding to the natural frequency, and the process proceeds to S10 (S9, YES). On the other hand, CAC
When C is smaller than LVL2, it is determined that the acceleration / deceleration cycle performed this time matches the cycle corresponding to the natural frequency, and the process proceeds to S13 (S9, NO).

【0023】S10では、加速が許可されたと判断し
て、今回の加速開始からの経過時間を累計するために、
CACCをクリアして0とする。次に、MSPDを1加
算する(S11)。次に、加速状態フラグFACCを1
とし加速状態であることを記憶し(S12)、S13へ
進む。次に、図5において、MSPDに対応する励磁時
間をSTIMEとしてRAM23に記憶する(S1
3)。次に、CACCにSTIMEを加算して、RAM
23に記憶する(S14)。これにより、CACCが加
減速サイクル時間を計数している。
In S10, in order to determine that the acceleration is permitted and to accumulate the elapsed time from the start of the current acceleration,
Clear CACC to 0. Next, 1 is added to MSPD (S11). Next, set the acceleration state flag FACC to 1
Then, the acceleration state is stored (S12), and the process proceeds to S13. Next, in FIG. 5, the excitation time corresponding to the MSPD is stored in the RAM 23 as STIME (S1).
3). Next, add STIME to CACC, RAM
It is stored in 23 (S14). As a result, the CACC counts the acceleration / deceleration cycle time.

【0024】次に、本実施例では、4相のステップモー
タを1−2相励磁で制御しているので、ステップモータ
の現在ステップSTEPの下位3ビットの値より図4に
示すパターンで、図5に示す駆動周波数、励磁時間だけ
ステップモータ15の励磁を行う(S15)。次に、割
り込み時間をSTIME後にセットする(S16)。そ
して、割り込み時間経過後、再び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 (S15). Next, the interrupt time is set after STIME (S16). Then, after the interruption time has elapsed, the process proceeds to S1 again.

【0025】次に、上記フローチャートを具体例により
説明する。図2のステップST1の位置にあるとき、そ
のステップを基準とすれば、STEP=0であるから、
ステップ更新することによりSTEP=1となる(S
1)。次に、TSTEP=5、STEP=1であるか
ら、DSTEP=4となる(S2)。そして、MSPD
=0、DSTEP=4であるからDSTEP>MSPD
となり(S3,YES)、S7へ進む。S7において、
前回のステップが加速状態になかったので、加速状態フ
ラグFACC=0であり(S7,NO)、S8へ進む。
ここで、CACC=0であり下限値LVL1=5.2m
sより小さいので(S8,YES)、新たに加速が許可
になった場合であると判断して、S10でCACCを0
にして、新しくCACCの計算を開始する準備をする
(S10)。次に、MSPDを0から1に増加させる
(S11)。そして、加速状態に入ったので、加速状態
を示すフラグFACCを立てる(S12)。
Next, the above flow chart will be described with reference to a concrete example. At the position of step ST1 in FIG. 2, if that step is used as a reference, STEP = 0
By updating the step, STEP becomes 1 (S
1). Next, since TSTEP = 5 and STEP = 1, DSTEP = 4 (S2). And MSPD
= 0 and DSTEP = 4, DSTEP> MSPD
Next (S3, YES), the process proceeds to S7. In S7,
Since the previous step was not in the acceleration state, the acceleration state flag FACC = 0 (S7, NO), and the process proceeds to S8.
Here, CACC = 0 and the lower limit value LVL1 = 5.2 m
Since it is smaller than s (S8, YES), it is determined that acceleration is newly permitted, and CACC is set to 0 in S10.
Then, preparation is made to start a new CACC calculation (S10). Next, MSPD is increased from 0 to 1 (S11). Then, since the acceleration state is entered, a flag FACC indicating the acceleration state is set (S12).

【0026】次に、図5に示すMSPD=1に対応する
励磁時間2.000msを読みだしてSTIMEとして
記憶する(S13)。次に、CACC=0にSTIME
=2.000msを加算して、CACC=2.000m
sとする(S14)。次に、図5に示す駆動周波数50
0ppsの駆動パルスを、ステップの下位3ビットより
図4に示す所定の励磁パターンで駆動回路18を介して
ステップモータ15に与える(S15)。次に、次回の
割り込み時間をSTIMEにセットする(S16)。こ
れにより、STIME=2.000msの時間、上記駆
動パルスが与えられる。そして、ステップモータの現在
位置ステップSTEPはST2になる。
Next, the excitation time of 2.000 ms corresponding to MSPD = 1 shown in FIG. 5 is read and stored as STIME (S13). Next, set CACC = 0 to STIME
= 2.000 ms, CACC = 2.000 m
s (S14). Next, the drive frequency 50 shown in FIG.
A drive pulse of 0 pps is applied to the step motor 15 via the drive circuit 18 from the lower 3 bits of the step in a predetermined excitation pattern shown in FIG. 4 (S15). Next, the next interrupt time is set to STIME (S16). As a result, the drive pulse is given for the time STIME = 2.000 ms. Then, the current position step STEP of the step motor becomes ST2.

【0027】ST2の場合は、DSTEP=5−2=4
(S2)、MSPD=1であるから(S3,YES)、
S7へ進む。そして、FACC=1であるから(S7,
YES)、S11へ進む。次に、MSPD=2に増加さ
れ(S11)、次に、図5に示すMSPD=2に対応す
る励磁時間1.429msを読みだしてSTIMEとし
て記憶する(S13)。次に、CACC=2.000m
sにSTIME=1.429msを加算して、CACC
=3.429msとする(S14)。次に、MSPD=
2であるから図5により、駆動周波数700ppsの駆
動パルスを与える(S15)。次に、次回の割り込み時
間をSTIMEにセットする(S16)。これにより、
STIME=1.429msの時間、上記駆動パルスが
与えられる。そして、ステップモータの現在位置ステッ
プSTEPはST3になる。
In the case of ST2, DSTEP = 5-2 = 4
(S2), since MSPD = 1 (S3, YES),
Proceed to S7. Then, since FACC = 1 (S7,
(YES), the process proceeds to S11. Next, the MSPD is increased to 2 (S11), and then the excitation time 1.429 ms corresponding to MSPD = 2 shown in FIG. 5 is read out and stored as STIME (S13). Next, CACC = 2.000m
STIME = 1.429 ms is added to s, and CACC
= 3.429 ms (S14). Next, MSPD =
Since it is 2, a drive pulse having a drive frequency of 700 pps is given according to FIG. 5 (S15). Next, the next interrupt time is set to STIME (S16). This allows
The drive pulse is applied for a time of STIME = 1.429 ms. Then, the current position step STEP of the step motor becomes ST3.

【0028】ST3の場合は、DSTEP=5−3=2
(S2)、MSPD=2であるから(S3,YES;S
4,YES)、S13へ進む。次に、図5に示すMSP
D=2に対応する励磁時間1.429msを読みだして
STIMEとして記憶する(S13)。次に、CACC
=3.429msにSTIME=1.429を加算し
て、CACC=4.858msとする(S14)。次
に、MSPD=2であるから図5により、駆動周波数7
00ppsの駆動パルスを与える(S15)。次に、次
回の割り込み時間としてSTIMEをセットする(S1
6)。これにより、STIME=1.429msの時
間、上記駆動パルスが与えられる。そして、ステップモ
ータの現在位置ステップSTEPはST4になる。
In the case of ST3, DSTEP = 5-3 = 2
(S2), since MSPD = 2 (S3, YES; S
4, YES), and proceeds to S13. Next, the MSP shown in FIG.
An excitation time of 1.429 ms corresponding to D = 2 is read out and stored as STIME (S13). Next, CACC
= 3.429 ms and STIME = 1.429 are added to set CACC = 4.858 ms (S14). Next, since MSPD = 2, drive frequency 7
A drive pulse of 00 pps is given (S15). Next, STIME is set as the next interrupt time (S1
6). As a result, the drive pulse is applied for a time of STIME = 1.429 ms. Then, the current position step STEP of the step motor becomes ST4.

【0029】ST4の場合は、DSTEP=5−4=1
(S2)、MSPD=2であるから(S3,NO;S
4,NO)、MSPD=1に減速され(S5)、加速状
態フラグFACCを0とする(S6)。次に、図5に示
すMSPD=1に対応する励磁時間2.000msを読
みだしてSTIMEとして記憶する(S13)。次に、
CACC=4.858msにSTIME=2.000m
sを加算して、CACC=6.858msとする(S1
4)。次に、MSPD=1であるから図5により、駆動
周波数500ppsの駆動パルスを与える(S15)。
次に、次回の割り込み時間としてSTIMEをセットす
る(S16)。これにより、STIME=2.000m
sの時間、上記駆動パルスが与えられる。そして、ステ
ップモータの現在位置ステップSTEPはST5にな
る。
In the case of ST4, DSTEP = 5-4 = 1
(S2), since MSPD = 2 (S3, NO; S
4, NO), the MSPD is decelerated to 1 (S5), and the acceleration state flag FACC is set to 0 (S6). Next, the excitation time 2.000 ms corresponding to MSPD = 1 shown in FIG. 5 is read out and stored as STIME (S13). next,
CACC = 4.858 ms and STIME = 2.000 m
s is added to set CACC = 6.858 ms (S1
4). Next, since MSPD = 1, a drive pulse having a drive frequency of 500 pps is given according to FIG. 5 (S15).
Next, STIME is set as the next interrupt time (S16). As a result, STIME = 2.000m
The drive pulse is applied for a time of s. Then, the current position step STEP of the step motor becomes ST5.

【0030】ST5の場合は、DSTEP=9−5=4
(S2)、MSPD=1であるから(S3,YES)、
S7へ進む。CACC=6.858msで下限値LVL
1=5.2msより小さくなく(S8,NO)、上限値
LVL2=7.2msより大きくないから(S9,N
0)、S13へ進む。次に、図5に示すMSPD=1に
対応する励磁時間2.000msを読みだしてSTIM
Eとして記憶する(S13)。次に、CACC=6.8
58msにSTIME=2.000msを加算して、C
ACC=8.858msとする(S14)。次に、MS
PD=1であるから図5により、駆動周波数500pp
sの駆動パルスを与える(S15)。次に、次回の割り
込み時間としてSTIMEをセットする(S16)。こ
れにより、STIME=2.000msの時間、上記駆
動パルスが与えられる。そして、ステップモータの現在
位置ステップSTEPはST6になる。
In the case of ST5, DSTEP = 9-5 = 4
(S2), since MSPD = 1 (S3, YES),
Proceed to S7. Lower limit value LVL at CACC = 6.858 ms
1 is not smaller than 5.2 ms (S8, NO), and is not larger than the upper limit value LVL2 = 7.2 ms (S9, N).
0), go to S13. Next, the excitation time 2.000 ms corresponding to MSPD = 1 shown in FIG.
It is stored as E (S13). Next, CACC = 6.8
Add STIME = 2.000 ms to 58 ms, and add C
The ACC is set to 8.858 ms (S14). Next, MS
Since PD = 1, the drive frequency is 500 pp according to FIG.
A drive pulse of s is given (S15). Next, STIME is set as the next interrupt time (S16). As a result, the drive pulse is given for the time STIME = 2.000 ms. Then, the current position step STEP of the step motor becomes ST6.

【0031】本実施例のステップモータ制御装置では、
加減速サイクル時間B=6.858msが、ステップモ
ータ15の駆動系の固有振動数に対応する共振周期5.
2〜7.2msの一致する場合に共振が発生すると共振
判別プログラム27が判断して、速度保持プログラム2
8により、最終ステップを繰り返しているので、加減速
サイクル時間B1=8.858msが共振周期と一致し
なくなるため、加減速サイクルの繰り返しにより発生す
るうねり振動を防止することができる。
In the step motor controller of this embodiment,
The acceleration / deceleration cycle time B = 6.858 ms corresponds to the natural frequency of the drive system of the step motor 15, and the resonance period is 5.
The resonance determination program 27 determines that resonance will occur when the values match with each other for 2 to 7.2 ms, and the speed holding program 2
8, the final step is repeated, so that the acceleration / deceleration cycle time B1 = 8.858 ms does not match the resonance cycle, so that it is possible to prevent the swell vibration generated by the repetition of the acceleration / deceleration cycle.

【0032】STEP6の場合、DSTEP=9−6=
3であり(S2)、MSPD=1であるから(S3,Y
ES)、S7へ進む。次に、FACC=0であり(S
7,NO)、S8へ進む。ここで、CACC=8.85
8msであり、上限値LVL2=7.2msより大きい
から(S9,YES)、新たに加速が許可になった場合
であると判断して、S10でCACCを0にして、新し
くCACCの計算を開始する準備をする(S10)。次
に、MSPDを1から2に加速させる(S11)。そし
て、加速状態に入ったので、加速状態を示すフラグFA
CCを立てる(S12)。
In the case of STEP6, DSTEP = 9-6 =
3 (S2) and MSPD = 1 (S3, Y
ES), and proceed to S7. Next, FACC = 0 and (S
7, NO), the process proceeds to S8. Here, CACC = 8.85
Since it is 8 ms and is larger than the upper limit value LVL2 = 7.2 ms (S9, YES), it is determined that acceleration is newly permitted, CACC is set to 0 in S10, and calculation of a new CACC is started. (S10). Next, MSPD is accelerated from 1 to 2 (S11). Since the acceleration state is entered, the flag FA indicating the acceleration state is displayed.
Set CC (S12).

【0033】次に、図5に示すMSPD=2に対応する
励磁時間1.429msを読みだしてSTIMEとして
記憶する(S13)。次に、CACC=0にSTIME
=1.429msを加算して、CACC=1.429m
sとする(S14)。次に、図5に示す駆動周波数70
0ppsの駆動パルスを、ステップの下位3ビットより
図4に示す所定の励磁パターンで駆動回路18を介して
ステップモータ15に与える(S15)。次に、次回の
割り込み時間をSTIMEにセットする(S16)。こ
れにより、STIME=1.429msの時間、上記駆
動パルスが与えられる。そして、ステップモータの現在
位置ステップSTEPはST7になる。
Next, the excitation time of 1.429 ms corresponding to MSPD = 2 shown in FIG. 5 is read out and stored as STIME (S13). Next, set CACC = 0 to STIME
= 1.429ms is added, CACC = 1.429m
s (S14). Next, the drive frequency 70 shown in FIG.
A drive pulse of 0 pps is applied to the step motor 15 via the drive circuit 18 from the lower 3 bits of the step in a predetermined excitation pattern shown in FIG. 4 (S15). Next, the next interrupt time is set to STIME (S16). As a result, the drive pulse is applied for a time of STIME = 1.429 ms. Then, the current position step STEP of the step motor becomes ST7.

【0034】上記詳細に説明したように、本実施例のス
テップモータ制御装置17によれば、STEP5におい
て、加減速サイクル時間B=6.858msがステップ
モータの駆動系の固有振動数に対応する周期と一致する
と判別したときに、加減速サイクル時間を所定時間延長
しているので、ステップモータ15の加減速サイクル時
間B1=8.858msがステップモータ駆動系の固有
振動数に対応する周期と一致しなくなり、スロットルバ
ルブ12においてうねり振動による共振が発生すること
がないため、スロットルバルブ12を正確に制御でき、
ガソリンエンジン11への吸気量を正確に制御すること
ができる。また、ステップモータ15を停止するとき
も、スロットルバルブ12のうねり振動が少ないので、
停止時の振動もきわめて短時間で収束させることができ
るため、アクセル26の踏み込み量に再び変化があった
ときに、速やかに対応することができる。
As described in detail above, according to the step motor controller 17 of the present embodiment, in STEP 5, the acceleration / deceleration cycle time B = 6.858 ms is the cycle corresponding to the natural frequency of the drive system of the step motor. When it is determined that the acceleration / deceleration cycle time is extended by a predetermined time, the acceleration / deceleration cycle time B1 = 8.858 ms of the step motor 15 coincides with the cycle corresponding to the natural frequency of the step motor drive system. Since the resonance due to the swell vibration does not occur in the throttle valve 12, the throttle valve 12 can be accurately controlled,
The amount of intake air to the gasoline engine 11 can be accurately controlled. Also, when the step motor 15 is stopped, the swell vibration of the throttle valve 12 is small,
Since the vibration at the time of stop can also be converged in an extremely short time, it is possible to promptly respond when the depression amount of the accelerator 26 changes again.

【0035】以上、いくつかの実施例について本発明を
説明したが、本発明は上記実施例に何ら限定されるもの
ではなく、本発明の趣旨を逸脱しない範囲で種々の変形
改良が可能であることは容易に推察できるものである。
本実施例では、スロットルバルブを駆動するステップモ
ータの駆動系の固有振動数に対応する周期のみを問題と
したが、固有振動数の整数倍および分数倍の振動数を含
めても良い。また、本実施例では、スロットルバルブを
駆動するステップモータの制御装置について説明した
が、目標値が時々刻々変化する場合であって、ステップ
モータに高い応答性が要求されるときには他の用途にも
適用できる。
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, only the period corresponding to the natural frequency of the drive system of the step motor that drives the throttle valve has been taken into consideration, but it is also possible to include integer multiples and fractional multiples of the natural frequency. Further, in the present embodiment, the control device for the step motor that drives the throttle valve has been described. However, when the target value changes from moment to moment, and when the step motor is required to have high responsiveness, it can be used in other applications. Applicable.

【0036】[0036]

【発明の効果】以上説明したことから明かなように、本
発明のステップモータ制御装置によれば、加減速サイク
ル時間が、ステップモータの駆動系の固有振動数に対応
する共振周期と一致する場合に共振が発生すると共振判
別手段が判断して、速度保持手段により、加減速サイク
ル時間を延長して最終ステップを繰り返しているので、
加減速サイクル時間が共振周期と一致することがないた
め、スロットルバルブにおいてうねり振動による共振が
発生することがなく、スロットルバルブを正確に制御で
き、エンジンへの吸気量を正確に制御することができ
る。また、ステップモータを停止するときも、スロット
ルバルブのうねり振動が少ないので、停止時の振動もき
わめて短時間で収束させることができるため、アクセル
の踏み込み量に再び変化があったときに、速やかに対応
することができる。
As is apparent from the above description, according to the step motor control device of the present invention, when the acceleration / deceleration cycle time matches the resonance period corresponding to the natural frequency of the drive system of the step motor. When the resonance occurs in the resonance determination means, the speed holding means extends the acceleration / deceleration cycle time and repeats the final step.
Since the acceleration / deceleration cycle time does not match the resonance cycle, resonance due to swell vibration does not occur in the throttle valve, the throttle valve can be accurately controlled, and the intake air amount to the engine can be accurately controlled. . Also, when the step motor is stopped, the swell vibration of the throttle valve is small, so the vibration at the time of stop can be converged in an extremely short time. Can respond.

【図面の簡単な説明】[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 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 速度保持プログラム B 加減速サイクル時間 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 determination program 28 Speed holding program B Acceleration / deceleration cycle time

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 時間経過に伴って変化する設定目標値を
一定のサンプリング時間毎にサンプリングするサンプリ
ング手段と、 サンプリングされた設定目標値とステップモータの現在
位置との差を演算して、その差に応じてステップモータ
を加速し、設定目標値に近づいた時にステップモータを
減速させ、設定目標値でステップモータを停止させるス
テップモータ加減速サイクルを行うステップモータ加減
速手段とを有するステップモータ制御装置において、 前記加減速サイクル時間が、ステップモータが駆動する
駆動系の固有振動数に対応する周期と一致するか否かを
判別する共振発生判別手段と、 前記共振発生判別手段が、前記加減速サイクル時間が前
記周期と一致すると判別した場合に、前記加減速サイク
ル時間を延長して所定時間、速度を一定に保持する速度
保持手段とを有することを特徴とするステップモータ制
御装置。
1. A sampling means for sampling a set target value, which changes with the passage of time, at fixed sampling times, and a difference between the sampled set target value and the current position of the step motor is calculated, and the difference is calculated. Step motor acceleration / deceleration means for performing a step motor acceleration / deceleration cycle for accelerating the step motor according to the above, decelerating the step motor when approaching the set target value, and stopping the step motor at the set target value In the acceleration / deceleration cycle, the acceleration / deceleration cycle time determines whether or not the resonance generation determination means determines whether or not the acceleration / deceleration cycle time matches a cycle corresponding to the natural frequency of the drive system driven by the step motor. When it is determined that the time matches the cycle, the acceleration / deceleration cycle time is extended to a predetermined time A stepping motor control device having a speed holding means for holding the degree constant.
【請求項2】 請求項1に記載するものにおいて、 前記ステップモータの駆動系の固有振動数に対応する周
期が5.2〜7.2msであることを特徴とするステッ
プモータ制御装置。
2. The step motor control device according to claim 1, wherein the cycle corresponding to the natural frequency of the drive system of the step motor is 5.2 to 7.2 ms.
JP15107993A 1993-05-28 1993-05-28 Step motor controller Pending JPH06336943A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP15107993A JPH06336943A (en) 1993-05-28 1993-05-28 Step motor controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP15107993A JPH06336943A (en) 1993-05-28 1993-05-28 Step motor controller

Publications (1)

Publication Number Publication Date
JPH06336943A true JPH06336943A (en) 1994-12-06

Family

ID=15510860

Family Applications (1)

Application Number Title Priority Date Filing Date
JP15107993A Pending JPH06336943A (en) 1993-05-28 1993-05-28 Step motor controller

Country Status (1)

Country Link
JP (1) JPH06336943A (en)

Similar Documents

Publication Publication Date Title
US4955346A (en) Throttle control apparatus of internal combustion engine
EP0203529A2 (en) A system and method for controlling the opening angle of a throttle valve according to the position of an accelerator for an automotive vehicle
US5508925A (en) Constant speed running device
JP3085487B2 (en) Throttle opening control device for vehicle engine
JP2942441B2 (en) Step motor control device
JPH05228794A (en) Positioning method for main spindle
JPH06336943A (en) Step motor controller
JPS5945515A (en) Method for controlling position of motor
JPH06343298A (en) Stepping motor controller
JP3213121B2 (en) Step motor control device
JPS604428A (en) Controller of automatic cruising
JPH0734945A (en) Throttle valve control device
JP3352517B2 (en) Driving device for stepping motor
JP2970063B2 (en) Servo system error handling method
JPH0617662B2 (en) Slot valve control method
JP3020713B2 (en) Stepping motor driving method and device
JP2781032B2 (en) Constant speed traveling control device
JPH0783086A (en) Egr control device for internal combustion engine
JPH071022B2 (en) Vehicle accelerator control device
JPH0720360Y2 (en) Throttle valve opening control device
JPH08295155A (en) Constant running device for vehicle
JPH07107787A (en) Driving gear of stepping motor
JPS63219839A (en) Acceleration speed controlling method
JPH1062312A (en) Diagnostic device for vehicle
JPH0727009A (en) Throttle valve controller