JP2015089635A - Printing device, and step-out detection method - Google Patents

Printing device, and step-out detection method Download PDF

Info

Publication number
JP2015089635A
JP2015089635A JP2013230032A JP2013230032A JP2015089635A JP 2015089635 A JP2015089635 A JP 2015089635A JP 2013230032 A JP2013230032 A JP 2013230032A JP 2013230032 A JP2013230032 A JP 2013230032A JP 2015089635 A JP2015089635 A JP 2015089635A
Authority
JP
Japan
Prior art keywords
amount
stepping motor
carriage
rotation
detected
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
JP2013230032A
Other languages
Japanese (ja)
Inventor
隆史 齋川
Takashi Saikawa
隆史 齋川
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 JP2013230032A priority Critical patent/JP2015089635A/en
Publication of JP2015089635A publication Critical patent/JP2015089635A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Ink Jet (AREA)
  • Accessory Devices And Overall Control Thereof (AREA)
  • Character Spaces And Line Spaces In Printers (AREA)

Abstract

PROBLEM TO BE SOLVED: To accurately detect step-out in a printing device that moves a carriage by driving of a stepping motor.SOLUTION: A printing device 1 comprises: a carriage movement motor 66 that is a stepping motor; a carriage that moves according to driving of the motor; a third rotary encoder 92 for detecting a travel amount of the carriage; and a control unit 50 for detecting step-out of the carriage movement motor 66 on the basis of a comparison between a travel amount of the carriage that is detected when the carriage movement motor 66 is driven by a predetermined amount and a predicted travel amount of the carriage 70 that is predicted when the carriage movement motor 66 is driven by the predetermined amount when not being a step-out state.

Description

本発明は、ステッピングモーターの駆動に応じて移動するキャリッジを備える印刷装置、及び、ステッピングモーターの脱調検出方法に関する。   The present invention relates to a printing apparatus including a carriage that moves in accordance with driving of a stepping motor, and a stepping motor step-out detection method.

従来、印刷ヘッドが搭載され、主走査方向に往復移動可能なキャリッジを備える印刷装置が知られている(例えば、特許文献1参照)。   2. Description of the Related Art Conventionally, there is known a printing apparatus that includes a print head and includes a carriage that can reciprocate in the main scanning direction (see, for example, Patent Document 1).

特開2011−230515号公報JP 2011-230515 A

上述した印刷装置のようにキャリッジを備えるものでは、ステッピングモーターの駆動によって、キャリッジを移動させる構成とすることが可能である。このような構成とすることにより、キャリッジの位置決め制御を精密に実行することができる。
ここで、ステッピングモーターによりキャリッジを移動させる構成とした場合において、ステッピングモーターが脱調した場合、脱調に起因して印刷装置に影響がある場合がある。
本発明は、上述した事情に鑑みてなされたものであり、ステッピングモーターの駆動によってキャリッジを移動させる印刷装置について、脱調を的確に検出することを目的とする。
In the printing apparatus including the carriage as described above, the carriage can be moved by driving the stepping motor. With such a configuration, the positioning control of the carriage can be executed precisely.
Here, in the case where the carriage is moved by the stepping motor, if the stepping motor steps out, the printing apparatus may be affected due to the stepping out.
The present invention has been made in view of the above-described circumstances, and an object thereof is to accurately detect a step-out in a printing apparatus that moves a carriage by driving a stepping motor.

上記目的を達成するために、本発明は、印刷装置であって、ステッピングモーターと、印刷ヘッドが搭載され、前記ステッピングモーターの駆動に応じて移動するキャリッジと、前記キャリッジの移動量を検出するエンコーダーと、前記ステッピングモーターを所定量、駆動したときに前記エンコーダーによって検出された前記キャリッジの移動量と、脱調していない状態で前記ステッピングモーターを当該所定量、駆動したときに予測される前記キャリッジの予測移動量との比較に基づいて、前記ステッピングモーターの脱調を検出する制御部と、を備えることを特徴とする。
ここで、ステッピングモーターを所定量、駆動したときのキャリッジの実際の移動量が、脱調していない場合に予測される予測移動量と相違している場合は、ステッピングモーターが脱調している可能性がある。そして、上記構成によれば、印刷装置は、ステッピングモーターを所定量、駆動したときにエンコーダーによって検出されたキャリッジの移動量と、ステッピングモーターを当該所定量、駆動したときに予測されるキャリッジの予測移動量との比較に基づいて、前記ステッピングモーターの脱調を検出する。このため、ステッピングモーターの脱調を的確に検出できる。
In order to achieve the above object, the present invention provides a printing apparatus, which includes a stepping motor, a print head, a carriage that moves according to the driving of the stepping motor, and an encoder that detects the amount of movement of the carriage. And the amount of movement of the carriage detected by the encoder when the stepping motor is driven by a predetermined amount, and the carriage predicted when the stepping motor is driven by the predetermined amount without being stepped out. And a control unit for detecting step-out of the stepping motor based on comparison with the predicted movement amount.
Here, when the actual movement amount of the carriage when the stepping motor is driven by a predetermined amount is different from the predicted movement amount predicted when the stepping motor is not stepped out, the stepping motor has stepped out. there is a possibility. According to the above configuration, the printing apparatus detects the carriage movement detected by the encoder when the stepping motor is driven by a predetermined amount, and the carriage prediction that is predicted when the stepping motor is driven by the predetermined amount. A step-out of the stepping motor is detected based on the comparison with the movement amount. For this reason, it is possible to accurately detect the step-out of the stepping motor.

また、本発明の印刷装置は、前記エンコーダーは、前記ステッピングモーターの駆動に応じて回転する回転体の回転量を検出することにより、前記キャリッジの移動量を検出するロータリーエンコーダーであり、前記制御部は、前記ステッピングモーターを所定量、駆動したときに前記エンコーダーによって検出された前記回転体の回転量と、脱調していない状態で前記ステッピングモーターを所定量、駆動したときに予測される前記回転体の予測回転量との比較に基づいて、前記ステッピングモーターの脱調を検出する。
この構成によれば、ステッピングモーターの駆動に応じて回転する回転体の回転量を検出するロータリーエンコーダーを利用して、的確にステッピングモーターの脱調を検出できる。
In the printing apparatus according to the aspect of the invention, the encoder may be a rotary encoder that detects a movement amount of the carriage by detecting a rotation amount of a rotating body that rotates according to driving of the stepping motor, and the control unit Is the rotation amount of the rotating body detected by the encoder when the stepping motor is driven by a predetermined amount, and the rotation predicted when the stepping motor is driven by the predetermined amount without being stepped out. A step-out of the stepping motor is detected based on a comparison with the predicted amount of rotation of the body.
According to this configuration, it is possible to accurately detect the step-out of the stepping motor by using the rotary encoder that detects the rotation amount of the rotating body that rotates according to the driving of the stepping motor.

また、本発明の印刷装置は、脱調していない状態で前記ステッピングモーターを1ステップ、駆動させた場合に、前記エンコーダーによって前記回転体の回転量として第1回転量が検出される構成とし、前記制御部は、前記ステッピングモーターを所定のステップ数、駆動したときに前記エンコーダーによって検出された前記回転体の回転量と、前記ステッピングモーターを当該所定のステップ数、駆動したときに、当該所定のステップ数と前記第1回転量との関係に基づいて予測される前記回転体の予測回転量と、の比較に基づいて、前記ステッピングモーターの脱調を検出することを特徴とする。
この構成によれば、脱調していない状態でステッピングモーターを1ステップ分駆動させた場合に、エンコーダーによって回転体の回転量として第1回転量が検出される構成を利用して、回転体の実際の回転量と、回転体の予測回転量との比較に基づいて的確にステッピングモーターの脱調を検出可能である。
Further, the printing apparatus of the present invention is configured such that when the stepping motor is driven by one step without being stepped out, the first rotation amount is detected as the rotation amount of the rotating body by the encoder. The controller is configured to detect the amount of rotation of the rotating body detected by the encoder when the stepping motor is driven by a predetermined number of steps, and the predetermined amount of time when the stepping motor is driven by the predetermined number of steps. A step-out of the stepping motor is detected based on a comparison with a predicted rotation amount of the rotating body predicted based on a relationship between the number of steps and the first rotation amount.
According to this configuration, when the stepping motor is driven by one step without being stepped out, the first rotation amount is detected as the rotation amount of the rotating body by the encoder. It is possible to accurately detect the step-out of the stepping motor based on a comparison between the actual rotation amount and the predicted rotation amount of the rotating body.

また、本発明の印刷装置は、前記回転体は、前記ステッピングモーターのモーター軸に設けられた駆動ギアに、動力伝達機構を介して接続された従動ギアであり、前記動力伝達機構は、脱調していない状態の前記ステッピングモーターの1ステップ分の駆動に応じて、前記従動ギアを前記第1回転量、回転させることを特徴とする。
この構成によれば、脱調していない状態でステッピングモーターを1ステップ分駆動させた場合に、エンコーダーによって回転体の回転量として第1回転量が検出される構成を、動力伝達機構を利用して実現できる。
In the printing apparatus of the present invention, the rotating body is a driven gear connected via a power transmission mechanism to a drive gear provided on a motor shaft of the stepping motor, and the power transmission mechanism The driven gear is rotated by the first rotation amount in accordance with the driving of the stepping motor for one step when the stepping motor is not in operation.
According to this configuration, when the stepping motor is driven by one step without being stepped out, a configuration in which the first rotation amount is detected as the rotation amount of the rotating body by the encoder is used using the power transmission mechanism. Can be realized.

また、本発明の印刷装置は、前記制御部は、前記エンコーダーによって、所定期間における前記回転体の累積の回転量として、前記所定期間において前記ステッピングモーターが駆動したk(ただしk>1)ステップ数と、前記第1回転量との積によって求められる回転量、又は、当該求められる回転量にマージンを反映した回転量が検出されたか否かを判別して、前記ステッピングモーターの脱調を検出することを特徴とする。
本発明の構成によれば、所定期間における前記回転体の累積の回転量と、当該所定期間に予測される回転量との比較に基づいて、ステッピングモーターの脱調を的確に検出できる。
In the printing apparatus according to the aspect of the invention, the control unit may determine the number of k steps (where k> 1) the stepping motor is driven in the predetermined period as the cumulative rotation amount of the rotating body in the predetermined period by the encoder. And a step amount of the stepping motor is detected by determining whether a rotation amount obtained by the product of the first rotation amount and a rotation amount reflecting a margin in the calculated rotation amount is detected. It is characterized by that.
According to the configuration of the present invention, it is possible to accurately detect the step-out of the stepping motor based on a comparison between the accumulated rotation amount of the rotating body in a predetermined period and the rotation amount predicted in the predetermined period.

また、本発明の印刷装置は、前記制御部は、前記ステッピングモーターをn(ただしn≧1)ステップ数、駆動する度に、前記エンコーダーによって前記回転体の回転量として、前記第1回転量とnの積によって求められる回転量、又は、当該求められる回転量にマージンを反映した回転量が検出されたか否かを判別して、前記ステッピングモーターの脱調を検出することを特徴とする。
この構成によれば、ステッピングモーターがnステップ分駆動する度に、脱調の検出が行われるため、脱調が発生した場合にそのことを迅速に検出できる。
Further, in the printing apparatus of the present invention, each time the control unit drives the stepping motor by n (where n ≧ 1) steps, the encoder rotates the rotary body as the rotation amount of the first rotation amount. The stepping motor step-out is detected by determining whether a rotation amount obtained by the product of n or a rotation amount reflecting a margin in the obtained rotation amount is detected.
According to this configuration, since step-out is detected every time the stepping motor is driven by n steps, it can be detected quickly when step-out occurs.

また、本発明の印刷装置は、前記制御部は、前記ステッピングモーターをn(ただしn≧1)ステップ数、駆動する度に、前記エンコーダーによって、所定期間における前記回転体の累積の回転量として、前記所定期間において前記ステッピングモーターが駆動したk(ただしk>n)ステップ数と、前記第1回転量との積によって求められる回転量、又は、当該求められる回転量にマージンを反映した回転量が検出されたか否かを判別して、前記ステッピングモーターの脱調を検出することを特徴とする。
この構成によれば、nステップ分、ステッピングモーターを駆動する度に、所定期間において予測される回転体の累積的な回転量と、実際の累積的な回転量との比較に基づいて、脱調を的確に検出できる。さらに、複数ステップ分駆動したときに脱調の検出を行うことができ、1ステップ分駆動する度に検出する場合と比較して、制御部の処理負荷が軽減する。
Further, in the printing apparatus according to the present invention, each time the control unit drives the stepping motor by n (where n ≧ 1) steps, the encoder rotates the accumulated rotational amount of the rotating body in a predetermined period by the encoder. A rotation amount obtained by the product of k (where k> n) steps driven by the stepping motor in the predetermined period and the first rotation amount, or a rotation amount reflecting a margin in the calculated rotation amount is It is determined whether or not the stepping motor has been detected, and step out of the stepping motor is detected.
According to this configuration, every time the stepping motor is driven for n steps, the step-out is stepped out based on the comparison between the cumulative rotational amount of the rotating body predicted in the predetermined period and the actual cumulative rotational amount. Can be accurately detected. Further, the step-out can be detected when driving for a plurality of steps, and the processing load of the control unit is reduced as compared with the case where detection is performed every time one step is driven.

また、本発明の印刷装置は、前記制御部は、前記ステッピングモーターをk(ただしk>n)ステップ数、駆動した場合に、前記エンコーダーによって前記回転体の回転量として、前記第1回転量とkとの積によって求められる回転量、又は、当該求められる回転量にマージンを反映した回転量が検出されたか否かを判別して、前記ステッピングモーターの脱調を検出することを特徴とする。
この構成によれば、kステップ数、ステッピングモーターを回転したときに、予測される回転量と、実際の回転量との比較に基づいて、ステッピングモーターの脱調を的確に検出できる。
In the printing apparatus according to the aspect of the invention, when the control unit drives the stepping motor by k (where k> n) steps, the encoder rotates the rotating body as the rotation amount of the first rotation amount. The stepping motor step-out is detected by determining whether or not a rotation amount obtained by the product of k or a rotation amount reflecting a margin in the obtained rotation amount is detected.
According to this configuration, when the stepping motor is rotated by the number of k steps, it is possible to accurately detect the stepping motor step-out based on the comparison between the predicted rotation amount and the actual rotation amount.

また、本発明の印刷装置は、前記制御部は、前記ステッピングモーターの駆動の開始後の第1の所定の期間、及び、前記ステッピングモーターの駆動の終了前の第2の所定の期間においては、前記ステッピングモーターの脱調の検出を行わないことを特徴とする。
この構成によれば、ギアバックラッシュの影響を排除してステッピングモーターの脱調を検出できる。
In the printing apparatus according to the aspect of the invention, the control unit may perform the first predetermined period after the start of the driving of the stepping motor and the second predetermined period before the end of the driving of the stepping motor. The stepping motor is not detected as being out of step.
According to this configuration, it is possible to detect step out of the stepping motor by eliminating the influence of the gear backlash.

また、本発明の印刷装置は、前記印刷ヘッドはラインインクジェットヘッドで構成され、前記制御部は、前記印刷ヘッドが搭載された前記キャリッジを前記ステッピングモーターの駆動により、ホームポジションから印刷ポジションへ、または、前記印刷ポジションから前記ホームポジションへ、移動させることを特徴とする。
この構成によれば、ラインインクジェットヘッドが搭載されたキャリッジをステッピングモーターで移動させる場合に、当該ステッピングモーターの脱調を検出できる。
In the printing apparatus of the present invention, the print head is a line inkjet head, and the control unit drives the carriage on which the print head is mounted from a home position to a print position, or , And moving from the printing position to the home position.
According to this configuration, when the carriage on which the line inkjet head is mounted is moved by the stepping motor, it is possible to detect the step-out of the stepping motor.

また、上記目的を達成するために、本発明は、脱調検出方法であって、ステッピングモーターと、印刷ヘッドが搭載され、前記ステッピングモーターの駆動に応じて移動するキャリッジと、前記キャリッジの移動量を検出するエンコーダーと、を備える印刷装置に対して、制御部により、前記ステッピングモーターを所定量、駆動したときに前記エンコーダーによって検出された前記キャリッジの移動量と、脱調していない状態で前記ステッピングモーターを当該所定量、駆動したときに予測される前記キャリッジの予測移動量との比較に基づいて、前記ステッピングモーターの脱調を検出することを特徴とする。
ここで、ステッピングモーターを所定量、駆動したときのキャリッジの実際の移動量が、脱調していない場合に予測される予測移動量と相違している場合は、ステッピングモーターが脱調している可能性がある。そして、上記構成によれば、印刷装置は、ステッピングモーターを所定量、駆動したときにエンコーダーによって検出されたキャリッジの移動量と、ステッピングモーターを当該所定量、駆動したときに予測されるキャリッジの予測移動量との比較に基づいて、前記ステッピングモーターの脱調を検出する。このため、ステッピングモーターの脱調を的確に検出できる。
In order to achieve the above object, the present invention is a step-out detection method, comprising a stepping motor, a carriage on which a print head is mounted, and moving according to the driving of the stepping motor, and a movement amount of the carriage And an encoder for detecting the amount of movement of the carriage detected by the encoder when the stepping motor is driven by a predetermined amount by the control unit. A step-out of the stepping motor is detected based on a comparison with a predicted movement amount of the carriage that is predicted when the stepping motor is driven by the predetermined amount.
Here, when the actual movement amount of the carriage when the stepping motor is driven by a predetermined amount is different from the predicted movement amount predicted when the stepping motor is not stepped out, the stepping motor has stepped out. there is a possibility. According to the above configuration, the printing apparatus detects the carriage movement detected by the encoder when the stepping motor is driven by a predetermined amount, and the carriage prediction that is predicted when the stepping motor is driven by the predetermined amount. A step-out of the stepping motor is detected based on the comparison with the movement amount. For this reason, it is possible to accurately detect the step-out of the stepping motor.

本発明によれば、ステッピングモーターの駆動によってキャリッジを移動させる印刷装置について、脱調を的確に検出できる。   According to the present invention, it is possible to accurately detect a step-out in a printing apparatus that moves a carriage by driving a stepping motor.

本実施形態に係る印刷装置の側面図である。It is a side view of the printing apparatus which concerns on this embodiment. 印刷装置の上面図である。It is a top view of a printing apparatus. キャリッジ、その他の関連する部材の斜視図である。It is a perspective view of a carriage and other related members. キャリッジ、その他の関連する部材の側面図である。It is a side view of a carriage and other related members. キャリッジ移動機構の斜視図である。It is a perspective view of a carriage moving mechanism. 印刷装置の機能的構成を示すブロック図である。FIG. 3 is a block diagram illustrating a functional configuration of the printing apparatus. 印刷装置の動作を示すフローチャートである。6 is a flowchart illustrating an operation of the printing apparatus. 印刷装置の動作を示すフローチャートである。6 is a flowchart illustrating an operation of the printing apparatus.

以下、図面を参照して本発明の実施形態について説明する。
図1は、本実施形態に係る印刷装置1の内部構造を模式的に示す側面図である。図2は、印刷装置1の内部構造を模式的に示す上面図である。
印刷装置1は、ラインインクジェットプリンターであり、搬送経路H上で印刷媒体を搬送しつつ、ラインインクジェットヘッドによって構成された印刷ヘッド10からインクを吐出して、印刷媒体に画像を印刷する。
以下の図1、2を用いた説明では、図中に矢印で示した方向に前後方向があるものとする。
Hereinafter, embodiments of the present invention will be described with reference to the drawings.
FIG. 1 is a side view schematically showing the internal structure of the printing apparatus 1 according to the present embodiment. FIG. 2 is a top view schematically showing the internal structure of the printing apparatus 1.
The printing apparatus 1 is a line inkjet printer, and prints an image on a print medium by ejecting ink from a print head 10 constituted by a line inkjet head while conveying the print medium on a conveyance path H.
In the following description using FIGS. 1 and 2, it is assumed that there is a front-rear direction in the direction indicated by the arrows in the drawings.

図1に示すように、印刷装置1は印刷装置本体11を備えており、この印刷装置本体11の後部には、ロール紙収納部12(図1)が設けられている。
ロール紙収納部12は、印刷媒体であるロール紙Rが収納される部位である。ロール紙Rとは、ロール状に巻かれたシートであり、例えば、普通紙やファイン紙をロール状に巻いた用紙のほか、裏面に粘着剤が付された定型サイズのラベルを、剥離紙(台紙)に並べてロール状に巻いたラベル用紙がある。
以下、ロール紙Rにおいて、ロール状に巻かれた円筒状の部位をロール紙本体R1と表現し、このロール紙本体R1から引き出される部位を搬送ロール紙R2と表現する。搬送ロール紙R2は、図1では、点線で表されている。
ロール紙収納部12には、ロール紙本体R1が収納される。その際、ロール紙本体R1の中心部に形成された筒状の芯R3には、ロール紙回転軸9が嵌め込まれる。このロール紙回転軸9は、後述する搬送モーター64(図6)のモーター軸に図示せぬ減速機構を介して接続されており、搬送モーター64の駆動に応じて回転する構成となっている。そして、ロール紙本体R1の芯R3に嵌め込まれたロール紙回転軸9の回転に連動して、ロール紙本体R1が回転する。
ロール紙収納部12に収納されたロール紙本体R1から搬送ロール紙R2が搬送方向Fへ向かって、上方に引き出される。ロール紙本体R1の軸の上部後方には、テンションレバー13が設けられている。上方へ向かって引き出された搬送ロール紙R2は、テンションレバー13に接触し、テンションレバー13によって屈曲された後、前方へ向かって延在する。
テンションレバー13は、搬送ロール紙R2に張りを与えて弛みを防止するレバーである。テンションレバー13は、軸14を中心として、搬送ロール紙R2に張りを与える方向(矢印Y1で示す方向)に回転するよう付勢されている。
As shown in FIG. 1, the printing apparatus 1 includes a printing apparatus main body 11, and a roll paper storage unit 12 (FIG. 1) is provided at the rear of the printing apparatus main body 11.
The roll paper storage unit 12 is a part that stores the roll paper R that is a printing medium. The roll paper R is a sheet wound in a roll shape. For example, in addition to a paper in which plain paper or fine paper is wound in a roll shape, a fixed-size label with an adhesive on the back surface is used as a release paper ( There is a label paper that is rolled up in line with the mount.
Hereinafter, in the roll paper R, a cylindrical portion wound in a roll shape is expressed as a roll paper main body R1, and a portion pulled out from the roll paper main body R1 is expressed as a transport roll paper R2. The transport roll paper R2 is represented by a dotted line in FIG.
The roll paper storage unit 12 stores a roll paper main body R1. At that time, the roll paper rotating shaft 9 is fitted into a cylindrical core R3 formed at the center of the roll paper main body R1. The roll paper rotating shaft 9 is connected to a motor shaft of a transport motor 64 (FIG. 6), which will be described later, via a speed reduction mechanism (not shown), and is configured to rotate according to the drive of the transport motor 64. Then, the roll paper main body R1 rotates in conjunction with the rotation of the roll paper rotation shaft 9 fitted in the core R3 of the roll paper main body R1.
The transport roll paper R2 is drawn upward in the transport direction F from the roll paper main body R1 stored in the roll paper storage unit 12. A tension lever 13 is provided at the upper rear of the shaft of the roll paper body R1. The transported roll paper R2 drawn upward is brought into contact with the tension lever 13, bent by the tension lever 13, and then extended forward.
The tension lever 13 is a lever that prevents the slack by giving tension to the transported roll paper R2. The tension lever 13 is urged to rotate about the shaft 14 in a direction in which the transport roll paper R2 is stretched (direction indicated by an arrow Y1).

テンションレバー13の前方には、紙案内部16が設けられている。紙案内部16は、下方紙案内部17(図1)と、上方紙案内部18(図1)と、側方紙案内部15(図2)と、を備えている。下方紙案内部17は、搬送ロール紙R2を下方から支持する台である。上方紙案内部18は、下方紙案内部17に対向して搬送ロール紙R2の上方に位置し、搬送ロール紙R2の浮き上がりを備える部材である。側方紙案内部15は、搬送される搬送ロール紙R2の両側の側方で、搬送方向Fに沿って延在するガイドであり、搬送ロール紙R2の蛇行や、搬送のずれを抑制する部材である。
紙案内部16の後部には用紙検出器19(図1)が設けられている。用紙検出器19は、例えば、上方紙案内部18側に発光部を備え、下方紙案内部17側に受光部を備えた透過型のセンサーである。用紙検出器19の受光量を示す出力値(検出電圧)は、用紙検出器19の位置における搬送ロール紙R2の有無により異なるので、用紙検出器19を用いて搬送ロール紙R2の先端及び後端を検出できる。
A paper guide portion 16 is provided in front of the tension lever 13. The paper guide unit 16 includes a lower paper guide unit 17 (FIG. 1), an upper paper guide unit 18 (FIG. 1), and a side paper guide unit 15 (FIG. 2). The lower paper guide unit 17 is a table that supports the transported roll paper R2 from below. The upper paper guide unit 18 is a member that is positioned above the transport roll paper R2 so as to face the lower paper guide unit 17 and includes the lift of the transport roll paper R2. The side paper guide unit 15 is a guide that extends along the conveyance direction F on both sides of the conveyed roll paper R2 to be conveyed, and is a member that suppresses meandering and conveyance deviation of the conveyed roll paper R2. It is.
A paper detector 19 (FIG. 1) is provided at the rear of the paper guide unit 16. The paper detector 19 is, for example, a transmissive sensor that includes a light emitting unit on the upper paper guide unit 18 side and a light receiving unit on the lower paper guide unit 17 side. Since the output value (detection voltage) indicating the amount of light received by the paper detector 19 varies depending on the presence or absence of the transport roll paper R2 at the position of the paper detector 19, the front and rear ends of the transport roll paper R2 using the paper detector 19 are used. Can be detected.

紙案内部16の前方には、搬送ロール紙R2に画像を印刷する印刷部21が配置されている。印刷部21は、プラテン22及び印刷ヘッド10で構成される。本実施形態の印刷ヘッド10は、C(シアン)、M(マゼンダ)、Y(イエロー)、K(黒)の4色のインクを吐出して、搬送ロール紙R2の印刷面にドットを形成する。印刷ヘッド10は、K(黒)インクを吐出するノズル部24、C(シアン)インクを吐出するノズル部25、M(マゼンダ)インクを吐出するノズル部26、及び、Y(イエロー)インクを吐出するノズル部27を備える。ノズル部24〜27には、インクを吐出する複数のノズルが搬送ロール紙R2の幅方向に列をなして並べられている。印刷ヘッド10のノズル部24〜27のノズル列は、少なくとも、搬送ロール紙R2の印刷可能範囲より広い幅に形成されている。本実施形態では、搬送ロール紙R2の搬送方向Fに沿ってノズル部24、25、26、27の順に配置された構成例を挙げるが、搬送方向Fにおける各色のノズルの配置順序は任意である。   A printing unit 21 that prints an image on the transported roll paper R2 is disposed in front of the paper guide unit 16. The printing unit 21 includes a platen 22 and a print head 10. The print head 10 according to the present embodiment ejects ink of four colors, C (cyan), M (magenta), Y (yellow), and K (black), to form dots on the printing surface of the transport roll paper R2. . The print head 10 ejects a nozzle section 24 that ejects K (black) ink, a nozzle section 25 that ejects C (cyan) ink, a nozzle section 26 that ejects M (magenta) ink, and a Y (yellow) ink. Nozzle portion 27 is provided. In the nozzle portions 24 to 27, a plurality of nozzles that eject ink are arranged in a row in the width direction of the transport roll paper R2. The nozzle rows of the nozzle portions 24 to 27 of the print head 10 are formed to have a width wider than at least the printable range of the transport roll paper R2. In the present embodiment, a configuration example is described in which the nozzle portions 24, 25, 26, and 27 are arranged in this order along the conveyance direction F of the conveyance roll paper R2, but the arrangement order of the nozzles of each color in the conveyance direction F is arbitrary. .

プラテン22は、搬送方向Fに沿って配置される平面を有する。この平面は印刷ヘッド10に対向する。プラテン22は、図示しない印刷装置1のフレームに固定され、搬送ロール紙R2を下方から支持する。プラテン22の平面は、印刷装置1の設置状態及び使用状態においてほぼ水平となる。
プラテン22の平面上には図示せぬ搬送ベルト30(図1)が配置されている。搬送ベルト30は幅広の無端形状のベルトであり、プラテン22の平面上を通り、プラテン22の下方に回り込むように配置される。搬送ベルト30の表面のうち、少なくともプラテン22の平面上で上を向く面は、摩擦係数の高い粗面となっている。搬送ベルト30はゴムや合成樹脂等の弾性材料により構成されることが好ましい。プラテン22の下方には、搬送モーター31(図6)、及び、搬送モーター31の回転力により搬送ベルト30を動かす駆動機構を有する搬送部32が配置されている。搬送モーター31は、後述する制御部50の制御により回転する。また、搬送部32に設けられた図示せぬ駆動機構は、搬送モーター31の出力軸とかみ合う各種のギアや搬送ベルト30を動かすローラー等により構成され、搬送モーター31の回転により搬送ベルト30が動いて、搬送ロール紙R2を搬送方向Fに搬送する。搬送ベルト30の移動に伴う印刷媒体の搬送方向、及び、搬送速度は、後述するロータリーエンコーダー60(図6)を利用して検出される。
The platen 22 has a plane disposed along the transport direction F. This plane faces the print head 10. The platen 22 is fixed to the frame of the printing apparatus 1 (not shown) and supports the transport roll paper R2 from below. The plane of the platen 22 is substantially horizontal when the printing apparatus 1 is installed and used.
A conveyor belt 30 (FIG. 1) (not shown) is disposed on the plane of the platen 22. The conveyor belt 30 is a wide endless belt, and is arranged so as to pass on the plane of the platen 22 and to wrap around the platen 22. Of the surface of the conveyor belt 30, at least the surface facing upward on the plane of the platen 22 is a rough surface having a high friction coefficient. The conveyor belt 30 is preferably made of an elastic material such as rubber or synthetic resin. Below the platen 22, a conveyance motor 31 (FIG. 6) and a conveyance unit 32 having a drive mechanism that moves the conveyance belt 30 by the rotational force of the conveyance motor 31 are arranged. The transport motor 31 rotates under the control of the control unit 50 described later. The drive mechanism (not shown) provided in the transport unit 32 includes various gears that mesh with the output shaft of the transport motor 31, rollers that move the transport belt 30, and the transport belt 30 is moved by the rotation of the transport motor 31. The transport roll paper R2 is transported in the transport direction F. The conveyance direction and conveyance speed of the print medium accompanying the movement of the conveyance belt 30 are detected using a rotary encoder 60 (FIG. 6) described later.

搬送経路Hにおける印刷ヘッド10の上流側には、プラテン22に対向して搬送ローラー34(図1)が配置されている。搬送ローラー34は、印刷装置1のフレームに回転自在に支持される従動ローラーであり、プラテン22の平面に向けて付勢されている。搬送経路Hにおいて、搬送ロール紙R2は搬送ローラー34と搬送ベルト30との間に挟まれて、搬送ベルト30の移動に伴い搬送方向Fに搬送される。また、印刷ヘッド10のノズル部24、25、26、27の間には、搬送ロール紙R2を搬送ベルト30から浮き上がらないように押さえる図示せぬ複数のローラーが配置されている。   On the upstream side of the print head 10 in the transport path H, a transport roller 34 (FIG. 1) is disposed facing the platen 22. The conveyance roller 34 is a driven roller that is rotatably supported by the frame of the printing apparatus 1, and is urged toward the plane of the platen 22. In the transport path H, the transport roll paper R2 is sandwiched between the transport roller 34 and the transport belt 30 and is transported in the transport direction F as the transport belt 30 moves. In addition, a plurality of rollers (not shown) that press the transport roll paper R <b> 2 so as not to float from the transport belt 30 are disposed between the nozzle portions 24, 25, 26, and 27 of the print head 10.

搬送経路Hにおける印刷ヘッド10の下流側にはカッターユニット37が配置されている。カッターユニット37は搬送経路Hを挟んで配置された固定刃と可動刃とを備え、可動刃はカッター駆動モーター65(図6)にギア等を介して連結されている。カッター駆動モーター65が駆動すると可動刃が固定刃側に移動して、搬送ロール紙R2をカットする。カッターユニット37は、搬送ロール紙R2の幅方向において一部を切り残すカットをするものであってもよいし、搬送ロール紙R2を完全に切断するものであってもよい。印刷装置1は、カッターユニット37により、印刷ヘッド10で印刷された搬送ロール紙R2を所定長さにカットして、排紙口から排出する。   A cutter unit 37 is disposed on the downstream side of the print head 10 in the conveyance path H. The cutter unit 37 includes a fixed blade and a movable blade arranged with the conveyance path H interposed therebetween, and the movable blade is connected to a cutter drive motor 65 (FIG. 6) via a gear or the like. When the cutter drive motor 65 is driven, the movable blade moves to the fixed blade side and cuts the transported roll paper R2. The cutter unit 37 may cut a part of the transport roll paper R2 in the width direction, or may completely cut the transport roll paper R2. The printing apparatus 1 uses the cutter unit 37 to cut the transport roll paper R2 printed by the print head 10 into a predetermined length and discharges it from the paper discharge outlet.

印刷装置1の前面には、巻取ユニット42(図1にのみ図示)が着脱可能である。巻取ユニット42は、排紙口から排出される搬送ロール紙R2を巻き取る巻取ドラム43と、巻取ドラム43を回転させる図示しない駆動部とを有する。巻取ドラム43は、印刷装置1の搬送モーター31から図示しないギア列を介して伝達される回転力により駆動される。巻取ドラム43が、搬送モーター31とは独立したモーターによって駆動する構成であってもよい。巻取ドラム43は、図中矢印Aで示す方向に回転して、搬送ロール紙R2を巻き取る。巻取ユニット42が使用される場合、印刷装置1は、カッターユニット37で搬送ロール紙R2をカットせず、搬送ロール紙R2を長尺の状態のまま排紙口から排出する。
紙案内部16の、前方へ向かって右側には、制御基板44が設けられている。制御基板44には、後述する制御部50のCPUや、RAM、その他の回路が実装されている。
A winding unit 42 (shown only in FIG. 1) can be attached to and detached from the front surface of the printing apparatus 1. The take-up unit 42 includes a take-up drum 43 that takes up the transported roll paper R2 discharged from the paper discharge port, and a drive unit (not shown) that rotates the take-up drum 43. The winding drum 43 is driven by a rotational force transmitted from the conveyance motor 31 of the printing apparatus 1 via a gear train (not shown). The winding drum 43 may be configured to be driven by a motor independent of the transport motor 31. The take-up drum 43 rotates in the direction indicated by the arrow A in the drawing to take up the transport roll paper R2. When the winding unit 42 is used, the printing apparatus 1 does not cut the transport roll paper R2 by the cutter unit 37, and discharges the transport roll paper R2 from the paper discharge port in a long state.
A control board 44 is provided on the right side of the paper guide 16 in the forward direction. On the control board 44, a CPU, a RAM, and other circuits of the control unit 50 described later are mounted.

図1、2に示すように、印刷ヘッド10は、キャリッジ70に搭載されている。図2に示すように、キャリッジ70は、主走査正方向G1、又は、主走査逆方向G2に移動可能に構成されており、図2に示すように、ラインインクジェットヘッドである印刷ヘッド10を、印刷ポジションPPと、ホームポジションHPとの間で搬送する。
印刷ポジションPPとは、プラテン22に対向する位置であって、搬送ロール紙R2に対してインクを吐出して印刷面に画像を印刷可能な位置である。画像を印刷する際は、印刷ポジションPPにおいて、印刷ヘッド10が所定の機構により下方へ移動して適切な位置に配置される。
ホームポジションHPは、上述した印刷ポジションPPを避けた場所に設けられた印刷ヘッド10の退避位置である。電源のオフが指示された場合や、所定期間、印刷に係る処理が実行されず、待機モードへ移行した場合、後述する制御部50は、キャリッジ70をホームポジションHPに移動させて、印刷ヘッド10をホームポジションHPに位置させる。次いで、制御部50は、図示せぬキャップを移動させ、当該キャップにより、印刷ヘッド10のノズル形成面を覆う。これによりノズルに滞留しているインクの乾燥が抑制される。
また、ホームポジションHPにおいて、クリーニング、及び、フラッシングが行われる。
クリーニングとは、印刷ヘッド10のノズルの内部に留まっているインクについて、時間の経過と共に粘度が増加し、ノズルからの吐出不良が起きることを防止するため、ノズルの内部に留まっているインクを強制的に吸引する動作である。クリーニングの際、後述する制御部50は、図示せぬキャップを移動させ、当該キャップにより、印刷ヘッド10のノズル形成面を覆う。次いで、制御部50は、キャップに接続された図示せぬポンプを駆動して、印刷ヘッド10のノズル形成面に負圧を加えてノズルの内部に留まっているインクを強制的に吸引する。
また、フラッシングとは、印刷ヘッド10のノズルの内部に溜まっているインクの粘度の増加を抑制するために行われる動作である。
フラッシング時には、制御部50は、図示せぬキャップに対して、ノズルから所定回数、所定量のインクを吐出させ、ノズルの内部に留まっているインクを新たなインクに置き換える。
As shown in FIGS. 1 and 2, the print head 10 is mounted on a carriage 70. As shown in FIG. 2, the carriage 70 is configured to be movable in the main scanning forward direction G1 or the main scanning reverse direction G2, and as shown in FIG. It is transported between the printing position PP and the home position HP.
The printing position PP is a position facing the platen 22 and is a position where an image can be printed on the printing surface by ejecting ink to the transport roll paper R2. When printing an image, at the print position PP, the print head 10 is moved downward by a predetermined mechanism and disposed at an appropriate position.
The home position HP is a retracted position of the print head 10 provided at a place avoiding the above-described print position PP. When an instruction to turn off the power is given, or when a process related to printing is not executed for a predetermined period and the process shifts to the standby mode, the control unit 50 described later moves the carriage 70 to the home position HP, and the print head 10 Is positioned at the home position HP. Next, the control unit 50 moves a cap (not shown) and covers the nozzle formation surface of the print head 10 with the cap. As a result, drying of the ink staying at the nozzle is suppressed.
Further, cleaning and flushing are performed at the home position HP.
Cleaning means that the ink staying inside the nozzles of the print head 10 is forced to stay in the nozzles in order to prevent the viscosity from increasing and the ejection failure from the nozzles from occurring. This is a suction operation. During cleaning, the control unit 50 described later moves a cap (not shown) and covers the nozzle formation surface of the print head 10 with the cap. Next, the control unit 50 drives a pump (not shown) connected to the cap to apply a negative pressure to the nozzle forming surface of the print head 10 to forcibly suck the ink remaining in the nozzles.
The flushing is an operation performed to suppress an increase in the viscosity of the ink accumulated in the nozzles of the print head 10.
At the time of flushing, the control unit 50 causes a cap (not shown) to eject a predetermined amount of ink from the nozzle a predetermined number of times, and replaces the ink remaining inside the nozzle with new ink.

図3は、キャリッジ70、及び、関連する部材の詳細を示す斜視図であり、図4は、キャリッジ70、及び、関連する部材の詳細を示す側面図である。
図5は、キャリッジ70を移動させるキャリッジ移動機構71の斜視図である。
図3、4に示すように、キャリッジ70は、内部に印刷ヘッド10を収納するキャリッジ本体73を備えている。キャリッジ本体73の上面には、キャリッジ本体73に収納された印刷ヘッド10にアクセスするための開口が形成されている。キャリッジ本体73には、上面に形成された開口を塞ぐキャリッジカバー74が開閉自在に設けられている。
図3、4に示すように、印刷装置1は、主走査正方向G1、主走査逆方向G2に対応する方向に延びる2本のキャリッジ軸76a、76bを備えている。キャリッジ70は、これらキャリッジ軸76a、76bに沿って移動可能な状態で、これらキャリッジ軸76a、76bに支持されている。より詳細には、キャリッジ本体73において、主走査正方向G1に沿った一方(向かって右側)の側面には、キャリッジ軸76aが貫通する貫通孔77(図3)が形成されたキャリッジ支持部78が主走査正方向G1に離間して2つ設けられている。同様に、図示は省略するが、キャリッジ本体73において、主走査正方向G1に沿った他方(向かって左側)の側面には、キャリッジ軸76bが貫通する貫通孔77が形成されたキャリッジ支持部78が主走査正方向G1に離間して2つ設けられている。これら4つのキャリッジ支持部78により、キャリッジ本体73の上下方向、及び、前後方向の動きが規制された上で、主走査正方向G1又は主走査逆方向G2に移動可能な状態で、キャリッジ本体73が支持される。
FIG. 3 is a perspective view showing details of the carriage 70 and related members, and FIG. 4 is a side view showing details of the carriage 70 and related members.
FIG. 5 is a perspective view of a carriage moving mechanism 71 that moves the carriage 70.
As shown in FIGS. 3 and 4, the carriage 70 includes a carriage body 73 that houses the print head 10 therein. On the upper surface of the carriage body 73, an opening for accessing the print head 10 accommodated in the carriage body 73 is formed. The carriage body 73 is provided with a carriage cover 74 that closes an opening formed on the upper surface so as to be freely opened and closed.
As shown in FIGS. 3 and 4, the printing apparatus 1 includes two carriage shafts 76a and 76b extending in directions corresponding to the main scanning forward direction G1 and the main scanning reverse direction G2. The carriage 70 is supported by the carriage shafts 76a and 76b while being movable along the carriage shafts 76a and 76b. More specifically, in the carriage main body 73, a carriage support portion 78 in which a through hole 77 (FIG. 3) through which the carriage shaft 76a passes is formed on one (rightward) side surface along the main scanning positive direction G1. Are provided apart from each other in the main scanning positive direction G1. Similarly, although not shown, in the carriage main body 73, a carriage support portion 78 in which a through-hole 77 through which the carriage shaft 76b passes is formed on the other side surface (on the left side in the main scanning direction G1). Are provided apart from each other in the main scanning positive direction G1. The carriage main body 73 is movable in the main scanning forward direction G1 or the main scanning reverse direction G2 while the four carriage support portions 78 restrict the vertical and forward movements of the carriage main body 73. Is supported.

図3〜5に示すように、キャリッジ軸76aの下方には、第1プーリー80(特に、図5参照)と、第2プーリー81に巻き回された状態で、キャリッジ軸76aに沿って延在する無端ベルト82が設けられている。無端ベルト82は、第1プーリー80の回転に伴って、矢印B方向、又は、矢印C方向に移動する。キャリッジ本体73において、主走査正方向G1へ向かって右側の側面の中央下部には、無端ベルト82の一部に固定されたベルト固定部84が設けられている。無端ベルト82の移動に伴って、このベルト固定部84を介して、キャリッジ70が移動する。より詳細には、無端ベルト82が矢印B方向へ移動した場合、この移動に伴って、キャリッジ70は、主走査正方向G1へ向かって移動する。一方、無端ベルト82が矢印C方向へ移動した場合、この移動に伴って、キャリッジ70は、主走査逆方向G2へ向かって移動する。
図3、4に示すように、第1プーリー80に対応する位置には、キャリッジ移動機構71が設けられている。以下、キャリッジ移動機構71について詳述する。
3-5, below the carriage shaft 76a, it extends along the carriage shaft 76a while being wound around the first pulley 80 (particularly, see FIG. 5) and the second pulley 81. An endless belt 82 is provided. The endless belt 82 moves in the arrow B direction or the arrow C direction as the first pulley 80 rotates. In the carriage main body 73, a belt fixing portion 84 fixed to a part of the endless belt 82 is provided at the center lower portion of the right side surface in the main scanning positive direction G1. As the endless belt 82 moves, the carriage 70 moves through the belt fixing portion 84. More specifically, when the endless belt 82 moves in the arrow B direction, the carriage 70 moves in the main scanning positive direction G1 along with this movement. On the other hand, when the endless belt 82 moves in the arrow C direction, the carriage 70 moves in the main scanning reverse direction G2 along with this movement.
As shown in FIGS. 3 and 4, a carriage moving mechanism 71 is provided at a position corresponding to the first pulley 80. Hereinafter, the carriage moving mechanism 71 will be described in detail.

キャリッジ移動機構71は、無端ベルト82を移動させることにより、キャリッジ70を移動させる機構である。
キャリッジ移動機構71は、複数のギアを含んで構成された動力伝達機構79を備えている。
図5に示すように、動力伝達機構79は、駆動ギア86を含んで構成されている。駆動ギア86は、キャリッジ移動モーター66(図6)のモーター軸に設けられたピニオンである。本実施形態では、キャリッジ移動モーター66は、ステッピングモーターによって構成されている。後述するように、印刷装置1は、キャリッジ移動モーター66の駆動に応じて、キャリッジ70が移動する構成となっている。ステッピングモーターは、パルス信号によって精密に駆動制御を行うことができるため、キャリッジ移動モーター66をステッピングモーターによって構成することにより、キャリッジ70の位置決め制御を精密に行うことができる。
駆動ギア86には、二段ギア87の大ギア87aが噛み合っている。また、二段ギア87は、大ギア87aと同軸上に設けられた小ギア87bを備えており、この小ギア87bには、プーリー駆動ギア88が噛み合っている。
プーリー駆動ギア88は、第1プーリー80と同軸上で、第1プーリー80に固定されて設けられたギアである。プーリー駆動ギア88の回転に同期して第1プーリー80が駆動する。
キャリッジ移動モーター66の駆動に伴って、当該モーターのモーター軸が回転すると、このモーター軸に設けられた駆動ギア86が回転する。駆動ギア86の回転に応じて、駆動ギア86に噛み合った二段ギア87、及び、二段ギア87に噛み合ったプーリー駆動ギア88が、各ギアのギア比に応じて回転速度が調整されて回転する。そして、プーリー駆動ギア88の回転に同期して第1プーリー80が回転し、この回転に応じて無端ベルト82が回転方向に対応する方向に移動する。
The carriage moving mechanism 71 is a mechanism that moves the carriage 70 by moving the endless belt 82.
The carriage moving mechanism 71 includes a power transmission mechanism 79 that includes a plurality of gears.
As shown in FIG. 5, the power transmission mechanism 79 includes a drive gear 86. The drive gear 86 is a pinion provided on the motor shaft of the carriage movement motor 66 (FIG. 6). In the present embodiment, the carriage movement motor 66 is a stepping motor. As will be described later, the printing apparatus 1 is configured such that the carriage 70 moves in accordance with the driving of the carriage movement motor 66. Since the stepping motor can be precisely controlled by a pulse signal, the positioning of the carriage 70 can be precisely controlled by configuring the carriage moving motor 66 with the stepping motor.
A large gear 87 a of a two-stage gear 87 is engaged with the drive gear 86. The two-stage gear 87 includes a small gear 87b provided coaxially with the large gear 87a, and a pulley driving gear 88 is engaged with the small gear 87b.
The pulley drive gear 88 is a gear provided coaxially with the first pulley 80 and fixed to the first pulley 80. The first pulley 80 is driven in synchronization with the rotation of the pulley drive gear 88.
When the motor shaft of the motor rotates as the carriage movement motor 66 is driven, the drive gear 86 provided on the motor shaft rotates. In accordance with the rotation of the drive gear 86, the two-stage gear 87 meshed with the drive gear 86 and the pulley drive gear 88 meshed with the two-stage gear 87 are rotated with the rotation speed adjusted according to the gear ratio of each gear. To do. Then, the first pulley 80 rotates in synchronization with the rotation of the pulley drive gear 88, and the endless belt 82 moves in a direction corresponding to the rotation direction in accordance with this rotation.

また、図5に示すように、二段ギア87の大ギア87aには、中継ギア90が噛み合っており、この中継ギア90には、従動ギア91(回転体)が噛み合っている。従動ギア91は、キャリッジ移動モーター66の駆動に伴って、駆動ギア86、二段ギア87の大ギア87a、中継ギア90を介して、各ギアのギア比に応じて回転速度が調整されて回転する。
従動ギア91に対応する位置には、ロータリーエンコーダー92(エンコーダー)が設けられている。
このロータリーエンコーダー92は、光透過型エンコーダーである。ロータリーエンコーダー92は、従動ギア91の回転量を検出することにより、キャリッジ70の移動量を検出する。
以下、ロータリーエンコーダー92の構成について詳述する。ロータリーエンコーダー92は、ホイール93を備えている。このホイール93は、従動ギア91と同軸上に、従動ギア91に固定されて設けられており、従動ギア91の回転に同期して回転する。図示は省略するが、ホイール93の外縁には、周方向に等間隔でスリット部が設けられている。
また、ロータリーエンコーダー92は、光学処理部94を備えている。光学処理部94は、発光部96と、受光部97とを備えている。
発光部96は、LED等の光源を備えており、光源から光を発する。受光部97は、フォトダイオード等の受光素子を備え、発光部96が発した光を受光する。発光部96が発した光は、対応する位置に位置するホイール93のスリット部を介して、受光部97により受光される。
受光部97の検出値は、所定の信号処理回路に入力され、当該信号処理回路で処理され、2系統の方形波として、後述する信号処理回路61に入力される。
Further, as shown in FIG. 5, the relay gear 90 is engaged with the large gear 87 a of the two-stage gear 87, and the driven gear 91 (rotary body) is engaged with the relay gear 90. The driven gear 91 rotates with the rotation speed adjusted according to the gear ratio of each gear through the drive gear 86, the large gear 87a of the two-stage gear 87, and the relay gear 90 as the carriage movement motor 66 is driven. To do.
A rotary encoder 92 (encoder) is provided at a position corresponding to the driven gear 91.
The rotary encoder 92 is a light transmission encoder. The rotary encoder 92 detects the amount of movement of the carriage 70 by detecting the amount of rotation of the driven gear 91.
Hereinafter, the configuration of the rotary encoder 92 will be described in detail. The rotary encoder 92 includes a wheel 93. The wheel 93 is provided coaxially with the driven gear 91 and fixed to the driven gear 91, and rotates in synchronization with the rotation of the driven gear 91. Although not shown, slits are provided on the outer edge of the wheel 93 at equal intervals in the circumferential direction.
The rotary encoder 92 includes an optical processing unit 94. The optical processing unit 94 includes a light emitting unit 96 and a light receiving unit 97.
The light emitting unit 96 includes a light source such as an LED, and emits light from the light source. The light receiving unit 97 includes a light receiving element such as a photodiode, and receives light emitted from the light emitting unit 96. The light emitted from the light emitting unit 96 is received by the light receiving unit 97 through the slit portion of the wheel 93 located at the corresponding position.
The detection value of the light receiving unit 97 is input to a predetermined signal processing circuit, processed by the signal processing circuit, and input to a signal processing circuit 61 described later as two types of square waves.

図6は、印刷装置1の機能的構成を示すブロック図である。
図6に示すように、印刷装置1は、ホストPC5と接続されており、これら装置により印刷システム2が構成されている。
ホストPC5は、印刷装置1の制御に係るアプリケーション、プリンタードライバーがインストールされ、これらプログラムの機能により、印刷装置1に制御コマンドを送信して、印刷装置1を制御する。
FIG. 6 is a block diagram illustrating a functional configuration of the printing apparatus 1.
As shown in FIG. 6, the printing apparatus 1 is connected to a host PC 5, and the printing system 2 is configured by these apparatuses.
The host PC 5 is installed with an application and a printer driver related to the control of the printing apparatus 1, and controls the printing apparatus 1 by transmitting a control command to the printing apparatus 1 using the functions of these programs.

図6に示すように、印刷装置1は、印刷装置1の各部を制御する制御部50を備えている。制御部50には、ホストPC5に接続されるI/F(インターフェイス)51及び記憶部52が接続されている。I/F51は、ホストPC5との間で有線または無線接続される。
制御部50は、図示しない演算実行部としてのCPUや、ROM、RAM等を備えている。制御部50のROMには、CPUによって実行可能なファームウェア、ファームウェアに係るデータ等が不揮発的に記憶される。また、RAMにはCPUが実行するファームウェアに係るデータ等が一時的に記憶される。制御部50は、その他の周辺回路等を備えていてもよい。記憶部52は、各種のプログラムやデータを不揮発的に記憶する。記憶部52には、制御部50が実行する制御プログラム、これら制御プログラムに関するデータ、印刷装置1がホストPC5から受信したコマンドやデータを記憶する。
制御部50には、スイッチパネル(図示略)に設けられた操作スイッチ54の操作を検出する操作検出部55が接続されている。操作スイッチ54は、例えば、印刷装置1の搬送動作を指示する紙送りスイッチ、カッターユニット37の動作を指示するカットスイッチ、各種設定を行う設定用スイッチ等である。
また、制御部50には、用紙検出器19の検出値を取得するセンサー駆動部56が接続されている。センサー駆動部56は、制御部50の制御に従って、用紙検出器19に駆動用の電力を供給して発光させ、用紙検出器19が受光量に応じて出力する検出電圧を取得して、検出電圧を示す検出値を制御部50に出力する。
As illustrated in FIG. 6, the printing apparatus 1 includes a control unit 50 that controls each unit of the printing apparatus 1. An I / F (interface) 51 and a storage unit 52 connected to the host PC 5 are connected to the control unit 50. The I / F 51 is wired or wirelessly connected to the host PC 5.
The control unit 50 includes a CPU, a ROM, a RAM, and the like as a calculation execution unit (not shown). In the ROM of the control unit 50, firmware executable by the CPU, data related to the firmware, and the like are stored in a nonvolatile manner. The RAM temporarily stores data related to firmware executed by the CPU. The control unit 50 may include other peripheral circuits. The storage unit 52 stores various programs and data in a nonvolatile manner. The storage unit 52 stores control programs executed by the control unit 50, data related to these control programs, and commands and data received by the printing apparatus 1 from the host PC 5.
An operation detection unit 55 that detects an operation of an operation switch 54 provided on a switch panel (not shown) is connected to the control unit 50. The operation switch 54 is, for example, a paper feed switch for instructing a transport operation of the printing apparatus 1, a cut switch for instructing an operation of the cutter unit 37, a setting switch for performing various settings, and the like.
In addition, a sensor driving unit 56 that acquires a detection value of the paper detector 19 is connected to the control unit 50. Under the control of the control unit 50, the sensor driving unit 56 supplies driving power to the paper detector 19 to emit light, acquires the detection voltage output by the paper detector 19 according to the amount of received light, and detects the detection voltage. Is output to the control unit 50.

また、制御部50には、信号処理回路59が接続されており、この信号処理回路59には、ロータリーエンコーダー60が接続されている。ロータリーエンコーダー60は、印刷媒体の搬送方向、搬送速度の検出に利用されるロータリーエンコーダーである。信号処理回路59は、ロータリーエンコーダー60の検出値に対して所定の信号処理を施して、制御部50に出力する。制御部50は、図示せぬエンコーダーカウンターと協働して、信号処理回路59からの入力値に基づいて印刷媒体の搬送方向、搬送速度を検出する。
また、制御部50には、信号処理回路63が接続されており、この信号処理回路63には、ロータリーエンコーダー62が接続されている。ロータリーエンコーダー62は、テンションレバー13の回転角度の検出に利用されるロータリーエンコーダーである。信号処理回路63は、ロータリーエンコーダー62の検出値に対して所定の信号処理を施して、制御部50に出力する。制御部50は、図示せぬエンコーダーカウンターと協働して、信号処理回路63からの入力値に基づいて、テンションレバー13の回転角度を検出する。
ロータリーエンコーダー92、及び、信号処理回路61については後述する。
Further, a signal processing circuit 59 is connected to the control unit 50, and a rotary encoder 60 is connected to the signal processing circuit 59. The rotary encoder 60 is a rotary encoder that is used to detect the conveyance direction and conveyance speed of the print medium. The signal processing circuit 59 performs predetermined signal processing on the detection value of the rotary encoder 60 and outputs the result to the control unit 50. The control unit 50 cooperates with an encoder counter (not shown) to detect the conveyance direction and conveyance speed of the print medium based on the input value from the signal processing circuit 59.
A signal processing circuit 63 is connected to the control unit 50, and a rotary encoder 62 is connected to the signal processing circuit 63. The rotary encoder 62 is a rotary encoder used for detecting the rotation angle of the tension lever 13. The signal processing circuit 63 performs predetermined signal processing on the detection value of the rotary encoder 62 and outputs the result to the control unit 50. The control unit 50 detects the rotation angle of the tension lever 13 based on the input value from the signal processing circuit 63 in cooperation with an encoder counter (not shown).
The rotary encoder 92 and the signal processing circuit 61 will be described later.

図6に示すように、制御部50には、搬送モーター31、搬送モーター64、カッター駆動モーター65、及び、キャリッジ移動モーター66を駆動するモータードライバー67が接続されている。
上述したように、搬送モーター31は、搬送ベルト30を移動させることにより、印刷媒体を搬送するモーターである。搬送モーター31は、ブラシレスDCモーターにより構成されている。制御部50は、モータードライバー67を制御して、モータードライバー67から搬送モーター31に駆動電流を供給し、搬送モーター31を駆動する。
また上述したように、搬送モーター64は、ロール紙本体R1の芯R3に嵌め込まれたロール紙回転軸9を回転させることにより、ロール紙本体R1を回転させるモーターである。ロール紙本体R1が搬送方向Fに準じる方向に回転した場合、ロール紙本体R1から搬送ロール紙R2が引き出される。一方、ロール紙本体R1が搬送方向Fに準じる方向と逆方向に回転した場合、搬送ロール紙R2がロール紙本体R1に引き込まれる。搬送モーター64は、ブラシレスDCモーターにより構成されている。制御部50は、モータードライバー67を制御して、モータードライバー67から搬送モーター64に駆動電流を供給し、搬送モーター64を駆動する。
また上述したように、カッター駆動モーター65は、カッターユニット37の可動刃を移動させて、印刷媒体をカットするモーターである。カッター駆動モーター65は、ステッピングモーターにより構成されている。制御部50は、モータードライバー67を制御して、モータードライバー67からカッター駆動モーター65に駆動パルスを出力し、カッター駆動モーター65を駆動する。
キャリッジ移動モーター66については後述する。
As shown in FIG. 6, a motor driver 67 that drives the transport motor 31, the transport motor 64, the cutter drive motor 65, and the carriage movement motor 66 is connected to the control unit 50.
As described above, the transport motor 31 is a motor that transports the print medium by moving the transport belt 30. The conveyance motor 31 is configured by a brushless DC motor. The control unit 50 controls the motor driver 67 to supply a drive current from the motor driver 67 to the transport motor 31 to drive the transport motor 31.
Further, as described above, the transport motor 64 is a motor that rotates the roll paper body R1 by rotating the roll paper rotation shaft 9 fitted in the core R3 of the roll paper body R1. When the roll paper main body R1 rotates in a direction according to the conveyance direction F, the conveyance roll paper R2 is pulled out from the roll paper main body R1. On the other hand, when the roll paper main body R1 rotates in the direction opposite to the direction according to the conveyance direction F, the conveyance roll paper R2 is drawn into the roll paper main body R1. The conveyance motor 64 is configured by a brushless DC motor. The control unit 50 controls the motor driver 67 to supply a drive current from the motor driver 67 to the transport motor 64 to drive the transport motor 64.
As described above, the cutter drive motor 65 is a motor that moves the movable blade of the cutter unit 37 to cut the print medium. The cutter drive motor 65 is configured by a stepping motor. The control unit 50 controls the motor driver 67 to output a driving pulse from the motor driver 67 to the cutter driving motor 65 to drive the cutter driving motor 65.
The carriage movement motor 66 will be described later.

また、制御部50には、印刷ヘッド10を駆動するヘッドドライバー68が接続される。制御部50は、ヘッドドライバー68を制御して、印刷ヘッド10にインクタンク(図示略)からインクを供給するポンプ(図示略)や、印刷ヘッド10のノズル部24〜27に設けられたピエゾ素子(図示略)に電圧を供給して、これらを動作させる。これにより、ノズル部24〜27の各ノズルからインク滴が吐出されてドットが形成される。
印刷媒体への画像の印刷に伴う印刷媒体の搬送中、制御部50は、用紙検出器19の検出値、その他のセンサーの検出値に基づいて、搬送経路Hにおける印刷媒体の位置を検出する。また、制御部50は、ロータリーエンコーダー60の検出値に基づいて印刷媒体の搬送速度を監視する。また、制御部50は、ロータリーエンコーダー62の検出値により検出したテンションレバー13の回転角度に基づいて、印刷媒体の搬送速度が適切か否かを監視し、搬送速度の調整を行う。
In addition, a head driver 68 that drives the print head 10 is connected to the control unit 50. The control unit 50 controls the head driver 68 to supply ink to the print head 10 from an ink tank (not shown) and a piezo element provided in the nozzle units 24 to 27 of the print head 10. A voltage is supplied to (not shown) to operate them. Thereby, ink droplets are ejected from the nozzles of the nozzle portions 24 to 27 to form dots.
During the conveyance of the print medium accompanying the printing of the image on the print medium, the control unit 50 detects the position of the print medium in the conveyance path H based on the detection value of the paper detector 19 and the detection values of other sensors. Further, the control unit 50 monitors the conveyance speed of the print medium based on the detection value of the rotary encoder 60. In addition, the control unit 50 monitors whether or not the conveyance speed of the print medium is appropriate based on the rotation angle of the tension lever 13 detected by the detection value of the rotary encoder 62, and adjusts the conveyance speed.

次いで、ロータリーエンコーダー92、及び、キャリッジ移動モーター66について詳述する。
上述したように、キャリッジ移動モーター66は、ステッピングモーターにより構成されている。従って、キャリッジ移動モーター66は、パルス電力に同期して駆動する。すなわち、キャリッジ移動モーター66のモーター軸は、1のパルス信号の入力に応じて、1ステップ角(例えば、「0.72°(0.72度)」)、回転する。以下の説明では、キャリッジ移動モーター66について、1のパルス信号の入力に応じてモーター軸が1ステップ角回転することを、適宜、「キャリッジ移動モーター66が1ステップ分駆動する」と表現する。また、制御部50が、キャリッジ移動モーター66にパルス信号を出力して、当該モーターを1ステップ角回転させることを、適宜、「キャリッジ移動モーター66を1ステップ分駆動させる」と表現する。
また、以下の説明では、駆動ギア86の回転方向について、無端ベルト82を矢印B方向に移動させる回転方向を、「第1正方向」(図5参照)と表現する。無端ベルト82の矢印B方向への移動に伴って、キャリッジ70は、印刷ポジションPPへ向かって移動する。また、駆動ギア86の回転方向について、無端ベルト82を矢印C方向に移動させる回転方向を「第1逆方向」(図5参照)と表現する。無端ベルト82の矢印C方向への移動に伴って、キャリッジ70は、ホームポジションHPへ向かって移動する。
また、従動ギア91の回転方向について、無端ベルト82の矢印B方向への移動に伴って回転するときの回転方向を「第2正方向」(図5参照)と表現する。また、従動ギア91の回転方向について、無端ベルト82の矢印C方向への移動に伴って回転するときの回転方向を「第2逆方向」(図5参照)と表現する。
Next, the rotary encoder 92 and the carriage movement motor 66 will be described in detail.
As described above, the carriage movement motor 66 is composed of a stepping motor. Accordingly, the carriage movement motor 66 is driven in synchronization with the pulse power. That is, the motor shaft of the carriage movement motor 66 rotates by one step angle (for example, “0.72 ° (0.72 degrees)”) in response to the input of one pulse signal. In the following description, the rotation of the motor shaft by one step angle in response to the input of one pulse signal for the carriage movement motor 66 is appropriately expressed as “the carriage movement motor 66 is driven by one step”. Further, outputting the pulse signal to the carriage movement motor 66 and rotating the motor by one step angle is appropriately expressed as “driving the carriage movement motor 66 by one step” as appropriate.
Further, in the following description, the rotational direction in which the endless belt 82 is moved in the arrow B direction with respect to the rotational direction of the drive gear 86 is expressed as a “first positive direction” (see FIG. 5). As the endless belt 82 moves in the direction of arrow B, the carriage 70 moves toward the printing position PP. Further, regarding the rotation direction of the drive gear 86, the rotation direction in which the endless belt 82 is moved in the direction of arrow C is expressed as “first reverse direction” (see FIG. 5). As the endless belt 82 moves in the direction of arrow C, the carriage 70 moves toward the home position HP.
In addition, regarding the rotation direction of the driven gear 91, the rotation direction when the endless belt 82 rotates in accordance with the movement in the arrow B direction is expressed as a “second positive direction” (see FIG. 5). Further, with respect to the rotation direction of the driven gear 91, the rotation direction when rotating with the movement of the endless belt 82 in the arrow C direction is expressed as "second reverse direction" (see FIG. 5).

ここで、上述したように、ロータリーエンコーダー92の検出値は、信号処理回路61によって所定の信号処理が施された上で、制御部50に入力される。そして、制御部50は、ロータリーエンコーダー92の検出値に基づいて、従動ギア91の回転量を検出する。ここで、従動ギア91は、第1プーリー80の回転に伴って回転するため、制御部50は、従動ギア91の回転量を検出することにより、キャリッジ70の移動量を検出している。
本実施形態では、従動ギア91の回転量は、所定の単位(便宜的に単位を「ep」と表現する。)の整数値として表される。回転量を示す値は、従動ギア91が、第2正方向に角度A1、回転する度に、その値が「1(ep)」ずつ増加する。一方、従動ギア91が、第2逆方向に角度A1、回転する度に、その値が「1(ep)」ずつ減少する。
特に、本実施形態では、キャリッジ70(=無端ベルト82)が、印刷ポジションPPへ向かう方向へ「0.08mm」移動した場合に、当該移動に応じて従動ギア91が第2正方向に「角度A1×3」、回転する構成となっている。この結果、キャリッジ70の印刷ポジションPPへ向かう方向への「0.08mm」の移動に伴って、制御部50が検出する従動ギア91の回転量を示す値が、「3(ep)」増加する。一方、キャリッジ70が、ホームポジションHPへ向かう方向へ「0.08mm」移動した場合に、当該移動に応じて従動ギア91が第2逆方向に「角度A1×3」度、回転する構成となっている。この結果、制御部50が検出する従動ギア91の回転量を示す値が、「3ep」減少する。
Here, as described above, the detection value of the rotary encoder 92 is input to the control unit 50 after being subjected to predetermined signal processing by the signal processing circuit 61. Then, the control unit 50 detects the rotation amount of the driven gear 91 based on the detection value of the rotary encoder 92. Here, since the driven gear 91 rotates with the rotation of the first pulley 80, the control unit 50 detects the amount of movement of the carriage 70 by detecting the amount of rotation of the driven gear 91.
In the present embodiment, the amount of rotation of the driven gear 91 is expressed as an integer value in a predetermined unit (for convenience, the unit is expressed as “ep”). The value indicating the amount of rotation increases by “1 (ep)” each time the driven gear 91 rotates by an angle A1 in the second positive direction. On the other hand, every time the driven gear 91 rotates by the angle A1 in the second reverse direction, the value decreases by “1 (ep)”.
In particular, in the present embodiment, when the carriage 70 (= endless belt 82) moves “0.08 mm” in the direction toward the printing position PP, the driven gear 91 moves in the second positive direction according to the movement by “angle”. “A1 × 3” is configured to rotate. As a result, as the carriage 70 moves “0.08 mm” in the direction toward the printing position PP, the value indicating the rotation amount of the driven gear 91 detected by the control unit 50 increases by “3 (ep)”. . On the other hand, when the carriage 70 moves “0.08 mm” in the direction toward the home position HP, the driven gear 91 rotates in the second reverse direction by “angle A1 × 3” degrees in accordance with the movement. ing. As a result, the value indicating the rotation amount of the driven gear 91 detected by the control unit 50 decreases by “3 ep”.

また、本実施形態では、キャリッジ移動モーター66が脱調していない状態で、当該モーターが第1正方向に1ステップ角回転した場合の、キャリッジ70の移動量(=無端ベルト82の移動量)は、「0.08mm」となっている。キャリッジ移動モーター66が第1逆方向に1ステップ角回転した場合のキャリッジ70の移動量も「0.08mm」である。
従って、キャリッジ移動モーター66が脱調していない状態のときに、制御部50が、キャリッジ移動モーター66に、第1正方向へ回転させるためのパルス信号を1つ出力すると、キャリッジ70が、印刷ポジションPPへ向かって「0.08mm」移動する。そして、この移動に伴って、制御部50が検出する従動ギア91の回転量を示す値が、「3ep」増加する。
このように、キャリッジ移動モーター66の1ステップ分の駆動に伴って、検出される従動ギア91の回転量が、「3ep」増加するが、この増加分の「3ep」が、「第1回転量」に該当する。
なお、動力伝達機構79の各ギアのギア比は、上記構成を実現するギア比となっている。すなわち、動力伝達機構79の各ギアのギア比は、キャリッジ移動モーター66の1ステップ分の駆動に応じて、キャリッジ70を所定方向に「0.08mm」移動させるギア比となっている。また、動力伝達機構79の各ギアのギア比は、キャリッジ70の「0.08mm」の移動に伴って、従動ギア91を、所定方向に「角度A1×3」度、回転させるギア比となっている。
Further, in the present embodiment, the amount of movement of the carriage 70 (= the amount of movement of the endless belt 82) when the motor is rotated by one step angle in the first positive direction with the carriage moving motor 66 not stepping out. Is “0.08 mm”. The amount of movement of the carriage 70 when the carriage movement motor 66 rotates by one step angle in the first reverse direction is also “0.08 mm”.
Therefore, when the carriage moving motor 66 is not out of step, the control unit 50 outputs one pulse signal for rotating the carriage moving motor 66 in the first positive direction. It moves “0.08 mm” toward the position PP. Along with this movement, the value indicating the amount of rotation of the driven gear 91 detected by the control unit 50 increases by “3 ep”.
Thus, as the carriage movement motor 66 is driven for one step, the detected rotation amount of the driven gear 91 increases by “3 ep”, but this increase “3 ep” is the “first rotation amount”. It corresponds to.
The gear ratio of each gear of the power transmission mechanism 79 is a gear ratio that realizes the above configuration. That is, the gear ratio of each gear of the power transmission mechanism 79 is a gear ratio for moving the carriage 70 “0.08 mm” in a predetermined direction in accordance with the driving of the carriage moving motor 66 for one step. The gear ratio of each gear of the power transmission mechanism 79 is a gear ratio for rotating the driven gear 91 by “angle A1 × 3” degrees in a predetermined direction as the carriage 70 moves by “0.08 mm”. ing.

ところで、本実施形態に係る印刷装置1は、キャリッジ移動モーター66がステッピングモーターにより構成されている。この構成により、キャリッジ70の精密な位置制御が可能である。
そして、印刷装置1は、キャリッジ移動モーター66の脱調を検出する機能を有している。印刷装置1は、脱調を検出するときの動作モードとして、動作モードD1と、動作モードD2とを備えている。ユーザーは、動作モードD1と動作モードD2を同時に適用することも、また、動作モードを切り換えて適用することも可能である。
以下、まず、動作モードD1において印刷装置1が脱調を検出するときの動作について説明する。
Incidentally, in the printing apparatus 1 according to the present embodiment, the carriage movement motor 66 is configured by a stepping motor. With this configuration, precise position control of the carriage 70 is possible.
The printing apparatus 1 has a function of detecting step out of the carriage movement motor 66. The printing apparatus 1 includes an operation mode D1 and an operation mode D2 as operation modes when detecting step-out. The user can apply the operation mode D1 and the operation mode D2 at the same time, or switch the operation mode and apply it.
Hereinafter, first, an operation when the printing apparatus 1 detects a step-out in the operation mode D1 will be described.

図7は、動作モードD1における印刷装置1の動作を示すフローチャートである。
動作モードD1は、キャリッジ移動モーター66に所定数n(n≧1の整数)のパルス信号を出力し、当該モーターをnステップ分駆動する度に、そのnステップ分の脱調の検出を実行する動作モードである。本実施形態では、n=2の場合を示す。
動作モードD1において、制御部50は、キャリッジ70を、ホームポジションHPから、印刷ポジションPPへ移動する際に、図7のフローチャートが示す処理を実行する。
図7に示すように、制御部50は、キャリッジ70を、印刷ポジションPPへ向かって移動させるべく、モータードライバー67を制御して、キャリッジ移動モーター66に2つ(n=2)のパルス信号を出力する(ステップSA1)。以下の説明では、キャリッジ移動モーター66へ入力されるパルス信号は、駆動ギア86を第1正方向へ回転させるためのパルス信号であるものとする。
上述したように、キャリッジ移動モーター66が脱調していない場合は、2(2つ)のパルス信号の出力に伴って、検出される従動ギア91の回転量を示す値が、「3×2(ep)」、増加すると予測される。この増加すると予測される「3×2(ep)」分の回転量が、「回転体の予測回転量」に該当する。
次いで、制御部50は、ロータリーエンコーダー92の検出値に基づいて、ステップSA1における2つのパルス信号の出力に伴って、従動ギア91の回転量を示す値が、どれだけ増加したかを取得する(ステップSA2)。ここで検出された増加分の回転量が、「エンコーダーによって検出された回転体の回転量」に該当する。すなわち、ステップSA2で検出した値は、キャリッジ70の実際の移動量に対応する回転量である。
次いで、制御部50は、ステップSA2で検出した値が、「3×2(ep)」(予測回転量)にマージンを反映した値、未満であるか否かを判別する(ステップSA3)。本例では、予測回転量の1/3の値を、予測回転量にマージンを反映した値とする。なお、予測回転量に対するマージンの反映のさせ方は、これに限らないが、キャリッジ70の実際の位置決めの許容値、後述の動作モード2のマージン等に基づくものである。例えば、予測回転量から所定の値(例えば、「2」)減算した値を、予測回転量にマージンを反映した値としてもよい。また、マージンを反映しなくてもよい。
キャリッジ移動モーター66が脱調している場合、キャリッジ70の搬送が正常に行われず、ステップSA2で検出した値が、予測回転量にマージンを反映した値(本例では、3×2×1/3=2(ep))を下回る可能性がある。これを踏まえ、本実施形態では、ステップSA2で検出した値が「3×2×1/3=2(ep)」未満の場合に脱調であると判断する。
FIG. 7 is a flowchart showing the operation of the printing apparatus 1 in the operation mode D1.
In the operation mode D1, a predetermined number n (an integer of n ≧ 1) pulse signals are output to the carriage movement motor 66, and every time the motor is driven for n steps, the step-out detection for the n steps is executed. It is an operation mode. In this embodiment, a case where n = 2 is shown.
In the operation mode D1, the control unit 50 executes the process shown in the flowchart of FIG. 7 when moving the carriage 70 from the home position HP to the print position PP.
As shown in FIG. 7, the control unit 50 controls the motor driver 67 so as to move the carriage 70 toward the printing position PP, and outputs two (n = 2) pulse signals to the carriage movement motor 66. Output (step SA1). In the following description, it is assumed that the pulse signal input to the carriage movement motor 66 is a pulse signal for rotating the drive gear 86 in the first positive direction.
As described above, when the carriage movement motor 66 is not out of step, the value indicating the rotation amount of the driven gear 91 detected with the output of 2 (two) pulse signals is “3 × 2”. (Ep) ", expected to increase. The amount of rotation “3 × 2 (ep)” predicted to increase corresponds to the “predicted amount of rotation of the rotating body”.
Next, the control unit 50 obtains how much the value indicating the rotation amount of the driven gear 91 has increased with the output of the two pulse signals in step SA1 based on the detection value of the rotary encoder 92 ( Step SA2). The amount of rotation detected for the increase corresponds to “the amount of rotation of the rotating body detected by the encoder”. That is, the value detected in step SA2 is the rotation amount corresponding to the actual movement amount of the carriage 70.
Next, the control unit 50 determines whether or not the value detected in Step SA2 is less than “3 × 2 (ep)” (predicted rotation amount) that reflects the margin (Step SA3). In this example, a value that is 1/3 of the predicted rotation amount is a value that reflects a margin in the predicted rotation amount. The method of reflecting the margin with respect to the predicted rotation amount is not limited to this, but is based on the actual positioning tolerance of the carriage 70, the margin of the operation mode 2 described later, and the like. For example, a value obtained by subtracting a predetermined value (for example, “2”) from the predicted rotation amount may be a value reflecting a margin in the predicted rotation amount. Also, the margin need not be reflected.
When the carriage movement motor 66 is out of step, the carriage 70 is not transported normally, and the value detected in step SA2 reflects the margin in the predicted rotation amount (in this example, 3 × 2 × 1 / 3 = 2 (ep)). Based on this, in the present embodiment, it is determined that the step-out has occurred when the value detected in step SA2 is less than “3 × 2 × 1/3 = 2 (ep)”.

ステップSA2で検出した値が、「2(ep)」未満でない場合(ステップSA3:NO)、脱調が発生していないと判断し、制御部50は、キャリッジ70の、印刷ポジションPPへの移動が完了したか否かを判別する(ステップSA4)。上記判別は、例えば、以下のようにして行われる。すなわち、キャリッジ70が印刷ポジションPPへ位置していることを検出するセンサーを設け、制御部50は、当該センサーの検出値に基づいて、上記判別を行う。また例えば、キャリッジ70をホームポジションHPから印刷ポジションPPへ移動させるために必要なパルス信号の出力数が事前に設定されており、制御部50は、当該出力数分のパルス信号の出力が完了したか否かを判別することによって、上記判別を行う。
キャリッジ70の印刷ポジションPPへの移動が完了した場合(ステップSA4:YES)、制御部50は、処理を終了する。一方、キャリッジ70の印刷ポジションPPへの移動が完了していない場合(ステップSA4:NO)、制御部50は、処理手順をステップSA1へ戻し、キャリッジ移動モーター66に2のパルス信号を出力する。
If the value detected in step SA2 is not less than “2 (ep)” (step SA3: NO), it is determined that no step-out has occurred, and the control unit 50 moves the carriage 70 to the print position PP. Is determined (step SA4). The determination is performed as follows, for example. That is, a sensor that detects that the carriage 70 is positioned at the print position PP is provided, and the control unit 50 performs the above determination based on the detection value of the sensor. Further, for example, the number of pulse signals necessary for moving the carriage 70 from the home position HP to the printing position PP is set in advance, and the control unit 50 has completed the output of the pulse signals for the number of outputs. The above determination is made by determining whether or not.
When the movement of the carriage 70 to the print position PP is completed (step SA4: YES), the control unit 50 ends the process. On the other hand, when the movement of the carriage 70 to the printing position PP has not been completed (step SA4: NO), the control unit 50 returns the processing procedure to step SA1 and outputs a pulse signal of 2 to the carriage movement motor 66.

一方、ステップSA3において、ステップSA2で検出した値が、「3×2×1/3=2(ep)」未満の場合(ステップSA3:YES)、制御部50は、キャリッジ移動モーター66が脱調している可能性があると判別する(ステップSA5)。次いで、制御部50は、キャリッジ移動モーター66が脱調している可能性がある場合に行うべき処理として定められている処理を実行する(ステップSA6)。例えば、制御部50は、キャリッジ70の移動を停止し、図示せぬLEDや、表示パネルを駆動して、キャリッジ移動モーター66が脱調している可能性がある旨、ユーザーに対して報知する。また例えば、制御部50は、ホストPC5に対して、所定のデータを送信する。当該データを受信したホストPC5は、印刷装置1に対する制御コマンドの出力を一時停止すると共に、自身が有する表示パネル等を利用して、キャリッジ移動モーター66が脱調している可能性がある旨、ユーザーに対して報知する。
このように、動作モードD1では、キャリッジ移動モーター66が2ステップ分駆動する度に、2ステップ分の脱調の検出が実行される。このため、実際に脱調が起こった場合には、そのことを迅速に検出可能である。
On the other hand, if the value detected in step SA2 is less than “3 × 2 × 1/3 = 2 (ep)” in step SA3 (step SA3: YES), the controller 50 causes the carriage movement motor 66 to step out. (Step SA5). Next, the control unit 50 executes a process defined as a process to be performed when there is a possibility that the carriage movement motor 66 has stepped out (step SA6). For example, the control unit 50 stops the movement of the carriage 70 and drives an LED or a display panel (not shown) to notify the user that the carriage movement motor 66 may be out of step. . For example, the control unit 50 transmits predetermined data to the host PC 5. The host PC 5 that has received the data temporarily stops the output of the control command to the printing apparatus 1 and uses the display panel or the like of the host PC 5 to indicate that there is a possibility that the carriage movement motor 66 has stepped out. Inform the user.
Thus, in the operation mode D1, detection of step-out for two steps is executed every time the carriage movement motor 66 is driven for two steps. For this reason, when step-out actually occurs, it can be detected quickly.

以上、動作モードD1における印刷装置1の動作を図7のフローチャートを用いて説明した。
また、キャリッジ移動モーター66の駆動の開始後の第1の所定の期間、及び、キャリッジ移動モーター66の駆動の終了前の第2の所定の期間においては、キャリッジ移動モーター66の脱調の検出を行わないようにしてもよい。
第1の所定の期間とは、例えば、キャリッジ移動モーター66の最初の1ステップ分の駆動を1ステップ目とした場合に、1ステップ目〜25ステップ目の期間である。また、第2の所定期間とは、例えば、キャリッジ移動モーター66の最後の1ステップ分の駆動をXステップ目とした場合に、(X−25)ステップ目〜Xステップ目の期間である。このような構成とすることにより、ギアバックラッシュの影響を排除してキャリッジ移動モーター66の脱調を検出できる。
The operation of the printing apparatus 1 in the operation mode D1 has been described above using the flowchart of FIG.
Further, in the first predetermined period after the driving of the carriage movement motor 66 is started and in the second predetermined period before the end of the driving of the carriage movement motor 66, the step-out of the carriage movement motor 66 is detected. It may not be performed.
The first predetermined period is, for example, a period from the first step to the 25th step when driving for the first step of the carriage movement motor 66 is the first step. The second predetermined period is, for example, a period from the (X-25) th step to the X step when the last one step of the carriage movement motor 66 is driven as the X step. With such a configuration, it is possible to detect the step-out of the carriage movement motor 66 by eliminating the influence of the gear backlash.

次いで、動作モードD2における印刷装置1の動作について説明する。
動作モードD2は、動作モードD1のnステップ分よりも大きいkステップ分(k>n)の脱調を検出するモードである。
動作モードD2において、制御部50は、キャリッジ70を、ホームポジションHPから、印刷ポジションPPへ移動する際に、以下説明する脱調の検出を実行する。
Next, the operation of the printing apparatus 1 in the operation mode D2 will be described.
The operation mode D2 is a mode for detecting step out of k steps (k> n) larger than the n steps of the operation mode D1.
In the operation mode D2, when the carriage 70 moves from the home position HP to the print position PP, the step-out detection described below is executed.

図8は、k(だだし、kは、正の整数)パルス目のパルス信号の出力のタイミングで脱調の検出を行う場合において、kパルス目のパルス信号を出力した場合の印刷装置1の動作を示すフローチャートである。
図8に示すように、制御部50は、キャリッジ70を、印刷ポジションPPへ向かって移動させるべく、モータードライバー67を制御して、キャリッジ移動モーター66にkパルス目のパルス信号を出力する(ステップSB1)。
次いで、制御部50は、所定期間の1パルス目〜kパルス目のパルス信号の出力に応じて検出された、すなわち、kステップ分の従動ギア91の累積の回転量を取得する(ステップSB2)。なお、制御部50は、従動ギア91の累積の回転量を、RAM等のワークエリアの所定の記憶領域に記憶する。
上述したように、キャリッジ移動モーター66が脱調していない場合は、kパルス分のパルス信号の出力に伴って、従動ギア91の回転量を示す値が、「3×k(ep)」増加すると予測される。この増加すると予測される「3×k(ep)」分の回転量が、「回転体の予測回転量」に該当する。
次いで、制御部50は、ステップSB2で検出した値が、「3×k(ep)」(予測回転量)にマージンを反映した値、未満であるか否かを判別する(ステップSB3)。本例では、予測回転量から「9」減算した値を、予測回転量にマージンを反映した値とする。すなわち、予想回転量にマージンを反映した値は、「3×k−9(ep)」である。なお、予測回転量に対するマージンの反映のさせ方は、これに限らないが、キャリッジ70の実際の位置決めの許容値、前述の動作モード1のマージン等に基づくものである。また、マージンを反映しなくてもよい。
キャリッジ移動モーター66が脱調している場合、キャリッジ70の搬送が正常に行われず、ステップSB2で検出した値が、予測回転量にマージンを反映した値(本例では、3×k−9(ep))を下回る可能性がある。これを踏まえ、本実施形態では、ステップSA2で検出した値が「3×k−9(ep)」未満の場合に脱調であると判断する。
FIG. 8 shows the printing apparatus 1 in the case where the step-out detection is performed at the output timing of the pulse signal of the kth pulse (where k is a positive integer) and the pulse signal of the kth pulse is output. It is a flowchart which shows operation | movement.
As shown in FIG. 8, the control unit 50 controls the motor driver 67 so as to move the carriage 70 toward the printing position PP, and outputs a k-th pulse signal to the carriage movement motor 66 (step). SB1).
Next, the control unit 50 acquires the accumulated rotation amount of the driven gear 91 for k steps, which is detected according to the output of the pulse signal of the first pulse to the k-th pulse in a predetermined period (step SB2). . The control unit 50 stores the accumulated rotation amount of the driven gear 91 in a predetermined storage area of a work area such as a RAM.
As described above, when the carriage movement motor 66 has not stepped out, the value indicating the rotation amount of the driven gear 91 increases by “3 × k (ep)” with the output of the pulse signal for k pulses. That is expected. The amount of rotation “3 × k (ep)” that is predicted to increase corresponds to the “predicted amount of rotation of the rotating body”.
Next, the control unit 50 determines whether or not the value detected in step SB2 is less than a value that reflects the margin in “3 × k (ep)” (predicted rotation amount) (step SB3). In this example, a value obtained by subtracting “9” from the predicted rotation amount is set to a value reflecting a margin in the predicted rotation amount. That is, the value reflecting the margin in the expected rotation amount is “3 × k−9 (ep)”. The method of reflecting the margin with respect to the predicted rotation amount is not limited to this, but is based on the actual positioning tolerance of the carriage 70, the margin of the operation mode 1 described above, and the like. Also, the margin need not be reflected.
When the carriage movement motor 66 is out of step, the carriage 70 is not normally conveyed, and the value detected in step SB2 reflects a margin in the predicted rotation amount (in this example, 3 × k−9 ( ep)). Based on this, in the present embodiment, it is determined that the step-out has occurred when the value detected in step SA2 is less than “3 × k−9 (ep)”.

ステップSB3において、ステップSB2で検出した値が、「3×k−9(ep)」未満でない場合(ステップSB3:NO)、脱調が検出されなかったため、制御部50は、動作モード2の脱調検出の処理を終了する。
一方、ステップSB3において、ステップSB2で検出した値が、「3×k−9(ep)」未満である場合(ステップSB3:YES)、制御部50は、キャリッジ移動モーター66が脱調している可能性があると判別する(ステップSB4)。次いで、制御部50は、キャリッジ移動モーター66が脱調している可能性がある場合に行うべき処理として定められている処理を実行する(ステップSB5)。
なお、動作モードD2も、動作モードD1と同様、キャリッジ移動モーター66に対して、所定の数nのパルス信号を出力し、ステッピングモーターをnステップ数、駆動する度に、kステップ分の脱調の検出を実行してもよい。
例えば、動作モードD2において、制御部50は、3つのパルス信号を出力する度に(n=3)、1ステップ目から、当該パルス信号の出力の出力に係るkステップ目までの累積の回転量と、予測回転量との比較に基づいて脱調検出を実行してもよい。より詳細には、制御部50は、3パルス目のパルス信号を出力したタイミングで、1ステップ目〜3(k=3)ステップ目までの累積の回転量と、予測回転量との比較に基づいて脱調検出を行い、さらに、6パルス目のパルス信号を出力したタイミングで、1ステップ目〜6(k=6)ステップ目までの累積の回転量と、予測回転量との比較に基づいて脱調検出を行う、というように脱調検出を行ってもよい。
この場合において、さらに、制御部50は、27ステップ目以降は、3つのパルス信号を出力する度に、直近25ステップ(k=25)分の累積の回転量と、予測回転量との比較に基づいて脱調検出を行う構成であってもよい。
このように、動作モードD2では、駆動ステップ分の累積的な脱調の検出を行うことができ、ステップ分駆動する度にそのステップ分の脱調を検出する場合と比較して、制御部50の処理負荷が軽減する。また、動作モード2を動作モード1と同時に適用することにより、脱調の検出精度の向上および検出効率化が図られる。
In step SB3, if the value detected in step SB2 is not less than “3 × k−9 (ep)” (step SB3: NO), step-out is not detected. The key detection process ends.
On the other hand, in step SB3, when the value detected in step SB2 is less than “3 × k−9 (ep)” (step SB3: YES), the controller 50 indicates that the carriage moving motor 66 has stepped out. It is determined that there is a possibility (step SB4). Next, the control unit 50 executes a process defined as a process to be performed when there is a possibility that the carriage movement motor 66 has stepped out (step SB5).
Similarly to the operation mode D1, the operation mode D2 outputs a predetermined number n of pulse signals to the carriage moving motor 66, and every time the stepping motor is driven n times, the step out of k steps is performed. Detection may be performed.
For example, in the operation mode D2, the controller 50 outputs the accumulated rotation amount from the first step to the k step related to the output of the pulse signal every time three pulse signals are output (n = 3). And step-out detection may be executed based on the comparison with the predicted rotation amount. More specifically, the control unit 50 is based on a comparison between the accumulated rotation amount from the first step to the third (k = 3) step and the predicted rotation amount at the timing when the pulse signal of the third pulse is output. Step-out detection is performed, and at the timing when the pulse signal of the sixth pulse is output, the accumulated rotation amount from the first step to the sixth step (k = 6) is compared with the predicted rotation amount. Step-out detection may be performed such that step-out detection is performed.
In this case, the control unit 50 further compares the accumulated rotation amount for the latest 25 steps (k = 25) with the predicted rotation amount every time three pulse signals are output after the 27th step. A configuration in which step-out detection is performed based on this may be used.
As described above, in the operation mode D2, it is possible to detect the cumulative step out for the driving step, and the control unit 50 as compared with the case where the step out for the step is detected every time the step is driven. The processing load is reduced. Further, by applying the operation mode 2 at the same time as the operation mode 1, the detection accuracy of the step-out can be improved and the detection efficiency can be improved.

なお、キャリッジ移動モーター66の駆動の開始後の第1の所定の期間、及び、キャリッジ移動モーター66の駆動の終了前の第2の所定の期間においては、キャリッジ移動モーター66の脱調の検出を行わないようにしてもよい。   In the first predetermined period after the driving of the carriage movement motor 66 is started and in the second predetermined period before the end of the driving of the carriage movement motor 66, the step-out of the carriage movement motor 66 is detected. It may not be performed.

以上説明したように、本実施形態に係る印刷装置1の制御部50は、ステッピングモーターによって構成されたキャリッジ移動モーター66を所定量、駆動したときに以下の処理を行う。すなわち、制御部50は、ロータリーエンコーダー92によって検出されたキャリッジ70の移動量(従動ギア91の回転量)と、脱調していない状態でキャリッジ移動モーター66を当該所定量、駆動したときに予測されるキャリッジ70の予測移動量(従動ギア91について予測される回転量)との比較に基づいて、脱調を検出する。
この構成によれば、印刷装置1は、ロータリーエンコーダー92の検出値に基づいて、ステッピングモーターたるキャリッジ移動モーター66の脱調を的確に検出できる。
As described above, the control unit 50 of the printing apparatus 1 according to the present embodiment performs the following processing when the carriage movement motor 66 configured by the stepping motor is driven by a predetermined amount. That is, the control unit 50 predicts when the carriage movement motor 66 detected by the rotary encoder 92 (the amount of rotation of the driven gear 91) and the carriage movement motor 66 are driven by the predetermined amount without being stepped out. The step-out is detected based on the comparison with the predicted movement amount of the carriage 70 (the rotation amount predicted for the driven gear 91).
According to this configuration, the printing apparatus 1 can accurately detect the step-out of the carriage movement motor 66 that is a stepping motor based on the detection value of the rotary encoder 92.

また、印刷装置1は、脱調していない状態でキャリッジ移動モーター66を1ステップ分駆動させた場合に、検出される従動ギア91(回転体)の回転量が「3(ep)」(第1回転量)増加する構成となっている。そして、制御部50は、キャリッジ移動モーター66を所定のステップ数分駆動したときにロータリーエンコーダー92によって検出された従動ギア91(回転体)の回転量と、キャリッジ移動モーター66を当該所定のステップ数分駆動したときに、当該所定のステップ数と、第1回転量(「3(ep)」)との関係に基づいて予測される従動ギア91の予測回転量と、の比較に基づいて、キャリッジ移動モーター66の脱調を検出する。
この構成によれば、脱調していない状態でキャリッジ移動モーター66を1ステップ分駆動させた場合に、ロータリーエンコーダー92によって従動ギア91の回転量の増加分として「3(ep)」(第1回転量)が検出される構成を利用して、従動ギア91の実際の回転量と、従動ギア91の予測回転量との比較に基づいて的確にキャリッジ移動モーター66の脱調を検出可能である。
In the printing apparatus 1, when the carriage moving motor 66 is driven by one step without being stepped out, the detected rotation amount of the driven gear 91 (rotary body) is “3 (ep)” (the first). 1 rotation amount) is increased. Then, the control unit 50 detects the rotation amount of the driven gear 91 (rotary body) detected by the rotary encoder 92 when the carriage movement motor 66 is driven by a predetermined number of steps, and the carriage movement motor 66 by the predetermined number of steps. Based on a comparison between the predetermined number of steps and the predicted rotation amount of the driven gear 91 predicted based on the relationship between the first rotation amount (“3 (ep)”) and A step-out of the moving motor 66 is detected.
According to this configuration, when the carriage moving motor 66 is driven by one step without being stepped out, “3 (ep)” (first) is increased by the rotary encoder 92 as the amount of rotation of the driven gear 91. Using the configuration in which the rotation amount) is detected, it is possible to accurately detect the step-out of the carriage movement motor 66 based on a comparison between the actual rotation amount of the driven gear 91 and the predicted rotation amount of the driven gear 91. .

また、本実施形態では、動力伝達機構79は、脱調していない状態のキャリッジ移動モーター66の1ステップ分の駆動に応じて、従動ギア91を「3(ep)」分、回転させる。
この構成によれば、脱調していない状態でキャリッジ移動モーター66を1ステップ分駆動させた場合に、ロータリーエンコーダー92によって回転体の回転量として「3(ep)」が検出される構成を、動力伝達機構79を利用して実現できる。
Further, in the present embodiment, the power transmission mechanism 79 rotates the driven gear 91 by “3 (ep)” in accordance with the driving of the carriage movement motor 66 that is not out of step for one step.
According to this configuration, when the carriage moving motor 66 is driven by one step without being stepped out, a configuration in which “3 (ep)” is detected as the amount of rotation of the rotating body by the rotary encoder 92. This can be realized using the power transmission mechanism 79.

また、本実施形態では、動作モードD1において、制御部50は、キャリッジ移動モーター66をn(上記例では、「2」)ステップ分駆動する度に、ロータリーエンコーダー92によって従動ギア91の回転量として、「3×n(ep)」、又は、「3×n(ep)」にマージンを反映した回転量が検出されたか否かを判別して、キャリッジ移動モーター66の脱調を検出する。
この構成によれば、キャリッジ移動モーター66がnステップ分駆動する度に、脱調の検出が行われるため、脱調が発生した場合にそのことを迅速に検出できる。
In the present embodiment, in the operation mode D1, the control unit 50 sets the rotation amount of the driven gear 91 by the rotary encoder 92 every time the carriage moving motor 66 is driven by n (in the above example, “2”) steps. , “3 × n (ep)” or “3 × n (ep)” is determined whether or not the rotation amount reflecting the margin is detected, and the step-out of the carriage movement motor 66 is detected.
According to this configuration, since the step-out is detected every time the carriage movement motor 66 is driven n steps, it can be quickly detected when the step-out occurs.

また、本実施形態では、制御部50は、キャリッジ移動モーター66をkステップ分駆動した場合に、ロータリーエンコーダー92によって従動ギア91の回転量として、「3(ep)」とkとの積によって求められる回転量、又は、当該求められる回転量にマージンを反映した回転量が検出されたか否かを判別して、キャリッジ移動モーター66の脱調を検出する。
この構成によれば、複数ステップ分駆動したときに脱調の検出を行うことができ、nステップ分駆動する度に検出する場合と比較して、制御部50の処理負荷が軽減する。
Further, in the present embodiment, when the carriage movement motor 66 is driven by k steps, the control unit 50 obtains the rotation amount of the driven gear 91 by the product of “3 (ep)” and k by the rotary encoder 92. A step-out of the carriage movement motor 66 is detected by determining whether or not a rotation amount that is obtained or a rotation amount that reflects a margin in the calculated rotation amount is detected.
According to this configuration, step-out can be detected when driving for a plurality of steps, and the processing load of the control unit 50 is reduced as compared with the case where detection is performed every time n steps are driven.

また、本実施形態では、制御部50は、キャリッジ移動モーター66の駆動の開始後の第1の所定の期間、及び、当該モーターの駆動の終了前の第2の所定の期間においては、当該モーターの脱調の検出を行わない構成であってもよい。
この構成によれば、ギアバックラッシュの影響を排除してキャリッジ移動モーター66の脱調を検出できる。
In the present embodiment, the controller 50 controls the motor during the first predetermined period after the start of driving the carriage movement motor 66 and the second predetermined period before the end of driving the motor. It may be a configuration that does not detect step-out.
According to this configuration, the step-out of the carriage movement motor 66 can be detected without the influence of the gear backlash.

なお、上述した実施の形態は、あくまでも本発明の一態様を示すものであり、本発明の範囲内で任意に変形および応用が可能である。
例えば、上述した実施形態では、キャリッジ70を印刷ポジションPPへ向かう方向へ移動させる場合に、脱調の検出を行う構成であったが、逆方向へ移動させる場合も脱調の検出を行う構成であってもよい。
また、上述した実施形態では、印刷装置1は、ラインインクジェット方式の印刷装置であった。しかしながら、印刷装置1の印刷方式は何であってもよい。すなわち、本発明は、キャリッジをステッピングモーターによって移動させる印刷装置に、適用可能である。
また、図6に示す各機能ブロックはハードウェアとソフトウェアの協働により任意に実現可能であり、特定のハードウェア構成を示唆するものではない。また、印刷装置1の各機能を、当該装置に外部接続される別の装置に持たせるようにしてもよい。また、印刷装置1は、外部接続される記憶媒体に記憶させたプログラムを実行することにより、各種処理を実行してもよい。
The above-described embodiment is merely an aspect of the present invention, and can be arbitrarily modified and applied within the scope of the present invention.
For example, in the above-described embodiment, the step-out detection is performed when the carriage 70 is moved in the direction toward the print position PP. However, the step-out detection is also performed when the carriage 70 is moved in the reverse direction. There may be.
In the above-described embodiment, the printing apparatus 1 is a line inkjet printing apparatus. However, any printing method of the printing apparatus 1 may be used. That is, the present invention is applicable to a printing apparatus that moves a carriage by a stepping motor.
Each functional block shown in FIG. 6 can be arbitrarily realized by cooperation of hardware and software, and does not suggest a specific hardware configuration. Further, each function of the printing apparatus 1 may be provided to another apparatus externally connected to the apparatus. The printing apparatus 1 may execute various processes by executing a program stored in an externally connected storage medium.

1…印刷装置、2…印刷システム、10…印刷ヘッド、21…印刷部、50…制御部、66…キャリッジ移動モーター(ステッピングモーター)、70…キャリッジ、79…動力伝達機構、91…従動ギア、92…ロータリーエンコーダー(エンコーダー)。   DESCRIPTION OF SYMBOLS 1 ... Printing apparatus, 2 ... Printing system, 10 ... Print head, 21 ... Printing part, 50 ... Control part, 66 ... Carriage movement motor (stepping motor), 70 ... Carriage, 79 ... Power transmission mechanism, 91 ... Drive gear, 92: Rotary encoder (encoder).

Claims (11)

ステッピングモーターと、
印刷ヘッドが搭載され、前記ステッピングモーターの駆動に応じて移動するキャリッジと、
前記キャリッジの移動量を検出するエンコーダーと、
前記ステッピングモーターを所定量、駆動したときに前記エンコーダーによって検出された前記キャリッジの移動量と、脱調していない状態で前記ステッピングモーターを当該所定量、駆動したときに予測される前記キャリッジの予測移動量との比較に基づいて、前記ステッピングモーターの脱調を検出する制御部と、
を備えることを特徴とする印刷装置。
Stepper motor,
A carriage mounted with a print head and moving in accordance with the driving of the stepping motor;
An encoder for detecting the amount of movement of the carriage;
The amount of movement of the carriage detected by the encoder when the stepping motor is driven by a predetermined amount, and the prediction of the carriage that is predicted when the stepping motor is driven by the predetermined amount without being stepped out Based on the comparison with the movement amount, a control unit that detects the step-out of the stepping motor;
A printing apparatus comprising:
前記エンコーダーは、
前記ステッピングモーターの駆動に応じて回転する回転体の回転量を検出することにより、前記キャリッジの移動量を検出するロータリーエンコーダーであり、
前記制御部は、
前記ステッピングモーターを所定量、駆動したときに前記エンコーダーによって検出された前記回転体の回転量と、脱調していない状態で前記ステッピングモーターを所定量、駆動したときに予測される前記回転体の予測回転量との比較に基づいて、前記ステッピングモーターの脱調を検出する
ことを特徴とする請求項1に記載の印刷装置。
The encoder is
A rotary encoder that detects the amount of movement of the carriage by detecting the amount of rotation of a rotating body that rotates according to the driving of the stepping motor;
The controller is
The amount of rotation of the rotating body detected by the encoder when the stepping motor is driven by a predetermined amount, and the amount of rotation of the rotating body predicted when the stepping motor is driven by a predetermined amount without being stepped out. The printing apparatus according to claim 1, wherein a step-out of the stepping motor is detected based on a comparison with a predicted rotation amount.
脱調していない状態で前記ステッピングモーターを1ステップ、駆動させた場合に、前記エンコーダーによって前記回転体の回転量として第1回転量が検出される構成とし、
前記制御部は、
前記ステッピングモーターを所定のステップ数、駆動したときに前記エンコーダーによって検出された前記回転体の回転量と、
前記ステッピングモーターを当該所定のステップ数、駆動したときに、当該所定のステップ数と前記第1回転量との関係に基づいて予測される前記回転体の予測回転量と、
の比較に基づいて、前記ステッピングモーターの脱調を検出する
ことを特徴とする請求項2に記載の印刷装置。
When the stepping motor is driven by one step without being stepped out, the first rotation amount is detected as the rotation amount of the rotating body by the encoder.
The controller is
A rotation amount of the rotating body detected by the encoder when the stepping motor is driven by a predetermined number of steps;
When the stepping motor is driven by the predetermined number of steps, the predicted rotation amount of the rotating body predicted based on the relationship between the predetermined step number and the first rotation amount;
The printing apparatus according to claim 2, wherein a step-out of the stepping motor is detected based on the comparison.
前記回転体は、前記ステッピングモーターのモーター軸に設けられた駆動ギアに、動力伝達機構を介して接続された従動ギアであり、
前記動力伝達機構は、脱調していない状態の前記ステッピングモーターの1ステップ分の駆動に応じて、前記従動ギアを前記第1回転量、回転させる
ことを特徴とする請求項3に記載の印刷装置。
The rotating body is a driven gear connected to a driving gear provided on a motor shaft of the stepping motor via a power transmission mechanism,
4. The printing according to claim 3, wherein the power transmission mechanism rotates the driven gear by the first rotation amount in accordance with driving of the stepping motor for one step that is not out of step. 5. apparatus.
前記制御部は、
前記エンコーダーによって、所定期間における前記回転体の累積の回転量として、前記所定期間において前記ステッピングモーターが駆動したk(ただしk>1)ステップ数と、前記第1回転量との積によって求められる回転量、又は、当該求められる回転量にマージンを反映した回転量が検出されたか否かを判別して、前記ステッピングモーターの脱調を検出することを特徴とする請求項3又は4に記載の印刷装置。
The controller is
Rotation obtained by the product of the number of k steps (where k> 1) driven by the stepping motor in the predetermined period and the first rotation amount as the cumulative rotation amount of the rotating body in the predetermined period by the encoder. 5. The printing according to claim 3, wherein a step-out of the stepping motor is detected by determining whether or not a rotation amount that reflects a margin is detected in the amount or the calculated rotation amount. apparatus.
前記制御部は、
前記ステッピングモーターをn(ただしn≧1)ステップ数、駆動する度に、前記エンコーダーによって前記回転体の回転量として、前記第1回転量とnの積によって求められる回転量、又は、当該求められる回転量にマージンを反映した回転量が検出されたか否かを判別して、前記ステッピングモーターの脱調を検出することを特徴とする請求項3又は4に記載の印刷装置。
The controller is
Each time the stepping motor is driven by n (where n ≧ 1) steps, the amount of rotation obtained by the product of the first amount of rotation and n as the amount of rotation of the rotating body by the encoder, or the obtained amount 5. The printing apparatus according to claim 3, wherein a step-out of the stepping motor is detected by determining whether or not a rotation amount that reflects a margin in the rotation amount is detected.
前記制御部は、
前記ステッピングモーターをn(ただしn≧1)ステップ数、駆動する度に、前記エンコーダーによって、所定期間における前記回転体の累積の回転量として、前記所定期間において前記ステッピングモーターが駆動したk(ただしk>n)ステップ数と、前記第1回転量との積によって求められる回転量、又は、当該求められる回転量にマージンを反映した回転量が検出されたか否かを判別して、前記ステッピングモーターの脱調を検出することを特徴とする請求項6に記載の印刷装置。
The controller is
Each time the stepping motor is driven by n (where n ≧ 1) steps, k is the amount by which the stepping motor is driven by the encoder as the cumulative amount of rotation of the rotating body during the predetermined period. > N) It is determined whether or not a rotation amount obtained by the product of the number of steps and the first rotation amount or a rotation amount reflecting a margin in the obtained rotation amount is detected, and the stepping motor The printing apparatus according to claim 6, wherein step-out is detected.
前記制御部は、
前記ステッピングモーターをk(ただしk>n)ステップ数、駆動した場合に、前記エンコーダーによって前記回転体の回転量として、前記第1回転量とkとの積によって求められる回転量、又は、当該求められる回転量にマージンを反映した回転量が検出されたか否かを判別して、前記ステッピングモーターの脱調を検出することを特徴とする請求項6に記載の印刷装置。
The controller is
When the stepping motor is driven by k (where k> n) steps, the rotation amount obtained by the product of the first rotation amount and k as the rotation amount of the rotating body by the encoder, or the determination The printing apparatus according to claim 6, wherein a step-out of the stepping motor is detected by determining whether or not a rotation amount that reflects a margin is detected in the rotation amount.
前記制御部は、
前記ステッピングモーターの駆動の開始後の第1の所定の期間、及び、前記ステッピングモーターの駆動の終了前の第2の所定の期間においては、前記ステッピングモーターの脱調の検出を行わないことを特徴とする請求項1ないし6のいずれかに記載の印刷装置。
The controller is
In the first predetermined period after the start of the driving of the stepping motor and in the second predetermined period before the end of the driving of the stepping motor, step-out of the stepping motor is not detected. A printing apparatus according to any one of claims 1 to 6.
前記印刷ヘッドはラインインクジェットヘッドで構成され、
前記制御部は、
前記印刷ヘッドが搭載された前記キャリッジを前記ステッピングモーターの駆動により、ホームポジションから印刷ポジションへ、または、前記印刷ポジションから前記ホームポジションへ、移動させることを特徴とする請求項1ないし7のいずれかに記載の印刷装置。
The print head is composed of a line inkjet head,
The controller is
8. The carriage according to claim 1, wherein the carriage on which the print head is mounted is moved from a home position to a print position or from the print position to the home position by driving the stepping motor. A printing apparatus according to 1.
ステッピングモーターと、印刷ヘッドが搭載され、前記ステッピングモーターの駆動に応じて移動するキャリッジと、前記キャリッジの移動量を検出するエンコーダーと、を備える印刷装置に対して、制御部により、前記ステッピングモーターを所定量、駆動したときに前記エンコーダーによって検出された前記キャリッジの移動量と、脱調していない状態で前記ステッピングモーターを当該所定量、駆動したときに予測される前記キャリッジの予測移動量との比較に基づいて、前記ステッピングモーターの脱調を検出することを特徴とする脱調検出方法。   For a printing apparatus including a stepping motor, a carriage on which a print head is mounted, and moving according to the driving of the stepping motor, and an encoder that detects the amount of movement of the carriage, the control unit controls the stepping motor. A movement amount of the carriage detected by the encoder when driven by a predetermined amount, and a predicted movement amount of the carriage predicted when the stepping motor is driven by the predetermined amount without being stepped out. A step-out detection method comprising detecting step-out of the stepping motor based on the comparison.
JP2013230032A 2013-11-06 2013-11-06 Printing device, and step-out detection method Pending JP2015089635A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2013230032A JP2015089635A (en) 2013-11-06 2013-11-06 Printing device, and step-out detection method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2013230032A JP2015089635A (en) 2013-11-06 2013-11-06 Printing device, and step-out detection method

Publications (1)

Publication Number Publication Date
JP2015089635A true JP2015089635A (en) 2015-05-11

Family

ID=53193392

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2013230032A Pending JP2015089635A (en) 2013-11-06 2013-11-06 Printing device, and step-out detection method

Country Status (1)

Country Link
JP (1) JP2015089635A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2021034310A1 (en) * 2019-08-19 2021-02-25 Hewlett-Packard Development Company, L.P. Carriage activated printing devices

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2021034310A1 (en) * 2019-08-19 2021-02-25 Hewlett-Packard Development Company, L.P. Carriage activated printing devices

Similar Documents

Publication Publication Date Title
JP5724280B2 (en) Printer and printing method
JP6365669B2 (en) Inkjet recording device
JP2012229074A (en) Conveyance device and image forming apparatus
JP4788814B2 (en) Transport device
US9102176B2 (en) Image forming apparatus, image forming method, and non-transitory computer-readable storage medium
JP2015147340A (en) Printer and control method of the same
US10232625B2 (en) Ink-jet printer
JP2015066935A (en) Printer, printer control method and program
US10688781B2 (en) Printing apparatus
JP2015066719A (en) Printer and method of controlling printer
JP2016005961A (en) Label peel device, ink jet recording device and label peel method
JP2015089635A (en) Printing device, and step-out detection method
JP6443338B2 (en) Printing apparatus and printing apparatus control method
JP6299258B2 (en) Printing apparatus and printing apparatus control method
JP4525657B2 (en) Printer and printer control method
US10752000B2 (en) Printing apparatus
US9139030B2 (en) Carriage moving device, method and computer-readable recording medium containing instructions to execute carriage moving method
US11279153B2 (en) Image recording apparatus and printer driver
JP6210286B2 (en) Image recording device
US10940703B2 (en) Liquid jetting apparatus
JP7251296B2 (en) PRINTING DEVICES, SYSTEMS AND PROGRAMS
JP6645091B2 (en) Printing apparatus, printing method, and printing program
JP2007119153A (en) Paper position detection device and printer
JP6613775B2 (en) Inkjet recording device
JP2009274306A (en) Fluid injection apparatus and loosening detecting method

Legal Events

Date Code Title Description
RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20160617

RD03 Notification of appointment of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7423

Effective date: 20160624