JP2011037141A - Target detector, fluid ejection device, and target detecting method - Google Patents

Target detector, fluid ejection device, and target detecting method Download PDF

Info

Publication number
JP2011037141A
JP2011037141A JP2009186813A JP2009186813A JP2011037141A JP 2011037141 A JP2011037141 A JP 2011037141A JP 2009186813 A JP2009186813 A JP 2009186813A JP 2009186813 A JP2009186813 A JP 2009186813A JP 2011037141 A JP2011037141 A JP 2011037141A
Authority
JP
Japan
Prior art keywords
target
detection
dead zone
transport
paper
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
JP2009186813A
Other languages
Japanese (ja)
Inventor
Toshiyuki Suzuki
俊行 鈴木
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 JP2009186813A priority Critical patent/JP2011037141A/en
Publication of JP2011037141A publication Critical patent/JP2011037141A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Ink Jet (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide a target detector, a fluid ejection device and a target detecting method, giving an appropriate conveying state detection result of a target, even when an end of the target is positioned within a dead zone corresponding to a clearance between detecting elements. <P>SOLUTION: This target detector determines whether a tip of a paper sheet P exists within the detection-incapable dead zone as the tip is located in a position corresponding to a clearance between a plurality of photoreception elements constituting a sensor (linear image sensor) or not. The determination is carried out based on that respective output values of two out of the plurality of photoreception elements come to the maximum output and the minimum output. A conveying state of the paper sheet (conveying speed and conveying position) is detected based on an output value at the time when the end of the paper sheet is determined not to be located in the dead zone, in the case determined so. On the other hand, the conveying state is detected based on the last output value at the time when the end of the paper sheet is determined not to be located in the dead zone, in the case where the end is determined to be located in the dead zone. A control signal for controlling a printer, that is one example of the fluid ejection device, is generated based on the detection result of the conveying state. <P>COPYRIGHT: (C)2011,JPO&INPIT

Description

本発明は、リニアイメージセンサー等のように複数の検出素子(例えば受光素子)が所定ピッチで配列されているセンサーを用いて、ターゲットの搬送状態を検出するターゲット検出装置、流体噴射装置及びターゲット検出方法に関する。   The present invention relates to a target detection device, a fluid ejection device, and a target detection that detect a target transport state using a sensor in which a plurality of detection elements (for example, light receiving elements) are arranged at a predetermined pitch, such as a linear image sensor. Regarding the method.

従来、インクジェットプリンター等の流体噴射装置においては、搬送手段により搬送される用紙等のターゲットに対し記録ヘッドにより印刷が施される。この場合、搬送中の用紙に搬送方向に一定のドットピッチで記録が行われるようにインクの噴射タイミング(噴射周期)を制御する必要がある。このため、用紙搬送速度に同期させた記録タイミングで記録ヘッドの噴射タイミングが制御されるようになっている。   2. Description of the Related Art Conventionally, in a fluid ejecting apparatus such as an ink jet printer, printing is performed by a recording head on a target such as paper conveyed by a conveying unit. In this case, it is necessary to control the ink ejection timing (ejection cycle) so that recording is performed on the paper being conveyed at a constant dot pitch in the conveyance direction. For this reason, the ejection timing of the recording head is controlled at the recording timing synchronized with the paper conveyance speed.

例えば特許文献1には、搬送手段として搬送ベルトを用いたプリンター(流体噴射装置)が開示されている。このプリンターでは、搬送ベルトの表面幅方向一端部にベルト周回方向に沿って一定ピッチで形成された多数のマークを読み取るエンコーダーから出力されるベルト搬送速度に反比例するパルス周期のエンコーダー信号(パルス信号)に基づいてインク噴射タイミングを制御するようになっていた。このプリンターでは、ベルト移動量と用紙移動量とが同じであると仮定し、ベルト搬送速度を検出することで間接的に用紙の搬送速度を得るようにしていた。   For example, Patent Document 1 discloses a printer (fluid ejecting apparatus) that uses a transport belt as transport means. In this printer, an encoder signal (pulse signal) having a pulse cycle inversely proportional to the belt conveyance speed output from an encoder that reads a large number of marks formed at a constant pitch along the circumferential direction of the belt at one end in the surface width direction of the conveyance belt. The ink ejection timing is controlled based on the above. In this printer, it is assumed that the belt movement amount and the paper movement amount are the same, and the paper conveyance speed is obtained indirectly by detecting the belt conveyance speed.

しかし、特許文献1に記載されたプリンターでは、吸着手段により搬送ベルト上に用紙を保持した状態で搬送するが、その保持力が比較的弱い場合は、搬送ベルト上で用紙に滑りが発生し、搬送ベルトの搬送速度と用紙の搬送速度との間にずれが発生する虞がある。この場合、搬送ベルトの搬送速度に同期してインク滴の噴射タイミングが制御されても、搬送ベルトと用紙との間の滑り等が原因で、用紙上へのインク滴の着弾位置がずれ、印刷精度が低下するという問題があった。   However, in the printer described in Patent Document 1, the sheet is conveyed while being held on the conveyance belt by the suction unit, but when the holding force is relatively weak, the sheet slips on the conveyance belt, There is a possibility that a deviation occurs between the conveying speed of the conveying belt and the conveying speed of the paper. In this case, even if the ink droplet ejection timing is controlled in synchronization with the conveyance speed of the conveyance belt, the landing positions of the ink droplets on the sheet are shifted due to slippage between the conveyance belt and the sheet, and printing is performed. There was a problem that the accuracy decreased.

そのため、用紙を直接検出して用紙の実際の搬送速度を取得することが望まれる。例えばイメージセンサー(例えば特許文献2)を用いて用紙を直接検出する構成を採用すれば、搬送ベルト上で用紙が滑っても用紙の実際の搬送速度に応じた噴射タイミングで記録ヘッドの噴射制御を行えば、インク滴を用紙上の正しい位置に着弾させることができ、印刷精度の向上を期待できる。特にプリンターの製造コストを抑えるためには、比較的構造が簡単かつ安価なリニアイメージセンサーを使用するのが好ましい。   For this reason, it is desirable to directly detect the sheet and acquire the actual conveyance speed of the sheet. For example, if a configuration in which a sheet is directly detected using an image sensor (for example, Patent Document 2) is employed, even if the sheet slips on the conveyance belt, the ejection control of the recording head is performed at the ejection timing according to the actual conveyance speed of the sheet. If this is done, ink droplets can be landed on the correct position on the paper, and an improvement in printing accuracy can be expected. In particular, in order to reduce the manufacturing cost of the printer, it is preferable to use a linear image sensor that is relatively simple and inexpensive.

特開平11−245383号公報JP 11-245383 A 特開2004−152816号公報JP 2004-152816 A

しかし、リニアイメージセンサーは、複数の受光素子(検出素子)が一定ピッチで一列に配列された構造をもち、用紙の先端(ターゲットの端)が、受光素子間の隙間に位置する区間は、出力信号が変化せず、用紙の先端を検出できない不感帯となる。搬送速度は、前回と今回の用紙検出位置の単位時間(サンプリング周期)当たりの差分から算出するので、出力信号が変化しない不感帯では、用紙が同じ位置に留まっている(つまり停止)とみなされ、搬送速度が「0」と算出される。このように不感帯では用紙の位置及び速度などの搬送状態を検出できない。   However, the linear image sensor has a structure in which a plurality of light receiving elements (detecting elements) are arranged in a line at a constant pitch, and the section where the leading edge of the paper (target edge) is located in the gap between the light receiving elements is output. The signal does not change, resulting in a dead zone where the leading edge of the paper cannot be detected. Since the conveyance speed is calculated from the difference per unit time (sampling period) between the previous and current paper detection positions, it is considered that the paper stays at the same position (that is, stopped) in the dead zone where the output signal does not change. The conveyance speed is calculated as “0”. Thus, in the dead zone, it is not possible to detect the conveyance state such as the position and speed of the paper.

また、噴射タイミング信号は、搬送速度に基づきこれに反比例するパルス周期になるように生成されるが、不感帯において搬送速度が「0」と算出されてしまうと、過度に高い異常なパルス周期で噴射タイミング信号が生成されてしまい、これが印刷画質を低下させる原因になるという問題がある。このため、不感帯においては用紙の搬送状態を正確に検出できないものの、停止とする間違った搬送状態検出結果ではなく、ある程度妥当な値をもつ搬送状態検出結果が得られる必要がある。   The injection timing signal is generated based on the conveyance speed so as to have a pulse cycle inversely proportional to this, but if the conveyance speed is calculated as “0” in the dead zone, the injection is performed with an abnormally high pulse period. There is a problem that a timing signal is generated, which causes a reduction in print image quality. For this reason, although the conveyance state of the sheet cannot be accurately detected in the dead zone, it is necessary to obtain a conveyance state detection result having a reasonable value rather than an erroneous conveyance state detection result for stopping.

本発明は、上記課題に鑑みてなされたものであり、その目的は、ターゲットの端が検出素子間の隙間に相当する不感帯に位置しても、ターゲットの妥当な搬送状態検出結果を得ることができるターゲット検出装置、流体噴射装置及びターゲット検出方法を提供することにある。   The present invention has been made in view of the above problems, and its purpose is to obtain an appropriate detection result of the transport state of a target even if the end of the target is located in a dead zone corresponding to a gap between detection elements. An object of the present invention is to provide a target detection device, a fluid ejection device, and a target detection method.

上記問題点を解決するために、本発明は、搬送されるターゲットを検出するターゲット検出装置であって、光又は磁気を用いてターゲットを検出可能な複数の検出素子が搬送方向に所定ピッチで配列されている少なくとも1つのセンサーと、ターゲットの端がその検出が不能な前記検出素子間の隙間に相当する不感帯にあるか否かを前記検出素子の出力値に基づき判定する判定手段と、ターゲットの端が前記不感帯になければそのときの前記出力値を用いてターゲットの搬送状態を検出し、前記不感帯にあればそのときの出力値は用いず前記不感帯になかったときの前の出力値を用いてターゲットの搬送状態を検出する検出手段と、を備えたことを要旨とする。   In order to solve the above problems, the present invention is a target detection apparatus for detecting a target to be transported, and a plurality of detection elements capable of detecting the target using light or magnetism are arranged at a predetermined pitch in the transport direction. At least one sensor, a determination means for determining whether an end of the target is in a dead zone corresponding to a gap between the detection elements that cannot be detected based on an output value of the detection element, If the edge is not in the dead zone, the output value at that time is used to detect the transport state of the target, and if it is in the dead zone, the output value at that time is not used and the previous output value when not in the dead zone is used. And a detecting means for detecting the transport state of the target.

この発明によれば、判定手段が、検出素子の出力値に基づき、ターゲットの端が検出素子間の隙間に相当する不感帯にないと判定した場合、検出手段は、そのときの出力値を用いてターゲットの搬送状態を検出する。一方、判定手段が、ターゲットの端が検出素子間の隙間に相当する不感帯にあると判定した場合、検出手段は、そのときの出力値は用いず、不感帯になかったときの前の出力値を用いてターゲットの搬送状態を検出する。このため、ターゲットの端が検出素子間の隙間に相当する不感帯に位置しても、ターゲットの妥当な搬送状態検出結果を得ることができる。   According to this invention, when the determination unit determines that the end of the target is not in the dead zone corresponding to the gap between the detection elements based on the output value of the detection element, the detection unit uses the output value at that time. Detect the transport status of the target. On the other hand, when the determination unit determines that the end of the target is in the dead zone corresponding to the gap between the detection elements, the detection unit does not use the output value at that time, and uses the previous output value when it is not in the dead zone. Used to detect the transport state of the target. For this reason, even if the end of the target is located in the dead zone corresponding to the gap between the detection elements, it is possible to obtain a proper transport state detection result of the target.

本発明のターゲット検出装置では、前記判定手段は、前記検出素子のうち隣り合う二つの前記検出素子の各出力値が最大出力と最小出力になっていることをもって、前記ターゲットの端が前記不感帯にあると判定することが好ましい。   In the target detection apparatus of the present invention, the determination means has the maximum output and the minimum output of the two adjacent detection elements among the detection elements, and the end of the target is in the dead zone. It is preferable to determine that there is.

この発明によれば、判定手段は、検出素子のうち二つの隣り合う検出素子の各出力値が最大出力と最小出力になっていることをもって、ターゲットの端が不感帯にあると判定するので、ターゲットの端が不感帯にあることを、搬送状態の検出に用いる出力値を用いて比較的簡単に判定できる。   According to the present invention, the determination means determines that the end of the target is in the dead zone when the output values of two adjacent detection elements among the detection elements are the maximum output and the minimum output. It can be determined relatively easily using the output value used for detection of the conveyance state.

また、本発明のターゲット検出装置では、前記センサーは前記搬送方向に直交する方向に複数列配置され、該複数のセンサーは、前記搬送方向において端部をオーバーラップさせた状態でずらして配置されていることが好ましい。この発明によれば、搬送方向と直交する方向に複数列配置された複数(1列当たり1つ以上の計2以上)のセンサーは、端部をオーバーラップさせた状態で搬送方向にずらして配置されているので、センサー1つ分の搬送方向長さ(検出素子配列方向長さ)よりも、長い搬送方向の領域に亘ってターゲットの搬送状態を検出できる。   Further, in the target detection device of the present invention, the sensors are arranged in a plurality of rows in a direction orthogonal to the transport direction, and the plurality of sensors are shifted and arranged with the end portions overlapped in the transport direction. Preferably it is. According to this invention, a plurality of (one or more, two or more in total) sensors arranged in a plurality of rows in a direction orthogonal to the conveyance direction are shifted in the conveyance direction with the end portions overlapped. Therefore, the transport state of the target can be detected over a region in the transport direction that is longer than the transport direction length (detection element array direction length) for one sensor.

さらに本発明のターゲット検出装置では、前記検出手段は、前記ターゲットの搬送状態として前記ターゲットの搬送速度を検出し、前記ターゲットの端が前記不感帯にあると判定された場合は、前記不感帯になかったときの前の出力値から決まる前の搬送速度を用いることが好ましい。   Further, in the target detection apparatus of the present invention, the detection means detects the transport speed of the target as the transport state of the target, and when it is determined that the end of the target is in the dead band, it is not in the dead band. It is preferable to use the previous conveyance speed determined from the previous output value.

この発明によれば、検出手段は、ターゲットの端が不感帯にあると判定された場合は、不感帯になかったときの前の出力値から決まる前の搬送速度を用いるので、ターゲットの端が不感帯にあっても、ターゲットの搬送速度を検出できる。   According to the present invention, when it is determined that the end of the target is in the dead zone, the detection means uses the previous conveyance speed determined from the previous output value when the target is not in the dead zone, so that the end of the target becomes in the dead zone. Even if it exists, the conveyance speed of the target can be detected.

また、本発明のターゲット検出装置では、前記検出手段は、前記ターゲットの搬送状態として前記ターゲットの搬送位置を検出し、前記ターゲットの端が前記不感帯にあると判定された場合は、前記不感帯になかったときの前の出力値から決まる前の搬送位置に、前の搬送速度と前記不感帯にあった経過時間との積により決まる搬送量を加えて搬送位置を求めることが好ましい。   Further, in the target detection apparatus of the present invention, the detection means detects the transport position of the target as the transport state of the target, and if it is determined that the end of the target is in the dead band, it is not in the dead band. It is preferable to obtain the transport position by adding the transport amount determined by the product of the previous transport speed and the elapsed time in the dead zone to the previous transport position determined from the previous output value.

この発明によれば、検出手段は、ターゲットの搬送状態としてターゲットの搬送位置を検出する。このとき、ターゲットの端が不感帯にないと判定された場合は、そのときの出力値に基づき搬送位置を求める。一方、ターゲットの端が不感帯にあると判定された場合は、不感帯になかったときの前の出力値から決まる前の搬送位置に、前の搬送速度と不感帯にあった経過時間との積により決まる搬送量を加えて搬送位置を求める。よって、検出素子間に隙間のあるセンサーを用いても、その隙間に相当する不感帯内におけるターゲットの搬送位置を比較的正しく検出できる。   According to this invention, a detection means detects the conveyance position of a target as a conveyance state of a target. At this time, if it is determined that the end of the target is not in the dead zone, the transport position is obtained based on the output value at that time. On the other hand, if it is determined that the end of the target is in the dead zone, it is determined by the product of the previous conveyance speed and the elapsed time in the dead zone at the previous conveyance position determined from the previous output value when it was not in the dead zone. The transport position is obtained by adding the transport amount. Therefore, even if a sensor having a gap between the detection elements is used, the target transport position in the dead zone corresponding to the gap can be detected relatively correctly.

本発明は、流体噴射装置であって、上記発明のターゲット検出装置と、ターゲットを搬送する搬送手段と、搬送中のターゲットに流体を噴射する流体噴射手段と、前記ターゲット検出装置を構成する前記検出手段が検出した前記ターゲットの搬送状態に基づいて前記搬送手段及び前記流体噴射手段のうち少なくとも一方を制御する制御手段と、を備えたことを要旨とする。   The present invention is a fluid ejecting apparatus, the target detecting device of the above invention, a transporting means for transporting the target, a fluid ejecting means for ejecting a fluid onto the target being transported, and the detection constituting the target detecting apparatus. And a control unit that controls at least one of the transport unit and the fluid ejecting unit based on the transport state of the target detected by the unit.

この発明によれば、上記発明のターゲット検出装置により検出されたターゲットの搬送状態に基づいて、搬送手段及び流体噴射手段のうち少なくとも一方を制御するので、ターゲットの搬送精度とターゲットに対する流体噴***度とのうち制御対象となる少なくとも一方の精度を高められる。   According to the present invention, since at least one of the transporting means and the fluid ejecting means is controlled based on the target transporting state detected by the target detection device of the above invention, the target transporting accuracy and the fluid ejecting accuracy with respect to the target are Among them, the accuracy of at least one of the objects to be controlled can be improved.

本発明は、搬送されるターゲットを検出するターゲット検出方法であって、光又は磁気を用いてターゲットを検出可能な検出素子を搬送方向に所定ピッチで配列された状態で複数備えたセンサーからの前記検出素子の各出力値に基づいてターゲットの端がその検出が不能な前記検出素子間の隙間に相当する不感帯にあるか否かを判定する判定ステップと、ターゲットの端が前記不感帯になければそのときの前記出力値を用いてターゲットの搬送状態を検出し、前記不感帯にあればそのときの出力値は用いず前記不感帯になかったときの前の出力値を用いてターゲットの搬送状態を検出する検出ステップと、を備えたことを要旨とする。   The present invention is a target detection method for detecting a target to be transported, wherein the sensor includes a plurality of detection elements that are capable of detecting the target using light or magnetism and are arranged at a predetermined pitch in the transport direction. A determination step for determining whether or not the end of the target is in a dead zone corresponding to a gap between the detection elements that cannot be detected based on each output value of the detection element; and if the target end is not in the dead zone, The target transport state is detected using the output value at the time, and if it is in the dead zone, the output value at that time is not used, and the previous output value when it is not in the dead zone is used to detect the target transport state. And a detection step.

この発明によれば、上記流体噴射装置におけるターゲット検出装置に係る発明、あるいは上記流体噴射装置に係る発明と同様の効果を得ることができる。   According to this invention, it is possible to obtain the same effects as those of the invention relating to the target detection device in the fluid ejecting apparatus or the invention relating to the fluid ejecting apparatus.

一実施形態におけるプリンターの模式側面図。1 is a schematic side view of a printer according to an embodiment. プリンター部の模式平面図。The schematic plan view of a printer part. リニアイメージセンサーの模式底面図。A schematic bottom view of a linear image sensor. リニアイメージセンサーを構成する受光素子の模式底面図。The schematic bottom view of the light receiving element which comprises a linear image sensor. (a)〜(c)用紙と受光素子の相対位置と、(d)〜(f)各相対位置における受光素子の出力値を示すグラフ。(A)-(c) The graph which shows the relative position of a paper and a light receiving element, and the output value of the light receiving element in (d)-(f) each relative position. プリンターの電気的構成を示すブロック図。FIG. 3 is a block diagram illustrating an electrical configuration of the printer. 印刷処理を示すフローチャート。6 is a flowchart illustrating printing processing. 噴射タイミング算出部の電気的構成を示すブロック図。The block diagram which shows the electrical structure of an injection timing calculation part. 噴射タイミング算出に用いられる各種信号のタイミングチャート。The timing chart of the various signals used for injection timing calculation.

以下、本発明を具体化した一実施形態を図1〜図9に従って説明する。図1は、インクジェット式プリンターの模式側面図を示し、図2は、その模式平面図を示す。
図1及び図2に示すように、流体噴射装置としてのインクジェット式プリンター(以下、単にプリンター11という)は、ターゲットとしての用紙Pを搬送する搬送ユニット12と、搬送中の用紙Pに流体としてのインクを噴射して記録を施す流体噴射手段としての記録ユニット13とを備える。なお、本実施形態では、搬送ユニット12により搬送手段が構成され、記録ユニット13により流体噴射手段が構成されている。
Hereinafter, an embodiment embodying the present invention will be described with reference to FIGS. FIG. 1 shows a schematic side view of an ink jet printer, and FIG. 2 shows a schematic plan view thereof.
As shown in FIGS. 1 and 2, an ink jet printer (hereinafter simply referred to as a printer 11) as a fluid ejecting apparatus includes a transport unit 12 that transports a sheet P as a target, and a sheet P being transported as a fluid. And a recording unit 13 as fluid ejecting means for ejecting ink to perform recording. In the present embodiment, the conveyance unit 12 constitutes a conveyance unit, and the recording unit 13 constitutes a fluid ejection unit.

搬送ユニット12は、記録ユニット13の記録領域へ用紙Pを給送する給送ユニット14と、給送後に用紙Pを印刷のため一定速度で搬送する搬送動作及び印刷後の用紙Pの排出のため、用紙Pを搬送するベルト搬送装置15とを備えている。   The transport unit 12 feeds the paper P to the recording area of the recording unit 13, and transports the paper P at a constant speed for printing after feeding and for discharging the paper P after printing. And a belt conveying device 15 for conveying the paper P.

給送ユニット14は、記録ユニット13及びベルト搬送装置15の下側に配置されると共に多数枚の用紙Pを積重状態で収容可能な用紙ストッカー16(用紙カセット)と、用紙ストッカー16に収容された用紙群のうち最上位の一枚を給送できるように回転可能な給紙ローラー17(例えばピックアップローラー)とを備えている。用紙ストッカー16の図1における右側の給送口から給送された用紙Pは、二組の補助ローラー対18,19の回転により上方へ搬送され、さらに図示しないガイド部の案内面に沿って水平方向へ案内された後、搬送ローラー20と圧接ローラー21との間に圧接状態にニップされて記録ユニット13の記録領域へ搬送される。   The feeding unit 14 is disposed below the recording unit 13 and the belt conveying device 15 and is accommodated in a paper stocker 16 (paper cassette) capable of accommodating a large number of sheets P in a stacked state, and the paper stocker 16. A paper feed roller 17 (for example, a pickup roller) that can be rotated so as to feed the uppermost sheet of the paper group. The paper P fed from the paper feed port on the right side of the paper stocker 16 in FIG. 1 is conveyed upward by the rotation of the two pairs of auxiliary rollers 18 and 19, and further horizontally along the guide surface of the guide portion (not shown). After being guided in the direction, it is nipped in a pressure contact state between the transport roller 20 and the pressure roller 21 and transported to the recording area of the recording unit 13.

図1及び図2に示すように、記録ユニット13は、長尺状をなすラインヘッド方式の記録ヘッド22,23が、搬送方向Xと直交する幅方向(紙幅方向Y)(図2参照)と平行になる向き(姿勢)で、かつ搬送方向Xに間隔をあけて複数本(図1、図2では例えば2本)配置されている。記録ヘッド22,23は、その長手方向(紙幅方向Y)に所定の間隔をあけて配置された複数個の単位ヘッド24を備えている。本例では、図2に示すように、単位ヘッド24は、上流側の記録ヘッド22には4個、下流側の記録ヘッド23が3個それぞれ設けられている。記録ヘッド22に属する複数個(4個)の単位ヘッド24と、記録ヘッド23に属する複数個(3個)の単位ヘッド24とが互いの隙間に相当する位置に配置されることで、複数個(7個)の単位ヘッド24は平面視において千鳥状に配列されている。   As shown in FIGS. 1 and 2, the recording unit 13 includes a long line head type recording heads 22, 23 in a width direction (paper width direction Y) orthogonal to the transport direction X (see FIG. 2). A plurality (two in FIG. 1 and FIG. 2, for example) are arranged in a parallel direction (posture) and spaced in the transport direction X. The recording heads 22 and 23 are provided with a plurality of unit heads 24 arranged at predetermined intervals in the longitudinal direction (paper width direction Y). In this example, as shown in FIG. 2, the unit head 24 is provided with four upstream recording heads 22 and three downstream recording heads 23. A plurality (four) of unit heads 24 belonging to the recording head 22 and a plurality (three) of unit heads 24 belonging to the recording head 23 are arranged at positions corresponding to the gaps between them. The (7) unit heads 24 are arranged in a staggered pattern in plan view.

図2に示す各単位ヘッド24の下面(ノズル形成面)に紙幅方向Yと平行に延びるインク色数と同数列のノズル列は、単位ヘッド24が千鳥配列されることにより、各色ごとに紙幅方向全域に分布しており、プリンター11が対応可能な最大用紙の全幅での印刷が可能になっている。本例では、各単位ヘッド24には、上流側(図2における右側)から順に、黒、シアン、マゼンタ、イエローに対応する4列のノズル列が形成されている。各ノズル列は、紙幅方向Yに多数のノズルが一定のノズルピッチで配列されて構成されている。各記録ヘッド23へはインクカートリッジからインク供給チューブ(いずれも図示せず)を通じてインクが供給され、各単位ヘッド24は用紙Pの搬送速度に合わせた噴射タイミングでインク滴を噴射するように制御される。この噴射タイミング制御により、搬送中の用紙Pに対して搬送方向Xに一定の印刷画素ピッチ(印字ピッチ)でインクドットが形成される。なお、記録ヘッド22,23のインクジェット駆動方式は、圧電振動方式(ピエゾ方式)、静電駆動方式、ヒーター方式(サーマル方式)等を採用できる。   The nozzle rows of the same number as the number of ink colors extending in parallel with the paper width direction Y on the lower surface (nozzle formation surface) of each unit head 24 shown in FIG. 2 are arranged in the paper width direction for each color by arranging the unit heads 24 in a staggered manner. It is distributed over the entire area, and printing with the full width of the maximum paper that can be handled by the printer 11 is possible. In this example, each unit head 24 is formed with four nozzle rows corresponding to black, cyan, magenta, and yellow in order from the upstream side (right side in FIG. 2). Each nozzle row is configured by arranging a large number of nozzles in the paper width direction Y at a constant nozzle pitch. Ink is supplied to each recording head 23 from an ink cartridge through an ink supply tube (none of which is shown), and each unit head 24 is controlled to eject ink droplets at an ejection timing according to the conveyance speed of the paper P. The By this ejection timing control, ink dots are formed at a constant print pixel pitch (print pitch) in the transport direction X on the paper P being transported. As the ink jet driving method of the recording heads 22 and 23, a piezoelectric vibration method (piezo method), an electrostatic driving method, a heater method (thermal method), or the like can be adopted.

記録ヘッド22,23の下側対向位置には、プラテン25が配置されている。プラテン25の下側には、メンテナンス装置26が配置されている。メンテナンス装置26は、プラテン25の不図示の開口部を挟んで単位ヘッド24と対向する位置に配置されると共に、回転カム27が回転駆動することで昇降可能なキャップ28を備える。各キャップ28は、記録ヘッド22,23による印刷時には印刷の邪魔にならないようにプラテン25の上面より下方へ退避し、記録ヘッド22,23による印刷が終了すると、プラテン25の開口を介して上方へ突出して単位ヘッド24のノズル形成面をキャッピングする構成となっている。なお、2本の記録ヘッド22,23間の中間位置には、搬送ユニット12を構成する中間ローラー対29が配置され、中間ローラー対29により用紙Pがニップされることで記録領域における用紙Pの浮き上がりが抑えられるようになっている。   A platen 25 is disposed at the lower facing position of the recording heads 22 and 23. A maintenance device 26 is disposed below the platen 25. The maintenance device 26 includes a cap 28 that is disposed at a position facing the unit head 24 across an opening (not shown) of the platen 25 and that can be moved up and down by rotating the rotary cam 27. The caps 28 are retracted downward from the upper surface of the platen 25 so as not to interfere with printing during printing by the recording heads 22 and 23. When printing by the recording heads 22 and 23 is completed, the caps 28 are moved upward through the openings of the platen 25. It is configured to project the nozzle forming surface of the unit head 24 by protruding. An intermediate roller pair 29 constituting the transport unit 12 is disposed at an intermediate position between the two recording heads 22 and 23, and the sheet P is nipped by the intermediate roller pair 29, so that the sheet P in the recording area is nipped. Lifting is suppressed.

図2に示すように、本実施形態では、記録ヘッド22,23における各単位ヘッド24は、ヘッド回転用モーター30の駆動により回転できるようになっている。また、記録ヘッド22,23は、ヘッド移動用モーター31が駆動されることで少なくとも上下方向を含む所定方向の移動が可能になっている。また、メンテナンス装置26はメンテナンス用モーター32が駆動されることでキャップ28の昇降動作及びメンテナンス動作を行う。   As shown in FIG. 2, in the present embodiment, each unit head 24 in the recording heads 22 and 23 can be rotated by driving a head rotating motor 30. The recording heads 22 and 23 can be moved in a predetermined direction including at least the vertical direction by driving the head moving motor 31. In addition, the maintenance device 26 moves the cap 28 up and down and performs a maintenance operation when the maintenance motor 32 is driven.

図1及び図2に示すように、ベルト搬送装置15は、用紙搬送方向下流側(図1、図2では左側)に設けられた駆動ローラー33と、搬送方向上流側に設けられた従動ローラー34と、駆動ローラー33と従動ローラー34間の略中間位置かつやや下側(図1参照)に配置されたテンションローラー35と、各ローラー33〜35の外周面に渡って巻き掛けられた無端状の搬送ベルト36とを有している。   As shown in FIGS. 1 and 2, the belt conveyance device 15 includes a driving roller 33 provided on the downstream side in the paper conveyance direction (left side in FIGS. 1 and 2) and a driven roller 34 provided on the upstream side in the conveyance direction. And a tension roller 35 disposed at a substantially intermediate position and slightly below (see FIG. 1) between the drive roller 33 and the driven roller 34, and an endless shape wound around the outer peripheral surface of each of the rollers 33-35. A conveyor belt 36.

図2に示すように、駆動ローラー33には搬送モーター37の出力軸が直接又は減速機構(図示省略)を介して動力伝達可能に連結されている。搬送モーター37が正転駆動されると、駆動ローラー33が回転駆動し、搬送ベルト36が図1における反時計方向に回転することで、用紙Pの上流側から下流側へ向かう搬送方向Xへの搬送が可能になっている。   As shown in FIG. 2, the output shaft of the transport motor 37 is coupled to the drive roller 33 directly or via a speed reduction mechanism (not shown) so that power can be transmitted. When the transport motor 37 is driven to rotate forward, the drive roller 33 is driven to rotate, and the transport belt 36 rotates counterclockwise in FIG. 1, thereby moving the paper P in the transport direction X from the upstream side toward the downstream side. Transport is possible.

図1に示すように、従動ローラー34の下側には、帯電ローラー38が不図示のバネの付勢力により搬送ベルト36の外周面と接触し、かつ搬送ベルト36の回転に伴い転動可能な状態に保持されている。帯電ローラー38が搬送ベルト36を帯電させることにより、搬送ベルト36上への用紙Pの静電吸着が可能になる。ここで、用紙Pのベルト吸着方式は、静電吸着方式に限定されず、例えば搬送ベルト36に形成された多数の吸引孔を通じて用紙Pを搬送ベルト36上に負圧吸着させる負圧吸着方式も採用できる。なお、ベルト搬送装置15の搬送方向下流側には、印刷後の用紙Pの排出先となる不図示の排紙部が設けられている。   As shown in FIG. 1, below the driven roller 34, a charging roller 38 is brought into contact with the outer peripheral surface of the conveyor belt 36 by a biasing force of a spring (not shown) and can roll as the conveyor belt 36 rotates. Held in a state. When the charging roller 38 charges the conveyance belt 36, the sheet P can be electrostatically attracted onto the conveyance belt 36. Here, the belt adsorption method of the paper P is not limited to the electrostatic adsorption method. For example, a negative pressure adsorption method in which the paper P is negatively adsorbed on the conveyance belt 36 through a plurality of suction holes formed in the conveyance belt 36 is also possible. Can be adopted. A paper discharge unit (not shown) that is a discharge destination of the printed paper P is provided on the downstream side of the belt conveyance device 15 in the conveyance direction.

図2に示すように、記録ユニット13の記録領域を含む範囲の幅方向両側には、搬送中の用紙Pの幅方向両端を位置検出することで用紙の姿勢(搬送方向Xに対する傾き)を検出する複数対(図2では一例として6対)の用紙姿勢検出センサー40が配置されている。複数の用紙姿勢検出センサー40の検出結果は、例えば用紙Pの姿勢が搬送方向Xに対して傾いても、用紙Pに正しく印刷できるように記録ヘッド22,23を紙幅方向に位置制御したり、不図示のスキュー取り装置により用紙Pのスキュー取りを行ったりするなど種々の制御に使用される。   As shown in FIG. 2, on both sides in the width direction of the range including the recording area of the recording unit 13, the posture of the sheet (inclination with respect to the conveyance direction X) is detected by detecting the positions in the width direction of the sheet P being conveyed. A plurality of pairs (six as an example in FIG. 2) of paper posture detection sensors 40 are arranged. The detection results of the plurality of paper attitude detection sensors 40 include, for example, position control of the recording heads 22 and 23 in the paper width direction so that printing can be performed correctly on the paper P even when the attitude of the paper P is inclined with respect to the transport direction X. It is used for various controls such as skewing of the paper P by a skew removal device (not shown).

また、図2に示すように、搬送中の用紙Pの先端(ターゲットの端)を検出するために、複数個(例えば6個)のリニアイメージセンサー41〜46が搬送方向Xに沿って千鳥配列で配置されている。すなわち、複数個のリニアイメージセンサー41〜46は、紙幅方向Yに異なる二位置に二列で配置され、一方の列に属する3個のリニアイメージセンサー41,43,45と他方の列に属する3個のリニアイメージセンサー42,44,46は、それぞれ相手側のセンサー列の隙間に相当する位置に配置されている。そして、6個のリニアイメージセンサー41〜46は、それぞれ搬送方向Xの端部が、相手側のセンサー列に属する他のリニアイメージセンサーの端部と、搬送方向Xにおいてオーバーラップ量OLだけ重複(オーバーラップ)している。もちろん、複数個のリニアイメージセンサーは千鳥配置に限定されず、端部が搬送方向に一部重複する所定の配列パターンで配列されていれば足りる。   In addition, as shown in FIG. 2, a plurality of (for example, six) linear image sensors 41 to 46 are staggered along the transport direction X in order to detect the front end (target end) of the paper P being transported. Is arranged in. That is, the plurality of linear image sensors 41 to 46 are arranged in two rows at two different positions in the paper width direction Y, and three linear image sensors 41, 43, 45 belonging to one row and 3 belonging to the other row. The individual linear image sensors 42, 44, 46 are arranged at positions corresponding to the gaps of the counterpart sensor row. Each of the six linear image sensors 41 to 46 has an end in the transport direction X that overlaps with an end of another linear image sensor belonging to the partner sensor array by an overlap amount OL in the transport direction X ( Overlap). Of course, the plurality of linear image sensors are not limited to the staggered arrangement, and it is sufficient if the end portions are arranged in a predetermined arrangement pattern that partially overlaps in the transport direction.

また、プリンター11には制御手段としてのコントローラー50(図6参照)が設けられている。コントローラー50は、リニアイメージセンサー41〜46からの検出信号を基に算出した用紙Pの搬送速度及び搬送位置に基づいて搬送モーター37(図2に示す)の速度制御及び位置制御を行う。また、コントローラー50は、リニアイメージセンサー41からの検出信号を基に算出した用紙Pの搬送速度に反比例するパルス周期のパルス信号である噴射タイミング信号PTS(印字タイミング信号)(図6参照)を生成し、噴射タイミング信号PTSに基づいて記録ヘッド22,23(つまり各記録ヘッド22,23を構成する複数の単位ヘッド24)の噴射タイミングを制御する。なお、複数の単位ヘッド24は、それが属する記録ヘッド22,23ごとに同期して噴射制御される。   Further, the printer 11 is provided with a controller 50 (see FIG. 6) as control means. The controller 50 performs speed control and position control of the transport motor 37 (shown in FIG. 2) based on the transport speed and transport position of the paper P calculated based on the detection signals from the linear image sensors 41 to 46. Further, the controller 50 generates an ejection timing signal PTS (print timing signal) (see FIG. 6), which is a pulse signal having a pulse period inversely proportional to the conveyance speed of the paper P calculated based on the detection signal from the linear image sensor 41. Then, the ejection timing of the recording heads 22 and 23 (that is, the plurality of unit heads 24 constituting each recording head 22 and 23) is controlled based on the ejection timing signal PTS. The plurality of unit heads 24 are jetted in synchronization with each of the recording heads 22 and 23 to which the unit heads 24 belong.

次にリニアイメージセンサー41〜46の構成を説明する。図3に示すように、リニアイメージセンサー41(42〜46)は、その長手方向に沿って一列に配置された複数個(図3では3個)の検出チップ51を有している。各検出チップ51には、多数(例えば100〜1000個)の受光素子52(検出素子)が所定ピッチで一列に配列されている。1列に配置された多数個の受光素子52の間には、検出チップ51間における比較的広めの隙間G1と、同一の検出チップ51内に配列された各受光素子52間の比較的狭めの隙間G2とが存在している。   Next, the configuration of the linear image sensors 41 to 46 will be described. As shown in FIG. 3, the linear image sensor 41 (42 to 46) has a plurality (three in FIG. 3) of detection chips 51 arranged in a line along the longitudinal direction. In each detection chip 51, a large number (for example, 100 to 1000) of light receiving elements 52 (detection elements) are arranged in a line at a predetermined pitch. Between a large number of light receiving elements 52 arranged in a row, a relatively wide gap G1 between the detection chips 51 and a relatively narrow gap between the light receiving elements 52 arranged in the same detection chip 51. There is a gap G2.

図4は、検出チップ内で隣合う2つの受光素子を示す底面図である。図4に示すように、受光素子52の画素の長手方向(搬送方向X)における一辺の長さをA、幅方向(紙幅方向Y)における一辺の長さをB、受光素子52の画素中心間距離をCとすると、受光素子52間の隙間G2(画素間距離)は、G2=C−Aで示される。そして、隙間G1は、この隙間G2よりも広い。   FIG. 4 is a bottom view showing two adjacent light receiving elements in the detection chip. As shown in FIG. 4, the length of one side in the longitudinal direction (transport direction X) of the pixels of the light receiving element 52 is A, the length of one side in the width direction (paper width direction Y) is B, and the distance between the pixel centers of the light receiving elements 52 When the distance is C, a gap G2 (distance between pixels) between the light receiving elements 52 is expressed by G2 = C−A. The gap G1 is wider than the gap G2.

図5は、ターゲットの一例である用紙Pと受光素子52との位置関係と、受光素子52の出力値との関係を示す模式図である。図5において(a)〜(c)は、受光素子52と用紙Pとの異なる位置関係を示し、(a)〜(c)の順で用紙Pが同図における右方向へ進んでいる。図5における(d)〜(f)は、(a)〜(c)の位置関係にあるときの受光素子52の出力値を示すグラフである。これらのグラフでは、横軸が各受光素子52の位置座標、縦軸が各受光素子52の検出信号Aoutの出力値を示している。   FIG. 5 is a schematic diagram illustrating the relationship between the positional relationship between the paper P, which is an example of the target, and the light receiving element 52, and the output value of the light receiving element 52. 5A to 5C show different positional relationships between the light receiving element 52 and the paper P, and the paper P advances in the right direction in FIG. 5 in the order of FIGS. (D)-(f) in FIG. 5 is a graph which shows the output value of the light receiving element 52 when it exists in the positional relationship of (a)-(c). In these graphs, the horizontal axis indicates the position coordinates of each light receiving element 52, and the vertical axis indicates the output value of the detection signal Aout of each light receiving element 52.

ここで、プリンター11においてリニアイメージセンサー41〜46の下方に対向する面であって、用紙Pがその上面を搬送されることになるプラテン25や搬送ベルトの上面などよりなる搬送面は、用紙Pに比べ光反射率の低い光低反射率面に形成されている。本例では、搬送面には、用紙Pの反射率の高い色(白色)に比べ光反射率の低い濃色が施されている。もちろん、ターゲットと搬送面との光反射率が異なればよく、例えば用紙が濃色(例えば黒色系)の場合は、逆に搬送面を光反射率の高い白色系の色にする。この場合、用紙の検出の有無により、出力値のMAX値とMIN値は逆になる。   Here, in the printer 11, the surface facing the lower side of the linear image sensors 41 to 46, and the conveyance surface composed of the platen 25 on which the sheet P is conveyed, the upper surface of the conveyance belt, or the like is the sheet P. It is formed on a light low reflectivity surface having a low light reflectivity compared to the above. In this example, the transport surface is provided with a dark color having a lower light reflectance than the color (white) of the paper P having a higher reflectance. Of course, the light reflectance of the target and the transport surface need only be different. For example, when the paper is dark (for example, black), the transport surface is made a white color with high light reflectance. In this case, the MAX value and the MIN value of the output value are reversed depending on whether or not the sheet is detected.

受光素子52はその下方に対向する面からの反射光を受光し、その受光量に応じた出力値(検出電圧値)を出力する。このとき受光素子52の検出エリア内に用紙Pが存在しなければ、光低反射率の搬送面からの反射光を受光することになるので、出力値はMIN値となる。一方、用紙Pが受光素子52を覆う場合(つまり検出エリア内にある場合)は、用紙Pからの反射光を受光した受光素子52は用紙Pで覆われた部分の画素面積(つまり検出エリア内における用紙Pの占有面積)に略比例する出力値を出力する。   The light receiving element 52 receives reflected light from the surface facing downward, and outputs an output value (detection voltage value) corresponding to the amount of light received. At this time, if the sheet P does not exist in the detection area of the light receiving element 52, the reflected light from the conveying surface having a low light reflectance is received, so the output value becomes the MIN value. On the other hand, when the paper P covers the light receiving element 52 (that is, within the detection area), the light receiving element 52 that receives the reflected light from the paper P has a pixel area of the portion covered with the paper P (that is, within the detection area). An output value that is substantially proportional to the area occupied by the paper P in FIG.

図5(a)は、用紙Pが、上流側(同図における左側)の受光素子52の画素の一部を覆う状態にあるときの用紙Pの搬送位置を示す。この位置関係にあるときは、図5(d)に示すように、上流側の受光素子52の出力値は、用紙Pで覆われた部分の画素面積に応じた値になり、下流側の受光素子52の出力値は、用紙Pで覆われていないのでMIN値になっている。   FIG. 5A shows the transport position of the paper P when the paper P is in a state of covering a part of the pixels of the light receiving element 52 on the upstream side (left side in the figure). When in this positional relationship, as shown in FIG. 5D, the output value of the light receiving element 52 on the upstream side becomes a value corresponding to the pixel area of the portion covered with the paper P, and the light receiving on the downstream side. Since the output value of the element 52 is not covered with the paper P, it has a MIN value.

また、図5(b)に示すように、用紙Pが上流側の受光素子52の画素全体を丁度覆った状態にある。このときは、図5(e)に示すように、上流側の受光素子52の出力値がMAX値になり、下流側の受光素子52の出力値がMIN値になる。   Further, as shown in FIG. 5B, the paper P is in a state where it covers the entire pixels of the light receiving element 52 on the upstream side. At this time, as shown in FIG. 5E, the output value of the upstream light receiving element 52 becomes the MAX value, and the output value of the downstream light receiving element 52 becomes the MIN value.

さらに、図5(c)に示すように、用紙Pが上流側の受光素子52と下流側の受光素子52との隙間G2に位置する状態にある。このときは、図5(e)に示すように、上流側の受光素子52の出力値がMAX値になり、下流側の受光素子52の出力値がMIN値になる。   Further, as shown in FIG. 5C, the paper P is in a state of being located in a gap G <b> 2 between the upstream light receiving element 52 and the downstream light receiving element 52. At this time, as shown in FIG. 5E, the output value of the upstream light receiving element 52 becomes the MAX value, and the output value of the downstream light receiving element 52 becomes the MIN value.

すなわち、図5(b)のように用紙Pの先端が隙間への進入を開始した時点から、図5(c)のように用紙Pの先端が隙間の範囲内に位置する状態を経て、用紙Pの先端が下流側の受光素子52を覆い始め、それまで進行していた隙間を通過し終わった時点までの区間において、隣り合う2つの受光素子52,52は、図5(e),(f)に示すような出力値を出力する。このことから、隣り合う2つの受光素子52,52の各出力値が、図5(e),(f)に示すようにMAX値とMIN値との組合せをとる区間では、用紙Pの先端が隙間G2に相当する不感帯に位置すると判断できる。なお、図5では、隙間G2を挟んで隣り合う受光素子52を示したが、検出チップ51間の隙間G1を挟んで隣り合う受光素子52の各出力値についても、MAX値とMIN値との組合せをとる区間が長くなるだけで、MAX値とMIN値との組合せをとる区間を、用紙Pの先端が隙間G1にあると判断できる。   That is, from the time when the leading edge of the paper P starts to enter the gap as shown in FIG. 5B, the paper P passes through the state where the leading edge of the paper P is located within the gap as shown in FIG. 5C. Two adjacent light receiving elements 52, 52 in the section from the point when the tip of P begins to cover the downstream light receiving element 52 to the end of passing through the gap that has been progressing, are shown in FIGS. An output value as shown in f) is output. Therefore, in the section where the output values of the two adjacent light receiving elements 52 and 52 take a combination of the MAX value and the MIN value as shown in FIGS. It can be determined that it is located in the dead zone corresponding to the gap G2. In FIG. 5, the light receiving elements 52 adjacent to each other with the gap G2 interposed therebetween are shown. However, the MAX value and the MIN value of each output value of the light receiving elements 52 adjacent to each other with the gap G1 between the detection chips 51 interposed therebetween are also illustrated. It is possible to determine that the leading edge of the paper P is in the gap G1 in the section in which the combination of the MAX value and the MIN value is obtained only by increasing the section in which the combination is taken.

図5(a)に示す搬送位置にあるとき、上流側の受光素子52の出力値からその画素の一辺Aの範囲内のどの位置に用紙の先端が位置するかを判定できる。しかし、図5(b),(c)に示すように、用紙Pの先端が隙間G2に相当する不感帯に位置するときは、用紙Pが進行しているにも関わらず、隣り合う2つの受光素子52の各出力値がMAX値とMIN値をとり続けるので、用紙Pの先端がこの不感帯を通過し終わるまでの間、各受光素子52の出力値からは用紙Pの搬送位置及び搬送速度の検出が不能になる。なお、本明細書では、用紙Pの先端が隙間G1,G2に相当する搬送経路上の区間であって、用紙Pの搬送位置及び搬送速度を検出不能な搬送経路上の区間を不感帯と呼んでいる。但し、用紙Pと受光素子52は所定のギャップだけ離れて対峙し、用紙Pからの光がすべて真上に反射される訳ではないので、隙間G1,G2と不感帯とで区間に若干のずれがある。図5(e),(f)に示すように用紙Pが搬送中であるにも関わらず、受光素子52の出力値が変化しなくなる用紙Pの搬送経路上の区間が不感帯である。   When in the transport position shown in FIG. 5A, it can be determined from the output value of the upstream light receiving element 52 where the leading edge of the sheet is located within the range of one side A of the pixel. However, as shown in FIGS. 5B and 5C, when the leading edge of the paper P is located in the dead zone corresponding to the gap G2, the two adjacent light receiving elements are used although the paper P is traveling. Since each output value of the element 52 continues to take the MAX value and the MIN value, from the output value of each light receiving element 52 until the leading edge of the sheet P finishes passing through the dead zone, the conveyance position and conveyance speed of the sheet P are determined. Detection becomes impossible. In the present specification, a section on the transport path in which the leading edge of the paper P corresponds to the gaps G1 and G2 and the transport position and speed of the paper P cannot be detected is called a dead zone. Yes. However, since the paper P and the light receiving element 52 face each other with a predetermined gap, and not all the light from the paper P is reflected directly above, there is a slight shift in the section between the gaps G1, G2 and the dead zone. is there. As shown in FIGS. 5E and 5F, a zone on the conveyance path of the paper P where the output value of the light receiving element 52 does not change although the paper P is being conveyed is a dead zone.

なお、本実施形態では、隙間G1,G2を特に区別しない場合は、単に隙間Gと記すことにする。また、リニアイメージセンサー41〜46を、搬送方向上流側のものから順に、第1センサー41、第2センサー42、…、第6センサー46と呼ぶ場合もある(図6参照)。   In the present embodiment, when the gaps G1 and G2 are not particularly distinguished, they are simply referred to as the gap G. Further, the linear image sensors 41 to 46 may be referred to as a first sensor 41, a second sensor 42,..., A sixth sensor 46 in order from the upstream side in the transport direction (see FIG. 6).

次にプリンター11の電気的構成を説明する。図6は、プリンター11の電気的構成を示すブロック図である。プリンター11は図6に示すコントローラー50を備えている。コントローラー50は、プリンターが不図示のホスト装置などから受信した印刷データに基づいて搬送モーター37及び記録ヘッド22,23を制御する。このとき、コントローラー50は、第1〜第6センサー41〜46からの出力値に基づいて用紙Pの搬送位置及び搬送速度を含む搬送状態を検出し、搬送状態検出結果に基づいて搬送モーター37及び記録ヘッド22,23を制御する。コントローラー50は、検出した搬送速度を基に、この搬送速度に反比例する噴射周期(パルス周期)の噴射タイミング信号PTSを生成し、生成した噴射タイミング信号PTSに基づき記録ヘッド22,23の噴射タイミングを制御する。   Next, the electrical configuration of the printer 11 will be described. FIG. 6 is a block diagram illustrating an electrical configuration of the printer 11. The printer 11 includes a controller 50 shown in FIG. The controller 50 controls the transport motor 37 and the recording heads 22 and 23 based on print data received by the printer from a host device (not shown). At this time, the controller 50 detects the transport state including the transport position and transport speed of the paper P based on the output values from the first to sixth sensors 41 to 46, and the transport motor 37 and the transport motor 37 based on the transport state detection result. The recording heads 22 and 23 are controlled. Based on the detected conveyance speed, the controller 50 generates an injection timing signal PTS having an injection period (pulse period) inversely proportional to the conveyance speed, and determines the injection timing of the recording heads 22 and 23 based on the generated injection timing signal PTS. Control.

このコントローラー50は、主制御部60、演算部61、クロック回路62、センサー切替回路63、マルチプレクサー64、増幅器65、A/D変換器66、搬送駆動部67、及び噴射タイミング信号生成部68を備えている。   The controller 50 includes a main control unit 60, a calculation unit 61, a clock circuit 62, a sensor switching circuit 63, a multiplexer 64, an amplifier 65, an A / D converter 66, a transport driving unit 67, and an ejection timing signal generation unit 68. I have.

主制御部60は、デマルチプレクサー69を介して第1〜第6センサー41〜46と接続されている。主制御部60は、サンプリング信号SPを定期的にデマルチプレクサー69に出力する。デマルチプレクサー69は、クロック回路62からのクロック信号CLK(クロックパルス)と、主制御部60からのサンプリング信号SPと、センサー切替回路63からの切替信号とを入力する。デマルチプレクサー69はサンプリング信号SPを入力する度に、第1〜第6センサー41〜46のうち切替信号で選択された1つのセンサーにクロック信号CLKとサンプリング信号SPとを出力する。そして、その選択された1つのセンサーがサンプリング信号SPの入力をトリガーとしてクロック信号CLKに基づき動作して出力値を出力する。そのため、その選択されている1つのセンサーの検出信号Aoutはサンプリング周期毎にマルチプレクサー64に入力される。マルチプレクサー64は、センサー切替回路63からの切替信号で指定された一つのセンサーとの接続を選択し、その選択したセンサーから入力した検出信号Aoutを増幅器65へ出力する。A/D変換器66は増幅器65から入力したアナログ信号の検出信号Aoutをデジタル信号の検出データDoutに変換して演算部61に出力するようになっている。   The main controller 60 is connected to the first to sixth sensors 41 to 46 via the demultiplexer 69. The main control unit 60 outputs the sampling signal SP to the demultiplexer 69 periodically. The demultiplexer 69 receives the clock signal CLK (clock pulse) from the clock circuit 62, the sampling signal SP from the main control unit 60, and the switching signal from the sensor switching circuit 63. Each time the sampling signal SP is input, the demultiplexer 69 outputs the clock signal CLK and the sampling signal SP to one of the first to sixth sensors 41 to 46 selected by the switching signal. Then, the selected one sensor operates based on the clock signal CLK with the input of the sampling signal SP as a trigger, and outputs an output value. Therefore, the detection signal Aout of one selected sensor is input to the multiplexer 64 every sampling period. The multiplexer 64 selects connection with one sensor designated by the switching signal from the sensor switching circuit 63, and outputs the detection signal Aout input from the selected sensor to the amplifier 65. The A / D converter 66 converts the detection signal Aout of the analog signal input from the amplifier 65 into detection data Dout of the digital signal and outputs it to the calculation unit 61.

主制御部60は、演算部61、クロック回路62及び搬送駆動部67を制御する。演算部61は、主制御部60からの指示に従い動作する。主制御部60は、プリンター11が起動されると、クロック回路62を動作させる。クロック回路62は、その動作時にクロック信号CLKを演算部61、A/D変換器66及びデマルチプレクサー69などに出力する。   The main control unit 60 controls the calculation unit 61, the clock circuit 62, and the transport driving unit 67. The calculation unit 61 operates according to instructions from the main control unit 60. The main control unit 60 operates the clock circuit 62 when the printer 11 is activated. The clock circuit 62 outputs the clock signal CLK to the arithmetic unit 61, the A / D converter 66, the demultiplexer 69, and the like during the operation.

演算部61は、主制御部60からの指示信号と、クロック回路62からのクロック信号CLKと、A/D変換器66からの検出データDoutとを入力する。ここで、検出データDoutは、図5に示した受光素子52の検出信号Aout(アナログ信号)の出力値をデジタルの出力値に変換したデータである。つまり、検出データDoutは、1つのリニアイメージセンサー41(42〜46)の検出信号Aoutに含まれる多数個の受光素子52の各出力値を、MIN値を「0」、MAX値を「10」としてデジタル化した出力値の列からなるデータである。このため、検出データDoutでは、搬送方向の最上流に位置する受光素子52から下流側の受光素子52へ向かう順番で受光素子52の出力値が並んでいる。例えば検出データDoutは、(10,10,10,…,10,10,5,0,0,…,0,0)のような多数個の出力値を含む。検出データDoutにおけるMAX値を「10」の個数と、MAX値以外の端数の値とから、そのときの選択センサーにおける検出開始位置からの搬送距離が分かり、この搬送距離から選択センサーにおける検出位置x(n)が分かるようになっている。   The arithmetic unit 61 inputs an instruction signal from the main control unit 60, a clock signal CLK from the clock circuit 62, and detection data Dout from the A / D converter 66. Here, the detection data Dout is data obtained by converting the output value of the detection signal Aout (analog signal) of the light receiving element 52 shown in FIG. 5 into a digital output value. That is, the detection data Dout is the output value of the multiple light receiving elements 52 included in the detection signal Aout of one linear image sensor 41 (42 to 46), the MIN value is “0”, and the MAX value is “10”. As data consisting of a digitized output value sequence. For this reason, in the detection data Dout, the output values of the light receiving elements 52 are arranged in the order from the light receiving element 52 located at the uppermost stream in the transport direction to the light receiving element 52 on the downstream side. For example, the detection data Dout includes a large number of output values such as (10, 10, 10,..., 10, 10, 5, 0, 0,..., 0, 0). The conveyance distance from the detection start position of the selection sensor at that time is determined from the number of “10” as the MAX value in the detection data Dout and the fractional value other than the MAX value, and the detection position x of the selection sensor is determined from this conveyance distance. (n) can be understood.

このため、選択センサーが第Nセンサー(搬送方向上流側からN番目のリニアイメージセンサー)であるとき、この第Nセンサーの検出データDoutから決まる検出位置x(n)を用いて、第1センサー41の検出開始位置を原点とする用紙Pの搬送位置X(n)は、X(n)=N・Xo+x(n)で示される。ここで、Xoは、各センサーの検出開始位置からオーバーラップ位置までの搬送距離に相当する値である。   For this reason, when the selection sensor is the Nth sensor (Nth linear image sensor from the upstream side in the transport direction), the first sensor 41 is detected using the detection position x (n) determined from the detection data Dout of the Nth sensor. The transport position X (n) of the paper P having the origin at the detection start position is represented by X (n) = N · Xo + x (n). Here, Xo is a value corresponding to the transport distance from the detection start position of each sensor to the overlap position.

演算部61は、選択センサー判定部71、センサー切替制御部72、及び噴射タイミング算出部73を備えている。選択センサー判定部71は、検出データDoutに基づいて、第1〜第6センサー41〜46のうち検出信号Aoutを読み込むべき1つの選択センサーを選択する判定処理を行う。第1〜第6センサー41〜46のうち用紙Pの先端が検出エリアに存在している1つのセンサーがどれであるかを検出データDoutに基づいて判定する。そして、センサー切替制御部72は、選択センサー判定部71の判定結果に基づき選択された1つのセンサーを、検出信号Aoutの入力元センサーに切り替えるべくセンサー切替回路63に選択信号を出力する。センサー切替回路63は、センサー切替制御部72からの選択信号で選択された1つのセンサーからの検出信号Aoutをマルチプレクサー64が出力できるように、マルチプレクサー64及びデマルチプレクサー69を切替制御する。   The calculation unit 61 includes a selection sensor determination unit 71, a sensor switching control unit 72, and an injection timing calculation unit 73. The selection sensor determination unit 71 performs determination processing for selecting one selection sensor from which the detection signal Aout is to be read out of the first to sixth sensors 41 to 46 based on the detection data Dout. Based on the detection data Dout, it is determined which one of the first to sixth sensors 41 to 46 has the leading edge of the paper P in the detection area. Then, the sensor switching control unit 72 outputs a selection signal to the sensor switching circuit 63 in order to switch one sensor selected based on the determination result of the selection sensor determination unit 71 to the input source sensor of the detection signal Aout. The sensor switching circuit 63 switches and controls the multiplexer 64 and the demultiplexer 69 so that the multiplexer 64 can output the detection signal Aout from one sensor selected by the selection signal from the sensor switching control unit 72.

また、検出データDoutは、噴射タイミング算出部73へ入力される。噴射タイミング算出部73は、検出データDoutの他、クロック信号CLK、主制御部60からの各種信号を入力し、これらの入力値や入力信号に基づいて用紙Pの搬送位置、搬送速度、噴射周期を算出する回路部である。そのため、噴射タイミング算出部73は、搬送速度を算出する搬送速度算出部75、搬送位置を算出する搬送位置算出部76、及び記録ヘッド22,23の噴射タイミングを決める噴射周期を算出する噴射周期算出部77を備えている。   The detection data Dout is input to the injection timing calculation unit 73. In addition to the detection data Dout, the ejection timing calculation unit 73 receives the clock signal CLK and various signals from the main control unit 60, and the conveyance position, conveyance speed, and ejection cycle of the paper P based on these input values and input signals. It is a circuit part which calculates. Therefore, the ejection timing calculation unit 73 calculates the ejection cycle for determining the ejection timing of the recording heads 22 and 23, the conveyance speed calculation unit 75 for calculating the conveyance speed, the conveyance position calculation unit 76 for calculating the conveyance position, and the ejection cycle. A portion 77 is provided.

噴射タイミング算出部73は、噴射タイミング信号生成部68で噴射タイミング信号PTSを生成する際に使用する噴射周期を算出するための回路部であり、この噴射周期を算出するために搬送速度を用いるので、その内部に搬送速度算出部75を内蔵する。また、搬送位置算出部76は、搬送速度算出部75が算出した搬送速度と検出データDoutとに基づき搬送位置X(n)を算出する。搬送速度算出部75が算出した搬送速度V(n)と、搬送位置算出部76が算出した搬送位置X(n)とは主制御部60に出力される。主制御部60は、搬送速度V(n)と搬送位置X(n)とに基づいて搬送モーター37の速度制御及び位置制御を行う。   The injection timing calculation unit 73 is a circuit unit for calculating an injection cycle used when the injection timing signal generation unit 68 generates the injection timing signal PTS, and uses the conveyance speed to calculate the injection cycle. In addition, a conveyance speed calculation unit 75 is built therein. Further, the transport position calculation unit 76 calculates the transport position X (n) based on the transport speed calculated by the transport speed calculation unit 75 and the detection data Dout. The conveyance speed V (n) calculated by the conveyance speed calculation unit 75 and the conveyance position X (n) calculated by the conveyance position calculation unit 76 are output to the main control unit 60. The main control unit 60 performs speed control and position control of the transport motor 37 based on the transport speed V (n) and the transport position X (n).

図7は、コントローラー50内の主制御部60及び演算部61が行う印刷処理のフローチャートを示す。以下、印刷処理について図7を用いて説明する。
主制御部60は、例えば不図示の用紙検出用センサーからの検出信号に基づき、給送ユニット14から給送された用紙Pの先端(紙端)が印刷開始位置より搬送方向上流側の規定位置に達したと判断すると、演算部61に出力開始信号を出力すると共に、デマルチプレクサー69への所定時間間隔毎のサンプリング信号の出力を開始する。
FIG. 7 is a flowchart of the printing process performed by the main control unit 60 and the calculation unit 61 in the controller 50. Hereinafter, the printing process will be described with reference to FIG.
For example, based on a detection signal from a sheet detection sensor (not shown), the main control unit 60 determines that the leading end (sheet end) of the sheet P fed from the feeding unit 14 is a specified position upstream of the print start position in the transport direction. When it is determined that the signal has reached, an output start signal is output to the arithmetic unit 61 and sampling signal output to the demultiplexer 69 is started every predetermined time interval.

演算部61は、主制御部60から出力開始信号を入力すると、センサー切替回路63に第1センサー41を選択させる旨の選択信号を出力する。センサー切替回路63は、選択信号で指定された第1センサー41を、マルチプレクサー64及びデマルチプレクサー69に選択させる。その選択された第1センサー41は、デマルチプレクサー69からサンプリング信号SPとクロック信号CLKを入力し、クロック信号CLKに同期して、多数個の受光素子52(検出素子)の検出値(出力値)を上流側の受光素子52から順番にシリアル出力する。   When the output start signal is input from the main control unit 60, the calculation unit 61 outputs a selection signal for causing the sensor switching circuit 63 to select the first sensor 41. The sensor switching circuit 63 causes the multiplexer 64 and the demultiplexer 69 to select the first sensor 41 specified by the selection signal. The selected first sensor 41 receives the sampling signal SP and the clock signal CLK from the demultiplexer 69, and detects the detection values (output values) of the multiple light receiving elements 52 (detection elements) in synchronization with the clock signal CLK. ) Are serially output in order from the light receiving element 52 on the upstream side.

マルチプレクサー64は、選択センサーである第1センサー41からの検出信号Aoutを入力し、その検出信号Aoutを増幅器65を介してA/D変換器66へ出力する。A/D変換器66は、クロック信号CLKに同期して検出信号Aoutのアナログ出力値をA/D変換してデジタル出力値の列からなる検出データDoutを演算部61へ出力する。こうしてサンプリングが開始されると、A/D変換器66から演算部61への検出データDoutの入力が開始されると共に、主制御部60及び演算部61による図7に示す印刷処理が開始される。   The multiplexer 64 receives the detection signal Aout from the first sensor 41 that is a selection sensor, and outputs the detection signal Aout to the A / D converter 66 via the amplifier 65. The A / D converter 66 A / D converts the analog output value of the detection signal Aout in synchronization with the clock signal CLK, and outputs detection data Dout composed of a sequence of digital output values to the arithmetic unit 61. When sampling is started in this way, input of detection data Dout from the A / D converter 66 to the calculation unit 61 is started, and printing processing shown in FIG. 7 by the main control unit 60 and the calculation unit 61 is started. .

ステップS10では、用紙Pの先端(紙端)が第1センサー41に到達したか否かを判定する。この判定は、詳しくは、選択センサー判定部71が検出データDoutを監視し、そのうち最上流(最初)の出力値が用紙給送開始後、初めて「0」(MIN値)を超えたことをもって、紙端が第1センサー41に到達したと判定する。紙端が第1センサー41に到達しなければ到達するまで待機し、到達すればステップS20に進む。   In step S <b> 10, it is determined whether the leading edge (paper edge) of the paper P has reached the first sensor 41. Specifically, the selection sensor determination unit 71 monitors the detection data Dout, and the most upstream (first) output value exceeds “0” (MIN value) for the first time after the sheet feeding is started. It is determined that the paper edge has reached the first sensor 41. If the paper edge does not reach the first sensor 41, the process waits until it reaches, and if it reaches, the process proceeds to step S20.

ステップS20では、噴射タイミングを算出する。すなわち、演算部61内の噴射タイミング算出部73が、検出データDoutに基づきインク滴を噴射する時間間隔である噴射周期t(n)を算出する。この噴射周期t(n)を用いて噴射タイミング信号生成部68が生成した噴射タイミング信号PTSのパルスに同期したタイミングで記録ヘッド22,23は、印字データ(ラスターデータ)に基づく噴射制御を行う。この噴射タイミング算出部73の演算内容の詳細は後述する。なお、印字データは、コントローラー50が例えばホスト装置から受信して展開した印刷データのうち同じタイミングで噴射される1ライン(ノズル1列)分又は複数ライン分のドットデータからなる。   In step S20, the injection timing is calculated. That is, the ejection timing calculation unit 73 in the calculation unit 61 calculates an ejection cycle t (n) that is a time interval for ejecting ink droplets based on the detection data Dout. The recording heads 22 and 23 perform ejection control based on print data (raster data) at a timing synchronized with the pulse of the ejection timing signal PTS generated by the ejection timing signal generation unit 68 using the ejection cycle t (n). Details of the calculation contents of the injection timing calculation unit 73 will be described later. The print data is composed of dot data for one line (one nozzle row) or a plurality of lines ejected at the same timing among the print data received and developed by the controller 50 from the host device, for example.

ステップS30では、主制御部60が1枚の印刷を終了したか否かを判断する。印刷終了前であれば、ステップS40に進んで、用紙Pの先端がオーバーラップ位置に到達したか否かを判定する。ここで、オーバーラップ位置とは、各センサー41〜46の下流側においてオーバーラップ量OL(図2参照)の範囲内に設定されたセンサー切替位置を指す。   In step S30, the main control unit 60 determines whether or not printing for one sheet has been completed. If it is before the end of printing, the process proceeds to step S40 to determine whether or not the leading edge of the paper P has reached the overlap position. Here, the overlap position refers to a sensor switching position set within the range of the overlap amount OL (see FIG. 2) on the downstream side of each of the sensors 41 to 46.

この判定は、詳しくは、選択センサー判定部71が検出データDoutを監視し、現在の選択センサー(例えば第1センサー41)のオーバーラップ位置に該当する受光素子52の検出値がMAX値(例えば「10」)になったことをもって、紙端が現在の選択センサーとその一つ下流側のセンサーとのオーバーラップ位置(センサー切替位置)に到達したと判定する。オーバーラップ位置に到達しなければステップS20に戻り噴射タイミング算出を行い、オーバーラップ位置に到達すればステップS50に進んでセンサーの切り替えを行う。このセンサーの切り替えは、センサー切替制御部72が次の選択センサーを指定する選択信号をセンサー切替回路63に出力することで行う。こうして用紙Pの搬送及び印刷が進んで搬送方向下流側へ進む紙端が、現在の選択センサーのオーバーラップ位置に到達する度にセンサーが順番に切り替えられる。   More specifically, the selection sensor determination unit 71 monitors the detection data Dout, and the detection value of the light receiving element 52 corresponding to the overlap position of the current selection sensor (for example, the first sensor 41) is the MAX value (for example, “ 10 "), it is determined that the paper edge has reached the overlap position (sensor switching position) between the current selection sensor and one downstream sensor. If the overlap position is not reached, the flow returns to step S20 to calculate the injection timing, and if the overlap position is reached, the process proceeds to step S50 to switch the sensor. The sensor switching is performed by the sensor switching control unit 72 outputting a selection signal for designating the next selection sensor to the sensor switching circuit 63. Thus, each time the paper end that has been transported and printed and advanced to the downstream side in the transport direction reaches the overlap position of the current selection sensor, the sensors are sequentially switched.

そして、1枚の印刷が終了すると、ステップS60に進み、全ての印刷が終了(印刷ジョブ終了)したか否かを判断する。全ての印刷が終了しておらず次ページの印刷があれば、ステップS10に戻る。こうして1枚の印刷が終了する度にステップS10〜S50の処理を繰り返して、そのときのページの用紙Pに印刷を行うための噴射タイミング信号の生成に用いる噴射タイミング(噴射周期)を算出する。そして、全ページの印刷が終了すると、噴射タイミングの算出を停止する。なお、噴射タイミング算出で得られた噴射周期の噴射タイミング信号は記録ヘッド22,23に内蔵された駆動回路に入力され、印字データ(ラスターデータ)に基づき各単位ヘッド24内の噴射駆動素子が噴射タイミング信号に基づくタイミングで駆動されることで、インク滴の噴射タイミングが制御される。   When the printing of one sheet is completed, the process proceeds to step S60, and it is determined whether or not all the printing is completed (print job is completed). If all printing is not completed and the next page is printed, the process returns to step S10. In this way, every time printing of one sheet is completed, the processing of steps S10 to S50 is repeated, and the ejection timing (ejection cycle) used to generate the ejection timing signal for printing on the paper P of the page at that time is calculated. Then, when printing of all pages is completed, the calculation of the ejection timing is stopped. The ejection timing signal of the ejection cycle obtained by the ejection timing calculation is input to a drive circuit built in the recording heads 22 and 23, and the ejection drive elements in each unit head 24 ejects based on the print data (raster data). The ink droplet ejection timing is controlled by being driven at a timing based on the timing signal.

次に、噴射タイミング算出部73の構成を詳細に説明する。図8は、噴射タイミング算出部73の電気的構成を示す回路図である。また、図9は、この噴射タイミング算出部73の入出力信号、及び噴射タイミング算出部73内における各種回路の入出力信号のタイミングチャートを示す。なお、図9は、噴射タイミング算出部73のうち、噴射周期を算出するための入出力信号に係るタイミングチャートを示す。また、図9では、説明の便宜上、1つのリニアイメージセンサー41(42〜46)が5つの受光素子52を備えていると仮定したタイミングチャートである。   Next, the configuration of the injection timing calculation unit 73 will be described in detail. FIG. 8 is a circuit diagram showing an electrical configuration of the injection timing calculation unit 73. 9 shows a timing chart of the input / output signals of the injection timing calculation unit 73 and the input / output signals of various circuits in the injection timing calculation unit 73. FIG. 9 shows a timing chart related to the input / output signal for calculating the injection cycle in the injection timing calculation unit 73. 9 is a timing chart that assumes that one linear image sensor 41 (42 to 46) includes five light receiving elements 52 for convenience of explanation.

図8に示すように、噴射タイミング算出部73には、クロック回路62からのクロック信号CLK、A/D変換器66からの検出データDout、主制御部60からの出力開始信号TSstart及び出力終了信号TSendがそれぞれ入力される。出力開始信号TSstartは、A/D変換器66からの検出データDoutの出力開始タイミングを示す信号であり、出力終了信号TSendは、A/D変換器66からの1サンプリング分の検出データDoutの出力終了タイミングを示す信号である。   As shown in FIG. 8, the injection timing calculation unit 73 includes a clock signal CLK from the clock circuit 62, detection data Dout from the A / D converter 66, an output start signal TSstart and an output end signal from the main control unit 60. Each TSend is input. The output start signal TSstart is a signal indicating the output start timing of the detection data Dout from the A / D converter 66, and the output end signal TSend is the output of the detection data Dout for one sampling from the A / D converter 66. It is a signal indicating the end timing.

主制御部60は所定のサンプリング周期毎にサンプリング信号SPをデマルチプレクサー69に出力し、第1〜第6センサー41〜46のうち選択された1つのセンサーを動作させることで、その検出信号Aoutの出力を開始させる。図9に示すように、出力開始信号TSstartは、選択された1つのセンサーからマルチプレクサー64を介して出力された検出信号AoutがA/D変換器66でA/D変換された後の検出データDoutが噴射タイミング算出部73へ出力されるその出力の開始タイミングを示すパルス信号である。   The main control unit 60 outputs the sampling signal SP to the demultiplexer 69 every predetermined sampling period, and operates the selected one of the first to sixth sensors 41 to 46 to detect the detection signal Aout. Starts output. As shown in FIG. 9, the output start signal TSstart is detected data after the detection signal Aout output from the selected sensor via the multiplexer 64 is A / D converted by the A / D converter 66. Dout is a pulse signal indicating the output start timing output to the injection timing calculation unit 73.

検出データDoutは、図9に示すように、受光素子52の各出力値列よりなるデータであり、図9の例では、最初のサンプリングで検出データDout=(10,10,5,0,0)が入力され、2回目のサンプリングで検出データDout=(10,10,10,0,0)が入力され、さらに3回目のサンプリングで検出データDout=(10,10,10,3,0)が入力されている。図9に示すMIN検出クロック信号CLKminは、クロック信号CLKの位相を1/4周期シフトさせる図8に示す位相シフト回路81により生成される。   As shown in FIG. 9, the detection data Dout is data composed of each output value sequence of the light receiving element 52. In the example of FIG. 9, the detection data Dout = (10,10,5,0,0) in the first sampling. ) Is input, detection data Dout = (10,10,10,0,0) is input at the second sampling, and detection data Dout = (10,10,10,3,0) at the third sampling. Is entered. The MIN detection clock signal CLKmin shown in FIG. 9 is generated by the phase shift circuit 81 shown in FIG. 8 that shifts the phase of the clock signal CLK by ¼ period.

図8に示すMAX値検出部82は、クロック信号CLKと検出データDoutとを入力し、図9に示すように、出力値がMAX値「10」になると、クロック信号CLKの立ち下がりのタイミングでパルスを立ち上げ、出力値がMAX値「10」でなくなると、クロック信号CLKの立ち下がりのタイミングでパルスを立ち下げることで、図9に示すようなMAX値検出信号Dmaxを出力する。   The MAX value detection unit 82 shown in FIG. 8 receives the clock signal CLK and the detection data Dout, and when the output value reaches the MAX value “10” as shown in FIG. 9, at the falling timing of the clock signal CLK. When the pulse rises and the output value is no longer the MAX value “10”, the pulse is lowered at the falling timing of the clock signal CLK to output the MAX value detection signal Dmax as shown in FIG.

また、図8に示すMIN値検出部83は、MIN検出クロック信号CLKminと検出データDoutとを入力する。そして、MIN値検出部83は、図9に示すように、出力値がMIN値「0」になると、MIN検出クロック信号CLKminの立ち上がりのタイミングでパルスを立ち上げ、出力値がMIN値「0」でなくなると、MIN検出クロック信号CLKminの立ち上がりのタイミングでパルスを立ち下げることで、図9に示すMIN値検出信号Dminを出力する。   Further, the MIN value detection unit 83 shown in FIG. 8 receives the MIN detection clock signal CLKmin and the detection data Dout. Then, as shown in FIG. 9, when the output value reaches the MIN value “0”, the MIN value detection unit 83 raises a pulse at the rising timing of the MIN detection clock signal CLKmin, and the output value becomes the MIN value “0”. If not, the pulse is lowered at the rising timing of the MIN detection clock signal CLKmin to output the MIN value detection signal Dmin shown in FIG.

図8に示すように、MAX値検出部82が出力するMAX値検出信号Dmaxと、MIN値検出部83が出力するMIN値検出信号Dminとは、不感帯検出回路84に入力される。不感帯検出回路84は、例えばアンド回路84A(論理積回路)により構成され、MAX値検出信号DmaxとMIN値検出信号Dminとの論理積結果を不感帯検出信号Dgapとして出力する。ここで、図9に示すように、MAX値検出信号DmaxはMAX値をとる期間でHレベルとなり、MIN値検出信号DminはMIN値をとる期間でHレベルとなるうえ、各信号Dmax,Dminの立ち上がり・立ち下がりのタイミングが、1/4周期だけ互いの位相がシフトしているクロック信号CLK,CLKminに基づき決まる。このため、MAX値検出信号DmaxとMIN値検出信号Dminの論理積結果である不感帯検出信号Dgapは、図9に示すように検出データDoutの中でMAX値「10」とMIN値「0」の出力値が隣り合うときに1/4クロック周期のパルスが出現する信号となる。よって、不感帯検出回路84により、用紙Pが不感帯にある状態(図5(b),(c))が検出される。   As shown in FIG. 8, the MAX value detection signal Dmax output from the MAX value detection unit 82 and the MIN value detection signal Dmin output from the MIN value detection unit 83 are input to the dead zone detection circuit 84. The dead zone detection circuit 84 is configured by, for example, an AND circuit 84A (logical product circuit), and outputs a logical product result of the MAX value detection signal Dmax and the MIN value detection signal Dmin as a dead zone detection signal Dgap. Here, as shown in FIG. 9, the MAX value detection signal Dmax becomes H level during the period of taking the MAX value, the MIN value detection signal Dmin becomes H level during the period of taking the MIN value, and each of the signals Dmax, Dmin Rise and fall timings are determined based on clock signals CLK and CLKmin whose phases are shifted by ¼ period. For this reason, the dead zone detection signal Dgap, which is the logical product of the MAX value detection signal Dmax and the MIN value detection signal Dmin, has the MAX value “10” and the MIN value “0” in the detection data Dout as shown in FIG. When the output values are adjacent to each other, a pulse having a 1/4 clock cycle appears. Therefore, the dead zone detection circuit 84 detects the state where the paper P is in the dead zone (FIGS. 5B and 5C).

なお、図9は説明の便宜上の模式図のため、図中の3回のサンプリングのうち、MAX値とMIN値の出力値が隣り合う場合が、1回(2日目)のサンプリングのみ現れ、その前後のサンプリングで隣り合っていないが、実際には位置検出解像度が高いので、MAX値とMIN値の出力値が隣り合うサンプリングが複数回連続することになる。   Note that FIG. 9 is a schematic diagram for convenience of explanation. Of the three samplings in the figure, when the output values of the MAX value and the MIN value are adjacent, only one sampling (second day) appears. Although sampling is not adjacent to each other before and after that, since the position detection resolution is actually high, sampling in which the output values of the MAX value and the MIN value are adjacent is continued a plurality of times.

図8に示すように、不感帯検出回路84からの不感帯検出信号Dgapは、データ更新部85へ出力される。データ更新部85は、不感帯検出信号Dgapと、MIN値検出信号DminからのMIN値検出信号Dminとを入力して、データ更新信号Dupdtを出力する。図9に示すように、データ更新信号Dupdtは、不感帯検出信号Dgapの立ち上がりエッジで立ち上がり、MIN値検出信号Dminの立ち下がりエッジで立ち下がるパルスが出現する信号である。図8に示すデータ更新部85は、不感帯検出信号DgapとMIN値検出信号Dminのエッジ検出を行って、図9に示すデータ更新信号Dupdtを出力する。このデータ更新信号Dupdtは、図8に示す加算可信号生成部86へ出力される。   As shown in FIG. 8, the dead zone detection signal Dgap from the dead zone detection circuit 84 is output to the data update unit 85. The data update unit 85 inputs the dead zone detection signal Dgap and the MIN value detection signal Dmin from the MIN value detection signal Dmin, and outputs a data update signal Dupdt. As shown in FIG. 9, the data update signal Dupdt is a signal in which a pulse that rises at the rising edge of the dead zone detection signal Dgap and falls at the falling edge of the MIN value detection signal Dmin appears. 8 performs edge detection of the dead zone detection signal Dgap and the MIN value detection signal Dmin, and outputs the data update signal Dupdt shown in FIG. The data update signal Dupdt is output to the addable signal generator 86 shown in FIG.

また、図8に示すように、噴射タイミング算出部73は、MAX値カウンター87と端数カウンター88とを備える。MAX値カウンター87は、検出データDout、出力開始信号TSstart及びクロック信号CLKを入力し、出力開始信号TSstartをリセット信号として、検出データDoutの中のMAX値の個数(出現回数)を計数する。そして、MAX値カウンター87は、その計数結果であるMAX計数値Cmaxを加算器89へ出力する。一方、端数カウンター88は、検出データDout、出力開始信号TSstart及びクロック信号CLKを入力し、出力開始信号TSstartをリセット信号として、検出データDoutの中のMAX値以外の出力値である端数を計数する。そして、端数カウンター88は、その計数結果である端数計数値Cfrcを加算器89へ出力する。   As shown in FIG. 8, the injection timing calculation unit 73 includes a MAX value counter 87 and a fraction counter 88. The MAX value counter 87 receives the detection data Dout, the output start signal TSstart, and the clock signal CLK, and counts the number of MAX values (number of appearances) in the detection data Dout using the output start signal TSstart as a reset signal. Then, the MAX value counter 87 outputs the MAX count value Cmax that is the count result to the adder 89. On the other hand, the fraction counter 88 receives the detection data Dout, the output start signal TSstart, and the clock signal CLK, and counts fractions that are output values other than the MAX value in the detection data Dout using the output start signal TSstart as a reset signal. . Then, the fraction counter 88 outputs the fraction count value Cfrc as the count result to the adder 89.

図9に示すように、MAX値カウンター87のMAX計数値Cmaxは、出力開始信号TSstartの立ち上がりエッジの入力でリセットされたMAX値カウンター87が、検出データDoutにおいてMAX値「10」が出現する度に「1」ずつインクリメントされることにより、MAX値「10」の個数(出現回数)を計数値としてとる。また、端数カウンター88の端数計数値Cfrcは、出力開始信号TSstartの立ち上がりエッジの入力でリセットされた端数カウンター88が、検出データDoutにおいてMAX値「10」以外の端数の値を計数することにより、端数の積算値(合計値)を計数値としてとる。   As shown in FIG. 9, the MAX count value Cmax of the MAX value counter 87 is equal to the MAX value counter 87 that is reset at the input of the rising edge of the output start signal TSstart, and the MAX value “10” appears in the detection data Dout. Is incremented by “1”, and the number (number of appearances) of the MAX value “10” is taken as a count value. In addition, the fraction counter value Cfrc of the fraction counter 88 is calculated by the fraction counter 88 that is reset by the input of the rising edge of the output start signal TSstart by counting a fraction value other than the MAX value “10” in the detection data Dout. The integrated value (total value) of the fraction is taken as the count value.

図8に示す加算可信号生成部86は、データ更新信号Dupdtと出力終了信号TSendとを入力して、加算器89に加算を許可する加算可信号ENaddを生成する回路である。加算可信号生成部86は、例えばNAND回路86A(否定論理積回路)とAND回路86B(論理積回路)とにより構成される。NAND回路86Aは、データ更新信号Dupdtと出力終了信号TSendとを入力して否定論理積演算を行う。AND回路86Bは、NAND回路86Aからの否定論理積結果と出力終了信号TSendとを入力し、両者の論理積演算結果として加算可信号ENaddを出力する。   8 is a circuit that receives the data update signal Dupdt and the output end signal TSend and generates an addable signal ENadd that allows the adder 89 to add. The addable signal generation unit 86 includes, for example, a NAND circuit 86A (negative AND circuit) and an AND circuit 86B (logical product circuit). The NAND circuit 86A receives the data update signal Dupdt and the output end signal TSend and performs a NAND operation. The AND circuit 86B inputs the negative logical product result and the output end signal TSend from the NAND circuit 86A, and outputs the addition enable signal ENadd as the logical product operation result of both.

ここで、図9に示すように、出力終了信号TSendは、A/D変換器66からの検出データDoutの出力終了タイミングでパルスが出現する信号である。この出力終了信号TSendの後、クロック信号CLKの次パルスで出力開始信号TSstartのパルスが出現する。データ更新信号Dupdtと出力終了信号TSendとの否定論理積結果と、出力終了信号TSendとの論理積演算が行われることで、図9に示す加算可信号ENaddが生成される。加算可信号ENaddは、出力終了信号TSendの複数のパルスのうちデータ更新信号Dupdtのパルスと発生期間が重なるパルスを消去した信号である。つまり、加算可信号ENaddは、用紙Pが不感帯にないとき(検出エリアになるとき)には加算器89による加算処理を許可し、一方、用紙Pが不感帯にあるときには加算器89による加算処理を禁止させる信号である。   Here, as shown in FIG. 9, the output end signal TSend is a signal in which a pulse appears at the output end timing of the detection data Dout from the A / D converter 66. After this output end signal TSend, a pulse of the output start signal TSstart appears at the next pulse of the clock signal CLK. The addition enable signal ENadd shown in FIG. 9 is generated by performing a logical product operation of the negative logical product result of the data update signal Dupdt and the output end signal TSend and the output end signal TSend. The addable signal ENadd is a signal obtained by erasing a pulse whose generation period overlaps with the pulse of the data update signal Dupdt among the plurality of pulses of the output end signal TSend. That is, the addition enable signal ENadd permits addition processing by the adder 89 when the paper P is not in the dead zone (when it is in the detection area), while addition processing by the adder 89 is performed when the paper P is in the dead zone. This signal is prohibited.

図9に示す加算器89は、MAX計数値Cmaxと端数計数値Cfrcと加算可信号ENaddとを入力し、加算可信号ENaddのパルス(立ち上がりエッジ)を検出する度に、MAX計数値Cmax(MAX値出現回数)にMAX値「10」を乗じた値(上位桁値)と、端数計数値Cfrc(下位桁値)とを加算し、その加算結果として検出位置x(n)を出力する。   The adder 89 shown in FIG. 9 receives the MAX count value Cmax, the fractional count value Cfrc, and the addition enable signal ENadd, and each time the pulse (rising edge) of the addition enable signal ENadd is detected, the MAX count value Cmax (MAX). The value (number of occurrences of value) multiplied by the MAX value “10” (upper digit value) and the fractional count value Cfrc (lower digit value) are added, and the detection position x (n) is output as the addition result.

図8に示す加算値バッファー90は、加算器89の加算演算結果である検出位置x(n)を格納するためのものである。加算器89は、今回の検出位置x(n)が得られるまで前回の検出位置x(n-1)を保持し、今回の検出位置x(n)が得られた時点で、前回の検出位置x(n-1)を加算値バッファー90に格納する。このため、加算値バッファー90には、加算器89の加算処理で得られた検出位置x(n)よりも、1回前のサンプリングで得られた検出位置x(n-1)が格納される。但し、用紙Pが不感帯に存在するために加算器89による加算処理が行われなかった後、次に加算処理を行ったときには、加算値バッファー90には加算器89が今回得た検出位置x(n)よりも、複数回(k回)前の検出位置x(n-k)が格納される。   The addition value buffer 90 shown in FIG. 8 is for storing the detection position x (n) that is the addition operation result of the adder 89. The adder 89 holds the previous detection position x (n-1) until the current detection position x (n) is obtained, and when the current detection position x (n) is obtained, the previous detection position x (n-1) is obtained. x (n−1) is stored in the addition value buffer 90. Therefore, the addition value buffer 90 stores the detection position x (n−1) obtained by sampling one time before the detection position x (n) obtained by the addition process of the adder 89. . However, when the addition process is performed after the addition process by the adder 89 is not performed because the sheet P exists in the dead zone, the detection position x ( The detected position x (nk) before a plurality of times (k times) than n) is stored.

図8に示すサンプリング数カウンター91は、加算器89が不感帯の検出を理由に加算処理を行わなかったサンプリング回数(連続回数)を計数する。サンプリング数カウンター91は、プリンター起動時にリセットされて初期値「1」をとり、以後、加算可信号ENaddのパルスを入力する度に初期値「1」にリセットされると共に、出力終了信号TSendの入力パルス数を初期値「1」に加えていく計数を行って、その計数結果をサンプリング計数値Kとして出力する。   The sampling number counter 91 shown in FIG. 8 counts the number of times of sampling (continuous number of times) that the adder 89 did not perform addition processing because of detection of the dead zone. The sampling number counter 91 is reset when the printer is started and takes the initial value “1”. Thereafter, the sampling number counter 91 is reset to the initial value “1” every time the pulse of the addition enable signal ENadd is input, and the output end signal TSend is input. Counting is performed by adding the number of pulses to the initial value “1”, and the count result is output as a sampling count value K.

図8に示すラッチ回路92は、サンプリング計数値Kと加算可信号ENaddとを入力する。そして、このラッチ回路92は、加算可信号ENaddのパルス入力時に、この同じパルスによりサンプリング数カウンター91がリセットされる前に予め格納部(図示せず)に格納していたそれまでのサンプリング計数値Kを、ラッチ用格納部(図示せず)に移してラッチする。このラッチされたサンプリング計数値Kは、加算可信号ENaddの次のパルスが入力されるまで、ほぼサンプリング周期Sの間だけ保持される。   The latch circuit 92 shown in FIG. 8 inputs the sampling count value K and the addition enable signal ENadd. The latch circuit 92 receives the sampling count value previously stored in the storage unit (not shown) before the sampling number counter 91 is reset by the same pulse when the add enable signal ENadd is input. K is moved to a latch storage (not shown) and latched. The latched sampling count value K is held only during the sampling period S until the next pulse of the addition enable signal ENadd is input.

図9に示すように、サンプリング計数値Kは、サンプリング数カウンター91が加算可信号ENaddのパルス入力時にリセットされる度に初期値「1」をとり、出力終了信号TSendのパルス入力の度に「1」ずつインクリメントされた値をとる。よって、サンプリング計数値Kは、用紙Pが検出エリアにあるときは、毎回のサンプリングで初期値「1」をとり、用紙Pが不感帯に存在するときは、用紙不感帯存在期間におけるサンプリング計数値Kに「1」を加えた値をとる。つまり、サンプリング計数値Kは、加算器89が加算処理を行わなかったサンプリング回数(加算処理スキップ回数)に「1」に加えた値をとる。そして、ラッチ回路92は、加算可信号ENaddのパルス入力のない用紙不感帯進入期間においては「1」を保持し続ける。その後、ラッチ回路92は、用紙Pの先端が不感帯を通過し終わって(つまり検出エリアへ進入して)加算可信号ENaddの次のパルスが入力されると、この同じパルスでリセットされるサンプリング数カウンター91のそのリセット直前のそれまでのサンプリング計数値Kを保持する。   As shown in FIG. 9, the sampling count value K takes an initial value “1” every time the sampling number counter 91 is reset at the time of pulse input of the addition enable signal ENadd, and every time the pulse of the output end signal TSend is input “ Takes a value incremented by "1". Therefore, the sampling count value K takes the initial value “1” at every sampling when the paper P is in the detection area, and when the paper P is in the dead zone, the sampling count value K is the sampling count value K in the paper dead zone existence period. The value obtained by adding “1” is taken. That is, the sampling count value K is a value obtained by adding “1” to the number of samplings (addition process skipping number) for which the adder 89 has not performed the addition process. Then, the latch circuit 92 continues to hold “1” in the paper dead zone entering period without the pulse input of the addition enable signal ENadd. Thereafter, when the next pulse of the addition enable signal ENadd is input after the leading edge of the paper P has passed through the dead band (that is, enters the detection area), the latch circuit 92 is reset by the same pulse. The counter 91 holds the sampling count value K up to that point just before the reset.

図8に示す搬送速度演算器93は、加算器89からの検出位置x(n)と、加算値バッファー90からの検出位置x(n-k)と、ラッチ回路92からのサンプリング計数値Kとを入力する。そして、搬送速度演算器93は、検出位置x(n)、検出位置x(n-k)及びサンプリング計数値Kを用いて、用紙Pの搬送速度V(n)を、次の(1)式により演算する。なお、検出位置x(n-k)は、検出位置x(n)に対してK回前の検出位置を示すが、用紙の不感帯通過後最初のサンプリング時を除く通常時は、加算値バッファー90には、加算器89の1回前のサンプリング時の検出位置x(n-1)が格納される。
V(n)={x(n)−x(n-k)}/(K・S) … (1)
ここで、Sは、サンプリング周期(例えば10〜1000マイクロ秒)である。
8 inputs the detection position x (n) from the adder 89, the detection position x (nk) from the addition value buffer 90, and the sampling count value K from the latch circuit 92. To do. Then, the transport speed calculator 93 calculates the transport speed V (n) of the paper P by the following equation (1) using the detected position x (n), the detected position x (nk), and the sampling count value K. To do. The detection position x (nk) indicates the detection position K times before the detection position x (n), but in the normal time except for the first sampling after passing through the dead zone of the paper, , The detection position x (n−1) at the time of sampling one time before the adder 89 is stored.
V (n) = {x (n) −x (nk)} / (K · S) (1)
Here, S is a sampling period (for example, 10 to 1000 microseconds).

このため、搬送速度演算器93は、用紙Pの先端が検出エリアにあるときは、ラッチ回路92からのサンプリング計数値Kが「1」なので、上記(1)式から、搬送速度V(n)を、V(n)={x(n)−x(n-1)}/Sにより演算する。一方、用紙Pの先端が不感帯に存在するときは、ラッチ回路92からのサンプリング計数値Kが「1」に保持されると共に、加算器89と加算値バッファー90の各格納値が用紙不感帯進入直前の検出位置x(n),x(n-1)それぞれに保持されているので、搬送速度V(n)は、用紙不感帯進入直前のV(n)={x(n)−x(n-1)}/Sに維持される。このように用紙Pの先端が不感帯に存在する間は、その不感帯進入直前の搬送速度V(n)が継続使用される。   For this reason, when the leading edge of the paper P is in the detection area, the transport speed calculator 93 has a sampling count value K from the latch circuit 92 of “1”, so the transport speed V (n) is calculated from the above equation (1). Is calculated by V (n) = {x (n) −x (n−1)} / S. On the other hand, when the leading edge of the paper P exists in the dead zone, the sampling count value K from the latch circuit 92 is held at “1”, and the stored values of the adder 89 and the addition value buffer 90 are immediately before entering the dead zone. Are detected at the detected positions x (n) and x (n-1), respectively, the transport speed V (n) is V (n) = {x (n) −x (n− 1)} / S. Thus, while the leading edge of the paper P exists in the dead zone, the conveyance speed V (n) immediately before entering the dead zone is continuously used.

そして、用紙不感帯通過後(用紙検出エリア進入後)の最初のサンプリング時には、加算可信号ENaddのパルスの入力でサンプリング数カウンター91が「1」にリセットされる(K=1)と共に、ラッチ回路92が、それまでサンプリング数カウンター91が保持していた用紙不感帯存在期間最後のサンプリング計数値K(K≧2)を保持する。このとき、加算可信号ENaddのパルスを入力した加算器89は加算処理を行って新たな検出位置x(n)を得ると共に、それまで加算器89にあった用紙不感帯進入直前のK回前の検出位置x(n-k)が加算値バッファー90に移される。   At the time of the first sampling after passing through the sheet dead zone (after entering the sheet detection area), the sampling number counter 91 is reset to “1” (K = 1) by inputting the pulse of the addition enable signal ENadd (K = 1) and the latch circuit 92. However, the sampling count value K (K ≧ 2) at the end of the sheet dead zone existing period held by the sampling number counter 91 is held. At this time, the adder 89 to which the pulse of the addition enable signal ENadd is input performs addition processing to obtain a new detection position x (n), and K times before the paper dead zone that has been in the adder 89 until then. The detection position x (n−k) is moved to the addition value buffer 90.

そして、搬送速度演算器93は、このときの検出位置x(n),x(n-k)、サンプリング計数値Kを用いて、上記(1)式から、搬送速度V(n)を、V(n)={x(n)−x(n-k)}/(K・S)により演算する。このように、用紙不感帯存在期間を終えた最初のサンプリング時は、今回の検出位置x(n)と、K回前の検出位置x(n-k)と、用紙不感帯存在期間における加算器89の加算処理スキップ回数であるサンプリング計数値Kとを用いて、搬送速度V(n)が演算される。   Then, the transport speed calculator 93 uses the detected positions x (n), x (nk) and the sampling count value K at this time to calculate the transport speed V (n) from the above equation (1) to V (n ) = {X (n) −x (nk)} / (K · S). Thus, at the time of the first sampling after the paper dead zone existence period, addition processing of the present detection position x (n), the detection position x (nk) before K times, and the adder 89 in the paper dead zone existence period. The conveyance speed V (n) is calculated using the sampling count value K which is the number of skips.

図8に示す噴射周期演算器94は、この搬送速度V(n)を搬送速度演算器93から入力する。噴射周期演算器94は、搬送速度V(n)を用いて、噴射周期t(n)を、以下の(2)式により演算する。
t(n)=P/V(n) … (2)
ここで、Pは、印字ピッチ(搬送方向Xにおける印字ドットピッチ)である。
The injection cycle calculator 94 shown in FIG. 8 inputs this transfer speed V (n) from the transfer speed calculator 93. The injection cycle calculator 94 calculates the injection cycle t (n) by the following equation (2) using the transport speed V (n).
t (n) = P / V (n) (2)
Here, P is a printing pitch (printing dot pitch in the transport direction X).

図8に示す噴射周期演算器94は図6に示す噴射周期算出部77に内蔵されており、図6に示す噴射タイミング信号生成部68は、噴射周期算出部77から入力した噴射周期t(n)に基づき、この噴射周期t(n)をパルス周期とするパルス信号よりなる噴射タイミング信号PTSを生成する。そして、記録ヘッド22,23(詳しくは記録ヘッド22,23の各単位ヘッド24)の印字データに基づくインク滴の噴射が、噴射タイミング信号PTSに基づく噴射タイミングで制御される。このため、搬送ベルト36の速度変動や搬送ベルト36上における用紙Pの滑りが発生しても、用紙Pに一定のドットピッチで印字を行うことができる。   The injection cycle calculator 94 shown in FIG. 8 is built in the injection cycle calculation unit 77 shown in FIG. 6, and the injection timing signal generation unit 68 shown in FIG. ), An injection timing signal PTS composed of a pulse signal having the injection cycle t (n) as a pulse cycle is generated. The ejection of ink droplets based on the print data of the recording heads 22 and 23 (specifically, the unit heads 24 of the recording heads 22 and 23) is controlled at the ejection timing based on the ejection timing signal PTS. For this reason, even if the speed fluctuation of the transport belt 36 or the slip of the paper P on the transport belt 36 occurs, it is possible to print on the paper P at a constant dot pitch.

本実施形態の噴射タイミング算出部73では、用紙不感帯存在期間における用紙Pの搬送位置の演算も行っている。そのために、噴射タイミング算出部73には、位置演算器95及び搬送位置演算器96が設けられている。位置演算器95は、加算器89からの検出位置x(n)と、搬送速度演算器93からの搬送速度V(n)と、サンプリング数カウンター91からのサンプリング計数値Kとを入力し、用紙検出エリア存在期間だけでなく用紙不感帯存在期間における検出位置x(n)を演算する。   The ejection timing calculation unit 73 of the present embodiment also calculates the transport position of the paper P in the paper dead zone existence period. For this purpose, the injection timing calculation unit 73 is provided with a position calculator 95 and a transport position calculator 96. The position calculator 95 receives the detected position x (n) from the adder 89, the transport speed V (n) from the transport speed calculator 93, and the sampling count value K from the sampling number counter 91, and the paper. The detection position x (n) is calculated not only in the detection area existence period but also in the sheet dead zone existence period.

位置演算器95は、検出位置x(n)、搬送速度V(n)及びサンプリング計数値Kを用いて、以下の(3)式に基づいて、検出位置x(n)を演算する。
x(n)=x(n)+V(n)・(K−1)・S … (3)
ここで、Sはサンプリング周期(マイクロ秒)である。
The position calculator 95 calculates the detection position x (n) based on the following equation (3) using the detection position x (n), the conveyance speed V (n), and the sampling count value K.
x (n) = x (n) + V (n). (K-1) .S (3)
Here, S is a sampling period (microsecond).

用紙検出エリア存在期間では、検出位置x(n)の演算スキップ回数を示すサンプリング計数値Kが「1」なので、上記(3)式から、K=1のとき、x(n)=x(n)となって、そのままの検出位置x(n)が得られる。一方、用紙不感帯存在期間では、サンプリング計数値Kが、検出位置x(n)の演算スキップ回数に応じた2以上の値をとるので(K≧2)、上記(3)式から、検出位置x(n)は、加算器89からの検出位置x(n)に補正を加え、x(n)=x(n)+V(n)・(K−1)・Sx(n)=x(n)として算出される。すなわち、用紙不感帯存在期間では、用紙不感帯進入直前の検出位置x(n)(つまり加算器89の検出位置x(n))を用いて、その不感帯において用紙Pが不感帯進入直前の搬送速度V(n)のまま搬送されていると仮定して、検出位置x(n)を推定する。この検出位置x(n)は、1個のリニアイメージセンサー配置エリア内における搬送方向Xの相対位置を示しているに過ぎない。   In the sheet detection area existence period, the sampling count value K indicating the number of skips of the calculation at the detection position x (n) is “1”. Therefore, from the above equation (3), when K = 1, x (n) = x (n ), And the detected position x (n) is obtained as it is. On the other hand, in the paper dead zone existence period, the sampling count value K takes a value of 2 or more corresponding to the number of calculation skips at the detection position x (n) (K ≧ 2). Therefore, from the above equation (3), the detection position x (n) corrects the detected position x (n) from the adder 89, and x (n) = x (n) + V (n). (K-1) .Sx (n) = x (n) Is calculated as That is, in the paper dead zone existence period, the detection position x (n) immediately before entering the paper dead zone (that is, the detection position x (n) of the adder 89) is used, and the conveyance speed V ( The detection position x (n) is estimated on the assumption that the sheet is being transported as n). This detection position x (n) merely indicates the relative position in the transport direction X within one linear image sensor arrangement area.

そのため、搬送位置演算器96は、位置演算器95からの各センサー単位の相対位置である検出位置x(n)を用いて、以下の(4)式を用いて、搬送位置X(n)を演算する。
X(n)=(N−1)・Xo+x(n) … (4)
ここで、Nは、センサー番号であり、搬送方向Xの上流側から第1、第2、…、第6の順で配置された第1〜第6センサー41〜46のうちセンサー切替回路63により切替え選択された第Nセンサーが、搬送方向上流側から何番目であるかを示す番号である。Xoは、リニアイメージセンサー1個当たりの検出担当エリアの搬送方向長さ(以下、「単位搬送距離」という)であり、詳しくはリニアイメージセンサーの検出開始位置からオーバーラップ位置までの全受光素子52を用いて用紙位置検出が可能な範囲の長さを示す。
Therefore, the transport position calculator 96 uses the detection position x (n) that is the relative position of each sensor unit from the position calculator 95 to calculate the transport position X (n) using the following equation (4). Calculate.
X (n) = (N-1) .Xo + x (n) (4)
Here, N is a sensor number, and the sensor switching circuit 63 among the first to sixth sensors 41 to 46 arranged in the first, second,..., Sixth order from the upstream side in the transport direction X. This is a number indicating the number of the Nth sensor selected for switching from the upstream side in the transport direction. Xo is the transport direction length of the area in charge of detection per linear image sensor (hereinafter referred to as “unit transport distance”), and more specifically, all the light receiving elements 52 from the detection start position of the linear image sensor to the overlap position. Is used to indicate the length of the range in which the paper position can be detected.

よって、本実施形態のように、複数個のリニアイメージセンサー41〜46を配置し、これらを用紙位置に応じて切り替えて使用する構成であっても、用紙Pの搬送位置X(n)を検出できる。また、第1〜第6センサー41〜46のうち選択センサーを用紙Pの搬送位置に応じて切り替える構成であることから、1回のサンプリングで演算部61が入力すべき検出データDoutがリニアイメージセンサー1個分で済む。そのため、演算部61による演算処理を比較的簡単に済ませられる。このように、本実施形態では、噴射タイミング信号PTSの生成に必要な搬送速度V(n)だけでなく、搬送位置X(n)についても、用紙Pの搬送状態として検出する。そして、コントローラー50は、搬送状態として検出した用紙Pの搬送速度V(n)に基づいてベルト搬送装置15のベルト搬送速度を制御する速度制御を行うと共に、用紙Pの搬送位置X(n)に基づいてベルト搬送装置15の搬送ベルト36の位置を制御する位置制御を行う。もちろん、搬送状態として用紙Pの搬送速度V(n)と搬送位置X(n)のうち一方のみを検出し、搬送ベルト36の搬送速度V(n)に基づく速度制御のみ、又は搬送位置X(n)に基づく位置制御のみ行う構成としてもよい。なお、図8において、MAX値検出部82、MIN値検出部83、不感帯検出回路84により、ターゲットの端が不感帯にあるか否かを判定するための判定手段が構成される。また、加算可信号生成部86、MAX値カウンター87、端数カウンター88、加算器89、加算値バッファー90、サンプリング数カウンター91、ラッチ回路92、搬送速度演算器93、噴射周期演算器94、位置演算器95及び搬送位置演算器96により、ターゲットの搬送状態を検出するための検出手段が構成される。   Therefore, even in a configuration in which a plurality of linear image sensors 41 to 46 are arranged and switched according to the paper position as in the present embodiment, the transport position X (n) of the paper P is detected. it can. In addition, since the selection sensor among the first to sixth sensors 41 to 46 is switched according to the transport position of the paper P, the detection data Dout to be input by the calculation unit 61 in one sampling is a linear image sensor. One piece is enough. Therefore, the arithmetic processing by the arithmetic unit 61 can be completed relatively easily. Thus, in the present embodiment, not only the conveyance speed V (n) necessary for generating the ejection timing signal PTS but also the conveyance position X (n) is detected as the conveyance state of the paper P. The controller 50 performs speed control for controlling the belt conveyance speed of the belt conveyance device 15 based on the conveyance speed V (n) of the paper P detected as the conveyance state, and at the conveyance position X (n) of the paper P. Based on this, position control for controlling the position of the conveyor belt 36 of the belt conveyor 15 is performed. Of course, only one of the transport speed V (n) and the transport position X (n) of the paper P is detected as the transport state, and only the speed control based on the transport speed V (n) of the transport belt 36 or the transport position X ( Only the position control based on n) may be performed. In FIG. 8, the MAX value detection unit 82, the MIN value detection unit 83, and the dead zone detection circuit 84 constitute a determination unit for determining whether or not the end of the target is in the dead zone. Further, an addable signal generation unit 86, a MAX value counter 87, a fraction counter 88, an adder 89, an addition value buffer 90, a sampling number counter 91, a latch circuit 92, a conveyance speed calculator 93, an injection cycle calculator 94, and a position calculation. The detector 95 and the transfer position calculator 96 constitute detection means for detecting the transfer state of the target.

以上詳述したように本実施形態によれば、以下の効果を得ることができる。
(1)複数の受光素子52を有するイメージセンサー41〜46と、ターゲットとして用紙の先端がその検出が不能な受光素子52間の隙間に相当する不感帯にあるか否かを受光素子52の出力値に基づき判定する判定手段と、用紙の先端が不感帯になければそのときの出力値を用いてターゲットの搬送状態を検出し、不感帯にあればそのときの出力値は用いず不感帯になかったときの前の出力値を用いて用紙Pの搬送状態を検出する検出手段とを備えた。よって、用紙Pの先端が受光素子52間の隙間に相当する不感帯に位置しても、用紙Pの妥当な搬送状態検出結果(搬送速度、搬送位置など)を得ることができる。
As described above in detail, according to the present embodiment, the following effects can be obtained.
(1) The output value of the light receiving element 52 indicates whether or not the image sensor 41 to 46 having a plurality of light receiving elements 52 and the leading edge of the sheet as a target are in a dead zone corresponding to a gap between the light receiving elements 52 that cannot be detected. If the leading edge of the paper is not in the dead zone, the target conveyance state is detected using the output value at that time, and if it is in the dead zone, the output value at that time is not used and the dead zone is not in use. Detecting means for detecting the conveyance state of the paper P using the previous output value. Therefore, even if the leading edge of the paper P is located in the dead zone corresponding to the gap between the light receiving elements 52, it is possible to obtain an appropriate transport state detection result (transport speed, transport position, etc.) of the paper P.

(2)判定手段は、受光素子52のうち隣り合う二つの受光素子52の各出力値が最大出力と最小出力になっていることをもって、用紙Pの先端が不感帯にあると判定するので、用紙Pの先端が不感帯にあることを、搬送状態の検出に用いる出力値を用いて比較的簡単に判定することができる。   (2) Since the determination means determines that the leading end of the paper P is in the dead zone when the output values of the two adjacent light receiving elements 52 of the light receiving elements 52 are the maximum output and the minimum output, The fact that the tip of P is in the dead zone can be determined relatively easily using the output value used for detecting the conveyance state.

(3)イメージセンサー41〜46は用紙Pの搬送方向Xと直交する紙幅方向に複数列配置され、複数のイメージセンサー41〜46は、搬送方向Xにおいて端部をオーバーラップさせた状態でずらして配置されている。よって、搬送方向Xと直交する方向に複数列配置された複数(1列当たり1つ以上の計2以上)のイメージセンサー41〜46は、端部をオーバーラップさせた状態で搬送方向Xにずらして配置されているので、センサー1つ分の搬送方向長さ(受光素子52配列方向長さ)よりも、長い搬送方向Xの領域に亘って用紙Pの搬送状態を検出できる。しかも、受光素子52間や検出チップ51間よりも広い隙間がイメージセンサー41〜46間における受光素子52間に発生することを回避できる。   (3) The image sensors 41 to 46 are arranged in a plurality of rows in the paper width direction orthogonal to the transport direction X of the paper P, and the plurality of image sensors 41 to 46 are shifted in a state where the end portions overlap in the transport direction X. Is arranged. Therefore, the plurality of image sensors 41 to 46 arranged in a plurality of rows in the direction orthogonal to the conveyance direction X (one or more per row, a total of two or more) are shifted in the conveyance direction X with the end portions overlapped. Therefore, the conveyance state of the paper P can be detected over a region in the conveyance direction X that is longer than the length in the conveyance direction for one sensor (the length in the arrangement direction of the light receiving elements 52). In addition, it is possible to avoid a gap that is wider between the light receiving elements 52 between the image sensors 41 to 46 than between the light receiving elements 52 and between the detection chips 51.

(4)さらに検出手段は、用紙Pの搬送状態として搬送速度V(n)を検出し、用紙Pの先端が不感帯にあると判定された場合は、不感帯になかったときの前の出力値から決まる前の搬送速度V(n-1)を用いる。よって、用紙Pの先端が不感帯にあっても、そのときの妥当な搬送速度V(n)を検出できる。   (4) Further, the detection means detects the conveyance speed V (n) as the conveyance state of the paper P, and when it is determined that the leading edge of the paper P is in the dead zone, the detection value is obtained from the previous output value when the paper P is not in the dead zone. The transport speed V (n-1) before being determined is used. Therefore, even if the leading edge of the paper P is in the dead zone, an appropriate transport speed V (n) at that time can be detected.

(5)また、検出手段は、用紙Pの搬送状態として搬送位置X(n)を検出し、用紙Pの先端が不感帯にあると判定された場合は、不感帯になかったときの前の出力値から決まる前の搬送位置に、前の搬送速度V(n-1)と不感帯にあった経過時間との積により決まる搬送量を加えて搬送位置を求める。よって、受光素子52間に隙間のあるイメージセンサー41〜46を用いても、その隙間に相当する不感帯内における用紙Pの搬送位置X(n)を比較的正しく検出できる。   (5) The detection means detects the transport position X (n) as the transport state of the paper P, and if it is determined that the leading edge of the paper P is in the dead zone, the previous output value when the paper P is not in the dead zone The transport position is obtained by adding the transport amount determined by the product of the previous transport speed V (n-1) and the elapsed time in the dead zone to the previous transport position determined from the above. Therefore, even if the image sensors 41 to 46 having a gap between the light receiving elements 52 are used, the transport position X (n) of the paper P in the dead zone corresponding to the gap can be detected relatively correctly.

(6)コントローラー50(制御手段)が、検出手段が検出した用紙Pの搬送状態に基づいて記録ヘッド22,23(流体噴射手段)とベルト搬送装置15(搬送手段)とのうち少なくとも一方を制御する構成とした。特に本実施形態では、搬送状態として検出した用紙Pの搬送速度V(n)及び搬送位置X(n)に基づいてベルト搬送装置15の速度制御及び位置制御を行うと共に、搬送状態として検出した用紙Pの搬送速度V(n)に基づき噴射タイミング信号PTSを生成して記録ヘッド22,23の噴射タイミングを制御する。よって、用紙Pの搬送精度と用紙Pに対するインク滴の噴***度(用紙P上の着弾位置精度)との両方を高めることができる。   (6) The controller 50 (control means) controls at least one of the recording heads 22 and 23 (fluid ejecting means) and the belt conveyance device 15 (conveyance means) based on the conveyance state of the paper P detected by the detection means. It was set as the structure to do. In particular, in this embodiment, the speed control and the position control of the belt transport device 15 are performed based on the transport speed V (n) and the transport position X (n) of the paper P detected as the transport state, and the paper detected as the transport state. An ejection timing signal PTS is generated based on the transport speed V (n) of P, and the ejection timing of the recording heads 22 and 23 is controlled. Therefore, both the conveyance accuracy of the paper P and the ink droplet ejection accuracy (landing position accuracy on the paper P) on the paper P can be improved.

上記実施形態に限定されず、以下の態様で実施することもできる。
・不感帯における搬送位置の検出が不要な場合は、位置演算器95を無くしてもよい。この場合、加算器89からの検出位置x(n)を搬送位置演算器96に直接入力するようにし、搬送位置演算器96では、加算器89からの検出位置x(n)を用いて、搬送位置X(n)=(N−1)・Xo+x(n)を演算する。この場合、用紙Pの搬送位置の必要な位置精度が不感帯を誤差として許容できる構成の場合には問題ない。また、搬送位置は必ずしも算出する必要はないので、位置演算器95及び搬送位置演算器96は廃止してもよい。この場合、搬送速度V(n)を搬送状態として検出できる。さらに、搬送速度V(n)を検出しない構成も採用できる。例えば噴射周期t(n)のみを算出する構成でもよい。この場合、搬送速度V(n)は算出せず、噴射周期t(n)を、t(n)=P・K・S/{x(n)−x(n-k)}により算出する。さらに搬送状態としてターゲットの加速度を検出してもよい。加速度は、例えば前回と今回の各搬送速度の差を時間(例えばサンプリング周期S)で除算して求めればよい。
It is not limited to the said embodiment, It can also implement in the following aspects.
If the detection of the transport position in the dead zone is unnecessary, the position calculator 95 may be omitted. In this case, the detected position x (n) from the adder 89 is directly input to the transport position calculator 96, and the transport position calculator 96 uses the detected position x (n) from the adder 89 to transport. The position X (n) = (N−1) · Xo + x (n) is calculated. In this case, there is no problem when the required positional accuracy of the transport position of the paper P allows the dead zone as an error. Further, since the transport position does not necessarily have to be calculated, the position calculator 95 and the transport position calculator 96 may be omitted. In this case, the conveyance speed V (n) can be detected as the conveyance state. Furthermore, a configuration in which the conveyance speed V (n) is not detected can be employed. For example, only the injection cycle t (n) may be calculated. In this case, the conveyance speed V (n) is not calculated, and the injection cycle t (n) is calculated by t (n) = P · K · S / {x (n) −x (nk)}. Furthermore, you may detect the acceleration of a target as a conveyance state. The acceleration may be obtained, for example, by dividing the difference between the previous and current transport speeds by time (for example, the sampling period S).

・センサーは、イメージセンサーなどのような検出素子が受光素子であるものに限定されない。検出素子は例えば磁気検出素子でもよい。ターゲットが例えば金属や磁性体などの材料からなる場合、あるいはそのような材料からなる部分を有する場合は、複数の磁気検出素子を配列した構成の磁気センサーにより、ターゲットの位置を検出できる。磁気検出素子としては、例えばGMR(Giant Magneto Resistive Effect)素子を有するセンサーやMR(Magneto Resistive Effect)素子を有するセンサーなどの多値出力可能な磁気センサーを挙げることができる。その他、ホール素子やMI(磁気インピーダンス)素子等を検出素子とする磁気センサーも採用してよい。   The sensor is not limited to a sensor whose detection element is a light receiving element such as an image sensor. The detection element may be a magnetic detection element, for example. When the target is made of a material such as a metal or a magnetic material or has a portion made of such a material, the position of the target can be detected by a magnetic sensor having a configuration in which a plurality of magnetic detection elements are arranged. Examples of the magnetic detection element include a magnetic sensor capable of multi-value output such as a sensor having a GMR (Giant Magneto Resistive Effect) element and a sensor having an MR (Magneto Resistive Effect) element. In addition, a magnetic sensor using a Hall element, an MI (Magnetic Impedance) element, or the like as a detection element may be employed.

・イメージセンサーは1個配置するだけでもよい。さらに複数個配置する場合に、1列に配置してもよい。1列に配列した場合でも、ターゲットの端がセンサー間における各検出素子間の隙間に相当する不感帯に位置しても、ターゲットの妥当な搬送状態検出結果を得ることができるので、複数のセンサーによる検出対象全域において搬送状態を検出することができる。また、イメージセンサーは、リニアイメージセンサーに限定されず、2次元のイメージセンサーでもよい。2次元のイメージセンサーでも、搬送方向に受光素子52間の隙間による不感帯が発生する場合は、同様の効果を得ることができる。   -Only one image sensor may be arranged. Furthermore, when arranging two or more, you may arrange | position in 1 row. Even when arranged in a single row, even if the end of the target is located in the dead zone corresponding to the gap between the detection elements between the sensors, it is possible to obtain a proper transport state detection result of the target. The conveyance state can be detected in the entire detection target. The image sensor is not limited to a linear image sensor, and may be a two-dimensional image sensor. Even in a two-dimensional image sensor, when a dead zone due to a gap between the light receiving elements 52 occurs in the transport direction, the same effect can be obtained.

・ターゲットの端は、用紙Pの先端(搬送方向下流側端)に限定されず、後端(搬送方向上流側端)でもよい。用紙Pの後端を検出することによっても、用紙Pの搬送速度や搬送位置などのうち少なくとも1つである搬送状態を検出することはできる。   The end of the target is not limited to the front end (downstream end in the transport direction) of the paper P, but may be the rear end (upstream end in the transport direction). By detecting the trailing edge of the paper P, it is also possible to detect a transport state that is at least one of the transport speed and transport position of the paper P.

・ターゲット(記録媒体)は用紙に限定されず、樹脂製フィルム、金属製フィルム、布、CD、DVD等の光ディスク、磁気ディスク、回路基板などでもよい。
・流体噴射装置は、インクジェット式プリンターに限定されない。例えば液晶ディスプレイ、EL(エレクトロルミネッセンス)ディスプレイ、面発光ディスプレイ、カラーフィルタの製造などに用いられる電極材や色材などの材料を分散または溶解のかたちで含む液体を基板などの媒体(ターゲット)に噴射する流体噴射装置、バイオチップ製造に用いられる生体有機物を媒体に噴射する流体噴射装置、精密ピペットとして用いられ試料となる液体を媒体に噴射する流体噴射装置、捺染装置やマイクロディスペンサ等であってもよい。さらに、時計やカメラ等の精密機械(ターゲット)を搬送しつつピンポイントで潤滑油を噴射する流体噴射装置、光通信素子等に用いられる微小半球レンズ(光学レンズ)などを形成するために紫外線硬化樹脂等の透明樹脂液を基板(ターゲット)上に噴射する流体噴射装置、基板などのターゲットをエッチングするために酸又はアルカリ等のエッチング液を噴射する流体噴射装置を採用してもよい。
The target (recording medium) is not limited to paper, and may be a resin film, a metal film, a cloth, an optical disk such as a CD or a DVD, a magnetic disk, or a circuit board.
The fluid ejecting apparatus is not limited to an ink jet printer. For example, liquid containing electrode materials and color materials used in the manufacture of liquid crystal displays, EL (electroluminescence) displays, surface-emitting displays, color filters, etc. in a dispersed or dissolved form is injected onto a medium (target) such as a substrate. Even a fluid ejecting apparatus, a fluid ejecting apparatus that ejects a bio-organic matter used for biochip manufacturing onto a medium, a fluid ejecting apparatus that ejects a liquid that is used as a precision pipette onto a medium, a textile printing apparatus, a microdispenser, etc. Good. Furthermore, UV curing is used to form fluid injection devices that inject lubricant at pinpoints while transporting precision machines (targets) such as watches and cameras, and micro hemispherical lenses (optical lenses) used in optical communication elements. A fluid ejecting apparatus that ejects a transparent resin liquid such as resin onto a substrate (target), or a fluid ejecting apparatus that ejects an etching solution such as acid or alkali to etch a target such as a substrate may be employed.

11…流体噴射装置としてのプリンター、12…搬送手段としての搬送ユニット、13…流体噴射手段としての記録ユニット、14…搬送手段を構成する給送ユニット、15…搬送手段を構成するベルト搬送装置、16…用紙ストッカー、17…給紙ローラー、18,19…補助ローラー対、20…搬送ローラー、21…圧接ローラー、22,23…流体噴射手段を構成する記録ヘッド、24…流体噴射手段を構成する単位ヘッド、25…プラテン、29…中間ローラー対、33…駆動ローラー、34…従動ローラー、36…搬送ベルト、37…搬送モーター、41〜46…リニアイメージセンサー(第1〜第6センサー)、50…コントローラー、51…検出チップ、52…検出素子としての受光素子、60…主制御部、61…演算部、62…クロック回路、63…センサー切替回路、64…マルチプレクサー、66…A/D変換器、67…搬送駆動部、68…噴射タイミング信号生成部、69…デマルチプレクサー、71…選択センサー判定部、72…センサー切替制御部、73…噴射タイミング算出部、75…搬送速度算出部、76…搬送位置算出部、77…噴射周期算出部、81…位相シフト回路、82…判定手段を構成するMAX値検出部、83…判定手段を構成するMIN値検出部、84…判定手段を構成する不感帯検出回路、85…データ更新部、86…検出手段を構成する加算可信号生成部、86A…NAND回路、86B…AND回路、87…MAX値カウンター、88…端数カウンター、89…検出手段を構成する加算器、90…検出手段を構成する加算値バッファー、91…検出手段を構成するサンプリング数カウンター、92…検出手段を構成するラッチ回路、93…検出手段を構成する搬送速度演算器、94…検出手段を構成する噴射周期演算器、95…検出手段を構成する位置演算器、96…検出手段を構成する搬送位置演算器、P…ターゲットとしての用紙、X…搬送方向、Y…紙幅方向、OL…オーバーラップ量、G1,G2,G…隙間、Aout…検出信号、Dout…検出データ、CLKmin…MIN検出クロック信号、Dmax…MAX値検出信号、Dmin…MIN値検出信号、Dgap…不感帯検出信号、TSstart…出力開始信号、TSend…出力終了信号、Dupdt…データ更新信号、ENadd…加算可信号、Cmax…MAX計数値、Cfrc…端数計数値、x(n),x(n-1),x(n-k)…検出位置、K…サンプリング計数値、S…サンプリング周期、V(n)…搬送速度、P…印字ピッチ、t(n)…噴射周期、PTS…噴射タイミング信号、X(n)…搬送位置。   DESCRIPTION OF SYMBOLS 11 ... Printer as fluid ejecting apparatus, 12 ... Conveying unit as conveying means, 13 ... Recording unit as fluid ejecting means, 14 ... Feeding unit constituting conveying means, 15 ... Belt conveying apparatus constituting conveying means, DESCRIPTION OF SYMBOLS 16 ... Paper stocker, 17 ... Paper feed roller, 18, 19 ... Auxiliary roller pair, 20 ... Conveyance roller, 21 ... Pressure contact roller, 22, 23 ... Recording head which comprises fluid ejecting means, 24 ... Fluid ejecting means Unit head, 25 ... Platen, 29 ... Intermediate roller pair, 33 ... Drive roller, 34 ... Driven roller, 36 ... Conveyor belt, 37 ... Conveyor motor, 41-46 ... Linear image sensor (first to sixth sensor), 50 ... Controller, 51 ... Detection chip, 52 ... Light receiving element as detection element, 60 ... Main control unit, 61 ... Calculation unit, 6 DESCRIPTION OF SYMBOLS ... Clock circuit, 63 ... Sensor switching circuit, 64 ... Multiplexer, 66 ... A / D converter, 67 ... Conveyance drive part, 68 ... Injection timing signal generation part, 69 ... Demultiplexer, 71 ... Selection sensor determination part, 72 ... Sensor switching control unit, 73 ... Injection timing calculation unit, 75 ... Conveyance speed calculation unit, 76 ... Conveyance position calculation unit, 77 ... Injection cycle calculation unit, 81 ... Phase shift circuit, 82 ... MAX value constituting determination means Detection unit, 83... MIN value detection unit that constitutes determination unit, 84... Dead zone detection circuit that constitutes determination unit, 85... Data update unit, 86 ... Addable signal generation unit that constitutes detection unit, 86A. 86B ... AND circuit, 87 ... MAX value counter, 88 ... fraction counter, 89 ... adder constituting detection means, 90 ... addition value bar constituting detection means , 91... Sampling number counter constituting detection means, 92... Latch circuit constituting detection means, 93... Conveying speed computing unit constituting detection means, 94... Injection period computing unit constituting detection means, 95. Position calculation unit constituting means, 96... Transport position calculation unit constituting detection means, P... Paper as a target, X... Transport direction, Y ... paper width direction, OL ... overlap amount, G1, G2, G. Aout ... detection signal, Dout ... detection data, CLKmin ... MIN detection clock signal, Dmax ... MAX value detection signal, Dmin ... MIN value detection signal, Dgap ... dead zone detection signal, TSstart ... output start signal, TSend ... output end signal, Dupdt ... data update signal, ENadd ... addition enable signal, Cmax ... MAX count value, Cfrc ... fractional count value, x (n), x (n-1), x (nk) ... detection position, K ... sampling meter Value, S ... sampling cycle, V (n) ... transport speed, P ... printing pitch, t (n) ... injection period, PTS ... injection timing signal, X (n) ... transport position.

Claims (7)

搬送されるターゲットを検出するターゲット検出装置であって、
光又は磁気を用いてターゲットを検出可能な複数の検出素子が搬送方向に所定ピッチで配列されている少なくとも1つのセンサーと、
ターゲットの端がその検出が不能な前記検出素子間の隙間に相当する不感帯にあるか否かを前記検出素子の出力値に基づき判定する判定手段と、
ターゲットの端が前記不感帯になければそのときの前記出力値を用いてターゲットの搬送状態を検出し、前記不感帯にあればそのときの出力値は用いず前記不感帯になかったときの前の出力値を用いてターゲットの搬送状態を検出する検出手段と、
を備えたことを特徴とするターゲット検出装置。
A target detection device for detecting a target to be conveyed,
At least one sensor in which a plurality of detection elements capable of detecting a target using light or magnetism are arranged at a predetermined pitch in the transport direction;
Determining means for determining whether or not an end of the target is in a dead zone corresponding to a gap between the detection elements that cannot be detected based on an output value of the detection elements;
If the end of the target is not in the dead zone, the output value at that time is used to detect the transport state of the target, and if it is in the dead zone, the output value at that time is not used and the previous output value when it is not in the dead zone Detecting means for detecting the transport state of the target using
A target detection apparatus comprising:
前記判定手段は、前記検出素子のうち隣り合う二つの前記検出素子の各出力値が最大出力と最小出力になっていることをもって、前記ターゲットの端が前記不感帯にあると判定することを特徴とする請求項1に記載のターゲット検出装置。   The determination means determines that the end of the target is in the dead zone when the output values of two adjacent detection elements among the detection elements are the maximum output and the minimum output. The target detection apparatus according to claim 1. 前記センサーは前記搬送方向に直交する方向に複数列配置され、該複数のセンサーは、前記搬送方向において端部をオーバーラップさせた状態でずらして配置されていることを特徴とする請求項1又は2に記載のターゲット検出装置。   The sensor is arranged in a plurality of rows in a direction orthogonal to the conveyance direction, and the plurality of sensors are arranged so as to be shifted with the end portions overlapped in the conveyance direction. 2. The target detection apparatus according to 2. 前記検出手段は、前記ターゲットの搬送状態として前記ターゲットの搬送速度を検出し、前記ターゲットの端が前記不感帯にあると判定された場合は、前記不感帯になかったときの前の出力値から決まる前の搬送速度を用いることを特徴とする請求項1乃至3のいずれか一項に記載のターゲット検出装置。   The detection means detects the transport speed of the target as the transport state of the target, and when it is determined that the end of the target is in the dead zone, it is determined from a previous output value when the target is not in the dead zone. The target detection apparatus according to any one of claims 1 to 3, wherein a conveyance speed of 1 to 3 is used. 前記検出手段は、前記ターゲットの搬送状態として前記ターゲットの搬送位置を検出し、前記ターゲットの端が前記不感帯にあると判定された場合は、前記不感帯になかったときの前の出力値から決まる前の搬送位置に、前の搬送速度と前記不感帯にあった経過時間との積により決まる搬送量を加えて搬送位置を求めることを特徴とする請求項4に記載のターゲット検出装置。   The detection means detects the transport position of the target as the transport state of the target, and when it is determined that the end of the target is in the dead zone, it is determined from a previous output value when the target is not in the dead zone. The target detection apparatus according to claim 4, wherein the transport position is obtained by adding a transport amount determined by a product of a previous transport speed and an elapsed time in the dead zone to the transport position. 請求項1乃至5のいずれか一項に記載の前記ターゲット検出装置と、
ターゲットを搬送する搬送手段と、
搬送中のターゲットに流体を噴射する流体噴射手段と、
前記ターゲット検出装置を構成する前記検出手段が検出した前記ターゲットの搬送状態に基づいて前記搬送手段及び前記流体噴射手段のうち少なくとも一方を制御する制御手段と、
を備えたことを特徴とする流体噴射装置。
The target detection device according to any one of claims 1 to 5,
Transport means for transporting the target;
Fluid ejecting means for ejecting fluid onto a target being conveyed;
Control means for controlling at least one of the conveying means and the fluid ejecting means based on the conveying state of the target detected by the detecting means constituting the target detecting device;
A fluid ejecting apparatus comprising:
搬送されるターゲットを検出するターゲット検出方法であって、
光又は磁気を用いてターゲットを検出可能な検出素子を搬送方向に所定ピッチで配列された状態で複数備えたセンサーからの前記検出素子の各出力値に基づいてターゲットの端がその検出が不能な前記検出素子間の隙間に相当する不感帯にあるか否かを判定する判定ステップと、
ターゲットの端が前記不感帯になければそのときの前記出力値を用いてターゲットの搬送状態を検出し、前記不感帯にあればそのときの出力値は用いず前記不感帯になかったときの前の出力値を用いてターゲットの搬送状態を検出する検出ステップと、
を備えたことを特徴とするターゲット検出方法。
A target detection method for detecting a target to be conveyed,
The end of the target cannot be detected based on each output value of the detection element from a sensor provided with a plurality of detection elements that can detect the target using light or magnetism arranged at a predetermined pitch in the transport direction. A determination step of determining whether or not a dead zone corresponding to a gap between the detection elements;
If the end of the target is not in the dead zone, the output value at that time is used to detect the transport state of the target, and if it is in the dead zone, the output value at that time is not used and the previous output value when it is not in the dead zone A detection step of detecting the transport state of the target using
A target detection method comprising:
JP2009186813A 2009-08-11 2009-08-11 Target detector, fluid ejection device, and target detecting method Pending JP2011037141A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2009186813A JP2011037141A (en) 2009-08-11 2009-08-11 Target detector, fluid ejection device, and target detecting method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2009186813A JP2011037141A (en) 2009-08-11 2009-08-11 Target detector, fluid ejection device, and target detecting method

Publications (1)

Publication Number Publication Date
JP2011037141A true JP2011037141A (en) 2011-02-24

Family

ID=43765434

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2009186813A Pending JP2011037141A (en) 2009-08-11 2009-08-11 Target detector, fluid ejection device, and target detecting method

Country Status (1)

Country Link
JP (1) JP2011037141A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106079894A (en) * 2015-04-28 2016-11-09 惠普工业印刷有限公司 Activated by the print unit of clock unit
JP2020124827A (en) * 2019-02-04 2020-08-20 京セラドキュメントソリューションズ株式会社 Image formation apparatus

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106079894A (en) * 2015-04-28 2016-11-09 惠普工业印刷有限公司 Activated by the print unit of clock unit
JP2016210180A (en) * 2015-04-28 2016-12-15 ヒューレット−パッカード インダストリアル プリンティング リミテッド Print unit activation by means of clock unit
US10016990B2 (en) 2015-04-28 2018-07-10 Hp Scitex Ltd. Print unit activation by means of a clock unit
JP2020124827A (en) * 2019-02-04 2020-08-20 京セラドキュメントソリューションズ株式会社 Image formation apparatus
JP7188150B2 (en) 2019-02-04 2022-12-13 京セラドキュメントソリューションズ株式会社 image forming device

Similar Documents

Publication Publication Date Title
JP4622400B2 (en) Image recording device
US7607749B2 (en) Printer
JP4960792B2 (en) Image forming apparatus, image forming system, image forming method, conveyance failure release control program, and information recording medium storing the same
JP5277853B2 (en) Image forming apparatus
JP2008036968A (en) Image recorder and image recording method
JP2009249166A (en) Pulse signal generating device, transport device, image forming apparatus and pulse generating method
JP2008000903A (en) Image recorder and image recording method
JP2009029037A (en) Image forming apparatus, image forming system, image forming method, program for controlling release of inferiority of conveying, and information recording medium storing this
JP2009248502A (en) Pulse signal generating device, transport device, image forming apparatus, and pulse generating method
US8300242B2 (en) Image forming apparatus and pulse generating method
JP2012076837A (en) Recording device
US20090033699A1 (en) Inkjet image forming apparatus
JP5472184B2 (en) Ink jet recording apparatus and ink jet head tilt detection method
JP2011037141A (en) Target detector, fluid ejection device, and target detecting method
JP2008221672A (en) Image forming apparatus, method for forming image, and program
JP5327462B2 (en) Reference mark forming apparatus and recording apparatus provided with the reference mark forming apparatus
JP2008246859A (en) Position correcting system and position correcting method
JP2006347039A (en) Inkjet printer and apparatus for controlling it
JP4765534B2 (en) Inkjet recording device
JP7126976B2 (en) Base material processing apparatus and detection method
JP2007290142A (en) Inkjet recording apparatus and inkjet recording method
JP2007076872A (en) Ink jet printer
JP2012158412A (en) Image recorder and image recording method
JP4433777B2 (en) Liquid ejecting apparatus, adjustment pattern forming method, computer program, and computer system
JP5488344B2 (en) Image forming apparatus