JPH0797919B2 - Driving method of step motor - Google Patents
Driving method of step motorInfo
- Publication number
- JPH0797919B2 JPH0797919B2 JP25532986A JP25532986A JPH0797919B2 JP H0797919 B2 JPH0797919 B2 JP H0797919B2 JP 25532986 A JP25532986 A JP 25532986A JP 25532986 A JP25532986 A JP 25532986A JP H0797919 B2 JPH0797919 B2 JP H0797919B2
- Authority
- JP
- Japan
- Prior art keywords
- excitation
- phase
- time
- register
- phase excitation
- 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.)
- Expired - Fee Related
Links
Landscapes
- Control Of Stepping Motors (AREA)
Description
【発明の詳細な説明】 〔目的〕 概要 産業上の利用分野 従来の技術 発明が解決しようとする問題点 問題点を解決するための手段(第1図) 作用 実施例 (a)一実施例の説明(第2図、第3図) (b)一実施例の動作の説明(第4図、第5図) (c)他の実施例の説明 発明の効果 〔概要〕 ステップモータの励磁相数を交互に変化してステップモ
ータを駆動する方法において、励磁相数の多い方の励磁
時間を長くし励磁相数の少ない方の励磁時間を短くする
ことによって、ステップモータの励磁電流の立上がり遅
れによるトルク低下、トルクバランスの不安定化を防止
するようにしたものである。DETAILED DESCRIPTION OF THE INVENTION [Purpose] Outline Industrial field of application Conventional technology Problems to be solved by the invention Means for solving problems (FIG. 1) Action Example (a) of one embodiment Description (Figs. 2 and 3) (b) Description of operation of one embodiment (Figs. 4 and 5) (c) Description of another embodiment [Outline] [Outline] Number of excitation phases of step motor In the method of driving the step motor by alternately changing the number of times, by increasing the excitation time of the one with a larger number of excitation phases and shortening the excitation time of the one with a smaller number of excitation phases, the rise delay of the excitation current of the step motor It is intended to prevent a decrease in torque and an unstable torque balance.
本発明は、N相ステップモータを(m−1)−m相励磁
するステップモータの駆動方法に関し、特にステップモ
ータの励磁電流の立上がりの遅れによる動特性の劣化を
改善したステップモータの駆動方法に関する。The present invention relates to a step motor driving method for exciting an N-phase step motor in a (m-1) -m phase, and more particularly to a step motor driving method in which deterioration of dynamic characteristics due to delay in rising of exciting current of the step motor is improved. .
ステップモータは、パルス状の駆動信号によってステッ
プ状に位置変化するため、基本的に開ループ制御によっ
て所望の位置決めができ、高効率で安価な駆動機構が実
現でき、種々の分野で広く用いられている。The stepper motor changes its position stepwise by a pulsed drive signal, so basically it is possible to perform desired positioning by open loop control, and a highly efficient and inexpensive drive mechanism can be realized, which is widely used in various fields. There is.
このステップモータの駆動方法として、2相ステップモ
ータの1−2相励磁方式、5相ステップモータの2−3
相励磁方式等N相ステップモータを(m−1)−m相
(但しm≦N)励磁する、いわゆる励磁相数切換駆動の
ものが知られている。この駆動方法では、1ステップ角
がステップモータの固有の1ステップ角θsの半分のθ
s/2にとることができ、高い分解能が得られる。As a driving method of this step motor, a 1-2 phase excitation method of a 2-phase step motor and a 2-3 phase of a 5-phase step motor
There is known a so-called excitation phase number switching drive, such as a phase excitation method, which excites an N-phase step motor (m-1) -m phase (m≤N). In this driving method, the one-step angle is half the one-step angle θs peculiar to the step motor.
It can be set to s / 2 and high resolution can be obtained.
このようなステップモータは、巻線(コイル)に電流を
流して駆動することから、コイルの電流の立上がりの遅
れが生じ、トルクが低下する。特に励磁相数切換駆動を
用いた場合にはトルクバランスの変化をもたらし、その
解決が望まれていた。Since such a stepping motor is driven by passing a current through a winding (coil), a rise in the current of the coil is delayed and the torque is reduced. In particular, when the excitation phase number switching drive is used, a change in torque balance is brought about, and its solution has been desired.
ステップモータの励磁相数切換駆動方法は、例えば、2
相ステップモータの1−2相励磁を例に第6図により説
明すると、第6図(A)に示すステップモータ1の巻線
A、B、、に対し各々励磁回路2のスイッチングト
ランジスタTR1〜TR4が接続され、第6図(B)に示す
A、B、、相励磁信号でトランジスタTR1〜TR4をオ
ン/オフさせ、巻線A、B、、に電流を流す。図の
例では1相(相)→2相(+A相)→1相(A相)
……という順で駆動される。The excitation phase number switching drive method of the step motor is, for example, 2
Referring to FIG. 6 by taking 1-2 phase excitation of the phase stepping motor as an example, the switching transistors TR1 to TR4 of the exciting circuit 2 are respectively provided for the windings A and B of the stepping motor 1 shown in FIG. Are connected, the transistors TR1 to TR4 are turned on / off by the phase excitation signals A and B shown in FIG. 6 (B), and currents are passed through the windings A and B. In the example in the figure, 1 phase (phase) → 2 phases (+ A phase) → 1 phase (A phase)
It is driven in that order.
このようなステップモータは、第7図(A)に示す如く
インダクタンスL、抵抗Rの等価回路で示され、巻線に
流れる励磁電流iは、 となり、時定数TはL/Rとなる。Such a step motor is shown by an equivalent circuit of an inductance L and a resistance R as shown in FIG. 7 (A), and the exciting current i flowing in the winding is And the time constant T becomes L / R.
従って、巻線に対応するトランジスタをオンした時点か
らの励磁電流波形は第7図(B)の如くなり、T時間以
上の電流の立上がり遅れが生じる。このため第7図
(B)のicを基準としてチョッパ制御を行い、最大電流
をicに抑え、遅れ時間をT程度に抑えるようにしている
が、最低T時間の立上がり遅れは防止できない。Therefore, the excitation current waveform from the time when the transistor corresponding to the winding is turned on is as shown in FIG. 7 (B), and there is a delay in rising of the current for the time T or longer. For this reason, the chopper control is performed with reference to ic in FIG. 7 (B) so that the maximum current is suppressed to ic and the delay time is suppressed to about T, but the rise delay of the minimum T time cannot be prevented.
この様な電流の立上がりの遅れは、トルクの下降や高速
応答周波数の悪化を招く。Such a delay in the rise of the current causes a decrease in torque and deterioration of the high-speed response frequency.
この立上がり時間の改善方法としては、時定数Tを下げ
ればよく、このため従来モータ巻線に直列に抵抗rを接
続し、T=L/(r+R)とする方法が用いられていた。As a method of improving the rise time, it is sufficient to reduce the time constant T. Therefore, a method of connecting a resistor r in series to the motor winding and setting T = L / (r + R) has been conventionally used.
この時のモータの電流iは、 となる。The current i of the motor at this time is Becomes
しかしながら、従来の技術では、第(2)式に従って、
励磁電流が低下してしまう。このため第(1)式の励磁
電流を得るには、駆動電圧Voを高めるという方法が採用
されているが、抵抗r分、即ちr/(R+r)分は熱とし
て放散されてしまい、エネルギー効率が悪くなり、駆動
電圧を高めるのに限りがあるため、それ程の時定数の改
善は期待できない。However, in the conventional technique, according to the equation (2),
Exciting current decreases. Therefore, in order to obtain the exciting current of the formula (1), a method of increasing the drive voltage Vo is adopted, but the resistance r, that is, r / (R + r) is dissipated as heat, and energy efficiency is increased. However, since there is a limit to increasing the driving voltage, it cannot be expected that the time constant will be improved so much.
特に、1−2相励磁の如き励磁相数切換駆動方法におい
ては、第7図(C)に示す如く、1相励磁後の2相励磁
時には、新たに励磁された相の励磁電流の立上り遅れに
よって、2相励磁されている時間が実質的に極度に短く
なる。Particularly, in the excitation phase number switching driving method such as 1-2 phase excitation, as shown in FIG. 7 (C), the rising delay of the excitation current of the newly excited phase is increased during the two-phase excitation after the one-phase excitation. As a result, the time during which two-phase excitation is performed becomes substantially extremely short.
例えば、第7図(C)の時刻t1で相の1相励磁から
相、A相の2相励磁に切換って、時刻t1、t2間で2相励
磁しても、A相励磁電流の立上がり遅れによって2相励
磁が十分行われない。For example, even if the phase 1-phase excitation is switched from the phase 1-phase excitation to the phase A 2-phase excitation at time t 1 in FIG. 7C, and the phase A excitation is performed between the times t 1 and t 2. Two-phase excitation is not sufficiently performed due to the delay in the rising of the current.
このため、係る電流の立上がり遅れによって、2相励磁
時のトルクが極端に低下し、1相励磁と2相励磁のトル
クバランスが崩れ、速度ムラ、トルク変動が生じ、高精
度の回転が困難という問題が生じる他に、脱調の原因と
なり最大応答周波数を上げることができないという問題
も生じていた。Therefore, due to the delay in the rise of the current, the torque at the time of two-phase excitation is extremely reduced, the torque balance between the one-phase excitation and the two-phase excitation is lost, speed unevenness and torque fluctuation occur, and high-precision rotation is difficult. In addition to the problem, there is also a problem that the maximum response frequency cannot be raised because it causes step-out.
これを解決するため、例えば、特開昭60−20797号公報
等においては、1−2相励磁方式において、2相励磁の
時間を長くして、1相励磁の時間を短くしたものが提案
されている。In order to solve this, for example, JP-A-60-20797 proposes a 1-2 phase excitation method in which the two-phase excitation time is lengthened and the one-phase excitation time is shortened. ing.
この提案では、2相励磁の時間を長くし、1相励磁の時
間を短くするため、励磁相に応じて遅延回路を動作さ
せ、2相励磁の時のみクロック間隔を長くする手法がと
られている。In this proposal, in order to lengthen the two-phase excitation time and shorten the one-phase excitation time, the delay circuit is operated according to the excitation phase and the clock interval is lengthened only when the two-phase excitation is performed. There is.
しかしながら、この提案では、ステップ送りするもので
は、遅延の有り、無しの制御により相励磁時間を制御で
きるが、加減速制御する場合等においては、時間間隔を
速度に応じて変える必要があり、これを実現できないと
いう問題が生じていた。However, in this proposal, in the step feed, the phase excitation time can be controlled by the control with and without delay, but in the case of acceleration / deceleration control, it is necessary to change the time interval according to the speed. There was a problem that could not be realized.
従って、本発明は、加減速制御においても、励磁相数に
応じて励磁時間を可変とすることができるステップモー
タの駆動方法を提供することを目的とする。Therefore, it is an object of the present invention to provide a method of driving a step motor that can vary the excitation time according to the number of excitation phases even in acceleration / deceleration control.
第1図は本発明の原理説明図であり、1−2相励磁を例
に示してある。FIG. 1 is a diagram for explaining the principle of the present invention, and shows 1-2 phase excitation as an example.
本発明では、励磁相数の多い方(m相励磁)の励磁時間
(図では2相励磁時間)幅を(T+ΔT)と従来のTに
比し長くし、一方励磁相数の少ない方(m−1)相励磁
の励磁時間(図では1相励磁時間)幅を(T−ΔT)と
従来のTに比し短くするようにして、励磁相数切換駆動
を行うようにしている。In the present invention, the width of the excitation time (two-phase excitation time in the figure) of the one with a large number of excitation phases (m-phase excitation) is set to (T + ΔT), which is longer than the conventional T, while the one with a smaller number of excitation phases (m -1) The excitation time (one-phase excitation time in the figure) width of the phase excitation is set to (T-ΔT), which is shorter than the conventional T, and the excitation phase number switching drive is performed.
即ち、本発明は、ステップモータの励磁相数を交互に変
化して、該ステップモータを駆動すると共に、該励磁相
数の多い方の励磁時間を長くし、励磁相数の少ない方の
励磁時間を短くして駆動するステップモータ駆動方法に
おいて、メモリに、所定の加減速特性に従った前記励磁
相数の多い方の励磁時間と、前記励磁相数の少ない方の
励磁時間とを格納しておき、前記メモリからプロセッサ
が前記励磁相数の多い方の励磁時間と前記励磁相数の少
ない励磁時間とを交互に読み出して、各励磁時間の経過
毎に、前記ステップモータの励磁相数の切り換え制御を
行うことを特徴とする。That is, according to the present invention, the number of excitation phases of the step motor is alternately changed to drive the step motor, and the excitation time of the one having a larger number of excitation phases is lengthened and the excitation time of the one having a smaller number of excitation phases is increased. In the step motor driving method for driving by shortening, the memory stores the excitation time of the one with the larger number of excitation phases and the excitation time of the smaller number of the excitation phases according to a predetermined acceleration / deceleration characteristic. Every time, the processor alternately reads the excitation time of the one with the larger number of excitation phases and the excitation time with the smaller number of the excitation phases, and switches the number of excitation phases of the step motor each time the excitation time elapses. It is characterized by performing control.
本発明では、励磁相数の多い方のm相励磁時間を長くし
ているので、m相励磁時の(電流値×時間)の総量が第
1図の斜線で示す如く増加している。このため、モータ
やドライブ回路の制約による励磁電流の立上がりの遅れ
によるm相励磁時のトルク低下を防ぐことができ、m相
励磁と(m−1)相励磁のトルクバランスを安定にし、
速度ムラ、トルク変動を防ぎ、更に高精度の回転と最大
応答周波数の向上を可能にする。In the present invention, since the m-phase excitation time for the one with a larger number of excitation phases is longer, the total amount of (current value × time) during m-phase excitation increases as shown by the shaded area in FIG. Therefore, it is possible to prevent a decrease in torque during m-phase excitation due to a delay in the rising of the exciting current due to restrictions of the motor and the drive circuit, and stabilize the torque balance between the m-phase excitation and the (m-1) -phase excitation,
Prevents speed fluctuations and torque fluctuations, and enables highly accurate rotation and improvement of maximum response frequency.
又、(m−1)相の励磁時間を逆に短くしているので、
トータルの運転時間−パルス数(進み量)が変わること
もない。Moreover, since the excitation time of the (m-1) phase is shortened,
The total operating time-the number of pulses (the amount of advance) does not change.
更に、加減速制御に伴いかかる励磁時間を可変とするた
め、メモリに加減速制御に従った各励磁相数の励磁時間
を格納し、この時間を読み出して、励磁相数の切り換え
制御を行うようにしている。Further, in order to make the excitation time required for the acceleration / deceleration control variable, the excitation time for each excitation phase number according to the acceleration / deceleration control is stored in the memory, and this time is read to control the switching of the excitation phase number. I have to.
(a)一実施例の説明 第2図は本発明のための一実施例構成図である。 (A) Description of an Embodiment FIG. 2 is a configuration diagram of an embodiment for the present invention.
第2図(A)中、第6図(A)で示したものと同一のも
のは同一の記号で示してあり、3はプロセッサ(以下MP
Uと称す)であり、マイクロプロセッサで構成され、ス
テップモータ1の分配回路、入力制御回路の機能を後述
する第4図及び第5図に示す処理フローのためのプログ
ラムによって実行するものであり、励磁相データ退避用
のBレジスタ3bと、演算のためのAレジスタ3aと、アド
レスのためのHLレジスタ3cを含むもの、4はメモリであ
る。制御プログラムを格納する他に運転パターンに従っ
たパルスレートデータ(相励磁時間データ)を格納する
データエリア4aを有しているもの、5はI/O(入出力)
ポートであり、入力ポートと出力ポート5aを有し、出力
ポート5aは8ビットのD0〜D8で構成され、D0が励磁回路
2のトランジスタTR1に、D2がトランジスタTR2に、D4が
トランジスタTR3に、D6がトランジスタTR4に接続されて
いるもの、6aはデータバスであり、MPU3とメモリ4、I/
Oポート5との間でデータのやりとりを行うもの、6bは
アドレスバスであり、MPU3とメモリ4、I/Oポート5で
アドレスのやりとりを行うものである。In FIG. 2 (A), the same components as those shown in FIG. 6 (A) are represented by the same symbols, and 3 is a processor (hereinafter, MP).
U)), which is composed of a microprocessor and executes the functions of the distribution circuit and the input control circuit of the step motor 1 by a program for the processing flow shown in FIG. 4 and FIG. Reference numeral 4 is a memory including a B register 3b for saving excitation phase data, an A register 3a for calculation, and an HL register 3c for address. In addition to storing a control program, it has a data area 4a for storing pulse rate data (phase excitation time data) according to the operation pattern, 5 is I / O (input / output)
It is a port and has an input port and an output port 5a. The output port 5a is composed of 8-bit D 0 to D 8 , where D 0 is a transistor TR1 of the excitation circuit 2, D 2 is a transistor TR2, and D 4 is a transistor TR2. to but transistor TR3, which D 6 is connected to the transistor TR4, 6a denotes a data bus, MPU 3 and the memory 4, I /
6b is an address bus for exchanging data with the O port 5, and is for exchanging addresses with the MPU 3, the memory 4, and the I / O port 5.
尚、d1、d2、d3、d4は各々ダイオードであり、ステップ
モータ1の巻線(励磁コイル)A、B、、に並列に
接続され、スパイク抑制を行うためのものである。It should be noted that d 1 , d 2 , d 3 and d 4 are diodes, respectively, which are connected in parallel to the windings (excitation coils) A and B of the step motor 1 to suppress spikes.
第2図(B)は励磁相数切換の説明図であり、8ビット
励磁相データとこれによって励磁される相の関係を示し
ている。FIG. 2 (B) is an explanatory diagram of switching the number of excitation phases, and shows the relationship between 8-bit excitation phase data and the phases excited by this.
即ち、MPU3の励磁相データが8ビットの“00000111"で
あり、これがI/Oポート5の出力ポート5aにセットされ
ると、D0、D2が“1"であるからトランジスタTR1、TR2が
オンされ、A相、B相の2相励磁が行われる。次に、MP
U3がこの励磁相データを1ビット図の左方向にシフトす
ると、励磁相データは“00001110"となり、これがI/Oポ
ート5の出力ポート5aにセットされると、D2が“1"とな
り、トランジスタTR2がオンされ、B相のみの1相励磁
が行われる。以下、同様に励磁相データを左シフトする
毎に励磁相が1相→2相→1相と切換わる。That is exciting phase data MPU3 is 8 bits "00000111", which when set to the output port 5a of the I / O port 5, D 0, since D 2 is "1" transistors TR1, TR2 is When turned on, two-phase excitation of A phase and B phase is performed. Then MP
When U3 is shifted to the excitation phase data to the left of 1 bits Figure, the excitation phase data "00001110", and when it is set in the output port 5a of the I / O port 5, D 2 is "1", The transistor TR2 is turned on, and one-phase excitation of only the B phase is performed. Similarly, every time the excitation phase data is left-shifted, the excitation phase is switched from 1 phase → 2 phases → 1 phase.
従って、MPU3が、メモリ4のパルスレートデータで定め
られた時間毎に励磁相データを1ビットシフトし、I/O
ポート5の出力ポート5aにセットすれば、分配動作、即
ち1−2相励磁切換が実行できる。Therefore, the MPU 3 shifts the excitation phase data by 1 bit at each time determined by the pulse rate data of the memory 4, and the I / O
If it is set to the output port 5a of the port 5, the distribution operation, that is, the 1-2 phase excitation switching can be executed.
第3図は本発明の一実施例運転パターン説明図である。FIG. 3 is an explanatory diagram of an operation pattern of one embodiment of the present invention.
ステップモータの運転パターンは、ステップモータの周
波数−トルク特性、駆動系のマサツ負荷等の計測又は計
算結果により、運転パターンの区間を分割、又は一括で
直線加減速、指数関数的加減速をすることが多く、又加
減速の立上げ、立下げ時間あるいはステップ数を条件と
して決定される。The operation pattern of the step motor should be divided into sections of the operation pattern, or linear acceleration / deceleration or exponential acceleration / deceleration should be performed collectively according to the measurement or calculation results of the frequency-torque characteristics of the step motor and the Masatsu load of the drive system. However, the acceleration / deceleration start-up and fall times or the number of steps are set as conditions.
例えば、第3図(A)に示す運転パターンでは、位置保
持後、加速し、定速に移り、減速するパターンを示し、
加減速は直線加減速で且つ同一時間としたものである。For example, the operation pattern shown in FIG. 3 (A) shows a pattern of accelerating, moving to a constant speed, and decelerating after holding the position,
Acceleration / deceleration is linear acceleration / deceleration and is performed at the same time.
そして、前述の計算等により、パルスレートデータ(相
励磁時間データ)T0〜Tnが決定され、例えば、保持に
T0、加減速はT1、T2、T3、T4……と、定速はTnと決定さ
れる。Then, the pulse rate data (phase excitation time data) T 0 to Tn are determined by the above calculation and the
T 0 , acceleration / deceleration is determined to be T 1 , T 2 , T 3 , T 4 ... And constant speed is determined to be Tn.
本発明では、このように決定されたパルスレートデータ
に対し、2相励磁のものには、補正時間△Tを加え、1
相励磁のものには補正時間△Tを差し引いて補正パルス
レートデータを作成して、運転パターン、ステップ数、
総時間等を目的とする条件で得ることができる。In the present invention, the correction time ΔT is added to the pulse rate data thus determined for two-phase excitation,
For phase excitation, the correction time ΔT is subtracted to create the correction pulse rate data, and the operation pattern, number of steps,
It can be obtained under the intended conditions such as the total time.
この補正時間△Tは、位相面解析、ラプラス変換等の運
転方程式を解くことによって、適切なものを得ることが
でき、又実験によって求めてもよい。This correction time ΔT can be obtained as an appropriate value by solving an operation equation such as phase plane analysis or Laplace transform, or may be obtained by experiment.
第3図(A)に対応して求めたパルスレートデータを第
3図(B)に示す。この例では、パルスレートデータと
判別コードが一対となっており、偶数アドレスY、Y+
2……に判別コードが格納され奇数アドレスY+1、Y
+3……にパルスレートデータが格納される。FIG. 3 (B) shows the pulse rate data obtained corresponding to FIG. 3 (A). In this example, the pulse rate data and the discrimination code are paired, and even-numbered addresses Y and Y +
A discrimination code is stored in 2 ... and odd addresses Y + 1, Y
The pulse rate data is stored in +3 ....
判別コードは、パルスレートデータに対する停止、スル
ーイング、(加減速)、定速の区別を示し、ここでは
「0」(実際は8ビットの“00000000")がスルーイン
グを、「1」、「2」(実際は8ビットのデータ)が定
速を、その内「1」は1相励磁の定速、「2」が2相励
磁の定速、「3」(実際は8ビットのデータ)が停止を
示している。The discrimination code indicates distinction between stop, slewing, (acceleration / deceleration), and constant speed for the pulse rate data, where “0” (actually, 8-bit “00000000”) indicates slewing, and “1” and “2”. "(Actually 8-bit data) is constant speed, of which" 1 "is constant speed of 1-phase excitation," 2 "is constant speed of 2-phase excitation, and" 3 "(actually 8-bit data) is stopped. Shows.
例えば、メモリ4のデータエリア4aにおいては、Y番地
には「3」の停止保持を示し、Y+1番地のT0はその時
間が格納され、Y+2、Y+4、……、Y+(2n−2)
番地にはスルーイングを示す「0」が、これに応じてY
+3、Y+5、……、Y+2n−1番地には相励磁時間T1
+△T、T2−△T、……、Tn−1+△Tが格納され、Y
+2n、Y+2n+2番地には定速を示す「1」、「2」
が、これを応じてY+2n+1、Y+2n+3番地には、そ
の相励磁時間Tn−△T、Tn+△Tが格納される。ここで
1相励磁に当たるところは△T減算され、2相励磁に当
たるところが△T加算されている。For example, in the data area 4a of the memory 4, the address Y indicates the stop and hold of "3", the time T 0 of the address Y + 1 is stored, and Y + 2, Y + 4, ..., Y + (2n-2)
"0" indicating slewing at the address is Y
+3, Y + 5, ..., Phase excitation time T 1 at Y + 2n- 1
+ ΔT, T 2 −ΔT, ..., Tn−1 + ΔT are stored, and Y
+ 2n, Y + 2n + 2 indicates constant speed "1", "2"
However, accordingly, the phase excitation times Tn-ΔT and Tn + ΔT are stored in the addresses Y + 2n + 1 and Y + 2n + 3. Here, ΔT is subtracted where the one-phase excitation is applied, and ΔT is added where the two-phase excitation is applied.
従って、MPU3がデータエリア4aをY番地から順に読出し
ていくことによって、保持、加速、定速の区別ができ且
つその相励磁時間を得ることができ、相励磁時間に応じ
て前述の励磁相データのシフト、セットを行う。又、デ
ータエリア4aを逆方向に読出していけば、定速、減速、
停止保持ができる。Therefore, the MPU 3 can read out the data area 4a from the address Y in order to distinguish between holding, accelerating, and constant speed and obtain the phase excitation time, and the excitation phase data described above can be obtained according to the phase excitation time. Shift and set. If the data area 4a is read in the reverse direction, constant speed, deceleration,
Can be held stopped.
(b)一実施例の動作の説明 第4図及び第5図は本発明の一実施例動作処理フロー図
であり、MPU3の処理を示している。(B) Description of Operation of One Embodiment FIGS. 4 and 5 are flow charts of the operation processing of one embodiment of the present invention, showing the processing of the MPU 3.
先づ、MPU3は起動割込み(interrupt)があると、
Aレジスタ3aに予め定めた相励磁データ(ここでは、
“00001110"であり、B相の(相保持を示す)をセット
し、データバス6aを介し、Aレジスタ3aの相励磁データ
を出力ポート5aに与える。これによって前述の如く(第
2図(B)参照)、B相が励磁され、B相保持が行われ
る。First, when MPU3 has a start interrupt,
Predetermined phase excitation data in the A register 3a (here,
"00001110", B phase (indicating phase hold) is set, and the phase excitation data of the A register 3a is given to the output port 5a via the data bus 6a. As a result, as described above (see FIG. 2 (B)), the B phase is excited and the B phase is held.
次に、MPU3は係るAレジスタ3aの相励磁データをBレジ
スタ3bに退避し、更にデータエリア4aの先頭である初期
アドレスをHLレジスタ3cにセットする。Next, the MPU 3 saves the phase excitation data of the A register 3a in the B register 3b, and further sets the initial address which is the head of the data area 4a in the HL register 3c.
次に、MPU3はHLレジスタ3cのアドレスに“1"加え、
HLレジスタ3cのアドレスでメモリ4のデータエリア4aを
アクセスし、そのアドレスの内容をデータバス6aを介し
読出し、Aレジスタ3aにセットする。このアドレスは奇
数アドレスであり、従ってパルスレートデータ(相励磁
時間)がAレジスタ3aにセットされることになる。Next, MPU3 adds "1" to the address of HL register 3c,
The data area 4a of the memory 4 is accessed by the address of the HL register 3c, the contents of the address are read out via the data bus 6a, and set in the A register 3a. This address is an odd address, and therefore pulse rate data (phase excitation time) is set in the A register 3a.
MPU3は、Aレジスタ3aの内容(相励磁時間)から“1"を
差し引き、Aレジスタ3aの内容が零かを調べ、零でなけ
れば、再びAレジスタ3aの内容から“1"を差引き、これ
を繰返す。The MPU3 subtracts "1" from the content (phase excitation time) of the A register 3a, checks whether the content of the A register 3a is zero, and if it is not zero, subtracts "1" from the content of the A register 3a again. Repeat this.
即ち、読出した相励磁時間分経過したかのタイマーの機
能を果している。That is, the timer functions as if the read phase excitation time has elapsed.
次に、MPU3はAレジスタ3aの内容が零、即ち読出し
た相励磁時間が経過すると、励磁相切換処理を行う。Next, the MPU 3 performs the excitation phase switching process when the content of the A register 3a is zero, that is, when the read phase excitation time has elapsed.
即ち、Bレジスタ3に退避した相励磁データをAレジス
タ3aに移し、Aレジスタ3aの相励磁データを第2図
(B)で説明した如く、左に1ビットシフトし、Aレジ
スタ3aのシフトした相励磁データを出力ポート5aに与え
る。これによって励磁相が切換わる。That is, the phase excitation data saved in the B register 3 is transferred to the A register 3a, and the phase excitation data of the A register 3a is shifted to the left by 1 bit and the A register 3a is shifted as described in FIG. 2B. Apply phase excitation data to output port 5a. This switches the excitation phase.
次に、MPU3は、Aレジスタ3aの相励磁データをBレジス
タ3bに退避し、HLレジスタ3cのアドレスを1歩進し、偶
数アドレスとして、メモリ4のデータエリア4aをアクセ
スする。Next, the MPU 3 saves the phase excitation data of the A register 3a in the B register 3b, increments the address of the HL register 3c by one step, and accesses the data area 4a of the memory 4 as an even address.
従って、データエリア4aからはデータバス6aを介し判別
コードが読出され、Aレジスタ3aにセットされる。Therefore, the discrimination code is read from the data area 4a via the data bus 6a and set in the A register 3a.
MPU3は、Aレジスタ3aの判別コードを判定し、判別コー
ドが「1」(定速指示)でないと、ステップに戻る。The MPU 3 judges the discrimination code of the A register 3a, and if the discrimination code is not "1" (constant speed instruction), returns to the step.
このようにして、T0時間の1相保持、(T1+△T)時間
の2相励磁、(T2−△T)の1相励磁…というように、
ステップモータ1は位置保持後、1−2相励磁で加速駆
動される。In this way, 1 phase hold for T 0 time, 2 phase excitation for (T 1 + ΔT) time, 1 phase excitation for (T 2 −ΔT), and so on.
After holding the position, the step motor 1 is accelerated and driven by 1-2 phase excitation.
そして、MPU3はHLレジスタ3cのアドレスがY+2nと
なり、データエリア4aのY+2n番地の内容「1」が読出
され、MPU3が読出しデータがセットされたAレジスタ3a
の内容が「1」(定速指示)と判定すると、加速ステッ
プが脱出し、定速ステップに入る。Then, in the MPU3, the address of the HL register 3c becomes Y + 2n, the content "1" at the address Y + 2n of the data area 4a is read, and the MPU3 sets the read data in the A register 3a.
When it is determined that the content of "1" (constant speed instruction), the acceleration step escapes and the constant speed step is entered.
先づ、MPU3はHLレジスタ3cのアドレスを1歩進する。First, the MPU 3 advances the address of the HL register 3c by one.
これによって、HLレジスタ3cのアドレスはY+2n+1と
なり、定速1相励磁の相励磁時間データの読出しが可能
となる。As a result, the address of the HL register 3c becomes Y + 2n + 1, and the phase excitation time data of constant speed one-phase excitation can be read.
MPU3はHLレジスタ3cのアドレスでメモリ4のデータ
エリア4aをアクセスし、そのアドレスの内容、即ち定速
の1相励磁の励磁時間データ(Tn−△T)を読出し、A
レジスタ3aにセットする。The MPU3 accesses the data area 4a of the memory 4 with the address of the HL register 3c, reads the content of the address, that is, the excitation time data (Tn-ΔT) of the constant-speed one-phase excitation, and A
Set in register 3a.
MPU3は、Aレジスタ3aの内容(相励磁時間)から“1"を
差し引き、Aレジスタ3aの内容が零かを調べ、零でなけ
れば、再びAレジスタ3aの内容から“1"を差引き、これ
を繰返す。The MPU3 subtracts "1" from the content (phase excitation time) of the A register 3a, checks whether the content of the A register 3a is zero, and if it is not zero, subtracts "1" from the content of the A register 3a again. Repeat this.
即ち、前述と同様に、読出した励磁時間(Tn−△T)分
経過したかのタイマーの機能を果している。That is, like the above, it functions as a timer for whether the read excitation time (Tn-ΔT) has elapsed.
次に、MPU3はAレジスタ3aの内容が零、即ち読出した定
速の1相励磁の相励磁時間が経過すると、励磁相切換処
理を行う。Next, the MPU 3 performs the excitation phase switching process when the content of the A register 3a is zero, that is, when the phase excitation time of the read constant speed one-phase excitation elapses.
即ち、Bレジスタ3bに退避した相励磁データをAレジス
タ3aに移し、Aレジスタ3aの相励磁データを第2図
(B)で説明した如く、左に1ビットシフトし、Aレジ
スタ3aのシフトした相励磁データを出力ポート5aに与え
る。これによって励磁相が2相励磁に切換わる。That is, the phase excitation data saved in the B register 3b is transferred to the A register 3a, and the phase excitation data of the A register 3a is shifted to the left by 1 bit and shifted in the A register 3a as described in FIG. 2B. Apply phase excitation data to output port 5a. This switches the excitation phase to two-phase excitation.
次に、MPU3は、Aレジスタ3aの相励磁データをBレジス
タ3bに退避する。Next, the MPU 3 saves the phase excitation data of the A register 3a in the B register 3b.
MPU3は、I/Oポート5の入力ポートにストップ指示
が到来しているかを、データバスを介し調べ、ストップ
指示が到来していれば、定速ステップを終了し、減速ス
テップに入るべく、第5図ののステップへ進む。The MPU3 checks via the data bus whether or not a stop instruction has arrived at the input port of the I / O port 5. If a stop instruction has arrived, the MPU3 finishes the constant-speed step and enters the deceleration step. Go to the step shown in FIG.
一方、ストップ指示が到来していないと判定すると、MP
U3は定速の2相励磁処理を行う。On the other hand, if it is determined that the stop instruction has not arrived, MP
U3 performs constant speed two-phase excitation processing.
即ち、MPU3は、HLレジスタ3cの内容に「2」加算し、Y
+2n+3とし、HLレジスタ3cのアドレス内容でメモリ4
のデータエリア4aをアクセスし、そのアドレス内容、即
ち定速の2相励磁の相励磁時間データ(Tn+△T)を読
出し、Aレジスタ3aにセットする。That is, MPU3 adds "2" to the contents of HL register 3c, and
Set to + 2n + 3, and use the address contents of HL register 3c for memory 4
The data area 4a is accessed to read the address contents, that is, the phase excitation time data (Tn + ΔT) of the constant speed two-phase excitation and set it in the A register 3a.
MPU3は、Aレジスタ3aの内容(相励磁時間)から“1"を
差引き、Aレジスタ3aの内容が零かを調べ、零でなけれ
ば、再びAレジスタ3aの内容から“1"を差引き、これを
繰返す。The MPU3 subtracts "1" from the content of the A register 3a (phase excitation time), checks whether the content of the A register 3a is zero, and if it is not zero, subtracts "1" from the content of the A register 3a again. , Repeat this.
即ち、前述と同様に、読出した励磁時間(Tn+△T)分
経過したかのタイマーの機能を果たしている。That is, similar to the above, it functions as a timer for whether the read excitation time (Tn + ΔT) has elapsed.
次に、MPU3はAレジスタ3aの内容が零、即ち読出した相
励磁時間(Tn+△T)が経過すると、励磁相切換処理を
行う。Next, when the content of the A register 3a is zero, that is, when the read phase excitation time (Tn + ΔT) has elapsed, the MPU 3 performs the excitation phase switching process.
即ち、Bレジスタ3bに退避した相励磁データをAレジス
タ3aに移し、Aレジスタ3aの相励磁データを第2図
(B)で説明した如く、左に1ビットシフトし、Aレジ
スタ3aのシフトした相励磁データを出力ポート5aに与え
る。これによって励磁相が1相励磁に切換わる。That is, the phase excitation data saved in the B register 3b is transferred to the A register 3a, and the phase excitation data of the A register 3a is shifted to the left by 1 bit and shifted in the A register 3a as described in FIG. 2B. Apply phase excitation data to output port 5a. As a result, the excitation phase is switched to the one-phase excitation.
次に、MPU3は、Aレジスタ3aの相励磁データをBレジス
タ3bに退避し、HLレジスタ3cのアドレスを「2」減算
し、Y+2n+1とし、即ち定速1相励磁の相励磁時間デ
ータ格納アドレスとし、ステップに戻る。Next, the MPU 3 saves the phase excitation data in the A register 3a in the B register 3b, subtracts “2” from the address in the HL register 3c, and sets it as Y + 2n + 1, that is, the phase excitation time data storage address for constant speed one-phase excitation. , Go back to the step.
このようにして、定速の1−2相励磁を(Tn−△
T)時間、(Tn+△T)時間繰返し、ステップでMPU3
がストップ指示受信と判定すると、減速ステップに入
る。In this way, constant-speed 1-2 phase excitation (Tn- △
Repeat T) time, (Tn + △ T) time, MPU3 in steps
If it is determined that the stop instruction is received, the deceleration step is started.
先づ、MPU3はHLレジスタ3cのアドレス内容を「3」減算
する。例えば、ステップでアドレスはY+2n+1とさ
れているから、HLレジスタ3cの内容はY+2n−2(偶数
アドレス)となる。First, the MPU 3 subtracts "3" from the address content of the HL register 3c. For example, since the address is set to Y + 2n + 1 in step, the content of the HL register 3c becomes Y + 2n-2 (even address).
次に、MPU3はHLレジスタ3cのアドレスでメモリ4のデー
タエリア4aをアクセスし、そのアドレス内容(判別コー
ド)をデータバス6aを介し読出し、Aレジスタ3aにセッ
トする。Next, the MPU 3 accesses the data area 4a of the memory 4 with the address of the HL register 3c, reads the content of the address (discrimination code) via the data bus 6a, and sets it in the A register 3a.
MPU3はAレジスタ3aにセットされた判別コードを判定
し、「3」(停止)であるかを調べ、停止であれば、ス
テップの1相保持ステップに移る。The MPU 3 judges the discrimination code set in the A register 3a, checks whether it is "3" (stop), and if it is stopped, shifts to the one-phase holding step.
一方、MPU3はAレジスタ3aの内容が「3」でなければ、
次に、MPU3はHLレジスタ3cのアドレスに“1"を加え、HL
レジスタ3cのアドレスでメモリ4のデータエリア4aをア
クセスし、そのアドレスの内容をデータバス6aを介し読
出し、Aレジスタ3aにセットする。このアドレスは奇数
アドレスであり、従ってパルスレートデータ(相励磁時
間)がセットされることになる。On the other hand, MPU3, if the contents of A register 3a is not "3",
Next, MPU3 adds "1" to the address of HL register 3c,
The data area 4a of the memory 4 is accessed by the address of the register 3c, the content of the address is read out via the data bus 6a, and set in the A register 3a. This address is an odd address, and therefore pulse rate data (phase excitation time) will be set.
MPU3は、Aレジスタ3aの内容を「1」減算し、次にAレ
ジスタ3aの内容が零かどうかを調べ、零でなければ、再
びAレジスタ3aの内容を「1」減算し、これを繰返す。The MPU3 subtracts "1" from the contents of the A register 3a, then checks whether the contents of the A register 3a is zero, and if not zero, again subtracts the contents of the A register 3a by "1" and repeats this. .
MPU3はAレジスタ3aの内容を「1」減算することを繰返
し、Aレジスタ3aの内容が零になったと判定すると、励
磁相切換処理に入る。The MPU 3 repeats subtracting "1" from the content of the A register 3a, and when determining that the content of the A register 3a has become zero, the excitation phase switching processing is started.
即ち、Bレジスタ3bに退避した相励磁データをAレジス
タ3aに移し、Aレジスタ3aの相励磁データを第2図
(B)で説明した如く、左へ1ビットシフトし、Aレジ
スタ3aのシフトした相励磁データを出力ポート5aに与え
る。That is, the phase excitation data saved in the B register 3b is transferred to the A register 3a, and the phase excitation data of the A register 3a is shifted to the left by 1 bit and shifted in the A register 3a as described in FIG. 2B. Apply phase excitation data to output port 5a.
これによって励磁相が切換わり、ステップの先頭に戻
る。This switches the excitation phase and returns to the beginning of the step.
従って、アドレスY+2n−1の(Tn−1+△T)時間の
2相励磁、アドレスY+2n−3の(Tn−2−△T)時間
の1相励磁というように、加速時と逆の方向にデータエ
リア4aの内容が読出されて、減速され、アドレスYに到
る。Therefore, data is transferred in the opposite direction of acceleration, such as 2-phase excitation for (Tn-1 + ΔT) time of address Y + 2n-1 and 1-phase excitation for (Tn-2-ΔT) time of address Y + 2n-3. The contents of area 4a are read, the speed is reduced, and the address Y is reached.
ステップで、HLレジスタ3cの内容がYとなり、A
レジスタ3aに判別コード「3」がセットされると、MPU3
はこれによって停止保持ステップに移る。At the step, the content of HL register 3c becomes Y and A
When the discrimination code "3" is set in the register 3a, the MPU3
This moves to the stop holding step.
先づ、MPU3はHLレジスタ3cのアドレスYに“1"加え、Y
+1とし、HLレジスタ3cのアドレスでメモリ4のデータ
エリア4aをアクセスし、そのアドレスの内容をデータバ
ス6aを介し読出し、Aレジスタ3aにセットする。このア
ドレスは(Y+1)であり、Aレジスタ3aには1相保持
時間T0がセットされる。First, MPU3 adds "1" to address Y of HL register 3c
The data area 4a of the memory 4 is accessed with the address of the HL register 3c, the content of the address is read out via the data bus 6a, and set in the A register 3a. This address is (Y + 1), and the one-phase holding time T 0 is set in the A register 3a.
MPU3はAレジスタ3aの内容が「1」減算、Aレジスタ3a
の内容が零かの判定を繰返し、Aレジスタ3aの内容が零
となると、即ちT0時間経過すると、ステップモータ1の
駆動処理を終了し、メインルーチンに戻る。MPU3 subtracts "1" from the contents of A register 3a, A register 3a
When the content of the A register 3a becomes zero, that is, when the time T 0 has elapsed, the driving process of the step motor 1 is terminated and the process returns to the main routine.
以降は、出力ポート5aの内容が変わらないのでステップ
モータ1は1相保持が継続される。After that, since the content of the output port 5a does not change, the step motor 1 continues to hold one phase.
このようにして、ステップモータ1の運転パターンに従
って定めたパルスレートデータ(相励磁時間データ)を
補正時間△Tで補正し、上述の決定した時間に対し2相
励磁時間を長く、1相励磁時間を短くし、2相励磁時の
トルク低下を防ぎ、トルクバランスを安定化する。In this way, the pulse rate data (phase excitation time data) determined according to the operation pattern of the step motor 1 is corrected with the correction time ΔT, and the two-phase excitation time is made longer than the above-determined time and the one-phase excitation time is increased. Is shortened to prevent the torque from decreasing during two-phase excitation and stabilize the torque balance.
又、この実施例では、加減速を同一特性で行うため、同
一のパルスレートテーブルで加減速を実行できる。Further, in this embodiment, since the acceleration / deceleration is performed with the same characteristic, the acceleration / deceleration can be executed with the same pulse rate table.
(c)他の実施例の説明 上述の実施例では、加速、定速、減速とも相励磁時間を
補正しているが、負荷や要求される特性に応じて、加減
速時と減速時のみ、加速時のみ、減速時のみ、定速時の
みこれを行ってもよい。例えば、加速時のみ行えば、加
速時のトルク不足を解消し、且つトルクバランスも安定
するから、高速且つ安定な加速ができ、減速時のみ行え
ば、大負荷に対しても減速トルク不足を解消し且つトル
クバランスも安定するから、高速且つ安定な減速がで
き、更に停止位置精度も向上する。(C) Description of Other Embodiments In the above embodiments, the phase excitation time is corrected for acceleration, constant speed, and deceleration, but only during acceleration / deceleration and deceleration, depending on the load and required characteristics. This may be done only during acceleration, only during deceleration, or only during constant speed. For example, if it is performed only during acceleration, the torque shortage during acceleration will be eliminated and the torque balance will be stable, so high-speed and stable acceleration can be achieved, and if only during deceleration, the deceleration torque shortage will be solved even for large loads. In addition, since the torque balance is stable, high-speed and stable deceleration can be performed, and the stop position accuracy is improved.
又、定速時も行えば、トルクバランスの安定した定速送
りが可能となり、速度ムラの少ない高精度の定速送りが
できる。Further, if it is performed at a constant speed, constant-speed feeding with stable torque balance becomes possible, and high-precision constant-speed feeding with little speed unevenness can be performed.
次に、上述の実施例では、加速と減速時に同一のパルス
レートテーブルを用いているが、別のテーブルを設けて
もよく、この場合、加速特性と減速特性を変化すること
ができる。。同様に、補正時間△Tは加速、定速、減速
で同一である必要はなく、ステップモータの特性、要求
される特性等によって加速、定速、減速で変えてもよ
く、更に加速時、減速時でも加速段階、減速段階で変化
させてもよい。Next, in the above-mentioned embodiment, the same pulse rate table is used for acceleration and deceleration, but another table may be provided, and in this case, the acceleration characteristic and the deceleration characteristic can be changed. . Similarly, the correction time ΔT does not have to be the same for acceleration, constant speed, and deceleration, and may be changed for acceleration, constant speed, and deceleration depending on the characteristics of the step motor, required characteristics, and the like. At any time, it may be changed in the acceleration stage and the deceleration stage.
又、補正時間△Tによって補正を行うのに、毎回行う必
要はなく、例えば1回置き毎等に行ってもよく、運転パ
ターンに応じて最もトルク不足が想定されているところ
で行うようにしてもよい。Further, it is not necessary to carry out the correction with the correction time ΔT every time, and it may be carried out, for example, once every other time, or may be carried out at the place where the torque shortage is supposed to be most depending on the operation pattern. Good.
更に、2相ステップモータの1−2相励磁について説明
したが、5相ステップモータの2−3相励磁の如きN相
ステップモータの(m−1)−m相励磁に適用でき、し
かも、1−2相励磁の半分のステップ角の可能なクォー
ターステップ駆動に用いてもよい。同様に、ステップモ
ータの駆動をユニポーラ駆動で説明したが、周知のバイ
ポーラ駆動によってもよく、MPU3でタイマ機能を果して
いるがタイマを別途設けてもよく、回転型ステップモー
タに限らず、リニア型ステップモータにも適用できる。Further, the 1-2 phase excitation of the 2-phase step motor has been described, but it can be applied to the (m-1) -m phase excitation of the N-phase step motor such as the 2-3 phase excitation of the 5-phase step motor. It may be used for quarter-step driving capable of half the step angle of -2 phase excitation. Similarly, the step motor drive is described as unipolar drive, but well-known bipolar drive may be used, and the timer function is provided by the MPU3, but a timer may be provided separately. It can also be applied to motors.
以上本発明を一実施例により説明したが、本発明は本発
明の主旨に従い種々の変形が可能であり、本発明からこ
れらを排除するものではない。Although the present invention has been described with reference to the embodiments, the present invention can be variously modified according to the gist of the present invention, and these modifications are not excluded from the present invention.
以上説明した様に、本発明によれば、次の効果を奏す
る。As described above, the present invention has the following effects.
加減速のための各励磁時間に、補正時間を加算してm
相励磁時間とし、補正時間を減算して(m−1)相励磁
時間としたので、加減速制御において、速度ムラがな
く、高精度の送りができる。Add the correction time to each excitation time for acceleration / deceleration and m
Since the phase excitation time is used and the correction time is subtracted to obtain the (m-1) phase excitation time, there is no speed unevenness in the acceleration / deceleration control, and highly accurate feed can be performed.
又、最大応答周波数を向上できるため、高速の加減速
駆動ができる。Further, since the maximum response frequency can be improved, high speed acceleration / deceleration driving can be performed.
補正時間を加速と減速で共通としたので、1つの加速
カーブにより、一方向の読み出しで加速、反対方向の読
み出しで減速ができ、加減速の励磁時間のテーブルの容
量を少なくでき、且つプロセッサの処理も簡易となる。Since the correction time is the same for acceleration and deceleration, one acceleration curve can be used to accelerate by reading in one direction and decelerate by reading in the opposite direction, and the capacity of the table of excitation time for acceleration / deceleration can be reduced, and the processor Processing is also simple.
第1図は本発明の原理説明図、 第2図は本発明のための一実施例構成図、 第3図は本発明の一実施例運転パターン説明図、 第4図及び第5図は本発明の一実施例動作処理フロー
図、 第6図及び第7図は従来技術の説明図である。 図中、1……ステップモータ、 2……励磁回路、 3……プロセッサ、 4……メモリ、 5……I/Oポート。FIG. 1 is an explanatory view of the principle of the present invention, FIG. 2 is a configuration diagram of an embodiment for the present invention, FIG. 3 is an operation pattern explanatory diagram of an embodiment of the present invention, and FIGS. FIG. 6 and FIG. 7 are explanatory views of a conventional technique, which are operation flow charts of an embodiment of the invention. In the figure, 1 ... Step motor, 2 ... Excitation circuit, 3 ... Processor, 4 ... Memory, 5 ... I / O port.
───────────────────────────────────────────────────── フロントページの続き (72)発明者 高清水 由広 神奈川県川崎市中原区上小田中1015番地 富士通株式会社内 (72)発明者 平石 光則 兵庫県加東郡社町佐保35番 富士通周辺機 株式会社内 (56)参考文献 特開 昭60−20797(JP,A) 特開 昭60−200798(JP,A) 特開 昭60−32597(JP,A) 特開 昭61−203898(JP,A) 特開 昭59−204496(JP,A) ─────────────────────────────────────────────────── ─── Continuation of the front page (72) Inventor Yuhiro Takashimizu 1015 Kamiodanaka, Nakahara-ku, Kawasaki City, Kanagawa Prefecture, Fujitsu Limited (72) Inventor, Mitsunori Hiraishi, No. 35, Saho, Kato-gun, Hyogo Prefecture In-house (56) Reference JP 60-20797 (JP, A) JP 60-200798 (JP, A) JP 60-32597 (JP, A) JP 61-203898 (JP, A) ) JP-A-59-204496 (JP, A)
Claims (1)
て、該ステップモータを駆動すると共に、該励磁相数の
多い方の励磁時間を長くし、励磁相数の少ない方の励磁
時間を短くして駆動するステップモータ駆動方法におい
て、 所定の加減速特性に従って定めた励磁時間に対し、補正
時間を加算した前記励磁相数の多い方の励磁時間と、前
記補正時間を減算した前記励磁相数の少ない方の励磁時
間とをメモリに格納しておき、 プロセッサが、加速に対しては、前記メモリから一方向
に前記励磁相数が多い方の励磁時間と前記励磁相数の少
ない励磁時間とを交互に読み出して、減速に対しては、
前記メモリから反対方向に、前記励磁相数の多い方の励
磁時間と前記励磁相数の少ない励磁時間とを交互に読み
出して、各励磁時間の経過毎に、前記ステップモータの
励磁相数の切り換え制御を行うことを特徴とするステッ
プモータ駆動方法。1. The number of excitation phases of a step motor is alternately changed to drive the step motor, and the excitation time of the one having a larger number of excitation phases is lengthened and the excitation time of the one having a smaller number of excitation phases is set. In the step motor driving method of driving by shortening, in the excitation time determined according to a predetermined acceleration / deceleration characteristic, the excitation time of the larger excitation phase number obtained by adding the correction time and the excitation phase obtained by subtracting the correction time. The excitation time of the smaller number and the excitation time of the one having the larger number of excitation phases in one direction from the memory and the excitation time having the smaller number of the excitation phases are stored in the memory in advance. And are read alternately, for deceleration,
In the opposite direction from the memory, the excitation time of the one with the larger number of excitation phases and the excitation time with the smaller number of the excitation phases are alternately read, and the number of excitation phases of the step motor is switched every time each excitation time elapses. A stepping motor driving method characterized by performing control.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP25532986A JPH0797919B2 (en) | 1986-10-27 | 1986-10-27 | Driving method of step motor |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP25532986A JPH0797919B2 (en) | 1986-10-27 | 1986-10-27 | Driving method of step motor |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS63110993A JPS63110993A (en) | 1988-05-16 |
| JPH0797919B2 true JPH0797919B2 (en) | 1995-10-18 |
Family
ID=17277273
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP25532986A Expired - Fee Related JPH0797919B2 (en) | 1986-10-27 | 1986-10-27 | Driving method of step motor |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH0797919B2 (en) |
Families Citing this family (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2006353096A (en) * | 2006-08-11 | 2006-12-28 | Nsk Ltd | Brushless motor and drive control device thereof |
| JP5350288B2 (en) * | 2010-01-29 | 2013-11-27 | 山佐株式会社 | Game machine |
-
1986
- 1986-10-27 JP JP25532986A patent/JPH0797919B2/en not_active Expired - Fee Related
Also Published As
| Publication number | Publication date |
|---|---|
| JPS63110993A (en) | 1988-05-16 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP2928518B2 (en) | Driving method of stepping motor | |
| JPH08140398A (en) | Motor control device | |
| JPH06113596A (en) | Step motor | |
| US4734631A (en) | Step motor control | |
| KR100217789B1 (en) | Method of driving stepping motor | |
| JPH0797919B2 (en) | Driving method of step motor | |
| US6459229B1 (en) | Motor control apparatus | |
| JP2000184789A (en) | Driving method of stepping motor | |
| JPH09219995A (en) | Drive method of stepping motor | |
| JPH09313000A (en) | Method of driving stepping motor | |
| JPH0217895A (en) | Stepping motor drive method | |
| JP3368105B2 (en) | Stepping motor control device and stepping motor control method | |
| JP3050944B2 (en) | Step motor drive controller | |
| JPS619197A (en) | Controller for stepping motor | |
| JP2003033087A (en) | Motor drive control device | |
| KR100447850B1 (en) | Apparatus and method for controlling stepmotor | |
| JPS6188798A (en) | Stepping motor control device | |
| JPH02188195A (en) | Drive controller for stepper motor | |
| JP3274211B2 (en) | Motor drive control circuit | |
| JP2771617B2 (en) | Stepping motor drive control method | |
| JP2002010687A (en) | Motor drive control device | |
| Bechtle et al. | Delayed closed-loop scheme for stepping motor control | |
| JPH0191700A (en) | Driving gear for pulse motor | |
| JPH0556697A (en) | Positioning controller | |
| JPH0564494A (en) | Micro angle driving method and circuit for step motor |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| LAPS | Cancellation because of no payment of annual fees |