JP2018001445A - Printing device and abnormality determining method - Google Patents

Printing device and abnormality determining method Download PDF

Info

Publication number
JP2018001445A
JP2018001445A JP2016127304A JP2016127304A JP2018001445A JP 2018001445 A JP2018001445 A JP 2018001445A JP 2016127304 A JP2016127304 A JP 2016127304A JP 2016127304 A JP2016127304 A JP 2016127304A JP 2018001445 A JP2018001445 A JP 2018001445A
Authority
JP
Japan
Prior art keywords
carriage
movement
control unit
threshold value
motor
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2016127304A
Other languages
Japanese (ja)
Inventor
啓友 田中
Hirotomo Tanaka
啓友 田中
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Seiko Epson Corp
Original Assignee
Seiko Epson Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Seiko Epson Corp filed Critical Seiko Epson Corp
Priority to JP2016127304A priority Critical patent/JP2018001445A/en
Publication of JP2018001445A publication Critical patent/JP2018001445A/en
Pending legal-status Critical Current

Links

Images

Abstract

PROBLEM TO BE SOLVED: To appropriately perform determination of whether rubbing between a medium and a head occurs.SOLUTION: The printing device, which is configured to perform printing by discharging liquid from a head to a medium while moving a carriage mounted with the head capable of discharging liquid in a main scanning direction, comprises: a motor which moves the carriage in the main scanning direction; and a control portion which outputs driving signals for driving the motor to the motor, on the basis of feedback control. The control portion determines a first threshold value on the basis of an average value of the driving signals outputted during a first movement of the carriage accompanied by discharge of liquid by the head; and determines that abnormality occurs when the average value of the driving signals outputted during a second movement of the carriage accompanied by the discharge of the liquid by the head following the first movement exceeds the first threshold value.SELECTED DRAWING: Figure 5

Description

本発明は、印刷装置および異常判定方法に関する。   The present invention relates to a printing apparatus and an abnormality determination method.

インクを吐出可能なヘッドを搭載したキャリッジをプラテン上に載置される用紙の搬送方向と直交する主走査方向に移動させながら印刷を行なう、いわゆるシリアル方式のインクジェットプリンターが知られている。このようなプリンターにおいては、用紙とヘッドとのこすれ(用紙こすれ)が生じないようプラテンとヘッドとの距離(プラテンギャップ)が設定されているが、用紙の反りや吐出されたインクを吸収して用紙が波打ついわゆるコックリングなどの用紙の変形によって用紙こすれが生じることがある。用紙こすれは、用紙の更なる変形や紙ジャムの原因となり得る。   2. Description of the Related Art A so-called serial type ink jet printer is known that performs printing while moving a carriage on which a head capable of ejecting ink is mounted in a main scanning direction orthogonal to a conveyance direction of a sheet placed on a platen. In such a printer, the distance between the platen and the head (platen gap) is set so that the paper and the head are not rubbed (paper rub), but the paper warps and the discharged ink is absorbed. The paper may be rubbed due to deformation of the paper such as so-called cock ring. Paper rubbing can cause further paper deformation and paper jam.

用紙こすれに起因するトラブルを未然に防止することを目的として、キャリッジを主走査方向に移動させるモーターに印加される電流値を検出する電流センサーと、キャリッジが加速されている最中に電流センサーにより検出される電流値のピーク値に基づいて閾値を設定する閾値設定手段と、画像形成がなされる際に、電流センサーにより検出される電流値が前記閾値を超えたときに吐出ヘッドと用紙とのこすれが発生したと判定するこすれ判定手段と、を備える画像形成装置が知られている(特許文献1参照)。   For the purpose of preventing troubles caused by paper rubbing, a current sensor for detecting a current value applied to a motor that moves the carriage in the main scanning direction and a current sensor while the carriage is being accelerated are used. Threshold setting means for setting a threshold based on the peak value of the detected current value, and when an image is formed, the discharge head and the paper are rubbed when the current value detected by the current sensor exceeds the threshold. There is known an image forming apparatus that includes a ruin determination unit that determines that occurrence of the image is generated (see Patent Document 1).

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

用紙こすれの有無を判定するための構成に関して、さらなるコスト低減や判定精度向上が求められている。
本発明はこのような課題に鑑みてなされたものであり、媒体とヘッドとのこすれの発生の判定に資する印刷装置および異常判定方法を提供する。
Regarding the configuration for determining the presence or absence of paper rubbing, further cost reduction and improvement in determination accuracy are required.
The present invention has been made in view of such a problem, and provides a printing apparatus and an abnormality determination method that contribute to determining the occurrence of rubbing between a medium and a head.

本発明の態様の1つは、液体を吐出可能なヘッドを搭載したキャリッジを主走査方向に移動させながら前記ヘッドから媒体へ液体を吐出させることにより印刷を実行する印刷装置であって、前記キャリッジを前記主走査方向に移動させるモーターと、フィードバック制御に基づいて前記モーターを駆動するための駆動信号を前記モーターへ出力する制御部と、を備え、前記制御部は、前記ヘッドによる液体の吐出を伴う前記キャリッジの第1の移動に際して出力した前記駆動信号の平均値に基づいて第1のしきい値を決定し、前記第1の移動よりも後の前記ヘッドによる液体の吐出を伴う前記キャリッジの第2の移動に際して出力した前記駆動信号の平均値が前記第1のしきい値を超えた場合に異常と判定する。   One aspect of the present invention is a printing apparatus that performs printing by ejecting liquid from the head to a medium while moving a carriage on which a head capable of ejecting liquid is mounted in a main scanning direction. And a control unit that outputs a drive signal for driving the motor based on feedback control to the motor, and the control unit discharges liquid by the head. A first threshold value is determined based on an average value of the drive signals output during the first movement of the carriage, and the carriage is accompanied by ejection of liquid by the head after the first movement. When the average value of the drive signals output during the second movement exceeds the first threshold value, it is determined as abnormal.

当該構成によれば、前記制御部は、キャリッジの第2の移動に際して前記モーターへ出力した前記駆動信号の平均値が第1のしきい値を超えたか否かにより、異常つまり第2の移動中に媒体とヘッドとのこすれが発生したか否かを適切に判定することができる。また、前記駆動信号は前記モーターを駆動するためにフィードバック制御下で当然に出力されるものである。そのため、第1のしきい値を決定するためにセンサー等は不要であり、前記異常を判定するための構成に要するコストを低減することができる。   According to this configuration, the controller is abnormal, that is, during the second movement, depending on whether or not the average value of the drive signal output to the motor during the second movement of the carriage exceeds the first threshold value. In addition, it is possible to appropriately determine whether or not the rubbing between the medium and the head has occurred. The drive signal is naturally output under feedback control in order to drive the motor. Therefore, a sensor or the like is not necessary for determining the first threshold value, and the cost required for the configuration for determining the abnormality can be reduced.

本発明の態様の1つは、前記第1の移動は、前記媒体の1ページを対象とした印刷における1回目の前記キャリッジの移動であり、前記制御部は、前記媒体のページ毎に前記第1のしきい値を更新するとしてもよい。
当該構成によれば、複数枚の媒体への印刷が実行される中で、モーターの発熱の影響による前記駆動信号の値の増加等現在の状況に応じた、最適な第1のしきい値を用いて、前記判定を行うことができる。
One aspect of the present invention is that the first movement is the carriage movement for the first time in printing for one page of the medium, and the control unit performs the first movement for each page of the medium. The threshold value of 1 may be updated.
According to this configuration, while printing on a plurality of media is executed, the optimal first threshold value corresponding to the current situation such as an increase in the value of the drive signal due to the influence of heat generated by the motor is set. The determination can be made.

本発明の態様の1つは、前記制御部は、前記第1の移動のうちの前記キャリッジの速度が一定となるように前記モーターの駆動を制御する定速区間の移動に際して出力した前記駆動信号の平均値に基づいて、前記第1のしきい値を決定し、前記第2の移動のうちの前記定速区間の移動が終了したタイミングで、当該第2の移動のうちの当該定速区間の移動に際して出力した前記駆動信号の平均値が前記第1のしきい値を超えたか否かを判定するとしてもよい。
当該構成によれば、第2の移動における定速区間の移動で異常(前記こすれ)が発生したか否かを、当該定速区間の移動が終わる度に判定することができる。
One aspect of the present invention is that the control unit outputs the drive signal that is output during the movement of a constant speed section that controls the driving of the motor so that the speed of the carriage in the first movement is constant. The first threshold value is determined based on the average value of the second movement, and the constant speed section of the second movement at the timing when the movement of the constant speed section of the second movement ends. It may be determined whether or not the average value of the drive signal output during the movement exceeds the first threshold value.
According to this configuration, whether or not an abnormality (the rubbing) has occurred in the movement of the constant speed section in the second movement can be determined every time the movement of the constant speed section ends.

本発明の態様の1つは、前記制御部は、前記第1のしきい値よりも高い第2のしきい値を決定し、前記第2の移動のうちの前記定速区間の移動が終了するまでは前記駆動信号が前記第2のしきい値を超えたか否かを判定し、前記駆動信号が前記第2のしきい値を超えた場合に異常と判定するとしてもよい。
当該構成によれば、第2の移動における定速区間の移動中に、一時的に前記駆動信号が第2のしきい値を超えるほどの高い値となった場合にも、異常と判定することができる。
In one aspect of the present invention, the control unit determines a second threshold value that is higher than the first threshold value, and the movement of the constant speed section of the second movement is completed. Until then, it may be determined whether or not the drive signal exceeds the second threshold value, and when the drive signal exceeds the second threshold value, it may be determined as abnormal.
According to this configuration, even when the driving signal temporarily becomes high enough to exceed the second threshold during the movement in the constant speed section in the second movement, it is determined that there is an abnormality. Can do.

本発明の態様の1つは、前記制御部は、予め定められた前記キャリッジの目標速度と前記キャリッジの速度との偏差が予め定められた許容範囲を超えた場合にも異常と判定するとしてもよい。
当該構成によれば、異常(前記こすれ)が発生したか否かをより高い精度で判定することができる。
According to one aspect of the present invention, the control unit may determine that an abnormality occurs even when a deviation between a predetermined target speed of the carriage and a speed of the carriage exceeds a predetermined allowable range. Good.
According to this configuration, it can be determined with higher accuracy whether or not an abnormality (the rubbing) has occurred.

本発明の態様の1つは、前記制御部が前記キャリッジを加速させるために前記モーターの駆動を制御する加速区間に対応する前記許容範囲は、前記制御部が前記キャリッジの速度が一定となるように前記モーターの駆動を制御する前記加速区間に続く定速区間に対応する前記許容範囲よりも広い、としてもよい。
当該構成によれば、キャリッジの移動の区間(加速区間、定速区間)毎に、前記偏差が異常に大きい(前記こすれが発生した)か否かを的確に判定することができる。
One of the aspects of the present invention is that the control unit allows the speed of the carriage to be constant in the allowable range corresponding to the acceleration section in which the control unit controls the driving of the motor to accelerate the carriage. Further, it may be wider than the allowable range corresponding to a constant speed section following the acceleration section for controlling the driving of the motor.
According to this configuration, it is possible to accurately determine whether the deviation is abnormally large (the rubbing has occurred) for each carriage movement section (acceleration section, constant speed section).

前記制御部は、前記異常と判定した場合は印刷を停止し、異常が発生した旨を外部へ通知するとしてもよい。また、前記制御部は、前記異常と判定した場合は印刷を停止し、前記媒体から前記ヘッドまでの高さを広げるとしてもよい。
これら構成によれば、前記こすれに起因するトラブルの拡大を防ぎ、ユーザーに通知したり、その後の印刷では前記こすれが発生しないようにしたりすることができる。
The control unit may stop printing when determining that the abnormality has occurred, and notify the outside that an abnormality has occurred. Further, the control unit may stop printing when it is determined that the abnormality is present, and increase a height from the medium to the head.
According to these configurations, it is possible to prevent the trouble caused by the rubbing from expanding and notify the user or prevent the rubbing from occurring in subsequent printing.

本発明の技術的思想は、印刷装置という物以外によっても実現される。例えば、印刷装置が実行する工程を含んだ方法を発明として捉えることができる。つまり、印刷装置が実行する異常判定方法であって、前記キャリッジを前記主走査方向に移動させるモーターへ前記ヘッドによる液体の吐出を伴う前記キャリッジの第1の移動に際してフィードバック制御に基づいて出力される前記モーターを駆動するための駆動信号の平均値に基づいて、第1のしきい値を決定するしきい値決定工程と、前記第1の移動よりも後の前記ヘッドによる液体の吐出を伴う前記キャリッジの第2の移動に際して前記フィードバック制御に基づいて前記モーターへ出力される前記駆動信号の平均値が前記第1のしきい値を超えた場合に、異常と判定する判定工程と、を備える方法を発明として捉えることができる。
また、このような方法をコンピューターに実行させるプログラムや、当該プログラムを記憶したコンピューター読み取り可能な記憶媒体も夫々に発明として成り立つ。
The technical idea of the present invention is also realized by a device other than a printing device. For example, a method including a process executed by a printing apparatus can be regarded as an invention. In other words, this is an abnormality determination method executed by the printing apparatus, and is output based on feedback control during the first movement of the carriage accompanying the ejection of liquid by the head to the motor that moves the carriage in the main scanning direction. A threshold value determining step for determining a first threshold value based on an average value of drive signals for driving the motor, and the liquid ejection by the head after the first movement. A determination step of determining an abnormality when an average value of the drive signals output to the motor based on the feedback control exceeds the first threshold value during the second movement of the carriage. Can be regarded as an invention.
In addition, a program that causes a computer to execute such a method and a computer-readable storage medium that stores the program are also established as inventions.

印刷装置の主要構成を示すブロック図。FIG. 2 is a block diagram illustrating a main configuration of the printing apparatus. キャリッジを含む一部構成を示す図。The figure which shows the partial structure containing a carriage. 印刷制御処理を示すフローチャート。6 is a flowchart showing print control processing. 第1のメジャメント処理を示すフローチャート。The flowchart which shows a 1st measurement process. 異常有無判定処理を示すフローチャート。The flowchart which shows an abnormality presence determination process. キャリッジの速度やデューティー比の変化の態様を示すグラフ。The graph which shows the aspect of a change of the speed and duty ratio of a carriage. 図5に第2の異常有無判定処理を追加したフローチャート。The flowchart which added the 2nd abnormality presence determination process to FIG.

以下、各図を参照しながら本発明の実施形態を説明する。なお各図は、本実施形態を説明するための例示に過ぎない。   Hereinafter, embodiments of the present invention will be described with reference to the drawings. Each figure is only an example for explaining this embodiment.

1.装置構成の概略的説明:
図1は、本実施形態にかかる印刷装置10の主要な構成をブロック図により例示している。印刷装置10は、液体(インクやインク以外の液体)を吐出可能なヘッド(印刷ヘッド13)を搭載したキャリッジ12を主走査方向に移動させながら印刷ヘッド13から媒体へ液体を吐出させることにより印刷を実行する。印刷装置10は、異常判定方法の実行主体でもある。印刷装置10は、例えば、プリンターや、プリンター、スキャナー、ファクシミリ等の複数の機能を含んだ複合機、等といった製品として把握される。印刷装置を、印字装置、記録装置、液体吐出(噴射)装置、等と呼んでもよい。また、印刷装置10の一部分を指して印刷装置と呼んでもよい。
1. Schematic description of device configuration:
FIG. 1 is a block diagram illustrating the main configuration of a printing apparatus 10 according to the present embodiment. The printing apparatus 10 performs printing by discharging liquid from the print head 13 to a medium while moving a carriage 12 mounted with a head (print head 13) capable of discharging liquid (ink or liquid other than ink) in the main scanning direction. Execute. The printing apparatus 10 is also an execution subject of the abnormality determination method. The printing apparatus 10 is grasped as a product such as a printer, a multifunction machine including a plurality of functions such as a printer, a scanner, and a facsimile. The printing apparatus may be called a printing apparatus, a recording apparatus, a liquid ejection (ejection) apparatus, or the like. A part of the printing apparatus 10 may be referred to as a printing apparatus.

図1では、印刷装置10を、制御部11、キャリッジ12、印刷ヘッド13、搬送部14、キャリッジ(CR)モーター15、表示部16等を含む構成として例示している。制御部11は、例えば、CPU(図2の符号20参照)、ROM、RAM等を有するICや、その他の記憶媒体等により構成される。制御部11では、CPU20が、ROM等に保存されたプログラムやデータに従った演算処理を、RAM等をワークエリアとして用いて実行することにより、印刷装置10の各構成の挙動を制御する。   In FIG. 1, the printing apparatus 10 is illustrated as a configuration including a control unit 11, a carriage 12, a print head 13, a conveyance unit 14, a carriage (CR) motor 15, a display unit 16, and the like. The control unit 11 includes, for example, an IC having a CPU (see reference numeral 20 in FIG. 2), a ROM, a RAM, and other storage media. In the control unit 11, the CPU 20 controls the behavior of each component of the printing apparatus 10 by executing arithmetic processing according to programs and data stored in the ROM or the like using the RAM or the like as a work area.

図2は、キャリッジ12を含む一部構成を概略的に示している。キャリッジ12は、印刷ヘッド13を搭載しており、制御部11による制御下で所定の主走査方向D1に沿って移動可能である。キャリッジ12は、CRモーター15による動力を受けて主走査方向D1に沿って移動する。印刷ヘッド13は、インク等の液体を吐出するための孔(ノズル)を複数有している。印刷ヘッド13を、印字ヘッド、記録ヘッド、液体吐出(噴射)ヘッド、等と呼んでもよい。   FIG. 2 schematically shows a partial configuration including the carriage 12. The carriage 12 is equipped with a print head 13 and is movable along a predetermined main scanning direction D <b> 1 under the control of the control unit 11. The carriage 12 receives power from the CR motor 15 and moves along the main scanning direction D1. The print head 13 has a plurality of holes (nozzles) for discharging a liquid such as ink. The print head 13 may be called a print head, a recording head, a liquid discharge (ejection) head, or the like.

搬送部14は、制御部11による制御下で媒体の搬送を行う。以下では、搬送部14が搬送する媒体は用紙(例えば、図2に示す用紙50)であるとして説明を続けるが、紙以外の素材も液体の吐出を受ける媒体として用いられる。搬送部14は、用紙50を所定の搬送方向に沿って搬送するために回転するローラーや当該ローラーを回転させる動力を生むモーター等を含んでいる。一例として、搬送部14は、紙送り(PF)モーター25と、PFモーター25によって回転して用紙50を搬送方向へ搬送する搬送ローラー26とを含んでいる。また、搬送部14は、不図示の原稿トレイやカセット等から用紙50を連続的に搬送する自動給紙装置(ADF:Auto Document Feeder)を含んでいるとしてもよい。搬送方向は、主走査方向D1に対して交差(直交)している。   The transport unit 14 transports the medium under the control of the control unit 11. Hereinafter, the description will be continued assuming that the medium conveyed by the conveyance unit 14 is a sheet (for example, the sheet 50 illustrated in FIG. 2), but materials other than the sheet are also used as a medium that receives liquid discharge. The transport unit 14 includes a roller that rotates to transport the paper 50 along a predetermined transport direction, a motor that generates power that rotates the roller, and the like. As an example, the transport unit 14 includes a paper feed (PF) motor 25 and a transport roller 26 that is rotated by the PF motor 25 and transports the paper 50 in the transport direction. Further, the transport unit 14 may include an automatic document feeder (ADF) that continuously transports the paper 50 from a document tray or a cassette (not shown). The transport direction intersects (orthogonally) the main scanning direction D1.

印刷ヘッド13は、例えば、インクを保持する不図示のカートリッジ等からインクの供給を受け、供給されたインクを制御部11による制御下で各ノズルから吐出する。印刷ヘッド13は、例えば、印刷対象の画像を表現する印刷データ(ラスターデータ)に基づいて各ノズルからインクを吐出する。各ノズルから吐出されたインクが搬送部14によって搬送された用紙50に着弾することで印刷が実現される。   The print head 13 receives ink supplied from, for example, a cartridge (not shown) that holds ink, and discharges the supplied ink from each nozzle under the control of the control unit 11. For example, the print head 13 ejects ink from each nozzle based on print data (raster data) representing an image to be printed. Printing is realized by the ink ejected from each nozzle landing on the paper 50 transported by the transport unit 14.

図2に例示するように、印刷装置10は、CRモーター15を駆動制御するための回路であるモーター制御部21を有する。モーター制御部21の少なくとも一部の機能を、モータードライバー等と呼ぶことができる。また、印刷装置10は、キャリッジ12に固定されたリニア式エンコーダー22と、主走査方向D1に沿って所定の間隔でスリットが形成された符号板23と、搬送される用紙50を支持するプラテン24と、CRモーター15の回転軸に取付けられたプーリ30と、プーリ30によって駆動されるタイミングベルト31と、を備える。   As illustrated in FIG. 2, the printing apparatus 10 includes a motor control unit 21 that is a circuit for driving and controlling the CR motor 15. At least a part of the functions of the motor control unit 21 can be called a motor driver or the like. Further, the printing apparatus 10 includes a linear encoder 22 fixed to the carriage 12, a code plate 23 having slits formed at predetermined intervals along the main scanning direction D1, and a platen 24 that supports the paper 50 to be conveyed. And a pulley 30 attached to the rotating shaft of the CR motor 15 and a timing belt 31 driven by the pulley 30.

キャリッジ12は、タイミングベルト31によりプーリ30を介してCRモーター15に接続され、不図示のガイド部材に案内されて主走査方向D1に沿って移動する。知られているように、エンコーダー22から出力されるパルス信号に基づいて、キャリッジ12の移動の向きや速度、キャリッジ12の主走査方向D1における位置や移動距離といった各種情報を取得、演算できる。モーター制御部21は、CPU20から送られて来るキャリッジ12の予め定められた目標速度の指令およびエンコーダー22からの出力に基づいて、キャリッジ12が目標速度で移動するようにCRモーター15の駆動をフィードバック制御する。フィードバック制御とは、いわゆるPID制御やPI制御等である。   The carriage 12 is connected to the CR motor 15 via a pulley 30 by a timing belt 31, and is guided by a guide member (not shown) to move along the main scanning direction D1. As is known, various information such as the moving direction and speed of the carriage 12 and the position and moving distance of the carriage 12 in the main scanning direction D1 can be acquired and calculated based on the pulse signal output from the encoder 22. The motor control unit 21 feeds back the drive of the CR motor 15 so that the carriage 12 moves at the target speed based on a predetermined target speed command of the carriage 12 sent from the CPU 20 and an output from the encoder 22. Control. The feedback control is so-called PID control or PI control.

モーター制御部21は、フィードバック制御に基づいてCRモーター15を駆動するための駆動信号をCRモーター15へ出力する制御部の一例に該当する。また、モーター制御部21を制御部11の一部分と捉え、制御部11を、前記駆動信号をCRモーター15へ出力する制御部の一例と解してもよい。従って、以下に説明するモーター制御部21が実行する処理は、制御部11による処理であると解釈してもよい。   The motor control unit 21 corresponds to an example of a control unit that outputs a drive signal for driving the CR motor 15 to the CR motor 15 based on feedback control. Further, the motor control unit 21 may be regarded as a part of the control unit 11, and the control unit 11 may be interpreted as an example of a control unit that outputs the drive signal to the CR motor 15. Therefore, the processing executed by the motor control unit 21 described below may be interpreted as processing by the control unit 11.

表示部16は、印刷装置10に関する各種情報を示すための部位であり、例えば、液晶ディスプレイ(LCD)により構成される。表示部16は、例えばタッチパネルとしても機能する。特に説明はしないが、印刷装置10は、プリンターや複合機が有する公知の構成や手段(例えば入力手段)を有し得る。   The display unit 16 is a part for displaying various information related to the printing apparatus 10 and is configured by, for example, a liquid crystal display (LCD). The display unit 16 also functions as a touch panel, for example. Although not specifically described, the printing apparatus 10 may have a known configuration or means (for example, input means) included in a printer or a multifunction peripheral.

2.第1実施形態:
図3は、第1実施形態にかかる印刷制御処理をフローチャートにより示している。当該フローチャートは、1枚の用紙50への印刷を実現するための処理である。従って、複数枚の用紙50への印刷を連続して実行する場合には、印刷枚数の分、当該フローチャートが繰り返し実行される。
2. First embodiment:
FIG. 3 is a flowchart showing print control processing according to the first embodiment. The flowchart is a process for realizing printing on one sheet of paper 50. Accordingly, when printing on a plurality of sheets 50 is continuously performed, the flowchart is repeatedly executed for the number of printed sheets.

ステップS100では、制御部11は、搬送部14に最初の紙送りを実行させる。最初の紙送りとは、用紙50を最初のパスによる印刷を受けるための所定位置まで搬送する処理である。最初の紙送りを、頭出しとも呼ぶ。搬送部14は、PFモーター25を駆動させて搬送ローラー26を回転させることにより、最初の紙送りを実行する。パスとは、印刷ヘッド13による液体吐出を伴うキャリッジ12の移動である。搬送部14による用紙50の最初の紙送りは、搬送部14が用紙50を所定の搬送元(不図示の原稿トレイやカセット等)から搬送方向に沿って最初のパスによる印刷を受けるための所定位置まで送る工程の一部であるとも言える。   In step S <b> 100, the control unit 11 causes the transport unit 14 to execute the first paper feed. The first paper feed is a process of transporting the paper 50 to a predetermined position for receiving printing in the first pass. The first paper feed is also called cueing. The transport unit 14 drives the PF motor 25 and rotates the transport roller 26 to execute the first paper feed. A pass is a movement of the carriage 12 accompanied by liquid ejection by the print head 13. The first paper feed of the paper 50 by the transport unit 14 is a predetermined time for the transport unit 14 to receive printing by the first pass along the transport direction from the predetermined transport source (document tray, cassette, etc., not shown). It can be said that it is a part of the process of sending to a position.

ステップS110では、制御部11は、最初のパス(1回目のパス)を実行させる。つまり制御部11は、モーター制御部21にCRモーター15の駆動(キャリッジ12の移動)を実行させるとともに、印刷データに基づいて印刷ヘッド13に液体吐出を実行させる。これにより、最初の紙送りの後にプラテン24上で静止している用紙50に対して最初のパスによる印刷がなされる。用紙50に対する最初のパスは、キャリッジ12の第1の移動に該当する。また、ステップS110では、第1のメジャメント処理が並行して実施される。第1のメジャメント処理については、後に図4を用いて説明する。   In step S110, the control unit 11 causes the first pass (first pass) to be executed. That is, the control unit 11 causes the motor control unit 21 to drive the CR motor 15 (movement of the carriage 12) and causes the print head 13 to perform liquid ejection based on the print data. As a result, printing in the first pass is performed on the paper 50 that is stationary on the platen 24 after the first paper feed. The first pass for the paper 50 corresponds to the first movement of the carriage 12. In step S110, the first measurement process is performed in parallel. The first measurement process will be described later with reference to FIG.

ステップS120では、制御部11は、搬送部14に次の紙送り(2回目以降の紙送り)を実行させる。搬送部14は、PFモーター25を駆動させて搬送ローラー26を回転させることにより、指示された紙送り分の距離だけ、用紙50を搬送方向に沿って更に送る。   In step S <b> 120, the control unit 11 causes the transport unit 14 to execute the next paper feed (second and subsequent paper feeds). The transport unit 14 drives the PF motor 25 and rotates the transport roller 26 to further feed the paper 50 along the transport direction by the distance of the instructed paper feed.

ステップS130では、制御部11は、次のパス(2回目以降のパス)を実行させる。制御部11は、モーター制御部21にCRモーター15の駆動(キャリッジ12の移動)を実行させるとともに、印刷データに基づいて印刷ヘッド13に液体吐出を実行させる。これにより、2回目以降の紙送りの後にプラテン24上で静止している用紙50に対して印刷がなされる。用紙50に対する2回目以降のパスは、第1の移動よりも後のキャリッジ12の第2の移動に該当する。ステップS130の度に、異常有無判定処理が並行して実施される。異常有無判定処理については、後に図5を用いて説明する。   In step S130, the control unit 11 causes the next pass (second and subsequent passes) to be executed. The control unit 11 causes the motor control unit 21 to drive the CR motor 15 (movement of the carriage 12) and causes the print head 13 to perform liquid ejection based on the print data. Thus, printing is performed on the paper 50 that is stationary on the platen 24 after the second and subsequent paper feeds. The second and subsequent passes for the paper 50 correspond to the second movement of the carriage 12 after the first movement. For each step S130, the abnormality presence / absence determination process is performed in parallel. The abnormality presence / absence determination process will be described later with reference to FIG.

ステップS140では、制御部11は、直近のステップS130で実行したパスが最後のパスであったか否か判定する。つまり、現在印刷中のページ(用紙50)への印刷が終わったか否かを判定する。直近のステップS130で実行したパスが最後のパスであればステップS150へ進み、直近のステップS130で実行したパスが最後のパスでなければステップS120以降の処理を繰り返す。   In step S140, the control unit 11 determines whether or not the path executed in the latest step S130 is the last path. That is, it is determined whether or not printing on the currently printing page (paper 50) is finished. If the path executed in the latest step S130 is the last path, the process proceeds to step S150, and if the path executed in the latest step S130 is not the last path, the processes in and after step S120 are repeated.

ステップS150では、制御部11は、搬送部14に用紙50の排出(排紙)を実行させる。搬送部14は、例えば、PFモーター25により図示しない排紙用ローラーを回転させることで、印刷が終了した用紙50をさらに搬送し、印刷装置10が有する所定の排出口から排出させる。以上により1枚の用紙50への印刷処理が終了する。   In step S150, the control unit 11 causes the transport unit 14 to discharge (discharge) the paper 50. For example, the transport unit 14 rotates a paper discharge roller (not shown) by the PF motor 25 to further transport the paper 50 that has been printed, and discharge the paper 50 from a predetermined discharge port of the printing apparatus 10. Thus, the printing process on one sheet 50 is completed.

図4は、最初のパスに伴って実行される第1のメジャメント処理をフローチャートにより示している。
ステップS200では、モーター制御部21は、キャリッジ12が定速区間の移動をしているか否かを判定し、定速区間の移動をしていると判定した場合に、ステップS210へ進む。定速区間とは、キャリッジ12の速度がある一定速度(定速)を維持するようにCRモーター15の駆動を制御する区間である。知られているように、主走査方向D1に沿ったキャリッジ12の移動(1回のパスに対応するキャリッジ12の移動)は、停止状態から加速し、ある定速に達した後に当該定速で移動し、その後、減速して停止するように制御される。モーター制御部21は、このようなキャリッジ12の速度制御(CRモーター15の駆動制御)を、予め定められた速度カーブ(速度テーブル、速度プロファイル等と呼んでもよい。)に従って行う。なお、速度カーブに従ってキャリッジ12が加速移動する区間を加速区間、速度カーブに従ってキャリッジ12が減速移動する区間を減速区間、と呼ぶ。
FIG. 4 is a flowchart showing the first measurement process executed along with the first pass.
In step S200, the motor control unit 21 determines whether or not the carriage 12 is moving in the constant speed section. If it is determined that the carriage 12 is moving in the constant speed section, the process proceeds to step S210. The constant speed section is a section in which the driving of the CR motor 15 is controlled so that the speed of the carriage 12 is maintained at a certain constant speed (constant speed). As is known, the movement of the carriage 12 along the main scanning direction D1 (the movement of the carriage 12 corresponding to one pass) accelerates from a stopped state and reaches a certain constant speed and then reaches the constant speed. It is controlled to move and then decelerate and stop. The motor control unit 21 performs such speed control of the carriage 12 (drive control of the CR motor 15) according to a predetermined speed curve (which may be referred to as a speed table, a speed profile, or the like). A section in which the carriage 12 accelerates according to the speed curve is referred to as an acceleration section, and a section in which the carriage 12 decelerates according to the speed curve is referred to as a deceleration section.

モーター制御部21は、例えば、エンコーダー22からの出力に基づいて把握されるキャリッジ12の速度が前記定速に達したか否かを判定し、前記定速に達した場合に、キャリッジ12が定速区間の移動をしている(ステップS200において“Yes”)と判定することができる。   For example, the motor control unit 21 determines whether or not the speed of the carriage 12 grasped based on the output from the encoder 22 has reached the constant speed. It can be determined that the vehicle is moving in the high speed section (“Yes” in step S200).

あるいは、モーター制御部21は、キャリッジ12が移動を開始してからの時間経過に基づいてキャリッジ12が定速区間の移動をしているか否かを判定するとしてもよい。前記速度カーブに従えば、キャリッジ12が停止状態から加速を開始して定速へ達するまでに必要な時間の長さ(加速期間)は予め定まっていると言える。そのため、キャリッジ12が移動を開始してからの時間経過が加速期間を超えた場合に、キャリッジ12が定速区間に入った(ステップS200において“Yes”)と判定することができる。   Alternatively, the motor control unit 21 may determine whether or not the carriage 12 is moving in a constant speed section based on the passage of time after the carriage 12 starts moving. According to the speed curve, it can be said that the length of time (acceleration period) required for the carriage 12 to start acceleration from a stopped state and reach a constant speed is determined in advance. Therefore, when the time elapsed since the carriage 12 started moving exceeds the acceleration period, it can be determined that the carriage 12 has entered the constant speed section (“Yes” in step S200).

あるいは、モーター制御部21は、キャリッジ12が移動を開始してからのキャリッジ12の移動距離に基づいてキャリッジ12が定速区間の移動をしているか否かを判定するとしてもよい。前記速度カーブに従えば、キャリッジ12が停止状態から加速を開始して定速へ達するまでにキャリッジ12が移動する距離(加速区間長)は予め定まっていると言える。そのため、キャリッジ12が移動を開始してからのキャリッジ12の移動距離が加速区間長を超えた場合に、キャリッジ12が定速区間に入った(ステップS200において“Yes”)と判定することができる。   Alternatively, the motor control unit 21 may determine whether or not the carriage 12 is moving in the constant speed section based on the moving distance of the carriage 12 after the carriage 12 starts moving. According to the speed curve, it can be said that the distance (acceleration section length) by which the carriage 12 moves from the stop state until acceleration reaches a constant speed is determined in advance. Therefore, when the movement distance of the carriage 12 after the carriage 12 starts moving exceeds the acceleration section length, it can be determined that the carriage 12 has entered the constant speed section (“Yes” in step S200). .

ステップS210では、モーター制御部21は、CRモーター15へ出力する駆動信号のメジャメントを開始する。当該駆動信号は、上述のフィードバック制御の下でパルス幅変調(PWM:Pulse Width Modulation)したパルス信号である。モーター制御部21は、このようなパルス信号のデューティー比(パルスの1周期におけるオン(High)の比率)をパルス信号の周期毎に計測する。   In step S <b> 210, the motor control unit 21 starts measuring the drive signal output to the CR motor 15. The drive signal is a pulse signal that has been subjected to pulse width modulation (PWM) under the above-described feedback control. The motor control unit 21 measures the duty ratio of the pulse signal (the ratio of ON (High) in one cycle of the pulse) for each cycle of the pulse signal.

ステップS210でメジャメントを開始した後は、モーター制御部21は、キャリッジ12の定速区間の移動が終了したか否かを判定する(ステップS220)。そして、定速区間の移動が終了したと判定した場合に(ステップS220において“Yes”)、前記メジャメントを終了する(ステップS230)。   After starting the measurement in step S210, the motor control unit 21 determines whether or not the movement of the carriage 12 in the constant speed section has ended (step S220). And when it determines with the movement of a constant speed area having been complete | finished (in step S220 "Yes"), the said measurement is complete | finished (step S230).

知られているように、制御部11は、パス毎の、キャリッジ12が移動する範囲(1回のパスにおけるキャリッジ12の移動開始位置および移動停止位置)を、前記印刷データや、予め設定されている各種印刷条件(用紙50のサイズ、印刷の拡大・縮小率、余白(縁)幅の設定等)や、パスとパスの繋がり等に基づいて決定する。モーター制御部21は、このようなキャリッジ12の移動範囲の終点(キャリッジ12の移動停止位置)でキャリッジ12が速度0となるように、前記速度カーブに従ってキャリッジ12の速度制御を行う。従って、パス毎のキャリッジ12の移動範囲の終点が定まることで、自ずと減速区間の始点(=定速区間の終点)も定まる。つまり、前記速度カーブに従えば、キャリッジ12が前記定速から減速を開始して速度0になるまでにキャリッジ12が移動する距離(減速区間長)は予め定まっていると言えるため、あるパスにおけるキャリッジ12の移動範囲の終点よりも減速区間長だけ手前の位置が、当該パスにおける減速区間の始点(=定速区間の終点)になる。   As is known, the control unit 11 sets the range in which the carriage 12 moves for each pass (the movement start position and the movement stop position of the carriage 12 in one pass) by setting the print data or the preset value. It is determined on the basis of various printing conditions (the size of the paper 50, the print enlargement / reduction ratio, the margin (edge) width setting, etc.), the connection between passes, and the like. The motor control unit 21 controls the speed of the carriage 12 according to the speed curve so that the carriage 12 has a speed 0 at the end point of the movement range of the carriage 12 (the movement stop position of the carriage 12). Accordingly, when the end point of the movement range of the carriage 12 for each pass is determined, the start point of the deceleration section (= end point of the constant speed section) is also determined automatically. In other words, according to the speed curve, it can be said that the distance (deceleration section length) that the carriage 12 moves before the carriage 12 starts decelerating from the constant speed and becomes zero speed is determined in advance. The position before the end of the movement range of the carriage 12 by the length of the deceleration section is the start point of the deceleration section in the path (= end point of the constant speed section).

ステップS220では、モーター制御部21は、例えば、エンコーダー22からの出力に基づいて把握されるキャリッジ12の位置が現在実行中のパスにおける減速区間の始点(=定速区間の終点)に達したか否かを判定する。そして、キャリッジ12の位置が減速区間の始点(=定速区間の終点)に達した場合に、キャリッジ12の定速区間の移動が終了したと判定することができる。   In step S220, for example, the motor control unit 21 determines whether the position of the carriage 12 grasped based on the output from the encoder 22 has reached the start point of the deceleration section (= end point of the constant speed section) in the currently executed path. Determine whether or not. When the position of the carriage 12 reaches the start point of the deceleration section (= end point of the constant speed section), it can be determined that the movement of the constant speed section of the carriage 12 has ended.

ステップS240では、モーター制御部21は、ステップS210〜S230の間(≒キャリッジ12の定速区間の移動の間)に実行した前記メジャメントの結果に基づいて、しきい値TH1を算出する。具体的には、前記メジャメントにより計測した前記デューティー比の平均値を算出し、この平均値に所定の係数(ただし係数は1.0より大きい値)を掛けた値を、しきい値TH1とする。モーター制御部21は、算出した最新のしきい値TH1により、それまで記憶していたしきい値TH1を更新する。しきい値TH1は、印刷ヘッド13による液体吐出を伴うキャリッジ12の第1の移動に際して出力した駆動信号の平均値に基づいて決定した第1のしきい値、の一例に該当する。また、ステップS240は、第1のしきい値を決定するしきい値決定工程に該当する。   In step S240, the motor control unit 21 calculates the threshold value TH1 based on the result of the measurement executed during steps S210 to S230 (≈during the movement of the carriage 12 in the constant speed section). Specifically, an average value of the duty ratio measured by the measurement is calculated, and a value obtained by multiplying the average value by a predetermined coefficient (where the coefficient is greater than 1.0) is set as a threshold value TH1. . The motor control unit 21 updates the threshold value TH1 stored so far with the latest calculated threshold value TH1. The threshold value TH1 corresponds to an example of a first threshold value that is determined based on an average value of drive signals output during the first movement of the carriage 12 accompanied by liquid ejection by the print head 13. Step S240 corresponds to a threshold value determining step for determining the first threshold value.

以上により第1のメジャメント処理が終了する。なお、モーター制御部21は、ステップS240において、しきい値TH1に加えて、第2のしきい値(しきい値TH2)を算出してもよい。しきい値TH2は、しきい値TH1よりも高い値である。モーター制御部21は、例えば、しきい値TH1に更に何らかの所定の係数を掛けたり、所定のオフセット量を加えたりしてしきい値TH2を算出する。しきい値TH2は、後述する第2実施形態において用いられる情報である。モーター制御部21は、算出した最新のしきい値TH2により、それまで記憶していたしきい値TH2を更新する。   Thus, the first measurement process ends. In step S240, the motor control unit 21 may calculate a second threshold value (threshold value TH2) in addition to the threshold value TH1. The threshold value TH2 is higher than the threshold value TH1. The motor control unit 21 calculates the threshold value TH2 by, for example, multiplying the threshold value TH1 by some predetermined coefficient or adding a predetermined offset amount. The threshold value TH2 is information used in a second embodiment to be described later. The motor control unit 21 updates the previously stored threshold value TH2 with the calculated latest threshold value TH2.

図5は、2回目以降の各パスに伴って実行される異常有無判定処理をフローチャートにより示している。
ステップS300〜S330は、図4のステップS200〜S230と同じ処理である。
ステップS340では、モーター制御部21は、ステップS310〜S330の間(≒キャリッジ12の定速区間の移動の間)に実行した前記メジャメントの結果の平均値を算出する。つまり、モーター制御部21は、ステップS310〜S330の間の前記メジャメントにより計測した前記デューティー比の平均値を算出する。ステップS340で算出した平均値を、便宜上、Duty_aveと表記する。ステップS300〜S340を、第2のメジャメント処理と呼んでもよい。平均値Duty_aveは、第1の移動よりも後の印刷ヘッド13による液体吐出を伴うキャリッジ12の第2の移動に際して出力した駆動信号の平均値、の一例に該当する。
FIG. 5 is a flowchart showing an abnormality presence / absence determination process executed with each pass after the second time.
Steps S300 to S330 are the same processes as steps S200 to S230 in FIG.
In step S340, the motor control unit 21 calculates an average value of the results of the measurement executed during steps S310 to S330 (≈during the movement of the carriage 12 in the constant speed section). That is, the motor control unit 21 calculates the average value of the duty ratio measured by the measurement between steps S310 to S330. For convenience, the average value calculated in step S340 is expressed as Duty_ave. Steps S300 to S340 may be referred to as a second measurement process. The average value Duty_ave corresponds to an example of an average value of drive signals output during the second movement of the carriage 12 accompanied by the liquid ejection by the print head 13 after the first movement.

ステップS350では、モーター制御部21は、ステップS340で算出した平均値Duty_aveが、最新のしきい値TH1を超えているか否かを判定する。平均値Duty_ave>しきい値TH1であればステップS360へ進み、平均値Duty_ave≦しきい値TH1であれば当該フローチャート(異常有無判定処理)を終了する。   In step S350, the motor control unit 21 determines whether or not the average value Duty_ave calculated in step S340 exceeds the latest threshold value TH1. If average value Duty_ave> threshold value TH1, the process proceeds to step S360, and if average value Duty_ave ≦ threshold value TH1, the flowchart (abnormality presence / absence determination process) ends.

ステップS360では、制御部11は、印刷(現在実行中のパス)に異常が発生したと判定する(異常判定を下す)。ここで言う異常としては、主に、用紙50と印刷ヘッド13とのこすれ(用紙こすれ)が想定される。制御部11は、異常判定を下した場合は、異常対応処理を実行しつつ図3のフローチャートを終了する。ステップS350,S360は、判定工程に該当する。制御部11は、異常対応処理として、印刷を停止させる。つまり、制御部11は、印刷ヘッド13、CRモーター15および搬送部14の駆動を停止させる。ステップS350の判定は、現在実行中のパス(用紙50に対する2回目以降のパス)の定速区間のキャリッジ12の移動の終了直後のタイミングで実行されるため、当該判定の結果、異常判定(ステップS360)が下された場合、現在実行中のパスの途中(例えば、減速区間の序盤)で印刷が停止することになる。   In step S360, the control unit 11 determines that an abnormality has occurred in printing (the currently executed pass) (makes an abnormality determination). As the abnormality mentioned here, the rubbing (paper rubbing) between the paper 50 and the print head 13 is mainly assumed. When the control unit 11 makes an abnormality determination, the control unit 11 ends the flowchart of FIG. 3 while executing the abnormality handling process. Steps S350 and S360 correspond to a determination process. The control unit 11 stops printing as the abnormality handling process. That is, the control unit 11 stops driving the print head 13, the CR motor 15, and the transport unit 14. The determination in step S350 is executed at a timing immediately after the end of the movement of the carriage 12 in the constant speed section of the currently executed pass (the second and subsequent passes with respect to the paper 50). When S360) is issued, printing stops in the middle of the currently executed pass (for example, the beginning of the deceleration zone).

このように異常判定に応じて印刷を停止することで、用紙こすれに起因するトラブル(用紙50の更なる変形や紙ジャム)を未然に防止することができる。制御部11は、さらに異常対応処理として、異常が発生した旨を外部へ通知するとしてもよい。制御部11は、例えば、用紙こすれが発生した虞がある旨および印刷を停止した旨を伝えるためのメッセージを表示部16に表示させる。あるいは、制御部11は、このようなメッセージを、図示しないスピーカーにより音声で出力させるとしてもよい。ユーザーは、このようなメッセージを認識することで、搬送部14による搬送が停止した用紙50を印刷装置10から取り出す等の適切な処置をすることができる。   Thus, by stopping printing according to the abnormality determination, it is possible to prevent trouble (further deformation of the paper 50 and paper jam) due to paper rubbing. The control unit 11 may further notify the outside that an abnormality has occurred as an abnormality handling process. For example, the control unit 11 causes the display unit 16 to display a message for notifying that there is a possibility that paper rubbing has occurred and that printing has been stopped. Alternatively, the control unit 11 may output such a message by voice from a speaker (not shown). By recognizing such a message, the user can take appropriate measures such as taking out the paper 50 that has stopped being transported by the transport unit 14 from the printing apparatus 10.

図6は、1回のパス(2回目以降のいずれかのパス)に対応する、キャリッジ12の速度や前記のようにメジャメントされたデューティー比の変化の態様を例示している。図6では、横軸を時間(msec)とし、縦軸をキャリッジ12の速度および前記デューティー比(Duty(%))としている。図6では、1点鎖線によりキャリッジ12の目標速度Vrefの変化を示している。目標速度Vrefは、上述した速度テーブルにより定められている速度である。図6では、実線によりキャリッジ12の実際の速度Vcr(エンコーダー22からの出力に基づいて把握されるキャリッジ12の速度)の変化を示している。図6では、2点鎖線によりデューティー比(Duty(%))の変化を示している。   FIG. 6 exemplifies changes in the speed of the carriage 12 and the duty ratio measured as described above, corresponding to one pass (any pass after the second pass). In FIG. 6, the horizontal axis represents time (msec), and the vertical axis represents the speed of the carriage 12 and the duty ratio (Duty (%)). In FIG. 6, a change in the target speed Vref of the carriage 12 is indicated by a one-dot chain line. The target speed Vref is a speed determined by the speed table described above. In FIG. 6, a change in the actual speed Vcr of the carriage 12 (the speed of the carriage 12 grasped based on the output from the encoder 22) is shown by a solid line. In FIG. 6, the change in the duty ratio (Duty (%)) is indicated by a two-dot chain line.

さらに図6では、加速区間に対応するキャリッジ12の移動期間(加速期間R1)、定速区間に対応するキャリッジ12の移動期間(定速期間R2)、および減速区間に対応するキャリッジ12の移動期間(減速期間R3)をそれぞれ示している。また図6では、上述のしきい値TH1やしきい値TH2を例示している。   Further, in FIG. 6, the carriage 12 movement period (acceleration period R1) corresponding to the acceleration section, the carriage 12 movement period (constant speed period R2) corresponding to the constant speed section, and the carriage 12 movement period corresponding to the deceleration section. (Deceleration period R3) is shown. FIG. 6 illustrates the above-described threshold value TH1 and threshold value TH2.

デューティー比(Duty(%))は、CRモーター15の負荷が上がるほど、高くなる傾向がある。従って、用紙こすれが発生している場合には、用紙こすれが発生していない場合と比較して、デューティー比(Duty(%))は全体的に高くなる。このような実情を鑑みて、本実施形態では、2回目以降の毎回のパスで異常有無判定処理(図5)を併せて実行し、平均値Duty_ave>しきい値TH1であれば異常判定を下すようにしている。   The duty ratio (Duty (%)) tends to increase as the load on the CR motor 15 increases. Therefore, when the paper rubbing has occurred, the duty ratio (Duty (%)) becomes higher overall as compared with the case where the paper rubbing has not occurred. In view of such circumstances, in the present embodiment, abnormality determination processing (FIG. 5) is also executed in each pass after the second time, and abnormality determination is made if average value Duty_ave> threshold value TH1. I am doing so.

このように本実施形態によれば、制御部(11,21)は、印刷ヘッド13による液体吐出を伴うキャリッジ12の第1の移動(最初のパス)に際してCRモーター15へ出力した駆動信号の平均値に基づいてしきい値TH1を決定し、第1の移動よりも後の印刷ヘッド13による液体吐出を伴うキャリッジ12の第2の移動(2回目以降のパス)に際して出力した前記駆動信号の平均値Duty_aveが、しきい値TH1を超えた場合に、異常と判定する。当該構成によれば、制御部(11,21)は、キャリッジ12の第2の移動に際して、異常つまり用紙こすれが発生したか否かを適切に判定することができる。また、前記駆動信号(パルス信号)はCRモーター15を駆動するためにフィードバック制御下で当然に出力されるものである。そのため、印刷装置10は、しきい値TH1を決定するために電流センサー等を必要とせず、前記異常を判定するための構成に要するコストを低減することができる。   As described above, according to the present embodiment, the control units (11, 21) average the drive signals output to the CR motor 15 during the first movement (first pass) of the carriage 12 accompanied by the liquid ejection by the print head 13. The threshold value TH1 is determined based on the value, and the average of the drive signals output during the second movement (second and subsequent passes) of the carriage 12 accompanied by the liquid ejection by the print head 13 after the first movement. When the value Duty_ave exceeds the threshold value TH1, it is determined that there is an abnormality. According to this configuration, the control unit (11, 21) can appropriately determine whether an abnormality, that is, paper rubbing has occurred during the second movement of the carriage 12. The drive signal (pulse signal) is naturally output under feedback control in order to drive the CR motor 15. Therefore, the printing apparatus 10 does not require a current sensor or the like to determine the threshold value TH1, and can reduce the cost required for the configuration for determining the abnormality.

用紙50への印刷が繰り返されることによりCRモーター15は発熱していく。CRモーター15が熱を帯びている場合とそうでない場合とでは、同じ負荷に対して必要なCRモーター15の駆動量(前記デューティー比)は異なり、CRモーター15が発熱している場合は、より多くの駆動量を必要とする。従って、用紙こすれが発生しているか否かを判定するための基準(しきい値TH1)は、そのときのCRモーター15の状態に基づいて決定されることが好ましい。本実施形態によれば、制御部(11,21)は、1枚の用紙50(1ページ)を対象とした印刷における最初のパスに伴って第1のメジャメント処理(図4)を実行する。これにより、しきい値TH1は用紙50のページ毎に更新される。このような構成によれば、複数枚の用紙50への印刷が連続して実行される中で、CRモーター15の発熱の影響による前記駆動信号の値の増加(前記デューティー比の増加)等現在の状況に応じた、最適なしきい値TH1を用いて、ステップS350(図5)の判定を行うことができる。   The CR motor 15 generates heat as printing on the paper 50 is repeated. The drive amount (the duty ratio) of the CR motor 15 required for the same load differs between when the CR motor 15 is heated and when it is not, and when the CR motor 15 generates heat, A large amount of drive is required. Therefore, it is preferable that the reference (threshold value TH1) for determining whether or not the sheet rubbing has occurred is determined based on the state of the CR motor 15 at that time. According to the present embodiment, the control unit (11, 21) executes the first measurement process (FIG. 4) along with the first pass in printing for one sheet 50 (one page). Thus, the threshold value TH1 is updated for each page of the paper 50. According to such a configuration, while printing on a plurality of sheets of paper 50 is continuously performed, an increase in the value of the drive signal (increase in the duty ratio) due to the influence of heat generated by the CR motor 15 is present. The determination in step S350 (FIG. 5) can be performed using the optimum threshold value TH1 according to the situation.

さらに本実施形態によれば、制御部(11,21)は、第1の移動(最初のパス)のうちのキャリッジ12の速度が一定となるようにCRモーター15を駆動制御する定速区間の移動に際して出力した前記駆動信号の平均値に基づいて、しきい値TH1を決定し(図4参照)、第2の移動(2回目以降の各パス)のうちの定速区間の移動が終了したタイミングで、当該第2の移動のうちの定速区間の移動に際して出力した前記駆動信号の平均値Duty_aveがしきい値TH1を超えたか否かを判定する(図5参照)。当該構成によれば、第2の移動における定速区間の移動で異常(用紙こすれ)が発生したか否かを、当該定速区間の移動が終わる度に判定することができる。   Furthermore, according to the present embodiment, the control unit (11, 21) is in a constant speed section for driving and controlling the CR motor 15 so that the speed of the carriage 12 in the first movement (first pass) is constant. Based on the average value of the drive signals output during the movement, the threshold value TH1 is determined (see FIG. 4), and the movement in the constant speed section of the second movement (each pass after the second time) is completed. At the timing, it is determined whether or not the average value Duty_ave of the drive signal output during the movement in the constant speed section of the second movement exceeds the threshold value TH1 (see FIG. 5). According to this configuration, it is possible to determine whether or not an abnormality (paper rubbing) has occurred during the movement of the constant speed section in the second movement every time the movement of the constant speed section ends.

用紙こすれの発生をできるだけ回避するために、プラテン24と印刷ヘッド13との間には一定の距離(プラテンギャップ)が確保されている。このような状況で、用紙こすれは、多くの場合、液体吐出を受けた用紙50が液体により膨潤してカール(湾曲)すること等で発生する。そのため、1枚の用紙50に対する印刷が進むに従って、当該用紙50がカールして印刷ヘッド13に接近するようになる。言い換えると、用紙50が液体吐出を受ける前や、液体吐出を受けて間もないタイミングでは、当該用紙50が印刷ヘッド13とこすれることはほぼ無い。従って、本実施形態のように用紙50に対する最初のパスに伴って第1のメジャメント処理を実行する構成によれば、用紙こすれが発生していない状況で第1のメジャメント処理を実行することができ、用紙こすれが発生しているか否かを判定するための基準(しきい値TH1)を合理的に得ることができる。   In order to avoid the occurrence of paper rubbing as much as possible, a certain distance (platen gap) is secured between the platen 24 and the print head 13. In such a situation, the paper rubbing often occurs when the paper 50 that has received the liquid is swollen and curled (curved) by the liquid. Therefore, as printing on a single sheet 50 proceeds, the sheet 50 curls and approaches the print head 13. In other words, the paper 50 is hardly rubbed with the print head 13 before the paper 50 is subjected to the liquid ejection or at a timing just after the liquid ejection. Therefore, according to the configuration in which the first measurement process is executed along with the first pass for the paper 50 as in the present embodiment, the first measurement process can be executed in a situation where there is no paper rubbing. Therefore, it is possible to reasonably obtain a reference (threshold value TH1) for determining whether or not paper rubbing has occurred.

本発明は上述の実施形態に限らず、例えば後述するような実施形態や変形例をさらに採用可能である。   The present invention is not limited to the above-described embodiments, and for example, embodiments and modifications as described below can be further employed.

3.第2実施形態:
上述したように、制御部(11,21)は、しきい値TH1および、しきい値TH1よりも高いしきい値TH2を決定する(図4のステップS240)。そして、制御部(11,21)は、2回目以降のパスの実行(図3のステップS130)に際しては、上述した異常有無判定処理(図5)に加え、第2の異常有無判定処理を併せて実行するとしてもよい。
3. Second embodiment:
As described above, the control unit (11, 21) determines the threshold value TH1 and the threshold value TH2 higher than the threshold value TH1 (step S240 in FIG. 4). Then, the controller (11, 21) performs the second abnormality presence / absence determination process in addition to the above-described abnormality presence / absence determination process (FIG. 5) in the second and subsequent passes (step S130 in FIG. 3). May be executed.

図7は、図5に第2の異常有無判定処理を追加したフローチャートである。図7において2点鎖線で示す流れが第2の異常有無判定処理である。図7においても、異常有無判定処理の流れは図5を用いて説明した通りである。第2の異常有無判定処理によれば、制御部(11,21)は、例えばメジャメント開始(ステップS310)以降、ステップS315を実行し、当該ステップS315では、前記駆動信号がしきい値TH2を超えたか否かを判定する(メジャメントされる前記デューテュー比>しきい値TH2?を判定する)。このようなステップS315の判定を、現在のパスにおける定速区間の移動が終了するまで(ステップS320で“Yes”と判定するまで)繰り返し実行する。また、ステップS320で“Yes”と判定した時点で、第2の異常有無判定処理は終了する。制御部(11,21)は、ステップS315で、前記デューテュー比>しきい値TH2が成立すると判定した場合、異常判定を下す(ステップS360)。   FIG. 7 is a flowchart in which a second abnormality presence / absence determination process is added to FIG. In FIG. 7, the flow indicated by the two-dot chain line is the second abnormality presence / absence determination process. Also in FIG. 7, the flow of the abnormality presence / absence determination process is as described with reference to FIG. According to the second abnormality presence / absence determination process, the control unit (11, 21) executes step S315, for example, after the start of measurement (step S310), and in step S315, the drive signal exceeds the threshold value TH2. (Determine whether the measured duty ratio> threshold value TH2?). Such determination in step S315 is repeatedly performed until the movement of the constant speed section in the current path is completed (until “Yes” is determined in step S320). Further, when it is determined as “Yes” in step S320, the second abnormality presence determination process ends. When it is determined in step S315 that the duty ratio> threshold value TH2 is satisfied, the control unit (11, 21) makes an abnormality determination (step S360).

このような第2実施形態によれば、第1実施形態で説明した異常有無判定処理(図5)だけでなく、第2異常有無判定処理も実行する。これにより、キャリッジ12の第2の移動(2回目以降のパス)における定速区間の移動中、一時的に前記駆動信号がしきい値TH2を超えるほどの高い値となった場合、即座に異常判定を下すことができる。これによって、用紙こすれに起因するトラブルの拡大をより迅速に防ぐことができる。   According to the second embodiment, not only the abnormality presence / absence determination process (FIG. 5) described in the first embodiment but also the second abnormality presence / absence determination process is executed. As a result, when the drive signal temporarily becomes high enough to exceed the threshold value TH2 during the movement of the constant speed section in the second movement (second and subsequent passes) of the carriage 12, an abnormality is immediately detected. Judgment can be made. As a result, it is possible to more quickly prevent an increase in trouble due to paper rubbing.

印刷装置10は、工場から市場へ出荷される前に、加振試験の対象となる。加振試験とは、印刷装置10に所定の振動を外的に与えた状態でも印刷装置10が一定以上の画質で印刷を継続できるか否かを見極める試験である。加振試験の最中においては、定速区間であっても、与えられる振動の影響でキャリッジ12の速度Vcrが乱れるため、当該速度Vcrの乱れに応じて、メジャメントされる前記デューティー比(Duty(%))も安定しない。このような状況で、仮に、定速区間でメジャメントされる前記デューテュー比>しきい値TH1が成り立てば即座に異常判定を下す、という制御を印刷装置10に採用した場合、印刷装置10は殆どの場合、加振試験を合格できず、出荷できないという問題が生じる。その一方で、キャリッジ12の移動に何らかの異常が発生した場合には、できるだけ迅速に印刷を停止させて被害の拡大を防ぐことが望ましいとも言える。これらの状況を鑑みて、本実施形態では上述したように、キャリッジ12の定速区間の移動中は、メジャメントされる前記デューティー比がしきい値TH1よりも高いしきい値TH2を超える場合に即座に異常判定を下し、キャリッジ12の定速区間の移動終了後は、平均値Duty_aveがしきい値TH1を超える場合に異常判定を下す。このような構成を採用することで、印刷装置10が加振試験を通過できない問題を解消し、かつ、比較的大きな異常が発生した場合には即座に異常判定が下されるようになった。   The printing apparatus 10 is subjected to a vibration test before being shipped from the factory to the market. The vibration test is a test for determining whether or not the printing apparatus 10 can continue printing with a certain level of image quality even when a predetermined vibration is externally applied to the printing apparatus 10. During the vibration test, the speed Vcr of the carriage 12 is disturbed due to the applied vibration even in the constant speed section. Therefore, the duty ratio (Duty ( %)) Is not stable. In such a situation, if the printing apparatus 10 adopts the control that the abnormality determination is made immediately if the duty ratio measured in the constant speed section> the threshold value TH1 is satisfied, the printing apparatus 10 is almost In such a case, the vibration test cannot be passed, and there is a problem that the product cannot be shipped. On the other hand, if any abnormality occurs in the movement of the carriage 12, it can be said that it is desirable to stop the printing as quickly as possible to prevent the damage from spreading. In view of these situations, in the present embodiment, as described above, during the movement of the carriage 12 in the constant speed section, when the duty ratio to be measured exceeds the threshold value TH2 higher than the threshold value TH1, it is immediately performed. After the movement of the carriage 12 in the constant speed section is finished, the abnormality determination is made when the average value Duty_ave exceeds the threshold value TH1. By adopting such a configuration, the problem that the printing apparatus 10 cannot pass the vibration test is solved, and when a relatively large abnormality occurs, the abnormality determination is made immediately.

4.第3実施形態:
制御部(11,21)は、予め定められたキャリッジ12の目標速度とキャリッジ12の速度との偏差が予め定められた許容範囲を超えた場合にも、異常と判定する(異常判定を下し、異常対応処理を行う)としてもよい。偏差とは、図6を参考にすると、目標速度Vrefと速度Vcrとの差である。用紙こすれ等の異常が発生した場合には、CRモーター15の負荷の変動により偏差が大きくなる傾向がある。前記許容範囲は、制御部11が有するROM等に記憶されており、目標速度Vrefよりも高速側の偏差に対する上限値と、目標速度Vrefよりも低速側の偏差に対する下限値とによって定義されている。
4). Third embodiment:
The control unit (11, 21) also determines that an abnormality has occurred even when the deviation between the predetermined target speed of the carriage 12 and the speed of the carriage 12 exceeds a predetermined allowable range (makes an abnormality determination). , An abnormality handling process may be performed). The deviation is a difference between the target speed Vref and the speed Vcr with reference to FIG. When an abnormality such as paper rubbing occurs, the deviation tends to increase due to a change in the load of the CR motor 15. The allowable range is stored in a ROM or the like included in the control unit 11 and is defined by an upper limit value for a deviation on the higher speed side than the target speed Vref and a lower limit value for a deviation on the lower speed side than the target speed Vref. .

制御部(11,21)は、キャリッジ12の移動中、速度Vcrが目標速度Vrefを基準にした前記下限値〜上限値の範囲(許容範囲)から外れた、つまり前記偏差が許容範囲を超えた場合にも、ステップS360(図5,7)と同様に異常判定を下し、異常対応処理を行う。このような、前記偏差が許容範囲を超えたか否かの判定は、最初のパスか2回目以降のパスかにかかわらず実行する。第1実施形態又は第2実施形態を前提として、さらに第3実施形態を採用することにより、印刷装置10は、キャリッジ12の移動中に異常(用紙こすれ)が発生したか否かをより高い精度で判定することができる。   During the movement of the carriage 12, the control unit (11, 21) causes the speed Vcr to deviate from the range (allowable range) of the lower limit value to the upper limit value based on the target speed Vref, that is, the deviation exceeds the allowable range. Even in this case, an abnormality determination is made in the same manner as in step S360 (FIGS. 5 and 7), and an abnormality handling process is performed. Such a determination as to whether or not the deviation exceeds the allowable range is performed regardless of whether the first pass or the second and subsequent passes. By adopting the third embodiment on the premise of the first embodiment or the second embodiment, the printing apparatus 10 can determine whether or not an abnormality (paper rubbing) has occurred during the movement of the carriage 12. Can be determined.

前記許容範囲は、キャリッジ12の移動範囲に亘って一定である必要はない。つまり、前記許容範囲は、キャリッジ12の加速区間、定速区間、減速区間それぞれに適した値に設定されている。一例として、加速区間に対応する許容範囲は、定速区間に対応する許容範囲よりも広いとしてもよい。加速区間では、キャリッジ12の速度を短い時間で所定の定速まで上昇させる制御を行うため、瞬間毎の速度Vcrが目標速度Vrefに対して乱れ易い。このような状況を鑑みて、加速区間に対応する許容範囲は、定速区間に対応する許容範囲よりも広く設定しておくことで、加速区間において誤判定(用紙こすれ等の異常が発生していないにもかかわらず異常判定を下すこと)を、回避することができる。   The allowable range need not be constant over the movement range of the carriage 12. That is, the allowable range is set to a value suitable for each of the acceleration section, constant speed section, and deceleration section of the carriage 12. As an example, the allowable range corresponding to the acceleration section may be wider than the allowable range corresponding to the constant speed section. In the acceleration section, since the speed of the carriage 12 is controlled to increase to a predetermined constant speed in a short time, the instantaneous speed Vcr is likely to be disturbed with respect to the target speed Vref. In view of such a situation, by setting the allowable range corresponding to the acceleration section wider than the allowable range corresponding to the constant speed section, an erroneous determination (abnormality such as paper rubbing has occurred in the acceleration section). It is possible to avoid making an abnormality determination).

5.変形例:
制御部11は、前記異常対応処理として、印刷を停止させ、さらに用紙50から印刷ヘッド13までの高さを広げるとしてもよい。この場合、制御部11は、高さ方向(鉛直方向)におけるキャリッジ12の位置を調整するための不図示の駆動機構を制御することにより、高さ方向におけるキャリッジ12の位置を現在の位置よりも高い位置へ変更する。これにより、前記プラテンギャップが広がり、結果的に用紙50から印刷ヘッド13までの高さが広がる。用紙50から印刷ヘッド13までの高さを広げることにより、以後の印刷で用紙こすれが発生することを防止できる。なお、キャリッジ12の位置を現在の位置よりも高い位置へ変更するタイミングは、異常判定を下した直後であってもよいし、異常判定を下した後、ユーザーの指示に応じて新たな印刷を印刷装置10が開始する直前であってもよい。
5. Variations:
The controller 11 may stop the printing and further increase the height from the paper 50 to the print head 13 as the abnormality handling process. In this case, the control unit 11 controls the drive mechanism (not shown) for adjusting the position of the carriage 12 in the height direction (vertical direction), so that the position of the carriage 12 in the height direction is set higher than the current position. Change to a higher position. Thereby, the platen gap is widened, and as a result, the height from the paper 50 to the print head 13 is widened. By increasing the height from the paper 50 to the print head 13, it is possible to prevent paper rubbing from occurring in subsequent printing. Note that the timing of changing the position of the carriage 12 to a position higher than the current position may be immediately after the abnormality determination is made, or after making the abnormality determination, a new print is performed according to a user instruction. It may be just before the printing apparatus 10 starts.

ステップS240(図4)において、しきい値TH1を決定するために算出する前記デューティー比の平均値は、キャリッジ12の定速区間の移動の間のメジャメントにより得たデューティー比だけでなく、当該定速区間直前の加速区間の(少なくとも一部の)メジャメントにより得たデューティー比も含めて算出した平均値であってもよい。同様に、ステップS340(図5,7)において算出する前記デューティー比の平均値Duty_aveは、キャリッジ12の定速区間の移動の間のメジャメントにより得たデューティー比だけでなく、当該定速区間直前の加速区間の(少なくとも一部の)メジャメントにより得たデューティー比も含めて算出した平均値であってもよい。また、これまで説明した平均値は、平均値そのものではなく、平均値に何らかの補正係数を掛けた値等であってもよい。   In step S240 (FIG. 4), the average value of the duty ratio calculated to determine the threshold value TH1 is not only the duty ratio obtained by the measurement during the movement of the carriage 12 in the constant speed section, but also the fixed ratio. It may be an average value calculated including the duty ratio obtained by (at least a part of) the measurement in the acceleration section immediately before the speed section. Similarly, the average value Duty_ave of the duty ratio calculated in step S340 (FIGS. 5 and 7) is not only the duty ratio obtained by the measurement during the movement of the carriage 12 in the constant speed section, but also immediately before the constant speed section. It may be an average value calculated including the duty ratio obtained by (at least a part of) the measurement in the acceleration section. In addition, the average value described so far may be a value obtained by multiplying the average value by some correction coefficient instead of the average value itself.

キャリッジ12は主走査方向D1に沿って往復移動する。ここでは、主走査方向D1の一端側から他端側へ向かうキャリッジ12の移動を往路移動と呼び、主走査方向D1の他端側から一端側へ向かうキャリッジ12の移動を復路移動と呼ぶことにする。従って、これまでに説明したしきい値TH1やしきい値TH2を用いる判定や、前記許容範囲を用いる判定は、往路移動、復路移動それぞれで実行するとしてもよい。   The carriage 12 reciprocates along the main scanning direction D1. Here, the movement of the carriage 12 from one end side to the other end side in the main scanning direction D1 is referred to as forward movement, and the movement of the carriage 12 from the other end side to the one end side in the main scanning direction D1 is referred to as backward movement. To do. Therefore, the determination using the threshold value TH1 and the threshold value TH2 described above and the determination using the allowable range may be executed for each of the forward movement and the backward movement.

つまり、上述の最初のパス(ステップS110、図2)は、実際は、1枚の用紙50を対象とした最初の往路移動と、最初の復路移動の夫々を指す。従って、第1のメジャメント処理(図4)も、最初の往路移動、最初の復路移動の夫々に伴って実行され、最初の往路移動に伴って実行した第1のメジャメント処理によりしきい値TH1,TH2(往路用しきい値TH1,TH2)が得られ、かつ、最初の復路移動に伴って実行した第1のメジャメント処理によりしきい値TH1,TH2(復路用しきい値TH1,TH2)が得られる。この場合、最初の往路移動と最初の復路移動との間に紙送りが1回実行され、ステップS120における“2回目以降の紙送り”は、実際には、最初の往路移動および最初の復路移動の後の紙送りである。そして、ステップS130における2回目以降のパスは、1枚の用紙50を対象とした2回目以降の往路移動と、2回目以降の復路移動の夫々を指す。従って、2回目以降の各パスに伴って実行される異常有無判処理(図5又は図7)は、2回目以降の往路移動に伴って実行される異常有無判処理と、2回目以降の復路移動に伴って実行される異常有無判処理とに分けて考えることができる。この場合、当然、2回目以降の往路移動に伴って実行される異常有無判処理では往路用しきい値TH1,TH2を用いた判定を行い、2回目以降の復路移動に伴って実行される異常有無判処理では復路用しきい値TH1,TH2を用いた判定を行うことになる。   That is, the above-mentioned first pass (step S110, FIG. 2) actually indicates each of the first forward movement and the first backward movement for one sheet 50. Therefore, the first measurement process (FIG. 4) is also executed with each of the first forward movement and the first backward movement, and the threshold value TH1, TH1 is obtained by the first measurement process executed with the first forward movement. TH2 (threshold values TH1 and TH2 for the forward path) is obtained, and threshold values TH1 and TH2 (threshold values TH1 and TH2 for the return path) are obtained by the first measurement process executed in association with the first return path movement. It is done. In this case, paper feeding is executed once between the first forward movement and the first backward movement, and the “second paper feeding” in step S120 is actually the first forward movement and the first backward movement. It is paper feeding after. The second and subsequent passes in step S130 indicate the second and subsequent forward movements for the single sheet 50 and the second and subsequent backward movements, respectively. Accordingly, the abnormality presence / absence judgment processing (FIG. 5 or FIG. 7) executed with each pass after the second time is performed in accordance with the abnormality presence / absence judgment processing executed with the second or subsequent outward movement. It can be divided into the abnormality presence / absence determination processing that is executed along with the movement. In this case, as a matter of course, the abnormality presence / absence determination process executed with the second and subsequent outward movements performs determination using the forward thresholds TH1 and TH2, and the abnormality executed with the second and subsequent backward movements. In the presence / absence determination processing, determination using the return path thresholds TH1 and TH2 is performed.

キャリッジ12が往復移動することを考慮すると、前記第3実施形態では、キャリッジ12の往路移動に際して前記偏差と比較するための往路用の前記許容範囲と、キャリッジ12の復路移動に際して前記偏差と比較するための復路用の前記許容範囲とが、予め制御部11が有するROM等に記憶されていることになる。そして、制御部(11,21)は、キャリッジ12の往路移動中は、往路用の前記許容範囲を用いた判定を行い、キャリッジ12の復路移動中は、復路用の前記許容範囲を用いた判定を行う。   Considering that the carriage 12 reciprocates, in the third embodiment, the allowable range for the forward path for comparing with the deviation when the carriage 12 moves in the forward path is compared with the deviation when the carriage 12 moves in the backward path. Therefore, the allowable range for the return path is stored in advance in a ROM or the like included in the control unit 11. Then, the control unit (11, 21) performs determination using the allowable range for the forward path during the forward movement of the carriage 12, and determines using the allowable range for the backward path during the backward movement of the carriage 12. I do.

前記メジャメントの対象となるデューティー比は、CRモーター15をPID制御する場合であれば、比例(P)制御量と、積分(I)制御量と、微分(D)制御量との和に応じた値と言える。比例(P)制御量は、比例項(偏差)に所定の定数を掛けた値であり、積分(I)制御量は、偏差の積分項に所定の定数を掛けた値であり、微分(D)制御量は、偏差の変化量(微分項)に所定の定数を掛けた値である。また、前記メジャメントの対象となるデューティー比は、CRモーター15をPI制御する場合であれば、比例(P)制御量と、積分(I)制御量との和に応じた値と言える。ここで、これら各制御量のうち、実際の制御量(前記ディーティー比)に最も大きく影響するのは、積分(I)制御量である。そのため、これまで説明したしきい値T1や平均値Duty_aveは、メジャメントした前記ディーティー比を平均して求める替わりに、積分(I)制御量の平均に基づいて求めてもよい。   If the CR motor 15 is subjected to PID control, the duty ratio to be measured depends on the sum of the proportional (P) control amount, the integral (I) control amount, and the differential (D) control amount. Value. The proportional (P) control amount is a value obtained by multiplying the proportional term (deviation) by a predetermined constant, and the integral (I) control amount is a value obtained by multiplying the integral term of the deviation by a predetermined constant, and the differential (D ) The control amount is a value obtained by multiplying the change amount of the deviation (differential term) by a predetermined constant. Further, the duty ratio to be measured may be a value corresponding to the sum of the proportional (P) control amount and the integral (I) control amount if the CR motor 15 is PI controlled. Of these control amounts, the integral (I) control amount has the greatest influence on the actual control amount (the duty ratio). Therefore, the threshold value T1 and the average value Duty_ave described so far may be obtained based on the average of the integral (I) control amount instead of obtaining the averaged duty ratio.

10…印刷装置、11…制御部、12…キャリッジ、13…印刷ヘッド、14…搬送部、15…CRモーター、16…表示部、20…CPU、21…モーター制御部、22…リニア式エンコーダー、23…符号板、24…プラテン、25…PFモーター、26…搬送ローラー、30…プーリ、31…タイミングベルト、D1…主走査方向、R1…加速期間、R2…定速期間、R3…減速期間、TH1…(第1の)しきい値、TH2…(第2の)しきい値 DESCRIPTION OF SYMBOLS 10 ... Printing apparatus, 11 ... Control part, 12 ... Carriage, 13 ... Print head, 14 ... Conveyance part, 15 ... CR motor, 16 ... Display part, 20 ... CPU, 21 ... Motor control part, 22 ... Linear encoder, 23 ... Code plate, 24 ... Platen, 25 ... PF motor, 26 ... Conveying roller, 30 ... Pulley, 31 ... Timing belt, D1 ... Main scanning direction, R1 ... Acceleration period, R2 ... Constant speed period, R3 ... Deceleration period, TH1... (First) threshold, TH2... (Second) threshold

Claims (9)

液体を吐出可能なヘッドを搭載したキャリッジを主走査方向に移動させながら前記ヘッドから媒体へ液体を吐出させることにより印刷を実行する印刷装置であって、
前記キャリッジを前記主走査方向に移動させるモーターと、
フィードバック制御に基づいて前記モーターを駆動するための駆動信号を前記モーターへ出力する制御部と、を備え、
前記制御部は、前記ヘッドによる液体の吐出を伴う前記キャリッジの第1の移動に際して出力した前記駆動信号の平均値に基づいて第1のしきい値を決定し、前記第1の移動よりも後の前記ヘッドによる液体の吐出を伴う前記キャリッジの第2の移動に際して出力した前記駆動信号の平均値が前記第1のしきい値を超えた場合に異常と判定する、
ことを特徴とする印刷装置。
A printing apparatus that performs printing by discharging liquid from the head to a medium while moving a carriage mounted with a head capable of discharging liquid in the main scanning direction,
A motor for moving the carriage in the main scanning direction;
A control unit that outputs a drive signal for driving the motor based on feedback control to the motor, and
The control unit determines a first threshold value based on an average value of the drive signals output during the first movement of the carriage accompanied by liquid ejection by the head, and is later than the first movement. When the average value of the drive signal output during the second movement of the carriage accompanied by the liquid ejection by the head exceeds the first threshold value, it is determined as abnormal.
A printing apparatus characterized by that.
前記第1の移動は、前記媒体の1ページを対象とした印刷における1回目の前記キャリッジの移動であり、前記制御部は、前記媒体のページ毎に前記第1のしきい値を更新することを特徴とする請求項1に記載の印刷装置。   The first movement is the first movement of the carriage in printing for one page of the medium, and the control unit updates the first threshold value for each page of the medium. The printing apparatus according to claim 1. 前記制御部は、前記第1の移動のうちの前記キャリッジの速度が一定となるように前記モーターの駆動を制御する定速区間の移動に際して出力した前記駆動信号の平均値に基づいて、前記第1のしきい値を決定し、前記第2の移動のうちの前記定速区間の移動が終了したタイミングで、当該第2の移動のうちの当該定速区間の移動に際して出力した前記駆動信号の平均値が前記第1のしきい値を超えたか否かを判定する、ことを特徴とする請求項1または請求項2に記載の印刷装置。   The control unit is configured to control the first driving signal based on an average value of the driving signals output when moving in a constant speed section that controls driving of the motor so that the speed of the carriage is constant. 1 is determined, and at the timing when the movement of the constant speed section of the second movement ends, the drive signal output during the movement of the constant speed section of the second movement The printing apparatus according to claim 1, wherein it is determined whether an average value exceeds the first threshold value. 前記制御部は、前記第1のしきい値よりも高い第2のしきい値を決定し、前記第2の移動のうちの前記定速区間の移動が終了するまでは前記駆動信号が前記第2のしきい値を超えたか否かを判定し、前記駆動信号が前記第2のしきい値を超えた場合に異常と判定することを特徴とする請求項3に記載の印刷装置。   The control unit determines a second threshold value that is higher than the first threshold value, and the drive signal remains in the first state until the movement of the constant speed section of the second movement is completed. The printing apparatus according to claim 3, wherein it is determined whether or not a threshold value of 2 is exceeded, and an abnormality is determined when the drive signal exceeds the second threshold value. 前記制御部は、予め定められた前記キャリッジの目標速度と前記キャリッジの速度との偏差が予め定められた許容範囲を超えた場合にも異常と判定することを特徴とする請求項1〜請求項4のいずれかに記載の印刷装置。   2. The control unit according to claim 1, wherein the controller determines that an abnormality occurs even when a deviation between a predetermined target speed of the carriage and a speed of the carriage exceeds a predetermined allowable range. 5. The printing apparatus according to any one of 4. 前記制御部が前記キャリッジを加速させるために前記モーターの駆動を制御する加速区間に対応する前記許容範囲は、前記制御部が前記キャリッジの速度が一定となるように前記モーターの駆動を制御する前記加速区間に続く定速区間に対応する前記許容範囲よりも広いことを特徴とする請求項5に記載の印刷装置。   The allowable range corresponding to an acceleration section in which the control unit controls the driving of the motor to accelerate the carriage is controlled by the control unit so that the speed of the carriage is constant. The printing apparatus according to claim 5, wherein the printing apparatus is wider than the allowable range corresponding to a constant speed section following the acceleration section. 前記制御部は、前記異常と判定した場合は印刷を停止し、異常が発生した旨を外部へ通知することを特徴とする請求項1〜請求項6のいずれかに記載の印刷装置。   The printing apparatus according to claim 1, wherein the control unit stops printing when it determines that the abnormality has occurred, and notifies the outside that an abnormality has occurred. 前記制御部は、前記異常と判定した場合は印刷を停止し、前記媒体から前記ヘッドまでの高さを広げることを特徴とする請求項1〜請求項7のいずれかに記載の印刷装置。   8. The printing apparatus according to claim 1, wherein when the controller determines that the abnormality is present, printing is stopped, and a height from the medium to the head is increased. 9. 液体を吐出可能なヘッドを搭載したキャリッジを主走査方向に移動させながら前記ヘッドから媒体へ液体を吐出させることにより印刷を実行する印刷装置が実行する異常判定方法であって、
前記キャリッジを前記主走査方向に移動させるモーターへ前記ヘッドによる液体の吐出を伴う前記キャリッジの第1の移動に際してフィードバック制御に基づいて出力される前記モーターを駆動するための駆動信号の平均値に基づいて、第1のしきい値を決定するしきい値決定工程と、
前記第1の移動よりも後の前記ヘッドによる液体の吐出を伴う前記キャリッジの第2の移動に際して前記フィードバック制御に基づいて前記モーターへ出力される前記駆動信号の平均値が前記第1のしきい値を超えた場合に、異常と判定する判定工程と、を備えることを特徴とする異常判定方法。
An abnormality determination method executed by a printing apparatus that performs printing by discharging liquid from the head to a medium while moving a carriage mounted with a head capable of discharging liquid in the main scanning direction,
Based on an average value of drive signals for driving the motor that is output based on feedback control during the first movement of the carriage accompanied by liquid ejection by the head to the motor that moves the carriage in the main scanning direction. A threshold value determining step for determining a first threshold value;
An average value of the drive signals output to the motor based on the feedback control during the second movement of the carriage accompanied by liquid ejection by the head after the first movement is the first threshold. And a determination step of determining an abnormality when the value is exceeded.
JP2016127304A 2016-06-28 2016-06-28 Printing device and abnormality determining method Pending JP2018001445A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2016127304A JP2018001445A (en) 2016-06-28 2016-06-28 Printing device and abnormality determining method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2016127304A JP2018001445A (en) 2016-06-28 2016-06-28 Printing device and abnormality determining method

Publications (1)

Publication Number Publication Date
JP2018001445A true JP2018001445A (en) 2018-01-11

Family

ID=60947231

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2016127304A Pending JP2018001445A (en) 2016-06-28 2016-06-28 Printing device and abnormality determining method

Country Status (1)

Country Link
JP (1) JP2018001445A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2020032639A (en) * 2018-08-30 2020-03-05 ブラザー工業株式会社 Recording device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2020032639A (en) * 2018-08-30 2020-03-05 ブラザー工業株式会社 Recording device
JP7334400B2 (en) 2018-08-30 2023-08-29 ブラザー工業株式会社 recording device

Similar Documents

Publication Publication Date Title
US8511780B2 (en) Image forming apparatus
EP3354609B1 (en) Transport device and printing apparatus
JP4683097B2 (en) Electronics
JP4919349B2 (en) Paper feeder
JP6013038B2 (en) Paper feeder
US9604449B2 (en) Image forming apparatus, roll print medium conveyance control method and non-transitory computer readable recording medium
JP2012218836A (en) Paper feeder
US9102176B2 (en) Image forming apparatus, image forming method, and non-transitory computer-readable storage medium
JP2018001445A (en) Printing device and abnormality determining method
JP6065801B2 (en) Sheet conveying apparatus and image forming system
JP2011073841A (en) Image forming device
US20080025781A1 (en) Printer and method for controlling the printer
JP2012213863A (en) Image forming apparatus
JP2018165184A (en) Printing device and method for controlling printing device
US20110181649A1 (en) Image recording apparatus and image recording method
JP2013215914A (en) Recording device, drive control method of recording device, and drive control program of recording device
JP5195318B2 (en) Motor control apparatus, recording apparatus, and motor control method
JP2013226730A (en) Print device and print method
JP5251954B2 (en) Sheet transport device
JP6967902B2 (en) Paper feed device
US11813852B2 (en) Printing apparatus and method of controlling the same
US10850500B2 (en) Image forming system
JP5245656B2 (en) Image forming apparatus
US20230166499A1 (en) Liquid ejection apparatus
US11358404B2 (en) Printer and method for preventing erroneous interruption of printing

Legal Events

Date Code Title Description
RD05 Notification of revocation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7425

Effective date: 20180910