JP2003276269A - Inkjet printer - Google Patents

Inkjet printer

Info

Publication number
JP2003276269A
JP2003276269A JP2002086232A JP2002086232A JP2003276269A JP 2003276269 A JP2003276269 A JP 2003276269A JP 2002086232 A JP2002086232 A JP 2002086232A JP 2002086232 A JP2002086232 A JP 2002086232A JP 2003276269 A JP2003276269 A JP 2003276269A
Authority
JP
Japan
Prior art keywords
carriage
speed
scanning
signal
torque
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.)
Pending
Application number
JP2002086232A
Other languages
Japanese (ja)
Inventor
Tadashi Takakusa
正 高草
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 Instruments Inc
Original Assignee
Seiko Instruments Inc
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 Instruments Inc filed Critical Seiko Instruments Inc
Priority to JP2002086232A priority Critical patent/JP2003276269A/en
Publication of JP2003276269A publication Critical patent/JP2003276269A/en
Pending legal-status Critical Current

Links

Abstract

<P>PROBLEM TO BE SOLVED: To provide an inkjet printer which prevents a deterioration in printing quality at an end section of a paper by suppressing the overshoot or undershoot of a speed of a carriage having mounted thereon a print head when the carriage is moved from an accelerating region to a constant speed region and reduces the size of the printer by reducing the accelerating region. <P>SOLUTION: In this inkjet printer, the carriage having mounted thereon the print head is moved in a direction perpendicular to a paper feed direction. An LUT storing a speed control profile for realizing smooth transition of the speed when the carriage is moved from the accelerating region to the constant speed region is provided for speed control along the LUT. <P>COPYRIGHT: (C)2003,JPO

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、印刷ヘッドを搭載
したキャリッジを用紙搬送方向と交差する方向に走査し
て印刷を行うインクジェットプリンタに関し、特に用紙
端部の印字品質を向上させる技術に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an ink jet printer which prints by scanning a carriage equipped with a print head in a direction intersecting a paper transport direction, and more particularly to a technique for improving print quality at an edge of a paper.

【0002】[0002]

【従来の技術】A0判の用紙や幅広のロール紙など大判
紙に印刷を行う大判紙用のインクジェットプリンタで
は、多数のインクノズルを有した比較的重量のある印刷
ヘッドを搭載したキャリッジを、用紙送り方向と直交す
る方向へ走査して所謂1バンドの印刷を行い、このバン
ド印刷を用紙を間欠的に搬送しつつ繰り返すことで、用
紙一枚分の印刷を行う。バンド印刷時のキャリッジ走査
には、印字領域において等速最高速度に至らせるための
加速走査、印字を終え、キャリッジ端にて停止させるま
での減速走査を行う必要がある。
2. Description of the Related Art Inkjet printers for large-format paper that print on large-format paper such as A0 size paper and wide roll paper, use a carriage equipped with a comparatively heavy print head having a large number of ink nozzles to feed the paper. By scanning in the direction orthogonal to the direction, so-called one band printing is performed, and this band printing is repeated while intermittently conveying the paper, thereby printing one sheet of paper. Carriage scanning during band printing requires accelerating scanning to reach a constant maximum speed in the print area and decelerating scanning until the carriage is stopped at the end of the carriage.

【0003】一般にこのような速度制御は台形制御と呼
ばれ、図8に示すように等加速にてta時間だけ加速し
て最高速度に至らせ、印字を行うtb時間中は当該速度
を維持し、印字を終了後、キャリッジ端に至るまでに減
速して停止するように制御する。
In general, such speed control is called trapezoidal control, and as shown in FIG. 8, the speed is accelerated by ta time to reach the maximum speed, and the speed is maintained during tb time when printing is performed. , After the printing is completed, the speed is controlled to stop before the carriage end.

【0004】[0004]

【発明が解決しようとする課題】しかしながら、キャリ
ッジを等加速で加速し、目標速度に到達したところで加
速をやめ、等速制御に切り替えてもすぐには等速にはな
らず、図9に示すような速度のオーバーシュートやアン
ダーシュートを生じてしまい、用紙端部の印字品質が損
なわれるという障害があった。一般に装置の小型化を目
論んで、印字に寄与しない加速領域、減速領域はなるべ
く小さくすることが期待されるが当該領域の縮小はより
一層キャリッジ端部の印字品質を低下させてしまう欠点
があった。
However, even if the carriage is accelerated by uniform acceleration, the acceleration is stopped when the target speed is reached, and the speed is switched to the uniform speed control, the uniform speed is not reached immediately. There has been a problem that such overshooting or undershooting of the speed occurs and the printing quality at the edge of the paper is impaired. In general, it is expected that the acceleration area and deceleration area that do not contribute to printing will be made as small as possible in view of downsizing of the apparatus, but there is a drawback that the reduction of the area further deteriorates the print quality at the end of the carriage. .

【0005】本発明の目的は、用紙端部から安定した印
字品質を得ることができるキャリッジ速度制御を行うこ
とができるインクジェットプリンタを提供することにあ
る。
It is an object of the present invention to provide an ink jet printer capable of performing carriage speed control capable of obtaining stable print quality from the edge of a sheet.

【0006】[0006]

【課題を解決するための手段】本発明は、上記目的を達
成するために、印刷ヘッドを搭載したキャリッジを用紙
搬送方向と交差する方向へ走査させて印刷を行うインク
ジェットプリンタにおいて、キャリッジ速度情報とキャ
リッジ起動からの経過時間情報を入力とし、キャリッジ
駆動を行うモータの駆動トルク情報を出力とするルック
アップテーブル(以降、LUTと略す)を用いる構成と
し、当該LUTに、等速に至る前に加速度を漸次減少さ
せ、滑らかに速度遷移を行いながら等加速に至らせるよ
うに組まれた速度制御プロファイルを格納することとし
た。
In order to achieve the above object, the present invention provides an ink jet printer for performing printing by scanning a carriage equipped with a print head in a direction intersecting a paper transport direction. A lookup table (hereinafter abbreviated as LUT) that receives the information about the elapsed time from the start of the carriage and outputs the driving torque information of the motor that drives the carriage is used, and the acceleration before the constant velocity is applied to the LUT. Was gradually reduced, and a speed control profile that was set up to achieve uniform acceleration while smoothly performing speed transition was stored.

【0007】従来の速度制御では、制御主体としてCP
Uを用いていた。即ち、等速領域に至るまでの区間、速
度をモニタリングしつつ、期待速度よりも遅れが発生し
たら駆動トルクを大きめに設定して加速度を増し、また
期待速度よりも早いようなら駆動トルクを小さめに設定
して加速度を落とすようにして一定の加速度になるよう
に制御していた。従来の方法では、逐次変化する目標速
度は等加速度での加速のため、速度対時間の関係が1次
式で表現でき、CPUで逐次目標速度を計算氏ながら動
作させても十分追従が可能であった。
In the conventional speed control, the CP is the main control body.
I was using U. In other words, while monitoring the speed up to the constant velocity region and speed, if a delay occurs compared to the expected speed, increase the drive torque to increase the acceleration, and if it is faster than the expected speed, decrease the drive torque. It was controlled by setting and reducing the acceleration so that it would be a constant acceleration. In the conventional method, since the target speed that changes sequentially is accelerated by uniform acceleration, the relationship between speed and time can be expressed by a linear expression, and it is possible to sufficiently follow up even if the CPU operates while sequentially calculating the target speed. there were.

【0008】しかしながら、加速状態から等速状態に滑
らかに遷移させるための可変加速度制御には、逐次目標
速度を算出するのに少なくとも6次式から8次式程度の
演算を必要とし、CPUで演算しながら実現することは
困難だった。
However, the variable acceleration control for making a smooth transition from the accelerating state to the constant velocity state requires at least about a 6th to 8th order calculation to successively calculate the target velocity, and the CPU calculates it. While it was difficult to realize.

【0009】[0009]

【作用】キャリッジの走査経路の近傍に該走査経路に沿
って配設されたスケールの目盛りを検出するために、上
記キャリッジに搭載された目盛検出センサからの信号を
入力し、前記センサからの信号の立ち上がりのタイミン
グで作成したパルスをクロック入力としたカウンタを設
け、キャリッジ起動から一定時間毎に前記カウンタをク
リアする機構を設けることで前記カウンタにてキャリッ
ジの走査速度を計数する。スケールの目盛りの間隔をD
1、一定時間内の目盛検出センサからの信号の立ち上が
りの数をN1、前記カウンタをクリアする一定時間間隔
をt1とすると、キャリッジの走査速度は、D1*N1
/t1となる。
In order to detect the scale of the scale arranged along the scanning path in the vicinity of the scanning path of the carriage, a signal from a scale detecting sensor mounted on the carriage is input, and a signal from the sensor is input. A counter having a pulse generated at the rising edge of the clock as a clock input is provided, and a mechanism for clearing the counter at every constant time from the start of the carriage is provided, whereby the scanning speed of the carriage is counted by the counter. The scale interval is D
1. If the number of rising edges of the signal from the scale detection sensor within a fixed time is N1 and the fixed time interval for clearing the counter is t1, the carriage scanning speed is D1 * N1.
/ T1.

【0010】また前記キャリッジ起動から一定時間毎に
前記カウンタをクリアするパルス信号をクロック入力と
したカウンタを設け、キャリッジ起動からの時間を計測
する。本カウンタのカウント値をN2とし、一定時間間
隔をt1とすると、キャリッジ起動からの経過時間は、
t1*N2となる。
A counter having a pulse signal as a clock input for clearing the counter at every constant time after the carriage is started is provided, and the time from the start of the carriage is measured. Assuming that the count value of this counter is N2 and the fixed time interval is t1, the elapsed time from the start of the carriage is
It becomes t1 * N2.

【0011】一方、キャリッジの運動は、運動方程式,
j*a+c*v=k(T−T0)によって表現できる。
ここで、jは慣性モーメント、aは加速度、cは動摩擦
係数、vは速度、kは比例ゲイン、Tは駆動トルク、T
0は初期駆動トルクである。初期駆動トルクとは静止状
態から最初に動き出すために必要となるトルクを指す。
これをTに関して解くと、T=(j*a+c*v)/k
+T0となる。j,c,k,T0は装置によって決まる
定数であり、この式より、起動して一定の時間を経過
後、キャリッジが加速度a,速度vで動作しているため
には当該タイミングでトルクTが(j*a+c*v)/
k+T0だけ印加されている必要がある。キャリッジの
速度制御を行うにあたっては、先に期待する速度遷移を
定義し、当該速度を描くためのトルク遷移を算出し、当
該トルクを印加していく方法をとる。
On the other hand, the motion of the carriage is
It can be expressed by j * a + c * v = k (T−T0).
Here, j is the moment of inertia, a is the acceleration, c is the coefficient of dynamic friction, v is the speed, k is the proportional gain, T is the driving torque, and T is the driving torque.
0 is the initial drive torque. The initial drive torque refers to the torque required to start moving from a stationary state.
Solving this for T, T = (j * a + c * v) / k
It becomes + T0. j, c, k, and T0 are constants determined by the device, and from this equation, after the start-up and a fixed time have passed, the torque T at that timing is required because the carriage is operating at the acceleration a and the speed v. (J * a + c * v) /
Only k + T0 needs to be applied. In controlling the speed of the carriage, the expected speed transition is defined first, the torque transition for drawing the speed is calculated, and the torque is applied.

【0012】図10(a)に本発明によってキャリッジ
速度制御を行う場合の期待速度遷移図を示す。起動後の
経過時間をtとし、時間ta1の区間での加速度をa1
とすれば、この区間では加速度a1で一定加速するの
で、印加するトルクは、v=a1*t(但し、0≦t<
ta1)より、 T=(j*a1+c*v)/k+T0=(j*a1+c
*a1*t)/k+T0 と表せる。時間tの1次式となる。
FIG. 10A shows an expected velocity transition diagram when the carriage velocity control is performed according to the present invention. Letting the elapsed time after startup be t, the acceleration in the section of time ta1 is a1
Then, in this section, since the acceleration is constant at the acceleration a1, the applied torque is v = a1 * t (where 0 ≦ t <
From ta1), T = (j * a1 + c * v) / k + T0 = (j * a1 + c
It can be expressed as * a1 * t) / k + T0. It is a linear expression of time t.

【0013】次に時間ta2の区間では、図10(a)
のA部を拡大した図10(b)に示すように、キャリッ
ジ速度をta2以降の等速領域に滑らかに遷移させるた
め、加速度を漸次減少させていく。この時の加速度a,
速度vは各々時間tの関数となり、a(t),v(t)
と表現すると、印加するトルクは、 T=(j*a(t)+c*v(t))/k+T0 (但
し、ta1≦t<ta2) となる。前述したように、この区間での期待する速度カ
ーブは時間tに関して少なくとも6次式から8次式程度
となり、従って加速度a(t)は速度v(t)をtに関
して微分した式,即ち、5次式から7次式程度となる。
Next, in the section of time ta2, FIG.
As shown in FIG. 10B in which the portion A is enlarged, the acceleration is gradually reduced in order to smoothly transition the carriage speed to the constant velocity area after ta2. Acceleration a at this time,
The velocity v is a function of time t, and a (t) and v (t)
When expressed, the torque to be applied is T = (j * a (t) + c * v (t)) / k + T0 (where ta1 ≦ t <ta2). As described above, the expected velocity curve in this section is at least about the 6th to 8th order equations with respect to the time t, and therefore the acceleration a (t) is an equation obtained by differentiating the velocity v (t) with respect to t, that is, 5 From the following equation, the degree becomes about 7th degree.

【0014】等速領域は期待の最高速度で走査させ、減
速領域では時間ta1にて加速した際の逆の加速度にて
減速させる。減速走査では速度=0となる近傍では、速
度自体が沈静化しているためアンダーシュート、オーバ
ーシュートは起きず、また印字領域でもないため仮にあ
ったとしても問題ではない。
In the constant velocity region, scanning is performed at the expected maximum speed, and in the deceleration region, deceleration is performed by the reverse acceleration when the acceleration is performed at time ta1. In the vicinity of the speed = 0 in the deceleration scanning, the speed itself is settled so that undershoot and overshoot do not occur, and since it is not the print area, it does not matter if there is any.

【0015】さらにキャリッジを期待速度に沿って走査
させるためには、期待速度からのずれ量に応じて修正す
る分のトルクを加える必要がある。これは定加速域、可
変加速域、等速域、減速域に関わらずすべての領域に適
用するものである。期待速度をve、実際の速度をv
r、期待速度時に印加すべきトルク値をTe、速度ゲイ
ン定数をfとすると、修正分のトルクΔTは、ΔT=
(ve−vr)*fとして計算される。fは正の値で、
実際の速度vrが期待速度veよりも大きい場合は、期
待速度時に印加すべきトルク値Teに当該速度差と正の
定数fを乗じた結果得られる負の修正トルクが加えら
れ、最終的に当該タイミングで印加されるトルクTは、
T=Te+ΔTとなる。
Further, in order to scan the carriage along the expected speed, it is necessary to apply a torque corresponding to the amount of deviation from the expected speed. This applies to all regions regardless of the constant acceleration region, variable acceleration region, constant velocity region, and deceleration region. Expected speed is ve, actual speed is v
r, the torque value to be applied at the expected speed is Te, and the speed gain constant is f, the corrected torque ΔT is ΔT =
Calculated as (ve-vr) * f. f is a positive value,
When the actual speed vr is larger than the expected speed ve, a negative correction torque obtained as a result of multiplying the torque value Te to be applied at the expected speed by the speed difference and a positive constant f is added, and finally the concerned speed vr is applied. The torque T applied at the timing is
T = Te + ΔT.

【0016】以上より、本発明ではキャリッジを図10
(a)に示す期待速度にて制御するために、キャリッジ
起動後の経過時間tと、キャリッジの実際の走行速度v
rに対して、前述のキャリッジ加速度の可変制御と期待
速度からのずれ量補正制御を施した結果のトルク値をス
トアしたLUTを用い、用紙端部から安定した印字品質
を得ることができるキャリッジ速度制御を行うことがで
きるインクジェットプリンタを提供する。
From the above, in the present invention, the carriage is shown in FIG.
In order to control at the expected speed shown in (a), the elapsed time t after the carriage is started and the actual traveling speed v of the carriage
Carriage speed that can obtain stable print quality from the edge of the paper by using the LUT that stores the torque value resulting from the variable control of the carriage acceleration and the correction control of the deviation amount from the expected speed for r. An inkjet printer capable of performing control is provided.

【0017】なお、キャリッジ起動後の経過時間tは、
前述のとおり、t=t1*N2であるが、一定時間間隔
t1は固定値であること,また実際のキャリッジ速度v
rは、vr=D1*N1/t1であるが、これも一定時
間間隔t1は固定値,スケールの目盛りの間隔D1も固
定値であることから、LUTの入力としてはキャリッジ
起動後の経過時間t、キャリッジの実際の走行速度vr
である必要はなく、一定時間毎にパルス信号を発生する
カウンタをクロック入力としたカウンタのカウント値N
2と一定時間内の目盛検出センサからの信号の立ち上が
りの数N1の情報で代替できる。
The elapsed time t after starting the carriage is
As described above, t = t1 * N2, but the constant time interval t1 is a fixed value, and the actual carriage speed v
r is vr = D1 * N1 / t1, but since the constant time interval t1 is also a fixed value and the scale scale interval D1 is also a fixed value, the elapsed time t after the carriage is started is input as the LUT. , The actual traveling speed vr of the carriage
Does not have to be, and the count value N of the counter that uses a counter that generates a pulse signal at fixed time intervals as a clock input
2 and the information of the number N1 of rising edges of the signal from the scale detection sensor within a fixed time can be substituted.

【0018】[0018]

【発明の実施の形態】以下、本発明の実施の形態を図面
に基づいて説明する。
BEST MODE FOR CARRYING OUT THE INVENTION Embodiments of the present invention will be described below with reference to the drawings.

【0019】図1は本発明の実施の形態のプリンタの全
体構成を示すブロック図、図2は該プリンタの機構構成
の概要を示す正面概略図である。
FIG. 1 is a block diagram showing the overall structure of a printer according to an embodiment of the present invention, and FIG. 2 is a schematic front view showing the outline of the mechanical structure of the printer.

【0020】この実施の形態のインクジェットプリンタ
1は、A0版の用紙や大判のロール紙を所定方向に間欠
的に搬送するとともに、多数のノズルが設けられた印刷
ヘッド41を用紙搬送方向に対して直行する走査方向
(スキャン方向とも呼ぶ)に走査させながらノズルから
インクを吐出していくことで、大判の用紙に印刷を行っ
ていくものである。
The ink jet printer 1 of this embodiment intermittently conveys A0 size paper and large-sized roll paper in a predetermined direction, and a print head 41 provided with a large number of nozzles in the paper conveyance direction. The ink is ejected from the nozzle while scanning in the orthogonal scanning direction (also referred to as the scanning direction) to print on a large-sized paper.

【0021】このインクジェットプリンタ1の機構とし
ては、図2に示すように、印刷ヘッド41、該印刷ヘッ
ド41を搭載したキャリッジ42Aをレール42Bに沿
ってスキャン方向(図2において左右方向)に移動させ
るキャリッジ機構42、回転駆動するプラテン43aに
用紙Rを押圧して用紙Rを所定方向(図2において前後
方向)に搬送する用紙搬送機構43、操作内容やメッセ
ージを表示する表示パネルを有しプリンタの各種設定を
キー入力により行う操作パネル44、キャリッジレール
42Bの近傍に該レール42Bに沿って設けられインク
吐出タイミングを得るための目盛が形成されたスケール
46、キャリッジ42Aに搭載され上記スケール46の
目盛を検出する例えばフォトカプラなどからなるスケー
ルセンサ(目盛検出センサ)45などを備える。
As a mechanism of the ink jet printer 1, as shown in FIG. 2, a print head 41 and a carriage 42A on which the print head 41 is mounted are moved along a rail 42B in a scanning direction (left and right direction in FIG. 2). A carriage mechanism 42, a paper transport mechanism 43 that transports the paper R in a predetermined direction (front-back direction in FIG. 2) by pressing the paper R against the platen 43a that is rotationally driven, and a display panel that displays operation content and messages An operation panel 44 for performing various settings by key input, a scale 46 provided along the rail 42B in the vicinity of the carriage rail 42B, and a scale 46 for forming ink discharge timing, and a scale 46 of the scale 46 mounted on the carriage 42A. For example, a scale sensor consisting of a photo coupler, etc. Sensor) comprising 45 and the like.

【0022】制御系としては、図1に示すように、プリ
ンタ内部の統括的な制御を行うCPU(Central Proces
sing Unit)部21、CPU部21により実行される制
御プログラムや制御データが格納されたROM(Read O
nly Memory)22、CPU部21に作業メモリ空間を提
供するとともにキャリッジ42Aの走査速度のゆらぎ情
報等が格納されるゆらぎ情報記憶手段としてのRAM
(Random Access Memory)23、バックアップバッテリ
により電源遮断時でもデータを保持可能にされユーザに
より登録されたカスタム情報等が格納されるNVRAM
(non-volatile RAM)24、操作パネル44からのキー
入力や操作パネル44の表示部への出力制御を行う操作
パネル制御部25、スケールセンサ45からの検出信号
に基づくタイミングで印刷ヘッド41の各ノズルからイ
ンク吐出を行わせる信号を出力する印字制御部26、キ
ャリッジ機構42の駆動制御を行うキャリッジ制御部2
7、用紙搬送機構43の駆動制御を行う用紙搬送制御部
28、ホストコンピュータとの通信制御を行うホストイ
ンターフェース部29、印刷画像データが書き込まれる
画像メモリ30、ホストコンピュータから送られた印刷
データに基づく画像データを画像メモリ30に書き込ん
だり、印刷ヘッド41の走査に合わせて印字制御部26
に読み出したりする画像メモリ読書制御部31などが設
けられている。図1において、20は上記CPU部21
やRAM23などが搭載されたプリント基板などからな
る制御基板を示している。
As a control system, as shown in FIG. 1, a CPU (Central Process) for performing overall control inside the printer.
sing unit) section 21, a ROM (Read O) that stores control programs and control data executed by the CPU section 21.
RAM as a fluctuation information storage means for providing a working memory space to the CPU section 21 and storing fluctuation information of the scanning speed of the carriage 42A and the like.
(Random Access Memory) 23, NVRAM that can hold data even when the power is cut off by a backup battery and stores custom information registered by the user
Each of the (non-volatile RAM) 24, the operation panel control unit 25 that performs key input from the operation panel 44 and the output control to the display unit of the operation panel 44, and the print head 41 at the timing based on the detection signal from the scale sensor 45. The print control unit 26 that outputs a signal for ejecting ink from the nozzles, and the carriage control unit 2 that controls the drive of the carriage mechanism 42.
7, a paper transport controller 28 that controls the drive of the paper transport mechanism 43, a host interface unit 29 that controls communication with the host computer, an image memory 30 in which print image data is written, and print data sent from the host computer. The image control unit 26 writes the image data in the image memory 30 or in accordance with the scanning of the print head 41.
An image memory reading / writing control unit 31 and the like for reading out to and from are provided. In FIG. 1, 20 is the CPU unit 21.
3 shows a control board including a printed board on which a RAM 23 and the like are mounted.

【0023】図3にはプリンタ1のキャリッジ制御部2
7に設けられたキャリッジ速度制御回路のブロック図を
示す。以下にキャリッジ速度制御回路内の各ブロックの
動作について、各々のタイムチャート図を用いて説明す
る。なお該制御回路内の複数のブロックに入力されてい
る信号RSTは、CPU66から出力されるリセット信
号で、キャリッジの起動のタイミングにCPU66から
出力されるものである。該信号RSTによって、信号R
STを入力している各ブロックは初期化される。
FIG. 3 shows the carriage control unit 2 of the printer 1.
7 is a block diagram of a carriage speed control circuit provided in FIG. The operation of each block in the carriage speed control circuit will be described below with reference to each time chart. The signal RST input to a plurality of blocks in the control circuit is a reset signal output from the CPU 66 and is output from the CPU 66 at the timing of activating the carriage. By the signal RST, the signal R
Each block inputting ST is initialized.

【0024】図5はパルス発生器61の動きを示すタイ
ムチャート図である。パルス発生器61は、スケールセ
ンサ45の検出信号SCLを入力し、キャリッジ走行速
度に比べて十分に短い一定周期のクロック信号CKにて
サンプリングして、信号SCLの立ち上がり毎に信号C
Kの1クロック分のパルス幅の信号PLS1を出力す
る。
FIG. 5 is a time chart showing the movement of the pulse generator 61. The pulse generator 61 receives the detection signal SCL of the scale sensor 45, performs sampling with a clock signal CK having a constant cycle that is sufficiently shorter than the carriage traveling speed, and outputs a signal C at each rising edge of the signal SCL.
A signal PLS1 having a pulse width of one K clock is output.

【0025】図6はカウンタ62の動きを示すタイムチ
ャート図である。カウンタ62は、信号CKをクロック
入力とし、一定量のカウント値を計測する毎に信号CK
の1クロック分の信号PLS2を出力する。図6では5
00をカウントする毎に信号PLS2を出力する例を示
している。
FIG. 6 is a time chart showing the movement of the counter 62. The counter 62 receives the signal CK as a clock input and outputs the signal CK every time a count value of a certain amount is measured.
The signal PLS2 for one clock is output. 5 in FIG.
An example in which the signal PLS2 is output each time 00 is counted is shown.

【0026】図7はカウンタ63、ラッチ64、カウン
タ65、LUT67、PWMブロック68の動きを示す
タイムチャート図である。
FIG. 7 is a time chart showing the movements of the counter 63, the latch 64, the counter 65, the LUT 67, and the PWM block 68.

【0027】カウンタ63は、信号PLS1をクロック
入力とし、カウント値CNT1を出力する。また信号P
LS2が入力される毎にリセットされる。即ち、カウン
タ62にて計時される一定時間に入力する信号PLS1
の数がCNT1にて出力される。
The counter 63 receives the signal PLS1 as a clock input and outputs a count value CNT1. Also the signal P
It is reset every time LS2 is input. That is, the signal PLS1 input at a fixed time measured by the counter 62
Is output by CNT1.

【0028】スケール46の分解能が720LPI(li
ne per inch)とした場合、スケールセンサ45から
の検出信号SCLの1サイクルは、25.4[mm]/
720[LPI]=35.277...[μm]。従っ
てキャリッジが35.277...[μm]進む毎にカ
ウンタ63には信号PLS1が1パルス入力される。さ
らに信号CKの周波数を1MHz、カウンタ62のカウ
ントサイクルを図6のとおり500とすると、カウンタ
63にて計測されるカウント値CNT1より、キャリッ
ジの速度が算出できる。 キャリッジ速度=35.277...[μm]*CNT1/500[μs] =70.555...*CNT1[mm/s] カウント値CNT1はラッチ64にて信号PLS2のタ
イミングでラッチされる。ラッチされた結果はラッチ6
4から信号S1として出力される。
The resolution of the scale 46 is 720 LPI (li
ne per inch), one cycle of the detection signal SCL from the scale sensor 45 is 25.4 [mm] /
720 [LPI] = 35.277. . . [Μm]. Therefore, the carriage is 35.277. . . One pulse of the signal PLS1 is input to the counter 63 each time [μm] proceeds. Further, if the frequency of the signal CK is 1 MHz and the count cycle of the counter 62 is 500 as shown in FIG. 6, the speed of the carriage can be calculated from the count value CNT1 measured by the counter 63. Carriage speed = 35.277. . . [Μm] * CNT1 / 500 [μs] = 70.555. . . * CNT1 [mm / s] The count value CNT1 is latched by the latch 64 at the timing of the signal PLS2. Latched result is Latch 6
4 is output as a signal S1.

【0029】カウンタ65は、カウンタ62にて一定時
間毎に出力される信号PLS2をクロック入力とし、カ
ウント値CNT2を出力する。またカウンタ65はキャ
リッジの起動のタイミングでCPU66により出力され
る信号RSTによってリセットされる。即ち、信号CK
の周波数を1MHz、カウンタ62のカウントサイクル
を図6のとおり500とすると、カウンタ65にて計測
されるカウント値CNT2より、キャリッジ起動後の経
過時間が算出できる。キャリッジ起動後の経過時間=5
00[μs]*CNT2=500*CNT2[μs]L
UT67は、ラッチ64から出力される信号S1とカウ
ンタ65から出力される信号CNT2を入力し、該信号
入力より得られるキャリッジ起動後の経過時間とキャリ
ッジ速度の情報から、印加すべきモータ駆動トルクを選
択して信号TRQを出力する。キャリッジ起動後の経過
時間計算におけるCNT2の乗算値500と、キャリッ
ジ速度計算におけるCNT1の乗算値70.55
5...は固定値なので、LUT67の入力情報として
はカウント値CNT2とカウント値CNT1をラッチ6
4でラッチした値S1のみでよい。
The counter 65 receives the signal PLS2 output by the counter 62 at regular intervals as a clock input, and outputs a count value CNT2. The counter 65 is reset by the signal RST output from the CPU 66 at the timing of starting the carriage. That is, the signal CK
When the frequency is 1 MHz and the count cycle of the counter 62 is 500 as shown in FIG. 6, the elapsed time after the carriage is started can be calculated from the count value CNT2 measured by the counter 65. Elapsed time after starting the carriage = 5
00 [μs] * CNT2 = 500 * CNT2 [μs] L
The UT 67 inputs the signal S1 output from the latch 64 and the signal CNT2 output from the counter 65, and determines the motor drive torque to be applied from the information of the elapsed time after the carriage startup and the carriage speed obtained from the signal input. It selects and outputs the signal TRQ. CNT2 multiplication value 500 in the elapsed time calculation after the carriage is started, and CNT1 multiplication value 70.55 in the carriage speed calculation
5. . . Is a fixed value, the count value CNT2 and the count value CNT1 are latched as the input information of the LUT 67.
Only the value S1 latched in 4 is sufficient.

【0030】PWMブロック68は、LUT67より出
力される信号TRQを入力し、図示しないモータドライ
バがトルク情報を受信可能なPWM(Pulse Width Mo
dulation)波形信号WAVを出力する。PWMブロック
68はキャリッジ走行速度に比べて十分に短い一定周期
の信号CKをクロック入力とし、信号WAVを生成す
る。またPWMブロック68は、キャリッジの起動のタ
イミングでCPU66により出力される信号RSTによ
ってリセットされる。
The PWM block 68 receives the signal TRQ output from the LUT 67, and a motor driver (not shown) can receive torque information.
dulation) Waveform signal WAV is output. The PWM block 68 receives the signal CK having a constant cycle sufficiently shorter than the carriage traveling speed as a clock input, and generates the signal WAV. The PWM block 68 is reset by the signal RST output from the CPU 66 at the timing of starting the carriage.

【0031】図7の信号PLS2のPLS2(a)のタ
イミングでCNT1の値15がラッチ64にラッチさ
れ、S1の値が15となる。また同時にPLS2(a)
のタイミングでカウンタ65のカウント値CNT2は5
1となり、S1=15,CNT2=51がLUT67に
対して出力される。LUT67は前記S1,CNT2の
値を入力した結果、TRQ=20を出力する。PWMブ
ロックでは次の信号PLS2のタイミングPLS2
(b)でLUT67より出力されたTRQ値20を入力
し、該トルク値に相当するパルス幅信号WAVを出力す
る。図7ではキャリッジ起動後の時間経過(カウント値
CNT2の増加)に応じてキャリッジ速度(カウント値
CNT1のラッチ値S1)が徐々に増加し、モータ駆動
トルク値(TRQ)及びモータドライバ印加パルス幅
(WAV)が大きくなっていく状態を示している。
The value 15 of CNT1 is latched by the latch 64 at the timing of PLS2 (a) of the signal PLS2 of FIG. 7, and the value of S1 becomes 15. At the same time, PLS2 (a)
At the timing of, the count value CNT2 of the counter 65 is 5
It becomes 1, and S1 = 15 and CNT2 = 51 are output to the LUT 67. The LUT 67 outputs TRQ = 20 as a result of inputting the values of S1 and CNT2. In the PWM block, the timing PLS2 of the next signal PLS2
The TRQ value 20 output from the LUT 67 in (b) is input, and the pulse width signal WAV corresponding to the torque value is output. In FIG. 7, the carriage speed (latch value S1 of the count value CNT1) gradually increases with the passage of time (increase of the count value CNT2) after the carriage is activated, and the motor drive torque value (TRQ) and the motor driver applied pulse width ( WAV) is increasing.

【0032】次に、LUT67の具体的な実施例につい
て説明する。
Next, a concrete example of the LUT 67 will be described.

【0033】物理的には図14に示すような512Kバ
イトのメモリを使用し、ラッチ64からの信号S1とカ
ウンタ65からの信号CNT2を該メモリのアドレス信
号に接続し、PWMブロック68に出力する信号TRQ
を該メモリのデータ信号に接続する方法がある。本例で
は信号S1のビット幅を7ビット、信号CNT2のビッ
ト幅を12ビット、信号TRQのビット幅を8ビットと
しているが、プリンタ1のスキャン方向の長さや信号C
Kの周波数、カウンタ62のサイクルカウント数などに
応じて最適なビット幅を選定する必要がある。なお図1
4にて示した各ビット幅は、前記実施例中で定義してき
た各諸条件より、ほぼ妥当なビット幅を選定したもので
ある。
Physically, a 512 Kbyte memory as shown in FIG. 14 is used, and the signal S1 from the latch 64 and the signal CNT2 from the counter 65 are connected to the address signal of the memory and output to the PWM block 68. Signal TRQ
Is connected to the data signal of the memory. In this example, the bit width of the signal S1 is 7 bits, the bit width of the signal CNT2 is 12 bits, and the bit width of the signal TRQ is 8 bits.
It is necessary to select an optimum bit width according to the frequency of K, the number of cycles counted by the counter 62, and the like. Figure 1
The respective bit widths shown in 4 are those which have been selected in accordance with the various conditions defined in the above embodiment.

【0034】続いてLUT67の内容について、キャリ
ッジを加速度=0.6G,印字中の等速度=800mm
/sで制御する場合についての例を用いて示す。なおL
UTには加速域、等速域、減速域についての一連の速度
プロファイルをストアしておくが、ここでは特に本発明
のポイントである加速域から等速域への滑らかな遷移の
部分について解説する。
Next, regarding the contents of the LUT 67, the acceleration of the carriage is 0.6 G, the constant velocity during printing is 800 mm.
An example of controlling by / s will be shown. L
The UT stores a series of velocity profiles for the acceleration region, the constant velocity region, and the deceleration region. Here, the smooth transition portion from the acceleration region to the constant velocity region, which is the point of the present invention, will be particularly described. .

【0035】まず期待速度軌跡を設計する。図11
(a)に通常の台形制御の場合の速度制御(グラフ線:
va)と本発明の速度制御(グラフ:vb)を示す。図
11(b)に加速域から等速域への遷移部分についての
拡大図を示す。直線的に加速している部分についての速
度vは、v[mm/s]=0.6*9800*CNT2
*500*10^(−6)、等速域では、v[mm/
s]=800と表せる。本発明の期待速度遷移(グラ
フ:vb)におけるCNT2の252から292までの
部分については、CNT2=252とCNT2=292
のポイントを滑らかに結ぶ近似曲線を算出して適用す
る。例えば該部分の速度vは、 v[mm/s]=96250.3062601019−
2041.15008003416*CNT2+18.
4211876776462*CNT2^2−0.09
06027656426248*CNT2^3+0.0
002571611613767*CNT2^4−3.
99082625165987*10^(−7)*CN
T2^5+2.63412747120584*10^
(−10)*CNT2^6 なる6次式で表現できる。
First, the expected velocity locus is designed. Figure 11
(A) Speed control in the case of normal trapezoidal control (graph line:
va) and the speed control of the present invention (graph: vb) are shown. FIG. 11B shows an enlarged view of the transition portion from the acceleration region to the constant velocity region. The velocity v for the linearly accelerating portion is v [mm / s] = 0.6 * 9800 * CNT2
* 500 * 10 ^ (-6), v [mm /
s] = 800. Regarding the portion from 252 to 292 of CNT2 in the expected speed transition (graph: vb) of the present invention, CNT2 = 252 and CNT2 = 292.
Calculate and apply an approximate curve that smoothly connects the points. For example, the velocity v of the portion is v [mm / s] = 96250.3062601019−
2041.1500008003416 * CNT2 + 18.
42118767677462 * CNT2 ^ 2-0.09
060276564426248 * CNT2 ^ 3 + 0.0
002571611613767 * CNT2 ^ 4-3.
990826262515987 * 10 ^ (-7) * CN
T2 ^ 5 + 2.63412747120584 * 10 ^
It can be expressed by a 6th order equation (-10) * CNT2 ^ 6.

【0036】次に上述の速度で制御するための加速度を
算出する。直線的に加速している部分についての加速度
aは、a[mm/s^2]=0.6*9800、等速域
ではa[mm/s^2]=0となる。図11(b)の本
発明の期待速度遷移(グラフ:vb)におけるCNT2
の252から292までの部分については、前記6次式
をCNT2について微分し、 a[mm/s^2]=(−2041.15008003
416+18.4211876776462*2*CN
T2−0.0906027656426248*3*C
NT2^2+0.0002571611613767*
4*CNT2^3−3.99082625165987
*10^(−7)*5*CNT2^4+2.63412
747120584*10^(−10)*6*CNT2
^5)/(500*10^(−6)) なる5次式で表現できる。加速度の遷移をグラフ化し、
図12(a)に示す。図12(b)は、図12(a)中
の加速域から等速域への遷移部分についての拡大図であ
る。
Next, the acceleration for controlling at the above speed is calculated. The acceleration a for the linearly accelerated portion is a [mm / s ^ 2] = 0.6 * 9800, and a [mm / s ^ 2] = 0 in the constant velocity region. CNT2 in the expected speed transition (graph: vb) of the present invention in FIG.
For the part from 252 to 292, the 6th order equation is differentiated with respect to CNT2, and a [mm / s ^ 2] = (− 2041.15008003
416 + 18.42118767677462 * 2 * CN
T2-0.0906027656426248 * 3 * C
NT2 ^ 2 + 0.0002571611613767 *
4 * CNT2 ^ 3-3.999082621655987
* 10 ^ (-7) * 5 * CNT2 ^ 4 + 2.63412
747120584 * 10 ^ (-10) * 6 * CNT2
5) / (500 * 10 ^ (-6)). Graph the transition of acceleration,
It is shown in FIG. FIG. 12B is an enlarged view of the transition portion from the acceleration region to the constant velocity region in FIG. 12A.

【0037】次に期待速度遷移で走査させるために印加
すべきトルクを計算する。印加トルクをTとすると、T
=(j*a+c*v)/k+T0で表現できる。a,v
はそれぞれ走査中のプリンタの加速度,速度である。
j,c,k,T0は装置によって決まる定数で、jは慣
性モーメント、cは動摩擦係数、kは比例ゲイン、T0
は初期駆動トルクである。本実施例では、j=4.7、
c=50.0、k=1120、T0=7.0なる特性の
プリンタについてトルクTを算出することとする。前記
トルク算出式に、前述の加速度,速度を代入して計算し
た結果を図13に示す。 LUT67には、信号S1,
信号CNT2入力に対応して上述の計算結果であるTR
Q値がストアされる。図15にLUT67の前記ストア
結果の一部を示す。
Next, the torque to be applied in order to scan at the expected speed transition is calculated. If the applied torque is T, T
= (J * a + c * v) / k + T0. a, v
Are the acceleration and velocity of the printer during scanning.
j, c, k and T0 are constants determined by the device, j is the moment of inertia, c is the coefficient of dynamic friction, k is the proportional gain, T0
Is the initial drive torque. In this embodiment, j = 4.7,
The torque T is calculated for a printer having the characteristics of c = 50.0, k = 1120, and T0 = 7.0. FIG. 13 shows the result of calculation by substituting the acceleration and velocity described above into the torque calculation formula. The LUT 67 has signals S1,
TR which is the above calculation result corresponding to the signal CNT2 input
The Q value is stored. FIG. 15 shows a part of the store result of the LUT 67.

【0038】以上で、期待速度遷移に沿って漸次印加し
ていくための一連のトルク値を計算する過程を示した
が、キャリッジ速度は、構成部品ばらつき,組み立てば
らつきによる機差、温度・湿度などの使用環境条件、装
置自体の経時的な変化によって完全には期待通りの走査
にはならない。そのため期待速度からずれた場合のずれ
量に応じて補正トルクを加味した修正トルクが印加され
るようにLUT67内にデータをストアする必要があ
る。期待速度をve、実際の速度をvr、期待速度時に
印加すべきトルク値をTe、速度ゲイン定数をfとする
と、修正分のトルクΔTは、ΔT=(ve−vr)*f
として計算され、最終的に印加されるトルクTは、T=
Te+ΔTとなるようにストアする。なお、前述のとお
り、キャリッジ速度はS1値で代替できるので、期待さ
れるS1値をS1e,実際のS1値をS1rとすれば、
ΔT=(S1e−S1r)*f’のように表現できる。
f’はS1値ベースの速度ゲインである。
The process of calculating a series of torque values for gradually applying along the expected speed transition has been described above. The carriage speed varies depending on the component parts, machine differences due to assembly variations, temperature / humidity, etc. Due to the environmental conditions of use and changes over time in the device itself, the scan may not be exactly as expected. Therefore, it is necessary to store data in the LUT 67 so that the correction torque in which the correction torque is added is applied according to the amount of deviation when the speed deviates from the expected speed. When the expected speed is ve, the actual speed is vr, the torque value to be applied at the expected speed is Te, and the speed gain constant is f, the corrected torque ΔT is ΔT = (ve-vr) * f
The torque T finally applied is calculated as
Store so that Te + ΔT. As described above, since the carriage speed can be replaced by the S1 value, if the expected S1 value is S1e and the actual S1 value is S1r,
It can be expressed as ΔT = (S1e−S1r) * f ′.
f'is a velocity gain based on the S1 value.

【0039】図16にf’=2.5として修正トルクを
ストアしている部分のLUT67の例を示す。キャリッ
ジ起動後の経過時間を示すCNT2値が272におい
て、期待通りに動作した場合はキャリッジ速度を示すS
1値は11であり、この時設定されるべきトルク値TR
Qは54であるが、S1が10と期待より遅かった場
合、修正後トルクTは、 T=Te+(S1e−S1r)*f’=54+(11−10)*2.5 =56.5 トルク値Tは整数でストアするので小数点以下切り捨て
て、T=56となり、期待時トルクよりも大きいトルク
が印加される。また、S1が14と期待より早かった場
合は、 T=Te+(S1e−S1r)*f’=54+(11−14)*2.5 =46.5 小数点以下切り捨てて、T=46となり、期待時トルク
よりも小さいトルクが印加される。
FIG. 16 shows an example of the LUT 67 of the portion storing the corrected torque with f '= 2.5. If the CNT2 value indicating the elapsed time after the carriage is started is 272 and the operation is as expected, it indicates the carriage speed S.
1 value is 11, and the torque value TR that should be set at this time
Although Q is 54, when S1 is 10 and is later than expected, the corrected torque T is: T = Te + (S1e−S1r) * f ′ = 54 + (11−10) * 2.5 = 56.5 Torque Since the value T is stored as an integer, the value after the decimal point is rounded down to T = 56, and a torque larger than the expected torque is applied. If S1 is 14 which is earlier than expected, T = Te + (S1e−S1r) * f ′ = 54 + (11−14) * 2.5 = 46.5. A torque smaller than the hourly torque is applied.

【0040】なお、本発明は、上記実施の形態に限られ
るものではなく、様々な変更が可能である。例えば、図
4(a)は図3のLUT67周りの部分であるが、該部
分について図4(b)のようにLUTの容量を拡張して
1つのLUTメモリ内に複数のLUTを設け、CPU6
6から出力する信号SELなる信号をLUT69の上位
アドレスに入力し、LUT69内の複数のLUTを選択
的に使用することができるようにすることも可能であ
る。その結果、前記実施例では加速度0.6G,等速度
800mm/sの仕様でしか使えなかったが、加速度
0.2G,等速度400mm/sなど複数の走査モード
を実現することが可能となる。また目標加速度,等速度
は0.6G,800mm/sで同じでも、加速域から等
速域に遷移する部分の特性を複数通り準備することも可
能となる。なおLUTを物理的に容量拡張できない場合
でも、図4(c)に示すように物理的にLUTを複数個
設け(LUT70a,LUT70b)、該LUTの出力
にセレクタ71を設けて該セレクタ71にはCPU66
から出力する信号SELなる信号を入力し、前記複数の
LUTからのTRQ信号出力を選択的に出力するように
することで図4(b)と同等の機能を実現することが可
能となる。
The present invention is not limited to the above embodiment, but various modifications can be made. For example, although FIG. 4A shows a portion around the LUT 67 in FIG. 3, the capacity of the LUT is expanded as shown in FIG. 4B to provide a plurality of LUTs in one LUT memory for the CPU 6
It is also possible to input the signal SEL output from 6 to the upper address of the LUT 69 so that a plurality of LUTs in the LUT 69 can be selectively used. As a result, in the above-described embodiment, the specification can be used only with the acceleration of 0.6 G and the constant velocity of 800 mm / s, but it is possible to realize a plurality of scanning modes such as the acceleration of 0.2 G and the constant velocity of 400 mm / s. Further, even if the target acceleration and the constant velocity are the same at 0.6 G and 800 mm / s, it is possible to prepare a plurality of characteristics of the portion that transitions from the acceleration region to the constant velocity region. Even if the capacity of the LUT cannot be physically expanded, as shown in FIG. 4C, a plurality of LUTs are physically provided (LUT 70a, LUT 70b), and a selector 71 is provided at the output of the LUT and the selector 71 is provided. CPU66
The signal equivalent to the signal SEL output from the LUT is input, and the TRQ signal output from the plurality of LUTs is selectively output, so that the same function as in FIG. 4B can be realized.

【0041】さらに図4(a)の部分を図4(d)のよ
うに置き換えることも可能である。図4(d)では、ラ
ッチ64からの信号S1とカウンタ65からの信号CN
T2をLUT72に入力すると同時にCPU66にも入
力し、さらにCPU66にカウンタ62から出力される
信号PLS2をCPU66の割り込み入力に接続し、R
OM22からは走査制御パラメータである,慣性モーメ
ントj、動摩擦係数c,比例ゲインk、初期駆動トルク
T0、速度ゲインfを総括したデータPRMを入力す
る。単調加速な部分や等速、減速の部分ではLUTにて
速度制御するまでもなくCPU66でも制御可能である
ことを、課題を解決するための手段にて述べた。そのた
め加速域から等速域に遷移する部分についてのみLUT
72を使用し、当該部以外の部分ではCPU66で制御
するための実施例を図4(d)にて提示するものであ
る。
Further, the portion of FIG. 4 (a) can be replaced as shown in FIG. 4 (d). In FIG. 4D, the signal S1 from the latch 64 and the signal CN from the counter 65 are
When T2 is input to the LUT 72, it is also input to the CPU 66, and the signal PLS2 output from the counter 62 to the CPU 66 is connected to the interrupt input of the CPU 66.
From the OM 22, data PRM summarizing the scan control parameters, the inertia moment j, the dynamic friction coefficient c, the proportional gain k, the initial drive torque T0, and the speed gain f are input. The means for solving the problem described that the CPU 66 can control the speed in the monotone acceleration portion, the constant speed portion, and the deceleration portion without using the LUT. Therefore, only the part that transitions from the acceleration region to the constant velocity region is the LUT
FIG. 4D shows an example in which 72 is used and the CPU 66 controls the other parts.

【0042】CPU66は信号PLS2を割り込みに使
用し、信号PLS2を入力する都度に信号CNT2を入
力してキャリッジの位置を認識する。単調加速域、等
速、減速域では信号S1、信号CNT2、前述の走査制
御パラメータ信号PRMより、CPU66が内部演算で
キャリッジの速度制御演算処理を行い、結果として信号
TRQ2に駆動トルク値を出力する。さらにCPU66
は、後段のセレクタに対してCPU66が出力する信号
TRQ2が信号TRQとして有効となるように信号SE
Lを出力する。一方、キャリッジの位置が加速域から等
速域に滑らかに遷移させる必要のある部分では、信号S
1,信号CNT2を基にLUT72が出力した信号TR
Q1が、後段のセレクタ71で信号TRQとして有効に
なるように信号SELを出力する。図4(d)の方法に
よれば、CPU66に対して信号PLS2を割り込みと
して新規に入力したり、ROM22から制御パラメータ
である信号PRMをCPU66に新たに入力したりする
ことで回路的には若干複雑になるものの、LUT72は
必要最小限である,加速域から等速域に滑らかに遷移さ
せる部分のデータのみをストアすればよく、LUTの容
量を最小限に抑えることが可能となる。なお当然ながら
走査制御パラメータはROM22でなく、RAM23も
しくはNVRAM24にストアしておき、該部分より入
力して使用するような構成をとることも可能である。
The CPU 66 uses the signal PLS2 as an interrupt, and inputs the signal CNT2 each time the signal PLS2 is input to recognize the position of the carriage. In the monotonic acceleration range, constant speed range, and deceleration range, the CPU 66 performs carriage speed control calculation processing by internal calculation based on the signal S1, the signal CNT2, and the scan control parameter signal PRM described above, and as a result, outputs the drive torque value to the signal TRQ2. . Further CPU66
Is a signal SE so that the signal TRQ2 output from the CPU 66 to the selector in the subsequent stage becomes valid as the signal TRQ.
Output L. On the other hand, in the portion where the position of the carriage needs to smoothly transition from the acceleration region to the constant velocity region, the signal S
1, a signal TR output from the LUT 72 based on the signal CNT2
The signal SEL is output so that Q1 becomes effective as the signal TRQ in the selector 71 in the subsequent stage. According to the method of FIG. 4D, the signal PLS2 is newly input to the CPU 66 as an interrupt, or the signal PRM which is a control parameter from the ROM 22 is newly input to the CPU 66, so that the circuit is slightly changed. Although complicated, the LUT 72 only needs to store the data of the minimum required portion, that is, the portion that smoothly transitions from the acceleration region to the constant velocity region, and the capacity of the LUT can be minimized. Of course, the scanning control parameter may be stored in the RAM 23 or the NVRAM 24 instead of the ROM 22 and input from that portion to be used.

【0043】[0043]

【発明の効果】以上説明したように、本発明によれば、
印刷ヘッドを搭載したキャリッジを用紙搬送方向と交差
する方向へ走査させて印刷を行うインクジェットプリン
タにおいて、加速領域から等速領域へ走査する際の速度
変化をLUTを用いて滑らかに遷移させることにより、
用紙端部から印字品質を損なわずに印字を行うことがで
きる。結果、加速領域を大きくとることなく、装置の小
型化を図ることが可能となる。
As described above, according to the present invention,
In an inkjet printer that performs printing by scanning a carriage equipped with a print head in a direction that intersects the paper transport direction, by smoothly transitioning a speed change using an LUT when scanning from an acceleration region to a constant velocity region,
Printing can be performed from the edge of the paper without impairing the printing quality. As a result, it is possible to reduce the size of the device without increasing the acceleration region.

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

【図1】本発明の実施の形態のプリンタの全体構成を示
すブロック図である。
FIG. 1 is a block diagram showing an overall configuration of a printer according to an embodiment of the present invention.

【図2】同、プリンタのキャリッジ走行系の概要を示す
正面概略図である。
FIG. 2 is a schematic front view showing an outline of a carriage traveling system of the printer.

【図3】同、プリンタのキャリッジ制御部に設けられた
キャリッジ速度制御回路を示すブロック図である。
FIG. 3 is a block diagram showing a carriage speed control circuit provided in a carriage control unit of the printer.

【図4】図3のLUT周りについての実施例を説明する
図である。
FIG. 4 is a diagram illustrating an embodiment around the LUT of FIG.

【図5】図3のパルス発生器61の動作を説明するタイ
ムチャートである。
5 is a time chart explaining the operation of the pulse generator 61 of FIG.

【図6】図3のカウンタ62の動作を説明するタイムチ
ャートである。
FIG. 6 is a time chart explaining the operation of the counter 62 of FIG.

【図7】図3のカウンタ63、ラッチ64、カウンタ6
5、LUT67、PWMブロック68の動作を説明する
タイムチャートである。
7 is a counter 63, a latch 64, a counter 6 of FIG.
5 is a time chart explaining the operations of the LUT 67, the PWM block 68,

【図8】キャリッジ速度制御における台形制御を説明す
る図である。
FIG. 8 is a diagram illustrating trapezoidal control in carriage speed control.

【図9】キャリッジ速度制御におけるオーバーシュー
ト、アンダーシュートを説明する図である。
FIG. 9 is a diagram illustrating overshoot and undershoot in carriage speed control.

【図10】本発明の加速域から等速域を滑らかに速度遷
移させる状態を説明する図である。
FIG. 10 is a diagram illustrating a state in which the speed is smoothly changed from the acceleration range to the constant speed range according to the present invention.

【図11】本実施例における,加速域から等速域を滑ら
かに速度遷移させる状態を説明する図である。
FIG. 11 is a diagram illustrating a state in which a speed transition from an acceleration region to a constant velocity region is smoothly performed in the present embodiment.

【図12】本実施例における,加速域から等速域を滑ら
かに速度遷移させる時の加速度遷移について説明する図
である。
FIG. 12 is a diagram illustrating an acceleration transition when a speed transition is smoothly made from the acceleration region to the constant velocity region in the present embodiment.

【図13】本実施例における,加速域から等速域を滑ら
かに速度遷移させる時のトルク値設定の変化について説
明する図である。
FIG. 13 is a diagram illustrating a change in torque value setting when a speed transition smoothly occurs from the acceleration region to the constant velocity region in the present embodiment.

【図14】本実施例におけるLUT67の物理的実現形
態の例である。
FIG. 14 is an example of a physical realization form of the LUT 67 in the present embodiment.

【図15】本実施例におけるLUT67の具体的実現形
態の内容例の一部である。
FIG. 15 is a part of a content example of a specific implementation mode of the LUT 67 in the present embodiment.

【図16】本実施例におけるLUT67の具体的実現形
態の内容例における図15とは異なる部分の一部であ
る。
FIG. 16 is a part of a portion different from FIG. 15 in the content example of the concrete realization form of the LUT 67 in the present embodiment.

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

1 インクジェットプリンタ 20 制御基板 21 CPU部 22 ROM 23 RAM 24 NVRAM 25 操作パネル制御部 26 印字制御部 27 キャリッジ制御部 28 用紙搬送制御部 29 ホストI/F部 30 画像メモリ 31 画像メモリ書き込み/読み出し制御部 41 印刷ヘッド 42 キャリッジ機構 42A キャリッジ 42B レール 43 用紙搬送機構 43A プラテン 44 操作パネル 45 スケールセンサ 46 スケール 61 パルス発生器 62 カウンタ 63 カウンタ 64 ラッチ 65 カウンタ 66 CPU 67 LUT 68 PWMブロック 69 LUT 70a LUT1 70b LUT2 71 セレクタ 72 LUT R 紙 SCL スケール目盛の検出信号 CK クロック信号 RST リセット信号 PLS1 スケール目盛の検出信号SCLの立ち上がり
タイミングでのパルス信号 PLS2 カウンタ62から一定の周期で出力されるパ
ルス信号 CNT1 キャリッジの走行速度情報を示すカウント値 CNT2 キャリッジの走行位置情報を示すカウント値 S1 CNT1をPLS2のタイミングでラッチし
た値 TRQ LUTより出力されるモータ駆動トルク値 WAV TRQ値を波形とした信号 SEL 複数のモータ駆動トルク値をセレクトする選
択信号 TRQ1 複数のモータ駆動トルク値出力手段から出力
されたトルク値信号の一つ TRQ2 複数のモータ駆動トルク値出力手段から出力
されたトルク値信号の一つ PRM 走査制御パラメータ
1 Inkjet printer 20 Control board 21 CPU section 22 ROM 23 RAM 24 NVRAM 25 Operation panel control section 26 Print control section 27 Carriage control section 28 Paper transport control section 29 Host I / F section 30 Image memory 31 Image memory writing / reading control section 41 print head 42 carriage mechanism 42A carriage 42B rail 43 paper transport mechanism 43A platen 44 operation panel 45 scale sensor 46 scale 61 pulse generator 62 counter 63 counter 64 latch 65 counter 66 CPU 67 LUT 68 PWM block 69 LUT 70a LUT1 70b LUT2 71 Selector 72 LUT R Paper SCL Scale scale detection signal CK Clock signal RST Reset signal PLS1 Scale scale detection signal SCL rising edge Impulsing pulse signal PLS2 Pulse signal CNT1 output from the counter 62 at a constant cycle Count value CNT2 indicating carriage traveling speed information Count value S1 indicating carriage traveling position information CNT1 Value latched at timing PLS2 TRQ LUT A signal SEL having a waveform of the motor drive torque value WAV TRQ value output from the selection signal TRQ1 for selecting a plurality of motor drive torque values. One of the torque value signals TRQ2 output from the plurality of motor drive torque value output means. One of the torque value signals output from the motor drive torque value output means PRM scan control parameter

Claims (5)

【特許請求の範囲】[Claims] 【請求項1】 印刷ヘッドを搭載したキャリッジを用紙
搬送方向と交差する方向へ走査させて印刷を行うインク
ジェットプリンタにおいて、 少なくともキャリッジ走査領域の複数ポイントにおける
キャリッジの走査速度に関する量を検出する走査速度検
出手段と、 キャリッジ起動からの経過時間に関する量を検出する走
査時間検出手段と、該走査速度検出手段と該走査時間検
出手段とにおいて検出したそれぞれの前記量に基づい
て、キャリッジ駆動を行うモータの駆動トルクに関する
量を出力する手段を備えていることを特徴とするインク
ジェットプリンタ。
1. An inkjet printer that performs printing by scanning a carriage equipped with a print head in a direction intersecting a paper transport direction, and scanning speed detection for detecting an amount relating to a scanning speed of a carriage at a plurality of points in a carriage scanning region. Means, a scanning time detecting means for detecting an amount relating to an elapsed time from the start of the carriage, and a drive of a motor for driving the carriage based on the respective amounts detected by the scanning speed detecting means and the scanning time detecting means. An ink jet printer comprising means for outputting an amount relating to torque.
【請求項2】 上記走査速度検出手段は、 上記キャリッジの走査経路の近傍に該走査経路に沿って
配設されたスケールと、 上記キャリッジに搭載され上記スケールの目盛りを検出
する目盛検出センサと、 上記目盛検出センサによる所定の目盛りの検出間隔を計
時する計時手段とから構成されることを特徴とする請求
項1記載のインクジェットプリンタ。
2. The scanning speed detecting means comprises a scale arranged near the scanning path of the carriage along the scanning path, and a scale detection sensor mounted on the carriage for detecting the scale of the scale. The ink jet printer according to claim 1, further comprising: a time measuring unit that measures a detection interval of a predetermined scale by the scale detection sensor.
【請求項3】 上記走査速度検出手段と上記走査時間検
出手段に基づいて、キャリッジ駆動を行うモータの駆動
トルクに関する量を出力する手段は、該走査速度検出手
段からのキャリッジ走査速度に関する量と該走査時間検
出手段からのキャリッジ起動からの経過時間に関する量
を入力とし、キャリッジ駆動を行うモータの駆動トルク
に関する量を出力するルックアップテーブルで構成され
ることを特徴とする請求項1又は2記載のインクジェッ
トプリンタ。
3. A means for outputting a quantity related to a driving torque of a motor for driving a carriage based on the scanning speed detecting means and the scanning time detecting means, and a quantity related to the carriage scanning speed from the scanning speed detecting means and the quantity. 3. The lookup table according to claim 1, wherein the lookup time table is an input of an amount related to the elapsed time from the activation of the carriage from the scanning time detecting means and outputs an amount related to the driving torque of a motor for driving the carriage. Inkjet printer.
【請求項4】 上記ルックアップテーブルには、少なく
とも、等速に至る前に加速度を漸次減少させ、滑らかに
速度遷移を行いながら等加速に至らせるように組まれた
速度制御プロファイルが格納されていることを特徴とす
る請求項1〜3の何れかに記載のインクジェットプリン
タ。
4. The look-up table stores at least a speed control profile configured to gradually reduce the acceleration before reaching a uniform speed and achieve uniform acceleration while smoothly performing a speed transition. The inkjet printer according to any one of claims 1 to 3, wherein the inkjet printer is provided.
【請求項5】 上記ルックアップテーブルには、キャリ
ッジの期待速度と実際の速度との違いを補正する分の駆
動トルク量が加えられたキャリッジ駆動モータトルク量
が格納されていることを特徴とする請求項1〜4の何れ
かに記載のインクジェットプリンタ。
5. The carriage drive motor torque amount added with a drive torque amount for correcting a difference between an expected speed and an actual speed of the carriage is stored in the look-up table. The inkjet printer according to claim 1.
JP2002086232A 2002-03-26 2002-03-26 Inkjet printer Pending JP2003276269A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2002086232A JP2003276269A (en) 2002-03-26 2002-03-26 Inkjet printer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2002086232A JP2003276269A (en) 2002-03-26 2002-03-26 Inkjet printer

Publications (1)

Publication Number Publication Date
JP2003276269A true JP2003276269A (en) 2003-09-30

Family

ID=29207255

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2002086232A Pending JP2003276269A (en) 2002-03-26 2002-03-26 Inkjet printer

Country Status (1)

Country Link
JP (1) JP2003276269A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2020066199A (en) * 2018-10-26 2020-04-30 コニカミノルタ株式会社 Image forming apparatus and transport control method

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2020066199A (en) * 2018-10-26 2020-04-30 コニカミノルタ株式会社 Image forming apparatus and transport control method
JP7187974B2 (en) 2018-10-26 2022-12-13 コニカミノルタ株式会社 Image forming apparatus and transport control method

Similar Documents

Publication Publication Date Title
JPH09202014A (en) Printer
US6592198B2 (en) Recording apparatus with control of a recording medium conveying mechanism
JPH11334149A (en) Print position correcting method and printer
US20050195226A1 (en) Printer-control apparatus, printer-control method and printer
JP2003276269A (en) Inkjet printer
JP4539737B2 (en) Sheet conveying apparatus, image recording apparatus, and conveyance amount correction method
JP3570617B2 (en) DC motor control device and control method
JP4325151B2 (en) Printing apparatus and computer system
JP4781946B2 (en) Printer apparatus and control method thereof
JP2013215914A (en) Recording device, drive control method of recording device, and drive control program of recording device
JP2011152761A (en) Image recording apparatus and image recording method
JP2005178334A (en) Inkjet recording device
JP2015098148A (en) Printing device
JP4662821B2 (en) Motor drive control device, image forming apparatus, and program
JP3509704B2 (en) Motor control device
CN113320300B (en) Image forming apparatus with a plurality of image forming units
JP2006056623A (en) Image forming device
JP3700666B2 (en) Motor control device and motor control method
JP2006255971A (en) Recording device, and recording control method
JP2003237057A (en) Inkjet recorder and method of recording
JP2006150619A (en) Printing device, computer program, printing system, and printing method
JP2000103135A (en) Image forming method and apparatus thereof
JP2002356033A (en) Printer controller and printer controlling method
JP2022076321A (en) Printer
JP2005341726A (en) Method and device for controlling motor, and inkjet printer

Legal Events

Date Code Title Description
RD01 Notification of change of attorney

Effective date: 20040304

Free format text: JAPANESE INTERMEDIATE CODE: A7421