JP2008034950A - Method for calculating printing position of pattern on medium - Google Patents
Method for calculating printing position of pattern on medium Download PDFInfo
- Publication number
- JP2008034950A JP2008034950A JP2006203454A JP2006203454A JP2008034950A JP 2008034950 A JP2008034950 A JP 2008034950A JP 2006203454 A JP2006203454 A JP 2006203454A JP 2006203454 A JP2006203454 A JP 2006203454A JP 2008034950 A JP2008034950 A JP 2008034950A
- Authority
- JP
- Japan
- Prior art keywords
- scale
- pattern
- medium
- reading
- printing position
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 88
- 238000004364 calculation method Methods 0.000 claims abstract description 67
- 238000001514 detection method Methods 0.000 claims description 88
- 230000009471 action Effects 0.000 claims description 12
- 230000032258 transport Effects 0.000 description 240
- 238000012937 correction Methods 0.000 description 170
- 238000012360 testing method Methods 0.000 description 89
- 238000005259 measurement Methods 0.000 description 84
- 230000008569 process Effects 0.000 description 56
- 238000010586 diagram Methods 0.000 description 37
- 239000011521 glass Substances 0.000 description 15
- 238000012545 processing Methods 0.000 description 11
- 230000002093 peripheral effect Effects 0.000 description 9
- 230000003287 optical effect Effects 0.000 description 8
- 238000011144 upstream manufacturing Methods 0.000 description 7
- 238000012935 Averaging Methods 0.000 description 4
- 238000004519 manufacturing process Methods 0.000 description 4
- 230000007246 mechanism Effects 0.000 description 4
- 230000015572 biosynthetic process Effects 0.000 description 3
- 230000007423 decrease Effects 0.000 description 3
- 230000005484 gravity Effects 0.000 description 3
- 238000007689 inspection Methods 0.000 description 3
- 230000000694 effects Effects 0.000 description 2
- 239000000284 extract Substances 0.000 description 2
- 229920002799 BoPET Polymers 0.000 description 1
- 238000004458 analytical method Methods 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 230000001186 cumulative effect Effects 0.000 description 1
- 238000007599 discharging Methods 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 238000003780 insertion Methods 0.000 description 1
- 230000037431 insertion Effects 0.000 description 1
- 230000001678 irradiating effect Effects 0.000 description 1
- 239000000463 material Substances 0.000 description 1
- 239000011347 resin Substances 0.000 description 1
- 229920005989 resin Polymers 0.000 description 1
- 230000011218 segmentation Effects 0.000 description 1
- 239000007787 solid Substances 0.000 description 1
Images
Landscapes
- Facsimiles In General (AREA)
- Ink Jet (AREA)
- Accessory Devices And Overall Control Thereof (AREA)
Abstract
【課題】媒体に印刷されたパターンの前記媒体上の印刷位置を、スキャナを用いて高精度に算出可能であり、しかも、その算出時間を短くする。
【解決手段】所定方向について目盛りが付けられたスケールを、スキャナにより読み取って前記スケールの画像データを生成し、前記スケールの画像データに基づいて検出された前記目盛りの検出位置の情報をメモリに記憶する記憶ステップと、パターンが印刷された媒体を前記スキャナにより読み取って前記媒体の画像データを生成する読み取りステップと、前記メモリに記憶された前記目盛りの検出位置の情報と、前記媒体の画像データとに基づいて、前記媒体上における前記パターンの前記所定方向に関する印刷位置を算出する印刷位置算出ステップと、を備えたことを特徴とする媒体上のパターンの印刷位置の算出方法。
【選択図】図24A printing position of a pattern printed on a medium on the medium can be calculated with high accuracy using a scanner, and the calculation time is shortened.
A scale scaled in a predetermined direction is read by a scanner to generate image data of the scale, and information on a detected position of the scale detected based on the scale image data is stored in a memory. A storage step, a reading step of reading a medium on which a pattern is printed by the scanner to generate image data of the medium, information on a detected position of the scale stored in the memory, and image data of the medium And a printing position calculation step of calculating a printing position of the pattern on the medium with respect to the predetermined direction. A method for calculating a printing position of a pattern on the medium.
[Selection] Figure 24
Description
本発明は、媒体上のパターンの印刷位置の算出方法に関する。 The present invention relates to a method for calculating a printing position of a pattern on a medium.
紙等の媒体を搬送方向に搬送するとともにヘッドにより媒体に印刷を行う印刷装置として、インクジェットプリンタが知られている。このような印刷装置では、媒体を搬送する際に搬送誤差が生じると、媒体上の正しい位置にヘッドが印刷できなくなる。特に、インクジェットプリンタでは、媒体上の正しい位置にインク滴が着弾しなくなると、印刷された画像に白スジや黒スジが生じ、画質が劣化するおそれがある。 2. Description of the Related Art An ink jet printer is known as a printing apparatus that transports a medium such as paper in the transport direction and performs printing on the medium with a head. In such a printing apparatus, if a transport error occurs when transporting the medium, the head cannot be printed at a correct position on the medium. In particular, in an ink jet printer, if ink droplets do not land at the correct position on a medium, white stripes and black stripes may occur in the printed image, and the image quality may deteriorate.
そこで、媒体の搬送量を補正する方法が提案されている。例えば特許文献1では、パターンを印刷し、このパターンを読み取り部により読み取って、その読取結果に基づいて補正値を算出し、画像を記録する際に補正値に基づいて搬送量を補正することが提案されている。
ここで、上記の読み取り部として、所謂スキャナの活用も考えられる。そして、その場合には、スキャナにより前記パターンを読み取って当該パターンの画像データを生成し、この画像データに基づいてパターンの印刷位置を検出し、この検出位置に基づいて補正値を算出することになる。
但し、前記画像データに基づいて検出されたパターンの印刷位置は、スキャナが前記パターンを読み取る際の読み取り位置の誤差等というスキャナ自身の検出誤差を含んでいる。よって、前記媒体上におけるパターンの印刷位置を高い精度で求めるのは難しい。
Here, a so-called scanner can be used as the reading unit. In that case, the pattern is read by the scanner to generate image data of the pattern, the print position of the pattern is detected based on the image data, and the correction value is calculated based on the detected position. Become.
However, the printing position of the pattern detected based on the image data includes a detection error of the scanner itself such as an error of a reading position when the scanner reads the pattern. Therefore, it is difficult to obtain the pattern printing position on the medium with high accuracy.
この点につき、例えば、次のようにすれば、このスキャナ自身の検出誤差を相殺させることができる。すなわち、スキャナによって前記媒体のパターンを読み取る際に、所定方向について目盛りが付けられたスケールを前記パターンの横に並べて当該スケールも読み取り、これにより生成されたスケールの画像データに基づいて、前記パターンの画像データに基づき検出されたパターンの印刷位置を補正するのである。
しかし、この方法では、前記媒体のパターンの読み取りの都度、前記スケールを前記パターンの横に並べてスキャナにセットしなければならず、その分だけ作業時間がかかってしまう。
In this regard, for example, the detection error of the scanner itself can be canceled out as follows. That is, when the pattern of the medium is read by the scanner, scales calibrated in a predetermined direction are arranged next to the pattern and the scale is also read, and based on the image data of the scale generated thereby, the pattern The printing position of the pattern detected based on the image data is corrected.
However, in this method, each time the pattern of the medium is read, the scale must be arranged next to the pattern and set in the scanner, which requires more work time.
本発明は、上記課題に鑑みてなされたものであり、その目的は、媒体に印刷されたパターンの前記媒体上の印刷位置を、スキャナを用いて高精度に算出可能であり、しかも、その算出時間を短くできる媒体上のパターンの印刷位置の算出方法を提供することにある。 The present invention has been made in view of the above problems, and an object of the present invention is to be able to calculate the print position of the pattern printed on the medium on the medium with high accuracy using the scanner. An object of the present invention is to provide a method for calculating a printing position of a pattern on a medium that can shorten the time.
上記目的を達成するための主たる発明は、
所定方向について目盛りが付けられたスケールを、スキャナにより読み取って前記スケールの画像データを生成し、前記スケールの画像データに基づいて検出された前記目盛りの検出位置の情報をメモリに記憶する記憶ステップと、
パターンが印刷された媒体を前記スキャナにより読み取って前記媒体の画像データを生成する読み取りステップと、
前記メモリに記憶された前記目盛りの検出位置の情報と、前記媒体の画像データとに基づいて、前記媒体上における前記パターンの前記所定方向に関する印刷位置を算出する印刷位置算出ステップと、
を備えたことを特徴とする媒体上のパターンの印刷位置の算出方法である。
The main invention for achieving the above object is:
A storage step of reading a scale scaled in a predetermined direction by a scanner to generate image data of the scale, and storing information of a detected position of the scale detected based on the image data of the scale in a memory; ,
A reading step of reading a medium on which a pattern is printed by the scanner to generate image data of the medium;
A print position calculating step of calculating a print position in the predetermined direction of the pattern on the medium based on the information on the detected position of the scale stored in the memory and the image data of the medium;
A method for calculating a printing position of a pattern on a medium.
本発明の他の特徴については、本明細書及び添付図面の記載により明らかにする。 Other features of the present invention will become apparent from the description of the present specification and the accompanying drawings.
本明細書及び添付図面の記載により、少なくとも、以下の事項が明らかとなる。 At least the following matters will become clear from the description of the present specification and the accompanying drawings.
所定方向について目盛りが付けられたスケールを、スキャナにより読み取って前記スケールの画像データを生成し、前記スケールの画像データに基づいて検出された前記目盛りの検出位置の情報をメモリに記憶する記憶ステップと、
パターンが印刷された媒体を前記スキャナにより読み取って前記媒体の画像データを生成する読み取りステップと、
前記メモリに記憶された前記目盛りの検出位置の情報と、前記媒体の画像データとに基づいて、前記媒体上における前記パターンの前記所定方向に関する印刷位置を算出する印刷位置算出ステップと、
を備えたことを特徴とする媒体上のパターンの印刷位置の算出方法。
A storage step of reading a scale scaled in a predetermined direction by a scanner to generate image data of the scale, and storing information of a detected position of the scale detected based on the image data of the scale in a memory; ,
A reading step of reading a medium on which a pattern is printed by the scanner to generate image data of the medium;
A print position calculating step of calculating a print position in the predetermined direction of the pattern on the medium based on the information on the detected position of the scale stored in the memory and the image data of the medium;
A method for calculating a printing position of a pattern on a medium.
このような算出方法によれば、スキャナにて読み取り生成された前記スケールの画像データに基づいて目盛りの位置を検出し、検出された前記目盛りの検出位置は、メモリに記憶されている。そして、前記印刷位置算出ステップでは、前記メモリに記憶された前記目盛りの検出位置の情報と、前記媒体の画像データとに基づいて、前記媒体上における前記パターンの印刷位置を算出する。 According to such a calculation method, the position of the scale is detected based on the scale image data read and generated by the scanner, and the detected position of the scale is stored in the memory. In the printing position calculation step, the printing position of the pattern on the medium is calculated based on the information on the detected position of the scale stored in the memory and the image data of the medium.
よって、前記パターンの画像データのみに基づいて前記パターンの印刷位置を検出する場合に含まれ得るスキャナ自体の検出誤差を、前記目盛りの検出位置の情報を用いることによって相殺させることができる。そして、その結果として、前記媒体上におけるパターンの印刷位置を高精度で算出可能になる。 Therefore, the detection error of the scanner itself that can be included when the print position of the pattern is detected based only on the image data of the pattern can be canceled by using the information on the detection position of the scale. As a result, the printing position of the pattern on the medium can be calculated with high accuracy.
また、前記目盛りの検出位置の情報は前記メモリに記憶されているので、次回以降の印刷位置の算出の際には、すなわち、前記媒体とは異なる他の媒体に対するパターンの印刷位置の算出の際には、前記記憶ステップを省略することができる。よって、当該次回以降の印刷位置の算出について算出時間の短縮化が図れる。 Further, since the information on the detected position of the scale is stored in the memory, when calculating the printing position from the next time, that is, when calculating the printing position of the pattern for another medium different from the medium. The storage step can be omitted. Therefore, the calculation time can be shortened for the calculation of the printing position after the next time.
かかる媒体上のパターンの印刷位置の算出方法において、
前記媒体のパターンの印刷位置の算出の後に、前記媒体とは異なる他の媒体に対してパターンの印刷位置を算出する場合には、
前記記憶ステップを実行せずに、前記他の媒体に対して前記読み取りステップを実行して、前記他の媒体の画像データを生成するとともに、
前記印刷位置算出ステップでは、前記メモリに記憶された前記目盛りの検出位置の情報と、前記他の媒体の画像データとに基づいて、前記媒体上における前記パターンの前記所定方向に関する印刷位置を算出するのが望ましい。
In the method for calculating the printing position of the pattern on the medium,
After calculating the print position of the pattern of the medium, when calculating the print position of the pattern for another medium different from the medium,
Performing the reading step on the other medium without executing the storing step to generate image data of the other medium;
In the printing position calculation step, a printing position relating to the predetermined direction of the pattern on the medium is calculated based on information on the detected position of the scale stored in the memory and image data of the other medium. Is desirable.
このような算出方法によれば、前記媒体とは異なる他の媒体に対するパターンの印刷位置の算出の際には、前記記憶ステップを省略するので、当該他の媒体に対する印刷位置の算出に対して前記パターンの印刷位置の算出時間の短縮化が図れる。 According to such a calculation method, since the storage step is omitted when calculating the print position of the pattern for another medium different from the medium, the calculation for the print position for the other medium is omitted. The calculation time of the pattern printing position can be shortened.
かかる媒体上のパターンの印刷位置の算出方法において、
前記印刷位置は、所定の基準位置から前記パターンまでの前記所定方向に関する距離として示されても良い。
In the method for calculating the printing position of the pattern on the medium,
The printing position may be indicated as a distance in the predetermined direction from a predetermined reference position to the pattern.
かかる媒体上のパターンの印刷位置の算出方法において、
前記印刷位置算出ステップでは、
前記媒体の画像データに基づいて検出された前記パターンの検出位置の情報を、前記メモリに記憶された前記目盛りの検出位置の情報に基づいて補正することにより、前記パターンの前記所定方向に関する印刷位置を算出するようにしても良い。
In the method for calculating the printing position of the pattern on the medium,
In the printing position calculating step,
The print position in the predetermined direction of the pattern is corrected by correcting the information on the detection position of the pattern detected based on the image data of the medium based on the information on the detection position of the scale stored in the memory. May be calculated.
このような算出方法によれば、前記媒体の画像データに基づいて検出された前記パターンの検出位置の情報を、前記スケールの画像データに基づいて検出された前記目盛りの検出位置の情報に基づいて補正するので、前記パターンの印刷位置を検出する際に含まれ得る前記スキャナ自体の検出誤差を確実に相殺させることができる。 According to such a calculation method, information on the detection position of the pattern detected based on the image data of the medium is obtained based on information on the detection position of the scale detected based on the image data of the scale. Since the correction is performed, the detection error of the scanner itself that can be included when detecting the printing position of the pattern can be surely offset.
かかる媒体上のパターンの印刷位置の算出方法において、
前記スケールの各目盛りは、その目盛りと前記所定方向に隣り合う他の目盛りとの間隔が所定の理論値を目標値として形成されており、
前記印刷位置算出ステップでは、
前記目盛りの検出位置の情報及び前記パターンの検出位置の情報に基づいて、前記目盛りに対する前記パターンの相対位置を示す相対位置情報を求めるとともに、
前記相対位置情報と、前記理論値に基づく前記目盛りの絶対位置の情報とに基づいて、前記パターンの前記所定方向に関する印刷位置を算出するのが望ましい。
In the method for calculating the printing position of the pattern on the medium,
Each scale of the scale is formed with a predetermined theoretical value as a target value for the interval between the scale and another scale adjacent in the predetermined direction,
In the printing position calculating step,
Based on the information on the detection position of the scale and the information on the detection position of the pattern, to obtain relative position information indicating the relative position of the pattern with respect to the scale,
It is preferable to calculate a print position of the pattern in the predetermined direction based on the relative position information and information on the absolute position of the scale based on the theoretical value.
このような算出方法によれば、前記目盛りの絶対位置の情報として、前記目盛りの間隔の理論値を用いる。よって、前記目盛りの絶対位置を実測しない分だけ、手順の簡素化が図れて、パターンの印刷位置の算出時間を短縮できる。 According to such a calculation method, the theoretical value of the interval between the scales is used as information on the absolute position of the scale. Therefore, the procedure can be simplified and the calculation time of the pattern printing position can be shortened by the amount that the absolute position of the scale is not actually measured.
かかる媒体上のパターンの印刷位置の算出方法において、
前記目盛りは、前記所定方向と直交する方向に沿う直線状に形成され、
前記パターンは、前記所定方向と直交する方向に沿って印刷されたラインであって、前記ラインは、前記所定方向に複数並んで印刷され、
前記印刷位置算出ステップでは、前記印刷位置として、前記ラインの印刷位置が前記ライン毎に算出されるのが望ましい。
In the method for calculating the printing position of the pattern on the medium,
The scale is formed in a linear shape along a direction orthogonal to the predetermined direction,
The pattern is a line printed along a direction orthogonal to the predetermined direction, and a plurality of the lines are printed side by side in the predetermined direction,
In the printing position calculation step, it is preferable that the printing position of the line is calculated for each line as the printing position.
このような算出方法によれば、前記ラインが沿う方向と前記目盛りの線が沿う方向とは揃っているので、媒体上のパターンたるラインの印刷位置を確実に高精度で算出可能になる。 According to such a calculation method, since the direction along the line and the direction along the scale line are aligned, the print position of the line as the pattern on the medium can be reliably calculated with high accuracy.
かかる媒体上のパターンの印刷位置の算出方法において、
前記スキャナは、前記スケール及び前記媒体が載置される載置面と、前記載置面と平行な第1方向に移動する読取キャリッジと、前記読取キャリッジに設けられて前記媒体の前記パターン又は前記スケールの前記目盛りを読み取って画像データを生成するための画像読み取りセンサと、を備えるようにしても良い。
In the method for calculating the printing position of the pattern on the medium,
The scanner includes a placement surface on which the scale and the medium are placed; a reading carriage that moves in a first direction parallel to the placement surface; and the pattern of the medium or the reading carriage provided on the reading carriage. An image reading sensor for reading the scale of the scale and generating image data may be provided.
かかる媒体上のパターンの印刷位置の算出方法において、
前記スキャナは、前記読取キャリッジの前記第1方向への移動を案内するガイド部材と、前記読取キャリッジに対して前記第1方向へ移動させるための駆動力を与える駆動源とを有し、
前記読取キャリッジにおける前記駆動力の作用点は、前記第1方向と直交する第2方向に関する両端部のうちの一方の端部のみであり、他方の端部は前記作用点ではなく、
前記載置面において、前記他方の端部よりも前記一方の端部の方に近づけて、前記スケール又は前記媒体が載置されるのが望ましい。
In the method for calculating the printing position of the pattern on the medium,
The scanner includes a guide member that guides the movement of the reading carriage in the first direction, and a driving source that applies a driving force for moving the reading carriage in the first direction,
The operating point of the driving force in the reading carriage is only one end of both end portions in the second direction orthogonal to the first direction, and the other end is not the operating point.
In the placement surface, it is desirable that the scale or the medium is placed closer to the one end than the other end.
このような算出方法によれば、読取キャリッジの両端部のうちの一方の端部が、読取キャリッジの駆動力の作用点となっている。そして、他方の端部よりも前記一方の端部の方に近づけて、前記スケール又は前記媒体は前記載置面に載置される。ここで、一般に、読取キャリッジの作用点側の部分は、前記第1方向への移動時の振動は小さい。よって、前記作用点側の部分たる前記一方の端部に近づけて配置された前記スケール又は前記媒体の画像は正確に読み取られ、もって、これらの画像データに基づいて前記スケールの目盛りの位置又は前記媒体のパターンの位置は、精度良く検出される。 According to such a calculation method, one of the two end portions of the reading carriage serves as an action point of the driving force of the reading carriage. Then, the scale or the medium is placed on the placement surface closer to the one end than the other end. Here, generally, the portion of the reading carriage on the operating point side has a small vibration during movement in the first direction. Therefore, the image of the scale or the medium arranged close to the one end which is the part on the side of the action point is accurately read, and therefore the scale position of the scale or the scale based on the image data The position of the medium pattern is detected with high accuracy.
また、所定方向について目盛りが付けられたスケールを、スキャナにより読み取って前記スケールの画像データを生成し、前記スケールの画像データに基づいて検出された前記目盛りの検出位置の情報をメモリに記憶する記憶ステップと、
パターンが印刷された媒体を前記スキャナにより読み取って前記媒体の画像データを生成する読み取りステップと、
前記メモリに記憶された前記目盛りの検出位置の情報と、前記媒体の画像データとに基づいて、前記媒体上における前記パターンの前記所定方向に関する印刷位置を算出する印刷位置算出ステップと、
を備え、
前記媒体のパターンの印刷位置の算出の後に、前記媒体とは異なる他の媒体に対してパターンの印刷位置を算出する場合には、前記記憶ステップを実行せずに、前記他の媒体に対して前記読み取りステップを実行して、前記他の媒体の画像データを生成するとともに、前記印刷位置算出ステップでは、前記メモリに記憶された前記目盛りの検出位置の情報と、前記他の媒体の画像データとに基づいて、前記媒体上における前記パターンの前記所定方向に関する印刷位置を算出し、
前記印刷位置は、所定の基準位置から前記パターンまでの前記所定方向に関する距離として示され、
前記印刷位置算出ステップでは、前記媒体の画像データに基づいて検出された前記パターンの検出位置の情報を、前記メモリに記憶された前記目盛りの検出位置の情報に基づいて補正することにより、前記パターンの前記所定方向に関する印刷位置を算出し、
前記スケールの各目盛りは、その目盛りと前記所定方向に隣り合う他の目盛りとの間隔が所定の理論値を目標値として形成されており、
前記印刷位置算出ステップでは、前記目盛りの検出位置の情報及び前記パターンの検出位置の情報に基づいて、前記目盛りに対する前記パターンの相対位置を示す相対位置情報を求めるとともに、前記相対位置情報と、前記理論値に基づく前記目盛りの絶対位置の情報とに基づいて、前記パターンの前記所定方向に関する印刷位置を算出し、
前記目盛りは、前記所定方向と直交する方向に沿う直線状に形成され、前記パターンは、前記所定方向と直交する方向に沿って印刷されたラインであって、前記ラインは、前記所定方向に複数並んで印刷され、前記印刷位置算出ステップでは、前記印刷位置として、前記ラインの印刷位置が前記ライン毎に算出され、
前記スキャナは、前記スケール及び前記媒体が載置される載置面と、前記載置面と平行な第1方向に移動する読取キャリッジと、前記読取キャリッジに設けられて前記媒体の前記パターン又は前記スケールの前記目盛りを読み取って画像データを生成するための画像読み取りセンサと、を備え、
前記スキャナは、前記読取キャリッジの前記第1方向への移動を案内するガイド部材と、前記読取キャリッジに対して前記第1方向へ移動させるための駆動力を与える駆動源とを有し、前記読取キャリッジにおける前記駆動力の作用点は、前記第1方向と直交する第2方向に関する両端部のうちの一方の端部のみであり、他方の端部は前記作用点ではなく、前記載置面において、前記他方の端部よりも前記一方の端部の方に近づけて、前記スケール又は前記媒体が載置されることを特徴とする媒体上のパターンの印刷位置の算出方法。
Further, a scale that is calibrated in a predetermined direction is read by a scanner to generate image data of the scale, and storage that stores information on the detected position of the scale detected based on the image data of the scale in a memory Steps,
A reading step of reading a medium on which a pattern is printed by the scanner to generate image data of the medium;
A print position calculating step of calculating a print position in the predetermined direction of the pattern on the medium based on the information on the detected position of the scale stored in the memory and the image data of the medium;
With
After calculating the print position of the pattern of the medium, when calculating the print position of the pattern for another medium different from the medium, the storage step is not executed and the other medium is not executed. The reading step is executed to generate image data of the other medium, and in the printing position calculating step, information on the detected position of the scale stored in the memory, image data of the other medium, and On the basis of the print position of the pattern on the medium with respect to the predetermined direction;
The printing position is indicated as a distance in the predetermined direction from a predetermined reference position to the pattern,
In the printing position calculation step, the pattern detection position information detected based on the image data of the medium is corrected based on the scale position detection information stored in the memory, thereby correcting the pattern. Calculating the printing position in the predetermined direction of
Each scale of the scale is formed with a predetermined theoretical value as a target value for the interval between the scale and another scale adjacent in the predetermined direction,
In the printing position calculating step, based on the scale detection position information and the pattern detection position information, relative position information indicating a relative position of the pattern with respect to the scale is obtained, and the relative position information, Based on the information on the absolute position of the scale based on a theoretical value, the printing position for the predetermined direction of the pattern is calculated,
The scale is formed in a linear shape along a direction orthogonal to the predetermined direction, and the pattern is a line printed along a direction orthogonal to the predetermined direction, and the line includes a plurality of lines in the predetermined direction. In the printing position calculation step, the printing position of the line is calculated for each line as the printing position,
The scanner includes a placement surface on which the scale and the medium are placed; a reading carriage that moves in a first direction parallel to the placement surface; and the pattern of the medium or the reading carriage provided on the reading carriage. An image reading sensor for reading the scale of the scale and generating image data,
The scanner includes a guide member that guides the movement of the reading carriage in the first direction, and a driving source that applies a driving force for moving the reading carriage in the first direction. The point of action of the driving force in the carriage is only one end of both end parts in the second direction orthogonal to the first direction, and the other end is not the point of action but on the placement surface described above. A method for calculating a printing position of a pattern on a medium, wherein the scale or the medium is placed closer to the one end than the other end.
このような算出方法によれば、既述のほぼ全ての効果を奏するため、本発明の目的が最も有効に達成される。 According to such a calculation method, the effects of the present invention can be achieved most effectively because almost all the effects described above can be achieved.
===プリンタ1の構成===
<インクジェットプリンタ1の構成について>
図1は、プリンタ1の全体構成のブロック図である。また、図2Aは、プリンタ1の全体構成の概略図である。また、図2Bは、プリンタ1の全体構成の断面図である。以下、プリンタ1の基本的な構成について説明する。
=== Configuration of
<Configuration of
FIG. 1 is a block diagram of the overall configuration of the
プリンタ1は、搬送ユニット20、キャリッジユニット30、ヘッドユニット40、検出器群50、及びコントローラ60を有する。外部装置であるコンピュータ110から印刷データを受信したプリンタ1は、コントローラ60によって各ユニット(搬送ユニット20、キャリッジユニット30、ヘッドユニット40)を制御する。コントローラ60は、コンピュータ110から受信した印刷データに基づいて、各ユニットを制御し、紙Sに画像を印刷する。プリンタ1内の状況は検出器群50によって監視されており、検出器群50は、検出結果をコントローラ60に出力する。コントローラ60は、検出器群50から出力された検出結果に基づいて、各ユニットを制御する。
The
搬送ユニット20は、紙Sを所定の方向(以下、搬送方向という)に搬送させるためのものである。この搬送ユニット20は、給紙ローラ21と、搬送モータ22と、搬送ローラ23と、プラテン24と、排紙ローラ25とを有する。給紙ローラ21は、紙挿入口に挿入された紙Sをプリンタ内に給紙するためのローラである。搬送ローラ23は、給紙ローラ21によって給紙された紙Sを印刷可能な領域まで搬送するローラであり、搬送モータ22によって駆動される。プラテン24は、印刷中の紙Sを支持する。排紙ローラ25は、紙Sをプリンタ1の外部に排出するローラであり、印刷可能な領域に対して搬送方向下流側に設けられている。この排紙ローラ25は、搬送ローラ23と同期して回転する。
The
なお、搬送ローラ23が紙Sを搬送するとき、紙Sは搬送ローラ23と従動ローラ26との間に挟まれている。これにより、紙Sの姿勢が安定する。一方、排紙ローラ25が紙Sを搬送するとき、紙Sは排紙ローラ25と従動ローラ27との間に挟まれている。排紙ローラ25は印刷領域よりも搬送方向下流側に設けられているので、従動ローラ27は、紙Sとの接触面が小さくなるように構成されている(図4も参照)。このため、紙Sの下端が搬送ローラ23を通過して、紙Sが排紙ローラ25のみによって搬送されるとき、紙Sの姿勢は不安定になり易く、搬送特性も変化しやすい。
When the
キャリッジユニット30は、ヘッド41を所定の方向(以下、移動方向という)に移動させるためのものである。キャリッジユニット30は、キャリッジ31と、キャリッジモータ32とを有する。キャリッジ31は、移動方向に往復移動可能であり、キャリッジモータ32によって駆動される。また、キャリッジ31は、インクを収容するインクカートリッジを着脱可能に保持している。
The
ヘッドユニット40は、紙Sにインクを吐出するためのものである。ヘッドユニット40は、複数のノズルを有するヘッド41を備える。このヘッド41はキャリッジ31に設けられているため、キャリッジ31が移動方向に移動すると、ヘッド41も移動方向に移動する。そして、ヘッド41が移動方向に移動中にインクを断続的に吐出することによって、移動方向に沿ったドットのライン(ラスタライン)が紙Sに形成される。
The
検出器群50には、リニア式エンコーダ51、ロータリー式エンコーダ52、紙検出センサ53、および光学センサ54等が含まれる。リニア式エンコーダ51は、キャリッジ31の移動方向の位置を検出する。ロータリー式エンコーダ52は、搬送ローラ23の回転量を検出する。紙検出センサ53は、給紙中の紙Sの先端の位置を検出する。光学センサ54は、キャリッジ31に取付けられている発光部と受光部により、紙Sの有無を検出する。そして、光学センサ54は、キャリッジ31によって移動しながら紙Sの端部の位置を検出し、紙Sの幅を検出することができる。また、光学センサ54は、状況に応じて、紙Sの先端(搬送方向下流側の端部であり、上端ともいう)・後端(搬送方向上流側の端部であり、下端ともいう)も検出できる。
The
コントローラ60は、プリンタ1の制御を行うための制御ユニットである。コントローラ60は、インターフェース部61と、CPU62と、メモリ63と、ユニット制御回路64とを有する。インターフェース部61は、外部装置であるコンピュータ110とプリンタ1との間でデータの送受信を行う。CPU62は、プリンタ全体の制御を行うための演算処理装置である。メモリ63は、CPU62のプログラムを格納する領域や作業領域等を確保するためのものであり、RAM、EEPROM等の記憶素子を有する。CPU62は、メモリ63に格納されているプログラムに従って、ユニット制御回路64を介して各ユニットを制御する。
The
<ノズルについて>
図3は、ヘッド41の下面におけるノズルの配列を示す説明図である。ヘッド41の下面には、ブラックインクノズル群Kと、シアンインクノズル群Cと、マゼンタインクノズル群Mと、イエローインクノズル群Yが形成されている。各ノズル群は、各色のインクを吐出するための吐出口であるノズルを90個備えている。
各ノズル群の複数のノズルは、搬送方向に沿って、一定の間隔(ノズルピッチ:k・D)でそれぞれ整列している。ここで、Dは、搬送方向における最小のドットピッチ(つまり、紙Sに形成されるドットの最高解像度での間隔)である。また、kは、1以上の整数である。例えば、ノズルピッチが90dpi(1/90インチ)であって、搬送方向のドットピッチが720dpi(1/720インチ)である場合、k=8である。
各ノズル群のノズルは、下流側のノズルほど小さい数の番号が付されている(♯1〜♯90)。つまり、ノズル♯1は、ノズル♯90よりも搬送方向の下流側に位置している。なお、前述の光学センサ54は、搬送方向の位置に関して、一番上流側にあるノズル♯90とほぼ同じ位置にある。
各ノズルには、それぞれインクチャンバー(不図示)と、ピエゾ素子が設けられている。ピエゾ素子の駆動によってインクチャンバーが伸縮・膨張し、ノズルからインク滴が吐出される。
<About nozzle>
FIG. 3 is an explanatory diagram showing the arrangement of nozzles on the lower surface of the
The plurality of nozzles of each nozzle group are aligned at a constant interval (nozzle pitch: k · D) along the transport direction. Here, D is the minimum dot pitch in the carrying direction (that is, the interval at the highest resolution of dots formed on the paper S). K is an integer of 1 or more. For example, when the nozzle pitch is 90 dpi (1/90 inch) and the dot pitch in the transport direction is 720 dpi (1/720 inch), k = 8.
The nozzles in each nozzle group are assigned a smaller number as the nozzles on the downstream side (# 1 to # 90). That is, the
Each nozzle is provided with an ink chamber (not shown) and a piezoelectric element. By driving the piezo element, the ink chamber expands and contracts, and ink droplets are ejected from the nozzle.
===搬送誤差===
<紙Sの搬送について>
図4は、搬送ユニット20の構成の説明図である。
搬送ユニット20は、コントローラ60からの搬送指令に基づいて、所定の駆動量にて搬送モータ22を駆動させる。搬送モータ22は、指令された駆動量に応じて回転方向の駆動力を発生する。搬送モータ22は、この駆動力を用いて搬送ローラ23を回転させる。つまり、搬送モータ22が所定の駆動力を発生すると、搬送ローラ23は所定の回転量にて回転する。搬送ローラ23が所定の回転量にて回転すると、紙Sは所定の搬送量にて搬送される。
紙Sの搬送量は、搬送ローラ23の回転量に応じて定まる。ここでは、搬送ローラ23が1回転すると、紙Sが1インチ搬送されるものとする(つまり、搬送ローラ23の周長は、1インチである)。このため、搬送ローラ23が1/4回転すると、紙Sが1/4インチ搬送される。
したがって、搬送ローラ23の回転量が検出できれば、紙Sの搬送量も検出可能である。そこで、搬送ローラ23の回転量を検出するため、ロータリー式エンコーダ52が設けられている。
=== Conveying error ===
<Conveying paper S>
FIG. 4 is an explanatory diagram of the configuration of the
The
The carry amount of the paper S is determined according to the rotation amount of the
Therefore, if the rotation amount of the
ロータリー式エンコーダ52は、スケール521と検出部522とを有する。スケール521は、所定の間隔毎に設けられた多数のスリットを有する。このスケール521は、搬送ローラ23に設けられている。つまり、スケール521は、搬送ローラ23が回転すると、一緒に回転する。そして、搬送ローラ23が回転すると、スケール521の各スリットが検出部522を順次通過する。検出部522は、スケール521と対向して設けられており、プリンタ本体側に固定されている。ロータリー式エンコーダ52は、スケール521に設けられたスリットが検出部522を通過する毎に、パルス信号を出力する。搬送ローラ23の回転量に応じてスケール521に設けられたスリットが順次検出部522を通過するので、ロータリー式エンコーダ52の出力に基づいて、搬送ローラ23の回転量が検出される。
The
そして、例えば搬送量1インチで紙Sを搬送する場合、搬送ローラ23が1回転したことをロータリー式エンコーダ52が検出するまで、コントローラ60が搬送モータ22を駆動する。このように、コントローラ60は、目標とする搬送量(目標搬送量)に応じた回転量になることをロータリー式エンコーダ52が検出するまで、搬送モータ22を駆動して、紙Sを目標搬送量にて搬送する。
For example, when transporting the paper S with a transport amount of 1 inch, the
<搬送誤差について>
ところで、ロータリー式エンコーダ52は、直接的には搬送ローラ23の回転量を検出するのであって、厳密にいえば、紙Sの搬送量を検出していない。このため、搬送ローラ23の回転量と紙Sの搬送量が一致しない場合、ロータリー式エンコーダ52は紙Sの搬送量を正確に検出することができず、搬送誤差(検出誤差)が生じる。搬送誤差としては、DC成分の搬送誤差及びAC成分の搬送誤差の2種類がある。
<About transport error>
By the way, the
DC成分の搬送誤差とは、搬送ローラ23が1回転したときに生じる所定量の搬送誤差のことである。このDC成分の搬送誤差は、製造誤差等によって搬送ローラ23の周長が個々のプリンタ毎に異なることが原因と考えられる。つまり、DC成分の搬送誤差は、設計上の搬送ローラ23の周長と実際の搬送ローラ23の周長が異なるために生じる搬送誤差である。このDC成分の搬送誤差は、搬送ローラ23が1回転するときの開始位置に関わらず、一定になる。但し、実際のDC成分の搬送誤差は、紙Sの摩擦等の影響によって、紙Sの総搬送量に応じて異なる値になる(後述)。言い換えると、実際のDC成分の搬送誤差は、紙Sと搬送ローラ23(又は紙Sとヘッド41)との相対位置関係に応じて異なる値になる。
The DC component transport error is a predetermined amount of transport error that occurs when the
AC成分の搬送誤差とは、搬送時に用いられる搬送ローラ23の周面の場所に応じた搬送誤差のことである。AC成分の搬送誤差は、搬送時に用いられる搬送ローラ23の周面の場所に応じて、異なる量になる。つまり、AC成分の搬送誤差は、搬送開始時の搬送ローラ23の回転位置と搬送量に応じて、異なる量になる。
The AC component transport error is a transport error corresponding to the location of the peripheral surface of the
図5は、AC成分の搬送誤差の説明用グラフである。横軸は、基準となる回転位置からの搬送ローラ23の回転量である。縦軸は、搬送誤差を示す。このグラフを微分すれば、その回転位置で搬送ローラ23が搬送しているときに生じる搬送誤差が導き出される。ここでは、基準位置における累積搬送誤差をゼロとし、DC成分の搬送誤差もゼロとしている。
FIG. 5 is a graph for explaining the AC component transport error. The horizontal axis represents the rotation amount of the
搬送ローラ23が基準位置から1/4回転すると、δ_90の搬送誤差が生じ、紙Sは1/4インチ+δ_90にて搬送される。但し、搬送ローラ23が更に1/4回転すると、-δ_90の搬送誤差が生じ、紙Sは1/4インチ−δ_90にて搬送される。
When the
AC成分の搬送誤差が生じる原因としては、例えば、以下の3つが考えられる。
まず第1に、搬送ローラ23の形状による影響が考えられる。例えば、搬送ローラ23が楕円形状や卵型である場合、搬送ローラ23の周面の場所に応じて、回転中心までの距離が異なっている。そして、回転中心までの距離が長い部分で紙Sを搬送する場合、搬送ローラ23の回転量に対する搬送量が多くなる。一方、回転中心までの距離が短い部分で紙Sを搬送する場合、搬送ローラ23の回転量に対する搬送量が少なくなる。
第2に、搬送ローラ23の回転軸の偏心が考えられる。この場合も、搬送ローラ23の周面の場所に応じて、回転中心までの長さが異なっている。このため、たとえ搬送ローラ23の回転量が同じであっても、搬送ローラ23の周面の場所に応じて、搬送量が異なることになる。
第3に、搬送ローラ23の回転軸と、ロータリー式エンコーダ52のスケール521の中心との不一致が考えられる。この場合、スケール521が偏心して回転することになる。この結果、検出部522が検出するスケール521の場所に応じて、検出されたパルス信号に対する搬送ローラ23の回転量が異なることになる。例えば、検出されるスケール521の場所が搬送ローラ23の回転軸から離れている場合、検出されたパルス信号に対する搬送ローラ23の回転量が少なくなるため、搬送量が少なくなる。一方、検出されるスケール521の場所が搬送ローラ23の回転軸から近い場合、検出されたパルス信号に対する搬送ローラ23の回転量が多くなるため、搬送量が多くなる。
There are three possible causes for the AC component transport error, for example.
First, the influence of the shape of the
Second, the eccentricity of the rotation shaft of the
Thirdly, a mismatch between the rotation axis of the
上記の原因のため、AC成分の搬送誤差は、図5に示す通り、ほぼサインカーブになる。 Due to the above cause, the AC component transport error is substantially a sine curve as shown in FIG.
<補正すべき搬送誤差>
図6は、101.6mm×152.4mm(4インチ×6インチ)の大きさの紙Sを搬送する際に生じる搬送誤差のグラフ(概念図)である。グラフの横軸は、紙Sの総搬送量を示している。グラフの縦軸は、搬送誤差を示している。図中の点線は、DC成分の搬送誤差のグラフである。図中の実線の値(トータルの搬送誤差)から図中の点線の値(DC成分の搬送誤差)を引けば、AC成分の搬送誤差が求められる。AC成分の搬送誤差は、紙Sの総搬送量に関わらず、ほぼサインカーブになる。一方、点線で示されるDC成分の搬送誤差は、紙Sの摩擦等の影響によって、紙Sの総搬送量に応じて異なる値になる。
<Conveyance error to be corrected>
FIG. 6 is a graph (conceptual diagram) of a transport error that occurs when a paper S having a size of 101.6 mm × 152.4 mm (4 inches × 6 inches) is transported. The horizontal axis of the graph indicates the total transport amount of the paper S. The vertical axis of the graph indicates the transport error. The dotted line in the figure is a graph of the DC component transport error. The AC component transport error can be obtained by subtracting the dotted line value (DC component transport error) in the drawing from the solid line value (total transport error) in the diagram. The AC component transport error is substantially a sine curve regardless of the total transport amount of the paper S. On the other hand, the DC component transport error indicated by the dotted line varies depending on the total transport amount of the paper S due to the influence of the friction of the paper S and the like.
既に説明したように、AC成分の搬送誤差は、搬送ローラ23の周面の場所に応じて異なる。このため、たとえ同じ紙Sを搬送する場合であっても、搬送開始時の搬送ローラ23の回転位置が異なれば、AC成分の搬送誤差が異なるため、トータルの搬送誤差(グラフの実線で示す搬送誤差)は異なることになる。これに対し、DC成分の搬送誤差はAC成分の搬送誤差とは異なり搬送ローラ23の周面の場所とは無関係なので、たとえ搬送開始時の搬送ローラ23の回転位置が異なっていても、搬送ローラ23が1回転したときに生じる搬送誤差(DC成分の搬送誤差)は同じになる。
As already described, the AC component transport error varies depending on the location of the peripheral surface of the
また、AC成分の搬送誤差を補正しようとする場合、コントローラ60は、搬送ローラ23の回転位置を検出する必要がある。しかし、搬送ローラ23の回転位置を検出するためには、ロータリー式エンコーダ52に原点センサを更に用意する必要があり、コストアップとなる。
そこで、以下に示す搬送量の補正では、DC成分の搬送誤差を補正することにしている。
Further, when trying to correct the AC component transport error, the
Therefore, in the conveyance amount correction described below, the DC component conveyance error is corrected.
一方、DC成分の搬送誤差は、紙Sの総搬送量(言い換えると、紙Sと搬送ローラ23との相対位置関係)に応じて異なる値になる(図6の点線参照)。このため、より多くの補正値を搬送方向の位置に応じて用意できれば、きめ細かく搬送誤差を補正することができる。そこで、この例では、搬送ローラ23の1回転分に相当する1インチの範囲ごとではなく、1/4インチの範囲ごとに、DC成分の搬送誤差を補正するための補正値を用意している。
On the other hand, the DC component transport error varies depending on the total transport amount of the paper S (in other words, the relative positional relationship between the paper S and the transport roller 23) (see the dotted line in FIG. 6). For this reason, if more correction values can be prepared according to the position in the transport direction, the transport error can be finely corrected. Therefore, in this example, a correction value for correcting the DC component transport error is prepared for each 1/4 inch range, not for each 1 inch range corresponding to one rotation of the
===参考例に係る補正値設定処理の概略説明===
図7は、参考例に係る補正値設定処理(搬送量を補正するための補正値をプリンタ1に設定する処理)のフロー図である。図8A〜図8Cは、補正値設定処理の様子を示す説明図である。これらの処理は、プリンタ製造工場の検査工程において行われる。この処理に先立って、検査者は、組み立て完了後のプリンタ1を工場内のコンピュータ110に接続する。工場内のコンピュータ110には、スキャナ150も接続されており、プリンタドライバ、スキャナドライバ及び補正値設定プログラムが予めインストールされている。そして、補正値設定プログラムが、プリンタドライバ及びスキャナドライバと協同して図7の補正値設定処理を実行する。
=== Outline Explanation of Correction Value Setting Processing According to Reference Example ===
FIG. 7 is a flowchart of correction value setting processing (processing for setting a correction value for correcting the carry amount in the printer 1) according to the reference example. 8A to 8C are explanatory diagrams showing the state of the correction value setting process. These processes are performed in the inspection process of the printer manufacturing factory. Prior to this process, the inspector connects the assembled
まず、補正値設定プログラムの指示に従って、プリンタドライバが印刷データをプリンタ1に送信し、プリンタ1がテストシートTS(媒体に相当)に測定用パターンを印刷する(S101、図8A)。次に、検査者はテストシートTSをスキャナ150にセットする。そうしたら、補正値設定プログラムの指示に従って、スキャナドライバがスキャナ150に測定用パターンを読み取らせ、テストシートTSの画像データを取得する(S102、図8B)。なお、スキャナ150にはテストシートTSとともに、所定間隔で目盛りが付けられた基準スケールSSもセットされており、この目盛りのパターン(以下目盛りパターンとも言う)も一緒に読み取られる。
First, in accordance with an instruction of the correction value setting program, the printer driver transmits print data to the
そして、補正値設定プログラムは、取得した画像データを解析し、補正値を算出する(S103)。これら算出した補正値のデータを、補正値設定プログラムはプリンタ1に送信し、プリンタ1のメモリ63に補正値を記憶させる(S104、図8C)。プリンタ1に記憶される補正値は、個々のプリンタ1の搬送特性を反映したものになる。
Then, the correction value setting program analyzes the acquired image data and calculates a correction value (S103). The correction value setting program transmits the calculated correction value data to the
なお、補正値を記憶したプリンタ1は、梱包されてユーザの下に届けられる。ユーザがプリンタ1で画像を印刷する際に、プリンタ1は、補正値に基づいて紙Sを搬送し、紙Sに画像を印刷する。
The
===測定用パターンの印刷(S101)===
まず、測定用パターンの印刷について説明する。通常の印刷と同様に、プリンタ1は、移動中のノズルからインクを吐出してドットを形成するドット形成処理と、紙Sを搬送方向に搬送する搬送動作とを交互に繰り返し、測定用パターンを紙Sに印刷する。なお、以下の説明では、ドット形成処理のことを「パス」と呼び、n回目のドット形成処理のことを「パスn」と呼ぶ。
=== Printing Pattern for Measurement (S101) ===
First, the measurement pattern printing will be described. Similar to normal printing, the
図9は、測定用パターンの印刷の様子の説明図である。測定用パターンの印刷されるテストシートTSの大きさは、101.6mm×152.4mm(4インチ×6インチ)である。 FIG. 9 is an explanatory diagram of how the measurement pattern is printed. The size of the test sheet TS on which the measurement pattern is printed is 101.6 mm × 152.4 mm (4 inches × 6 inches).
図中の右側には、テストシートTSに印刷される測定用パターンが示されている。図中の左側の長方形は、各パスにおけるヘッド41の位置(テストシートTSに対する相対位置)が示されている。説明の都合上、ヘッド41がテストシートTSに対して移動しているように描かれているが、同図はヘッド41とテストシートTSとの相対的な位置関係を示すものであって、実際にはテストシートTSが搬送方向に間欠的に搬送されている。
On the right side of the figure, a measurement pattern printed on the test sheet TS is shown. The left rectangle in the drawing indicates the position of the
テストシートTSが搬送され続けると、テストシートTSの下端が搬送ローラ23を通過する。テストシートTSの下端が搬送ローラ23を通過する時に最上流ノズル♯90と対向するテストシートTSの位置が、「NIPライン」として図中に点線で示されている。つまり、図中においてヘッド41がNIPラインよりも上にあるパスでは、搬送ローラ23と従動ローラ26との間でテストシートTSが挟まれた状態(「NIP状態」とも言う)で、印刷が行われる。また、図中において、ヘッド41がNIPラインよりも下にあるパスでは、搬送ローラ23と従動ローラ26との間にテストシートTSがない状態(排紙ローラ25と従動ローラ27だけでテストシートTSを搬送する状態であり「非NIP状態」とも言う)で、印刷が行われる。
When the test sheet TS continues to be conveyed, the lower end of the test sheet TS passes through the
測定用パターンは、複数のラインから構成される。各ラインは、いずれも移動方向に沿って形成されている。NIPラインよりも上端側には、多数のラインが形成される。NIPラインよりも上端側のラインについて、上端側から順にi番目のラインのことを「Li」と呼ぶ。また、NIPラインよりも下端側には、2つのラインが形成される。NIPラインよりも下端側の2つのラインのうち、上端側のラインをLb1と呼び、下端側のライン(一番下のライン)をLb2と呼ぶ。特定のラインは、他のラインよりも長く形成されている。例えば、ラインL1及びラインLb2は、他のラインと比べて、長く形成されている。これらのラインは、以下のようにして形成される。 The measurement pattern is composed of a plurality of lines. Each line is formed along the moving direction. Many lines are formed on the upper end side of the NIP line. Regarding the line on the upper end side from the NIP line, the i-th line in order from the upper end side is referred to as “Li”. Two lines are formed on the lower end side of the NIP line. Of the two lines on the lower end side of the NIP line, the upper end side line is called Lb1, and the lower end side line (lowermost line) is called Lb2. A specific line is formed longer than the other lines. For example, the line L1 and the line Lb2 are formed longer than the other lines. These lines are formed as follows.
まず、テストシートTSが所定の印刷開始位置まで搬送された後、パス1において、ノズル♯90のみからインク滴が吐出され、ラインL1が形成される。パス1の後、コントローラ60は、搬送ローラ23を1/4回転させて、テストシートTSを約1/4インチだけ搬送する。搬送後、パス2において、ノズル♯90のみからインク滴が吐出され、ラインL2が形成される。以下、同様の動作が繰り返し行われ、約1/4インチ間隔でラインL1〜ラインL20が形成される。このように、NIPラインよりも上端側にあるラインL1〜ラインL20は、ノズル♯1〜ノズル♯90のうちの最上流ノズル♯90により形成される。これにより、NIP状態で、できる限り多くのラインをテストシートTSに形成することができる。
First, after the test sheet TS is conveyed to a predetermined printing start position, ink droplets are ejected from only the
テストシートTSの下端が搬送ローラ23を通過した後、パスnにおいて、ノズル♯90のみからインク滴が吐出され、ラインLb1が形成される。パスnの後、コントローラ60は、搬送ローラ23を1回転させて、テストシートTSを約1インチだけ搬送する。搬送後、パスn+1において、ノズル♯3のみからインク滴が吐出され、ラインLb2が形成される。仮にノズル♯1が用いられると、ラインLb1とラインLb2との間隔が非常に狭くなり(約1/90インチ)、後でラインLb1とラインLb2との間隔を測定する際に、測定しにくくなる。このため、この例では、ノズル♯1よりも搬送方向上流側にあるノズル♯3を用いてラインLb2を形成することにより、ラインLb1とラインLb2との間隔を広げて、測定し易くしている。
After the lower end of the test sheet TS passes through the
ところで、テストシートTSの搬送が理想的に行われた場合、ラインL1〜ラインL20におけるライン同士の間隔は、ちょうど1/4インチになるはずである。しかし、搬送誤差があると、ライン間隔は1/4インチにならない。仮に理想的な搬送量よりも多くテストシートTSが搬送されると、ライン間隔は広がる。逆に、理想的な搬送量よりも少なくテストシートTSが搬送されると、ライン間隔が狭まる。つまり、ある2つのラインの間隔は、一方のラインが形成されるパスと他方のラインが形成されるパスとの間に行われる搬送処理での搬送誤差を反映している。このため、2つのラインの間隔を測定すれば、一方のラインが形成されるパスと他方のラインが形成されるパスとの間に行われる搬送処理での搬送誤差を測定することが可能になる。 By the way, when the test sheet TS is conveyed ideally, the interval between the lines L1 to L20 should be exactly 1/4 inch. However, if there is a conveyance error, the line interval does not become 1/4 inch. If the test sheet TS is transported more than the ideal transport amount, the line interval increases. Conversely, when the test sheet TS is transported less than the ideal transport amount, the line interval is narrowed. That is, the interval between two lines reflects a transport error in a transport process performed between a path in which one line is formed and a path in which the other line is formed. For this reason, if the distance between two lines is measured, it is possible to measure a transport error in a transport process performed between a path in which one line is formed and a path in which the other line is formed. .
同様に、ラインLb1とラインLb2との間隔は、テストシートTSの搬送が理想的に行われた場合(正確には、更にノズル♯90とノズル♯3のインクの吐出が同じである場合)、ちょうど3/90インチになるはずである。しかし、搬送誤差があると、ライン間隔は3/90インチにならない。このため、ラインLb1とラインLb2の間隔は、非NIP状態における搬送処理での搬送誤差を反映していると考えられる。このため、ラインLb1とラインLb2との間隔を測定すれば、非NIP状態における搬送処理での搬送誤差を測定することが可能になる。
Similarly, the distance between the line Lb1 and the line Lb2 is such that when the test sheet TS is transported ideally (more precisely, when the ink ejection of the
===測定用パターンと目盛りパターンの読み取り(S102)===
<スキャナ150の構成>
まず、測定用パターンの読み取りに用いられるスキャナ150の構成について説明する。図10Aは、スキャナ150の縦断面図である。図10Bは、図10A中のB−B線矢視図である。
=== Reading Measurement Pattern and Scale Pattern (S102) ===
<Configuration of
First, the configuration of the
スキャナ150は、上蓋151と、原稿5が置かれる原稿台ガラス152と、この原稿台ガラス152を介して原稿5と対面しつつ副走査方向(第1方向に相当)に移動する読取キャリッジ153と、読取キャリッジ153を副走査方向に案内するガイド部材154と、読取キャリッジ153を副走査方向に移動させるための移動機構155と、スキャナ150内の各部を制御するスキャナコントローラ(不図示)とを備えている。
The
読取キャリッジ153には、原稿5に光を照射する露光ランプ157と、前記副走査方向に直交する主走査方向(第2方向に相当)のラインの像を検出するラインセンサ158(画像読み取りセンサに相当)と、原稿5からの反射光をラインセンサ158へ導くためのロッドレンズ等の光学機器159とが設けられている。なお、図10A中の読取キャリッジ153の内部の破線は、光の軌跡を示している。
The reading
ガイド部材154は、図10Bに示すように、前記読取キャリッジ153を、その主走査方向の両端部153a,153bにて支持する一対のレール154,154を有する。そして、読み取りキャリッジ153は、これら両端部153a,153bを支持された状態で、移動機構155から副走査方向に駆動力を付与されて同方向に移動する。
As shown in FIG. 10B, the
移動機構155は、キャリッジモータ155dと、一対のプーリ155a,155bと、これら一対のプーリ155a,155bに掛け回されたタイミングベルト155cとを有する。キャリッジモータ155dは、DCモータなどにより構成され、読取キャリッジ153を副走査方向に沿って相対的に移動させるための駆動源として機能する。また、タイミングベルト155cは、プーリ155aを介してキャリッジモータ155dに接続されるとともに、その一部が、連結部材156にて読取キャリッジ153に接続され、もって、キャリッジモータ155dの回転駆動により読取キャリッジ153を副走査方向に沿って相対的に移動させる。なお、前記連結部材156は、読取キャリッジ153における主走査方向の一端部153aにのみ設けられており、もって、この一端部153aを作用点として読取キャリッジ153にはキャリッジモータ155dの駆動力が作用し、これによって読取キャリッジ153は副走査方向に移動される。すなわち、当該一端部153aのみが駆動力の作用点であり、主走査方向に関するもう一方の端部たる他端部153bは作用点にはなっていない。
The moving
このような構成のスキャナ150により原稿5の画像を読み取るときには、先ず、操作者は、上蓋151を開いて原稿5を原稿台ガラス152の上面152a(載置面に相当)に置き、上蓋151を閉じる。そして、スキャナコントローラが、露光ランプ157を発光させた状態で読取キャリッジ153を副走査方向に沿って移動させ、ラインセンサ158により原稿5の表面の画像を読み取る。スキャナコントローラは、読み取った画像データをコンピュータ110のスキャナドライバへ送信し、これにより、コンピュータ110は、原稿5の画像データを取得する。
When reading the image of the
<読み取り位置精度>
後述するように、この例では、スキャナ150は、テストシートTSの測定用パターンと基準スケールSSの目盛りパターンとを、720dpi(主走査方向)×720dpi(副走査方向)の解像度で読み取る。このため、以下の説明では、720×720dpiの解像度で画像を読み取ることを前提にして説明を行う。
<Reading position accuracy>
As will be described later, in this example, the
図11は、スキャナ150の読み取り位置の誤差のグラフである。グラフの横軸は、読み取り位置(理論値)を示している(すなわち、グラフの横軸は、読取キャリッジ153の位置(理論値)を示している)。グラフの縦軸は、読み取り位置の誤差(読み取り位置の理論値と実際の読み取り位置との差)を示している。例えば、読取キャリッジ153を1インチ(=25.4mm)移動させると、約60μmの誤差が生じることになる。
FIG. 11 is a graph of the error in the reading position of the
仮に、読み取り位置の理論値と実際の読み取り位置が一致していれば、零点位置(読み取り位置がゼロの位置)を示す画素から副走査方向に720画素離れた画素は、零点位置からちょうど1インチ離れた位置の画像を示すはずである。しかし、グラフに示すような読み取り位置の誤差が生じた場合、零点位置を示す画素から副走査方向に720画素離れた画素は、零点位置から1インチ離れた位置よりも60μmだけ更に離れた位置の画像を示すことになる。 If the theoretical value of the reading position matches the actual reading position, a pixel that is 720 pixels away from the pixel indicating the zero point position (position where the reading position is zero) in the sub-scanning direction is exactly 1 inch from the zero point position. It should show an image at a distant location. However, when an error in the reading position as shown in the graph occurs, a pixel that is 720 pixels away from the pixel that indicates the zero point position in the sub-scanning direction is a position that is further 60 μm away from a position that is one inch away from the zero point position. An image will be shown.
また、仮に、グラフの傾きがゼロであれば、1/720インチ毎に等間隔に、画像が読み取られるはずである。しかし、グラフの傾きがプラスの位置では、1/720インチよりも長い間隔で画像が読み取られることになる。また、グラフの傾きがマイナスの位置では、1/720インチよりも短い間隔で画像が読み取られることになる。 If the slope of the graph is zero, images should be read at equal intervals every 1/720 inch. However, when the slope of the graph is positive, images are read at intervals longer than 1/720 inch. Further, when the slope of the graph is negative, images are read at intervals shorter than 1/720 inch.
この結果、仮に測定用パターンのラインが等間隔に形成されたとしても、読み取り位置の誤差がある状態では、画像データ上のラインの画像が等間隔にならない。このように、読み取り位置の誤差がある状態では、測定用パターンを単に読み取っただけでは、ラインの位置を正確に計測することができない。 As a result, even if the measurement pattern lines are formed at equal intervals, the line images on the image data do not have equal intervals in a state where there is an error in the reading position. As described above, in a state where there is an error in the reading position, the line position cannot be accurately measured simply by reading the measurement pattern.
そこで、この例では、テストシートTSをセットして測定用パターンをスキャナ150に読み取らせる際に、基準スケールSSをセットして基準スケールSSの目盛りパターンも読み取らせている。
Therefore, in this example, when the test sheet TS is set and the measurement pattern is read by the
<測定用パターンと目盛りパターンの読み取り>
図12Aは、基準スケールSSの説明図である。図12Bは、原稿台ガラス152にテストシートTSと基準スケールSSをセットした様子の説明図である。
<Reading measurement pattern and scale pattern>
FIG. 12A is an explanatory diagram of the reference scale SS. FIG. 12B is an explanatory diagram showing a state in which the test sheet TS and the reference scale SS are set on the
基準スケールSSの大きさは10mm×300mmであり、長細い形をしている。そして、基準スケールSSの長手方向(所定方向に相当)について、36dpi間隔にて多数の目盛りが付けられており、これら目盛りは目盛りパターンを構成している。各目盛りは、前記長手方向と直交する方向に沿って直線状に形成されている。基準スケールSSは繰り返し使用されるため、紙ではなく、PETフィルム等の樹脂素材から構成される。また、基準スケールSSの目盛りは、レーザー加工により高精度に形成されている。すなわち、各目盛りは、隣り合う目盛りとの間隔が所定の理論値(36dpi)を目標値として、この目標値に極力揃うように高精度に(例えば、1/36インチ±0.000027ミリの寸法公差で)形成されている。 The size of the reference scale SS is 10 mm × 300 mm and has a long and thin shape. In the longitudinal direction (corresponding to a predetermined direction) of the reference scale SS, a large number of scales are provided at intervals of 36 dpi, and these scales constitute a scale pattern. Each scale is formed linearly along a direction perpendicular to the longitudinal direction. Since the reference scale SS is repeatedly used, it is not a paper but a resin material such as a PET film. Further, the scale of the reference scale SS is formed with high accuracy by laser processing. That is, each scale has a predetermined theoretical value (36 dpi) between the adjacent scales as a target value, and has a high precision (for example, a dimension of 1/36 inch ± 0.000027 mm) so that the target value is as much as possible. Formed with tolerance).
不図示の治具を用いることによって、テストシートTS及び基準スケールSSは、原稿台ガラス152上の所定の位置にセットされる。例えば、図12Bに示すように、副走査方向の載置用ベンチマークBMを、原稿台ガラス152の上面152aにおける副走査方向上流側の端縁Ebとし、この端縁Ebに、テストシートTSの長手方向の端縁Et及び基準スケールSSの長手方向の端縁Esが一致するようにセットされる。
By using a jig (not shown), the test sheet TS and the reference scale SS are set at predetermined positions on the
その結果、基準スケールSSは、目盛りをふられた方向たる長手方向がスキャナ150の副走査方向に平行になるように、すなわち基準スケールSSの各目盛りの線がスキャナ150の主走査方向に平行になるようにセットされる。また、この基準スケールSSの主走査方向の横に並んでセットされたテストシートTSも、その長手方向がスキャナ150の副走査方向に平行になるように、すなわち測定用パターンの各ラインが主走査方向に平行になるようにセットされる。
As a result, the reference scale SS is such that the longitudinal direction as the scaled direction is parallel to the sub-scanning direction of the
このようにテストシートTSと基準スケールSSをセットした状態で、スキャナ150は、測定用パターンと目盛りパターンを読み取る。このとき、読み取り位置の誤差の影響のため、読取結果における測定用パターンの画像は実際の測定用パターンと比べて歪んだ画像になる。同様に、目盛りパターンの画像も実際の目盛りパターンと比べて歪んだ画像になる。
With the test sheet TS and the reference scale SS set in this way, the
なお、読取結果における測定用パターンの画像は、読み取り位置の誤差の影響だけではなく、プリンタ1の搬送誤差の影響も受けている。一方、目盛りパターンはプリンタ1の搬送誤差とは何も関わりなく概ね等間隔にて形成されているので、目盛りパターンの画像は、スキャナ150の読み取り位置の誤差の影響を受けているが、プリンタ1の搬送誤差の影響は受けていない。
Note that the measurement pattern image in the reading result is affected not only by the error of the reading position but also by the conveyance error of the
そこで、補正値設定プログラムは、測定用パターンの画像に基づいて補正値を算出する際に、基準スケールSSの目盛りパターンの画像に基づいて、測定用パターンの画像における読み取り位置の誤差の影響を相殺(キャンセル)させる。 Therefore, when calculating the correction value based on the measurement pattern image, the correction value setting program cancels the influence of the reading position error in the measurement pattern image based on the scale pattern image of the reference scale SS. (Cancel).
===補正値算出(S103)===
補正値算出の説明の前に、スキャナ150から取得した画像データについて説明する。画像データは、複数の画素データから構成されている。各画素データは、対応する画素の階調値を示している。スキャナ150の読み取り誤差を無視すれば、各画素は1/720インチ×1/720インチの大きさに相当する。このような画素を最小構成単位として画像(ディジタル画像)が構成されており、画像データは、このような画像を示すデータになっている。
=== Calculation of Correction Value (S103) ===
Prior to the description of correction value calculation, image data acquired from the
図13は、このステップS103に係る補正値算出処理のフロー図である。コンピュータ110は、補正値設定プログラムに従って、各処理を実行する。つまり、補正値設定プログラムは、各処理をコンピュータ110に実行させるためのコードを有する。
FIG. 13 is a flowchart of the correction value calculation process according to step S103. The
<画像の分割(S131)>
まず、コンピュータ110は、スキャナ150から取得した画像データの示す画像を2つに分割する(S131)。
図14は、画像の分割(S131)の説明図である。図中の左側には、スキャナ150から取得した画像データの示す画像が描かれている。図中の右側には、分割された画像が描かれている。以下の説明において、図中の左右方向(水平方向)をx方向と呼び、図中の上下方向(垂直方向)をy方向と呼ぶ。基準スケールSSの目盛りパターンの画像における各目盛りはx方向にほぼ平行であり、測定用パターンの画像における各ラインもx方向にほぼ平行である。
<Image Division (S131)>
First, the
FIG. 14 is an explanatory diagram of image division (S131). On the left side of the figure, an image indicated by the image data acquired from the
コンピュータ110は、読取結果の画像から所定の範囲の画像を取り出すことによって、画像を2つに分割する。読取結果の画像が2つに分割されることにより、一方の画像が目盛りパターンの画像を示し、他方の画像が測定用パターンの画像を示すことになる。このように分割する理由は、基準スケールSSとテストシートTSがそれぞれ別々に傾いてスキャナ150にセットされるおそれがあるので、それぞれ別々に傾き補正(S133)をするためである。
The
<各画像の傾きの検出(S132)>
次に、コンピュータ110は、画像の傾きを検出する(S132)。
図15Aは、測定用パターンの画像の傾きを検出する様子の説明図である。コンピュータ110は、画像データの中から、左からKX2番目の画素であって、上からKY1番目からJY個の画素を取り出す。同様に、コンピュータ110は、画像データの中から、左からKX3番目の画素であって、上からKY1番目からJY個の画素を取り出す。なお、取り出される画素の中にラインL1を示す画素が含まれるように、パラメータKX2、KX3、KY1及びJYが設定されている。
図15Bは、取り出された画素の階調値のグラフである。横軸は、画素の位置(Y座標)を示している。縦軸は、画素の階調値を示している。コンピュータ110は、取り出されたJY個の画素の画素データに基づいて、重心位置KY2、KY3をそれぞれ求める。
<Detection of Inclination of Each Image (S132)>
Next, the
FIG. 15A is an explanatory diagram illustrating a state where the inclination of the image of the measurement pattern is detected. The
FIG. 15B is a graph of the gradation values of the extracted pixels. The horizontal axis indicates the position of the pixel (Y coordinate). The vertical axis indicates the gradation value of the pixel. The
そして、コンピュータ110は、次式1によりラインL1の傾きθを算出する。
θ=tan−1{(KY2−KY3)/(KX2−KX3)} ……式1
Then, the
θ = tan −1 {(KY2−KY3) / (KX2−KX3)}
なお、コンピュータ110は、測定用パターンの画像の傾きだけでなく、基準スケールSSの目盛りパターンの画像の傾きも検出する。目盛りパターンの画像の傾きの検出方法は、上記の方法とほぼ同様であるので、説明を省略する。
Note that the
<各画像の傾きの補正(S133)>
次に、コンピュータ110は、S132において検出した傾きθに基づいて、画像を回転処理し、画像の傾きを補正する(S133)。測定用パターンの画像は、測定用パターンの画像の傾き結果に基づいて回転補正され、基準スケールSSの目盛りパターンの画像は、目盛りパターンの画像の傾き結果に基づいて回転補正される。
画像の回転処理のアルゴリズムには、バイリニア法が用いられる。このアルゴリズムは良く知られているので、説明は省略する。
<Correction of inclination of each image (S133)>
Next, the
A bilinear method is used as an algorithm for image rotation processing. Since this algorithm is well known, its description is omitted.
<印刷時の傾きの検出(S134)>
次に、コンピュータ110は、測定用パターンの印刷時の傾き(スキュー)を検出する(S134)。測定用パターンを印刷するときにテストシートTSの下端が搬送ローラ23を通過すると、テストシートTSの下端がヘッド41に接触し、テストシートTSが動くことがある。このようなことが起こると、その測定用パターンにより算出された補正値が不適切なものになる。そこで、測定用パターンの印刷時の傾きを検出することにより、テストシートTSの下端がヘッド41に接触したか否かを検出し、接触した場合にはエラーとする。
図16は、測定用パターンの印刷時の傾きの検出の様子の説明図である。まず、コンピュータ110は、ラインL1(一番上のライン)とラインLb2(一番下のライン、下端が搬送ローラ23を通過した後に形成されるライン)における左側の間隔YLと、右側の間隔YRとを検出する。そして、コンピュータ110は、間隔YLと間隔YRの差を算出し、この差が所定範囲内であれば次の処理(S135)へ進み、この差が所定範囲外であればエラーとする。
<Detection of tilt during printing (S134)>
Next, the
FIG. 16 is an explanatory diagram of how the inclination is detected when the measurement pattern is printed. First, the
<余白量の算出(S135)>
次に、コンピュータ110は、余白量を算出する(S135)。
図17は、余白量Xの説明図である。図中の実線の四角形(外側の四角形)は、S133の回転補正後の画像を示している。図中の点線の四角形(内側の斜めの四角形)は、回転補正前の画像を示している。回転補正後の画像を長方形状にするため、S133の回転補正処理が行われる際に、回転後の画像の四隅に直角三角形状の余白が付加される。
<Calculation of margin amount (S135)>
Next, the
FIG. 17 is an explanatory diagram of the margin amount X. A solid square (outer square) in the figure indicates an image after the rotation correction in S133. A dotted-line rectangle (inner oblique rectangle) in the figure indicates an image before rotation correction. In order to make the image after rotation correction into a rectangular shape, right-angled triangular margins are added to the four corners of the rotated image when the rotation correction processing of S133 is performed.
仮に基準スケールSSの傾きとテストシートTSの傾きとが異なると、付加される余白量が異なることになり、回転補正(S133)の前後において、基準スケールSSの目盛りパターンに対する測定用パターンのラインの位置が相対的にずれることになる。そこで、コンピュータ110は、次式2により余白量Xを求め、S136において検出されるライン位置から余白量Xを差し引くことによって、目盛りパターンに対する測定用パターンのラインの位置のずれを防止する。
X=(w cosθ−W´/2)×tanθ ……式2
If the inclination of the reference scale SS and the inclination of the test sheet TS are different, the amount of added margin will be different, and before and after the rotation correction (S133), the line of the measurement pattern line relative to the scale pattern of the reference scale SS The position will shift relatively. Therefore, the
X = (w cos θ−W ′ / 2) × tan θ (Formula 2)
<スキャナ座標系での目盛りの位置及びラインの位置の検出(S136)>
次に、コンピュータ110は、スキャナ座標系での目盛りパターンの目盛りの位置及び測定用パターンのラインの位置をそれぞれ検出する(S136)。
<Detection of Scale Position and Line Position in Scanner Coordinate System (S136)>
Next, the
スキャナ座標系とは、1画素の大きさを1/720×1/720インチとしたときの座標系である。スキャナ150には読み取り位置の誤差があり、読み取り位置の誤差を考慮すると、各画素データの対応する実際の領域は厳密には1/720インチ×1/720インチにはならないが、スキャナ座標系では、各画素データの対応する領域(画素)の大きさを1/720×1/720インチとする。また、各画像における左上の画素の位置を、スキャナ座標系の原点とする。
The scanner coordinate system is a coordinate system when the size of one pixel is 1/720 × 1/720 inch. The
図18Aは、ラインの位置を検出する際に用いられる画像の範囲の説明図である。図中の点線で示す範囲の画像の画像データが、ラインの位置を検出する際に用いられる。図18Bは、ラインの位置の検出の説明図である。横軸は、画素のy方向の位置(スキャナ座標系)を示している。縦軸は、画素の階調値(x方向に並ぶ画素の階調値の平均値)を示している。 FIG. 18A is an explanatory diagram of a range of an image used when detecting the position of a line. Image data of an image in a range indicated by a dotted line in the drawing is used when detecting the position of the line. FIG. 18B is an explanatory diagram of line position detection. The horizontal axis indicates the position of the pixel in the y direction (scanner coordinate system). The vertical axis indicates the gradation value of the pixel (the average value of the gradation values of the pixels arranged in the x direction).
コンピュータ110は、階調値のピーク値の位置を求め、この位置を中心とする所定の範囲を演算範囲とする。そして、この演算範囲の画素の画素データに基づいて、階調値の重心位置を検出し、この重心位置をラインの検出位置とする。
The
図19は、検出されたライン及び目盛りの検出位置の説明図である(なお、図中に示す検出位置は、所定の演算が施されて無次元化されている)。基準スケールSSの目盛りパターンは等間隔の目盛りから構成されているにもかかわらず、目盛りパターンの各目盛りの重心位置に注目すると、検出された各目盛りの検出位置は、等間隔にはなっていない。これは、スキャナ150の読み取り位置の誤差の影響と考えられる。
FIG. 19 is an explanatory diagram of the detected positions of the detected lines and scales (note that the detected positions shown in the figure have been made dimensionless by performing a predetermined calculation). Although the scale pattern of the reference scale SS is composed of equally spaced scales, when attention is paid to the position of the center of gravity of each scale of the scale pattern, the detected positions of the detected scales are not evenly spaced. . This is considered to be due to the influence of the reading position error of the
<測定用パターンの各ラインの絶対位置の算出(S137)>
次に、コンピュータ110は、測定用パターンのラインの絶対位置をそれぞれ算出する(S137)。
図20Aは、測定用パターンのi番目のラインの絶対位置の算出の説明図である。ここでは、測定用パターンのi番目のラインは、目盛りパターンのj−1番目の目盛りと、目盛りパターンのj番目の目盛りとの間に位置する。以下の説明では、測定用パターンのi番目のラインの検出位置(スキャナ座標系)を「S(i)」と呼び、目盛りパターンのj番目の目盛りの検出位置(スキャナ座標系)を「K(j)」と呼ぶ。また、目盛りパターンのj−1番目の目盛りとj番目の目盛りとの間隔(y方向の間隔)を「L」と呼び、目盛りパターンのj−1番目の目盛りと測定用パターンのi番目のラインとの間隔(y方向の間隔)を「L(i)」と呼ぶ。
<Calculation of absolute position of each line of measurement pattern (S137)>
Next, the
FIG. 20A is an explanatory diagram of calculation of the absolute position of the i-th line of the measurement pattern. Here, the i-th line of the measurement pattern is located between the j-1th scale of the scale pattern and the jth scale of the scale pattern. In the following description, the detection position (scanner coordinate system) of the i-th line of the measurement pattern is called “S (i)”, and the detection position (scanner coordinate system) of the j-th scale of the scale pattern is “K ( j) ". The interval between the j-1 scale and the jth scale (interval in the y direction) of the scale pattern is called “L”, and the j−1th scale of the scale pattern and the i th line of the measurement pattern. (Interval in the y direction) is referred to as “L (i)”.
まず、コンピュータ110は、次式3に基づいて、間隔Lに対する間隔L(i)の比率Hを算出する。
H=L(i)/L
={S(i)−K(j−1)}/{K(j)−K(j−1)} ……式3
なお、この比率Hは、前記目盛りに対する前記i番目のラインの相対位置を示していることになる。
First, the
H = L (i) / L
= {S (i) -K (j-1)} / {K (j) -K (j-1)}
The ratio H indicates the relative position of the i-th line with respect to the scale.
ところで、基準スケールSSの目盛り同士の間隔が理論値どおりに形成されていれば、各目盛りは等間隔に形成されているはずである。よって、目盛りパターンの1番目の目盛りの位置を基準位置としてゼロとすれば、目盛りパターンの任意の目盛りの絶対位置を算出できる。例えば、目盛りパターンの2番目の目盛りの絶対位置は1/36インチである。そこで、目盛りパターンのj番目の目盛りの絶対位置を「J(j)」とし、測定用パターンのi番目のラインの絶対位置を「R(i)」とすると、次式4のようにしてR(i)を算出できる。
R(i)={J(j)−J(j−1)}×H+J(j−1) ……式4
By the way, if the intervals between the scales of the reference scale SS are formed according to the theoretical values, the respective scales should be formed at equal intervals. Therefore, if the position of the first scale of the scale pattern is set to zero as the reference position, the absolute position of any scale of the scale pattern can be calculated. For example, the absolute position of the second scale of the scale pattern is 1/36 inch. Therefore, if the absolute position of the j-th scale of the scale pattern is “J (j)” and the absolute position of the i-th line of the measurement pattern is “R (i)”, R (I) can be calculated.
R (i) = {J (j) −J (j−1)} × H + J (j−1)
ここで、図19における測定用パターンの1番目のラインの絶対位置の算出の具体的な手順について説明する。まず、コンピュータ110は、S(1)の値(373.768667)と、J(2)の値(309.613250)及びJ(3)の値(469.430413)との大小関係に基づいて、測定用パターンの1番目のラインが、目盛りパターンの2番目の目盛りと3番目の目盛りの間に位置していることを検出する。次に、コンピュータ110は、比率Hが0.40143008(=(373.7686667-309.613250)/(469.430413-309.613250))であることを算出する。次に、コンピュータ110は、測定用パターンの1番目のラインの絶対位置R(1)が0.98878678ミリ(=0.038928613インチ={1/36インチ}×0.40143008+1/36インチ)であることを算出する。
このようにして、コンピュータ110は、測定用パターンの各ラインの絶対位置を算出する。
Here, a specific procedure for calculating the absolute position of the first line of the measurement pattern in FIG. 19 will be described. First, the
In this way, the
ちなみに、上述では、目盛りパターンの1番目の目盛りを基準位置として、その絶対位置をゼロとしたが、例えば、図20Bに示すように、テストシートTSにおける搬送方向の下流側の端縁Eを基準位置として、すなわち、その絶対位置をゼロとして前記端縁Eからの絶対位置R(i)eを求めるようにしても良い。なお、このR(i)eは、上述の式4で求められた絶対位置R(i)を、下式5によって換算して求められる。
R(i)e=R(i)+(Rc−R(1)) ……式5
Incidentally, in the above description, the first scale of the scale pattern is set as the reference position, and the absolute position is set to zero. For example, as shown in FIG. 20B, the edge E on the downstream side in the transport direction in the test sheet TS is set as the reference. The absolute position R (i) e from the edge E may be obtained as the position, that is, the absolute position is zero. The R (i) e is obtained by converting the absolute position R (i) obtained by the
R (i) e = R (i) + (Rc-R (1)) (5)
ここで、Rcは、図20Bに示すように、テストシートTSの測定用パターンの1番目のラインL1とテストシートTSの前記端縁Eとの間の間隔の理論値である。また、R(1)は、上式4により求められた前記ラインL1の絶対位置である。
Here, Rc is a theoretical value of the distance between the first line L1 of the measurement pattern of the test sheet TS and the edge E of the test sheet TS, as shown in FIG. 20B. R (1) is the absolute position of the line L1 obtained by the
<補正値の算出(S138)>
次に、コンピュータ110は、測定用パターンを形成する際に行われた複数回の搬送動作に対応する補正値をそれぞれ算出する(S138)。各補正値は、理論上のライン間隔と実際のライン間隔との差に基づいて、算出される。
<Calculation of Correction Value (S138)>
Next, the
パスiとパスi+1との間で行われた搬送動作の補正値C(i)は、「6.35mm」(1/4インチ、すなわちラインLiとラインLi+1との理論上の間隔)から「R(i+1)−R(i)」(ラインLi+1の絶対位置とラインLiの実際の間隔)を引いた値になる。例えば、パス1とパス2との間で行われた搬送動作の補正値C(1)は、6.35mm−{R(2)−R(1)}となる。コンピュータ110は、このようにして補正値C(1)〜補正値C(19)を算出する。
但し、NIPラインよりも下(搬送方向上流側)にあるラインLb1及びLb2を用いて補正値を算出する場合、ラインLb1とラインLb2の理論上の間隔は「0.847mm」(=3/90インチ)として計算する。コンピュータ110は、このようにして、非NIP状態での補正値Cbを算出する。
The correction value C (i) of the transport operation performed between the pass i and the pass i + 1 is from “6.35 mm” (1/4 inch, that is, the theoretical distance between the line Li and the line Li + 1) to “R. It is a value obtained by subtracting (i + 1) −R (i) ”(the absolute position of the line Li + 1 and the actual distance between the lines Li). For example, the correction value C (1) of the transport operation performed between
However, when the correction value is calculated using the lines Lb1 and Lb2 below the NIP line (upstream in the transport direction), the theoretical distance between the line Lb1 and the line Lb2 is “0.847 mm” (= 3/90 Calculate as inches. In this way, the
図21は、補正値C(i)の対応する範囲の説明図である。もし仮に、測定用パターンを印刷するときのパス1とパス2との間の搬送動作の際に、当初の目標搬送量から補正値C(1)を引いた値を目標にすれば、実際の搬送量がちょうど1/4インチ(=6.35mm)になったはずである。同様に、もし仮に、測定用パターンを印刷するときのパスnとパスn+1との間の搬送動作の際に、当初の目標搬送量から補正値Cbを引いた値を目標にすれば、実際の搬送量がちょうど1インチになったはずである。
FIG. 21 is an explanatory diagram of a corresponding range of the correction value C (i). If the value obtained by subtracting the correction value C (1) from the initial target carry amount is set as the target in the carrying operation between
<補正値の平均化(S139)>
ところで、前述のロータリー式エンコーダ52は原点センサを備えていないので、コントローラ60は、搬送ローラ23の回転量は検出できるが、搬送ローラ23の回転位置までは検出していない。このため、搬送開始時の搬送ローラ23の回転位置をプリンタ1は保証することがでない。つまり、印刷する度に、搬送開始時の搬送ローラ23の回転位置が異なるおそれがある。一方、測定用パターンにおいて隣り合う2つのラインの間隔は、1/4インチにて搬送するときのDC成分の搬送誤差の影響だけではなく、AC成分の搬送誤差の影響も受けている。
<Averaging correction values (S139)>
Incidentally, since the
従って、目標搬送量を補正する際に、測定用パターンにおける隣接する2つのラインの間隔に基づいて算出された補正値Cをそのまま適用してしまうと、AC成分の搬送誤差の影響のため、搬送量が正しく補正されないおそれがある。例えば、測定用パターンの印刷時と同じようにパス1とパス2との間で1/4インチの搬送量の搬送動作を行う場合であっても、搬送開始時の搬送ローラ23の回転位置が測定用パターンの印刷時と異なるのであれば、目標搬送量を補正値C(1)で補正しても、搬送量は正しく補正されない。もし、搬送開始時の搬送ローラ23の回転位置が測定用パターンの印刷時と比べて180度異なっていると、AC成分の搬送誤差の影響のため、搬送量は正しく補正されないどころか、むしろ搬送誤差が悪化することもあり得る。
Therefore, when correcting the target transport amount, if the correction value C calculated based on the interval between two adjacent lines in the measurement pattern is applied as it is, the transport error is caused by the influence of the AC component transport error. The amount may not be corrected correctly. For example, even when a transport operation of a 1/4 inch transport amount is performed between
そこで、この例では、DC成分の搬送誤差だけを補正するようにするため、次式6のように4個の補正値Cを平均化することによって、DC成分の搬送誤差を補正するための補正量Caを算出している。
Ca(i)={C(i−1)+C(i)+C(i+1)+C(i+2)}/4
……式6
Therefore, in this example, in order to correct only the DC component transport error, the correction for correcting the DC component transport error is performed by averaging four correction values C as shown in the following equation (6). The amount Ca is calculated.
Ca (i) = {C (i-1) + C (i) + C (i + 1) + C (i + 2)} / 4
...... Formula 6
ここで、DC成分の搬送誤差を補正するための補正値Caを上式6によって算出できる理由を説明する。 Here, the reason why the correction value Ca for correcting the DC component transport error can be calculated by the above equation 6 will be described.
前述した通り、パスiとパスi+1との間で行われた搬送動作の補正値C(i)は、「6.35mm」(1/4インチ、すなわちラインLiとラインLi+1との理論上の間隔)から「R(i+1)−R(i)」(ラインLi+1の絶対位置とラインLiの実際の間隔)を引いた値になる。そうすると、補正値Caを算出するための上式6は、次式7のような意味になる。 As described above, the correction value C (i) of the transport operation performed between the pass i and the pass i + 1 is “6.35 mm” (1/4 inch, that is, the theoretical distance between the line Li and the line Li + 1. ) Minus “R (i + 1) −R (i)” (the absolute position of the line Li + 1 and the actual distance between the lines Li). Then, the above equation 6 for calculating the correction value Ca has a meaning as the following equation 7.
Ca(i)=[25.4mm−{R(i+3)−R(i−1)}]/4 ……式7 Ca (i) = [25.4 mm− {R (i + 3) −R (i−1)}] / 4 Equation 7
つまり、補正値Ca(i)は、理論上1インチ離れるべき2つのライン(ラインLi+3とラインLi−1)の間隔と1インチ(搬送ローラ23の1回転分の搬送量)との差を4で割った値である。このため、補正値Ca(i)は、紙Sを1インチ(搬送ローラ23の1回転分の搬送量)にて搬送したときに生じる搬送誤差の1/4を補正する値になる。そして、紙Sを1インチにて搬送したときに生じる搬送誤差は、DC成分の搬送誤差であり、この搬送誤差の中にはAC成分の搬送誤差は含まれない。
ゆえに、4個の補正値Cを平均化して算出される補正値Ca(i)は、AC成分の搬送誤差の影響を受けず、DC成分の搬送誤差を反映した値になる。
That is, the correction value Ca (i) is a difference between the distance between two lines (line Li + 3 and line Li-1) that should theoretically be 1 inch apart and 1 inch (the conveyance amount for one rotation of the conveyance roller 23). The value divided by. For this reason, the correction value Ca (i) is a value for correcting ¼ of a transport error that occurs when the paper S is transported by 1 inch (a transport amount for one rotation of the transport roller 23). A transport error that occurs when the paper S is transported by 1 inch is a DC component transport error, and this transport error does not include an AC component transport error.
Therefore, the correction value Ca (i) calculated by averaging the four correction values C is not affected by the AC component transport error and is a value reflecting the DC component transport error.
なお、パス2とパス3との間で行われる搬送動作の補正値Ca(2)は、補正値C(1)〜C(4)の総和を4で割った値(補正値C(1)〜C(4)の平均値)として算出される。言い換えると、補正値Ca(2)は、パス1で形成されるラインL1と、ラインL1を形成してから1インチ搬送した後のパス5で形成されるラインL5との間隔に応じた値になる。
The correction value Ca (2) of the transport operation performed between
また、補正値Ca(i)を算出する際にi−1がゼロ以下になる場合、補正値C(i−1)はC(1)を適用する。例えば、パス1とパス2との間で行われる搬送動作の補正値Ca(1)は、{C(1)+C(1)+C(2)+C(3)}/4として算出される。また、補正値Ca(i)を算出する際にi+1が20以上になる場合、補正値Caを算出するためのC(i+1)はC(19)を適用する。同様に、i+2が20以上になる場合、C(i+2)はC(19)を適用する。例えば、パス19とパス20との間で行われる搬送動作の補正量Ca(19)は、{C(18)+C(19)+C(19)+C(19)}/4として算出される。
Further, when i-1 is equal to or less than zero when calculating the correction value Ca (i), C (1) is applied as the correction value C (i-1). For example, the correction value Ca (1) of the transport operation performed between
コンピュータ110は、このようにして補正値Ca(1)〜補正値Ca(19)を算出する。これにより、DC成分の搬送誤差を補正するための補正値が、1/4インチの範囲ごとに求められる。
In this way, the
===補正値の記憶(S104)===
次に、コンピュータ110は、補正値をプリンタ1のメモリ63に記憶する(S104)。
図22は、メモリ63に記憶されるテーブルの説明図である。メモリ63に記憶される補正値は、NIP状態における補正値Ca(1)〜Ca(19)と、非NIP状態における補正値Cbである。また、各補正値を適用する範囲を示すための境界位置情報も、各補正値に関連付けられてメモリ63に記憶される。
=== Storage of Correction Value (S104) ===
Next, the
FIG. 22 is an explanatory diagram of a table stored in the
補正値Ca(i)に関連付けられる境界位置情報は、測定用パターンのラインLi+1に相当する位置(理論上の位置)を示す情報であり、この境界位置情報は、補正値Ca(i)を適用する範囲の下端側の境界を示している。なお、上端側の境界は、補正値Ca(i−1)に関連付けられる境界位置情報から求めることができる。従って、例えば補正値C(2)の適用範囲は、紙Sに対してラインL1の位置とラインL2の位置の間(にノズル♯90が位置する)の範囲となる。なお、非NIP状態になる範囲は既知なので、補正値Cbには境界位置情報を関連付けなくても良い。
The boundary position information associated with the correction value Ca (i) is information indicating the position (theoretical position) corresponding to the line Li + 1 of the measurement pattern, and the correction value Ca (i) is applied to this boundary position information. The boundary of the lower end side of the range to be shown is shown. Note that the upper end side boundary can be obtained from the boundary position information associated with the correction value Ca (i−1). Therefore, for example, the application range of the correction value C (2) is a range between the position of the line L1 and the position of the line L2 (where the
プリンタ製造工場では、製造されるプリンタ毎に、各プリンタ1の個体の特徴を反映したテーブルがメモリ63に記憶される。そして、このテーブルを記憶したプリンタ1は、梱包されて出荷される。
In the printer manufacturing factory, a table reflecting individual characteristics of each
===ユーザの下での印刷時の搬送動作===
プリンタ1を購入したユーザの下で印刷が行われる際に、コントローラ60は、メモリ63からテーブルを読み出し、目標搬送量を補正値に基づいて補正し、補正された目標搬送量に基づいて搬送動作を行う。以下、ユーザの下での印刷時の搬送動作の様子について説明する。
=== Conveying operation during printing under the user ===
When printing is performed under the user who purchased the
図23Aは、第1のケースでの補正値の説明図である。第1のケースでは、搬送動作前のノズル♯90の位置(紙Sに対する相対位置)が補正値Ca(i)の適用範囲の上端側の境界位置と一致し、搬送動作後のノズル♯90の位置が補正値Ca(i)の適用範囲の下端側の境界位置と一致している。このような場合、コントローラ60は、補正値をCa(i)とし、当初の目標搬送量Fから補正値Ca(i)を加えた値を目標にして搬送モータ22を駆動して、紙Sを搬送する。
FIG. 23A is an explanatory diagram of correction values in the first case. In the first case, the position of the
図23Bは、第2のケースでの補正値の説明図である。第2のケースでは、搬送動作前後のノズル♯90の位置が、ともに補正値Ca(i)の適用範囲内にある。このような場合、コントローラ60は、当初の目標搬送量Fと適用範囲の搬送方向長さLとの比F/LをCa(i)で掛けた値を補正値にする。そして、コントローラ60は、当初の目標搬送量Fから補正値Ca(i)×(F/L)を加えた値を目標にして搬送モータ22を駆動して、紙Sを搬送する。
FIG. 23B is an explanatory diagram of correction values in the second case. In the second case, the position of the
図23Cは、第3のケースでの補正値の説明図である。第3のケースでは、搬送動作前のノズル♯90の位置が補正値Ca(i)の適用範囲内にあり、搬送動作後のノズル♯90の位置が補正値Ca(i+1)の適用範囲内にある。ここで、目標搬送量Fのうちの補正値Ca(i)の適用範囲内での搬送量をF1とし、補正値Ca(i+1)の適用範囲内での搬送量をF2とする。このような場合、コントローラ60は、Ca(i)をF1/Lで掛けた値と、Ca(i+1)をF2/Lで掛けた値との和を補正値とする。そして、コントローラ60は、当初の目標搬送量Fから補正値を加えた値を目標にして搬送モータ22を駆動して、紙Sを搬送する。
FIG. 23C is an explanatory diagram of correction values in the third case. In the third case, the position of the
図23Dは、第4のケースでの補正値の説明図である。第4のケースでは、補正値Ca(i+1)の適用範囲を通過するように紙が搬送される。このような場合、コントローラ60は、Ca(i)をF1/Lで掛けた値と、Ca(i+1)と、Ca(i+2)をF2/Lで掛けた値との和を補正値にする。そして、コントローラ60は、当初の目標搬送量Fから補正値を加えた値を目標にして搬送モータ22を駆動して、紙Sを搬送する。
FIG. 23D is an explanatory diagram of correction values in the fourth case. In the fourth case, the paper is conveyed so as to pass through the application range of the correction value Ca (i + 1). In such a case, the
このように、コントローラ60が当初の目標搬送量Fを補正して、補正後の目標搬送量に基づいて搬送ユニット20を制御すると、実際の搬送量が当初の目標搬送量Fになるように補正され、DC成分の搬送誤差が補正される。
As described above, when the
ところで、上記のように補正値を計算すれば、目標搬送量Fが小さいとき、補正値も小さい値になる。目標搬送量Fが小さければ、その搬送を行う際に生じる搬送誤差も小さいと考えられるので、上記のように補正値を計算すれば、搬送時に生じる搬送誤差に合う補正値を算出できる。また、各補正値Caに対して1/4インチ毎に適用範囲が設定されているので、これにより、紙Sとヘッド41との相対位置に応じて変化するDC成分の搬送誤差を的確に補正することができる。
By the way, if the correction value is calculated as described above, when the target carry amount F is small, the correction value is also small. If the target transport amount F is small, it is considered that the transport error that occurs when the transport is performed is small. Therefore, if the correction value is calculated as described above, a correction value that matches the transport error that occurs during transport can be calculated. In addition, since the applicable range is set every ¼ inch for each correction value Ca, the DC component transport error that changes in accordance with the relative position between the paper S and the
===参考例に係る補正値設定処理の問題点について===
上述した参考例に係る補正値設定処理(図7)は、プリンタ製造工場の検査工程へと組み立て完了後のプリンタ1が送られる度に、それらプリンタ1の各々に対して実行される。つまり、各プリンタ1に対して、図7に示すように、ステップS101では、そのプリンタ1によってテストシートTSへの測定用パターンの印刷が行われ、次のステップS102では、スキャナ150によるテストシートTSの測定用パターン及び基準スケールSSの目盛りパターンの読み取りが行われる。
=== Regarding Problems of Correction Value Setting Processing According to Reference Example ===
The correction value setting process (FIG. 7) according to the reference example described above is executed for each of the
ここで、上記ステップS102の「測定用パターン及び目盛りパターンの読み取り」の必要性について考えてみると、先ず、テストシートTSの測定用パターンについては、測定用パターンがプリンタ毎に印刷されて、当該測定用パターンにはそのプリンタ1の印刷の癖が表れるので、プリンタ毎の測定用パターンの読み取りは必須となる。
Here, considering the necessity of “reading the measurement pattern and the scale pattern” in step S102, first, for the measurement pattern of the test sheet TS, the measurement pattern is printed for each printer. Since the printing pattern of the
これに対して、基準スケールSSは、検査工程において繰り返し使用されるものである。よって、基準スケールSSの目盛りパターンの読み取りについては、最初に1回だけ行い、その際に検出された目盛りの検出位置K(j)を適宜なメモリに記憶しておけば、プリンタ毎に行う必要はないと考えられる。そして、このように1回だけ行うのであれば、プリンタ毎に基準スケールSSをテストシートTSの横に並べてスキャナ150にセットしなくて済むので、その分だけ作業時間の削減が図れる。
On the other hand, the reference scale SS is repeatedly used in the inspection process. Therefore, the scale pattern of the reference scale SS is read only once at the beginning, and if the scale detection position K (j) detected at that time is stored in an appropriate memory, it is necessary to read it for each printer. It is not considered. If it is performed only once in this way, it is not necessary to arrange the reference scale SS next to the test sheet TS and set it in the
そこで、以下に説明する本実施形態に係る補正値設定処理(図24)では、基準スケールSSの目盛りパターンの読み取りは、初回の補正値設定処理に対してのみ行うこととし、2回目以降の補正値設定処理に対しては省略するようにしている。すなわち、初回の補正値設定処理における基準スケールSSの目盛りパターンの読み取りの際には、当該読み取りによって得られた目盛りの検出位置K(j)の情報をコンピュータ110のメモリに記憶しておく。そして、プリンタ毎に行われるS103の「補正値算出ステップ」では、コンピュータ110のメモリから前記目盛りの検出位置K(j)の情報を読み出して、ラインの絶対位置R(i)の算出に用いており、これにより、2回目以降の補正値設定処理においては、基準スケールSSの目盛りパターンの読み取りを省略している。
Therefore, in the correction value setting process (FIG. 24) according to the present embodiment described below, the scale pattern of the reference scale SS is read only for the first correction value setting process, and the second and subsequent corrections are performed. The value setting process is omitted. That is, when reading the scale pattern of the reference scale SS in the first correction value setting process, information on the scale detection position K (j) obtained by the reading is stored in the memory of the
===本実施形態に係る補正値設定処理について===
図24は、本実施形態に係る補正値設定処理のフロー図である。図25は、本実施形態に係る補正値設定処理の様子を示す説明図である。図7の参考例との対比から明らかなように、図24の本実施形態に係るフロー図は、図7の参考例のフロー図に対して、S90及びS100のステップが追設されている点、及び、この追設に付随して、本実施形態のステップS102aでは、参考例のステップS102にて行われていた「目盛りパターンの読み取り」が省略されている点で主に相違する。
また、これら主な相違点に伴って、S102aの後のS103aの「補正値算出ステップ」でも、参考例のS103の「補正値算出ステップ」では行われていた目盛りパターンの画像に関する各種処理が省略されている点でも相違する。
=== Regarding Correction Value Setting Processing According to the Present Embodiment ===
FIG. 24 is a flowchart of the correction value setting process according to this embodiment. FIG. 25 is an explanatory diagram showing the state of the correction value setting process according to the present embodiment. As is clear from the comparison with the reference example of FIG. 7, the flow chart according to the present embodiment of FIG. 24 has steps S90 and S100 added to the flow chart of the reference example of FIG. Along with this additional arrangement, step S102a of the present embodiment is mainly different in that “reading the scale pattern” performed in step S102 of the reference example is omitted.
In addition, due to these main differences, various processes related to the scale pattern image performed in the “correction value calculation step” of S103a of the reference example are also omitted in the “correction value calculation step” of S103a after S102a. It is also different in that it is done.
以下の説明では、これらの相違点について主に述べ、参考例の補正値設定処理と同じ内容の説明については適宜省略する。 In the following description, these differences are mainly described, and description of the same content as the correction value setting process of the reference example is omitted as appropriate.
<概略説明>
図24に示すように、本実施形態に係る補正値設定プログラムは、先ず、今回の補正値設定処理が、初回の処理であるか否かを判定する(S90)。そして、初回の場合にはYes判定となり、次のS100の「基準スケールSSからの目盛りパターンの読み取りステップ」へと移行する。そうしたら、検査者は、基準スケールSSをスキャナ150にセットし、次に、補正値設定プログラムの指示に従って、スキャナドライバがスキャナ150に基準スケールSSの目盛りパターンを読み取らせ、読取結果を、コンピュータ110のメモリに記憶する(図25A)。そして、次のステップS101へ移行する。
<Overview>
As shown in FIG. 24, the correction value setting program according to the present embodiment first determines whether or not the current correction value setting process is the first process (S90). In the case of the first time, a Yes determination is made, and the process proceeds to the next “step of reading a scale pattern from the reference scale SS” in S100. Then, the inspector sets the reference scale SS in the
一方、初回の処理ではない場合、すなわち、2回目以降の処理の場合には、S90のステップではNo判定となり、上述のステップS100をスキップして、ステップS101へ移行する。
ステップS101においては、補正値設定プログラムの指示に従って、プリンタドライバは印刷データをプリンタ1に送信し、プリンタ1がテストシートTSに測定用パターンを印刷する(図25B)。
そうしたら、次のステップS102aでは、検査者はテストシートTSをスキャナ150にセットする。そして、補正値設定プログラムの指示に従って、スキャナドライバがスキャナ150にテストシートTSの測定用パターンを読み取らせ、テストシートTSの画像データを取得する(図25C)。
次のステップS103aでは、補正値設定プログラムは、取得したテストシートTSの画像データを解析し、補正値を算出する。なお、この解析には、前記ステップS100でコンピュータ110のメモリに記憶された基準スケールSSの目盛りパターンの読取結果が用いられる。
そして、最後のステップS104では、補正値設定プログラムは、算出された補正値のデータをプリンタ1に送信し、プリンタ1のメモリ63に補正値を記憶させる(図25D)。
On the other hand, if it is not the first process, that is, if it is the second or subsequent process, the determination in step S90 is No, and step S100 described above is skipped and the process proceeds to step S101.
In step S101, the printer driver transmits print data to the
Then, in the next step S102a, the inspector sets the test sheet TS on the
In the next step S103a, the correction value setting program analyzes the acquired image data of the test sheet TS and calculates a correction value. In this analysis, the scale pattern reading result of the reference scale SS stored in the memory of the
In the last step S104, the correction value setting program transmits the calculated correction value data to the
以下、これらS90〜S104の各ステップについて詳細に説明する。 Hereinafter, each step of S90 to S104 will be described in detail.
<初回の補正値設定処理か否かの判定(S90)>
上述したように、このステップS90では、これから行う補正値設定処理、すなわち今回の補正値設定処理が、初回の処理であるか否かを判定する。
<Determination of Whether First Correction Value Setting Process (S90)>
As described above, in step S90, it is determined whether or not the correction value setting process to be performed, that is, the current correction value setting process is the first process.
この判定は、例えば、コンピュータ110のメモリに設けられた目盛り検出位置記録テーブル(図28)に、基準スケールSSの目盛りの検出位置K(i)が記録されているか否かをチェックすることで達成される。なぜなら、2回目以降の補正値設定処理であれば、初回の補正値設定処理に係るステップS100において検出された検出位置K(j)が、既に上記の目盛り検出位置記録テーブルに記憶済みのはずだからである。
This determination is achieved, for example, by checking whether or not the scale detection position K (i) of the reference scale SS is recorded in the scale detection position recording table (FIG. 28) provided in the memory of the
よって、コンピュータ110は、先ず、目盛り検出位置記録テーブルを参照する。そして、当該テーブルの全ての記録欄に、デフォルト値(例えば、零)が記憶されていれば、今回の補正値設定処理が初回の処理であると判定する。そして、目盛り検出位置記録テーブルに記憶するための目盛りの検出位置K(j)を取得すべく、次のS100の「基準スケールSSからの目盛りパターンの読み取り」のステップへ移行する。
Therefore, the
他方、目盛り検出位置記録テーブルに、デフォルト値以外の値が記憶された記録欄が存在する場合には(例えば、図28を参照)、初回の補正値設定処理ではないと判定する。そして、この場合には、目盛りの検出位置K(j)は既に目盛り検出位置記録テーブルに記憶済みであるため、ステップS100をスキップして、S101の「測定用パターンの印刷ステップ」へ移行する。 On the other hand, when the scale detection position recording table includes a recording field in which values other than the default values are stored (see, for example, FIG. 28), it is determined that the correction value setting process is not the first time. In this case, since the scale detection position K (j) has already been stored in the scale detection position recording table, step S100 is skipped and the process proceeds to “measurement pattern printing step” in S101.
<基準スケールSSからの目盛りパターンの読み取り(S100)>
図26は、S100の「基準スケールSSからの目盛りパターンの読み取りステップ」のフロー図である。また、図27は、その読み取りの様子を示す上面図である。
<Reading scale pattern from reference scale SS (S100)>
FIG. 26 is a flowchart of “a step of reading a scale pattern from the reference scale SS” in S100. FIG. 27 is a top view showing the state of reading.
先ず、図26に示すS141の「目盛りパターンの読み取りステップ」では、図27に示すように、スキャナ150の原稿台ガラス152の上面152aに、基準スケールSSが、その長手方向を副走査方向に沿わせながらセットされる。詳しくは、図27に示すように、副走査方向の載置用ベンチマークBMを、前記上面152aにおける前記端縁Ebとし、この端縁Ebに基準スケールSSの長手方向の端縁Esが一致するように基準スケールSSがセットされる。
First, in the “scale pattern reading step” of S141 shown in FIG. 26, as shown in FIG. 27, the reference scale SS is placed on the
そうしたら、読取キャリッジ153が副走査方向に沿って移動し、この移動中に、ラインセンサ158により基準スケールSSの画像たる目盛りパターンが読み取られ、読み取り生成された画像データは、コンピュータ110へと送られる。これにより、コンピュータ110は、目盛りパターンの画像データを取得する。
Then, the reading
そうしたら、次のS142の「目盛りパターンの画像の傾きの検出ステップ」では、参考例のステップS132と同様の方法で、前記目盛りパターンの画像の傾きが検出される。 Then, in the next “step of detecting the inclination of the scale pattern image” in S142, the inclination of the scale pattern image is detected in the same manner as in step S132 of the reference example.
また、次のS143の「画像の傾き補正ステップ」では、参考例のステップS133と同様の方法で、目盛りパターンの画像が回転補正される。すなわち、ステップS142での傾きの検出結果に基づいて、目盛りパターンの画像が回転補正される。 In the next “image tilt correction step” in S143, the scale pattern image is rotationally corrected in the same manner as in step S133 of the reference example. That is, the scale pattern image is rotationally corrected based on the inclination detection result in step S142.
次のS144の「スキャナ座標系で目盛りの位置の検出ステップ」では、参考例のステップS136と同様の方法、すなわち、画像データの階調値の重心位置を検出する方法によって、各目盛りの検出位置K(j)が求められる。 In the next “detection step of the scale position in the scanner coordinate system” in S144, the detection position of each scale is determined by the same method as in step S136 of the reference example, that is, the method of detecting the gravity center position of the gradation value of the image data. K (j) is determined.
そして、これら検出位置K(j)は、次のS145の「目盛り検出位置記録テーブルへの記憶ステップ」において、目盛り検出位置記録テーブルに記憶される。図28に目盛り検出位置記録テーブルの概念図を示す。目盛り位置の番号jに対応させて検出位置K(j)の記録欄が設けられている。そして、対応する番号jの記録欄に、それぞれ検出位置K(j)が記憶されて、図28に示すように目盛り検出位置記録テーブルが完成される。これをもって、図24のS100の「基準スケールSSからの目盛りパターンの読み取りステップ」が終了する。 These detection positions K (j) are stored in the scale detection position recording table in the next “storage step of scale detection position recording table” in S145. FIG. 28 shows a conceptual diagram of the scale detection position recording table. Corresponding to the number j of the scale position, a recording column for the detection position K (j) is provided. Then, the detection position K (j) is stored in the corresponding recording column of number j, and the scale detection position recording table is completed as shown in FIG. This completes the “step for reading the scale pattern from the reference scale SS” in S100 of FIG.
ちなみに、上記S141の「目盛りパターンの読み取りステップ」において、原稿台ガラス152の上面152aに基準スケールSSを載置する際に、図27に示すように、読取キャリッジ153の他端部153bよりも一端部153aの方に近づけて、基準スケールSSを配置しているのは、次の理由に基づいている。一般に、図10Bに示すように読取キャリッジ153の駆動力が、読取キャリッジ153の主走査方向の一端部153aにのみ作用する場合には、読取キャリッジ153の移動中に生じる振動が、当該駆動力の作用点たる前記一端部153aよりも、その反対側の他端部153bの方が大きくなり、その結果、一端部153a側に比べて他端部153b側の読み取り精度が悪くなる虞があるからである。
Incidentally, when the reference scale SS is placed on the
<測定用パターンの印刷(S101)>
このステップS101(図24)では、補正値の設定対象のプリンタ1によって、図9に示すような測定用パターンがテストシートTSに印刷される。なお、このステップS101は、前述した参考例のステップS101(図7)と全く同じなので、その説明を省略する。
<Printing measurement pattern (S101)>
In step S101 (FIG. 24), the measurement pattern as shown in FIG. 9 is printed on the test sheet TS by the
<測定用パターンの読み取り(S102a)>
このステップS102a(図24)では、スキャナ150によってテストシートTSの測定用パターンを読み取る。図29は、その読み取りの様子を示す上面図である。
<Reading measurement pattern (S102a)>
In step S102a (FIG. 24), the measurement pattern of the test sheet TS is read by the
まず、図29に示すように、スキャナ150の原稿台ガラス152の上面152aに、テストシートTSのみが、その長手方向を副走査方向に沿わせながらセットされる。詳しくは、図29に示すように、載置用ベンチマークBMたる前記端縁Ebに、テストシートTSの長手方向の端縁Etが一致するようにセットされる。
First, as shown in FIG. 29, only the test sheet TS is set on the
そして、読取キャリッジ153が副走査方向に沿って移動し、この移動中に、ラインセンサ158によってテストシートTSの画像たる測定用パターンが読み取られ、読み取り生成された画像データは、コンピュータ110へ送られる。これにより、コンピュータ110は、測定用パターンの画像データを取得する。
Then, the reading
ちなみに、図29に示すように、原稿台ガラス152の上面152aにテストシートTSを載置する際に、読取キャリッジ153の他端部153bよりも一端部153aの方にテストシートTSを近づけて配置しているのは、前述したように、前記一端部153aが読取キャリッジ153の駆動力の作用点であり、移動中の振動が小さいからである。
Incidentally, as shown in FIG. 29, when the test sheet TS is placed on the
<補正値算出(S103a)>
図30は、このステップS103a(図24)に係る補正値算出処理のフロー図である。前述の参考例の補正値算出処理(S103)のフロー図(図13)との主な相違点は、基準スケールSSの目盛りパターンの画像に関する処理が無くなっている点に有り(例えば、図13のステップS131の「画像の分割(目盛りパターン画像と測定用パターン画像)ステップ」が無くなっている等)、それ以外の点は、図13の参考例の補正値算出処理と同じである。
<Correction value calculation (S103a)>
FIG. 30 is a flowchart of the correction value calculation process according to step S103a (FIG. 24). The main difference from the flow chart (FIG. 13) of the correction value calculation process (S103) of the reference example described above is that there is no processing related to the scale pattern image of the reference scale SS (for example, FIG. 13). The “image division (scale pattern image and measurement pattern image) step” in step S131 is eliminated, and the other points are the same as the correction value calculation processing of the reference example of FIG.
図30のフロー図に示すように、まず、S132aの「測定用パターン画像の傾きの検出ステップ」が行われる。このステップは、参考例のステップS132(図13)とほぼ同じであり、参考例では基準スケールSSの目盛りパターンの画像に対しても傾きの検出が行われていたところ、ここでは、測定用パターンの画像に対してのみ傾きの検出が行われる。 As shown in the flowchart of FIG. 30, first, the “step of detecting the inclination of the pattern image for measurement” in S132a is performed. This step is almost the same as step S132 (FIG. 13) of the reference example. In the reference example, the inclination is detected for the scale pattern image of the reference scale SS. Tilt detection is performed only on the image of.
次に、S133aの「画像の傾きの補正ステップ」が行われる。このステップも、参考例のステップS133(図13)とほぼ同じであり、参考例では基準スケールSSの目盛りパターンの画像に対しても傾きの回転補正が行われていたところ、ここでは、測定用パターンの画像に対してのみ回転補正が行われる。なお、回転補正は、S132aのステップで得られた傾きの検出結果に基づいて行われる。 Next, an “image inclination correction step” in S133a is performed. This step is also substantially the same as step S133 (FIG. 13) of the reference example. In the reference example, the rotation of the tilt is corrected for the scale pattern image of the reference scale SS. Rotation correction is performed only on the pattern image. The rotation correction is performed based on the inclination detection result obtained in step S132a.
次に、S134の「印刷時の傾きの検出ステップ」及びS135の「余白量の算出ステップ」が順次行われるが、これらのステップは、前述の参考例のステップS134及びS135(図13)と全く同じなので、その説明を省略する。 Next, the “inclination detection step during printing” in S134 and the “margin amount calculation step” in S135 are sequentially performed. These steps are completely the same as steps S134 and S135 (FIG. 13) of the above-described reference example. The description is omitted because it is the same.
次に、S136aの「スキャナ座標系でのラインの位置の検出ステップ」が行われる。このステップは、参考例のステップS136(図13)とほぼ同じであり、参考例では基準スケールSSの目盛りパターンの画像に対しても目盛りの位置K(j)の検出が行われていたところ、ここでは、測定用パターンの画像に対してのみラインの位置S(i)の検出が行われる。 Next, the “step of detecting the position of the line in the scanner coordinate system” in S136a is performed. This step is substantially the same as step S136 (FIG. 13) of the reference example. In the reference example, the position K (j) of the scale is detected for the scale pattern image of the reference scale SS. Here, the line position S (i) is detected only for the measurement pattern image.
次に、S137aの「測定用パターンの各ラインの絶対位置の算出ステップ」が行われる。このステップは、参考例のステップS137(図13)とほぼ同じである。すなわち、前述した式3及び式4に基づいて、ラインの絶対位置R(i)を算出する。但し、ここでは、これら式3中の目盛りの検出位置K(j)は、コンピュータ110のメモリの目盛り検出位置テーブル(図28)から取得されて、ラインの絶対位置R(i)の算出に供される。
Next, “calculation step of absolute position of each line of measurement pattern” in S137a is performed. This step is almost the same as step S137 (FIG. 13) of the reference example. That is, the absolute position R (i) of the line is calculated based on the above-described
最後に、S138の「補正値の算出ステップ」及びS139の「補正値の平均化ステップ」が行われて、補正値が算出される。なお、これらステップは、前述の参考例のステップS138及びS139(図13)と全く同じなので、その説明を省略する。 Finally, the “correction value calculation step” in S138 and the “correction value averaging step” in S139 are performed to calculate the correction value. Since these steps are exactly the same as steps S138 and S139 (FIG. 13) of the above-described reference example, description thereof is omitted.
そして、これをもって、図24のステップS103aに係る補正値算出処理が終了し、次のステップS104へ移行する。 Then, the correction value calculation process according to step S103a in FIG. 24 is completed, and the process proceeds to the next step S104.
<補正値の記憶(S104)>
このステップS104(図24)では、コンピュータ110は、算出された補正値をプリンタ1のメモリ63に記憶する。なお、このステップも、前述の参考例のステップS104(図7)と全く同じなので、その説明を省略する。
<Storage of correction value (S104)>
In step S104 (FIG. 24), the
===その他の実施の形態===
前述の実施形態では、基準スケールSSを原稿台ガラス152の上面152aに載置する際に、図12Bに示すように、基準スケールSSを読取キャリッジ153の駆動力の作用点に近づけて配置したが、この基準スケールSSの配置位置が前記作用点に近ければ近いほど、読取キャリッジ153の移動中の振動が小さくなるので、望ましい。よって、図31A及び図31Bに示すように、前記作用点の真上で画像の読み取りが可能な場合には、前記作用点に、基準スケールSSの主走査方向の中心を一致させて配置すると良い。なお、図31A及び図31Bは、それぞれに、前述の図27及び図10Bと同じ様式で示している。
=== Other Embodiments ===
In the above-described embodiment, when the reference scale SS is placed on the
===まとめ===
前述の実施形態に係る「媒体上のパターンの印刷位置の算出方法」は、(A)所定方向(長手方向)について目盛りが付けられた基準スケールSSを、スキャナ150により読み取って基準スケールSSの画像データを生成し、基準スケールSSの画像データに基づいて検出された前記目盛りの検出位置K(j)の情報をコンピュータ110のメモリの目盛り検出位置記録テーブル(図28)に記憶する記憶ステップ(図24のステップS100に相当)と、(B)ラインが印刷されたテストシートTSを前記スキャナ150と同一のスキャナ150により読み取ってテストシートTSの画像データを生成する読み取りステップ(図24のステップS102aに相当)と、(C)前記目盛り検出位置記録テーブルに記憶された前記目盛りの検出位置K(j)の情報と、テストシートTSの画像データとに基づいて、前記テストシートTS上におけるラインの前記所定方向に関する絶対位置R(i)を算出する印刷位置算出ステップ(図24のステップS103aに相当)と、を備えている。
=== Summary ===
In the “method for calculating the printing position of the pattern on the medium” according to the above-described embodiment, (A) the reference scale SS calibrated in a predetermined direction (longitudinal direction) is read by the
よって、テストシートTSのラインの画像データのみに基づいて前記ラインの絶対位置R(i)を検出する場合に含まれ得るスキャナ150自体の検出誤差を、前記目盛りの検出位置K(j)の情報を用いることによって相殺させることができる。そして、その結果として、テストシートTS上におけるラインの絶対位置R(i)を高精度で算出可能になる。
Therefore, the detection error of the
また、前記目盛りの検出位置K(j)の情報は、コンピュータ110のメモリの目盛り検出位置記録テーブルに記憶されているので、次回以降のラインの絶対位置R(i)の算出の際には、すなわち、前記テストシートTSと異なる他のテストシートTSに対するラインの絶対位置R(i)の算出の際には、前記記憶ステップ(図24のステップS100に相当)を省略することができる。よって、当該次回以降の絶対位置R(i)の算出について算出時間の短縮化が図れる。
Further, the information of the scale detection position K (j) is stored in the scale detection position recording table of the memory of the
(2)前述の実施形態では、テストシートTSのラインの絶対位置R(i)の算出の後に、前記テストシートTSとは異なる他のテストシートTSに対してラインの絶対位置R(j)を算出する場合には、前記記憶ステップ(図24のステップS100に相当)を実行せずに、前記他のテストシートTSに対して前記読み取りステップ(図24のステップS102aに相当)を実行して、前記他のテストシートTSのラインの画像データを生成するとともに、前記印刷位置算出ステップ(図24のステップS103aに相当)では、コンピュータ110のメモリの目盛り検出位置記録テーブル(図28)に記憶された前記目盛りの検出位置K(j)の情報と、前記他のテストシートTSのラインの画像データとに基づいて、前記テストシートTS上におけるラインの前記所定方向に関する絶対位置R(i)を算出する。
(2) In the above-described embodiment, after the absolute position R (i) of the line of the test sheet TS is calculated, the absolute position R (j) of the line is set for another test sheet TS different from the test sheet TS. In the case of calculation, without executing the storage step (corresponding to step S100 in FIG. 24), the reading step (corresponding to step S102a in FIG. 24) is performed on the other test sheet TS, In addition to generating image data of the other test sheet TS lines, the print position calculation step (corresponding to step S103a in FIG. 24) is stored in the scale detection position record table (FIG. 28) in the memory of the
よって、前記テストシートTSとは異なる他のテストシートTSに対するラインの絶対位置R(i)の算出の際には、前記記憶ステップ(図24のステップS100に相当)を省略するので、当該他のテストシートTSに対する絶対位置R(i)の算出に対してラインの絶対位置R(i)の算出時間の短縮化が図れる。 Therefore, when the absolute position R (i) of the line with respect to another test sheet TS different from the test sheet TS is calculated, the storage step (corresponding to step S100 in FIG. 24) is omitted, so that the other The calculation time of the absolute position R (i) of the line can be shortened with respect to the calculation of the absolute position R (i) with respect to the test sheet TS.
(3)前述の実施形態では、絶対位置R(i)がゼロとなる基準位置は、基準スケールSSの1番目の目盛りの位置、又は、テストシートTSの搬送方向の下流側の端縁Eの位置である。そして、基準位置が前者の場合には、絶対位置R(i)は、前記1番目の目盛りの位置から各ラインまでの前記所定方向の距離を示す一方、後者の場合には、前記端縁Eから各ラインまでの前記所定方向の距離を示す。 (3) In the above-described embodiment, the reference position at which the absolute position R (i) is zero is the position of the first scale of the reference scale SS or the edge E on the downstream side in the conveyance direction of the test sheet TS. Position. When the reference position is the former, the absolute position R (i) indicates the distance in the predetermined direction from the position of the first scale to each line, while in the latter case, the edge E The distance in the predetermined direction from each line to each line is shown.
(4)前述の実施形態では、図30のステップS136a及びS137aが、上記の印刷位置算出ステップに相当している。そして、ステップS137aでは、前述の式3及び式4に示すように、テストシートTSの画像データに基づいて検出された各ラインの検出位置S(i)の情報を、コンピュータ110のメモリの目盛り検出位置記録テーブル(図28)に記憶された前記目盛りの検出位置K(j),K(j−1)の情報に基づいて補正することにより、各ラインの前記所定方向に関する絶対位置R(i)を算出する。よって、各ラインの絶対位置R(i)を求める際に含まれ得るスキャナ150自体の検出誤差を確実に相殺させることができる。
(4) In the above-described embodiment, steps S136a and S137a in FIG. 30 correspond to the print position calculation step. In step S137a, as shown in
(5)前述の実施形態においては、基準スケールSSの各目盛りは、その目盛りと前記所定方向に隣り合う他の目盛りとの間隔が所定の理論値(1/36インチ)を目標値として形成されている。そして、上述の印刷位置算出ステップ(図30のステップS136a及びS137aに相当)のステップS137aでは、前述の式3に示すように、目盛りの検出位置K(j),K(j−1)の情報及び各ラインの検出位置S(i)の情報に基づいて、目盛りに対する各ラインの相対位置を示す比率Hを求めるとともに、次のステップS137aでは、前述の式4に示すように、当該比率Hの情報と、前記理論値(1/36インチ)に基づく目盛りの絶対位置J(j),J(j−1)の情報とに基づいて、各ラインの前記所定方向に関する絶対位置R(i)を算出する。
(5) In the above-described embodiment, each scale of the reference scale SS is formed such that the distance between the scale and another scale adjacent in the predetermined direction is a predetermined theoretical value (1/36 inch) as a target value. ing. In step S137a of the above-described print position calculation step (corresponding to steps S136a and S137a in FIG. 30), as shown in the above-described
ここで、目盛りの絶対位置J(j),J(j−1)の情報として、目盛りの間隔の理論値に基づく情報を用いているので、目盛りの絶対位置J(j),J(j−1)を実測しない分だけ手順の簡素化が図れて、ラインの絶対位置R(i)の算出時間を短縮できる。 Here, since the information based on the theoretical value of the scale interval is used as the information on the absolute scale positions J (j) and J (j−1), the absolute scale positions J (j) and J (j− The procedure can be simplified as much as 1) is not actually measured, and the calculation time of the absolute position R (i) of the line can be shortened.
(6)前述の実施形態においては、図27に示すように、基準スケールSSの目盛りは、前記所定方向(基準スケールSSの長手方向)と直交する方向に沿う直線状に形成される。また、図29に示すように、テストシートTSのラインは、前記所定方向と直交する方向に沿って印刷されている。そして、上記の印刷位置算出ステップ(図30のステップS136a及びS137aに相当)では、ラインの絶対位置R(i)がライン毎に算出される。 (6) In the above-described embodiment, as shown in FIG. 27, the scale of the reference scale SS is formed in a straight line along a direction orthogonal to the predetermined direction (longitudinal direction of the reference scale SS). As shown in FIG. 29, the lines of the test sheet TS are printed along a direction orthogonal to the predetermined direction. In the printing position calculation step (corresponding to steps S136a and S137a in FIG. 30), the absolute position R (i) of the line is calculated for each line.
よって、ラインが沿う方向と目盛りの線が沿う方向とは何れも同方向であって揃っているので、基準スケールSSの目盛りによって、テストシートTS上のラインの絶対位置R(i)を確実に高精度に算出可能になる。 Therefore, since the direction along the line and the direction along the scale line are both the same direction and are aligned, the scale of the reference scale SS ensures the absolute position R (i) of the line on the test sheet TS. It becomes possible to calculate with high accuracy.
(7)前述の実施形態では、スキャナ150は、図10A及び図10Bに示すように、基準スケールSS及びテストシートTSが載置される原稿台ガラス152の上面152aと、この上面152aと平行な副走査方向に移動する読取キャリッジ153と、この読取キャリッジ153に設けられてテストシートTSのライン又は基準スケールSSの目盛りを読み取って画像データを生成するためのラインセンサ158と、を備えている。
(7) In the above-described embodiment, as shown in FIGS. 10A and 10B, the
(8)前述の実施形態では、図10A及び図10Bに示すように、スキャナ150は、読取キャリッジ153の副走査方向への移動を案内するレール154,154と、読取キャリッジ153に対して副走査方向へ移動させるための駆動力を与えるキャリッジモータ155dとを有する。そして、読取キャリッジ153における前記駆動力の作用点は、副走査方向と直交する主走査方向に関する両端部153a,153bのうちの一方の端部153aのみであり、他方の端部153bは前記作用点ではなく、そして、図27及び図29に示すように、原稿台ガラス152の上面152aにおいて、前記他方の端部153bよりも前記一方の端部153aの方に近づけて、基準スケールSS又はテストシートTSが載置される。
(8) In the above-described embodiment, as shown in FIGS. 10A and 10B, the
ここで、一般に、読取キャリッジ153における駆動力の作用点側の部分は、読取キャリッジ153の副走査方向への移動時の振動は小さい。よって、前記作用点側の部分たる前記一方の端部153aに近づけて配置された基準スケールSS又はテストシートTSの画像は正確に読み取られ、もって、これらの画像データに基づいて基準スケールSSの目盛りの検出位置K(j)又はテストシートTSのラインの位置S(i)は、精度良く検出される。
Here, generally, the vibration of the portion of the
1 プリンタ、110 コンピュータ、
20 搬送ユニット、21 給紙ローラ、22 搬送モータ、23 搬送ローラ、
24 プラテン、25 排紙ローラ、26 従動ローラ、27 従動ローラ、
30 キャリッジユニット、31 キャリッジ、32 キャリッジモータ、
40 ヘッドユニット、41 ヘッド、
50 検出器群、51 リニア式エンコーダ、
52 ロータリー式エンコーダ、521 スケール、522 検出部、
53 紙検出センサ、54 光学センサ、
60 コントローラ、61 インターフェース部、62 CPU、63 メモリ、
64 ユニット制御回路、
150 スキャナ、151 上蓋、152 原稿台ガラス、152a 上面、
153 読取キャリッジ、153a 一端部、153b 他端部、
154 レール、155 移動機構、
155a プーリ、155b プーリ、155c タイミングベルト、
155d キャリッジモータ、156 連結部材、
157 露光ランプ、158 ラインセンサ、159 光学機器、
TS テストシート、SS 基準スケール
1 printer, 110 computer,
20 transport unit, 21 paper feed roller, 22 transport motor, 23 transport roller,
24 platen, 25 paper discharge roller, 26 driven roller, 27 driven roller,
30 Carriage unit, 31 Carriage, 32 Carriage motor,
40 head units, 41 heads,
50 detector groups, 51 linear encoders,
52 Rotary encoder, 521 scale, 522 detector,
53 Paper detection sensor, 54 Optical sensor,
60 controller, 61 interface unit, 62 CPU, 63 memory,
64 unit control circuit,
150 scanner, 151 top cover, 152 platen glass, 152a top surface,
153 reading carriage, 153a one end, 153b other end,
154 rail, 155 moving mechanism,
155a pulley, 155b pulley, 155c timing belt,
155d carriage motor, 156 connecting member,
157 exposure lamp, 158 line sensor, 159 optical equipment,
TS test sheet, SS reference scale
Claims (9)
パターンが印刷された媒体を前記スキャナにより読み取って前記媒体の画像データを生成する読み取りステップと、
前記メモリに記憶された前記目盛りの検出位置の情報と、前記媒体の画像データとに基づいて、前記媒体上における前記パターンの前記所定方向に関する印刷位置を算出する印刷位置算出ステップと、
を備えたことを特徴とする媒体上のパターンの印刷位置の算出方法。 A storage step of reading a scale scaled in a predetermined direction by a scanner to generate image data of the scale, and storing information of a detected position of the scale detected based on the image data of the scale in a memory; ,
A reading step of reading a medium on which a pattern is printed by the scanner to generate image data of the medium;
A print position calculating step of calculating a print position in the predetermined direction of the pattern on the medium based on the information on the detected position of the scale stored in the memory and the image data of the medium;
A method for calculating a printing position of a pattern on a medium.
前記媒体のパターンの印刷位置の算出の後に、前記媒体とは異なる他の媒体に対してパターンの印刷位置を算出する場合には、
前記記憶ステップを実行せずに、前記他の媒体に対して前記読み取りステップを実行して、前記他の媒体の画像データを生成するとともに、
前記印刷位置算出ステップでは、前記メモリに記憶された前記目盛りの検出位置の情報と、前記他の媒体の画像データとに基づいて、前記媒体上における前記パターンの前記所定方向に関する印刷位置を算出することを特徴とする媒体上のパターンの印刷位置の算出方法。 In the calculation method of the printing position of the pattern on the medium according to claim 1,
After calculating the print position of the pattern of the medium, when calculating the print position of the pattern for another medium different from the medium,
Performing the reading step on the other medium without executing the storing step to generate image data of the other medium;
In the printing position calculation step, a printing position relating to the predetermined direction of the pattern on the medium is calculated based on information on the detected position of the scale stored in the memory and image data of the other medium. A method for calculating a printing position of a pattern on a medium.
前記印刷位置は、所定の基準位置から前記パターンまでの前記所定方向に関する距離として示されることを特徴とする媒体上のパターンの印刷位置の算出方法。 In the calculation method of the printing position of the pattern on the medium according to claim 1 or 2,
The method for calculating a printing position of a pattern on a medium, wherein the printing position is indicated as a distance in a predetermined direction from a predetermined reference position to the pattern.
前記印刷位置算出ステップでは、
前記媒体の画像データに基づいて検出された前記パターンの検出位置の情報を、前記メモリに記憶された前記目盛りの検出位置の情報に基づいて補正することにより、前記パターンの前記所定方向に関する印刷位置を算出することを特徴とする媒体上のパターンの印刷位置の算出方法。 In the calculation method of the printing position of the pattern on the medium according to any one of claims 1 to 3,
In the printing position calculating step,
The print position in the predetermined direction of the pattern is corrected by correcting the information on the detection position of the pattern detected based on the image data of the medium based on the information on the detection position of the scale stored in the memory. A method for calculating a printing position of a pattern on a medium, characterized in that
前記スケールの各目盛りは、その目盛りと前記所定方向に隣り合う他の目盛りとの間隔が所定の理論値を目標値として形成されており、
前記印刷位置算出ステップでは、
前記目盛りの検出位置の情報及び前記パターンの検出位置の情報に基づいて、前記目盛りに対する前記パターンの相対位置を示す相対位置情報を求めるとともに、
前記相対位置情報と、前記理論値に基づく前記目盛りの絶対位置の情報とに基づいて、前記パターンの前記所定方向に関する印刷位置を算出することを特徴とする媒体上のパターンの印刷位置の算出方法。 In the calculation method of the printing position of the pattern on the medium according to claim 4,
Each scale of the scale is formed with a predetermined theoretical value as a target value for the interval between the scale and another scale adjacent in the predetermined direction,
In the printing position calculating step,
Based on the information on the detection position of the scale and the information on the detection position of the pattern, to obtain relative position information indicating the relative position of the pattern with respect to the scale,
A printing position calculation method for a pattern on a medium, wherein a printing position for the predetermined direction of the pattern is calculated based on the relative position information and information on an absolute position of the scale based on the theoretical value. .
前記目盛りは、前記所定方向と直交する方向に沿う直線状に形成され、
前記パターンは、前記所定方向と直交する方向に沿って印刷されたラインであって、前記ラインは、前記所定方向に複数並んで印刷され、
前記印刷位置算出ステップでは、前記印刷位置として、前記ラインの印刷位置が前記ライン毎に算出されることを特徴とする媒体上のパターンの印刷位置の算出方法。 In the calculation method of the printing position of the pattern on the medium according to any one of claims 1 to 5,
The scale is formed in a linear shape along a direction orthogonal to the predetermined direction,
The pattern is a line printed along a direction orthogonal to the predetermined direction, and a plurality of the lines are printed side by side in the predetermined direction,
In the printing position calculation step, the printing position of the line on the medium is calculated as the printing position for each line.
前記スキャナは、前記スケール及び前記媒体が載置される載置面と、前記載置面と平行な第1方向に移動する読取キャリッジと、前記読取キャリッジに設けられて前記媒体の前記パターン又は前記スケールの前記目盛りを読み取って画像データを生成するための画像読み取りセンサと、を備えることを特徴とする媒体上のパターンの印刷位置の算出方法。 In the calculation method of the printing position of the pattern on the medium according to any one of claims 1 to 6,
The scanner includes a placement surface on which the scale and the medium are placed; a reading carriage that moves in a first direction parallel to the placement surface; and the pattern of the medium or the reading carriage provided on the reading carriage. An image reading sensor for reading the scale of the scale and generating image data, and a method for calculating a printing position of a pattern on a medium.
前記スキャナは、前記読取キャリッジの前記第1方向への移動を案内するガイド部材と、前記読取キャリッジに対して前記第1方向へ移動させるための駆動力を与える駆動源とを有し、
前記読取キャリッジにおける前記駆動力の作用点は、前記第1方向と直交する第2方向に関する両端部のうちの一方の端部のみであり、他方の端部は前記作用点ではなく、
前記載置面において、前記他方の端部よりも前記一方の端部の方に近づけて、前記スケール又は前記媒体が載置されることを特徴とする媒体上のパターンの印刷位置の算出方法。 In the calculation method of the printing position of the pattern on the medium according to claim 7,
The scanner includes a guide member that guides the movement of the reading carriage in the first direction, and a driving source that applies a driving force for moving the reading carriage in the first direction,
The operating point of the driving force in the reading carriage is only one end of both end portions in the second direction orthogonal to the first direction, and the other end is not the operating point.
A method for calculating a printing position of a pattern on a medium, wherein the scale or the medium is placed closer to the one end than the other end on the placement surface.
パターンが印刷された媒体を前記スキャナにより読み取って前記媒体の画像データを生成する読み取りステップと、
前記メモリに記憶された前記目盛りの検出位置の情報と、前記媒体の画像データとに基づいて、前記媒体上における前記パターンの前記所定方向に関する印刷位置を算出する印刷位置算出ステップと、
を備え、
前記媒体のパターンの印刷位置の算出の後に、前記媒体とは異なる他の媒体に対してパターンの印刷位置を算出する場合には、前記記憶ステップを実行せずに、前記他の媒体に対して前記読み取りステップを実行して、前記他の媒体の画像データを生成するとともに、前記印刷位置算出ステップでは、前記メモリに記憶された前記目盛りの検出位置の情報と、前記他の媒体の画像データとに基づいて、前記媒体上における前記パターンの前記所定方向に関する印刷位置を算出し、
前記印刷位置は、所定の基準位置から前記パターンまでの前記所定方向に関する距離として示され、
前記印刷位置算出ステップでは、前記媒体の画像データに基づいて検出された前記パターンの検出位置の情報を、前記メモリに記憶された前記目盛りの検出位置の情報に基づいて補正することにより、前記パターンの前記所定方向に関する印刷位置を算出し、
前記スケールの各目盛りは、その目盛りと前記所定方向に隣り合う他の目盛りとの間隔が所定の理論値を目標値として形成されており、
前記印刷位置算出ステップでは、前記目盛りの検出位置の情報及び前記パターンの検出位置の情報に基づいて、前記目盛りに対する前記パターンの相対位置を示す相対位置情報を求めるとともに、前記相対位置情報と、前記理論値に基づく前記目盛りの絶対位置の情報とに基づいて、前記パターンの前記所定方向に関する印刷位置を算出し、
前記目盛りは、前記所定方向と直交する方向に沿う直線状に形成され、前記パターンは、前記所定方向と直交する方向に沿って印刷されたラインであって、前記ラインは、前記所定方向に複数並んで印刷され、前記印刷位置算出ステップでは、前記印刷位置として、前記ラインの印刷位置が前記ライン毎に算出され、
前記スキャナは、前記スケール及び前記媒体が載置される載置面と、前記載置面と平行な第1方向に移動する読取キャリッジと、前記読取キャリッジに設けられて前記媒体の前記パターン又は前記スケールの前記目盛りを読み取って画像データを生成するための画像読み取りセンサと、を備え、
前記スキャナは、前記読取キャリッジの前記第1方向への移動を案内するガイド部材と、前記読取キャリッジに対して前記第1方向へ移動させるための駆動力を与える駆動源とを有し、前記読取キャリッジにおける前記駆動力の作用点は、前記第1方向と直交する第2方向に関する両端部のうちの一方の端部のみであり、他方の端部は前記作用点ではなく、前記載置面において、前記他方の端部よりも前記一方の端部の方に近づけて、前記スケール又は前記媒体が載置されることを特徴とする媒体上のパターンの印刷位置の算出方法。
A storage step of reading a scale scaled in a predetermined direction by a scanner to generate image data of the scale, and storing information of a detected position of the scale detected based on the image data of the scale in a memory; ,
A reading step of reading a medium on which a pattern is printed by the scanner to generate image data of the medium;
A print position calculating step of calculating a print position in the predetermined direction of the pattern on the medium based on the information on the detected position of the scale stored in the memory and the image data of the medium;
With
After calculating the print position of the pattern of the medium, when calculating the print position of the pattern for another medium different from the medium, the storage step is not executed and the other medium is not executed. The reading step is executed to generate image data of the other medium, and in the printing position calculating step, information on the detected position of the scale stored in the memory, image data of the other medium, and On the basis of the print position of the pattern on the medium with respect to the predetermined direction;
The printing position is indicated as a distance in the predetermined direction from a predetermined reference position to the pattern,
In the printing position calculation step, the pattern detection position information detected based on the image data of the medium is corrected based on the scale position detection information stored in the memory, thereby correcting the pattern. Calculating the printing position in the predetermined direction of
Each scale of the scale is formed with a predetermined theoretical value as a target value for the interval between the scale and another scale adjacent in the predetermined direction,
In the printing position calculating step, based on the scale detection position information and the pattern detection position information, relative position information indicating a relative position of the pattern with respect to the scale is obtained, and the relative position information, Based on the information on the absolute position of the scale based on a theoretical value, the printing position for the predetermined direction of the pattern is calculated,
The scale is formed in a linear shape along a direction orthogonal to the predetermined direction, and the pattern is a line printed along a direction orthogonal to the predetermined direction, and the line includes a plurality of lines in the predetermined direction. In the printing position calculation step, the printing position of the line is calculated for each line as the printing position,
The scanner includes a placement surface on which the scale and the medium are placed; a reading carriage that moves in a first direction parallel to the placement surface; and the pattern of the medium or the reading carriage provided on the reading carriage. An image reading sensor for reading the scale of the scale and generating image data,
The scanner includes a guide member that guides the movement of the reading carriage in the first direction, and a driving source that applies a driving force for moving the reading carriage in the first direction. The point of action of the driving force in the carriage is only one end of both end parts in the second direction orthogonal to the first direction, and the other end is not the point of action but on the placement surface described above. A method for calculating a printing position of a pattern on a medium, wherein the scale or the medium is placed closer to the one end than the other end.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2006203454A JP2008034950A (en) | 2006-07-26 | 2006-07-26 | Method for calculating printing position of pattern on medium |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2006203454A JP2008034950A (en) | 2006-07-26 | 2006-07-26 | Method for calculating printing position of pattern on medium |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JP2008034950A true JP2008034950A (en) | 2008-02-14 |
Family
ID=39123971
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2006203454A Pending JP2008034950A (en) | 2006-07-26 | 2006-07-26 | Method for calculating printing position of pattern on medium |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP2008034950A (en) |
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2015045454A1 (en) * | 2013-09-27 | 2015-04-02 | 大日本スクリーン製造株式会社 | Scan image correction method, scan correction inspection member and printing device |
| US11360422B2 (en) | 2017-11-30 | 2022-06-14 | Ricoh Company, Ltd. | Position detector, image forming apparatus, position detecting method, and non-transitory recording medium storing position detecting program code |
-
2006
- 2006-07-26 JP JP2006203454A patent/JP2008034950A/en active Pending
Cited By (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2015045454A1 (en) * | 2013-09-27 | 2015-04-02 | 大日本スクリーン製造株式会社 | Scan image correction method, scan correction inspection member and printing device |
| JP2015066757A (en) * | 2013-09-27 | 2015-04-13 | 株式会社Screenホールディングス | Scan image correction method, scan correction inspection member, and printer |
| US11360422B2 (en) | 2017-11-30 | 2022-06-14 | Ricoh Company, Ltd. | Position detector, image forming apparatus, position detecting method, and non-transitory recording medium storing position detecting program code |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP5067017B2 (en) | A system, a printer, and a method performed in the printer. | |
| JP2009137136A (en) | Recording apparatus, conveyance amount correction method, and program | |
| JP2009083130A (en) | Liquid ejecting apparatus and conveying method | |
| JP4432943B2 (en) | Line position calculation method and correction value acquisition method | |
| JP2012088914A (en) | Printer manufacturing method, printer adjustment method and printer | |
| JP2008028737A (en) | Method for calculating printing position of pattern on medium | |
| JP4341658B2 (en) | Correction value determination method and correction value determination device | |
| JP4967816B2 (en) | Conveying method and recording apparatus | |
| JP4900042B2 (en) | Recording method | |
| JP4162022B2 (en) | Conveyance amount correction device, conveyance amount correction method, and program | |
| JP4193894B2 (en) | Correction value determination method, correction value determination device, and program | |
| JP2008034950A (en) | Method for calculating printing position of pattern on medium | |
| JP4192977B2 (en) | Recording apparatus, conveyance amount correction method, and program | |
| JP2008182352A (en) | POSITION IDENTIFICATION METHOD, POSITION IDENTIFICATION DEVICE, AND PROGRAM | |
| JP4458076B2 (en) | Line position calculation method, correction value acquisition method, and program | |
| JP2008030234A (en) | Method for calculating printing position of pattern on medium | |
| JP4192978B2 (en) | Recording apparatus, conveyance amount correction method, and program | |
| JP2009137137A (en) | Liquid ejecting apparatus and evaluation pattern forming method | |
| JP2008119951A (en) | Transport amount correction evaluation method, transport amount correction evaluation apparatus, and program | |
| JP2008100404A (en) | Method for calculating line formation position on medium | |
| JP2008100372A (en) | Method for calculating line formation position on medium | |
| JP2009143136A (en) | Liquid ejection apparatus and correction pattern forming method | |
| JP2008105228A (en) | Head contact determination method, head contact determination device, and program | |
| JP2009119786A (en) | Liquid ejecting apparatus, pattern forming method, and rotation amount setting method | |
| JP2008105345A (en) | Recording apparatus, recording method, and program |