[go: up one dir, main page]

JP2009073180A - Printer and printer motor control method - Google Patents

Printer and printer motor control method Download PDF

Info

Publication number
JP2009073180A
JP2009073180A JP2008184639A JP2008184639A JP2009073180A JP 2009073180 A JP2009073180 A JP 2009073180A JP 2008184639 A JP2008184639 A JP 2008184639A JP 2008184639 A JP2008184639 A JP 2008184639A JP 2009073180 A JP2009073180 A JP 2009073180A
Authority
JP
Japan
Prior art keywords
motor
threshold value
value
threshold
unit
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
JP2008184639A
Other languages
Japanese (ja)
Inventor
Sumihito Anzai
純人 安西
Hitoshi Igarashi
人志 五十嵐
Tomoyoshi Kakegawa
智義 掛川
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Seiko Epson Corp
Original Assignee
Seiko Epson Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Seiko Epson Corp filed Critical Seiko Epson Corp
Priority to JP2008184639A priority Critical patent/JP2009073180A/en
Publication of JP2009073180A publication Critical patent/JP2009073180A/en
Withdrawn legal-status Critical Current

Links

Images

Landscapes

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

Abstract

<P>PROBLEM TO BE SOLVED: To conduct motor suspension control without giving an impression of the occurrence of a defect and trouble to a user. <P>SOLUTION: The printer includes: a motor for giving driving force to a driven unit through own rotation; a calculating means for calculating a heat amount correlation value being a value having correlation with the heat amount accumulated in the motor, and, as a means for intermittently rotating the motor by leaving the motor for a predetermined interval; and a control means for shortening the length of its interval so that the number of times that the calculated heat amount correlation value exceeds a threshold value increases. <P>COPYRIGHT: (C)2009,JPO&INPIT

Description

本発明は、プリンタおよびプリンタのモータ制御方法に関する。   The present invention relates to a printer and a printer motor control method.

インクジェット式プリンタは、キャリッジをその走査方向へ往復移動させるCR(Carriage)モータや、給紙トレイに収容されている用紙をそのキャリッジの下を経由して排紙トレイまで搬送するPF(Paper Feed)モータなどの各種のDCモータを搭載している。CRモータやPFモータは、キャリッジの駆動や紙送りのために頻繁に起動と停止を繰り返すため、それらのモータには、各々の消費電力に応じて発生する熱が蓄積される。熱の蓄積が進んで過熱状態になると、巻線コイルの焼損、発煙、発火などといった問題を引き起こすこともあるため、この種のプリンタには、モータの熱量がある閾値を超えるたびにその動作を休止させるモータ休止制御の仕組みが搭載されている(例えば、特許文献1を参照のこと)。   The ink jet printer has a CR (Carriage) motor that reciprocates the carriage in the scanning direction, and a PF (Paper Feed) that transports the paper stored in the paper feed tray to the paper discharge tray via the carriage. Various DC motors such as motors are installed. Since the CR motor and the PF motor are frequently started and stopped for driving the carriage and feeding the paper, heat generated in accordance with the power consumption is accumulated in these motors. If the heat builds up and overheats, it can cause problems such as winding coil burning, smoke, and fire, so this type of printer pauses its operation whenever the motor heat exceeds a certain threshold. The mechanism of the motor pause control to be carried is mounted (for example, refer to Patent Document 1).

特開2003−079178号JP 2003-079178

ところで、インクジェット式プリンタのモータ休止制御の多くは、モータの実効電流値やその電流供給量を決定付けるPWM(Pulse Width Modulation)デューティー比を基にモータの推定温度を割り出し、推定温度が閾値を超えるたびに、モータの一時停止と再起動の間に休止時間を挟む、といった手順で行われる。そして、推定温度との比較に供される閾値や時間時間の長さは一定である。一方、モータは、その被駆動対象となるローラやプーリなどが継時劣化して負荷が重くなるほど熱が蓄積され易くなる。このため、インクジェット式プリンタの使用期間が長くなるほど、休止制御が入る頻度が多くなり、不具合や故障が発生したような印象をユーザに与えてしまうという問題がある。   By the way, most of the motor pause control of an ink jet printer calculates the estimated temperature of the motor based on the PWM (Pulse Width Modulation) duty ratio that determines the effective current value of the motor and its current supply amount, and the estimated temperature exceeds the threshold value. Each time, the procedure is such that a pause is inserted between the temporary stop and restart of the motor. And the threshold value and time length which are provided for comparison with estimated temperature are constant. On the other hand, the motor is more likely to accumulate heat as the driven roller or pulley becomes deteriorated over time and the load becomes heavier. For this reason, there is a problem that the longer the use period of the ink jet printer, the more frequently the suspension control is entered, giving the user the impression that a malfunction or failure has occurred.

本発明は、このような背景の下に案出されたものであり、不具合や故障が発生したとの印象をユーザに与えることなくモータ休止制御を行えるような仕組みを提供することを目的とする。   The present invention has been devised under such a background, and an object of the present invention is to provide a mechanism capable of performing motor stop control without giving a user an impression that a malfunction or failure has occurred. .

本発明の好適な態様であるプリンタは、被駆動体と、自らの回転を通じて被駆動体へ駆動力を与えるモータと、モータに蓄積されている熱量と相関を有する値である熱量相関値を算出する算出手段と、モータを所定のインターバルを空けて間欠的に回転させる手段であって、そのインターバルの長さを算出された熱量相関値が第1閾値を超える回数が増えるほど短くする制御手段と、を備える。これによると、不具合や故障が発生したとの印象をユーザに与えることなくモータの損傷を防いでいくことができる。   A printer according to a preferred aspect of the present invention calculates a calorie correlation value, which is a value correlated with the amount of heat accumulated in the motor, and a motor that gives driving force to the driven body through its rotation. And a control means for intermittently rotating the motor with a predetermined interval, and a control means for shortening the length of the interval as the number of times the calculated heat quantity correlation value exceeds the first threshold increases. . According to this, it is possible to prevent damage to the motor without giving the user an impression that a problem or failure has occurred.

また、上述の発明に加えて、第1閾値は、少なくとも印刷モード毎、または画像データ毎に個別にカウントするようにしても良い。このようにすれば、他の印刷モードや、他の画像データの影響を受けて、特定の印刷モードや特定の画像データにおいて第1閾値を超える回数が増大するのを防ぐことができる。   In addition to the above-described invention, the first threshold may be individually counted at least for each print mode or for each image data. In this way, it is possible to prevent an increase in the number of times exceeding the first threshold in a specific print mode or specific image data due to the influence of another print mode or other image data.

また、上述の発明に加えて、熱量相関値との比較に供される第2閾値とインターバルの時間を示す時間データとを関連付けたテーブルであって、より大きな第2閾値ほどより長い時間を示す時間データと関連付けたテーブルを記憶したメモリ、をさらに備え、制御手段は、算出される熱量相関値が、第1閾値を越えた回数をカウントアップするカウント手段と、カウント手段がカウントアップした回数が予め設定された回数に到達するまでは、テーブルの第2閾値の中から最も大きな第2閾値を特定し、カウントする回数が設定された回数に達した以降は、テーブルの第2閾値の中から最も大きな第2閾値よりも小さな第2閾値を特定する閾値特定手段と、算出される熱量相関値が閾値特定手段に特定された第2閾値を超えるか判断する判断手段と、熱量相関値が第2閾値を超えると判断手段が判断したとき、閾値特定手段に特定された第2閾値と対応付けてテーブルに記憶された時間データを特定し、その時間データが示す時間のインターバルを空けて、モータを回転させる回転制御手段と、を有しても良い。   Moreover, in addition to the above-mentioned invention, it is a table in which the second threshold value used for comparison with the calorie correlation value is associated with time data indicating the interval time, and the larger second threshold value indicates the longer time. A memory storing a table associated with the time data, and the control means counts the number of times that the calculated heat quantity correlation value exceeds the first threshold, and the number of times the count means counts up. Until the preset number of times is reached, the largest second threshold value is specified from the second threshold values of the table, and after the number of times of counting reaches the set number of times, the second threshold value of the table is selected. A threshold value specifying unit that specifies a second threshold value that is smaller than the largest second threshold value, and a determination that determines whether the calculated heat quantity correlation value exceeds the second threshold value specified by the threshold value specifying unit When the determining means determines that the heat value correlation value exceeds the second threshold, the time data stored in the table in association with the second threshold specified by the threshold specifying means is specified, and the time data indicates And a rotation control means for rotating the motor at intervals of time.

これによると、カウント数が予め設定された回数に到達するまでは、閾値とインターバルの長さを固定にし、その回数に到達した後から第2閾値とインターバルの長さを徐々に小さくすることができる。   According to this, it is possible to fix the threshold and the length of the interval until the count reaches the preset number of times, and gradually decrease the second threshold and the length of the interval after reaching the number of times. it can.

また、上述の発明に加えて、カウント手段は、算出される熱量相関値が第1閾値を超えた回数をカウントアップすると、その第1閾値より小さな別の第3閾値を下回る熱量相関値が算出手段に算出されるまで、更なるカウントアップを停止するようにしてもよい。これによると、モータの休止が行われた実質的な回数を正確にカウントし、そのカウント値から推定されるプリンタの使われ方などを、後の機種開発に生かすことができる。   In addition to the above-described invention, when the counting means counts up the number of times that the calculated heat quantity correlation value exceeds the first threshold value, a heat quantity correlation value that is lower than another third threshold value that is smaller than the first threshold value is calculated. Further count up may be stopped until calculated by the means. According to this, it is possible to accurately count the actual number of times that the motor has been stopped, and to use the printer usage estimated from the count value for later model development.

また、本発明の好適な態様であるプリンタのモータ制御方法は、自らの回転を通じて被駆動体へ駆動力を与えるモータに蓄積されている熱量と相関を有する値である熱量相関値を算出する算出ステップと、モータを所定のインターバルを空けて間欠的に回転させ、そのインターバルの長さを算出された熱量相関値が第1閾値を超える回数が増えるほど短くする制御ステップと、を備える。これによると、不具合や故障が発生したとの印象をユーザに与えることなくモータの損傷を防いでいくことができる。   Also, the printer motor control method according to the preferred embodiment of the present invention is a calculation for calculating a heat quantity correlation value that is a value correlated with the heat quantity accumulated in the motor that gives driving force to the driven body through its own rotation. And a control step of rotating the motor intermittently with a predetermined interval, and shortening the interval length as the number of times the calculated heat quantity correlation value exceeds the first threshold increases. According to this, it is possible to prevent damage to the motor without giving the user an impression that a problem or failure has occurred.

また、本発明の好適な態様であるプリンタは、被駆動体と、自らの回転を通じて被駆動体へ駆動力を与えるモータと、モータに蓄積されている熱量と相関を有すると共に、モータの駆動を停止させる第1閾値を設定する第1閾値設定手段と、第1閾値に到達する回数をカウントするカウント手段と、モータに蓄積されている熱量と相関を有すると共に、モータの発熱制限を開始させる第2閾値を算出する第2算出手段と、カウント手段における第1閾値のカウント数が増加するにつれて、第2閾値を低下させるように特定する閾値特定手段と、を具備する。     Further, a printer according to a preferred aspect of the present invention has a correlation with a driven body, a motor that gives a driving force to the driven body through its own rotation, and the amount of heat accumulated in the motor, and drives the motor. The first threshold setting means for setting the first threshold value to be stopped, the counting means for counting the number of times the first threshold value is reached, and the amount of heat accumulated in the motor have a correlation with each other and the heat generation restriction of the motor is started. A second calculating unit that calculates two thresholds; and a threshold specifying unit that specifies to decrease the second threshold as the number of counts of the first threshold in the counting unit increases.

これによると、カウント手段における第1閾値のカウント数が増加すると、発熱制限を開始させる第2閾値が低下させられるので、モータの発熱制限に入る温度が低下させられる。そのため、使用頻度が上昇するにつれて、モータの損傷(焼損)を防いでいくことができる。   According to this, when the count number of the first threshold value in the counting means increases, the second threshold value for starting the heat generation restriction is lowered, so that the temperature entering the heat production restriction of the motor is lowered. Therefore, as the use frequency increases, the motor can be prevented from being damaged (burned out).

また、上述の発明に加えて、第1閾値は、少なくとも印刷モード毎、または画像データ毎に個別にカウントするようにしても良い。このようにすれば、他の印刷モードや、他の画像データの影響を受けて、特定の印刷モードや特定の画像データにおいて第1閾値を超える回数が増大するのを防ぐことができる。   In addition to the above-described invention, the first threshold may be individually counted at least for each print mode or for each image data. In this way, it is possible to prevent an increase in the number of times exceeding the first threshold in a specific print mode or specific image data due to the influence of another print mode or other image data.

また、上述の発明に加えて、第1閾値は、所定の条件を満足する場合に、初期値に設定されるようにしても良い。   In addition to the above-described invention, the first threshold value may be set to an initial value when a predetermined condition is satisfied.

このようにすれば、所定の条件を満足する場合、プリンタのスループットを向上させることが可能となり、ユーザにとって性能が悪化した、という印象を抱かせることがなくなる。   In this way, when a predetermined condition is satisfied, the throughput of the printer can be improved, and the user is not given the impression that the performance has deteriorated.

(発明の実施の形態)
本発明の実施形態について、以下、図面を参照しながら説明する。
(Embodiment of the Invention)
Embodiments of the present invention will be described below with reference to the drawings.

<プリンタの全体構成について>
図1は、本実施形態にかかるインクジェット式プリンタ10のハードウェア概略構成を示す図である。図1に示すように、このプリンタ10は、駆動プーリ11(「被駆動体」に相当)、従動プーリ12(「被駆動体」に相当)、ベルト13(「被駆動体」に相当)、CRモータ14、リニアスケール15、ガイド軸16、キャリッジ17(「被駆動体」に相当)、インクカートリッジ18、記録ヘッド19、リニアエンコーダ20、駆動ローラ21(「被駆動体」に相当)、PFモータ22、ロータリスケール23、ロータリエンコーダ24、および制御部30(「算出手段」、「第2算出手段」、「制御手段」に相当)を有する。これらの各部は、筐体となるシャーシ(図示せず)に搭載されている。
<About the overall configuration of the printer>
FIG. 1 is a diagram illustrating a schematic hardware configuration of an ink jet printer 10 according to the present embodiment. As shown in FIG. 1, the printer 10 includes a driving pulley 11 (corresponding to “driven body”), a driven pulley 12 (corresponding to “driven body”), a belt 13 (corresponding to “driven body”), CR motor 14, linear scale 15, guide shaft 16, carriage 17 (corresponding to “driven body”), ink cartridge 18, recording head 19, linear encoder 20, driving roller 21 (corresponding to “driven body”), PF The motor 22, the rotary scale 23, the rotary encoder 24, and the control unit 30 (corresponding to “calculation unit”, “second calculation unit”, and “control unit”) are included. These units are mounted on a chassis (not shown) serving as a housing.

シャーシの基底(図示せず)には、用紙P(「媒体」に相当)を前後方向に搬送する搬送路の左右を挟むように左側壁25と右側壁26とが立設され、それらの両壁25,26の後端を結ぶように後側壁27が立設される。また、後側壁27の上端からやや下の位置に用紙Pの搬送路の横幅とほぼ同じ距離を空けて穿設された2つの孔には、駆動プーリ11と従動プーリ12が装着され、それらの両プーリ11,12には無端のベルト13が巻回されている。さらに、後側壁27の後面にはCRモータ14が接合され、そのCRモータ14の回転軸は駆動プーリ11の回転軸と連結される。CRモータ14は、自らの回転を通じて駆動プーリ11へ駆動力を与える。   A left side wall 25 and a right side wall 26 are erected on the base (not shown) of the chassis so as to sandwich the left and right sides of the conveyance path for conveying the paper P (corresponding to “medium”) in the front-rear direction. A rear side wall 27 is erected so as to connect the rear ends of the walls 25 and 26. A driving pulley 11 and a driven pulley 12 are mounted in two holes formed at a position slightly below the upper end of the rear side wall 27 at a distance substantially equal to the width of the conveyance path of the paper P. An endless belt 13 is wound around the pulleys 11 and 12. Further, the CR motor 14 is joined to the rear surface of the rear side wall 27, and the rotation shaft of the CR motor 14 is connected to the rotation shaft of the drive pulley 11. The CR motor 14 applies a driving force to the driving pulley 11 through its rotation.

後側壁27の前面の、両プーリ11,12の下方の位置には、リニアスケール15が設けられている。リニアスケール15は、細長い板の一端と他端の間に、光を透過させる透過部と光を透過させない非透過部とを、例えば、1/180インチのピッチで交互に配した構造をなす。後側壁27のやや前方には、左側壁25と右側壁26の間を結ぶようにガイド軸16が掛け渡されている。このガイド軸16は、両プーリ11,12の間に巻回されたベルト13とリニアスケール15の間に相当する高さに位置する。リニアスケール15の透過部と非透過部の配列の向きとこのガイド軸16の向きは平行である。また、後側壁27の後方にあるホッパ(図示せず)には複数枚の用紙Pが収容され得る。   A linear scale 15 is provided on the front surface of the rear side wall 27 below the pulleys 11 and 12. The linear scale 15 has a structure in which light-transmitting portions that transmit light and non-transmitting portions that do not transmit light are alternately arranged at a pitch of 1/180 inch between one end and the other end of an elongated plate. A guide shaft 16 is stretched slightly forward of the rear side wall 27 so as to connect the left side wall 25 and the right side wall 26. The guide shaft 16 is positioned at a height corresponding to the space between the belt 13 wound between the pulleys 11 and 12 and the linear scale 15. The direction of the arrangement of the transmission part and the non-transmission part of the linear scale 15 is parallel to the direction of the guide shaft 16. A plurality of sheets of paper P can be accommodated in a hopper (not shown) behind the rear side wall 27.

キャリッジ17は、例えば、イエロー(Y)、マゼンタ(M)、シアン(C)、ブラック(B)の4色のインクカートリッジ18を収容するとともに、それらのインクカートリッジ18と流路(図示せず)を介して繋がった記録ヘッド19を自らの下面に備える。また、記録ヘッド19は、色毎の一連のノズル開口を並べて配したノズルプレート、充放電に応じて伸縮する圧電素子、ノズルプレートと圧電素子の間に挟まれるキャビティなどを有する。インクカートリッジ18から供給されるインクをキャビティへ貯留した状態で圧電素子を伸縮させると、そのインクがノズル開口からインク滴として吐出される。   The carriage 17 houses, for example, four color ink cartridges 18 of yellow (Y), magenta (M), cyan (C), and black (B), and these ink cartridges 18 and flow paths (not shown). The recording head 19 connected via the is provided on its lower surface. The recording head 19 includes a nozzle plate in which a series of nozzle openings for each color are arranged, a piezoelectric element that expands and contracts in response to charge and discharge, and a cavity that is sandwiched between the nozzle plate and the piezoelectric element. When the piezoelectric element is expanded and contracted while the ink supplied from the ink cartridge 18 is stored in the cavity, the ink is ejected from the nozzle opening as an ink droplet.

キャリッジ17の後面の上端のやや下方に設けられた固着具(図示せず)は、ベルト13の一部へ固定され、その下方に設けられた支持具(図示せず)は、ガイド軸16に対して摺動自在に連結される。さらに、キャリッジ17の後面にはリニアエンコーダ20が設けられている。リニアエンコーダ20は、リニアスケール15の前後の面を挟みこむように対向する投光素子と受光素子とを有する光センサである。このリニアエンコーダ20は、受光素子による受光の有無に応じて遷移するアナログの2つの矩形波信号(A相信号、B相信号)を制御部30へ供給する。また、CRモータ14から駆動力を与えられて駆動プーリ11が正逆回転すると、キャリッジ17は、搬送路の横幅の左端の真上の位置(以下、「移動左限位置」と呼ぶ)からその右端の真上の位置(以下、「移動右限位置」と呼ぶ)に至る行程をガイド軸16に案内されて往復移動する。   A fixing tool (not shown) provided slightly below the upper end of the rear surface of the carriage 17 is fixed to a part of the belt 13, and a supporting tool (not shown) provided below the belt 13 is attached to the guide shaft 16. They are slidably connected to each other. Further, a linear encoder 20 is provided on the rear surface of the carriage 17. The linear encoder 20 is an optical sensor having a light projecting element and a light receiving element that face each other so as to sandwich the front and rear surfaces of the linear scale 15. The linear encoder 20 supplies two analog rectangular wave signals (A-phase signal and B-phase signal) that change according to the presence or absence of light reception by the light receiving element to the control unit 30. When the driving force is applied from the CR motor 14 and the driving pulley 11 rotates forward and backward, the carriage 17 moves from a position directly above the left end of the lateral width of the conveyance path (hereinafter referred to as a “moving left limit position”). The travel to the position right above the right end (hereinafter referred to as “moving right limit position”) is guided by the guide shaft 16 to reciprocate.

キャリッジ17が移動し、リニアエンコーダ20の投光素子から受光素子に向けて発せられる光がリニアスケール15の透過部によって遮られるたびに、リニアエンコーダ20が出力する矩形波信号のレベルはローレベルからハイレベルへ切り換わる。よって、このリニアエンコーダ20が出力する矩形波信号のパルス数を基にキャリッジ17の行程上の位置を割り出し、また、その矩形波信号の周期を基にキャリッジ17の速度を割り出すことが可能である。   Each time the carriage 17 moves and the light emitted from the light projecting element to the light receiving element of the linear encoder 20 is blocked by the transmission part of the linear scale 15, the level of the rectangular wave signal output from the linear encoder 20 changes from the low level. Switch to high level. Therefore, the position on the stroke of the carriage 17 can be determined based on the number of pulses of the rectangular wave signal output from the linear encoder 20, and the speed of the carriage 17 can be determined based on the period of the rectangular wave signal. .

キャリッジ17の下には、駆動ローラ21が設けられている。この駆動ローラ21の回転軸の右端は、複数のギヤを介してPFモータ22の回転軸と連結され、その左端は、ロータリスケール23の中心と連結される。PFモータ22は、自らの回転を通じて駆動ローラ21へ駆動力を与える。   A drive roller 21 is provided below the carriage 17. The right end of the rotation shaft of the drive roller 21 is connected to the rotation shaft of the PF motor 22 through a plurality of gears, and the left end is connected to the center of the rotary scale 23. The PF motor 22 applies a driving force to the driving roller 21 through its own rotation.

PF駆動ローラ21の回転軸の端部に連結されたロータリスケール23は、円盤状の板の中心から外側に向かって放射状に延伸する矩形状の複数の透光部を、隣り合う透光部同士の間に所定の間隔を空けて環状に配した構造をなしている。透光部と透光部の間には、非透光部が形成される。リニアスケール15と同様に、透光部は光を透過し、非透光部は光を透過しない。   The rotary scale 23 connected to the end of the rotating shaft of the PF drive roller 21 is composed of a plurality of rectangular light-transmitting portions extending radially outward from the center of the disk-shaped plate, and adjacent light-transmitting portions. A structure is arranged in a ring with a predetermined interval between them. A non-light-transmitting part is formed between the light-transmitting part and the light-transmitting part. Similar to the linear scale 15, the light transmitting portion transmits light, and the non-light transmitting portion does not transmit light.

ロータリエンコーダ24は、ロータリスケール23の左右の面を挟みこむように対向する投光素子と受光素子とを有する光センサである。このロータリエンコーダ24は、受光素子による受光の有無に応じて遷移するアナログの2つの矩形波信号(A相信号、B相信号)を制御部30へ供給する。そして、PFモータ22から駆動力を与えられて駆動ローラ21が正回転し、ロータリエンコーダ24の投光素子から受光素子に向けて発せられる光がロータリスケール23の非透過部によって遮られるたびに、ロータリエンコーダ24が出力する矩形波信号のレベルはローレベルからハイレベルへ切り換わる。よって、このロータリエンコーダ24から供給される矩形波信号のパルス数を基に駆動ローラ21の行程上の位置を割り出し、また、その矩形波信号の周期を基に駆動ローラ21の速度を割り出すことが可能である。   The rotary encoder 24 is an optical sensor having a light projecting element and a light receiving element that face each other so as to sandwich the left and right surfaces of the rotary scale 23. The rotary encoder 24 supplies the control unit 30 with two analog rectangular wave signals (A-phase signal and B-phase signal) that change depending on whether light is received by the light receiving element. Each time the driving roller 21 is rotated forward by a driving force from the PF motor 22 and light emitted from the light projecting element of the rotary encoder 24 toward the light receiving element is blocked by the non-transmissive portion of the rotary scale 23, The level of the rectangular wave signal output from the rotary encoder 24 is switched from the low level to the high level. Therefore, the position of the driving roller 21 on the stroke is determined based on the number of pulses of the rectangular wave signal supplied from the rotary encoder 24, and the speed of the driving roller 21 is determined based on the period of the rectangular wave signal. Is possible.

CRモータ14およびPFモータ22は、DCモータである。これらの両モータ14,22は、制御部30による制御の下、互いに同期を計りながら間欠的な回転を繰り返すことにより、各々の被駆動対象である駆動プーリ11や駆動ローラ21を駆動させ、用紙Pへの画像の形成を支援する。   The CR motor 14 and the PF motor 22 are DC motors. These two motors 14 and 22 drive the driving pulley 11 and the driving roller 21 that are driven objects by repeating intermittent rotation while synchronizing with each other under the control of the control unit 30, and thereby the paper Supports image formation on P.

図2(A)および(B)は、一枚の用紙Pに画像を形成する際の両モータ14,22の連携の様子を示す図である。両図の縦軸は、両モータ14,22の回転速度を示し、横軸は、それらの両モータ14,22の駆動の時間を示している。両モータ14,22の駆動量は、それらの被駆動対象である駆動ローラ21の回転距離やキャリッジ17の移動距離に相当する。なお、図示の便宜上、図2(A)よりも図2(B)の横軸のスケールを小さくし、図2(B)の縦軸のスケールを図2(A)と逆向きにしている。   2A and 2B are diagrams showing how the motors 14 and 22 cooperate when forming an image on a single sheet P. FIG. In both figures, the vertical axis represents the rotational speed of the motors 14 and 22, and the horizontal axis represents the drive time of the motors 14 and 22. The driving amounts of both the motors 14 and 22 correspond to the rotational distance of the driving roller 21 and the movement distance of the carriage 17 that are the objects to be driven. For convenience of illustration, the horizontal scale in FIG. 2B is smaller than that in FIG. 2A, and the vertical scale in FIG. 2B is opposite to that in FIG.

図2(A)に示すように、画像の描画内容を示す印刷データがパーソナルコンピュータ(図示せず)から供給されると、無回転状態(速度=0)であったPFモータ22が、所定の上限速度に至るまでほぼ比例的に加速される。上限速度まで加速されたPFモータ22は、その回転速度のまましばらく回転を続けた後、無回転状態に至るまでほぼ比例的に減速される。そして、この一連のPFモータ22の回転に応じた駆動ローラ21の駆動により、ホッパに収容された用紙Pは、その先端が記録ヘッド19の下の印字開始位置に至るまで下流へ搬送される。以降の説明では、モータ14,22が無回転状態から上限速度まで加速される領域を「加速領域」と呼び、上限速度から無回転状態まで減速される領域を「減速領域」と呼び、両者の間の領域を「定速領域」と呼ぶ。この図2(A)に示す、印刷データが供給された後の最初の加速領域の始端からその減速領域の終端までの駆動量、および、各領域の割合は、PFモータ22の加減速特性とホッパに収容された用紙Pの先端が印字開始位置に至るまでの搬送の距離との関係を考慮して設定される。   As shown in FIG. 2A, when print data indicating image drawing contents is supplied from a personal computer (not shown), the PF motor 22 in a non-rotating state (speed = 0) It is accelerated almost proportionally until it reaches the upper speed limit. The PF motor 22 that has been accelerated to the upper limit speed continues to rotate for a while at the rotation speed, and then is decelerated approximately proportionally until it reaches the non-rotation state. Then, by driving the driving roller 21 according to the series of rotations of the PF motor 22, the paper P accommodated in the hopper is conveyed downstream until the leading end reaches the printing start position under the recording head 19. In the following description, a region where the motors 14 and 22 are accelerated from the non-rotating state to the upper limit speed is referred to as an “acceleration region”, and a region where the motor 14 and 22 is decelerated from the upper limit speed to the non-rotating state is referred to as a “deceleration region”. The area between them is called “constant speed area”. The driving amount from the beginning of the first acceleration area to the end of the deceleration area after the print data is supplied and the ratio of each area shown in FIG. 2A are the acceleration / deceleration characteristics of the PF motor 22. It is set in consideration of the relationship with the transport distance until the leading edge of the paper P accommodated in the hopper reaches the print start position.

図2(B)に示すように、減速領域の終端でPFモータ22が無回転状態になり、印字開始位置で用紙Pの搬送が止まると、その加速が再び始まるまでの間に、無回転状態であったCRモータ14が回転する。このCRモータ14の回転速度も、PFモータ22と同様に、加速領域から定速領域、そして、減速領域へとその駆動量が増えるのに合わせて変化する。そして、この一連のCRモータ14の回転に応じた駆動プーリ11の駆動により、ベルト13を介してその駆動プーリ11と繋がったキャリッジ17は、移動左限位置から移動右限位置に向かって移動する。さらに、キャリッジ17が、移動左限位置から移動右限位置に至る行程上の定速領域に相当する区間を移動している間に、記録ヘッド19から用紙Pに向けてインク滴が吐出され、画像の主走査方向の1ラインに相当するドットの並びが形成される。   As shown in FIG. 2B, when the PF motor 22 is in a non-rotating state at the end of the deceleration region and the conveyance of the paper P is stopped at the print start position, the rotation is not started until the acceleration starts again. The CR motor 14 was rotated. Similar to the PF motor 22, the rotational speed of the CR motor 14 also changes as the drive amount increases from the acceleration region to the constant speed region and then to the deceleration region. Then, by driving the driving pulley 11 according to the rotation of the series of CR motors 14, the carriage 17 connected to the driving pulley 11 via the belt 13 moves from the moving left limit position toward the moving right limit position. . Further, while the carriage 17 is moving in a section corresponding to a constant speed region on the stroke from the movement left limit position to the movement right limit position, ink droplets are ejected from the recording head 19 toward the paper P, An array of dots corresponding to one line in the main scanning direction of the image is formed.

図2(B)に示すように、加速領域の始端から減速領域の終端に至るCRモータ14の回転は、用紙Pの搬送が止まってからその加速が再び始まるまでの間に2回繰り返され、2回目のCRモータ14の回転の向きは1回目のそれと逆になる。そして、2回目のCRモータ14の回転に応じた駆動プーリ11の駆動により、移動右限位置まで移動したキャリッジ17は、移動左限位置に向かって移動する。なお、キャリッジ17が移動右限位置から移動左限位置へ戻る間のインク滴の吐出の有無は、各種カスタマイズに依存する。この図2(B)に示す、1回目の加速領域の始端から減速領域の終端までの駆動量、および、各領域の割合は、CRモータ14の加減速特性と移動右限位置と移動左限位置の間の距離との関係を考慮して設定され、2回目の加速領域の始端から減速領域の終端までの駆動量は1回目のそれと同じになる。ただし、2回目の回転における、加速領域、定速領域、および減速領域の各々の割合は、キャリッジ17が移動右限位置から移動左限位置に戻る間のインク滴の吐出の有無などの事情に応じて1回目のそれと違えてもよい。   As shown in FIG. 2B, the rotation of the CR motor 14 from the beginning of the acceleration region to the end of the deceleration region is repeated twice between the time when the conveyance of the paper P stops and the time when the acceleration starts again. The direction of rotation of the second CR motor 14 is opposite to that of the first time. Then, the carriage 17 that has moved to the moving right limit position by the driving of the drive pulley 11 according to the second rotation of the CR motor 14 moves toward the moving left limit position. Note that whether ink droplets are ejected while the carriage 17 returns from the movement right limit position to the movement left limit position depends on various customizations. The driving amount from the start end of the first acceleration region to the end of the deceleration region and the ratio of each region shown in FIG. 2B are the acceleration / deceleration characteristics, the movement right limit position, and the movement left limit of the CR motor 14. The driving amount from the start of the second acceleration region to the end of the deceleration region is the same as that of the first time. However, the ratio of the acceleration region, the constant speed region, and the deceleration region in the second rotation depends on circumstances such as whether ink droplets are ejected while the carriage 17 returns from the movement right limit position to the movement left limit position. Depending on the case, it may be different from the first one.

2回目の減速領域の終端でCRモータ14が無回転状態になり、キャリッジ17が移動左限位置に至ったところでその移動が止まると、無回転状態であったPFモータ22が再び回転する(図2(A)参照)。このときのPFモータ22の回転速度も、加速領域から定速領域、そして、減速領域へとその駆動量が増えるのに合わせて変化する。そして、一連のPFモータ22の回転に応じた駆動ローラ21の駆動により、印字開始位置の用紙Pは、画像の副走査方向の1ラインに相当する距離だけ下流へ搬送される。図2(A)に示す、2回目の加速領域の始端から減速領域の終端までの駆動量、および、各領域の割合は、PFモータ22の加減速特性と副走査方向の1ラインに相当する距離との関係を考慮して設定される。   When the CR motor 14 becomes non-rotating at the end of the second deceleration region and stops moving when the carriage 17 reaches the moving left limit position, the non-rotating PF motor 22 rotates again (see FIG. 2 (A)). The rotational speed of the PF motor 22 at this time also changes as the drive amount increases from the acceleration region to the constant speed region and then to the deceleration region. Then, by driving the driving roller 21 according to the series of rotations of the PF motor 22, the paper P at the print start position is conveyed downstream by a distance corresponding to one line in the sub-scanning direction of the image. The driving amount from the start end of the second acceleration area to the end of the deceleration area and the ratio of each area shown in FIG. 2A correspond to the acceleration / deceleration characteristics of the PF motor 22 and one line in the sub-scanning direction. It is set in consideration of the relationship with distance.

以降は、画像の副走査方向の全ラインに相当するドットの並びが用紙Pに記録し終わるまで、CRモータ14とPFモータ22が交互に回転することにより、移動左限位置と移動右限位置の間のキャリッジ17の往復移動と、副走査方向の1ラインに相当する距離の用紙Pの搬送とが繰り返される。そして、画像の副走査方向の最も下のラインに相当するドットの並びが用紙Pに記録されると、無回転状態であったPFモータ22が回転し、画像形成済みの用紙Pが下流へ搬送されてそのままシャーシの前側へ排紙される。このPFモータ22の最後の回転における、加速領域の始端から減速領域の終端までの駆動量、および、各領域の割合は、PFモータ22の加減速特性と排紙に必要な搬送の距離との関係を考慮して設定される。   Thereafter, the CR motor 14 and the PF motor 22 rotate alternately until the arrangement of dots corresponding to all the lines in the sub-scanning direction of the image has been recorded on the paper P, whereby the moving left limit position and the moving right limit position The reciprocating movement of the carriage 17 and the conveyance of the paper P at a distance corresponding to one line in the sub-scanning direction are repeated. When the dot arrangement corresponding to the lowest line in the sub-scanning direction of the image is recorded on the paper P, the non-rotated PF motor 22 rotates and the image-formed paper P is conveyed downstream. Then, it is discharged as it is to the front side of the chassis. The drive amount from the start of the acceleration region to the end of the deceleration region and the ratio of each region in the final rotation of the PF motor 22 are determined by the acceleration / deceleration characteristics of the PF motor 22 and the transport distance necessary for paper discharge. Set in consideration of the relationship.

ここで、CRモータ14とPFモータ22のトルクは、通電される電流が大きいほど大きくなり、その電流が小さいほど小さくなる。よって、原理的には、CRモータ14およびPFモータ22へ供給する電流量を制御することにより、図2(A)および(B)に示したような設定の通りにそれらの両モータ14,22の速度を変化させていくことが可能である。しかしながら、予定された速度を得るために必要なモータ14,22のトルクは、駆動ローラ21、駆動プーリ11、ベルト13、キャリッジ17など被駆動対象の負荷や、モータ自身のコギングなどの影響を受けて都度変化する。よって、本実施形態にかかるプリンタ10の制御部30は、リニアエンコーダ20およびロータリエンコーダ24から供給される矩形波信号を基に被駆動対象の実速度を計測し、目標速度テーブル(後述)として予め設定されている目標速度へその実速度を収束させるようにモータ14,22への電流の供給量を調整するフィードバック制御の1つである、PID制御が組み込まれている。このPID制御の詳細は、後述する。   Here, the torque of the CR motor 14 and the PF motor 22 increases as the energized current increases, and decreases as the current decreases. Therefore, in principle, by controlling the amount of current supplied to the CR motor 14 and the PF motor 22, both the motors 14 and 22 are set as shown in FIGS. 2 (A) and 2 (B). It is possible to change the speed. However, the torques of the motors 14 and 22 required to obtain the planned speed are affected by the load of the driven object such as the driving roller 21, the driving pulley 11, the belt 13, and the carriage 17 and the cogging of the motor itself. Change each time. Therefore, the control unit 30 of the printer 10 according to the present embodiment measures the actual speed of the driven object based on the rectangular wave signals supplied from the linear encoder 20 and the rotary encoder 24, and stores it as a target speed table (described later) in advance. PID control, which is one of feedback controls for adjusting the amount of current supplied to the motors 14 and 22 so as to converge the actual speed to the set target speed, is incorporated. Details of this PID control will be described later.

<プリンタの制御部について>
図1において、制御部30は、第1モータドライバ31、第2モータドライバ33、インターフェース回路35、記録ヘッド制御回路36、CPU(Central Processing Unit)37、RAM(Random Access Memory)38、ROM(Read Only Memory)39、EEPROM(Electrically Erasable Programmable Read-Only Memory)40、およびASIC(Application Specific Integrated Circuit)41を有する。
<About the printer control unit>
In FIG. 1, a control unit 30 includes a first motor driver 31, a second motor driver 33, an interface circuit 35, a recording head control circuit 36, a CPU (Central Processing Unit) 37, a RAM (Random Access Memory) 38, a ROM (Read It has an only memory (EEPROM) 39, an electrically erasable programmable read-only memory (EEPROM) 40, and an application specific integrated circuit (ASIC) 41.

第1モータドライバ31は、直流電源(図示せず)の出力電圧を、自らに供給されるPWM(Pulse Width Modulation)信号に応じたパルスとしてPFモータ22へ印加する。PWM信号は、周期が一定で、1周期に占めるハイレベルの時間とローレベルの時間の割合が変化する矩形波である。PWM信号の1周期に占めるハイレベルの時間の割合は、「デューティー比」と呼ばれる。第1モータドライバ31へ供給するPWM信号のデューティー比を大きくすると、PFモータ22への電流の供給量が増加し、より大きなトルクが得られる。   The first motor driver 31 applies the output voltage of a DC power supply (not shown) to the PF motor 22 as a pulse corresponding to a PWM (Pulse Width Modulation) signal supplied to the first motor driver 31. The PWM signal is a rectangular wave whose period is constant and the ratio of the high level time and the low level time in one period changes. The proportion of the high level time in one cycle of the PWM signal is called “duty ratio”. When the duty ratio of the PWM signal supplied to the first motor driver 31 is increased, the amount of current supplied to the PF motor 22 is increased, and a larger torque can be obtained.

第2モータドライバ33の構成は、第1モータドライバ31と同様であり、直流電源(図示せず)の出力電圧を、自らに供給されるPWM信号に応じたパルスとしてCRモータ14へ印加する。第2モータドライバ31へ供給するPWM信号のデューティー比を大きくすると、CRモータ14への電流の供給量が増加し、より大きなトルクが得られる。   The configuration of the second motor driver 33 is the same as that of the first motor driver 31, and the output voltage of a DC power supply (not shown) is applied to the CR motor 14 as a pulse corresponding to the PWM signal supplied to itself. When the duty ratio of the PWM signal supplied to the second motor driver 31 is increased, the amount of current supplied to the CR motor 14 is increased, and a larger torque can be obtained.

インターフェース回路35は、パーソナルコンピュータ(図示せず)から印刷データを受信する。記録ヘッド制御回路36は、印刷データを解釈した内容に基づき、インク滴の吐出を指示する信号を記録ヘッド19へ供給する。CPU37は、RAM38をワークエリアとして利用しつつ、ROM39やEEPROM40に記憶されたデータを参照するとともに、それらのメモリに記憶された各種プログラムを実行する。ROM39には、IPL(Initial Program Loader)などの比較的簡易なプログラムが記憶される。EEPROM40には、インターフェース回路35へ印刷データが供給されてからその印刷データが示す画像を用紙Pに記録するまでの制御の手順を記した制御プログラムのほか、複数の目標速度テーブル90(図3参照)が記憶される。   The interface circuit 35 receives print data from a personal computer (not shown). The recording head control circuit 36 supplies a signal for instructing ejection of ink droplets to the recording head 19 based on the interpretation of the print data. While using the RAM 38 as a work area, the CPU 37 refers to data stored in the ROM 39 and the EEPROM 40 and executes various programs stored in those memories. The ROM 39 stores a relatively simple program such as IPL (Initial Program Loader). The EEPROM 40 has a plurality of target speed tables 90 (see FIG. 3) in addition to a control program that describes a control procedure from when print data is supplied to the interface circuit 35 until an image indicated by the print data is recorded on the paper P. ) Is stored.

複数の目標速度テーブル90は、CRモータ14およびPFモータ22のPID制御を支援するテーブルであり、用紙Pをホッパから印字開始位置まで搬送する際に参照されるテーブル(以下、適宜「第1目標速度テーブル90a」と記す)と、キャリッジ17を移動左限位置から移動右限位置まで移動させる際に参照されるテーブル(以下、適宜「第2目標速度テーブル90b」と記す)と、キャリッジ17を移動右限位置から移動左限位置まで移動させる際に参照されるテーブル(以下、適宜「第3目標速度テーブル90c」と記す)と、用紙Pを副走査方向の1ラインに相当する距離だけ搬送する際に参照されるテーブル(以下、適宜「第4目標速度テーブル90d」と記す)と、用紙Pをシャーシの前側まで搬送する際に参照されるテーブル(以下、適宜「第5目標速度テーブル90e」と記す)の集合体である。各テーブル90a、90b、90c、90d、90eは、モータ14,21の回転に応じて駆動する被駆動対象の各行路、つまり、図2(A)、(B)の加速領域の始端の始動位置から減速領域の終端の停止位置に至る行路を等分して得た各位置と、それらの位置まで被駆動対象が到達した時点の目標速度の対を、停止位置までの残余距離の大きなものから順に並べたものである。インターフェース回路35が印刷データを受信すると、これらのテーブルが参照対象として順次特定され、参照対象となったテーブルの内容の通りにCRモータ14およびPFモータ22の回転が制御される。   The plurality of target speed tables 90 are tables that support PID control of the CR motor 14 and the PF motor 22, and are referred to when the paper P is transported from the hopper to the print start position (hereinafter referred to as “first target as appropriate”). Speed table 90a "), a table referred to when the carriage 17 is moved from the moving left limit position to the movement right limit position (hereinafter referred to as" second target speed table 90b "as appropriate), and the carriage 17 A table (hereinafter referred to as “third target speed table 90c” as appropriate) that is referred to when moving from the movement right limit position to the movement left limit position and the sheet P are conveyed by a distance corresponding to one line in the sub-scanning direction. (Referred to below as “fourth target speed table 90d” as appropriate) and the paper P to be conveyed to the front side of the chassis. Buru (hereinafter, appropriately referred to as "fifth target speed table 90e") is a collection of. Each table 90a, 90b, 90c, 90d, 90e is each starting path of the acceleration target region shown in FIGS. 2A and 2B, that is, each path to be driven that is driven according to the rotation of the motors 14, 21. Each position obtained by equally dividing the path from the starting point to the stop position at the end of the deceleration area and the target speed when the driven target reaches those positions are determined from those with a large remaining distance to the stop position. They are arranged in order. When the interface circuit 35 receives the print data, these tables are sequentially specified as reference objects, and the rotations of the CR motor 14 and the PF motor 22 are controlled according to the contents of the table that is the reference object.

制御部30には、EEPROM40の制御プログラムを展開するRAM38とそれを実行するCPU37、およびASIC41のリソースの一部が共働することによってDCユニット50が論理的に実現され、RAM38とCPU37とが共働することによって休止制御ユニット70(「カウント手段」、「閾値特定手段」、「第1閾値設定手段」、「判断手段」、「回転制御手段」に相当)が論理的に実現される。DCユニット50は、PID制御を司るモジュールである。休止制御ユニット70は、モータ休止制御を司るモジュールである。モータ休止制御は、CRモータ14およびPFモータ22の実効電流値(後述)を基にモータ14,22の過熱状態の有無を判断し、過熱状態にあると判断した時から所定時間に渡ってモータ14,22の回転を休止させる制御である。   The control unit 30 logically implements the DC unit 50 by cooperating a part of the resources of the RAM 38 that expands the control program of the EEPROM 40, the CPU 37 that executes the RAM 38, and the ASIC 41. By operating, the pause control unit 70 (corresponding to “counting means”, “threshold specifying means”, “first threshold setting means”, “determination means”, “rotation control means”) is logically realized. The DC unit 50 is a module that controls PID control. The pause control unit 70 is a module that performs motor pause control. The motor pause control is performed based on the effective current values (described later) of the CR motor 14 and the PF motor 22 to determine whether or not the motors 14 and 22 are overheated. In this control, the rotations of 14 and 22 are stopped.

図3は、DCユニット50および休止制御ユニット70をなす各部の論理的構成を示す図である。DCユニット50は、位置演算部51、速度演算部52、位置偏差演算部53、目標速度特定部54、速度偏差演算部55、比例要素56、積分要素57、微分要素58、制御値加算部62、PWM信号出力部63、およびセレクタ64,65を有する。また、休止制御ユニット70は、休止履歴記憶部71、休止履歴更新部72、休止時間テーブル73、電流値演算部74、休止判断部75、テーブル特定部76、ディレイ部77を有する。   FIG. 3 is a diagram illustrating a logical configuration of each unit forming the DC unit 50 and the sleep control unit 70. The DC unit 50 includes a position calculating unit 51, a speed calculating unit 52, a position deviation calculating unit 53, a target speed specifying unit 54, a speed deviation calculating unit 55, a proportional element 56, an integrating element 57, a differentiating element 58, and a control value adding unit 62. , A PWM signal output unit 63, and selectors 64 and 65. The sleep control unit 70 includes a sleep history storage unit 71, a sleep history update unit 72, a sleep time table 73, a current value calculation unit 74, a sleep determination unit 75, a table specification unit 76, and a delay unit 77.

DCユニット50をなす各部の機能について説明する。位置演算部51と速度演算部52には、リニアエンコーダ20とロータリエンコーダ24のうち一方が出力した矩形波信号が供給される。これらの両エンコーダ20,24と位置演算部51および速度演算部52の間にはセレクタ64が介挿されている。セレクタ64には、参照対象のテーブルを特定する信号が、後述する休止制御ユニット70から供給される。セレクタ64は、キャリッジ17の駆動のためのテーブルである、第2目標速度テーブル90b、または、第3目標速度テーブル90cが参照対象となっている間は、リニアエンコーダ20が出力した矩形波信号を位置演算部51と速度演算部52の両部へ供給する。一方、PF駆動ローラ21の駆動のためのテーブルである、第1目標速度テーブル90a、第4目標速度テーブル90d、または、第5目標速度テーブル90eが参照対象となっている間は、ロータリエンコーダ24が出力した矩形波信号をそれらの両部へ供給する。   The function of each part constituting the DC unit 50 will be described. A rectangular wave signal output from one of the linear encoder 20 and the rotary encoder 24 is supplied to the position calculation unit 51 and the speed calculation unit 52. A selector 64 is inserted between the encoders 20 and 24 and the position calculation unit 51 and the speed calculation unit 52. The selector 64 is supplied with a signal for specifying a table to be referred to from a pause control unit 70 described later. The selector 64 receives the rectangular wave signal output from the linear encoder 20 while the second target speed table 90b or the third target speed table 90c, which is a table for driving the carriage 17, is a reference target. It supplies to both the position calculating part 51 and the speed calculating part 52. On the other hand, while the first target speed table 90a, the fourth target speed table 90d, or the fifth target speed table 90e, which is a table for driving the PF drive roller 21, is a reference target, the rotary encoder 24 is used. The rectangular wave signal output from is supplied to both of them.

位置演算部51は、エンコーダ20,24からセレクタ64を経由して供給される矩形波信号のピッチのカウント数を基に被駆動対象の駆動量を特定し、特定した駆動量を示す信号を位置偏差演算部53へ供給する。矩形波信号の供給元としてリニアエンコーダ20が選択されている場合、その矩形波信号を基に位置演算部51が特定する駆動量は、移動左限位置から移動右限位置、または、移動右限位置から移動左限位置へ至るキャリッジ17の行程上の、始動位置からの距離に相当する。一方、矩形波信号の供給元としてロータリエンコーダ24が選択されている場合、その矩形波信号を基に位置演算部51が特定する駆動量は、駆動ローラ21の回転の始動位置からの距離に相当する。   The position calculation unit 51 specifies the drive amount of the driven object based on the count number of the pitch of the rectangular wave signal supplied from the encoders 20 and 24 via the selector 64, and positions the signal indicating the specified drive amount. It supplies to the deviation calculating part 53. When the linear encoder 20 is selected as the supply source of the rectangular wave signal, the drive amount specified by the position calculation unit 51 based on the rectangular wave signal is from the movement left limit position to the movement right limit position or the movement right limit. This corresponds to the distance from the starting position on the stroke of the carriage 17 from the position to the moving left limit position. On the other hand, when the rotary encoder 24 is selected as the supply source of the rectangular wave signal, the driving amount specified by the position calculation unit 51 based on the rectangular wave signal corresponds to the distance from the starting position of the rotation of the driving roller 21. To do.

速度演算部52は、エンコーダ20,24からセレクタ64を経由して供給される矩形波信号の周期を基に被駆動対象の駆動の実速度を特定し、特定した実速度を示す信号を速度偏差演算部55へ供給する。矩形波信号の供給元としてリニアエンコーダ20が選択されている場合、その矩形波信号を基に速度演算部52が特定する実速度は、キャリッジ17の左方向または左方向への移動の実速度に相当する。一方、矩形波信号の供給元としてロータリエンコーダ24が選択されている場合、その矩形波信号を基に速度演算部52が特定する実速度は、駆動ローラ21の回転の実速度に相当する。また、この速度演算部52が特定した実速度を示す信号は、後述する休止制御ユニット70の電流値演算部74へも供給される。   The speed calculation unit 52 specifies the actual driving speed of the driven object based on the period of the rectangular wave signal supplied from the encoders 20 and 24 via the selector 64, and outputs a signal indicating the specified actual speed as a speed deviation. It supplies to the calculating part 55. When the linear encoder 20 is selected as the supply source of the rectangular wave signal, the actual speed specified by the speed calculation unit 52 based on the rectangular wave signal is the actual speed of the carriage 17 moving leftward or leftward. Equivalent to. On the other hand, when the rotary encoder 24 is selected as the supply source of the rectangular wave signal, the actual speed specified by the speed calculation unit 52 based on the rectangular wave signal corresponds to the actual speed of rotation of the drive roller 21. Further, the signal indicating the actual speed specified by the speed calculation unit 52 is also supplied to a current value calculation unit 74 of the pause control unit 70 described later.

位置偏差演算部53には、位置演算部51から駆動量を示す信号が供給されるとともに、参照対象の目標速度テーブル90から目標停止位置を示す信号が供給される。例えば、第1目標速度テーブル90aが参照対象となっている間の目標停止位置は、図2(A)の最初の減速領域の終端での到達が予定された位置に相当する。位置偏差演算部53は、位置演算部51から供給される信号が示す駆動量を基に特定される被駆動対象の現在の位置とその目標停止位置との位置偏差を求め、求めた位置偏差を示す信号を目標速度特定部54へ供給する。この位置偏差演算部53が求める位置偏差は、目標停止位置までの残余距離に相当する。   The position deviation calculator 53 is supplied with a signal indicating the driving amount from the position calculator 51 and a signal indicating the target stop position from the target speed table 90 to be referred to. For example, the target stop position while the first target speed table 90a is the reference target corresponds to the position where the arrival at the end of the first deceleration region in FIG. The position deviation calculation unit 53 obtains a position deviation between the current position of the driven object specified based on the drive amount indicated by the signal supplied from the position calculation unit 51 and its target stop position, and calculates the obtained position deviation. The indicated signal is supplied to the target speed specifying unit 54. The position deviation calculated by the position deviation calculation unit 53 corresponds to the remaining distance to the target stop position.

目標速度特定部54には、位置偏差演算部53から位置偏差を示す信号が供給されるとともに、参照対象の目標速度テーブル90を特定する信号が休止制御ユニット70から供給される。目標速度特定部54は、その信号が示す参照対象の目標速度テーブル90を特定する。そして、参照対象となった目標速度テーブル90を基に、位置偏差演算部53から供給される信号が示す位置偏差と対応する目標速度を特定し、特定した目標速度を示す信号を速度偏差演算部55へ供給する。   The target speed specifying unit 54 is supplied with a signal indicating a position deviation from the position deviation calculating unit 53 and a signal specifying the reference target target speed table 90 from the pause control unit 70. The target speed specifying unit 54 specifies the target speed table 90 to be referred to indicated by the signal. Then, based on the target speed table 90 that is a reference target, the target speed corresponding to the position deviation indicated by the signal supplied from the position deviation calculating section 53 is specified, and the signal indicating the specified target speed is set as the speed deviation calculating section. 55 is supplied.

速度偏差演算部55には、速度演算部52から実速度を示す信号が供給されるとともに、目標速度特定部54から目標速度を示す信号が供給される。速度偏差演算部55は、それらの信号が示す実速度と目標速度の速度偏差を求め、求めた速度偏差を示す信号を、比例要素56、積分要素57、微分要素58の各々へ供給する。   The speed deviation calculating unit 55 is supplied with a signal indicating the actual speed from the speed calculating unit 52 and a signal indicating the target speed from the target speed specifying unit 54. The speed deviation calculating unit 55 obtains a speed deviation between the actual speed and the target speed indicated by these signals, and supplies a signal indicating the obtained speed deviation to each of the proportional element 56, the integral element 57, and the derivative element 58.

比例要素56、積分要素57、および微分要素58には、速度偏差を示す信号が速度偏差演算部55からそれぞれ供給される。比例要素56は、以下に示すPID制御の一般式(1)の第1項の演算を速度偏差演算部55から供給される信号へ施し、その演算結果として得た比例制御値を示す信号を制御値加算部62へ供給する。積分要素57は、式(1)の第2項の演算を速度偏差演算部55から供給される信号へ施し、その演算結果として得た積分制御値を示す信号を制御値加算部62へ供給する。微分要素58は、式(1)の第3項の演算を速度偏差演算部55から供給される信号へ施し、その演算結果として得た微分制御値を示す信号を制御値加算部62へ供給する。下記の式(1)において、Δv(t)は、クロックタイミングtに合わせて速度偏差演算部55から入力される信号の値を示す。また、式(1)の比例ゲインK,積分ゲインK,微分ゲインKの各定数は、ステップ応答法や限界感度法などといった公知の手法を用いて最適化される。

Figure 2009073180
A signal indicating a speed deviation is supplied from the speed deviation calculation unit 55 to the proportional element 56, the integral element 57, and the derivative element 58, respectively. The proportional element 56 performs the calculation of the first term of the following general formula (1) of PID control on the signal supplied from the speed deviation calculation unit 55 and controls the signal indicating the proportional control value obtained as a result of the calculation. The value is supplied to the value adding unit 62. The integration element 57 performs the calculation of the second term of the expression (1) on the signal supplied from the speed deviation calculation unit 55, and supplies a signal indicating the integration control value obtained as the calculation result to the control value addition unit 62. . The differentiation element 58 performs the calculation of the third term of the expression (1) on the signal supplied from the speed deviation calculation unit 55 and supplies a signal indicating the differential control value obtained as the calculation result to the control value addition unit 62. . In the following equation (1), Δv (t) represents a value of a signal input from the speed deviation calculation unit 55 in synchronization with the clock timing t. In addition, the constants of the proportional gain K P , the integral gain K i , and the differential gain K d in Expression (1) are optimized using a known method such as a step response method or a limit sensitivity method.
Figure 2009073180

制御値加算部62は、比例要素56、積分要素57、および微分要素58から供給される信号が示す制御値を加算し、その加算により求めた制御値の和を示す信号をPWM信号出力部63へ供給する。PWM信号出力部63は、制御値加算部62から供給される制御値の和を換算して得たデューティー比のPWM信号を出力する。PWM信号出力部63が出力したPWM信号は、第1モータドライバ31と第2モータドライバ33のうちの一方、および休止制御ユニット70の電流値演算部74へ供給される。   The control value adding unit 62 adds the control values indicated by the signals supplied from the proportional element 56, the integrating element 57, and the differentiating element 58, and outputs a signal indicating the sum of the control values obtained by the addition to the PWM signal output unit 63. To supply. The PWM signal output unit 63 outputs a PWM signal having a duty ratio obtained by converting the sum of the control values supplied from the control value adding unit 62. The PWM signal output from the PWM signal output unit 63 is supplied to one of the first motor driver 31 and the second motor driver 33 and the current value calculation unit 74 of the pause control unit 70.

PWM信号出力部63と両ドライバ31,33の間にはセレクタ65が介挿されている。セレクタ65には、参照対象のテーブルを特定する信号が休止制御ユニット70から供給される。セレクタ65は、キャリッジ17の目標速度テーブル90b,90cが参照対象となっている間は、PWM信号出力部63が出力したPWM信号を第2モータドライバ33へ供給し、PF駆動ローラ21の目標速度テーブル90a,90d,90eが参照対象となっている間は、PWM信号出力部63が出力したPWM信号を第1モータドライバ31へ供給する。第1モータドライバ31や第2モータドライバ33へ供給されるPWM信号のデューティー比が大きいほどCRモータ14やPFモータ22のトルクが大きくなり、デューティー比が小さいほどそれらの両モータ14,22のトルクが小さくなることは、上述した通りである。   A selector 65 is interposed between the PWM signal output unit 63 and the drivers 31 and 33. The selector 65 is supplied with a signal for specifying the reference target table from the pause control unit 70. The selector 65 supplies the PWM signal output from the PWM signal output unit 63 to the second motor driver 33 while the target speed tables 90 b and 90 c of the carriage 17 are being referenced, and the target speed of the PF drive roller 21. While the tables 90a, 90d, and 90e are the reference targets, the PWM signal output from the PWM signal output unit 63 is supplied to the first motor driver 31. The greater the duty ratio of the PWM signal supplied to the first motor driver 31 and the second motor driver 33, the greater the torque of the CR motor 14 and the PF motor 22, and the smaller the duty ratio, the torque of both the motors 14, 22 Is as described above.

次に、休止制御ユニット70をなす各部の機能について説明する。休止履歴記憶部71は、モータ14,22の休止制御が行われた回数を示すカウント値を記憶する。休止履歴記憶部71のカウント値は、休止履歴更新部72によってカウントアップされるが、そのカウントアップに関わる特徴的な処理の詳細は、後にフローチャートを参照して説明する。休止時間テーブル73は、モータ14,22の推定温度との比較に供される各閾値と、休止時間の長さを示す休止時間データとを対応付けたテーブルである。このテーブルの閾値と休止時間データの各対は、より大きい閾値とより長い時間を示す時間データとを関連付けた組合せになっている。   Next, the function of each part constituting the suspension control unit 70 will be described. The suspension history storage unit 71 stores a count value indicating the number of times that the suspension control of the motors 14 and 22 has been performed. The count value of the dormant history storage unit 71 is counted up by the dormant history update unit 72. Details of characteristic processing relating to the count up will be described later with reference to a flowchart. The downtime table 73 is a table in which each threshold value used for comparison with the estimated temperature of the motors 14 and 22 is associated with downtime data indicating the length of the downtime. Each pair of threshold value and pause time data in this table is a combination in which a larger threshold value and time data indicating a longer time are associated with each other.

電流値演算部74には、速度演算部52からその演算部52が特定した実速度を示す信号が供給されるとともに、PWM信号出力部63が出力したPWM信号が供給される。電流値演算部74は、それらの各信号から得た実速度およびデューティー比の値を下記の算出式(2)に入力することにより、モータに流れ込む電流の瞬時値(以下、「電流瞬時値」と呼ぶ)IINSを演算する。算出式(2)において、Vは、直流電源(図示せず)の出力電圧に相当する定数を示す。また、PWM Dutyは、PWM信号出力部63から供給される信号から得たデューティー比を示し、MAX Dutyは、そのデューティー比の上限値に相当する定数を示す。さらに、Keは、モータの逆起電圧に相当する定数を示し、ωは、速度演算部52から供給される信号から得られる実速度を示す。Rは、モータ14,22の内部抵抗に相当する定数を示す。

Figure 2009073180
The current value calculation unit 74 is supplied with a signal indicating the actual speed specified by the calculation unit 52 from the speed calculation unit 52 and the PWM signal output by the PWM signal output unit 63. The current value calculation unit 74 inputs the actual speed and duty ratio values obtained from these signals into the following calculation formula (2), whereby the instantaneous value of current flowing into the motor (hereinafter referred to as “current instantaneous value”). Calculate I INS . In the calculation formula (2), V represents a constant corresponding to the output voltage of a DC power supply (not shown). Further, PWM Duty indicates a duty ratio obtained from a signal supplied from the PWM signal output unit 63, and MAX Duty indicates a constant corresponding to the upper limit value of the duty ratio. Further, Ke represents a constant corresponding to the counter electromotive voltage of the motor, and ω represents an actual speed obtained from a signal supplied from the speed calculation unit 52. R represents a constant corresponding to the internal resistance of the motors 14 and 22.
Figure 2009073180

電流値演算部74は、所定時間(例えば、1分間)の間の演算により得た一連の電流瞬時値IINSの総計を求め、求めた総計値をその時間で割った値の平方根をとることにより得た実効電流値IEFFを示す信号を、休止判断部75へ供給する。 The current value calculation unit 74 obtains a total of a series of instantaneous current values I INS obtained by calculation for a predetermined time (for example, 1 minute), and takes the square root of a value obtained by dividing the obtained total value by the time. A signal indicating the effective current value I EFF obtained by the above is supplied to the pause determination unit 75.

休止制御部75は、電流値演算部74から信号が供給されると、その信号が示す実効電流値IEFFを下記の算出式(3)へ入力することにより、モータ14,22の発熱量Qを演算する。そして、モータ14,22の発熱量Qから所定の放熱量を減するなどして得た推定温度(「熱量相関値」に相当)が閾値を上回ると、モータ14,22が過熱状態にあると判断し、モータ14,22の休止時間を示す信号をディレイ部77へ供給する。後述するように、この推定温度との比較に供される閾値および休止時間の長さは、休止履歴記憶部71に記憶されたカウント値、つまり、既に実行済みの休止制御の回数に依存して変動する。なお、以下の算出式(3)において、Rは、モータの内部抵抗を示し、tは、電流瞬時値IINSの総計を得るのに要した所定時間(例えば、1分間)である。また、Kは、ある仕事を発熱量に換算する計数である。

Figure 2009073180
When the signal is supplied from the current value calculation unit 74, the pause control unit 75 inputs the effective current value I EFF indicated by the signal to the following calculation formula (3), thereby generating a heating value Q of the motors 14 and 22. Is calculated. If the estimated temperature (corresponding to the “calorific value correlation value”) obtained by reducing a predetermined heat release amount from the heat generation amount Q of the motors 14 and 22 exceeds a threshold value, the motors 14 and 22 are in an overheated state. The signal indicating the rest time of the motors 14 and 22 is supplied to the delay unit 77. As will be described later, the threshold value used for comparison with the estimated temperature and the length of the pause time depend on the count value stored in the pause history storage unit 71, that is, the number of pause controls already executed. fluctuate. In the following calculation formula (3), R represents the internal resistance of the motor, and t is a predetermined time (for example, 1 minute) required to obtain the total current instantaneous value I INS . K is a count for converting a certain work into a calorific value.
Figure 2009073180

休止判断部75の機能について、さらに詳述する。休止判断部75は、電流値演算部74から推定温度を示す信号の供給を受けると、休止履歴記憶部71のカウント値を参照する。休止判断部75は、休止履歴記憶部71のカウント値が予め設定された数(例えば、256)よりも小さい間は、休止時間テーブル73を参照することなく、デフォルトとして設定された閾値(以下、「デフォルト閾値」と呼ぶ)と推定温度とを比較する。そして、推定温度がそのデフォルト閾値を上回ると、デフォルトとして設定された休止時間(以下、「デフォルト休止時間」と呼ぶ)を示す信号をディレイ部77へ供給する。デフォルト閾値の大きさは、休止時間テーブル73に記憶された各閾値のうち最も大きいも閾値と同じであり、デフォルト休止時間は、休止時間テーブル73に記憶された各休止時間データが示す休止時間のうち最も長い休止時間と同じである。さらに、休止判断部75は、休止履歴記憶部71のカウント値が予め設定された数(例えば、256)を超えると、休止時間テーブル73の各閾値を大きな閾値から順に特定していく。そして、特定した閾値を推定温度が上回ると、その閾値と対応付けて休止時間テーブル73に記憶された休止時間データを読み出し、読み出した休止時間データが示す休止時間の信号をディレイ部77へ供給する。   The function of the pause determination unit 75 will be described in further detail. When receiving a signal indicating the estimated temperature from the current value calculation unit 74, the pause determination unit 75 refers to the count value in the pause history storage unit 71. The pause determination unit 75 does not refer to the pause time table 73 while the count value of the pause history storage unit 71 is smaller than a preset number (for example, 256), and sets a threshold value (hereinafter, referred to as a default). (Referred to as “default threshold”) and the estimated temperature. When the estimated temperature exceeds the default threshold value, a signal indicating a pause time set as a default (hereinafter referred to as “default pause time”) is supplied to the delay unit 77. The size of the default threshold is the same as the largest threshold among the thresholds stored in the pause time table 73, and the default pause time is the pause time indicated by each pause time data stored in the pause time table 73. Same as the longest downtime. Furthermore, when the count value of the pause history storage unit 71 exceeds a preset number (for example, 256), the pause determination unit 75 specifies each threshold value in the pause time table 73 in order from the largest threshold value. When the estimated temperature exceeds the specified threshold value, the pause time data stored in the pause time table 73 in association with the threshold value is read, and the pause time signal indicated by the read pause time data is supplied to the delay unit 77. .

よって、図4に示すように、休止履歴記憶部71のカウント値が予め設定された数(例えば、256回)に至るまでは、推定温度との比較に供される閾値(デフォルト閾値)が一定であるのに対し、休止履歴記憶部71のカウント値が予め設定された数を超えると、推定温度との比較に供される閾値の大きさが小さくなっていく。さらに、休止履歴記憶部71のカウント値が予め設定された数を超えた以降は、推定温度が閾値を上回ったときの休止時間がデフォルト休止時間から徐々に短くなっていく。   Therefore, as shown in FIG. 4, the threshold value (default threshold value) used for comparison with the estimated temperature is constant until the count value of the pause history storage unit 71 reaches a preset number (for example, 256 times). On the other hand, when the count value of the pause history storage unit 71 exceeds a preset number, the threshold value used for comparison with the estimated temperature decreases. Furthermore, after the count value of the pause history storage unit 71 exceeds a preset number, the pause time when the estimated temperature exceeds the threshold value gradually decreases from the default pause time.

なお、図6における閾値dTMAXは、デフォルト閾値(図4)と同じ値であり、第1閾値に対応する。また、図4において示される第2閾値は、モータ14,22の発熱制限を開始する閾値であり、第2閾値に対応する。これを図示すると、図9に示すようになり、第2閾値(発熱制限)を超えると、閾値dTMAXに到達するまでの間のモータ14,22の温度上昇が緩やかとなるように、制御部30によってモータ14,22の駆動が制限させられる。また、閾値dTOFFは、第3閾値に対応する。 Note that the threshold value dT MAX in FIG. 6 is the same value as the default threshold value (FIG. 4), and corresponds to the first threshold value. Further, the second threshold shown in FIG. 4 is a threshold for starting the heat generation limitation of the motors 14 and 22, and corresponds to the second threshold. This is as shown in FIG. 9. When the second threshold value (heat generation limit) is exceeded, the control unit is configured so that the temperature rise of the motors 14 and 22 until the threshold value dT MAX is reached. The drive of the motors 14 and 22 is restricted by 30. The threshold value dT OFF corresponds to the third threshold value.

図3の説明に戻る。テーブル特定部76には、位置偏差演算部53から位置偏差を示す信号が供給される。テーブル特定部76は、その信号が示す位置偏差が0になるたび、つまり、モータ14,22の被駆動対象が目標位置へ到達するたびに、次の参照対象となる目標速度テーブル90を特定する信号を出力する。テーブル特定部76が出力した信号は、ディレイ部77による遅延を経て目標速度特定部54およびセレクタ64,65へ供給される。テーブル特定部76が出力した信号がこのディレイ部77を経由する際の遅延量は、休止判断部75からディレイ部77へ供給される信号が示す遅延時間に相当する。信号がこのディレイ部77を経由する際に遅延すると、目標速度特定部54による新たな参照対象のテーブルの特定とセレクタ64,65の切り換えが遅れる。そして、新たな参照対象のテーブルの特定とセレクタ64,65の切り換えが遅れると、その遅れの分だけ、モータ14,22の次の加速の開始までの時間(「インターバル」に相当)が長くなるため、モータ14,22の放熱が促される。   Returning to the description of FIG. A signal indicating the position deviation is supplied from the position deviation calculating unit 53 to the table specifying unit 76. The table specifying unit 76 specifies the target speed table 90 to be the next reference target every time the position deviation indicated by the signal becomes zero, that is, every time the driven target of the motors 14 and 22 reaches the target position. Output a signal. The signal output from the table specifying unit 76 is supplied to the target speed specifying unit 54 and the selectors 64 and 65 after being delayed by the delay unit 77. The amount of delay when the signal output from the table specifying unit 76 passes through the delay unit 77 corresponds to the delay time indicated by the signal supplied from the pause determination unit 75 to the delay unit 77. If the signal is delayed when passing through the delay unit 77, the target speed specifying unit 54 delays the specification of a new reference target table and the switching of the selectors 64 and 65. Then, if the specification of a new reference target table and the switching of the selectors 64 and 65 are delayed, the time until the start of the next acceleration of the motors 14 and 22 (corresponding to the “interval”) becomes longer by the delay. Therefore, heat dissipation of the motors 14 and 22 is promoted.

休止履歴更新部72には、閾値dTMAX(第1閾値に相当)と、図4に示される第2閾値と、閾値dTOFF(第3閾値に相当)の3つの閾値が設定されている。閾値dTMAXは、休止判断部75のデフォルト閾値と同値である。また、閾値dTMAXと、当初の第2閾値とは同値である。一方、閾値dTOFFは、閾値dTMAXよりも十分に低い値である。休止履歴更新部72は、休止判断部75から供給される信号が示す推定温度が閾値dTMAXを上回るたびに、休止履歴記憶部71のカウント値をカウントアップする。ただし、休止履歴更新部72は、休止履歴記憶部71のカウント値をカウントアップすると、休止判断部75からそれ以降に供給される信号が示す推定温度が閾値dTOFFを下回るまで、つまり、モータ14,22の温度が十分に下がるまで、休止履歴記憶部71のカウント値のカウントアップを停止する。 The dormant history update unit 72 is set with three threshold values: a threshold value dT MAX (corresponding to the first threshold value), a second threshold value shown in FIG. 4, and a threshold value dT OFF (corresponding to the third threshold value). The threshold value dT MAX is the same value as the default threshold value of the pause determination unit 75. In addition, the threshold value dT MAX and the initial second threshold value are the same value. On the other hand, the threshold value dT OFF is a value sufficiently lower than the threshold value dT MAX . The pause history update unit 72 counts up the count value of the pause history storage unit 71 every time the estimated temperature indicated by the signal supplied from the pause determination unit 75 exceeds the threshold value dT MAX . However, when the suspension history update unit 72 counts up the count value of the suspension history storage unit 71, the estimated temperature indicated by the signal supplied thereafter from the suspension determination unit 75 falls below the threshold value dT OFF , that is, the motor 14 , 22 is stopped until the count value in the pause history storage unit 71 is counted up.

なお図4に示すように閾値dTMAXに到達するカウント値が予め設定された数を超えると、第2閾値は低下していく。そのため、第2閾値が低下すると、モータ14,22の休止割合が増加し、当該モータ14,22における温度上昇は、図9に示すように緩やかなものとなる。 As shown in FIG. 4, when the count value reaching the threshold value dT MAX exceeds a preset number, the second threshold value decreases. Therefore, when the second threshold value decreases, the pause rate of the motors 14 and 22 increases, and the temperature rise in the motors 14 and 22 becomes gradual as shown in FIG.

<プリンタの制御部と連携するコンピュータについて>
図8は、プリンタ10に接続されるコンピュータ80の概略構成を示す図である。コンピュータ80は、インクジェットプリンタ10と通信可能に接続されており、インクジェットプリンタ10に印刷データを含む印刷ジョブを出力する。このコンピュータ80には、図示しないアプリケーションプログラムから出力された画像データをインクジェットプリンタ10が解釈できる形式の印刷データに変換する機能を実現するためのプリンタドライバ82がインストールされている。画像データは、印刷される画像の画素に関するデータである画素データを有している。この画素データは、後述する各処理の段階に応じて処理が施され、最終的に、用紙P上に形成されるドットの色や大きさ等に関するデータである印刷データに変換される。また、画素データは、多段階(例えば0〜255の256段階)の階調値を表すデータである。以下、RGBの階調値を有する画素データをRGB画素データといい、RGB画素データから構成される画像データをRGB画像データという。
<Computers linked with printer control unit>
FIG. 8 is a diagram illustrating a schematic configuration of a computer 80 connected to the printer 10. The computer 80 is communicably connected to the inkjet printer 10 and outputs a print job including print data to the inkjet printer 10. The computer 80 is installed with a printer driver 82 for realizing a function of converting image data output from an application program (not shown) into print data in a format that can be interpreted by the inkjet printer 10. The image data has pixel data that is data relating to pixels of an image to be printed. This pixel data is processed in accordance with each processing stage described later, and finally converted into print data that is data relating to the color and size of dots formed on the paper P. The pixel data is data representing gradation values in multiple levels (for example, 256 levels from 0 to 255). Hereinafter, pixel data having RGB gradation values is referred to as RGB pixel data, and image data composed of RGB pixel data is referred to as RGB image data.

プリンタドライバ82は、図示しないアプリケーションプログラムから出力される画像データを受け取ると、その画像データに解像度変換処理、色変換処理、ハーフトーン処理及びラスタライズ処理を順次施すことにより印刷データを生成する。   Upon receiving image data output from an application program (not shown), the printer driver 82 generates print data by sequentially performing resolution conversion processing, color conversion processing, halftone processing, and rasterization processing on the image data.

解像度変換処理では、RGB画像データの解像度を用紙Pに画像を印刷する際の解像度(印刷解像度)に変換する。本実施形態では印刷解像度を360×360dpiとしているため、RGB画像データを360×360dpiの解像度のRGB画像データに変換する。例えば、RGB画像データの解像度が印刷解像度より低いときには、元のRGB画素データの隣り合うRGB画素データ同士の間に新たに補間(ここではコピー)によりRGB画素データを生成することにより、高解像度のRGB画像データに変換する。一方、RGB画像データの解像度が印刷解像度より高いときには、一定の割合でRGB画素データを間引くことにより低解像度のRGB画像データに変換する。このように、解像度変換処理では、適宜、RGB画素データの補間や間引きを行う。   In the resolution conversion process, the resolution of the RGB image data is converted to a resolution (printing resolution) when an image is printed on the paper P. In this embodiment, since the print resolution is 360 × 360 dpi, the RGB image data is converted into RGB image data having a resolution of 360 × 360 dpi. For example, when the resolution of the RGB image data is lower than the printing resolution, the RGB pixel data is newly generated by interpolating (here, copying) between adjacent RGB pixel data of the original RGB pixel data, thereby achieving high resolution. Convert to RGB image data. On the other hand, when the resolution of the RGB image data is higher than the printing resolution, the RGB pixel data is thinned out at a constant rate to be converted into low-resolution RGB image data. Thus, in the resolution conversion process, interpolation and thinning of RGB pixel data are performed as appropriate.

色変換処理では、RGB画像データの各RGB画素データを、CMYK色空間により表される多段階(例えば0〜255の256段階)の階調値を有するデータに変換する。このCMYKの階調値を有する画素データをCMYK画素データといい、CMYK画素データから構成される画像データをCMYK画像データという。この色変換処理は、RGBの階調値とCMYKの階調値とを対応づけた図示しない色変換ルックアップテーブルを参照することにより行われる。   In the color conversion process, each RGB pixel data of the RGB image data is converted into data having gradation values in multiple levels (for example, 256 levels from 0 to 255) represented by the CMYK color space. Pixel data having CMYK gradation values is referred to as CMYK pixel data, and image data composed of CMYK pixel data is referred to as CMYK image data. This color conversion processing is performed by referring to a color conversion lookup table (not shown) that associates RGB gradation values with CMYK gradation values.

ハーフトーン処理では、多段階の階調値を有するCMYK画素データを、インクジェットプリンタ10が表現可能な少段階の階調値を有するCMYK画素データに変換する。本実施形態では、256段階の階調値を示すCMYK画素データを、4段階の階調値を示す2ビットのCMYK画素データに変換する。この2ビットのCMYK画素データは、各色について設定され、“00”はドット形成なし、“01”は小ドットの形成、“10”は中ドットの形成、“11”は大ドットの形成を示す。なお、大、中、小のドットは、ラインヘッド22の各ノズルに対応して設けられた圧電素子への駆動パルスの波形を調整することで作り分けることができる。本実施形態では、ハーフトーン処理にディザ法を利用するものとする。   In the halftone process, CMYK pixel data having multi-stage gradation values is converted into CMYK pixel data having small-stage gradation values that can be expressed by the inkjet printer 10. In the present embodiment, CMYK pixel data indicating 256 gradation values is converted to 2-bit CMYK pixel data indicating 4 gradation values. This 2-bit CMYK pixel data is set for each color. “00” indicates no dot formation, “01” indicates a small dot formation, “10” indicates a medium dot formation, and “11” indicates a large dot formation. . Note that large, medium, and small dots can be created separately by adjusting the waveform of the drive pulse to the piezoelectric element provided corresponding to each nozzle of the line head 22. In this embodiment, it is assumed that the dither method is used for halftone processing.

ラスタライズ処理では、ハーフトーン処理が施されたCMYK画像データを、インクジェットプリンタ10に転送すべきデータ順に変更する。ラスタライズ処理が施されたデータは、印刷データとしてインクジェットプリンタ10に出力される。   In the rasterizing process, the CMYK image data subjected to the halftone process is changed in the order of data to be transferred to the inkjet printer 10. The data subjected to the rasterizing process is output to the inkjet printer 10 as print data.

なお、プリンタ10またはコンピュータ80には、画像データ解析部100が設けられている(図8では、プリンタ10側に存在)。画像データ解析部100は、画像データに基づく印刷を実行する事前段階で、CRモータ14またはPFモータ22が、図6、図7に示すような閾値dTMAXに到達するのかを判定する部分である。なお、この画像データ解析部100の機能の詳細については、後述する。 Note that the printer 10 or the computer 80 is provided with an image data analysis unit 100 (present on the printer 10 side in FIG. 8). The image data analysis unit 100 is a part that determines whether the CR motor 14 or the PF motor 22 reaches a threshold value dT MAX as shown in FIGS. 6 and 7 in a preliminary stage of executing printing based on the image data. . The details of the function of the image data analysis unit 100 will be described later.

<休止履歴更新部が実行する処理に関して>
図5は、休止履歴更新部72が実行する処理を示すフローチャートである。休止履歴更新部72には、休止判断部75にて閾値との比較に供された推定温度を示す信号が所定時間(例えば、一分間)毎に供給される。図5のフローチャートが実行されている間、休止履歴更新部72には、マスクフラグを記憶する記憶領域が確保される。マスクフラグは、推定温度が閾値dTMAXを上回った後、閾値dTOFFを下回っていない状態が継続していることを示すフラグである。また、以降の説明において、変数(t)は、休止履歴更新部72に供給される一連の信号が示す推定温度の順番を示す。
<Regarding the processing executed by the pause history update unit>
FIG. 5 is a flowchart showing processing executed by the suspension history update unit 72. The pause history update unit 72 is supplied with a signal indicating the estimated temperature provided for comparison with the threshold value by the pause determination unit 75 every predetermined time (for example, one minute). While the flowchart of FIG. 5 is being executed, the suspension history update unit 72 has a storage area for storing the mask flag. The mask flag is a flag indicating that after the estimated temperature exceeds the threshold value dT MAX , a state where the estimated temperature does not fall below the threshold value dT OFF continues. In the following description, the variable (t) indicates the order of the estimated temperature indicated by the series of signals supplied to the pause history update unit 72.

休止判断部75から推定温度(t)を示す新たな信号が供給されると(S100)、休止履歴更新部72は、マスクフラグ記憶領域のマスクフラグがオフになっているか判断する(S110)。   When a new signal indicating the estimated temperature (t) is supplied from the pause determination unit 75 (S100), the pause history update unit 72 determines whether the mask flag in the mask flag storage area is off (S110).

ステップS110にて、マスクフラグ領域のマスクフラグがオフになっていると判断したとき(S110:Yes)、休止履歴更新部72は、推定温度(t)が閾値dTMAXを上回るか判断する(S120)。 In step S110, when the mask flag of the mask flag area is determined to be turned off (S110: Yes), resting history update unit 72, the estimated temperature (t) to determine whether higher than the threshold value dT MAX (S120 ).

ステップS120にて、推定温度(t)が閾値dTMAXを上回ると判断したとき(S120:Yes)、休止履歴更新部72は、休止履歴記憶部71のカウント値を1つカウントアップする(S130)。次に、休止履歴更新部72は、マスクフラグ領域のマスクフラグをオンにした後(S140)、ステップS100に戻り、次の推定温度(t+1)を示す信号の供給を待つ。 When it is determined in step S120 that the estimated temperature (t) exceeds the threshold value dT MAX (S120: Yes), the pause history update unit 72 increments the count value of the pause history storage unit 71 by one (S130). . Next, the pause history update unit 72 turns on the mask flag in the mask flag area (S140), returns to step S100, and waits for the supply of a signal indicating the next estimated temperature (t + 1).

ステップS110にて、マスクフラグ領域のマスクフラグがオンになっていると判断したとき(S110:Yes)、休止履歴更新部72は、推定温度(t)が閾値dTOFFを下回るか判断する(S150)。 When it is determined in step S110 that the mask flag in the mask flag region is on (S110: Yes), the pause history update unit 72 determines whether the estimated temperature (t) is below the threshold value dT OFF (S150). ).

ステップS150にて、推定温度(t)が閾値dTOFFを下回ると判断したとき(S150:Yes)、休止履歴更新部72は、マスクフラグ領域のマスクフラグをオフにした後(S160)、ステップS100に戻り、次の推定温度(t+1)を示す信号の供給を待つ。 When it is determined in step S150 that the estimated temperature (t) is lower than the threshold value dT OFF (S150: Yes), the pause history update unit 72 turns off the mask flag in the mask flag area (S160), and then proceeds to step S100. The process returns to step S3 and waits for supply of a signal indicating the next estimated temperature (t + 1).

以上の処理が繰り返し実行されると、休止判断部75から供給される信号が示す休止温度が閾値dTOFFを下回ることなく閾値dTMAXを連続して上回っても、その間のカウントアップの数は1つに抑えられる。つまり、休止判断部75がモータ14,22に休止制御をかけてその温度が飽和し、推定温度が閾値dTMAXを跨いで上下動している間は、休止履歴記憶部71のカウントアップが、最初の1つだけに制限される。 When the above processing is repeatedly performed, even if the pause temperature indicated by the signal supplied from the pause determination unit 75 continuously exceeds the threshold value dT MAX without falling below the threshold value dT OFF , the number of count-ups during that time is 1 It can be suppressed to one. That is, while the rest determining unit 75 that the temperature is saturated over the inaction control the motor 14 and 22, the estimated temperature is moved up and down across the threshold dT MAX is counted up resting history storage unit 71, Limited to the first one.

この原理について、図6を参照して説明する。CRモータ14およびPFモータ22の回転によってそれらのモータ14,22に蓄積された熱量が大きくなると、推定温度が閾値dTMAXに向かって次第に大きくなる。そして、推定温度が閾値dTMAXを超えると、休止時間に相当する分だけ次のモータ14,22の回転を遅らせる休止制御がかかり、モータ14,22の放熱が促される。ただし、この休止時間は、推定温度が閾値dTMAXを僅かに下回るに足る長さしか確保されていないため、推定温度が閾値dTMAXを下回るとまもなくモータ14,22は回転し、推定温度が閾値dTMAXに向かって再び大きくなる。この結果、画像の記録が未完了でモータ14,22の連続回転を余儀なくされている間は、モータ14,22の蓄熱量はその限界値よりもやや低いところで飽和した状態になり、閾値dTMAXを跨いだ推定温度の上下動が繰り返される。これに対し、図5のフローチャートによると、それらの上下動のうち推定温度が閾値dTMAXを最初に上回った時にカウント値がカウントアップされた後、推定温度が閾値dTOFFを下回るまでさらなるカウントアップがなされない。そして、CRモータ14およびPFモータ22に十分な休止が与えられ、推定温度が閾値dTOFFを下回ると、そのカウントアップの制限が解除され、推定温度が改めて閾値dTMAXを上回ったときに、更なるカウントアップがなされる。 This principle will be described with reference to FIG. When the amount of heat accumulated in their motor 14 and 22 by the rotation of the CR motor 14 and the PF motor 22 is increased, the estimated temperature gradually increases toward the threshold dT MAX. When the estimated temperature exceeds the threshold value dT MAX , pause control is performed to delay the rotation of the next motors 14 and 22 by an amount corresponding to the pause time, and heat dissipation of the motors 14 and 22 is promoted. However, the dwell time, since only the length of the estimated temperature sufficient to slightly below the threshold dT MAX not ensured, shortly motor 14 and 22 when the estimated temperature is below the threshold dT MAX is rotated, the estimated temperature threshold It grows again towards dT MAX . As a result, while the image recording is not completed and the motors 14 and 22 are forced to continuously rotate, the heat storage amount of the motors 14 and 22 is saturated at a position slightly lower than the limit value, and the threshold value dT MAX is reached. Up and down movement of the estimated temperature is repeated. In contrast, according to the flowchart of FIG. 5, a further counting-up until after the count value is counted up when the estimated temperature of those vertical movement exceeds the threshold value dT MAX First, the estimated temperature is below the threshold value dT OFF Is not made. When sufficient rest is given to the CR motor 14 and the PF motor 22 and the estimated temperature falls below the threshold value dT OFF , the count-up restriction is released, and when the estimated temperature is again higher than the threshold value dT MAX , Count up.

本実施形態にかかるプリンタ10は、モータ14,22の実行済みの休止制御の回数が休止履歴記憶部71にカウント値として記憶され、そのカウント値が予め設定された数を超えると、推定温度との比較に供される閾値の大きさが小さくなっていき、且つその閾値を上回ったときの休止時間も小さくなっていく。よって、プリンタ10を長期にわたって使用することによりそのモータ14,22が過熱気味になっている場合、休止制限が早めに入る代わりに各々の休止時間は短くなる。これにより、不具合や故障が発生したとの印象をユーザに与えることなくモータ14,22の損傷を防いでいくことができる。   In the printer 10 according to the present embodiment, when the number of pause control that has been executed for the motors 14 and 22 is stored as a count value in the pause history storage unit 71 and the count value exceeds a preset number, the estimated temperature and The magnitude of the threshold value used for the comparison becomes smaller, and the pause time when the threshold value is exceeded becomes smaller. Therefore, when the motors 14 and 22 are overheated by using the printer 10 for a long period of time, the pause time is shortened instead of the pause limit being entered earlier. Thereby, it is possible to prevent the motors 14 and 22 from being damaged without giving the user an impression that a malfunction or failure has occurred.

また、本実施形態にかかるプリンタ10は、休止履歴記憶部71のカウント値を1つカウントアップすると、休止判断部75からそれ以降に供給される信号が示す推定温度が閾値dTOFFを下回るまで、休止履歴記憶部71のカウント値のカウントアップを停止する。よって、モータ14,22の蓄熱量が飽和している間も、推定温度が閾値dTMAXを跨いで上下動することに伴う無駄なカウントアップが防がれる。これにより、休止履歴記憶部71に記憶された真正なカウント値から推定されるプリンタ10の使われ方などを、後の機種開発に生かすことができる。 Further, when the printer 10 according to the present embodiment increments the count value of the pause history storage unit 71 by one, until the estimated temperature indicated by the signal supplied thereafter from the pause determination unit 75 falls below the threshold value dT OFF . The count up of the count value in the pause history storage unit 71 is stopped. Therefore, even when the heat storage amount of the motors 14 and 22 is saturated, useless count-up due to the estimated temperature moving up and down across the threshold value dT MAX is prevented. Thereby, how to use the printer 10 estimated from the genuine count value stored in the suspension history storage unit 71 can be utilized for later model development.

<他の印刷の実施の形態>
上記実施形態では、プリンタ10の印字モードの如何に関わらず、休止履歴記憶部71に記憶されたカウント値をカウントアップするようになっている。これに対し、休止履歴記憶部71に、プリンタ10の印字モード毎のカウント値を個別に記憶し、休止履歴更新部72がそれらのモードごとにカウント値をカウントアップするようにしてもよい。
<Other printing embodiments>
In the above embodiment, the count value stored in the pause history storage unit 71 is incremented regardless of the print mode of the printer 10. On the other hand, the count value for each print mode of the printer 10 may be individually stored in the pause history storage unit 71, and the pause history update unit 72 may count up the count value for each mode.

すなわち、例えば、普通紙を印刷するモード(普通紙印刷モード)と、専用紙を印刷するモード(専用紙印刷モード)の2種類の印刷モードがあると仮定する。この場合、普通紙印刷モードと専用紙印刷モードのそれぞれにおいて、休止履歴更新部72のカウント値をカウントアップするようにする。このようにすると、次のようなメリットがある。   That is, for example, it is assumed that there are two types of printing modes: a mode for printing plain paper (plain paper printing mode) and a mode for printing dedicated paper (dedicated paper printing mode). In this case, the count value of the pause history update unit 72 is incremented in each of the plain paper print mode and the dedicated paper print mode. This has the following advantages.

普通紙印刷モードは、専用紙印刷モードと比較すると、印刷速度が速く、そのため、単位時間当たりのPFモータ22の駆動量(発熱量)は、専用紙印刷モードと比較すると大きくなっている。このため、普通紙印刷モードを主として使用すると、普通紙印刷モードにおいて図10に示すような第2閾値(発熱制限)に到達する回数が各段に多くなる。そのため、専用紙印刷モードをほとんど使用しない状態にも拘わらず、休止履歴記憶部71のカウント値が予め設定されている数(図10参照、例えば256)を超えてしまい、第2閾値(発熱制限)が徐々に小さいものとなっていく。   The plain paper printing mode has a higher printing speed than the dedicated paper printing mode. Therefore, the driving amount (heat generation amount) of the PF motor 22 per unit time is larger than that of the dedicated paper printing mode. For this reason, when the plain paper printing mode is mainly used, the number of times the second threshold value (heat generation limit) as shown in FIG. For this reason, the count value in the pause history storage unit 71 exceeds a preset number (see FIG. 10, for example, 256) despite the state in which the dedicated paper printing mode is hardly used, and the second threshold value (heat generation limit) ) Will gradually become smaller.

すなわち、普通紙印刷モードを主として使用すると、専用紙印刷モードを使用する場合、普通紙印刷モードでのカウントアップの影響を受けて、第2閾値の低下を招いてしまう(図7中、「普通紙印刷モード+専用紙印刷モード」という部分が対応)。そして、専用紙印刷モードを使用する場合であっても、その閾値を用いる場合、早く発熱制限に到達するため、印刷のスループットが無駄に低下してしまう。   That is, when the plain paper printing mode is mainly used, when the dedicated paper printing mode is used, the second threshold value is lowered due to the influence of the count up in the plain paper printing mode (in FIG. "Paper printing mode + dedicated paper printing mode" is supported). Even when the dedicated paper printing mode is used, if the threshold value is used, the heat generation limit is reached quickly, so that the printing throughput is unnecessarily reduced.

これに対して、図10示すように、休止履歴記憶部71におけるカウント値を、普通紙印刷モードと専用紙印刷モードとで別々に分ける場合、専用紙印刷モードにおいては、普通紙印刷モードのカウントアップの影響を受けない。そのため、専用紙印刷モードにおける、印刷のスループットが無駄に低下することがなくなる。また、専用紙印刷において、印刷のスループットが低下した、という印象をユーザに抱かせないため、プリンタ10の性能が低下した、との印象をユーザに与えずに済む。   On the other hand, as shown in FIG. 10, when the count value in the pause history storage unit 71 is divided separately for the plain paper print mode and the dedicated paper print mode, the count in the plain paper print mode is used in the dedicated paper print mode. Not affected by up. Therefore, the printing throughput in the dedicated paper printing mode is not reduced unnecessarily. In addition, in dedicated paper printing, the user is not given the impression that the printing throughput has been reduced, so that it is not necessary to give the user the impression that the performance of the printer 10 has deteriorated.

なお、PFモータ22に関しては、普通紙印刷モードの方が専用紙印刷モードよりも早く第2閾値(発熱制限)に到達するが、CRモータ14については、専用紙印刷モードの方が普通紙印刷モードよりも早く閾値(発熱制限)に到達する。そのため、CRモータ14に関しても、休止履歴記憶部71におけるカウント値を、普通紙印刷モードと専用紙印刷モードとで別々に分けるようにしても良い。   As for the PF motor 22, the plain paper printing mode reaches the second threshold value (heat generation limit) earlier than the dedicated paper printing mode, but for the CR motor 14, the plain paper printing mode is more suitable for plain paper printing. The threshold (heat generation limit) is reached earlier than in the mode. Therefore, regarding the CR motor 14, the count value in the suspension history storage unit 71 may be divided separately for the plain paper print mode and the dedicated paper print mode.

なお、印刷モードとしては、普通紙印刷モードおよび専用紙印刷モードには限られず、その他の種々の印刷モードで、個別にカウントするようにしても良い。   Note that the printing mode is not limited to the plain paper printing mode and the dedicated paper printing mode, and may be counted individually in various other printing modes.

また、以上のことは、普通紙印刷モード/専用紙印刷モード等の印刷モードに関してのみならず、画像データについてもいえる。例えば、上述の画像データ解析部100(図8参照)で、普通紙印刷モードでの印刷に対応する画像データである、と判別される場合と、専用紙印刷モードでの印刷に対応する画像データである、と判別される場合とで、休止履歴記憶部71におけるカウント値を別々に分けるようにしても良い。   The above is true not only for the printing mode such as the plain paper printing mode / dedicated paper printing mode but also for the image data. For example, when the image data analysis unit 100 (see FIG. 8) determines that the image data corresponds to printing in the plain paper printing mode, and the image data corresponds to printing in the dedicated paper printing mode. The count value in the pause history storage unit 71 may be divided separately depending on when it is determined that.

また、画像データ解析部100での解析により、CRモータ14は殆ど駆動されないような特有の画像データに基づいて印刷されることが事前に判別された場合であって、そのような印刷が数十枚実行される場合には、休止履歴記憶部71において、専用にカウントアップするようにして、他の画像データに基づく印刷に影響を及ぼさないようにしても良い。このようにすれば、特有の画像データの影響により、印刷のスループットが無駄に低下することがなくなる。   Further, the analysis by the image data analysis unit 100 is a case where it is determined in advance that the CR motor 14 is printed based on specific image data that is hardly driven. When sheets are executed, the suspension history storage unit 71 may count up exclusively so that printing based on other image data is not affected. In this way, the print throughput is not reduced unnecessarily due to the influence of the specific image data.

なお、休止履歴記憶部71におけるカウント値は、所定の条件を満たす場合に、初期値に戻すようにしても良い。所定の条件としては、例えば、図6等に示す閾値dTMAXに達しない状態が所定回数だけ継続した場合等が挙げられる。 Note that the count value in the pause history storage unit 71 may be returned to the initial value when a predetermined condition is satisfied. As the predetermined condition, for example, a case where the state of not reaching the threshold value dT MAX shown in FIG.

<その他の実施形態>
本発明は、種々の変形実施が可能である。
<Other embodiments>
The present invention can be modified in various ways.

上記実施形態では、推定温度が閾値を下回った時に、休止履歴更新部72によるカウントアップの制限が解除されるようになっている。これに対し、図7に示すように、推定温度が閾値dTOFFを下回った時に加えて、プリンタの電源がオフされてから再びオンされたときにもその制限を解除するようにしてもよい。 In the above embodiment, when the estimated temperature falls below the threshold, the count-up restriction by the pause history update unit 72 is released. On the other hand, as shown in FIG. 7, in addition to when the estimated temperature falls below the threshold value dT OFF , the restriction may be released when the printer is turned on and then turned on again.

上記実施形態では、PFモータ22の回転の目標速度の変化のさせ方を記した目標速度テーブル90a,90d,90eと、CRモータ14の回転の目標速度の変化のさせ方を記した目標速度テーブル90b,90cを参照対象として順次特定し、参照対象となった目標速度テーブル90a、90b,90c,90d,90eの通りにそれらのモータ14,22の回転をPID制御するようになっている。そして、休止制御においては、参照対象の目標速度テーブル90a、90b,90c,90d,90eの切り換えのタイミングを遅らせることにより、両モータ14,22を休止させるようになっている。これに対し、別の手順に従って休止制御を行ってもよい。例えば、休止を要すると判断した休止判断部75から、休止時間を示す信号を目標速度特定部54へ供給し、目標速度特定部54が、その信号が示す時間の間に渡って新たな目標速度テーブル90aの特定を遅らせるようにしてもよい。   In the above embodiment, the target speed tables 90a, 90d, and 90e that describe how to change the target speed of rotation of the PF motor 22, and the target speed table that describes how to change the target speed of rotation of the CR motor 14 are described. 90b and 90c are sequentially specified as reference targets, and the rotation of the motors 14 and 22 is PID controlled as the target speed tables 90a, 90b, 90c, 90d, and 90e that are the reference targets. In the pause control, both the motors 14 and 22 are paused by delaying the switching timing of the target speed tables 90a, 90b, 90c, 90d, and 90e to be referred to. On the other hand, the suspension control may be performed according to another procedure. For example, a signal indicating pause time is supplied to the target speed specifying unit 54 from the pause determination unit 75 that has determined that a pause is required, and the target speed specifying unit 54 sets a new target speed over the time indicated by the signal. The specification of the table 90a may be delayed.

上記実施形態では、モータ14,22の実速度やそのデューティー比から得た実効電流値IEFFを基にモータ14,22の推定温度を求め、その推定温度と閾値の大小関係を基に休止制御の要否を判断していた。これに対し、モータ14,22の実速度やそのデューティー比から得た実効電流値IEFFそのものと閾値との大小関係を基に休止制御の要否を判断してもよい。要するに、モータ14,22に蓄積される熱量と相関を有する何らかの値(「熱量相関値」に相当)とその属性に応じて設定した閾値との大小関係を基に休止の要否を判断するようになってさえいればよい。 In the above embodiment, the estimated temperature of the motors 14 and 22 is obtained based on the effective current value I EFF obtained from the actual speed of the motors 14 and 22 and the duty ratio thereof, and the pause control is performed based on the magnitude relationship between the estimated temperature and the threshold value. Judgment was necessary. On the other hand, whether or not the stop control is necessary may be determined based on the magnitude relationship between the effective current value I EFF itself obtained from the actual speed of the motors 14 and 22 and the duty ratio thereof and the threshold value. In short, whether or not to pause is determined based on the magnitude relationship between a certain value correlated with the amount of heat accumulated in the motors 14 and 22 (corresponding to a “heat amount correlation value”) and a threshold set according to the attribute. It only has to be.

上記実施形態は、本発明を、インクジェット式プリンタに搭載されるCRモータ14やPFモータ22のPID制御に適用したものである。これに対し、例えば、スキャナ装置のキャリッジ17を搬送するモータのように、PID制御を要するモータを搭載する別の種類の装置に本発明を適用するようにしてもよい。   In the above embodiment, the present invention is applied to PID control of the CR motor 14 and the PF motor 22 mounted on the ink jet printer. On the other hand, for example, the present invention may be applied to another type of apparatus in which a motor that requires PID control is mounted, such as a motor that transports the carriage 17 of the scanner apparatus.

本発明の実施形態にかかるインクジェット式プリンタのハードウェア概略構成を示す図である。1 is a diagram illustrating a schematic hardware configuration of an ink jet printer according to an embodiment of the present invention. 一枚の用紙に画像を形成する際のモータの連携の様子を示す図である。It is a figure which shows the mode of cooperation of the motor at the time of forming an image on the paper of 1 sheet. DCユニットおよび休止制御ユニットをなす各部の論理的構成を示す図である。It is a figure which shows the logical structure of each part which makes DC unit and a dormant control unit. 実効電流値との比較に供される閾値と休止時間との関係を示す図である。It is a figure which shows the relationship between the threshold value used for a comparison with an effective current value, and rest time. 休止履歴更新部が実行する処理を示すフローチャートである。It is a flowchart which shows the process which a dormant history update part performs. モータの実効電流値の変化を示す図である。It is a figure which shows the change of the effective current value of a motor. 変形例を説明するための図である。It is a figure for demonstrating a modification. コンピュータおよびプリンタの概略構成を示す図である。It is a figure which shows schematic structure of a computer and a printer. 閾値dTMAXと第2閾値との関係を示す図である。It is a diagram showing a relationship between the threshold dT MAX and the second threshold value. 各印刷モードとカウント値の関係を示す図である。It is a figure which shows the relationship between each printing mode and a count value.

符号の説明Explanation of symbols

11…駆動プーリ(「被駆動体」に相当)、12…従動プーリ(「被駆動体」に相当)、13…ベルト(「被駆動体」に相当)、14…CRモータ、15…リニアスケール、16…ガイド軸、17…キャリッジ(「被駆動体」に相当)、18…インクカートリッジ、19…記録ヘッド、20…リニアエンコーダ、21…駆動ローラ(「被駆動体」に相当)、22…PFモータ、23…ロータリスケール、24…ロータリエンコーダ、25…左側壁、26…右側壁、27…後側壁、30…制御部(「制御手段」、「算出手段」に相当)、31…第1モータドライバ、33…第2モータドライバ、35…インターフェース回路、36…記録ヘッド制御回路、37…CPU、38…RAM、39…ROM、40…EEPROM、50…DCユニット、51…位置演算部、52…速度演算部、53…位置偏差演算部、54…目標速度特定部、55…速度偏差演算部、56…比例要素、57…積分要素、58…微分要素、62…制御値加算部、63…PWM信号出力部、64,65…セレクタ、70…休止制御ユニット(「カウント手段」、「閾値特定手段」、「判断手段」、「回転制御手段」に相当)、71…休止履歴記憶部、72…休止履歴更新部、73…休止時間テーブル、74…電流値演算部、75…休止判断部、76…テーブル特定部、77…ディレイ部、90…目標速度テーブル DESCRIPTION OF SYMBOLS 11 ... Driving pulley (equivalent to "driven body"), 12 ... Driven pulley (equivalent to "driven body"), 13 ... Belt (equivalent to "driven body"), 14 ... CR motor, 15 ... Linear scale , 16 ... guide shaft, 17 ... carriage (corresponding to "driven body"), 18 ... ink cartridge, 19 ... recording head, 20 ... linear encoder, 21 ... driving roller (corresponding to "driven body"), 22 ... PF motor, 23 ... rotary scale, 24 ... rotary encoder, 25 ... left side wall, 26 ... right side wall, 27 ... rear side wall, 30 ... control unit (corresponding to "control means", "calculation means"), 31 ... first Motor driver 33 ... second motor driver 35 ... interface circuit 36 ... recording head control circuit 37 ... CPU 38 ... RAM 39 ... ROM 40 ... EEPROM 50 ... DC unit DESCRIPTION OF SYMBOLS 51 ... Position calculating part 52 ... Speed calculating part 53 ... Position deviation calculating part 54 ... Target speed specific | specification part 55 ... Speed deviation calculating part 56 ... Proportional element 57 ... Integration element 58 ... Differentiation element 62 ... Control value addition unit, 63 ... PWM signal output unit, 64, 65 ... selector, 70 ... pause control unit (corresponding to "counting means", "threshold specifying means", "determination means", "rotation control means"), 71 ... Pause history storage unit, 72 ... Pause history update unit, 73 ... Pause time table, 74 ... Current value calculation unit, 75 ... Pause determination unit, 76 ... Table specifying unit, 77 ... Delay unit, 90 ... Target speed table

Claims (8)

被駆動体と、
自らの回転を通じて上記被駆動体へ駆動力を与えるモータと、
上記モータに蓄積されている熱量と相関を有する値である熱量相関値を算出する算出手段と、
上記モータを所定のインターバルを空けて間欠的に回転させる手段であって、そのインターバルの長さを上記算出された熱量相関値が第1閾値を超える回数が増えるほど短くする制御手段と、
を備えることを特徴とするプリンタ。
A driven body;
A motor that applies driving force to the driven body through its own rotation;
A calculating means for calculating a heat quantity correlation value that is a value correlated with the heat quantity accumulated in the motor;
A means for intermittently rotating the motor at predetermined intervals, and a control means for shortening the length of the interval as the number of times the calculated calorie correlation value exceeds the first threshold increases;
A printer comprising:
前記第1閾値は、少なくとも印刷モード毎、または画像データ毎に個別にカウントすることを特徴とする請求項1記載のプリンタ。   2. The printer according to claim 1, wherein the first threshold value is individually counted at least for each print mode or for each image data. 前記熱量相関値との比較に供される第2閾値とインターバルの時間を示す時間データとを関連付けたテーブルであって、より大きな第2閾値ほどより長い時間を示す時間データと関連付けたテーブルを記憶したメモリ、
をさらに備え、
前記制御手段は、
前記算出される熱量相関値が、前記第1閾値を越えた回数をカウントアップするカウント手段と、
上記カウント手段がカウントアップした回数が予め設定された回数に到達するまでは、上記テーブルの上記第2閾値の中から最も大きな第2閾値を特定し、上記カウントする回数が上記設定された回数に達した以降は、上記テーブルの上記第2閾値の中から上記最も大きな第2閾値よりも小さな第2閾値を特定する閾値特定手段と、
前記算出される熱量相関値が上記閾値特定手段に特定された上記第2閾値を超えるか判断する判断手段と、
熱量相関値が上記第2閾値を超えると上記判断手段が判断したとき、上記閾値特定手段に特定された上記第2閾値と対応付けて上記テーブルに記憶された時間データを特定し、その時間データが示す時間のインターバルを空けて、前記モータを回転させる回転制御手段と、
を有することを特徴とする請求項1に記載のプリンタ。
A table in which a second threshold value used for comparison with the calorie correlation value is associated with time data indicating an interval time, and a table associated with time data indicating a longer time as a larger second threshold value is stored. Memory,
Further comprising
The control means includes
Counting means for counting up the number of times that the calculated heat quantity correlation value exceeds the first threshold;
Until the number counted up by the counting means reaches a preset number, the largest second threshold value is specified from the second threshold values in the table, and the counted number is set to the set number. After reaching the threshold value specifying means for specifying a second threshold value smaller than the largest second threshold value from among the second threshold values of the table,
Determining means for determining whether the calculated heat quantity correlation value exceeds the second threshold specified by the threshold specifying means;
When the determination means determines that the heat quantity correlation value exceeds the second threshold value, the time data stored in the table in association with the second threshold value specified by the threshold value specifying means is specified, and the time data Rotation control means for rotating the motor with a time interval indicated by
The printer according to claim 1, further comprising:
前記カウント手段は、
前記算出される熱量相関値が前記第1閾値を超えた回数をカウントアップすると、その第1閾値より小さな別の第3閾値を下回る熱量相関値が上記算出手段に算出されるまで、更なるカウントアップを停止する、
ことを特徴とする請求項2に記載のプリンタ。
The counting means includes
When the number of times that the calculated heat quantity correlation value exceeds the first threshold value is counted up, the calculation means further counts until a heat quantity correlation value that is lower than another third threshold value that is smaller than the first threshold value is calculated. Stop up,
The printer according to claim 2.
自らの回転を通じて上記被駆動体へ駆動力を与えるモータに蓄積されている熱量と相関を有する値である熱量相関値を算出する算出ステップと、
上記モータを所定のインターバルを空けて間欠的に回転させ、そのインターバルの長さを上記算出された熱量相関値が第1閾値を超える回数が増えるほど短くする制御ステップと、
を備えることを特徴とするプリンタのモータ制御方法。
A calculation step for calculating a heat quantity correlation value that is a value correlated with the heat quantity accumulated in the motor that gives a driving force to the driven body through its own rotation;
A control step of intermittently rotating the motor with a predetermined interval, and shortening the length of the interval as the number of times the calculated heat quantity correlation value exceeds the first threshold increases;
A printer motor control method comprising:
被駆動体と、
自らの回転を通じて上記被駆動体へ駆動力を与えるモータと、
上記モータに蓄積されている熱量と相関を有すると共に、上記モータの駆動を停止させる第1閾値を設定する第1閾値設定手段と、
上記第1閾値に到達する回数をカウントするカウント手段と、
上記モータに蓄積されている熱量と相関を有すると共に、上記モータの発熱制限を開始させる第2閾値を算出する第2算出手段と、
上記カウント手段における上記第1閾値のカウント数が増加するにつれて、上記第2閾値を低下させるように特定する閾値特定手段と、
を具備することを特徴とするプリンタ。
A driven body;
A motor that applies driving force to the driven body through its own rotation;
First threshold value setting means for setting a first threshold value that has a correlation with the amount of heat accumulated in the motor and that stops driving the motor;
Counting means for counting the number of times to reach the first threshold;
A second calculating means for calculating a second threshold value that has a correlation with the amount of heat accumulated in the motor and that starts the heat generation limitation of the motor;
Threshold value specifying means for specifying to decrease the second threshold value as the count value of the first threshold value in the counting means increases;
A printer comprising:
前記第1閾値は、少なくとも印刷モード毎、または画像データ毎に個別にカウントすることを特徴とする請求項6記載のプリンタ。   The printer according to claim 6, wherein the first threshold is individually counted at least for each print mode or for each image data. 前記第1閾値は、所定の条件を満足する場合に、初期値に設定されることを特徴とする請求項6または7記載のプリンタ。   8. The printer according to claim 6, wherein the first threshold value is set to an initial value when a predetermined condition is satisfied.
JP2008184639A 2007-08-24 2008-07-16 Printer and printer motor control method Withdrawn JP2009073180A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2008184639A JP2009073180A (en) 2007-08-24 2008-07-16 Printer and printer motor control method

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2007217996 2007-08-24
JP2008184639A JP2009073180A (en) 2007-08-24 2008-07-16 Printer and printer motor control method

Publications (1)

Publication Number Publication Date
JP2009073180A true JP2009073180A (en) 2009-04-09

Family

ID=40608634

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2008184639A Withdrawn JP2009073180A (en) 2007-08-24 2008-07-16 Printer and printer motor control method

Country Status (1)

Country Link
JP (1) JP2009073180A (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005014261A (en) * 2003-06-23 2005-01-20 Seiko Epson Corp Liquid ejecting apparatus, motor heat generation amount control apparatus, and motor heat generation amount control method
JP2005287253A (en) * 2004-03-30 2005-10-13 Seiko Epson Corp Electronics
JP2006001169A (en) * 2004-06-18 2006-01-05 Seiko Epson Corp RECORDING DEVICE, RECORDING DEVICE CONTROL METHOD, CONTROL PROGRAM, AND RECORDING MEDIUM
JP2008018548A (en) * 2006-07-11 2008-01-31 Seiko Epson Corp Inkjet printer and control method of conveyance motor thereof
JP2008022602A (en) * 2006-07-11 2008-01-31 Seiko Epson Corp Inkjet printer and control method of conveyance motor thereof
JP2008044251A (en) * 2006-08-17 2008-02-28 Seiko Epson Corp Printing apparatus and motor control method in printing apparatus

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005014261A (en) * 2003-06-23 2005-01-20 Seiko Epson Corp Liquid ejecting apparatus, motor heat generation amount control apparatus, and motor heat generation amount control method
JP2005287253A (en) * 2004-03-30 2005-10-13 Seiko Epson Corp Electronics
JP2006001169A (en) * 2004-06-18 2006-01-05 Seiko Epson Corp RECORDING DEVICE, RECORDING DEVICE CONTROL METHOD, CONTROL PROGRAM, AND RECORDING MEDIUM
JP2008018548A (en) * 2006-07-11 2008-01-31 Seiko Epson Corp Inkjet printer and control method of conveyance motor thereof
JP2008022602A (en) * 2006-07-11 2008-01-31 Seiko Epson Corp Inkjet printer and control method of conveyance motor thereof
JP2008044251A (en) * 2006-08-17 2008-02-28 Seiko Epson Corp Printing apparatus and motor control method in printing apparatus

Similar Documents

Publication Publication Date Title
EP1287992B1 (en) Ink jet printing apparatus and method
JP2010158907A (en) Liquid discharging device
JP5742455B2 (en) Image forming apparatus, control method therefor, and program
JP3835383B2 (en) Liquid ejection apparatus and computer system
JP2006192636A (en) Liquid ejection system, liquid ejection apparatus, liquid ejection method, program, and liquid ejection control apparatus
JP2006035652A (en) Printing system, printing control apparatus, and printing control method
JP2009073180A (en) Printer and printer motor control method
JP2013215914A (en) Recording device, drive control method of recording device, and drive control program of recording device
JP2018167407A (en) Inkjet recording device
JP2020055301A (en) Liquid ejection device, liquid ejection method, and program
JP2020006639A (en) Printer and control program
JP7070632B2 (en) Inkjet recording device
JP2009055672A (en) Motor control device
US7441858B2 (en) Printing method, printing system, and storage medium having program stored thereon
JP2009055673A (en) Motor control device
JP3852361B2 (en) Method for adjusting dot formation position of printing apparatus for bidirectional printing
JP2009055671A (en) Motor control device
JP5807412B2 (en) Printing apparatus, setting method related to printing apparatus, and computer program
JP2008179057A (en) Printer
JP4662821B2 (en) Motor drive control device, image forming apparatus, and program
JP4688190B2 (en) Image forming apparatus and program
JP7137127B2 (en) Image processing device and computer program
JP5158281B2 (en) Liquid ejection device and liquid ejection method
JP5093416B2 (en) Liquid ejection device and liquid ejection method
JP2005254574A (en) Printing method, printing apparatus, and program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20110331

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20120918

A761 Written withdrawal of application

Free format text: JAPANESE INTERMEDIATE CODE: A761

Effective date: 20120927