JPH0640754B2 - Stepping motor drive - Google Patents

Stepping motor drive

Info

Publication number
JPH0640754B2
JPH0640754B2 JP62021830A JP2183087A JPH0640754B2 JP H0640754 B2 JPH0640754 B2 JP H0640754B2 JP 62021830 A JP62021830 A JP 62021830A JP 2183087 A JP2183087 A JP 2183087A JP H0640754 B2 JPH0640754 B2 JP H0640754B2
Authority
JP
Japan
Prior art keywords
signal
input
output
phase switching
indicating
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 - Lifetime
Application number
JP62021830A
Other languages
Japanese (ja)
Other versions
JPS63190596A (en
Inventor
克弘 大野
浩 本多
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.)
Sanyo Denki Co Ltd
Original Assignee
Sanyo Denki 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 Sanyo Denki Co Ltd filed Critical Sanyo Denki Co Ltd
Priority to JP62021830A priority Critical patent/JPH0640754B2/en
Publication of JPS63190596A publication Critical patent/JPS63190596A/en
Publication of JPH0640754B2 publication Critical patent/JPH0640754B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Control Of Stepping Motors (AREA)

Description

【発明の詳細な説明】 [産業上の利用分野] 本発明は、ステッピングモータを微分割駆動するステッ
ピングモータ駆動装置に関するものである。
TECHNICAL FIELD The present invention relates to a stepping motor drive device for driving a stepping motor in fine divisions.

[従来技術] 一般的なステッピングモータの駆動装置では、歩進指令
パルスが入力される毎に1ステップで基本ステップ角
[=360/(2・H・S)(ただし、Hはロータの歯
数、Sは相数)]づつ歩進させている。また歩進指令パ
ルスが入力される毎に基本ステップ角を1/M(ただ
し、Mは基本ステップ角の分割数)に分割した分割ステ
ップで歩進させるマイクロステップ(微分割駆動)方式
の駆動装置もある。
[Prior Art] In a general stepping motor drive device, a basic step angle [= 360 / (2 · H · S) (where H is the number of teeth of a rotor) is taken in one step each time a step command pulse is input. , S is the number of phases)]. In addition, a microstep (fine division drive) type drive device that advances each step of dividing a basic step angle into 1 / M (where M is the number of divisions of the basic step angle) each time a step command pulse is input. There is also.

例えば特開昭57−110099号公報等に示された従
来の微分割駆動装置では、予め微分割駆動を行うために
必要な励磁電流値設定信号のパターンをメモリに記憶さ
せておく。そして歩進指令パルスが発生する毎に分割ス
テップ分歩進させるアドレス信号を作り、メモリからア
ドレス信号に対応した各励磁巻線の励磁電流値を示す励
磁電流値設定信号を得て、該励磁電流値設定信号に基づ
き所定の励磁巻線を励磁することにより微分割駆動を行
っている。
For example, in the conventional fine division driving device disclosed in Japanese Patent Laid-Open No. 57-110099, the pattern of the excitation current value setting signal required for performing the fine division driving is stored in the memory in advance. Then, each time a step command pulse is generated, an address signal that advances by a division step is created, and an exciting current value setting signal indicating the exciting current value of each exciting winding corresponding to the address signal is obtained from the memory, and the exciting current is set. Fine division driving is performed by exciting a predetermined exciting winding based on the value setting signal.

また特開昭53−106411号公報には、前述の分割
数Mを変えて分割ステップのステップ角を変更する技術
が開示されている。
Further, Japanese Patent Laid-Open No. 53-106411 discloses a technique of changing the step number of the dividing step by changing the number of divisions M described above.

[発明が解決しようとする問題点] しかしながら歩進指令パルスが入力される毎に基本ステ
ップ角の1/Mの分割ステップで歩進させる従来の微分
割駆動方式を採用した駆動装置では、3分割ステップ分
歩進させるためには、3つの歩進指令パルスを入力して
3回のステップ動作を行わせなければならない。特開昭
53−106411号公報に示された駆動装置のよう
に、分割数Mを変えれば、1回のステップ動作による歩
進量(ステップ角)を変更することはできる。しかしな
がら、この駆動装置では常に1つの基本ステップ角度の
範囲をM等分するようにしかステップ角を変えることが
できないため、目的に合わせた任意のステップ角を得る
ことができない問題があった。
[Problems to be Solved by the Invention] However, in a drive unit adopting a conventional fine division drive method in which each time a step command pulse is input, a step is performed at a division step of 1 / M of a basic step angle, three divisions are made. In order to advance by one step, three stepping command pulses must be input to perform three step operations. As in the drive device disclosed in Japanese Patent Laid-Open No. 53-106411, if the division number M is changed, the step amount (step angle) by one step operation can be changed. However, in this drive device, since the step angle can be changed only so as to always divide one basic step angle range into M equal parts, there is a problem that an arbitrary step angle suitable for the purpose cannot be obtained.

本発明の目的は、ステップ角を任意に定めることができ
るステッピングモータ駆動装置を提供することにある。
An object of the present invention is to provide a stepping motor drive device that can arbitrarily set a step angle.

[問題点を解決するための手段] 上記の目的を達成するための本発明の構成を、実施例に
対応する第1図乃至第5図を参照して説明する。本発明
は、歩進指令パルスが発生する毎に目標ステップ位置を
示すアドレス信号を出力するアドレス演算回路11と、
微分割駆動を行うために必要な励磁電流値設定信号のパ
ターンを記憶するメモリ12、13を備えてアドレス信
号が入力される毎にメモリ12、13から目標ステップ
位置を示すアドレス信号に対応した各励磁巻線の励磁電
流値を示す励磁電流値設定信号を出力する励磁電流値設
定信号形成回路16、17と、励磁電流値設定信号形成
回路16、17からの励磁電流値設定信号と相切換信号
とを入力信号として該励磁電流値設定信号に基づき所定
の励磁巻線を励磁することにより微分割駆動を行わせる
ステッピングモータ駆動ユニット18とを具備するステ
ッピングモータ駆動装置を対象とする。
[Means for Solving Problems] A configuration of the present invention for achieving the above object will be described with reference to FIGS. 1 to 5 corresponding to the embodiments. The present invention includes an address calculation circuit 11 that outputs an address signal indicating a target step position each time a step command pulse is generated,
Each memory 12 and 13 corresponding to the address signal indicating the target step position is provided from the memories 12 and 13 each time an address signal is input, provided with the memories 12 and 13 for storing the pattern of the exciting current value setting signal necessary for performing the fine division driving. Exciting current value setting signal forming circuits 16 and 17 for outputting an exciting current value setting signal indicating an exciting current value of the exciting winding, and exciting current value setting signals and phase switching signals from the exciting current value setting signal forming circuits 16 and 17. And a stepping motor drive unit 18 for performing fine division drive by exciting a predetermined exciting winding on the basis of the exciting current value setting signal as an input signal.

本発明ではアドレス演算回路11を次のように構成す
る。まずアドレス演算回路11は、正転,逆転を示す回
転方向入力信号が入力される第1の入力端子Tbと、ス
テッピングモータの基本ステップ角を1/M(ただし、
Mは基本ステップ角の分割数)に分割することを示す分
割数設定信号mが入力される第2の入力端子Tdと、基
本ステップ角を1/M(ただし、Mは基本ステップ角の
分割数)に分割した分割ステップのN(但し、Nは正の
整数)ステップ分を1微分割ステップとすることを示す
ステップ数設定信号nが入力される第3の入力端子Tc
と、歩進指令パルスが入力される第4の入力端子Taと
を具備する。そしてアドレス演算回路11は、第1の加
減算器1と、判別器3と、第2の加減算器4と、選択回
路5と、ラッチ回路6と、遅延回路8と、相切換信号出
力回路9とを具備する。
In the present invention, the address calculation circuit 11 is configured as follows. First, the address arithmetic circuit 11 sets the basic step angle of the stepping motor to 1 / M (where
M is the number of divisions of the basic step angle) and the second input terminal Td to which the division number setting signal m that indicates division is input, and the basic step angle is 1 / M (where M is the number of divisions of the basic step angle). The third input terminal Tc to which the step number setting signal n indicating that N (where N is a positive integer) steps of the division steps
And a fourth input terminal Ta to which a step command pulse is input. The address calculation circuit 11 includes a first adder / subtractor 1, a discriminator 3, a second adder / subtractor 4, a selection circuit 5, a latch circuit 6, a delay circuit 8, and a phase switching signal output circuit 9. It is equipped with.

第1の加減算器1は、ステップ数設定信号nと現在のス
テップ位置Pを示す現在位置信号pとを入力信号として
回転方向入力信号が正転信号のときにはP+N=Kの加
算をし、回転方向入力信号が逆転信号のときはP−N=
Kの減算をして、現在のステップ位置Pを基準にした目
標ステップ位置Kを示す出力信号kを出力する。
The first adder / subtractor 1 uses the step number setting signal n and the current position signal p indicating the current step position P as input signals, adds P + N = K when the rotation direction input signal is a normal rotation signal, and adds the rotation direction. When the input signal is a reverse signal, P-N =
K is subtracted, and an output signal k indicating the target step position K based on the current step position P is output.

判別器3は、相切換の必要性の有無を判断するために出
力信号kと分割数設定信号mとを入力信号として、K≧
MまたはK≦0のときに相切換を示す判別信号を出力
し、M>K>0のときに相切換が不要であることを示す
判別信号を出力する。
The discriminator 3 uses the output signal k and the division number setting signal m as input signals to determine whether or not there is a need for phase switching, and K ≧
When M or K ≦ 0, a determination signal indicating phase switching is output, and when M>K> 0, a determination signal indicating that phase switching is unnecessary is output.

第2の加減算器4は、相切換を行う場合に相切換ステッ
プ位置を基準にした目標ステップ位置Yを示す出力信号
yを得るために、出力信号kと、分割数設定信号mと、
回転方向入力信号とを入力信号として回転方向入力信号
が正転信号のときは(P+N)−M=Y、回転方向入力
信号が逆転信号のときは(P−N)+M=Yの加減算を
して出力信号yを出力する。
The second adder / subtractor 4 outputs an output signal k, a division number setting signal m, in order to obtain an output signal y indicating a target step position Y with reference to the phase switching step position when performing phase switching.
Using the rotation direction input signal as an input signal, (P + N) -M = Y is added when the rotation direction input signal is a normal rotation signal, and (P-N) + M = Y is added and subtracted when the rotation direction input signal is a reverse rotation signal. To output the output signal y.

選択回路5は、相切換を行う場合と相切換を行わない場
合とにおいて前記目標ステップ位置を示す出力信号zを
選択するために、出力信号kと、出力信号yと判別器3
からの判別信号とを入力信号として、判別器3から相切
換を示す判別信号が入力されているときには第2の加減
算器4の出力信号yを出力信号zとして選択し、判別器
3から相切換が不要であることを示す判別信号が入力さ
れているときには第1の加減算器1の出力信号kを出力
信号zとして出力する。
The selection circuit 5 selects the output signal z indicating the target step position when the phase switching is performed and when the phase switching is not performed, and the output signal k, the output signal y, and the discriminator 3 are selected.
When the discrimination signal indicating the phase switching is input from the discriminator 3, the output signal y of the second adder / subtractor 4 is selected as the output signal z, and the discriminator 3 switches the phase. When the discrimination signal indicating that is unnecessary is input, the output signal k of the first adder-subtractor 1 is output as the output signal z.

ラッチ回路6は、選択回路5の出力信号zを歩進指令パ
ルスが与えられる毎にその立上り時にラッチして出力信
号zをアドレス信号adとして出力する。
The latch circuit 6 latches the output signal z of the selection circuit 5 at the rising edge of the step command pulse each time the step command pulse is applied, and outputs the output signal z as the address signal ad.

遅延回路8は、アドレス信号adを歩進指令パルスのパ
ルス幅より広い時間幅で遅延させて現在位置信号pとし
て出力する。
The delay circuit 8 delays the address signal ad with a time width wider than the pulse width of the step command pulse and outputs it as the current position signal p.

相切換信号出力回路9は、歩進指令パルスと判別器3の
判別信号とを入力信号として、判別器3から相切換を示
す判別信号が入力されているときには歩進指令パルスを
相切換信号として出力する。
The phase switching signal output circuit 9 uses the step command pulse and the discrimination signal of the discriminator 3 as input signals, and when the discrimination signal indicating the phase switching is input from the discriminator 3, uses the step command pulse as a phase switching signal. Output.

[作用] 本発明の駆動装置では、第1の加減算器1で現在のステ
ップ位置Pを基準にした目標ステップ位置Kを求め、第
2の加減算器4で相切換を行う場合に相切換ステップ位
置を基準にした目標ステップ位置Yを求める。また選択
回路5は、判別器3から相切換を示す判別信号が入力さ
れているときには第2の加減算器4で求めた目標ステッ
プ位置Yを選択し、判別器3から相切換が不要であるこ
とを示す判別信号が入力されているときには第1の加減
算器で求めた目標ステップ位置Kを選択する。判別器3
から相切換を示す判別信号が出力されると、相切換信号
出力回路9が相切換信号をステッピングモータ駆動ユニ
ット18に出力して、励磁する相の切換えを行う。これ
により選択回路5で、相切換ステップ位置を基準にした
目標ステップ位置Yを選択することが可能になる。その
結果、1つの歩進指令パルスが発生する毎に得られる1
微分割ステップを、基本ステップ角のN/Mに設定でき
る。またラッチ回路6及び遅延回路8を用いることによ
り、誤動作の発生を防止する。
[Operation] In the drive device of the present invention, the target step position K based on the current step position P is determined by the first adder / subtractor 1, and the phase switching step position is determined when the second adder / subtractor 4 performs phase switching. The target step position Y based on is calculated. Further, the selection circuit 5 selects the target step position Y obtained by the second adder / subtractor 4 when the discrimination signal indicating the phase switching is input from the discriminator 3, and the phase switching from the discriminator 3 is unnecessary. When the discrimination signal indicating is input, the target step position K obtained by the first adder / subtractor is selected. Discriminator 3
When a discriminating signal indicating phase switching is output from, the phase switching signal output circuit 9 outputs a phase switching signal to the stepping motor drive unit 18 to switch the phase to be excited. This allows the selection circuit 5 to select the target step position Y based on the phase switching step position. As a result, 1 is obtained each time one step command pulse is generated.
The fine division step can be set to N / M of the basic step angle. Further, by using the latch circuit 6 and the delay circuit 8, occurrence of malfunction is prevented.

[実施例] 以下、本発明のステッピングモータ駆動装置の実施例を
詳細に説明する。第1図〜第5図は、本発明を2相ステ
ッピングモータの駆動に適用した駆動装置の構成を説明
するために用いる図である。このステッピングモータ駆
動装置は、第1図及び第2図に示すように、アドレス演
算回路11と、第1及び第2のの励磁電流値設定信号形
成回路16及び17と、ステッピングモータ駆動ユニッ
ト18とから構成される。アドレス演算回路11は、正
転,逆転を示す回転方向入力信号が入力される第1の入
力端子Tbと、ステッピングモータの基本ステップ角を
1/M(ただし、Mは基本ステップ角の分割数)に分割
することを示す分割数設定信号mが入力される第2の入
力端子Tdと、基本ステップ角を1/M(ただし、Mは
基本ステップ角の分割数)に分割した分割ステップのN
(但し、Nは正の整数)ステップ分を1微分割ステップ
とすることを示すステップ数設定信号nが入力される第
3の入力端子Tcと、歩進指令パルスが入力される第4
の入力端子Taとを具備している。そしてアドレス演算
回路11は、第1の加減算器1と、判別器3と、第2の
加減算器4と、選択回路5と、ラッチ回路6と、遅延回
路8と、相切換信号出力回路9とから構成される。
[Embodiment] An embodiment of the stepping motor drive device of the present invention will be described in detail below. 1 to 5 are diagrams used for explaining the configuration of a drive device in which the present invention is applied to drive a two-phase stepping motor. As shown in FIGS. 1 and 2, this stepping motor drive device includes an address calculation circuit 11, first and second excitation current value setting signal forming circuits 16 and 17, and a stepping motor drive unit 18. Composed of. The address calculation circuit 11 sets the basic step angle of the stepping motor to the first input terminal Tb to which a rotation direction input signal indicating forward rotation and reverse rotation is input, 1 / M (where M is the division number of the basic step angle). The second input terminal Td to which the division number setting signal m indicating division is input, and N of division steps obtained by dividing the basic step angle into 1 / M (where M is the division number of the basic step angle).
(However, N is a positive integer.) A third input terminal Tc to which a step number setting signal n indicating that one step is one fine division step is input, and a fourth step command pulse is input.
Input terminal Ta. The address calculation circuit 11 includes a first adder / subtractor 1, a discriminator 3, a second adder / subtractor 4, a selection circuit 5, a latch circuit 6, a delay circuit 8, and a phase switching signal output circuit 9. Composed of.

第1の加減算器1は、正転,逆転の回転方向入力信号
と、ステッピングモータ2の基本ステップ角[=360
/(2・H・S)(ただし、Hはロータの歯数、Sは相
数)]を1/M(ただし、Mは基本ステップ角の分割
数)に分割した分割ステップをNステップ(ただし、N
は正の整数)ずつ歩進することを定めるステップ数設定
信号nと、現在のステップ位置Pを示す現在位置信号p
とを入力信号として、回転方向入力信号が正転信号のと
きにはP+N=Kの加算をし、回転方向入力信号が逆転
信号のときはP−N=Kの減算をして出力信号kを出力
するようになっている。この様に第1の加減算器1は、
現在のステップ位置Pを基準にした目標ステップ位置K
を示す出力信号kを出力する。第1の加減算器1の出力
信号kは、判別器3と、第2の加減算器4と、選択回路
5とに与えられるようになっている。
The first adder / subtractor 1 receives the rotation direction input signals for forward rotation and reverse rotation, and the basic step angle [= 360
/ (2 · H · S) (where H is the number of teeth of the rotor and S is the number of phases)] is divided into 1 / M (where M is the number of divisions of the basic step angle) and N steps (however , N
Is a positive integer) and the step number setting signal n that determines to step by step, and the current position signal p that indicates the current step position P
Using as input signals, P + N = K is added when the rotation direction input signal is the forward rotation signal, and P−N = K is subtracted when the rotation direction input signal is the reverse rotation signal, and the output signal k is output. It is like this. In this way, the first adder / subtractor 1
Target step position K based on the current step position P
To output the output signal k. The output signal k of the first adder / subtractor 1 is provided to the discriminator 3, the second adder / subtractor 4, and the selection circuit 5.

判別器3は、出力信号kと、ステッピングモータ2の基
本ステップ角の分割数Mを定める分割数設定信号mとを
入力信号としてK≧MかK≦0かの判別をすることによ
り、相切換の必要性の有無を判断する。判別器3は、K
≧MまたはK≦0のときに相切換を示す判別信号を出力
し、M>K>0のときに相切換が不要であることを示す
判別信号を出力する。
The discriminator 3 uses the output signal k and the division number setting signal m that determines the division number M of the basic step angle of the stepping motor 2 as input signals to determine whether K ≧ M or K ≦ 0, thereby performing phase switching. To determine the necessity of. The discriminator 3 is K
When .gtoreq.M or K.ltoreq.0, a determination signal indicating phase switching is output, and when M>K> 0, a determination signal indicating that phase switching is unnecessary is output.

第2の加減算器4は、出力信号kと、分割数設定信号m
と、回転方向入力信号とを入力信号として、回転方向入
力信号が正転信号であれば出力信号yとしてY=(P+
N)−Mを出力し、逆転信号であれば出力信号yとして
Y=(P−N)+Mを出力する。すなわち第2の加減算
器4は、相切換を行う場合に相切換ステップ位置(第3
図において“0”の位置)を基準にした目標ステップ位
置Yを示す出力信号yを得ている。
The second adder / subtractor 4 outputs the output signal k and the division number setting signal m.
And a rotation direction input signal as input signals, and if the rotation direction input signal is a normal rotation signal, Y = (P +
N) -M is output, and if the signal is a reverse rotation signal, Y = (P-N) + M is output as the output signal y. That is, the second adder / subtractor 4 uses the phase switching step position (the third
An output signal y indicating the target step position Y with reference to the position "0" in the figure) is obtained.

出力信号yは出力信号kと共に選択回路5に入力される
ようになっている。選択回路5は、相切換を行う場合と
相切換を行わない場合とにおいて目標ステップ位置を示
す出力信号zを選択する。正転状態で判別器3からK≧
Mであることを示す判別信号(相切換を示す判別信号)
が入力されると、出力信号zとしてY=(P+N)−M
を示す出力信号yを出力する。また正転状態でM>K>
0で相切換が不要であることを示す判別信号が入力され
ていれば、出力信号zとしてK=P+Nを示す出力信号
kを出力する。また逆転状態でK≦0を示す判別信号
(相切換を示す判別信号)が入力されると、出力信号z
としてY=(P−N)+Mを示す出力信号yを出力し、
逆転状態でM>K>0で相切換が不要であることを示す
判別信号が入力されていれば、出力信号zとしてK=P
−Nを示す出力信号kを選択して出力するようになって
いる。
The output signal y is input to the selection circuit 5 together with the output signal k. The selection circuit 5 selects the output signal z indicating the target step position when the phase switching is performed and when the phase switching is not performed. From the discriminator 3 in the forward rotation state, K ≧
Discrimination signal indicating M (discrimination signal indicating phase switching)
Is input, Y = (P + N) -M as the output signal z
Is output. In the normal rotation state, M>K>
If the discriminating signal indicating that phase switching is unnecessary is input at 0, the output signal k indicating K = P + N is output as the output signal z. When a determination signal indicating K ≦ 0 (determination signal indicating phase switching) is input in the reverse rotation state, the output signal z
Output signal y indicating Y = (P−N) + M as
If M>K> 0 in the reverse rotation state and a determination signal indicating that phase switching is not required is input, K = P as the output signal z.
The output signal k indicating -N is selected and output.

選択回路5の出力信号zはラッチ回路6に与えられるよ
うになっている。ラッチ回路6は、選択回路5の出力信
号zを歩進指令パルスが与えられる毎にその立上り時に
ラッチして出力信号zをアドレス信号adとして出力端
子7から出力するようになっている。
The output signal z of the selection circuit 5 is applied to the latch circuit 6. The latch circuit 6 latches the output signal z of the selection circuit 5 at the rising edge of the step command pulse each time the step command pulse is given, and outputs the output signal z from the output terminal 7 as an address signal ad.

また、アドレス信号adは遅延回路8に与えられるよう
になっている。遅延回路8は、アドレス信号adを歩進
指令パルスのパルス幅より広い時間幅で遅延させて現在
位置信号pとして第1の加減算器1に出力するようにな
っている。
Further, the address signal ad is applied to the delay circuit 8. The delay circuit 8 delays the address signal ad with a time width wider than the pulse width of the step command pulse and outputs it as the current position signal p to the first adder / subtractor 1.

判別器3の出力信号は、相切換信号出力回路9にも与え
られるようになっている。相切換信号出力回路9は、歩
進指令パルスと判別器3のK≧MかK≦0かを示す判別
信号(相切換を示す判別信号)とを入力信号として、K
≧MかK≦0のときに歩進指令パルスを相切換信号とし
て出力端子10から出力するようになっている。
The output signal of the discriminator 3 is also applied to the phase switching signal output circuit 9. The phase switching signal output circuit 9 receives the step command pulse and the discrimination signal (discrimination signal indicating phase switching) indicating whether K ≧ M or K ≦ 0 of the discriminator 3 as an input signal,
When ≧ M or K ≦ 0, the step command pulse is output from the output terminal 10 as a phase switching signal.

出力端子7から出力されるアドレス信号adは、リード
オンリーメモリ(以下、ROMという)よりなる第1,
第2のメモリ12,13に入力されるようになってい
る。第1のメモリ12は、ステッピングモータ2の基本
ステップ角の励磁電流値設定信号の立上りパターン(例
えば、第4図の立上りパターンPT1)を記憶してい
て、アドレス信号adが入力される毎にそのアドレスに
対応する励磁電流値設定信号の立上りパターンに相当し
たディジタルの重み付け信号を出力するようになってい
る。第2のメモリ13は、ステッピングモータ2の基本
ステップ角の励磁電流値設定信号の立下りパターン(例
えば、第4図の立下りパターンPT2)を記憶してい
て、アドレス信号adが入力される毎にそのアドレスに
対応する励磁電流値設定信号の立下りパターンに相当し
たディジタルの重み付け信号を出力するようになってい
る。
The address signal ad output from the output terminal 7 is a first and a first read-only memory (hereinafter referred to as ROM).
It is adapted to be input to the second memories 12 and 13. The first memory 12 stores the rising pattern (for example, the rising pattern PT1 in FIG. 4) of the exciting current value setting signal of the basic step angle of the stepping motor 2, and the rising pattern is stored every time the address signal ad is input. A digital weighting signal corresponding to the rising pattern of the exciting current value setting signal corresponding to the address is output. The second memory 13 stores the falling pattern (for example, the falling pattern PT2 of FIG. 4) of the exciting current value setting signal of the basic step angle of the stepping motor 2, and every time the address signal ad is input. In addition, a digital weighting signal corresponding to the falling pattern of the exciting current value setting signal corresponding to the address is output.

これら第1,第2のメモリ12,13からの重み付け信
号は、第1,第2のディジタル/アナログ変換器(以
下、D/A変換器という。)14,15に入力されるよ
うになっている。これら第1,第2のD/A変換器1
4,15は、重み付け信号をD/A変換してアナログの
励磁電流値設定信号を出力するようになっている。
The weighted signals from the first and second memories 12 and 13 are input to the first and second digital / analog converters (hereinafter referred to as D / A converters) 14 and 15, respectively. There is. These first and second D / A converters 1
Reference numerals 4 and 15 are adapted to D / A convert the weighting signal and output an analog excitation current value setting signal.

これら第1のメモリ12と第2のD/A変換器14とで
第1の励磁電流値設定信号形成回路16が形成されてい
る。この第1の励磁電流値設定信号形成回路16は、ア
ドレス信号adが入力される毎に順次所定の立上りパタ
ーンで励磁電流値設定信号を出力するようになってい
る。
The first memory 12 and the second D / A converter 14 form a first exciting current value setting signal forming circuit 16. The first exciting current value setting signal forming circuit 16 is adapted to sequentially output the exciting current value setting signal in a predetermined rising pattern every time the address signal ad is input.

また、第2のメモリ13と第2のD/A変換器15とで
第2の励磁電流値設定信号形成回路17が形成されてい
る。この第2の励磁電流値設定信号形成回路17は、ア
ドレス信号adが入力される毎に順次所定の立下りパタ
ーンで励磁電流値設定信号を出力するようになってい
る。
Further, the second memory 13 and the second D / A converter 15 form a second exciting current value setting signal forming circuit 17. The second exciting current value setting signal forming circuit 17 is adapted to sequentially output the exciting current value setting signal in a predetermined falling pattern every time the address signal ad is input.

これら第1,第2の励磁電流値設定信号形成回路16,
17から各励磁電流値設定信号は、ステッピングモータ
駆動ユニット18に与えられるようになっている。この
ステッピングモータ駆動ユニット18は、2種の励磁電
流値設定信号を入力信号としてステッピングモータ2を
励磁する第5図に示す如き励磁電流IA,IB,I,
Iをそれぞれ形成し、これら励磁電流IA,IB,I
,Iを相切換信号をもとに切換えてステッピングモ
ータ2の所定の相の励磁巻線に与えるようになってい
る。
These first and second exciting current value setting signal forming circuits 16,
Each excitation current value setting signal from 17 is applied to the stepping motor drive unit 18. The stepping motor drive unit 18 uses two kinds of exciting current value setting signals as input signals to excite the stepping motor 2 as shown in FIG. 5, and the exciting currents IA, IB, I, and
I respectively, and these exciting currents IA, IB, I
, I based on the phase switching signal and applied to the exciting winding of a predetermined phase of the stepping motor 2.

次に、このようなアドレス演算回路11を組込んだステ
ッピングモータ駆動装置の動作を、第3図に示すように
基本ステップ角を8分割した場合(M=8)を例にとっ
て説明する。例えば、回転方向入力信号が正転信号であ
って、ステップ数設定信号nがN=3を示しているとき
(すなわちN/M=3/8のとき)で、現在位置信号p
がA相B相間のP=1を示している場合には、第1の加
減算器1ではK=P+N=1+3=4の加算をする。判
別器3では、K=4が入力され、M=8が入力されるの
で、K≧MでもK≦0でもないその他の場合、すなわち
相切換えが不要であると判別する。第2の加減算器4で
は、正転信号が入力されているので、Y=(P+N)−
M=(1+3)−8=−4なる減算を行い、Y=−4を
出力する。選択回路5では、判別器3が相切換えが不要
であると判別しているので、出力信号zとして出力信号
kの方を選択して出力する。この出力信号kが歩進指令
パルスによりその立上り時にラッチ回路6でラッチさ
れ、アドレス信号adとしてAD=4が出力される。こ
の場合、判別器3は相切換えが不要であると判別したの
で、相切換信号出力回路10は歩進指令パルスが入力さ
れても相切換信号を出力しない。従って、ステッピング
モータ2はA相B相間のアドレスAD=1のところから
A相B相間のアドレスAD=4のところに相当する角度
まで1ステップで正転駆動されるように、第1,第2の
励磁電流値設定信号形成回路16,17で励磁電流値設
定信号が形成され、ステッピングモータ駆動ユニット1
8でこれに応じた各相の励磁電流が形成される。
Next, the operation of the stepping motor driving device incorporating such an address arithmetic circuit 11 will be described by taking the case where the basic step angle is divided into eight (M = 8) as shown in FIG. For example, when the rotation direction input signal is a normal rotation signal and the step number setting signal n indicates N = 3 (that is, N / M = 3/8), the current position signal p
Indicates P = 1 between A phase and B phase, the first adder / subtractor 1 adds K = P + N = 1 + 3 = 4. Since the discriminator 3 inputs K = 4 and M = 8, it determines that the phase switching is unnecessary in other cases where neither K ≧ M nor K ≦ 0. In the second adder / subtractor 4, since the normal rotation signal is input, Y = (P + N)-
Subtraction of M = (1 + 3) -8 = -4 is performed and Y = -4 is output. In the selection circuit 5, since the discriminator 3 determines that phase switching is not necessary, the output signal k is selected and output as the output signal z. This output signal k is latched by the latch circuit 6 at the rising edge of the step command pulse, and AD = 4 is output as the address signal ad. In this case, since the discriminator 3 has determined that phase switching is unnecessary, the phase switching signal output circuit 10 does not output the phase switching signal even when the step command pulse is input. Therefore, the stepping motor 2 is driven to rotate normally in one step from the address AD = 1 between the A phase and B phase to the angle corresponding to the address AD = 4 between the A phase and B phase. The exciting current value setting signals are formed in the exciting current value setting signal forming circuits 16 and 17 of the stepping motor drive unit 1
At 8, a corresponding exciting current of each phase is formed.

次に、例えば、回転方向入力信号が正転信号であって、
ステップ数設定信号nがN=3を示しているときで、現
在位置信号pがA相B相間のP=7を示している場合に
は、第1の加減算器1ではK=P+N=7+3=10の
加算をする。判別器3では、K=10が入力され、M=
8が入力されるので、K>Mすなわち相切換えが必要で
あると判別する。第2の加減算器4では、正転信号が入
力されるので、Y=(P+N)−M=10−8=2なる
減算を行い、Y=2を出力する。選択回路5では、判別
器3がK>Mすなわち相切換えが必要であると判別して
いるので、出力信号zとして出力信号yの方を選択して
出力する。この出力信号yが歩進指令パルスによりその
立上り時にラッチ回路6でラッチされ、アドレス信号a
dとしてAD=2が出力される。この場合、判別器3で
はK>Mすなわち相切換えが必要であると判別したの
で、相切換信号出力回路10はその歩進指令パルスを相
切換信号として出力する。従って、ステッピングモータ
2はA相B相間のアドレスAD=7のところからB相
相間のアドレスAD=4のところに相当する角度まで1
ステップで正転駆動されるように、第1,第2の励磁電
流値設定信号形成回路16,17で励磁電流値設定信号
が形成され、ステッピングモータ駆動ユニット18でこ
れに応じた各相の励磁電流が形成される。
Next, for example, if the rotation direction input signal is a normal rotation signal,
When the step number setting signal n indicates N = 3 and the current position signal p indicates P = 7 between the A phase and the B phase, K = P + N = 7 + 3 = in the first adder / subtractor 1. Add 10. In the discriminator 3, K = 10 is input and M =
Since 8 is input, it is determined that K> M, that is, phase switching is necessary. Since the normal signal is input to the second adder / subtractor 4, the subtraction Y = (P + N) -M = 10-8 = 2 is performed and Y = 2 is output. In the selection circuit 5, since the discriminator 3 has determined that K> M, that is, phase switching is required, the output signal y is selected and output as the output signal z. This output signal y is latched by the latch circuit 6 at the rising edge of the step command pulse, and the address signal a
AD = 2 is output as d. In this case, since the discriminator 3 has determined that K> M, that is, phase switching is necessary, the phase switching signal output circuit 10 outputs the step command pulse as a phase switching signal. Therefore, the stepping motor 2 is 1 from the address AD = 7 between the A phase and the B phase to the angle corresponding to the address AD = 4 between the B phase.
Excitation current value setting signals are formed in the first and second excitation current value setting signal forming circuits 16 and 17 so that the stepping motor drive unit 18 excites each phase in accordance with the excitation current value setting signals. An electric current is formed.

次に、例えば、回転方向入力信号が逆転信号であって、
ステップ数設定信号nがN=3を示しているときに、現
在位置信号pがA相B相間のP=6を示している場合に
は、第1の加減算器1ではK=6−3=3の減算をす
る。判別器3では、K=3が入力され、M=8が入力さ
れるので、K<Mであり、K≧MでもK≦0でもない即
ち相切換えが不要であると判別する。第2の加減算器4
では、逆転信号が入力されるので、Y=(P−N)+M
=3+8=11なる加算を行い、Y=11を出力する。
選択回路5では、判別器3が相切換えが不要であると判
別しているので、出力信号zとしてK=3を示す出力信
号kの方を選択して出力する。この出力信号zが歩進指
令パルスによりその立上り時にラッチ回路6でラッチさ
れ、アドレス信号adとしてAD=3が出力される。こ
の場合、判別器3は相切換えが不要であるとと判別して
いるので、相切換信号出力回路10は歩進指令パルスが
入力されても相切換信号を出力しない。従って、ステッ
ピングモータ2はA相B相間のアドレスAD=6のとこ
ろからA相B相間のアドレスAD=3のところに相当す
る角度まで1ステップで逆転駆動されるように、第1,
第2の励磁電流値設定信号形成回路16,17で励磁電
流値設定信号が形成され、ステッピングモータ駆動ユニ
ット18でこれに応じた各相の励磁電流が形成される。
Next, for example, if the rotation direction input signal is a reverse rotation signal,
When the current position signal p indicates P = 6 between the A phase and the B phase when the step number setting signal n indicates N = 3, K = 6-3 = in the first adder / subtractor 1. Subtract 3 In the discriminator 3, since K = 3 is input and M = 8 is input, it is determined that K <M and neither K ≧ M nor K ≦ 0, that is, phase switching is unnecessary. Second adder / subtractor 4
Then, since the reverse rotation signal is input, Y = (P−N) + M
= 3 + 8 = 11, and Y = 11 is output.
In the selection circuit 5, since the discriminator 3 determines that phase switching is not necessary, the output signal k indicating K = 3 is selected and output as the output signal z. This output signal z is latched by the latch circuit 6 at the rising edge of the step command pulse, and AD = 3 is output as the address signal ad. In this case, since the discriminator 3 determines that phase switching is not necessary, the phase switching signal output circuit 10 does not output the phase switching signal even when the step command pulse is input. Therefore, the stepping motor 2 is reversely driven in one step from the address AD = 6 between the A phase and B phase to the angle corresponding to the address AD = 3 between the A phase and B phase.
The second exciting current value setting signal forming circuits 16 and 17 form an exciting current value setting signal, and the stepping motor drive unit 18 forms an exciting current of each phase corresponding thereto.

次に、例えば、回転方向入力信号が逆転信号であって、
ステップ数設定信号nがN=3を示しているときに、現
在位置信号pがA相B相間のP=1を示している場合に
は、第1の加減算器1ではK=1−3=−2の減算をす
る。判別器3では、K=−2が入力され、M=8が入力
されるので、K<0即ち相切換えが必要であると判別す
る。第2の加減算器4では、逆転信号が入力されるの
で、Y=(P−N)+M=−2+8=6なる加算を行
い、Y=6を出力する。選択回路5では、判別器3がK
<0即ち相切換えが必要であると判別しているので、出
力信号zとして出力信号yの方を選択して出力する。こ
の出力信号yが歩進指令パルスによりその立上り時にラ
ッチ回路6でラッチされ、アドレス信号adとしてAD
=6が出力される。この場合、判別器3ではK<0即ち
相切換えが必要であると判別したので、相切換信号出力
回路10はその歩進指令パルスを相切換信号として出力
する。従って、ステッピングモータ2はA相B相間のア
ドレスAD=1のところから相A相間のアドレスAD
=6のところに相当する角度まで1ステップで逆転駆動
されるように、第1,第2の励磁電流値設定信号形成回
路16,17で励磁電流値設定信号が形成され、ステッ
ピングモータ駆動ユニット18でこれに応じた各相の励
磁電流が形成される。
Next, for example, if the rotation direction input signal is a reverse rotation signal,
When the current position signal p indicates P = 1 between the A phase and the B phase when the step number setting signal n indicates N = 3, K = 1-3 = in the first adder / subtractor 1. -2 is subtracted. In the discriminator 3, since K = -2 and M = 8 are input, it is determined that K <0, that is, phase switching is necessary. In the second adder / subtractor 4, since the reverse rotation signal is input, the addition Y = (P−N) + M = −2 + 8 = 6 is performed and Y = 6 is output. In the selection circuit 5, the discriminator 3 is K
Since it is determined that <0, that is, phase switching is necessary, the output signal y is selected and output as the output signal z. This output signal y is latched by the latch circuit 6 at the rising edge of the step command pulse, and AD is output as the address signal ad.
= 6 is output. In this case, since the discriminator 3 has determined that K <0, that is, phase switching is necessary, the phase switching signal output circuit 10 outputs the step command pulse as a phase switching signal. Therefore, the stepping motor 2 starts from the address AD between the phase A and the phase B to the address AD between the phase A and the phase AD.
= 6, the exciting current value setting signals are formed by the first and second exciting current value setting signal forming circuits 16 and 17 so that the stepping motor driving unit 18 is driven in reverse by one step. Then, the exciting current of each phase is formed in accordance with this.

本実施例では、第2の加減算器4に与える分割数設定信
号mを変えることにより、同じ回路で所望の微分割駆動
を行わせる制御を行うアドレス信号を形成することがで
きる。また、第1の加減算器1に与えるステップ数Nを
変えることにより、同じ回路で任意の微分割ステップを
選択して所望のステップ角度で微分割駆動を行わせる制
御を行うアドレス信号を形成することができる。このよ
うに本実施例では、1微分割ステップのステップ角の変
更が容易なため、低速時には1微分割ステップのステッ
プ角を微角にする即ちステップ数Nを小さくしてなめら
かな回転を得る。高速時にはステップ数Nを大きくして
1微分割ステップのステップ角を基本ステップ角或いは
これに近づけて高速回転を行わせるアドレス信号を形成
することができる。なめらかな低速回転を行わせるには
微角駆動が必要となるが、微角駆動は高速時には従来構
造だと歩進指令パルスの周波数を高くする必要があって
使用部品のコストアップや外乱ノイズに弱くなる問題点
があったが、本実施例によればステップ設定数Nの切り
換えにより、このような問題点を解決でき、コストアッ
プをまねかず、外乱ノイズに対しても強いステッピング
モータ制御用アドレス演算回路を提供することができ
る。また、本実施例によれば、例えばボールネジ等の送
りピッチの切換え等も容易に行える利点がある。
In this embodiment, by changing the division number setting signal m supplied to the second adder / subtractor 4, it is possible to form an address signal for performing control for performing desired fine division driving in the same circuit. Further, by changing the number of steps N given to the first adder / subtractor 1, an arbitrary fine division step is selected in the same circuit to form an address signal for performing control for fine division drive at a desired step angle. You can As described above, in the present embodiment, since the step angle of one fine division step can be easily changed, the step angle of one fine division step is set to a fine angle at a low speed, that is, the number N of steps is reduced to obtain smooth rotation. At a high speed, the number of steps N can be increased to bring the step angle of one fine division step closer to or closer to the basic step angle to form an address signal for high speed rotation. Fine angle drive is required to perform smooth low-speed rotation, but fine angle drive requires a higher frequency for the step command pulse if the conventional structure is used at high speeds, which increases the cost of the parts used and disturbance noise. Although there is a problem that the stepping motor is weakened, according to the present embodiment, such a problem can be solved by switching the step setting number N, the cost is not increased, and the stepping motor control address is strong against the disturbance noise. An arithmetic circuit can be provided. Further, according to this embodiment, there is an advantage that the feed pitch of a ball screw or the like can be easily switched.

上記実施例では、本発明を2相ステッピングモータの駆
動に適用した場合について説明したが、本発明はこれに
限定されるものではなく、n相ステッピングモータ駆動
にも同様に適用できるものである。
In the above embodiment, the case where the present invention is applied to the driving of the two-phase stepping motor has been described, but the present invention is not limited to this, and can be similarly applied to the driving of the n-phase stepping motor.

また上記実施例では、励磁電流値設定信号形成回路のメ
モリは励磁電流値設定信号の立上りあるいは立下りパタ
ーンだけを記憶していたが、励磁電流値設定信号の1サ
イクルのパターンをメモリに記憶させてもよい。また励
磁電流値設定信号形成回路は、ステッピングモータの各
相毎に設けてもよい。
Further, in the above embodiment, the memory of the exciting current value setting signal forming circuit stores only the rising or falling pattern of the exciting current value setting signal, but the one cycle pattern of the exciting current value setting signal is stored in the memory. May be. The exciting current value setting signal forming circuit may be provided for each phase of the stepping motor.

[発明の効果] 本発明の駆動装置によれば、1つの歩進指令パルスが発
生する毎に得られる1微分割ステップを、基本ステップ
角のN/Mに設定できるため、基本ステップ角の1/M
に1微分割ステップを設定する従来の方法と比べて、目
的に合わせた任意のステップ角を簡単に得ることができ
る。またラッチ回路及び遅延回路を用いることにより、
誤動作の発生を防止することができる。
[Effect of the Invention] According to the drive device of the present invention, one fine division step obtained each time one step command pulse is generated can be set to N / M of the basic step angle, so that the basic step angle of 1 / M
It is possible to easily obtain an arbitrary step angle that suits the purpose, as compared with the conventional method in which 1 subdivision step is set. By using the latch circuit and delay circuit,
Occurrence of malfunction can be prevented.

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

第1図は本発明に係るステッピングモータ駆動装置に用
いるアドレス演算回路の構成の一例を示すブロック図、
第2図はステッピングモータ駆動装置の一例の概略構成
を示すブロック図、第3図は基本ステップ角の微分割状
態の一例を示す説明図、第4図はアドレスと励磁電流値
設定信号の関係を示す波形図、第5図は各相の励磁電流
を示す波形図である。 1……第1の加減算器、2……ステッピングモータ、3
……判別器、4……第2の加減算器、5……選択回路、
6……ラッチ回路、8……遅延回路、9……相切換信号
出力回路、11……アドレス演算回路。
FIG. 1 is a block diagram showing an example of the configuration of an address arithmetic circuit used in a stepping motor drive device according to the present invention,
FIG. 2 is a block diagram showing a schematic configuration of an example of a stepping motor driving device, FIG. 3 is an explanatory diagram showing an example of a finely divided state of a basic step angle, and FIG. 4 shows a relationship between an address and an exciting current value setting signal. FIG. 5 is a waveform diagram showing the exciting current of each phase. 1 ... first adder / subtractor, 2 ... stepping motor, 3
...... Discriminator, 4 …… Second adder / subtractor, 5 …… Selection circuit,
6 ... Latch circuit, 8 ... Delay circuit, 9 ... Phase switching signal output circuit, 11 ... Address arithmetic circuit.

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】歩進指令パルスが発生する毎に目標ステッ
プ位置を示すアドレス信号を出力するアドレス演算回路
と、 微分割駆動を行うために必要な励磁電流値設定信号のパ
ターンを記憶するメモリを備えて、前記アドレス信号が
入力される毎に前記メモリから前記目標ステップ位置を
示す前記アドレス信号に対応した各励磁巻線の励磁電流
値を示す励磁電流値設定信号を出力する励磁電流値設定
信号形成回路と、 前記励磁電流値設定信号形成回路からの前記励磁電流値
設定信号と相切換信号とを入力信号として該励磁電流値
設定信号に基づき所定の励磁巻線を励磁することにより
微分割駆動を行わせるステッピングモータ駆動ユニット
とを具備するステッピングモータ駆動装置であって、 前記アドレス演算回路は、 正転,逆転を示す回転方向入力信号が入力される第1の
入力端子と、ステッピングモータの基本ステップ角を1
/M(ただし、Mは基本ステップ角の分割数)に分割す
ることを示す分割数設定信号mが入力される第2の入力
端子と、前記基本ステップ角を1/M(ただし、Mは基
本ステップ角の分割数)に分割した分割ステップのN
(但し、Nは正の整数)ステップ分を1微分割ステップ
とすることを示すステップ数設定信号nが入力される第
3の入力端子と、歩進指令パルスが入力される第4の入
力端子とを具備し、 前記ステップ数設定信号nと現在のステップ位置Pを示
す現在位置信号pとを入力信号として前記回転方向入力
信号が正転信号のときにはP+N=Kの加算をし、前記
回転方向入力信号が逆転信号のときはP−N=Kの減算
をして、現在のステップ位置Pを基準にした目標ステッ
プ位置Kを示す出力信号kを出力する第1の加減算器
と、 相切換の必要性の有無を判断するために前記出力信号k
と分割数設定信号mとを入力信号として、K≧Mまたは
K≦0のときに相切換を示す判別信号を出力し、M>K
>0のときに相切換が不要であることを示す判別信号を
出力する判別器と、 相切換を行う場合に相切換ステップ位置を基準にした目
標ステップ位置Yを示す出力信号yを得るために、前記
出力信号kと、前記分割数設定信号mと、前記回転方向
入力信号とを入力信号として前記回転方向入力信号が正
転信号のときは(P+N)−M=Y、前記回転方向入力
信号が逆転信号のときは(P−N)+M=Yの加減算を
して前記出力信号yを出力する第2の加減算器と、 相切換を行う場合と相切換を行わない場合とにおいて前
記目標ステップ位置を示す出力信号zを選択するため
に、前記出力信号kと、前記出力信号yと前記判別器か
らの前記判別信号とを入力信号として、前記判別器から
前記相切換を示す判別信号が入力されているときには前
記第2の加減算器の前記出力信号yを前記出力信号zと
して選択し、前記判別器から前記相切換が不要であるこ
とを示す判別信号が入力されているときには前記第1の
加減算器の前記出力信号kを前記出力信号zとして出力
する選択回路と、 前記選択回路の前記出力信号zを前記歩進指令パルスが
与えられる毎にその立上り時にラッチして前記出力信号
zをアドレス信号adとして出力するラッチ回路と、 前記アドレス信号adを前記歩進指令パルスのパルス幅
より広い時間幅で遅延させて前記現在位置信号pとして
出力する遅延回路と、 前記歩進指令パルスと前記判別器の前記判別信号とを入
力信号として、前記判別器から前記相切換を示す判別信
号が入力されているときには前記歩進指令パルスを前記
相切換信号として前記ステッピングモータ駆動ユニット
に出力する相切換信号出力回路とから構成されているこ
とを特徴とするステッピングモータ駆動装置。
1. An address arithmetic circuit that outputs an address signal indicating a target step position each time a step command pulse is generated, and a memory that stores a pattern of an excitation current value setting signal necessary for performing fine division driving. An excitation current value setting signal that outputs an excitation current value setting signal indicating an excitation current value of each excitation winding corresponding to the address signal indicating the target step position from the memory every time the address signal is input Fine-division driving by exciting a predetermined exciting winding on the basis of the forming circuit and the exciting current value setting signal and the phase switching signal from the exciting current value setting signal forming circuit based on the exciting current value setting signal. And a stepping motor driving unit for driving the stepping motor driving unit, wherein The basic step angle of the stepping motor is 1
/ M (where M is the number of divisions of the basic step angle) and the second input terminal to which the division number setting signal m indicating division is input, and the basic step angle is 1 / M (where M is the basic number). N of division steps divided into the number of divisions of the step angle)
(However, N is a positive integer.) A third input terminal to which a step number setting signal n indicating that one minute division step is input and a fourth input terminal to which a step command pulse is input And using the step number setting signal n and the current position signal p indicating the current step position P as input signals, when the rotation direction input signal is a forward rotation signal, P + N = K is added to obtain the rotation direction. When the input signal is a reverse rotation signal, PN = K is subtracted, and a first adder / subtractor that outputs an output signal k indicating a target step position K based on the current step position P and phase switching The output signal k for determining the necessity or non-necessity
And the division number setting signal m as input signals, a discrimination signal indicating phase switching is output when K ≧ M or K ≦ 0, and M> K
In order to obtain a discriminator that outputs a discrimination signal indicating that phase switching is unnecessary when> 0, and an output signal y indicating a target step position Y based on the phase switching step position when performing phase switching. , The output signal k, the division number setting signal m, and the rotation direction input signal are input signals, and the rotation direction input signal is a normal rotation signal, (P + N) -M = Y, the rotation direction input signal Is a reverse signal, a second adder / subtractor for adding / subtracting (PN) + M = Y to output the output signal y, and the target step in the case of performing phase switching and in the case of not performing phase switching In order to select the output signal z indicating the position, the discrimination signal indicating the phase switching is input from the discriminator using the output signal k, the output signal y and the discrimination signal from the discriminator as input signals. When it is being said The output signal y of the second adder / subtractor is selected as the output signal z, and the output signal of the first adder / subtractor is input when a determination signal indicating that the phase switching is unnecessary is input from the determiner. a selection circuit that outputs k as the output signal z; and a latch that outputs the output signal z of the selection circuit as the address signal ad by latching the output signal z at the rising edge of the advance command pulse every time the step command pulse is given. A circuit, a delay circuit that delays the address signal ad with a time width wider than the pulse width of the step command pulse and outputs the current position signal p, the step command pulse, and the discrimination signal of the discriminator. When the discrimination signal indicating the phase switching is input from the discriminator as the input signal, the stepping command pulse is used as the phase switching signal. And a phase switching signal output circuit for outputting to a motor drive unit.
JP62021830A 1987-02-03 1987-02-03 Stepping motor drive Expired - Lifetime JPH0640754B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP62021830A JPH0640754B2 (en) 1987-02-03 1987-02-03 Stepping motor drive

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP62021830A JPH0640754B2 (en) 1987-02-03 1987-02-03 Stepping motor drive

Publications (2)

Publication Number Publication Date
JPS63190596A JPS63190596A (en) 1988-08-08
JPH0640754B2 true JPH0640754B2 (en) 1994-05-25

Family

ID=12065986

Family Applications (1)

Application Number Title Priority Date Filing Date
JP62021830A Expired - Lifetime JPH0640754B2 (en) 1987-02-03 1987-02-03 Stepping motor drive

Country Status (1)

Country Link
JP (1) JPH0640754B2 (en)

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4121145A (en) * 1977-02-25 1978-10-17 The Perkin-Elmer Corporation High resolution stepping motor drive
JPS57110099A (en) * 1980-12-25 1982-07-08 Tadao Totsuka Driving circuit for step motor
JPS6151675A (en) * 1984-08-20 1986-03-14 Tokico Ltd Magnetic disk device

Also Published As

Publication number Publication date
JPS63190596A (en) 1988-08-08

Similar Documents

Publication Publication Date Title
US4223261A (en) Multi-phase synchronous machine system
EP0351783B1 (en) PWM inverter apparatus
EP0883234B1 (en) Drive circuit for brushless motor
US5144209A (en) Brushless dc motor
JP3396114B2 (en) Control device for brushless motor
US6242875B1 (en) Motor driving apparatus
JPH0614786B2 (en) PWM signal generation circuit
JPH0956195A (en) Inverter control unit
US6661364B2 (en) Semiconductor device for inverter controlling
JPH0640754B2 (en) Stepping motor drive
JP2561887B2 (en) Servo motor rotation speed counting circuit
JP2520408B2 (en) Drive control method of stepping motor
JPH09182452A (en) Three-level inverter
JPS60174088A (en) Digital control system of ac motor
JPH04295280A (en) Pwm signal arithmetic circuit
US7126514B2 (en) Inverter control device and inverter control method
JPH04331489A (en) Motor controller
JP2688370B2 (en) Inverter control device
JPH01311872A (en) Pwm signal arithmetic and logic device
JP3820698B2 (en) Frequency variable device
JPH06296373A (en) Inverter apparatus using pwm control
JPH099666A (en) Speed controller for motor
JP2751608B2 (en) Commutatorless DC motor
JPH11341857A (en) Controller of single-phase coil of electric motor conduction/non-conduction
JPH1080174A (en) Servo control apparatus for motor

Legal Events

Date Code Title Description
R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

EXPY Cancellation because of completion of term