JP2018161882A - Recording device - Google Patents

Recording device Download PDF

Info

Publication number
JP2018161882A
JP2018161882A JP2017212537A JP2017212537A JP2018161882A JP 2018161882 A JP2018161882 A JP 2018161882A JP 2017212537 A JP2017212537 A JP 2017212537A JP 2017212537 A JP2017212537 A JP 2017212537A JP 2018161882 A JP2018161882 A JP 2018161882A
Authority
JP
Japan
Prior art keywords
carriage
speed
abnormal position
detection
rubbing
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2017212537A
Other languages
Japanese (ja)
Other versions
JP6962137B2 (en
Inventor
覚 荒金
Manabu Aragane
覚 荒金
健司 川元
Kenji Kawamoto
健司 川元
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.)
Brother Industries Ltd
Original Assignee
Brother Industries Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Brother Industries Ltd filed Critical Brother Industries Ltd
Priority to US15/926,267 priority Critical patent/US10427437B2/en
Publication of JP2018161882A publication Critical patent/JP2018161882A/en
Application granted granted Critical
Publication of JP6962137B2 publication Critical patent/JP6962137B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

PROBLEM TO BE SOLVED: To accurately determine rubbing between a head and the medium to be recorded.SOLUTION: A recording device moves a carriage in a scanning direction when it is determined that a medium to be recorded is not located in a region where the medium can oppose to the carriage and stores an abnormal position on a scale in a storage section on the basis of a detection result of an index formed in the scale during the moving. When a detection position on the scale of a detection section is located on a position other than the abnormal position during printing, it is determined that rubbing is generated between a head and the medium to be recorded when corresponding speed becomes a value slower than a first threshold in a speed parameter value related to a speed of the carriage. When the detection position is located at the abnormal position, it is determined that rubbing is generated between the head and the medium to be recorded when the corresponding speed becomes a value slower than a second threshold corresponding to a speed slower than the first threshold in the speed parameter value.SELECTED DRAWING: Figure 7

Description

本発明は、記録装置に関する。   The present invention relates to a recording apparatus.

特許文献1には、記録装置の一例として、ヘッドを搭載したキャリッジを走査方向に移動させながら、ヘッドから用紙にインクを吐出させるシリアル式のインクジェットプリンタが開示されている。この特許文献1のインクジェットプリンタでは、リニアエンコーダにより検出されるキャリッジの速度と、キャリッジの目標速度との偏差に応じた電流値がキャリッジの駆動モータに印加されるように、フィードバック制御を伴って当該駆動モータを制御している。   Patent Document 1 discloses a serial type ink jet printer that ejects ink from a head onto paper while moving a carriage on which the head is mounted in the scanning direction as an example of a recording apparatus. In the ink jet printer of this Patent Document 1, the current value corresponding to the deviation between the carriage speed detected by the linear encoder and the carriage target speed is applied to the carriage drive motor with feedback control. The drive motor is controlled.

ところで、ヘッドから吐出されたインクを吸収して用紙が波打つ所謂コックリングや、インクの吸収による用紙のカール等の用紙の変形によって、キャリッジの移動中において用紙とヘッドとの間で擦れが生じることがある。このような擦れが生じると、ヘッドの損傷や、用紙の詰りが発生する可能性がある。   By the way, so-called cockling that absorbs ink discharged from the head and the paper undulates, or deformation of the paper such as paper curl due to ink absorption causes friction between the paper and the head during the movement of the carriage. There is. When such rubbing occurs, the head may be damaged or the paper may be jammed.

そこで、特許文献1に記載されたインクジェットプリンタでは、キャリッジの駆動モータのフィードバック制御において、擦れによりキャリッジの速度が目標速度よりも遅れると、駆動モータに印加される電流値が通常よりも大きくなる事象を利用して、電流値が所定の閾値を超えた場合には、擦れが生じていると判断している。   Therefore, in the inkjet printer described in Patent Document 1, in the feedback control of the carriage drive motor, if the carriage speed is delayed from the target speed due to rubbing, the current value applied to the drive motor becomes larger than usual. When the current value exceeds a predetermined threshold value, it is determined that rubbing has occurred.

特開2010−184443号公報JP 2010-184443 A

ここで、キャリッジの速度を検出するリニアエンコーダは、通常、走査方向に沿って設けられ、所定間隔毎に指標が形成されたスケールと、キャリッジに搭載され、スケールに形成された指標を検出するための検出部とを有している。そして、リニアエンコーダは、キャリッジの移動中に、検出部がスケール上の指標を読み取ることで、キャリッジの速度を検出する。このようなリニアエンコーダにおいて、スケール上に汚れや傷が付く等の異常が生じると、検出部がスケール上の指標を正確に読み取ることが難しくなる。その結果として、リニアエンコーダにより検出されるキャリッジの速度が、実際の速度よりも遅くなる場合がある。この場合、特許文献1に記載されたインクジェットプリンタでは、リニアエンコーダにより検出されるキャリッジの速度が、スケール上の汚れにより目標速度よりも遅くなると、実際には擦れが生じていないにも関わらず、擦れが生じていると誤って判断する可能性がある。   Here, the linear encoder that detects the speed of the carriage is usually provided along the scanning direction, and a scale on which an index is formed at predetermined intervals, and an index that is mounted on the carriage and formed on the scale are detected. It has a detection part. The linear encoder detects the speed of the carriage while the detection unit reads the index on the scale while the carriage is moving. In such a linear encoder, when an abnormality such as dirt or scratches occurs on the scale, it becomes difficult for the detection unit to accurately read the index on the scale. As a result, the carriage speed detected by the linear encoder may be slower than the actual speed. In this case, in the ink jet printer described in Patent Document 1, when the carriage speed detected by the linear encoder is slower than the target speed due to dirt on the scale, although there is actually no rubbing, There is a possibility of misjudging that rubbing has occurred.

本発明の目的は、ヘッドと被記録媒体との間の擦れを精度よく判断することが可能な記録装置を提供することである。   An object of the present invention is to provide a recording apparatus that can accurately determine rubbing between a head and a recording medium.

上記の課題を解決するために、本発明の記録装置は、液体を吐出するためのノズルを有するヘッドと、前記ヘッドが搭載されたキャリッジと、前記キャリッジを所定の走査方向に往復移動させるキャリッジ駆動部と、前記走査方向に沿って設けられ、所定間隔毎に指標が形成されたスケール、及び、前記キャリッジに搭載され、前記スケールに形成された
前記指標を検出するための検出部を有するエンコーダと、記憶部と、制御部と、を備え、前記制御部は、被記録媒体が前記キャリッジと対向可能な領域に位置するか否かを判断する媒体位置判断処理と、前記媒体位置判断処理により被記録媒体が前記キャリッジと対向可能な領域に位置していないと判断した場合に、前記キャリッジが前記走査方向に移動するよう前記キャリッジ駆動部を制御し、このキャリッジの移動中における前記検出部による前記指標の検出結果に基づいて前記スケール上の異常位置を含む異常位置情報を生成し、この異常位置情報を前記記憶部に記憶する異常位置検出処理と、前記媒体位置判断処理により被記録媒体が前記キャリッジと対向可能な領域に位置していると判断した場合に、前記キャリッジが前記走査方向に目標速度で移動するように、前記検出部の前記指標の検出結果により取得した前記キャリッジの速度に関する速度パラメータ値に基づいて前記キャリッジ駆動部を制御し、且つ、画像データに基づいて前記ノズルから被記録媒体に液体を吐出させるよう前記ヘッドを制御して、被記録媒体に画像を印刷する印刷処理と、前記印刷処理における前記キャリッジ駆動部の制御中において、前記検出部の前記スケール上の検出位置が、前記記憶部に記憶された前記異常位置情報の前記異常位置以外の位置であるときに、そのときに取得した前記速度パラメータ値が、前記印刷処理における前記目標速度よりも遅い速度に対応する第1閾値と比べて、対応する速度が遅い値の場合には、前記ヘッドと被記録媒体との間で擦れが生じたと判断し、前記印刷処理における前記キャリッジ駆動部の制御中において、前記検出部の前記スケール上の前記検出位置が、前記記憶部に記憶された前記異常位置情報の前記異常位置であるときに、そのときに取得した前記速度パラメータ値が、前記第1閾値よりも遅い速度に対応する第2閾値と比べて、対応する速度が遅い値の場合には、前記ヘッドと被記録媒体との間で擦れが生じたと判断する擦れ判断処理と、を実行可能である。
In order to solve the above problems, a recording apparatus according to the present invention includes a head having a nozzle for discharging a liquid, a carriage on which the head is mounted, and a carriage drive that reciprocates the carriage in a predetermined scanning direction. And a scale provided along the scanning direction and having an index formed at predetermined intervals, and an encoder mounted on the carriage and having a detection unit for detecting the index formed on the scale; A storage unit, and a control unit. The control unit is configured to determine whether the recording medium is located in an area that can face the carriage, and to perform the medium position determination process and the medium position determination process. When it is determined that the recording medium is not located in an area that can face the carriage, the carriage driving unit is moved so that the carriage moves in the scanning direction. An abnormal position detection that generates abnormal position information including an abnormal position on the scale based on a detection result of the index by the detection unit during the movement of the carriage and stores the abnormal position information in the storage unit And when the recording medium is determined to be located in an area where the recording medium can face the carriage, the carriage is moved at a target speed in the scanning direction. The carriage drive unit is controlled based on a speed parameter value related to the speed of the carriage acquired from the detection result of the index, and the head is controlled to discharge liquid from the nozzle to a recording medium based on image data. During the printing process for printing an image on the recording medium and the control of the carriage drive unit in the printing process, When the detection position on the scale of the detection unit is a position other than the abnormal position of the abnormal position information stored in the storage unit, the speed parameter value acquired at that time is If the corresponding speed is a slow value compared to the first threshold value corresponding to a speed slower than the target speed, it is determined that rubbing has occurred between the head and the recording medium, and the printing process During the control of the carriage drive unit, when the detection position on the scale of the detection unit is the abnormal position of the abnormal position information stored in the storage unit, the speed parameter value acquired at that time However, if the corresponding speed is slower than the second threshold corresponding to the speed slower than the first threshold, the rubbing that determines that rubbing has occurred between the head and the recording medium. Judgment processing can be executed.

本発明によると、検出位置が異常位置である場合には、検出位置が異常位置以外の位置である場合に用いる第1閾値よりも遅い速度に対応する第2閾値を用いて、ヘッドと被記録媒体との間で生じる擦れについて判断される。このように、スケール上の異常位置と異常位置以外の位置とでは異なる閾値を用いることで、検出部による指標の検出結果に基づいて取得した速度パラメータ値がスケール上の異常に起因して低下したとしても、ヘッドと被記録媒体との間で生じる擦れを精度よく判断することができる。   According to the present invention, when the detected position is an abnormal position, the head and the recording target are recorded using the second threshold value corresponding to a speed slower than the first threshold value used when the detected position is a position other than the abnormal position. Judgment is made on the rubbing that occurs with the medium. As described above, by using different threshold values for the abnormal position on the scale and the position other than the abnormal position, the speed parameter value acquired based on the detection result of the index by the detection unit is reduced due to the abnormality on the scale. However, it is possible to accurately determine the rubbing that occurs between the head and the recording medium.

インクジョットプリンタの概略鉛直断面図である。1 is a schematic vertical sectional view of an ink jet printer. インクジョットプリンタの概略平面図である。It is a schematic plan view of an ink jet printer. (a)はエンコーダのスケールと検出センサの配置を示す図であり、(b)は検出センサが透過領域と対向している状態を示す図であり、(c)は検出センサが非透過領域と対向している状態を示す図である。(A) is a figure which shows arrangement | positioning of the scale of an encoder and a detection sensor, (b) is a figure which shows the state which the detection sensor has opposed to the permeation | transmission area | region, (c) is a figure where a detection sensor is a non-transmission area | region. It is a figure which shows the state which has opposed. (a)はスケールに汚れが付着していない場合のパルス信号を示す図であり、(b)及び(c)はスケールに汚れが付着している場合のパルス信号を示す図である。(A) is a figure which shows a pulse signal when dirt is not adhering to a scale, (b) and (c) are figures which show a pulse signal when dirt is adhering to a scale. (a)はプリンタの電気的構成を示すブロック図であり、(b)は異常位置及び異常位置以外の位置での、用紙擦れ及びジャムに係る閾値を説明する図である。(A) is a block diagram showing the electrical configuration of the printer, and (b) is a diagram for explaining thresholds relating to paper rubbing and jamming at abnormal positions and positions other than abnormal positions. 検出センサによる検出結果に基づいて取得されるキャリッジ速度の低下要因について説明する説明図であり、(a)は用紙擦れが低下要因であるときの図であり、(b)はジャムが低下要因であるときの図である。It is explanatory drawing explaining the fall factor of the carriage speed acquired based on the detection result by a detection sensor, (a) is a figure when a paper rubbing is a fall factor, (b) is a fall factor of jam. FIG. 検出センサによる検出結果に基づいて取得されるキャリッジ速度の低下要因について説明する説明図であり、(a)はスケール上の汚れが低下要因であるときの図であり、(b)は用紙擦れ及びスケール上の汚れが低下要因であるときの図である。It is explanatory drawing explaining the fall factor of the carriage speed acquired based on the detection result by a detection sensor, (a) is a figure when the stain | pollution | contamination on a scale is a fall factor, (b) is paper rubbing and It is a figure when the stain | pollution | contamination on a scale is a reduction factor. インクジェットプリンタの動作を示すフローチャートである。It is a flowchart which shows operation | movement of an inkjet printer. インクジェットプリンタの動作を示すフローチャートである。It is a flowchart which shows operation | movement of an inkjet printer. 変形例に係るインクジェットプリンタの動作を示すフローチャートである。It is a flowchart which shows operation | movement of the inkjet printer which concerns on a modification. 変形例に係るインクジェットプリンタの動作を示すフローチャートである。It is a flowchart which shows operation | movement of the inkjet printer which concerns on a modification.

以下、記録装置として、インクジェットプリンタ1を例にして説明する。また、以下では、図1及び図2に示すように、互いに直交する、前後方向、左右方向、及び上下方向を規定して説明する。図1に示すように、プリンタ1は、給送部2、プリンタ部3、制御装置100等を備えている。   Hereinafter, the inkjet printer 1 will be described as an example of a recording apparatus. In the following description, as shown in FIG. 1 and FIG. As illustrated in FIG. 1, the printer 1 includes a feeding unit 2, a printer unit 3, a control device 100, and the like.

給送部2は、被記録媒体である用紙Pが載置される給紙トレイ51と、給紙トレイ51の上方に設けられたピックアップローラ52を有する。ピックアップローラ52は、制御装置100による制御の下、給紙モータ53(図5(a)参照)が駆動されると、給紙トレイ51から用紙Pを1枚ずつ取り出す。ピックアップローラ52によって取り出された用紙Pは、ガイド54に沿って送り出され、プリンタ部3に供給される。   The feeding unit 2 includes a paper feed tray 51 on which a paper P that is a recording medium is placed, and a pickup roller 52 provided above the paper feed tray 51. The pickup roller 52 takes out the paper P one by one from the paper feed tray 51 when the paper feed motor 53 (see FIG. 5A) is driven under the control of the control device 100. The paper P taken out by the pickup roller 52 is sent out along the guide 54 and supplied to the printer unit 3.

プリンタ部3は、図2に示すように、キャリッジ4、インクジェットヘッド5(以下、ヘッド5)、搬送機構6、エンコーダ7、キャップ8、フラッシング受け9等を備えている。キャリッジ4は、左右方向に延びた2本のガイドレール11、12に支持されている。2本のガイドレール11,12は、前後方向に互いに間隔をあけて配置されている。ガイドレール12の上面の、左右方向における両端部には、プーリ13、14が設けられている。プーリ13、14には、ゴム材料からなる無端状のベルト15が巻き掛けられている。キャリッジ4は、ベルト15のプーリ13とプーリ14との間に位置する部分に取り付けられている。また、右側のプーリ13には、キャリッジモータ16が接続されている。そして、キャリッジモータ16を正転及び逆転させると、プーリ13、14が回転することによってベルト15が走行し、キャリッジ4が左右方向を走査方向として往復移動する。このとき、左側のプーリ14は、ベルト15の走行に伴い回転する。   As shown in FIG. 2, the printer unit 3 includes a carriage 4, an ink jet head 5 (hereinafter, head 5), a transport mechanism 6, an encoder 7, a cap 8, a flushing receptacle 9, and the like. The carriage 4 is supported by two guide rails 11 and 12 extending in the left-right direction. The two guide rails 11 and 12 are arranged at intervals in the front-rear direction. Pulleys 13 and 14 are provided at both ends of the upper surface of the guide rail 12 in the left-right direction. An endless belt 15 made of a rubber material is wound around the pulleys 13 and 14. The carriage 4 is attached to a portion of the belt 15 located between the pulley 13 and the pulley 14. A carriage motor 16 is connected to the right pulley 13. Then, when the carriage motor 16 is rotated forward and backward, the pulleys 13 and 14 rotate, so that the belt 15 travels, and the carriage 4 reciprocates with the horizontal direction as the scanning direction. At this time, the left pulley 14 rotates as the belt 15 travels.

ヘッド5は、キャリッジ4に搭載されており、キャリッジ4とともに走査方向に往復移動する。このヘッド5の下面は、インクを吐出するための複数のノズル10が形成されたノズル面10a(図1参照)である。また、ヘッド5内には、複数のノズル10に連通するインク流路と、インク流路内のインクに圧力を付与して複数のノズル10からそれぞれインクを吐出させる複数の駆動素子を備えたアクチュエータとを備えている。アクチュエータは、特定の構成のものには限られないが、例えば、駆動素子として、圧電層の逆圧電効果による変形を利用してインクを加圧する圧電素子を有する、圧電アクチュエータを好適に採用できる。尚、駆動素子として、熱によってインク内に気泡を発生させるための発熱素子を採用してもよい。   The head 5 is mounted on the carriage 4 and reciprocates in the scanning direction together with the carriage 4. The lower surface of the head 5 is a nozzle surface 10a (see FIG. 1) on which a plurality of nozzles 10 for ejecting ink are formed. Further, in the head 5, an actuator including an ink flow path communicating with the plurality of nozzles 10, and a plurality of driving elements that apply pressure to the ink in the ink flow paths and discharge the ink from the plurality of nozzles 10, respectively. And. The actuator is not limited to a specific configuration, but, for example, a piezoelectric actuator having a piezoelectric element that pressurizes ink using deformation due to the inverse piezoelectric effect of the piezoelectric layer can be suitably used as the driving element. In addition, you may employ | adopt the heat generating element for generating a bubble in an ink with a heat | fever as a drive element.

また、ヘッド5は、用紙Pに画像を印刷するために、一吐出周期内にノズル10から吐出可能なインクの吐出量(インク滴の体積)は4種類(大滴、中滴、小滴、非吐出)である。従って、用紙P上に形成されるドットによって表現可能なのは、インクの吐出量に応じた4段階の濃度である。このように、プリンタ1では、用紙P上に4階調の印刷を行うことできる。尚、吐出周期とは、走査方向解像度に対応する単位距離だけヘッド5が移動するのに要する時間である。   Further, in order to print an image on the paper P, the head 5 has four types of ink ejection volume (volume of ink droplets) that can be ejected from the nozzle 10 within one ejection cycle (large droplet, medium droplet, small droplet, Non-discharge). Therefore, what can be expressed by the dots formed on the paper P are four levels of density corresponding to the ink ejection amount. As described above, the printer 1 can perform four gradation printing on the paper P. The ejection cycle is the time required for the head 5 to move by a unit distance corresponding to the scanning direction resolution.

搬送機構6は、プラテン41、及び、2つの搬送ローラ42,43を備えている。プラテン41は、キャリッジ4よりも下方、且つ、キャリッジ4と対向可能な位置に配置されている。プラテン41は、その左右方向の幅が、用紙Pの左右方向の幅よりも長く、印刷時に用紙Pを下側から支持する。   The transport mechanism 6 includes a platen 41 and two transport rollers 42 and 43. The platen 41 is disposed below the carriage 4 and at a position that can face the carriage 4. The width of the platen 41 in the left-right direction is longer than the width in the left-right direction of the paper P, and supports the paper P from below during printing.

2つの搬送ローラ42,43は、プラテン41を挟むように前後に配置されている。そして、2つの搬送ローラ42,43は、制御装置100による制御の下、搬送モータ37(図5(a)参照)により同期して回転駆動され、給送部2から送られてきた用紙Pを、プラテン41の上方の、キャリッジ4と対向可能な領域A(図1参照:以下、対向領域A)に搬送する。なお、搬送ローラ42の回転軸には、搬送ローラ42の回転に応じたパルス信号を出力するロータリーエンコーダ40(図5(a)参照)が設置されている。制御装置100は、このロータリーエンコーダ40のパルス信号に基づいて、用紙Pの搬送を制御する。   The two conveying rollers 42 and 43 are arranged at the front and rear so as to sandwich the platen 41. The two transport rollers 42 and 43 are rotationally driven in synchronization by the transport motor 37 (see FIG. 5A) under the control of the control device 100, and the paper P sent from the feeding unit 2 is fed. Then, the sheet is conveyed to an area A above the platen 41 that can face the carriage 4 (refer to FIG. 1; hereinafter, an opposed area A). A rotary encoder 40 (see FIG. 5A) that outputs a pulse signal corresponding to the rotation of the transport roller 42 is installed on the rotation shaft of the transport roller 42. The control device 100 controls the conveyance of the paper P based on the pulse signal of the rotary encoder 40.

また、図1に示すように、搬送ローラ42,43よりも搬送方向上流側には、用紙センサ38が配置されている。この用紙センサ38は、用紙Pの搬送経路における、搬送ローラ42,43よりも搬送方向上流側位置を、検出位置として、当該検出位置に用紙Pが存在するか否かを検出する。制御装置100は、この用紙センサ38の検出結果、及び、搬送モータ37に対する制御内容に基づいて、用紙Pが対向領域Aに位置するか否かを判断する。具体的には、制御装置100は、用紙センサ38が用紙Pの先端を検知してからの、ロータリーエンコーダ40のパルス信号に基づいた搬送ローラ42,43による用紙Pの搬送量が、用紙センサ38の検出位置と対向領域Aとの間の距離と同じ量となった時点を、用紙Pの先端が対向領域Aに到達した第1時点とする。また、この第1時点からの、ロータリーエンコーダ40のパルス信号に基づいた搬送ローラ42,43による用紙Pの搬送量が、対向領域A(キャリッジ4)の搬送方向に関する長さ、及び、用紙Pの搬送方向に関する長さの合計量となった時点を、用紙Pの後端が対向領域Aから抜けた第2時点とする。そして、この第1時点から第2時点までの間、用紙Pが対向領域Aに位置していると判断する。   Further, as shown in FIG. 1, a paper sensor 38 is disposed on the upstream side of the transport rollers 42 and 43 in the transport direction. The sheet sensor 38 detects whether or not the sheet P exists at the detection position, with the position in the transport direction upstream of the transport rollers 42 and 43 in the transport path of the sheet P as a detection position. The control device 100 determines whether or not the paper P is positioned in the facing area A based on the detection result of the paper sensor 38 and the control content for the transport motor 37. Specifically, the control device 100 determines that the transport amount of the paper P by the transport rollers 42 and 43 based on the pulse signal of the rotary encoder 40 after the paper sensor 38 detects the leading edge of the paper P is the paper sensor 38. Is the first point in time when the leading edge of the paper P reaches the counter area A. Further, the transport amount of the paper P by the transport rollers 42 and 43 based on the pulse signal of the rotary encoder 40 from the first time point is the length of the facing area A (carriage 4) in the transport direction and the length of the paper P. The point in time when the total length in the transport direction is reached is the second point in time when the trailing edge of the paper P has left the facing area A. Then, it is determined that the sheet P is located in the facing area A from the first time point to the second time point.

また、搬送ローラ42,43よりも搬送方向下流側には、用紙センサ39が配置されている。この用紙センサ39は、用紙Pの搬送経路における、搬送ローラ42,43よりも搬送方向下流側位置を、検出位置として、当該検出位置に用紙Pが存在するか否かを検出する。制御装置100は、ロータリーエンコーダ40のパルス信号、及び用紙センサ38,39の検出結果に基づいて、用紙Pのジャムを判断する。具体的には、制御装置100は、用紙センサ38が用紙Pを検出した時点からカウントしたロータリーエンコーダ40のパルス信号のパルス数が、用紙センサ38,39間の搬送距離に相当する値に達したにもかかわらず、用紙センサ39が用紙Pを検出しなかった場合に、ジャムが生じたと判断する。   Further, a paper sensor 39 is disposed on the downstream side of the transport rollers 42 and 43 in the transport direction. The sheet sensor 39 detects whether or not the sheet P exists at the detection position, with the position in the conveyance direction downstream of the conveyance rollers 42 and 43 in the conveyance path of the sheet P as a detection position. The control device 100 determines the jam of the paper P based on the pulse signal of the rotary encoder 40 and the detection results of the paper sensors 38 and 39. Specifically, in the control device 100, the pulse number of the pulse signal of the rotary encoder 40 counted from the time when the paper sensor 38 detected the paper P has reached a value corresponding to the conveyance distance between the paper sensors 38 and 39. Nevertheless, if the paper sensor 39 does not detect the paper P, it is determined that a jam has occurred.

エンコーダ7は、透過型のリニアエンコーダであり、図2及び図3に示すように、スケール21と、検出センサ22とを有している。スケール21は、ガイドレール12の上面に配置され、キャリッジ4の移動可能範囲にわたって走査方向に延びている。また、スケール21には、図3(a)に示すように、透過領域21aと非透過領域21bとが走査方向に沿って交互に複数配置されている。透過領域21a各々の走査方向における領域幅は全て同じであり、非透過領域21b各々の走査方向における領域幅も全て同じである。つまり、スケール21上において、複数の透過領域21aは走査方向に沿って所定間隔(非透過領域21bの領域幅)毎に形成されており、複数の非透過領域21bは走査方向に沿って所定間隔(透過領域21aの領域幅)毎に形成されている。また、透過領域21aは光を透過する領域である一方、非透過領域21bは光を透過しない領域である。   The encoder 7 is a transmissive linear encoder, and includes a scale 21 and a detection sensor 22 as shown in FIGS. 2 and 3. The scale 21 is disposed on the upper surface of the guide rail 12 and extends in the scanning direction over the movable range of the carriage 4. In addition, as shown in FIG. 3A, a plurality of transmissive regions 21a and non-transmissive regions 21b are alternately arranged on the scale 21 along the scanning direction. The region widths in the scanning direction of each of the transmissive regions 21a are all the same, and the region widths in the scanning direction of each of the non-transmissive regions 21b are also the same. That is, on the scale 21, the plurality of transmission regions 21a are formed at predetermined intervals (region width of the non-transmission region 21b) along the scanning direction, and the plurality of non-transmission regions 21b are predetermined intervals along the scanning direction. It is formed for each (area width of the transmission area 21a). The transmissive region 21a is a region that transmits light, while the non-transmissive region 21b is a region that does not transmit light.

検出センサ22は、キャリッジ4に搭載されており、発光素子26と受光素子27とを有している。発光素子26と受光素子27とは、前後方向において、スケール21を挟むように配置されている。発光素子26は、受光素子27に向けて光を照射する。受光素子27は、発光素子26から照射された光を受光する。そして、検出センサ22は、この発光素子26と受光素子27とで挟まれるスケール21上の位置を検出位置として、透過領
域21a及び非透過領域21bの検出を行う。
The detection sensor 22 is mounted on the carriage 4 and includes a light emitting element 26 and a light receiving element 27. The light emitting element 26 and the light receiving element 27 are arranged so as to sandwich the scale 21 in the front-rear direction. The light emitting element 26 irradiates light toward the light receiving element 27. The light receiving element 27 receives the light emitted from the light emitting element 26. The detection sensor 22 detects the transmission region 21a and the non-transmission region 21b using the position on the scale 21 between the light emitting element 26 and the light receiving element 27 as a detection position.

具体的には、図3(b)に示すように、検出センサ22の検出位置が透過領域21aである場合には、発光素子26から照射された光は、透過領域21aを透過して受光素子27により受光される。一方で、図3(c)に示すように、検出センサ22の検出位置が非透過領域21bである場合には、発光素子26から照射された光は、非透過領域21bにより遮断されて、受光素子27には到達しない。このため、キャリッジ4が走査方向に移動することで、検出センサ22の検出位置が移動すると、受光素子27は、発光素子26からの光を受光する状態と、発光素子26からの光を受光しない状態とを交互に繰り返すことになる。   Specifically, as shown in FIG. 3B, when the detection position of the detection sensor 22 is the transmission region 21a, the light emitted from the light emitting element 26 transmits through the transmission region 21a and receives the light receiving element. 27 receives light. On the other hand, as shown in FIG. 3C, when the detection position of the detection sensor 22 is the non-transmissive region 21b, the light emitted from the light emitting element 26 is blocked by the non-transmissive region 21b and received. The element 27 is not reached. Therefore, when the detection position of the detection sensor 22 is moved by moving the carriage 4 in the scanning direction, the light receiving element 27 receives light from the light emitting element 26 and does not receive light from the light emitting element 26. The state is repeated alternately.

図4(a)に示すように、検出センサ22は、受光素子27が発光素子26からの光を受光しないときに電位がV1となり、受光素子27が発光素子26からの光を受光するときに電位がV2(V2<V1)となるパルス信号を出力する。即ち、検出センサ22から出力されるパルス信号は、電位がV1のときは検出センサ22が非透過領域21bを検出していることを表し、電位がV2のときは検出センサ22が透過領域21aを検出していることを表している。詳細は後述するが、本実施形態では、制御装置100は、検出センサ22の検出結果に基づいて、キャリッジ4の速度(以下、キャリッジ速度Vcrともいう)の取得等を行っている。   As shown in FIG. 4A, the detection sensor 22 has a potential of V1 when the light receiving element 27 does not receive light from the light emitting element 26, and when the light receiving element 27 receives light from the light emitting element 26. A pulse signal whose potential is V2 (V2 <V1) is output. That is, the pulse signal output from the detection sensor 22 indicates that the detection sensor 22 detects the non-transmission region 21b when the potential is V1, and the detection sensor 22 indicates the transmission region 21a when the potential is V2. Indicates that it is detected. Although details will be described later, in the present embodiment, the control device 100 acquires the speed of the carriage 4 (hereinafter also referred to as the carriage speed Vcr) based on the detection result of the detection sensor 22.

図2に示すように、キャップ8は、プラテン41の右側に配置されており、これに対応して、プリンタ1では、キャリッジ4を、ノズル面10aがキャップ8と対向する待機位置まで移動可能となっている。キャップ8は、昇降機構(不図示)によって上下方向に移動させることが可能である。キャリッジ4が待機位置に位置づけられたときに、キャップ8を上方向に移動させてヘッド5に近づけると、キャップ8がノズル面10aに密着し、複数のノズル10がキャップ8で覆われる。尚、キャップ8がノズル面10aに密着することには限られず、例えば、ヘッド5が、ノズル面10aを取り囲むように配置されたフレームを有するものである場合に、キャップ8がこのフレームに密着することによってノズル10を覆ってもよい。尚、プリンタ1では、印刷を行われない場合には、キャリッジ4が待機位置に位置づけられて、複数のノズル10がキャップ8で覆われた状態にされる。これにより、ノズル10内のインクの乾燥が防止される。   As shown in FIG. 2, the cap 8 is disposed on the right side of the platen 41, and correspondingly, in the printer 1, the carriage 4 can be moved to a standby position where the nozzle surface 10 a faces the cap 8. It has become. The cap 8 can be moved in the vertical direction by an elevating mechanism (not shown). When the carriage 4 is positioned at the standby position, when the cap 8 is moved upward and brought close to the head 5, the cap 8 comes into close contact with the nozzle surface 10 a and the plurality of nozzles 10 are covered with the cap 8. Note that the cap 8 is not limited to being in close contact with the nozzle surface 10a. For example, when the head 5 has a frame disposed so as to surround the nozzle surface 10a, the cap 8 is in close contact with the frame. The nozzle 10 may be covered by this. In the printer 1, when printing is not performed, the carriage 4 is positioned at the standby position, and the plurality of nozzles 10 are covered with the cap 8. Thereby, drying of the ink in the nozzle 10 is prevented.

フラッシング受け9は、プラテン41の左側に配置されており、これに対応して、プリンタ1では、キャリッジ4を、ノズル面10aがフラッシング受け9と対向するフラッシング位置まで移動可能となっている。キャリッジ4がフラッシング位置に位置づけられたときに、各ノズル10からインクを吐出させることで、各ノズル10内で増粘したインクを排出する、フラッシングを行う。尚、フラッシング位置は、ノズル面10aがフラッシング受け9と対向する位置である必要は必ずしもなく、例えば、キャリッジ4が移動しながらフラッシングを行う場合には、キャリッジ4の速度によっては、キャリッジ4の移動方向においてフラッシング受け9より手前の位置でもよい。   The flushing receptacle 9 is disposed on the left side of the platen 41. Correspondingly, in the printer 1, the carriage 4 can be moved to the flushing position where the nozzle surface 10a faces the flushing receptacle 9. When the carriage 4 is positioned at the flushing position, the ink is ejected from each nozzle 10 to perform the flushing that discharges the thickened ink in each nozzle 10. The flushing position does not necessarily have to be a position where the nozzle surface 10a faces the flushing receptacle 9. For example, when flushing is performed while the carriage 4 is moving, the movement of the carriage 4 is dependent on the speed of the carriage 4. It may be a position in front of the flushing receptacle 9 in the direction.

図5(a)に示すように、制御装置100は、CPU(Central Processing Unit)1
01、ROM(Read Only Memory)102、RAM(Random Access Memory)103、不揮発性メモリ104、発振回路105、ASIC(application specific integrated circuit)106等を含む。ROM102には、CPU101が実行するプログラム、各種固定データ等が記憶されている。RAM103には、プログラム実行時に必要なデータ(画像データ等)が一時的に記憶される。不揮発性メモリ104には、後述する異常位置情報等が記憶される。発振回路105は、予め定められた周波数のクロック信号を出力する。ASIC106には、ヘッド5、検出センサ22、キャリッジモータ16、搬送モータ37、用紙センサ38、タッチパネル99、通信インターフェース110等、プリンタ1の様々な装置あるいは駆動部と接続されている。
As shown in FIG. 5A, the control device 100 includes a CPU (Central Processing Unit) 1
01, a ROM (Read Only Memory) 102, a RAM (Random Access Memory) 103, a nonvolatile memory 104, an oscillation circuit 105, an ASIC (Application Specific Integrated Circuit) 106, and the like. The ROM 102 stores programs executed by the CPU 101, various fixed data, and the like. The RAM 103 temporarily stores data (image data and the like) necessary for executing the program. The nonvolatile memory 104 stores abnormal position information, which will be described later. The oscillation circuit 105 outputs a clock signal having a predetermined frequency. The ASIC 106 is connected to various devices or driving units of the printer 1 such as the head 5, the detection sensor 22, the carriage motor 16, the conveyance motor 37, the paper sensor 38, the touch panel 99, and the communication interface 110.

CPU101は、ROM102に格納されたプログラムを実行することにより、ASIC106を介して、ヘッド5やキャリッジモータ16等の動作を制御する各種処理を実行する。尚、以下では、CPUによって各種処理を行うものとして説明するが、制御装置100が複数のCPUを備え、複数のCPUによって処理を分担して行ってもよい。また、制御装置100が複数のASICを備え、複数のASICによって処理を分担してもよい。あるいは、1つのASIC単独で処理を行ってもよい。以下、CPU101が、ROM102に記憶されたプログラムに従って、実行する処理について説明する。   The CPU 101 executes various processes for controlling operations of the head 5, the carriage motor 16, and the like via the ASIC 106 by executing programs stored in the ROM 102. In the following description, it is assumed that various processes are performed by the CPU, but the control apparatus 100 may include a plurality of CPUs, and the processes may be shared by the plurality of CPUs. The control device 100 may include a plurality of ASICs, and the processing may be shared by the plurality of ASICs. Alternatively, the processing may be performed by one ASIC alone. Hereinafter, processing executed by the CPU 101 in accordance with a program stored in the ROM 102 will be described.

CPU101は、通信インターフェース110を介して、PC等の外部装置200から印刷指令を受信したときに、ヘッド5、キャリッジモータ16、搬送モータ37等を制御して、RAM103に記憶された画像データに係る画像を用紙Pに印刷する印刷処理を実行する。   When the CPU 101 receives a print command from the external device 200 such as a PC via the communication interface 110, the CPU 101 controls the head 5, the carriage motor 16, the transport motor 37, and the like, and relates to the image data stored in the RAM 103. A printing process for printing an image on the paper P is executed.

具体的には、CPU101は、印刷指令を受信すると、まず、RAM103に記憶された画像データに対して公知の誤差拡散処理(量子化処理)等の画像処理を行うことで、吐出データを生成する。この吐出データは、一吐出周期内にノズル10から吐出可能なインクの4種類の吐出量に対応した4階調のデータである。また。CPU101は、ピックアップローラ52や搬送モータ37を制御して、給紙トレイ51から対向領域Aに向けて用紙Pを搬送する。その後、CPU101は、用紙センサ38の検知結果等に基づいて用紙Pが対向領域Aに位置しているか否かを判断する。そして、用紙Pが対向領域Aに位置していると判断したときに、CPU101は、生成した吐出データに係る印刷処理を開始する。この印刷処理では、CPU101は、キャリッジ4の走査方向への1回の移動(パスともいう)の間に、吐出データに基づいてノズル10からインクを吐出させる吐出処理と、搬送機構6により用紙Pを前方に所定量だけ搬送させる搬送処理とを交互に行う。   Specifically, when receiving a print command, the CPU 101 first generates ejection data by performing image processing such as known error diffusion processing (quantization processing) on the image data stored in the RAM 103. . This ejection data is 4-gradation data corresponding to four types of ejection amounts of ink that can be ejected from the nozzle 10 within one ejection cycle. Also. The CPU 101 controls the pickup roller 52 and the transport motor 37 to transport the paper P from the paper feed tray 51 toward the facing area A. Thereafter, the CPU 101 determines whether or not the paper P is located in the facing area A based on the detection result of the paper sensor 38 and the like. When it is determined that the paper P is located in the facing area A, the CPU 101 starts a printing process related to the generated ejection data. In this printing process, the CPU 101 performs ejection processing for ejecting ink from the nozzles 10 based on ejection data during one movement (also referred to as a pass) of the carriage 4 in the scanning direction, and paper P by the transport mechanism 6. Is alternately performed with a conveying process for conveying the predetermined amount forward.

尚、1回のパスを印刷する吐出処理において、CPU101は、キャリッジ4が目標速度で定速移動するよう、検出センサ22の検出結果に基づいて取得した現在のキャリッジ速度Vcrと、当該目標速度との偏差に基づくフィードバック制御により、キャリッジ4の移動を制御する。また、プリンタ1では、キャリッジ4の目標速度として、複数段の速度を設定可能にされている。CPU101は、印刷指示(印刷指示に含まれる、用紙Pに印刷する画像の走査方向の解像度に関する指示等)や、パスでの印刷範囲等に応じて、この複数段の速度のうちの何れか1つの速度を目標速度として設定して、吐出処理中は、当該目標速度でキャリッジ4が定速移動するようキャリッジモータ16を制御する。   In the discharge process for printing one pass, the CPU 101 determines the current carriage speed Vcr acquired based on the detection result of the detection sensor 22 and the target speed so that the carriage 4 moves at a constant speed at the target speed. The movement of the carriage 4 is controlled by feedback control based on the deviation. In the printer 1, a plurality of speeds can be set as the target speed of the carriage 4. The CPU 101 selects any one of the speeds of the plurality of stages according to a print instruction (an instruction related to the resolution in the scanning direction of an image to be printed on the paper P included in the print instruction), a print range in a pass, and the like. One speed is set as a target speed, and the carriage motor 16 is controlled so that the carriage 4 moves at a constant speed at the target speed during the discharge process.

ところで、用紙Pは、インクを吸収すると、コックリングやカール等の用紙変形が生じる。このような用紙変形が生じると、以後のパスの印刷を行う際に、図6(a)に示すように、キャリッジ4の移動中に用紙Pとヘッド5のノズル面10aとの間で擦れ(以下、用紙擦れ)が生じることがある。この用紙擦れが生じた状態で、キャリッジ4の移動を継続すると、ノズル面10aの損傷に起因したインクの吐出不良や、ジャム等の要因となる。   By the way, when the paper P absorbs ink, paper deformation such as cockling and curling occurs. When such paper deformation occurs, when printing in subsequent passes, as shown in FIG. 6A, the paper P and the nozzle surface 10a of the head 5 rub against each other during movement of the carriage 4 (see FIG. 6A). Hereinafter, paper rubbing) may occur. If the movement of the carriage 4 is continued in the state in which the paper rubbing has occurred, it causes ink ejection failure or jamming due to the damage of the nozzle surface 10a.

そこで、CPU101は、キャリッジ4を移動させる際に、キャリッジ4の現在の速度であるキャリッジ速度Vcrを取得し、このキャリッジ速度Vcrに基づいて用紙擦れが生じたか否かを判断する。そして、CPU101は、用紙擦れが生じたと判断した場合には、キャリッジ4の移動を停止する処理等を行う。以下、詳細に説明する。   Therefore, when moving the carriage 4, the CPU 101 acquires a carriage speed Vcr that is the current speed of the carriage 4, and determines whether paper rubbing has occurred based on the carriage speed Vcr. When the CPU 101 determines that paper rubbing has occurred, the CPU 101 performs processing for stopping the movement of the carriage 4 and the like. Details will be described below.

吐出処理においては、先に触れたように、CPU101が、キャリッジ4を目標速度で移動するように、キャリッジモータ16を制御する。この制御中においては、キャリッジ
4は、モータ変動の影響は多少受けるものの、大よそ目標速度で移動する。しかしながら、上記用紙擦れが生じると、ノズル面10aと用紙Pとの間の摩擦力により、キャリッジ速度Vcrは目標速度よりも大きく低下する。従って、キャリッジモータ16の制御中に取得したキャリッジ速度Vcrが所定の閾値(以下、第1閾値)と比べて遅いときに、用紙擦れが生じたと判断することができる。尚、この第1閾値は、目標速度よりも遅い速度に対応する値であり、目標速度と第1閾値との差は、上記モータ変動による速度低下分よりも大きい。例えば、キャリッジ速度Vcrが、目標速度に対してモータ変動により5%前後は変動する場合には、第1閾値を、目標速度の90%の値に設定する。
In the ejection process, as described above, the CPU 101 controls the carriage motor 16 so as to move the carriage 4 at the target speed. During this control, the carriage 4 moves roughly at the target speed, although it is somewhat affected by motor fluctuations. However, when the paper rubbing occurs, the carriage speed Vcr is significantly lower than the target speed due to the frictional force between the nozzle surface 10a and the paper P. Therefore, when the carriage speed Vcr acquired during the control of the carriage motor 16 is slower than a predetermined threshold value (hereinafter referred to as the first threshold value), it can be determined that paper rubbing has occurred. The first threshold value is a value corresponding to a speed slower than the target speed, and the difference between the target speed and the first threshold value is larger than the speed decrease due to the motor fluctuation. For example, when the carriage speed Vcr varies about 5% due to motor fluctuations with respect to the target speed, the first threshold value is set to a value of 90% of the target speed.

上記キャリッジ速度Vcrについては、下記の式1により算出することができる。尚、式1中において、Wは1つの非透過領域21bの走査方向の領域幅であり、Fは発振回路105から出力されるクロック信号の周波数である。また、CKは、検出センサ22が1つの非透過領域21bを検出している間に、発振回路105から出力されるクロック信号のクロック数である。   The carriage speed Vcr can be calculated by the following equation 1. In Equation 1, W is the area width in the scanning direction of one non-transmissive area 21b, and F is the frequency of the clock signal output from the oscillation circuit 105. Further, CK is the number of clock signals output from the oscillation circuit 105 while the detection sensor 22 is detecting one non-transmissive region 21b.

Vcr=W/(CK/F)・・・・(式1)
上記式1において、領域幅W及び周波数Fは、予め定められている固定値であるため、クロック数CKを取得することでキャリッジ速度Vcrを算出することができる。そして、このクロック数CKについては、検出センサ22から出力されるパルス信号の電位が、V2からV1に立ち上がる時点から、V1からV2に立ち下がる時点までの期間、つまり、パルス信号の電位がV1に保持される期間(以下、V1保持期間ともいう)に、発振回路105から出力されるクロック信号のクロックをカウントすることで取得することができる。以上のようにして、キャリッジ4の移動中に、検出センサ22の検出結果に基づいてキャリッジ速度Vcrを取得することで、用紙擦れを判断することが可能となる。尚、キャリッジ速度Vcrの取得は、検出センサ22から出力されるパルス信号の電位がV1からV2に立ち下がる毎に実行される。
Vcr = W / (CK / F) (Equation 1)
In the above formula 1, the region width W and the frequency F are fixed values that are determined in advance. Therefore, the carriage speed Vcr can be calculated by obtaining the clock number CK. For this clock number CK, the period from the time when the potential of the pulse signal output from the detection sensor 22 rises from V2 to V1 to the time when the potential falls from V1 to V2, that is, the potential of the pulse signal becomes V1. It can be obtained by counting the clock of the clock signal output from the oscillation circuit 105 during the holding period (hereinafter also referred to as V1 holding period). As described above, it is possible to determine the sheet rubbing by acquiring the carriage speed Vcr based on the detection result of the detection sensor 22 while the carriage 4 is moving. The carriage speed Vcr is acquired every time the potential of the pulse signal output from the detection sensor 22 falls from V1 to V2.

また、図6(b)に示すように、用紙Pが上方に大きく浮き上がるように変形した場合、キャリッジ4の移動中に、用紙Pとキャリッジ4の側面等に衝突してジャムが生じることがある、このようなジャムが生じると、キャリッジ速度Vcrは、用紙擦れのときよりも大きく低下する。そこで、CPU101は、検出センサ22の検出結果に基づいて取得したキャリッジ速度Vcrが、上記第1閾値より遅い速度に対応する第3閾値と比べて遅いときに、ジャムが生じたと判断する。この第3閾値は、例えば、目標速度の30%の値に設定する。   In addition, as shown in FIG. 6B, when the paper P is deformed so as to be lifted upward, the paper 4 may collide with the side surface of the paper P and the carriage 4 during the movement of the carriage 4 to cause a jam. When such a jam occurs, the carriage speed Vcr is much lower than when the paper is rubbed. Therefore, the CPU 101 determines that a jam has occurred when the carriage speed Vcr acquired based on the detection result of the detection sensor 22 is slower than the third threshold corresponding to the speed slower than the first threshold. The third threshold is set to a value that is 30% of the target speed, for example.

ところで、スケール21は、その一部にインク汚れ等を要因とした異常が生じることがある。例えば、ジャムが生じた場合、ユーザにより詰まった用紙を除去する除去作業が行われるが、この除去作業の過程で、インクがスケール21上に付着して汚れることがある。また、用紙Pの走査方向の長さよりも広い範囲に亘ってノズル10からインクを吐出させて、用紙Pの走査方向の全長に亘って印刷を行う、いわゆる縁無し印刷を行うことがある。通常、ノズル10からインクを吐出させる際にインクに付与される吐出エネルギーは、プラテン41に支持された用紙Pの上面にインクを着弾させるのに必要なエネルギーしか付加されていないため、縁無し印刷において、用紙Pよりも走査方向外側の範囲においてノズル10から吐出されたインクの一部は、プラテン41に着弾せずにミスト化される。このミスト化したインクがスケール21上に付着して汚れることがある。   Incidentally, the scale 21 may be abnormal due to ink stains or the like in part of the scale 21. For example, when a jam occurs, a removal operation for removing the jammed paper is performed by the user. In the course of this removal operation, the ink may adhere to the scale 21 and become dirty. In addition, so-called borderless printing may be performed in which ink is ejected from the nozzle 10 over a range wider than the length of the paper P in the scanning direction and printing is performed over the entire length of the paper P in the scanning direction. Normally, when the ink is ejected from the nozzle 10, only the energy required to land the ink on the upper surface of the paper P supported by the platen 41 is added to the ink. In FIG. 5, a part of the ink ejected from the nozzle 10 in the range outside the paper P in the scanning direction is misted without landing on the platen 41. The mist ink may adhere to the scale 21 and become dirty.

以上のように、スケール21上に汚れ等が付着して異常が生じると、検出センサ22から出力されるパルス信号が、本来出力されるべきパルス信号と異なることで、この検出センサ22に基づいて取得するキャリッジ速度Vcrが、実際の速度よりも遅くなる場合がある。以下、具体的に説明する。   As described above, when an abnormality occurs due to dirt or the like adhering to the scale 21, the pulse signal output from the detection sensor 22 is different from the pulse signal that should be output based on this detection sensor 22. The acquired carriage speed Vcr may be slower than the actual speed. This will be specifically described below.

汚れが付着した部分が非透過領域21bである場合には、非透過領域21bは、元々、光を遮断する領域であるため、非透過領域21b上の汚れにより、検出センサ22から出力されるパルス信号が、本来出力されるべきパルス信号と異なることはない。   When the dirt-attached portion is the non-transmissive region 21b, the non-transmissive region 21b is originally a region that blocks light, and therefore, a pulse output from the detection sensor 22 due to the stain on the non-transmissive region 21b. The signal does not differ from the pulse signal that should be output.

一方で、汚れが付着した部分が透過領域21aである場合、発光素子26から照射された光は、透過領域21aの汚れにより遮断されて、受光素子27に到達しない。その結果、この透過領域21aの汚れにより、検出センサ22から出力されるパルス信号が、本来出力されるべきパルス信号と異なることになる。   On the other hand, when the part to which the dirt is attached is the transmission region 21a, the light emitted from the light emitting element 26 is blocked by the dirt of the transmission region 21a and does not reach the light receiving element 27. As a result, due to the contamination of the transmission region 21a, the pulse signal output from the detection sensor 22 is different from the pulse signal that should be output originally.

例えば、図4(b)に示すように、透過領域21aにおいて、両隣の非透過領域21bのうちの何れか一方にのみつながる汚れが付着すると、検出センサ22の検出位置が、1つの非透過領域21bにある期間に加えて、検出位置が汚れ部分にある期間の間、電位がV1に保持されることになる。   For example, as shown in FIG. 4B, in the transmissive region 21a, when dirt that is connected to only one of the adjacent non-transmissive regions 21b adheres, the detection position of the detection sensor 22 is one non-transmissive region. In addition to the period in 21b, the potential is held at V1 during the period in which the detection position is in the dirty portion.

また、図4(c)に示すように、透過領域21aの全体に汚れが付着すると、検出センサ22の検出位置が、1つの非透過領域21bにある期間に加えて、1つの非透過領域、及び、汚れが付着した1つの透過領域21aにある期間の間、電位がV1に保持されることになる。   Further, as shown in FIG. 4C, when dirt is attached to the entire transmission region 21a, in addition to the period in which the detection position of the detection sensor 22 is in one non-transmission region 21b, one non-transmission region, In addition, the potential is held at V1 during a period in one transmission region 21a to which dirt is attached.

以上のように、スケール21の透過領域21aに汚れが付着すると、電位がV1に保持されるV1保持期間が、検出センサ22の検出位置が1つの非透過領域21bにある期間よりも長くなる。その結果として、V1保持期間中に取得するクロック数CKは、検出センサ22の検出位置が1つの非透過領域21bにある期間にカウントされるクロック数よりも多くなる。つまり、上記式1におけるクロック数CKは、実際の値よりも大きくなる。一方で、上記式1において、非透過領域21bについての領域幅Wは固定値とされている。このため、クロック数CKが実際の値よりも多くなることで、式1を用いて算出されるキャリッジ速度Vcrが、実際の速度よりも遅くなる。その結果として、図7(a)に示すように、用紙擦れが生じていないにも関わらず、キャリッジ速度Vcrが第1閾値未満となると、CPU101は、用紙擦れが生じたと誤って判断することになる。これにより、キャリッジ4の移動を停止されて、印刷処理が不要に中断されるため、プリンタ1の使い勝手が悪くなる。   As described above, when dirt is attached to the transmission region 21a of the scale 21, the V1 holding period in which the potential is held at V1 becomes longer than the period in which the detection position of the detection sensor 22 is in one non-transmission region 21b. As a result, the number of clocks CK acquired during the V1 holding period is larger than the number of clocks counted during the period in which the detection position of the detection sensor 22 is in one non-transmissive region 21b. That is, the number of clocks CK in Equation 1 is larger than the actual value. On the other hand, in the above formula 1, the region width W for the non-transmissive region 21b is a fixed value. For this reason, when the number of clocks CK is larger than the actual value, the carriage speed Vcr calculated using the equation 1 becomes slower than the actual speed. As a result, as shown in FIG. 7A, when the carriage speed Vcr is less than the first threshold value even though no paper rubbing has occurred, the CPU 101 erroneously determines that paper rubbing has occurred. Become. As a result, the movement of the carriage 4 is stopped and the printing process is unnecessarily interrupted, so that the usability of the printer 1 is deteriorated.

そこで、本実施形態では、この問題を解決すべく、CPU101は、印刷処理よりも前において、スケール21上の異常位置に関する異常位置情報を生成して、不揮発性メモリ104に記憶する異常位置検出処理を実行する。   Therefore, in this embodiment, in order to solve this problem, the CPU 101 generates abnormal position information regarding the abnormal position on the scale 21 and stores it in the nonvolatile memory 104 before the printing process. Execute.

また、CPU101は、印刷処理におけるキャリッジモータ16の制御中において、検出センサ22の検出位置が異常位置以外の位置である場合には第1閾値を用いて用紙擦れを判断し、検出位置が異常位置である場合には、第1閾値とは異なる第2閾値を用いて用紙擦れを判断する擦れ判断処理を実行する。この第2閾値は、第1閾値よりも小さく、且つ、第3閾値よりも大きい値の閾値である。また、これら第1閾値〜第3閾値を設定する閾値設定処理を実行する。以下、これらの処理について詳細に説明する。   In addition, when the detection position of the detection sensor 22 is a position other than the abnormal position during the control of the carriage motor 16 in the printing process, the CPU 101 determines paper rubbing using the first threshold, and the detection position is the abnormal position. In this case, a rubbing determination process for determining sheet rubbing is performed using a second threshold different from the first threshold. The second threshold value is a threshold value that is smaller than the first threshold value and larger than the third threshold value. Moreover, the threshold value setting process which sets these 1st threshold value-3rd threshold value is performed. Hereinafter, these processes will be described in detail.

異常位置検出処理においては、CPU101は、用紙Pが対向領域Aに位置していないと判断した場合に、キャリッジモータ16を制御してキャリッジ4を走査方向に定速で移動させる。このときのキャリッジ4の移動範囲は、待機位置からフラッシング位置までの範囲である。そして、このキャリッジ4の移動中における検出センサ22の検出結果に基づいて、スケール21上の異常位置、及び当該異常位置に対応する後述する速度低下率を含む異常位置情報を異常位置毎に生成する。以下、具体的に説明する。   In the abnormal position detection process, when the CPU 101 determines that the paper P is not located in the facing area A, the CPU 101 controls the carriage motor 16 to move the carriage 4 at a constant speed in the scanning direction. The moving range of the carriage 4 at this time is a range from the standby position to the flushing position. Then, based on the detection result of the detection sensor 22 during the movement of the carriage 4, abnormal position information including an abnormal position on the scale 21 and a speed reduction rate described later corresponding to the abnormal position is generated for each abnormal position. . This will be specifically described below.

異常位置検出処理中においては、用紙Pは対向領域Aに位置していないため、キャリッジ速度Vcrが用紙擦れにより遅くなることはなく、キャリッジ4は設定された目標速度と略同じ速度で定速に移動することになる。従って、スケール21上に汚れが付着していない場合には、図4(a)に示すように、V1保持期間それぞれの長さは全て同じであり、且つ、検出センサ22が1つの非透過領域21bを検出している期間と同じとなる。このため、V1保持期間それぞれにおいて取得されるクロック数CKを上記式1に変数として代入して算出されるキャリッジ速度Vcrは、設定した目標速度と略同じとなる。   During the abnormal position detection process, since the paper P is not located in the facing area A, the carriage speed Vcr does not become slow due to paper rubbing, and the carriage 4 is kept at a constant speed at substantially the same speed as the set target speed. Will move. Therefore, when there is no dirt on the scale 21, as shown in FIG. 4A, the lengths of the V1 holding periods are all the same, and the detection sensor 22 is one non-transmissive region. This is the same as the period during which 21b is detected. Therefore, the carriage speed Vcr calculated by substituting the number of clocks CK acquired in each V1 holding period as a variable in the above equation 1 is substantially the same as the set target speed.

一方で、図4(b)及び(c)に示すように、スケール21上の何れかの透過領域21aに非透過領域21bにつながる汚れが付着していた場合、スケール21上の、この透過領域21aの汚れ部分及び非透過領域21bの位置は異常位置となる。そして、検出センサ22の検出位置がこの異常位置があるときには、検出位置が異常位置以外の位置であるときと比べて、V1保持期間は長くなり、このV1保持期間において取得されるクロック数CKも多くなる。このため、このクロック数CKを上記式1に変数として代入して算出されるキャリッジ速度Vcrは、設定した目標速度よりも遅くなる。そこで、CPU101は、算出したキャリッジ速度Vcrが、所定の閾値よりも遅い場合、検出センサ22の現在の検出位置は、スケール21上の異常位置であると判断する。尚、上記閾値は、上記モータ変動等の外乱による誤差を考慮した分だけ、上記目標速度よりも遅い速度である。   On the other hand, as shown in FIGS. 4B and 4C, when dirt connected to the non-transmissive area 21 b is attached to any of the transmissive areas 21 a on the scale 21, this transmissive area on the scale 21. The positions of the dirt portion 21a and the non-transmissive region 21b are abnormal positions. When the detection position of the detection sensor 22 has this abnormal position, the V1 holding period is longer than when the detection position is a position other than the abnormal position, and the number of clocks CK acquired in this V1 holding period is also large. Become more. Therefore, the carriage speed Vcr calculated by substituting this clock number CK as a variable in the above equation 1 is slower than the set target speed. Therefore, the CPU 101 determines that the current detection position of the detection sensor 22 is an abnormal position on the scale 21 when the calculated carriage speed Vcr is slower than a predetermined threshold. The threshold value is a speed slower than the target speed by taking into account an error due to disturbance such as the motor fluctuation.

検出センサの現在の検出位置については、キャリッジ4の待機位置から検出センサ22により検出される非透過領域21bの数をカウントすることで取得する。不揮発性メモリ104には、キャリッジ4の待機位置からの、検出センサ22により検出される非透過領域21bの検出数を示すカウント値が記憶される。そして、CPU101は、キャリッジ4が走査方向に沿って左方に移動する際に、検出センサ22により非透過領域21bが検出される(電位がV2からV1に立ち上がる)毎に、不揮発性メモリ104に記憶されたカウント値を1だけカウントアップする。一方で、CPU101は、キャリッジ4が走査方向に沿って左方に移動する際に、検出センサ22により非透過領域21bが検出される毎に、不揮発性メモリ104に記憶されたカウント値を1だけカウントダウンする。これにより、検出センサ22の現在の検出位置を取得することができる。   The current detection position of the detection sensor is obtained by counting the number of non-transmissive areas 21b detected by the detection sensor 22 from the standby position of the carriage 4. The non-volatile memory 104 stores a count value indicating the number of detected non-transmissive areas 21b detected by the detection sensor 22 from the standby position of the carriage 4. When the carriage 4 moves to the left along the scanning direction, the CPU 101 stores the non-transmissive region 21b in the nonvolatile memory 104 every time the non-transmissive region 21b is detected by the detection sensor 22 (the potential rises from V2 to V1). The stored count value is incremented by one. On the other hand, the CPU 101 sets the count value stored in the non-volatile memory 104 to 1 each time the detection sensor 22 detects the non-transmissive area 21b when the carriage 4 moves to the left along the scanning direction. Count down. Thereby, the current detection position of the detection sensor 22 can be acquired.

以上のようにして、CPU101は、スケール21上の異常位置を判断する。また、CPU101は、各異常位置に対応して取得したキャリッジ速度Vcrから、当該異常位置での汚れによる速度低下率を算出する。具体的には、目標速度を100としたときの、取得したキャリッジ速度Vcrの割合を速度低下率とする。そして、CPU101は、この異常位置、及び当該異常位置に対応する速度低下率、を含む異常位置情報を異常位置毎に生成して、不揮発性メモリ104に記憶する。尚、この異常位置検出処理中における、キャリッジ4の速度制御についても、目標速度と、検出センサ22の検出結果に基づいて取得したキャリッジ速度Vcrとの偏差に基づくフィードバック制御により行われる。ここで、取得したキャリッジ速度Vcrが、スケール21上の汚れにより、実際の速度よりも遅くなると、上記フィードバック制御を適切に行うことができない。そこで、取得したキャリッジ速度Vcrが、上記所定の閾値よりも遅い場合には、この取得したキャリッジ速度Vcrをフィードバック制御のパラメータとして使用しないようにしてもよい。   As described above, the CPU 101 determines an abnormal position on the scale 21. Further, the CPU 101 calculates a rate of speed reduction due to dirt at the abnormal position from the carriage speed Vcr acquired corresponding to each abnormal position. Specifically, the ratio of the acquired carriage speed Vcr when the target speed is 100 is defined as a speed reduction rate. Then, the CPU 101 generates abnormal position information including the abnormal position and the speed decrease rate corresponding to the abnormal position for each abnormal position, and stores it in the nonvolatile memory 104. Note that the speed control of the carriage 4 during the abnormal position detection process is also performed by feedback control based on the deviation between the target speed and the carriage speed Vcr acquired based on the detection result of the detection sensor 22. Here, if the acquired carriage speed Vcr is slower than the actual speed due to contamination on the scale 21, the feedback control cannot be performed appropriately. Therefore, when the acquired carriage speed Vcr is slower than the predetermined threshold, the acquired carriage speed Vcr may not be used as a parameter for feedback control.

尚、キャリッジ4が加減速して移動する際には、モータ変動が大きい等の理由によりキャリッジ速度Vcrが大きく変動するため、検出センサ22の検出結果に基づいて異常位置情報を生成した場合、その精度が低い場合がある。一方で、キャリッジ4が定速で移動するように制御している際には、キャリッジ速度Vcrの変動が小さい。このため、本実施形態のように、キャリッジ4が定速で移動するように制御して、検出センサ22の検出結果に基づいて異常位置情報を生成することで、その精度を向上させることができる。ま
た、本実施形態では、異常位置検出処理において設定されるキャリッジ4の目標速度は、設定可能な複数段の速度のうち、最も早い速度である。これにより、異常位置検出処理に要する時間を短縮することができる。
When the carriage 4 moves with acceleration / deceleration, the carriage speed Vcr largely fluctuates due to a large motor fluctuation or the like. Therefore, when abnormal position information is generated based on the detection result of the detection sensor 22, The accuracy may be low. On the other hand, when the carriage 4 is controlled to move at a constant speed, the variation in the carriage speed Vcr is small. For this reason, the accuracy can be improved by controlling the carriage 4 to move at a constant speed and generating the abnormal position information based on the detection result of the detection sensor 22 as in the present embodiment. . In the present embodiment, the target speed of the carriage 4 set in the abnormal position detection process is the fastest speed among a plurality of settable speeds. Thereby, the time which an abnormal position detection process requires can be shortened.

閾値設定処理においては、CPU101は、印刷処理の吐出処理中のキャリッジ4の目標速度に応じて、第1閾値及び第3閾値を設定する。例えば、上述したように、目標速度の90%の値を第1閾値として設定し、目標速度の30%の値を第3閾値として設定する。また、CPU101は、吐出処理中のキャリッジ4の目標速度、及び、不揮発性メモリ104に記憶された異常位置情報に基づき、スケール21上の異常位置毎に、第2閾値を設定する。例えば、或る異常位置に係る第2閾値については、目標速度に当該或る異常位置に対応する速度低下率を乗算して得られた値の、90%の値と設定する。尚、第2閾値の設定方法はこれに限定されるものではなく、例えば、速度低下率と、各目標速度に対応する第2閾値との関係が、テーブルや算出式によってROM102に記憶されており、これらを用いて、異常位置検出処理において取得した速度低下率に基づき第2閾値を設定してもよい。   In the threshold setting process, the CPU 101 sets the first threshold and the third threshold according to the target speed of the carriage 4 during the ejection process of the printing process. For example, as described above, a value of 90% of the target speed is set as the first threshold value, and a value of 30% of the target speed is set as the third threshold value. Further, the CPU 101 sets a second threshold value for each abnormal position on the scale 21 based on the target speed of the carriage 4 during the ejection process and the abnormal position information stored in the nonvolatile memory 104. For example, the second threshold value for a certain abnormal position is set to a value of 90% of the value obtained by multiplying the target speed by the speed reduction rate corresponding to the certain abnormal position. The method for setting the second threshold value is not limited to this. For example, the relationship between the speed reduction rate and the second threshold value corresponding to each target speed is stored in the ROM 102 by a table or a calculation formula. These may be used to set the second threshold based on the speed decrease rate acquired in the abnormal position detection process.

尚、各異常位置の第2閾値を設定する際に、当該第2閾値が第3閾値よりも小さくなった場合には、スケール21上において汚れの範囲が大きく、用紙擦れを精度よく判断することができないため、エラー画面をタッチパネル99に表示させてもよい。若しくは、例外的に、この異常位置だけ、第3閾値を、第2閾値よりも小さくなるように設定してもよい。以上のように、キャリッジ4の目標速度に応じて第1〜第3閾値を設定することで、用紙擦れやジャムを精度よく判断することが可能となる。また、速度低下率に基づいて、異常位置毎に第2閾値を設定することで、用紙擦れをより精度よく判断することが可能となる。   When setting the second threshold value for each abnormal position, if the second threshold value is smaller than the third threshold value, the range of the stain is large on the scale 21, and the paper rubbing is accurately determined. Therefore, an error screen may be displayed on the touch panel 99. Or, exceptionally, the third threshold value may be set to be smaller than the second threshold value only for this abnormal position. As described above, by setting the first to third threshold values in accordance with the target speed of the carriage 4, it is possible to accurately determine paper rubbing and jamming. Further, by setting the second threshold value for each abnormal position based on the speed reduction rate, it is possible to determine the sheet rubbing more accurately.

擦れ判断処理においては、図5(b)及び図6(a)に示すように、CPU101は、印刷処理におけるキャリッジモータ16の制御中において、検出センサ22の検出位置が、不揮発性メモリ104に記憶された異常位置情報の異常位置以外の位置であるときには、そのときに取得したキャリッジ速度Vcrが第1閾値未満であり、且つ第3閾値以上である場合に、用紙擦れが生じたと判断する。また、CPU101は、印刷処理におけるキャリッジモータ16の制御中において、検出センサ22の検出位置が、異常位置であるときには、図7(b)に示すように、そのときに取得したキャリッジ速度Vcrが、当該異常位置に対応する第2閾値未満であり、且つ、第3閾値以上である場合に、用紙擦れが生じたと判断する。この用紙擦れの有無の判断は、キャリッジ速度Vcrを取得する毎に実行される。尚、図5(b)に示すように、取得したキャリッジ速度Vcrが第3閾値未満である場合には、CPU101は、検出センサ22の検出位置に関わらず、ジャムが生じたと判断する。   In the rubbing determination process, as shown in FIGS. 5B and 6A, the CPU 101 stores the detection position of the detection sensor 22 in the nonvolatile memory 104 during the control of the carriage motor 16 in the printing process. If it is a position other than the abnormal position in the abnormal position information, it is determined that sheet rubbing has occurred when the carriage speed Vcr acquired at that time is less than the first threshold and greater than or equal to the third threshold. When the detection position of the detection sensor 22 is an abnormal position during the control of the carriage motor 16 in the printing process, the CPU 101 obtains the carriage speed Vcr acquired at that time as shown in FIG. If it is less than the second threshold corresponding to the abnormal position and greater than or equal to the third threshold, it is determined that paper rubbing has occurred. This determination of the presence or absence of sheet rubbing is performed every time the carriage speed Vcr is acquired. As shown in FIG. 5B, when the acquired carriage speed Vcr is less than the third threshold value, the CPU 101 determines that a jam has occurred regardless of the detection position of the detection sensor 22.

以下、プリンタ1の、一連の動作について、図8及び図9を参照しつつ説明する。尚、図8の動作フロー開始時において、キャリッジ4は待機位置に位置づけられており、且つ、対向領域Aを含む搬送経路上には用紙Pが存在しないものとする。   Hereinafter, a series of operations of the printer 1 will be described with reference to FIGS. 8 and 9. At the start of the operation flow in FIG. 8, it is assumed that the carriage 4 is positioned at the standby position and the sheet P does not exist on the transport path including the facing area A.

図8に示すように、CPU101は、外部装置200等から印刷指令を受信する(S1:YES)と、対向領域Aへの用紙Pの搬送前であるため、対向領域Aに用紙Pが位置していないと判断して、異常位置検出処理を実行する(S2)。具体的には、CPU101は、キャリッジモータ16を制御して、設定可能な最大速度を目標速度として、キャリッジ4を待機位置からフラッシング位置まで定速で移動させる。そして、このキャリッジの移動中における検出センサ22の検出結果に基づいて異常位置情報を生成して、不揮発性メモリ104に記憶する。   As shown in FIG. 8, when the CPU 101 receives a print command from the external device 200 or the like (S1: YES), it is before the conveyance of the paper P to the facing area A, and thus the paper P is positioned in the facing area A. The abnormal position detection process is executed (S2). Specifically, the CPU 101 controls the carriage motor 16 to move the carriage 4 from the standby position to the flushing position at a constant speed with the maximum speed that can be set as the target speed. Then, abnormal position information is generated based on the detection result of the detection sensor 22 during the movement of the carriage and stored in the nonvolatile memory 104.

次に、CPU101は、ヘッド5にフラッシングを行わせるフラッシング処理を実行する(S3)。これにより、ノズル10内で増粘したインクを排出することができる。そして、CPU101は、RAM103に記憶されている画像データから、吐出データを生成する(S4)。次に、CPU101は、ピックアップローラ52、搬送モータ37等を制御して、給紙トレイ51の用紙Pを対向領域Aまで搬送する(S5)。このS5の処理により用紙Pが対向領域Aに搬送されるため、CPU101は、用紙Pが対向領域Aに位置したと判断する。   Next, the CPU 101 executes a flushing process for causing the head 5 to perform flushing (S3). Thereby, the ink thickened in the nozzle 10 can be discharged. Then, the CPU 101 generates ejection data from the image data stored in the RAM 103 (S4). Next, the CPU 101 controls the pickup roller 52, the conveyance motor 37, etc., and conveys the paper P in the paper feed tray 51 to the facing area A (S5). Since the sheet P is transported to the facing area A by the process of S5, the CPU 101 determines that the sheet P is located in the facing area A.

そして、CPU101は、次の吐出処理で設定されるキャリッジ4の目標速度に応じて、第1及び第3閾値を設定するとともに、キャリッジ4の目標速度、及び不揮発性メモリ104に記憶されている異常位置情報に基づいて、異常位置毎に第2閾値を設定する閾値設定処理を実行する(S6)。この後、CPU101は、1パス分の印刷に係る吐出処理を開始する(S7)。即ち、キャリッジモータ16を制御してキャリッジ4の走査方向への移動を開始させ、且つ、ヘッド5を制御して吐出データに基づくノズル10からのインクの吐出を開始する。このキャリッジモータ16の制御中においては、検出センサ22による検出結果に基づいて、検出センサ22の検出位置、及び、キャリッジ速度Vcrの取得が行われる。尚、先に触れたように、この吐出処理中における、キャリッジ4の速度制御については、目標速度と、検出センサ22の検出結果に基づいて取得したキャリッジ速度Vcrとの偏差に基づくフィードバック制御により行われる。しかしながら、検出センサ22のスケール21上の検出位置が異常位置にあるときには、そのときに取得したキャリッジ速度Vcrが、実際の速度よりも遅くなる。その結果として、吐出処理中のキャリッジ4の速度制御を適切に行うことができない可能性がある。そこで、検出センサ22のスケール21上の検出位置が異常位置にあるときには、取得したキャリッジ速度Vcrをフィードバック制御のパラメータとして使用しないようにしてもよい。若しくは、不揮発性メモリ104に記憶されている当該異常位置に対応する異常位置情報の速度低下率を参照して、取得したキャリッジ速度Vcrを補正した上で、フィードバック制御をしてもよい。   Then, the CPU 101 sets the first and third thresholds according to the target speed of the carriage 4 set in the next discharge process, and the target speed of the carriage 4 and the abnormality stored in the nonvolatile memory 104. Based on the position information, a threshold value setting process for setting a second threshold value for each abnormal position is executed (S6). Thereafter, the CPU 101 starts an ejection process related to printing for one pass (S7). That is, the carriage motor 16 is controlled to start the movement of the carriage 4 in the scanning direction, and the head 5 is controlled to start the ejection of ink from the nozzles 10 based on the ejection data. During the control of the carriage motor 16, the detection position of the detection sensor 22 and the carriage speed Vcr are acquired based on the detection result by the detection sensor 22. As described above, the speed control of the carriage 4 during the ejection process is performed by feedback control based on the deviation between the target speed and the carriage speed Vcr acquired based on the detection result of the detection sensor 22. Is called. However, when the detection position of the detection sensor 22 on the scale 21 is an abnormal position, the carriage speed Vcr acquired at that time is slower than the actual speed. As a result, there is a possibility that the speed control of the carriage 4 during the ejection process cannot be performed appropriately. Therefore, when the detection position of the detection sensor 22 on the scale 21 is an abnormal position, the acquired carriage speed Vcr may not be used as a parameter for feedback control. Alternatively, feedback control may be performed after correcting the acquired carriage speed Vcr with reference to the speed decrease rate of the abnormal position information corresponding to the abnormal position stored in the nonvolatile memory 104.

次に、CPU101は、取得したキャリッジ速度Vcrが第3閾値未満か否かを判断する(S8)。そして、キャリッジ速度Vcrが第3閾値以上であると判断した場合(S8:NO)には、CPU101は、ジャムが生じていないと判断してS9の処理に移る。一方で、キャリッジ速度Vcrが第3閾値未満であると判断した場合(S8:YES)には、CPU101は、ジャムが生じていると判断して、S30の処理に移る。   Next, the CPU 101 determines whether or not the acquired carriage speed Vcr is less than a third threshold value (S8). If it is determined that the carriage speed Vcr is greater than or equal to the third threshold (S8: NO), the CPU 101 determines that no jam has occurred and proceeds to the process of S9. On the other hand, if it is determined that the carriage speed Vcr is less than the third threshold (S8: YES), the CPU 101 determines that a jam has occurred, and proceeds to the process of S30.

S9の処理では、CPU101は、不揮発性メモリ104の異常位置情報を参照して、検出センサ22の現在の検出位置が異常位置であるか否かを判断する(S9)。検出位置が異常位置以外の位置であると判断した場合(S9:NO)には、CPU101は、取得したキャリッジ速度Vcrが第1閾値未満か否かを判断する(S10)。そして、キャリッジ速度Vcrが第1閾値以上であると判断した場合(S10:NO)には、CPU101は、用紙擦れが生じていないと判断してS12の処理に移る。一方で、キャリッジ速度Vcrが第1閾値未満であると判断した場合(S10:YES)には、CPU101は、用紙擦れが生じていると判断して、S35の処理に移る。   In the process of S9, the CPU 101 refers to the abnormal position information in the nonvolatile memory 104 to determine whether or not the current detection position of the detection sensor 22 is an abnormal position (S9). If it is determined that the detected position is a position other than the abnormal position (S9: NO), the CPU 101 determines whether the acquired carriage speed Vcr is less than the first threshold (S10). If it is determined that the carriage speed Vcr is equal to or higher than the first threshold value (S10: NO), the CPU 101 determines that no sheet rubbing has occurred, and proceeds to the process of S12. On the other hand, if it is determined that the carriage speed Vcr is less than the first threshold (S10: YES), the CPU 101 determines that paper rubbing has occurred, and proceeds to the process of S35.

S9の処理で、検出位置が異常位置であると判断した場合(S9:YES)には、CPU101は、取得したキャリッジ速度Vcrが第2閾値未満か否かを判断する(S11)。そして、キャリッジ速度Vcrが第2閾値以上であると判断した場合(S11:NO)には、CPU101は、用紙擦れが生じていないと判断してS12の処理に移る。一方で、キャリッジ速度Vcrが第2閾値未満であると判断した場合(S11:YES)には、CPU101は、用紙擦れが生じていると判断して、S35の処理に移る。   If it is determined in step S9 that the detected position is an abnormal position (S9: YES), the CPU 101 determines whether the acquired carriage speed Vcr is less than the second threshold (S11). If it is determined that the carriage speed Vcr is equal to or higher than the second threshold (S11: NO), the CPU 101 determines that no sheet rubbing has occurred and proceeds to the processing of S12. On the other hand, if it is determined that the carriage speed Vcr is less than the second threshold (S11: YES), the CPU 101 determines that paper rubbing has occurred, and proceeds to the process of S35.

S12の処理では、CPU101は、吐出処理(1パス分の印刷)が終了したか否かを判断する。吐出処理が終了していないと判断した場合(S12:NO)には、吐出処理を継続すべく、S8の処理に戻る。一方で、吐出処理が終了したと判断した場合(S12:YES)には、一枚の用紙Pへの印刷が終了したか否かを判断する(S13)。一枚の用紙Pへの印刷が終了していないと判断した場合(S13:NO)には、CPU101は、搬送モータ37を制御して用紙Pを所定量だけ前方へ搬送し(S14)、次のパスの印刷を実行すべく、S6の処理に移る。一方で、一枚の用紙Pへの印刷が終了したと判断した場合(S13:YES)には、CPU101は、搬送モータ37を制御して、印刷した用紙Pを前方に搬送して対向領域A内から排出し(S15)、この後、受信した印刷指令に係る印刷が全て終了したか否かを判断する(S16)。印刷が全て終了したと判断した場合(S16:YES)には、CPU101は、キャリッジモータ16を制御して、キャリッジ4を待機位置に移動させた後に、S1の処理に移る。   In the processing of S12, the CPU 101 determines whether or not the ejection processing (printing for one pass) has been completed. If it is determined that the discharge process has not ended (S12: NO), the process returns to S8 to continue the discharge process. On the other hand, if it is determined that the ejection process has been completed (S12: YES), it is determined whether printing on one sheet of paper P has been completed (S13). When it is determined that printing on one sheet of paper P has not been completed (S13: NO), the CPU 101 controls the transport motor 37 to transport the paper P forward by a predetermined amount (S14). In order to execute the pass printing, the process proceeds to S6. On the other hand, when it is determined that the printing on one sheet of paper P has been completed (S13: YES), the CPU 101 controls the transport motor 37 to transport the printed paper P forward to face the opposite area A. Then, it is determined whether or not all the printing related to the received print command has been completed (S16). If it is determined that printing has been completed (S16: YES), the CPU 101 controls the carriage motor 16 to move the carriage 4 to the standby position, and then proceeds to S1.

一方で、印刷が未だ終了していないと判断した場合(S16:NO)には、直前に行った用紙Pへの画像の印刷が縁無し印刷であったか否かを判断する(S17)。縁無し印刷ではないと判断した場合(S17:NO)には、CPU101は、次の用紙Pの印刷を実行すべく、S5の処理に移る。一方で、縁無し印刷であったと判断した場合(S17:YES)には、スケール21上に新たな汚れが発生した可能性があるとして、CPU101は、異常位置検出処理を実行する(S18)。これにより、不揮発性メモリ104に記憶される異常位置情報が更新される。この後、CPU101は、次の用紙Pの印刷を実行すべく、S5の処理に移る。   On the other hand, if it is determined that the printing has not yet been completed (S16: NO), it is determined whether or not the printing of the image on the paper P performed immediately before was borderless printing (S17). If it is determined that it is not borderless printing (S17: NO), the CPU 101 proceeds to the process of S5 to execute the printing of the next paper P. On the other hand, when it is determined that the printing is borderless printing (S17: YES), the CPU 101 executes an abnormal position detection process on the assumption that there is a possibility that a new stain has occurred on the scale 21 (S18). Thereby, the abnormal position information stored in the nonvolatile memory 104 is updated. Thereafter, the CPU 101 proceeds to the process of S5 to execute the printing of the next paper P.

図9に示すように、ジャムが生じていると判断したときに行うS30の処理では、CPU101は、キャリッジモータ16を制御してキャリッジ4を停止させる。そして、CPU101は、ジャムが発生した旨を示す画面をタッチパネル99に表示させる(S31)。この後、ユーザにより詰まった用紙の除去作業が行われる。そして、ユーザから除去作業が完了した旨を示す入力を、タッチパネル99を介して受け付けると(S32:YES)、CPU101は、この除去作業中にスケール21上に新たな汚れが発生した可能性があるとして、異常位置検出処理を実行する(S33)。これにより、不揮発性メモリ104に記憶される異常位置情報が更新される。この後、CPU101は、同じ吐出データに基づく印刷を新たな用紙Pで再度実行すべく、S5の処理に移る。   As shown in FIG. 9, in the process of S <b> 30 performed when it is determined that a jam has occurred, the CPU 101 controls the carriage motor 16 to stop the carriage 4. Then, the CPU 101 displays a screen indicating that a jam has occurred on the touch panel 99 (S31). Thereafter, the user removes the jammed paper. Then, when an input indicating that the removal work is completed is received from the user via the touch panel 99 (S32: YES), the CPU 101 may have a new stain on the scale 21 during the removal work. Then, an abnormal position detection process is executed (S33). Thereby, the abnormal position information stored in the nonvolatile memory 104 is updated. Thereafter, the CPU 101 proceeds to the process of S5 in order to execute the printing based on the same ejection data with the new paper P again.

用紙擦れが生じていると判断したときに行うS35の処理では、CPU101は、キャリッジモータ16を制御してキャリッジ4を停止させる。そして、CPU101は、所定時間だけ待機し(S36)、この後、搬送モータ37を制御して、印刷した用紙Pを対向領域A内から排出する(S37)。ここで、用紙Pの変形理由が、用紙Pがインクを吸収したことに由来する場合、その状態でしばらく待機させておくと、用紙P浮き上がりがおさまり、結果として、用紙Pがノズル面10aから離れる。従って、上記のように、用紙Pを対向領域Aから排出させる前に、所定時間だけ待機することで、用紙Pの排出時に、用紙Pとノズル面10aとの間で用紙擦れが生じることを抑制することができる。   In the process of S <b> 35 that is performed when it is determined that paper rubbing has occurred, the CPU 101 controls the carriage motor 16 to stop the carriage 4. Then, the CPU 101 waits for a predetermined time (S36), and then controls the transport motor 37 to discharge the printed paper P from the facing area A (S37). Here, when the reason for the deformation of the paper P comes from the fact that the paper P has absorbed the ink, if the paper P is kept waiting for a while in this state, the paper P is lifted, and as a result, the paper P is separated from the nozzle surface 10a. . Therefore, as described above, by waiting for a predetermined time before discharging the paper P from the facing area A, it is possible to prevent the paper from rubbing between the paper P and the nozzle surface 10a when the paper P is discharged. can do.

次に、CPU101は、用紙Pの1枚当たりに吐出されるインクの吐出量が、先ほどの印刷処理で使用した吐出データよりも少なくなるように、同じ画像データから、吐出データを再度生成する(S38)。例えば、量子化処理における閾値を変更する等して、中滴や大滴のインクが吐出される比率を低くする一方で、小滴のインクが吐出される比率を多くする。この後、生成した吐出データに基づく印刷を新たな用紙Pで実行すべく、S5の処理に移る。このように、用紙Pの1枚当たりに吐出されるインクの吐出量が少ない吐出データに変更することで、再印刷中において、ノズル10から吐出されたインクにより用紙Pが変形する度合を抑えることができる。その結果として、再印刷中において、用紙擦れが生じることを抑制することができる。   Next, the CPU 101 again generates ejection data from the same image data so that the ejection amount of ink ejected per sheet P is smaller than the ejection data used in the previous printing process ( S38). For example, by changing the threshold value in the quantization process, the ratio of ejecting medium drops or large drops of ink is lowered, while the ratio of ejecting small drops of ink is increased. Thereafter, in order to execute printing based on the generated ejection data on a new sheet P, the process proceeds to S5. In this way, by changing to ejection data with a small ejection amount of ink ejected per sheet of paper P, the degree to which the paper P is deformed by the ink ejected from the nozzles 10 during reprinting is suppressed. Can do. As a result, it is possible to suppress paper rubbing during reprinting.

以上、本実施形態によると、検出センサ22の検出位置が異常位置である場合には、検出位置が異常位置以外の位置である場合に用いる第1閾値よりも遅い速度に対応する第2閾値を用いて、用紙擦れが判断される。このように、スケール21上の異常位置と異常位置以外の位置とでは異なる閾値を用いることで、検出センサ22の検出結果に基づいて取得したキャリッジ速度Vcrがスケール21上の汚れに起因して低下したとしても、用紙擦れを精度よく判断することができる。   As described above, according to the present embodiment, when the detection position of the detection sensor 22 is an abnormal position, the second threshold corresponding to a speed slower than the first threshold used when the detection position is a position other than the abnormal position is set. Used to determine paper rubbing. As described above, by using different threshold values for the abnormal position on the scale 21 and the position other than the abnormal position, the carriage speed Vcr acquired based on the detection result of the detection sensor 22 is reduced due to the contamination on the scale 21. Even so, it is possible to accurately determine the sheet rubbing.

また、印刷処理前に行うフラッシング処理のためのキャリッジ4の待機位置からフラッシング位置への移動が、異常位置検出処理におけるキャリッジの移動を兼ねているため、異常位置検出処理のためだけにキャリッジ4を新たに移動させる必要がない。   Further, since the movement of the carriage 4 from the standby position for the flushing process performed before the printing process to the flushing position also serves as the movement of the carriage in the abnormal position detection process, the carriage 4 is moved only for the abnormal position detection process. There is no need to move it anew.

また、縁無し印刷後やジャム後においては、スケール21に汚れが新たに付着している可能性があるため、次の印刷を行う前に異常位置検出処理が実行される。その結果として、次の印刷中において、用紙擦れを精度よく判断することができる。尚、図8及び図9のフローチャート図では図示されていないが、CPU101は、ロータリーエンコーダ40のパルス信号、及び用紙センサ38,39の検出結果に基づいて、用紙Pのジャムが生じたと判断した場合においても、次の印刷を行う前に、異常位置検出処理を実行する。   In addition, after borderless printing or after jamming, there is a possibility that dirt is newly attached to the scale 21, and therefore an abnormal position detection process is executed before the next printing is performed. As a result, paper rubbing can be accurately determined during the next printing. Although not shown in the flowcharts of FIGS. 8 and 9, the CPU 101 determines that the jam of the paper P has occurred based on the pulse signal of the rotary encoder 40 and the detection results of the paper sensors 38 and 39. Also, the abnormal position detection process is executed before the next printing.

以上説明した実施形態において、キャリッジモータ16が「キャリッジ駆動部」に相当する。検出センサ22が「検出部」に相当し、非透過領域21bが「指標」に相当する。不揮発性メモリ104が「記憶部」に相当する。フラッシング受け9が「液体受け」に相当する。検出センサ22の検出結果に基づいて取得するキャリッジ速度Vcrが速度パラメータ値に相当する。速度低下率が「速度情報」に相当する。用紙センサ38,39及びロータリーエンコーダ40が「ジャム検出部」に相当する。   In the embodiment described above, the carriage motor 16 corresponds to a “carriage driving unit”. The detection sensor 22 corresponds to a “detection unit”, and the non-transmissive region 21b corresponds to an “index”. The nonvolatile memory 104 corresponds to a “storage unit”. The flushing receptacle 9 corresponds to a “liquid receptacle”. The carriage speed Vcr acquired based on the detection result of the detection sensor 22 corresponds to the speed parameter value. The speed reduction rate corresponds to “speed information”. The paper sensors 38 and 39 and the rotary encoder 40 correspond to a “jam detection unit”.

以上、本発明の好適な実施の形態について説明したが、本発明は上述の実施の形態に限られるものではなく、特許請求の範囲に記載した限りにおいて様々な変更が可能なものである。例えば、CPU101が、用紙擦れが生じたと判断した(S10:YES,S11:YES)以降の処理を、図10(a)や図10(b)に示すようにしてもよい。以下、これらの変形例について説明する。   The preferred embodiments of the present invention have been described above. However, the present invention is not limited to the above-described embodiments, and various modifications can be made as long as they are described in the claims. For example, the processing after the CPU 101 determines that paper rubbing has occurred (S10: YES, S11: YES) may be as shown in FIG. 10 (a) and FIG. 10 (b). Hereinafter, these modifications will be described.

まず、図10(a)に示す変形例について説明する。CPU101は、用紙擦れが生じたと判断した場合、キャリッジモータ16を制御して、用紙擦れを判断したときのキャリッジ4の進行方向とは逆方向にキャリッジ4を、プラテン41よりも外側となるまで移動させる(S41)。尚、用紙擦れを判断するまでは、ヘッド5と用紙Pとは接触していないため、S41の処理のように、進行方向とは逆方向にキャリッジ4を移動させたとしても、ヘッド5と用紙Pとの間で用紙擦れが生じる可能性は低い。   First, the modification shown in FIG. 10A will be described. When the CPU 101 determines that paper rubbing has occurred, the CPU 101 controls the carriage motor 16 to move the carriage 4 in the direction opposite to the traveling direction of the carriage 4 when the paper rubbing is determined until it is outside the platen 41. (S41). Since the head 5 and the paper P are not in contact until the paper rubbing is determined, even if the carriage 4 is moved in the direction opposite to the traveling direction as in the process of S41, the head 5 and the paper There is little possibility of paper rubbing with P.

その後、CPU101は、上述したS37及びS38と同様なS42及びS43の処理を実行した後に、生成した吐出データに基づく印刷を新たな用紙Pで実行すべく、S5の処理に移る。以上、本変形例でも、用紙擦れを判断した以降において、用紙擦れによりヘッド5が損傷等することを抑制することができる。   Thereafter, the CPU 101 performs the processing of S42 and S43 similar to S37 and S38 described above, and then proceeds to the processing of S5 in order to execute printing based on the generated ejection data on a new sheet P. As described above, also in the present modification, it is possible to prevent the head 5 from being damaged by the paper rubbing after the paper rubbing is determined.

次に、図10(b)に示す変形例について説明する。本変形例では、CPU101は、用紙擦れが生じたと判断したとしても、当該パスの印刷が終了していなければ、ジャムが生じない限り継続して行う。具体的には、CPU101は、用紙擦れが生じたと判断した場合、1パス分の印刷が終了したか否かを判断する(S51)。1パス分の印刷が終了していないと判断した場合(S51:NO)には、印刷を継続し、取得したキャリッジ速度Vcrが第3閾値未満か否かを判断する(S52)。キャリッジ速度Vcrが第3閾値以
上であると判断した場合(S52:NO)には、S51の処理に戻る。一方で、キャリッジ速度Vcrが第3閾値未満であると判断した場合(S53:YES)には、ジャムが生じたと判断して、S53の処理に移る。
Next, a modification shown in FIG. 10B will be described. In this modified example, even if the CPU 101 determines that paper rubbing has occurred, if the printing of the pass has not been completed, the CPU 101 continues to perform unless jamming occurs. Specifically, if the CPU 101 determines that paper rubbing has occurred, the CPU 101 determines whether printing for one pass has been completed (S51). If it is determined that printing for one pass has not been completed (S51: NO), printing is continued, and it is determined whether the acquired carriage speed Vcr is less than the third threshold value (S52). If it is determined that the carriage speed Vcr is greater than or equal to the third threshold (S52: NO), the process returns to S51. On the other hand, if it is determined that the carriage speed Vcr is less than the third threshold (S53: YES), it is determined that a jam has occurred, and the process proceeds to S53.

S51の処理で、1パス分の印刷が終了したと判断した場合(S51:YES)には、一枚の用紙Pへの印刷が終了したか否かを判断する(S53)。一枚の用紙Pへの印刷が終了したと判断した場合(S53:YES)には、S15の処理に移る。一方で、一枚の用紙Pへの印刷が終了していないと判断した場合(S53:NO)には、CPU101は、所定時間だけ待機し(S54)、この後、搬送モータ37を制御して、用紙Pを所定量だけ前方へ搬送し(S55)、次のパスの印刷を実行すべく、S6の処理に移る。以上により、用紙擦れが生じたと判断した場合には、所定時間待機した後に、次のパスの印刷が開始されることになる。つまり、用紙擦れが生じたと判断した場合には、用紙擦れが生じたと判断していない場合と比べて、次のパスの印刷開始タイミングが遅れることになる。これにより、次のパスの印刷開始タイミングにおいては、この所定時間待機した分だけ、用紙P浮き上がりがおさまっているため、次のパスの印刷時において用紙擦れが生じる可能性を低減することができる。加えて、用紙擦れが生じたと判断したとしても、印刷処理が継続して実行されるため、印刷処理に要する時間を短くすることができる。   If it is determined in step S51 that printing for one pass has been completed (S51: YES), it is determined whether printing on one sheet of paper P has been completed (S53). If it is determined that printing on one sheet of paper P has been completed (S53: YES), the process proceeds to S15. On the other hand, if it is determined that printing on one sheet of paper P has not been completed (S53: NO), the CPU 101 waits for a predetermined time (S54), and then controls the carry motor 37. Then, the paper P is conveyed forward by a predetermined amount (S55), and the process proceeds to S6 to execute the next pass printing. As described above, when it is determined that paper rubbing has occurred, printing for the next pass is started after waiting for a predetermined time. That is, when it is determined that paper rubbing has occurred, the printing start timing of the next pass is delayed as compared with the case where it is not determined that paper rubbing has occurred. As a result, at the printing start timing of the next pass, the sheet P is lifted by the amount of waiting for the predetermined time, so that the possibility of paper rubbing during printing of the next pass can be reduced. In addition, even if it is determined that paper rubbing has occurred, the printing process is continuously executed, so the time required for the printing process can be shortened.

以下、別の変形例について説明する。上述したように、キャリッジ4の速度制御は、検出センサ22の検出結果に基づいて取得した現在のキャリッジ速度Vcrと、目標速度との偏差に基づくフィードバック制御により行っている。このため、検出センサ22の検出位置が異常位置を跨ぐときには、CPU101は、キャリッジ4の速度が目標速度よりも低下したと誤って判断して、キャリッジ4の速度が上昇するようにキャリッジモータ16を制御する。このため、キャリッジ4の実際の速度が目標速度よりも高くなる。この後、フィードバック制御により、キャリッジ4の速度(取得したキャリッジ速度Vcr)は目標速度に収束することになるが、その過程において、キャリッジ4の速度は、目標速度を中心として上下に変動する。また、このときの、キャリッジ4の速度変動の変動幅は、吐出処理中のキャリッジ4の目標速度が高いほど大きい。従って、目標速度が高い場合には、キャリッジ4の速度変動により、検出センサ22の検出結果に基づいて取得したキャリッジ速度Vcrが、第1閾値未満となる場合がある。つまり、検出センサ22の検出位置が、異常位置以外の位置のときでも、異常位置の前後の所定範囲内においては、スケール21上の汚れに起因して、キャリッジ4の実際の速度(キャリッジ速度Vcr)が第1閾値未満となる場合がある。これにより、用紙擦れが生じていないにも関わらず、用紙擦れが生じた誤って判断する虞がある。   Hereinafter, another modified example will be described. As described above, the speed control of the carriage 4 is performed by feedback control based on the deviation between the current carriage speed Vcr acquired based on the detection result of the detection sensor 22 and the target speed. For this reason, when the detection position of the detection sensor 22 crosses the abnormal position, the CPU 101 erroneously determines that the speed of the carriage 4 has decreased below the target speed, and moves the carriage motor 16 so that the speed of the carriage 4 increases. Control. For this reason, the actual speed of the carriage 4 becomes higher than the target speed. Thereafter, the speed of the carriage 4 (acquired carriage speed Vcr) converges to the target speed by feedback control. In this process, the speed of the carriage 4 fluctuates up and down around the target speed. At this time, the fluctuation range of the speed fluctuation of the carriage 4 is larger as the target speed of the carriage 4 during the ejection process is higher. Therefore, when the target speed is high, the carriage speed Vcr acquired based on the detection result of the detection sensor 22 may be less than the first threshold due to the speed fluctuation of the carriage 4. That is, even when the detection position of the detection sensor 22 is a position other than the abnormal position, the actual speed of the carriage 4 (carriage speed Vcr) is caused by dirt on the scale 21 within a predetermined range before and after the abnormal position. ) May be less than the first threshold. As a result, there is a possibility that it is erroneously determined that paper rubbing has occurred although paper rubbing has not occurred.

そこで、本変形例では、設定可能な複数段の速度のうち、所定の速度閾値未満の速度(第2速度)を、吐出処理中のキャリッジ4の目標速度として設定した際には、擦れ判断処理を、上記実施形態と同様の処理内容で行う。一方で、上記速度閾値未満の速度(第1速度)を、吐出処理中のキャリッジ4の目標速度として設定した際には、擦れ判断処理の処理内容を変更する。   Therefore, in this modification, when a speed (second speed) that is less than a predetermined speed threshold is set as the target speed of the carriage 4 during the discharge process among the settable speeds, the rubbing determination process Is performed with the same processing contents as in the above embodiment. On the other hand, when the speed (first speed) lower than the speed threshold is set as the target speed of the carriage 4 during the ejection process, the processing content of the rubbing determination process is changed.

具体的には、CPU101は、検出センサ22の検出位置が、不揮発性メモリ104に記憶された異常位置情報の異常位置以外の位置であるときでも、異常位置の前後の所定範囲内にあるときは、そのときに取得したキャリッジ速度Vcrが第2閾値未満であり、且つ第3閾値以上である場合に、用紙擦れが生じたと判断する。つまり、取得したキャリッジ速度Vcrが第1閾値未満であり、且つ第2閾値以上である場合には、用紙擦れが生じたとは判断しない。より詳細には、プリンタ1の動作において、図11に示すように、上述したS9の処理の代わりに、S60の処理を実行する。S60の処理では、CPU101は、検出センサ22の現在の検出位置が、異常位置又は異常位置の前後の所定範囲内にあるか否かを判断する。そして、検出位置が異常位置以外の位置であり、且つ、異常位置の前後の所定範囲外にあると判断した場合(S60:NO)に、S10の処理に移る。一方で、検出位置が異常位置又は異常位置の前後の所定範囲内にあると判断した場合(S60:YES)には、S11の処理に移る。   Specifically, when the detection position of the detection sensor 22 is a position other than the abnormal position of the abnormal position information stored in the nonvolatile memory 104, the CPU 101 is in a predetermined range before and after the abnormal position. When the carriage speed Vcr acquired at that time is less than the second threshold and greater than or equal to the third threshold, it is determined that paper rubbing has occurred. That is, when the acquired carriage speed Vcr is less than the first threshold value and greater than or equal to the second threshold value, it is not determined that paper rubbing has occurred. More specifically, in the operation of the printer 1, as shown in FIG. 11, the process of S60 is executed instead of the process of S9 described above. In the process of S60, the CPU 101 determines whether or not the current detection position of the detection sensor 22 is within an abnormal position or a predetermined range before and after the abnormal position. When it is determined that the detected position is a position other than the abnormal position and is outside the predetermined range before and after the abnormal position (S60: NO), the process proceeds to S10. On the other hand, if it is determined that the detected position is within the abnormal position or the predetermined range before and after the abnormal position (S60: YES), the process proceeds to S11.

以上により、スケール21上の汚れに起因して生じるキャリッジ4の速度変動によって、用紙擦れが生じた誤って判断する可能性を低減することができる。なお、CPU101は、吐出処理中のキャリッジ4の目標速度に関わらず、検出センサ22の検出位置が、異常位置の前後の所定範囲内にあるときは、そのときに取得したキャリッジ速度Vcrが第2閾値未満であり、且つ第3閾値以上である場合に、用紙擦れが生じたと判断してもよい。   As described above, it is possible to reduce the possibility of erroneously determining that the paper is rubbed due to the speed fluctuation of the carriage 4 caused by the stain on the scale 21. When the detection position of the detection sensor 22 is within a predetermined range before and after the abnormal position regardless of the target speed of the carriage 4 during the ejection process, the CPU 101 determines that the carriage speed Vcr acquired at that time is the second speed. If it is less than the threshold and greater than or equal to the third threshold, it may be determined that paper rubbing has occurred.

以下、その他の変形例について説明する。   Hereinafter, other modifications will be described.

上述の実施形態では、検出センサ22は、エンコーダ7の非透過領域21bを指標として検出するように構成されていたが、透過領域21aを指標として検出するように構成されていてもよい。また、エンコーダ7がいわゆる透過型のリニアエンコーダであったが、特にこれには限られるものではなく、反射型のリニアエンコーダであってもよい。この場合、上述の非透過領域21bを、光を反射しない非反射領域に変え、透過領域21aを、光を反射する反射領域に変える。そして、検出センサ22の発光素子26及び受光素子27を共にスケール21の前方側又は後方側に配置することで、検出センサ22から上述の実施形態と同様な、パルス信号を出力することは可能である。さらに、エンコーダは、光学式以外のエンコーダであってもよく、例えば、磁気エンコーダを用いてもよい。この場合、上述の非透過領域21bを磁気を帯びた領域、透過領域21aを磁気を帯びていない領域にすればよい。   In the above-described embodiment, the detection sensor 22 is configured to detect the non-transmissive region 21b of the encoder 7 as an index, but may be configured to detect the transmissive region 21a as an index. The encoder 7 is a so-called transmissive linear encoder. However, the encoder 7 is not limited to this, and may be a reflective linear encoder. In this case, the non-transmissive area 21b is changed to a non-reflective area that does not reflect light, and the transmissive area 21a is changed to a reflective area that reflects light. Then, by arranging both the light emitting element 26 and the light receiving element 27 of the detection sensor 22 on the front side or the rear side of the scale 21, it is possible to output a pulse signal from the detection sensor 22 as in the above-described embodiment. is there. Furthermore, the encoder may be a non-optical encoder, and for example, a magnetic encoder may be used. In this case, the non-transmissive region 21b described above may be a magnetic region, and the transmissive region 21a may be a non-magnetic region.

また、異常位置検出処理におけるキャリッジ4の目標速度は、設定可能な最大速度である必要はなく、設定可能な他の速度であってもよい。またスケール21を、走査方向に複数の分割領域に分割し、異常位置検出処理においては、当該分割領域を単位として異常位置情報を生成してもよい。例えば、分割領域それぞれが、複数の非透過領域21bを有するように分割する。そして、この分割領域内で取得したキャリッジ速度Vcrの何れかが所定の閾値よりも低い場合には、当該分割領域全体を異常位置としてもよい。なお、スケール21上の汚れが、隣接する2つの分割領域に跨っている場合には、これら2つの分割領域を共に、分割領域全体が異常位置としてもよい。以上のように、分割領域を単位として異常位置情報を生成することで、不揮発性メモリ104に異常位置情報を記憶する際の記憶容量を少なくすることができる。また、異常位置検出処理においては、待機位置からフラッシング位置までの範囲に亘って、キャリッジ4を移動させていたが、異常位置検出処理中の移動範囲は、特にこれに限定されるものではない。従って、異常位置検出処理においては、不揮発性メモリ104に記憶されている異常位置情報のうち、キャリッジ4を移動させた移動範囲に対応する異常位置情報のみ更新してもよい。   Further, the target speed of the carriage 4 in the abnormal position detection process does not need to be a maximum speed that can be set, and may be another speed that can be set. Further, the scale 21 may be divided into a plurality of divided regions in the scanning direction, and abnormal position information may be generated in units of the divided regions in the abnormal position detection process. For example, each divided area is divided so as to have a plurality of non-transmissive areas 21b. If any of the carriage speeds Vcr acquired in the divided area is lower than a predetermined threshold, the entire divided area may be set as an abnormal position. In addition, when the stain | pollution | contamination on the scale 21 straddles two adjacent division areas, the whole division area is good also as these 2 division areas as an abnormal position. As described above, by generating abnormal position information in units of divided areas, the storage capacity when storing abnormal position information in the nonvolatile memory 104 can be reduced. In the abnormal position detection process, the carriage 4 is moved over the range from the standby position to the flushing position. However, the movement range during the abnormal position detection process is not particularly limited to this. Therefore, in the abnormal position detection process, only the abnormal position information corresponding to the movement range in which the carriage 4 is moved among the abnormal position information stored in the nonvolatile memory 104 may be updated.

また、異常位置情報は、異常位置のみ有する情報であってもよい。この場合、第2閾値は、異常位置毎に設定するのではなく、目標速度に応じた一律の値を設定すればよい。また、異常位置情報に含まれる速度情報は、速度低下率である必要はなく、例えば、異常位置に対応するキャリッジ速度Vcrであってもよい。   Further, the abnormal position information may be information having only the abnormal position. In this case, the second threshold value is not set for each abnormal position but may be set to a uniform value according to the target speed. Further, the speed information included in the abnormal position information does not need to be a speed decrease rate, and may be a carriage speed Vcr corresponding to the abnormal position, for example.

また、上述の実施形態では、検出センサ22の検出結果に基づいてキャリッジ速度Vcrを取得していたが、キャリッジ速度Vcr自体ではなく、キャリッジ速度Vcrに関する速度パラメータ値であってもよい。例えば、キャリッジ速度Vcrを算出するのではなく、V1保持期間中に取得したクロック数CKを速度パラメータ値として取得してもよい。この場合、速度パラメータ値は、キャリッジ4の速度が遅いほど大きくなる。従って、上記第1閾値〜第3閾値において、第1閾値が最も値が小さく、第3閾値が最も値が大きくなる。   In the above-described embodiment, the carriage speed Vcr is acquired based on the detection result of the detection sensor 22, but may be a speed parameter value related to the carriage speed Vcr instead of the carriage speed Vcr itself. For example, instead of calculating the carriage speed Vcr, the clock number CK acquired during the V1 holding period may be acquired as the speed parameter value. In this case, the speed parameter value increases as the speed of the carriage 4 decreases. Therefore, in the first to third threshold values, the first threshold value has the smallest value and the third threshold value has the largest value.

また、上述の実施形態では、用紙擦れが生じたと判断した場合には、吐出データを変更することで、再印刷の際の、用紙P一枚当たりに吐出されるインクの吐出量を少なくしていたが、特にこれに限定されるものではない。例えば、ヘッド5のアクチュエータが備える駆動素子に対する駆動電圧を調整することで、インクの吐出量を少なくしてもよい。   In the above-described embodiment, when it is determined that paper rubbing has occurred, the ejection amount of ink ejected per sheet P during reprinting is reduced by changing the ejection data. However, it is not particularly limited to this. For example, the ink discharge amount may be reduced by adjusting the drive voltage for the drive element included in the actuator of the head 5.

また、上述の実施形態では、用紙センサ38の検知結果等に基づいて、用紙Pが対向領域Aに位置しているか否かを判断していたが、これに限定されるものではない。例えば、用紙Pが対向領域Aに位置するか否かを直接検知可能なセンサを設け、このセンサの検知結果に基づいて、用紙Pが対向領域Aに位置しているか否かを判断してもよい。   In the above-described embodiment, it is determined whether or not the paper P is positioned in the facing area A based on the detection result of the paper sensor 38, but the present invention is not limited to this. For example, a sensor that can directly detect whether or not the paper P is located in the facing area A is provided, and whether or not the paper P is located in the facing area A is determined based on the detection result of the sensor. Good.

また、上述の実施形態では、第1閾値は、目標速度の90%の値に設定されていたが、これに限定されるものではない。例えば、CPU101は、異常位置検出処理を実行したときに、異常位置以外と判断した複数の位置のキャリッジ速度の中で、最も速度が遅いキャリッジ速度Vcrを検出する。そして、CPU101は、第1閾値を、最も速度が遅いキャリッジ速度Vcrの90%の値に設定してもよい。   In the above-described embodiment, the first threshold value is set to a value of 90% of the target speed, but is not limited to this. For example, when executing the abnormal position detection process, the CPU 101 detects the carriage speed Vcr having the slowest speed among the carriage speeds at a plurality of positions determined to be other than the abnormal position. Then, the CPU 101 may set the first threshold value to a value that is 90% of the slowest carriage speed Vcr.

キャリッジ速度Vcrは、キャリッジ4がガイドレール11、12上の小さな異物等と接触することにより、異常位置以外の位置で僅かに変動する。CPU101が、このようなキャリッジ速度Vcrの変動に基づいて、用紙擦れが発生したと誤って判断しないように、最も速度が遅いキャリッジ速度Vcrを基準にして第1閾値を設定している。これにより、CPU101が、用紙擦れと誤って判断するのを防ぐことができる。尚、上記最も速度が遅いキャリッジ速度Vcrは、目標速度よりも遅い。   The carriage speed Vcr slightly fluctuates at a position other than the abnormal position when the carriage 4 comes into contact with a small foreign object or the like on the guide rails 11 and 12. The CPU 101 sets the first threshold on the basis of the slowest carriage speed Vcr so that the CPU 101 does not mistakenly determine that sheet rubbing has occurred based on such variation in the carriage speed Vcr. As a result, it is possible to prevent the CPU 101 from erroneously determining paper rubbing. Note that the slowest carriage speed Vcr is slower than the target speed.

1 プリンタ(記録装置)
4 キャリッジ
5 インクジェットヘッド
7 エンコーダ
21 スケール
21b 非透過領域(指標)
22 検出センサ(検出部)
101 CPU(制御部)
104 不揮発性メモリ(記憶部)
1 Printer (recording device)
4 Carriage 5 Inkjet head 7 Encoder 21 Scale 21b Non-transmissive region (index)
22 Detection sensor (detection unit)
101 CPU (control unit)
104 Non-volatile memory (storage unit)

Claims (16)

液体を吐出するためのノズルを有するヘッドと、
前記ヘッドが搭載されたキャリッジと、
前記キャリッジを所定の走査方向に往復移動させるキャリッジ駆動部と、
前記走査方向に沿って設けられ、所定間隔毎に指標が形成されたスケール、及び、前記キャリッジに搭載され、前記スケールに形成された前記指標を検出するための検出部を有するエンコーダと、
記憶部と、
制御部と、
を備え、
前記制御部は、
被記録媒体が前記キャリッジと対向可能な領域に位置するか否かを判断する媒体位置判断処理と、
前記媒体位置判断処理により被記録媒体が前記キャリッジと対向可能な領域に位置していないと判断した場合に、前記キャリッジが前記走査方向に移動するよう前記キャリッジ駆動部を制御し、このキャリッジの移動中における前記検出部による前記指標の検出結果に基づいて前記スケール上の異常位置を含む異常位置情報を生成し、この異常位置情報を前記記憶部に記憶する異常位置検出処理と、
前記媒体位置判断処理により被記録媒体が前記キャリッジと対向可能な領域に位置していると判断した場合に、前記キャリッジが前記走査方向に目標速度で移動するように、前記検出部の前記指標の検出結果により取得した前記キャリッジの速度に関する速度パラメータ値に基づいて前記キャリッジ駆動部を制御し、且つ、画像データに基づいて前記ノズルから被記録媒体に液体を吐出させるよう前記ヘッドを制御して、被記録媒体に画像を印刷する印刷処理と、
前記印刷処理における前記キャリッジ駆動部の制御中において、前記検出部の前記スケール上の検出位置が、前記記憶部に記憶された前記異常位置情報の前記異常位置以外の位置であるときに、そのときに取得した前記速度パラメータ値が、前記印刷処理における前記目標速度よりも遅い速度に対応する第1閾値と比べて、対応する速度が遅い値の場合には、前記ヘッドと被記録媒体との間で擦れが生じたと判断し、
前記印刷処理における前記キャリッジ駆動部の制御中において、前記検出部の前記スケール上の前記検出位置が、前記記憶部に記憶された前記異常位置情報の前記異常位置であるときに、そのときに取得した前記速度パラメータ値が、前記第1閾値よりも遅い速度に対応する第2閾値と比べて、対応する速度が遅い値の場合には、前記ヘッドと被記録媒体との間で擦れが生じたと判断する擦れ判断処理と、
を実行可能であることを特徴とする記録装置。
A head having a nozzle for discharging liquid;
A carriage on which the head is mounted;
A carriage driving unit for reciprocating the carriage in a predetermined scanning direction;
A scale provided along the scanning direction and having an index formed at predetermined intervals; and an encoder mounted on the carriage and having a detection unit for detecting the index formed on the scale;
A storage unit;
A control unit;
With
The controller is
Medium position determination processing for determining whether or not the recording medium is positioned in an area that can face the carriage;
When the medium position determination process determines that the recording medium is not located in an area that can face the carriage, the carriage drive unit is controlled so that the carriage moves in the scanning direction, and the carriage moves. An abnormal position detection process including generating abnormal position information including an abnormal position on the scale based on a detection result of the index by the detection unit, and storing the abnormal position information in the storage unit;
When the medium position determination process determines that the recording medium is located in an area that can face the carriage, the index of the detection unit is set so that the carriage moves at a target speed in the scanning direction. Controlling the carriage driving unit based on a speed parameter value related to the speed of the carriage acquired from the detection result, and controlling the head to discharge liquid from the nozzle to a recording medium based on image data; A printing process for printing an image on a recording medium;
During the control of the carriage drive unit in the printing process, when the detection position on the scale of the detection unit is a position other than the abnormal position of the abnormal position information stored in the storage unit, When the speed parameter value acquired in step S3 is slower than the first threshold value corresponding to a speed slower than the target speed in the printing process, the speed parameter value is set between the head and the recording medium. It was determined that rubbing occurred,
Acquired when the detection position on the scale of the detection unit is the abnormal position of the abnormal position information stored in the storage unit during the control of the carriage driving unit in the printing process. When the speed parameter value is a value corresponding to a slower speed than the second threshold value corresponding to a speed slower than the first threshold value, rubbing has occurred between the head and the recording medium. Rubbing judgment processing to judge,
The recording apparatus characterized by being able to execute.
前記制御部は、
前記印刷処理中において、前記擦れ判断処理により前記ヘッドと被記録媒体との間で擦れが生じたと判断した場合には、前記キャリッジの移動を停止するよう前記キャリッジ駆動部を制御することを特徴とする請求項1に記載の記録装置。
The controller is
During the printing process, the carriage driving unit is controlled to stop the movement of the carriage when the rubbing judgment process determines that rubbing has occurred between the head and the recording medium. The recording apparatus according to claim 1.
前記制御部は、
前記印刷処理中において、前記擦れ判断処理により前記ヘッドと被記録媒体との間で擦れが生じたと判断した場合には、当該擦れが生じたと判断した際の前記キャリッジの進行方向とは逆方向に前記キャリッジが移動するよう前記キャリッジ駆動部を制御することを特徴とする請求項1に記載の記録装置。
The controller is
During the printing process, when it is determined that rubbing has occurred between the head and the recording medium by the rubbing determination process, the carriage travels in a direction opposite to the traveling direction when it is determined that the rubbing has occurred. The recording apparatus according to claim 1, wherein the carriage driving unit is controlled so that the carriage moves.
前記制御部は、
前記印刷処理中において、前記擦れ判断処理により前記ヘッドと被記録媒体との間で擦れが生じたと判断した場合には、当該擦れが生じたと判断した際の前記キャリッジの前記走査方向のパスに係る印刷は継続して行い、次のパスに係る印刷については、前記擦れ判断処理により前記ヘッドと被記録媒体との間で擦れが生じたと判断していない場合と比べて、その印刷の開始タイミングを遅らせることを特徴とする請求項1に記載の記録装置。
The controller is
During the printing process, if it is determined that rubbing has occurred between the head and the recording medium by the rubbing determination process, the path of the carriage in the scanning direction when it is determined that rubbing has occurred. Printing is performed continuously, and the printing start timing of the next pass is compared with the case where it is not determined that rubbing has occurred between the head and the recording medium by the rubbing determination processing. The recording apparatus according to claim 1, wherein the recording apparatus is delayed.
前記制御部は、
前記異常位置検出処理においては、前記検出部による前記指標の検出結果に基づいて前記異常位置に対応する前記速度パラメータ値も取得して、前記異常位置に加えて、前記異常位置に対応する前記速度パラメータ値に関する速度情報を含む前記異常位置情報を生成して、前記記憶部に記憶し、
さらに、
前記記憶部に記憶された前記異常位置情報それぞれの前記異常位置に対応する前記速度情報に基づいて、前記第2閾値を前記異常位置毎に設定する第1設定処理を実行することを特徴とする請求項1〜4のいずれか一項に記載の記録装置。
The controller is
In the abnormal position detection process, the speed parameter value corresponding to the abnormal position is also acquired based on the detection result of the index by the detection unit, and the speed corresponding to the abnormal position is added to the abnormal position. Generating the abnormal position information including speed information on the parameter value, and storing it in the storage unit;
further,
A first setting process for setting the second threshold value for each abnormal position is performed based on the speed information corresponding to the abnormal position of each of the abnormal position information stored in the storage unit. The recording apparatus as described in any one of Claims 1-4.
前記制御部は、
前記異常位置検出処理においては、前記キャリッジが前記走査方向において一定速度で移動するよう前記キャリッジ駆動部を制御し、このキャリッジの移動中における前記検出部による前記指標の検出結果に基づいて、前記異常位置情報を生成することを特徴とする請求項1〜5のいずれか一項に記載の記録装置。
The controller is
In the abnormal position detection process, the carriage driving unit is controlled so that the carriage moves at a constant speed in the scanning direction, and the abnormality is detected based on the detection result of the index by the detection unit during the movement of the carriage. The recording apparatus according to claim 1, wherein position information is generated.
前記制御部は、
前記キャリッジ駆動部を制御して前記キャリッジを前記走査方向において一定速度で移動させる際の目標速度として、複数段の速度を設定可能であり、
前記制御部は、
前記異常位置検出処理においては、前記複数段の速度のうち最も速い速度を目標速度として設定して、前記キャリッジを前記走査方向において一定速度で移動するよう前記キャリッジ駆動部を制御することを特徴とする請求項1〜6のいずれか一項に記載の記録装置。
The controller is
A plurality of speeds can be set as a target speed when the carriage driving unit is controlled to move the carriage at a constant speed in the scanning direction.
The controller is
In the abnormal position detection process, the highest speed among the plurality of speeds is set as a target speed, and the carriage driving unit is controlled to move the carriage at a constant speed in the scanning direction. The recording apparatus according to any one of claims 1 to 6.
前記制御部は、
前記キャリッジ駆動部を制御して前記キャリッジを前記走査方向において一定速度で移動させる際の目標速度として、複数段の速度を設定可能であり、
前記制御部は、
前記印刷処理においては、前記複数段の速度のうちの何れか1つの速度を目標速度として設定して、前記キャリッジが前記走査方向において一定速度で移動するよう前記キャリッジ駆動部を制御するものであり、
さらに、
前記印刷処理において設定される前記キャリッジの目標速度に応じて、前記第1閾値及び前記第2閾値を設定する第2設定処理を実行することを特徴とする請求項1〜6のいずれか一項に記載の記録装置。
The controller is
A plurality of speeds can be set as a target speed when the carriage driving unit is controlled to move the carriage at a constant speed in the scanning direction.
The controller is
In the printing process, any one of the plurality of speeds is set as a target speed, and the carriage driving unit is controlled so that the carriage moves at a constant speed in the scanning direction. ,
further,
The second setting process for setting the first threshold value and the second threshold value is executed according to a target speed of the carriage set in the printing process. The recording device described in 1.
前記制御部は、
前記擦れ判断処理において、前記印刷処理における前記キャリッジ駆動部の制御中において、前記検出部の前記スケール上の検出位置が、前記記憶部に記憶された前記異常位置情報の前記異常位置以外の位置であるときでも、前記異常位置の前後の所定範囲内にあるときには、そのときに取得した前記速度パラメータ値が、前記第2閾値と比べて、対応する速度が遅い値の場合に、前記ヘッドと被記録媒体との間で擦れが生じたと判断することを特徴とする請求項1〜8のいずれか一項に記載の記録装置。
The controller is
In the rubbing determination process, during the control of the carriage drive unit in the printing process, the detection position on the scale of the detection unit is a position other than the abnormal position of the abnormal position information stored in the storage unit. Even when there is a certain value within a predetermined range before and after the abnormal position, when the speed parameter value acquired at that time is a value corresponding to a slower speed than the second threshold, The recording apparatus according to claim 1, wherein rubbing is determined between the recording medium and the recording medium.
前記制御部は、
前記キャリッジ駆動部を制御して前記キャリッジを前記走査方向において一定速度で移動させる際の目標速度として、第1速度と、前記第1速度よりも遅い第2速度とを設定可能であり、
前記制御部は、
前記印刷処理においては、前記第1速度及び前記第2速度のうちの何れか1つの速度を目標速度として設定して、前記キャリッジが前記走査方向において一定速度で移動するよう前記キャリッジ駆動部を制御するものであり、
さらに、
前記擦れ判断処理において、
前記印刷処理において設定される前記キャリッジの目標速度が前記第1速度である場合のみ、
前記印刷処理における前記キャリッジ駆動部の制御中において、前記検出部の前記スケール上の検出位置が、前記記憶部に記憶された前記異常位置情報の前記異常位置以外の位置であるときでも、前記異常位置の前後の所定範囲内にあるときには、そのときに取得した前記速度パラメータ値が、前記第2閾値と比べて、対応する速度が遅い値の場合に、前記ヘッドと被記録媒体との間で擦れが生じたと判断することを特徴とする請求項1〜8のいずれか一項に記載の記録装置。
The controller is
A first speed and a second speed slower than the first speed can be set as a target speed when the carriage driving unit is controlled to move the carriage at a constant speed in the scanning direction.
The controller is
In the printing process, one of the first speed and the second speed is set as a target speed, and the carriage driving unit is controlled so that the carriage moves at a constant speed in the scanning direction. Is what
further,
In the rubbing judgment process,
Only when the target speed of the carriage set in the printing process is the first speed,
During the control of the carriage drive unit in the printing process, even when the detection position on the scale of the detection unit is a position other than the abnormal position of the abnormal position information stored in the storage unit, When the velocity parameter value acquired at that time is within a predetermined range before and after the position, and the corresponding velocity is slower than the second threshold value, between the head and the recording medium. The recording apparatus according to claim 1, wherein it is determined that rubbing has occurred.
前記キャリッジと対向可能であり、被記録媒体を支持するプラテンと、
前記走査方向において前記プラテンより外側に位置し、前記ヘッドの前記ノズルを覆うことが可能なキャップと、
前記走査方向において前記プラテンに対して前記キャップと反対側に位置する液体受けと、
を備え、
前記制御部は、
前記ノズルから前記液体受けへ液体を排出可能なフラッシング位置に前記キャリッジが位置付けられたときに、前記ヘッドを制御して、前記ノズルから前記液体受けへ液体を排出させるフラッシング処理を実行可能であり、
さらに、
前記制御部は、
前記キャリッジが前記キャップと対向する待機位置に位置付けられている際に、前記印刷処理の実行指令を受信したときに、当該印刷処理よりも前に、
前記キャリッジ駆動部を制御して、前記キャリッジを前記待機位置から前記フラッシング位置まで移動させ、且つ、このキャリッジの移動中における前記検出部による前記指標の検出結果に基づいて前記異常位置情報を生成して、前記記憶部に記憶する前記異常位置検出処理を実行し、且つ、この異常位置検出処理により前記キャリッジが前記フラッシング位置に位置付けられた後に、前記フラッシング処理を実行することを特徴とする請求項1〜10のいずれか一項に記載の記録装置。
A platen capable of facing the carriage and supporting a recording medium;
A cap located outside the platen in the scanning direction and capable of covering the nozzle of the head;
A liquid receiver positioned opposite to the cap with respect to the platen in the scanning direction;
With
The controller is
When the carriage is positioned at a flushing position where the liquid can be discharged from the nozzle to the liquid receiver, the head can be controlled to perform a flushing process for discharging the liquid from the nozzle to the liquid receiver.
further,
The controller is
When the carriage is positioned at a standby position facing the cap, when the print process execution command is received, before the print process,
The carriage drive unit is controlled to move the carriage from the standby position to the flushing position, and the abnormal position information is generated based on the detection result of the index by the detection unit during the movement of the carriage. The abnormal position detection process stored in the storage unit is executed, and the flushing process is executed after the carriage is positioned at the flushing position by the abnormal position detection process. The recording apparatus according to any one of 1 to 10.
前記制御部は、
前記印刷処理において、前記ヘッドを制御して、被記録媒体の前記走査方向の長さよりも広い範囲に亘って、前記ノズルから液体を吐出させた場合に、前記印刷処理を次に実行する前に、前記異常位置検出処理を実行することを特徴とする請求項1〜11のいずれか一項に記載の記録装置。
The controller is
In the printing process, when the head is controlled to discharge the liquid from the nozzle over a range wider than the length of the recording medium in the scanning direction, before the printing process is executed next. The recording apparatus according to claim 1, wherein the abnormal position detection process is executed.
ジャムを検出するジャム検出部をさらに備え、
前記制御部は、
前記ジャム検出部に基づいてジャムが発生したと判断したときに、前記印刷処理を次に実行する前に、前記異常位置検出処理を実行することを特徴とする請求項1〜12のいずれか一項に記載の記録装置。
It further includes a jam detection unit for detecting a jam,
The controller is
13. The abnormal position detection process is executed before the next printing process when it is determined that a jam has occurred based on the jam detection unit. The recording device according to item.
前記制御部は、
前記印刷処理中において、前記擦れ判断処理により前記ヘッドと被記録媒体との間で擦れが生じたと判断した場合には、当該印刷処理を中止し、その後に、この中止した前記印刷処理と同じ画像データに基づく新たな前記印刷処理を、1つの被記録媒体当たりに対して前記ノズルから吐出される液体の吐出量を減らして行うことを特徴とする請求項1〜13のいずれか一項に記載の記録装置。
The controller is
During the printing process, if the rubbing judgment process determines that rubbing has occurred between the head and the recording medium, the printing process is stopped, and then the same image as the canceled printing process. The new printing process based on data is performed by reducing the ejection amount of the liquid ejected from the nozzles per recording medium. Recording device.
前記制御部は、
前記異常位置検出処理において、前記スケールを複数の前記指標をそれぞれ有する複数の分割領域に分割し、当該分割領域を単位として前記異常位置情報を生成することを特徴とする請求項1〜14のいずれか一項に記載の記録装置。
The controller is
15. The abnormal position detection process, wherein the scale is divided into a plurality of divided areas each having a plurality of the indices, and the abnormal position information is generated in units of the divided areas. A recording apparatus according to claim 1.
前記制御部は、
前記印刷処理における前記キャリッジ駆動部の制御中において、前記検出部の前記指標の検出結果により取得した前記速度パラメータ値が、前記第2閾値よりも遅い速度に対応する第3閾値と比べて、対応する速度が遅い値になったときに、ジャムが発生したと判断することを特徴とする請求項1〜15のいずれか一項に記載の記録装置。
The controller is
During the control of the carriage drive unit in the printing process, the speed parameter value acquired from the detection result of the index of the detection unit is compared with a third threshold value corresponding to a speed slower than the second threshold value. The recording apparatus according to any one of claims 1 to 15, wherein it is determined that a jam has occurred when a speed at which the recording is performed is a slow value.
JP2017212537A 2017-03-27 2017-11-02 Recording device Active JP6962137B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
US15/926,267 US10427437B2 (en) 2017-03-27 2018-03-20 Ink-jet printer

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2017061134 2017-03-27
JP2017061134 2017-03-27

Publications (2)

Publication Number Publication Date
JP2018161882A true JP2018161882A (en) 2018-10-18
JP6962137B2 JP6962137B2 (en) 2021-11-05

Family

ID=63860672

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2017212537A Active JP6962137B2 (en) 2017-03-27 2017-11-02 Recording device

Country Status (1)

Country Link
JP (1) JP6962137B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11318771B2 (en) 2019-09-13 2022-05-03 Brother Kogyo Kabushiki Kaisha Motor driving system
JP7379978B2 (en) 2019-09-17 2023-11-15 ブラザー工業株式会社 recording device

Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004160810A (en) * 2002-11-12 2004-06-10 Canon Inc Recording device
US20050084311A1 (en) * 2002-10-10 2005-04-21 Swenson Samuel K. Encoder strip damage detector
JP2005313331A (en) * 2004-04-27 2005-11-10 Ricoh Co Ltd Recorder with means for taking counter measure against abnormality of positional information
JP2006213042A (en) * 2005-01-04 2006-08-17 Ricoh Co Ltd Image formation device
JP2008062531A (en) * 2006-09-08 2008-03-21 Seiko Epson Corp Housing structure, recorder and electronic device
JP2009018506A (en) * 2007-07-12 2009-01-29 Brother Ind Ltd Image recording device
JP2009166297A (en) * 2008-01-11 2009-07-30 Riso Kagaku Corp Printing apparatus
JP2010064442A (en) * 2008-09-12 2010-03-25 Brother Ind Ltd Electronic equipment
WO2010084606A1 (en) * 2009-01-23 2010-07-29 株式会社ミマキエンジニアリング Printer apparatus
JP2010184443A (en) * 2009-02-12 2010-08-26 Seiko Epson Corp Image forming device
JP2010213424A (en) * 2009-03-09 2010-09-24 Brother Ind Ltd Motor control device and image forming apparatus
JP2010284924A (en) * 2009-06-12 2010-12-24 Ricoh Co Ltd Image forming apparatus and image forming program
JP2014128951A (en) * 2012-12-28 2014-07-10 Ricoh Co Ltd Liquid droplet discharge device and image formation apparatus
JP2016137674A (en) * 2015-01-29 2016-08-04 セイコーエプソン株式会社 Printer and printing method

Patent Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050084311A1 (en) * 2002-10-10 2005-04-21 Swenson Samuel K. Encoder strip damage detector
JP2004160810A (en) * 2002-11-12 2004-06-10 Canon Inc Recording device
JP2005313331A (en) * 2004-04-27 2005-11-10 Ricoh Co Ltd Recorder with means for taking counter measure against abnormality of positional information
JP2006213042A (en) * 2005-01-04 2006-08-17 Ricoh Co Ltd Image formation device
JP2008062531A (en) * 2006-09-08 2008-03-21 Seiko Epson Corp Housing structure, recorder and electronic device
JP2009018506A (en) * 2007-07-12 2009-01-29 Brother Ind Ltd Image recording device
JP2009166297A (en) * 2008-01-11 2009-07-30 Riso Kagaku Corp Printing apparatus
JP2010064442A (en) * 2008-09-12 2010-03-25 Brother Ind Ltd Electronic equipment
WO2010084606A1 (en) * 2009-01-23 2010-07-29 株式会社ミマキエンジニアリング Printer apparatus
JP2010184443A (en) * 2009-02-12 2010-08-26 Seiko Epson Corp Image forming device
JP2010213424A (en) * 2009-03-09 2010-09-24 Brother Ind Ltd Motor control device and image forming apparatus
JP2010284924A (en) * 2009-06-12 2010-12-24 Ricoh Co Ltd Image forming apparatus and image forming program
JP2014128951A (en) * 2012-12-28 2014-07-10 Ricoh Co Ltd Liquid droplet discharge device and image formation apparatus
JP2016137674A (en) * 2015-01-29 2016-08-04 セイコーエプソン株式会社 Printer and printing method

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11318771B2 (en) 2019-09-13 2022-05-03 Brother Kogyo Kabushiki Kaisha Motor driving system
JP7379978B2 (en) 2019-09-17 2023-11-15 ブラザー工業株式会社 recording device

Also Published As

Publication number Publication date
JP6962137B2 (en) 2021-11-05

Similar Documents

Publication Publication Date Title
US10427437B2 (en) Ink-jet printer
JP5072886B2 (en) Recording device
JP6365669B2 (en) Inkjet recording device
JP2008068596A (en) Double-sided recorder and recording method
JP4915167B2 (en) Inkjet recording apparatus and control method thereof
JP6962137B2 (en) Recording device
JP6241170B2 (en) Image forming apparatus, image forming method, and program
US20160368288A1 (en) Inkjet printer, sheet discriminating device and inkjet printing method
JP5494463B2 (en) Inkjet recording device
JP6705260B2 (en) Inkjet recording device
JP5987411B2 (en) Inkjet recording device
US10773515B2 (en) Image recording apparatus
JP6646249B2 (en) Liquid ejection device and transport amount adjustment method
JP6003156B2 (en) Image forming apparatus
JP6753463B2 (en) Recording control method of an inkjet recording device and an inkjet recording device
US8474940B2 (en) Image recording apparatus and image recording method
JP7119647B2 (en) image recorder
JP7334400B2 (en) recording device
JP5578248B2 (en) Recording device
JP6528946B2 (en) Liquid discharge device
JP7115024B2 (en) Liquid ejector
JP2021194897A (en) Recording device and control method in recording device
JP6026390B2 (en) Inkjet printer
JP5418489B2 (en) Inkjet recording device
JP6357810B2 (en) Image forming apparatus

Legal Events

Date Code Title Description
RD02 Notification of acceptance of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7422

Effective date: 20171212

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A821

Effective date: 20171212

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20201030

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20210823

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20210914

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20210927

R150 Certificate of patent or registration of utility model

Ref document number: 6962137

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150