JPS63107499A - Controller for stepping motor - Google Patents

Controller for stepping motor

Info

Publication number
JPS63107499A
JPS63107499A JP25014886A JP25014886A JPS63107499A JP S63107499 A JPS63107499 A JP S63107499A JP 25014886 A JP25014886 A JP 25014886A JP 25014886 A JP25014886 A JP 25014886A JP S63107499 A JPS63107499 A JP S63107499A
Authority
JP
Japan
Prior art keywords
pulse
pulse train
stepping motor
train data
output
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP25014886A
Other languages
Japanese (ja)
Inventor
Seigo Kishi
貴志 征五
Katsuhiro Fujikawa
藤川 勝弘
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP25014886A priority Critical patent/JPS63107499A/en
Publication of JPS63107499A publication Critical patent/JPS63107499A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To suppress a vibration at the time of stopping a stepping motor thereby to accurately position the motor by repeating normal and reverse rotations predetermined times after a final pulse is delivered. CONSTITUTION:Rear pulse train data generating means 2 produced the final step pulse of pulses for driving a stepping motor, and then generates pulse train data to be delivered. Switching means 6a reads out, upon inputting final pulse discriminating means 6, rear pulse train data, and alternately outputs a switching signal for switching a pulse direction to normal or reverse to a stepping motor drive circuit 7 synchronously with the rear pulse train data. Thus, the vibration of the motor is attenuated during the inputting period of the pulse signal which varies in normal and reverse directions.

Description

【発明の詳細な説明】 [産業上の利用分野] この発明はステッピングモータの制御装置に関し、特に
送りパルス送出後のステッピングモータの無振動整定を
向上させる制御装置に関するものである。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a control device for a stepping motor, and more particularly to a control device that improves vibration-free settling of a stepping motor after sending a feed pulse.

[従来の技術] 一般にステッピングモータを駆動制御する場合は、ステ
ッピングモータの回転数及び回転速度に応じた周波数の
パルス信号を回転数組等分パルス発生部より駆動制御部
へ出力し、駆動制御を行なう。
[Prior Art] Generally, when controlling the drive of a stepping motor, a pulse signal with a frequency corresponding to the number of rotations and rotational speed of the stepping motor is output from a pulse generator equally divided into rotation number groups to a drive control unit, and drive control is performed. Let's do it.

その一般的な制御装置としては第5図に示すものがある
0図中、(1)は外部からの回転指令に基づいて第6図
に示す如くステッピングモータ駆動用の駆動パルス、及
び回転方向を指令する方向パルスをマイクロコンピュー
タ(以降マイコンと略記する) (la)によって出力
制御する制御回路、(7)は上記各パルスに基づいて駆
動制御出力をステッピングモータ(8)へ入力するステ
ッピングモータ駆動回路であり、ステッピングモータ(
8)の駆動制御のもとに、カップリング(9)で係合さ
れた機構部の負荷(10)が駆動される。
A typical control device for this is shown in Fig. 5. In Fig. 0, (1) controls the drive pulse for driving the stepping motor and the rotation direction as shown in Fig. 6 based on an external rotation command. A control circuit that outputs commanded direction pulses by a microcomputer (hereinafter abbreviated as microcomputer) (la), and (7) a stepping motor drive circuit that inputs a drive control output to the stepping motor (8) based on each of the above-mentioned pulses. and a stepping motor (
Under the drive control of 8), the load (10) of the mechanism part engaged by the coupling (9) is driven.

ステッピングモータ(8)により負荷(10)を一定時
間、又は一定距離だけ定速度で移動させる場合は第7図
に示す如く、一定周期(丁+−1#+)毎に送りパルス
を、負荷(lO)の移動量分(例えば10パルス)制御
回路(1)よりステッピングモタ駆動回路(7)へ出力
する。その結果、負荷(10)は定速度で送りパルス分
移動する。
When the stepping motor (8) is used to move the load (10) for a certain period of time or a certain distance at a constant speed, as shown in Fig. The amount of movement (for example, 10 pulses) of 1O) is output from the control circuit (1) to the stepping motor drive circuit (7). As a result, the load (10) moves at a constant speed by the amount of the sending pulse.

上記の如くステッピングモータ(8)の運転状態に応じ
たパターンのパルス信号を発生する方法としては、従来
、各パルスパターン毎のパルス列を構成する各ビット情
報を、個々のメモリアドレスに記憶させ、一定アドレス
空間毎に各パルスパターンを格納させた後、メモリをア
クセスしパルスデータを出力する方法がある。
Conventionally, as a method for generating pulse signals of a pattern according to the operating state of the stepping motor (8) as described above, each bit information constituting the pulse train for each pulse pattern is stored in individual memory addresses, and There is a method in which each pulse pattern is stored in each address space, and then the memory is accessed and pulse data is output.

次に上記メモリテーブルをアクセスしてパルスデータを
出力する動作手順を第7図(a)に示すフローチャート
を参照して説明する。
Next, the operation procedure for accessing the memory table and outputting pulse data will be explained with reference to the flowchart shown in FIG. 7(a).

マイコン(1a)のパルス出力演算部は、パルス数n、
及び回転方向指令等を読む(2−1)。次にこれらの回
転指令より、パルスパターンを判定し、該パルスパター
ンが記憶されているメモリテーブル(第8図参照)内の
先頭アドレス(TA+o)を算出すると共に1回転方向
を判定し、方向パルスをステッピングモータ駆動回路(
7)へ出力する(2−2)〜(2−4) 、上記先頭ア
ドレス(TA+o)判定後、アドレス(TA+o)の内
容をデータ転送動作の為、マイコン(la)内の7キユ
ムレータACCへ一時移動する(2−5) 、 マイコ
ン(1a)テはアキュムレータACCノデータ内容を検
出し、最終データを示す°゛80″であるか否かを判定
しく2−8)、“80″であれば、パルス出力を停止す
る。又“80”でなければ、l”か否かを判定しく2−
7)、“1”であれば第1図(b)に示す如く立ち上り
パルスをONとする(2−8) 、そしてパルス巾が決
まる↑豐時間経過後、パルス出力をOFF状態にする(
2−9) 、(2−10)。
The pulse output calculation section of the microcomputer (1a) calculates the number of pulses n,
and read the rotation direction command, etc. (2-1). Next, based on these rotation commands, the pulse pattern is determined, the start address (TA+o) in the memory table (see Figure 8) where the pulse pattern is stored is calculated, the direction of one rotation is determined, and the direction pulse The stepping motor drive circuit (
7) Output to (2-2) to (2-4) After determining the start address (TA+o), the contents of address (TA+o) are temporarily sent to the 7-cumulator ACC in the microcontroller (la) for data transfer operation. When moving (2-5), the microcomputer (1a) detects the data contents of the accumulator ACC and determines whether it is ゛80'' indicating the final data (2-8), and if it is ``80'', Stop the pulse output.If it is not "80", judge whether it is "l" or not.2-
7) If it is "1", turn on the rising pulse as shown in Figure 1 (b) (2-8), and after the pulse width has been determined, turn off the pulse output (
2-9), (2-10).

パルス出力を OFF状態とした後、メモリアドレスを
1つ歩進して、読み出しアドレスを更新すル(2−11
)、マイコン(la)(IIでは更新アドレス(TAI
Ool)の内容を判定し、480″でなければ、(TA
+o、+)≠1であるか否かを判定する(2−6) 。
After turning off the pulse output, increment the memory address by one and update the read address (see 2-11).
), microcontroller (la) (update address (TAI) in II
Ool), and if it is not 480″, (TA
It is determined whether +o, +)≠1 (2-6).

(2−7)、この判定により、(TA+o、+)≠1で
あればパルス出力をOFF状態とする(2−12)。パ
ルス出力OFF後、T11時間経過したならばメモリア
ドレスを(TA1012)に更新する(2−12)、(
2−13)、(2−11)、そしてT臀時間毎に更新さ
れたメモリアドレス(TAn)内容が(TAn)≠1で
ある限りパルス出力をOFFとする(2−12)、そし
て(丁An)mlとであるステップ(2−7)で判定さ
れた時、再度ステップ(2−8)〜(2−10)によっ
てパルス巾Twのパルスが出力される。
(2-7) As a result of this determination, if (TA+o,+)≠1, the pulse output is turned off (2-12). After the pulse output is turned off, if time T11 has elapsed, update the memory address to (TA1012) (2-12), (
2-13), (2-11), and as long as the content of the memory address (TAn) updated every T buttock time is (TAn)≠1, the pulse output is turned off (2-12), and (2-12), An) ml is determined in step (2-7), a pulse with a pulse width Tw is output again in steps (2-8) to (2-10).

以りのように各メモリアドレスより1”及び“O”が読
み出されると、“O”が記憶されたメモリアドレスのア
クセス時間等で決まるパルス周期を有したパルス列デー
タが生成される。又、この時のパルス数は“1′を記憶
したメモリアドレス数で決まる。
When "1" and "O" are read from each memory address as described above, pulse train data is generated having a pulse period determined by the access time of the memory address where "O" is stored. The number of pulses at the time is determined by the number of memory addresses storing "1".

[発明が解決しようとする問題点] 従来のステッピングモータの制御装置は、ステッピング
モータ駆動回路へ送出された送りパルスのパルス数によ
りモータ回転数、又は回転角度を決めモしてモータ軸に
結合した負荷をパルス数によって決まる位置へ移動し停
止させるのであるが、ステッピングモータを起動し、停
止させる場合、停止時にステッピングモータとの関係に
より振動が生じ、その振動により所定の位置で停止せず
、異なる位置で停止する税調という現象が起き得るとい
う問題点があった。
[Problems to be Solved by the Invention] Conventional stepping motor control devices determine the motor rotation speed or rotation angle based on the number of feed pulses sent to the stepping motor drive circuit, and connect the motor to the motor shaft. The load is moved to a position determined by the number of pulses and then stopped, but when the stepping motor is started and stopped, vibrations occur due to the relationship with the stepping motor when stopping, and due to the vibrations, the load does not stop at a predetermined position. There was a problem in that the phenomenon of tax adjustment stopping at certain positions could occur.

この発明は上記のような問題点を解決するためになされ
たもので、停止時の振動を抑え、正確な位置決めがなし
えるステッピングモータの制御装置を提供することを目
的とする。
The present invention has been made to solve the above-mentioned problems, and an object of the present invention is to provide a control device for a stepping motor that suppresses vibrations when stopped and can perform accurate positioning.

[問題点を解決するための手段] この発明に係るステッピングモータの制御?を置は、パ
ルス出力f段より、ステッピングモータ駆動負荷の移動
方向、及び移動位置を決めるパルス出力を送出後、パル
ス列データ生成手段において該パルス出力の単位時間当
りのパルス数に応じたパルス数並びにパルス周波数を有
した新たなパルス列データを生成し、該パルス列データ
に基づく各パルス信号をパルス方向切換信号と共にステ
ッピングモータ駆動回路へ送出するものである。
[Means for solving the problem] Control of the stepping motor according to the present invention? After sending out a pulse output that determines the moving direction and moving position of the stepping motor driving load from the pulse output stage f, the pulse train data generation means generates the number of pulses and the number of pulses corresponding to the number of pulses per unit time of the pulse output. New pulse train data having a pulse frequency is generated, and each pulse signal based on the pulse train data is sent to the stepping motor drive circuit together with a pulse direction switching signal.

[作用] この発明によるステッピングモータの制御装置によれば
、最初に出力されたパルス列データ中の最終ステップパ
ルスが判定された後、新たに出力された特定周波数のパ
ルス信号が、゛パルス方向切換信号と共にステッピング
モータ駆動回路へ送出され、それによりステッピングモ
ータの振動は、正方向及び逆方向に変化するパルス信号
の入力期間中に減衰する。
[Function] According to the stepping motor control device according to the present invention, after the final step pulse in the first output pulse train data is determined, the newly output pulse signal of a specific frequency is used as the ``pulse direction switching signal''. is also sent to the stepping motor drive circuit, so that the vibrations of the stepping motor are damped during the input period of the pulse signal varying in the forward and reverse directions.

[実施例] 第1図はこの発明のステッピングモータの制御装置の一
実施例を示す全体構成図である。(2)はステッピング
モータ駆動用パルスの最終ステップパルスを送出した後
、送出するパルス列データを生成する後期パルス列デー
タ生成手段、(3)はノくルス列データ記憶手段、(0
は該記憶手段(3)に対しパルス列データの読み出しを
指令する。<ルス列データ読出し手段、(5)は読出し
パルス列データに基づきモータ駆動用パルス出力をステ
ッピングモータ駆動回路(7)へ出力するパルス出力手
段、(6)は上記読み出したパルス列データより最終ス
テップパルスを判定する最終ノくルス判定手段、(6a
)は最終パルス判定信号の入力に伴ない、上記パルス列
データ読出し手段に後期ノくルス列データの読み出しを
i令すると共に、後期ノ(ルス列データの読み出しに同
期して上記ステッピングモータ駆動回路(7)へパルス
方向を正逆に切換える切換信号を交互に出力するパルス
方向に切換えf段である。
[Embodiment] FIG. 1 is an overall configuration diagram showing an embodiment of a stepping motor control device of the present invention. (2) is a late pulse train data generation means that generates pulse train data to be sent out after sending out the final step pulse of the stepping motor drive pulse; (3) is a Noculus train data storage means;
commands the storage means (3) to read pulse train data. <A pulse train data reading means; (5) is a pulse output means for outputting a motor drive pulse output to the stepping motor drive circuit (7) based on the read pulse train data; (6) is a pulse output means for outputting a final step pulse from the read pulse train data; Final nox determination means for determining, (6a
) commands the pulse train data reading means to read out the late pulse train data in accordance with the input of the final pulse determination signal, and also instructs the stepping motor drive circuit ( 7) is a pulse direction switching stage f which alternately outputs a switching signal for switching the pulse direction between forward and reverse.

第1図の実施例に使用されるステッピングモータの制御
装置の全体構成図は第5図と同様であり詳細説明は省略
する。
The overall configuration diagram of the stepping motor control device used in the embodiment of FIG. 1 is the same as that of FIG. 5, and detailed explanation will be omitted.

次に上記実施例の動作を第2図(a)、(b) 、第3
図、第4図(a) 、(b)を参照して説明する。第2
図(a)はマイコン(la)のメモリに記憶されたパル
ス出力プログラムを示すフローチャート、第2図(b)
はこのプログラムの実施によって出力されたパルス列の
パターン図、第3図は方向性パルスと駆動パルスとの関
係を示したパルスパターン図、第4図(a)はnパルス
のパルス列データが記憶された記憶装置内のアドレス内
容を示したメモリテーブルの説明図、第4図(b)は第
2パルス列デーダのパルス数をテーブルにして記憶した
メモリテーブルの説明図である。
Next, the operation of the above embodiment is shown in FIGS. 2(a), (b) and 3.
This will be explained with reference to FIGS. 4(a) and 4(b). Second
Figure (a) is a flowchart showing the pulse output program stored in the memory of the microcomputer (la), and Figure 2 (b)
is a pattern diagram of a pulse train output by executing this program, Figure 3 is a pulse pattern diagram showing the relationship between directional pulses and drive pulses, and Figure 4 (a) is a diagram showing the pulse train data of n pulses stored. FIG. 4B is an explanatory diagram of a memory table showing the contents of addresses in the storage device. FIG. 4B is an explanatory diagram of a memory table in which the number of pulses of the second pulse train data is stored as a table.

E記フローチャートのステップ(2−1)〜(2−13
)は、第3図に示される第1のパルス列データを発生さ
せる為のf順を示すものであり、このフローチャートは
従来装置におけるフローチャートと同様であるので詳細
な説明は省略する。
Steps (2-1) to (2-13) of the flowchart described in E.
) shows the f order for generating the first pulse train data shown in FIG. 3, and since this flowchart is the same as the flowchart in the conventional device, detailed explanation will be omitted.

マイコン(la)のパルス出力演算部は、パルス及び回
転方向指令等の回転指令を読み込む(2−1) 。
The pulse output calculation section of the microcomputer (la) reads rotation commands such as pulses and rotation direction commands (2-1).

これら回転指令より、第1パルス列及び第2パルス列の
パルスパターンを判定し、第1パルス列データ及び第2
パルス列データが記憶されている先頭アドレスを算出す
ると共に、第1パルス列データに基づくステッピングモ
ータの回転方向を判定する(2−2)、(2−3) 、
第1パルス列データが設定された後、第2パルス列テー
ブル(第4図(b)参照)より出力パルス数mを決定す
る(2−14)、次に第2パルス列テーブルよりパルス
周波数定数mを決定する(2−15)。
Based on these rotation commands, the pulse patterns of the first pulse train and the second pulse train are determined, and the first pulse train data and the second pulse train data are determined.
Calculating the top address where the pulse train data is stored and determining the rotation direction of the stepping motor based on the first pulse train data (2-2), (2-3),
After the first pulse train data is set, the number m of output pulses is determined from the second pulse train table (see Figure 4 (b)) (2-14), and then the pulse frequency constant m is determined from the second pulse train table. (2-15).

以上のように第1パルス列データが決定され、続くステ
ップ(2−4)〜ステップ(2−13)を実施し第3図
に示す第1パルス列データが読み出されステップ(2−
1ft)へ移り、第2パルス列テーブル生成ルーチンを
実施する。
The first pulse train data is determined as described above, and the following steps (2-4) to (2-13) are carried out to read out the first pulse train data shown in FIG.
1ft) and executes the second pulse train table generation routine.

先ず、ステップ(2−18)ではステップ(2−14)
で決定したパルス個数分パルス信号を出力したか否かを
判定し、YESであれば第2パルス列は全て出力された
として第2パルス生成ルーチンを終了する(2−28)
、またステップ(2−113)がNOであれば、決定し
たパルスの個数を1つ減算する(2−17)。最終の第
1パルス列が出力されてからn、すなわちnml/f2
’  (第2パルス列の周波数)経過したか否かを判定
しく2−18)、経過したと判定されたならば、第3図
に示すように方向パルスと駆動パルス(’a)をステッ
ピングモータ駆動回路(7)へ出力し、ステッピングモ
ータ(8)を1パレス分逆方向へ回転する(2−19)
 、 (2−20)。上記駆動パルス(a)出力後、T
W時間経過したか否かを判定しく2−21)、経過した
ならば駆動パルス出力をOFF状態とする(2−22)
、 ハルス出力OFF後、第2パルス列の周期を決定す
るnが経過したか否かを判定しく2−23)、n経過後
正方向パルスと駆動パルス(b)をステッピングモータ
駆動回路(7)へ出力し、ステッピングモータ(8)を
1パレス分正方向へ戻す(2−24) 。
First, in step (2-18), step (2-14)
Determine whether or not the pulse signal has been output for the number of pulses determined in , and if YES, the second pulse generation routine is terminated as all the second pulse trains have been output (2-28).
, and if step (2-113) is NO, the determined number of pulses is subtracted by one (2-17). n after the final first pulse train is output, that is, nml/f2
2-18) If it is determined that the frequency of the second pulse train has elapsed, the direction pulse and the drive pulse ('a) are used to drive the stepping motor as shown in Figure 3. Output to circuit (7) and rotate stepping motor (8) in the opposite direction by one pulse (2-19)
, (2-20). After outputting the above drive pulse (a), T
Determine whether or not W time has elapsed (2-21), and if it has elapsed, turn off the drive pulse output (2-22)
, After the Hals output is turned off, it is determined whether or not n, which determines the period of the second pulse train, has elapsed (2-23), and after n elapses, the positive direction pulse and drive pulse (b) are sent to the stepping motor drive circuit (7). output and return the stepping motor (8) in the forward direction by one pulse (2-24).

(2−25)、モして丁一時間経過後、駆動パルレス出
力をOFF状態とする(2−27)、以上ステップ(2
−17)〜(2−27)をステップ(2−18)でm=
o と判定されるまで繰り返し、n周期毎にステッピン
グモータ駆動回路(7)へ回転正方向と回転逆方向パル
スを交互に出力する。尚、第3図では正方向パルス、逆
方向パルスはそれぞれ3個であり、パルス周波数はf2
と一定であるが、第1パルス列の周波数及びパルス数に
応じて変化させてもよい。
(2-25) After one hour has elapsed, the drive pulseless output is turned off (2-27).
-17) to (2-27) in step (2-18) m =
It repeats until it is determined that the rotation is o, and alternately outputs rotation forward direction pulses and rotation reverse direction pulses to the stepping motor drive circuit (7) every n cycles. In Fig. 3, there are three forward pulses and three reverse pulses, and the pulse frequency is f2.
is constant, but may be changed depending on the frequency and number of pulses of the first pulse train.

[発明の効果] 以上のようにこの発明によれば、ステッピングモータ駆
動用パルス信号送出後、該パルス信号の周波数及びパル
ス数に応じたパルス周期でモータ正方向回転と逆方向回
転パルスを所定数繰り返し出力する手段を備えた為、ス
テッピングモータ停止時におけるパルス信号周波数にス
テッピングモータが共振した場合であって、共振振動は
一定周波数のモータ正逆方向回転パルスの発生期間に抑
えられるのでステッピングモータはミスステップするこ
とがなく正確に負荷の位首決めを成し得る効果がある。
[Effects of the Invention] As described above, according to the present invention, after sending out a stepping motor driving pulse signal, a predetermined number of motor forward rotation and reverse rotation pulses are applied at a pulse period corresponding to the frequency and number of pulses of the stepping motor drive pulse signal. Since it is equipped with a means to repeatedly output, even if the stepping motor resonates with the pulse signal frequency when the stepping motor is stopped, the resonant vibration is suppressed during the generation period of the motor's forward and reverse rotation pulses of a constant frequency, so the stepping motor This has the effect of accurately positioning the load without making any missteps.

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

第1図はこの発明のステッピングモータの制御装置の一
実施例を示す全体構成図、第2図(a)はマイコンによ
るパルス出力動作を説明するフローチャート、第2図(
b)はパレス出力プログラムの実施によって出力される
パルス列データのパルスパターン図、第3図は回転方向
性パルスと駆動パルスの関係を示したパルスパターン図
、第4図(a) li n パレスのパルス列データを
記憶したメモリテーブル図、第4図(b)は第2パルス
列データを記憶したメモリテーブル図、第5図はステッ
ピングモータの制御装置のシステム構成図、第6図は第
1パルス列データにおける方向性パルスと駆動/<レス
の関係を示したパルスパターン図、第7図(a)は従来
のパルス出力動作を説明するフローチャート、第7図(
b)は該パルス出力動作によって生成されたパルス列デ
ータのパターン図、第8図はパルス列データを記憶した
メモリテーブル図である。 図において、 (1)は制御回路。 (2)は後期パルス列データ生成手段、(3)はパルス
列データ記憶弁段、 (4)はパルス列データ読出し手段、 (5)はパルス出力手段、 (8)は最終パルス判定手段、 (6a)はパルス方向切換え手段、 (7)はステッピングモータ駆動回路、(8)はステッ
ピングモータ。 なお、各図中、同一符号は同−又は相当部分を示す。
FIG. 1 is an overall configuration diagram showing an embodiment of the stepping motor control device of the present invention, FIG. 2(a) is a flowchart explaining pulse output operation by a microcomputer,
b) is a pulse pattern diagram of pulse train data output by executing the pulse output program, Figure 3 is a pulse pattern diagram showing the relationship between rotational directional pulses and drive pulses, and Figure 4 (a) is a pulse train of lin pulse. Figure 4 (b) is a memory table diagram that stores the data; Figure 4 (b) is a memory table diagram that stores the second pulse train data; Figure 5 is a system configuration diagram of the stepping motor control device; Figure 6 is the direction in the first pulse train data. FIG. 7(a) is a pulse pattern diagram showing the relationship between sexual pulse and drive/<response, and FIG. 7(a) is a flowchart explaining the conventional pulse output operation.
b) is a pattern diagram of pulse train data generated by the pulse output operation, and FIG. 8 is a memory table diagram in which the pulse train data is stored. In the figure, (1) is a control circuit. (2) is a latter stage pulse train data generation means, (3) is a pulse train data storage valve stage, (4) is a pulse train data reading means, (5) is a pulse output means, (8) is a final pulse judgment means, (6a) is Pulse direction switching means, (7) is a stepping motor drive circuit, and (8) is a stepping motor. In each figure, the same reference numerals indicate the same or corresponding parts.

Claims (1)

【特許請求の範囲】[Claims]  ステッピングモータの運転状態に応じて生成された所
定周波数のパルス列データをパルス制御回路より出力し
、該パルス列データに基づいて駆動回路より出力される
励磁電流を上記ステッピングモータへ入力してモータ駆
動制御を行なうステッピングモータの制御装置において
、上記パルス列信号のパルス数に基づき、最終ステップ
パルス出力後に出力するパルス列信号のパルス数及びパ
ルス周波数を設定し新たなパルス列データを生成する後
期パルス列データ生成手段と、パルス列データ記憶手段
と、該記憶手段よりパルス列データを読み出すパルス列
データ読出し手段と読出しパルス列データに基づきモー
タ駆動用パルス出力をステッピングモータ駆動回路へ出
力するパルス出力手段と、上記読み出したパルス列デー
タより最終ステップパルスを判定する最終パルス判定手
段と、最終パルス判定信号の入力に伴ない上記パルス列
データ読出し手段に対し後期パルス列データの読み出し
を指令すると共に、後期パルス列データの読み出しに同
期して上記ステッピングモータ駆動回路へパルス方向を
正逆に切換える切換信号を交互に出力するパルス方向切
換え手段とを備えたことを特徴とするステッピングモー
タの制御装置。
Pulse train data of a predetermined frequency generated according to the operating state of the stepping motor is outputted from a pulse control circuit, and an excitation current outputted from a drive circuit based on the pulse train data is inputted to the stepping motor to perform motor drive control. In a stepping motor control device for controlling a stepping motor, a second stage pulse train data generating means sets the number of pulses and the pulse frequency of the pulse train signal to be output after outputting the final step pulse based on the number of pulses of the pulse train signal, and generates new pulse train data; a data storage means; a pulse train data reading means for reading pulse train data from the storage means; a pulse output means for outputting a motor drive pulse output to a stepping motor drive circuit based on the read pulse train data; and a final step pulse from the read pulse train data. A final pulse determining means for determining the final pulse train, and upon input of the final pulse determining signal, commands the pulse train data reading means to read the latter half pulse train data, and in synchronization with the reading of the latter half pulse train data, the stepping motor drive circuit. 1. A control device for a stepping motor, comprising pulse direction switching means for alternately outputting a switching signal for switching the pulse direction between forward and reverse directions.
JP25014886A 1986-10-21 1986-10-21 Controller for stepping motor Pending JPS63107499A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP25014886A JPS63107499A (en) 1986-10-21 1986-10-21 Controller for stepping motor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP25014886A JPS63107499A (en) 1986-10-21 1986-10-21 Controller for stepping motor

Publications (1)

Publication Number Publication Date
JPS63107499A true JPS63107499A (en) 1988-05-12

Family

ID=17203528

Family Applications (1)

Application Number Title Priority Date Filing Date
JP25014886A Pending JPS63107499A (en) 1986-10-21 1986-10-21 Controller for stepping motor

Country Status (1)

Country Link
JP (1) JPS63107499A (en)

Similar Documents

Publication Publication Date Title
JPH1169886A (en) Drive control integrated circuit for stepping motor and stepping motor with drive control integrated circuit
US4129813A (en) Method and apparatus for adaptive control of a stepper motor
US5041773A (en) Drive circuit for stepping motor
US4691154A (en) Stepping motor control system
JP4044105B2 (en) Numerical control device having function of switching operation means for each system
JP3301494B2 (en) Method of operating numerically controlled machine tool and machine tool for implementing the method
CN101154099A (en) Numerical controller
JPS63107499A (en) Controller for stepping motor
JPH08172792A (en) Conduction controlling equipment of electric motor
US7791306B2 (en) Apparatus, method, and system for controlling stepping motor
JP2001275394A (en) Motor-control device
JPH08168297A (en) Pulse generator and motor driving device
JP2003224998A (en) Drive method for stepping motor
JP4221652B2 (en) Multiple motor simultaneous control method, multiple motor control system, multiple motor control pulse generation circuit, and multiple motor control pulse generation IC
JPS63107498A (en) Controller for stepping motor
JP2005117762A (en) Controller for position control motor
JPH06197577A (en) Controller
JP2006060925A (en) Micro-step drive device of stepping motor, electric platform camera and zoom camera
JPS63174594A (en) Method and device for driving stepping motor
JPH0246196A (en) Stepping motor control system
JPS6174012A (en) Positioning control device
JPH01222679A (en) Method of controlling speed of motor
JPH07314066A (en) Acceleration-decelereation controller for feeder device for press
JPH0736599U (en) Driving device for two-phase stepping motor
JPS61244299A (en) Control system for stepping motor