JPH11245470A - Method and apparatus for controlling printing of printer - Google Patents

Method and apparatus for controlling printing of printer

Info

Publication number
JPH11245470A
JPH11245470A JP5219398A JP5219398A JPH11245470A JP H11245470 A JPH11245470 A JP H11245470A JP 5219398 A JP5219398 A JP 5219398A JP 5219398 A JP5219398 A JP 5219398A JP H11245470 A JPH11245470 A JP H11245470A
Authority
JP
Japan
Prior art keywords
carriage
print
command signal
print command
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.)
Granted
Application number
JP5219398A
Other languages
Japanese (ja)
Other versions
JP3593873B2 (en
Inventor
Norio Horaguchi
範夫 洞口
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.)
Seiko Epson Corp
Original Assignee
Seiko Epson Corp
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 Seiko Epson Corp filed Critical Seiko Epson Corp
Priority to JP5219398A priority Critical patent/JP3593873B2/en
Publication of JPH11245470A publication Critical patent/JPH11245470A/en
Application granted granted Critical
Publication of JP3593873B2 publication Critical patent/JP3593873B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Dot-Matrix Printers And Others (AREA)
  • Character Spaces And Line Spaces In Printers (AREA)

Abstract

PROBLEM TO BE SOLVED: To secure high printing quality to make constant a distance between printed dots even in an overshoot phenomenon by controlling to correct a generation timing for printing command signals to meet a speed deviation of a carriage at a constant speed area caused when a traction member is compressed and expanded. SOLUTION: A delay time (td, td+1......) is individually corrected based on a reference pulse which is a cycle T of driving pulses fed from a motor control part 14 to a stepping motor 5. A printing command signal is thus generated. That is, a generation timing for the printing command signals is controlled to be tight to meet an overshoot and to be loose to meet an undershoot following the overshoot. The generation timing for the printing command signals is adjusted in accordance with a movement speed of a carriage, so that deterioration in printing quality due to the overshoot and undershoot is prevented.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、例えばシリアルド
ットプリンタのように印字ヘッドを往復移動させつつ印
字を行うプリンタに適用され、特に印字品質を高度に保
つことができる印字制御方法および印字制御装置に関す
るものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention is applied to a printer which performs printing while reciprocating a print head, such as a serial dot printer, and more particularly to a printing control method and a printing control device capable of maintaining high printing quality. It is about.

【0002】[0002]

【従来の技術】ドットマトリックスで文字あるいはビッ
トイメージを印刷するプリンタにおいて、シリアルタイ
プのプリンタはコストパーフォマンスが優れているため
に広く普及している。シリアルドットプリンタの中でも
代表的なワイヤドットプリンタにおいては、キャリッジ
モータの駆動力により印字ヘッドを搭載したキャリッジ
を印字行方向に往復駆動させると共に、印字指令信号に
よって印字ヘッドに配置されたドットワイヤを突出させ
ることで、印刷用紙上に印字を行うようにされている。
2. Description of the Related Art Among printers for printing characters or bit images in a dot matrix, a serial type printer is widely used because of its excellent cost performance. Among typical serial dot printers, a wire dot printer typically drives a carriage on which a print head is mounted in a reciprocating manner in a print line direction by a driving force of a carriage motor, and protrudes a dot wire arranged on the print head by a print command signal. By doing so, printing is performed on printing paper.

【0003】そして、従来のこの種のプリンタにおいて
は、印字ヘッドを搭載したキャリッジが、プラテンの長
手方向と平行に配置されたガイド軸に沿って移動できる
ように構成され、キャリッジ駆動モータによって駆動さ
れる牽引部材としてのタイミングベルトを介してガイド
軸上を往復移動されるように構成されている。
In a conventional printer of this type, a carriage on which a print head is mounted is configured to be movable along a guide shaft arranged in parallel with the longitudinal direction of a platen, and is driven by a carriage drive motor. It is configured to be reciprocated on a guide shaft via a timing belt as a pulling member.

【0004】このような構成によるために、印字に際し
てキャリッジをガイド軸の一端側から他端側に移動させ
る場合においては、キャリッジは停止状態から一定速度
まで加速する加速領域、目標速度で定速走行する定速領
域、一定速度から停止状態に至る減速領域を経ることに
なる。
Due to such a configuration, when the carriage is moved from one end of the guide shaft to the other end during printing, the carriage travels at a constant speed at a target speed, in an acceleration region where the carriage is accelerated from a stopped state to a constant speed. Through a constant speed region, and a deceleration region from a constant speed to a stop state.

【0005】この場合、製品コストや製品の外形寸法等
を考慮すると、キャリッジモータとして極端に大トルク
特性を有するモータを使用することもできず、したがっ
てキャリッジの摺動負荷やベルトプーリの回転負荷等に
より、キャリッジの加速に必要な距離よりも減速に必要
な距離の方が短い。したがって経過時間に対するキャリ
ッジの移動速度の関係は大略図7に示したようになる。
In this case, in consideration of the product cost and the external dimensions of the product, it is impossible to use a motor having extremely large torque characteristics as a carriage motor. Accordingly, the distance required for deceleration is shorter than the distance required for accelerating the carriage. Accordingly, the relationship between the elapsed time and the moving speed of the carriage is substantially as shown in FIG.

【0006】そして、従来のこの種のプリンタにおいて
は、その印字動作はキャリッジが目標速度で定速走行し
ている状態においてのみ行うようにされていた。しかし
ながら、定速走行時においてのみ印字を実行する場合に
おいては印字に要する時間が大きくなり、スループット
を向上させることができないという問題を抱えていた。
そこで、キャリッジが停止状態から一定速度まで加速し
ている途中より印字を開始(加速印字)し、またこれに
加えて一定速度から停止状態まで減速している途中まで
印字動作(減速印字)を行うようにされた印字制御の手
段も提案されている。
[0006] In this type of conventional printer, the printing operation is performed only when the carriage is running at a target speed at a constant speed. However, when printing is performed only at the time of running at a constant speed, the time required for printing increases, and there is a problem that the throughput cannot be improved.
Therefore, printing is started (accelerated printing) while the carriage is accelerating from a stopped state to a certain speed, and in addition to this, a printing operation (decelerated printing) is performed while the carriage is decelerating from a certain speed to a stopped state. A printing control means configured as described above has also been proposed.

【0007】前記した加速印字および減速印字を実行す
る場合には、キャリッジが移動する距離がキャリッジの
移動速度によって異なるため、この状態において印字動
作を行うとドット間隔が一定とならないという問題が生
ずる。そこでこのように構成されたプリンタにおいて
は、加速領域および減速領域における移動速度が順次変
化する状態において、印刷用紙に対する印字のドット間
隔が一定となるように、印字ヘッドに与える印字指令信
号を調整するようにされている。
When the above-described accelerated printing and decelerated printing are performed, the distance that the carriage moves depends on the moving speed of the carriage. Therefore, if the printing operation is performed in this state, there is a problem that the dot interval is not constant. Therefore, in the printer configured as described above, in a state where the moving speed in the acceleration region and the moving speed in the deceleration region are sequentially changed, the print command signal given to the print head is adjusted so that the dot interval of printing on the printing paper is constant. It has been like that.

【0008】[0008]

【発明が解決しようとする課題】ところで、印字ヘッド
を搭載したキャリッジは前記したとおりタイミングベル
トを介して往復移動させるため、このタイミングベルト
が保有するバネ成分により若干の伸縮作用が発生する。
図8はキャリッジ駆動機構を簡単にモデル化して示した
ものであり、同図(a)はタイミングベルトにバネ成分
がなくキャリッジが理想的に駆動されている状態を、ま
た同図(b)はタイミングベルトにバネ成分がありキャ
リッジが矢印の方向に駆動されている状態を示してい
る。なお図中5はキャリッジ駆動モータを示し、8はモ
ータ5の駆動軸に取り付けられた駆動プーリ6と従動プ
ーリ7との間にかけ渡されたタイミングベルトを示し、
また1はタイミングベルト8により牽引されるキャリッ
ジ2に搭載された記録ヘッドを示している。
Since the carriage on which the print head is mounted reciprocates via the timing belt as described above, a slight expansion and contraction action occurs due to the spring component of the timing belt.
8A and 8B show a simplified model of the carriage driving mechanism. FIG. 8A shows a state in which the timing belt has no spring component and the carriage is ideally driven, and FIG. This shows a state in which the timing belt has a spring component and the carriage is driven in the direction of the arrow. In the drawing, reference numeral 5 denotes a carriage drive motor, 8 denotes a timing belt stretched between a drive pulley 6 attached to a drive shaft of the motor 5 and a driven pulley 7,
Reference numeral 1 denotes a recording head mounted on the carriage 2 pulled by the timing belt 8.

【0009】図8(b)に示すように加速領域において
は、タイミングベルト8の牽引側(キャリッジの進行方
向側)に存在するバネ成分Sp1により牽引側がΔEだ
け伸びた(同時に逆側のベルトのバネ成分Sp2が縮
む)状態でキャリッジが牽引される。また定速領域に入
った場合にはキャリッジを含む駆動系の質量が持つ加速
度により、牽引側のバネ成分Sp1が縮む(同時に逆側
のベルトのバネ成分Sp2が伸びる)現象が発生し、こ
の伸び縮みが交互に発生しつつ目標の定速速度に集束す
るというオーバシュートおよびアンダシュートの現象が
発生することとなる。
As shown in FIG. 8B, in the acceleration region, the traction side is extended by ΔE due to the spring component Sp1 existing on the traction side (the traveling direction of the carriage) of the timing belt 8 (at the same time, the belt on the opposite side is shifted). The carriage is pulled in a state where the spring component Sp2 is contracted). Further, when the vehicle enters the constant speed region, a phenomenon occurs in which the spring component Sp1 on the traction side contracts (at the same time, the spring component Sp2 of the belt on the opposite side expands) due to the acceleration of the mass of the drive system including the carriage. Overshoot and undershoot phenomena of converging to a target constant speed while shrinkage occur alternately occur.

【0010】図9は、この現象を図式化したものであ
り、図9(a)はキャリッジの往動動作における状態を
示している。すなわち、キャリッジは往路における停止
状態から一定速度まで加速する加速領域Aを経て、目標
速度で定速走行する定速領域Bに移行する。この定速領
域Bに入った頭初において前記した作用によりオーバシ
ュートOSが発生し、これに続いてアンダシュートも発
生する。そして除々にこれが吸収され、その後一定速度
から停止状態に至る減速領域Cを経ることになる。なお
この減速領域Cの頭初においてもオーバシュート現象が
発生することとなるが図には示していない。
FIG. 9 schematically illustrates this phenomenon, and FIG. 9A shows a state of the carriage in a forward movement operation. In other words, the carriage shifts from the stopped state in the forward path to the constant speed area B in which the carriage travels at the target speed at a constant speed via the acceleration area A in which the carriage accelerates to a constant speed. At the beginning when the vehicle enters the constant speed region B, an overshoot OS is generated by the above-described operation, and an undershoot is subsequently generated. Then, this is gradually absorbed, and thereafter, the vehicle passes through a deceleration region C from a constant speed to a stop state. Although an overshoot phenomenon occurs at the beginning of the deceleration region C, it is not shown in the drawing.

【0011】また図9(b)はキャリッジの復動動作に
おける状態を示している。この復路においても前記と同
様に、キャリッジは停止状態から一定速度まで加速する
加速領域Cを経て、目標速度で定速走行する定速領域D
に移行する。この定速領域Dに入った頭初においてオー
バシュートOSが発生し、除々にこれが吸収され、その
後一定速度から停止状態に至る減速領域Eを経ることに
なり、この往復が繰り返されることになる。なおこの減
速領域Eの頭初においても同様にオーバシュート現象が
発生することとなるが図には示していない。
FIG. 9B shows a state in which the carriage is moved backward. In the same way as described above, the carriage travels through the acceleration region C in which the carriage is accelerated from the stopped state to a constant speed, and then travels at a constant speed at the target speed.
Move to Overshoot OS occurs at the beginning of the constant speed region D, is gradually absorbed, and then passes through a deceleration region E from a constant speed to a stop state, and this reciprocation is repeated. Note that an overshoot phenomenon also occurs at the beginning of the deceleration region E, but is not shown in the drawing.

【0012】前記したオーバシュートおよびアンダシュ
ートの度合は、書式データに応じてキャリッジの出発点
が変わる場合において、前記した有効バネ成分(Sp
1,Sp2)の定数が変化し、これに応じてオーバ(ア
ンダ)シュートの上下幅およびサイクルが変化する。ま
たキャリッジの往動動作と復動動作においてもその形態
は変化する。このようなオーバ(アンダ)シュートが発
生している状態においては、当然ながらキャリッジの速
度が一定せず、印字のドット間隔が不規則となって印字
品質を低下させるという問題が発生する。
The degree of the overshoot and undershoot is determined by the effective spring component (Sp) when the starting point of the carriage changes according to the format data.
1, Sp2) changes, and the vertical width and cycle of the over (under) shoot change accordingly. The form also changes in the forward movement and the backward movement of the carriage. In a state in which such an over (under) shoot occurs, the speed of the carriage is naturally not constant, and the dot interval of printing becomes irregular, thereby causing a problem that the printing quality is deteriorated.

【0013】本発明は、このような点に着目して成され
たものであり、前記したオーバ(アンダ)シュート現象
の発生においても印字のドット間隔が一定となるように
制御し、高い印字品質を確保することができる印字制御
方法および印字制御装置を提供することを目的とするも
のである。
The present invention has been made by paying attention to such a point, and controls the printing dot interval to be constant even when the above-mentioned over (under) shoot phenomenon occurs, thereby achieving high printing quality. It is an object of the present invention to provide a print control method and a print control device that can ensure the print quality.

【0014】[0014]

【課題を解決するための手段】前記した目的を達成する
ためになされた本発明にかかるプリンタの印字制御方法
は、印字ヘッドを搭載したキャリッジを牽引部材を介し
てキャリッジ駆動モータの駆動力により往復駆動させる
と共に、前記印字ヘッドに対して印字指令信号を供給す
るようにされたプリンタの印字制御方法であって、前記
キャリッジが牽引部材に牽引されて加速領域から定速領
域に移行した場合において、前記牽引部材の伸縮によっ
て生ずる定速領域においてのキャリッジの速度偏差に対
応させて、前記印字指令信号の発生タイミングを補正制
御するようになされる。
A printing control method for a printer according to the present invention, which has been made to achieve the above-mentioned object, comprises a method of reciprocating a carriage on which a print head is mounted by a driving force of a carriage driving motor via a pulling member. A print control method for a printer which is driven and supplies a print command signal to the print head, wherein when the carriage is pulled by a traction member and shifts from an acceleration region to a constant speed region, The generation timing of the print command signal is corrected and controlled in accordance with the speed deviation of the carriage in the constant speed region caused by the expansion and contraction of the traction member.

【0015】そして、前記キャリッジの往動動作および
復動動作のそれぞれにおいて双方向に印字を行う場合に
おいては、前記キャリッジが往動定速領域に移行した場
合のキャリッジの速度偏差に対応させた印字指令信号の
発生タイミングの補正と、前記キャリッジが復動定速領
域に移行した場合のキャリッジの速度偏差に対応させた
印字指令信号の発生タイミングの補正とを各別に実行す
るようにされる。
In the case where bidirectional printing is performed in each of the forward movement operation and the backward movement operation of the carriage, printing corresponding to a speed deviation of the carriage when the carriage shifts to the forward constant speed region. The correction of the generation timing of the command signal and the correction of the generation timing of the print command signal corresponding to the speed deviation of the carriage when the carriage shifts to the backward movement constant speed region are separately executed.

【0016】さらに、本発明にかかるプリンタの印字制
御方法によると前記キャリッジの定速領域への移行位置
に応じて、前記印字指令信号の発生タイミングを補正制
御するようにもなされる。
Further, according to the print control method of the printer according to the present invention, the generation timing of the print command signal is corrected and controlled in accordance with the transition position of the carriage to the constant speed area.

【0017】また、本発明にかかるプリンタの印字制御
装置は、印字ヘッドを搭載したキャリッジを牽引部材を
介してキャリッジ駆動モータの駆動力により往復駆動さ
せると共に、前記印字ヘッドに対して印字指令信号を供
給するようにされたプリンタの印字制御装置であって、
キャリッジ駆動モータに対してモータ駆動用のパルス信
号を供給するモータ制御部と、キャリッジ駆動モータの
運動に同期して前記印字ヘッドに対して印字指令信号を
供給する印字指令信号発生部と、前記キャリッジが加速
領域から定速領域に移行したタイミングを判定すると共
に、キャリッジが定速領域に移行した場合において印字
指令信号発生部により発生する印字指令信号の発生タイ
ミングを補正する補正手段とが具備される。
The printing control device for a printer according to the present invention drives a carriage on which a print head is mounted to reciprocate by a driving force of a carriage drive motor via a traction member, and sends a print command signal to the print head. A print control device of a printer adapted to supply,
A motor control unit that supplies a pulse signal for driving the motor to a carriage drive motor; a print command signal generation unit that supplies a print command signal to the print head in synchronization with the movement of the carriage drive motor; And a correction means for determining the timing at which the carriage has shifted from the acceleration region to the constant speed region, and for correcting the generation timing of the print command signal generated by the print command signal generator when the carriage has shifted to the constant speed region. .

【0018】この場合、前記補正手段は好ましくは補正
値格納テーブルより補正データを読み出し、読み出され
た補正データに基づいて印字指令信号発生部からの印字
指令信号の発生タイミングを補正するように構成され
る。
In this case, the correction means preferably reads the correction data from the correction value storage table, and corrects the generation timing of the print command signal from the print command signal generator based on the read correction data. Is done.

【0019】さらに、キャリッジの往動動作および復動
動作のそれぞれにおいて双方向に印字を行うプリンタに
おいては、前記補正手段はキャリッジが往動定速領域に
移行した場合のキャリッジの速度偏差に対応させた印字
指令信号の発生タイミングの補正を行うための往動補正
データと、キャリッジが復動定速領域に移行した場合の
キャリッジの速度偏差に対応させた印字指令信号の発生
タイミングの補正を行うための復動補正データとをそれ
ぞれ補正値格納テーブルより取得するように構成される
ことが望ましい。
Further, in a printer which performs bidirectional printing in each of the forward movement operation and the backward movement operation of the carriage, the correction means corresponds to a speed deviation of the carriage when the carriage shifts to the forward constant speed region. To correct the forward movement correction data for correcting the generation timing of the print command signal, and the generation timing of the print command signal corresponding to the speed deviation of the carriage when the carriage shifts to the backward constant speed region. It is desirable to obtain the backward movement correction data from the correction value storage table.

【0020】そして前記補正値格納テーブルは、好まし
くは印刷書式に基づいて補正データを格納した形式に構
成される。また前記補正手段は、好ましい実施の形態と
して基準パルスに対して個々に遅延時間を補正すること
で、印字指令信号を生成するように構成される。この場
合、好ましくは前記基準パルスとしてキャリッジ駆動モ
ータを駆動するためのパルス信号が用いられる。
The correction value storage table is preferably configured in a format in which correction data is stored based on a printing format. In a preferred embodiment, the correction means is configured to generate a print command signal by individually correcting a delay time with respect to a reference pulse. In this case, a pulse signal for driving a carriage drive motor is preferably used as the reference pulse.

【0021】以上のようになされた印字制御方法ならび
に印字制御装置によると、例えば印刷書式の設定に基づ
いて補正値格納テーブルより補正データが読み出され、
この補正データは、牽引部材としてのタイミングベルト
の伸縮によって生ずる定速領域においてのキャリッジの
速度偏差に対応して印字指令信号の発生タイミングが補
正制御される。これにより記録ヘッドはキャリッジの速
度偏差に対応して印字動作が実行され、結果として高品
質の印字がなされる。
According to the printing control method and the printing control device as described above, the correction data is read from the correction value storage table based on, for example, the setting of the printing format.
The correction data is used to correct and control the generation timing of the print command signal in accordance with the speed deviation of the carriage in the constant speed region caused by the expansion and contraction of the timing belt as the traction member. As a result, the recording head performs a printing operation in accordance with the speed deviation of the carriage, and as a result, high-quality printing is performed.

【0022】この場合、双方向印字を成す場合において
は、それぞれ往動動作における補正値ならびに復動動作
における補正値に基づいて印字指令信号の発生タイミン
グが格別に補正制御される。
In this case, when bidirectional printing is performed, the generation timing of the print command signal is particularly controlled based on the correction value in the forward movement operation and the correction value in the backward movement operation.

【0023】また、印刷書式の設定に基づくキャリッジ
の定速領域への移行位置に応じて補正値が読み出され、
それぞれに応じて印字指令信号の発生タイミングが補正
制御される。
Further, a correction value is read out according to the position of the carriage shifting to the constant speed area based on the setting of the printing format,
The generation timing of the print command signal is corrected and controlled accordingly.

【0024】[0024]

【発明の実施の形態】以下、本発明を採用したプリンタ
の構成を、図に示す実施の形態に基づいて説明する。図
1は、プリンタにおける印字ヘッドの駆動機構の一例を
示した斜視図である。印字ヘッド1はキャリッジ2に固
定され、そのキャリッジ2は水平方向に配置されたガイ
ド軸3と補助軸4とによって印字行方向に往復移動でき
るように取り付けられている。また前記キャリッジ2
は、キャリッジ駆動モータ5の駆動軸に取り付けられた
駆動プーリ6と、この駆動プーリ6にガイド軸3の軸方
向で対向する位置に配置された従動プーリ7との間にか
け渡されたタイミングベルト8によって、ガイド軸3上
を印字行方向に往復駆動できるように構成されている。
BRIEF DESCRIPTION OF THE DRAWINGS FIG. 1 is a block diagram showing a configuration of a printer adopting the present invention. FIG. 1 is a perspective view showing an example of a print head driving mechanism in a printer. The print head 1 is fixed to a carriage 2, and the carriage 2 is mounted so as to be able to reciprocate in a print line direction by a guide shaft 3 and an auxiliary shaft 4 arranged in a horizontal direction. The carriage 2
Is a timing belt 8 stretched between a drive pulley 6 attached to a drive shaft of a carriage drive motor 5 and a driven pulley 7 disposed at a position facing the drive pulley 6 in the axial direction of the guide shaft 3. Thereby, the guide shaft 3 can be driven back and forth in the printing line direction.

【0025】そして、キャリッジ2に搭載された前記印
字ヘッド1によって、プラテン(図示せず)上に配置さ
れた印刷用紙Pに双方向に印字が成されるように構成さ
れている。なお、前記印字ヘッド1は複数本のワイヤに
より印刷用紙を打撃して印字を行う周知のワイヤドット
インパクトタイプのものが用いられている。
The printing head 1 mounted on the carriage 2 is configured to print bidirectionally on the printing paper P arranged on a platen (not shown). The print head 1 is of a well-known wire dot impact type that prints by hitting printing paper with a plurality of wires.

【0026】図2は、前記ヘッド駆動機構の制御ならび
に印字指令信号の発生タイミングを補正する制御回路の
構成を示したものである。なお以下においては、キャリ
ッジの加速途中より一定速度に至る間において加速印字
を開始し、キャリッジが目標速度で定速走行する定速領
域の終点に至るまで、引き続き定速印字を実行するよう
にした印字制御を行うプリンタに基づいてその構成およ
び作用を説明する。
FIG. 2 shows the configuration of a control circuit for controlling the head drive mechanism and correcting the timing of generating a print command signal. In the following, accelerated printing is started during a period of time during which the carriage is accelerating and reaches a constant speed, and constant speed printing is continuously performed until the carriage reaches an end point of a constant speed region where the carriage travels at a constant speed at a target speed. The configuration and operation will be described based on a printer that performs printing control.

【0027】図2において、制御回路11にはCPU1
2が配置されており、このCPU12には記憶媒体とし
てのROM13が接続されている。このROM13には
後述するような印字開始点、印字タイミング補正開始
点、および印字終了点を示すデータを格納する制御デー
タ格納テーブルならびに印字タイミングの補正値を格納
補正値格納テーブルが構築されている。そしてCPU1
2からのアクセスにより、制御データ格納テーブルより
前記印字開始点、印字タイミング補正開始点、および印
字終了点を示す第1カウント値乃至第3カウント値が読
み出されると共に、前記補正値格納テーブルより印字タ
イミングの補正データも読み出される。
In FIG. 2, the control circuit 11 includes a CPU 1
The CPU 12 is connected to a ROM 13 as a storage medium. In the ROM 13, a control data storage table for storing data indicating a print start point, a print timing correction start point, and a print end point, which will be described later, and a correction value storage table for storing print timing correction values are constructed. And CPU1
2, the first to third count values indicating the print start point, the print timing correction start point, and the print end point are read from the control data storage table, and the print timing is read from the correction value storage table. Is also read out.

【0028】また、CPU12にはモータ制御部14が
接続されており、CPU12からの指令によりモータ制
御部14は、キャリヅ駆動モータとしてのステッピング
モータ5に対して駆動パルス(相切り換え信号)を供給
し、ステッピングモータ5を往復方向に回転駆動するよ
うになされる。なお前記ROM13には、ステッピング
モータ5に供給する駆動パルスのフォーマットも書き込
んでおき、前記制御データ格納テーブルならび印字タイ
ミングの補正値格納テーブルからのデータの読み出しと
同時に、モータ駆動パルスのフォーマットもCPU12
に取り込めるように構成することが望ましい。
A motor control unit 14 is connected to the CPU 12, and the motor control unit 14 supplies a drive pulse (phase switching signal) to the stepping motor 5 as a carry drive motor in accordance with a command from the CPU 12. The stepping motor 5 is driven to rotate in a reciprocating direction. The format of the drive pulse to be supplied to the stepping motor 5 is also written in the ROM 13, and the format of the motor drive pulse and the format of the motor drive pulse are simultaneously read from the control data storage table and the print timing correction value storage table.
It is desirable to be configured so that it can be taken into

【0029】前記モータ制御部14よりステッピングモ
ータ5に供給される駆動パルスは、第1カウンタ15、
第2カウンタ16、および第3カウンタ17にそれぞれ
供給されるように構成されており、これらのカウンタは
ステッピングモータ5に供給されるパルス信号の数をカ
ウントアップする。また第1カウンタ15乃至第3カウ
ンタ17にはCPU12よりリセット信号が加えられ、
各カウンタのカウント値をゼロリセットできるように構
成されている。
The driving pulse supplied from the motor control unit 14 to the stepping motor 5 is supplied to the first counter 15
The counter is configured to be supplied to the second counter 16 and the third counter 17, respectively, and these counters count up the number of pulse signals supplied to the stepping motor 5. Further, a reset signal is applied from the CPU 12 to the first to third counters 15 to 17,
It is configured so that the count value of each counter can be reset to zero.

【0030】また、CPU12には、第1設定部18乃
至第3設定部20が接続されており、これら各設定部に
はROM13から読み出された前記第1カウント値(印
字開始点の位置を示すパルス数)、第2カウント値(印
字タイミング補正開始点の位置を示すパルス数)、第3
カウント値(印字終了点の位置を示すパルス数)がそれ
ぞれ格納されるように構成されている。
The CPU 12 is connected to a first setting section 18 to a third setting section 20. Each of the setting sections has the first count value (the position of the printing start point which is read from the ROM 13). The second count value (the number of pulses indicating the position of the print timing correction start point), the third count value
The count value (the number of pulses indicating the position of the printing end point) is configured to be stored.

【0031】前記第1カウンタ15によってカウントア
ップされたカウント値と第1設定部18に設定された第
1カウント値とは、第1比較器21に供給されるように
構成されており、第1比較器21は第1設定部18に設
定された第1カウント値と第1カウンタ15によるカウ
ント値とを比較して、それらが一致した場合に一致出力
を前記CPU12に対して出力するように構成されてい
る。
The count value counted up by the first counter 15 and the first count value set in the first setting unit 18 are configured to be supplied to a first comparator 21, The comparator 21 compares the first count value set in the first setting unit 18 with the count value of the first counter 15 and outputs a match output to the CPU 12 when they match. Have been.

【0032】また、同様に前記第2カウンタ16によっ
てカウントアップされたカウント値と第2設定部19に
設定された第2カウント値とは、第2比較器22に供給
されるように構成されており、第2比較器22は第2設
定部19に設定された第2カウント値と第2カウンタ1
6によるカウント値とを比較して、それらが一致した場
合に一致出力を前記CPU12に対して出力するように
構成されている。
Similarly, the count value counted up by the second counter 16 and the second count value set in the second setting unit 19 are configured to be supplied to a second comparator 22. The second comparator 22 calculates the second count value set in the second setting unit 19 and the second counter 1
6, and outputs a coincidence output to the CPU 12 when they coincide with each other.

【0033】さらに同様に、前記第3カウンタ17によ
ってカウントアップされたカウント値と第3設定部20
に設定された第3カウント値とは、第3比較器23に供
給されるように構成されており、第3比較器23は第3
設定部20に設定された第3カウント値と第3カウンタ
17によるカウント値とを比較して、それらが一致した
場合に一致出力を前記CPU12に対して出力するよう
に構成されている。
Similarly, the count value counted up by the third counter 17 and the third setting unit 20
Is set to be supplied to the third comparator 23, and the third comparator 23
The third count value set in the setting unit 20 is compared with the count value of the third counter 17, and when they match, a match output is output to the CPU 12.

【0034】一方、CPU12には印字タイミング補正
部24および印字指令信号発生部25が接続されてお
り、印字タイミング補正部24は印字指令信号発生部2
5により発生する印字指令信号の発生タイミングを補正
する補正手段を構成している。
On the other hand, a print timing correction unit 24 and a print command signal generation unit 25 are connected to the CPU 12, and the print timing correction unit 24 is connected to the print command signal generation unit 2
5 constitutes a correction means for correcting the generation timing of the print command signal generated by the control unit 5.

【0035】そして、前記第1比較器21より一致信号
を受けた時に、CPU12は印字指令信号発生部25に
対して印字指令信号を出力する指令を出すようにされて
おり、また前記第2比較器22より一致信号を受けた時
に、CPU12は印字タイミング補正部24に対して印
字タイミング補正を行う指令を出すようにされている。
さらに前記第3比較器23より一致信号を受けた時に、
CPU12は印字指令信号発生部25に対して印字指令
信号の出力を停止させる指令を出すようにされている。
When receiving a coincidence signal from the first comparator 21, the CPU 12 issues a command to output a print command signal to the print command signal generator 25. When receiving the coincidence signal from the device 22, the CPU 12 issues a command to the print timing correction unit 24 to correct the print timing.
Further, when a match signal is received from the third comparator 23,
The CPU 12 issues a command to the print command signal generator 25 to stop outputting the print command signal.

【0036】前記印字指令信号発生部25には、印字ヘ
ッド駆動部26が接続されており、この印字ヘッド駆動
部26は印字指令信号発生部25より印字指令信号の供
給を受けている期間において、これを電力増幅し印字ヘ
ッド1のドットワイヤを駆動するようになされる。
A print head drive unit 26 is connected to the print command signal generation unit 25. The print head drive unit 26 receives a print command signal from the print command signal generation unit 25 during a period in which the print command signal is supplied. The power is amplified and the dot wires of the print head 1 are driven.

【0037】図3は図2に示した制御回路11によって
なされる印字開始および印字停止制御と共に、印字タイ
ミングの補正を実施した場合の例を、ごく簡単にモデル
化して示したものである。すなわち図3(a)はキャリ
ッジの往動動作におけるキャリッジ速度を示す前記図9
(a)に示した特性を拡大して示したものである。また
図3(b)は、この時に印字指令信号発生部より出力さ
れる印字指令信号の様子を示したものである。
FIG. 3 shows an example in which the print timing is corrected together with the print start and print stop controls performed by the control circuit 11 shown in FIG. That is, FIG. 3A shows the carriage speed in the forward movement of the carriage.
3A is an enlarged view of the characteristic shown in FIG. FIG. 3B shows a print command signal output from the print command signal generator at this time.

【0038】すなわち、キャリッジは往路における停止
状態から一定速度に至る加速領域AにおけるG点より、
印字ヘッドに対して印字指令信号が供給され、このG点
より加速印字がなされる。また、前記キャリッジが目標
速度で定速走行する定速領域Bの終点Hに至るまで、引
き続き前記印字ヘッドに対して印字指令信号が供給され
る。そして前記キャリッジが一定速度から停止状態に至
る減速領域Cにおいては、印字ヘッドに対する印字指令
信号の供給は停止される。
That is, the carriage is moved from a point G in an acceleration area A where the carriage reaches a certain speed from a stop state on the outward path.
A print command signal is supplied to the print head, and accelerated printing is performed from this point G. Further, a print command signal is continuously supplied to the print head until reaching the end point H of the constant speed region B where the carriage travels at a constant speed at the target speed. In the deceleration region C where the carriage stops at a constant speed, the supply of the print command signal to the print head is stopped.

【0039】ここで、G点から始まる加速印字において
は、印字指令信号はキャリッジ速度にほぼ比例してその
パルス間隔が序々に狭くなるように制御される。そして
定速領域Bの始点Kより発生する前記したオーバシュー
トの領域においては、そのシュート幅および周期に合わ
せて印字指令信号のパルス間隔が密になるように制御さ
れ、またアンダシュートにおいても同様にそのシュート
幅および周期に合わせて印字指令信号のパルス間隔が粗
になるように制御される。
Here, in the accelerated printing starting from the point G, the print command signal is controlled so that the pulse interval is gradually narrowed substantially in proportion to the carriage speed. In the above-mentioned overshoot region generated from the starting point K of the constant speed region B, the pulse width of the print command signal is controlled so as to be dense in accordance with the shoot width and the period. The control is performed so that the pulse interval of the print command signal becomes coarse in accordance with the shoot width and the cycle.

【0040】そして、オーバ(アンダ)シュートの領域
を経た定速領域Bより、その終点Hに至るまでは印字指
令信号のパルス間隔は等間隔になされ、定速領域Bの終
点Hに至った時点で印字指令信号の出力は停止される。
From the constant speed region B passing through the over (under) chute region to the end point H, the pulse interval of the print command signal is made equal, and when the end point H of the constant speed region B is reached. , The output of the print command signal is stopped.

【0041】図4は図3に示した印字タイミングを実行
する主にCPU12の働きについて示したフローチャー
トである。なお図4に示すフローチャートは1ページ分
の印字を行う場合を想定している。
FIG. 4 is a flowchart mainly showing the operation of the CPU 12 for executing the print timing shown in FIG. Note that the flowchart shown in FIG. 4 assumes a case of printing one page.

【0042】図4におけるステップS11においてCP
U12はROM13をアクセスし、設定された印刷書式
のデータに基づいて第1のカウント値、すなわち加速領
域Aにおいて印字が開始される位置Gに対応したパルス
数と、第2のカウント値、すなわち定速領域Bの始点位
置Kに対応したパルス数と、第3のカウント値、すなわ
ち定速領域Bの終点位置Hに対応したパルス数とをRO
M13に構築された制御データ格納テーブルより読み出
す。
In step S11 in FIG.
U12 accesses the ROM 13 and determines the first count value, that is, the number of pulses corresponding to the position G where printing is started in the acceleration area A, and the second count value, that is, the constant, based on the data of the set print format. The number of pulses corresponding to the starting point position K of the speed region B and the third count value, that is, the number of pulses corresponding to the ending point position H of the constant speed region B are RO
It is read from the control data storage table constructed in M13.

【0043】このテーブルの形態は、例えば図5に模式
的に示したように印刷書式の設定データである用紙サイ
ズ(A4,A3,B5,B4,ハガキ,フリー)、用紙
方向(縦長、横長)、一行字数、文字間隔、文字サイズ
等の設定データに基づいて、印字幅Pxが求められる。
この印字幅Pxに対応させて印字が開始される位置Gに
対応したパルス数としての第1カウント値(nn…n
n)、定速領域Bの開始点Kに対応したパルス数として
の第2カウント値(nn…nn)、および印字が停止さ
れる位置Hに対応したパルス数としての第3カウント値
(nn…nn)を保有している。
The format of this table is, for example, as schematically shown in FIG. 5, the paper size (A4, A3, B5, B4, postcard, free) and the paper direction (portrait, landscape) which are print format setting data. The print width Px is obtained based on setting data such as the number of characters per line, character spacing, and character size.
The first count value (nn... N) as the number of pulses corresponding to the position G where printing is started corresponding to the printing width Px
n), a second count value (nn... nn) as the number of pulses corresponding to the start point K of the constant speed region B, and a third count value (nn...) as the number of pulses corresponding to the position H at which printing is stopped. nn).

【0044】前記した制御データ格納テーブルより第1
カウント値乃至第3カウント値が読み出されると、ステ
ップS12においてCPU12は第1カウント値を第1
設定部18に書き込み、また第2カウント値を第2設定
部19に書き込み、さらに第3カウント値を第3設定部
20に書き込む。続いてCPU12はステップS13に
おいて、補正値格納テーブルより印字タイミングの補正
データを読み込む。この印字タイミングの補正データ
は、図5に時間軸補正関数として示すように、前記印字
幅Pxに対応させてテーブル形式で保有しており、CP
U12はこれを図示せぬRAM等に一旦書き込み、後述
するようにオーバ(アンダ)シュートの領域において印
字指令信号の時間軸補正を実行する。
From the control data storage table described above, the first
When the count value to the third count value are read, in step S12, the CPU 12 sets the first count value to the first count value.
Writing to the setting unit 18, writing the second count value to the second setting unit 19, and writing the third count value to the third setting unit 20. Subsequently, in step S13, the CPU 12 reads the correction data of the print timing from the correction value storage table. The correction data of the print timing is stored in a table format corresponding to the print width Px as shown as a time axis correction function in FIG.
U12 writes this temporarily in a RAM (not shown) or the like, and executes time axis correction of the print command signal in an over (under) shoot area as described later.

【0045】続いてCPU12はステップS14におい
て第1カウンタ15乃至第3カウンタ17にリセット信
号を送り、各カウンタ15,16,17をゼロリセット
する。そしてステップS15において、CPU12はモ
ータ制御部14に指令を出し、これを受けたモータ制御
部14は、キャリッジ駆動モータとしてのステッピング
モータ5に対して駆動パルスを供給する。したがってキ
ャリッジはステッピングモータ5により駆動され、水平
方向に配置されたガイド軸3に沿って移動する。
Subsequently, the CPU 12 sends a reset signal to the first to third counters 15 to 17 in step S14 to reset each of the counters 15, 16 and 17 to zero. Then, in step S15, the CPU 12 issues a command to the motor control unit 14, and the motor control unit 14 receiving the command supplies a drive pulse to the stepping motor 5 as a carriage drive motor. Therefore, the carriage is driven by the stepping motor 5 and moves along the guide shaft 3 arranged in the horizontal direction.

【0046】なおこの場合のキャリッジの移動量、すな
わちモータ制御部14からステッピングモータ5に供給
する駆動パルスの数は、前記した印刷書式の設定データ
に基づいて決定される。
In this case, the amount of movement of the carriage, that is, the number of drive pulses supplied from the motor control unit 14 to the stepping motor 5 is determined based on the print format setting data described above.

【0047】これと同時にステップS16において、第
1カウンタ15乃至第3カウンタ17は、モータ制御部
14より駆動パルスを受け、そのパルス数をカウントア
ップする。そして、ステップS17において第1比較器
21は第1設定部18にセットされた第1カウント値と
第1カウンタ15によってカウントアップされる駆動パ
ルスのカウント値を比較し、前記第1カウント値に達し
たか否かを判定する。第1比較器21が第1カウント値
に達したと判定すると、第1比較器21よりCPU12
に対して指令出力が供給され、ステップS18において
CPU12は印字指令信号発生部25に対して動作出力
が発せられる。これにより印字指令信号発生部25より
印字ヘッド駆動部26に対して印字指令信号が出力さ
れ、印字ヘッド1は印字を開始する。
At the same time, in step S16, the first to third counters 15 to 17 receive a drive pulse from the motor control unit 14 and count up the number of pulses. Then, in step S17, the first comparator 21 compares the first count value set in the first setting section 18 with the count value of the drive pulse counted up by the first counter 15, and reaches the first count value. It is determined whether or not it has been performed. When the first comparator 21 determines that the first count value has been reached, the first comparator 21
, And the CPU 12 outputs an operation output to the print command signal generator 25 in step S18. As a result, a print command signal is output from the print command signal generator 25 to the print head driver 26, and the print head 1 starts printing.

【0048】この場合における印字タイミングは、モー
タ制御部14からステッピングモータ5に供給する駆動
パルスのパルス間隔にほぼ比例したものとなる。なお厳
密には、キャリッシの加速領域においてはタイミングベ
ルトの伸びと、印字指令が与えられてからドットワイヤ
の先端が記録用紙に到達してドットを形成するまでの時
間(いわゆるフライトタイム)を考慮して、この時の印
字タイミングを調整する必要があるが、ここではその説
明は省略する。
The printing timing in this case is substantially proportional to the pulse interval of the driving pulse supplied from the motor control unit 14 to the stepping motor 5. Strictly speaking, in the acceleration area of the carriage, the elongation of the timing belt and the time from when the print command is given to when the leading end of the dot wire reaches the recording paper to form dots (so-called flight time) are taken into consideration. It is necessary to adjust the print timing at this time, but the description is omitted here.

【0049】続いて、ステップS19において第2比較
器22は第2設定部19にセットされた第2カウント値
と第2カウンタ16によってカウントアップされる駆動
パルスのカウント値を比較し、前記第2カウント値に達
したか否かを判定する。第2比較器22が第2カウント
値に達したと判定すると、第2比較器22よりCPU1
2に対して指令出力が供給され、ステップS20におい
て印字タイミングの補正データに基づいて印字タイミン
グの補正が開始される。
Subsequently, in step S19, the second comparator 22 compares the second count value set in the second setting unit 19 with the count value of the drive pulse counted up by the second counter 16, and It is determined whether the count value has been reached. When the second comparator 22 determines that the second count value has been reached, the second comparator 22
2, a command output is supplied, and in step S20, the correction of the print timing is started based on the correction data of the print timing.

【0050】図6はこの時の印字タイミングの補正につ
いて、簡単にモデル化して示したものであり、図6
(a)はモータ制御部14からステッピングモータ5に
供給する駆動パルスを示し、図6(b)はタイミング補
正がなされた印字指令信号の様子を示している。すなわ
ち加速領域Aにおいては、モータに供給する駆動パルス
の周期(……T−2,T−1)に対応(ほぼ比例)させ
て印字指令信号のパルス間隔が設定される。そして前記
したとおり定速領域Bに移ったことを示す第2比較器2
2からの指令出力を受けると、CPU12は印字タイミ
ング補正部24に指令を出し、すでにステップS13に
おいて読み出されている前記した補正値格納テーブルか
らの印字タイミングの補正データを用いて印字指令信号
の時間軸補正を実行する。
FIG. 6 shows a simple model of the correction of the print timing at this time.
6A shows a drive pulse supplied from the motor control unit 14 to the stepping motor 5, and FIG. 6B shows a state of a print command signal subjected to timing correction. That is, in the acceleration region A, the pulse interval of the print command signal is set corresponding to (substantially in proportion to) the cycle of the drive pulse supplied to the motor (... T-2, T-1). Then, as described above, the second comparator 2 indicating that the shift to the constant speed region B has been performed.
2, the CPU 12 issues a command to the print timing correction unit 24, and generates a print command signal by using the print timing correction data from the correction value storage table read out in step S13. Execute time axis correction.

【0051】すなわち、周期Tを有するモータ駆動パル
スを基準パルスとして、個々に遅延時間(td,td+
1……)を補正することで、印字指令信号を生成するよ
うになされる。要するにオーバシュートに対応させて印
字指令信号の発生タイミングが密となるように制御さ
れ、また、オーバシュートに続くアンダーシュートに対
応させて印字指令信号の発生タイミングが粗となるよう
に制御される。
That is, the motor drive pulse having the cycle T is used as a reference pulse, and the delay time (td, td +
1...) To generate a print command signal. In short, the control is performed so that the timing of generating the print command signal is made dense in accordance with the overshoot, and the timing of generating the print command signal is controlled so as to be coarse in response to the undershoot following the overshoot.

【0052】したがって、キャリッジの移動速度に対応
して印字指令信号の発生タイミングが調整され、結果と
してオーバシュートおよびアンダシュートに基づく印字
品質の劣化を防止させることができる。
Therefore, the generation timing of the print command signal is adjusted according to the moving speed of the carriage, and as a result, deterioration of the print quality due to overshoot and undershoot can be prevented.

【0053】この場合のオーバシュートとこれに続くア
ンダシュートの発生度合いは、前記したとおり書式デー
タに応じてキャリッジの出発点が変わる場合において、
図8に示した有効バネ成分(Sp1,Sp2)の定数が
変化し、これに応じてオーバ(アンダ)シュートの上下
幅およびサイクルが変化する。またキャリッジの往動動
作と復動動作においてもその形態は変化する。したがっ
てこのような発生度合いを予め測定し、前記補正値格納
テーブルに時間軸補正関数として書き込むようにされて
いる。
In this case, the degree of occurrence of the overshoot and the subsequent undershoot is determined in the case where the starting point of the carriage changes according to the format data as described above.
The constants of the effective spring components (Sp1, Sp2) shown in FIG. 8 change, and the vertical width and cycle of the over (under) shoot change accordingly. The form also changes in the forward movement and the backward movement of the carriage. Therefore, the degree of occurrence is measured in advance and written as a time axis correction function in the correction value storage table.

【0054】次に、ステップS21において第3比較器
23は第3設定部20にセットされた第3カウント値と
第3カウンタ17によってカウントアップされる駆動パ
ルスのカウント値を比較し、前記第3カウント値に達し
たか否かを判定する。第3比較器23が第3カウント値
に達したと判定すると、第3比較器23よりCPU12
に対して指令出力が供給され、ステップS22において
CPU12は印字指令信号発生部25に対する動作出力
を停止させる。これにより印字指令信号発生部25より
印字ヘッド駆動部26に対する印字指令信号は停止さ
れ、印字ヘッド駆動部26による印字ヘッド1の印字動
作は停止する。
Next, in step S21, the third comparator 23 compares the third count value set in the third setting section 20 with the count value of the drive pulse counted up by the third counter 17, and It is determined whether the count value has been reached. When the third comparator 23 determines that the third count value has been reached, the third comparator 23
, And the CPU 12 stops the operation output to the print command signal generator 25 in step S22. As a result, the print command signal from the print command signal generator 25 to the print head driver 26 is stopped, and the print operation of the print head 1 by the print head driver 26 is stopped.

【0055】そして、ステップS23においてCPU1
2は印字行が最下行に達したか否かを判定し、最下行に
達していないと判定した場合には前記ステップS13に
戻り引き続いて復動動作による印字がなされる。
Then, in step S23, the CPU 1
Step 2 determines whether or not the print line has reached the bottom line. If it is determined that the print line has not reached the bottom line, the process returns to step S13, where printing is performed by the return operation.

【0056】この復動動作におけるオーバ(アンダ)シ
ュートの度合いは、キャリッジの往動動作の場合と異な
ることになるが、前記した補正値格納テーブルに往動動
作時の補正データである時間軸補正関数および復動動作
時の補正データである時間軸補正関数を持たせて双方を
同時にステップS13において読み込み、CPUが管理
するキャリッジの往動動作または往動動作を示すステー
タスフラグに応じて2つの時間軸補正関数を択一的に用
いるように構成することが好ましい。そして、ステップ
S23において最下行に達したと判定した場合には動作
が停止され、1ページ分の印字が終了する。
Although the degree of over (under) shoot in this backward movement is different from that in the forward movement of the carriage, the time axis correction as correction data at the time of forward movement is stored in the correction value storage table. A function and a time axis correction function, which is correction data at the time of the backward movement, are simultaneously read in step S13, and two times are read in accordance with the forward movement operation of the carriage managed by the CPU or the status flag indicating the forward movement operation. It is preferable that the axis correction function be used alternatively. If it is determined in step S23 that the bottom line has been reached, the operation is stopped, and printing for one page is completed.

【0057】なおここで、図9に示すようにキャリッジ
の往動動作および復動動作におけるそれぞれの加速印字
モードにおいて、前記ステッピングモータに供給するパ
ルス数をPiとし、キャリッジの往動動作および復動動
作におけるそれぞれの減速領域において前記ステッピン
グモータに供給するパルス数をPbとし、キャリッジの
往動動作および復動動作におけるそれぞれの加速領域に
おいて前記ステッピングモータに供給するパルス数をP
aとした時、Pa=Pi−Pbの関係となるように制御
されることが望ましい。
Here, as shown in FIG. 9, in each of the accelerated printing modes in the forward movement operation and the backward movement operation of the carriage, the number of pulses supplied to the stepping motor is Pi, and the forward movement operation and the backward movement of the carriage are performed. The number of pulses supplied to the stepping motor in each deceleration region in the operation is Pb, and the number of pulses supplied to the stepping motor in each acceleration region in the forward movement and the backward movement of the carriage is Pb.
When a is set, it is desirable that the control is performed so that Pa = Pi-Pb.

【0058】換言すれば、非印字加速領域において与え
るパルス数(Pa−Pi)は、減速領域において与える
パルス数Pbに等しくなるように制御される。このよう
に減速領域と非印字加速領域をほぼ等しく設定すること
で、実際に1ページの印字に要する時間を考慮したスル
ープットを向上させることができる。
In other words, the number of pulses (Pa-Pi) applied in the non-print acceleration area is controlled to be equal to the number Pb of pulses applied in the deceleration area. By setting the deceleration area and the non-print acceleration area to be substantially equal in this way, it is possible to improve the throughput in consideration of the time required for actually printing one page.

【0059】[0059]

【発明の効果】以上の説明で明らかなとおり、本発明に
かかる印字制御方法および印字制御装置を採用したプリ
ンタによると、キャリッジの加速領域より定速領域に移
行した場合に生ずるキャリッジの速度偏差に対応させ
て、印字指令信号の発生タイミングを補正制御するよう
に成される。
As is apparent from the above description, according to the printer adopting the print control method and the print control apparatus according to the present invention, the speed deviation of the carriage which occurs when the carriage shifts from the acceleration area to the constant speed area is reduced. Correspondingly, the generation timing of the print command signal is corrected and controlled.

【0060】したがって、定速領域において例えキャリ
ッジに速度偏差が生じても、印字のドット間隔が一定と
なるように制御され、高い印字品質を確保することがで
きるプリンタを提供することができる。
Therefore, even if a speed deviation occurs in the carriage in the constant speed region, the printer is controlled so that the printing dot interval is constant, and it is possible to provide a printer capable of ensuring high printing quality.

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

【図1】本発明にかかるプリンタにおける印字ヘッドの
駆動機構の一例を示した斜視図である。
FIG. 1 is a perspective view showing an example of a drive mechanism of a print head in a printer according to the present invention.

【図2】図1に示す駆動機構を制御する制御回路の一例
を示したブロック図である。
FIG. 2 is a block diagram showing an example of a control circuit for controlling the drive mechanism shown in FIG.

【図3】図2に示した制御回路によってなされる印字タ
イミングの制御状態を示したタイムチャートである。
FIG. 3 is a time chart showing a control state of print timing performed by a control circuit shown in FIG. 2;

【図4】図2に示す制御回路における主にCPUの働き
を説明するフローチャートである。
FIG. 4 is a flowchart mainly explaining the operation of a CPU in the control circuit shown in FIG. 2;

【図5】図2に示す制御回路において用いられるデータ
格納テーブルおよび補正値格納テーブルの一例を示す図
である。
FIG. 5 is a diagram showing an example of a data storage table and a correction value storage table used in the control circuit shown in FIG.

【図6】図2に示した制御回路によってなされるモータ
駆動パルスを基準とした印字タイミングの制御状態を示
したタイムチャートである。
FIG. 6 is a time chart showing a control state of print timing based on a motor drive pulse performed by the control circuit shown in FIG. 2;

【図7】キャリッジの動作特性を示すタイムチャートで
ある。
FIG. 7 is a time chart showing operating characteristics of the carriage.

【図8】キャリッジの動作特性を示す模式図である。FIG. 8 is a schematic diagram illustrating operating characteristics of a carriage.

【図9】キャリッジの定速走行領域において発生するオ
ーバシュート状態を示すタイムチャートである。
FIG. 9 is a time chart showing an overshoot state occurring in a constant speed traveling region of the carriage.

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

1 印字ヘッド 2 キャリッジ 3 ガイド軸 5 キャリッジ駆動モータ 8 タイミングベルト(牽引部材) 11 制御回路 12 CPU 13 R0M 14 モータ制御部 15 第1カウンタ 16 第2カウンタ 17 第3カウンタ 18 第1設定部 19 第2設定部 20 第3設定部 21 第1比較器 22 第2比較器 23 第2比較器 24 印字タイミング補正部 25 印字指令信号発生部 26 印字ヘッド駆動部 A,D 加速領域 B,E 定速領域 C,F 減速領域 G,I 印字開始位置 H,J 印字終了位置 P 印刷用紙 DESCRIPTION OF SYMBOLS 1 Print head 2 Carriage 3 Guide shaft 5 Carriage drive motor 8 Timing belt (traction member) 11 Control circuit 12 CPU 13 R0M 14 Motor control unit 15 First counter 16 Second counter 17 Third counter 18 First setting unit 19 Second Setting section 20 third setting section 21 first comparator 22 second comparator 23 second comparator 24 print timing correction section 25 print command signal generation section 26 print head drive section A, D acceleration area B, E constant speed area C , F Deceleration area G, I Printing start position H, J Printing end position P Printing paper

Claims (9)

【特許請求の範囲】[Claims] 【請求項1】 印字ヘッドを搭載したキャリッジを牽引
部材を介してキャリッジ駆動モータの駆動力により往復
駆動させると共に、前記印字ヘッドに対して印字指令信
号を供給するようにされたプリンタの印字制御方法であ
って、 前記キャリッジが牽引部材に牽引されて加速領域から定
速領域に移行した場合において、前記牽引部材の伸縮に
よって生ずる定速領域においてのキャリッジの速度偏差
に対応させて、前記印字指令信号の発生タイミングを補
正制御することを特徴とするプリンタの印字制御方法。
1. A printing control method for a printer, wherein a carriage on which a print head is mounted is reciprocated by a driving force of a carriage drive motor via a traction member, and a print command signal is supplied to the print head. In the case where the carriage is pulled by the traction member and shifts from the acceleration region to the constant speed region, the print command signal is provided in accordance with a speed deviation of the carriage in the constant speed region caused by expansion and contraction of the traction member. A print control method for a printer, wherein the print control method corrects and controls the occurrence timing of the print.
【請求項2】 前記キャリッジの往動動作および復動動
作のそれぞれにおいて双方向に印字を行う場合におい
て、前記キャリッジが往動定速領域に移行した場合のキ
ャリッジの速度偏差に対応させた印字指令信号の発生タ
イミングの補正と、前記キャリッジが復動定速領域に移
行した場合のキャリッジの速度偏差に対応させた印字指
令信号の発生タイミングの補正とを各別に実行すること
を特徴とする請求項1に記載のプリンタの印字制御方
法。
2. A print command corresponding to a speed deviation of the carriage when the carriage shifts to a forward movement constant speed area when printing is performed bidirectionally in each of the forward movement operation and the backward movement operation of the carriage. 3. The method according to claim 1, wherein the correction of the signal generation timing and the correction of the print command signal generation timing corresponding to the speed deviation of the carriage when the carriage shifts to the backward movement constant speed region are separately executed. 2. The printing control method of the printer according to 1.
【請求項3】 前記キャリッジの定速領域への移行位置
に応じて、前記印字指令信号の発生タイミングを補正制
御することを特徴とする請求項1または請求項2に記載
のプリンタの印字制御方法。
3. The print control method for a printer according to claim 1, wherein the generation timing of the print command signal is corrected and controlled in accordance with the position of the carriage shifting to a constant speed area. .
【請求項4】 印字ヘッドを搭載したキャリッジを牽引
部材を介してキャリッジ駆動モータの駆動力により往復
駆動させると共に、前記印字ヘッドに対して印字指令信
号を供給するようにされたプリンタの印字制御装置であ
って、 キャリッジ駆動モータに対してモータ駆動用のパルス信
号を供給するモータ制御部と、キャリッジ駆動モータの
運動に同期して前記印字ヘッドに対して印字指令信号を
供給する印字指令信号発生部と、前記キャリッジが加速
領域から定速領域に移行したタイミングを判定すると共
に、キャリッジが定速領域に移行した場合において印字
指令信号発生部により発生する印字指令信号の発生タイ
ミングを補正する補正手段とを具備したことを特徴とす
るプリンタの印字制御装置。
4. A print control device for a printer, wherein a carriage on which a print head is mounted is reciprocally driven by a driving force of a carriage drive motor via a traction member, and a print command signal is supplied to the print head. A motor control unit that supplies a pulse signal for driving the motor to the carriage drive motor; and a print command signal generation unit that supplies a print command signal to the print head in synchronization with the movement of the carriage drive motor. Correction means for determining the timing at which the carriage has shifted from the acceleration area to the constant speed area, and for correcting the generation timing of the print command signal generated by the print command signal generation unit when the carriage has shifted to the constant speed area. A printing control device for a printer, comprising:
【請求項5】 前記補正手段は、補正値格納テーブルよ
り補正データを読み出し、読み出された補正データに基
づいて印字指令信号発生部からの印字指令信号の発生タ
イミングを補正するように構成したことを特徴とする請
求項4に記載のプリンタの印字制御装置。
5. The correction means reads correction data from a correction value storage table, and corrects the generation timing of a print command signal from a print command signal generation unit based on the read correction data. The print control device for a printer according to claim 4, wherein:
【請求項6】 キャリッジの往動動作および復動動作の
それぞれにおいて双方向に印字を行うプリンタにおい
て、前記補正手段はキャリッジが往動定速領域に移行し
た場合のキャリッジの速度偏差に対応させた印字指令信
号の発生タイミングの補正を行うための往動補正データ
と、キャリッジが復動定速領域に移行した場合のキャリ
ッジの速度偏差に対応させた印字指令信号の発生タイミ
ングの補正を行うための復動補正データとをそれぞれ補
正値格納テーブルより取得するように構成されているこ
とを特徴とする請求項4に記載のプリンタの印字制御装
置。
6. In a printer which performs bidirectional printing in each of a forward movement operation and a backward movement operation of a carriage, the correction means is adapted to correspond to a speed deviation of the carriage when the carriage shifts to a forward movement constant speed region. Forward movement correction data for correcting the generation timing of the print command signal and correction of the generation timing of the print command signal corresponding to the speed deviation of the carriage when the carriage shifts to the backward constant speed region. 5. The printing control apparatus for a printer according to claim 4, wherein the correction control data is obtained from the correction value storage table.
【請求項7】 前記補正値格納テーブルは、印刷書式に
基づいて補正データを格納した形式に構成されているこ
とを特徴とする請求項5または請求項6に記載のプリン
タの印字制御装置。
7. The print control device for a printer according to claim 5, wherein the correction value storage table is configured to store correction data based on a print format.
【請求項8】 前記補正手段は、基準パルスに対して個
々に遅延時間を補正することで、印字指令信号を生成す
ることを特徴とする請求項4乃至請求項6のいずれかに
記載のプリンタの印字制御装置。
8. The printer according to claim 4, wherein the correction unit generates a print command signal by individually correcting a delay time with respect to a reference pulse. Printing control device.
【請求項9】 前記基準パルスとしてキャリッジ駆動モ
ータを駆動するためのパルス信号を用いたことを特徴と
する請求項8に記載のプリンタの印字制御装置。
9. The printing control device according to claim 8, wherein a pulse signal for driving a carriage driving motor is used as the reference pulse.
JP5219398A 1998-03-04 1998-03-04 Printer print control method and print control device Expired - Fee Related JP3593873B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP5219398A JP3593873B2 (en) 1998-03-04 1998-03-04 Printer print control method and print control device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP5219398A JP3593873B2 (en) 1998-03-04 1998-03-04 Printer print control method and print control device

Publications (2)

Publication Number Publication Date
JPH11245470A true JPH11245470A (en) 1999-09-14
JP3593873B2 JP3593873B2 (en) 2004-11-24

Family

ID=12907968

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5219398A Expired - Fee Related JP3593873B2 (en) 1998-03-04 1998-03-04 Printer print control method and print control device

Country Status (1)

Country Link
JP (1) JP3593873B2 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004237501A (en) * 2003-02-04 2004-08-26 Brother Ind Ltd Carriage driving device and motor control method
US7237858B2 (en) 2002-03-14 2007-07-03 Seiko Epson Corporation Printing apparatus, printing method, storage medium, and computer system
US7284810B2 (en) 2002-03-14 2007-10-23 Seiko Epson Corporation Printer, printing method, program, storage medium and computer system

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7237858B2 (en) 2002-03-14 2007-07-03 Seiko Epson Corporation Printing apparatus, printing method, storage medium, and computer system
US7284810B2 (en) 2002-03-14 2007-10-23 Seiko Epson Corporation Printer, printing method, program, storage medium and computer system
US7712857B2 (en) 2002-03-14 2010-05-11 Seiko Epson Corporation Printing apparatus, printing method, program, storage medium, and computer system
JP2004237501A (en) * 2003-02-04 2004-08-26 Brother Ind Ltd Carriage driving device and motor control method

Also Published As

Publication number Publication date
JP3593873B2 (en) 2004-11-24

Similar Documents

Publication Publication Date Title
JPH07329388A (en) Recording device and information processing system
JP3593873B2 (en) Printer print control method and print control device
JPS63112182A (en) Printer device
US6618159B1 (en) Method of switching print modes of printing device
JPH11334149A (en) Print position correcting method and printer
US11999175B2 (en) Printing apparatus and carriage apparatus
JP2003260842A (en) Recording controlling method, recording apparatus and apparatus therefor
JP3557892B2 (en) Printer print control method and print control device
JP3050259B2 (en) Printing control device
CN109278419B (en) Printer, control method and terminal equipment
JP2000318217A (en) Serial recording apparatus
JP2001334717A (en) Method for controlling recording and device for recording
CN1192888C (en) Ink jet output control method
US6231250B1 (en) Method of controlling reciprocal movement of hammer rank in print device
JP2836061B2 (en) Serial dot printer
JP2005186509A (en) Line type thermal printer and its divide driving method
JPH0825701A (en) Timing signal generator of serial printer
JPH07309047A (en) Serial printer
JP3646458B2 (en) Printing device
JPH0677993B2 (en) Inkjet recording method
JP4416440B2 (en) Recording apparatus and carriage driving method
JPH061034A (en) Printer
CN114290824A (en) Origin detection method for printer carriage
JP2008213207A (en) Inkjet recorder and its control method
JP2005041028A (en) Inkjet recorder

Legal Events

Date Code Title Description
A02 Decision of refusal

Effective date: 20040427

Free format text: JAPANESE INTERMEDIATE CODE: A02

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20040617

A911 Transfer of reconsideration by examiner before appeal (zenchi)

Free format text: JAPANESE INTERMEDIATE CODE: A911

Effective date: 20040720

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Effective date: 20040810

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Effective date: 20040823

Free format text: JAPANESE INTERMEDIATE CODE: A61

R150 Certificate of patent (=grant) or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (prs date is renewal date of database)

Year of fee payment: 4

Free format text: PAYMENT UNTIL: 20080910

FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080910

Year of fee payment: 4

FPAY Renewal fee payment (prs date is renewal date of database)

Year of fee payment: 5

Free format text: PAYMENT UNTIL: 20090910

FPAY Renewal fee payment (prs date is renewal date of database)

Year of fee payment: 5

Free format text: PAYMENT UNTIL: 20090910

FPAY Renewal fee payment (prs date is renewal date of database)

Year of fee payment: 6

Free format text: PAYMENT UNTIL: 20100910

FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100910

Year of fee payment: 6

FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110910

Year of fee payment: 7

FPAY Renewal fee payment (prs date is renewal date of database)

Year of fee payment: 8

Free format text: PAYMENT UNTIL: 20120910

LAPS Cancellation because of no payment of annual fees