[go: up one dir, main page]

JP2008179057A - Printer - Google Patents

Printer Download PDF

Info

Publication number
JP2008179057A
JP2008179057A JP2007014210A JP2007014210A JP2008179057A JP 2008179057 A JP2008179057 A JP 2008179057A JP 2007014210 A JP2007014210 A JP 2007014210A JP 2007014210 A JP2007014210 A JP 2007014210A JP 2008179057 A JP2008179057 A JP 2008179057A
Authority
JP
Japan
Prior art keywords
carrier
speed
printing
measurement
motor
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.)
Withdrawn
Application number
JP2007014210A
Other languages
Japanese (ja)
Inventor
Takashi Yoshioka
崇 吉岡
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.)
Funai Electric Co Ltd
Lexmark International Inc
Original Assignee
Funai Electric Co Ltd
Lexmark International 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 Funai Electric Co Ltd, Lexmark International Inc filed Critical Funai Electric Co Ltd
Priority to JP2007014210A priority Critical patent/JP2008179057A/en
Publication of JP2008179057A publication Critical patent/JP2008179057A/en
Withdrawn legal-status Critical Current

Links

Images

Landscapes

  • Ink Jet (AREA)
  • Character Spaces And Line Spaces In Printers (AREA)
  • Control Of Electric Motors In General (AREA)

Abstract

【課題】プリンタにおいて、キャリアの振動による印刷品位の劣化を抑制する。
【解決手段】プリンタは、キャリアモータを回転制御することにより、印刷ヘッドを保持するキャリアを移動制御し、このとき、キャリアの移動速度が所定の目標速度となるように、キャリアモータの回転速度をフィードバック制御する。プリンタは、印刷コマンドを受信すると(#21)、まず、キャリアを印刷コマンドによる印刷速度と同じ速度で移動させて、印刷ヘッドの目詰まりを防止するためのメンテナンス動作を実行し(#23)、このメンテナンス動作でキャリアに振動が発生しているか否かを判断する(#24)。そして、プリンタ1は、キャリアに振動が発生していれば(#24でYES)、キャリアモータの駆動パラメータを変更し(#25)、その変更した駆動パラメータを用いてキャリアモータの回転速度をフィードバック制御して、印刷動作を実行する(#26)。
【選択図】図4
In a printer, deterioration of print quality due to carrier vibration is suppressed.
The printer controls the movement of the carrier holding the print head by controlling the rotation of the carrier motor. At this time, the rotation speed of the carrier motor is adjusted so that the moving speed of the carrier becomes a predetermined target speed. Feedback control. When the printer receives the print command (# 21), first, the carrier is moved at the same speed as the print speed by the print command, and a maintenance operation for preventing clogging of the print head is executed (# 23). It is determined whether or not the carrier is vibrated by this maintenance operation (# 24). Then, if vibration is generated in the carrier (YES in # 24), the printer 1 changes the driving parameter of the carrier motor (# 25), and feedbacks the rotation speed of the carrier motor using the changed driving parameter. The printing operation is executed under control (# 26).
[Selection] Figure 4

Description

本発明は、印刷用紙にインクを噴射して画像を印刷するプリンタに関するものである。   The present invention relates to a printer that prints an image by ejecting ink onto printing paper.

従来から、印刷用紙にインクを噴射して画像を印刷する、いわゆるインクジェットプリンタがある。この種のプリンタでは、一般的に、印刷ヘッドを保持するキャリアを移動させつつ印刷ヘッドからインクを噴射させることにより、印刷用紙に画像を印刷する印刷動作を行うようになっている。キャリアは、ガイド軸に摺動自在に支持されており、キャリアモータの回転によって、キャリアベルトを介して移動制御されるようになっている。印刷ヘッドは、インクカートリッジに貯蔵されているインクを噴射するようになっており、インクカートリッジは、印刷ヘッドと共に移動するように、そして、貯蔵しているインクが無くなったときに交換できるように、キャリアに着脱自在に設けられている。   2. Description of the Related Art Conventionally, there is a so-called inkjet printer that prints an image by ejecting ink onto printing paper. In this type of printer, generally, a printing operation for printing an image on printing paper is performed by ejecting ink from the printing head while moving a carrier holding the printing head. The carrier is slidably supported on the guide shaft, and is controlled to move through the carrier belt by the rotation of the carrier motor. The print head is adapted to eject the ink stored in the ink cartridge so that the ink cartridge moves with the print head and can be replaced when the stored ink is exhausted. It is detachably provided on the carrier.

このようなプリンタでは、キャリアを所定の目標速度で移動させて、印刷動作を行うようになっている。しかしながら、キャリアを移動させているときに、キャリア動作の負荷(つまり、キャリアの重量とキャリアに保持される印刷ヘッド及びインクカートリッジの重量による慣性や、キャリアとガイド軸との摩擦抵抗、キャリアベルトの伸縮等の影響)によって、キャリアに振動(キャリアの実際の移動速度が短い時間内で幾度も目標速度から変動する現象)が発生することがある。キャリアに振動が発生すると、印刷品位が低下することになる。   In such a printer, the carrier is moved at a predetermined target speed to perform a printing operation. However, when the carrier is moved, the carrier operation load (that is, the inertia due to the weight of the carrier and the weight of the print head and the ink cartridge held by the carrier, the frictional resistance between the carrier and the guide shaft, the carrier belt) Due to expansion and contraction, the carrier may vibrate (a phenomenon in which the actual moving speed of the carrier fluctuates from the target speed several times within a short time). When vibration is generated in the carrier, the print quality is lowered.

そこで、このようなプリンタにおいて、キャリアを移動させているときに、キャリアの振動を抑えるように(すなわちキャリアの移動速度が常に目標速度となるように)、キャリアの速度及び位置を常に(短い時間間隔で周期的に)監視して、キャリアの移動速度(すなわちキャリアモータの回転速度)を比例積分制御によってフィードバック制御するようにしたものがある。この比例積分制御によるフィードバック制御は、キャリアを移動させているときに、短い時間間隔で周期的に(例えば2ms毎に)、キャリアの実際の速度及び実際の位置を測定してフィードバック情報として取得し、これらキャリアの測定速度及び測定位置に基いて、比例積分制御のパラメータを用いて、キャリアの移動速度が目標速度となるようにキャリアモータの制御量を算出し、そして、この制御量に応じてキャリアモータの回転速度を制御することにより行われるようになっている。   Therefore, in such a printer, when the carrier is moved, the carrier speed and position are always (short time) so as to suppress the carrier vibration (that is, the carrier moving speed is always the target speed). There is one in which the movement speed of the carrier (that is, the rotation speed of the carrier motor) is feedback-controlled by proportional-integral control by monitoring periodically (at intervals). This feedback control by proportional-integral control is obtained as feedback information by measuring the actual velocity and actual position of the carrier periodically at a short time interval (for example, every 2 ms) while moving the carrier. Based on the measurement speed and measurement position of these carriers, the control amount of the carrier motor is calculated so that the moving speed of the carrier becomes the target speed by using the parameters of the proportional integral control, and according to this control quantity This is done by controlling the rotation speed of the carrier motor.

キャリアの振動を抑制するには、キャリアをフィードバック制御するための比例積分制御のパラメータを、キャリアの動作負荷を考慮して設定する必要がある。従来では、比例積分制御のパラメータは、プリンタの設計時に、モデル毎にキャリア動作の負荷を考慮して、キャリアの振動を抑制するように求めている。そして、従来のプリンタでは、その設計時に求めた比例積分制御のパラメータが固定値として予め設定されており、その予め設定された比例積分制御のパラメータを用いて、キャリアの移動速度を比例積分制御によってフィードバック制御するようになっている。   In order to suppress carrier vibration, it is necessary to set proportional integral control parameters for feedback control of the carrier in consideration of the operating load of the carrier. Conventionally, the parameters of proportional-integral control are required to suppress carrier vibration in consideration of the carrier operation load for each model when designing a printer. In the conventional printer, the proportional-integral control parameter obtained at the time of design is preset as a fixed value, and the carrier moving speed is determined by proportional-integral control using the preset proportional-integral control parameter. Feedback control is provided.

一方、印刷動作を行う前に、印刷ヘッドを複数回往復移動させ、印刷ヘッドの1回の往復移動毎にキャリアの実際の速度と目標速度との差に基いてキャリアモータの供給電流値を補正していくことにより、キャリアが目標速度で移動するときのキャリアモータの供給電流値を求めるようにしたプリンタが知られている(例えば特許文献1参照)。また、印刷動作の実行中に、キャリアの速度をフィードバック制御するプリンタにおいて、キャリアの加速度が許容範囲外となった場合に、印刷動作の途中でフィードバック制御のパラメータを変更して印刷動作を継続するようにしたものが知られている(例えば特許文献2参照)。また、印刷動作の実行中に、キャリアの速度をフィードバック制御するプリンタにおいて、前回の印刷動作におけるキャリアの実際の速度と目標速度との差に基いて、今回の印刷動作におけるキャリアモータの供給電流のPWM値を補正するようにしたものが知られている(例えば特許文献3参照)。
特開平11−216850号公報 特開平9−47057号公報 特開平9−202014号公報
On the other hand, before the printing operation is performed, the print head is reciprocated several times, and the supply current value of the carrier motor is corrected based on the difference between the actual speed of the carrier and the target speed for each reciprocation of the print head. By doing so, there is known a printer that obtains a supply current value of a carrier motor when the carrier moves at a target speed (see, for example, Patent Document 1). Also, in a printer that performs feedback control of the carrier speed during execution of the printing operation, if the carrier acceleration falls outside the allowable range, the printing operation is continued by changing the feedback control parameters during the printing operation. What was made is known (for example, refer patent document 2). In addition, in a printer that performs feedback control of the carrier speed during execution of a printing operation, the supply current of the carrier motor in the current printing operation is determined based on the difference between the actual speed of the carrier in the previous printing operation and the target speed. A device that corrects a PWM value is known (see, for example, Patent Document 3).
JP-A-11-216850 Japanese Patent Laid-Open No. 9-47057 Japanese Patent Laid-Open No. 9-202014

ところで、プリンタの老朽化やプリンタの使用環境は、キャリアの動作負荷に影響を与える。キャリアの振動を抑制するには、上述のように、キャリアの動作負荷を考慮して、キャリアをフィードバック制御するための比例積分制御のパラメータを設定する必要がある。   By the way, the aging of the printer and the usage environment of the printer affect the operation load of the carrier. In order to suppress carrier vibration, it is necessary to set parameters for proportional-integral control for feedback control of the carrier in consideration of the operating load of the carrier as described above.

ところが、上述した従来のプリンタにおいては、キャリアをフィードバック制御するための比例積分制御のパラメータは、固定値として設定されており、設定された値から変更できるようになっていない。このため、従来のプリンタでは、プリンタが老朽化した場合や、プリンタを劣悪な使用環境下(高温環境下や低温環境下、埃や塵などが堆積している環境下)で動作させる場合には、予め設定されている比例積分制御のパラメータでは対応できずに、キャリアに振動が発生し、印刷品位が低下することがある。   However, in the above-described conventional printer, the parameter of the proportional-integral control for feedback control of the carrier is set as a fixed value and cannot be changed from the set value. For this reason, with conventional printers, when the printer is aged or when the printer is operated in a poor operating environment (high or low temperature environment, dust or dust accumulation). The preset proportional integral control parameter cannot be used, and the carrier may vibrate and the print quality may deteriorate.

そこで、比例積分制御のパラメータを変更できるようにすることが考えられる。なお、プリンタが老朽化していない場合やプリンタが劣悪な使用環境化で使用されない場合であっても、朝、昼、夜の外気温の変化や天候の変化等による室内の温度や湿度の変化が、キャリアの動作負荷に影響を与えることもあり、また、インクカートリッジのインク残量の変化が、キャリアの動作負荷に影響を与えることもある。従って、これら室内の温度や湿度の変化、及びインクカートリッジのインク残量の変化に対応して、キャリアの振動を抑制するように、比例積分制御のパラメータを変更できるようにすることが必要となる。   Thus, it is conceivable to change the parameters of proportional-integral control. Even when the printer is not aging or when the printer is not used in a poor operating environment, changes in the room temperature and humidity due to changes in the outside temperature in the morning, noon, and night, and changes in the weather, etc. The operation load of the carrier may be affected, and the change in the remaining amount of ink in the ink cartridge may affect the operation load of the carrier. Accordingly, it is necessary to be able to change the parameters of the proportional integral control so as to suppress the vibration of the carrier in response to the change in the indoor temperature and humidity and the change in the remaining amount of ink in the ink cartridge. .

なお、上述した特許文献1に記載のプリンタは、印刷動作の実行中にキャリアの速度をフィードバック制御するものではなく、フィードバック制御のパラメータを変更する旨については何等開示されていない。従って、特許文献1に記載のプリンタでは、従来のプリンタと同様に、キャリアが移動しているときに、キャリア動作の負荷によってキャリアに振動が発生し、印刷品位が低下する。   Note that the printer described in Patent Document 1 described above does not perform feedback control of the carrier speed during execution of a printing operation, and does not disclose anything about changing feedback control parameters. Therefore, in the printer described in Patent Document 1, as in the conventional printer, when the carrier is moving, the carrier is vibrated by the load of the carrier operation, and the print quality is lowered.

また、上述した特許文献2に記載のプリンタは、印刷動作の実行中にキャリアの移動速度をフィードバック制御するものであり、フィードバック制御のパラメータを変更するようになっている。しかしながら、特許文献2に記載のプリンタでは、印刷動作の実行中にキャリアの加速度が許容範囲外となった場合に、印刷動作の途中でフィードバック制御のパラメータを変更するようにしているため、パラメータの変更が必要であった場合には、パラメータが変更されるまでの間は、不適切なパラメータで印刷時のキャリアの移動制御が行われることになり、キャリアに振動が発生し、印刷品位が低下することになる。   Further, the printer described in Patent Document 2 described above performs feedback control on the moving speed of the carrier during execution of the printing operation, and changes the parameters of the feedback control. However, in the printer described in Patent Document 2, when the acceleration of the carrier falls outside the allowable range during the execution of the printing operation, the feedback control parameter is changed during the printing operation. If a change is necessary, the carrier movement control during printing will be performed with an inappropriate parameter until the parameter is changed, causing the carrier to vibrate and reducing the print quality. Will do.

また、上述した特許文献3に記載のプリンタは、印刷動作の実行中にキャリアの移動速度をフィードバック制御するものであるが、フィードバック制御のパラメータを変更する旨については何等開示されていない。また、特許文献3に記載のプリンタでは、前回の印刷動作に基いて、今回の印刷動作におけるキャリアモータの供給電流のPWM値を補正するようにしているため、前回の印刷動作から今回の印刷動作までに長時間経過して使用環境(例えば室内の温度や湿度)が変化する場合があり、この場合には、使用環境の変化がキャリアの動作負荷に影響を与えてしまい、キャリアに振動が発生し、印刷品位が低下することになる。   Further, the printer described in Patent Document 3 described above performs feedback control on the moving speed of the carrier during execution of the printing operation, but does not disclose anything about changing the feedback control parameter. Further, in the printer described in Patent Document 3, the PWM value of the supply current of the carrier motor in the current printing operation is corrected based on the previous printing operation, so the current printing operation from the previous printing operation is corrected. In some cases, the usage environment (for example, indoor temperature and humidity) may change over a long period of time, and in this case, the change in the usage environment will affect the operating load of the carrier, causing vibration in the carrier. As a result, the print quality is lowered.

本発明は、上記課題を解決するためになされたものであり、キャリアの振動による印刷品位の劣化を抑制することができるプリンタを提供することを目的とする。   SUMMARY An advantage of some aspects of the invention is that it provides a printer that can suppress deterioration in print quality due to carrier vibration.

上記目的を達成するために請求項1の発明は、印刷用紙を搬送する用紙搬送手段と、印刷用紙に画像を印刷するためにインクを噴射する印刷ヘッドと、印刷ヘッドを保持するキャリアと、キャリアを移動させるために回転制御されるキャリアモータと、キャリアモータの回転力が伝達され、キャリアモータの回転により動作してキャリアを移動させるキャリア移動手段と、キャリアの移動速度を測定するキャリア速度測定手段と、キャリアの位置を測定するキャリア位置測定手段と、本装置の動作を制御する制御手段とを備え、制御手段は、キャリアモータを回転制御することにより、キャリア移動手段を介してキャリアを移動制御し、キャリアを移動させつつ、キャリアに保持される印刷ヘッドからインクを噴射させることにより、印刷用紙に画像を印刷する印刷動作を実行し、印刷動作の実行中に、キャリアの移動速度が所定の目標速度となるように、キャリア速度測定手段により測定される測定速度及びキャリア位置測定手段により測定される測定位置に基いて、キャリアモータの回転速度を比例積分制御によってフィードバック制御するプリンタにおいて、制御手段は、ユーザによる印刷指示を受けて印刷動作を実行するとき、印刷動作を行う前に、キャリアを所定のメンテナンス位置に移動させて、そのメンテナンス位置で印刷ヘッドからインクを噴射させることにより、印刷ヘッドの目詰まりを防止するためのメンテナンス動作を実行し、また、印刷動作を行う前に、キャリアを印刷動作を行うときの目標速度で移動させて、そのときにキャリア速度測定手段により測定される測定速度と目標速度との比較結果に基いて、目標速度に対する測定速度の誤差を抑えるように比例積分制御のパラメータを調整するパラメータ調整動作を実行し、印刷動作の実行中に、パラメータ調整動作によって調整されたパラメータを用いて、キャリアモータの回転速度を比例積分制御によってフィードバック制御し、パラメータ調整動作は、メンテナンス動作においてキャリアを移動させるときに、キャリアを印刷動作を行うときの目標速度で移動させ、このとき、初期に設定されている比例積分制御の比例成分パラメータ及び積分成分パラメータを用いて、キャリア速度測定手段により測定される測定速度及びキャリア位置測定手段により測定される測定位置に基いて、キャリアモータの回転速度を比例積分制御によってフィードバック制御し、メンテナンス動作においてキャリアを移動させているときにキャリア速度測定手段により測定される所定時間毎の測定速度と目標速度との比較結果に基いて、キャリアに振動が発生しているか否かを判断し、キャリアに振動が発生している場合に、目標速度に対する測定速度の誤差を抑えてキャリアに発生する振動を抑えるように比例積分制御の比例成分パラメータ及び積分成分パラメータを調整することにより行われるものである。   In order to achieve the above object, a first aspect of the present invention is a sheet conveying means for conveying a print sheet, a print head for ejecting ink for printing an image on the print sheet, a carrier for holding the print head, and a carrier. A carrier motor that is rotationally controlled to move the carrier, a carrier moving means that receives the rotational force of the carrier motor and moves by moving the carrier motor, and a carrier speed measuring means that measures the moving speed of the carrier And a carrier position measuring means for measuring the position of the carrier and a control means for controlling the operation of the apparatus. The control means controls the movement of the carrier via the carrier moving means by controlling the rotation of the carrier motor. For printing by ejecting ink from the print head held by the carrier while moving the carrier. A printing operation for printing an image is performed, and the measurement speed and the carrier position measurement unit are used to measure the carrier speed so that the carrier moving speed becomes a predetermined target speed during the printing operation. In a printer that feedback-controls the rotation speed of the carrier motor based on a measurement position based on the measurement position, the control means receives the print instruction from the user and executes the print operation before performing the print operation. A maintenance operation is performed to prevent clogging of the print head by moving the ink to a predetermined maintenance position and ejecting ink from the print head at the maintenance position. It is moved at the target speed when performing the printing operation, and then measured by the carrier speed measurement means. Based on the comparison result between the measured speed and the target speed, execute the parameter adjustment operation to adjust the parameter of proportional integral control so as to suppress the error of the measured speed with respect to the target speed, and adjust the parameter during the printing operation Using the parameters adjusted by the operation, the rotation speed of the carrier motor is feedback controlled by proportional integral control, and the parameter adjustment operation is performed at the target speed when the carrier is printed when the carrier is moved in the maintenance operation. At this time, using the proportional component parameter and integral component parameter of the proportional integral control set at the initial stage, the measurement speed measured by the carrier velocity measuring means and the measurement position measured by the carrier position measuring means are used. The rotation speed of the carrier motor is controlled by proportional integral control. Whether or not the carrier vibrates based on the comparison result between the target speed and the measured speed per predetermined time measured by the carrier speed measuring means when the carrier is moved during maintenance operation. By adjusting the proportional component parameter and integral component parameter of proportional integral control so as to suppress the vibration generated in the carrier by suppressing the error of the measurement speed with respect to the target speed when the carrier is vibrating Is to be done.

請求項2の発明は、印刷用紙を搬送する用紙搬送手段と、印刷用紙に画像を印刷するためにインクを噴射する印刷ヘッドと、印刷ヘッドを保持するキャリアと、キャリアを移動させるために回転制御されるキャリアモータと、キャリアモータの回転力が伝達され、キャリアモータの回転により動作してキャリアを移動させるキャリア移動手段と、キャリアの移動速度を測定するキャリア速度測定手段と、キャリアの位置を測定するキャリア位置測定手段と、本装置の動作を制御する制御手段とを備え、制御手段は、キャリアモータを回転制御することにより、キャリア移動手段を介してキャリアを移動制御し、キャリアを移動させつつ、キャリアに保持される印刷ヘッドからインクを噴射させることにより、印刷用紙に画像を印刷する印刷動作を実行し、印刷動作の実行中に、キャリアの移動速度が所定の目標速度となるように、キャリア速度測定手段により測定される測定速度及びキャリア位置測定手段により測定される測定位置に基いて、キャリアモータの回転速度を比例積分制御によってフィードバック制御するプリンタにおいて、制御手段は、印刷動作を実行するとき、印刷動作を行う前に、キャリアを印刷動作を行うときの目標速度で移動させて、そのときにキャリア速度測定手段により測定される測定速度と目標速度との比較結果に基いて、目標速度に対する測定速度の誤差を抑えるように比例積分制御のパラメータを調整するパラメータ調整動作を実行し、印刷動作の実行中に、パラメータ調整動作によって調整されたパラメータを用いて、キャリアモータの回転速度を比例積分制御によってフィードバック制御するものである。   According to a second aspect of the present invention, there is provided a sheet conveying means for conveying a printing sheet, a printing head for ejecting ink for printing an image on the printing sheet, a carrier for holding the printing head, and a rotation control for moving the carrier. The carrier motor, the carrier moving means for transmitting the rotational force of the carrier motor and moving the carrier by the rotation of the carrier motor, the carrier speed measuring means for measuring the moving speed of the carrier, and measuring the position of the carrier Carrier position measuring means and control means for controlling the operation of the apparatus, and the control means controls the movement of the carrier via the carrier moving means by controlling the rotation of the carrier motor, while moving the carrier. A printing operation that prints an image on printing paper by ejecting ink from the print head held by the carrier Based on the measurement speed measured by the carrier speed measurement means and the measurement position measured by the carrier position measurement means so that the moving speed of the carrier becomes a predetermined target speed during the execution of the printing operation, In a printer that feedback-controls the rotation speed of the carrier motor by proportional integral control, the control means moves the carrier at the target speed when performing the printing operation before performing the printing operation, Sometimes, based on the comparison result between the measurement speed measured by the carrier speed measurement means and the target speed, a parameter adjustment operation is performed to adjust the parameters of proportional integral control so as to suppress the error of the measurement speed relative to the target speed, and printing During the operation, the rotation speed of the carrier motor is adjusted using the parameter adjusted by the parameter adjustment operation. In which a feedback control by proportional integral control.

請求項3の発明は、請求項2に記載のプリンタにおいて、制御手段は、印刷動作を行う前に、キャリアを所定のメンテナンス位置に移動させて、そのメンテナンス位置で印刷ヘッドからインクを噴射させることにより、印刷ヘッドの目詰まりを防止するためのメンテナンス動作を実行し、パラメータ調整動作は、メンテナンス動作においてキャリアを移動させるときに、キャリアを印刷動作を行うときの目標速度で移動させ、そのときにキャリア速度測定手段により測定される測定速度と目標速度との比較結果に基いて、目標速度に対する測定速度の誤差を抑えるように比例積分制御のパラメータを調整することにより行われるものである。   According to a third aspect of the present invention, in the printer according to the second aspect, before the printing operation is performed, the control unit moves the carrier to a predetermined maintenance position and ejects ink from the print head at the maintenance position. The maintenance operation for preventing clogging of the print head is executed, and the parameter adjustment operation moves the carrier at the target speed for performing the printing operation when moving the carrier in the maintenance operation. Based on the comparison result between the measurement speed measured by the carrier speed measurement means and the target speed, the proportional-integral control parameter is adjusted so as to suppress the error of the measurement speed with respect to the target speed.

請求項1の発明によれば、印刷動作を実行するとき、印刷動作を行う前にキャリアをフィードバック制御するための比例積分制御のパラメータが調整され、印刷動作の実行中にその調整されたパラメータを用いてキャリアモータの回転速度(すなわちキャリアの移動速度)が比例積分制御によってフィードバック制御される。従って、プリンタが老朽化した場合やプリンタを劣悪な使用環境下で動作させる場合でも、また、室内の温度や湿度に変化があった場合やインクカートリッジのインク残量に変化があった場合でも、キャリアの目標速度に対する実際の速度(測定速度)の誤差を抑えてキャリアの振動を抑えることができ、これにより、印刷品位の劣化を抑制することができる。しかも、印刷動作を行う前に比例積分制御のパラメータが調整されるため、印刷動作の開始直後から、キャリアの振動を抑えて印刷品位の劣化を抑制することができる。さらに、印刷動作を実行するときに比例積分制御のパラメータが調整されるため、パラメータを調整したときと印刷動作を実行しているときとでプリンタの老朽化が進行したり使用環境が変化することがなく、より確実に、キャリアの振動を抑えて印刷品位の劣化を抑制することができる。また、印刷動作を行う前にメンテナンス動作が行われ、このメンテナンス動作におけるキャリアの移動を利用してキャリアをフィードバック制御するための比例積分制御のパラメータが調整されるため、比例積分制御のパラメータを調整するためだけに別途キャリアを移動させる必要がなく、比例積分制御のパラメータの調整を効率よく行うことができる。   According to the first aspect of the present invention, when executing the printing operation, the proportional-integral control parameter for feedback control of the carrier is adjusted before the printing operation is performed, and the adjusted parameter is set during the execution of the printing operation. The rotation speed of the carrier motor (that is, the moving speed of the carrier) is feedback controlled by proportional integral control. Therefore, even when the printer is aged or when the printer is operated in a poor operating environment, or when there is a change in the room temperature or humidity, or when there is a change in the remaining amount of ink in the ink cartridge, The error of the actual speed (measurement speed) with respect to the target speed of the carrier can be suppressed to suppress the vibration of the carrier, thereby suppressing the deterioration of the print quality. Moreover, since the proportional-integral control parameters are adjusted before the printing operation is performed, it is possible to suppress the deterioration of the print quality by suppressing the carrier vibration immediately after the printing operation is started. In addition, the proportional-integral control parameter is adjusted when the printing operation is executed, so that the printer ages and the usage environment changes when the parameter is adjusted and when the printing operation is executed. Therefore, the deterioration of the print quality can be suppressed more reliably by suppressing the vibration of the carrier. Also, the maintenance operation is performed before the printing operation, and the proportional integration control parameter for feedback control of the carrier is adjusted using the carrier movement in the maintenance operation, so the proportional integration control parameter is adjusted. Therefore, it is not necessary to move the carrier separately only for the purpose, and the proportional-integral control parameter can be adjusted efficiently.

請求項2の発明によれば、印刷動作を実行するとき、印刷動作を行う前にキャリアをフィードバック制御するための比例積分制御のパラメータが調整され、印刷動作の実行中にその調整されたパラメータを用いてキャリアモータの回転速度(すなわちキャリアの移動速度)が比例積分制御によってフィードバック制御される。従って、プリンタが老朽化した場合やプリンタを劣悪な使用環境下で動作させる場合でも、また、室内の温度や湿度に変化があった場合やインクカートリッジのインク残量に変化があった場合でも、キャリアの目標速度に対する実際の速度(測定速度)の誤差を抑えることができ(従ってキャリアの振動を抑えることができ)、これにより、印刷品位の劣化を抑制することができる。しかも、印刷動作を行う前に比例積分制御のパラメータが調整されるため、印刷動作の開始直後から、印刷品位の劣化を抑制することができる。さらに、印刷動作を実行するときに比例積分制御のパラメータが調整されるため、パラメータを調整したときと印刷動作を実行しているときとでプリンタの老朽化が進行したり使用環境が変化することがなく、より確実に、印刷品位の劣化を抑制することができる。   According to the second aspect of the present invention, when the printing operation is executed, the proportional-integral control parameter for feedback control of the carrier is adjusted before the printing operation is performed, and the adjusted parameter is adjusted during the printing operation. The rotation speed of the carrier motor (that is, the moving speed of the carrier) is feedback controlled by proportional integral control. Therefore, even when the printer is aged or when the printer is operated in a poor operating environment, or when there is a change in the room temperature or humidity, or when there is a change in the remaining amount of ink in the ink cartridge, The error of the actual speed (measurement speed) with respect to the target speed of the carrier can be suppressed (thus, the vibration of the carrier can be suppressed), and thereby the deterioration of the print quality can be suppressed. In addition, since the proportional-integral control parameters are adjusted before the printing operation is performed, it is possible to suppress the deterioration of the print quality immediately after the printing operation is started. In addition, the proportional-integral control parameter is adjusted when the printing operation is executed, so that the printer ages and the usage environment changes when the parameter is adjusted and when the printing operation is executed. Therefore, it is possible to more reliably suppress the deterioration of print quality.

請求項3の発明によれば、印刷動作を行う前にメンテナンス動作が行われ、このメンテナンス動作におけるキャリアの移動を利用してキャリアをフィードバック制御するための比例積分制御のパラメータが調整されるため、比例積分制御のパラメータを調整するためだけに別途キャリアを移動させる必要がなく、比例積分制御のパラメータの調整を効率よく行うことができる。   According to the invention of claim 3, since the maintenance operation is performed before the printing operation is performed, the parameter of the proportional-integral control for feedback control of the carrier is adjusted using the movement of the carrier in the maintenance operation. It is not necessary to move the carrier separately only to adjust the proportional-integral control parameters, and the proportional-integral control parameters can be adjusted efficiently.

以下、本発明を具体化した実施形態に係るプリンタについて図面を参照して説明する。図1は、プリンタの構成を示す。プリンタ1は、印刷用紙2に画像を印刷する装置である。このプリンタ1は、印刷用紙2にインクを噴射して画像を印刷する、いわゆるインクジェットプリンタである。   Hereinafter, a printer according to an embodiment of the present invention will be described with reference to the drawings. FIG. 1 shows the configuration of a printer. The printer 1 is a device that prints an image on the printing paper 2. The printer 1 is a so-called inkjet printer that prints an image by ejecting ink onto the printing paper 2.

プリンタ1は、印刷用紙2が載置されるペーパレスト3と、印刷用紙2を搬送する用紙搬送手段である給紙ローラ4a、フィードローラ4b、及びエグジットローラ4cと、印刷用紙2に画像を印刷するための印刷ヘッド5m、5cと、印刷用紙2に画像を印刷するためのインクを貯蔵するインクカートリッジ6m、6cと、印刷ヘッド5m、5cを保持し、印刷ヘッド5m、5cを移動させるためのキャリア7とを備える。また、プリンタ1は、キャリア7を移動させるキャリア移動手段であるキャリアベルト8と、給紙ローラ4a、フィードローラ4b、及びエグジットローラ4cを回転させるために回転制御されるフィードモータ9と、キャリア7を移動させるために回転制御されるキャリアモータ10と、キャリア7の移動速度及び位置を測定するためのエンコーダ11等を備える。   The printer 1 prints an image on the printing paper 2, a paper rest 3 on which the printing paper 2 is placed, a paper feed roller 4 a, a feed roller 4 b and an exit roller 4 c that are paper transporting means for transporting the printing paper 2. Print heads 5m and 5c, ink cartridges 6m and 6c for storing ink for printing an image on the printing paper 2, and print heads 5m and 5c are held and the print heads 5m and 5c are moved. Carrier 7 is provided. The printer 1 also includes a carrier belt 8 that is a carrier moving means for moving the carrier 7, a feed motor 9 that is rotationally controlled to rotate the paper feed roller 4 a, the feed roller 4 b, and the exit roller 4 c, and the carrier 7. A carrier motor 10 whose rotation is controlled so as to move the encoder, an encoder 11 for measuring the moving speed and position of the carrier 7, and the like.

印刷用紙2は、1枚又は複数枚のものが重ねられて、その下端側が筐体20の給紙口21に挿入されて、ペーパレスト3に載置される。給紙ローラ4aは、ペーパレスト3に載置されている印刷用紙2を筺体20の内部に取り込んでフィードローラ4bへと搬送する。フィードローラ4bは、給紙ローラ4aから搬送された印刷用紙2を、印刷ヘッド5m、5cの下方を通して、エグジットローラ4cへと搬送し、エグジットローラ4cは、フィードローラ4bにより搬送された印刷用紙2をさらに搬送して、排紙口22から筺体20の外部に排出する。給紙ローラ4a、フィードローラ4b、及びエグジットローラ4cは、フィードモータ9の回転により、不図示のギア等から成るローラ駆動機構を介して回転制御される。   One or a plurality of printing papers 2 are stacked, and the lower end side thereof is inserted into the paper feeding port 21 of the housing 20 and placed on the paper rest 3. The paper feed roller 4a takes the printing paper 2 placed on the paper rest 3 into the housing 20 and conveys it to the feed roller 4b. The feed roller 4b conveys the printing paper 2 conveyed from the paper feeding roller 4a to the exit roller 4c through the lower portions of the print heads 5m and 5c. The exit roller 4c is the printing paper 2 conveyed by the feed roller 4b. Is further conveyed and discharged from the paper discharge port 22 to the outside of the housing 20. The feed roller 4a, the feed roller 4b, and the exit roller 4c are controlled to rotate by a rotation of the feed motor 9 via a roller driving mechanism including a gear (not shown).

印刷ヘッド5m、5cは、印刷用紙2に画像を印刷するためにインクを噴射するインクジェット式の印刷ヘッドである。印刷ヘッド5mは、モノクロ用の印刷ヘッドであり、印刷ヘッド5cは、カラー用の印刷ヘッドである。インクカートリッジ6mは、モノクロ用のインクカートリッジであり、印刷ヘッド5mから噴射するためのモノクロ(ブラック)インクを貯蔵している。インクカートリッジ6cは、カラー用のインクカートリッジであり、印刷ヘッド5cから噴射するためのカラー(シアン、マゼンダ、イエロー)インクを貯蔵している。   The print heads 5 m and 5 c are ink jet print heads that eject ink to print an image on the printing paper 2. The print head 5m is a monochrome print head, and the print head 5c is a color print head. The ink cartridge 6m is a monochrome ink cartridge and stores monochrome (black) ink to be ejected from the print head 5m. The ink cartridge 6c is a color ink cartridge and stores color (cyan, magenta, yellow) ink to be ejected from the print head 5c.

モノクロ用の印刷ヘッド5mは、モノクロ用のインクカートリッジ6mに一体的に設けられており、モノクロ用のインクカートリッジ6mに貯蔵されているモノクロインクを噴射する。カラー用の印刷ヘッド5cは、カラー用のインクカートリッジ6cに一体的に設けられており、カラー用のインクカートリッジ6cに貯蔵されているカラーインクを噴射する。   The monochrome print head 5m is provided integrally with the monochrome ink cartridge 6m, and ejects monochrome ink stored in the monochrome ink cartridge 6m. The color print head 5c is provided integrally with the color ink cartridge 6c, and ejects the color ink stored in the color ink cartridge 6c.

インクカートリッジ6m、6cは、各々、貯蔵しているインクが無くなったときに交換できるように、キャリア7に着脱自在に保持されている。印刷ヘッド5mは、インクカートリッジ6mと共にキャリア7に着脱されて、インクカートリッジ6mと共に交換され、印刷ヘッド5cは、インクカートリッジ6cと共にキャリア7に着脱されて、インクカートリッジ6cと共に交換される。印刷ヘッド5m、5c及びインクカートリッジ6m、6cは、印刷ヘッド5m、5cから下方に向けてインクを噴射するように、印刷ヘッド5m、5cを下に向けてキャリア7に装着されて保持される。   The ink cartridges 6m and 6c are detachably held on the carrier 7 so that they can be replaced when the stored ink runs out. The print head 5m is attached to and detached from the carrier 7 together with the ink cartridge 6m and is exchanged together with the ink cartridge 6m. The print head 5c is attached to and detached from the carrier 7 together with the ink cartridge 6c and exchanged together with the ink cartridge 6c. The print heads 5m and 5c and the ink cartridges 6m and 6c are mounted and held on the carrier 7 with the print heads 5m and 5c facing down so as to eject ink downward from the print heads 5m and 5c.

キャリア7は、ガイド軸31、32に摺動自在に支持されており、ガイド軸31、32に案内されて、ガイド軸31、32の延びている方向に往復移動するようになっている。ガイド軸31、32は、フィードローラ4b及びエグジットローラ4cにより搬送される印刷用紙2の上方において、印刷用紙2の印刷面と平行であって印刷用紙2の搬送方向と直交する方向に延びている。   The carrier 7 is slidably supported by the guide shafts 31 and 32, and is guided by the guide shafts 31 and 32 so as to reciprocate in the direction in which the guide shafts 31 and 32 extend. The guide shafts 31, 32 extend above the printing paper 2 conveyed by the feed roller 4b and the exit roller 4c in a direction parallel to the printing surface of the printing paper 2 and orthogonal to the conveyance direction of the printing paper 2. .

キャリアベルト8は、キャリアモータ10及びプーリ39に巻設されて、キャリアモータ10とプーリ39との間にガイド軸31、32の延びている方向と略平行に張られており、キャリアモータ10の回転力が伝達されて、キャリアモータ10の回転力により動作するようになっている。また、キャリアベルト8には、キャリア7の背部が固定的に連結されている。すなわち、キャリアベルト8は、キャリアモータ10の回転により動作して、キャリア7をガイド軸31、32の延びている方向に移動させるようになっている。   The carrier belt 8 is wound around the carrier motor 10 and the pulley 39, and is stretched between the carrier motor 10 and the pulley 39 substantially in parallel with the direction in which the guide shafts 31 and 32 extend. The rotational force is transmitted and the carrier motor 10 is operated by the rotational force. The back of the carrier 7 is fixedly connected to the carrier belt 8. That is, the carrier belt 8 operates by the rotation of the carrier motor 10 to move the carrier 7 in the direction in which the guide shafts 31 and 32 extend.

つまり、キャリア7は、キャリアモータ10の回転により、キャリアベルト8を介してガイド軸31、32の延びている方向に移動制御され、フィードローラ4b及びエグジットローラ4cにより搬送される印刷用紙2の上方を、印刷用紙2の印刷面に沿って、印刷用紙2の搬送方向と直交する方向に往復移動する。キャリア7に保持された印刷ヘッド5m、5c及びインクカートリッジ6m、6cは、キャリア7が移動することにより、キャリア7と一緒に移動する。   In other words, the carrier 7 is controlled to move in the direction in which the guide shafts 31 and 32 extend via the carrier belt 8 by the rotation of the carrier motor 10 and above the printing paper 2 conveyed by the feed roller 4b and the exit roller 4c. Are reciprocated along the printing surface of the printing paper 2 in a direction perpendicular to the conveyance direction of the printing paper 2. The print heads 5m and 5c and the ink cartridges 6m and 6c held by the carrier 7 move together with the carrier 7 as the carrier 7 moves.

エンコーダ11は、所定ピッチの明暗パターンが形成されたエンコーダストリップ12と、エンコーダストリップ12からの反射光を受光する光学式のストリップセンサ13等を有している。エンコーダストリップ12は、ガイド軸31に設けられており、キャリア7の移動経路に沿って所定ピッチの明暗パターンが形成されている。ストリップセンサ13は、キャリア7の背部に設けられており、キャリア7と共に移動するようになっている。エンコーダ11は、ストリップセンサ13によりエンコーダストリップ12の明暗パターンからの反射光を受光し、その受光強度の変化に基いて、キャリア7の移動量に比例したパルス数のキャリア移動量検出信号を出力する。   The encoder 11 includes an encoder strip 12 on which a light and dark pattern with a predetermined pitch is formed, an optical strip sensor 13 that receives reflected light from the encoder strip 12, and the like. The encoder strip 12 is provided on the guide shaft 31, and a light and dark pattern with a predetermined pitch is formed along the movement path of the carrier 7. The strip sensor 13 is provided on the back of the carrier 7 and moves together with the carrier 7. The encoder 11 receives reflected light from the light / dark pattern of the encoder strip 12 by the strip sensor 13 and outputs a carrier movement amount detection signal having a pulse number proportional to the movement amount of the carrier 7 based on the change in the received light intensity. .

このような構成のプリンタ1は、フィードモータ9を回転制御することにより、給紙ローラ4a、フィードローラ4b、及びエグジットローラ4cによって、印刷用紙2を搬送制御し、また、キャリアモータ10を回転制御することにより、キャリアベルト8を介して、キャリア7(すなわち印刷ヘッド5m、5c)を移動制御するようになっている。   The printer 1 having such a configuration controls the conveyance of the printing paper 2 by the feed roller 4a, the feed roller 4b, and the exit roller 4c by controlling the rotation of the feed motor 9, and also controls the rotation of the carrier motor 10. Thus, the movement of the carrier 7 (that is, the print heads 5m and 5c) is controlled via the carrier belt 8.

そして、プリンタ1は、印刷用紙2を搬送すると共に、搬送される印刷用紙2の上方においてキャリア7を移動させつつ印刷ヘッド5m、5cからインクを噴射させることにより、印刷用紙2に画像を印刷する印刷動作を行うようになっている。また、プリンタ1は、印刷ヘッド5m、5cの目詰まりを防止するためのメンテナンス動作を行うようになっている。メンテナンス動作は、カラー用のメンテナンス位置Xcでカラー用の印刷ヘッド5cからインクを噴射させると共に、モノクロ用のメンテナンス位置Xmでモノクロ用の印刷ヘッド5mからインクを噴射させることにより行われる。   The printer 1 conveys the printing paper 2 and prints an image on the printing paper 2 by ejecting ink from the print heads 5 m and 5 c while moving the carrier 7 above the conveyed printing paper 2. A printing operation is performed. Further, the printer 1 performs a maintenance operation for preventing the print heads 5m and 5c from being clogged. The maintenance operation is performed by ejecting ink from the color print head 5c at the color maintenance position Xc and ejecting ink from the monochrome print head 5m at the monochrome maintenance position Xm.

カラー用のメンテナンス位置Xcは、印刷用紙2の搬送経路上よりも左側(キャリアモータ10の配置されている側と反対側)の場所に設定されており、モノクロ用のメンテナンス位置Xmは、印刷用紙2の搬送経路上よりも右側(キャリアモータ10の配置されている側)の場所に設定されている。なお、キャリア7は、印刷動作やメンテナンス動作等を行っていないときには、ホーム位置Xoに待機させられる。ホーム位置Xoは、カラー用のメンテナンス位置Xcよりも左側の場所に設定されている。   The color maintenance position Xc is set at a position on the left side (opposite to the side on which the carrier motor 10 is disposed) of the printing paper 2 on the conveyance path, and the monochrome maintenance position Xm is a printing paper. It is set at a location on the right side (the side where the carrier motor 10 is arranged) from the second conveyance path. Note that the carrier 7 is placed on standby at the home position Xo when the printing operation or the maintenance operation is not performed. The home position Xo is set on the left side of the color maintenance position Xc.

図2は、プリンタ1の電気的ブロック構成を示す。プリンタ1は、上述の構成に加え、プリンタ1の動作を制御するためのCPU、ROM、及びRAM等を含む制御部41と、フィードモータ駆動回路42と、キャリアモータ駆動回路43と、ヘッド駆動回路44と、キャリア速度算出部45と、キャリア位置算出部46と、パラメータメモリ47と、外部機器接続部48と、ワークメモリ49とを備えている。制御部41のROMには、プリンタ1の動作を制御するためのファームウェアや各種データが記憶されている。   FIG. 2 shows an electrical block configuration of the printer 1. In addition to the above-described configuration, the printer 1 includes a control unit 41 including a CPU, ROM, RAM, and the like for controlling the operation of the printer 1, a feed motor drive circuit 42, a carrier motor drive circuit 43, and a head drive circuit. 44, a carrier speed calculation unit 45, a carrier position calculation unit 46, a parameter memory 47, an external device connection unit 48, and a work memory 49. Firmware and various data for controlling the operation of the printer 1 are stored in the ROM of the control unit 41.

また、プリンタ1は、外部機器であるPC(パーソナルコンピュータ)60に接続して使用できるようになっている。すなわち、プリンタ1の動作をPC60を介して制御するためのプリンタドライバ70が、PC60にインストール(PC60の記憶手段に記憶)されるようになっており、PC60にインストールされたプリンタドライバ70によって、PC60を介してプリンタ1の各種動作が制御されるようになっている。   The printer 1 can be used by being connected to a PC (personal computer) 60 which is an external device. That is, a printer driver 70 for controlling the operation of the printer 1 via the PC 60 is installed in the PC 60 (stored in the storage unit of the PC 60). The printer driver 70 installed in the PC 60 causes the PC 60 to be installed. Various operations of the printer 1 are controlled via the control.

フィードモータ駆動回路42は、制御部41による制御のもと、フィードモータ9を回転駆動する。フィードモータ9が回転駆動されることにより、給紙ローラ4a、フィードローラ4b、及びエグジットローラ4cが回転して、印刷用紙2が搬送される。キャリアモータ駆動回路43は、制御部41による制御のもと、キャリアモータ10を回転駆動する。キャリアモータ10が回転駆動されることにより、キャリアベルト8を介してキャリア7が移動して、印刷ヘッド5m、5c及びインクカートリッジ6m、6cが移動する。ヘッド駆動回路44は、制御部41による制御のもと、印刷ヘッド5m、5cを駆動して、印刷ヘッド5m、5cからインクを噴射させる。   The feed motor drive circuit 42 rotates the feed motor 9 under the control of the control unit 41. When the feed motor 9 is driven to rotate, the paper feed roller 4a, the feed roller 4b, and the exit roller 4c rotate, and the printing paper 2 is conveyed. The carrier motor drive circuit 43 rotationally drives the carrier motor 10 under the control of the control unit 41. When the carrier motor 10 is rotationally driven, the carrier 7 is moved via the carrier belt 8, and the print heads 5m and 5c and the ink cartridges 6m and 6c are moved. The head drive circuit 44 drives the print heads 5m and 5c under the control of the control unit 41, and ejects ink from the print heads 5m and 5c.

キャリア速度算出部45は、エンコーダ11から出力されるキャリア移動量検出信号に基いて、キャリア7の移動速度を算出(測定)する。エンコーダ11及びキャリア速度算出部45等により、キャリア7の移動速度を測定するキャリア速度測定手段が構成されている。キャリア速度算出部45は、2ms毎に、キャリア7の移動速度を算出して、キャリア7の移動速度を示すキャリア速度信号を出力する。キャリア速度算出部45から出力されたキャリア速度信号は、制御部41に入力される。   The carrier speed calculation unit 45 calculates (measures) the movement speed of the carrier 7 based on the carrier movement amount detection signal output from the encoder 11. The encoder 11 and the carrier speed calculation unit 45 constitute a carrier speed measuring means for measuring the moving speed of the carrier 7. The carrier speed calculation unit 45 calculates the moving speed of the carrier 7 every 2 ms and outputs a carrier speed signal indicating the moving speed of the carrier 7. The carrier speed signal output from the carrier speed calculation unit 45 is input to the control unit 41.

キャリア位置算出部46は、エンコーダ11から出力されるキャリア移動量検出信号に基いて、キャリア7の位置を算出(測定)する。エンコーダ11及びキャリア位置算出部46等により、キャリア7の位置を測定するキャリア位置測定手段が構成されている。キャリア位置算出部46は、2ms毎に、キャリア7の位置を算出して、キャリア7の位置を示すキャリア位置信号を出力する。キャリア位置算出部46から出力されたキャリア位置信号は、制御部41に入力される。   The carrier position calculation unit 46 calculates (measures) the position of the carrier 7 based on the carrier movement amount detection signal output from the encoder 11. The encoder 11, the carrier position calculation unit 46, etc. constitute carrier position measuring means for measuring the position of the carrier 7. The carrier position calculation unit 46 calculates the position of the carrier 7 every 2 ms and outputs a carrier position signal indicating the position of the carrier 7. The carrier position signal output from the carrier position calculation unit 46 is input to the control unit 41.

パラメータメモリ47は、キャリア7の移動速度(キャリアモータ10の回転速度)を比例積分制御によってフィードバック制御するための比例積分制御の比例成分パラメータ及び積分成分パラメータを記憶するメモリである。パラメータメモリ47は、比例積分制御の比例成分パラメータ及び積分成分パラメータとして、初期設定されたパラメータ(キャリア7を移動させたときにキャリア7に振動が発生しないように、設計時に求められたパラメータ)を予め記憶している。また、パラメータメモリ47は、比例積分制御の比例成分パラメータ及び積分成分パラメータとして、制御部41による制御のもと、後述するパラメータ調整動作により調整されたパラメータを記憶する。   The parameter memory 47 is a memory that stores a proportional component parameter and an integral component parameter of proportional integral control for feedback control of the moving speed of the carrier 7 (rotational speed of the carrier motor 10) by proportional integral control. The parameter memory 47 is set as a proportional component parameter and an integral component parameter of proportional integral control with parameters that are initially set (parameters determined at the design so that the carrier 7 does not vibrate when the carrier 7 is moved). Pre-stored. Further, the parameter memory 47 stores parameters adjusted by a parameter adjustment operation described later under the control of the control unit 41 as the proportional component parameter and integral component parameter of the proportional-integral control.

外部機器接続部48は、PC60と通信を行うものであり、USBケーブルを介してPC60が接続されるようになっている。外部機器接続部48は、制御部41による制御のもと、USBケーブルを介してPC60との間で各種データの送受信を行う。ワークメモリ49は、制御部41による制御のもと、PC60から受信した各種データや、プリンタ1の動作を制御するための各種データ、プリンタ1の動作を制御するために制御部41で行った各種演算処理の結果等を一時的に記憶する。   The external device connection unit 48 communicates with the PC 60 and is connected to the PC 60 via a USB cable. The external device connection unit 48 transmits / receives various data to / from the PC 60 via the USB cable under the control of the control unit 41. The work memory 49 is controlled by the control unit 41, various data received from the PC 60, various data for controlling the operation of the printer 1, and various types of data performed by the control unit 41 for controlling the operation of the printer 1. The result of the arithmetic processing is temporarily stored.

制御部41は、フィードモータ駆動回路42によるフィードモータ9の回転駆動を制御することにより、給紙ローラ4a、フィードローラ4b、及びエグジットローラ4cを介して、印刷用紙2の搬送を制御する。また、制御部41は、キャリアモータ駆動回路43によるキャリアモータ10の回転駆動を制御することにより、キャリアベルト8を介して、キャリア7の移動(すなわちキャリア7に保持される印刷ヘッド5m、5cの移動)を制御する。さらに、制御部41は、ヘッド駆動回路44による印刷ヘッド5m、5cからのインクの噴射を制御する。   The controller 41 controls the conveyance of the printing paper 2 via the paper feed roller 4a, the feed roller 4b, and the exit roller 4c by controlling the rotation drive of the feed motor 9 by the feed motor drive circuit 42. Further, the control unit 41 controls the rotation of the carrier motor 10 by the carrier motor driving circuit 43 to move the carrier 7 via the carrier belt 8 (that is, the print heads 5m and 5c held by the carrier 7). Control). Further, the control unit 41 controls the ejection of ink from the print heads 5 m and 5 c by the head drive circuit 44.

ここで、キャリア7の移動制御について説明する。キャリア7は、上述のように、キャリアモータ10の回転により、キャリアベルト8を介して移動制御されるようになっている。キャリアモータ10は、供給される駆動電流の大きさによって回転速度が変化し、供給される駆動電流の極性によって回転方向が変化するDCモータが用いられている。キャリアモータ10の回転速度は、駆動電流が大きくなるにつれて速くなり、供給される駆動電流が小さくなるにつれて遅くなる。キャリアモータ10は、キャリアモータ駆動回路43によって駆動される。   Here, the movement control of the carrier 7 will be described. As described above, the carrier 7 is controlled to move through the carrier belt 8 by the rotation of the carrier motor 10. As the carrier motor 10, a DC motor is used in which the rotation speed changes depending on the magnitude of the supplied drive current, and the rotation direction changes depending on the polarity of the supplied drive current. The rotation speed of the carrier motor 10 increases as the drive current increases, and decreases as the supplied drive current decreases. The carrier motor 10 is driven by a carrier motor drive circuit 43.

キャリアモータ駆動回路43は、キャリアモータ10をPWM駆動する。つまり、キャリアモータ駆動回路43は、キャリアモータ10の駆動電流をPWM変調し、そのPWM変調した駆動電流をキャリアモータ10に供給する。PWM駆動のデューティ比(PWM変調された駆動電流のデューティ比)が高くなるにつれて、キャリアモータ10に供給される駆動電流が大きくなって、キャリアモータ10の回転速度が速くなり、一方、PWM駆動のデューティ比が低くなるにつれて、キャリアモータ10に供給される駆動電流が小さくなって、キャリアモータ10の回転速度が遅くなる。キャリアモータ駆動回路43によるキャリアモータ10のPWM駆動は、制御部41によって制御される。   The carrier motor drive circuit 43 drives the carrier motor 10 by PWM. That is, the carrier motor drive circuit 43 PWM modulates the drive current of the carrier motor 10 and supplies the PWM modulated drive current to the carrier motor 10. As the duty ratio of PWM drive (duty ratio of PWM-modulated drive current) increases, the drive current supplied to the carrier motor 10 increases and the rotational speed of the carrier motor 10 increases, while the PWM drive duty ratio increases. As the duty ratio decreases, the drive current supplied to the carrier motor 10 decreases and the rotation speed of the carrier motor 10 decreases. The PWM drive of the carrier motor 10 by the carrier motor drive circuit 43 is controlled by the control unit 41.

制御部41は、キャリアモータ10のPWM駆動を制御するためのPWM出力をキャリアモータ駆動回路43に与える。キャリアモータ駆動回路43は、制御部41から与えられるPWM出力に基いて、キャリアモータ10をPWM駆動する。すなわち、キャリアモータ駆動回路43は、制御部41から与えられるPWM出力のデューティ比でキャリアモータ10の駆動電流をPWM変調し、そのPWM変調した駆動電流をキャリアモータ10に供給する。   The control unit 41 gives a PWM output for controlling the PWM driving of the carrier motor 10 to the carrier motor driving circuit 43. The carrier motor drive circuit 43 PWM drives the carrier motor 10 based on the PWM output given from the control unit 41. That is, the carrier motor drive circuit 43 PWM modulates the drive current of the carrier motor 10 with the duty ratio of the PWM output given from the control unit 41 and supplies the PWM modulated drive current to the carrier motor 10.

つまり、制御部41は、キャリアモータ駆動回路43にPWM出力を与えることにより、そのPWM出力のデューティ比でキャリアモータ駆動回路43によりキャリアモータ10をPWM駆動させ、これにより、そのPWM出力のデューティ比に対応する回転速度でキャリアモータ10を回転させて、キャリア7を移動させる。そして、制御部41は、キャリアモータ駆動回路43に与えるPWM出力のデューティ比を制御することにより、キャリアモータ駆動回路43によるキャリアモータ10のPWM駆動を制御し、これにより、キャリアモータ10の回転速度を制御して、キャリア7の移動速度を制御する。   That is, the control unit 41 provides the carrier motor drive circuit 43 with a PWM output, thereby causing the carrier motor drive circuit 43 to drive the PWM with the duty ratio of the PWM output, and thereby the duty ratio of the PWM output. The carrier motor 10 is rotated at a rotational speed corresponding to the above, and the carrier 7 is moved. Then, the control unit 41 controls the PWM drive of the carrier motor 10 by the carrier motor drive circuit 43 by controlling the duty ratio of the PWM output given to the carrier motor drive circuit 43, and thereby the rotation speed of the carrier motor 10. To control the moving speed of the carrier 7.

また、制御部41は、印刷動作及びメンテナンス動作においてキャリア7を移動させるとき、キャリア7の移動速度が所定の目標速度となるように、キャリア速度算出部45により算出されるキャリア7の移動速度(測定速度)及びキャリア位置算出部46により算出されるキャリア7の位置(測定位置)に基いて、キャリア7の移動速度(すなわちキャリアモータ10の回転速度)を比例積分制御によってフィードバック制御する。   Further, when the control unit 41 moves the carrier 7 in the printing operation and the maintenance operation, the moving speed of the carrier 7 calculated by the carrier speed calculating unit 45 (so that the moving speed of the carrier 7 becomes a predetermined target speed ( Based on the measurement speed) and the position of the carrier 7 (measurement position) calculated by the carrier position calculation unit 46, the moving speed of the carrier 7 (that is, the rotation speed of the carrier motor 10) is feedback-controlled by proportional integral control.

図3は、キャリア7の移動速度の比例積分制御によるフィードバック制御のフローチャートを示す。上述のように、制御部41は、キャリアモータ駆動回路43にPWM出力を与えることにより、そのPWM出力のデューティ比に対応する回転速度でキャリアモータ10を回転させて、キャリア7を移動させる。   FIG. 3 shows a flowchart of feedback control by proportional integral control of the moving speed of the carrier 7. As described above, the control unit 41 provides the carrier motor drive circuit 43 with a PWM output, thereby rotating the carrier motor 10 at a rotational speed corresponding to the duty ratio of the PWM output to move the carrier 7.

制御部41は、キャリア7を移動させているとき、キャリア速度算出部45により算出されるキャリア7の移動速度(測定速度)及びキャリア位置算出部46により算出されるキャリア7の位置(測定位置)をフィードバック情報として取得し(#11)、そのフィードバック情報に基いて、キャリアモータ10の制御量Mを算出する(#12)。   When the control unit 41 moves the carrier 7, the movement speed (measurement speed) of the carrier 7 calculated by the carrier speed calculation unit 45 and the position (measurement position) of the carrier 7 calculated by the carrier position calculation unit 46. Is obtained as feedback information (# 11), and the control amount M of the carrier motor 10 is calculated based on the feedback information (# 12).

このとき、制御部41は、キャリア7の目標速度と測定速度(実際の移動速度)との偏差、及びキャリア7の目標位置と測定位置(実際の位置)との偏差に基いて、パラメータメモリ47に記憶されている比例積分制御の比例成分パラメータ及び積分成分パラメータを用いて、キャリアモータ10の制御量Mを算出する。キャリアモータ10の制御量Mは、キャリア7の目標速度と測定速度との偏差をΔV、キャリア7の目標位置と測定位置との偏差をΔX、比例積分制御の比例成分パラメータをKp、比例積分制御の積分成分パラメータをKiとして、M=Kp×ΔV+Ki×ΔXにより算出される。   At this time, the control unit 41 sets the parameter memory 47 based on the deviation between the target speed of the carrier 7 and the measurement speed (actual movement speed) and the deviation between the target position of the carrier 7 and the measurement position (actual position). The control amount M of the carrier motor 10 is calculated using the proportional component parameter and the integral component parameter of the proportional integral control stored in. The control amount M of the carrier motor 10 is ΔV for the deviation between the target speed of the carrier 7 and the measurement speed, ΔX for the deviation between the target position of the carrier 7 and the measurement position, Kp for the proportional component parameter of the proportional integral control, and proportional integral control. Is calculated by M = Kp × ΔV + Ki × ΔX.

そして、制御部41は、この制御量Mに応じたPWM出力により、キャリアモータ10を制御する(#13)。つまり、制御部41は、この制御量Mに応じて、キャリアモータ駆動回路43に与えるPWM出力のデューティ比を制御し、これにより、キャリアモータ10の回転速度を制御して、キャリア7の移動速度を制御する。   And the control part 41 controls the carrier motor 10 by the PWM output according to this control amount M (# 13). That is, the control unit 41 controls the duty ratio of the PWM output given to the carrier motor drive circuit 43 according to the control amount M, thereby controlling the rotational speed of the carrier motor 10 and moving the carrier 7. To control.

制御部41は、キャリア7を移動させている間、上記#11以降の処理を繰り返す。上述のように、キャリア速度算出部45によるキャリア7の移動速度の算出及びキャリア位置算出部46によるキャリア7の位置の算出は、2ms毎に行われる。つまり、制御部41は、キャリア7を移動させている間、2ms毎に、上記#11〜#13の処理を行って、キャリア7の移動速度(キャリアモータ10の回転速度)を比例積分制御によってフィードバック制御する。キャリア7は、制御部41による制御のもと、このようにして移動制御される。   The control unit 41 repeats the processes after # 11 while moving the carrier 7. As described above, the calculation of the moving speed of the carrier 7 by the carrier speed calculation unit 45 and the calculation of the position of the carrier 7 by the carrier position calculation unit 46 are performed every 2 ms. That is, the control unit 41 performs the processes of # 11 to # 13 every 2 ms while moving the carrier 7, and controls the moving speed of the carrier 7 (rotational speed of the carrier motor 10) by proportional integral control. Feedback control. The carrier 7 is controlled to move in this way under the control of the control unit 41.

プリンタドライバ70は、PC60におけるユーザの操作を受けて、プリンタ1に対して印刷指示を行うようになっており、プリンタ1に対して印刷指示を行うときに、画像を印刷するための印刷コマンドをプリンタ1に送信する。印刷コマンドには、印刷する画像を表わす印刷画像データ、画像の印刷速度(画像を印刷するときのキャリア7の移動速度)を示す印刷速度データ等が含まれている。   The printer driver 70 receives a user operation on the PC 60 and issues a print instruction to the printer 1. When the print instruction is issued to the printer 1, the printer driver 70 issues a print command for printing an image. Send to printer 1. The print command includes print image data representing an image to be printed, print speed data indicating the print speed of the image (the moving speed of the carrier 7 when printing the image), and the like.

プリンタ1の制御部41は、プリンタドライバ70から印刷コマンドを受信すると(すなわちユーザによる印刷指示を受けると)、その印刷コマンドに基いて、印刷ジョブを実行する。印刷ジョブには、印刷用紙2に画像を印刷する印刷動作、印刷ヘッド5m、5cの目詰まりを防止するためのメンテナンス動作、及びキャリア7の移動速度(キャリアモータ10の回転速度)を制御するための比例積分制御の比例成分パラメータ及び積分成分パラメータを調整するパラメータ調整動作が含まれている。   When the control unit 41 of the printer 1 receives a print command from the printer driver 70 (that is, receives a print instruction from the user), the control unit 41 executes a print job based on the print command. For the print job, in order to control the printing operation for printing an image on the printing paper 2, the maintenance operation for preventing clogging of the print heads 5m and 5c, and the moving speed of the carrier 7 (rotational speed of the carrier motor 10). The proportional component parameter of the proportional integral control and the parameter adjusting operation for adjusting the integral component parameter are included.

印刷動作は、印刷コマンドに含まれる印刷画像データ、印刷速度データ等に基いて、印刷用紙2を搬送すると共に、搬送される印刷用紙2の上方においてキャリア7を移動させつつ印刷ヘッド5m、5cからインクを噴射させることにより行われる。印刷動作は、メンテナンス動作及びパラメータ調整動作の後に行われる。   In the printing operation, the printing paper 2 is transported based on the print image data, the printing speed data, and the like included in the printing command, and the print heads 5m and 5c are moved while the carrier 7 is moved above the transported printing paper 2. This is done by ejecting ink. The printing operation is performed after the maintenance operation and the parameter adjustment operation.

メンテナンス動作は、キャリア7をホーム位置Xoからカラー用のメンテナンス位置Xcに移動させて、カラー用のメンテナンス位置Xcでカラー用の印刷ヘッド5cからインクを噴射させ、続いて、キャリア7をカラー用のメンテナンス位置Xcからモノクロ用のメンテナンス位置Xmに移動させて、モノクロ用のメンテナンス位置Xmでモノクロ用の印刷ヘッド5mからインクを噴射させることにより行われる。メンテナンス動作は、印刷動作を行う前に行われる。   In the maintenance operation, the carrier 7 is moved from the home position Xo to the color maintenance position Xc, and ink is ejected from the color print head 5c at the color maintenance position Xc. This is performed by moving the ink from the maintenance position Xc to the monochrome maintenance position Xm and ejecting ink from the monochrome print head 5m at the monochrome maintenance position Xm. The maintenance operation is performed before the printing operation is performed.

パラメータ調整動作は、キャリア7を印刷動作を行うときの目標速度で移動させて、そのときにキャリア速度算出部45により測定される測定速度と目標速度との比較結果に基いて、目標速度に対する測定速度の誤差を抑えるように、比例積分制御の比例成分パラメータ及び積分成分パラメータを算出し、その算出した比例積分制御の比例成分パラメータ及び積分成分パラメータをパラメータメモリ47に記憶することにより行われる。パラメータ調整動作は、印刷動作を行う前に行われ、メンテナンス動作におけるキャリア7の移動を利用して行われる。   In the parameter adjustment operation, the carrier 7 is moved at the target speed when the printing operation is performed, and the measurement with respect to the target speed is performed based on the comparison result between the measurement speed and the target speed measured by the carrier speed calculation unit 45 at that time. The proportional component parameter and the integral component parameter of the proportional integral control are calculated so as to suppress the speed error, and the calculated proportional component parameter and the integral component parameter of the proportional integral control are stored in the parameter memory 47. The parameter adjustment operation is performed before the printing operation, and is performed using the movement of the carrier 7 in the maintenance operation.

図4は、上記プリンタ1の印刷ジョブのフローチャートを示す。制御部41は、プリンタドライバ70から印刷コマンドを受信すると(#21でYES)、まず、その印刷コマンドから印刷動作を行うときの画像の印刷速度(画像を印刷するときのキャリア7の移動速度)を確認する(#22)。上述のように、印刷コマンドには、印刷する画像を表わす印刷画像データ、画像の印刷速度(画像を印刷するときのキャリア7の移動速度)を示す印刷速度データ等が含まれている。制御部41は、印刷コマンドに含まれている印刷速度データに基いて、画像の印刷速度を確認し、そして、この画像の印刷速度を、印刷動作を行うときのキャリア7の目標速度として設定する。   FIG. 4 shows a flowchart of a print job of the printer 1. When the control unit 41 receives a print command from the printer driver 70 (YES in # 21), first, an image printing speed when performing a printing operation from the print command (moving speed of the carrier 7 when printing an image). Is confirmed (# 22). As described above, the print command includes print image data representing an image to be printed, print speed data indicating the print speed of the image (the moving speed of the carrier 7 when printing the image), and the like. The control unit 41 confirms the printing speed of the image based on the printing speed data included in the printing command, and sets the printing speed of the image as the target speed of the carrier 7 when performing the printing operation. .

続いて、制御部41は、上記#22で確認した画像の印刷速度と同じ速度でキャリア7を移動させてメンテナンス動作を実行する(#23)。すなわち、制御部41は、メンテナンス動作においてキャリア7を移動させるときに、キャリア7を印刷動作を行うときの目標速度で移動させる。このとき、制御部41は、キャリア7の移動速度(キャリアモータ10の回転速度)を上述のように比例積分制御によってフィードバック制御する。なお、このとき、制御部41は、パラメータメモリ47に予め記憶されている(すなわち初期に設定されている)比例積分制御の比例成分パラメータ及び積分成分パラメータを用いて、キャリア7の移動速度を比例積分制御によってフィードバック制御する。   Subsequently, the control unit 41 performs the maintenance operation by moving the carrier 7 at the same speed as the image printing speed confirmed in # 22 (# 23). That is, when moving the carrier 7 in the maintenance operation, the control unit 41 moves the carrier 7 at the target speed for performing the printing operation. At this time, the control unit 41 feedback-controls the moving speed of the carrier 7 (the rotational speed of the carrier motor 10) by proportional integral control as described above. At this time, the control unit 41 uses the proportional component parameter and the integral component parameter of the proportional integral control that are stored in advance in the parameter memory 47 (that is, set in the initial stage) and proportionally adjusts the moving speed of the carrier 7. Feedback control is performed by integral control.

そして、制御部41は、メンテナンス動作でキャリア7に振動が発生しているか否かを判断する(#24)。なお、キャリア7の振動とは、キャリア7の実際の移動速度が短い時間内で幾度も目標速度から変動する現象のことをいう。キャリア7に振動が発生しているか否かの判断は、メンテナンス動作においてキャリア7を移動させているときにキャリア速度算出部45により算出される2ms毎の測定速度(実際の移動速度)と目標速度との比較結果に基いて行われ、例えば、キャリア7の測定速度が目標速度から規定値を超えて変動することが200msの間に2回以上あれば、キャリア7に振動が発生していると判断する。   And the control part 41 judges whether the vibration has generate | occur | produced in the carrier 7 by maintenance operation | movement (# 24). Note that the vibration of the carrier 7 refers to a phenomenon in which the actual moving speed of the carrier 7 fluctuates from the target speed several times within a short time. Whether the carrier 7 is vibrating or not is determined based on the measured speed (actual moving speed) and the target speed every 2 ms calculated by the carrier speed calculating unit 45 when the carrier 7 is moved in the maintenance operation. For example, if the measurement speed of the carrier 7 fluctuates from the target speed beyond the specified value more than once in 200 ms, the carrier 7 is vibrated. to decide.

ここで、キャリアに振動が発生していれば(#24でYES)、制御部41は、キャリア7の移動速度を制御するための比例積分制御の比例成分パラメータ及び積分成分パラメータを変更する(#25)。すなわち、制御部41は、キャリア7の目標速度に対する測定速度の誤差を抑えてキャリア7に発生する振動を抑えるように、比例積分制御の比例成分パラメータ及び積分成分パラメータを算出し、その算出した比例積分制御の比例成分パラメータ及び積分成分パラメータをパラメータメモリ47に記憶する。なお、キャリアに振動が発生していなければ(#24でNO)、制御部41は、比例積分制御の比例成分パラメータ及び積分成分パラメータを変更しない。#23〜#25の処理によりパラメータ調整動作が行われる。   Here, if vibration is generated in the carrier (YES in # 24), the control unit 41 changes the proportional component parameter and the integral component parameter of the proportional integral control for controlling the moving speed of the carrier 7 (#). 25). That is, the control unit 41 calculates the proportional component parameter and the integral component parameter of the proportional integral control so as to suppress the vibration generated in the carrier 7 by suppressing the error of the measurement speed with respect to the target speed of the carrier 7, and the calculated proportionality The proportional component parameter and the integral component parameter of the integral control are stored in the parameter memory 47. If no vibration is generated in the carrier (NO in # 24), the control unit 41 does not change the proportional component parameter and the integral component parameter of the proportional integral control. The parameter adjustment operation is performed by the processes of # 23 to # 25.

続いて、制御部41は、印刷動作を実行する(#26)。すなわち、制御部41は、上記#22で確認した画像の印刷速度で印刷動作を実行する。このとき、制御部41は、キャリア7の移動速度を上述のように比例積分制御によってフィードバック制御する。そして、このとき、制御部41は、上記#24でキャリア7に振動が発生していると判断した場合(すなわち上記#23のメンテナンス動作でキャリア7に振動が発生していた場合)には、上記#25で変更したパラメータを用いて、キャリア7の移動速度を比例積分制御によってフィードバック制御し、一方、上記24でキャリア7に振動が発生していないと判断した場合(すなわち上記#23のメンテナンス動作でキャリア7に振動が発生していなかった場合)には、パラメータメモリ47に予め記憶されている(すなわち初期に設定されている)パラメータを用いて、キャリア7の移動速度を比例積分制御によってフィードバック制御する。   Subsequently, the control unit 41 executes a printing operation (# 26). That is, the control unit 41 executes the printing operation at the image printing speed confirmed in # 22. At this time, the control unit 41 feedback-controls the moving speed of the carrier 7 by proportional-integral control as described above. At this time, when the control unit 41 determines that vibration is generated in the carrier 7 in # 24 (that is, when vibration is generated in the carrier 7 in the maintenance operation of # 23), When the moving speed of the carrier 7 is feedback-controlled by proportional-integral control using the parameter changed in # 25, on the other hand, if it is determined in 24 that no vibration has occurred in the carrier 7 (that is, the maintenance of # 23 above) When no vibration is generated in the carrier 7 during operation), the moving speed of the carrier 7 is controlled by proportional integral control using parameters stored in advance in the parameter memory 47 (that is, initially set). Feedback control.

印刷動作を終えると、制御部41は、上記#25で変更した(パラメータメモリ47に記憶した)パラメータを消去する(#27)。そして、制御部41は、印刷ジョブを終了する。   When the printing operation is finished, the control unit 41 deletes the parameter changed (stored in the parameter memory 47) in # 25 (# 27). Then, the control unit 41 ends the print job.

このような構成のプリンタ1によれば、印刷動作を実行するとき、印刷動作を行う前にキャリア7をフィードバック制御するための比例積分制御のパラメータが調整され、印刷動作の実行中にその調整されたパラメータを用いてキャリアモータ10の回転速度(すなわちキャリア7の移動速度)が比例積分制御によってフィードバック制御される。従って、プリンタ1が老朽化した場合やプリンタ1を劣悪な使用環境下で動作させる場合でも、また、室内の温度や湿度に変化があった場合やインクカートリッジ6m、6cのインク残量に変化があった場合でも、キャリア7の目標速度に対する実際の速度(測定速度)の誤差を抑えてキャリア7の振動を抑えることができ、これにより、印刷品位の劣化を抑制することができる。   According to the printer 1 having such a configuration, when executing the printing operation, the parameters of the proportional-integral control for feedback control of the carrier 7 are adjusted before the printing operation is performed, and the parameters are adjusted during the execution of the printing operation. The rotational speed of the carrier motor 10 (that is, the moving speed of the carrier 7) is feedback-controlled by proportional-integral control using the parameters. Therefore, even when the printer 1 is aged or when the printer 1 is operated in a poor use environment, when the room temperature or humidity changes, or the ink remaining amount in the ink cartridges 6m and 6c changes. Even in such a case, the error of the actual speed (measurement speed) with respect to the target speed of the carrier 7 can be suppressed, and the vibration of the carrier 7 can be suppressed, whereby deterioration of the print quality can be suppressed.

しかも、印刷動作を行う前に比例積分制御のパラメータが調整されるため、印刷動作の開始直後から、キャリア7の振動を抑えて印刷品位の劣化を抑制することができる。さらに、印刷動作を実行するときに比例積分制御のパラメータが調整されるため、パラメータを調整したときと印刷動作を実行しているときとでプリンタ1の老朽化が進行したり使用環境が変化することがなく、より確実に、キャリア7の振動を抑えて印刷品位の劣化を抑制することができる。   Moreover, since the proportional-integral control parameters are adjusted before the printing operation is performed, it is possible to suppress the deterioration of the printing quality by suppressing the vibration of the carrier 7 immediately after the start of the printing operation. Further, since the proportional-integral control parameter is adjusted when the printing operation is executed, the printer 1 is aged or the usage environment is changed depending on whether the parameter is adjusted or when the printing operation is executed. Therefore, it is possible to more reliably suppress the vibration of the carrier 7 and suppress the deterioration of the print quality.

また、印刷動作を行う前にメンテナンス動作が行われ、このメンテナンス動作におけるキャリア7の移動を利用してキャリア7をフィードバック制御するための比例積分制御のパラメータが調整されるため、比例積分制御のパラメータを調整するためだけに別途キャリア7を移動させる必要がなく、比例積分制御のパラメータの調整を効率よく行うことができる。   Further, since the maintenance operation is performed before the printing operation is performed and the parameter of the proportional integration control for feedback control of the carrier 7 is adjusted using the movement of the carrier 7 in the maintenance operation, the parameter of the proportional integration control is adjusted. Therefore, it is not necessary to move the carrier 7 separately only for adjusting the parameter, and the proportional-integral control parameter can be adjusted efficiently.

なお、本発明は、上記実施形態の構成に限られず、種々の変形が可能である。例えば、パラメータ調整動作により変更した(パラメータメモリに記憶した)パラメータは、消去せずに、次回の印刷ジョブのメンテナンス動作においてキャリアを移動させるときのパラメータとして用いるようにしてもよい。キャリアの移動速度及び位置の測定は、キャリアの移動量を基に測定することに代えて、スキャンモータの回転量を基に測定するようにしてもよい。プリンタは、外部機器にインストールされたプリンタドライバから受信した印刷コマンドに基いて画像を印刷するものに限られず、例えば、画像読取手段を備え、画像読取手段により画像を読取って得たデータを基に画像を印刷するものであってもよい。   In addition, this invention is not restricted to the structure of the said embodiment, A various deformation | transformation is possible. For example, the parameter changed by the parameter adjustment operation (stored in the parameter memory) may be used as a parameter for moving the carrier in the maintenance operation of the next print job without being deleted. The movement speed and position of the carrier may be measured based on the rotation amount of the scan motor instead of measuring based on the movement amount of the carrier. The printer is not limited to printing an image based on a print command received from a printer driver installed in an external device. For example, the printer includes an image reading unit and is based on data obtained by reading an image by the image reading unit. An image may be printed.

本発明の一実施形態に係るプリンタの概略構成を示す一部破断した斜視図。1 is a partially broken perspective view showing a schematic configuration of a printer according to an embodiment of the present invention. 同プリンタの電気的ブロック構成図。FIG. 2 is an electrical block configuration diagram of the printer. 同プリンタのキャリアの移動速度のフィードバック制御を示すフローチャート。6 is a flowchart showing feedback control of a carrier moving speed of the printer. 同プリンタの印刷ジョブを示すフローチャート。6 is a flowchart showing a print job of the printer.

符号の説明Explanation of symbols

1 プリンタ
2 印刷用紙
3 ペーパレスト
4a 給紙ローラ
4b フィードローラ
4c エグジットローラ
5m、5c 印刷ヘッド
6m、6c インクカートリッジ
7 キャリア
8 キャリアベルト
9 フィードモータ
10 キャリアモータ
11 エンコーダ
12 エンコーダストリップ
13 ストリップセンサ
20 筐体
21 給紙口
22 排紙口
31、32 ガイド軸
39 プーリ
41 制御部
42 フィードモータ駆動回路
43 キャリアモータ駆動回路
44 ヘッド駆動回路
45 キャリア速度算出部
46 キャリア位置算出部
47 パラメータメモリ
48 外部機器接続部
49 ワークメモリ
60 PC(パーソナルコンピュータ)
70 プリンタドライバ
DESCRIPTION OF SYMBOLS 1 Printer 2 Printing paper 3 Paper rest 4a Paper feed roller 4b Feed roller 4c Exit roller 5m, 5c Print head 6m, 6c Ink cartridge 7 Carrier 8 Carrier belt 9 Feed motor 10 Carrier motor 11 Encoder 12 Encoder strip 13 Strip sensor 20 Housing DESCRIPTION OF SYMBOLS 21 Paper feed port 22 Paper discharge port 31, 32 Guide shaft 39 Pulley 41 Control part 42 Feed motor drive circuit 43 Carrier motor drive circuit 44 Head drive circuit 45 Carrier speed calculation part 46 Carrier position calculation part 47 Parameter memory 48 External apparatus connection part 49 Work memory 60 PC (Personal computer)
70 Printer driver

Claims (3)

印刷用紙を搬送する用紙搬送手段と、印刷用紙に画像を印刷するためにインクを噴射する印刷ヘッドと、前記印刷ヘッドを保持するキャリアと、前記キャリアを移動させるために回転制御されるキャリアモータと、前記キャリアモータの回転力が伝達され、前記キャリアモータの回転により動作して前記キャリアを移動させるキャリア移動手段と、前記キャリアの移動速度を測定するキャリア速度測定手段と、前記キャリアの位置を測定するキャリア位置測定手段と、本装置の動作を制御する制御手段とを備え、
前記制御手段は、
前記キャリアモータを回転制御することにより、前記キャリア移動手段を介して前記キャリアを移動制御し、
前記キャリアを移動させつつ、前記キャリアに保持される前記印刷ヘッドからインクを噴射させることにより、印刷用紙に画像を印刷する印刷動作を実行し、
前記印刷動作の実行中に、前記キャリアの移動速度が所定の目標速度となるように、前記キャリア速度測定手段により測定される測定速度及び前記キャリア位置測定手段により測定される測定位置に基いて、前記キャリアモータの回転速度を比例積分制御によってフィードバック制御するプリンタにおいて、
前記制御手段は、
ユーザによる印刷指示を受けて前記印刷動作を実行するとき、
前記印刷動作を行う前に、前記キャリアを所定のメンテナンス位置に移動させて、そのメンテナンス位置で前記印刷ヘッドからインクを噴射させることにより、前記印刷ヘッドの目詰まりを防止するためのメンテナンス動作を実行し、
また、前記印刷動作を行う前に、前記キャリアを前記印刷動作を行うときの目標速度で移動させて、そのときに前記キャリア速度測定手段により測定される測定速度と前記目標速度との比較結果に基いて、前記目標速度に対する前記測定速度の誤差を抑えるように前記比例積分制御のパラメータを調整するパラメータ調整動作を実行し、
前記印刷動作の実行中に、前記パラメータ調整動作によって調整されたパラメータを用いて、前記キャリアモータの回転速度を比例積分制御によってフィードバック制御し、
前記パラメータ調整動作は、
前記メンテナンス動作において前記キャリアを移動させるときに、前記キャリアを前記印刷動作を行うときの目標速度で移動させ、このとき、初期に設定されている比例積分制御の比例成分パラメータ及び積分成分パラメータを用いて、前記キャリア速度測定手段により測定される測定速度及び前記キャリア位置測定手段により測定される測定位置に基いて、前記キャリアモータの回転速度を比例積分制御によってフィードバック制御し、
前記メンテナンス動作において前記キャリアを移動させているときに前記キャリア速度測定手段により測定される所定時間毎の測定速度と前記目標速度との比較結果に基いて、前記キャリアに振動が発生しているか否かを判断し、
前記キャリアに振動が発生している場合に、前記目標速度に対する前記測定速度の誤差を抑えて前記キャリアに発生する振動を抑えるように前記比例積分制御の比例成分パラメータ及び積分成分パラメータを調整することにより行われる、
ことを特徴とするプリンタ。
A paper conveying means for conveying the printing paper, a printing head for ejecting ink to print an image on the printing paper, a carrier for holding the printing head, and a carrier motor that is rotationally controlled to move the carrier; A carrier moving means for transmitting the rotational force of the carrier motor and operating by the rotation of the carrier motor to move the carrier; a carrier speed measuring means for measuring the moving speed of the carrier; and measuring the position of the carrier. Carrier position measuring means, and control means for controlling the operation of the apparatus,
The control means includes
By controlling the rotation of the carrier motor, the carrier is controlled to move through the carrier moving means,
A printing operation for printing an image on printing paper is performed by ejecting ink from the print head held by the carrier while moving the carrier,
Based on the measurement speed measured by the carrier speed measurement means and the measurement position measured by the carrier position measurement means so that the movement speed of the carrier becomes a predetermined target speed during the execution of the printing operation, In a printer that feedback-controls the rotation speed of the carrier motor by proportional-integral control,
The control means includes
When executing the printing operation in response to a printing instruction from the user,
Before performing the printing operation, the carrier is moved to a predetermined maintenance position, and ink is ejected from the print head at the maintenance position, thereby performing a maintenance operation for preventing the print head from being clogged. And
Further, before performing the printing operation, the carrier is moved at a target speed when the printing operation is performed, and a comparison result between the measurement speed measured by the carrier speed measurement unit and the target speed is obtained. Based on this, a parameter adjustment operation is performed to adjust the parameters of the proportional-integral control so as to suppress an error in the measurement speed with respect to the target speed,
During the execution of the printing operation, using the parameter adjusted by the parameter adjustment operation, feedback control of the rotation speed of the carrier motor by proportional integral control,
The parameter adjustment operation is:
When the carrier is moved in the maintenance operation, the carrier is moved at a target speed for performing the printing operation, and at this time, the proportional component parameter and the integral component parameter of the proportional integral control which are initially set are used. Feedback control of the rotation speed of the carrier motor by proportional integral control based on the measurement speed measured by the carrier speed measurement means and the measurement position measured by the carrier position measurement means,
Whether or not vibration is generated in the carrier based on the comparison result between the target speed and the measurement speed measured every predetermined time when the carrier is moved in the maintenance operation. Determine whether
Adjusting the proportional component parameter and the integral component parameter of the proportional integral control so as to suppress the vibration generated in the carrier by suppressing the error of the measurement speed with respect to the target speed when the carrier is vibrating. Done by
A printer characterized by that.
印刷用紙を搬送する用紙搬送手段と、印刷用紙に画像を印刷するためにインクを噴射する印刷ヘッドと、前記印刷ヘッドを保持するキャリアと、前記キャリアを移動させるために回転制御されるキャリアモータと、前記キャリアモータの回転力が伝達され、前記キャリアモータの回転により動作して前記キャリアを移動させるキャリア移動手段と、前記キャリアの移動速度を測定するキャリア速度測定手段と、前記キャリアの位置を測定するキャリア位置測定手段と、本装置の動作を制御する制御手段とを備え、
前記制御手段は、
前記キャリアモータを回転制御することにより、前記キャリア移動手段を介して前記キャリアを移動制御し、
前記キャリアを移動させつつ、前記キャリアに保持される前記印刷ヘッドからインクを噴射させることにより、印刷用紙に画像を印刷する印刷動作を実行し、
前記印刷動作の実行中に、前記キャリアの移動速度が所定の目標速度となるように、前記キャリア速度測定手段により測定される測定速度及び前記キャリア位置測定手段により測定される測定位置に基いて、前記キャリアモータの回転速度を比例積分制御によってフィードバック制御するプリンタにおいて、
前記制御手段は、
前記印刷動作を実行するとき、
前記印刷動作を行う前に、前記キャリアを前記印刷動作を行うときの目標速度で移動させて、そのときに前記キャリア速度測定手段により測定される測定速度と前記目標速度との比較結果に基いて、前記目標速度に対する前記測定速度の誤差を抑えるように前記比例積分制御のパラメータを調整するパラメータ調整動作を実行し、
前記印刷動作の実行中に、前記パラメータ調整動作によって調整されたパラメータを用いて、前記キャリアモータの回転速度を比例積分制御によってフィードバック制御する、
ことを特徴とするプリンタ。
A paper conveying means for conveying the printing paper, a printing head for ejecting ink to print an image on the printing paper, a carrier for holding the printing head, and a carrier motor that is rotationally controlled to move the carrier; A carrier moving means for transmitting the rotational force of the carrier motor and operating by the rotation of the carrier motor to move the carrier; a carrier speed measuring means for measuring the moving speed of the carrier; and measuring the position of the carrier. Carrier position measuring means, and control means for controlling the operation of the apparatus,
The control means includes
By controlling the rotation of the carrier motor, the carrier is controlled to move through the carrier moving means,
Executing a printing operation for printing an image on a printing paper by ejecting ink from the print head held by the carrier while moving the carrier;
Based on the measurement speed measured by the carrier speed measurement means and the measurement position measured by the carrier position measurement means so that the movement speed of the carrier becomes a predetermined target speed during the execution of the printing operation, In a printer that feedback-controls the rotation speed of the carrier motor by proportional-integral control,
The control means includes
When performing the printing operation,
Before performing the printing operation, the carrier is moved at a target speed when the printing operation is performed, and based on a comparison result between the measurement speed measured by the carrier speed measurement unit and the target speed at that time. Executing a parameter adjustment operation for adjusting the parameters of the proportional-integral control so as to suppress an error in the measurement speed with respect to the target speed,
During the execution of the printing operation, feedback control of the rotation speed of the carrier motor is performed by proportional integral control using the parameter adjusted by the parameter adjustment operation.
A printer characterized by that.
前記制御手段は、
前記印刷動作を行う前に、前記キャリアを所定のメンテナンス位置に移動させて、そのメンテナンス位置で前記印刷ヘッドからインクを噴射させることにより、前記印刷ヘッドの目詰まりを防止するためのメンテナンス動作を実行し、
前記パラメータ調整動作は、
前記メンテナンス動作において前記キャリアを移動させるときに、前記キャリアを前記印刷動作を行うときの目標速度で移動させ、そのときに前記キャリア速度測定手段により測定される測定速度と前記目標速度との比較結果に基いて、前記目標速度に対する前記測定速度の誤差を抑えるように前記比例積分制御のパラメータを調整することにより行われる、
ことを特徴とする請求項2に記載のプリンタ。


The control means includes
Before performing the printing operation, the carrier is moved to a predetermined maintenance position, and ink is ejected from the print head at the maintenance position, thereby performing a maintenance operation for preventing the print head from being clogged. And
The parameter adjustment operation is:
When the carrier is moved in the maintenance operation, the carrier is moved at a target speed when the printing operation is performed, and a comparison result between the measurement speed measured by the carrier speed measurement unit and the target speed at that time Is performed by adjusting the parameter of the proportional-integral control so as to suppress the error of the measurement speed with respect to the target speed,
The printer according to claim 2.


JP2007014210A 2007-01-24 2007-01-24 Printer Withdrawn JP2008179057A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2007014210A JP2008179057A (en) 2007-01-24 2007-01-24 Printer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2007014210A JP2008179057A (en) 2007-01-24 2007-01-24 Printer

Publications (1)

Publication Number Publication Date
JP2008179057A true JP2008179057A (en) 2008-08-07

Family

ID=39723327

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2007014210A Withdrawn JP2008179057A (en) 2007-01-24 2007-01-24 Printer

Country Status (1)

Country Link
JP (1) JP2008179057A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013107359A (en) * 2011-11-24 2013-06-06 Canon Inc Recording apparatus
CN112277469A (en) * 2020-10-30 2021-01-29 深圳市汉森软件有限公司 Method, device and equipment for adjusting motor parameters for driving spray head and storage medium

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013107359A (en) * 2011-11-24 2013-06-06 Canon Inc Recording apparatus
CN112277469A (en) * 2020-10-30 2021-01-29 深圳市汉森软件有限公司 Method, device and equipment for adjusting motor parameters for driving spray head and storage medium
CN112277469B (en) * 2020-10-30 2022-04-15 深圳市汉森软件有限公司 Method, device and equipment for adjusting motor parameters for driving spray head and storage medium

Similar Documents

Publication Publication Date Title
CN104924782B (en) Print system, print control unit and print control program
US20110216113A1 (en) Image forming apparatus and method for correcting landing positions of liquid droplets
US9604449B2 (en) Image forming apparatus, roll print medium conveyance control method and non-transitory computer readable recording medium
US8573727B2 (en) Inkjet printing apparatus and carriage control method for controlling carriage speed
JP2009018534A (en) Inkjet recording apparatus
JP2012229074A (en) Conveyance device and image forming apparatus
JP2014121868A (en) Image formation device, image formation method, program
JP2008179057A (en) Printer
JP2013215914A (en) Recording device, drive control method of recording device, and drive control program of recording device
JP2014104716A (en) Image formation device, program
JP6003156B2 (en) Image forming apparatus
US20110181649A1 (en) Image recording apparatus and image recording method
JP2019166761A (en) Motor control method and motor controller
JP4552543B2 (en) Motor overheat determination device, motor overheat determination method, motor overheat determination program, motor control device, motor control method, and printing apparatus
US20080211846A1 (en) Setting method and image forming apparatus
JP2007219691A (en) PID control device and control parameter update method
JP2009000975A (en) Image forming apparatus and image forming method
JPH0947057A (en) Motor control device and recording device using the control device
JP4355545B2 (en) Motor drive control and image forming apparatus
JP2011156721A (en) Recording device
JP2009196209A (en) Feeder, printer, control method of feeder, control method of printer, and program
JP2009083381A (en) Image recording apparatus, discharge control setting method
JP2023157756A (en) Printer
JP2009055672A (en) Motor control device
JP2009055671A (en) Motor control device

Legal Events

Date Code Title Description
A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20100406