JP2508667B2 - Printing speed control method for serial printer - Google Patents

Printing speed control method for serial printer

Info

Publication number
JP2508667B2
JP2508667B2 JP61258496A JP25849686A JP2508667B2 JP 2508667 B2 JP2508667 B2 JP 2508667B2 JP 61258496 A JP61258496 A JP 61258496A JP 25849686 A JP25849686 A JP 25849686A JP 2508667 B2 JP2508667 B2 JP 2508667B2
Authority
JP
Japan
Prior art keywords
speed
carriage
motor
serial printer
printing
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
JP61258496A
Other languages
Japanese (ja)
Other versions
JPS63112181A (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.)
Oki Electric Industry Co Ltd
Original Assignee
Oki Electric Industry 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 Oki Electric Industry Co Ltd filed Critical Oki Electric Industry Co Ltd
Priority to JP61258496A priority Critical patent/JP2508667B2/en
Publication of JPS63112181A publication Critical patent/JPS63112181A/en
Application granted granted Critical
Publication of JP2508667B2 publication Critical patent/JP2508667B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Character Spaces And Line Spaces In Printers (AREA)

Description

【発明の詳細な説明】 (産業上の利用分野) 本発明はDCモータにより駆動され、プラテンに沿って
往復移動するキャリッジと、このキャリッジに搭載され
た印字ヘッドを有するシリアルプリンタのキャリッジの
移動速度すなわち、印字速度の制御方法に関する。
The present invention relates to a carriage driven by a DC motor and reciprocating along a platen, and a carriage moving speed of a serial printer having a print head mounted on the carriage. That is, the present invention relates to a printing speed control method.

(従来の技術) 第6図はシリアルプリンタの構成を示す平面図であ
る。同図において、61はプラテンで、図示しないステッ
プモータにより、このプラテンの軸を中心に回転させて
このプラテンに巻き付けられた印字用紙を送る。62はサ
イドプレート、63はサイドプレート62に固定されたシャ
フト、64はシャフト63に移動自在に取りつけられたキャ
リッジ、65はキャリッジ64に搭載された印字ヘッドであ
る。キャリッジ64には図示していないDCモータがワイ
ヤ、ベルトあるいはギアを介して連結されている。この
DCモータの回転により、キャリッジ64と一体に印字ヘッ
ド65がプラテン61に沿ってシャフト63上を移動すると共
に印字を行なう。また、図示していないが、このDCモー
タの回転軸には速度検出及び位置検出の手段としてスリ
ット円板が取り付けられ、フォトセンサがスリット円板
の回転を電気信号に変換して制御回路に送る。
(Prior Art) FIG. 6 is a plan view showing a configuration of a serial printer. In the figure, reference numeral 61 denotes a platen, which is rotated around an axis of the platen by a step motor (not shown) to feed the print paper wound around the platen. 62 is a side plate, 63 is a shaft fixed to the side plate 62, 64 is a carriage movably attached to the shaft 63, and 65 is a print head mounted on the carriage 64. A DC motor (not shown) is connected to the carriage 64 via a wire, a belt or a gear. this
The rotation of the DC motor causes the print head 65 to move integrally with the carriage 64 along the platen 61 on the shaft 63 and perform printing. Although not shown, a slit disk is attached to the rotary shaft of this DC motor as a means for speed detection and position detection, and a photo sensor converts the rotation of the slit disk into an electric signal and sends it to a control circuit. .

従来、上記のようなシリアルプリンタのキャリッジの
移動速度すなわち、印字速度の制御方法は第7図のよう
なフィードバックループによって行なわれるものであっ
た。同図において、この方式では先ず、加算器で指令値
Cと速度検出器により検出された速度Sの符号反転させ
て加算計算される。そして、この算出結果は増幅器によ
り増幅されてDCモータに与えられ、DCモータの回転速度
即ちキャリッジの移動速度を一定に制御する。
Conventionally, the control method of the moving speed of the carriage of the serial printer, that is, the printing speed as described above has been performed by the feedback loop as shown in FIG. In this figure, in this method, first, the adder calculates the addition by inverting the sign of the command value C and the speed S detected by the speed detector. Then, the calculation result is amplified by the amplifier and given to the DC motor, and the rotation speed of the DC motor, that is, the moving speed of the carriage is controlled to be constant.

ここで、キャリッジの目標移動速度をv0,キャリッジ
の動摩擦をF、増幅器のゲインをGとすると、 (C−v0)×G=F となる。指令値Cは C=F/G+v0 となって、目標移動速度v0よりF/Gだけ大きな値をと
る。もし、ゲインGを十分に大きくとればF/Gは無視で
きる値となり、C=v0とすることができるが実際にはゲ
インGを大きくしていくと回路系は不安定になって振動
して制御不能となる。そこで。回路系が安定に動作する
最大のゲインGを選んでもF/Gは無視できない。よっ
て、指令値Cを決定するために、従来は多数のプリンタ
に様々な指令値を与えて印字させ、最も目標速度に近い
印字速度を達成する指令値を統計的に選ぶという方法が
取られてきた。
Here, if the target moving speed of the carriage is v 0 , the dynamic friction of the carriage is F, and the gain of the amplifier is G, then (C−v 0 ) × G = F. The command value C becomes C = F / G + v 0 , which is a value larger than the target moving speed v 0 by F / G. If gain G is made sufficiently large, F / G becomes a negligible value, and C = v 0 can be set. However, as gain G is increased, the circuit system becomes unstable and vibrates. Out of control. Therefore. F / G cannot be ignored even if the maximum gain G that the circuit system operates stably is selected. Therefore, in order to determine the command value C, conventionally, a method of giving various command values to a large number of printers for printing and statistically selecting the command value that achieves the printing speed closest to the target speed has been adopted. It was

(発明が解決しようとする問題点) しかしながら、上記従来の方法では指令値を決定する
ために用いた多数のプリンタ毎にキャリッジやキャリッ
ジを支えるシャフト等の寸法誤差によって、動摩擦Fが
各々異なるため、DCモータの回転速度即ちキャリッジの
移動速度がプリンタ毎に異なってしまい、強いては所望
の印字速度が得られないという問題点があった。
(Problems to be Solved by the Invention) However, in the above-described conventional method, the dynamic friction F is different due to the dimensional error of the carriage, the shaft supporting the carriage, and the like for each of the large number of printers used to determine the command value. The rotation speed of the DC motor, that is, the moving speed of the carriage, varies from printer to printer, and there is a problem in that the desired printing speed cannot be obtained.

本発明はこれらの問題点を解決するためのもので、所
望の印字速度を確保できるシリアルプリンタの印字速度
制御方法を提供することを目的とする。
The present invention is intended to solve these problems, and an object of the present invention is to provide a printing speed control method for a serial printer that can secure a desired printing speed.

(問題点を解決するための手段) 本発明は前記問題点を解決するために、DCモータによ
って駆動され、プラテンに沿って往復移動するキャリッ
ジと、このキャリッジに搭載された印字ヘッドを有する
シリアルプリンタにおいて、シリアルプリンタの電源投
入直後に行なわれる印字ヘッドの印字位置の原点出しの
動作時であってキャリッジが定速動作を行っている間
に、DCモータに供給した電流の平均値を算出してこの平
均値を基にDCモータの電流オフセット量を決定するステ
ップと、以後通常の印字動作時にDCモータに前記ステッ
プで求めた電流オフセット量を供給してキャリッジの移
動によって発生する動摩擦に伴なう印字速度の変動を制
御するステップからなる方法である。
(Means for Solving Problems) In order to solve the above problems, the present invention relates to a serial printer having a carriage driven by a DC motor and reciprocating along a platen, and a print head mounted on the carriage. In, the average value of the current supplied to the DC motor was calculated while the carriage was operating at the constant speed during the home search operation of the print head immediately after the serial printer was powered on. The step of determining the current offset amount of the DC motor based on this average value and the subsequent current friction amount generated in the above step are supplied to the DC motor during the normal printing operation, which is accompanied by the dynamic friction generated by the movement of the carriage. It is a method including a step of controlling fluctuations in printing speed.

(作用) 以上のようなステップからなる本発明の方法によれ
ば、シリアルプリンタの電源投入直後、シリアルプリン
タの印字ヘッドは印字動作に要する印字位置の原点出し
の動作を行なう。この動作時であって、キャリッジが定
速動作を行なっている間に、DCモータに供給した電流の
平均値を算出してこの平均値を基にDCモータの電流オフ
セット量を決定する。そして、これ以後の通常印字動作
時ではDCモータに電流オフセット量を供給する。これに
よって、キャリッジの移動によって発生する動摩擦に伴
なう印字速度の変動は制御される。
(Operation) According to the method of the present invention including the above steps, immediately after the power of the serial printer is turned on, the print head of the serial printer performs the origin of the printing position required for the printing operation. During this operation, while the carriage is performing the constant speed operation, the average value of the current supplied to the DC motor is calculated, and the current offset amount of the DC motor is determined based on this average value. Then, during the subsequent normal printing operation, the current offset amount is supplied to the DC motor. As a result, the fluctuation of the printing speed due to the dynamic friction generated by the movement of the carriage is controlled.

したがって、本発明は前記問題点を解決でき、所望の
印字速度を確保できるシリアルプリンタの印字速度制御
方法を提供できる。
Therefore, the present invention can solve the above problems and provide a printing speed control method for a serial printer that can secure a desired printing speed.

(実施例) 以下、本発明の一実施例を図面に基づいて説明する。(Embodiment) An embodiment of the present invention will be described below with reference to the drawings.

はじめに、シリアルプリンタのDCモータの回転速度を
制御するシステムを説明する。
First, a system for controlling the rotation speed of the DC motor of the serial printer will be described.

第2図はシリアルプリンタのDCモータの回転速度制御
システムを示すブロック図である。同図において、制御
用のCPU1にはバス9を介して制御プログラムを格納して
あるROM2、制御情報を記憶するRAM3、CPU1に指令された
ディジタル値を電流に変換してDCモータ6を駆動するた
めのDAコンバータ4及びフォトセンサ8からの信号の変
化の時間間隔を計測している速度検出回路5が接続され
ている。
FIG. 2 is a block diagram showing a rotation speed control system of a DC motor of a serial printer. In the figure, the control CPU 1 has a ROM 2 for storing a control program via a bus 9, a RAM 3 for storing control information, a digital value instructed to the CPU 1 is converted into a current, and a DC motor 6 is driven. For this purpose, a speed detection circuit 5 for measuring the time interval of the change of signals from the DA converter 4 and the photo sensor 8 is connected.

このようなシステム構成において、CPU1は本発明の一
実施例を示す第1図のような回路の動作に相当する演算
処理を施す。すなわち、後述するが電源を投入した直後
に行なわれる印字位置の原点出しを行なう際であってキ
ャリッジが定速動作を行なっている間に、キャリッジの
動摩擦を自動的に測定し、測定した動摩擦に相当する電
流を動摩擦オフセット量としてDCモータに与えることに
より、速度のバラツキをなくすようにしたものである。
In such a system configuration, the CPU 1 performs arithmetic processing corresponding to the operation of the circuit shown in FIG. 1 showing an embodiment of the present invention. That is, as will be described later, when the origin of the printing position is set immediately after the power is turned on, and the dynamic friction of the carriage is automatically measured while the carriage is operating at a constant speed, the measured dynamic friction is calculated. By applying a corresponding current to the DC motor as a dynamic friction offset amount, variations in speed are eliminated.

次に、シリアルプリンタの動摩擦の測定方法について
説明する。
Next, a method of measuring the dynamic friction of the serial printer will be described.

先ず、この動摩擦測定はプリンタの電源を投入した直
後に印字位置の原点出しを行なう際に行なわれる。この
原点出し時の印字ヘッドを搭載したキャリッジの移動及
びその移動速度の変位を示す第3図(a),(b)から
わかるように、所定の距離を所定の一定速度である目標
速度で動かし、その間にDAコンバータに書き込まれた値
を平均して前記動摩擦オフセット量を求める。すなわ
ち、この動摩擦オフセット量は動摩擦を力の単位で求め
るのではなく、動摩擦と釣り合う力をDCモータに与える
ためのDAコンバータに書き込む値である。
First, this dynamic friction measurement is performed when the origin of the printing position is set immediately after the power of the printer is turned on. As can be seen from FIGS. 3 (a) and 3 (b) showing the movement of the carriage equipped with the print head and the displacement of its movement speed when the origin is set, a predetermined distance is moved at a target speed which is a predetermined constant speed. During that time, the values written in the DA converter are averaged to obtain the dynamic friction offset amount. That is, this dynamic friction offset amount is a value written in the DA converter for giving a force that balances the dynamic friction to the DC motor, instead of obtaining the dynamic friction in units of force.

この動摩擦オフセット量の算出方法を第4図に示すフ
ローチャートに従って説明する。なお、後述する各レジ
スタは全て第2図のRAM3の中にあるものとする。
A method of calculating the dynamic friction offset amount will be described with reference to the flowchart shown in FIG. It is assumed that all the registers described later are in the RAM 3 shown in FIG.

先ず、ステップ101では初期設定として第2図のDAコ
ンバータ4に書き込む値の平均を求める為のTOTALレジ
スタをクリアする。次に、ステップ102では第2図のフ
ォトセンサ8からのパルス間隔を測定する事により第2
図のDCモータ6の速度を検出している第2図の速度検出
回路5より速度データを読み込みステップ103で目標速
度との差を計算し、RAM3内の速度差レジスタに書き込
む。ステップ104では速度差にゲインを掛けた値を第2
図のDAコンバータ4に書き込む。ステップ2からステッ
プ4までは従来と同じ方式によるモータの速度制御を行
なっている。さらに、ステップ105では第2図のDAコン
バータ4に書き込んだ値がTOTALレジスタに足し込まれ
る。ステップ102からステップ105までの処理がN回繰返
された結果、TOTALレジスタには第2図のDAコンバータ
4に書き込まれた値の総和が格納される。この総和がス
テップ107でサンプル回数Nで割られ、平均値が求めら
れ、動摩擦オフセットレジスタに書き込む。
First, in step 101, the TOTAL register for obtaining the average of the values written in the DA converter 4 of FIG. 2 is cleared as an initial setting. Next, in step 102, the second pulse is measured by measuring the pulse interval from the photo sensor 8 of FIG.
The speed data is read from the speed detection circuit 5 in FIG. 2 which detects the speed of the DC motor 6 in the figure, the difference from the target speed is calculated in step 103, and the difference is written in the speed difference register in the RAM 3. In step 104, the value obtained by multiplying the speed difference by the gain is
Write to DA converter 4 in the figure. From step 2 to step 4, the speed control of the motor is performed by the same method as the conventional method. Further, in step 105, the value written in the DA converter 4 in FIG. 2 is added to the TOTAL register. As a result of repeating the processes from step 102 to step 105 N times, the total sum of the values written in the DA converter 4 in FIG. 2 is stored in the TOTAL register. This total is divided by the number of times of sampling N in step 107 to obtain an average value, which is written in the dynamic friction offset register.

こうして決定された動摩擦オフセットレジスタの内容
に従って後述する速度制御が行なわれる。
Speed control, which will be described later, is performed according to the contents of the dynamic friction offset register thus determined.

次に、上記算出方法を介して算出された動摩擦オフセ
ットレジスタの内容、すなわち動摩擦オフセット量を用
いた印字時の速度制御方法を第5図に示すフローチャー
トに従って説明する。
Next, the content of the dynamic friction offset register calculated by the above calculation method, that is, the speed control method at the time of printing using the dynamic friction offset amount will be described with reference to the flowchart shown in FIG.

先ず、ステップ201で、第2図の速度検出回路5から
速度データを読み込み、ステップ202で目標速度との差
を計算し、速度差レジスタに書き込む。ステップ203で
は速度差にゲインを掛けた値を求める。そして、ステッ
プ204ではステップ203で求めた積に上述した方法により
求められた動摩擦オフセット量を加え、ステップ205で
加算値を第2図のDAコンバータ4に書き込まれる。
First, in step 201, speed data is read from the speed detection circuit 5 of FIG. 2, and in step 202 the difference from the target speed is calculated and written in the speed difference register. In step 203, a value obtained by multiplying the speed difference by the gain is obtained. Then, at step 204, the dynamic friction offset amount obtained by the above method is added to the product obtained at step 203, and the added value is written to the DA converter 4 of FIG. 2 at step 205.

したがって以上のような方法によって求められた動摩
擦オフセット量が第1図の増幅器の出力に加えられて第
1図のDCモータの回転速度、すなわちキャリッジの移動
速度を一定に制御できる。
Therefore, the dynamic friction offset amount obtained by the above method is added to the output of the amplifier shown in FIG. 1 to control the rotation speed of the DC motor shown in FIG. 1, that is, the carriage moving speed to be constant.

(発明の効果) 以上説明したように、本発明によれば、プリンタのキ
ャリッジやシャフトの寸法誤差などによる動摩擦のバラ
ツキを吸収するDCモータのオフセット量を決定してDCモ
ータの回転速度を制御することにより、各プリンタの所
望の印字速度を確保できるシリアルプリンタの印字速度
制御方法を提供できる。
(Effect of the Invention) As described above, according to the present invention, the offset amount of the DC motor that absorbs the variation in the dynamic friction due to the dimensional error of the carriage or shaft of the printer is determined to control the rotation speed of the DC motor. As a result, it is possible to provide a printing speed control method for a serial printer that can secure a desired printing speed for each printer.

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

第1図は本発明の一実施例を示す回路図、第2図はシリ
アルプリンタのDCモータの回転速度制御システムを示す
図、第3図は印字ヘッドの移動及び移動速度の変位を示
す図、第4図は動摩擦オフセット量の算出手順を示すフ
ローチャート、第5図は印字時の印字速度制御手順を示
すフローチャート、第6図はシリアルプリンタの構成を
示す平面図、第7図は従来の印字速度制御回路を示す回
路図である。 61……プラテン、62……サイドプレート、63……シャフ
ト、64……キャリッジ、65……印字ヘッド。
1 is a circuit diagram showing an embodiment of the present invention, FIG. 2 is a diagram showing a rotation speed control system of a DC motor of a serial printer, FIG. 3 is a diagram showing movement of a print head and displacement of the movement speed, FIG. 4 is a flow chart showing a procedure for calculating the dynamic friction offset amount, FIG. 5 is a flow chart showing a print speed control procedure at the time of printing, FIG. 6 is a plan view showing the configuration of the serial printer, and FIG. 7 is a conventional print speed. It is a circuit diagram which shows a control circuit. 61 …… Platen, 62 …… Side plate, 63 …… Shaft, 64 …… Carriage, 65 …… Print head.

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】DCモータによって駆動され、プラテンに添
って往復移動するキャリッジと、該キャリッジに搭載さ
れた印字ヘッドを有するシリアルプリンタにおいて、 該シリアルプリンタの電源投入直後に行なわれる前記印
字ヘッドの印字位置の原点出しの動作時であって前記キ
ャリッジが定速動作を行っている間に、前記DCモータに
供給した電流の平均値を算出して該平均値を基に前記DC
モータの電流オフセット量を決定し、 以後の印字動作時に、前記DCモータに前記電流オフセッ
ト量を供給して前記キャリッジの移動によって発生する
動摩擦に伴なう印字速度の変動を制御することを特徴と
するシリアルプリンタの印字速度制御方法。
1. A serial printer having a carriage driven by a DC motor and reciprocating along a platen, and a print head mounted on the carriage, wherein printing of the print head is performed immediately after power-on of the serial printer. While the carriage is performing a constant speed operation in the position origin operation, the average value of the current supplied to the DC motor is calculated, and the DC value is calculated based on the average value.
The current offset amount of the motor is determined, and during the subsequent printing operation, the current offset amount is supplied to the DC motor to control the fluctuation of the printing speed due to the dynamic friction generated by the movement of the carriage. Print speed control method for serial printer.
JP61258496A 1986-10-31 1986-10-31 Printing speed control method for serial printer Expired - Lifetime JP2508667B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP61258496A JP2508667B2 (en) 1986-10-31 1986-10-31 Printing speed control method for serial printer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP61258496A JP2508667B2 (en) 1986-10-31 1986-10-31 Printing speed control method for serial printer

Publications (2)

Publication Number Publication Date
JPS63112181A JPS63112181A (en) 1988-05-17
JP2508667B2 true JP2508667B2 (en) 1996-06-19

Family

ID=17321015

Family Applications (1)

Application Number Title Priority Date Filing Date
JP61258496A Expired - Lifetime JP2508667B2 (en) 1986-10-31 1986-10-31 Printing speed control method for serial printer

Country Status (1)

Country Link
JP (1) JP2508667B2 (en)

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS59114086A (en) * 1982-12-22 1984-06-30 Fujitsu Ltd Space-controlling system for printing head
JPS61146577A (en) * 1984-12-20 1986-07-04 Canon Inc Recorder

Also Published As

Publication number Publication date
JPS63112181A (en) 1988-05-17

Similar Documents

Publication Publication Date Title
US6600286B2 (en) Motor control device and motor control method
US4353020A (en) Impact printer programmed servo system
KR920002347B1 (en) Velocity control system
US6116795A (en) Paper feed control method
JP2508667B2 (en) Printing speed control method for serial printer
JPS6337595B2 (en)
JP3027974B2 (en) Automatic platen gap adjustment device for printer
JP2000196806A (en) Image processor and its control method, information reader, recorder, information read method, and storage medium
JPS6336236B2 (en)
JP2841597B2 (en) Printer paper feed control device
JPS622996B2 (en)
JPS632796B2 (en)
JPS6217170B2 (en)
US4977409A (en) Recorder with automatic scale recording device
JP3284553B2 (en) Serial printer
JPH0157743B2 (en)
JP3386825B2 (en) Printer control device
EP0214804A2 (en) A continuous stationery print control system
JPH034118U (en)
JPH0110777Y2 (en)
JPH06297786A (en) Recording apparatus
JPS61146577A (en) Recorder
JP2000296946A (en) Paper thickness measuring method for printer
JP2998771B2 (en) Card print position setting method and apparatus in time clock
JPS5615374A (en) Correcting control device for printing position in printer