JPS6011557B2 - Step motor driving method and its driving circuit - Google Patents
Step motor driving method and its driving circuitInfo
- Publication number
- JPS6011557B2 JPS6011557B2 JP55035598A JP3559880A JPS6011557B2 JP S6011557 B2 JPS6011557 B2 JP S6011557B2 JP 55035598 A JP55035598 A JP 55035598A JP 3559880 A JP3559880 A JP 3559880A JP S6011557 B2 JPS6011557 B2 JP S6011557B2
- Authority
- JP
- Japan
- Prior art keywords
- phase
- circuit
- output
- step motor
- output port
- 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
Links
Classifications
-
- H—ELECTRICITY
- H02—GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
- H02P—CONTROL OR REGULATION OF ELECTRIC MOTORS, ELECTRIC GENERATORS OR DYNAMO-ELECTRIC CONVERTERS; CONTROLLING TRANSFORMERS, REACTORS OR CHOKE COILS
- H02P8/00—Arrangements for controlling dynamo-electric motors rotating step by step
- H02P8/14—Arrangements for controlling speed or speed and torque
- H02P8/20—Arrangements for controlling speed or speed and torque characterised by bidirectional operation
Landscapes
- Engineering & Computer Science (AREA)
- Power Engineering (AREA)
- Control Of Stepping Motors (AREA)
Description
【発明の詳細な説明】
本発明はステップモータの回転方向すなわち時計回りか
反時計回りかを制御するための駆動方法およびその回路
に関するものである。DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a driving method and circuit for controlling the rotational direction of a step motor, that is, clockwise or counterclockwise.
従来、4相のステップモータの駆動回路としては、時計
回りの場合第1図に示すような回路構成となっていた。Conventionally, a drive circuit for a four-phase step motor has had a circuit configuration as shown in FIG. 1 for clockwise rotation.
すなわち、入力端子11に、第2図aに示すようなクロ
ツクパルスが入力され、かつ入力端子12に、クロック
パルス数の制御信号が入力される。すると、アンド回路
13の出力が2個のフリツプフロツプ回路14,15に
クロツク信号として加えられ、第2図b,c,d,eに
示すようなそれぞれのフリツプフロツプ回路14,15
のQおよびQ出力がそれぞれA相、B相、C相およびD
相の出力となって出力する。これらの出力が90度ずつ
移相したパルスとなるように、A,C,8,Dの順に並
べ換えてステップモータの各相のソレノィドヘバツフア
を通して順次反時計方向に供給する。すると、1ステッ
プで15度ずつ時計方向にステップ回転し、クロックパ
ルス数により所定位層に停止する。このような従釆の方
法のままでは、時計回りから反時計回りに方向転換する
のが不可能であり、したがって、反時計回りも制御した
いときには、別個に外部制御回路を要し、しかもこの別
個の外部制御回路では方向転換の操作が面倒で、かつ高
価になるという欠点があった。That is, a clock pulse as shown in FIG. 2a is input to the input terminal 11, and a control signal for the number of clock pulses is input to the input terminal 12. Then, the output of the AND circuit 13 is applied as a clock signal to the two flip-flop circuits 14 and 15, and the respective flip-flop circuits 14 and 15 as shown in FIG.
Q and Q outputs of A phase, B phase, C phase and D
It is output as a phase output. These outputs are rearranged in the order of A, C, 8, and D so that the pulses are phase-shifted by 90 degrees, and are sequentially supplied counterclockwise through the solenoid buffers of each phase of the step motor. Then, it rotates clockwise by 15 degrees per step, and stops at a predetermined layer depending on the number of clock pulses. With this follow-up method, it is impossible to change direction from clockwise to counterclockwise. Therefore, if you want to control counterclockwise as well, a separate external control circuit is required, and this separate The external control circuit had the disadvantage that direction changing operations were troublesome and expensive.
本発明は、このような従来の欠点を解決するためになさ
れたもので、レジスタを用い、このレジスタの出力ボー
トに、各相に対応してある初期値を入力するとともに、
一方向にシフトしたときには一方向に回転し、逆回転す
るときにはある相を1つおいた他の相と交換することに
よってステップモータの各相と各ステップ位置との関係
が正方向とは反対方向にシフトするようにした駆動方法
およびその回路に関するものである。The present invention has been made to solve these conventional drawbacks, and uses a register to input a certain initial value to the output port of this register corresponding to each phase.
When shifted in one direction, it rotates in one direction, and when it rotates in the opposite direction, one phase is replaced with another, so that the relationship between each phase of the step motor and each step position is in the opposite direction from the forward direction. The present invention relates to a driving method and a circuit thereof in which a shift is made to a driving method.
すなわち、第1図に示す回路では、各相(A,B,Cお
よびD相)とステップ位置(1,0,m,W)との関係
は、第2図からも明らかなように、第1表のようになる
。第1表
また、これは90度ずつ移相したパルスとなるように並
べ換えると、第2表のように書換えることができる。That is, in the circuit shown in FIG. 1, the relationship between each phase (A, B, C, and D phase) and the step position (1, 0, m, W) is as shown in FIG. It will look like Table 1. Table 1 If this is rearranged so that the pulses are phase-shifted by 90 degrees, it can be rewritten as shown in Table 2.
第2表
第2表からわかることは、1ステップの時計回りをさせ
ようとするときは、例えば初期位置として「0011」
すなわち「3」をレジスタに設定し、1回の左シフトを
すればよい。Table 2 It can be seen from Table 2 that when trying to rotate one step clockwise, for example, the initial position is "0011".
That is, it is sufficient to set "3" in the register and perform one left shift.
この左シフトを順次操返えすと、モータは時計方向に回
転する。逆に1ステップの反時計回りをさせようとする
ときは、初期位置として同じ「0011」すなわち「3
」をレジスタに設定し、第2表のかっこ書きのように例
えばA相と1つおいたB相を適当な手段で交換し、1回
の左シフトをすればよい。この左シフトを順次糠返えす
と、モータは反時計方向に回転する。以上のことから、
レジスタと反転信号さえあれば回転方向が制御可能とな
る。以下、本発明の一実施例を図面について説明する。When this left shift is repeated one after another, the motor rotates clockwise. Conversely, if you want to rotate one step counterclockwise, set the same initial position as "0011" or "3".
'' in the register, and as shown in parentheses in Table 2, for example, phase A and one phase B are exchanged by appropriate means, and a single left shift is performed. When this left shift is reversed one after another, the motor rotates counterclockwise. From the above,
The direction of rotation can be controlled with just a register and an inversion signal. An embodiment of the present invention will be described below with reference to the drawings.
第3図において、ステップモータ20は、4極で1回転
が24ステップ、1ステップが15度の回転をするもの
を例として説明する。21はアキュムレータ等のレジス
タで、ステップモータ20が4相であるから4ビットの
倍数の記憶容量をもっている。In FIG. 3, the step motor 20 will be described as an example of a four-pole motor that rotates 24 steps per rotation and 15 degrees per step. 21 is a register such as an accumulator, and since the step motor 20 has four phases, it has a storage capacity that is a multiple of 4 bits.
22はシフト制御回路で、レジスタ21のシフト方向を
制御する。22 is a shift control circuit that controls the shift direction of the register 21;
0,1,2,3は出力ボートで、これらのうち2つの出
力ボート0と1つおいた2には直接ドライバ23,25
が接続され、他の2つの出力ボート1,3には相互の出
力を交換する回路27,28を介してドライバ24,2
6が接続されている。0, 1, 2, and 3 are output ports, and among these, two output ports 0 and one 2 have direct drivers 23 and 25.
is connected to the other two output ports 1 and 3 via circuits 27 and 28 that exchange outputs with each other.
6 is connected.
この交換回路27,28は、それぞれ2個のァンド回路
29,30,31,32と1個のオア回路33,34か
らなり、かつ反転信号端子35がそれぞれ一方のアンド
回路29,32には直結され、他方のアンド回路30,
31にはィンバータ36を介して接続されている。すな
わち、出力ボート1はそれぞれアンド回路29,31の
一方の入力側に接続され、出力ボート3はアンド回路3
0,32の一方の入力側に接続され、反転信号端子35
はアンド回路29,32に接続され、ィンバータ36は
アンド回路30,31に接続され、また前記アンド回路
29,30の出力側はそれぞれオア回路33を介してド
ライバ24に接続され、アンド回路31,32の出力側
はそれぞれオア回路34を介してドライバ26に接続さ
れている。前記ドライバ23,24,25,26は、そ
れぞれバッファ(図示せず)を介して4極ステップモ−
夕20のD相、A相、C相およびB相の順にそれぞれ接
続されている。このときの接続順序がA,B,C,Dで
はなく、D,A,C,Bであるのは、それぞれのパルス
が90度移相した状態で順次相隣る相へ出力せしめるた
めに並べ換えたことによる。つぎに本発明の作用を説明
する。The exchange circuits 27, 28 each consist of two AND circuits 29, 30, 31, 32 and one OR circuit 33, 34, and each inverting signal terminal 35 is directly connected to one AND circuit 29, 32. and the other AND circuit 30,
31 via an inverter 36. That is, output port 1 is connected to one input side of AND circuits 29 and 31, and output port 3 is connected to one input side of AND circuit 31.
0, 32, and the inverted signal terminal 35
are connected to the AND circuits 29, 32, the inverter 36 is connected to the AND circuits 30, 31, and the output sides of the AND circuits 29, 30 are connected to the driver 24 via the OR circuit 33, respectively. The output sides of 32 are each connected to the driver 26 via an OR circuit 34. The drivers 23, 24, 25, and 26 are connected to four-pole step motors via buffers (not shown), respectively.
The D-phase, A-phase, C-phase, and B-phase of 20 are connected in this order, respectively. The reason why the connection order at this time is D, A, C, B instead of A, B, C, D is because each pulse is rearranged so that it is sequentially output to the adjacent phase with a 90 degree phase shift. It depends on what happened. Next, the operation of the present invention will be explained.
まずレジスタ21に、正逆に拘らず初期値として例えば
「0011」すなわち「3」を設定する。First, the register 21 is set to, for example, "0011" or "3" as an initial value regardless of whether it is forward or backward.
すると、出力ボート3,2,1,川こ「0011」が読
出される。ここで、時計方向に回転するとき反転信号端
子35が「1」であるから、この「1」が出力ポートー
,3に接続されたアンド回路29,32の一方の入力側
に入力し、交換回路27,28からは、出力ボート1,
3の信号がそのまま送り出され、ドライバ26,25,
24,23の出力は第5図aのステップ「1」のように
「0011」となり、この信号でステップモータ20の
B,C,A,D相のうち、A,D相のソレノィドが励磁
されてセット状態となる。第6図のt時間経過後、レジ
スタ21を左シフトする。Then, output boats 3, 2, 1, and ``0011'' are read out. Here, since the inversion signal terminal 35 is "1" when rotating clockwise, this "1" is input to one input side of the AND circuits 29, 32 connected to the output ports -, 3, and the exchange circuit From 27 and 28, output boat 1,
The signal of 3 is sent out as it is, and the driver 26, 25,
The outputs of 24 and 23 become ``0011'' like step ``1'' in Figure 5a, and this signal energizes the A and D phase solenoids of the B, C, A, and D phases of the step motor 20. and enters the set state. After time t in FIG. 6 has elapsed, the register 21 is shifted to the left.
すると、出力ボート3,2,1,0の出力がステップ「
n」の「0110」となり、この出力がそのままドライ
バ26,25,24,23へ送られてC,A相が励磁さ
れる。以後、t時間毎に左シフトを3回実行すると、ス
テップ「m」「W」「1」と変化し、1/6回転して元
の状態に戻る。つぎに、反時計回りとするときは、反転
信号端子35に「OJ信号を送ると、出力ボート3,2
,1,0の出力のうち、A相とB相が交換回路27,2
8で交換され、第5図bのステップ「W」のように「1
001」となり、この状態で左シフトするとステップ「
W」「m」「0」「1」rW」・・・・・・と変化し、
綬次反騰計方向に回転する。Then, the outputs of output boats 3, 2, 1, and 0 become step “
This output is sent as is to the drivers 26, 25, 24, and 23, and the C and A phases are excited. Thereafter, when the left shift is performed three times every t time, the steps change to "m", "W", and "1", and the step returns to the original state by turning 1/6. Next, when rotating counterclockwise, when the OJ signal is sent to the inverted signal terminal 35, output ports 3 and 2
, 1, 0, the A phase and B phase are switched to switching circuits 27, 2.
8, as in step ``W'' in Figure 5b.
001", and if you shift left in this state, step "
W”, “m”, “0”, “1” rW”...
Rotates in the direction of the arrowhead.
その作用は時計回りと略同機である。なお、反転信号端
子35に、「1」「0」、を一定時間毎に交互に入力す
ると、ステップモータ20は正逆交互に回転する。Its action is almost the same as clockwise. Note that when "1" and "0" are alternately input to the inversion signal terminal 35 at regular intervals, the step motor 20 rotates in forward and reverse directions alternately.
例えば正方向にn回転し、その後逆方向にm回転するな
どの作用が容易となる。前記実施例では、アキュムレー
タからなるレジスタを4ビット容量としたが、■ビット
(n=1,2,・・・)としてもよく、この場合、上、
下各4ビット毎に同じ初期値を設定すればよい。For example, it becomes easy to perform n rotations in the forward direction and then m rotations in the reverse direction. In the above embodiment, the register consisting of the accumulator has a 4-bit capacity, but it may also have a capacity of ■ bits (n=1, 2, . . . ).
The same initial value may be set for each of the lower four bits.
また、ステップモータは4相に限られず4n相(n=1
,2,…)であってもよい。本発明は上述のような方法
および回路としたので、時計回りと反時計回りの方向転
換が簡易に行なえ、その具体的構造もレジスタと交換回
路としての簡単な論理回路だけであり、したがって実装
が簡単で安価に提供できる。In addition, the step motor is not limited to 4-phase, but 4n-phase (n=1
, 2,...). Since the present invention employs the method and circuit as described above, the direction can be easily changed between clockwise and counterclockwise, and its concrete structure is only a register and a simple logic circuit as a switching circuit, so it is easy to implement. It can be provided easily and inexpensively.
特にトラクターフィード袋鷹を具備したプリンター等ス
テップモータを使用した装置に用いると極めてすぐれた
効果を有する。Particularly, when used in devices using a step motor, such as a printer equipped with a tractor feed bag hawk, it has an extremely excellent effect.
第1図は従来のステップモータ駆動回路のブロック図、
第2図は各部の波形図、第3図は、本発明による駆動方
法を実現するためのブロック図、第4図はフローチャー
ト、第5図a,bは正回転時と逆回転時のレジスタの出
力ボートの説明図、第6図a,b,c,dは各相の出力
波形図である。
11・・・・・・クロツクパルス入力端子、12・・…
・パルス数制御信号入力端子、13・・・・・・アンド
ゲート、14,15・・・・・・フリツプフロツプ回路
、20……ステップモータ、21……レジスタ、22…
・・・シフト制御回路、0,1,2,3…・・・出力ボ
ート、23,24,25,26……ドライバ、27,2
8・・・・・・交換回路、29,30,31,32・・
・・・・アンド回路、33,34・・・・・・オア回路
、35・・・・・・反転信号端子、36・・・・・・ィ
ンバータ。
第6図第1図
第2図
第3図
第4図
第5図Figure 1 is a block diagram of a conventional step motor drive circuit.
Figure 2 is a waveform diagram of each part, Figure 3 is a block diagram for realizing the driving method according to the present invention, Figure 4 is a flowchart, and Figures 5a and b are registers for forward rotation and reverse rotation. An explanatory diagram of the output boat, FIGS. 6a, b, c, and d are output waveform diagrams of each phase. 11... Clock pulse input terminal, 12...
・Pulse number control signal input terminal, 13...AND gate, 14, 15...Flip-flop circuit, 20...Step motor, 21...Register, 22...
...Shift control circuit, 0,1,2,3...Output port, 23,24,25,26...Driver, 27,2
8... Exchange circuit, 29, 30, 31, 32...
...AND circuit, 33, 34...OR circuit, 35...inverted signal terminal, 36...inverter. Figure 6 Figure 1 Figure 2 Figure 3 Figure 4 Figure 5
Claims (1)
は正の整数)ビツトのレジスタに初期値を設定し、この
レジスタの各ビツト毎のパルス出力を出力ポートに並列
に読出し、正回転のときは出力ポートを一方から順次読
出して各相に加え、逆回転のときは出力ポートのうちあ
る相と、この相以外の他の相とを交換した状態で一方か
ら順次読出して各相に加えて回転方向を正逆反転するよ
うにしたステツプモータの駆動方法。 2 90度ずつ移相したパルスを順次出力するステツプ
モータの相数の倍数の記憶容量をもつレジスタと、 該
レジスタをステツプモータのステツプ回転毎にシフト制
御回路と、 該レジスタに結合されステツプモータの相
数と同一数で、レジスタの各ビツト毎の出力を並列に読
出すための出力ポートと、 該出力ポートのうちある出
力ポートと1つおいた他の出力ポートに接続され逆回転
のときある相と他の相との出力を交換する交換回路と、
該出力ポートのうちの残りの出力ポートと該交換回路
とに結合されステツプモータのソレノイドを励磁するド
ライバと を具備してなるステツプモータの駆動回路。 3 特許請求の範囲第2項記載において、交換回路は、
ある出力ポートと1つおいた他の出力ポートとをそれぞ
れ別個のアンド回路に結合するとともに、これらのアン
ド回路のうちの一方に反転信号端子を直結し、他方に反
転信号端子をインバータを介して結合し、これらのアン
ド回路の出力側にオア回路を結合してなり、このオア回
路をドライバに結合するようにしたステツプモータの駆
動回路。[Claims] 1 4n (n
is a positive integer), set the initial value in the bit register, read the pulse output for each bit of this register in parallel to the output port, and when rotating in the forward direction, read the output port sequentially from one side and add it to each phase. When rotating in reverse, one phase of the output port is exchanged with another phase other than this phase, and one phase is read out sequentially from the other, and each phase is added to drive the step motor in such a way that the direction of rotation is reversed. Method. 2. A register having a storage capacity that is a multiple of the number of phases of a step motor that sequentially outputs pulses shifted in phase by 90 degrees, a control circuit that shifts the register for each step rotation of the step motor, and a control circuit that is coupled to the register and that controls the number of steps of the step motor. The number of output ports is the same as the number of phases, and there is an output port for reading the output of each bit of the register in parallel, and an output port that is connected to one output port and one other output port when rotating in the opposite direction. an exchange circuit for exchanging the output of one phase with another phase;
A step motor drive circuit comprising: a driver coupled to the remaining output ports of the output ports and the exchange circuit for exciting a solenoid of the step motor. 3 In claim 2, the switching circuit is
A certain output port and one other output port are coupled to separate AND circuits, and an inverted signal terminal is directly connected to one of these AND circuits, and an inverted signal terminal is connected to the other through an inverter. This is a step motor drive circuit in which an OR circuit is connected to the output side of these AND circuits, and this OR circuit is connected to a driver.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP55035598A JPS6011557B2 (en) | 1980-03-19 | 1980-03-19 | Step motor driving method and its driving circuit |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP55035598A JPS6011557B2 (en) | 1980-03-19 | 1980-03-19 | Step motor driving method and its driving circuit |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS56132197A JPS56132197A (en) | 1981-10-16 |
| JPS6011557B2 true JPS6011557B2 (en) | 1985-03-26 |
Family
ID=12446242
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP55035598A Expired JPS6011557B2 (en) | 1980-03-19 | 1980-03-19 | Step motor driving method and its driving circuit |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPS6011557B2 (en) |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP4742082B2 (en) * | 2007-09-03 | 2011-08-10 | 五洋建設株式会社 | Method for charging mound forming material |
Family Cites Families (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS5436726Y2 (en) * | 1975-03-20 | 1979-11-06 | ||
| JPS5520527A (en) * | 1978-07-31 | 1980-02-14 | Ricoh Co Ltd | Variable value control system |
-
1980
- 1980-03-19 JP JP55035598A patent/JPS6011557B2/en not_active Expired
Also Published As
| Publication number | Publication date |
|---|---|
| JPS56132197A (en) | 1981-10-16 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US4270074A (en) | Brushless DC motor control utilizing a ROM | |
| JPH031920B2 (en) | ||
| US3986094A (en) | Logic system for print ball tilt control | |
| JPS6011557B2 (en) | Step motor driving method and its driving circuit | |
| US4703244A (en) | Pulse motor control apparatus | |
| JPS6011558B2 (en) | How to drive a step motor | |
| US6124696A (en) | Programmable stepper motor controller and method therefor | |
| JPS603679Y2 (en) | 4-phase pulse motor drive control circuit | |
| SU1474822A1 (en) | Pulse distributor for controlling four-phase stepping motor | |
| JPS60113695A (en) | Drive circuit for pulse motor | |
| JPH0898596A (en) | Stepping motor controller | |
| JPS6316320Y2 (en) | ||
| JPH0477559B2 (en) | ||
| GB2083303A (en) | Stepper motors | |
| JPS6281995A (en) | Drive control system of pulse motor | |
| SU1767688A1 (en) | Gate electric drive | |
| JP2546370Y2 (en) | 1-2-phase excitation drive circuit for 2-phase stepping motor | |
| CA1101927A (en) | Shift register for controlling the energization of a multiwinding motor | |
| SU1432719A1 (en) | Four-cycle reversible pulse distributor for stepping motor control | |
| SU1083321A1 (en) | Device for multimode control of m-phase step motor | |
| JPS6115596A (en) | Stepping motor drive device | |
| KR880003316Y1 (en) | Arrangement for starting stepping motor | |
| SU476651A1 (en) | Device to control four phase stepper motor | |
| KR930000260B1 (en) | Multi-motor control circuit | |
| SU1495976A1 (en) | Reversible pulse distributor for stepping motor control |