JP2007125750A - Printer, and printing method - Google Patents

Printer, and printing method Download PDF

Info

Publication number
JP2007125750A
JP2007125750A JP2005319167A JP2005319167A JP2007125750A JP 2007125750 A JP2007125750 A JP 2007125750A JP 2005319167 A JP2005319167 A JP 2005319167A JP 2005319167 A JP2005319167 A JP 2005319167A JP 2007125750 A JP2007125750 A JP 2007125750A
Authority
JP
Japan
Prior art keywords
lens
printing
signal
representative
image
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2005319167A
Other languages
Japanese (ja)
Other versions
JP5082225B2 (en
Inventor
Katsuhito Suzuki
勝仁 鈴木
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Seiko Epson Corp
Original Assignee
Seiko Epson Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Seiko Epson Corp filed Critical Seiko Epson Corp
Priority to JP2005319167A priority Critical patent/JP5082225B2/en
Publication of JP2007125750A publication Critical patent/JP2007125750A/en
Application granted granted Critical
Publication of JP5082225B2 publication Critical patent/JP5082225B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Ink Jet (AREA)
  • Dot-Matrix Printers And Others (AREA)
  • Stereoscopic And Panoramic Photography (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide a printer which can print an image at a correct position even when there is a deficit in lenses or when a detection leak is brought about. <P>SOLUTION: The printer includes a conveyance means (paper feeding roller 50) which conveys in a longitudinal direction of the lens a lens sheet 10 with both a first plane where a plurality of the lenses are formed and a second plane where a printing face is formed; a printing means (recording head 32) which scans on the second plane in a direction that intersects the longitudinal direction of the lens, and which prints the image according to an arrangement of the plurality of lenses to the second plane; a detecting means (optical sensor 40) which detects positions of the lenses formed on the first plane and outputs a detection signal; a complementary means (lens signal complementary circuit) which complements the detection signal when the detection signal has no regularity; and an adjusting means (head driver) which adjusts a position to print the image by the printing means on the basis of the complemented detection signal. <P>COPYRIGHT: (C)2007,JPO&INPIT

Description

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

立体的な画像を表示したり、あるいは、複数の画像を見る角度に応じて選択的に表示したりする方法として、シリンドリカル凸レンズ(以下、「凸レンズ」と称する)を用いる方法がある。   As a method of displaying a stereoscopic image or selectively displaying a plurality of images according to the viewing angle, there is a method of using a cylindrical convex lens (hereinafter referred to as “convex lens”).

図25は、凸レンズを用いて立体的な画像を表示する方法を示している。この図に示すように、複数の凸レンズ2を有するレンズシート1の裏面には、1枚の画像を複数の短冊状の画像に分割して形成された複数の細分化画像3a1〜3a7と、当該画像とは異なる角度から撮影された他の画像を同様に複数の短冊状の画像に分割して形成された複数の細分化画像3b1〜3b7とが配置または印刷されている。   FIG. 25 shows a method of displaying a stereoscopic image using a convex lens. As shown in this figure, on the back surface of the lens sheet 1 having a plurality of convex lenses 2, a plurality of subdivided images 3a1 to 3a7 formed by dividing one image into a plurality of strip-shaped images, A plurality of subdivided images 3b1 to 3b7 formed by dividing another image taken from an angle different from the image into a plurality of strip-like images are arranged or printed.

このようなレンズシート1を観察した場合、右目ERには細分化画像3a1〜3a7からの光画像が入射され、左目ELには細分化画像3b1〜3b7からの光画像が入射される。この結果、右目ERと左目ELには角度が異なる2枚の画像が提示されるため、画像を立体的に見ることが可能となる。   When such a lens sheet 1 is observed, a light image from the subdivided images 3a1 to 3a7 is incident on the right eye ER, and a light image from the subdivided images 3b1 to 3b7 is incident on the left eye EL. As a result, since two images with different angles are presented to the right eye ER and the left eye EL, the images can be viewed three-dimensionally.

このような凸レンズを有するレンズシートに対して、細分化画像を印刷する方法としては、従来、特許文献1に示すような技術がある。すなわち、特許文献1に示す技術では、レンズシートのレンズ間隔をセンサで検出し、当該間隔に応じてインクを吐出して画像を印刷する。この結果、レンズの位置と画像の位置とを正確に調整できる。   Conventionally, as a method for printing a segmented image on a lens sheet having such a convex lens, there is a technique as shown in Patent Document 1. That is, in the technique disclosed in Patent Document 1, the lens interval of the lens sheet is detected by a sensor, and ink is ejected according to the interval to print an image. As a result, the lens position and the image position can be accurately adjusted.

特開平8−137034号公報(要約書、請求項)JP-A-8-137034 (abstract, claim)

ところで、特許文献1に示す技術では、レンズに欠損が存在したり、レンズの検出漏れが生じたりした場合には、画像を正常に印刷することができないという問題点がある。   By the way, the technique shown in Patent Document 1 has a problem in that an image cannot be printed normally when a lens has a defect or a lens detection omission occurs.

本発明は、上記の事情に基づきなされたもので、その目的とするところは、レンズに欠損が存在したり、検出漏れが生じたりした場合でも、正確な位置に画像を印刷することが可能な印刷装置および印刷方法を提供しよう、とするものである。   The present invention has been made based on the above circumstances, and the object of the present invention is to print an image at an accurate position even when a lens has a defect or a detection failure occurs. A printing apparatus and a printing method are to be provided.

上述の目的を達成するため、本発明の印刷装置は、レンズが複数形成された第1の面と、印刷面が形成された第2の面とを有するレンズシートを当該レンズの長手方向に搬送する搬送手段と、第2の面上をレンズの長手方向に交差する方向に走査するとともに、当該第2の面に複数のレンズの配列に応じた画像を印刷する印刷手段と、第1の面に形成されたレンズの位置を検出し、検出信号を出力する検出手段と、検出手段から出力される検出信号が規則性を有しない場合には、当該検出信号を補完する補完手段と、補完手段により補完された検出信号に基づいて、印刷手段によって画像を印刷する位置を調整する調整手段と、有する。   In order to achieve the above object, a printing apparatus according to the present invention conveys a lens sheet having a first surface on which a plurality of lenses are formed and a second surface on which a printing surface is formed in the longitudinal direction of the lenses. Conveying means, a printing means for scanning the second surface in a direction intersecting the longitudinal direction of the lens, and printing an image corresponding to the arrangement of the plurality of lenses on the second surface, and the first surface Detecting means for detecting the position of the lens formed on the lens and outputting a detection signal; if the detection signal output from the detection means has no regularity, a complementing means for complementing the detection signal; and a complementing means And adjusting means for adjusting the position where the image is printed by the printing means, based on the detection signal supplemented by.

このため、レンズに欠損が存在したり、検出漏れが生じたりした場合でも、正確な位置に画像を印刷することが可能な印刷装置を提供することができる。   For this reason, it is possible to provide a printing apparatus capable of printing an image at an accurate position even when a defect exists in the lens or a detection failure occurs.

また、他の発明の印刷装置は、前述の発明に加えて、検出手段が、レンズに応じてハイまたはローの状態となり、補完手段は、検出信号のハイまたはローの状態を観察し、一定時間以上ハイまたはローの状態が継続する場合には、当該状態を変遷させるようにしている。このため、レンズの欠損等を迅速に検出して補正することが可能になる。   In addition to the above-described invention, in the printing apparatus of another invention, the detection unit is in a high or low state according to the lens, and the complementing unit observes the high or low state of the detection signal and performs a certain period of time. When the high or low state continues, the state is changed. For this reason, it is possible to quickly detect and correct lens defects and the like.

また、他の発明の印刷装置は、前述の発明に加えて、補完手段が、過去における検出信号の状態の変化に要する時間に関する情報を記憶しておき、検出信号が変化しない状態が当該記憶されている時間以上継続する場合に、補完処理を実行するようにしている。このため、印刷しようとするレンズの近傍に存在する他のレンズを参照して補完が必要か否かを判断することで、より正確に補正を行うことができる。   In addition to the above-described invention, the printing device of another invention stores information related to the time required for the change in the state of the detection signal in the past, and the state in which the detection signal does not change is stored. Complementary processing is executed when it continues for more than the specified time. For this reason, it is possible to correct more accurately by determining whether or not complementation is necessary with reference to another lens in the vicinity of the lens to be printed.

また、他の発明の印刷装置は、前述の発明に加えて、レンズシートを挟んで、印刷手段に対向する位置であって、当該印刷手段の走査経路に沿うように配置された発光手段をさらに有し、検出手段は、印刷手段の一部であって、発光手段に対向する位置に設けられており、発光手段によってレンズシートの第1の面に対して照射され、レンズの少なくとも一部を透過した光の強度を検出するようにしている。このため、レンズの位置に応じた正確な検出信号を生成することができる。   In addition to the above-described invention, a printing apparatus according to another invention further includes a light emitting unit disposed at a position facing the printing unit with the lens sheet interposed therebetween and along the scanning path of the printing unit. And the detecting means is a part of the printing means and is provided at a position facing the light emitting means. The light emitting means irradiates the first surface of the lens sheet, and at least a part of the lens is provided. The intensity of the transmitted light is detected. For this reason, it is possible to generate an accurate detection signal corresponding to the position of the lens.

また、本発明の印刷方法は、レンズが複数形成された第1の面と、印刷面が形成された第2の面とを有するレンズシートを当該レンズの長手方向に搬送し、第2の面上をレンズの長手方向に交差する方向に走査するとともに、当該第2の面に複数のレンズの配列に応じた画像を印刷し、第1の面に形成されたレンズの位置を検出して検出信号を出力し、検出信号が規則性を有しない場合には、検出信号を補完し、補完がなされた検出信号に基づいて、画像を印刷する位置を調整する。   Further, the printing method of the present invention conveys a lens sheet having a first surface on which a plurality of lenses are formed and a second surface on which the printing surface is formed in the longitudinal direction of the lens, and the second surface. The top is scanned in a direction intersecting the longitudinal direction of the lens, and an image corresponding to the arrangement of the plurality of lenses is printed on the second surface, and the position of the lens formed on the first surface is detected and detected. When the signal is output and the detection signal does not have regularity, the detection signal is complemented, and the position where the image is printed is adjusted based on the complemented detection signal.

このため、レンズに欠損が存在したり、検出漏れが生じたりした場合でも、正確な位置に画像を印刷することが可能な印刷方法を提供することができる。   For this reason, it is possible to provide a printing method capable of printing an image at an accurate position even when a defect exists in the lens or a detection failure occurs.

また、本発明は、レンズが複数形成された第1の面と、印刷面が形成された第2の面とを有するレンズシートを当該レンズの長手方向に搬送する搬送手段と、第2の面上をレンズの長手方向に交差する方向に走査するとともに、当該第2の面に複数のレンズの配列に応じた画像を印刷する印刷手段と、第1の面に形成されたレンズの位置を検出する検出手段と、検出手段による検出結果に基づいて、レンズの代表的な幅に関する情報を決定する決定手段と、決定手段によって決定された代表的なレンズ幅に基づいて、印刷手段によって画像を印刷するタイミングを指示するタイミング信号を生成する生成手段と、有する。   The present invention also provides a conveying means for conveying a lens sheet having a first surface on which a plurality of lenses are formed and a second surface on which a printing surface is formed in the longitudinal direction of the lens, and the second surface Scans the top in a direction intersecting the longitudinal direction of the lens, and prints an image corresponding to the arrangement of the plurality of lenses on the second surface, and detects the position of the lens formed on the first surface A detecting unit that determines information on a representative lens width based on a detection result of the detecting unit, and a printing unit that prints an image based on the representative lens width determined by the determining unit. Generating means for generating a timing signal for instructing the timing to perform.

このため、レンズに欠損が存在したり、検出漏れが生じたりした場合でも、正確な位置に画像を印刷することが可能な印刷装置を提供することができる。   For this reason, it is possible to provide a printing apparatus capable of printing an image at an accurate position even when a defect exists in the lens or a detection failure occurs.

また、他の発明の印刷装置は、上述の発明に加えて、代表的なレンズ幅に関する情報は、複数のレンズの幅の平均値である。このため、レンズが欠損している場合であっても、複数のレンズの平均値に基づいて画像を正確に印刷することができる。   In the printing apparatus of another invention, in addition to the above-described invention, the information regarding the typical lens width is an average value of the widths of a plurality of lenses. For this reason, even when a lens is missing, an image can be accurately printed based on the average value of a plurality of lenses.

また、他の発明の印刷装置は、上述の発明に加えて、代表的なレンズ幅に関する情報は、複数のレンズの幅の出現頻度を求め、出現頻度が最も高いレンズ幅を代表的なレンズ幅としている。このため、レンズが欠損している場合であっても、複数のレンズの代表値に基づいて画像を正確に印刷することができる。   Further, in addition to the above-described invention, the printing apparatus of another invention obtains the appearance frequency of the widths of a plurality of lenses as information on the representative lens width, and determines the lens width having the highest appearance frequency as the representative lens width. It is said. For this reason, even when a lens is missing, an image can be printed accurately based on representative values of a plurality of lenses.

また、他の発明の印刷装置は、上述の発明に加えて、出現頻度が高いレンズ幅が複数存在する場合には、最小のレンズ幅を代表レンズ幅とするようにしている。このため、誤差を含む可能性が少ない最小のレンズ幅を代表値として選択することにより、正確に印刷を行うことができる。   In addition to the above-described invention, the printing apparatus of another invention is configured such that the minimum lens width is set as the representative lens width when there are a plurality of lens widths having a high appearance frequency. For this reason, printing can be performed accurately by selecting the smallest lens width that is less likely to contain errors as a representative value.

また、他の発明の印刷装置は、上述の発明に加えて、レンズシートを挟んで、印刷手段に対向する位置であって、当該印刷手段の走査経路に沿うように配置された発光手段をさらに有し、検出手段は、印刷手段の一部であって、発光手段に対向する位置に設けられており、発光手段によってレンズシートの第1の面に対して照射され、レンズの少なくとも一部を透過した光の強度を検出するようにしている。このため、このため、レンズの位置に応じた正確な検出信号を生成することができる。   In addition to the above-described invention, a printing apparatus according to another invention further includes a light emitting unit disposed at a position facing the printing unit with the lens sheet interposed therebetween and along the scanning path of the printing unit. And the detecting means is a part of the printing means and is provided at a position facing the light emitting means. The light emitting means irradiates the first surface of the lens sheet, and at least a part of the lens is provided. The intensity of the transmitted light is detected. For this reason, an accurate detection signal according to the position of the lens can be generated.

また、本発明の印刷方法は、レンズが複数形成された第1の面と、印刷面が形成された第2の面とを有するレンズシートを当該レンズの長手方向に搬送し、第2の面上をレンズの長手方向に交差する方向に走査するとともに、当該第2の面に複数のレンズの配列に応じた画像を印刷し、第1の面に形成されたレンズの位置を検出し、レンズの位置の検出結果に基づいて、レンズの代表的な幅に関する情報を決定し、決定された代表的なレンズ幅に基づいて、画像を印刷するタイミングを指示するタイミング信号を生成する。   Further, the printing method of the present invention conveys a lens sheet having a first surface on which a plurality of lenses are formed and a second surface on which the printing surface is formed in the longitudinal direction of the lens, and the second surface. The upper surface is scanned in a direction crossing the longitudinal direction of the lens, an image corresponding to the arrangement of the plurality of lenses is printed on the second surface, and the position of the lens formed on the first surface is detected, and the lens Based on the position detection result, information about the representative lens width is determined, and based on the determined representative lens width, a timing signal indicating the timing for printing an image is generated.

このため、レンズに欠損が存在したり、検出漏れが生じたりした場合でも、正確な位置に画像を印刷することが可能な印刷装置を提供することができる。   For this reason, it is possible to provide a printing apparatus capable of printing an image at an accurate position even when a defect exists in the lens or a detection failure occurs.

以下、本発明の一実施の形態について、図面を参照して説明する。   Hereinafter, an embodiment of the present invention will be described with reference to the drawings.

本発明の第1の実施の形態について、図1から図17に基づいて説明する。図1は、本実施の形態に係る印刷装置の概略構成を示す斜視図である。なお、以下の説明においては、下方側とは、印刷装置が設置される側(Z軸下方向)を指し、上方側とは、設置される側から離間する側(Z軸上方向)を指す。また、後述するキャリッジ31が移動する方向を主走査方向、主走査方向に直交する方向であってレンズシート10が搬送される方向を副走査方向とする。また、レンズシート10が供給される側を給紙側(後端側)、レンズシート10が排出される側を排紙側(手前側)として説明する。   A first embodiment of the present invention will be described with reference to FIGS. FIG. 1 is a perspective view showing a schematic configuration of a printing apparatus according to the present embodiment. In the following description, the lower side refers to the side on which the printing apparatus is installed (Z-axis downward direction), and the upper side refers to the side away from the installation side (upward in the Z-axis). . In addition, a direction in which a carriage 31 described later moves is a main scanning direction, a direction orthogonal to the main scanning direction, and a direction in which the lens sheet 10 is conveyed is a sub-scanning direction. Further, the side on which the lens sheet 10 is supplied will be described as a paper feeding side (rear end side) and the side on which the lens sheet 10 is discharged will be described as a paper discharge side (front side).

この図1に示すように、印刷装置は、プラテン20を有し、このプラテン20対してキャリッジ31が往復移動自在に構成されている。キャリッジ31は、シアン、マゼンタ、イエロー、および、ブラックインクが内部に貯留されたインクカートリッジ30を保持している。キャリッジ31の下方側には、レンズシート10に対向するように、印刷手段としての記録ヘッド32が設けられており、インクカートリッジ30に貯留されているインクを吸引し、微小なインク滴として吐出可能としている。なお、搭載されるインクカートリッジ30は、4色に限られるものではなく、6色、7色および8色等、何色分であっても良い。また、インクカートリッジ30に充填されるインクは、染料系インクには限られず、顔料系インク等、他の種類のインクを搭載しても良い。   As shown in FIG. 1, the printing apparatus includes a platen 20, and a carriage 31 is configured to be reciprocally movable relative to the platen 20. The carriage 31 holds an ink cartridge 30 in which cyan, magenta, yellow, and black inks are stored. A recording head 32 as a printing unit is provided below the carriage 31 so as to face the lens sheet 10, and the ink stored in the ink cartridge 30 can be sucked and discharged as minute ink droplets. It is said. The mounted ink cartridges 30 are not limited to four colors, and may be any number of colors such as six colors, seven colors, and eight colors. Ink filled in the ink cartridge 30 is not limited to dye-based ink, and other types of ink such as pigment-based ink may be mounted.

キャリッジ31には、タイミングベルト35の一部が固着されている。タイミングベルト35は、プリー33,34を連接するように架張されている。プリー33には、キャリッジモータ36の駆動軸が接続されている。したがって、キャリッジモータ36が回転されると、キャリッジ31が図1中に矢印で示すX方向(主走査方向)に往復動作する。   A part of the timing belt 35 is fixed to the carriage 31. The timing belt 35 is stretched so as to connect the pulleys 33 and 34. A drive shaft of a carriage motor 36 is connected to the pulley 33. Therefore, when the carriage motor 36 is rotated, the carriage 31 reciprocates in the X direction (main scanning direction) indicated by an arrow in FIG.

キャリッジ31の一部(この図の例では左側)には、後述するシリンドリカル凸レンズ(以下、「凸レンズ」と称する)を検出するための検出手段としての光学センサ40が設けられている。なお、光学センサ40の詳細については、後述する。   An optical sensor 40 serving as a detecting unit for detecting a cylindrical convex lens (hereinafter referred to as “convex lens”), which will be described later, is provided on a part of the carriage 31 (on the left side in the example of this figure). Details of the optical sensor 40 will be described later.

キャリッジ31が往復動作する経路上には、リニアエンコーダを構成するスケール37が配置されている。キャリッジ31のスケール37に対向する面には、後述する光学センサ38が配置されており、当該光学センサ38によってスケール37に印刷されたパターンを検出することにより、キャリッジ31の主走査経路上における位置を特定する。   A scale 37 constituting a linear encoder is disposed on a path along which the carriage 31 reciprocates. An optical sensor 38, which will be described later, is disposed on the surface of the carriage 31 that faces the scale 37. By detecting the pattern printed on the scale 37 by the optical sensor 38, the position of the carriage 31 on the main scanning path is detected. Is identified.

プラテン20の上流側(紙面の奥側)には、円柱形状を有する紙送りローラ50が設けられている。搬送手段の一部としての紙送りローラ50には、搬送手段の一部としての紙送りモータ(PFモータ)51の駆動力が伝達される。したがって、紙送りモータ51が回転されると、紙送りローラ50が回転され、レンズシート10がプラテン20上を、Y方向(図中矢印で示す方向)の排紙側に向けて搬送される。   A paper feed roller 50 having a cylindrical shape is provided on the upstream side (back side of the paper surface) of the platen 20. A driving force of a paper feed motor (PF motor) 51 as a part of the transport unit is transmitted to the paper feed roller 50 as a part of the transport unit. Accordingly, when the paper feed motor 51 is rotated, the paper feed roller 50 is rotated, and the lens sheet 10 is conveyed on the platen 20 toward the paper discharge side in the Y direction (the direction indicated by the arrow in the figure).

レンズシート10は、後述するように、一方の面(第1の面)には、例えば、凸形状を有する複数の凸レンズ(レンズ)が形成されている。また、他方の面(第2の面)は印刷面とされている。図1の例では、凸レンズの長手方向(凸レンズの伸びている方向)と、Y方向(副走査方向)とが一致するように、レンズシート10が配置される。また、この例では、Y方向に長い短冊状の画像が、各凸レンズの短手方向の幅内に収まるように複数印刷される。なお、凸レンズとしては、図に示す凸形状のみならず、例えば、凹形状を有するものを使用することも可能である。   As will be described later, for example, a plurality of convex lenses (lenses) having a convex shape are formed on one surface (first surface) of the lens sheet 10. The other surface (second surface) is a printing surface. In the example of FIG. 1, the lens sheet 10 is arranged so that the longitudinal direction of the convex lens (the direction in which the convex lens extends) and the Y direction (sub-scanning direction) coincide. In this example, a plurality of strip-shaped images that are long in the Y direction are printed so as to be within the width of each convex lens in the short direction. In addition, as a convex lens, what has not only the convex shape shown to a figure but a concave shape can also be used, for example.

プラテン20は、その上側面に発光手段としての発光部22を有している。プラテン20は、例えば、樹脂によって構成され、レンズシート10を保持してスムーズに搬送されるようにするとともに、記録ヘッド32と、レンズシート10との間の距離が一定になるようにする。   The platen 20 has a light emitting portion 22 as a light emitting means on the upper side surface. The platen 20 is made of, for example, resin, and holds the lens sheet 10 so that the platen 20 can be smoothly conveyed, and the distance between the recording head 32 and the lens sheet 10 is constant.

発光部22は、レンズシート10に対して光を照射し、当該レンズシート10を透過した光を光学センサ40に入射させる。発光部22は、例えば、複数のLED(Light Emitting Diode)が主走査経路に沿って配置され、その上部に光を拡散させるための透過性拡散板(例えば、オパール、パール、磨りガラス等の板)が配置されて構成されている。透過性拡散板は、発光部22から照射される光が均一光となるようにするためのものである。また、発光部22は、例えば、矩形形状を有しており、長手方向はレンズシート10のX方向よりも広い幅を有しており、短手方向は光学センサ40の受光部の副走査方向の幅よりも広い幅を有している。なお、拡散板ではなく透過板(例えば、アクリル板、ガラス板)を設ける構成としたり、あるいは透過性拡散板または透過板等を全く設けない構成としたりすることも可能である。拡散板または透過性拡散板を設けた場合には、発光素子22aに対してインク滴が付着し、発光強度が低下することを防止できる。   The light emitting unit 22 irradiates the lens sheet 10 with light and causes the light transmitted through the lens sheet 10 to enter the optical sensor 40. The light emitting unit 22 includes, for example, a plurality of LEDs (Light Emitting Diodes) arranged along the main scanning path, and a transparent diffusion plate (for example, opal, pearl, frosted glass, etc.) for diffusing light on the upper part. ) Is arranged and configured. The transmissive diffusing plate is for making the light emitted from the light emitting unit 22 uniform light. Further, the light emitting unit 22 has, for example, a rectangular shape, the longitudinal direction has a width wider than the X direction of the lens sheet 10, and the short side direction is the sub-scanning direction of the light receiving unit of the optical sensor 40. It has a width wider than the width of. Note that a transmission plate (for example, an acrylic plate or a glass plate) may be provided instead of the diffusion plate, or a configuration in which a transmissive diffusion plate or a transmission plate is not provided at all is also possible. In the case where a diffusion plate or a transmissive diffusion plate is provided, it is possible to prevent ink droplets from adhering to the light emitting element 22a and lowering the light emission intensity.

なお、図1では、全体の形状をわかりやすくするために、発光部22をプラテン20の下流側の端部付近に設けているが、実際には上流側の光学センサ40に対向する位置に設けられている。これらの詳細な位置関係については、図6を参照して後述する。   In FIG. 1, in order to make the overall shape easy to understand, the light emitting unit 22 is provided in the vicinity of the downstream end of the platen 20, but it is actually provided at a position facing the upstream optical sensor 40. It has been. These detailed positional relationships will be described later with reference to FIG.

図2は、キャリッジ31の裏面(レンズシートに対向する面)を示す図である。この図に示すように、キャリッジ31の裏面には、複数のノズルが副走査方向に配置されたノズル列32aを複数有する記録ヘッド32が設けられている。なお、各ノズル列は、例えば、180個のノズルによって構成されている。また、それぞれのノズル列32aは、同一の色のインクを吐出するノズル群によって構成される。   FIG. 2 is a diagram illustrating the back surface of the carriage 31 (the surface facing the lens sheet). As shown in the drawing, on the back surface of the carriage 31, a recording head 32 having a plurality of nozzle rows 32a in which a plurality of nozzles are arranged in the sub-scanning direction is provided. Each nozzle row is composed of, for example, 180 nozzles. Each nozzle row 32a is constituted by a nozzle group that ejects ink of the same color.

キャリッジ31の裏面の右上端部には、光学センサ40が設けられている。なお、この例では、光学センサ40は、各ノズル列32aの最上端(図の上端)に形成されたノズルよりも上流側(レンズシートの搬送方向の上流側)に設けられているので、レンズシート10が記録ヘッド32の最初のノズル(最上端のノズル)に到達する前に、光学センサ40によって凸レンズを検出することができる。   An optical sensor 40 is provided at the upper right end of the back surface of the carriage 31. In this example, the optical sensor 40 is provided on the upstream side (upstream side in the conveyance direction of the lens sheet) from the nozzle formed at the uppermost end (upper end in the drawing) of each nozzle row 32a. The convex lens can be detected by the optical sensor 40 before the sheet 10 reaches the first nozzle (uppermost nozzle) of the recording head 32.

図3は、図2に示す光学センサ40、レンズシート10、および、発光部22の位置関係を示す図である。この図に示すように、光学センサ40は、保持体41および受光部43を有している。ここで、保持体41には、受光部43が配置される凹部42が形成されている。凹部42の底面部には受光部43が配置されている。   FIG. 3 is a diagram illustrating a positional relationship among the optical sensor 40, the lens sheet 10, and the light emitting unit 22 illustrated in FIG. As shown in this figure, the optical sensor 40 has a holding body 41 and a light receiving portion 43. Here, the holding body 41 is formed with a recess 42 in which the light receiving portion 43 is disposed. A light receiving portion 43 is disposed on the bottom surface of the recess 42.

受光部43は、例えば、フォトダイオードによって構成され、レンズシート10を透過した光を受光し、その光の強度に対応するレベルを有する電気信号に変換して出力する。なお、発光部22としては、例えば、赤色光、青色光、緑色光、赤外光等のような、所定の色の光を発することが可能な発光ダイオードを用いることができる。また、例えば可視光または赤外光のようなレーザ光を生じさせることが可能なLED、ランプ、または、EL(Electro Luminescence)を発光部としても良い。   The light receiving unit 43 is configured by, for example, a photodiode, receives light transmitted through the lens sheet 10, converts the light into an electric signal having a level corresponding to the intensity of the light, and outputs the electric signal. In addition, as the light emission part 22, the light emitting diode which can emit the light of a predetermined color like red light, blue light, green light, infrared light etc. can be used, for example. Further, for example, an LED, a lamp, or an EL (Electro Luminescence) that can generate laser light such as visible light or infrared light may be used as the light emitting unit.

発光部22は、複数の発光素子22aが主走査経路に沿って配置されている。発光素子22aとしては、例えば、LEDを使用することができる。発光素子22aの上方側には、透過性拡散板22bが配置されており、発光素子22aから照射された光を拡散して均一光としてレンズシート10に入射する。   In the light emitting unit 22, a plurality of light emitting elements 22a are arranged along the main scanning path. For example, an LED can be used as the light emitting element 22a. A transmissive diffusing plate 22b is disposed above the light emitting element 22a, and diffuses light emitted from the light emitting element 22a and enters the lens sheet 10 as uniform light.

なお、発光部22としては、例えば、冷陰極管を用いることができる。あるいは、導光板をプラテン20上に主走査方向に沿って配置し、その端部に冷陰極管またはLED等を配置するようにしてもよい。さらに、受光部43としては、例えば、フォトトランジスタ、フォトダイオード、フォトIC等のような、受光した光を電気信号に変換することが可能な素子を用いることができる。   In addition, as the light emission part 22, a cold cathode tube can be used, for example. Alternatively, the light guide plate may be disposed on the platen 20 along the main scanning direction, and a cold cathode tube or an LED may be disposed at the end thereof. Furthermore, as the light receiving unit 43, for example, an element that can convert received light into an electrical signal, such as a phototransistor, a photodiode, or a photo IC, can be used.

レンズシート10は、凸レンズ11、インク吸収層12、および、インク透過層13を有している。ここで、レンズとしての凸レンズ11は、例えば、透明な樹脂によって構成され、かまぼこ形状を有するレンズが所定の間隔(ピッチ)で複数連結されて構成される。なお、レンズシート10の種類は、レンズの間隔によって示され、例えば、45lpi(lens per inch)、60lpi、90lpi等がある。なお、これ以外のピッチ(例えば、100lpi等)のレンズを使用することも可能である。凸レンズ11は、PET(Polyethylene Terephthalate)、PETG(
Polyethylene Terephthalate Glycol)、APET(Amorphous Polyethylene Terephthalate)、PP(Polyethylene)、PS(Polystyrene)、PVC(Polyvinyl chloride)、アクリル、UV(Ultraviolet)硬化樹脂等によって構成される。
The lens sheet 10 includes a convex lens 11, an ink absorption layer 12, and an ink transmission layer 13. Here, the convex lens 11 as a lens is made of, for example, a transparent resin, and a plurality of lenses having a kamaboko shape are connected at a predetermined interval (pitch). The type of the lens sheet 10 is indicated by the lens interval, and examples thereof include 45 lpi (lens per inch), 60 lpi, and 90 lpi. It is also possible to use lenses with other pitches (for example, 100 lpi). The convex lens 11 is made of PET (Polyethylene Terephthalate), PETG (
Polyethylene Terephthalate Glycol), APET (Amorphous Polyethylene Terephthalate), PP (Polyethylene), PS (Polystyrene), PVC (Polyvinyl Chloride), Acrylic, UV (Il), UV (Ul)

インク吸収層12は、インクを吸収する材料によって構成され、インク透過層13を透過したインクを定着させる。なお、インク吸収層12は、例えば、PVA(Poly Vinyl Alchol)等親水性ポリマ、カチオン化合物、シリカ等微粒子によって構成されている。また、インク透過層13は、インクを透過する材料によって構成され、インク吸収層に定着されたインクを保護する。なお、インク透過層13は、酸化チタン、シリカゲル、PMMA(Polymethylmethacrylate)等微粒子、バインダ樹脂等によって構成されている。なお、インク吸収層12およびインク透過層13のいずれか一方は、非透明な材料によって構成される。また、インク透過層13は、あってもなくてもよい。さらに、インク吸収層12およびインク透過層13以外にも、例えば、透明フィルム層または接着層等があってもよい。   The ink absorption layer 12 is made of a material that absorbs ink, and fixes the ink that has passed through the ink transmission layer 13. The ink absorbing layer 12 is made of, for example, a hydrophilic polymer such as PVA (Poly Vinyl Alchol), fine particles such as a cationic compound, and silica. The ink transmission layer 13 is made of a material that transmits ink, and protects the ink fixed on the ink absorption layer. The ink transmission layer 13 is composed of fine particles such as titanium oxide, silica gel, and PMMA (Polymethylmethacrylate), a binder resin, and the like. Note that one of the ink absorption layer 12 and the ink transmission layer 13 is made of a non-transparent material. The ink permeable layer 13 may or may not be present. Further, in addition to the ink absorption layer 12 and the ink transmission layer 13, for example, a transparent film layer or an adhesive layer may be provided.

発光部22から射出された光は、凸レンズ11、インク吸収層12、および、インク透過層13を経由し、受光部43によって受光される。受光部43は、受光した透過光の強度に応じた電気信号を出力する。   The light emitted from the light emitting unit 22 is received by the light receiving unit 43 via the convex lens 11, the ink absorption layer 12, and the ink transmission layer 13. The light receiving unit 43 outputs an electric signal corresponding to the intensity of the received transmitted light.

図4は、図1に示す印刷装置の制御系の構成例を示すブロック図である。この図に示すように、印刷装置の制御系としては、キャリッジモータ36、紙送りモータ51、制御部100、および、インターフェース112を有している。ここで、インターフェース112は、制御部100とホストコンピュータ150とを電気的に接続し、これらの間で情報の授受を可能とするために信号の表現形式等を変換する機能を有する。制御部100は、ホストコンピュータ150から送信されてきた印刷データに基づいてレンズシート10に画像を印刷するための制御を行う。なお、制御部100の詳細については後述する。キャリッジモータ36は、制御部100によって制御され、キャリッジ31を主走査方向に往復動作させる。なお、キャリッジ31の一部には光学センサ38が設けられており、この光学センサ38とスケール37によってリニアエンコーダが構成されている。制御部100は、このリニアエンコーダによってキャリッジ31の現在の位置を知ることができる。紙送りモータ51は、紙送りローラ50に駆動力を与えることにより、レンズシート10を副走査方向に移動させる。ホストコンピュータ150は、HDD(Hard Disk Drive)151を有しており、このHDD151には、レンズシート10の印刷に対応させて画像を加工するための画像加工プログラム等が記憶されている。   FIG. 4 is a block diagram illustrating a configuration example of a control system of the printing apparatus illustrated in FIG. As shown in the figure, the control system of the printing apparatus includes a carriage motor 36, a paper feed motor 51, a control unit 100, and an interface 112. Here, the interface 112 has a function of electrically connecting the control unit 100 and the host computer 150 and converting a signal expression format or the like in order to enable information exchange between them. The control unit 100 performs control for printing an image on the lens sheet 10 based on the print data transmitted from the host computer 150. Details of the control unit 100 will be described later. The carriage motor 36 is controlled by the control unit 100 and reciprocates the carriage 31 in the main scanning direction. An optical sensor 38 is provided on a part of the carriage 31, and the optical sensor 38 and the scale 37 constitute a linear encoder. The control unit 100 can know the current position of the carriage 31 using this linear encoder. The paper feed motor 51 moves the lens sheet 10 in the sub-scanning direction by applying a driving force to the paper feed roller 50. The host computer 150 includes an HDD (Hard Disk Drive) 151, and an image processing program for processing an image corresponding to printing of the lens sheet 10 is stored in the HDD 151.

図5は、図4に示す印刷装置を図の右側から眺めた図である。この図に示すように、キャリッジ31は、プラテン20に対向する状態で設けられている。また、キャリッジ31の下部には、印刷を行う領域としての記録ヘッド32が設けられている。図2に示すように、記録ヘッド32には、複数のノズルがレンズシート10の搬送方向(副走査方向)に配置されてノズル列32aを形成している。なお、前述のように、本実施の形態では、各ノズル列32aは、例えば180個のノズルから構成されており、このうち、180番目のノズルが給紙側、1番目のノズルが排紙側に位置している。   FIG. 5 is a view of the printing apparatus shown in FIG. 4 as viewed from the right side of the drawing. As shown in this figure, the carriage 31 is provided so as to face the platen 20. In addition, a recording head 32 is provided below the carriage 31 as a printing area. As shown in FIG. 2, the recording head 32 has a plurality of nozzles arranged in the conveyance direction (sub-scanning direction) of the lens sheet 10 to form a nozzle row 32a. As described above, in the present embodiment, each nozzle row 32a is composed of, for example, 180 nozzles, of which the 180th nozzle is the paper feed side and the first nozzle is the paper discharge side. Is located.

また、キャリッジ31の下部に設けられ、各インクに対応づけられたノズル列32aには、ノズル毎に、ピエゾ素子(不図示)が配置されている。このピエゾ素子の作動により、インク通路の端部にあるノズルからインク滴を吐出することが可能となっている。なお、記録ヘッド32は、ピエゾ素子を用いたピエゾ駆動方式に限られず、その他の方式を用いても良い。その他の方式としては、例えば、インクをヒータで加熱し、発生する泡の力を利用するヒータ方式、磁歪素子を用いる磁歪方式、静電気力を利用した静電方式、ミストを電界で制御するミスト方式等が、主な方式として挙げられる。   In addition, a piezo element (not shown) is provided for each nozzle in the nozzle row 32a provided at the lower portion of the carriage 31 and associated with each ink. By operating the piezo element, it is possible to eject ink droplets from the nozzles at the end of the ink passage. The recording head 32 is not limited to the piezo driving method using a piezo element, and other methods may be used. Other methods include, for example, a heater method in which ink is heated with a heater and the generated foam force is used, a magnetostriction method in which a magnetostrictive element is used, an electrostatic method in which electrostatic force is used, and a mist method in which mist is controlled by an electric field. Etc. are mentioned as main methods.

用紙搬送機構80は、レンズシート10等の印刷対象物を搬送する駆動力を与える紙送りモータ(不図示)、および、普通紙等の給紙に対応する給紙ローラ82を具備している。また、この給紙ローラ82よりも排紙側には、レンズシート10を搬送するための紙送りローラ50が設けられている。また、紙送りローラ50よりも排紙側には、プラテン20および上述の記録ヘッド32が上下に対向するように配設されている。プラテン20は、紙送りローラ50によって記録ヘッド32の下へ搬送されてくるレンズシート10を、下方側から支持する。   The paper transport mechanism 80 includes a paper feed motor (not shown) that provides a driving force for transporting a printing object such as the lens sheet 10 and a paper feed roller 82 that supports the feeding of plain paper or the like. A paper feed roller 50 for conveying the lens sheet 10 is provided on the paper discharge side of the paper feed roller 82. Further, the platen 20 and the recording head 32 described above are disposed on the paper discharge side of the paper feed roller 50 so as to face each other in the vertical direction. The platen 20 supports the lens sheet 10 conveyed below the recording head 32 by the paper feed roller 50 from below.

また、プラテン20よりも排紙側には、上述の紙送りローラ50と同様の、排紙ローラ52が設けられている。この排紙ローラ52は、紙送りモータ51からの駆動力が伝達されて、回転する。なお、紙送りモータ51は、その駆動力を紙送りローラ50と排紙ローラ52とに分配させる構成を採用している。しかしながら、紙送りモータ51以外に、別途のモータを設け、そのモータによって排紙ローラ52を駆動させる構成を採用しても良い。   A paper discharge roller 52 similar to the paper feed roller 50 is provided on the paper discharge side of the platen 20. The paper discharge roller 52 rotates upon receiving the driving force from the paper feed motor 51. The paper feed motor 51 employs a configuration that distributes the driving force to the paper feed roller 50 and the paper discharge roller 52. However, a configuration may be employed in which a separate motor is provided in addition to the paper feed motor 51 and the paper discharge roller 52 is driven by the motor.

また、排紙側とは逆の後端側かつ給紙ローラ82の下方側には、開口部87が設けられている。開口部87は、レンズシート10等の折り曲げ困難な印刷対象物を通過させるための、開口部分である。そのため、開口部87は、レンズシート10を通過させるのに十分な、主走査方向における幅を有している。なお、レンズシート10は、それ単体で開口部87を通過するようにしても良く、また厚みのあるトレイ等に載置された状態で通過するようにしても良い。   An opening 87 is provided on the rear end side opposite to the paper discharge side and on the lower side of the paper feed roller 82. The opening 87 is an opening for allowing a printing object that is difficult to bend, such as the lens sheet 10, to pass therethrough. Therefore, the opening 87 has a width in the main scanning direction sufficient to pass the lens sheet 10. The lens sheet 10 alone may pass through the opening 87, or may be passed in a state of being placed on a thick tray or the like.

図6は、プラテン20の側断面図の一例である。図6に示すように、プラテン20には、該プラテン20の基準平面21aから上方に向かい、レンズシート10等が接触する複数のリブ21bが突出している。また、プラテン20のうち、給紙側の端部側には、発光部22が設けられている(図1および図7参照)。発光部22は、前述したようにレンズシート10に対して光を照射するための部位である。   FIG. 6 is an example of a side sectional view of the platen 20. As shown in FIG. 6, a plurality of ribs 21 b projecting upward from the reference plane 21 a of the platen 20 and contacting the lens sheet 10 and the like protrude from the platen 20. In addition, a light emitting unit 22 is provided on the end side of the sheet feeding side of the platen 20 (see FIGS. 1 and 7). The light emitting unit 22 is a part for irradiating the lens sheet 10 with light as described above.

レンズシート10は、紙送りローラ50および従動ローラ50aによって挟持されつつ駆動力を与えられて副走査方向に移動される。また、レンズシート10は、印刷が終了すると、排紙ローラ52および従動ローラ52aによって挟持されつつ駆動力を与えられて排紙される。   The lens sheet 10 is moved in the sub-scanning direction by being given a driving force while being sandwiched between the paper feed roller 50 and the driven roller 50a. Further, when printing is completed, the lens sheet 10 is ejected with a driving force applied while being sandwiched between the ejection roller 52 and the driven roller 52a.

図7は、制御部100の詳細な構成例を示す図である。この図に示すように、制御部100は、CPU101、ROM(Read Only Memory)102、RAM(Random Access Memory)103、ASIC(Application Specified Integrated Circuit)104、DC(Direct Current)ユニット105、信号処理部106、PFモータドライバ107、CRモータドライバ108、ヘッドドライバ109、不揮発性メモリ110、レンズ信号二値化回路111、および、インターフェース112を有している。なお、制御部100には、紙幅検出のためのPW(Paper Width)センサ(不図示)、光学センサ40、ギャップ検出センサ(不図示)、光学センサ38、および、ロータリエンコーダ113等が接続され、これらのセンサから入力された信号に基づいて、記録ヘッド32、紙送りモータ51、および、キャリッジモータ36等を制御する。   FIG. 7 is a diagram illustrating a detailed configuration example of the control unit 100. As shown in this figure, the control unit 100 includes a CPU 101, a ROM (Read Only Memory) 102, a RAM (Random Access Memory) 103, an ASIC (Application Specified Integrated Circuit) 104, a DC (Direct Unit Current Processing) unit, and a DC (Direct Unit Current Processing) unit. 106, a PF motor driver 107, a CR motor driver 108, a head driver 109, a nonvolatile memory 110, a lens signal binarization circuit 111, and an interface 112. The control unit 100 is connected to a paper width detection PW (Paper Width) sensor (not shown), an optical sensor 40, a gap detection sensor (not shown), an optical sensor 38, a rotary encoder 113, and the like. Based on signals input from these sensors, the recording head 32, the paper feed motor 51, the carriage motor 36, and the like are controlled.

ここで、調整手段としてのCPU101は、ROM102や不揮発性メモリ110等に記憶されている制御プログラムを実行するための演算処理や、その他の必要な演算処理を行う。また、ROM102には、印刷装置を制御するための制御プログラムおよび処理に必要なデータ等が記憶されている。また、ASIC104は、パラレルインターフェース回路を内蔵しており、インターフェース112を介してホストコンピュータ150から供給される印刷信号を受け取ることができる。   Here, the CPU 101 as the adjusting unit performs arithmetic processing for executing a control program stored in the ROM 102, the nonvolatile memory 110, and the like, and other necessary arithmetic processing. The ROM 102 stores a control program for controlling the printing apparatus, data necessary for processing, and the like. The ASIC 104 includes a parallel interface circuit and can receive a print signal supplied from the host computer 150 via the interface 112.

RAM103は、CPU101が実行途中のプログラム/演算途中のデータ等を一時的に格納するメモリである。また、不揮発性メモリ110は、印刷装置の電源切断後も、保持の必要な各種データを記憶するためのメモリである。   The RAM 103 is a memory that temporarily stores programs being executed by the CPU 101 / data being calculated. The nonvolatile memory 110 is a memory for storing various data that needs to be retained even after the printing apparatus is powered off.

なお、ロータリエンコーダ113は、上述のリニアエンコーダとは異なり、スケール113aが円盤状に設けられている。しかしながら、それ以外の構成は、リニアエンコーダと同様となっている。また、本実施の形態では、ロータリエンコーダ113のスケール113aに設けられている複数のスリットのスリット間隔は、1/180インチとなっていると共に、紙送りモータ51が1スリット分だけ回転すると、1/1440インチだけ、レンズシート10が搬送されるように構成されている。しかしながら、スリット間隔および搬送ピッチは、これには限られず、種々設定することが可能である。   The rotary encoder 113 is different from the linear encoder described above in that a scale 113a is provided in a disk shape. However, the other configuration is the same as that of the linear encoder. In this embodiment, the slit interval of the plurality of slits provided on the scale 113a of the rotary encoder 113 is 1/180 inch, and when the paper feed motor 51 rotates by one slit, 1 The lens sheet 10 is configured to be conveyed by / 1440 inches. However, the slit interval and the conveyance pitch are not limited to this, and can be variously set.

また、DCユニット105は、DCモータであるキャリッジモータ36、紙送りモータ51の速度制御を行うための制御回路である。DCユニット105は、CPU101から送られてくる制御命令、後述する信号処理部106からの出力信号等に基づいて、紙送りモータ51およびキャリッジモータ36の速度制御を行うための各種演算を行い、その演算結果に基づいて、紙送りモータドライバ107およびキャリッジモータドライバ108へ、モータ制御信号を送信する。   The DC unit 105 is a control circuit for performing speed control of the carriage motor 36 and the paper feed motor 51 which are DC motors. The DC unit 105 performs various calculations for controlling the speed of the paper feed motor 51 and the carriage motor 36 based on a control command sent from the CPU 101, an output signal from the signal processing unit 106 described later, and the like. Based on the calculation result, a motor control signal is transmitted to the paper feed motor driver 107 and the carriage motor driver 108.

また、信号処理部106は、後述するレンズ信号二値化回路111から出力される2値化信号、および、光学センサ38から出力されるエンコーダ信号が入力される。信号処理部106では、かかる2値化信号およびエンコーダ信号に基づき、レンズピッチの情報を有する2値化信号を反映させた、モータ駆動信号およびPTS(Print Timing Signal)信号を生成し、キャリッジモータ36および記録ヘッド32にそれぞれ出力する。それにより、キャリッジモータ36においては、検出されたレンズピッチに応じた駆動速度で駆動され、また、レンズピッチに応じた位置に画像が印刷される。   Further, the signal processing unit 106 receives a binarized signal output from a lens signal binarization circuit 111 described later and an encoder signal output from the optical sensor 38. Based on the binarized signal and the encoder signal, the signal processing unit 106 generates a motor drive signal and a PTS (Print Timing Signal) signal reflecting the binarized signal having lens pitch information, and the carriage motor 36. And output to the recording head 32. Thereby, the carriage motor 36 is driven at a driving speed corresponding to the detected lens pitch, and an image is printed at a position corresponding to the lens pitch.

PFモータドライバ107は、DCユニット105から供給されたモータ制御信号に応じて、紙送りモータ51を駆動する駆動回路である。CRモータドライバ108は、DCユニット105から供給されたモータ制御信号に応じて、キャリッジモータ36を駆動する駆動回路である。調整手段としてのヘッドドライバ109は、ASIC104から供給された印刷信号に応じて記録ヘッド32に内蔵されているピエゾ素子を駆動し、印刷信号に対応したインク滴を発生して、レンズシート10に所望の画像を印刷する。   The PF motor driver 107 is a drive circuit that drives the paper feed motor 51 in accordance with a motor control signal supplied from the DC unit 105. The CR motor driver 108 is a drive circuit that drives the carriage motor 36 in accordance with a motor control signal supplied from the DC unit 105. A head driver 109 as an adjustment unit drives a piezo element built in the recording head 32 in accordance with a print signal supplied from the ASIC 104, generates ink droplets corresponding to the print signal, and generates a desired image on the lens sheet 10. Print the image.

また、上述の制御部100における各構成は、バス100aによって接続され、各構成の間でデータの授受を可能としている。   Each component in the control unit 100 described above is connected by a bus 100a, and data can be exchanged between the components.

また、印刷装置は、インターフェース112を具備している。このインターフェース112を介して、ホストコンピュータ150が接続されている。なお、このホストコンピュータ150は、前述のように、HDD151を具備しており、このHDD151には、レンズシート10の印刷に対応させて画像を加工するための画像加工プログラムが記憶されている。   The printing apparatus includes an interface 112. A host computer 150 is connected via the interface 112. As described above, the host computer 150 includes the HDD 151, and the HDD 151 stores an image processing program for processing an image corresponding to printing of the lens sheet 10.

この画像加工プログラムは、選択された複数の画像データのうち、該画像データの個数Nに応じて画像データを縦方向または横方向のいずれかの方向のみに1/Nに圧縮する圧縮処理と、この圧縮処理に前後して凸レンズのレンズピッチに応じて画像を分割する画像分割処理と、圧縮処理および画像分割処理が為された短冊状の画像データを、それぞれの凸レンズにおいて適正な部位に配置する配置処理と、を行うものである。なお、画像加工プログラムにおいては、凸レンズの幅(LPI)、画像データの分割方向等、所定の事項を指定可能となっている。また、画像分割処理および圧縮処理を経過すると、細分化画像が形成される。   This image processing program includes a compression process for compressing image data to 1 / N only in either the vertical direction or the horizontal direction according to the number N of the selected image data, Before and after this compression processing, image division processing that divides an image according to the lens pitch of the convex lens, and strip-shaped image data that has undergone compression processing and image division processing are arranged at appropriate portions in each convex lens. Placement processing. In the image processing program, it is possible to specify predetermined items such as the width (LPI) of the convex lens and the division direction of the image data. Further, when the image dividing process and the compression process are passed, a subdivided image is formed.

図8は、図7に示すレンズ信号二値化回路111の詳細を示すブロック図である。この図に示すように、レンズ信号二値化回路111は、バンドパスフィルタ111a、増幅回路111b、および、二値化回路111cを主要な構成要素としている。   FIG. 8 is a block diagram showing details of the lens signal binarization circuit 111 shown in FIG. As shown in this figure, the lens signal binarization circuit 111 includes a band pass filter 111a, an amplification circuit 111b, and a binarization circuit 111c as main components.

ここで、バンドパスフィルタ111aは、受光部43から出力されるアナログ信号から凸レンズ11の周期に対応する信号を選択的に通過させるフィルタである。図9は、100lpiのピッチを有するレンズシート10を用いた場合に、受光部43から出力される信号をフーリエ変換した結果を示す図である。この図に示すように、受光部43から出力される信号には、2kHz付近の信号と、14.4kHz付近の信号の2種類が含まれている。ここで、14.4kHz付近の信号は、印刷装置の駆動周波数(例えば、キャリッジモータ36の駆動周波数)が14.4kHz付近であるため、その影響を受けて出力される信号である。一方、2kHz付近の信号は、キャリッジ31が走査された際に、凸レンズ11によって周期的に透過された光に対応する信号である。したがって、この例では、バンドパスフィルタ111aとしては、2kHz付近の信号を選択的に通過させるフィルタ(2kHzを通過帯域とするフィルタ)を用いればよい。具体的には、2kHzを中心とし、1.8kHzから2.2kHzまでを通過帯域とするバンドパスフィルタを用いる。   Here, the band pass filter 111 a is a filter that selectively passes a signal corresponding to the period of the convex lens 11 from the analog signal output from the light receiving unit 43. FIG. 9 is a diagram illustrating a result of Fourier transform of a signal output from the light receiving unit 43 when the lens sheet 10 having a pitch of 100 lpi is used. As shown in this figure, the signal output from the light receiving unit 43 includes two types of signals, a signal around 2 kHz and a signal around 14.4 kHz. Here, the signal in the vicinity of 14.4 kHz is a signal that is output under the influence of the driving frequency of the printing apparatus (for example, the driving frequency of the carriage motor 36) in the vicinity of 14.4 kHz. On the other hand, a signal in the vicinity of 2 kHz is a signal corresponding to light periodically transmitted by the convex lens 11 when the carriage 31 is scanned. Therefore, in this example, as the band pass filter 111a, a filter that selectively passes a signal in the vicinity of 2 kHz (a filter having a pass band of 2 kHz) may be used. Specifically, a band pass filter having a pass band from 1.8 kHz to 2.2 kHz centered on 2 kHz is used.

なお、凸レンズ11の種類(レンズピッチ)が変化した場合には、受光部43から出力される信号の周波数も変化する。具体的には、解像度が低くなった場合(lpi(lens per inch)が低い場合)は周波数が低くなり、解像度が高くなった場合には周波数が高くなる。したがって、レンズシート10として様々な種類の解像度のものを使用する可能性がある場合には、例えば、最大の解像度と最小の解像度における周波数を予め測定しておき、これらを最大および最小とする帯域を通過帯域に有するバンドパスフィルタ111aを用いることにより、この範囲であればどのような解像度のレンズシート10が選択された場合でもレンズ信号を確実に抽出できる。具体例としては、100lpiの場合には、前述のように、2kHzを中心とし、1.8kHzから2.2kHzまでを通過帯域とするバンドパスフィルタ111aを用いる。また、60lpiの場合には、1.2kHzを中心とし、1.0kHzから1.4kHzまでを通過帯域とするバンドパスフィルタ111aを用いる。したがって、これらの2種類を使用する可能性がある場合には、1.0kHzから2.2kHzまでの通過帯域を有するバンドパスフィルタを用いる。   When the type (lens pitch) of the convex lens 11 changes, the frequency of the signal output from the light receiving unit 43 also changes. Specifically, when the resolution is low (when lpi (lens per inch) is low), the frequency is low, and when the resolution is high, the frequency is high. Accordingly, when there is a possibility of using various kinds of resolutions as the lens sheet 10, for example, the frequencies at the maximum resolution and the minimum resolution are measured in advance, and the bands that maximize and minimize these frequencies are measured. By using the band-pass filter 111a having a pass band within this range, the lens signal can be reliably extracted regardless of the resolution of the lens sheet 10 within this range. As a specific example, in the case of 100 lpi, as described above, the bandpass filter 111a having a center band of 2 kHz and a pass band from 1.8 kHz to 2.2 kHz is used. In the case of 60 lpi, a band pass filter 111a having a center band of 1.2 kHz and a pass band from 1.0 kHz to 1.4 kHz is used. Therefore, when there is a possibility of using these two types, a band pass filter having a pass band from 1.0 kHz to 2.2 kHz is used.

これ以外にも、例えば、バンドパスフィルタ111aとして、スイットキャパシタフィルタを用い、当該フィルタの駆動周波数(スイッチング周波数)を変化させることにより、使用されているレンズシート10の解像度に応じて最適な通過帯域を設定できるようにしてもよい。すなわち、スイッチトキャパシタフィルタでは、その伝達関数は、キャパシタの容量値の比と、スイッチング周期によって決定される。使用されているキャパシタの容量値は固定であるので、スイッチング周期を変更することにより、例えば、バンドパスフィルタの通過帯域を簡単に変更することができる。   In addition to this, for example, a switch capacitor filter is used as the band-pass filter 111a, and an optimum pass band according to the resolution of the lens sheet 10 being used is changed by changing the drive frequency (switching frequency) of the filter. May be set. That is, in the switched capacitor filter, the transfer function is determined by the capacitance value ratio of the capacitor and the switching period. Since the capacitance value of the used capacitor is fixed, for example, the pass band of the band-pass filter can be easily changed by changing the switching period.

増幅回路111bは、バンドパスフィルタ111aを通過した2kHz付近の信号を、所定のゲイン(例えば、40倍)に増幅し、出力する。二値化回路111cは、例えば、シュミットトリガ回路等によって構成され、増幅回路111bの出力信号が所定の閾値を超えた場合には、ハイの状態の信号を出力し、それ以外の場合にはローの状態の信号を出力する。その結果、二値化回路111cからは、ハイまたはローの二値を有するディジタル信号が出力される。   The amplifier circuit 111b amplifies the signal in the vicinity of 2 kHz that has passed through the band-pass filter 111a to a predetermined gain (for example, 40 times) and outputs the amplified signal. The binarization circuit 111c is configured by, for example, a Schmitt trigger circuit or the like, and outputs a high-level signal when the output signal of the amplification circuit 111b exceeds a predetermined threshold, and otherwise outputs a low level signal. The signal of the state is output. As a result, a digital signal having a binary value of high or low is output from the binarization circuit 111c.

図10は、レンズ信号が正常でない場合(例えば、凸レンズ11の形成不良の場合、動作振動もしくはコーティング層の不均一に起因して光が変化してしまう場合、または、検出不良の場合)において、図8に示すレンズ信号二値化回路111から出力されるレンズ信号を補完するための補完手段としてのレンズ信号補完回路の構成例を示す図である。なお、レンズ信号補完回路は、図7に示す信号処理部106に内蔵されている。図10に示すように、レンズ信号補完回路は、カウンタ200、レジスタ201〜203、欠損管理回路204、補完信号生成回路205、スイッチ206を主要な構成要素としている。   FIG. 10 shows the case where the lens signal is not normal (for example, when the convex lens 11 is poorly formed, when the light changes due to operational vibration or non-uniformity of the coating layer, or when the detection is poor). It is a figure which shows the structural example of the lens signal complementation circuit as a complement means for complementing the lens signal output from the lens signal binarization circuit 111 shown in FIG. The lens signal complement circuit is built in the signal processing unit 106 shown in FIG. As shown in FIG. 10, the lens signal complementing circuit includes a counter 200, registers 201 to 203, a defect management circuit 204, a complementing signal generation circuit 205, and a switch 206 as main components.

ここで、カウンタ200は、レンズ信号のポジティブエッジ(レンズ信号がローからハイに変化する箇所)から、つぎのポジティブエッジまでを、図示せぬクロック信号(例えば、CPU信号または周波数生成回路から供給される信号)に同期してカウントアップする。なお、クロック信号は、レンズ信号よりも十分に周期が短い信号である。   Here, the counter 200 is supplied from a clock signal (for example, a CPU signal or a frequency generation circuit) (not shown) from the positive edge of the lens signal (where the lens signal changes from low to high) to the next positive edge. Signal). The clock signal is a signal having a sufficiently shorter cycle than the lens signal.

レジスタ201には、カウンタ200のカウント値(Lカウント値)が格納される。当該レジスタ201は、ポジティブエッジが検出された時点でクリアされ、カウントアップ動作が実行される。   The register 201 stores the count value (L count value) of the counter 200. The register 201 is cleared when a positive edge is detected, and a count-up operation is executed.

レジスタ202には、補完開始フラグが格納される。補完開始フラグは、レンズ信号が正常でない場合に、レンズ信号補完回路による補完動作を開始することを示すフラグである。補完フラグは、ポジティブエッジが検出された時点で、カウンタ200によってクリア(=0)され、レンズ信号が正常でない場合に欠損管理回路204によってセット(=1)される。   The register 202 stores a complement start flag. The complement start flag is a flag indicating that the complement operation by the lens signal complement circuit is started when the lens signal is not normal. The complementary flag is cleared (= 0) by the counter 200 when a positive edge is detected, and is set (= 1) by the defect management circuit 204 when the lens signal is not normal.

レジスタ203には、代表レンズ値が格納される。代表レンズ値とは、凸レンズ11の間隔の代表的な値であり、例えば、印刷開始前にキャリッジ31によってレンズシート10を走査し、得られた複数のレンズ間隔値の平均値としたり、印刷を行おうとする凸レンズの直前の凸レンズのレンズ間隔としたりすることができる。なお、レンズ間隔の求め方の詳細については、後述する。   The register 203 stores representative lens values. The representative lens value is a representative value of the interval between the convex lenses 11. For example, the lens sheet 10 is scanned by the carriage 31 before printing is started, and an average value of the obtained plurality of lens interval values is obtained. For example, the lens interval of the convex lens immediately before the convex lens to be performed can be set. Details of how to obtain the lens interval will be described later.

欠損管理回路204は、レジスタ201に格納されているLカウント値が、レジスタ203に格納されている代表レンズ値以上となった場合には、レンズ信号が正常でないとして、レジスタ202の補完開始フラグをセットし、レジスタ201のLカウント値をクリアする。なお、Lカウント値が代表レンズ値以上になった場合に、直ちに補完動作を開始するのではなく、例えば、Lカウント値が代表レンズ値よりも所定のカウント値(例えば、10カウント)だけ上回った場合に、補完動作を開始することも可能である。そのような方法によれば、動作範囲に余裕を持たせることで誤動作を防止できる。   If the L count value stored in the register 201 is greater than or equal to the representative lens value stored in the register 203, the defect management circuit 204 determines that the lens signal is not normal and sets a complement start flag in the register 202. Set and clear the L count value in the register 201. When the L count value becomes equal to or greater than the representative lens value, the complementary operation is not immediately started. For example, the L count value exceeds the representative lens value by a predetermined count value (for example, 10 counts). In some cases, it is also possible to start the complementary operation. According to such a method, malfunction can be prevented by providing a margin in the operation range.

補完信号生成回路205は、補完開始フラグがセットされた場合に出力される補完信号を生成する回路である。すなわち、補完信号生成回路205は、レジスタ201のLカウント値とレジスタ203の代表レンズ値とを比較し、例えば、Lカウント値が代表レンズ値の1/2未満である場合には、その出力をハイの状態とし、Lカウント値が代表レンズ値の1/2以上である場合には、その出力をローの状態とする。   The complementary signal generation circuit 205 is a circuit that generates a complementary signal that is output when the complementary start flag is set. That is, the complementary signal generation circuit 205 compares the L count value of the register 201 with the representative lens value of the register 203. For example, when the L count value is less than ½ of the representative lens value, the output is output. When the L count value is ½ or more of the representative lens value, the output is set to the low state.

スイッチ206は、レジスタ202に格納されている補完開始フラグがクリアされている場合には、レンズ信号が正常であるとしてレンズ信号を選択して出力し、セットされている場合にはレンズ信号が正常でないとして補完信号生成回路205からの補完信号を選択して出力する。   The switch 206 selects and outputs the lens signal assuming that the lens signal is normal when the complement start flag stored in the register 202 is cleared, and when set, the lens signal is normal. If not, the complementary signal from the complementary signal generation circuit 205 is selected and output.

つぎに、本発明の第1の実施の形態の動作を図11に示すフローチャートを参照して説明する。   Next, the operation of the first embodiment of the present invention will be described with reference to the flowchart shown in FIG.

ステップS10:ホストコンピュータ150は、印刷しようとする画像を加工する処理を実行する。具体的には、ホストコンピュータ150は、HDD151に格納されている画像加工用プログラムを実行し、画像の加工を行う。ここで、レンズシート10に対して立体画像またはモーション画像を印刷する場合は、対象となる複数の画像をそれぞれ短冊状に分解した後に圧縮処理を施し、得られた画像を順番に並べる。例えば、立体画像の場合には、視点が異なる2枚の画像A,Bを、レンズシート10のレンズ解像度に合わせてそれぞれ同一形状の短冊状の画像(画像As,Bs)に分解し、短冊状の画像AsとBsとを交互に並べてストライプ状の画像を生成する。   Step S10: The host computer 150 executes processing for processing an image to be printed. Specifically, the host computer 150 executes an image processing program stored in the HDD 151 and processes the image. Here, when a three-dimensional image or a motion image is printed on the lens sheet 10, a plurality of target images are each decomposed into strips and then subjected to compression processing, and the obtained images are arranged in order. For example, in the case of a three-dimensional image, two images A and B having different viewpoints are decomposed into strip-shaped images (images As and Bs) having the same shape according to the lens resolution of the lens sheet 10, respectively. The images As and Bs are alternately arranged to generate a striped image.

ステップS11:ホストコンピュータ150は、ステップS10によって生成された画像(通常の画像またはストライプ状の画像)に対して、解像度変換、色変換処理、ハーフトーン処理等を施し、印刷装置によって印刷するためのデータ(印刷データ)に変換し、印刷装置に供給する。   Step S11: The host computer 150 performs resolution conversion, color conversion processing, halftone processing, and the like on the image (ordinary image or striped image) generated in Step S10, and prints it by the printing apparatus. Data (print data) is converted and supplied to the printing apparatus.

ステップS12:印刷装置のCPU101は、初期設定を行う。すなわち、CPU101は、例えば、レンズシート10のレンズの解像度に応じてレンズ信号二値化回路111のバンドパスフィルタ111aの通過帯域を初期設定する。具体的には、レンズシート10の解像度が100lpiである場合には、前述のように2kHzを中心とし、1.8kHzから2.2kHzまでを通過帯域とする。なお、印刷解像度に関するデータについては、ホストコンピュータ150から直接得るようにしてもよいし、または、印刷装置の図示せぬ操作部から入力されるようにしてもよい。   Step S12: The CPU 101 of the printing apparatus performs initial settings. That is, the CPU 101 initializes the pass band of the band pass filter 111a of the lens signal binarization circuit 111 according to the lens resolution of the lens sheet 10, for example. Specifically, when the resolution of the lens sheet 10 is 100 lpi, the center is 2 kHz as described above, and the pass band is from 1.8 kHz to 2.2 kHz. The data relating to the print resolution may be obtained directly from the host computer 150, or may be input from an operation unit (not shown) of the printing apparatus.

バンドパスフィルタ111a等の設定が完了すると、CPU101は、紙送りモータ51を駆動し、レンズシート10を所定の位置(印刷開始位置)まで移動させる。具体的には、レンズシート10の先端部分が光学センサ40の直下にくるようにレンズシート10をY方向に移動させる。   When the setting of the band pass filter 111a and the like is completed, the CPU 101 drives the paper feed motor 51 to move the lens sheet 10 to a predetermined position (print start position). Specifically, the lens sheet 10 is moved in the Y direction so that the front end portion of the lens sheet 10 is directly below the optical sensor 40.

ステップS13:CPU101は、発光部22の発光を開始させるとともに、レンズ信号二値化回路101の動作を開始させる。その結果、発光部22から照射された光は、レンズシート10を透過して、受光部43に入射され、凸レンズ11に応じた電気信号が出力される。レンズ信号二値化回路111は、受光部43から出力されたアナログ信号をディジタル信号に変換して出力する。   Step S13: The CPU 101 starts the light emission of the light emitting unit 22, and starts the operation of the lens signal binarization circuit 101. As a result, the light emitted from the light emitting unit 22 is transmitted through the lens sheet 10 and is incident on the light receiving unit 43, and an electric signal corresponding to the convex lens 11 is output. The lens signal binarization circuit 111 converts the analog signal output from the light receiving unit 43 into a digital signal and outputs the digital signal.

ステップS14:CPU101は、ホストコンピュータ150に対して、印刷データが存在するか否かを問い合わせ、存在する場合にはステップS15に進み、それ以外の場合にはステップS20に進む。   Step S14: The CPU 101 inquires of the host computer 150 whether or not print data exists, and if it exists, the process proceeds to step S15. Otherwise, the process proceeds to step S20.

ステップS15:CPU101は、光学センサ38からの出力信号を参照し、キャリッジ31の現在位置を検出し、その位置に応じた駆動信号を生成してキャリッジモータ36に供給する。その結果、キャリッジ31は主走査方向に往復動作を開始する。   Step S15: The CPU 101 refers to the output signal from the optical sensor 38, detects the current position of the carriage 31, generates a drive signal corresponding to the position, and supplies it to the carriage motor 36. As a result, the carriage 31 starts to reciprocate in the main scanning direction.

ステップS16:CPU101は、ホストコンピュータ150から1ライン分の印刷データを受信し、受信したデータに応じてインクを吐出する処理を実行する。なお、このとき、吐出のタイミングは、以下の処理によって補完されたレンズ信号に基づいて調整される。したがって、凸レンズ11内に画像を正確に印刷することができるとともに、後述するように凸レンズ11に欠損等が生じている場合であっても、凸レンズ11内に画像を確実に印刷することができる。   Step S16: The CPU 101 receives print data for one line from the host computer 150, and executes a process of ejecting ink according to the received data. At this time, the ejection timing is adjusted based on the lens signal supplemented by the following processing. Therefore, an image can be accurately printed in the convex lens 11 and an image can be reliably printed in the convex lens 11 even when a defect or the like is generated in the convex lens 11 as described later.

すなわち、印刷時においては、発光部22から光が照射されている。発光部22から照射された光は、レンズシート10の凸レンズ11、インク吸収層12、および、インク透過層13を透過し、受光部43に入射される。図12(A)に示すように、受光部43と凸レンズ11の光軸が一致する場合には、凸レンズ11によって集光された光の多くが受光部43に入射するので、受光部43の出力信号のレベルが高くなる。一方、図12(B)に示すように、これらの光軸がずれている場合は、凸レンズ11によって集光された光の多くが受光部43に入射されないので、受光部43の出力信号のレベルが低くなる。   That is, light is emitted from the light emitting unit 22 during printing. The light emitted from the light emitting unit 22 passes through the convex lens 11, the ink absorption layer 12, and the ink transmission layer 13 of the lens sheet 10 and enters the light receiving unit 43. As shown in FIG. 12A, when the optical axes of the light receiving unit 43 and the convex lens 11 coincide with each other, most of the light collected by the convex lens 11 enters the light receiving unit 43. The signal level increases. On the other hand, as shown in FIG. 12B, when these optical axes are deviated, most of the light collected by the convex lens 11 is not incident on the light receiving unit 43, so the level of the output signal of the light receiving unit 43 Becomes lower.

図13は、凸レンズ11、アナログ信号(受光部43の出力信号)、ディジタル信号(二値化回路111cの出力信号)、レンズ間隔、および、補完レンズ信号の関係を示す図である。なお、この例では、図13(A)に示すように、一部の凸レンズ11bが形成不良となっている。   FIG. 13 is a diagram illustrating a relationship among the convex lens 11, an analog signal (output signal of the light receiving unit 43), a digital signal (output signal of the binarization circuit 111c), a lens interval, and a complementary lens signal. In this example, as shown in FIG. 13A, some convex lenses 11b are poorly formed.

図13(B)に示すように、受光部43から出力されるアナログ信号は、検出対象である凸レンズ(図13(A)参照)の頂部11aで最大となり、徐々に減少する信号である。このような信号は、バンドパスフィルタ111aに供給され、高調波成分(駆動信号)および低域成分(例えば、直流成分および商用電源信号(50Hzの信号))が減衰され、出力される。   As shown in FIG. 13B, the analog signal output from the light receiving unit 43 is a signal that becomes maximum and gradually decreases at the top 11a of the convex lens (see FIG. 13A) to be detected. Such a signal is supplied to the band-pass filter 111a, and the harmonic component (driving signal) and the low-frequency component (for example, DC component and commercial power supply signal (50 Hz signal)) are attenuated and output.

バンドパスフィルタ111aから出力された信号は、増幅回路111bに供給され、そこで、例えば、40倍に増幅されて出力される。増幅回路111bから出力された信号は、二値化回路111cに供給され、そこで、所定の閾値と比較される。そして、入力信号が閾値以上である場合には二値化回路111cは出力信号をハイの状態にし、入力信号が閾値未満である場合には二値化回路111cは出力信号をローの状態にする。その結果、二値化回路111cからは、図13(C)に示すように、各凸レンズ11の所定の位置において立ち上がり、所定の位置において立ち下がるパルス列信号が生成されて出力される。   The signal output from the band pass filter 111a is supplied to the amplifier circuit 111b, where it is amplified by, for example, 40 times and output. The signal output from the amplifier circuit 111b is supplied to the binarization circuit 111c where it is compared with a predetermined threshold value. When the input signal is greater than or equal to the threshold, the binarization circuit 111c sets the output signal to a high state, and when the input signal is less than the threshold, the binarization circuit 111c sets the output signal to a low state. . As a result, as shown in FIG. 13C, the binarization circuit 111c generates and outputs a pulse train signal that rises at a predetermined position of each convex lens 11 and falls at a predetermined position.

ここで、形成不良の凸レンズ11bが存在する場合、図13(B)に示すように、アナログ信号の波高が十分とはならないため、図13(C)に示すようにディジタル信号は、ハイの状態とはならず、ローの状態を維持してしまう。このような場合、凸レンズ11bに対しては印刷が行われなくなってしまう。そこで、本実施の形態では、図10に示すレンズ信号補完回路において、図14に示す処理を実行することにより、レンズ信号を補完し、凸レンズ11bに対しても画像が印刷されるようにする。図14に示すフローチャートの処理の流れについて、以下に説明する。この処理が開始されると、以下のステップが実行される。   Here, when there is a poorly formed convex lens 11b, the analog signal wave height is not sufficient as shown in FIG. 13B, so the digital signal is in the high state as shown in FIG. 13C. Instead, the low state is maintained. In such a case, printing is not performed on the convex lens 11b. Therefore, in the present embodiment, the lens signal complementing circuit shown in FIG. 10 performs the process shown in FIG. 14 to complement the lens signal so that an image is printed also on the convex lens 11b. The processing flow of the flowchart shown in FIG. 14 will be described below. When this process is started, the following steps are executed.

ステップS30:CPU101は、レンズ信号を出力する範囲であるか否かを判定し、出力範囲であると判定した場合はステップS31に進み、それ以外の場合には処理を終了する。すなわち、CPU101は、図15(A)に示すように、レンズシート10が存在する補完対象領域であるか否かに基づいて判定し、補完対象領域である場合にはステップS31に進む。なお、補完対象領域であるか否かの判定方法としては、例えば、図示せぬ紙検出センサからの出力を参照し、レンズシートが存在すると判定された場合には、補完対象領域であると判定する。あるいは、キャリッジ31が走査中に、最初のレンズ信号が検出されてから最後のレンズ信号が検出されるまでは補完対象領域であると判定する。なお、最初のレンズ信号か否かについては、最初のポジティブエッジであるか否かにより判定する。また、最後のレンズ信号か否かについては、レンズ信号間隔がある一定間隔以上になった場合、キャリッジ31の位置が印刷画像サイズを超えた場合、または、紙検出センサによりレンズシートが無くなったと判定された場合に最後のレンズ信号と判定する。   Step S30: The CPU 101 determines whether or not it is within the range for outputting the lens signal. If it is determined that it is within the output range, the process proceeds to step S31, and otherwise the process ends. That is, as shown in FIG. 15A, the CPU 101 makes a determination based on whether or not the lens sheet 10 is a complementation target region, and proceeds to step S31 if it is a complementation target region. In addition, as a method for determining whether or not the region is a complement target region, for example, with reference to an output from a paper detection sensor (not shown), if it is determined that a lens sheet is present, the target region is determined to be a supplement target region. To do. Alternatively, during the scanning of the carriage 31, it is determined that the region is the complement target region from when the first lens signal is detected until the last lens signal is detected. Whether or not the lens signal is the first is determined by whether or not it is the first positive edge. Further, as to whether or not it is the last lens signal, it is determined that the lens signal interval exceeds a certain interval, the position of the carriage 31 exceeds the print image size, or the paper sheet is detected by the paper detection sensor. If so, it is determined as the last lens signal.

ステップS31:カウンタ200は、レンズ信号のポジティブエッジを検出したか否かを判定し、ポジティブエッジを検出した場合にはステップS32に進み、それ以外の場合にはステップS33に進む。例えば、図13(C)に示すディジタル信号において、図13(D)に示すタイミングで示されるポジティブエッジ(例えば、PE30〜33)が検出された場合には、ステップS32に進み、それ以外の場合にはステップS33に進む。例えば、ポジティブエッジ30が検出された場合には、ステップS32に進む。   Step S31: The counter 200 determines whether or not a positive edge of the lens signal has been detected. If a positive edge is detected, the process proceeds to step S32. Otherwise, the process proceeds to step S33. For example, in the digital signal shown in FIG. 13C, when a positive edge (for example, PE30 to 33) shown at the timing shown in FIG. 13D is detected, the process proceeds to step S32, and otherwise Then, the process proceeds to step S33. For example, when the positive edge 30 is detected, the process proceeds to step S32.

ステップS32:カウンタ200は、レジスタ201に格納されているLカウント値をクリアするとともに、レジスタ202に格納されている補完開始フラグをクリアする。この結果、Lカウント値は、“0”となってカウント動作が開始される。また、補完開始フラグが“0”となることにより、スイッチ206は、レンズ信号を選択する。   Step S32: The counter 200 clears the L count value stored in the register 201 and clears the complement start flag stored in the register 202. As a result, the L count value becomes “0” and the count operation is started. Further, when the complement start flag becomes “0”, the switch 206 selects the lens signal.

ステップS33:カウンタ200は、図示せぬクロック信号に基づいて、レジスタ201に格納されているLカウント値を1インクリメントする。なお、ステップS32においてLカウント値がクリアされると、それ以降の処理では、ステップS33の処理に分岐し、Lカウント値が1ずつインクリメントされる。   Step S33: The counter 200 increments the L count value stored in the register 201 by 1 based on a clock signal (not shown). When the L count value is cleared in step S32, the subsequent processing branches to the processing in step S33, and the L count value is incremented by one.

ステップS34:欠損管理回路204は、レジスタ201に格納されているLカウント値が、レジスタ203に格納されている代表レンズ値以上となったか否かを判定し、代表レンズ値以上となった場合にはステップS35に進み、それ以外の場合にはステップS36に進む。具体的説明すると、図13(C),(D)に示すように、レンズ信号が正常な場合には、例えば、PE30およびPE31のように、時間Tの間隔でポジティブエッジが検出される。しかしながら、レンズ信号が正常でない場合には、PE31が検出されてから時間Tが経過しても、つぎのポジティブエッジは検出されない。この場合、Lカウント値はリセットされないため、時間Tの代表的な値である代表レンズ値以上となる。そのような場合には、ステップS34において、YESと判定されてステップS35に進むことになる。   Step S34: The defect management circuit 204 determines whether or not the L count value stored in the register 201 is greater than or equal to the representative lens value stored in the register 203. Proceeds to step S35, otherwise proceeds to step S36. More specifically, as shown in FIGS. 13C and 13D, when the lens signal is normal, positive edges are detected at intervals of time T, such as PE30 and PE31. However, if the lens signal is not normal, the next positive edge is not detected even if time T elapses after PE 31 is detected. In this case, since the L count value is not reset, it is equal to or greater than the representative lens value that is a representative value of time T. In such a case, YES is determined in step S34, and the process proceeds to step S35.

なお、代表レンズ値としては、直前の凸レンズ11において検出されたLカウント値を利用するか、または、直前の1走査におけるレンズ値の平均値を利用する。また、レンズ値そのものではなく、例えば、レンズ値に所定の値(例えば、5〜10程度の値)を加算した値を代表レンズ値として使用することも可能である。そのような方法によれば、レンズ信号が正常であるが、誤差によってレンズ信号が通常よりも長い場合(時間Tが通常より長い場合)に、補完レンズ信号ではなく、レンズ信号が選択される。このため、レンズの幅に基づいてより忠実に印刷することができる。   As the representative lens value, an L count value detected in the immediately preceding convex lens 11 is used, or an average value of lens values in the immediately preceding one scan is used. Further, instead of the lens value itself, for example, a value obtained by adding a predetermined value (for example, a value of about 5 to 10) to the lens value can be used as the representative lens value. According to such a method, when the lens signal is normal but the lens signal is longer than usual due to an error (when the time T is longer than usual), the lens signal is selected instead of the complementary lens signal. For this reason, it can print more faithfully based on the width of the lens.

ステップS35:補完信号生成回路205は、レジスタ203に格納されている代表レンズ値と、レジスタ201に格納されているLカウント値を参照して、補完レンズ信号を生成する。具体的には、例えば、代表レンズ値が1000である場合には、0〜499の範囲でハイの状態となり、500〜999の範囲でローの状態となる信号を出力する。なお、より正確には、Lカウント値は、ポジティブエッジが入力されないため、その前のポジティブエッジから継続してインクリメントされる。したがって、Lカウント値から代表レンズ値を減算した値が、0〜499の範囲でハイの状態となり、500〜999の範囲でローの状態となる信号を出力する。   Step S35: The complementary signal generation circuit 205 generates a complementary lens signal with reference to the representative lens value stored in the register 203 and the L count value stored in the register 201. Specifically, for example, when the representative lens value is 1000, a signal that is high in the range of 0 to 499 and low in the range of 500 to 999 is output. More precisely, since the positive edge is not input, the L count value is continuously incremented from the previous positive edge. Accordingly, a signal is output in which the value obtained by subtracting the representative lens value from the L count value is in the high state in the range of 0 to 499 and is in the low state in the range of 500 to 999.

このとき、レジスタ202の補完開始フラグは、セットされた状態となっているので、スイッチ206は、補完信号生成回路205からの補完レンズ信号を選択し、補完レンズ信号が出力される。   At this time, since the complementary start flag of the register 202 is set, the switch 206 selects the complementary lens signal from the complementary signal generation circuit 205 and outputs the complementary lens signal.

ステップS36:スイッチ206は、レジスタ202の補完開始フラグがリセットされていることから、オリジナルのレンズ信号(以下、「原レンズ信号」と称する)を選択し、出力する。   Step S36: Since the complement start flag of the register 202 has been reset, the switch 206 selects and outputs an original lens signal (hereinafter referred to as “original lens signal”).

図13(A)に示すように、形成不良である凸レンズ11bが存在する場合、図13(C)に示すように、レンズ信号が抜けた状態となる。その場合、図10に示す、欠損管理回路204がLカウント値が代表レンズ値以上になったことを検出し、補完開始フラグをセットする。その結果、補完信号生成回路205によって生成された補完信号が選択されて出力されるので、図13(E)に示すように、正常なレンズ信号が出力される。このため、正常に印刷を行うことができる。   As shown in FIG. 13A, when there is a convex lens 11b that is poorly formed, the lens signal is lost as shown in FIG. 13C. In this case, the defect management circuit 204 shown in FIG. 10 detects that the L count value is equal to or greater than the representative lens value, and sets a complement start flag. As a result, the complementary signal generated by the complementary signal generation circuit 205 is selected and output, so that a normal lens signal is output as shown in FIG. For this reason, printing can be performed normally.

図16は、キャリッジ31が図1の右から左へ走査される場合のキャリッジ31の移動速度と、各部の信号の関係を示すタイミング図である。この図に示すように、キャリッジ31の動作は、停止区間、加速区間、定速区間、減速区間、および、停止区間に分けられる。停止区間では、キャリッジ31は停止した状態となる。加速区間では、キャリッジ31は所定の加速度で加速されその移動速度を増す。定速区間では、キャリッジ31は一定の速度で移動する。この区間において印刷がなされるため、この区間の幅は印刷媒体であるレンズシート10の幅よりも広くなっている(図16(B)参照)。減速区間では、キャリッジ31が減速される。   FIG. 16 is a timing chart showing the relationship between the movement speed of the carriage 31 and the signal of each part when the carriage 31 is scanned from right to left in FIG. As shown in this figure, the operation of the carriage 31 is divided into a stop section, an acceleration section, a constant speed section, a deceleration section, and a stop section. In the stop section, the carriage 31 is stopped. In the acceleration section, the carriage 31 is accelerated at a predetermined acceleration to increase its moving speed. In the constant speed section, the carriage 31 moves at a constant speed. Since printing is performed in this section, the width of this section is wider than the width of the lens sheet 10 that is a printing medium (see FIG. 16B). In the deceleration zone, the carriage 31 is decelerated.

キャリッジ31が図16(A)に示すように移動すると、定速区間のレンズシート10が存在する区間では、レンズ信号二値化回路111からは図16(C)に示すような二値化されたレンズ信号が出力される。このとき、レンズ信号が正常でない場合、前述した処理により、レンズ信号が補正されて正常な信号とされる。   When the carriage 31 moves as shown in FIG. 16A, the lens signal binarization circuit 111 performs binarization as shown in FIG. 16C in the section where the lens sheet 10 in the constant speed section exists. Lens signal is output. At this time, if the lens signal is not normal, the lens signal is corrected to the normal signal by the above-described processing.

このようなレンズ信号は、ASIC104に供給され、そこで1つの凸レンズ11内に印刷する画素数に応じて定数倍され、PTS信号が生成される。例えば、主走査方向の印刷解像度が1440dpiである場合にレンズピッチが90lpiである場合、1つの凸レンズ11内には16(=1440/90)個の画素が印刷されるため、ASIC104は、レンズ信号を16倍した信号を生成して出力する(図16(E)参照)。ヘッドドライバ109は、ASIC104から供給されたPTS信号に基づいて記録ヘッド32を制御し、レンズシート10の端が検出されてからある一定時間後に吐出を開始し、各ノズルからPTS信号に同期してインクを吐出させて所望の画像を印刷させる(図11のステップS16)。なお、レンズシート10の端部が検出されてからある一定時間後に吐出を開始するのではなく、当該吐出を開始する位置に対応するエンコーダの値(絶対値)が検出された場合に、吐出を開始するようにしてもよい。   Such a lens signal is supplied to the ASIC 104, where it is multiplied by a constant according to the number of pixels printed in one convex lens 11, and a PTS signal is generated. For example, when the print resolution in the main scanning direction is 1440 dpi and the lens pitch is 90 lpi, 16 (= 1440/90) pixels are printed in one convex lens 11, so that the ASIC 104 receives the lens signal. Is generated and output (see FIG. 16E). The head driver 109 controls the recording head 32 based on the PTS signal supplied from the ASIC 104, starts discharging after a certain time from the end of the lens sheet 10 being detected, and synchronizes with the PTS signal from each nozzle. Ink is ejected to print a desired image (step S16 in FIG. 11). It should be noted that the ejection is not performed when the value (absolute value) of the encoder corresponding to the position where the ejection is started is detected instead of starting the ejection after a certain period of time after the end of the lens sheet 10 is detected. You may make it start.

凸レンズ11は、製造時の精度および放置されている環境の湿度に応じてレンズ間隔が変化する。しかしながら、上述のように各凸レンズ11を直接検出してPTS信号を生成し、当該生成されたPTS信号に応じてインクを吐出することにより、レンズ間隔に応じて画像を正確に印刷することができる。   The convex lens 11 has a lens interval that varies depending on the accuracy of manufacturing and the humidity of the environment in which it is left. However, as described above, each convex lens 11 is directly detected to generate a PTS signal, and by ejecting ink according to the generated PTS signal, an image can be printed accurately according to the lens interval. .

一方、DCユニット105は、光学センサ38から出力されるENC信号を入力する。図16(D)に示すように、ENC信号はキャリッジ31の速度に応じた間隔を有する信号である。すなわち、キャリッジ31の速度が遅い場合には、パルスの間隔が開いた信号となり、速度が速い場合には間隔が詰まった信号となる。DCユニット105は、このようなENC信号を入力し、信号の間隔を参照することにより速度を検出して、加速、定速、および、減速の制御を行うとともに、ENC信号のパルス数をカウントすることにより、キャリッジ31の現在位置を検出し、加速および減速を行う位置を判断する。   On the other hand, the DC unit 105 inputs an ENC signal output from the optical sensor 38. As shown in FIG. 16D, the ENC signal is a signal having an interval corresponding to the speed of the carriage 31. That is, when the speed of the carriage 31 is low, the signal is a signal with a large interval between pulses, and when the speed is high, the signal is close. The DC unit 105 inputs such an ENC signal, detects the speed by referring to the signal interval, controls acceleration, constant speed, and deceleration, and counts the number of pulses of the ENC signal. As a result, the current position of the carriage 31 is detected, and the position for acceleration and deceleration is determined.

図11のフローチャートの説明に戻る。   Returning to the flowchart of FIG.

ステップS17:CPU101は、1走査分の印刷処理が終了したか否かを判定し、終了した場合にはステップS18に進み、それ以外の場合にはステップS16に戻って同様の処理を繰り返す。   Step S17: The CPU 101 determines whether or not the printing process for one scan has been completed. If the printing process has been completed, the process proceeds to step S18. Otherwise, the process returns to step S16 and the same process is repeated.

ステップS18:CPU101は、キャリッジ31を逆方向に移動させる。すなわち、図2に示す記録ヘッド32の場合、光学センサ40は右上部に配置されている。したがって、図1においてキャリッジ31が右から左へ走査する場合には、光学センサ40が記録ヘッド32に先行するので、前述のような動作が可能になる。しかしながら、キャリッジ31が左から右へ走査する場合には、光学センサ40が記録ヘッド32に後行するため、上述のような動作はできない。そこで、例えば、キャリッジ31が左から右へ移動する場合には、キャリッジ31を移動するのみで印刷を行わないようにする。   Step S18: The CPU 101 moves the carriage 31 in the reverse direction. That is, in the case of the recording head 32 shown in FIG. 2, the optical sensor 40 is disposed at the upper right part. Therefore, when the carriage 31 scans from right to left in FIG. 1, the optical sensor 40 precedes the recording head 32, so that the operation as described above is possible. However, when the carriage 31 scans from left to right, the optical sensor 40 follows the recording head 32, and thus the above-described operation cannot be performed. Therefore, for example, when the carriage 31 moves from left to right, only the carriage 31 is moved and printing is not performed.

ステップS19:1ライン分の印刷動作が完了すると、CPU101は紙送りモータ51を駆動して、レンズシート10を所定の距離だけ副走査方向に移動させる。そして、CPU101は、ステップS14に戻って同様の処理を繰り返す。すなわち、CPU101は、ホストコンピュータ150からつぎの1ライン分の印刷データを受信し、前述の場合と同様の処理により当該印刷データを印刷する処理を実行する。このような処理を繰り返すことにより、所望の画像をレンズシート10に印刷することができる。   Step S19: When the printing operation for one line is completed, the CPU 101 drives the paper feed motor 51 to move the lens sheet 10 in the sub-scanning direction by a predetermined distance. Then, the CPU 101 returns to step S14 and repeats the same processing. That is, the CPU 101 receives print data for the next line from the host computer 150, and executes a process for printing the print data by the same process as described above. By repeating such processing, a desired image can be printed on the lens sheet 10.

ステップS20:全ての印刷データの印刷が完了すると、CPU101は、発光部22が発光状態となっている場合には発光部22の発光を停止させる。   Step S20: When printing of all the print data is completed, the CPU 101 stops the light emission of the light emitting unit 22 when the light emitting unit 22 is in the light emitting state.

ステップS21:CPU101は、紙送りモータ51を駆動し、レンズシート10を排出する処理を実行する。この結果、印刷が完了したレンズシート10は、印刷装置の外部に排出される。   Step S21: The CPU 101 executes a process of driving the paper feed motor 51 and discharging the lens sheet 10. As a result, the lens sheet 10 that has been printed is discharged to the outside of the printing apparatus.

以上に説明したように、本発明の第1の実施の形態では、凸レンズ11の位置を光学センサ40によって検出し、検出された位置に応じて画像を印刷するようにしたので、例えば、レンズシート10の製造時の精度が低い場合または環境の湿度によってレンズのピッチが変化した場合でも画像を各レンズの幅内に正確に印刷することが可能になる。   As described above, in the first embodiment of the present invention, the position of the convex lens 11 is detected by the optical sensor 40, and an image is printed according to the detected position. Even when the manufacturing accuracy of the lens 10 is low or when the pitch of the lens changes due to the humidity of the environment, an image can be accurately printed within the width of each lens.

また、第1の実施の形態では、レンズ信号が正常でない場合には、レンズ信号補完回路により補完動作を行うことにより、正常なレンズ信号を生成するようにしたので、例えば、凸レンズ11の形成不良の場合、動作振動もしくはコーティング層の不均一に起因して光が変化してしまう場合、または、検出不良の場合であっても、印刷を正常に行うことが可能になる。   In the first embodiment, when the lens signal is not normal, a normal lens signal is generated by performing a complementing operation by the lens signal complementing circuit. In this case, it is possible to perform printing normally even when the light changes due to operational vibration or non-uniformity of the coating layer, or even in the case of detection failure.

また、第1の実施の形態では、バンドパスフィルタ111aを設け、凸レンズ11のレンズピッチに応じた信号以外の成分を減衰させるようにしたので、ノイズ成分を除去して凸レンズ11の位置を確実に検出することができる。   In the first embodiment, the band pass filter 111a is provided to attenuate components other than the signal corresponding to the lens pitch of the convex lens 11. Therefore, the noise component is removed to ensure the position of the convex lens 11. Can be detected.

なお、以上の第1の実施の形態では、プラテン20にレンズシート10を直接載置する場合について説明したが、例えば、ある程度の厚みを有するトレイにレンズシート10を載置して、当該トレイとともに印刷装置内部に挿入して印刷することも可能である。その場合には、トレイのレンズシート10が載置される部分の全体(または一部)に、発光部を設けておけばよい。   In the first embodiment described above, the case where the lens sheet 10 is directly placed on the platen 20 has been described. However, for example, the lens sheet 10 is placed on a tray having a certain thickness, and the tray 10 and It is also possible to print by inserting into the printing apparatus. In that case, a light emitting part may be provided on the whole (or part) of the part on which the lens sheet 10 of the tray is placed.

また、以上の第1の実施の形態では、プラテン20と記録ヘッド32との距離は一定としたが、これらの距離をレンズシート10の厚さに応じて調整可能としてもよい。その場合、発光部22と光学センサ40との距離が変化するため、距離が大きい場合には反射光が受光部43に全て入射されないことも想定される。したがって、例えば、これらの距離を調整可能とする場合は、十分な受光量が得られる範囲に調整可能範囲を限定することが望ましい。   In the first embodiment described above, the distance between the platen 20 and the recording head 32 is constant. However, these distances may be adjustable according to the thickness of the lens sheet 10. In this case, since the distance between the light emitting unit 22 and the optical sensor 40 changes, it is assumed that not all the reflected light is incident on the light receiving unit 43 when the distance is large. Therefore, for example, when these distances can be adjusted, it is desirable to limit the adjustable range to a range in which a sufficient amount of received light can be obtained.

なお、以上の実施の形態では、キャリッジ31が図1の右から左に移動する際に印刷を行い、左から右へ移動する際には印刷を行わないようにしたが、例えば、図17に示すように、キャリッジ31の裏面に光学センサ40とは別の検出手段としての光学センサ400を設けるようにし、左から右へ移動する際には光学センサ400からの信号に基づいて印刷を行うことも可能である。この例では、キャリッジ31の裏面には、記録ヘッド32の中心線に対称な位置に光学センサ400が新たに設けられている。なお、光学センサ400の構造は、光学センサ40と同様であり、発光部22から照射され、レンズシート10を透過した光の強弱に応じた電気信号を出力する。また、図8に示すバンドパスフィルタ111aに対しては、キャリッジ31が右から左へ移動する際には、光学センサ40からの出力を入力し、左から右へ移動する際には、光学センサ400からの出力を入力する。なお、これ以降の処理は、前述の場合と同様である。   In the above embodiment, printing is performed when the carriage 31 moves from right to left in FIG. 1, and printing is not performed when the carriage 31 moves from left to right. For example, FIG. As shown in the figure, an optical sensor 400 as a detection means different from the optical sensor 40 is provided on the back surface of the carriage 31, and printing is performed based on a signal from the optical sensor 400 when moving from left to right. Is also possible. In this example, an optical sensor 400 is newly provided on the back surface of the carriage 31 at a position symmetrical to the center line of the recording head 32. The structure of the optical sensor 400 is the same as that of the optical sensor 40, and outputs an electrical signal corresponding to the intensity of light emitted from the light emitting unit 22 and transmitted through the lens sheet 10. In addition, when the carriage 31 moves from right to left, the output from the optical sensor 40 is input to the bandpass filter 111a shown in FIG. 8, and when the carriage 31 moves from left to right, the optical sensor. The output from 400 is input. The subsequent processing is the same as that described above.

このようなキャリッジ31を用いれば、キャリッジ31がどちらに移動する際にも印刷を行うことができるので、印刷速度を向上させることができる。   If such a carriage 31 is used, printing can be performed when the carriage 31 moves, so that the printing speed can be improved.

また、光学センサ40は、図2に示すように1つだけしか用いない場合であっても、例えば、右から左へ走査する場合にはレンズ信号をバッファに格納して記憶し、左から右へ走査する場合にはバッファに記憶されたレンズ信号を参照して印刷を行うことも可能である。   Further, even when only one optical sensor 40 is used as shown in FIG. 2, for example, when scanning from right to left, a lens signal is stored and stored in a buffer, and from left to right. When scanning is performed, it is also possible to perform printing with reference to the lens signal stored in the buffer.

つぎに、本発明の第2の実施の形態について説明する。   Next, a second embodiment of the present invention will be described.

以下、本発明の第2の実施の形態について、図18から図20に基づいて説明する。図18は、本実施の第2の形態に係る印刷装置の概略基本構成を示す斜視図である。なお、この図において、図1に示す第1の実施の形態と対応する部分には同一の符号を付して、その説明を省略する。   Hereinafter, a second embodiment of the present invention will be described with reference to FIGS. FIG. 18 is a perspective view showing a schematic basic configuration of a printing apparatus according to the second embodiment. In this figure, parts corresponding to those of the first embodiment shown in FIG.

図18に示す第2の実施の形態では、図1に示す第1の実施の形態の場合と比較すると、キャリッジ31に設けられている光学センサ40が光学センサ410に置換されている。また、プラテン20の発光部22が反射板300に置換されている。その他の構成は、図1の場合と同様である。   In the second embodiment shown in FIG. 18, the optical sensor 40 provided on the carriage 31 is replaced with the optical sensor 410 as compared to the case of the first embodiment shown in FIG. 1. In addition, the light emitting portion 22 of the platen 20 is replaced with the reflecting plate 300. Other configurations are the same as those in FIG.

ここで、反射板300は、光学センサ410から照射されてレンズシート10を透過した光を反射し、光学センサ410に戻す機能を有する。反射板300は、例えば、鏡面研磨された金属部材、金属部材が蒸着された樹脂、または、反射率が高い白色の樹脂等によって構成されており、光学センサ410から照射された光を高い反射率で反射する。また、反射板300は、例えば、矩形形状を有しており、長手方向はレンズシート10のX方向よりも広い幅を有しており、短手方向は光学センサ410から照射されるビームよりも広い幅を有している。なお、プラテン20が光を反射する特性を有する場合には、反射板300を特に設けなくてもよい。また、反射板300としては、例えば、表面が平坦な部材ではなく、乱反射する部材(例えば、表面が粗い形状を有する部材)を用いることも可能である。また、反射板300を着脱自在な構造とし、必要に応じて反射板300をプラテン20上に設置するようにしてもよい。   Here, the reflection plate 300 has a function of reflecting the light irradiated from the optical sensor 410 and transmitted through the lens sheet 10 and returning it to the optical sensor 410. The reflector 300 is made of, for example, a mirror-polished metal member, a resin on which the metal member is vapor-deposited, or a white resin having a high reflectance, and the light irradiated from the optical sensor 410 has a high reflectance. Reflect on. Further, the reflecting plate 300 has, for example, a rectangular shape, the longitudinal direction has a width wider than the X direction of the lens sheet 10, and the lateral direction is larger than the beam irradiated from the optical sensor 410. It has a wide width. In addition, when the platen 20 has a characteristic of reflecting light, the reflector 300 is not particularly necessary. Further, as the reflecting plate 300, for example, a member that irregularly reflects (for example, a member having a rough surface) can be used instead of a member having a flat surface. Further, the reflector 300 may be detachable, and the reflector 300 may be installed on the platen 20 as necessary.

なお、図18では、全体の形状をわかりやすくするために、反射板300をプラテン20の下流側の端部付近に設けているが、実際には上流側の光学センサ410に対向する位置に設けられている。なお、これらの位置関係は、図6の場合と同様である。   In FIG. 18, the reflector 300 is provided near the downstream end of the platen 20 in order to make the overall shape easy to understand, but actually, it is provided at a position facing the optical sensor 410 on the upstream side. It has been. These positional relationships are the same as in the case of FIG.

なお、この例では、光学センサ410は、各ノズル列32aの最上端(図の上端)に形成されたノズルよりも上流側(レンズシートの搬送方向の上流側)に設けられているので、レンズシート10が記録ヘッド32の最初のノズル(最上端のノズル)に到達する前に、光学センサ410によって凸レンズを検出することができる。   In this example, the optical sensor 410 is provided on the upstream side (upstream side in the conveyance direction of the lens sheet) from the nozzle formed at the uppermost end (upper end in the drawing) of each nozzle row 32a. The convex lens can be detected by the optical sensor 410 before the sheet 10 reaches the first nozzle (uppermost nozzle) of the recording head 32.

図19は、光学センサ410とレンズシート10との位置関係を示す断面図である。この図に示すように、光学センサ410は、保持体411ならびに発光部414および受光部415を有している。ここで、保持体411には、発光部414が配置される凹部412および受光部415が配置される凹部413が形成されている。凹部412,413の底面部には発光部414および受光部415がそれぞれ配置されている。   FIG. 19 is a cross-sectional view showing the positional relationship between the optical sensor 410 and the lens sheet 10. As shown in this figure, the optical sensor 410 has a holding body 411, a light emitting unit 414, and a light receiving unit 415. Here, the holder 411 is formed with a recess 412 in which the light emitting unit 414 is disposed and a recess 413 in which the light receiving unit 415 is disposed. A light emitting unit 414 and a light receiving unit 415 are respectively disposed on the bottoms of the recesses 412 and 413.

発光部414は、例えば、レーザダイオードまたはLED等によって構成され、直進性の高い光を射出する。受光部415は、例えば、フォトダイオードによって構成され、反射板300によって反射された光を受光し、その光の強度に対応するレベルを有する電気信号に変換して出力する。なお、発光部414としては、例えば、赤色光、青色光、緑色光、赤外光等のような、所定の色の光を発することが可能な発光ダイオードを用いることができる。また、例えば可視光または赤外光のようなレーザ光を生じさせることが可能なレーザ発振器、ランプ等を発光部としても良い。また、受光部415としては、例えば、フォトトランジスタ、フォトダイオード、フォトIC等のような、受光した光を電気信号に変換することが可能な素子を用いることができる。   The light emitting unit 414 is configured by, for example, a laser diode or an LED, and emits light with high straightness. The light receiving unit 415 is configured by, for example, a photodiode, receives light reflected by the reflecting plate 300, converts the light into an electric signal having a level corresponding to the intensity of the light, and outputs the electric signal. As the light emitting unit 414, for example, a light emitting diode capable of emitting light of a predetermined color such as red light, blue light, green light, infrared light, or the like can be used. Further, for example, a laser oscillator or a lamp that can generate laser light such as visible light or infrared light may be used as the light emitting unit. As the light receiving unit 415, for example, an element that can convert received light into an electric signal, such as a phototransistor, a photodiode, or a photo IC, can be used.

発光部414から射出され、インク透過層13、インク吸収層12、および、凸レンズ11を透過した光は、反射板300によって反射され、一部は、凸レンズ11、インク吸収層12、および、インク透過層13を再度経由し、受光部415によって受光される。ここで、発光部414から射出されて反射板300に至るまでの経路と、発光部414の光軸とは一致している。また、反射板300によって反射されて受光部に至るまでの経路と、受光部415の光軸とは一致している。すなわち、発光部414および受光部415は、図20中に破線で示す光の経路とその光軸が一致するように、凹部412,413の底面部は、反射板300に平行な方向からそれぞれ傾きθを有するように形成されている。このように、発光部414および受光部415のそれぞれの光軸と、光の経路とを一致させることにより、光学センサ410の検出感度を高めることができる。   The light emitted from the light emitting unit 414 and transmitted through the ink transmission layer 13, the ink absorption layer 12, and the convex lens 11 is reflected by the reflecting plate 300, and a part thereof is the convex lens 11, the ink absorption layer 12, and the ink transmission. The light is received by the light receiving unit 415 through the layer 13 again. Here, the path from the light emitting unit 414 to the reflection plate 300 coincides with the optical axis of the light emitting unit 414. In addition, the path from the reflection plate 300 to the light receiving unit coincides with the optical axis of the light receiving unit 415. That is, in the light emitting unit 414 and the light receiving unit 415, the bottom surfaces of the recesses 412 and 413 are inclined from the direction parallel to the reflector 300 so that the optical path indicated by the broken line in FIG. It is formed so as to have θ. Thus, the detection sensitivity of the optical sensor 410 can be increased by matching the optical axes of the light emitting unit 414 and the light receiving unit 415 with the light path.

発光部414から照射された光は、レンズシート10のインク透過層13およびインク吸収層12を透過し、凸レンズ11に到達する。図20(A)に示すように、発光部414から照射された光(入射光)が凸レンズ11の頂部11aに達した場合、当該入射光は凸レンズ11の頂部11aに当接するように位置している反射板300によって反射され、反射光として受光部415に入射される。すなわち、凸レンズ11の頂部11aに当接している反射板300の角度は、レンズ曲面の当接面の角度と同一であるので、レンズの透過光のほとんどは反射板300によって反射され、受光部415に入射される。なお、発光部414から照射された光の一部は、インク透過層13およびインク吸収層12によって反射されるが、反射板300とは反射される位置が異なることから、当該反射光は受光部415には届かない。したがって、当該反射光に対しては、受光部415は信号を出力しない。   The light emitted from the light emitting unit 414 passes through the ink transmission layer 13 and the ink absorption layer 12 of the lens sheet 10 and reaches the convex lens 11. As shown in FIG. 20A, when the light (incident light) emitted from the light emitting unit 414 reaches the top 11 a of the convex lens 11, the incident light is positioned so as to contact the top 11 a of the convex lens 11. The light is reflected by the reflecting plate 300 and is incident on the light receiving unit 415 as reflected light. That is, since the angle of the reflecting plate 300 that is in contact with the top 11a of the convex lens 11 is the same as the angle of the contact surface of the lens curved surface, most of the transmitted light of the lens is reflected by the reflecting plate 300 and the light receiving unit 415. Is incident on. A part of the light emitted from the light emitting unit 414 is reflected by the ink transmissive layer 13 and the ink absorbing layer 12, but the reflected light is different from the reflecting plate 300. Therefore, the reflected light is received by the light receiving unit. It does not reach 415. Therefore, the light receiving unit 415 does not output a signal with respect to the reflected light.

一方、図20(B)に示すように、発光部414から照射された光が凸レンズ11の頂部11aからずれた位置に達した場合、当該入射光は凸レンズ11を透過し、反射板300によって反射されるが、凸レンズ11に再入射する際に乱反射される。その結果、受光部415に入射される光の強度は、図20(A)の場合に比較すると弱くなる。   On the other hand, as shown in FIG. 20B, when the light emitted from the light emitting unit 414 reaches a position shifted from the top 11 a of the convex lens 11, the incident light is transmitted through the convex lens 11 and reflected by the reflecting plate 300. However, it is irregularly reflected when re-entering the convex lens 11. As a result, the intensity of light incident on the light receiving portion 415 becomes weaker than that in the case of FIG.

以上の動作原理により、光学センサ410によりレンズシート10の凸レンズ11の位置を検出することができる。なお、その他の部分の動作については、第1の実施の形態の場合と同様であるのでその説明は省略する。   Based on the above operation principle, the position of the convex lens 11 of the lens sheet 10 can be detected by the optical sensor 410. Since the operation of other parts is the same as that in the first embodiment, the description thereof is omitted.

以上に説明したように、第2の実施の形態によれば、第1の実施の形態のように、複数の光源を有する発光部22を設ける必要がなくなるので、装置の製造コストを低減することが可能になる。   As described above, according to the second embodiment, since it is not necessary to provide the light emitting unit 22 having a plurality of light sources as in the first embodiment, the manufacturing cost of the device is reduced. Is possible.

また、以上の第2の実施の形態においても、前述した第1の実施の形態と同様に、レンズ信号補完回路によって補完動作を行うことにより、レンズ信号が正常でない場合にも、これを補完して、正常な印刷を行うことができる。   Also in the second embodiment described above, similar to the first embodiment described above, a complement operation is performed by the lens signal complement circuit, so that even when the lens signal is not normal, this is complemented. Thus, normal printing can be performed.

つぎに、本発明の第3の実施の形態について説明する。   Next, a third embodiment of the present invention will be described.

以下、本発明の第3の実施の形態について、図21および図22に基づいて説明する。図21は、本実施の第3の形態に係る印刷装置に使用されている決定手段としてのレンズ信号生成回路の構成例を示す図である。第3の実施の形態に係る印刷装置では、レンズ信号から事前学習によってレンズ間隔を求め、求めたレンズ間隔の平均値を代表レンズ値とする。そして、当該代表レンズ値に基づいて、クロック信号を分周することによりレンズ信号を生成する。得られたレンズ信号に基づいて、PTS信号を生成し、印刷を行う。   Hereinafter, a third embodiment of the present invention will be described with reference to FIGS. FIG. 21 is a diagram illustrating a configuration example of a lens signal generation circuit as a determination unit used in the printing apparatus according to the third embodiment. In the printing apparatus according to the third embodiment, the lens interval is obtained from the lens signal by prior learning, and the average value of the obtained lens intervals is set as the representative lens value. Then, a lens signal is generated by dividing the clock signal based on the representative lens value. A PTS signal is generated based on the obtained lens signal, and printing is performed.

この図に示すように、レンズ信号生成回路は、カウンタ300、合計計算回路301、レジスタ302〜306、代表レンズ値決定回路307、および、CPUタイマ308を主要な構成要素としている。   As shown in this figure, the lens signal generation circuit includes a counter 300, a total calculation circuit 301, registers 302 to 306, a representative lens value determination circuit 307, and a CPU timer 308 as main components.

ここで、カウンタ300は、レンズ信号のポジティブエッジが検出されると、レジスタ302のLカウント値をレジスタ303へLラッチとしてコピーするとともに、レジスタ302のLカウント値をクリアする。また、レジスタ302のレンズ数をインクリメントする。そして、その後は、レジスタ303のLカウント値をクロック信号に同期してインクリメントする。   Here, when a positive edge of the lens signal is detected, the counter 300 copies the L count value of the register 302 to the register 303 as an L latch and clears the L count value of the register 302. In addition, the number of lenses in the register 302 is incremented. Thereafter, the L count value of the register 303 is incremented in synchronization with the clock signal.

合計計算回路301は、ポジティブエッジが検出されると、レジスタ304に格納されているLラッチ値をレジスタ305の合計値に対して累積加算する。   When a positive edge is detected, the total calculation circuit 301 cumulatively adds the L latch value stored in the register 304 to the total value in the register 305.

レジスタ302には、レンズシート10の端部からのレンズ数が格納される。レジスタ303には、レンズ間のLカウント値が格納される。レジスタ304には、ポジティブエッジが検出された時点において、レジスタ303に格納されている、その直前におけるLカウント値がラッチされる。レジスタ305には、ポジティブエッジが検出されたタイミングで、レジスタ304に格納されているLラッチ値が累積加算されていく。レジスタ306には、レンズ終了値が格納されている。ここで、レンズ終了値とは、最後のレンズを検出するための判定値であり、例えば、代表レンズ値の2〜3倍程度の値を格納する。   The register 302 stores the number of lenses from the end of the lens sheet 10. The register 303 stores the L count value between lenses. In the register 304, when the positive edge is detected, the L count value immediately before that stored in the register 303 is latched. The L latch value stored in the register 304 is cumulatively added to the register 305 at the timing when a positive edge is detected. The register 306 stores the lens end value. Here, the lens end value is a determination value for detecting the last lens, and stores, for example, a value of about 2 to 3 times the representative lens value.

代表レンズ値決定回路307は、レジスタ303のLカウント値がレジスタ306のレンズ終了値以上となった場合には、レンズシート10の端部であるとし、レジスタ305に格納されている合計値を、レジスタ302に格納されているレンズ数によって除算し、レンズ間隔の平均値を求め、当該平均値を代表レンズ値として、CPUタイマ308に供給する。   When the L count value of the register 303 is equal to or greater than the lens end value of the register 306, the representative lens value determination circuit 307 determines that the lens lens 10 is the end of the lens sheet 10, and the total value stored in the register 305 By dividing by the number of lenses stored in the register 302, an average value of lens intervals is obtained, and the average value is supplied to the CPU timer 308 as a representative lens value.

生成手段としてのCPUタイマ308は、代表レンズ値決定回路307から供給された代表レンズ値を参考にし、クロック信号を分周することによりレンズ信号を生成し、出力する。   A CPU timer 308 serving as a generation unit generates and outputs a lens signal by dividing the clock signal with reference to the representative lens value supplied from the representative lens value determination circuit 307.

つぎに、図22を参照して、第3の実施の形態の動作について説明する。なお、第3の実施の形態では、第1の実施の形態の場合と同様に図11に示す処理が実行されるが、第2の実施の形態では、図22に示す処理によって得られた代表レンズ値に基づいて継続的にレンズ信号が生成される。すなわち、第1の実施の形態では、レンズ信号が正常でない場合に、補完レンズ信号が一時的に選択されて出力されるが、第2の実施の形態では、CPUタイマ308の出力が恒常的に出力される。   Next, the operation of the third embodiment will be described with reference to FIG. In the third embodiment, the process shown in FIG. 11 is executed as in the case of the first embodiment. In the second embodiment, the representative obtained by the process shown in FIG. A lens signal is continuously generated based on the lens value. That is, in the first embodiment, when the lens signal is not normal, the complementary lens signal is temporarily selected and output. In the second embodiment, however, the output of the CPU timer 308 is constantly output. Is output.

図22の処理が開始されると、以下のステップが実行される。   When the process of FIG. 22 is started, the following steps are executed.

ステップS50:CPU101は、レンズ信号を出力する範囲であるか否かを判定し、出力範囲であると判定した場合はステップS51に進み、それ以外の場合にはステップS56に進む。すなわち、CPU101は、レンズシート10が存在する領域であるか否かに基づいて判定し、レンズシート10が存在する領域である場合にはステップS51に進む。なお、レンズシート10の有無については、例えば、ポジティブエッジが最初に検出された場合には、レンズシート10が存在する領域に入ったと判定する。また、レジスタ303に格納されているLカウント値がレジスタ306に格納されているレンズ終了値以上になった場合には、レンズシート10が存在する領域が終了したと判定する。   Step S50: The CPU 101 determines whether or not the lens signal output range is reached. If it is determined that the lens signal is within the output range, the process proceeds to step S51. Otherwise, the process proceeds to step S56. That is, the CPU 101 makes a determination based on whether or not the lens sheet 10 is present, and proceeds to step S51 if the lens sheet 10 is present. As to the presence / absence of the lens sheet 10, for example, when a positive edge is first detected, it is determined that the lens sheet 10 has entered an area. Further, when the L count value stored in the register 303 is equal to or greater than the lens end value stored in the register 306, it is determined that the region where the lens sheet 10 exists has ended.

ステップS51:カウンタ300は、レンズ信号のポジティブエッジを検出したか否かを判定し、ポジティブエッジを検出した場合にはステップS53に進み、それ以外の場合にはステップS52に進む。例えば、図13(C)に示すディジタル信号において、図13(D)に示すタイミングで示されるポジティブエッジ(例えば、PE30〜33)が検出された場合には、ステップS53に進み、それ以外の場合にはステップS52に進む。例えば、ポジティブエッジ30が検出された場合には、ステップS53に進む。   Step S51: The counter 300 determines whether or not a positive edge of the lens signal has been detected. If a positive edge is detected, the process proceeds to step S53. Otherwise, the process proceeds to step S52. For example, in the digital signal shown in FIG. 13C, when a positive edge (for example, PE30 to 33) shown at the timing shown in FIG. 13D is detected, the process proceeds to step S53, and in other cases Then, the process proceeds to step S52. For example, if the positive edge 30 is detected, the process proceeds to step S53.

ステップS52:カウンタ300は、図示せぬクロック信号に基づいて、レジスタ303に格納されているLカウント値を1インクリメントし、ステップS50に戻って同様の処理を繰り返す。なお、ステップS53においてLカウント値がクリアされると、それ以降の処理では、ステップS52の処理に分岐し、Lカウント値が1ずつインクリメントされる。   Step S52: The counter 300 increments the L count value stored in the register 303 by 1 based on a clock signal (not shown), and returns to step S50 to repeat the same processing. If the L count value is cleared in step S53, the subsequent processing branches to step S52, and the L count value is incremented by one.

ステップS53:合計計算回路301は、レジスタ304に格納されているLラッチ値をレジスタ305に格納されている合計値に加算する。より詳細には、まず、カウンタ300が、レジスタ303に格納されているLカウント値をレジスタ304にLラッチ値としてコピーする。つぎに、合計計算回路301が、レジスタ304に格納されているLラッチ値をレジスタ305に格納されている合計値に加算する。この結果、レジスタ305には、それまで検出されたレンズ間隔の累積加算値が格納される。   Step S53: The total calculation circuit 301 adds the L latch value stored in the register 304 to the total value stored in the register 305. More specifically, first, the counter 300 copies the L count value stored in the register 303 to the register 304 as an L latch value. Next, the total calculation circuit 301 adds the L latch value stored in the register 304 to the total value stored in the register 305. As a result, the register 305 stores the cumulative addition value of the lens intervals detected so far.

ステップS54:カウンタ300は、レジスタ303に格納されているLカウント値を初期化(リセット)する。   Step S54: The counter 300 initializes (resets) the L count value stored in the register 303.

ステップS55:カウンタ300は、レジスタ302に格納されているレンズ数を1インクリメントする。そして、ステップS50に戻って同様の処理を繰り返す。   Step S55: The counter 300 increments the number of lenses stored in the register 302 by one. And it returns to step S50 and repeats the same process.

ステップS56:代表レンズ値決定回路307は、レンズ間隔の平均値を計算し、代表レンズ値とする。より詳細には、代表レンズ値決定回路307は、レジスタ305に格納されている合計値(全てのレンズ間隔を合計した値)を、レジスタ302に格納されているレンズ数で除算することにより、レンズ間隔の平均値を得るので、これを代表レンズ値とする。   Step S56: The representative lens value determination circuit 307 calculates the average value of the lens intervals and sets it as the representative lens value. More specifically, the representative lens value determination circuit 307 divides the total value stored in the register 305 (a total value of all the lens intervals) by the number of lenses stored in the register 302, thereby obtaining a lens. Since an average value of the interval is obtained, this is set as a representative lens value.

ステップS57:CPUタイマ308は、代表レンズ値決定回路307から供給された代表レンズ値に基づいて、クロック信号を分周し、レンズ信号を生成して出力する。   Step S57: The CPU timer 308 divides the clock signal based on the representative lens value supplied from the representative lens value determination circuit 307, generates a lens signal, and outputs it.

以上のようにして生成されたレンズ信号は、ASIC104に供給され、そこで、図16に示すPTS信号が生成され、ヘッドドライバ109に供給される。ヘッドドライバ109は、PTS信号に同期してインクを吐出し、レンズシート10に画像を印刷する。   The lens signal generated as described above is supplied to the ASIC 104, where the PTS signal shown in FIG. 16 is generated and supplied to the head driver 109. The head driver 109 ejects ink in synchronization with the PTS signal and prints an image on the lens sheet 10.

以上の処理によれば、1走査分のレンズ信号からレンズ間隔の平均値としての代表レンズ値を求め、当該代表レンズ値に基づいてレンズ信号を生成し、PTS信号を生成するようにしたので、例えば、レンズに欠損等が生じている場合であっても、画像を正確に印刷することができる。   According to the above processing, the representative lens value as the average value of the lens interval is obtained from the lens signal for one scan, the lens signal is generated based on the representative lens value, and the PTS signal is generated. For example, an image can be printed accurately even when a lens has a defect or the like.

また、代表レンズ値として、平均値を用いるようにしたので、個々のレンズは、多少の誤差を有している場合であっても、全体として見た場合には、正確に画像をレンズ内に印刷することができる。   In addition, since the average value is used as the representative lens value, even if each lens has a slight error, when viewed as a whole, the image is accurately placed in the lens. Can be printed.

なお、以上の実施の形態では、レンズシートの最初と最後のレンズについても計算処理の対象とするようにしたが、これらを除外して代表レンズ値を求めるようにしてもよい。すなわち、最初と最後のレンズについては、レンズの谷の部分で裁断されているとは限らないため(レンズの山の部分で裁断されている場合もあるため)、これらを計算対象として含めないためである。また、最後のレンズについては、レジスタ201に格納されているレンズ終了値によって、最後のレンズであるか否かを判定するため、実際のレンズ間隔よりも長くなってしまうことから、これを除外するためである。すなわち、図15(B)において、最後のレンズ信号を含む期間Bを除外して、区間Aの範囲のみを計算の対象とするためである。   In the above embodiment, the first and last lenses of the lens sheet are also subject to calculation processing. However, representative lens values may be obtained by excluding these lenses. That is, the first and last lenses are not necessarily cut at the lens valleys (because they may be cut at the lens peaks), so they are not included in the calculation. It is. The last lens is excluded because it is longer than the actual lens interval because it is determined whether or not it is the last lens based on the lens end value stored in the register 201. Because. That is, in FIG. 15B, the period B including the last lens signal is excluded and only the range of the section A is calculated.

また、最後のレンズを検出したら代表レンズ値を計算するのではなく、所定数のレンズが検出されたら、代表レンズ値を計算するようにしてもよい。あるいは、所定の範囲のレンズ(例えば、10個目から20個目のレンズ)から代表レンズ値を計算するようにしたもよい。また、平均値を計算せずに、例えば、10番目に検出されたレンズ間隔を代表レンズ値とするようにしてもよい。   Further, instead of calculating the representative lens value when the last lens is detected, the representative lens value may be calculated when a predetermined number of lenses are detected. Alternatively, the representative lens value may be calculated from lenses in a predetermined range (for example, the 10th lens to the 20th lens). Further, without calculating the average value, for example, the tenth lens interval detected may be used as the representative lens value.

なお、以上の例では、印刷する前に代表レンズ値を計算し、当該代表レンズ値を用いて、その後の印刷処理を実行するようにしたが、例えば、印刷する直前の走査において得られた代表レンズ値として、つぎの走査において印刷を行うようにすることも可能である。あるいは、所定の走査毎に(例えば、1〜5走査毎に)代表レンズ値を計算し、その後の走査では当該代表レンズ値を用いて印刷することも可能である。このように現在の走査に近い位置に存在するレンズから求めた代表レンズ値を利用することにより、例えば、レンズシート10がスキューを有して(傾いて)配置されている場合であっても、画像をレンズ内に正確に印刷することができる。   In the above example, the representative lens value is calculated before printing, and the subsequent printing process is executed using the representative lens value. For example, the representative lens value obtained in the scan immediately before printing is used. It is also possible to perform printing in the next scan as the lens value. Alternatively, it is possible to calculate a representative lens value every predetermined scan (for example, every 1 to 5 scans), and to print using the representative lens value in subsequent scans. Thus, by using the representative lens value obtained from the lens existing at a position close to the current scanning, for example, even when the lens sheet 10 is arranged with skew (tilt), Images can be printed accurately in the lens.

つぎに、本発明の第4の実施の形態について説明する。   Next, a fourth embodiment of the present invention will be described.

以下、本発明の第4の実施の形態について、図23および図24に基づいて説明する。図23は、本実施の第4の形態に係る印刷装置に使用されているレンズ信号生成回路の構成例を示す図である。第4の実施の形態に係る印刷装置では、第3の実施の形態の場合と同様に、レンズ信号から事前学習によってレンズ間隔を求め、求めたレンズ間隔のうち、出現頻度が高いものを代表レンズ値とする。そして、当該代表レンズ値に基づいて、クロック信号を分周することによりレンズ信号を生成する。得られたレンズ信号に基づいて、PTS信号を生成し、印刷を行う。   Hereinafter, a fourth embodiment of the present invention will be described with reference to FIGS. FIG. 23 is a diagram illustrating a configuration example of a lens signal generation circuit used in the printing apparatus according to the fourth embodiment. In the printing apparatus according to the fourth embodiment, as in the case of the third embodiment, the lens interval is obtained from the lens signal by prior learning, and among the obtained lens intervals, a lens having a high appearance frequency is represented as a representative lens. Value. Then, a lens signal is generated by dividing the clock signal based on the representative lens value. A PTS signal is generated based on the obtained lens signal, and printing is performed.

この図に示すように、レンズ信号生成回路は、カウンタ500、候補記録回路501、レジスタ502〜506、優先処理回路507、代表レンズ値決定回路508、および、CPUタイマ509によって構成されている。   As shown in this figure, the lens signal generation circuit includes a counter 500, a candidate recording circuit 501, registers 502 to 506, a priority processing circuit 507, a representative lens value determination circuit 508, and a CPU timer 509.

ここで、カウンタ500は、レンズ信号のポジティブエッジが検出されると、レジスタ502のLカウント値をレジスタ503へLラッチ値としてコピーするとともに、レジスタ502のLカウント値をクリアする。そして、その後は、レジスタ502の値をクロック信号に同期してインクリメントする。   Here, when the positive edge of the lens signal is detected, the counter 500 copies the L count value of the register 502 to the register 503 as an L latch value and clears the L count value of the register 502. Thereafter, the value of the register 502 is incremented in synchronization with the clock signal.

候補記録回路501は、レジスタ503に格納されているLラッチ値を、その出現頻度を示す値とともにレジスタ505のテーブルに格納する。具体的には、候補記録回路501は、レジスタ505のテーブルの空き領域に格納する場合には、レンズ間隔とともに出現頻度を1として格納する。また、既に格納済みのレンズ間隔を格納する場合には、当該出現頻度を1インクリメントする。さらに、前述の2つ以外に該当する場合には、レジスタ504の優先フラグをセットする。   The candidate recording circuit 501 stores the L latch value stored in the register 503 in the table of the register 505 together with the value indicating the appearance frequency. Specifically, the candidate recording circuit 501 stores the appearance frequency as 1 together with the lens interval when storing in an empty area of the table of the register 505. In addition, when the already stored lens interval is stored, the appearance frequency is incremented by one. In addition, if any of the cases other than the above two is applicable, the priority flag of the register 504 is set.

レジスタ502には、レンズ間のLカウント値が格納される。レジスタ503には、ポジティブエッジが検出された時点において、レジスタ502に格納されている、その直前におけるLカウント値がラッチされる。レジスタ504には、前述した優先フラグが格納される。レジスタ505には、レンズ間隔とその出現頻度とがテーブル形式で格納される。例えば、5種類のレンズ間隔がその出現頻度とともに格納される。レジスタ506には、レンズ終了値が格納される。当該レンズ終了値は、第3の実施の形態の場合と同様で、最後のレンズを検出するための判定値であり、例えば、代表レンズ値の2〜3倍程度の値を格納する。   The register 502 stores the L count value between lenses. The register 503 latches the L count value immediately before that stored in the register 502 when a positive edge is detected. The register 504 stores the above-described priority flag. The register 505 stores the lens interval and its appearance frequency in a table format. For example, five types of lens intervals are stored together with their appearance frequencies. The register 506 stores the lens end value. The lens end value is the same as that in the third embodiment, and is a determination value for detecting the last lens. For example, a value about 2 to 3 times the representative lens value is stored.

優先処理回路507は、レジスタ504の優先フラグがセットされている場合に、Lラッチ値をレジスタ505のテーブルのどこに格納するかを決定する。具体的には、例えば、出現頻度が最も低いレンズ間隔と置換する。または、一番大きいレンズ間隔と置換するか、もしくは、格納されているレンズ間隔の中で分散が最も大きいレンズ間隔と置換する。   The priority processing circuit 507 determines where to store the L latch value in the table of the register 505 when the priority flag of the register 504 is set. Specifically, for example, the lens interval is replaced with the least frequently occurring lens interval. Alternatively, the lens interval is replaced with the largest lens interval, or the lens interval having the largest dispersion among the stored lens intervals is replaced.

代表レンズ値決定回路508は、レジスタ502のLカウント値がレジスタ506のレンズ終了値以上となった場合には、レンズシート10の端部であるとし、レジスタ505に格納されているレンズ間隔の中から、出現頻度が最も高く、レンズ間隔が最も短いものを選択して代表レンズ値として出力する。なお、レンズ間隔が短いものを選択する理由は、レンズの検出誤差が生じた場合には、レンズ間隔が長くなる傾向があるので、同一の出現頻度のレンズ間隔が複数存在する場合には、レンズ間隔が短いものが誤差が少ないためである。   When the L count value of the register 502 becomes equal to or greater than the lens end value of the register 506, the representative lens value determining circuit 508 determines that the lens is at the end of the lens sheet 10 and includes Therefore, the lens having the highest appearance frequency and the shortest lens interval is selected and output as a representative lens value. The reason for selecting a lens with a short lens interval is that when there is a lens detection error, the lens interval tends to be long, so if there are multiple lens intervals with the same appearance frequency, the lens This is because a short interval has a small error.

CPUタイマ509は、代表レンズ値決定回路508から供給された代表レンズ値を参考にし、クロック信号を分周することによりレンズ信号を生成し、出力する。   The CPU timer 509 generates and outputs a lens signal by dividing the clock signal with reference to the representative lens value supplied from the representative lens value determination circuit 508.

つぎに、図24を参照して、第4の実施の形態の動作について説明する。なお、第4の実施の形態は、第3の実施の形態と同様に、図24に示す処理によって得られた代表レンズ値に基づいて継続的にレンズ信号が生成される。すなわち、第1の実施の形態では、レンズ信号が正常でない場合に、補完レンズ信号が一時的に選択されて出力されるが、第4の実施の形態では、CPUタイマ509の出力が恒常的に出力される。   Next, the operation of the fourth embodiment will be described with reference to FIG. In the fourth embodiment, similarly to the third embodiment, lens signals are continuously generated based on the representative lens values obtained by the processing shown in FIG. That is, in the first embodiment, when the lens signal is not normal, the complementary lens signal is temporarily selected and output, but in the fourth embodiment, the output of the CPU timer 509 is constantly output. Is output.

図24の処理が開始されると、以下のステップが実行される。   When the process of FIG. 24 is started, the following steps are executed.

ステップS70:CPU101は、レンズ信号を出力する範囲であるか否かを判定し、出力範囲であると判定した場合はステップS71に進み、それ以外の場合にはステップS74に進む。すなわち、CPU101は、レンズシート10が存在する領域であるか否かに基づいて判定し、レンズシート10が存在する領域である場合にはステップS71に進む。なお、レンズシート10の有無については、例えば、ポジティブエッジが最初に検出された場合には、レンズシート10が存在する領域に入ったと判定する。また、レジスタ502に格納されているLカウント値がレジスタ506に格納されているレンズ終了値以上になった場合には、レンズシート10が存在する領域が終了したと判定する。   Step S70: The CPU 101 determines whether or not the lens signal is output within the range. If it is determined that the lens is within the output range, the process proceeds to step S71, and otherwise the process proceeds to step S74. That is, the CPU 101 makes a determination based on whether or not the lens sheet 10 is present, and proceeds to step S71 if the lens sheet 10 is present. As to the presence / absence of the lens sheet 10, for example, when a positive edge is first detected, it is determined that the lens sheet 10 has entered an area. If the L count value stored in the register 502 is equal to or greater than the lens end value stored in the register 506, it is determined that the region where the lens sheet 10 is present has ended.

ステップS71:カウンタ500は、レンズ信号のポジティブエッジを検出したか否かを判定し、ポジティブエッジを検出した場合にはステップS73に進み、それ以外の場合にはステップS72に進む。例えば、図13(C)に示すディジタル信号において、図13(D)に示すタイミングで示されるポジティブエッジ(例えば、PE30〜33)が検出された場合には、ステップS73に進み、それ以外の場合にはステップS72に進む。例えば、ポジティブエッジ30が検出された場合には、ステップS73に進む。   Step S71: The counter 500 determines whether or not a positive edge of the lens signal has been detected. If a positive edge is detected, the process proceeds to step S73. Otherwise, the process proceeds to step S72. For example, in the digital signal shown in FIG. 13C, when a positive edge (for example, PE30 to 33) shown at the timing shown in FIG. 13D is detected, the process proceeds to step S73. Then, the process proceeds to step S72. For example, if the positive edge 30 is detected, the process proceeds to step S73.

ステップS72:カウンタ500は、図示せぬクロック信号に基づいて、レジスタ502に格納されているLカウント値を1インクリメントし、ステップS70に戻って同様の処理を繰り返す。なお、ステップS73においてLカウント値がクリアされると、それ以降の処理では、ステップS72の処理に分岐し、Lカウント値が1ずつインクリメントされる。   Step S72: The counter 500 increments the L count value stored in the register 502 by 1 based on a clock signal (not shown), and returns to step S70 to repeat the same processing. When the L count value is cleared in step S73, the subsequent processing branches to the processing in step S72, and the L count value is incremented by one.

ステップS73:候補記録回路501は、レジスタ503に格納されているLラッチ値をレジスタ505のテーブルに格納する。より詳細には、候補記録回路501は、レジスタ505のテーブルに同一のレンズ間隔が既に格納されている場合には、当該レンズ間隔の出現頻度を1インクリメントする。また、同一のレンズ間隔が格納されていない場合であって、空き領域がある場合には、当該空き領域にLラッチ値を、出現頻度“1”として格納する。さらに、同一のレンズ間隔が格納されていない場合であって、空き領域がない場合には、レジスタ504の優先フラグをセットする。   Step S73: The candidate recording circuit 501 stores the L latch value stored in the register 503 in the table of the register 505. More specifically, when the same lens interval is already stored in the table of the register 505, the candidate recording circuit 501 increments the appearance frequency of the lens interval by one. If the same lens interval is not stored and there is an empty area, the L latch value is stored as the appearance frequency “1” in the empty area. Further, when the same lens interval is not stored and there is no free space, the priority flag of the register 504 is set.

優先フラグがセットされると、優先処理回路507は、Lラッチ値をレジスタ505のテーブルのどこに格納するかを決定する。例えば、レジスタ505のテーブルの中で、出現頻度が最も低いレンズ間隔と、Lラッチ値とを置換する。または、テーブルの中で一番大きいレンズ間隔と、Lラッチ値を置換するか、または、テーブルに格納されているレンズ間隔の中で分散が最も大きいレンズ間隔と、Lラッチ値を置換する。なお、置換せずに、そのままの状態とすることも可能である。   When the priority flag is set, the priority processing circuit 507 determines where the L latch value is stored in the register 505 table. For example, the lens interval with the lowest appearance frequency in the table of the register 505 is replaced with the L latch value. Alternatively, the largest lens interval in the table and the L latch value are replaced, or the lens interval having the largest dispersion among the lens intervals stored in the table and the L latch value are replaced. It is also possible to leave the state as it is without replacement.

ステップS74:代表レンズ値決定回路508は、レジスタ505のテーブルに格納されているレンズ間隔の中で、出現頻度が最も高いものを選択して代表レンズ値とする。なお、出現頻度が最も高いレンズ間隔が複数存在する場合には、レンズ間隔が最も短いものを選択して代表レンズ値とする。なお、最も低いものを選択する理由は、前述の通りである。   Step S74: The representative lens value determination circuit 508 selects the lens lens having the highest appearance frequency among the lens intervals stored in the table of the register 505 as a representative lens value. When there are a plurality of lens intervals having the highest appearance frequency, the lens with the shortest lens interval is selected as the representative lens value. The reason for selecting the lowest one is as described above.

ステップS75:CPUタイマ509は、代表レンズ値決定回路508から供給された代表レンズ値に基づいて、クロック信号を分周し、レンズ信号を生成して出力する。   Step S75: The CPU timer 509 divides the clock signal based on the representative lens value supplied from the representative lens value determination circuit 508, generates and outputs a lens signal.

以上のようにして生成されたレンズ信号は、第3の実施の形態の場合と同様に、ASIC104に供給され、そこで、図16に示すPTS信号が生成され、ヘッドドライバ109に供給される。ヘッドドライバ109は、PTS信号に同期してインクを吐出し、レンズシート10に画像を印刷する。   The lens signal generated as described above is supplied to the ASIC 104 as in the case of the third embodiment, where the PTS signal shown in FIG. 16 is generated and supplied to the head driver 109. The head driver 109 ejects ink in synchronization with the PTS signal and prints an image on the lens sheet 10.

以上の処理によれば、1走査分のレンズ信号から出現頻度が最も高いレンズ間隔を代表レンズ値として選択し、当該代表レンズ値に基づいてレンズ信号を生成し、PTS信号を生成するようにしたので、例えば、レンズに欠損等が生じている場合であっても、画像を正確に印刷することができる。   According to the above processing, the lens interval with the highest appearance frequency is selected as the representative lens value from the lens signal for one scan, the lens signal is generated based on the representative lens value, and the PTS signal is generated. Therefore, for example, even when the lens has a defect or the like, the image can be printed accurately.

また、代表レンズ値として、出現頻度が高いものを利用するようにしたので、出現頻度が高いレンズに合わせて印刷を行うことができることから、正確に画像をレンズ内に印刷することができる。   In addition, since a lens having a high appearance frequency is used as the representative lens value, printing can be performed according to a lens having a high appearance frequency, so that an image can be accurately printed in the lens.

なお、以上の実施の形態では、レンズシートの最初と最後のレンズについても計算処理の対象とするようにしたが、これらを除外して代表レンズ値を求めるようにしてもよい。すなわち、最初と最後のレンズについては、レンズの谷の部分で裁断されているとは限らないため(レンズの山の部分で裁断されている場合もあるため)、これらを計算対象として含めないためである。また、最後のレンズについては、レジスタ201に格納されているレンズ終了値によって、最後のレンズであるか否かを判定するため、実際のレンズ間隔よりも長くなってしまうことから、これを除外するためである。すなわち、図15(B)において、最後のレンズ信号を含む期間Bを除外して、区間Aの範囲のみを計算の対象とするためである。   In the above embodiment, the first and last lenses of the lens sheet are also subject to calculation processing. However, representative lens values may be obtained by excluding these lenses. That is, the first and last lenses are not necessarily cut at the lens valleys (because they may be cut at the lens peaks), so they are not included in the calculation. It is. The last lens is excluded because it is longer than the actual lens interval because it is determined whether or not it is the last lens based on the lens end value stored in the register 201. Because. That is, in FIG. 15B, the period B including the last lens signal is excluded and only the range of the section A is calculated.

また、最後のレンズを検出したら代表レンズ値を計算するのではなく、所定数のレンズが検出されたら、代表レンズ値を計算するようにしてもよい。あるいは、所定の範囲のレンズ(例えば、10個目から20個目のレンズ)から代表レンズ値を計算するようにしたもよい。また、平均を計算せずに、例えば、10番目に検出されたレンズ間隔を代表レンズ値とするようにしてもよい。   Further, instead of calculating the representative lens value when the last lens is detected, the representative lens value may be calculated when a predetermined number of lenses are detected. Alternatively, the representative lens value may be calculated from lenses in a predetermined range (for example, the 10th lens to the 20th lens). Further, without calculating the average, for example, the tenth lens interval detected may be used as the representative lens value.

なお、以上の例では、印刷する前に代表レンズ値を計算し、当該代表レンズ値を用いて、その後の印刷処理を実行するようにしたが、例えば、印刷する直前の走査において得られた代表レンズ値として、つぎの走査において印刷を行うようにすることも可能である。あるいは、所定の走査毎に(例えば、1〜5走査毎に)代表レンズ値を計算し、その後の走査では当該代表レンズ値を用いて印刷することも可能である。このように現在の走査に近い位置に存在するレンズから求めた代表レンズ値を利用することにより、例えば、レンズシート10がスキューを有して(傾いて)配置されている場合であっても、画像をレンズ内に正確に印刷することができる。   In the above example, the representative lens value is calculated before printing, and the subsequent printing process is executed using the representative lens value. For example, the representative lens value obtained in the scan immediately before printing is used. It is also possible to perform printing in the next scan as the lens value. Alternatively, it is possible to calculate a representative lens value every predetermined scan (for example, every 1 to 5 scans), and to print using the representative lens value in subsequent scans. Thus, by using the representative lens value obtained from the lens existing at a position close to the current scanning, for example, even when the lens sheet 10 is arranged with skew (tilt), Images can be printed accurately in the lens.

なお、以上の各実施の形態は、一例であって、これ以外にも種々の変形実施態様が存在する。例えば、第3の実施の形態または第4の実施の形態において算出された代表レンズ値を、第1の実施の形態において使用することも可能である。このような方法によれば、より正確な代表レンズ値に基づいて凸レンズ11の欠損等を検出できるので、補完精度を高めることができる。   Each of the above embodiments is an example, and there are various other modified embodiments. For example, the representative lens value calculated in the third embodiment or the fourth embodiment can be used in the first embodiment. According to such a method, since the defect of the convex lens 11 can be detected based on a more accurate representative lens value, it is possible to increase the complementation accuracy.

また、第2の実施の形態と、第1、第3、および、第4の実施の形態を適宜組み合わせることも可能である。   Further, the second embodiment and the first, third, and fourth embodiments can be appropriately combined.

また、以上の実施の形態では、レンズシート10としては、凸レンズ11がシートの辺に対して平行に形成されたものを例に挙げて説明したが、例えば、凸レンズが辺に対して所定の角度を有して形成されているレンズシート(例えば、凸レンズが辺に対して数度から数十度傾いて形成されているレンズシート)を使用することも可能である。その場合、インクを吐出する位置が、レンズシートの副走査方向の移動に応じて変化するので、吐出位置を副走査量に応じて変化させる。   In the above embodiment, the lens sheet 10 has been described as an example in which the convex lens 11 is formed in parallel to the side of the sheet. However, for example, the convex lens has a predetermined angle with respect to the side. It is also possible to use a lens sheet (for example, a lens sheet in which a convex lens is tilted from several degrees to several tens of degrees with respect to the side). In this case, since the ink discharge position changes according to the movement of the lens sheet in the sub-scanning direction, the discharge position is changed according to the sub-scanning amount.

また、以上の各実施の形態では、発光部22および発光部414が照射する光の波長については、詳細には説明していないが、例えば、インク吸収層12の透過性が高い波長(例えば、赤外線)等に設定することにより、検出精度を向上させることができる。   In each of the above embodiments, the wavelength of light emitted by the light emitting unit 22 and the light emitting unit 414 is not described in detail. For example, the wavelength of the ink absorbing layer 12 having high transparency (for example, The detection accuracy can be improved by setting to (infrared) or the like.

また、以上の各実施の形態では、受光部43および受光部415は反射光または透過光をそのまま入射するようにしたが、例えば、発光部22および発光部414と同一の波長の光のみを選択的に通過させるフィルタを通した光を入射するようにしてもよい。そのような実施の形態によれば、環境光の影響を少なくすることができる。   In each of the above embodiments, the light receiving unit 43 and the light receiving unit 415 receive the reflected light or the transmitted light as they are. For example, only light having the same wavelength as the light emitting unit 22 and the light emitting unit 414 is selected. Alternatively, light that has passed through a filter that is allowed to pass through may be incident. According to such an embodiment, the influence of ambient light can be reduced.

また、以上の実施の形態では、二値化回路111cにおいて、所定の閾値と比較することによりアナログ信号を二値化するようにしたので、閾値によってはディジタル信号のデューティーが50%にならない場合も想定される。そこで、増幅回路111bから出力される信号を反転し、これともとの信号を比較し、これらの交差点においてハイまたはローを切り替えるようにすれば、50%に近いデューティーの信号を簡易に得ることができる。   In the above embodiment, the binarization circuit 111c binarizes the analog signal by comparing it with a predetermined threshold value, so that the duty of the digital signal may not be 50% depending on the threshold value. is assumed. Therefore, by inverting the signal output from the amplifier circuit 111b, comparing the original signal, and switching between high and low at these intersections, it is possible to easily obtain a signal with a duty close to 50%. it can.

また、以上の各実施の形態では、図8に示すようにレンズ信号二値化回路111としては、アナログ回路を使用するようにしたが、例えば、アナログ信号をA/D(Analog to Digital)変換器等でディジタル化した後に各種の処理を実行するようにしてもよい。そのような実施の形態によれば、例えば、バンドパスフィルタ111aの通過帯域を簡易に調整することができる。   In each of the above embodiments, as shown in FIG. 8, an analog circuit is used as the lens signal binarization circuit 111. For example, analog signals are converted from analog to digital (A / D). Various processes may be executed after digitization by a device or the like. According to such an embodiment, for example, the passband of the bandpass filter 111a can be easily adjusted.

また、以上の各実施の形態では、印刷装置はホストコンピュータ150に接続され、当該ホストコンピュータ150から印刷データを受信するようにした。しかしながら、例えば、画像の記憶手段、画像の編集手段、および、印刷データの生成手段等を有し、ホストコンピュータ150を接続しなくても印刷処理が可能ないわゆるスタンドアローンタイプの印刷装置に本発明を適用することも可能である。また、プリンタ(印刷装置)、スキャナ、ファクシミリ、および、コピー機が一体となったディジタル複合機に対しても本発明を適用可能である。   In each of the above embodiments, the printing apparatus is connected to the host computer 150 and receives print data from the host computer 150. However, the present invention is, for example, a so-called stand-alone type printing apparatus that has an image storage unit, an image editing unit, a print data generation unit, and the like and can perform a printing process without connecting the host computer 150. It is also possible to apply. The present invention can also be applied to a digital multi-function apparatus in which a printer (printing apparatus), a scanner, a facsimile, and a copier are integrated.

本発明の第1の実施の形態に係る印刷装置の概略構成例を示す図である。1 is a diagram illustrating a schematic configuration example of a printing apparatus according to a first embodiment of the present invention. 図1に示す記録ヘッドの詳細な構成例を示す図である。FIG. 2 is a diagram illustrating a detailed configuration example of a recording head illustrated in FIG. 1. 図2に示す光学センサおよびレンズシートの断面図である。It is sectional drawing of the optical sensor and lens sheet | seat shown in FIG. 図1に示す実施の形態の制御系の構成例を示す図である。It is a figure which shows the structural example of the control system of embodiment shown in FIG. 図1に示す実施の形態の印刷装置を図の右側から眺めた図である。It is the figure which looked at the printing apparatus of embodiment shown in FIG. 1 from the right side of the figure. 図1に示す実施の形態の印刷装置を図の右側から眺めた図である。It is the figure which looked at the printing apparatus of embodiment shown in FIG. 1 from the right side of the figure. 図6に示す制御部の詳細な構成例を示すブロック図である。It is a block diagram which shows the detailed structural example of the control part shown in FIG. 図7に示すレンズ信号二値化回路の詳細な構成例である。8 is a detailed configuration example of a lens signal binarization circuit shown in FIG. 7. 受光部から出力される信号の周波数成分を示す図である。It is a figure which shows the frequency component of the signal output from a light-receiving part. 図7に示すDCユニット等の詳細を示すブロック図である。FIG. 8 is a block diagram showing details of the DC unit and the like shown in FIG. 7. 図1に示す実施の形態の印刷装置の動作を示すフローチャートである。3 is a flowchart illustrating an operation of the printing apparatus according to the embodiment illustrated in FIG. 1. 図1に示す実施の形態における入射光と透過光の関係を示す図である。It is a figure which shows the relationship between the incident light and transmitted light in embodiment shown in FIG. レンズ、アナログ信号、ディジタル信号等の関係を示す図である。It is a figure which shows the relationship between a lens, an analog signal, a digital signal, etc. 図10に示すレンズ信号補完回路の動作を示すフローチャートである。It is a flowchart which shows operation | movement of the lens signal complementation circuit shown in FIG. レンズシートと補完対象との関係等を示す図である。It is a figure which shows the relationship between a lens sheet | seat, and a complementation object. キャリッジの速度と各部の信号の波形を示すタイミング図である。FIG. 6 is a timing diagram illustrating a carriage speed and waveforms of signals at various parts. キャリッジの他の構成例を示す図である。It is a figure which shows the other structural example of a carriage. 本発明の第2の実施の形態の概略構成例を示す図である。It is a figure which shows the schematic structural example of the 2nd Embodiment of this invention. 図18に示す光学センサおよびレンズシートの断面図である。It is sectional drawing of the optical sensor and lens sheet | seat shown in FIG. 図18に示す実施の形態におけるレンズと反射光の関係を示す図である。It is a figure which shows the relationship between the lens and reflected light in embodiment shown in FIG. 本発明の第3の実施の形態の構成例を示す図である。It is a figure which shows the structural example of the 3rd Embodiment of this invention. 図21に示す実施の形態の動作を説明するフローチャートである。It is a flowchart explaining the operation | movement of embodiment shown in FIG. 本発明の第4の実施の形態の構成例を示す図である。It is a figure which shows the structural example of the 4th Embodiment of this invention. 図23に示す実施の形態の動作を説明するフローチャートである。It is a flowchart explaining the operation | movement of embodiment shown in FIG. 凸レンズによる立体視の原理を説明する図である。It is a figure explaining the principle of the stereoscopic vision by a convex lens.

符号の説明Explanation of symbols

11 凸レンズ(レンズ),22 発光部(発光手段),32 記録ヘッド(印刷手段),40 光学センサ(検出手段),50 紙送りローラ(搬送手段の一部),51 紙送りモータ(搬送手段の一部),109 ヘッドドライバ(調整手段),300 反射板(反射手段),308 CPUタイマ(決定手段),409 CPUタイマ(決定手段)   DESCRIPTION OF SYMBOLS 11 Convex lens (lens), 22 Light emission part (light emission means), 32 Recording head (printing means), 40 Optical sensor (detection means), 50 Paper feed roller (a part of conveyance means), 51 Paper feed motor (of conveyance means) 109) Head driver (adjusting means), 300 Reflector (reflecting means), 308 CPU timer (determining means), 409 CPU timer (determining means)

Claims (11)

レンズが複数形成された第1の面と、印刷面が形成された第2の面とを有するレンズシートを当該レンズの長手方向に搬送する搬送手段と、
上記第2の面上を上記レンズの長手方向に交差する方向に走査するとともに、当該第2の面に上記複数のレンズの配列に応じた画像を印刷する印刷手段と、
上記第1の面に形成された上記レンズの位置を検出し、検出信号を出力する検出手段と、
上記検出手段から出力される上記検出信号が規則性を有しない場合には、当該検出信号を補完する補完手段と、
上記補完手段により補完された上記検出信号に基づいて、上記印刷手段によって画像を印刷する位置を調整する調整手段と、
有することを特徴とする印刷装置。
Conveying means for conveying a lens sheet having a first surface on which a plurality of lenses are formed and a second surface on which a printing surface is formed in the longitudinal direction of the lens;
Printing means for scanning the second surface in a direction crossing the longitudinal direction of the lens and printing an image corresponding to the arrangement of the plurality of lenses on the second surface;
Detecting means for detecting a position of the lens formed on the first surface and outputting a detection signal;
If the detection signal output from the detection means does not have regularity, complement means for complementing the detection signal;
An adjusting means for adjusting a position for printing an image by the printing means based on the detection signal complemented by the complementing means;
A printing apparatus comprising:
前記検出手段は、前記レンズに応じてハイまたはローの状態となり、
前記補完手段は、前記検出信号のハイまたはローの状態を観察し、一定時間以上ハイまたはローの状態が継続する場合には、当該状態を変遷させることを特徴とする請求項1記載の印刷装置。
The detection means is in a high or low state depending on the lens,
The printing apparatus according to claim 1, wherein the complementing unit observes a high or low state of the detection signal and changes the state when the high or low state continues for a predetermined time or longer. .
前記補完手段は、過去における前記検出信号の状態の変化に要する時間に関する情報を記憶しておき、前記検出信号が変化しない状態が当該記憶されている時間以上継続する場合に、補完処理を実行することを特徴とする請求項2記載の印刷装置。   The complement means stores information related to the time required for the change in the state of the detection signal in the past, and performs a complement process when the state in which the detection signal does not change continues for the stored time or longer. The printing apparatus according to claim 2. 前記レンズシートを挟んで、前記印刷手段に対向する位置であって、当該印刷手段の走査経路に沿うように配置された発光手段をさらに有し、
前記検出手段は、前記印刷手段の一部であって、上記発光手段に対向する位置に設けられており、上記発光手段によって前記レンズシートの前記第1の面に対して照射され、前記レンズの少なくとも一部を透過した光の強度を検出することを特徴とする請求項1記載の印刷装置。
It further has a light emitting means arranged so as to face the printing means across the lens sheet and along the scanning path of the printing means,
The detection means is a part of the printing means and is provided at a position facing the light emitting means. The light emitting means irradiates the first surface of the lens sheet, and the lens The printing apparatus according to claim 1, wherein the intensity of light transmitted through at least a part is detected.
レンズが複数形成された第1の面と、印刷面が形成された第2の面とを有するレンズシートを当該レンズの長手方向に搬送し、
上記第2の面上を上記レンズの長手方向に交差する方向に走査するとともに、当該第2の面に上記複数のレンズの配列に応じた画像を印刷し、
上記第1の面に形成された上記レンズの位置を検出して検出信号を出力し、
上記検出信号が規則性を有しない場合には、上記検出信号を補完し、
補完がなされた上記検出信号に基づいて、画像を印刷する位置を調整する、
ことを特徴とする印刷方法。
A lens sheet having a first surface on which a plurality of lenses are formed and a second surface on which a printing surface is formed is conveyed in the longitudinal direction of the lens;
Scanning the second surface in a direction crossing the longitudinal direction of the lens, printing an image according to the arrangement of the plurality of lenses on the second surface,
Detecting the position of the lens formed on the first surface and outputting a detection signal;
If the detection signal does not have regularity, complement the detection signal,
Based on the detection signal that has been complemented, adjust the position to print the image,
A printing method characterized by the above.
レンズが複数形成された第1の面と、印刷面が形成された第2の面とを有するレンズシートを当該レンズの長手方向に搬送する搬送手段と、
上記第2の面上を上記レンズの長手方向に交差する方向に走査するとともに、当該第2の面に上記複数のレンズの配列に応じた画像を印刷する印刷手段と、
上記第1の面に形成された上記レンズの位置を検出する検出手段と、
上記検出手段による検出結果に基づいて、上記レンズの代表的な幅に関する情報を決定する決定手段と、
上記決定手段によって決定された代表的なレンズ幅に基づいて、上記印刷手段によって画像を印刷するタイミングを指示するタイミング信号を生成する生成手段と、
有することを特徴とする印刷装置。
Conveying means for conveying a lens sheet having a first surface on which a plurality of lenses are formed and a second surface on which a printing surface is formed in the longitudinal direction of the lens;
Printing means for scanning the second surface in a direction crossing the longitudinal direction of the lens and printing an image corresponding to the arrangement of the plurality of lenses on the second surface;
Detecting means for detecting the position of the lens formed on the first surface;
A determination unit that determines information on a representative width of the lens based on a detection result by the detection unit;
Generating means for generating a timing signal for instructing the timing for printing an image by the printing means based on the representative lens width determined by the determining means;
A printing apparatus comprising:
前記代表的なレンズ幅に関する情報は、複数のレンズの幅の平均値であることを特徴とする請求項6記載の印刷装置。   The printing apparatus according to claim 6, wherein the information about the representative lens width is an average value of a plurality of lens widths. 前記代表的なレンズ幅に関する情報は、複数のレンズの幅の出現頻度を求め、出現頻度が最も高いレンズ幅を代表的なレンズ幅とすることを特徴とする請求項6記載の印刷装置。   The printing apparatus according to claim 6, wherein the information regarding the representative lens width obtains an appearance frequency of a plurality of lens widths, and uses a lens width having the highest appearance frequency as a representative lens width. 前記出現頻度が高いレンズ幅が複数存在する場合には、最小のレンズ幅を代表レンズ幅とすることを特徴とする請求項8記載の印刷装置。   The printing apparatus according to claim 8, wherein when there are a plurality of lens widths having a high appearance frequency, the minimum lens width is set as a representative lens width. 前記レンズシートを挟んで、前記印刷手段に対向する位置であって、当該印刷手段の走査経路に沿うように配置された発光手段をさらに有し、
前記検出手段は、前記印刷手段の一部であって、上記発光手段に対向する位置に設けられており、上記発光手段によって前記レンズシートの前記第1の面に対して照射され、前記レンズの少なくとも一部を透過した光の強度を検出することを特徴とする請求項6記載の印刷装置。
It further has a light emitting means arranged so as to face the printing means across the lens sheet and along the scanning path of the printing means,
The detection means is a part of the printing means and is provided at a position facing the light emitting means. The light emitting means irradiates the first surface of the lens sheet, and the lens The printing apparatus according to claim 6, wherein the intensity of light transmitted through at least a part is detected.
レンズが複数形成された第1の面と、印刷面が形成された第2の面とを有するレンズシートを当該レンズの長手方向に搬送し、
上記第2の面上を上記レンズの長手方向に交差する方向に走査するとともに、当該第2の面に上記複数のレンズの配列に応じた画像を印刷し、
上記第1の面に形成された上記レンズの位置を検出し、
上記レンズの位置の検出結果に基づいて、上記レンズの代表的な幅に関する情報を決定し、
決定された代表的なレンズ幅に基づいて、画像を印刷するタイミングを指示するタイミング信号を生成する、
ことを特徴とする印刷方法。
A lens sheet having a first surface on which a plurality of lenses are formed and a second surface on which a printing surface is formed is conveyed in the longitudinal direction of the lens;
Scanning the second surface in a direction intersecting the longitudinal direction of the lens, printing an image according to the arrangement of the plurality of lenses on the second surface,
Detecting the position of the lens formed on the first surface;
Based on the detection result of the position of the lens, determine information about the representative width of the lens,
Based on the determined representative lens width, a timing signal indicating the timing for printing an image is generated.
A printing method characterized by the above.
JP2005319167A 2005-11-02 2005-11-02 Printing apparatus and printing method Expired - Fee Related JP5082225B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2005319167A JP5082225B2 (en) 2005-11-02 2005-11-02 Printing apparatus and printing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2005319167A JP5082225B2 (en) 2005-11-02 2005-11-02 Printing apparatus and printing method

Publications (2)

Publication Number Publication Date
JP2007125750A true JP2007125750A (en) 2007-05-24
JP5082225B2 JP5082225B2 (en) 2012-11-28

Family

ID=38148822

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2005319167A Expired - Fee Related JP5082225B2 (en) 2005-11-02 2005-11-02 Printing apparatus and printing method

Country Status (1)

Country Link
JP (1) JP5082225B2 (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH08137034A (en) * 1994-11-10 1996-05-31 Canon Inc Image recording method to lenticular plate, ink jet recorder and information processing system
JPH0915766A (en) * 1995-06-30 1997-01-17 Canon Inc Lenticular printing medium, recording matter, ink jet recorder, ink jet recording method and information processing method
JPH09187976A (en) * 1995-11-10 1997-07-22 Matsushita Electric Ind Co Ltd Image recording apparatus, image data forming apparatus and recording method
JP2001042462A (en) * 1999-07-30 2001-02-16 Photo Craft Sha:Kk Method for producing image observed through lenticular screen
JP2003011406A (en) * 1995-11-10 2003-01-15 Matsushita Electric Ind Co Ltd Image recording apparatus, image data producing apparatus, recording method, image recording method and image data producing method
JP2005186463A (en) * 2003-12-25 2005-07-14 Seiko Epson Corp Printing medium
JP2005238706A (en) * 2004-02-27 2005-09-08 Fuji Xerox Co Ltd Imaging device

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH08137034A (en) * 1994-11-10 1996-05-31 Canon Inc Image recording method to lenticular plate, ink jet recorder and information processing system
JP3471930B2 (en) * 1994-11-10 2003-12-02 キヤノン株式会社 Inkjet recording device
JPH0915766A (en) * 1995-06-30 1997-01-17 Canon Inc Lenticular printing medium, recording matter, ink jet recorder, ink jet recording method and information processing method
JPH09187976A (en) * 1995-11-10 1997-07-22 Matsushita Electric Ind Co Ltd Image recording apparatus, image data forming apparatus and recording method
JP2003011406A (en) * 1995-11-10 2003-01-15 Matsushita Electric Ind Co Ltd Image recording apparatus, image data producing apparatus, recording method, image recording method and image data producing method
JP2001042462A (en) * 1999-07-30 2001-02-16 Photo Craft Sha:Kk Method for producing image observed through lenticular screen
JP2005186463A (en) * 2003-12-25 2005-07-14 Seiko Epson Corp Printing medium
JP2005238706A (en) * 2004-02-27 2005-09-08 Fuji Xerox Co Ltd Imaging device

Also Published As

Publication number Publication date
JP5082225B2 (en) 2012-11-28

Similar Documents

Publication Publication Date Title
US8009187B2 (en) Lens sheet and printer
JP2007076084A (en) Printer, and printing method
JP6007514B2 (en) Liquid ejecting apparatus and medium end position detecting method in liquid ejecting apparatus
JP2011167897A (en) Image forming device
JP5974538B2 (en) Liquid ejector
JP4337823B2 (en) Printer and printing method
US20110193930A1 (en) Encoder sensor and image forming apparatus including the encoder sensor
JP4752387B2 (en) Printing apparatus and printing method
JP2007127521A (en) Lens sheet measuring device, printer equipped therewith, and lens sheet measuring technique
JP4997775B2 (en) Printer
JP5082225B2 (en) Printing apparatus and printing method
JP2010162909A (en) Optical sensor for determining print operation state, printer, and method for determining print operation state
JP2007125790A (en) Printer and printing method
JP2007206593A (en) Oblique printing method and printer
JP4835110B2 (en) Image processing apparatus, printing apparatus, and printing method
JP2007199452A (en) Image processing device, printer, and printing method
JP2008155389A (en) Printer, image processor and printing method
JP2009104154A (en) Lens sheet
JP2007098830A (en) Printing apparatus, printing method and program for printing
JP5459323B2 (en) Printing device
JP5287971B2 (en) Printing device
JP4797524B2 (en) Image processing apparatus, printing apparatus, and printing method
JP2007196602A (en) Printer
JP2007038597A (en) Printer and lens detection method
JP2021130565A (en) Image forming device

Legal Events

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

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20070405

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20080522

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20110607

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20110805

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20111129

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20120126

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20120619

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20120717

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20120807

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20120820

R150 Certificate of patent or registration of utility model

Ref document number: 5082225

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20150914

Year of fee payment: 3

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

LAPS Cancellation because of no payment of annual fees