JPH0348755B2 - - Google Patents

Info

Publication number
JPH0348755B2
JPH0348755B2 JP58171891A JP17189183A JPH0348755B2 JP H0348755 B2 JPH0348755 B2 JP H0348755B2 JP 58171891 A JP58171891 A JP 58171891A JP 17189183 A JP17189183 A JP 17189183A JP H0348755 B2 JPH0348755 B2 JP H0348755B2
Authority
JP
Japan
Prior art keywords
phase excitation
carriage
mover
motor
movable element
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
JP58171891A
Other languages
Japanese (ja)
Other versions
JPS6066693A (en
Inventor
Yasuhiro Hayashi
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.)
Brother Industries Ltd
Original Assignee
Brother Industries 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 Brother Industries Ltd filed Critical Brother Industries Ltd
Priority to JP17189183A priority Critical patent/JPS6066693A/en
Publication of JPS6066693A publication Critical patent/JPS6066693A/en
Publication of JPH0348755B2 publication Critical patent/JPH0348755B2/ja
Granted legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02PCONTROL OR REGULATION OF ELECTRIC MOTORS, ELECTRIC GENERATORS OR DYNAMO-ELECTRIC CONVERTERS; CONTROLLING TRANSFORMERS, REACTORS OR CHOKE COILS
    • H02P8/00Arrangements for controlling dynamo-electric motors rotating step by step
    • H02P8/24Arrangements for stopping
    • H02P8/26Memorising final pulse when stopping

Landscapes

  • Engineering & Computer Science (AREA)
  • Power Engineering (AREA)
  • Control Of Stepping Motors (AREA)

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は1相励磁及び2相励磁を併用して可動
子を目的位置まで移行して停止させるステツプモ
ータの制御装置に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a step motor control device that uses both one-phase excitation and two-phase excitation to move a mover to a target position and then stop it.

〔従来技術〕[Prior art]

ステツプモータの可動子の最小移行距離は一般
にモータ自身の機械的精度により制限される。従
つて、高精度な移行を必要とする場合は、極歯の
数を多くした高精度なモータや、ハイブリツド
PM形モータ等のようにステツプ角が小さいモー
タを使用したり、また、1−2相励磁によるモー
タの制御を行なつたりして最小移行距離を縮めて
いた。
The minimum travel distance of a step motor's armature is generally limited by the mechanical accuracy of the motor itself. Therefore, if high-precision transition is required, use a high-precision motor with a large number of pole teeth or a hybrid motor.
The minimum travel distance has been reduced by using a motor with a small step angle, such as a PM type motor, or by controlling the motor by 1-2 phase excitation.

しかし、高精度なモータやハイブリツドPM形
モータ等は高価である。1−2相励磁による制御
において、可動子を1相励磁の位置に停止させる
場合、1相励磁は2相励磁に比べて励磁に基く可
動子を移動させる力、あるいは可動子を停止位置
に保持する力が弱いため、連続的な移動により生
じた可動子の慣性により停止位置を中心とした比
較的大きな可動子の振動運動が生ずる。そしてこ
の振動運動は励磁力及び機械的な摩擦力により減
衰し、停止されるが、ここでも初期の慣性力の大
きさに応じて停止位置が変動し、目標とする停止
位置に正確に位置付けることができず、停止位置
のばらつきが大きく、可動子の高精度な移行のた
めには非常に不都合であつた。
However, high-precision motors and hybrid PM type motors are expensive. In control using 1-2 phase excitation, when stopping the mover at the 1-phase excitation position, 1-phase excitation requires a greater force to move the mover based on excitation than 2-phase excitation, or to hold the mover at the stopped position. Since the force acting on the movable member is weak, the inertia of the movable member caused by continuous movement causes a relatively large oscillatory movement of the mover about the stop position. This oscillating motion is then damped and stopped by the excitation force and mechanical frictional force, but here too the stopping position changes depending on the initial magnitude of the inertial force, and it is difficult to accurately locate the target stopping position. This is extremely inconvenient for highly accurate movement of the movable element, with large variations in the stopping position.

〔発明の目的〕[Purpose of the invention]

本発明の目的は上記従来の難点を除去し、簡潔
な構成でコストを上げずに高精度な移行を可能と
するステツプモータの制御装置を提供しようとす
るにある。
SUMMARY OF THE INVENTION An object of the present invention is to provide a step motor control device which eliminates the above-mentioned conventional difficulties and enables highly accurate shifting with a simple configuration and without increasing costs.

〔実施例の構成〕[Configuration of Example]

以下、第1図を参照して本発明をプリンタのキ
ヤリツジ用ステツプモータに応用した一実施例の
構成を説明する。
Hereinafter, with reference to FIG. 1, the structure of an embodiment in which the present invention is applied to a step motor for a carriage of a printer will be described.

同図において、コンピユータ1等の外部ホスト
機器はプリンタ2内の中央処理装置(以下CPU
と称す)3に接続されている。また、活字ホイー
ル及び印字ハンマが載置されたキヤリツジ4はリ
ニア型のキヤリツジ用ステツプモータ5の可動子
に装着されており、キヤリツジ用ステツプモータ
5はモータ駆動回路6を介してCPU3に接続さ
れている。更に、キヤリツジ用ステツプモータ5
にはCPU3に接続された位置検出装置7が装着
されている。この位置検出装置7は、キヤリツジ
用ステツプモータ5の可動子の移行、すなわちキ
ヤリツジ4の移行に伴なつて発光素子である発光
ダイオードと受光素子であるフオトトランジスタ
とが移行できるように固定子に固定された複数の
スリツトを挾んでキヤリツジに装着されている。
そして、発光ダイオードから発せられた光はキヤ
リツジ用ステツプモータ5の固定子と共に固定さ
れている複数のスリツトを介して発光ダイオード
とは反対側に装着されている受光素子のフオトト
ランジスタで受光される。そして、このフオトト
ランジスタからの出力信号がCPU3に送られる
ような構成となつている。また、各処理のプログ
ラムが記憶されているROM(読み出し専用メモ
リ)8、コンピユータ1から入力されたデータが
一旦書き込まれるラインバツフア9a、キヤリツ
ジの移行量が記憶される移行バツフア9b及び2
相励磁の位置で停止した後再び1相励磁の位置ま
で進む場合に1がセツトされる補助移行バツフア
9c等としてはたらくワーキング用としての
RAM(書き込み読み出し可能なメモリ)9は
CPU3に接続されている。
In the figure, the external host device such as computer 1 is the central processing unit (hereinafter referred to as CPU) in printer 2.
(referred to as ) 3. Further, the carriage 4 on which the type wheel and the printing hammer are mounted is attached to the movable element of a linear type carriage step motor 5, and the carriage step motor 5 is connected to the CPU 3 via a motor drive circuit 6. There is. Furthermore, a carriage step motor 5
A position detection device 7 connected to the CPU 3 is attached to the . This position detection device 7 is fixed to a stator so that a light emitting diode as a light emitting element and a phototransistor as a light receiving element can be moved as the movable element of the carriage step motor 5 moves, that is, as the carriage 4 moves. It is attached to the carriage with multiple slits in between.
The light emitted from the light emitting diode is received by a phototransistor of a light receiving element mounted on the opposite side of the light emitting diode through a plurality of slits fixed together with the stator of the carriage step motor 5. The configuration is such that an output signal from this phototransistor is sent to the CPU 3. Additionally, there is a ROM (read-only memory) 8 in which programs for each process are stored, a line buffer 9a in which data input from the computer 1 is temporarily written, and transfer buffers 9b and 2 in which the amount of carriage transfer is stored.
A working buffer that functions as an auxiliary transition buffer 9c, etc., which is set to 1 when the motor stops at the phase excitation position and then advances to the one-phase excitation position again.
RAM (readable and writable memory) 9 is
Connected to CPU3.

〔実施例の動作〕[Operation of the embodiment]

上記構成において、次にその動作を第1図及び
第2図を参照して説明する。
The operation of the above configuration will now be described with reference to FIGS. 1 and 2.

コンピユータ1から入力されたデータは、ま
ず、一旦RAM9のラインバツフア9aに書き込
まれ、入力された順にこれらのデータに基づいて
印字、紙送り及びリボン送り等の処理が実行され
る。そして、ラインバツフアにおいて既に処理さ
れたデータが書き込まれていた番地にはコンピユ
ータ1からの次の新しいデータが再び書き込まれ
て行き、前述と同様にして順次処理されて行く。
The data input from the computer 1 is first written into the line buffer 9a of the RAM 9, and processes such as printing, paper feeding, ribbon feeding, etc. are executed based on these data in the order in which they were input. Then, the next new data from the computer 1 is written again to the address where the already processed data has been written in the line buffer, and is sequentially processed in the same manner as described above.

次に、コンピユータ1より入力されたデータに
基づくキヤリツジの移行について第2図を参照し
て詳しく説明する。
Next, carriage migration based on data input from the computer 1 will be explained in detail with reference to FIG.

ラインバツフア9aに書き込まれている次に処
理するデータがキヤリツジ移行データである場合
は、まず、ステツプ21にてデータに基づいたキヤ
リツジ4の移行量に対応した値、すなわちキヤリ
ツジ用ステツプモータ5の可動子の移行量を
RAM9の移行バツフア9bへ書き込み、補助移
行バツフア9cをクリアする。次にステツプ22へ
進み、前記移行量が3キヤラクタに対応する移行
量より大であるか否かの判断を行なう。ここで、
大でない場合はステツプ23へ行き、1−2相励磁
の制御によりキヤリツジ用ステツプモータを駆動
して目的とする最終的な停止位置までキヤリツジ
の移行を行ない、次にステツプ30へ進む。一方、
ステツプ22において可動子の移行量が3キヤラク
タに対応する移行量より大である場合は次のステ
ツプ24へ進み、目的とする最終的な停止位置が1
相励磁の位置であるか否かの判断を行なう。ここ
で、1相励磁の位置である場合は次のステツプ25
へ進み、移行バツフア9bの値から1を減算す
る。次にステツプ26へ進み、補助移行バツフア9
cへ1を書き込む。次にステツプ27へ進み、移行
バツフア9bの値だけ可動子を移行してキヤリツ
ジ4の移行を行なう。次にステツプ28へ進み、移
行バツフア9bの値に基づいたキヤリツジ4の移
行が終了したところで停止する。すなわち、キヤ
リツジ用ステツプモータ5の可動子は最終的な目
的位置が1相励磁の位置である場合はその1つ手
前の2相励磁の位置で一旦停止する。次にステツ
プ29へ進み、補助バツフア9cの値だけ、すなわ
ち、可動子は1ステツプだけ先へ進み、最終的な
目的位置である1相励磁の位置に達し、次のステ
ツプ30へ進む。一方、ステツプ24において目的と
する最終的な停止位置が2相励磁の位置である場
合はステツプ23へ行き、可動子は移行バツフア9
bの値だけ、すなわち、最終的な停止位置まで連
続して移行し、ステツプ30へ進む。ステツプ30で
は、最終的な停止位置まで達したキヤリツジ用ス
テツプモータ5の可動子を、停止位置が1相励磁
の位置である場合には1相励磁により、2相励磁
の位置である場合には2相励磁により停止させ、
その位置に保持する。これにより、可動子に装着
され可動子と共に移行するキヤリツジ4も目的と
する停止位置に保持されたことになる。
If the next data to be processed written in the line buffer 9a is carriage transfer data, first, in step 21, a value corresponding to the amount of transfer of the carriage 4 based on the data, that is, the movable part of the carriage step motor 5 is The amount of migration of
Write to the migration buffer 9b of RAM 9 and clear the auxiliary migration buffer 9c. Next, the process proceeds to step 22, where it is determined whether the amount of transfer is greater than the amount of transfer corresponding to the three characters. here,
If not, the process goes to step 23, where the carriage step motor is driven by 1-2 phase excitation control to move the carriage to the desired final stop position, and then the process goes to step 30. on the other hand,
In step 22, if the amount of movement of the mover is greater than the amount of movement corresponding to the three characters, the process proceeds to the next step 24, and the desired final stop position is 1.
It is determined whether or not the position is for phase excitation. Here, if the position is one-phase excitation, proceed to the next step 25.
Then, 1 is subtracted from the value of the transfer buffer 9b. Next, proceed to step 26 and complete the auxiliary transition buffer 9.
Write 1 to c. Next, the process proceeds to step 27, in which the mover is moved by the value of the transfer buffer 9b, and the carriage 4 is transferred. Next, the process proceeds to step 28, and stops when the transfer of the carriage 4 based on the value of the transfer buffer 9b is completed. That is, when the final target position is the one-phase excitation position, the movable element of the carriage step motor 5 temporarily stops at the two-phase excitation position one position before the final target position. Next, the process advances to step 29, where the mover advances by the value of the auxiliary buffer 9c, that is, by one step, and reaches the final target position, ie, the one-phase excitation position, before proceeding to the next step 30. On the other hand, if the desired final stop position is the two-phase excitation position in step 24, the process goes to step 23, and the mover moves to the transition buffer 9.
The process moves continuously by the value of b, that is, to the final stop position, and then proceeds to step 30. In step 30, the mover of the carriage step motor 5 that has reached the final stop position is energized by 1-phase excitation if the stop position is a 1-phase excitation position, or by 1-phase excitation if the stop position is a 2-phase excitation position. Stopped by two-phase excitation,
Hold it in that position. As a result, the carriage 4, which is attached to the movable element and moves together with the movable element, is also held at the intended stop position.

また、位置検出装置7によりキヤリツジ用ステ
ツプモータ5の現在位置をチエツクしながらキヤ
リツジ4の移行を行なつているため、脱調を防止
できる。
Further, since the carriage 4 is moved while checking the current position of the carriage step motor 5 using the position detection device 7, step-out can be prevented.

尚、上記実施例においては、目的とする最終的
な停止位置が1相励磁の位置であつても、移行量
が3キヤラクタまでの場合は、1つ手前の2相励
磁の位置で一旦停止せずに最終的な停止位置であ
る1相励磁の位置まで連続して移行しているが、
第2図ステツプ22の判断を省いて、常に、2相励
磁の位置で停止してから必要に応じて次の1相励
磁の位置まで移行するような制御を行なつても何
ら支障はない。
In the above embodiment, even if the desired final stop position is the 1-phase excitation position, if the amount of transition is up to 3 characters, the motor must be temporarily stopped at the 2-phase excitation position one position before. The motor continuously moves to the final stop position of 1-phase excitation, but
There is no problem in omitting the judgment at step 22 in FIG. 2 and performing control such that the motor always stops at the two-phase excitation position and then moves to the next one-phase excitation position as needed.

また、上記実施例は本発明をプリンタ2のキヤ
リツジ用ステツプモータ5に応用したものである
ため、リニアステツプモータについて述べている
が、同様な制御装置により可動子が回転する円形
のステツプモータを制御することは可能である。
Furthermore, since the above embodiment applies the present invention to the carriage step motor 5 of the printer 2, a linear step motor is described, but a circular step motor in which a movable member rotates can be controlled by a similar control device. It is possible to do so.

〔発明の効果〕〔Effect of the invention〕

以上に詳述した通り、本発明に係るステツプモ
ータの制御装置は、可動子を1相励磁の位置でも
2相励磁の位置でも停止させることができるた
め、最小移行距離を短く設定することが可能であ
る。また、2相励磁に比べて励磁に基く可動子が
移動する力が弱い1相励磁の位置へ停止させる場
合には、その1つ手前の2相励磁の位置で可動子
を一端停止させることにより、その時点までの連
続的な移動による可動子の慣性力を消滅させ、そ
の後、改めて1相励磁を行い、可動子を1ステツ
プ移行させることにより本来の目的位置である1
相励磁の位置へ可動子の移動量に拘らず常に同じ
条件で正確に停止できる。従つて、特に新たな装
置を設けることなく容易に可動子の高精度な移行
を行なうことができる。
As detailed above, the step motor control device according to the present invention can stop the mover in either the 1-phase excitation position or the 2-phase excitation position, so it is possible to set the minimum transition distance short. It is. In addition, when stopping the mover at a one-phase excitation position where the force to move the mover based on excitation is weaker than in two-phase excitation, it is possible to temporarily stop the mover at the two-phase excitation position one position before it. , the inertial force of the mover due to the continuous movement up to that point disappears, and then one-phase excitation is performed again to move the mover one step to reach the original target position 1.
Regardless of the amount of movement of the mover to the phase excitation position, it can always be accurately stopped under the same conditions. Therefore, the movable element can be easily moved with high precision without particularly providing a new device.

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

第1図は本発明の一実施例を示したブロツク
図、第2図はそのフローチヤートである。 図中、3は中央処理装置、5はキヤリツジ用ス
テツプモータ、6はモータ駆動回路、8は
ROM、9はRAM、9aはラインバツフア、9
bは移行バツフア、9cは補助移行バツフアであ
る。
FIG. 1 is a block diagram showing one embodiment of the present invention, and FIG. 2 is a flowchart thereof. In the figure, 3 is a central processing unit, 5 is a carriage step motor, 6 is a motor drive circuit, and 8 is a
ROM, 9 is RAM, 9a is line buffer, 9
b is a transfer buffer, and 9c is an auxiliary transfer buffer.

Claims (1)

【特許請求の範囲】 1 可動子を1相励磁、2相励磁を併用して目的
位置まで移行して停止させる1−2相励磁方式の
ステツプモータの制御装置において、 移行する前記可動子の目的位置が、1相励磁の
位置と2相励磁の位置のいずれであるかを判別す
る判別手段と、 前記判別手段が、前記可動子の目的位置が2相
励磁の位置であることを判別したとき、前記可動
子を目的位置まで連続して移行させる第1の制御
手段と、 前記判別手段が、前記可動子の目的位置が1相
励磁の位置であることを判別したとき、前記可動
子を移行して目的位置の直前の2相励磁の位置で
停止させる停止手段および当該停止手段の動作終
了後、前記可動子を目的位置まで移行する補助移
行手段を有する第2の制御手段とを備えたことを
特徴とするステツプモータの制御装置。
[Scope of Claims] 1. In a control device for a step motor using a 1-2 phase excitation method in which a mover is moved to a target position and stopped using both one-phase excitation and two-phase excitation, the purpose of the moving mover is: a determining means for determining whether the position is a one-phase excitation position or a two-phase excitation position; and when the determining means determines that the target position of the movable element is a two-phase excitation position. , first control means for continuously moving the movable element to a target position; and when the determining means determines that the target position of the movable element is a position of one-phase excitation, the movable element is moved. and second control means having an auxiliary transfer means for moving the movable element to the target position after the operation of the stop means is completed. A step motor control device characterized by:
JP17189183A 1983-09-17 1983-09-17 Controller of step motor Granted JPS6066693A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP17189183A JPS6066693A (en) 1983-09-17 1983-09-17 Controller of step motor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP17189183A JPS6066693A (en) 1983-09-17 1983-09-17 Controller of step motor

Publications (2)

Publication Number Publication Date
JPS6066693A JPS6066693A (en) 1985-04-16
JPH0348755B2 true JPH0348755B2 (en) 1991-07-25

Family

ID=15931717

Family Applications (1)

Application Number Title Priority Date Filing Date
JP17189183A Granted JPS6066693A (en) 1983-09-17 1983-09-17 Controller of step motor

Country Status (1)

Country Link
JP (1) JPS6066693A (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CH691017A5 (en) * 1996-10-15 2001-03-30 Olivetti Lexikon Spa A method of controlling a step-by-step motor and device for its implementation.
US8406101B2 (en) * 2008-11-21 2013-03-26 Mediatek Inc. Optical disk drive and method for driving a feeding device of an optical disk drive
JP5739468B2 (en) * 2013-03-22 2015-06-24 京楽産業.株式会社 Game machine

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS58109000A (en) * 1981-12-23 1983-06-29 Fujitsu Ltd Starting and stopping method for pulse motor

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS58109000A (en) * 1981-12-23 1983-06-29 Fujitsu Ltd Starting and stopping method for pulse motor

Also Published As

Publication number Publication date
JPS6066693A (en) 1985-04-16

Similar Documents

Publication Publication Date Title
JP3001612B2 (en) Operation control device of scanner galvanometer
JPH11129176A (en) Calibration method using sensor
JPH0348755B2 (en)
JPH06114761A (en) Vibration damping control method
US4688956A (en) Carriage feed control method for bold and shadow printing
JPH06114762A (en) Vibration damping control method
JP3246572B2 (en) Load constant measurement method for motor drive system
JPS6359796A (en) Origin return mechanism for pulse motor
JPH028908B2 (en)
JPS6083899A (en) X-y plotter
JPS59194699A (en) Stopping controller of stepping motor
JPS59149796A (en) Control system for stepping motor
JPS6221123B2 (en)
JP4610768B2 (en) Laser marking device
JPS6234210A (en) Detector for original point position
JPH0463784B2 (en)
JPS63108409A (en) Operation control mechanism and its method in nc machine tool
JP3393703B2 (en) Behavior measurement device for pulse train input
JPS6070997A (en) Phase controller
JPH01204112A (en) Speed controller
JP3013998B2 (en) Rotary axis zero return method in numerical controller
JPH09308297A (en) Positioning device of plane pulse motor
JP2004227303A (en) Pulse generating ic for motor control
JPH0446715B2 (en)
JPS5837915B2 (en) Carrier return operation control device in printer