JPH0614799B2 - Stepping motor stop control system - Google Patents

Stepping motor stop control system

Info

Publication number
JPH0614799B2
JPH0614799B2 JP57231975A JP23197582A JPH0614799B2 JP H0614799 B2 JPH0614799 B2 JP H0614799B2 JP 57231975 A JP57231975 A JP 57231975A JP 23197582 A JP23197582 A JP 23197582A JP H0614799 B2 JPH0614799 B2 JP H0614799B2
Authority
JP
Japan
Prior art keywords
phase
excitation
stepping motor
control unit
time
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
JP57231975A
Other languages
Japanese (ja)
Other versions
JPS59123495A (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.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP57231975A priority Critical patent/JPH0614799B2/en
Publication of JPS59123495A publication Critical patent/JPS59123495A/en
Publication of JPH0614799B2 publication Critical patent/JPH0614799B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime 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 of the kind having motors rotating step by step
    • H02P8/24Arrangements for stopping
    • H02P8/26Memorising final pulse when stopping

Description

【発明の詳細な説明】 発明の技術分野 本発明はステツピングモータ停止制御方式に係り,特に
ステツピングモータを高速でしかも精度よく所定位置に
停止できるようにしたものに関する。
Description: TECHNICAL FIELD The present invention relates to a stepping motor stop control system, and more particularly to a stepping motor which can be stopped at a predetermined position accurately at high speed.

従来技術と問題点 ステツピングモータは,例えばシリアルプリンタのプリ
ントホイール駆動や印字ヘツドキヤリアの駆動力源等と
して広く使用されているが,所定位置に正確に停止させ
ることが必要である。ステツピングモータを目的位置に
精度よく,しかも速やかに停止させる方法として,ス
テツピングモータを逆相励磁して停止位置付近で急速な
ブレーキをかける,ステツピングモータに摩擦負荷を
持たせる,活字裏面に突起を持ちハンマピンに溝をつ
けて活字を強制的に適正位置に持つてくる,という3つ
の方法が主として使用されている。
Conventional technology and problems Stepping motors are widely used, for example, as a drive for a print wheel of a serial printer or a driving force source for a print head carrier, but it is necessary to stop the motor accurately at a predetermined position. As a method of stopping the stepping motor at the target position accurately and quickly, reverse-phase excitation of the stepping motor is used to apply a rapid brake near the stop position, to give a friction load to the stepping motor, Three methods are mainly used: one that has a protrusion and one that has a groove on the hammer pin to forcefully hold the type in the proper position.

このの方法は,第1図に示すように,例えば4相のス
テツピングモータを2相励磁(あるいは1−2相励磁)
で駆動制御するとき,…DA−AB−BC−CD−DA
と励磁しているときに,停止位置付近において例えばD
Aの次に本来ならばABと励磁すべきときに逆にCD相
励磁を行つて制動力を発生させ印字ホイールのイナーシ
ヤが小さい為のハンチングを抑制し,停止させるように
したものである。この場合,第1図の実線に示す如き特
性を有するようにステツピングモータを製造すれば理想
通り所定の位置で停止させることができる。しかしこの
モータの製造時のバラツキや温度によるイナーシヤの変
化,電源電圧の変動のために逆相励磁を行つたときの速
度や位置が変動するため,その特性は第1図の点線や点
鎖線に示す状態となり,ハンチングが押えきれないとい
う問題がある。したがつてプリンタにおける印字ホイー
ル駆動用のステツピングモータのように摩擦の少ない負
荷を駆動するときにオーバシュートし易いという欠点が
ある。
In this method, as shown in FIG. 1, for example, a 4-phase stepping motor is excited by 2-phase excitation (or 1-2-phase excitation).
When the drive is controlled by ... DA-AB-BC-CD-DA
When excited with, for example, D near the stop position
When A should normally be excited after A, the CD phase excitation is performed in reverse to generate a braking force to suppress hunting because the inertia of the print wheel is small and to stop it. In this case, if the stepping motor is manufactured so as to have the characteristics shown by the solid line in FIG. 1, it can be stopped at a predetermined position as ideal. However, the speed and position of the reverse-phase excitation change due to variations in inertia and temperature fluctuations during manufacturing of this motor, and fluctuations in the power supply voltage. Therefore, the characteristics are shown in the dotted and dotted lines in Fig. 1. There is a problem that the hunting cannot be pressed down as shown. Therefore, there is a drawback that an overshoot is likely to occur when driving a load having a small friction such as a stepping motor for driving a print wheel in a printer.

また上記の方法は,例えば第2図に示すように,印字
ホイール1−Aを駆動するステツピングモータ1の回転
軸にデテント1−Bを設けてこれに常時摩擦力を付与す
るように構成されており,運転時にはこの摩擦力である
デテント不可分と印字ホイール1−Aの両方の負荷を駆
動できるだけの大きな力のモータが必要になるのみなら
ず,このデテント部材が摩耗すれば摩擦力も減少し,ま
たデナント部材に油が付着すると摩擦力が大幅に変わり
正常な停止動作を行うことができなかつた。そして上記
は活字がそのメーカ専用のもので汎用の活字が使えな
い欠点があつた。
Further, the above-mentioned method is constructed, for example, as shown in FIG. 2, in which a detent 1-B is provided on the rotary shaft of the stepping motor 1 for driving the print wheel 1-A and a frictional force is constantly applied to the detent 1-B. Therefore, not only is a motor with a large force sufficient to drive both the detent inseparable force, which is the frictional force, and the load of the print wheel 1-A during operation, but the frictional force also decreases if this detent member wears, Further, if oil adheres to the Danant member, the frictional force changes significantly and normal stop operation cannot be performed. And the above has the drawback that the type is only for the manufacturer and general type cannot be used.

発明の目的 本発明の目的は,このような問題を解決するために,特
別な摩擦部材を使用することなく,所定位置で正確に停
止できるようにするために,停止位置付近までは2相励
磁や1−2相励磁で効率よく移動させ,そして停止位置
付近で励磁電流を制御して,ステツピングモータが固有
にもつ相よりも順次細かなステツプ相を作り微細なステ
ツプ角で制御して停止するようにしたステツピングモー
タ停止制御方式を提供するものである。
OBJECT OF THE INVENTION The object of the present invention is to solve such a problem by using two-phase excitation up to the vicinity of the stop position in order to accurately stop at a predetermined position without using a special friction member. And 1-2 phase excitation to move efficiently, and control the exciting current near the stop position to make finer stepped phases than the phase unique to the stepping motor, and stop at a fine step angle. The present invention provides a stepping motor stop control system that is designed to do so.

発明の構成 この目的を達成するために本発明のステツピングモータ
停止制御方式では,ステッピングモータの駆動及び停止
動作を制御する主制御部と、このステッピングモータを
制御するための時間情報、制御情報等を格納する制御情
報格納部と、ステッピングモータの励磁相を切替える相
切替制御部と、ステッピングモータの励磁電流の大きさ
を制御する電流値制御部と、相切替時間に応じて動作す
るタイマを具備し、前記主制御部は、このステッピング
モータの停止制御に際し、先ず、大きなステップ角を生
ずる相励磁方式に基づいて、励磁相のその励磁電流を求
め、これらにより相切替制御部及び電流値制御部を制御
するとともに前記時間情報により前記タイマを動作さ
せ、前記タイマがタイムオーバする毎に次の励磁相とそ
の励磁電流を求め、これらにより相切替制御部及び電流
値制御部を制御して行き、それまでのステップ角以下の
移動量のオーバシュートになる状態に減速されるのに要
する時間が経過する毎に、より小さいなステップ角を生
ずる相励磁方式に基づく励磁相及び励磁電流制御に順次
切替えることにより、最初は、大きなステップ角で停止
制御を行い、ステップ角を徐々に小さくして停止制御す
ることを特徴とする。
To achieve this object, in a stepping motor stop control system of the present invention, a main control unit for controlling driving and stopping operations of a stepping motor, time information for controlling the stepping motor, control information, etc. Is provided with a control information storage unit that stores the phase, a phase switching control unit that switches the excitation phase of the stepping motor, a current value control unit that controls the magnitude of the excitation current of the stepping motor, and a timer that operates according to the phase switching time. Then, in the stop control of the stepping motor, the main control unit first obtains the exciting current of the exciting phase based on the phase exciting method that produces a large step angle, and the phase switching control unit and the current value control unit And the timer is operated according to the time information, and each time the timer times out, the next excitation phase and its excitation Flow, control the phase switching control unit and the current value control unit by these, each time the time required to decelerate to the state of the overshoot of the movement amount less than the step angle until then, By sequentially switching to the excitation phase and excitation current control based on the phase excitation method that produces a smaller step angle, the stop control is initially performed at a large step angle, and the step angle is gradually reduced to a stop control. And

発明の要点 本発明を一実施例にもとづき詳述するに先立ち,第3図
〜第6図により本発明の要点を4相ステツピングモータ
を使用した場合について概略説明する。
Main Points of the Invention Before describing the present invention in detail based on an embodiment, the main points of the present invention will be outlined with reference to FIGS. 3 to 6 in the case of using a 4-phase stepping motor.

本発明では,停止位置付近までは2相励磁や1−2相
励磁で効率よく移動させる,停止位置付近から停止ま
で微細なステツプ角で制御し停止させるようにしたもの
である。
In the present invention, two-phase excitation and 1-2-phase excitation are used to efficiently move to the vicinity of the stop position, and the stop is controlled by a fine step angle from the vicinity of the stop position to the stop.

これを停止位置の4文字手前より微細相切替制御を行つ
た例で説明する。
This will be described with an example in which the fine phase switching control is performed before the four characters before the stop position.

第3図に示す如く,時刻T0でステツピングモータを起
動させ時刻T1まで2相励磁で相歩進させる。そして時
刻T1にてブレーキ力を加える。そして時刻T2にて停止
位置の例えば4文字手前に達したとき2文字手前に達す
る時刻T3まで1−2相励磁でステツプ角が2相励磁の
ときの1/2になるように制御し,時刻T3から1文字手前
の位置に達する時刻T4までステツプ角が1/4の分解能で
制御し,時刻T4から停止相まではステツプ角が1/2の分
解能で制御を行うものである。
As shown in FIG. 3, the stepping motor is started at time T 0 and the phase is advanced by two-phase excitation until time T 1 . Then, at time T 1, the braking force is applied. The step angle 2 to time T 3 characters levels reaches 1-2 phase excitation when reaching the example 4 characters before the stop position at time T 2, is controlled so that half of the time of two-phase excitation , The step angle is controlled with a resolution of 1/4 from time T 3 to time T 4 when the character reaches a position before one character, and the step angle is controlled with a resolution of 1/2 from time T 4 to the stop phase. is there.

すなわち、2相励磁により例えばAB相−BC相−CD
相…と順次2相励磁するときステツピングモータのステ
ツプ角は,第4図に示す如くベクトルAB→ベクトルB
C→ベクトルCD…と90゜ずつ1ステップする。しか
しAB相で2相励磁したあとでB相の1相励磁を行い,
次にBC相の2相励磁を行う1−2相励磁のときは,ス
テツプ角は45゜となり2相励磁のときの1/2のステツ
プ角となる。さらにAB相励磁の次にA相の電流A′を A′=ACOS67.5゜=0.38Aとすれば,ベクト
ルA′Bに示す如くステツプ角は22.5゜となり2相
励磁のときの1/4ステツプ角にすることができる。この
ようにして電流を更らに制御することにより1/8ステツ
プ角,1/16ステツプ角…とオーバーシュートがしなくな
るステツプまで接近させることができる。
That is, by two-phase excitation, for example, AB phase-BC phase-CD
When the two-phase excitation is performed in sequence, the step angle of the stepping motor is vector AB → vector B as shown in FIG.
One step of 90 degrees with C → vector CD. However, after two-phase excitation with AB phase, one-phase excitation with B phase is performed,
Next, in the case of 1-2 phase excitation in which two-phase excitation of BC phase is performed, the step angle becomes 45 °, which is 1/2 the step angle in the case of two-phase excitation. Further, if the A-phase current A'following the AB-phase excitation is A '= A COS 67.5 ° = 0.38A, the step angle becomes 22.5 ° as shown by the vector A'B and the two-phase excitation is performed. It can be set to 1/4 step angle. By further controlling the current in this way, 1/8 step angle, 1/16 step angle, and so on, can be approached to steps where overshoot does not occur.

このようにしてステツプ角を順次追込めば,第5図に示
す如く,段々とブレーキ力も小さくでき,停止位置に精
度よく停止することができる。
In this way, if the step angles are successively added, as shown in FIG. 5, the braking force can be gradually reduced and the vehicle can accurately stop at the stop position.

このようにすることにより,第6図に示す如くステツピ
ングータを連続的に停止位置までスムースに接近させる
ことができる。いま第6図の相S1で停止させればオー
バーシユート1ステツプ以上となるが,次のステツプの
相S2で停止させればオーバーシユートは1ステツプ以
下→1/2ステツプ歩進制動ができる状態になる。したが
つてこの時期T2で1−2相制御により1/2ステツプ制御
に切換える。そして第6図の相S3で停止制御させると
オーバーシユートは1/2ステツプ→1/4ステツプ歩進制動
できる状態になるので時刻T3にて1/4ステツプ制御に切
換える。その後,相S4で停止制御させるとオーバーシ
ユートは1/4ステツプ以下→1/8ステツプ歩進制動できる
状態になるので時刻T4にて1/8ステツプ制御に切換え
る。それから相S5で停止制御させるとオーバーシユー
トは1/8ステツプ以内になるように制御されるので,次
の相S6で,つまりSP点で停止相に切換え制御する。
このときオーバーシユートの分を見込み停止相に切換え
れば目標とするほとんど誤差のない位置で停止できる。
By doing so, the stepping device can be smoothly brought to the stop position smoothly as shown in FIG. If it is stopped at phase S 1 in FIG. 6, the overshoot will be 1 step or more, but if stopped at phase S 2 of the next step, the overshoot will be 1 step or less → 1/2 step step braking. To be able to The While connexion switched to 1/2 step controlled by 1-2 phase control in this period T 2. When the stop control is performed in the phase S 3 in FIG. 6, the overshoot becomes a state where 1/2 step → 1/4 step step braking can be performed, so the control is switched to the 1/4 step control at time T 3 . After that, when the stop control is performed at the phase S 4 , the overshoot becomes a state where 1/4 step or less → 1/8 step step braking can be performed, so the control is switched to the 1/8 step control at time T 4 . Then, when the stop control is performed in the phase S 5 , the overshoot is controlled so as to be within 1/8 step. Therefore, the control is switched to the stop phase in the next phase S 6 , that is, at the SP point.
At this time, if the amount of overshoot is switched to the expected stop phase, it is possible to stop at the target position with almost no error.

発明の実施例 本発明の一実施例を第7図にもとづき必要に応じ他図を
参照して説明する。
Embodiment of the Invention One embodiment of the present invention will be described based on FIG. 7 and with reference to other drawings as necessary.

図中,1はステツピングモータ,2はCPU,3は相切
替時間測定部,4は制御プログラム及び時間テーブル格
納部,5は電流値制御部,6は相切替制御部,7,8は
デイジタル・アナログ変換器(以下DA変換器とい
う),9,10は比較器,11はA相とC相の共通の電
流制限用ドライバ,12はB相とD相の共通の電流制限
用ドライバ,13,14は保護ダイオード,15は信号
が入出力されるI/Oポート,DA〜DDはドライバで
あつて,例えばスイツチングトランジスタにより構成さ
れるA相〜D相の相切替部,I1,I2は電流検出器であ
る。
In the figure, 1 is a stepping motor, 2 is a CPU, 3 is a phase switching time measuring unit, 4 is a control program and time table storage unit, 5 is a current value control unit, 6 is a phase switching control unit, and 7 and 8 are digital. -Analog converter (hereinafter referred to as DA converter), 9 and 10 are comparators, 11 is a common current limiting driver for A phase and C phase, 12 is a common current limiting driver for B phase and D phase, 13 , 14 are protection diodes, 15 is an I / O port for inputting / outputting signals, DA to DD are drivers, for example, phase switching sections of A phase to D phase constituted by switching transistors, I 1 , I 2 is a current detector.

相切替時間測定部(以下PTMという)3は,プログラ
マブル・タイマ・モジユールであつて,CPU2がリー
ド・オンリー・メモリで構成されている制御プログラム
及び時間テーブル格納部(以下ROMという)4から読
出した時間がセツトされるものであつて,このセツトさ
れた時間が経過したときこのタイムアツプ情報をCPU
2に対し割込信号IRQとして送出する。
The phase switching time measuring unit (hereinafter referred to as PTM) 3 is a programmable timer module, and the CPU 2 is read from a control program and time table storage unit (hereinafter referred to as ROM) 4 configured by a read-only memory. Time is set, and when this set time has elapsed, this time-up information is sent to the CPU.
2 is sent as an interrupt signal IRQ.

ROM4はCPU2を制御するための制御プログラムが
格納されるとともに,ステツピングモータ1を制御する
ための時間情報が記入されている時間テーブルが格納さ
れている。この時間テーブルにはステツピングモータ1
を起動する場合の相切替時間情報や,停止するときの相
切替時間情報が記入されている。
The ROM 4 stores a control program for controlling the CPU 2 and also stores a time table in which time information for controlling the stepping motor 1 is entered. This time table has a stepping motor 1
It contains the phase switching time information when starting and the phase switching time information when stopping.

電流値制御部5はステツピングモータ1を起動したり停
止する運転時におけるA相〜D相に流れる電流値を制御
するものであり,その電流値及び電流値調整時刻はCP
U2から送出される。
The current value control unit 5 controls the current value flowing in the A-phase to the D-phase during the operation of starting and stopping the stepping motor 1, and the current value and the current value adjustment time are CP.
It is sent from U2.

相切替制御部6はステツピングモータ1のA相〜D相の
励磁巻線を附勢制御するものであり,ドライバDAをオ
ンにしたときA相の励磁巻線に電流が流れ,同様にドラ
イバDB〜DDをオンにしたときB相〜D相の励磁巻線
に電流が流れる。そしてこの励磁電流の大きさは電流検
出器I1,I2でチエツクされる。
The phase switching control unit 6 energizes and controls the A-phase to D-phase exciting windings of the stepping motor 1. When the driver DA is turned on, a current flows through the A-phase exciting windings, and similarly the driver is driven. When DB to DD are turned on, a current flows through the B-phase to D-phase excitation windings. The magnitude of this exciting current is checked by the current detectors I 1 and I 2 .

電流制限用ドライバ11はA相とC相の励磁巻線に流れ
る電流の大きさを共通に制御するものであり,その制御
信号は比較器9から出力される。そして電流制限用ドラ
イバ12はB相とD相の励磁巻線に流れる電流値を共通
に制御するものであり,その制御信号は比較器10から
出力される。
The current limiting driver 11 commonly controls the magnitudes of the currents flowing in the A-phase and C-phase exciting windings, and the control signal is output from the comparator 9. The current limiting driver 12 commonly controls the current values flowing in the B-phase and D-phase excitation windings, and the control signal is output from the comparator 10.

次に本発明の動作を第7図により説明する。Next, the operation of the present invention will be described with reference to FIG.

(1)I/Oポート15を介してCPU2が活字選択情報を
受信すると,CPU2はROM4内の時間テーブルから
ステツピングモータ1を起動するための最初の起動制御
時間を読出してこれをPTM3に書込むとともに,その
ときのステツピングモータ1の停止状態にもとづき励磁
すべき相を選択して相切替制御部6に相励磁信号をセツ
トして,ドライバDA〜DDを選択的にオンにさせ,ス
テツピングモータ1を2相励磁して相歩進を1ステツプ
進める。この場合,例えばAB相を励磁したときの1つ
の平衡点に達したときA相をC相に切替えて次にBC相
励磁に切換える。
(1) When the CPU 2 receives the type selection information via the I / O port 15, the CPU 2 reads the first start control time for starting the stepping motor 1 from the time table in the ROM 4 and writes it to the PTM 3. At the same time, the phase to be excited is selected based on the stopped state of the stepping motor 1 at that time, and the phase excitation signal is set to the phase switching control unit 6 to selectively turn on the drivers DA to DD, and the step The ping motor 1 is excited in two phases to advance the phase advance by one step. In this case, for example, when one equilibrium point is reached when the AB phase is excited, the A phase is switched to the C phase and then to the BC phase excitation.

(2)PTM3はそれに書込まれた時間が経過するとその
タイムアツプ情報を割込信号IRQとしてCPU2に送
信する。
(2) The PTM 3 transmits the time-up information as an interrupt signal IRQ to the CPU 2 when the time written in it has elapsed.

(3)CPU2はこの割込信号IRQを受信するためと,
ROM4内の時間テーブルから次のステツプに必要な時
間を読出してこれをPTM3に書込み、また相切替制御
部6に次の相励磁信号をセツトしてステツピングモータ
1の相励磁を1ステツプ進める。
(3) The CPU 2 receives the interrupt signal IRQ,
The time required for the next step is read from the time table in the ROM 4 and written in the PTM 3, and the next phase excitation signal is set in the phase switching control unit 6 to advance the phase excitation of the stepping motor 1 one step.

(4)このような上記(2),(3)のことが順次繰り換されて
AB−BC−CD−DA−AB…と2層励磁が行われ,
これによりステツピングモータ11ステアツプずつ進ん
で加算され,高速にステツピングモータ1をセテツプ送
りすることになる。そして活字選択情報より演算される
停止ステツプまでのうら,制動分かけられる位置まで加
算されることにある。
(4) The above (2) and (3) are sequentially repeated to perform two-layer excitation such as AB-BC-CD-DA-AB ...
As a result, the stepping motor 11 is advanced step by step and added, and the stepping motor 1 is fed stepwise at high speed. Then, the back to the stop step calculated from the type selection information is added up to the position where braking is applied.

(5)次に減速制動に入るべき,第3図の時刻Tに達した
とき,制動が開始されるが,このときの制動は2相励磁
で減速され,この制御はそのステツプで停止したときに
1ステツプ分のオーバーシユートがしないようになるま
でこの減速される。このときの制御方法は上記(2),(3)
と同様に制御時間についてはROM4より読出されてこ
れがPTM3で監視され,相励磁についてはCPU2の
指示により相切替制御部6がドライバDA〜DDを選択
制御し行うことになる。
(5) Next, when deceleration braking should be started, when the time T in Fig. 3 is reached, the braking is started, but the braking at this time is decelerated by two-phase excitation, and this control is stopped at that step. This deceleration is continued until there is no one-step overshoot. The control method at this time is (2) and (3) above.
Similarly, the control time is read from the ROM 4 and monitored by the PTM 3, and the phase switching control unit 6 selectively controls the drivers DA to DD according to the instruction of the CPU 2 for the phase excitation.

(6)そして1ステツプ分のオーバーシユートがしなくな
つたステツプ(第6図S2)まで移動すると,CPU2
は相切替ステツプを1/2ステツプになるように相切替制
御部6を制御する。これにより例えばAB−B−BC−
C−CD…の如き1−2相励磁が行われ1/2ステツプ動
作となる。そしてこれによる減速が1/2ステツプ分のオ
ーバーシユートが生じないステツプS3まで行われる。
(6) Then, when the CPU moves to the step (S 2 in FIG. 6) where the overshoot for one step is eliminated, the CPU 2
Controls the phase switching control unit 6 so that the phase switching step becomes 1/2 step. Thereby, for example, AB-B-BC-
1-2 phase excitation such as C-CD ... is performed and 1/2 step operation is performed. Then, the deceleration by this is performed up to step S 3 at which the overshoot for 1/2 step does not occur.

(7)1/2ステツプ分のオーバーシユートがしなくなつた上
記ステツプS3まで移動すると,CPU2は相切替制御
部6を今度は1/4ステツプモードに制御する。この1/4ス
テツプモードは,電流値制御部5を制御して電流制限用
ドライバ11−12を選択制御し,例えば第4図のベク
トルA′Bのように,A相の励磁電流をA′,つまり通
常の約0.38に抑制するような制御を行うことにより
行うことができる。そしてこの1/4ステツプモードの減
速制御が1/4ステツプ分のオーバーシユートがしなくな
るステツプS4まで行われる。
(7) When the CPU moves to the step S 3 where the overshoot for 1/2 step has been eliminated, the CPU 2 controls the phase switching control unit 6 to the 1/4 step mode this time. In the 1/4 step mode, the current value control unit 5 is controlled to selectively control the current limiting driver 11-12, and the excitation current of the A phase is A'as shown by the vector A'B in FIG. That is, it can be performed by performing control such that the normal level is suppressed to about 0.38. Then, the deceleration control in the 1/4 step mode is performed until step S 4 at which the overshoot for the 1/4 step does not occur.

(8)このようにして次に1/2ステツプモードで制御を行
う。そして1/3ステツプ分のオーバーシユートが停止相
の所定位置になるように相ステツプの切替時間を調整し
て,停止相の安定位置にオーバーシユートのピーク位置
が丁度きたときに停止相に切換え,制動を終了する。
(8) In this way, control is then performed in the 1/2 step mode. Then, the phase step switching time is adjusted so that the 1/3 step overshoot is at the predetermined position of the stop phase, and the stop phase is set when the peak position of the overshoot is just at the stable position of the stop phase. Switch and stop braking.

なお上記実施例では1/8ステツプモードで停止する例に
ついて説明したが,勿論1/16ステツプあるいは1/32ステ
ツプ等まで追い込むこともでき,またこのようにすれば
一層精度は向上するものである。それから4相のステツ
ピングモータについて説明したが勿論これのみに限定さ
れるものではなく,6相あるいは他のタイプのものでも
同様にして適用することができる。
In the above embodiment, the example of stopping in the 1/8 step mode has been described, but it is of course possible to drive up to 1/16 step or 1/32 step, and the accuracy is further improved by doing so. . Then, the four-phase stepping motor has been described, but of course the present invention is not limited to this, and a six-phase or another type can be similarly applied.

発明の効果 本発明によれば、ステツピングモータの動作制御は時間
テーブル格納部に設定された相切替時間情報を基準にし
て励磁相や励磁時間を切替えることにより行うので、ス
テツピングモータを停止することなく、精度よく、ハン
チングを少なく、目的位置に早く到達停止させることが
できる。
EFFECTS OF THE INVENTION According to the present invention, the operation control of the stepping motor is performed by switching the excitation phase and the excitation time based on the phase switching time information set in the time table storage unit, so that the stepping motor is stopped. It is possible to stop and reach the target position quickly, accurately, with less hunting.

したがって、例えば特開昭57−119695号公報に
記載されたモータ駆動回路のように、ステツピングモー
タを一時的な停止状態とした時点で励磁電流を切替える
場合のように、ステツピングモータを一時的停止状態に
して再起動することがないので、本発明ではモータの再
起動を不要とし、速度変動幅が少なく、しかも変化の仕
方を連続的に行うため不連続な速度変動にもとづく音の
発生もない。しかも次のステップにモータを移動させる
ときにその慣性を利用することができ、負荷を低減する
ことができる。
Therefore, as in the case of the motor drive circuit disclosed in Japanese Patent Laid-Open No. 57-119695, for example, when the exciting current is switched when the stepping motor is temporarily stopped, the stepping motor is temporarily operated. Since the present invention does not need to be restarted in a stopped state, the present invention eliminates the need for restarting the motor, has a small range of speed fluctuations, and, because the method of change is performed continuously, the generation of sounds due to discontinuous speed fluctuations is also possible. Absent. Moreover, when the motor is moved to the next step, its inertia can be utilized, and the load can be reduced.

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

第1図は従来のステツピングモータの逆相励磁制御方式
の説明図,第2図はデテントを有するステツピングモー
タの説明図,第3図〜第6図は本発明の動作原理説明,
第7図は本発明の一実施例構成図である。 図中,1はステツピングモータ,2はCPU,3は相切
替時間測定部,4は制御プログラム及び時間テーブル格
納部,5は電流値制御部,6は相切替制御部,7,8は
デイジタル・アナログ変換器,9,10は比較器,11
はA相とC相の共通の電流制限用ドライバ,12はB相
とD相の共通の電流制限用ドライバ,13,14は保護
ダイオード,15は信号が入出力されるI/Oポート, DA〜DDはドライバであつて,例えばスイツチングト
ランジスタにより構成されるA相〜D相の相切替部,I
1,I2は電流検出器である。
FIG. 1 is an explanatory diagram of a conventional anti-phase excitation control system for a stepping motor, FIG. 2 is an explanatory diagram of a stepping motor having a detent, and FIGS. 3 to 6 are explanations of the operating principle of the present invention.
FIG. 7 is a block diagram of an embodiment of the present invention. In the figure, 1 is a stepping motor, 2 is a CPU, 3 is a phase switching time measuring unit, 4 is a control program and time table storage unit, 5 is a current value control unit, 6 is a phase switching control unit, and 7 and 8 are digital.・ Analog converter, 9 and 10 are comparators, 11
Is a common current limiting driver for A phase and C phase, 12 is a common current limiting driver for B phase and D phase, 13 and 14 are protection diodes, 15 is an I / O port for inputting / outputting signals, DA Denoted by DD is a driver, for example, a phase switching unit of A phase through D phase which is composed of switching transistors, I
1 and I 2 are current detectors.

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】ステッピングモータの駆動及び停止動作を
制御する主制御部(2)と、 このステッピングモータを制御するための時間情報、制
御情報等を格納する制御情報格納部(4)と、 ステッピングモータの励磁相を切替える相切替制御部
(6)と、 ステッピングモータの励磁電流の大きさを制御する電流
値制御部(5)と、 相切替時間に応じて動作するタイマ(3)を具備し、 前記主制御部(2)は、このステッピングモータの停止
制御に際し、先ず、大きなステップ角を生ずる相励磁方
式に基づいて、励磁相とその励磁電流を求め、これらに
より相切替制御部(6)及び電流値制御部(5)を制御
するとともに前記時間情報により前記タイマ(3)を動
作させ、前記タイマ(3)がタイムオーバする毎に次の
励磁相とその励磁電流を求め、これらにより相切替制御
部(6)及び電流値制御部(5)を制御して行き、それ
までのステップ角以下の移動量のオーバシュートになる
状態に減速されるのに要する時間が経過する毎に、より
小さいなステップ角を生ずる相励磁方式に基づく励磁相
及び励磁電流制御に順次切替えることにより、最初は、
大きなステップ角で停止制御を行い、ステップ角を徐々
に小さくして停止制御することを特徴とするステッピン
グモータ停止制御方式。
1. A main control unit (2) for controlling driving and stopping operations of a stepping motor, a control information storage unit (4) for storing time information, control information and the like for controlling the stepping motor, It is provided with a phase switching control unit (6) for switching the excitation phase of the motor, a current value control unit (5) for controlling the magnitude of the excitation current of the stepping motor, and a timer (3) that operates according to the phase switching time. In the stop control of the stepping motor, the main control unit (2) first obtains an excitation phase and its excitation current based on a phase excitation method that produces a large step angle, and the phase switching control unit (6) And controlling the current value control unit (5) and operating the timer (3) according to the time information, and each time the timer (3) times out, the next excitation phase and its excitation current. The phase switching control unit (6) and the current value control unit (5) are controlled by these values, and the time required to decelerate to the state where the movement amount overshoots the step angle up to that point Each time, by sequentially switching to the excitation phase and excitation current control based on the phase excitation method that produces a smaller step angle, initially,
A stepping motor stop control method characterized by performing stop control with a large step angle and gradually reducing the step angle.
JP57231975A 1982-12-29 1982-12-29 Stepping motor stop control system Expired - Lifetime JPH0614799B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP57231975A JPH0614799B2 (en) 1982-12-29 1982-12-29 Stepping motor stop control system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP57231975A JPH0614799B2 (en) 1982-12-29 1982-12-29 Stepping motor stop control system

Publications (2)

Publication Number Publication Date
JPS59123495A JPS59123495A (en) 1984-07-17
JPH0614799B2 true JPH0614799B2 (en) 1994-02-23

Family

ID=16931977

Family Applications (1)

Application Number Title Priority Date Filing Date
JP57231975A Expired - Lifetime JPH0614799B2 (en) 1982-12-29 1982-12-29 Stepping motor stop control system

Country Status (1)

Country Link
JP (1) JPH0614799B2 (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6295999A (en) * 1985-10-22 1987-05-02 Fuji Electric Co Ltd Control method for stop of stepping motor
JPH088790B2 (en) * 1986-02-28 1996-01-29 俊郎 樋口 Stopping control method for linear step motor
JP2749349B2 (en) * 1989-02-09 1998-05-13 松下電工株式会社 Step motor drive method
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.

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6056075B2 (en) * 1981-06-24 1985-12-07 松下電器産業株式会社 Drive device using pulse motor
JPS57119695A (en) * 1981-11-28 1982-07-26 Brother Ind Ltd Pulse motor driver

Also Published As

Publication number Publication date
JPS59123495A (en) 1984-07-17

Similar Documents

Publication Publication Date Title
US20140114522A1 (en) Semiconductor Integrated Circuit Device
JPS6311372A (en) Method for controlling carriage of printer
JPS589597A (en) Stepping motor driving circuit
JPS5916292B2 (en) Spindle control method
JP3806985B2 (en) Stepping motor drive device
JPH0614799B2 (en) Stepping motor stop control system
JP2006174607A (en) Stepping motor control device and pen recorder using the same
US11909348B2 (en) Control device for stepping motor
JPS6056075B2 (en) Drive device using pulse motor
JP3354633B2 (en) Stepping motor drive
JPS59123496A (en) Control system for step motor
JP2749349B2 (en) Step motor drive method
JPH08275588A (en) Drive controller for stepping motor
JPH028559B2 (en)
JPS5831837B2 (en) stepping motor drive device
JPH0246196A (en) Stepping motor control system
JP2007244033A (en) Dc motor controller and control method
KR970055206A (en) Speed control device of switched reluctance motor
JPH0213558B2 (en)
SU1045320A1 (en) Device for controlling step motor with step splitting
JPS6022780A (en) Floppy disk device
JPH03135306A (en) Method of speed control of electric motor car
JPS637177A (en) Capstan motor control system
JP2549508B2 (en) Closed loop drive control method for stepping motor
SU1339488A1 (en) Servo system with limited angle of turn of output shaft