JPH0828996B2 - Drive control method for stepping motor - Google Patents

Drive control method for stepping motor

Info

Publication number
JPH0828996B2
JPH0828996B2 JP16072291A JP16072291A JPH0828996B2 JP H0828996 B2 JPH0828996 B2 JP H0828996B2 JP 16072291 A JP16072291 A JP 16072291A JP 16072291 A JP16072291 A JP 16072291A JP H0828996 B2 JPH0828996 B2 JP H0828996B2
Authority
JP
Japan
Prior art keywords
stepping motor
driving
drive
constant speed
drive control
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
JP16072291A
Other languages
Japanese (ja)
Other versions
JPH0515197A (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.)
Star Micronics Co Ltd
Original Assignee
Star Micronics 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 Star Micronics Co Ltd filed Critical Star Micronics Co Ltd
Priority to JP16072291A priority Critical patent/JPH0828996B2/en
Publication of JPH0515197A publication Critical patent/JPH0515197A/en
Publication of JPH0828996B2 publication Critical patent/JPH0828996B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Handling Of Sheets (AREA)
  • Character Spaces And Line Spaces In Printers (AREA)
  • Control Of Stepping Motors (AREA)

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、シリアルプリンタのキ
ャリッジ送りや紙送り等に用いられるステッピングモー
タを、スルーイングテーブルに基づく開ループ制御によ
り駆動制御する方法に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a method of driving and controlling a stepping motor used for carriage feeding or paper feeding of a serial printer by open loop control based on a slewing table.

【0002】[0002]

【従来の技術】シリアルプリンタのキャリッジ送りや紙
送り等に用いられるステッピングモータの駆動制御方法
としては、従来より、コストメリットの大きい開ループ
制御が広く採用されている。この開ループ制御は、ステ
ッピングモータの起動から停止までを、予め設定した速
度パターンに従って制御するものである。その速度パタ
ーンは、通常、スルーイングとして知られており、ステ
ッピングモータに順次与える駆動パルスの番号とパルス
幅とを対応付けたスルーイングテーブルの形で設定され
る。そして、例えばキャリッジ送りの場合には複数のス
ルーイングテーブルの中から、印字指令の種類に応じて
最適のスルーイングテーブルを選択してステッピングモ
ータを制御するようにしている。
2. Description of the Related Art As a drive control method for a stepping motor used for carriage feed or paper feed of a serial printer, open loop control, which has a large cost advantage, has been widely adopted. This open-loop control is to control the stepping motor from starting to stopping according to a preset speed pattern. The speed pattern is generally known as slewing, and is set in the form of a slewing table in which drive pulse numbers sequentially given to the stepping motor are associated with pulse widths. Then, for example, in the case of carriage feed, an optimal slewing table is selected from a plurality of slewing tables according to the type of print command to control the stepping motor.

【0003】そのキャリッジ送りにおけるスルーイング
テーブルの例を図5に示す。図5(a)はステッピング
モータを加速駆動する工程における加速部テーブル、図
5(b)は等速駆動する工程における等速部テーブル
で、駆動パルスの番号に相当するカウンタの数値と、パ
ルス幅に相当するタイマーの数値とが対応付けられてい
る。
FIG. 5 shows an example of a slewing table in the carriage feed. FIG. 5A is an acceleration table in the step of accelerating and driving the stepping motor, and FIG. 5B is a constant velocity table in the step of uniformly driving the stepping motor. The counter value corresponding to the driving pulse number and the pulse width are shown. Is associated with the value of the timer corresponding to.

【0004】また、開ループ制御を行う従来の駆動制御
装置の概略構成を図6のブロック図に示す。図のよう
に、動作指令を受けた制御回路1は、駆動回路2へ励磁
信号を与え、その駆動回路2は、制御回路1で定められ
た動作モードに従い、ステッピングモータ3へ駆動電流
を駆動パルスとして供給し、ステッピングモータ3をス
テップ動作させる。そしてこれらの制御回路1と駆動回
路2とにより、ステッピングモータ3へ、上記スルーイ
ングテーブル通りに駆動パルスを与えて、ステッピング
モータ3の速度を目標速度に制御し、目標位置に回転さ
せる。
Further, a schematic configuration of a conventional drive control device for performing open loop control is shown in a block diagram of FIG. As shown in the figure, the control circuit 1 which receives the operation command gives an excitation signal to the drive circuit 2, and the drive circuit 2 drives the stepping motor 3 with a drive pulse in accordance with the operation mode determined by the control circuit 1. And the stepping motor 3 is operated in steps. Then, the control circuit 1 and the drive circuit 2 apply a drive pulse to the stepping motor 3 in accordance with the slewing table to control the speed of the stepping motor 3 to a target speed and rotate it to a target position.

【0005】更に、こうして制御されたステッピングモ
ータ3の目標速度ω0と時間との関係を、上記スルーイ
ングテーブルの各駆動パルスの幅と対応させて、図7の
特性図に示す。
Further, the relationship between the target speed ω0 of the stepping motor 3 thus controlled and the time is shown in the characteristic diagram of FIG. 7 in association with the width of each drive pulse of the slewing table.

【0006】図のように、起動とともに、上記加速部テ
ーブルに従って、パルス幅(タイマー値)が5msec
(ミリ秒)から0.5msecまで徐々に短くなる1〜
28番の駆動パルスを与えてステッピングモータ3を加
速する。その後上記等速部テーブルに従って0.5ms
ec幅のN個の駆動パルスを与えて等速駆動する。この
等速駆動によるキャリッジの定速送りの間に印字を行う
ことになる。よって、等速駆動する駆動パルスの数であ
る等速カウント数Nは、印字文字のドット数と文字数と
に応じて設定されている。
As shown in the figure, upon start-up, the pulse width (timer value) is 5 msec according to the above-mentioned acceleration section table.
(Milliseconds) to 0.5 msec, gradually shortening 1
The 28th drive pulse is given to accelerate the stepping motor 3. After that, 0.5 ms according to the constant velocity section table above
Equal-width N drive pulses are applied to drive at a constant speed. Printing is performed during the constant speed feeding of the carriage by this constant speed driving. Therefore, the constant speed count number N, which is the number of drive pulses for constant speed driving, is set according to the number of dots and the number of characters of the printed character.

【0007】上記等速駆動の後は、図示せぬ減速テーブ
ルに従って減速駆動する。その減速テーブルは、この例
では、上記加速部テーブルの28個の駆動パルスを逆
に、つまりパルス幅の短い方から並べて構成したもので
ある。
After the above-mentioned constant speed driving, deceleration driving is performed according to a deceleration table (not shown). In this example, the deceleration table is configured by arranging the 28 drive pulses of the accelerating unit table in reverse, that is, arranging from the side having the shorter pulse width.

【0008】[0008]

【発明が解決しようとする課題】上記従来の制御方法で
は、ステッピングモータ3にかかる負荷の大きさに関係
なく常にスルーイングテーブル通りに駆動パルスを与え
て駆動制御するため、最もトルクを必要とする加速駆動
時に、そのステッピングモータ3に大きな負荷がかかっ
た場合、例えばシリアルプリンタのキャリッジ送りであ
れば、環境温度の変化や振動、あるいはプリンタの姿勢
変化等によってキャリッジの送り抵抗が増大した場合
に、ステッピングモータ3が脱調するという問題があっ
た。脱調すると、それ以後の回転位置が狂い、目標位置
に正しく到達させることができなくなってしまう。
In the above-mentioned conventional control method, since the drive pulse is always applied and driven according to the slewing table regardless of the load applied to the stepping motor 3, the torque is required most. When a large load is applied to the stepping motor 3 during acceleration drive, for example, in the case of carriage feed of a serial printer, when carriage feed resistance increases due to environmental temperature change, vibration, printer attitude change, or the like, There is a problem that the stepping motor 3 is out of step. If the step-out occurs, the rotational position after that becomes incorrect and the target position cannot be correctly reached.

【0009】従来は、このような負荷増大による脱調を
防止するためには、出力パワーの必要以上に大きなステ
ッピングモータを用いなければならず、それでは開ルー
プ制御によるコストメリットが失われてしまう。
Conventionally, in order to prevent step-out due to such an increase in load, it has been necessary to use a stepping motor having an output power larger than necessary, which loses the cost merit of the open loop control.

【0010】環境温度の変化による負荷増大に対して
は、温度センサを設けて環境温度を検出し、その検出温
度に応じてステッピングモータの出力パワーを変える方
法が提案されているが(特開平2−46195)、環境
温度の変化以外の要因による負荷増大には対応し得な
い。
For a load increase due to a change in environmental temperature, there has been proposed a method in which a temperature sensor is provided to detect the environmental temperature and the output power of the stepping motor is changed according to the detected temperature (Japanese Patent Laid-Open No. Hei 2). 46195), the load increase due to factors other than the change in environmental temperature cannot be dealt with.

【0011】また、キャリッジ送りにおいて、ダミー送
り工程を設け、入力パワーパターンを記憶させる方法も
提案されているが(特開平2−301469)、ステッ
ピングモータの閉ループ制御を必要とするとともに、ダ
ミー送り工程を実施する前に負荷変動が生じた場合には
対応できなくなる。
A method of storing a input power pattern by providing a dummy feeding step in carriage feeding has also been proposed (Japanese Patent Laid-Open No. 2-301469), but it requires closed loop control of the stepping motor and the dummy feeding step. If a load change occurs before executing the procedure, it cannot be dealt with.

【0012】本発明は、上記問題を解決するためになさ
れたもので、加速駆動時に様々な要因により負荷が増大
した場合にも、ステッピングモータを脱調させることな
く正しく目標位置に到達させることのできる、開ループ
制御による駆動制御方法を提供することを目的とする。
The present invention has been made in order to solve the above problem, and it is possible to correctly reach the target position without stepping out the stepping motor even when the load increases due to various factors during acceleration driving. It is an object of the present invention to provide a drive control method by open loop control that can be performed.

【0013】[0013]

【課題を解決するための手段】上記目的を達成するため
に、本発明に係る駆動制御方法では、ステッピングモー
タを、スルーイングテーブルの加速部テーブルに従って
加速駆動する工程で、その加速部テーブルによる指令回
転位置に対する、ステッピングモータの回転位置の遅れ
量を検出する。そしてその遅れ量が、予め設定した値に
達した場合には、等速駆動に切り換え、その等速駆動に
よって、上記加速部テーブルで定められていたステップ
量を完了させる。
In order to achieve the above object, in the drive control method according to the present invention, in the step of accelerating and driving the stepping motor according to the accelerating unit table of the slewing table, the command by the accelerating unit table is given. The delay amount of the rotation position of the stepping motor with respect to the rotation position is detected. When the delay amount reaches a preset value, switching to constant speed driving is performed, and the constant speed driving completes the step amount defined in the acceleration table.

【0014】[0014]

【作用】上記ステッピングモータの回転位置の遅れ量が
設定値に達した場合に、等速駆動に切り換えることによ
り、ステッピングモータに与える一つ一つの駆動パルス
の時間を長く保って、そのステッピングモータの出力ト
ルクを保持し、負荷増大による脱調を防止することがで
きる。
When the delay amount of the rotational position of the stepping motor reaches the set value, the driving is switched to the constant speed driving so that the time of each driving pulse given to the stepping motor is kept long and the stepping motor It is possible to maintain the output torque and prevent out-of-step due to increased load.

【0015】また、加速駆動の途中で等速駆動に切り換
えても、加速部テーブルで定められていたステップ量を
完了させるため、ステッピングモータを、その決められ
た回転量を減らすことなく、目標とする回転位置に正し
く到達させることができる。
Further, even if the driving is switched to the constant speed driving during the acceleration driving, the stepping amount determined by the acceleration unit table is completed, so that the stepping motor is set to the target without reducing the determined rotation amount. The correct rotation position can be reached.

【0016】[0016]

【実施例】以下、図面に基づいて本発明の一実施例を説
明する。
DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will be described below with reference to the drawings.

【0017】図1は、本発明に係る駆動制御方法を実施
するための駆動制御装置のブロック図である。
FIG. 1 is a block diagram of a drive control device for carrying out the drive control method according to the present invention.

【0018】図のようにこの駆動制御装置では、図6に
示した従来の駆動制御装置に設けられた制御回路1と駆
動回路2とに加え、ステッピングモータ3に連結された
エンコーダ4と、制御回路1に接続された遅れ量検出回
路5と比較回路6とが設けられている。
As shown in the figure, in this drive control device, in addition to the control circuit 1 and the drive circuit 2 provided in the conventional drive control device shown in FIG. 6, an encoder 4 connected to a stepping motor 3 and control are performed. A delay amount detection circuit 5 and a comparison circuit 6 connected to the circuit 1 are provided.

【0019】上記エンコーダ4は、制御回路1と駆動回
路2とにより駆動されるステッピングモータ3の回転位
置を検出し、検出位置信号を出力する。
The encoder 4 detects the rotational position of the stepping motor 3 driven by the control circuit 1 and the drive circuit 2 and outputs a detected position signal.

【0020】また上記遅れ量検出回路5は、上記エンコ
ーダ4からの検出位置信号と、上記制御回路1から励磁
信号と同期して、つまりステッピングモータ3の駆動パ
ルスと同期して出力される駆動パルスモニター信号とに
基づいて、ステッピングモータ3の回転位置の、指令回
転位置からの遅れ量を検出する。
The delay amount detection circuit 5 outputs a drive pulse output in synchronization with the detected position signal from the encoder 4 and the excitation signal from the control circuit 1, that is, in synchronization with the drive pulse of the stepping motor 3. Based on the monitor signal, the delay amount of the rotational position of the stepping motor 3 from the command rotational position is detected.

【0021】更に上記比較回路6は、上記遅れ量検出回
路5によって検出された遅れ量と、この比較回路6に予
めセットされた遅れ量設定値とを比較し、検出遅れ量が
設定値以上となった場合には遅れ信号を上記制御回路1
へ送る。上記遅れ量設定値は、ステッピングモータ3を
脱調させないように、その出力トルクや使用条件に応じ
て適宜に設定されるべきもので、例えばステップ角度の
2〜2.5倍程度の値に設定される。
Further, the comparison circuit 6 compares the delay amount detected by the delay amount detection circuit 5 with the delay amount set value preset in the comparison circuit 6, and the detected delay amount is equal to or more than the set value. If it becomes, a delay signal is sent to the control circuit 1 above.
Send to. The delay amount set value should be appropriately set in accordance with the output torque and the use condition so as not to cause the stepping motor 3 to step out. For example, it is set to a value of about 2 to 2.5 times the step angle. To be done.

【0022】図2は、上記制御回路1の具体的な構成例
を示すブロック図である。図のようにCPU11を主体
として、スルーイングテーブルや記録ヘッドドライブ用
データを記憶させたプログラムメモリ12と、そのプロ
グラムメモリ12から読み出した各種データを一時格納
して整理するRAM13と、上記駆動パルスモニター信
号や記録ヘッドドライブ信号を出力するカウンタ/タイ
マ14とが備えられている。
FIG. 2 is a block diagram showing a concrete example of the configuration of the control circuit 1. As shown in the figure, a CPU 11 is mainly used as a main body, a program memory 12 in which a slewing table and recording head drive data are stored, a RAM 13 for temporarily storing and organizing various data read from the program memory 12, and the drive pulse monitor. A counter / timer 14 that outputs a signal and a recording head drive signal is provided.

【0023】次に、上記構成の駆動制御装置による、本
発明に係る駆動制御方法を、図3のフローチャートと図
4の特性図を用いて説明する。
Next, the drive control method according to the present invention by the drive control device having the above-mentioned configuration will be described with reference to the flow chart of FIG. 3 and the characteristic diagram of FIG.

【0024】動作指令を制御回路1へ入力させると、制
御回路1のCPU11は、先ずスルーイング選択を行い
(S−1)、ステッピングモータ3の起動から停止まで
の目標速度パターンをプログラムメモリ12から選択的
に読み出す。この選択した目標速度パターンのスルーイ
ングテーブルは、図5に示した従来例の場合と同様のも
のとする。そして図4の特性図に、この選択した目標速
度ω0の時間変化を実線で、スルーイングテーブルの各
駆動パルスの幅と対応させた形で示した。また、スルー
イングテーブルの図示せぬ減速部テーブルについても、
従来例の場合と同様に、図5(a)に示した加速部テー
ブルの28個の駆動パルスを逆に、つまりパルス幅の短
い方から並べて構成したものとする。もちろん加速部テ
ーブルと減速部テーブルとを、非対称に構成してもよ
い。
When an operation command is input to the control circuit 1, the CPU 11 of the control circuit 1 first makes a slewing selection (S-1), and a target speed pattern from start to stop of the stepping motor 3 is read from the program memory 12. Read selectively. The slewing table of the selected target speed pattern is the same as that of the conventional example shown in FIG. Then, in the characteristic diagram of FIG. 4, the change over time of the selected target speed ω0 is shown by a solid line in correspondence with the width of each drive pulse of the slewing table. Also, for the deceleration unit table (not shown) of the slewing table,
As in the case of the conventional example, it is assumed that the 28 drive pulses of the accelerating unit table shown in FIG. 5A are arranged in reverse, that is, arranged in the order of shorter pulse width. Of course, the acceleration unit table and the deceleration unit table may be asymmetrical.

【0025】上記スルーイング選択の後、制御回路1
は、選択したスルーイングテーブルのカウンタの初期設
定を行って、カウンタの数値nをn=1に設定し(S−
2)、続いてスルーイングテーブルの加速部テーブルに
従い、ステッピングモータ3に対して1カウント分の加
速駆動を行う(S−3)。
After the above slewing selection, the control circuit 1
Initializes the counter of the selected slewing table and sets the counter value n to n = 1 (S-
2) Then, according to the accelerating unit table of the slewing table, the stepping motor 3 is accelerated for one count (S-3).

【0026】次いで制御回路1は、比較回路6が遅れ信
号を出力したかどうかを判断し(S−4)、出力しなけ
れば、続いて加速部テーブルの加速カウントが終了した
かどうか、この場合、カウンタの数値nが28に達した
かどうかを判断する(S−5)。達しなければカウンタ
の数値nを一つ進め(S−6)、加速駆動を続ける。
Next, the control circuit 1 judges whether or not the comparison circuit 6 has output a delay signal (S-4), and if it does not output, whether or not the acceleration count of the accelerating unit table has ended, in this case, , It is determined whether the numerical value n of the counter has reached 28 (S-5). If it has not reached, the value n of the counter is incremented by 1 (S-6) and the acceleration drive is continued.

【0027】こうして制御回路1は、ステッピングモー
タ3が大きな負荷を受けず、よって比較回路6が遅れ信
号を出力しない場合には、加速部テーブルに従ってステ
ッピングモータ3を加速駆動し続ける。そしてカウンタ
の数値nが28に達して加速駆動が終了した後は(S−
5)、等速部テーブルに従って等速駆動を行い(S−
7)、続いて減速部テーブルに従って減速駆動を行い
(S−8)、停止させる。一方、加速部テーブルに従っ
て加速駆動を行っている間に、ステッピングモータ3の
受ける負荷が何らかの要因で、例えばキャリッジの送り
抵抗の増大により異常に大きくなり、図4の特性図中に
破線で示したようにステッピングモータ3の実測速度ω
1が目標速度ω0に比べて徐々に小さくなって、ステッ
ピングモータ3の回転位置の指令回転位置からの遅れ量
が設定値に達した場合には、比較回路6から遅れ信号が
出力される。
In this way, the control circuit 1 continues to accelerate and drive the stepping motor 3 in accordance with the accelerating section table when the stepping motor 3 does not receive a large load and the comparison circuit 6 does not output the delay signal. Then, after the value n of the counter reaches 28 and the acceleration drive is completed (S-
5), constant speed driving is performed according to the constant speed unit table (S-
7) Subsequently, deceleration driving is performed according to the deceleration unit table (S-8), and stopped. On the other hand, while the acceleration drive is being performed according to the acceleration unit table, the load received by the stepping motor 3 becomes abnormally large due to, for example, an increase in the feed resistance of the carriage, which is indicated by a broken line in the characteristic diagram of FIG. The measured speed ω of the stepping motor 3
When 1 becomes gradually smaller than the target speed ω0 and the delay amount of the rotation position of the stepping motor 3 from the command rotation position reaches the set value, the comparison circuit 6 outputs a delay signal.

【0028】すると、遅れ信号出力有りと判断(S−
4)した制御回路1は、その遅れ信号出力時刻t1以降
の加速部テーブルのタイマー値を、その時刻t1のカウ
ントにおける値と同じ値、あるいはその時刻t1に近い
カウント、例えば一つ前のカウントにおける値と同じ値
に延ばして固定することにより、一定の等速タイマー値
を設定する(S−9)。そしてその等速タイマー値に従
って等速駆動を行う(S−10)。
Then, it is judged that the delay signal is output (S-
4) The control circuit 1 does the timer value of the acceleration unit table after the delay signal output time t1 to the same value as the value at the count at the time t1, or a count close to the time t1, for example, at the previous count. A constant constant velocity timer value is set by extending and fixing the value to the same value (S-9). Then, constant speed driving is performed according to the constant speed timer value (S-10).

【0029】即ち、加速部テーブルに従って加速駆動す
る工程で、ステッピングモータ3の回転位置の指令回転
位置からの遅れ量が設定値に達して、遅れ信号が出力さ
れた場合には、等速駆動に切り換え、その遅れ信号出力
時刻t1以降は、図4の特性図中に一点鎖線で示したよ
うに、一定の制御速度ω2で駆動する。
That is, when the delay amount of the rotational position of the stepping motor 3 from the command rotational position reaches the set value and the delay signal is output in the step of accelerating according to the accelerating unit table, the constant speed driving is performed. After the switching and the delay signal output time t1, the driving is performed at a constant control speed ω2 as shown by the alternate long and short dash line in the characteristic diagram of FIG.

【0030】このように、遅れ量が設定値に達した場合
に等速駆動に切り換えることにより、ステッピングモー
タ3に与える一つ一つの駆動パルスの時間を長く保っ
て、そのステッピングモータ3の出力トルクを保持し、
負荷増大による脱調を防止することができる。
As described above, when the delay amount reaches the set value, the driving is switched to the constant speed driving, whereby the time of each driving pulse given to the stepping motor 3 is kept long and the output torque of the stepping motor 3 is kept. Hold
It is possible to prevent step-out due to increased load.

【0031】こうして等速駆動に切り換えた後、加速部
テーブルの加速カウントが終了するまで、この実施例で
はカウンタの数値nが28に達するまで、制御回路1は
等速駆動を続ける(S−11,12)。このように、加
速駆動の途中で等速駆動に切り換えても、加速部テーブ
ルで定められていたステップ量を完了させるため、ステ
ッピングモータ3を、その決められた回転量を減らすこ
となく、目標とする回転位置に正しく到達させることが
できる。
After switching to the constant speed driving in this way, the control circuit 1 continues the constant speed driving until the acceleration count of the accelerating table is completed, or until the numerical value n of the counter reaches 28 in this embodiment (S-11). , 12). As described above, even if the driving is switched to the constant speed driving during the acceleration driving, the stepping amount determined by the accelerating unit table is completed, so that the stepping motor 3 is set to the target without reducing the determined rotation amount. The correct rotation position can be reached.

【0032】加速カウント終了後、制御回路1は等速部
テーブルによる等速駆動に移る(S−13)。この等速
駆動の工程においても、選択したスルーイングテーブル
の等速部テーブルのタイマー値を上記等速タイマー値に
置き換え、その等速タイマー値で、等速部テーブル上の
等速カウント総数分だけ等速駆動を行う。つまり上記加
速駆動の工程と同じ一定の制御速度ω2で、駆動を続け
ることになる。
After the completion of the acceleration count, the control circuit 1 shifts to the constant speed driving by the constant speed unit table (S-13). Even in this constant velocity driving process, the timer value of the constant velocity table of the selected slewing table is replaced with the above constant velocity timer value, and the constant velocity timer value is used for the total number of constant velocity counts on the constant velocity table. Drive at a constant speed. That is, the driving is continued at the same constant control speed ω2 as in the acceleration driving process.

【0033】シリアルプリンタの場合には、この等速駆
動によるキャリッジの定速送りの間に印字を行うことに
なる。よって、等速カウント数Nは、印字文字のドット
数と文字数とに応じて設定されている。
In the case of a serial printer, printing is performed during the constant speed feeding of the carriage by this constant speed driving. Therefore, the constant speed count number N is set according to the number of dots and the number of characters of the printed character.

【0034】上記等速カウント総数分の等速駆動が終了
した後、制御回路1は減速部テーブルによる減速駆動に
移り、先ず、減速部テーブルのカウンタの初期設定を行
って、カウンタの数値nをn=1に設定し(S−1
4)、続いて1カウント分の減速駆動に入る(S−1
5)。
After the constant velocity driving for the total number of constant velocity counting is completed, the control circuit 1 shifts to the deceleration driving by the deceleration unit table. First, the counter of the deceleration unit table is initialized to set the numerical value n of the counter. Set n = 1 (S-1
4), followed by deceleration drive for one count (S-1
5).

【0035】次いで制御回路1は、現在のカウントのタ
イマー値が、上記等速タイマー値より短いかどうかを判
断する(S−16)。短ければ、そのカウントのタイマ
ー値を等速タイマー値と同じ値に延長する(S−1
7)。従ってこの場合には、上記一定の制御速度ω2で
の駆動を続けることになる。また現在のカウントのタイ
マー値が等速タイマー値以上であれば、その減速部テー
ブル通りのタイマー値で駆動する。
Next, the control circuit 1 determines whether the current count timer value is shorter than the constant speed timer value (S-16). If it is short, the timer value of the count is extended to the same value as the constant speed timer value (S-1).
7). Therefore, in this case, the driving at the constant control speed ω2 is continued. If the current count timer value is equal to or greater than the constant speed timer value, the timer value according to the deceleration unit table is used for driving.

【0036】こうして制御回路1は、減速部テーブルの
減速カウントが終了するまで、この実施例ではカウンタ
の数値nが28に達するまで減速駆動を続け(S−1
8,19)、減速カウント終了後、ステッピングモータ
3を停止させる。
In this way, the control circuit 1 continues the deceleration driving until the deceleration count of the deceleration table is completed, until the value n of the counter reaches 28 in this embodiment (S-1).
(8, 19), the stepping motor 3 is stopped after the deceleration count is completed.

【0037】[0037]

【発明の効果】以上説明したとおり、本発明に係る駆動
制御方法によれば、加速駆動時に様々な要因により負荷
が増大した場合にも、ステッピングモータを脱調させる
ことなく正しく目標位置に到達させることができる。
As described above, according to the drive control method of the present invention, even when the load increases due to various factors during acceleration drive, the stepping motor can be correctly reached to the target position without stepping out. be able to.

【0038】またそのために、出力パワーの必要以上に
大きなステッピングモータを用いなくてもすみ、従って
開ループ制御によるコストメリットを保つことができ
る。
Therefore, it is not necessary to use a stepping motor having an output power larger than necessary, so that the cost advantage of the open loop control can be maintained.

【0039】その上、開ループ制御であるために、閉ル
ープ制御に比べて、制御回路の負担を軽減させることが
できる。
Moreover, since the open loop control is performed, the load on the control circuit can be reduced as compared with the closed loop control.

【0040】更に、本発明に係る駆動制御方法は、シリ
アルプリンタのキャリッジ送りや紙送り等に用いられる
ステッピングモータに限らず、駆動源として用いられる
あらゆるステッピングモータの駆動制御に適用すること
ができ、同様の効果を得ることができる。
Further, the drive control method according to the present invention can be applied to drive control of any stepping motor used as a drive source, not limited to stepping motors used for carriage feeding and paper feeding of serial printers. The same effect can be obtained.

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

【図1】本発明に係る駆動制御方法を実施するための駆
動制御装置のブロック図である。
FIG. 1 is a block diagram of a drive control device for implementing a drive control method according to the present invention.

【図2】駆動制御装置の制御回路の具体的な構成例を示
すブロック図である。
FIG. 2 is a block diagram showing a specific configuration example of a control circuit of the drive control device.

【図3】本発明に係る駆動制御方法を説明するフローチ
ャートである。
FIG. 3 is a flowchart illustrating a drive control method according to the present invention.

【図4】実施例におけるステッピングモータの目標速度
と実測速度と制御速度を示す特性図である。
FIG. 4 is a characteristic diagram showing a target speed, an actually measured speed, and a control speed of the stepping motor in the embodiment.

【図5】スルーイングテーブルの例を示す図で、(a)
は加速部テーブル、(b)は等速部テーブルである。
FIG. 5 is a diagram showing an example of a slewing table, (a)
Is an acceleration unit table, and (b) is a constant velocity unit table.

【図6】従来例における駆動制御装置のブロック図であ
る。
FIG. 6 is a block diagram of a drive control device in a conventional example.

【図7】従来例におけるステッピングモータの目標速度
を示す特性図である。
FIG. 7 is a characteristic diagram showing a target speed of a stepping motor in a conventional example.

【符号の説明】[Explanation of symbols]

1 制御回路 2 駆動回路 3 ステッピングモータ 4 エンコーダ 5 遅れ量検出回路 6 比較回路 1 control circuit 2 drive circuit 3 stepping motor 4 encoder 5 delay amount detection circuit 6 comparison circuit

───────────────────────────────────────────────────── フロントページの続き (51)Int.Cl.6 識別記号 庁内整理番号 FI 技術表示箇所 B41J 19/18 F H02P 8/38 (56)参考文献 特開 昭63−305796(JP,A) 特開 平1−114396(JP,A) 特開 昭63−305796(JP,A) 特開 平2−301469(JP,A) 特開 平3−49973(JP,A) 特開 昭62−230399(JP,A) 特開 昭52−147715(JP,A) 特公 昭60−10520(JP,B2) 特公 昭60−5157(JP,B2)─────────────────────────────────────────────────── ─── Continuation of the front page (51) Int.Cl. 6 Identification code Internal reference number FI technical indication location B41J 19/18 F H02P 8/38 (56) Reference JP-A-63-305796 (JP, A) JP-A-1-114396 (JP, A) JP-A-63-305796 (JP, A) JP-A-2-301469 (JP, A) JP-A-3-49973 (JP, A) JP-A-62-230399 (JP, A) JP 52-147715 (JP, A) JP 60-10520 (JP, B2) JP 60-5157 (JP, B2)

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】ステッピングモータを、スルーイングテー
ブルに基づく開ループ制御により、目標位置に回転させ
る駆動制御方法において、 ステッピングモータを、スルーイングテーブルの加速部
テーブルに従って加速駆動する工程で、その加速部テー
ブルによる指令回転位置に対する、ステッピングモータ
の回転位置の遅れ量を検出し、その遅れ量が、予め設定
した値に達した場合には、等速駆動に切り換え、その等
速駆動によって、上記加速部テーブルで定められていた
ステップ量を完了させることを特徴とするステッピング
モータの駆動制御方法。
1. A drive control method for rotating a stepping motor to a target position by open-loop control based on a slewing table. In a step of accelerating and driving the stepping motor according to an accelerating unit table of the slewing table, the accelerating unit thereof is used. The amount of delay of the rotational position of the stepping motor with respect to the commanded rotational position on the table is detected, and when the amount of delay reaches a preset value, switching to constant speed driving is performed, and the acceleration unit is driven by the constant speed driving. A drive control method for a stepping motor, characterized in that the step amount defined in the table is completed.
JP16072291A 1991-07-02 1991-07-02 Drive control method for stepping motor Expired - Lifetime JPH0828996B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP16072291A JPH0828996B2 (en) 1991-07-02 1991-07-02 Drive control method for stepping motor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP16072291A JPH0828996B2 (en) 1991-07-02 1991-07-02 Drive control method for stepping motor

Publications (2)

Publication Number Publication Date
JPH0515197A JPH0515197A (en) 1993-01-22
JPH0828996B2 true JPH0828996B2 (en) 1996-03-21

Family

ID=15721056

Family Applications (1)

Application Number Title Priority Date Filing Date
JP16072291A Expired - Lifetime JPH0828996B2 (en) 1991-07-02 1991-07-02 Drive control method for stepping motor

Country Status (1)

Country Link
JP (1) JPH0828996B2 (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO1999030411A1 (en) 1997-12-10 1999-06-17 Seiko Epson Corporation Stepper motor controlling device and method, and printer and information recording medium employing the same
JP2002273965A (en) * 2001-03-16 2002-09-25 Hitachi Koki Co Ltd Method of controlling shuttle of printer
KR20080085541A (en) * 2007-03-20 2008-09-24 삼성전자주식회사 Method for driving spindle motor in open loop control condition and disk drive using the same
JP6852563B2 (en) * 2017-05-25 2021-03-31 コニカミノルタ株式会社 Rotational motion control device, image forming device and rotary motion control method
JP7155653B2 (en) * 2018-06-22 2022-10-19 コニカミノルタ株式会社 Drive device, image forming device, and control program
CN111146986B (en) * 2019-12-30 2022-08-12 深圳市越疆科技有限公司 Position locating method and device of magnetic encoder, electronic equipment and computer readable storage medium

Also Published As

Publication number Publication date
JPH0515197A (en) 1993-01-22

Similar Documents

Publication Publication Date Title
US5008607A (en) Driving system for stepping motor
JPH0828996B2 (en) Drive control method for stepping motor
US4812059A (en) Printer apparatus with automatic gap adjusting mechanism
US5291114A (en) Method of and apparatus for controlling a sheet feeding motor used in a printer
EP0391730B1 (en) Method of and device for printer control
JP3800917B2 (en) Motor control device and storage medium
US5147143A (en) Printer carriage homing mechanism
JP3284553B2 (en) Serial printer
JP3050259B2 (en) Printing control device
JP3059118U (en) Stepping motor control device
JP3031063B2 (en) Printing device
JPH0958081A (en) Controlling device for stop of spacing motor
JP3323290B2 (en) Thermal transfer printer
JP2619059B2 (en) Serial printer
JP3059535U (en) Stepping motor control device
JPH07106659B2 (en) Carriage drive control method for serial printer
JPH01243893A (en) Step motor controller
JPH06284761A (en) Driving control method of servomotor
JPS60183997A (en) Drive controller for stepping motor
JPS60120081A (en) Carriage drive controller
JPH0531995A (en) Line feed motor control system of printer
JPS615967A (en) Printing timing control circuit
JPH08149887A (en) Drive method for stepping motor
JPH07329339A (en) Line type thermal printer, and sheet-feed motor driving method therefor
JP2619059C (en)