JP6486677B2 - Electronic circuit printing method and apparatus - Google Patents

Electronic circuit printing method and apparatus Download PDF

Info

Publication number
JP6486677B2
JP6486677B2 JP2014261320A JP2014261320A JP6486677B2 JP 6486677 B2 JP6486677 B2 JP 6486677B2 JP 2014261320 A JP2014261320 A JP 2014261320A JP 2014261320 A JP2014261320 A JP 2014261320A JP 6486677 B2 JP6486677 B2 JP 6486677B2
Authority
JP
Japan
Prior art keywords
memory
mark
reference mark
substrate
camera
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.)
Active
Application number
JP2014261320A
Other languages
Japanese (ja)
Other versions
JP2016120638A (en
Inventor
渉 萩坂
渉 萩坂
大 坂田
大 坂田
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.)
Komori Corp
Original Assignee
Komori 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 Komori Corp filed Critical Komori Corp
Priority to JP2014261320A priority Critical patent/JP6486677B2/en
Priority to TW104143433A priority patent/TWI592080B/en
Priority to CN201580070465.7A priority patent/CN107107610B/en
Priority to PCT/JP2015/086022 priority patent/WO2016104600A1/en
Publication of JP2016120638A publication Critical patent/JP2016120638A/en
Application granted granted Critical
Publication of JP6486677B2 publication Critical patent/JP6486677B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

この発明は、版胴からゴム胴にインキを転写し、このインキが転写されたゴム胴を回転させながら、前処理工程で処理された伸縮し易い基材からなるシート状の被印刷物に電子回路の印刷を行う電子回路の印刷方法および装置に関するものである。   This invention transfers an ink from a plate cylinder to a rubber cylinder, and rotates the rubber cylinder to which the ink is transferred while rotating an electronic circuit on a sheet-like printed material made of a base material that is easily stretched and processed in a pretreatment process. The present invention relates to an electronic circuit printing method and apparatus for performing printing.

フィルム等の基材に電子回路を印刷する印刷では、1度目の回路を印刷した印刷物を乾燥し、絶縁膜をその上に塗布・乾燥させ、その上に2度目の回路を印刷する場合がある。この場合、2度目の回路は、印刷された1度目の回路に正確に位置合わせして印刷を行う必要がある。   In printing to print an electronic circuit on a substrate such as a film, the printed matter on which the first circuit is printed may be dried, the insulating film may be applied and dried thereon, and the second circuit may be printed thereon. . In this case, the second circuit needs to be printed with accurate alignment with the printed first circuit.

その為に、通常は、1度目の回路の印刷時に回路と共に基準マーク(レジスタマーク)を印刷し、その基準マークの位置を検出し、この検出した基準マークの位置に合わせて2度目の回路の印刷を行うようにする。   For this purpose, usually, a reference mark (register mark) is printed together with the circuit when the circuit is printed for the first time, the position of the reference mark is detected, and the second circuit is adjusted in accordance with the detected position of the reference mark. Try to print.

なお、上述した背景技術は文献公知ではない。また、出願人は出願時までに本発明に関連する先行技術文献を発見することができなかった。よって、先行技術文献情報を開示していない。   The background art described above is not publicly known. Further, the applicant has not been able to find prior art documents related to the present invention by the time of filing. Therefore, prior art document information is not disclosed.

しかしながら、上述した電子回路を基材に印刷する印刷では、基材がフィルム等の伸縮し易い部材であるために、印刷前に基準マークを検出し、ゴム胴の位置および回転速度を合わせても、基準マークを検出してから印刷時点まで、また印刷中にも基材が伸びるため、2度目に印刷された回路が1度目に印刷された回路に正確に重ならない、という問題があった。   However, in printing that prints the electronic circuit described above on the base material, the base material is an easily stretchable member such as a film. Therefore, even if the reference mark is detected before printing and the position and rotation speed of the rubber cylinder are adjusted. There is a problem in that the circuit printed at the second time does not overlap the circuit printed at the first time accurately because the base material extends from the detection of the reference mark to the printing point of time and during printing.

本発明は、このような課題を解決するためになされたもので、その目的とするところは、基材の伸縮の度合いに拘わらず、1度目に印刷された回路と2度目に印刷された回路との位置を正確に合わせることが可能な電子回路の印刷方法および装置を提供することにある。   The present invention has been made to solve such problems, and the object of the present invention is to provide a circuit printed at the first time and a circuit printed at the second time regardless of the degree of expansion and contraction of the base material. It is an object of the present invention to provide an electronic circuit printing method and apparatus capable of accurately aligning the position of the electronic circuit.

このような目的を達成するために本発明は、版胴からゴム胴にインキを転写し、このインキが転写されたゴム胴を回転させながら、前処理工程で処理された伸縮し易い基材からなるシート状の被印刷物に電子回路の印刷を行う電子回路の印刷方法において、被印刷物への電子回路の印刷と同時にその被印刷物の天地方向に離れた位置に1対の第1の基準マークを付加する第1基準マーク付加工程と、被印刷物の1対の第1の基準マークのうち一方の第1の基準マークを含む領域を撮像する第1の撮像工程と、被印刷物の1対の第1の基準マークのうち他方の第1の基準マークを含む領域を撮像する第2の撮像工程と、第1の撮像工程で撮像された被印刷物の画像から一方の第1の基準マークの位置を検出する第1の第1基準マーク位置検出工程と、第2の撮像工程で撮像された被印刷物の画像から他方の第1の基準マークの位置を検出する第2の第1基準マーク位置検出工程と、第1の第1基準マーク位置検出工程で検出された一方の第1の基準マークの位置および第2の第1基準マーク位置検出工程で検出された他方の第1の基準マークの位置より1対の第1の基準マーク間の距離を求める第1基準マーク間距離演算工程と、前処理工程で、被印刷物の天地方向に離れた位置に1対の第2の基準マークを付加する第2基準マーク付加工程と、被印刷物の1対の第2の基準マークのうち一方の第2の基準マークを含む領域を撮像する第3の撮像工程と、被印刷物の1対の第2の基準マークのうち他方の第2の基準マークを含む領域を撮像する第4の撮像工程と、第3の撮像工程で撮像された被印刷物の画像から一方の第2の基準マークの位置を検出する第1の第2基準マーク位置検出工程と、第4の撮像工程で撮像された被印刷物の画像から他方の第2の基準マークの位置を検出する第2の第2基準マーク位置検出工程と、第1の第2基準マーク位置検出工程で検出された一方の第2の基準マークの位置および第2の第2基準マーク位置検出工程で検出された他方の第2の基準マークの位置より1対の第2の基準マーク間の距離を求める第2基準マーク間距離演算工程と、1対の第1の基準マークが付加された被印刷物を前回の被印刷物とし、前処理工程で1対の第2の基準マークが付加された被印刷物を今回の被印刷物とし、第1基準マーク間距離演算工程で求められた前回の被印刷物の1対の第1の基準マーク間の距離と第2基準マーク間距離演算工程で求められた今回の被印刷物の1対の第2の基準マーク間の距離とに応じて、今回の被印刷物への電子回路の印刷時のゴム胴の回転速度を調整する回転速度調整工程とを備えることを特徴とする。 In order to achieve such an object, the present invention transfers an ink from a plate cylinder to a rubber cylinder, and rotates the rubber cylinder to which the ink has been transferred, while rotating the base material that has been processed in the pretreatment process. In an electronic circuit printing method for printing an electronic circuit on a sheet-like printed material, a pair of first reference marks are placed at positions away from each other in the vertical direction of the printed material simultaneously with the printing of the electronic circuit on the printed material. A first reference mark adding step for adding, a first imaging step for imaging a region including one first reference mark of the pair of first reference marks on the printed material, and a pair of first reference marks on the printed material. A second imaging step of imaging an area including the other first reference mark among the one reference mark, and the position of the first reference mark from the image of the substrate imaged in the first imaging step. First first reference mark position detecting process to detect And a second first reference mark position detecting step for detecting the position of the other first reference mark from the image of the printing material imaged in the second imaging step, and a first first reference mark position detecting step. The distance between the pair of first reference marks is determined from the position of the first reference mark detected in step 1 and the position of the other first reference mark detected in the second first reference mark position detection step. A first reference mark distance calculating step to be obtained; a second reference mark adding step of adding a pair of second reference marks at positions separated in the vertical direction of the substrate in the pre-processing step; and a pair of substrates to be printed A third imaging step of imaging an area including one second reference mark of the second reference marks, and the other second reference mark of the pair of second reference marks of the substrate. Shooting in the fourth imaging step and the third imaging step for imaging a region A first second reference mark position detecting step for detecting the position of one second reference mark from the image of the printed substrate, and a second second mark from the image of the printed substrate imaged in the fourth imaging step. A second second reference mark position detecting step for detecting the position of the reference mark; and the position of one second reference mark and the second second reference mark detected in the first second reference mark position detecting step. A second inter-reference mark distance calculation step for obtaining a distance between a pair of second reference marks from the position of the other second reference mark detected in the position detection step and a pair of first reference marks are added. The printed material to be printed is the previous printed material, the printed material to which the pair of second reference marks is added in the preprocessing step is the current printed material, and the previous printed material obtained in the first reference mark distance calculating step is used. Distance between a pair of first fiducial marks on the substrate Rotation of the rubber cylinder during printing of the electronic circuit on the current printing material according to the distance between the second reference mark of the current printing material obtained in the second reference mark distance calculating step And a rotational speed adjusting step for adjusting the speed .

本発明において、例えば、伸縮し易い基材からなるシート状の被印刷物を1枚のフィルムとし、この1枚のフィルムに1度目の回路が印刷されているものとした場合、この1度目の回路が印刷されているフィルムに、インキが転写されたゴム胴を回転させながら、2度目の回路の印刷が行われる。本発明では、この2度目の回路の印刷と同時に、被印刷物の天地方向に離れた位置に1対の第1の基準マークを付加する。   In the present invention, for example, when a sheet-like printed material made of a base material that easily expands and contracts is a single film, and the first circuit is printed on the one film, the first circuit The circuit is printed a second time while rotating the rubber cylinder onto which the ink has been transferred to the film on which is printed. In the present invention, at the same time as the second circuit printing, a pair of first reference marks are added at positions separated in the vertical direction of the substrate.

本発明において、被印刷物には2度目の回路の印刷と同時に天地方向に離れた位置に1対の第1の基準マークが付加されるが、この2度目の回路の印刷の後に、被印刷物の1対の第1の基準マークのうち一方の第1の基準マークを含む領域を撮像し、この撮像した被印刷物の画像から一方の第1の基準マークの位置を検出する。また、被印刷物の1対の第1の基準マークのうち他方の第1の基準マークを含む領域を撮像し、この撮像した被印刷物の画像から他方の第1の基準マークの位置を検出する。そして、この検出した一方の第1の基準マークの位置と他方の第1の基準マークの位置より1対の第1の基準マーク間の距離を求める。 In the present invention, a pair of first reference marks are added to the substrate at a position apart in the vertical direction at the same time as the second circuit printing, and after the second circuit printing, An area including one first reference mark among the pair of first reference marks is imaged, and the position of one first reference mark is detected from the image of the imaged substrate. Further, an area including the other first reference mark of the pair of first reference marks on the printed material is imaged, and the position of the other first reference mark is detected from the captured image of the printed material. Then, a distance between the pair of first reference marks is obtained from the detected position of the first reference mark and the position of the other first reference mark .

また、本発明では、前処理工程で、被印刷物の天地方向に離れた位置に1対の第2の基準マークを付加し、この被印刷物の1対の第2の基準マークのうち一方の第2の基準マークを含む領域および他方の第2の基準マークを含む領域を撮像し、この撮像した被印刷物の画像から一方の第2の基準マークの位置および他方の第2の基準マークの位置を検出し、この検出した一方の第2の基準マークの位置および他方の第2の基準マークの位置より1対の第2の基準マーク間の距離を求める
また、本発明では、1対の第1の基準マークが付加された被印刷物を前回の被印刷物とし、前処理工程で1対の第2の基準マークが付加された被印刷物を今回の被印刷物とし、前回の被印刷物の1対の第1の基準マーク間の距離と今回の被印刷物の1対の第2の基準マーク間の距離とに応じて、今回の被印刷物への電子回路の印刷時のゴム胴の回転速度を調整する
In the present invention, in the pretreatment step, a pair of second reference marks are added at positions away from each other in the vertical direction of the printed material, and one of the pair of second reference marks of the printed material is the first one. An area including the second reference mark and an area including the other second reference mark are imaged, and the position of one second reference mark and the position of the other second reference mark are determined from the captured image of the printed material. detecting, determining the distance between the second reference mark pair from the position of the second reference mark position and the other of the second reference mark while the detection.
Further, in the present invention, the substrate to which the pair of first reference marks is added is the previous substrate, and the substrate to which the pair of second reference marks is added in the preprocessing step is the current substrate. According to the distance between the pair of first reference marks of the previous printed material and the distance between the pair of second reference marks of the current printed material, the electronic circuit is printed on the current printed material. Adjust the rotation speed of the rubber cylinder .

これにより、第1の基準マーク間の距離より被印刷物の印刷された区間の伸縮率を求め、第2の基準マーク間の距離より被印刷物の印刷される前までの伸縮率を求め、印刷の際、この求められた2つの伸縮率を考慮してゴム胴の回転速度を調整するようにして、基材の伸縮の度合いに拘わらず、次の被印刷物(今回の被印刷物(1度目の回路))への電子回路(2度目の回路)の印刷を正確に重なるようにして行わせることが可能となる。 Thereby, the expansion / contraction rate of the section on which the printed material is printed is obtained from the distance between the first reference marks, and the expansion / contraction rate until the printed material is printed is calculated from the distance between the second reference marks. At this time, the rotation speed of the rubber cylinder is adjusted in consideration of the two expansion ratios thus obtained, and the next substrate (the current substrate (the first circuit) (the first circuit) )) Can be printed so that the electronic circuit (second circuit) is accurately overlapped.

以上説明したように、本発明によれば、第1の基準マーク間の距離より被印刷物の印刷された区間の伸縮率を求め、第2の基準マーク間の距離より被印刷物の印刷される前までの伸縮率を求め、印刷の際、この求められた2つの伸縮率を考慮してゴム胴の回転速度を調整するようにして、基材の伸縮の度合いに拘わらず、次の被印刷物(今回の被印刷物(1度目の回路))への電子回路(2度目の回路)の印刷を正確に重なるようにして行わせることが可能となる。 As described above, according to the present invention, the expansion / contraction ratio of the printed section of the printed material is obtained from the distance between the first reference marks, and before the printed material is printed from the distance between the second reference marks. In the printing process, the rotation speed of the rubber cylinder is adjusted in consideration of the obtained two expansion ratios, so that the next substrate ( It is possible to print the electronic circuit (second circuit) on the substrate to be printed (first circuit) at this time so as to be accurately overlapped.

本発明に係る電子回路の印刷方法の実施に用いる電子回路の印刷装置の一実施の形態の要部を示す図である。It is a figure which shows the principal part of one Embodiment of the printing apparatus of the electronic circuit used for implementation of the printing method of the electronic circuit which concerns on this invention. この電子回路の印刷装置において被印刷物に前処理工程で印刷された第1のレジスタマーク(第1レジスタマーク)およびカメラなどの配置を示す平面図である。It is a top view which shows arrangement | positioning of the 1st register mark (1st register mark) and the camera etc. which were printed on the to-be-printed object in the printing apparatus of this electronic circuit. この電子回路の印刷装置において被印刷物に印刷と同時に印刷された第2のレジスタマーク(第2レジスタマーク)およびカメラなどの配置を示す平面図である。It is a top view which shows arrangement | positioning of the 2nd register mark (2nd register mark) and the camera etc. which were printed simultaneously with printing in to-be-printed material in this electronic circuit printing apparatus. この電子回路の印刷装置における平台印刷制御装置の要部のブロック図である。It is a block diagram of the principal part of the flatbed printing control apparatus in this electronic circuit printing apparatus. 平台印刷制御装置におけるメモリの内容を分割して示す図である。It is a figure which divides | segments and shows the content of the memory in a flatbed printing control apparatus. 平台印刷制御装置におけるメモリの内容を分割して示す図である。It is a figure which divides | segments and shows the content of the memory in a flatbed printing control apparatus. 平台印刷制御装置におけるメモリの内容を分割して示す図である。It is a figure which divides | segments and shows the content of the memory in a flatbed printing control apparatus. 平台印刷制御装置におけるメモリの内容を分割して示す図である。It is a figure which divides | segments and shows the content of the memory in a flatbed printing control apparatus. 平台印刷制御装置におけるメモリの内容を分割して示す図である。It is a figure which divides | segments and shows the content of the memory in a flatbed printing control apparatus. 平台印刷制御装置におけるメモリの内容を分割して示す図である。It is a figure which divides | segments and shows the content of the memory in a flatbed printing control apparatus. 平台印刷制御装置におけるメモリの内容を分割して示す図である。It is a figure which divides | segments and shows the content of the memory in a flatbed printing control apparatus. 平台印刷制御装置におけるメモリの内容を分割して示す図である。It is a figure which divides | segments and shows the content of the memory in a flatbed printing control apparatus. 平台印刷制御装置の動作を説明するためのフローチャートである。It is a flowchart for demonstrating operation | movement of a flatbed printing control apparatus. 図13に続くフローチャートである。It is a flowchart following FIG. 図14に続くフローチャートである。It is a flowchart following FIG. 図15に続くフローチャートである。It is a flowchart following FIG. 図16に続くフローチャートである。It is a flowchart following FIG. 図17に続くフローチャートである。It is a flowchart following FIG. 図18に続くフローチャートである。It is a flowchart following FIG. 図19に続くフローチャートである。It is a flowchart following FIG. 図19に続くフローチャートである。It is a flowchart following FIG. 図21に続くフローチャートである。It is a flowchart following FIG. 図22に続くフローチャートである。It is a flowchart following FIG. 図22に続くフローチャートである。It is a flowchart following FIG. 図24に続くフローチャートである。It is a flowchart following FIG. 図25に続くフローチャートである。It is a flowchart following FIG. 図26に続くフローチャートである。It is a flowchart following FIG. 図26に続くフローチャートである。It is a flowchart following FIG. 図28に続くフローチャートである。It is a flowchart following FIG. 図29に続くフローチャートである。It is a flowchart following FIG. 図29に続くフローチャートである。It is a flowchart following FIG. 図31に続くフローチャートである。It is a flowchart following FIG. 図32に続くフローチャートである。It is a flowchart following FIG. 図33に続くフローチャートである。It is a flowchart following FIG. 図34に続くフローチャートである。It is a flowchart following FIG. 図35に続くフローチャートである。It is a flowchart following FIG. 図36に続くフローチャートである。It is a flowchart following FIG. 図37に続くフローチャートである。It is a flowchart following FIG. 図38に続くフローチャートである。It is a flowchart following FIG. 図39に続くフローチャートである。It is a flowchart following FIG. 図40に続くフローチャートである。It is a flowchart following FIG. 図41に続くフローチャートである。It is a flowchart following FIG. 図40に続くフローチャートである。It is a flowchart following FIG. 図43に続くフローチャートである。It is a flowchart following FIG. 図44に続くフローチャートである。It is a flowchart following FIG. 図45に続くフローチャートである。It is a flowchart following FIG. 図46に続くフローチャートである。It is a flowchart following FIG. 図47に続くフローチャートである。It is a flowchart following FIG. 図48に続くフローチャートである。It is a flowchart following FIG. 図49に続くフローチャートである。It is a flowchart following FIG. 図50に続くフローチャートである。It is a flowchart following FIG. 図51に続くフローチャートである。It is a flowchart following FIG. 図51に続くフローチャートである。It is a flowchart following FIG. 図53に続くフローチャートである。It is a flowchart following FIG. 図54に続くフローチャートである。It is a flowchart following FIG. 図54に続くフローチャートである。It is a flowchart following FIG. 図56に続くフローチャートである。It is a flowchart following FIG. 図57に続くフローチャートである。It is a flowchart following FIG. 図58に続くフローチャートである。FIG. 59 is a flowchart following on from FIG. 58. FIG. 図58に続くフローチャートである。FIG. 59 is a flowchart following on from FIG. 58. FIG. 図60に続くフローチャートである。It is a flowchart following FIG. 図61に続くフローチャートである。It is a flowchart following FIG. 図61に続くフローチャートである。It is a flowchart following FIG. 図63に続くフローチャートである。It is a flowchart following FIG. 図64に続くフローチャートである。It is a flowchart following FIG. 左のカメラの第1のマーク位置の撮像画像からのパターンマッチングによる左の第1のマーク位置の第1レジスタマークの位置の検出過程を説明する図である。It is a figure explaining the detection process of the position of the 1st register mark of the left 1st mark position by the pattern matching from the captured image of the 1st mark position of the left camera. 右のカメラの第1のマーク位置の撮像画像からのパターンマッチングによる右の第1のマーク位置の第1レジスタマークの位置の検出過程を説明する図である。It is a figure explaining the detection process of the position of the 1st register mark of the 1st right mark position by the pattern matching from the captured image of the 1st mark position of the right camera. 左のカメラの第2のマーク位置の撮像画像からのパターンマッチングによる左の第2のマーク位置の第1レジスタマークの位置の検出過程を説明する図である。It is a figure explaining the detection process of the position of the 1st register mark of the left 2nd mark position by the pattern matching from the captured image of the 2nd mark position of the left camera. 右のカメラの第2のマーク位置の撮像画像からのパターンマッチングによる右の第2のマーク位置の第1レジスタマークの位置の検出過程を説明する図である。It is a figure explaining the detection process of the position of the 1st register mark of the right 2nd mark position by the pattern matching from the captured image of the 2nd mark position of the right camera. 第1のマーク位置における第1レジスタマークのY方向のずれ量の算出過程、第1レジスタマーク間の距離の算出過程および第1レジスタマーク間の伸縮率の算出過程を説明する図である。It is a figure explaining the calculation process of the displacement amount of the Y direction of the 1st register mark in a 1st mark position, the calculation process of the distance between 1st register marks, and the calculation process of the expansion / contraction rate between 1st register marks. 被印刷物への電子回路(2度目の回路)の印刷に際して版胴からゴム胴へインキを転写する過程を説明する図である。It is a figure explaining the process of transferring ink from a plate cylinder to a rubber cylinder at the time of printing of an electronic circuit (second circuit) on a substrate. インキが転写されたゴム胴をテーブルに降ろして被印刷物のある方向(天地方向の下流側)へ移動させる様子を示す図である。It is a figure which shows a mode that the rubber | gum cylinder to which the ink was transferred is dropped on a table, and is moved to the direction (to the downstream of a vertical direction) of a to-be-printed material. ゴム胴が補正された印刷開始位置に到達した状態を示す図である。It is a figure which shows the state which reached | attained the printing start position where the rubber cylinder was correct | amended. ゴム胴が印刷終了位置に到達した状態を示す図である。It is a figure which shows the state which the rubber | gum cylinder reached | attained the printing end position. 印刷終了位置に到達したゴム胴をテーブルから上昇させて版胴が位置している側(天地方向の上流側)に移動させる様子を示す図である。It is a figure which shows a mode that the rubber | gum cylinder which reached | attained the printing completion position is raised from a table, and is moved to the side (upstream side of a top-down direction) in which the plate cylinder is located. 移動を開始する前の最初の位置(原点位置)にゴム胴を戻した状態を示す図である。It is a figure which shows the state which returned the rubber cylinder to the first position (origin position) before starting a movement. 左のカメラの第1のマーク位置の撮像画像からのパターンマッチングによる左の第1のマーク位置の第2レジスタマークの位置の検出過程を説明する図である。It is a figure explaining the detection process of the position of the 2nd register mark of the left 1st mark position by the pattern matching from the captured image of the 1st mark position of the left camera. 右のカメラの第1のマーク位置の撮像画像からのパターンマッチングによる右の第1のマーク位置の第2レジスタマークの位置の検出過程を説明する図である。It is a figure explaining the detection process of the position of the 2nd register mark of the 1st right mark position by the pattern matching from the captured image of the 1st mark position of the right camera. 左のカメラの第2のマーク位置の撮像画像からのパターンマッチングによる左の第2のマーク位置の第2レジスタマークの位置の検出過程を説明する図である。It is a figure explaining the detection process of the position of the 2nd register mark of the left 2nd mark position by the pattern matching from the captured image of the 2nd mark position of the left camera. 右のカメラの第2のマーク位置の撮像画像からのパターンマッチングによる右の第2のマーク位置の第2レジスタマークの位置の検出過程を説明する図である。It is a figure explaining the detection process of the position of the 2nd register mark of the 2nd mark position of the right by the pattern matching from the captured image of the 2nd mark position of the right camera. 第1のマーク位置における第2レジスタマークのY方向のずれ量の算出過程、第2レジスタマーク間の距離の算出過程および第2レジスタマーク間の伸縮率の算出過程を説明する図である。It is a figure explaining the calculation process of the displacement amount of the Y direction of the 2nd register mark in a 1st mark position, the calculation process of the distance between 2nd register marks, and the calculation process of the expansion / contraction rate between 2nd register marks. 前処理工程において被印刷物の天地方向に離れた位置に印刷する1対の第1レジスタマークの変形例を示す図である。It is a figure which shows the modification of a pair of 1st register mark printed in the position away in the top-down direction of to-be-printed material in the pre-processing process.

以下、本発明を図面に基づいて詳細に説明する。
図1は本発明に係る電子回路の印刷方法の実施に用いる電子回路の印刷装置の一実施の形態の要部を示す図である。
Hereinafter, the present invention will be described in detail with reference to the drawings.
FIG. 1 is a diagram showing a main part of an embodiment of an electronic circuit printing apparatus used for carrying out an electronic circuit printing method according to the present invention.

この電子回路の印刷装置は、版胴(P)1とゴム胴(B)2と平台(テーブル)3とを備えたフラットベッドタイプの印刷機(平台印刷機)100と、この印刷機100に対して設けられた平台印刷制御装置200とを備えている。   The electronic circuit printing apparatus includes a flat bed type printing machine (flat bed printing machine) 100 including a plate cylinder (P) 1, a rubber cylinder (B) 2, and a flat table (table) 3. The flatbed printing control apparatus 200 is provided.

印刷機100において、版胴1およびゴム胴2は回転可能に支持されており、テーブル3には所定の位置に被印刷物4がセットされ、版胴1にはテーブル3上の被印刷物4に電子回路を印刷するための版が装着されている。被印刷物4は、1枚のフィルムであり、1度目の回路が印刷されている。   In the printing machine 100, the plate cylinder 1 and the rubber cylinder 2 are rotatably supported, and a printing material 4 is set at a predetermined position on the table 3, and the printing material 4 on the table 3 is electronically connected to the printing cylinder 1. A plate for printing the circuit is installed. The substrate 4 is a single film on which a first circuit is printed.

この印刷機100では、版胴1からゴム胴2にインキが転写され、このインキが転写されたゴム胴2がテーブル3に降ろされ、このテーブル3に降ろされたゴム胴2が回転しながら図示右方向に移動することによって、被印刷物4への電子回路(2度目の回路)の印刷が行われる。   In this printing machine 100, ink is transferred from the plate cylinder 1 to the rubber cylinder 2, the rubber cylinder 2 to which this ink has been transferred is lowered onto the table 3, and the rubber cylinder 2 lowered onto the table 3 rotates while being illustrated. By moving in the right direction, the electronic circuit (second circuit) is printed on the substrate 4.

被印刷物4は、同じ印刷機100で1度目の回路を印刷し、乾燥させた後、絶縁膜をその上に塗布した状態で、再度この印刷機100にセットされている。すなわち、被印刷物4には前処理工程で、1度目の回路の印刷や絶縁膜の塗布が行われている。   The substrate 4 is set on the printing machine 100 again after the first circuit is printed on the same printing machine 100 and dried, and then an insulating film is applied thereon. That is, the printed circuit board 4 is first printed with a circuit and coated with an insulating film in a pretreatment process.

また、本実施の形態では、この被印刷物4への2度目の回路の印刷を行う前の前処理工程において、1度目の回路の印刷と同時に、図2に示すように、被印刷物4に4つのレジスタマークRM1(第1のレジスタマーク)を印刷している。   Further, in the present embodiment, in the pre-processing step before the second circuit is printed on the substrate 4, simultaneously with the first circuit printing, as shown in FIG. Two register marks RM1 (first register marks) are printed.

この例では、ゴム胴2が移動する方向を被印刷物4の天地方向(Y方向)とし、この天地方向と直交する方向を被印刷物4の左右方向(X方向)とし、被印刷物4の左側の天地方向に離れた位置に1対のレジスタマークRM1L1とRM1L2を、被印刷物4の右側の天地方向に離れた位置に1対のレジスタマークRM1R1とRM1R2を、1度目の回路の印刷と同時に印刷している。 In this example, the direction in which the rubber cylinder 2 moves is the vertical direction (Y direction) of the printing material 4, and the direction orthogonal to the vertical direction is the left-right direction (X direction) of the printing material 4. Print a pair of register marks RM1 L1 and RM1 L2 at positions separated in the vertical direction, and a pair of register marks RM1 R1 and RM1 R2 at positions separated in the vertical direction on the right side of the substrate 4 Printing at the same time.

また、本実施の形態では、1度目の回路が印刷された被印刷物4への2度目の回路の印刷を行う際、この2度目の回路の印刷と同時に、図3に示すように、被印刷物4に4つのレジスタマークRM2(第2のレジスタマーク)を印刷するものとしている。この例では、被印刷物4の左側の天地方向に離れた位置に1対のレジスタマークRM2L1とRM2L2を、被印刷物4の右側の天地方向に離れた位置に1対のレジスタマークRM2R1とRM2R2を、2度目の回路の印刷と同時に印刷するようにしている。 In the present embodiment, when the second circuit is printed on the printed material 4 on which the first circuit is printed, the printed material is simultaneously printed with the second circuit as shown in FIG. In FIG. 4, four register marks RM2 (second register marks) are printed. In this example, a pair of register marks RM2 L1 and RM2 L2 are disposed at positions on the left side of the substrate 4 in the vertical direction, and a pair of register marks RM2 R1 are disposed at positions on the right side of the substrate 4 in the vertical direction. RM2 R2 is printed simultaneously with the second circuit printing.

なお、図1〜3においては、1度目の回路が印刷された被印刷物4(2度目の回路の印刷前の被印刷物4)を符号4Aで示し、2度目の回路が印刷された被印刷物4(2度目の回路の印刷後の被印刷物4)を符号4Bで示し、両者を区別している。   1 to 3, the printed material 4 on which the first circuit is printed (the printed material 4 before printing the second circuit) is denoted by reference numeral 4 </ b> A, and the printed material 4 on which the second circuit is printed. (Substrate 4 after the second circuit printing) is indicated by reference numeral 4B, and is distinguished from each other.

この例において、第1のレジスタマークRM1は円形とし、第2のレジスタマークRM2は×印としているが、このような形のマークに限られるものではない。また、第1のレジスタマークRM1は、必ずしも1度目の回路の印刷と同時に印刷されたものでなくてもよく、後から塗布されたようなものであっても構わない。また、第2のレジスタマークRM1についても、2度目の回路の印刷と同時に付加されていればよく、塗布されたようなものであっても構わない。   In this example, the first register mark RM1 is circular and the second register mark RM2 is x. However, the present invention is not limited to such a mark. Further, the first register mark RM1 does not necessarily have to be printed at the same time as the first circuit printing, and may have been applied later. The second register mark RM1 may be added at the same time as the second circuit printing, and may be applied.

なお、本発明でいう1対の第1の基準マークは、2度目の回路の印刷と同時に被印刷物4の天地方向に離れた位置に印刷された第2のレジスタマークRM2の対(RM2L1とRM2L2との対、RM2R1とRM2R2との対)に相当し、1対の第2の基準マークは、1度目の回路の印刷と同時に被印刷物4の天地方向に離れた位置に印刷された第1のレジスタマークRM1(RM1L1とRM1L2との対、RM1R1とRM1R2との対)の対に相当する。以下、第1のレジスタマークRM1を第1レジスタマークと呼び、第2のレジスタマークRM2を第2レジスタマークと呼ぶ。 The pair of first reference marks referred to in the present invention is a pair of second register marks RM2 (RM2 L1 and RM2 L1) printed at a position away from the top and bottom of the substrate 4 simultaneously with the second circuit printing. RM2 L2 pair, RM2 R1 and RM2 R2 pair), and a pair of second fiducial marks are printed at positions away from the top of the substrate 4 simultaneously with the first circuit printing. This corresponds to a pair of the first register mark RM1 (a pair of RM1 L1 and RM1 L2 , a pair of RM1 R1 and RM1 R2 ). Hereinafter, the first register mark RM1 is referred to as a first register mark, and the second register mark RM2 is referred to as a second register mark.

また、この印刷機100には、テーブル3上の被印刷物4を挾んでゴム胴2とは反対側の位置に、2つのカメラ210(210L,210R)が設けられている。   Further, in the printing press 100, two cameras 210 (210L, 210R) are provided at positions opposite to the rubber cylinder 2 with the substrate 4 on the table 3 sandwiched.

第1のカメラ210L(以下、左カメラと呼ぶ)は、テーブル3上の被印刷物4の1対の第1レジスタマークRM1L1とRM1L2および第2レジスタマークRM2L1とRM2L2の印刷位置に対応して設けられており、後述するように、テーブル3上の被印刷物4の上面を天地方向に移動して、第1のマーク位置PM1において第1レジスタマークRM1L1および第2レジスタマークRM2L1を含む領域を撮像し、第2のマーク位置PM2において第1レジスタマークRM1L2および第2レジスタマークRM2L2を含む領域を撮像する。 The first camera 210L (hereinafter referred to as the left camera) corresponds to the printing positions of a pair of first register marks RM1 L1 and RM1 L2 and second register marks RM2 L1 and RM2 L2 on the substrate 4 on the table 3. As described later, the first register mark RM1 L1 and the second register mark RM2 L1 are moved at the first mark position PM1 by moving the upper surface of the substrate 4 on the table 3 in the vertical direction. An area including the first register mark RM1 L2 and the second register mark RM2 L2 is imaged at the second mark position PM2.

第2のカメラ210R(以下、右カメラと呼ぶ)は、テーブル3上の被印刷物4の1対の第1レジスタマークRM1R1とRM1R2および第2レジスタマークRM2R1とRM2R2の印刷位置に対応して設けられており、後述するように、テーブル3上の被印刷物4の上面を天地方向に移動して、第1のマーク位置PM1において第1レジスタマークRM1R1および第2レジスタマークRM2R1を含む領域を撮像し、第2のマーク位置PM2において第1レジスタマークRM1R2および第2レジスタマークRM2R2を含む領域を撮像する。 The second camera 210R (hereinafter referred to as the right camera) corresponds to the printing position of the pair of first register marks RM1 R1 and RM1 R2 and second register marks RM2 R1 and RM2 R2 on the substrate 4 on the table 3. As described later, the first register mark RM1 R1 and the second register mark RM2 R1 are moved at the first mark position PM1 by moving the upper surface of the substrate 4 on the table 3 in the vertical direction. The region including the first register mark RM1 R2 and the second register mark RM2 R2 is imaged at the second mark position PM2.

図4に平台印刷制御装置200の要部のブロック図を示す。平台印刷制御装置200は、CPU(Central Processing Unit)201、ROM(Read Only Memory)202、RAM(Random Access Memory)203、入力装置204、表示器205、出力装置(FDドライブ、プリンタ等)206、印刷準備開始スイッチ207、印刷開始スイッチ208、印刷終了後のティーチングスイッチ209,カメラ210(左カメラ210L、右カメラ210R)、カメラ移動用モータ211、カメラ移動用モータドライバ212、カメラ移動用モータ用ロータリエンコーダ213、カメラ位置検出用カウンタ214、D/A変換器215、カメラの原点位置検出器216、版胴駆動用モータ217、版胴駆動用モータドライバ218、版胴駆動用モータ用ロータリエンコーダ219、版胴回転位相検出用カウンタ220、D/A変換器221を備えている。   FIG. 4 is a block diagram of the main part of the flatbed printing control apparatus 200. The flatbed printing control apparatus 200 includes a CPU (Central Processing Unit) 201, a ROM (Read Only Memory) 202, a RAM (Random Access Memory) 203, an input device 204, a display 205, an output device (FD drive, printer, etc.) 206, Print preparation start switch 207, print start switch 208, teaching switch 209 after printing, camera 210 (left camera 210L, right camera 210R), camera moving motor 211, camera moving motor driver 212, camera moving motor rotary Encoder 213, camera position detection counter 214, D / A converter 215, camera origin position detector 216, plate cylinder drive motor 217, plate cylinder drive motor driver 218, plate cylinder drive motor rotary encoder 219, Plate cylinder rotation phase detection counter 220, D / A It has a exchanger 221.

また、ゴム胴駆動用モータ222、ゴム胴駆動用モータドライバ223、ゴム胴駆動用モータ用ロータリエンコーダ224、ゴム胴回転位相検出用カウンタ225、D/A変換器226、ゴム胴天地方向移動用モータ227、ゴム胴天地方向移動用モータドライバ228、ゴム胴天地方向移動用モータ用ロータリエンコーダ229、ゴム胴天地方向位置検出用カウンタ230、D/A変換器231、ゴム胴の天地方向の原点位置検出器232、ゴム胴昇降用エアシリンダ233、ゴム胴昇降用エアシリンダ用バルブ234、インキ装置235、胴着脱装置236、メモリ237、入出力インターフェイス(I/O,I/F)238−1〜238−16を備えている。   Also, a rubber cylinder drive motor 222, a rubber cylinder drive motor driver 223, a rubber cylinder drive motor rotary encoder 224, a rubber cylinder rotation phase detection counter 225, a D / A converter 226, and a rubber cylinder vertical movement motor 227, rubber cylinder top and bottom direction motor driver 228, rubber cylinder top and bottom direction motor rotary encoder 229, rubber cylinder top and bottom direction detection counter 230, D / A converter 231 and rubber cylinder top and bottom origin position detection 232, rubber cylinder lifting / lowering air cylinder 233, rubber cylinder lifting / lowering air cylinder valve 234, ink apparatus 235, cylinder attaching / detaching apparatus 236, memory 237, input / output interfaces (I / O, I / F) 238-1 to 238 -16.

この平台印刷制御装置200において、CPU201は、インターフェイス238−1〜238−16を介して与えられる各種入力情報を得て、RAM203やメモリ237にアクセスしながら、ROM202に格納されたプログラムに従って動作する。   In the flat table printing control apparatus 200, the CPU 201 obtains various input information given via the interfaces 238-1 to 238-16 and operates according to a program stored in the ROM 202 while accessing the RAM 203 and the memory 237.

カメラ移動用モータ用ロータリエンコーダ213は、カメラ移動用モータ211の所定回転角毎にクロックパルスを発生して、カメラ移動用モータドライバ212およびカメラ位置検出用カウンタ214に出力する。また、カメラ移動用モータ用ロータリエンコーダ213は、カメラ移動用モータ211の所定回転角度位置毎にゼロパルスを発生して、カメラ位置検出用カウンタ214にゼロパルスを出力する。カメラ移動用モータ211は、テーブル3上の被印刷物4の上面を天地方向に、左カメラ210Lと右カメラ210Rとを同時に移動させる。カメラの原点位置検出器216は、左カメラ210Lと右カメラ210Rとを同時に移動させる際の最初の位置を原点位置として検出する。   The camera movement motor rotary encoder 213 generates a clock pulse for each predetermined rotation angle of the camera movement motor 211 and outputs the clock pulse to the camera movement motor driver 212 and the camera position detection counter 214. The camera movement motor rotary encoder 213 generates a zero pulse for each predetermined rotation angle position of the camera movement motor 211 and outputs the zero pulse to the camera position detection counter 214. The camera moving motor 211 simultaneously moves the left camera 210L and the right camera 210R with the upper surface of the substrate 4 on the table 3 in the vertical direction. The camera origin position detector 216 detects the initial position when the left camera 210L and the right camera 210R are moved simultaneously as the origin position.

版胴駆動用モータ用ロータリエンコーダ219は、版胴駆動用モータ217の所定回転角毎にクロックパルスを発生して、版胴駆動用モータドライバ218および版胴回転位相検出用カウンタ220に出力する。また、版胴駆動用モータ用ロータリエンコーダ219は、版胴駆動用モータ217の所定回転角度位置毎にゼロパルスを発生して、版胴回転位相検出用カウンタ220にゼロパルスを出力する。   The plate cylinder drive motor rotary encoder 219 generates a clock pulse at every predetermined rotation angle of the plate cylinder drive motor 217 and outputs the clock pulse to the plate cylinder drive motor driver 218 and the plate cylinder rotation phase detection counter 220. The plate cylinder drive motor rotary encoder 219 generates a zero pulse at every predetermined rotation angle position of the plate cylinder drive motor 217 and outputs the zero pulse to the plate cylinder rotation phase detection counter 220.

ゴム胴駆動用モータ用ロータリエンコーダ224は、ゴム胴駆動用モータ222の所定回転角毎にクロックパルスを発生して、ゴム胴駆動用モータドライバ223およびゴム胴回転位相検出用カウンタ225に出力する。また、ゴム胴駆動用モータ用ロータリエンコーダ224は、ゴム胴駆動用モータ222の所定回転角度位置毎にゼロパルスを発生して、ゴム胴回転位相検出用カウンタ225にゼロパルスを出力する。   The rubber cylinder drive motor rotary encoder 224 generates a clock pulse at every predetermined rotation angle of the rubber cylinder drive motor 222 and outputs the clock pulse to the rubber cylinder drive motor driver 223 and the rubber cylinder rotation phase detection counter 225. Further, the rubber cylinder drive motor rotary encoder 224 generates a zero pulse at every predetermined rotation angle position of the rubber cylinder drive motor 222 and outputs the zero pulse to the rubber cylinder rotation phase detection counter 225.

ゴム胴天地方向移動用モータ用ロータリエンコーダ229は、ゴム胴天地方向移動用モータ227の所定回転角毎にクロックパルスを発生して、ゴム胴天地方向移動用モータドライバ228およびゴム胴天地方向位置検出用カウンタ230に出力する。また、ゴム胴天地方向移動用モータ用ロータリエンコーダ229は、ゴム胴天地方向移動用モータ227の所定回転角度位置毎にゼロパルスを発生して、ゴム胴天地方向位置検出用カウンタ230にゼロパルスを出力する。ゴム胴の天地方向の原点位置検出器232は、ゴム胴2を天地方向に移動させる際の最初の位置を原点位置として検出する。   The rotary encoder 229 for the rubber barrel direction moving motor generates a clock pulse at every predetermined rotation angle of the rubber barrel direction moving motor 227 to detect the rubber barrel direction moving motor driver 228 and the rubber barrel direction position detection. Output to the counter 230. Further, the rotary encoder 229 for the rubber barrel direction moving motor generates a zero pulse at every predetermined rotation angle position of the rubber barrel direction moving motor 227 and outputs the zero pulse to the rubber barrel direction position detection counter 230. . The origin position detector 232 in the vertical direction of the rubber cylinder detects the initial position when the rubber cylinder 2 is moved in the vertical direction as the original position.

図5〜図12にメモリ237の内容を分割して示す。メモリ237にはメモリM1〜M77が設けられる。メモリM1にはカメラ移動用モータの回転速度Vcが記憶されている。メモリM2にはカメラ位置検出用カウンタのカウント値が記憶される。メモリM3にはカメラの現在位置PCMRが記憶される。メモリM4には第1のマーク位置PM1が記憶されている。メモリM5にはカウント値Yが記憶される。メモリM6にはカウント値Xが記憶される。メモリM7には左のカメラの第1のマーク位置PM1における撮像データが記憶される。メモリM8にはカメラ(左右のカメラ)の左右方向の画素数aが記憶されている。メモリM9にはカメラ(左右のカメラ)の天地方向の画素数bが記憶されている。メモリM10には第2のマーク位置PM2が記憶されている。 5 to 12 show the contents of the memory 237 in a divided manner. The memory 237 is provided with memories M1 to M77. The memory M1 stores the rotational speed Vc of the camera moving motor. The memory M2 stores the count value of the camera position detection counter. The memory M3 current location PCM R of the camera are stored. The memory M4 stores the first mark position PM1. A count value Y is stored in the memory M5. A count value X is stored in the memory M6. The memory M7 stores imaging data at the first mark position PM1 of the left camera. The memory M8 stores the number of pixels a in the left-right direction of the camera (left and right cameras). The memory M9 stores the number of pixels b in the vertical direction of the cameras (left and right cameras). A second mark position PM2 is stored in the memory M10.

メモリM11には右のカメラの第1のマーク位置PM1における撮像データが記憶される。メモリM12には左のカメラの第2のマーク位置PM2における撮像データが記憶される。メモリM13には右のカメラの第2のマーク位置PM2における撮像データが記憶される。メモリM14にはカウント値Nが記憶される。メモリM15にはカウント値Mが記憶される。メモリM16には第1レジスタマークの画素データが記憶されている。メモリM17には第1レジスタマークの左右方向の画素数cが記憶されている。メモリM18には第1レジスタマークの天地方向の画素数dが記憶されている。メモリM19には左の第1のマーク位置PM1における第1レジスタマークの測定位置(M1x1L,M1y1L)が記憶される。メモリM20には左の第2のマーク位置PM2における第1レジスタマークの測定位置(M1x2L,M1y2L)が記憶される。 The memory M11 stores imaging data at the first mark position PM1 of the right camera. The memory M12 stores imaging data at the second mark position PM2 of the left camera. The memory M13 stores imaging data at the second mark position PM2 of the right camera. The memory M14 stores a count value N. A count value M is stored in the memory M15. The memory M16 stores pixel data of the first register mark. The memory M17 stores the number of pixels c in the left-right direction of the first register mark. The memory M18 stores the number of pixels d in the vertical direction of the first register mark. The memory M19 stores the measurement position (M1x1 L , M1y1 L ) of the first register mark at the left first mark position PM1. The memory M20 stores the measurement position (M1x2 L , M1y2 L ) of the first register mark at the left second mark position PM2.

メモリM21には第1のマーク位置PM1における第1レジスタマークのY方向の基準位置M1y1rが記憶されている。メモリM22には左の第1のマーク位置PM1における第1レジスタマークのY方向のずれ量ΔM1y1Lが記憶される。メモリM23には左の第1レジスタマーク間の距離LM1Lが記憶される。メモリM24には右の第1のマーク位置PM1における第1レジスタマークの測定位置(M1x1R,M1y1R)が記憶される。メモリM25には右の第2のマーク位置PM2における第1レジスタマークの測定位置(M1x2R,M1y2R)が記憶される。メモリM26には右の第1のマーク位置PM1における第1レジスタマークのY方向のずれ量ΔM1y1Rが記憶される。メモリM27には第1のマーク位置PM1における第1レジスタマークのY方向のずれ量ΔY1(ΔM1y1)が記憶される。メモリM28には右の第1レジスタマーク間の距離LM1Rが記憶される。メモリM29には第1レジスタマーク間の距離の平均値LM1が記憶される。メモリM30には第1レジスタマーク間の基準距離LM1rが記憶されている。 The memory M21 stores a reference position M1y1r in the Y direction of the first register mark at the first mark position PM1. The memory M22 stores a shift amount ΔM1y1 L in the Y direction of the first register mark at the left first mark position PM1. The memory M23 stores the distance LM1 L between the left first register marks. The memory M24 stores the measurement position (M1x1 R , M1y1 R ) of the first register mark at the right first mark position PM1. The memory M25 stores the measurement position (M1x2 R , M1y2 R ) of the first register mark at the right second mark position PM2. The memory M26 stores a displacement amount ΔM1y1 R in the Y direction of the first register mark at the first mark position PM1 on the right. The memory M27 stores a displacement amount ΔY1 (ΔM1y1) in the Y direction of the first register mark at the first mark position PM1. The memory M28 stores the distance LM1 R between the right first register marks. The memory M29 stores an average distance LM1 between the first register marks. The memory M30 stores a reference distance LM1r between the first register marks.

メモリM31には第1レジスタマーク間の伸縮率η1が記憶される。メモリM32には基準の印刷開始位置PRTSTが記憶されている。メモリM33には補正された印刷開始位置PRTST’が記憶される。メモリM34には印刷長さlが記憶されている。メモリM35には補正された印刷長さl’が記憶される。メモリM36には印刷終了位置PRTENDが記憶される。メモリM37にはゴム胴の基準回転速度VBrが記憶されている。メモリM38には印刷中のゴム胴の回転速度VBpが記憶される。メモリM39には版胴の基準回転速度VPrが記憶されている。メモリM40には版胴回転位相検出用カウンタのカウント値が記憶される。 The memory M31 stores the expansion / contraction rate η1 between the first register marks. The memory M32 stores a reference print start position PRT ST . The memory M33 stores the corrected print start position PRT ST ′. The memory M34 stores the print length l. The memory M35 stores the corrected printing length l ′. The memory M36 stores a print end position PRT END . The memory M37 stores a reference rotation speed VBr of the rubber cylinder. The memory M38 stores the rotational speed VBp of the rubber cylinder being printed. The memory M39 stores a reference rotation speed VPr of the plate cylinder. The memory M40 stores the count value of the plate cylinder rotation phase detection counter.

メモリM41には版胴の現在の回転位相φRが記憶される。メモリM42には版胴の印刷開始位置φSTが記憶されている。メモリM43には版胴の印刷終了位置φENDが記憶されている。メモリM44にはゴム胴回転位相検出用カウンタのカウント値が記憶される。メモリM45にはゴム胴の現在の回転位相ψRが記憶される。メモリM46にはゴム胴の印刷開始位置ψSTが記憶されている。メモリM47にはゴム胴の印刷終了位置ψENDが記憶されている。メモリM48にはゴム胴の移動開始位置ψMSTが記憶されている。メモリM49にはゴム胴の天地方向の移動速度vBMが記憶されている。メモリM50にはゴム胴の天地方向位置と回転位相による位相偏差の補正の完了の有無を示す値が記憶される。 The memory M41 stores the current rotational phase φ R of the plate cylinder. Print start position phi ST of the plate cylinder is stored in the memory M42. The memory M43 print end position phi END of the plate cylinder is stored. The memory M44 stores the count value of the rubber cylinder rotation phase detection counter. The memory M45 stores the current rotational phase ψ R of the rubber cylinder. The memory M46 stores the print start position ψ ST of the rubber cylinder. The memory M47 stores the print end position ψ END of the rubber cylinder. The memory M48 stores the movement start position ψ MST of the rubber cylinder. The memory M49 moving speed vB M in the circumferential direction of the blanket cylinder is stored. The memory M50 stores a value indicating whether or not the correction of the phase deviation based on the vertical position of the rubber cylinder and the rotation phase is completed.

メモリM51にはゴム胴の天地方向位置検出用カウンタのカウント値が記憶される。メモリM52にはゴム胴の現在の天地方向位置PBMRが記憶される。メモリM53には補正したゴム胴の現在の天地方向位置PBMR’が記憶される。メモリM54にはゴム胴の天地方向−あるべきゴム胴の回転位相変換テーブルが記憶されている。メモリM55にはあるべきゴム胴の回転位相ψmが記憶される。メモリM56にはゴム胴の現在の回転位相差ΔψRが記憶される。メモリM57にはゴム胴の現在の回転位相差ΔψRの絶対値が記憶される。メモリM58にはゴム胴の回転位相差の許容値αが記憶されている。メモリM59にはゴム胴の現在の回転位相差−回転速度の補正値変換テーブルが記憶されている。メモリM60には回転速度の補正値ΔVが記憶される。 The memory M51 stores the count value of the counter for detecting the vertical position of the rubber cylinder. The memory M52 stores the current vertical position PBM R of the rubber cylinder. The memory M53 stores the corrected vertical position PBM R ′ of the rubber cylinder. The memory M54 stores a top-to-bottom direction of the rubber cylinder and a rotational phase conversion table of the rubber cylinder to be. The memory M55 stores the rotational phase ψm of the rubber cylinder that should be. The memory M56 stores the current rotational phase difference Δψ R of the rubber cylinder. The memory M57 stores the absolute value of the current rotational phase difference Δψ R of the rubber cylinder. The memory M58 stores an allowable value α of the rotational phase difference of the rubber cylinder. The memory M59 stores a correction value conversion table for the current rotational phase difference-rotational speed of the rubber cylinder. The memory M60 stores a rotational speed correction value ΔV.

メモリM61には補正したゴム胴の回転速度VBr’が記憶される。メモリM62には第2レジスタマークの画素データが記憶されている。メモリM63には第2レジスタマークの左右方向の画素数eが記憶されている。メモリM64には第2レジスタマークの天地方向の画素数fが記憶されている。メモリM65には左の第1のマーク位置PM1における第2レジスタマークの測定位置(M2x1L,M2y1L)が記憶される。メモリM66には左の第2のマーク位置PM2における第2レジスタマークの測定位置(M2x2L,M2y2L)が記憶される。メモリM67には第1のマーク位置PM1における第2レジスタマークのY方向の基準位置M2y1rが記憶されている。メモリM68には左の第1のマーク位置PM1における第2レジスタマークのY方向のずれ量ΔM2y1Lが記憶される。メモリM69には左の第2レジスタマーク間の距離LM2Lが記憶される。メモリM70には右の第1のマーク位置PM1における第2レジスタマークの測定位置(M2x1R,M2y1R)が記憶される。 The memory M61 stores the corrected rotation speed VBr 'of the rubber cylinder. The memory M62 stores pixel data of the second register mark. The memory M63 stores the number of pixels e in the left-right direction of the second register mark. The memory M64 stores the number of pixels f in the vertical direction of the second register mark. The memory M65 stores the measurement position (M2x1 L , M2y1 L ) of the second register mark at the left first mark position PM1. The memory M66 stores the measurement position (M2x2 L , M2y2 L ) of the second register mark at the left second mark position PM2. The memory M67 stores a reference position M2y1r in the Y direction of the second register mark at the first mark position PM1. The memory M68 stores the amount of deviation ΔM2y1 L in the Y direction of the second register mark at the left first mark position PM1. The memory M69 stores a distance LM2 L between the left second register marks. The memory M70 stores the measurement position (M2x1 R , M2y1 R ) of the second register mark at the right first mark position PM1.

メモリM71には右の第2のマーク位置PM2における第2レジスタマークの測定位置(M2x2R,M2y2R)が記憶される。メモリM72には右の第1のマーク位置PM1における第2レジスタマークのY方向のずれ量ΔM2y1Rが記憶される。メモリM73には第1のマーク位置PM1における第2レジスタマークのY方向のずれ量の平均値ΔM2y1が記憶される。メモリM74には第1のマーク位置PM1における第2レジスタマークのY方向のずれ量ΔY2が記憶される。メモリM75には右の第2レジスタマーク間の距離LM2Rが記憶される。メモリM76には第2レジスタマーク間の距離の平均値LM2が記憶される。メモリM77には第2レジスタマーク間の伸縮率η2が記憶される。 The memory M71 stores the measurement position (M2x2 R , M2y2 R ) of the second register mark at the right second mark position PM2. The memory M72 stores a displacement amount ΔM2y1 R in the Y direction of the second register mark at the right first mark position PM1. The memory M73 stores an average value ΔM2y1 of the shift amount in the Y direction of the second register mark at the first mark position PM1. The memory M74 stores the amount of deviation ΔY2 in the Y direction of the second register mark at the first mark position PM1. The memory M75 stores the distance LM2 R between the right second register marks. The memory M76 stores the average value LM2 of the distance between the second register marks. The memory M77 stores the expansion / contraction rate η2 between the second register marks.

〔平台印刷制御装置の動作〕
次に、この電子回路の印刷装置における平台印刷制御装置200の動作について、図13〜図65のフローチャートを用いて説明する。
[Operation of flatbed printing control device]
Next, the operation of the flatbed printing control apparatus 200 in this electronic circuit printing apparatus will be described with reference to the flowcharts of FIGS.

なお、以下の動作において、平台印刷制御装置200のCPU201は、演算により求めた各種データのメモリMへの書き込みやメモリMからの各種データの読み込みなどを必要に応じて行うが、ここでは説明が煩雑となることを避けるために、またメモリMの名称やそのメモリM中に付記した記号などからも明らかであるので、メモリMへのリードライト動作の説明を省略する場合もある。   In the following operation, the CPU 201 of the flatbed printing control apparatus 200 writes various data obtained by calculation to the memory M and reads various data from the memory M as necessary. In order to avoid complication, it is obvious from the name of the memory M and the symbols added to the memory M, and therefore the description of the read / write operation to the memory M may be omitted.

〔印刷の準備〕
本実施の形態では、初期設定として、メモリM74に「ゼロ」を上書きする(図13:ステップS101)。すなわち、第1のマーク位置PM1における第2レジスタマークのY方向のずれ量ΔY2をΔY2=0とする。また、メモリM77に「1」を上書きする(ステップS102)。すなわち、第2レジスタマーク間の伸縮率η2をη2=1とする。そして、図1に示したように、前処理工程で1度目の回路が印刷された被印刷物4Aをテーブル3上にセットし、印刷準備開始スイッチ207をオンとする。
[Preparation for printing]
In the present embodiment, “zero” is overwritten in the memory M74 as an initial setting (FIG. 13: step S101). That is, the amount of deviation ΔY2 in the Y direction of the second register mark at the first mark position PM1 is set to ΔY2 = 0. Further, “1” is overwritten in the memory M77 (step S102). That is, the expansion ratio η2 between the second register marks is η2 = 1. Then, as shown in FIG. 1, the substrate 4A on which the first circuit is printed in the preprocessing step is set on the table 3, and the print preparation start switch 207 is turned on.

〔レジスタマークの撮像〕
平台印刷制御装置200のCPU201は、印刷準備開始スイッチ207がオンとされると(ステップS103のYES)、メモリM1からカメラ移動用モータの回転速度Vcを読み込み(ステップS104)、カメラ移動用モータドライバ212に正転指令およびカメラ移動用モータの回転速度VcをD/A変換器215を介して出力する(ステップS105)。これにより、カメラ移動用モータ211が回転速度Vcで正転し、図1(図2)に示された最初の位置を原点位置として、左カメラ210Lおよび右カメラ210Rがテーブル3上を左方向へ同時に移動する。
[Register Mark Imaging]
When the print preparation start switch 207 is turned on (YES in step S103), the CPU 201 of the flatbed printing control apparatus 200 reads the rotational speed Vc of the camera moving motor from the memory M1 (step S104), and the camera moving motor driver. A normal rotation command and the rotational speed Vc of the camera moving motor are output to 212 via the D / A converter 215 (step S105). Thereby, the camera moving motor 211 rotates forward at the rotation speed Vc, and the left camera 210L and the right camera 210R move leftward on the table 3 with the initial position shown in FIG. 1 (FIG. 2) as the origin position. Move at the same time.

CPU201は、この左カメラ210Lおよび右カメラ210Rの移動中、カメラ位置検出用カウンタ214のカウント値を読み込み(ステップS106)、このカメラ位置検出用カウンタ214のカウント値より左カメラ210Lおよび右カメラ210Rの現在位置PCMRを演算し(ステップS107)、メモリM4から第1のマーク位置PM1を読み込み(ステップS108)、左カメラ210Lおよび右カメラ210Rの現在位置PCMRが第1のマーク位置PM1に達したか否かを確認する(ステップS109)。 While the left camera 210L and the right camera 210R are moving, the CPU 201 reads the count value of the camera position detection counter 214 (step S106), and the left camera 210L and the right camera 210R are read from the count value of the camera position detection counter 214. The current position PCM R is calculated (step S107), the first mark position PM1 is read from the memory M4 (step S108), and the current positions PCM R of the left camera 210L and the right camera 210R have reached the first mark position PM1. Whether or not (step S109).

CPU201は、左カメラ210Lおよび右カメラ210Rの現在位置PCMRが第1のマーク位置PM1に達したことを確認すると(ステップS109のYES)、カメラ移動用モータドライバ212に停止指令を出力して(ステップS110)、左カメラ210Lおよび右カメラ210Rの移動を停止する。そして、左カメラ210Lおよび右カメラ210Rに撮像指令を出力し(ステップS111)、テーブル3にセットされている被印刷物4上の第1レジスタマークRM1L1を含む領域を左カメラ210Lで撮像し、被印刷物4上の第1レジスタマークRM1R1を含む領域を右カメラ210Rで撮像する。 When the CPU 201 confirms that the current positions PCM R of the left camera 210L and the right camera 210R have reached the first mark position PM1 (YES in step S109), the CPU 201 outputs a stop command to the camera movement motor driver 212 ( Step S110), the movement of the left camera 210L and the right camera 210R is stopped. Then, imaging commands are output to the left camera 210L and the right camera 210R (step S111), and an area including the first register mark RM1 L1 on the substrate 4 set in the table 3 is imaged by the left camera 210L. An area including the first register mark RM1 R1 on the printed material 4 is imaged by the right camera 210R.

そして、CPU201は、左カメラ210Lに撮像データの送信指令を送り(図14:ステップS112)、この送信指令に応じて左カメラ210Lから撮像データが送られてくると(ステップS113のYES)、メモリM5中のカウント値Yを1とし(ステップS114)、メモリM6中のカウント値Xを1とし(ステップS115)、カウント値X,Yで特定される画素位置の左カメラ210Lからの撮像データをメモリM7の(X,Y)のアドレス位置に書き込む(ステップS116)。   Then, the CPU 201 sends an imaging data transmission command to the left camera 210L (FIG. 14: Step S112). When imaging data is sent from the left camera 210L in response to this transmission command (YES in Step S113), the memory The count value Y in M5 is set to 1 (step S114), the count value X in the memory M6 is set to 1 (step S115), and the imaging data from the left camera 210L at the pixel position specified by the count values X and Y is stored in the memory. Write to the address position of (X, Y) in M7 (step S116).

そして、CPU201は、メモリM6中のカウント値Xに1を加算し(ステップS117)、メモリM8中のカメラの左右方向の画素数aを読み込み(ステップS118)、ステップS119でカウント値Xがカメラの左右方向の画素数aを超えるまで、ステップS116〜S119の処理動作を繰り返す。   Then, the CPU 201 adds 1 to the count value X in the memory M6 (step S117), reads the number of pixels a in the horizontal direction of the camera in the memory M8 (step S118), and in step S119, the count value X is determined by the camera. The processing operations in steps S116 to S119 are repeated until the number of pixels a in the left-right direction is exceeded.

そして、カウント値Xがカメラの左右方向の画素数aを超えれば(ステップS119のYES)、メモリM5中のカウント値Yに1を加算し(ステップS120)、メモリM9中のカメラの天地方向の画素数bを読み込み(ステップS121)、ステップS122でカウント値Yがカメラの天地方向の画素数bを超えるまで、ステップS115〜S122の処理動作を繰り返す。   If the count value X exceeds the number of pixels a in the left-right direction of the camera (YES in step S119), 1 is added to the count value Y in the memory M5 (step S120), and the vertical direction of the camera in the memory M9 is increased. The number of pixels b is read (step S121), and the processing operations of steps S115 to S122 are repeated until the count value Y exceeds the number of pixels b in the vertical direction of the camera in step S122.

これにより、メモリM7中に、第1のマーク位置PM1における左カメラ210Lからのa×bの画素の撮像データが記憶されるものとなる。ここでは、図66(a)に示すように、被印刷物4Aの第1レジスタマークRM1L1を含む撮像データがa×bの画素の撮像データとしてメモリM7中に記憶される。 Thereby, the imaging data of the a × b pixel from the left camera 210L at the first mark position PM1 is stored in the memory M7. Here, as shown in FIG. 66 (a), the imaging data including the first register mark RM1 L1 of the substrate 4A is stored in the memory M7 as imaging data of a × b pixels.

なお、メモリM16には、図66(b)に示すように、第1レジスタマークRM1のc×dの画素データがパターンマッチング用のデータとして記憶されている。また、カメラの天地方向は被印刷物4Aの天地方向と同方向とされ、カメラの左右方向は被印刷物4Aの左右方向と同方向とされている。   In the memory M16, as shown in FIG. 66B, c × d pixel data of the first register mark RM1 is stored as data for pattern matching. The vertical direction of the camera is the same as the vertical direction of the printing object 4A, and the horizontal direction of the camera is the same as the horizontal direction of the printing object 4A.

次に、CPU201は、右カメラ210Rに撮像データの送信指令を送り(図15:ステップS123)、この送信指令に応じて右カメラ210Rから撮像データが送られてくると(ステップS124のYES)、メモリM5中のカウント値Yを1とし(ステップS125)、メモリM6中のカウント値Xを1とし(ステップS126)、カウント値X,Yで特定される画素位置の右カメラ210Rからの撮像データをメモリM11の(X,Y)のアドレス位置に書き込む(ステップS127)。   Next, the CPU 201 sends an imaging data transmission command to the right camera 210R (FIG. 15: step S123). When imaging data is sent from the right camera 210R in response to this transmission command (YES in step S124), The count value Y in the memory M5 is set to 1 (step S125), the count value X in the memory M6 is set to 1 (step S126), and the imaging data from the right camera 210R at the pixel position specified by the count values X and Y is obtained. Write to the address position (X, Y) of the memory M11 (step S127).

そして、CPU201は、メモリM6中のカウント値Xに1を加算し(ステップS128)、メモリM8中のカメラの左右方向の画素数aを読み込み(ステップS129)、ステップS130でカウント値Xがカメラの左右方向の画素数aを超えるまで、ステップS127〜S130の処理動作を繰り返す。   Then, the CPU 201 adds 1 to the count value X in the memory M6 (step S128), reads the number of pixels a in the left-right direction of the camera in the memory M8 (step S129), and the count value X is set to the camera value in step S130. The processing operations in steps S127 to S130 are repeated until the number of pixels a in the left-right direction is exceeded.

そして、カウント値Xがカメラの左右方向の画素数aを超えれば(ステップS130のYES)、メモリM5中のカウント値Yに1を加算し(ステップS131)、メモリM9中のカメラの天地方向の画素数bを読み込み(ステップS132)、ステップS133でカウント値Yがカメラの天地方向の画素数bを超えるまで、ステップS126〜S133の処理動作を繰り返す。   If the count value X exceeds the number of pixels a in the horizontal direction of the camera (YES in step S130), 1 is added to the count value Y in the memory M5 (step S131), and the vertical direction of the camera in the memory M9 is increased. The number of pixels b is read (step S132), and the processing operations of steps S126 to S133 are repeated until the count value Y exceeds the number of pixels b in the vertical direction of the camera in step S133.

これにより、メモリM11中に、第1のマーク位置PM1における右カメラ210Rからのa×bの画素の撮像データが記憶されるものとなる。ここでは、図67(a)に示すように、被印刷物4Aの第1レジスタマークRM1R1を含む撮像データがa×bの画素の撮像データとしてメモリM11中に記憶される。 Thereby, the imaging data of the a × b pixel from the right camera 210R at the first mark position PM1 is stored in the memory M11. Here, as shown in FIG. 67A, the imaging data including the first register mark RM1 R1 of the substrate 4A is stored in the memory M11 as imaging data of a × b pixels.

次に、CPU201は、メモリM1からカメラ移動用モータの回転速度Vcを読み込み(図16:ステップS134)、カメラ移動用モータドライバ212に逆転指令およびカメラ移動用モータの回転速度VcをD/A変換器215を介して出力する(ステップS135)。これにより、カメラ移動用モータ211が回転速度Vcで逆転し、図1(図2)において第1のマーク位置PM1に停止していた左カメラ210Lおよび右カメラ210Rが、テーブル3上を右方向へ同時に移動する。   Next, the CPU 201 reads the rotational speed Vc of the camera moving motor from the memory M1 (FIG. 16: Step S134), and performs D / A conversion on the reverse rotation command to the camera moving motor driver 212 and the rotational speed Vc of the camera moving motor. The data is output via the device 215 (step S135). As a result, the camera moving motor 211 reverses at the rotation speed Vc, and the left camera 210L and the right camera 210R that have stopped at the first mark position PM1 in FIG. Move at the same time.

CPU201は、この左カメラ210Lおよび右カメラ210Rの移動中、カメラ位置検出用カウンタ214のカウント値を読み込み(ステップS136)、このカメラ位置検出用カウンタ214のカウント値より左カメラ210Lおよび右カメラ210Rの現在位置PCMRを演算し(ステップS137)、メモリM10から第2のマーク位置PM2を読み込み(ステップS138)、左カメラ210Lおよび右カメラ210Rの現在位置PCMRが第2のマーク位置PM2に達したか否かを確認する(ステップS139)。 While the left camera 210L and the right camera 210R are moving, the CPU 201 reads the count value of the camera position detection counter 214 (step S136). The current position PCM R is calculated (step S137), the second mark position PM2 is read from the memory M10 (step S138), and the current positions PCM R of the left camera 210L and the right camera 210R have reached the second mark position PM2. Whether or not (step S139).

CPU201は、左カメラ210Lおよび右カメラ210Rの現在位置PCMRが第2のマーク位置PM2に達したことを確認すると(ステップS139のYES)、左カメラ210Lおよび右カメラ210Rに撮像指令を出力し(ステップS140)、被印刷物4A上の第1レジスタマークRM1L2を含む領域を左カメラ210Lで撮像し、被印刷物4A上の第1レジスタマークRM1R2を含む領域を右カメラ210Rで撮像する。 When confirming that the current position PCM R of the left camera 210L and the right camera 210R has reached the second mark position PM2 (YES in step S139), the CPU 201 outputs an imaging command to the left camera 210L and the right camera 210R ( In step S140), an area including the first register mark RM1 L2 on the printed material 4A is imaged by the left camera 210L, and an area including the first register mark RM1 R2 on the printed material 4A is imaged by the right camera 210R.

そして、CPU201は、左カメラ210Lに撮像データの送信指令を送り(ステップS141)、この送信指令に応じて左カメラ210Lから撮像データが送られてくると(ステップS142のYES)、メモリM5中のカウント値Yを1とし(ステップS143)、メモリM6中のカウント値Xを1とし(図17:ステップS144)、カウント値X,Yで特定される画素位置の左カメラ210Lからの撮像データをメモリM12の(X,Y)のアドレス位置に書き込む(ステップS145)。   Then, the CPU 201 sends an imaging data transmission command to the left camera 210L (step S141). When imaging data is sent from the left camera 210L in response to this transmission command (YES in step S142), the CPU 201 stores the data in the memory M5. The count value Y is set to 1 (step S143), the count value X in the memory M6 is set to 1 (FIG. 17: step S144), and the imaging data from the left camera 210L at the pixel position specified by the count values X and Y is stored in the memory. Write to the address position (X, Y) of M12 (step S145).

そして、CPU201は、メモリM6中のカウント値Xに1を加算し(ステップS146)、メモリM8中のカメラの左右方向の画素数aを読み込み(ステップS147)、ステップS148でカウント値Xがカメラの左右方向の画素数aを超えるまで、ステップS145〜S148の処理動作を繰り返す。   Then, the CPU 201 adds 1 to the count value X in the memory M6 (step S146), reads the number of pixels a in the left-right direction of the camera in the memory M8 (step S147), and the count value X is read from the camera in step S148. The processing operations in steps S145 to S148 are repeated until the number of pixels a in the left-right direction is exceeded.

そして、カウント値Xがカメラの左右方向の画素数aを超えれば(ステップS148のYES)、メモリM5中のカウント値Yに1を加算し(ステップS149)、メモリM9中のカメラの天地方向の画素数bを読み込み(ステップS150)、ステップS151でカウント値Yがカメラの天地方向の画素数bを超えるまで、ステップS144〜S151の処理動作を繰り返す。   If the count value X exceeds the number of pixels a in the left-right direction of the camera (YES in step S148), 1 is added to the count value Y in the memory M5 (step S149), and the camera in the vertical direction of the camera in the memory M9. The number of pixels b is read (step S150), and the processing operations of steps S144 to S151 are repeated until the count value Y exceeds the number of pixels b in the vertical direction of the camera in step S151.

これにより、メモリM12中に、第2のマーク位置PM2における左カメラ210Lからのa×bの画素の撮像データが記憶されるものとなる。ここでは、図68(a)に示すように、被印刷物4Aの第1レジスタマークRM1L2を含む撮像データがa×bの画素の撮像データとしてメモリM12中に記憶される。 Thereby, the imaging data of the a × b pixel from the left camera 210L at the second mark position PM2 is stored in the memory M12. Here, as shown in FIG. 68A, the imaging data including the first register mark RM1 L2 of the printing material 4A is stored in the memory M12 as imaging data of a × b pixels.

次に、CPU201は、右カメラ210Rに撮像データの送信指令を送り(ステップS152)、この送信指令に応じて右カメラ210Rから撮像データが送られてくると(ステップS153のYES)、メモリM5中のカウント値Yを1とし(図18:ステップS154)、メモリM6中のカウント値Xを1とし(ステップS155)、カウント値X,Yで特定される画素位置の右カメラ210Rからの撮像データをメモリM13の(X,Y)のアドレス位置に書き込む(ステップS156)。   Next, the CPU 201 sends an imaging data transmission command to the right camera 210R (step S152). When imaging data is sent from the right camera 210R in response to the transmission command (YES in step S153), the CPU 201 stores the imaging data in the memory M5. 1 is set to 1 (FIG. 18: step S154), the count value X in the memory M6 is set to 1 (step S155), and the imaging data from the right camera 210R at the pixel position specified by the count values X and Y is obtained. Write to the address position (X, Y) in the memory M13 (step S156).

そして、CPU201は、メモリM6中のカウント値Xに1を加算し(ステップS157)、メモリM8中のカメラの左右方向の画素数aを読み込み(ステップS158)、ステップS159でカウント値Xがカメラの左右方向の画素数aを超えるまで、ステップS156〜S159の処理動作を繰り返す。   Then, the CPU 201 adds 1 to the count value X in the memory M6 (step S157), reads the number of pixels a in the left-right direction of the camera in the memory M8 (step S158), and the count value X is determined by the camera in step S159. The processing operations in steps S156 to S159 are repeated until the number of pixels a in the left-right direction is exceeded.

そして、カウント値Xがカメラの左右方向の画素数aを超えれば(ステップS159のYES)、メモリM5中のカウント値Yに1を加算し(ステップS160)、メモリM9中のカメラの天地方向の画素数bを読み込み(ステップS161)、ステップS162でカウント値Yがカメラの天地方向の画素数bを超えるまで、ステップS155〜S162の処理動作を繰り返す。   If the count value X exceeds the number of pixels a in the horizontal direction of the camera (YES in step S159), 1 is added to the count value Y in the memory M5 (step S160), and the vertical direction of the camera in the memory M9 is increased. The number of pixels b is read (step S161), and the processing operations of steps S155 to S162 are repeated until the count value Y exceeds the number of pixels b in the vertical direction of the camera in step S162.

これにより、メモリM13中に、第2のマーク位置PM2における右カメラ210Rからのa×bの画素の撮像データが記憶されるものとなる。ここでは、図69(a)に示すように、被印刷物4Aの第1レジスタマークRM1R2を含む撮像データがa×bの画素の撮像データとしてメモリM13中に記憶される。 Thereby, the imaging data of the a × b pixel from the right camera 210R at the second mark position PM2 is stored in the memory M13. Here, as shown in FIG. 69 (a), the imaging data including the first register mark RM1 R2 of the substrate 4A is stored in the memory M13 as imaging data of a × b pixels.

そして、CPU201は、左カメラ210Lおよび右カメラ210Rの移動を続け、カメラの原点位置検出器216が左カメラ210Lおよび右カメラ210Rの原点位置(最初の位置)への復帰を検知すると(ステップS163のYES)、カメラ移動用モータドライバ212に停止指令を送り(ステップS164)、左カメラ210Lおよび右カメラ210Rの移動を停止させる。   Then, the CPU 201 continues to move the left camera 210L and the right camera 210R, and when the camera origin position detector 216 detects the return to the origin position (first position) of the left camera 210L and the right camera 210R (in step S163). YES), a stop command is sent to the camera movement motor driver 212 (step S164), and the movement of the left camera 210L and the right camera 210R is stopped.

〔パターンマッチングによる第1レジスタマークの位置の検出〕
次に、CPU201は、メモリM5中のカウント値Yを1とし(図19:ステップS165)、メモリM6中のカウント値Xを1とし(ステップS166)、メモリM14中のカウント値Nを1とし(ステップS167)、メモリM15中のカウント値Mを1とする(ステップS168)。
[Detection of position of first register mark by pattern matching]
Next, the CPU 201 sets the count value Y in the memory M5 to 1 (FIG. 19: Step S165), sets the count value X in the memory M6 to 1 (Step S166), and sets the count value N in the memory M14 to 1 ( In step S167, the count value M in the memory M15 is set to 1 (step S168).

そして、メモリM7中の(X+M−1、Y+N−1)のアドレス位置の左カメラの画素データを読み込み(ステップS169)、メモリM16中の(M,N)のアドレス位置の第1レジスタマークの画素データを読み込み(ステップS170)、この読み込んだメモリM7中の(X+M−1、Y+N−1)のアドレス位置の左カメラの画素データとメモリM16中の(M,N)のアドレス位置の画素データとが一致しているか否かを確認する(ステップS171、図66(a),(b)参照)。   The pixel data of the left camera at the address position (X + M−1, Y + N−1) in the memory M7 is read (step S169), and the pixel of the first register mark at the address position (M, N) in the memory M16 is read. The data is read (step S170), the pixel data of the left camera at the address position (X + M-1, Y + N-1) in the memory M7 and the pixel data at the address position (M, N) in the memory M16 are read. Is confirmed (see step S171, FIGS. 66A and 66B).

ここで、メモリM7中の(X+M−1、Y+N−1)のアドレス位置の左カメラの画素データとメモリM16中の(M,N)のアドレス位置の第1レジスタマークの画素データとが一致していなければ(ステップS169のNO)、その時の(X、Y)のアドレスから(X+c−1、Y+d−1)のアドレスまでの左のカメラ210Lの第1のマーク位置の撮像データのいずれかの画素データが第1レジスタマークの画素データと異なり、(X、Y)のアドレスから始まる範囲に第1のマーク位置PM1の左の第1レジスタマークRM1L1が無いことになるので、CPU201は、メモリM6中のカウント値Xに1を加算し(図20:ステップS172)、メモリM8中のカメラの左右方向の画素数aとメモリM17中の第1レジスタマークの左右方向の画素数cとを読み込み(ステップS173,S174)、ステップS175でカウント値Xが「a−c+1」を超えるまで、ステップS167〜S175の処理動作を繰り返す。 Here, the pixel data of the left camera at the address position (X + M−1, Y + N−1) in the memory M7 matches the pixel data of the first register mark at the address position (M, N) in the memory M16. If not (NO in step S169), any of the imaging data at the first mark position of the left camera 210L from the address (X, Y) to the address (X + c-1, Y + d-1) at that time Since the pixel data is different from the pixel data of the first register mark, the first register mark RM1 L1 on the left of the first mark position PM1 does not exist in the range starting from the address (X, Y). 1 is added to the count value X in M6 (FIG. 20: step S172), the number of pixels a in the horizontal direction of the camera in the memory M8 and the first register mark in the memory M17 Reading a pixel number c in the horizontal direction (step S173, S174), in step S175 until the count value X exceeds "a-c + 1", and repeats the processing operation in steps S167~S175.

この処理動作中、カウント値Xが「a−c+1」を超えれば(ステップS175のYES)、左のカメラ210Lの第1のマーク位置の撮像データの左右方向の端を越えたことになるので、CPU201は、メモリM5中のカウント値Yに1を加算し(ステップS176)、メモリM9中のカメラの天地方向の画素数bとメモリM18中の第1レジスタマークの天地方向の画素数dとを読み込み(ステップS177,S178)、ステップS179でカウント値Yが「b−d+1」を超えるまで、ステップS166〜S179の処理動作を繰り返す。   If the count value X exceeds “a−c + 1” during this processing operation (YES in step S175), it means that the left and right ends of the imaging data at the first mark position of the left camera 210L have been exceeded. The CPU 201 adds 1 to the count value Y in the memory M5 (step S176), and calculates the number of pixels b in the vertical direction of the camera in the memory M9 and the number of pixels d in the vertical direction of the first register mark in the memory M18. Reading (steps S177 and S178), the processing operations of steps S166 to S179 are repeated until the count value Y exceeds “b−d + 1” in step S179.

この処理動作中、メモリM7中の(X+M−1、Y+N−1)のアドレス位置の左カメラの画素データとメモリM16中の(M,N)のアドレス位置の第1レジスタマークの画素データとが一致していることが確認されると(図19:ステップS171のYES)、CPU201は、メモリM15中のカウント値Mに1を加算し(図21:ステップS181)、メモリM17から第1レジスタマークの左右方向の画素数cを読み込み(ステップS182)、ステップS183でカウント値Mが第1レジスタマークの左右方向の画素数cを超えるまで、ステップS169〜S183の処理動作を繰り返す。   During this processing operation, the pixel data of the left camera at the (X + M−1, Y + N−1) address position in the memory M7 and the pixel data of the first register mark at the (M, N) address position in the memory M16 are obtained. When it is confirmed that they match (FIG. 19: YES in step S171), the CPU 201 adds 1 to the count value M in the memory M15 (FIG. 21: step S181), and the first register mark is read from the memory M17. The left-right pixel number c is read (step S182), and the processing operations of steps S169 to S183 are repeated until the count value M exceeds the left-right pixel number c of the first register mark in step S183.

カウント値Mが第1レジスタマークの左右方向の画素数cを超えると(ステップS183のYES)、CPU201は、メモリM14中のカウント値Nに1を加算し(ステップS184)、メモリM18から第1レジスタマークの天地方向の画素数dを読み込み(ステップS185)、ステップS186でカウント値Nが第1レジスタマークの天地方向の画素数dを超えるまで、ステップS168〜S186の処理動作を繰り返す。   When the count value M exceeds the left-right pixel count c of the first register mark (YES in step S183), the CPU 201 adds 1 to the count value N in the memory M14 (step S184), and the first value from the memory M18. The number of pixels d in the vertical direction of the register mark is read (step S185), and the processing operations of steps S168 to S186 are repeated until the count value N exceeds the number of pixels d in the vertical direction of the first register mark in step S186.

このようにして、CPU201は、メモリM7中のa×bの画素の撮像データ(左の第1のマーク位置の撮像データ)に対してメモリM16中のc×dの第1レジスタマークの画素データのパターンマッチングを行い、カウント値Nが第1レジスタマークの天地方向の画素数dを超えると(ステップS186のYES)、メモリM7中のa×bの画素の撮像データの(X、Y)のアドレスから(X+c−1、Y+d−1)のアドレスまでの範囲にメモリM16中のc×dの第1レジスタマークの画素データが含まれていたと判断する。すなわち、左カメラ210Lが撮像した第1のマーク位置PM1における画像の中に第1レジスタマークRM1(RM1L1)が含まれていたと判断する。 In this way, the CPU 201 captures pixel data of the first register mark of c × d in the memory M16 with respect to imaging data of the pixel of a × b in the memory M7 (imaging data of the left first mark position). When the count value N exceeds the number of pixels d in the vertical direction of the first register mark (YES in step S186), the (X, Y) of the imaging data of the a × b pixel in the memory M7 It is determined that the pixel data of the c × d first register mark in the memory M16 is included in the range from the address to the address of (X + c−1, Y + d−1). That is, it is determined that the first register mark RM1 (RM1 L1 ) is included in the image at the first mark position PM1 captured by the left camera 210L.

なお、ステップS179でカウント値Yが「b−d+1」を超えた場合には(ステップS179のYES)、左のカメラ210Lの第1のマーク位置の撮像データの天地方向の端を越えたことになり、CPU201は、左カメラ210Lが撮像した第1のマーク位置PM1における画像の中には第1レジスタマークRM1(RM1L1)が含まれていなかったと判断し、表示器205にエラー表示を行う(ステップS180)。 If the count value Y exceeds “b−d + 1” in step S179 (YES in step S179), it means that the top and bottom ends of the imaging data at the first mark position of the left camera 210L have been exceeded. Thus, the CPU 201 determines that the first register mark RM1 (RM1 L1 ) is not included in the image at the first mark position PM1 captured by the left camera 210L, and displays an error on the display 205 ( Step S180).

CPU201は、左カメラ210Lが撮像した第1のマーク位置PM1における画像の中に第1レジスタマークRM1L1が含まれていたと判断すると(ステップS186のYES)、その時のメモリM6中のカウント値Xを読み込み(ステップS187)、その読み込んだカウント値Xより第1レジスタマークRM1L1のX方向の測定位置M1x1Lを演算し、メモリM19中のX方向のアドレス位置に書き込む(ステップS188)。また、その時のメモリM5中のカウント値Yを読み込み(ステップS189)、その読み込んだカウント値Yより第1レジスタマークRM1L1のY方向の測定位置M1y1Lを演算し、メモリM19中のY方向のアドレス位置に書き込む(ステップS190、図66(c)参照)。 When the CPU 201 determines that the first register mark RM1 L1 is included in the image at the first mark position PM1 captured by the left camera 210L (YES in step S186), the CPU 201 calculates the count value X in the memory M6 at that time. Reading (step S187), the measurement position M1x1 L in the X direction of the first register mark RM1 L1 is calculated from the read count value X, and written to the address position in the X direction in the memory M19 (step S188). Further, the count value Y in the memory M5 at that time is read (step S189), the measurement position M1y1 L in the Y direction of the first register mark RM1 L1 is calculated from the read count value Y, and the Y direction in the memory M19 is calculated. Write to the address position (step S190, see FIG. 66 (c)).

尚、レジスタマークRM1L1のX方向の測定位置M1x1Lは、左カメラ210Lが設けられた左右方向位置とカウント値Xから求められ、Y方向の測定位置M1y1Lは、第1のマーク位置PM1とカウント値Yから求められる。 Note that the measurement position M1x1 L in the X direction of the register mark RM1 L1 is obtained from the horizontal position where the left camera 210L is provided and the count value X, and the measurement position M1y1 L in the Y direction is the first mark position PM1. It is obtained from the count value Y.

次に、CPU201は、メモリM5中のカウント値Yを1とし(図22:ステップS191)、メモリM6中のカウント値Xを1とし(ステップS192)、メモリM14中のカウント値Nを1とし(ステップS193)、メモリM15中のカウント値Mを1とする(ステップS194)。   Next, the CPU 201 sets the count value Y in the memory M5 to 1 (FIG. 22: Step S191), sets the count value X in the memory M6 to 1 (Step S192), and sets the count value N in the memory M14 to 1 ( In step S193), the count value M in the memory M15 is set to 1 (step S194).

そして、メモリM12中の(X+M−1、Y+N−1)のアドレス位置の左カメラの画素データを読み込み(ステップS195)、メモリM16中の(M,N)のアドレス位置の第1レジスタマークの画素データを読み込み(ステップS196)、この読み込んだメモリM12中の(X+M−1、Y+N−1)のアドレス位置の左カメラの画素データとメモリM16中の(M,N)のアドレス位置の画素データとが一致しているか否かを確認する(ステップS197、図68(a),(b)参照)。   The pixel data of the left camera at the address position (X + M−1, Y + N−1) in the memory M12 is read (step S195), and the pixel of the first register mark at the address position (M, N) in the memory M16 is read. The data is read (step S196). The pixel data of the left camera at the address position (X + M-1, Y + N-1) in the memory M12 and the pixel data at the address position (M, N) in the memory M16 are read. (See step S197, FIGS. 68A and 68B).

ここで、メモリM12中の(X+M−1、Y+N−1)のアドレス位置の左カメラの画素データとメモリM16中の(M,N)のアドレス位置の第1レジスタマークの画素データとが一致していなければ(ステップS197のNO)、その時の(X、Y)のアドレスから(X+c−1、Y+d−1)のアドレスまでの左のカメラ210Lの第2のマーク位置の撮像データのいずれかの画素データが第1レジスタマークの画素データと異なり、(X、Y)のアドレスから始まる範囲に第2のマーク位置PM2の左の第1レジスタマークRM1L2が無いことになるので、CPU201は、メモリM6中のカウント値Xに1を加算し(図23:ステップS198)、メモリM8中のカメラの左右方向の画素数aとメモリM17中の第1レジスタマークの左右方向の画素数cとを読み込み(ステップS199,S200)、ステップS201でカウント値Xが「a−c+1」を超えるまで、ステップS193〜S201の処理動作を繰り返す。 Here, the pixel data of the left camera at the address position (X + M−1, Y + N−1) in the memory M12 matches the pixel data of the first register mark at the address position (M, N) in the memory M16. If not (NO in step S197), any of the imaging data at the second mark position of the left camera 210L from the address (X, Y) to the address (X + c-1, Y + d-1) at that time Since the pixel data is different from the pixel data of the first register mark, the first register mark RM1 L2 on the left of the second mark position PM2 does not exist in the range starting from the address (X, Y). 1 is added to the count value X in M6 (FIG. 23: Step S198), the number of pixels a in the horizontal direction of the camera in the memory M8 and the first register mark in the memory M17. Lateral direction of reading the pixel number c of (step S199, S200), in step S201 until the count value X exceeds "a-c + 1", and repeats the processing operation in steps S193~S201.

この処理動作中、カウント値Xが「a−c+1」を超えれば(ステップS201のYES)、左のカメラ210Lの第2のマーク位置の撮像データの左右方向の端を越えたことになるので、CPU201は、メモリM5中のカウント値Yに1を加算し(ステップS202)、メモリM9中のカメラの天地方向の画素数bとメモリM18中の第1レジスタマークの天地方向の画素数dとを読み込み(ステップS203,S204)、ステップS205でカウント値Yが「b−d+1」を超えるまで、ステップS192〜S205の処理動作を繰り返す。   If the count value X exceeds “a−c + 1” during this processing operation (YES in step S201), the left and right ends of the imaging data at the second mark position of the left camera 210L are exceeded. The CPU 201 adds 1 to the count value Y in the memory M5 (step S202), and calculates the number of pixels b in the vertical direction of the camera in the memory M9 and the number of pixels d in the vertical direction of the first register mark in the memory M18. Reading (steps S203 and S204), the processing operations of steps S192 to S205 are repeated until the count value Y exceeds “b−d + 1” in step S205.

この処理動作中、メモリM12中の(X+M−1、Y+N−1)のアドレス位置の左カメラの画素データとメモリM16中の(M,N)のアドレス位置の第1レジスタマークの画素データとが一致していることが確認されると(図22:ステップS197のYES)、CPU201は、メモリM15中のカウント値Mに1を加算し(図24:ステップS207)、メモリM17から第1レジスタマークの左右方向の画素数cを読み込み(ステップS208)、ステップS209でカウント値Mが第1レジスタマークの左右方向の画素数cを超えるまで、ステップS195〜S209の処理動作を繰り返す。   During this processing operation, the pixel data of the left camera at the (X + M−1, Y + N−1) address position in the memory M12 and the pixel data of the first register mark at the (M, N) address position in the memory M16. When it is confirmed that they match (FIG. 22: YES in step S197), the CPU 201 adds 1 to the count value M in the memory M15 (FIG. 24: step S207), and the first register mark is read from the memory M17. The left-right pixel number c is read (step S208), and the processing operations of steps S195 to S209 are repeated until the count value M exceeds the left-right pixel number c of the first register mark in step S209.

カウント値Mが第1レジスタマークの左右方向の画素数cを超えると(ステップS209のYES)、CPU201は、メモリM14中のカウント値Nに1を加算し(ステップS210)、メモリM18から第1レジスタマークの天地方向の画素数dを読み込み(ステップS211)、ステップS212でカウント値Nが第1レジスタマークの天地方向の画素数dを超えるまで、ステップS194〜S212の処理動作を繰り返す。   When the count value M exceeds the left-right pixel count c of the first register mark (YES in step S209), the CPU 201 adds 1 to the count value N in the memory M14 (step S210), and the first value from the memory M18. The number of pixels d in the vertical direction of the register mark is read (step S211), and the processing operations of steps S194 to S212 are repeated until the count value N exceeds the number of pixels d in the vertical direction of the first register mark in step S212.

このようにして、CPU201は、メモリM12中のa×bの画素の撮像データ(左の第2のマーク位置の撮像データ)に対してメモリM16中のc×dの第1レジスタマークの画素データのパターンマッチングを行い、カウント値Nが第1レジスタマークの天地方向の画素数dを超えると(ステップS212のYES)、メモリM12中のa×bの画素の撮像データの(X、Y)のアドレスから(X+c−1、Y+d−1)のアドレスまでの範囲にメモリM16中のc×dの第1レジスタマークの画素データが含まれていたと判断する。すなわち、左カメラ210Lが撮像した第2のマーク位置PM2における画像の中に第1レジスタマークRM1(RM1L2)が含まれていたと判断する。 In this way, the CPU 201 captures pixel data of the first register mark of c × d in the memory M16 with respect to imaging data of the pixel of a × b in the memory M12 (imaging data of the second mark position on the left). When the count value N exceeds the number of pixels d in the vertical direction of the first register mark (YES in step S212), the (X, Y) of the imaging data of the a × b pixel in the memory M12 is determined. It is determined that the pixel data of the c × d first register mark in the memory M16 is included in the range from the address to the address of (X + c−1, Y + d−1). That is, it is determined that the first register mark RM1 (RM1 L2 ) is included in the image at the second mark position PM2 captured by the left camera 210L.

なお、ステップS205でカウント値Yが「b−d+1」を超えた場合には(ステップS205のYES)、左のカメラ210Lの第2のマーク位置の撮像データの天地方向の端を越えたことになり、CPU201は、左カメラ210Lが撮像した第2のマーク位置PM2における画像の中には第1レジスタマークRM1(RM1L2)が含まれていなかったと判断し、表示器205にエラー表示を行う(ステップS206)。 If the count value Y exceeds “b−d + 1” in step S205 (YES in step S205), it means that the top and bottom ends of the imaging data at the second mark position of the left camera 210L have been exceeded. Thus, the CPU 201 determines that the first register mark RM1 (RM1 L2 ) is not included in the image at the second mark position PM2 captured by the left camera 210L, and displays an error on the display 205 ( Step S206).

CPU201は、左カメラ210Lが撮像した第2のマーク位置PM2における画像の中に第1レジスタマークRM1L2が含まれていたと判断すると(ステップS212のYES)、その時のメモリM6中のカウント値Xを読み込み(ステップS213)、その読み込んだカウント値Xより第1レジスタマークRM1L2のX方向の測定位置M1x2Lを演算し、メモリM20中のX方向のアドレス位置に書き込む(ステップS214)。また、その時のメモリM5中のカウント値Yを読み込み(ステップS215)、その読み込んだカウント値Yより第1レジスタマークRM1L2のY方向の測定位置M1y2Lを演算し、メモリM20中のY方向のアドレス位置に書き込む(ステップS216、図68(c)参照)。 When the CPU 201 determines that the first register mark RM1 L2 is included in the image at the second mark position PM2 captured by the left camera 210L (YES in step S212), the CPU 201 calculates the count value X in the memory M6 at that time. Reading (step S213), the measurement position M1x2 L in the X direction of the first register mark RM1 L2 is calculated from the read count value X, and written to the address position in the X direction in the memory M20 (step S214). Further, reads the count value Y in the memory M5 at that time (step S215), calculates the read count value Y from the measurement position in the Y direction of the first register mark RM1 L2 M1y2 L, in the memory M20 in the Y direction Write to the address position (step S216, see FIG. 68 (c)).

尚、レジスタマークRM1L2のX方向の測定位置M1x2Lは、左カメラ210Lが設けられた左右方向位置とカウント値Xから求められ、Y方向の測定位置M1y2Lは、第2のマーク位置PM2とカウント値Yから求められる。 The measurement position M1x2 L in the X direction of the register mark RM1 L2 is obtained from the horizontal position where the left camera 210L is provided and the count value X, and the measurement position M1y2 L in the Y direction is the second mark position PM2. It is obtained from the count value Y.

そして、CPU201は、メモリM19のY方向のアドレス位置より第1のマーク位置PM1における第1レジスタマークRM1L1のY方向の測定位置M1y1Lを読み込み(図25:ステップS217)、またメモリM21から第1のマーク位置PM1における第1レジスタマークRM1のY方向の基準位置M1y1rを読み込み(ステップS218)、第1のマーク位置PM1における第1レジスタマークRM1L1のY方向の測定位置M1y1Lから第1のマーク位置PM1における第1レジスタマークRM1のY方向の基準位置M1y1rを減算し、第1のマーク位置PM1における第1レジスタマークRM1L1のY方向のずれ量ΔM1y1Lを求め(図66(c)参照)、この求めた第1レジスタマークRM1L1のY方向のずれ量ΔM1y1LをメモリM22に書き込む(ステップS219)。 Then, CPU 201 reads the measurement position M1y1 L in the Y direction of the first register mark RM1 L1 at the first mark position PM1 than Y-direction address position of the memory M19 (Fig. 25: step S217), The second from the memory M21 reads the Y direction of the reference position M1y1r of the first register mark RM1 in the first mark position PM1 (step S218), the first register mark RM1 L1 in the Y-direction measurement position M1y1 L at the first mark position PM1 first the reference position M1y1r the Y direction of the first register mark RM1 and subtraction in mark position PM1, the first register mark RM1 L1 seek Y direction deviation amount Derutaemu1y1 L of the first mark position PM1 (FIG 66 (c) see ), The amount of deviation ΔM1 in the Y direction of the obtained first register mark RM1 L1 y1 L is written to the memory M22 (step S219).

また、CPU201は、メモリM19のY方向のアドレス位置より第1のマーク位置PM1における第1レジスタマークRM1L1のY方向の測定位置M1y1Lを読み込み(ステップS220)、メモリM20のY方向のアドレス位置より第2のマーク位置PM2における第1レジスタマークRM1L2のY方向の測定位置M1y2Lを読み込み(ステップS221)、第1のマーク位置PM1における第1レジスタマークRM1L1のY方向の測定位置M1y1Lより第2のマーク位置PM2における第1レジスタマークRM1L2のY方向の測定位置M1y2Lを減算して左の第1レジスタマーク間の距離LM1Lを求め(図70(a)参照)、この求めた左の第1レジスタマーク間の距離LM1LをメモリM23に書き込む(ステップS222)。 Further, CPU 201 reads the first register mark RM1 L1 in the Y-direction measurement position M1y1 L at the first mark position PM1 than Y-direction address position of the memory M19 (step S220), the Y-direction address position of the memory M20 Then, the measurement position M1y2 L in the Y direction of the first register mark RM1 L2 at the second mark position PM2 is read (step S221), and the measurement position M1y1 L in the Y direction of the first register mark RM1 L1 at the first mark position PM1. than in the first register mark RM1 L2 in the Y-direction measurement position M1y2 L in the second mark position PM2 is subtracted obtains distances LM1 L between the first register mark on the left (see FIG. 70 (a)), the calculated and writes the distance LM1 L between the first register mark left in the memory M23 (step S222)

次に、CPU201は、メモリM5中のカウント値Yを1とし(図26:ステップS223)、メモリM6中のカウント値Xを1とし(ステップS224)、メモリM14中のカウント値Nを1とし(ステップS225)、メモリM15中のカウント値Mを1とする(ステップS226)。   Next, the CPU 201 sets the count value Y in the memory M5 to 1 (FIG. 26: Step S223), sets the count value X in the memory M6 to 1 (Step S224), and sets the count value N in the memory M14 to 1 ( In step S225), the count value M in the memory M15 is set to 1 (step S226).

そして、メモリM11中の(X+M−1、Y+N−1)のアドレス位置の右カメラの画素データを読み込み(ステップS227)、メモリM16中の(M,N)のアドレス位置の第1レジスタマークの画素データを読み込み(ステップS228)、この読み込んだメモリM11中の(X+M−1、Y+N−1)のアドレス位置の右カメラの画素データとメモリM16中の(M,N)のアドレス位置の画素データとが一致しているか否かを確認する(ステップS229、図67(a),(b)参照)。   Then, the pixel data of the right camera at the address position (X + M−1, Y + N−1) in the memory M11 is read (step S227), and the pixel of the first register mark at the address position (M, N) in the memory M16. The data is read (step S228), the pixel data of the right camera at the address position (X + M-1, Y + N-1) in the memory M11 and the pixel data at the address position (M, N) in the memory M16 are read. Is confirmed (see step S229, FIGS. 67A and 67B).

ここで、メモリM11中の(X+M−1、Y+N−1)のアドレス位置の右カメラの画素データとメモリM16中の(M,N)のアドレス位置の第1レジスタマークの画素データとが一致していなければ(ステップS229のNO)、その時の(X、Y)のアドレスから(X+c−1、Y+d−1)のアドレスまでの右のカメラ210Rの第1のマーク位置の撮像データのいずれかの画素データが第1レジスタマークの画素データと異なり、(X、Y)のアドレスから始まる範囲に第1のマーク位置PM1の右の第1レジスタマークRM1R1が無いことになるので、CPU201は、メモリM6中のカウント値Xに1を加算し(図27:ステップS230)、メモリM8中のカメラの左右方向の画素数aとメモリM17中の第1レジスタマークの左右方向の画素数cとを読み込み(ステップS231,S232)、ステップS231でカウント値Xが「a−c+1」を超えるまで、ステップS225〜S233の処理動作を繰り返す。 Here, the pixel data of the right camera at the address position (X + M−1, Y + N−1) in the memory M11 matches the pixel data of the first register mark at the address position (M, N) in the memory M16. If not (NO in step S229), one of the imaging data at the first mark position of the right camera 210R from the address (X, Y) at that time to the address (X + c-1, Y + d-1) Since the pixel data is different from the pixel data of the first register mark, the first register mark RM1 R1 to the right of the first mark position PM1 does not exist in the range starting from the (X, Y) address. 1 is added to the count value X in M6 (FIG. 27: Step S230), the number of pixels a in the horizontal direction of the camera in the memory M8 and the first register marker in the memory M17. Reading a pixel number c in the horizontal direction (step S231, S232), in step S231 until the count value X exceeds "a-c + 1", and repeats the processing operation in steps S225~S233.

この処理動作中、カウント値Xが「a−c+1」を超えれば(ステップS233のYES)、右のカメラ210Rの第1のマーク位置の撮像データの左右方向の端を越えたことになるので、CPU201は、メモリM5中のカウント値Yに1を加算し(ステップS234)、メモリM9中のカメラの天地方向の画素数bとメモリM18中の第1レジスタマークの天地方向の画素数dとを読み込み(ステップS235,S236)、ステップS237でカウント値Yが「b−d+1」を超えるまで、ステップS224〜S237の処理動作を繰り返す。   If the count value X exceeds “a−c + 1” during this processing operation (YES in step S233), it means that the left and right ends of the imaging data at the first mark position of the right camera 210R are exceeded. The CPU 201 adds 1 to the count value Y in the memory M5 (step S234), and calculates the number of pixels b in the vertical direction of the camera in the memory M9 and the number of pixels d in the vertical direction of the first register mark in the memory M18. Reading (steps S235 and S236), the processing operation of steps S224 to S237 is repeated until the count value Y exceeds “b−d + 1” in step S237.

この処理動作中、メモリM11中の(X+M−1、Y+N−1)のアドレス位置の右カメラの画素データとメモリM16中の(M,N)のアドレス位置の第1レジスタマークの画素データとが一致していることが確認されると(図26:ステップS229のYES)、CPU201は、メモリM15中のカウント値Mに1を加算し(図28:ステップS239)、メモリM17から第1レジスタマークの左右方向の画素数cを読み込み(ステップS240)、ステップS241でカウント値Mが第1レジスタマークの左右方向の画素数cを超えるまで、ステップS227〜S241の処理動作を繰り返す。   During this processing operation, the pixel data of the right camera at the (X + M−1, Y + N−1) address position in the memory M11 and the pixel data of the first register mark at the (M, N) address position in the memory M16. When it is confirmed that they match (FIG. 26: YES in step S229), the CPU 201 adds 1 to the count value M in the memory M15 (FIG. 28: step S239), and the first register mark is read from the memory M17. The left-right pixel number c is read (step S240), and the processing operations of steps S227 to S241 are repeated until the count value M exceeds the left-right pixel number c of the first register mark in step S241.

カウント値Mが第1レジスタマークの左右方向の画素数cを超えると(ステップS241のYES)、CPU201は、メモリM14中のカウント値Nに1を加算し(ステップS242)、メモリM18から第1レジスタマークの天地方向の画素数dを読み込み(ステップS243)、ステップS244でカウント値Nが第1レジスタマークの天地方向の画素数dを超えるまで、ステップS226〜S244の処理動作を繰り返す。   When the count value M exceeds the number c of pixels in the left-right direction of the first register mark (YES in step S241), the CPU 201 adds 1 to the count value N in the memory M14 (step S242), and the first value from the memory M18. The pixel number d in the vertical direction of the register mark is read (step S243), and the processing operations of steps S226 to S244 are repeated until the count value N exceeds the vertical pixel number d of the first register mark in step S244.

このようにして、CPU201は、メモリM11中のa×bの画素の撮像データ(右の第1のマーク位置の撮像データ)に対してメモリM16中のc×dの第1レジスタマークの画素データのパターンマッチングを行い、カウント値Nが第1レジスタマークの天地方向の画素数dを超えると(ステップS244のYES)、メモリM11中のa×bの画素の撮像データの(X、Y)のアドレスから(X+c−1、Y+d−1)のアドレスまでの範囲にメモリM16中のc×dの第1レジスタマークの画素データが含まれていたと判断する。すなわち、右カメラ210Rが撮像した第1のマーク位置PM1における画像の中に第1レジスタマークRM1(RM1R1)が含まれていたと判断する。 In this manner, the CPU 201 captures pixel data of the first register mark of c × d in the memory M16 with respect to imaging data of the pixel of a × b in the memory M11 (imaging data of the first mark position on the right). When the count value N exceeds the number of pixels d in the vertical direction of the first register mark (YES in step S244), the (X, Y) of the imaging data of the a × b pixel in the memory M11 is determined. It is determined that the pixel data of the c × d first register mark in the memory M16 is included in the range from the address to the address of (X + c−1, Y + d−1). That is, it is determined that the first register mark RM1 (RM1 R1 ) is included in the image at the first mark position PM1 captured by the right camera 210R.

なお、ステップS237でカウント値Yが「b−d+1」を超えた場合には(ステップS237のYES)、右のカメラ210Rの第1のマーク位置の撮像データの天地方向の端を越えたことになり、CPU201は、右カメラ210Rが撮像した第1のマーク位置PM1における画像の中には第1レジスタマークRM1(RM1R1)が含まれていなかったと判断し、表示器205にエラー表示を行う(ステップS238)。 If the count value Y exceeds “b−d + 1” in step S237 (YES in step S237), it means that the top and bottom ends of the imaging data at the first mark position of the right camera 210R are exceeded. Thus, the CPU 201 determines that the first register mark RM1 (RM1 R1 ) is not included in the image at the first mark position PM1 captured by the right camera 210R, and displays an error on the display 205 ( Step S238).

CPU201は、右カメラ210Rが撮像した第1のマーク位置PM1における画像の中に第1レジスタマークRM1R1が含まれていたと判断すると(ステップS244のYES)、その時のメモリM6中のカウント値Xを読み込み(ステップS245)、その読み込んだカウント値Xより第1レジスタマークRM1R1のX方向の測定位置M1x1Rを演算し、メモリM24中のX方向のアドレス位置に書き込む(ステップS246)。また、その時のメモリM5中のカウント値Yを読み込み(ステップS247)、その読み込んだカウント値Yより第1レジスタマークRM1R1のY方向の測定位置M1y1Rを演算し、メモリM24中のY方向のアドレス位置に書き込む(ステップS248、図67(c)参照)。 If the CPU 201 determines that the first register mark RM1 R1 is included in the image at the first mark position PM1 captured by the right camera 210R (YES in step S244), the CPU 201 calculates the count value X in the memory M6 at that time. Reading (step S245), the measurement position M1x1 R in the X direction of the first register mark RM1 R1 is calculated from the read count value X, and written in the address position in the X direction in the memory M24 (step S246). Further, the count value Y in the memory M5 at that time is read (step S247), the measurement position M1y1 R in the Y direction of the first register mark RM1 R1 is calculated from the read count value Y, and the Y direction in the memory M24 is calculated. The address is written (see step S248, FIG. 67 (c)).

尚、レジスタマークRM1R1のX方向の測定位置M1x1Rは、右カメラ210Rが設けられた左右方向位置とカウント値Xから求められ、Y方向の測定位置M1y1Rは、第1のマーク位置PM1とカウント値Yから求められる。 Note that the measurement position M1x1 R in the X direction of the register mark RM1 R1 is obtained from the horizontal position where the right camera 210R is provided and the count value X, and the measurement position M1y1 R in the Y direction is the first mark position PM1. It is obtained from the count value Y.

次に、CPU201は、メモリM5中のカウント値Yを1とし(図29:ステップS249)、メモリM6中のカウント値Xを1とし(ステップS250)、メモリM14中のカウント値Nを1とし(ステップS251)、メモリM15中のカウント値Mを1とする(ステップS252)。   Next, the CPU 201 sets the count value Y in the memory M5 to 1 (FIG. 29: step S249), sets the count value X in the memory M6 to 1 (step S250), and sets the count value N in the memory M14 to 1 ( In step S251), the count value M in the memory M15 is set to 1 (step S252).

そして、メモリM13中の(X+M−1、Y+N−1)のアドレス位置の右カメラの画素データを読み込み(ステップS253)、メモリM16中の(M,N)のアドレス位置の第1レジスタマークの画素データを読み込み(ステップS254)、この読み込んだメモリM13中の(X+M−1、Y+N−1)のアドレス位置の右カメラの画素データとメモリM16中の(M,N)のアドレス位置の画素データとが一致しているか否かを確認する(ステップS255,図69(a),(b)参照)。   Then, the pixel data of the right camera at the address position (X + M−1, Y + N−1) in the memory M13 is read (step S253), and the pixel of the first register mark at the address position (M, N) in the memory M16. The data is read (step S254), the pixel data of the right camera at the address position (X + M-1, Y + N-1) in the memory M13 and the pixel data at the address position (M, N) in the memory M16 are read. Is confirmed (see step S255, FIGS. 69 (a) and 69 (b)).

ここで、メモリM13中の(X+M−1、Y+N−1)のアドレス位置の右カメラの画素データとメモリM16中の(M,N)のアドレス位置の第1レジスタマークの画素データとが一致していなければ(ステップS255のNO)、その時の(X、Y)のアドレスから(X+c−1、Y+d−1)のアドレスまでの右のカメラ210Rの第2のマーク位置の撮像データのいずれかの画素データが第1レジスタマークの画素データと異なり、(X、Y)のアドレスから始まる範囲に第2のマーク位置PM2の右の第1レジスタマークRM1R2が無いことになるので、CPU201は、メモリM6中のカウント値Xに1を加算し(図30:ステップS256)、メモリM8中のカメラの左右方向の画素数aとメモリM17中の第1レジスタマークの左右方向の画素数cとを読み込み(ステップS257,S258)、ステップS259でカウント値Xが「a−c+1」を超えるまで、ステップS251〜S259の処理動作を繰り返す。 Here, the pixel data of the right camera at the address position (X + M−1, Y + N−1) in the memory M13 matches the pixel data of the first register mark at the address position (M, N) in the memory M16. If not (NO in step S255), one of the imaging data at the second mark position of the right camera 210R from the address (X, Y) to the address (X + c-1, Y + d-1) at that time Since the pixel data is different from the pixel data of the first register mark, there is no first register mark RM1 R2 on the right of the second mark position PM2 in the range starting from the address (X, Y). 1 is added to the count value X in M6 (FIG. 30: step S256), the number of pixels a in the horizontal direction of the camera in the memory M8 and the first register marker in the memory M17. It reads the number c of the right and left direction pixel (step S257, S258), in step S259 until the count value X exceeds "a-c + 1", and repeats the processing operation in steps S251~S259.

この処理動作中、カウント値Xが「a−c+1」を超えれば(ステップS259のYES)、右のカメラ210Rの第2のマーク位置の撮像データの左右方向の端を越えたことになるので、CPU201は、メモリM5中のカウント値Yに1を加算し(ステップS260)、メモリM9中のカメラの天地方向の画素数bとメモリM18中の第1レジスタマークの天地方向の画素数dとを読み込み(ステップS261,S262)、ステップS263でカウント値Yが「b−d+1」を超えるまで、ステップS250〜S263の処理動作を繰り返す。   If the count value X exceeds “a−c + 1” during this processing operation (YES in step S259), it means that the left and right ends of the imaging data at the second mark position of the right camera 210R are exceeded. The CPU 201 adds 1 to the count value Y in the memory M5 (step S260), and calculates the number of pixels b in the vertical direction of the camera in the memory M9 and the number of pixels d in the vertical direction of the first register mark in the memory M18. Reading (steps S261 and S262), the processing operation of steps S250 to S263 is repeated until the count value Y exceeds “b−d + 1” in step S263.

この処理動作中、メモリM13中の(X+M−1、Y+N−1)のアドレス位置の右カメラの画素データとメモリM16中の(M,N)のアドレス位置の第1レジスタマークの画素データとが一致していることが確認されると(図29:ステップS255のYES)、CPU201は、メモリM15中のカウント値Mに1を加算し(図31:ステップS265)、メモリM17から第1レジスタマークの左右方向の画素数cを読み込み(ステップS266)、ステップS267でカウント値Mが第1レジスタマークの左右方向の画素数cを超えるまで、ステップS253〜S267の処理動作を繰り返す。   During this processing operation, the pixel data of the right camera at the address position (X + M−1, Y + N−1) in the memory M13 and the pixel data of the first register mark at the address position (M, N) in the memory M16 are obtained. When it is confirmed that they match (FIG. 29: YES in step S255), the CPU 201 adds 1 to the count value M in the memory M15 (FIG. 31: step S265), and the first register mark is read from the memory M17. The horizontal pixel number c is read (step S266), and the processing operations of steps S253 to S267 are repeated until the count value M exceeds the horizontal pixel number c of the first register mark in step S267.

カウント値Mが第1レジスタマークの左右方向の画素数cを超えると(ステップS267のYES)、CPU201は、メモリM14中のカウント値Nに1を加算し(ステップS268)、メモリM18から第1レジスタマークの天地方向の画素数dを読み込み(ステップS269)、ステップS270でカウント値Nが第1レジスタマークの天地方向の画素数dを超えるまで、ステップS252〜S270の処理動作を繰り返す。   When the count value M exceeds the left-right pixel count c of the first register mark (YES in step S267), the CPU 201 adds 1 to the count value N in the memory M14 (step S268), and the first value from the memory M18. The number of pixels d in the vertical direction of the register mark is read (step S269), and the processing operations of steps S252 to S270 are repeated until the count value N exceeds the number of pixels d in the vertical direction of the first register mark in step S270.

このようにして、CPU201は、メモリM13中のa×bの画素の撮像データ(右の第2のマーク位置の撮像データ)に対してメモリM16中のc×dの第1レジスタマークの画素データのパターンマッチングを行い、カウント値Nが第1レジスタマークの天地方向の画素数dを超えると(ステップS270のYES)、メモリM13中のa×bの画素の撮像データの(X、Y)のアドレスから(X+c−1、Y+d−1)のアドレスまでの範囲にメモリM16中のc×dの第1レジスタマークの画素データが含まれていたと判断する。すなわち、右カメラ210Rが撮像した第2のマーク位置PM2における画像の中に第1レジスタマークRM1(RM1R2)が含まれていたと判断する。 In this manner, the CPU 201 captures pixel data of the first register mark of c × d in the memory M16 with respect to imaging data of the pixel of a × b in the memory M13 (imaging data of the second mark position on the right). When the count value N exceeds the number of pixels d in the vertical direction of the first register mark (YES in step S270), (X, Y) of the imaging data of the a × b pixel in the memory M13 It is determined that the pixel data of the c × d first register mark in the memory M16 is included in the range from the address to the address of (X + c−1, Y + d−1). That is, it is determined that the first register mark RM1 (RM1 R2 ) is included in the image at the second mark position PM2 captured by the right camera 210R.

なお、ステップS263でカウント値Yが「b−d+1」を超えた場合には(ステップS263のYES)、右のカメラ210Rの第2のマーク位置の撮像データの天地方向の端を越えたことになり、CPU201は、右カメラ210Rが撮像した第2のマーク位置PM2における画像の中には第1レジスタマークRM1(RM1R2)が含まれていなかったと判断し、表示器205にエラー表示を行う(ステップS264)。 If the count value Y exceeds “b−d + 1” in step S263 (YES in step S263), it means that the top and bottom ends of the imaging data at the second mark position of the right camera 210R are exceeded. Thus, the CPU 201 determines that the first register mark RM1 (RM1 R2 ) is not included in the image at the second mark position PM2 captured by the right camera 210R, and displays an error on the display unit 205 ( Step S264).

CPU201は、右カメラ210Rが撮像した第2のマーク位置PM2における画像の中に第1レジスタマークRM1R2が含まれていたと判断すると(ステップS270のYES)、その時のメモリM6中のカウント値Xを読み込み(ステップS271)、その読み込んだカウント値Xより第1レジスタマークRM1R2のX方向の測定位置M1x2Rを演算し、メモリM25中のX方向のアドレス位置に書き込む(ステップS272)。また、その時のメモリM5中のカウント値Yを読み込み(ステップS273)、その読み込んだカウント値Yより第1レジスタマークRM1R2のY方向の測定位置M1y2Rを演算し、メモリM25中のY方向のアドレス位置に書き込む(ステップS274、図69(c)参照)。 When the CPU 201 determines that the first register mark RM1 R2 is included in the image at the second mark position PM2 captured by the right camera 210R (YES in step S270), the CPU 201 calculates the count value X in the memory M6 at that time. Reading (step S271), the measurement position M1x2 R in the X direction of the first register mark RM1 R2 is calculated from the read count value X, and written in the address position in the X direction in the memory M25 (step S272). Further, reads the count value Y in the memory M5 at that time (step S273), calculates the read count value Y from the measurement position in the Y direction of the first register mark RM1 R2 M1y2 R, in the memory M25 in the Y direction The address is written (see step S274, FIG. 69 (c)).

尚、レジスタマークRM1R2のX方向の測定位置M1x2Rは、右カメラ210Rが設けられた左右方向位置とカウント値Xから求められ、Y方向の測定位置M1y2Rは、第2のマーク位置PM2とカウント値Yから求められる。 Note that the measurement position M1x2 R in the X direction of the register mark RM1 R2 is obtained from the horizontal position where the right camera 210R is provided and the count value X, and the measurement position M1y2 R in the Y direction is the second mark position PM2. It is obtained from the count value Y.

そして、CPU201は、メモリM24のY方向のアドレス位置より第1のマーク位置PM1における第1レジスタマークRM1R1のY方向の測定位置M1y1Rを読み込み(図32:ステップS275)、またメモリM21から第1のマーク位置PM1における第1レジスタマークRM1のY方向の基準位置M1y1rを読み込み(ステップS276)、第1のマーク位置PM1における第1レジスタマークRM1R1のY方向の測定位置M1y1Rから第1のマーク位置PM1における第1レジスタマークRM1のY方向の基準位置M1y1rを減算し、第1のマーク位置PM1における第1レジスタマークRM1R1のY方向のずれ量ΔM1y1Rを求め(図67(c)参照)、この求めた第1レジスタマークRM1R1のY方向のずれ量ΔM1y1RをメモリM26に書き込む(ステップS277)。 Then, the CPU 201 reads the measurement position M1y1 R in the Y direction of the first register mark RM1 R1 at the first mark position PM1 from the address position in the Y direction of the memory M24 (FIG. 32: step S275), and also from the memory M21. It reads the reference position M1y1r the Y direction of the first register mark RM1 in the first mark position PM1 (step S276), the first register mark RM1 measurement position R1 in the Y-direction M1y1 R at the first mark position PM1 first the reference position M1y1r the Y direction of the first register mark RM1 and subtraction in the mark position PM1, obtains a deviation amount Derutaemu1y1 R in the Y direction of the first register mark RM1 R1 at the first mark position PM1 (FIG 67 (c) see ), The amount of deviation ΔM1 in the Y direction of the obtained first register mark RM1 R1 y1 R is written into the memory M26 (step S277).

〔第1のマーク位置における第1レジスタマークのY方向のずれ量の算出〕
そして、CPU201は、メモリM22より左の第1のマーク位置PM1における第1レジスタマークRM1L1のY方向のずれ量ΔM1y1Lを読み込み(ステップS278)、この読み込んだ左の第1のマーク位置PM1における第1レジスタマークRM1L1のY方向のずれ量ΔM1y1LにメモリM26に書き込まれている右の第1のマーク位置PM1における第1レジスタマークRM1R1のY方向のずれ量ΔM1y1Rを加算し、この左の第1のマーク位置PM1における第1レジスタマークRM1L1のY方向のずれ量ΔM1y1Lと右の第1のマーク位置PM1における第1レジスタマークRM1R1のY方向のずれ量ΔM1y1Rとの合計値を2で除算して、左右の第1のマーク位置PM1における第1レジスタマークRM1の平均値ΔM1y1を求め(ΔM1y1=(ΔM1y1L+ΔM1y1R)/2)、この求めた左右の第1のマーク位置PM1における第1レジスタマークRM1の平均値ΔM1y1を第1のマーク位置PM1における第1レジスタマークRM1のY方向のずれ量ΔY1としてメモリM27に書き込む(ステップS279、図70(a),(b),(c)参照)。
[Calculation of displacement amount of first register mark in first direction at first mark position]
Then, the CPU 201 reads the displacement amount ΔM1y1 L in the Y direction of the first register mark RM1 L1 at the first mark position PM1 on the left side of the memory M22 (step S278), and at the read left first mark position PM1. by adding the deviation amount Derutaemu1y1 R in the Y direction of the first register mark RM1 L1 in the Y direction deviation amount Derutaemu1y1 L first register mark in the first mark position PM1 of right written in the memory M26 in RM1 R1, this The sum of the amount of deviation ΔM1y1 L in the Y direction of the first register mark RM1 L1 at the left first mark position PM1 and the amount of deviation ΔM1y1 R in the Y direction of the first register mark RM1 R1 at the right first mark position PM1. The value is divided by 2 to obtain an average value ΔM1 of the first register mark RM1 at the left and right first mark positions PM1. y1 is obtained (ΔM1y1 = (ΔM1y1 L + ΔM1y1 R ) / 2), and the obtained average value ΔM1y1 of the first register mark RM1 at the left and right first mark positions PM1 is used as the first register mark RM1 at the first mark position PM1. Is written in the memory M27 as the amount of deviation ΔY1 in the Y direction (see step S279, FIGS. 70A, 70B, and 70C).

〔第1レジスタマーク間の距離の算出〕
また、CPU201は、メモリM24のY方向のアドレス位置より第1のマーク位置PM1における第1レジスタマークRM1R1のY方向の測定位置M1y1Rを読み込み(ステップS280)、メモリM25のY方向のアドレス位置より第2のマーク位置PM2における第1レジスタマークRM1R2のY方向の測定位置M1y2Rを読み込み(図30:ステップS281)、第1のマーク位置PM1における第1レジスタマークRM1R1のY方向の測定位置M1y1Rより第2のマーク位置PM2における第1レジスタマークRM1R2のY方向の測定位置M1y2Rを減算して右の第1レジスタマーク間の距離LM1Rを求め(図70(b)参照)、この求めた右の第1レジスタマーク間の距離LM1RをメモリM28に書き込む(ステップS282)。
[Calculation of distance between first register marks]
Further, the CPU 201 reads the measurement position M1y1 R in the Y direction of the first register mark RM1 R1 at the first mark position PM1 from the address position in the Y direction of the memory M24 (step S280), and the address position in the Y direction of the memory M25. Load the first register mark RM1 R2 in the Y direction of the measuring position M1y2 R in the second mark position PM2 from (Figure 30: step S281), the measurement of the Y direction of the first register mark RM1 R1 at the first mark position PM1 position M1y1 by subtracting the Y-direction measurement position M1y2 R of the first register mark in than the second mark position PM2 R RM1 R2 determine the distance LM1 R between the first register mark in the right (FIG. 70 (b) see) writes the distance LM1 R between the first register mark on the right that this determined in the memory M28 (step S 82).

そして、CPU201は、メモリM23から左の第1レジスタマーク間の距離LM1Lを読み込み(ステップS283)、この読み込んだ左の第1レジスタマーク間の距離LM1LにメモリM28に書き込まれている右の第1レジスタマーク間の距離LM1Rを加算すると共に、この左の第1レジスタマーク間の距離LM1Lと右の第1レジスタマーク間の距離LM1Rとの合計値を2で除算して、左右のレジスタマーク間の距離の平均値LM1を求め(LM1=(LM1L+LM1R)/2)、この求めた左右のレジスタマーク間の距離の平均値LM1を天地方向に離れた1対の第1レジスタマーク間の距離としてメモリM29に書き込む(ステップS284、図70(a),(b),(d)参照)。 The CPU 201 reads the distance LM1 L between the left first register marks from the memory M23 (step S283), and writes the right distance written in the memory M28 to the distance LM1 L between the read left first register marks. The distance LM1 R between the first register marks is added, and the total value of the distance LM1 L between the left first register marks and the distance LM1 R between the right first register marks is divided by 2, and left and right The average value LM1 of the distance between the register marks is calculated (LM1 = (LM1 L + LM1 R ) / 2). The distance between the register marks is written in the memory M29 (see step S284, FIGS. 70A, 70B, and 70D).

〔第1レジスタマーク間の伸縮率の算出〕
そして、CPU201は、メモリM30から第1レジスタマーク間の基準距離LM1rを読み込み(ステップS285)、メモリM29に書き込まれている天地方向の1対のレジスタマーク間の距離(左右の第1レジスタマーク間の距離の平均値)LM1を第1レジスタマーク間の基準距離LM1rで除算し、その除算結果を天地方向に離れた1対の第1レジスタマーク間の伸縮率η1(η1=LM1/LM1r)としてメモリM31に書き込む(ステップS286、図70(e)参照)。
[Calculation of expansion / contraction ratio between first register marks]
The CPU 201 reads the reference distance LM1r between the first register marks from the memory M30 (step S285), and the distance between the pair of register marks in the vertical direction written in the memory M29 (between the left and right first register marks). LM1 is divided by the reference distance LM1r between the first register marks, and the result of division is defined as the expansion / contraction ratio η1 (η1 = LM1 / LM1r) between the pair of first register marks separated in the vertical direction. The data is written in the memory M31 (see step S286, FIG. 70 (e)).

〔印刷〕
CPU201は、この印刷の準備の終了後、印刷開始スイッチ208がオンとされると(図34:ステップS287のYES)、メモリM32から基準の印刷開始位置PRTSTを読み込む(ステップS288)。この基準の印刷開始位置PRTSTは、図71に示すように、テーブル3にセットされる被印刷物4Aに対する基準の印刷開始位置として予め定められている。
〔printing〕
When the print start switch 208 is turned on after completion of this print preparation (FIG. 34: YES in step S287), the CPU 201 reads the reference print start position PRT ST from the memory M32 (step S288). As shown in FIG. 71, the reference print start position PRT ST is determined in advance as a reference print start position for the substrate 4A set on the table 3.

そして、CPU201は、メモリM27から第1のマーク位置PM1における第1レジスタマークRM1のY方向のずれ量ΔY1を読み込み(ステップS289)、メモリM74に書き込まれている第1のマーク位置PM1における第2レジスタマークRM2のY方向のずれ量ΔY2を読み込み(ステップS290)、ステップS288で読み込んだ基準の印刷開始位置PRTSTに第1のマーク位置PM1における第1レジスタマークRM1のY方向のずれ量ΔY1および第1のマーク位置PM1における第2レジスタマークRM2のY方向のずれ量ΔY2を加算して補正された印刷開始位置PRTST’を求め、メモリM33に書き込む(ステップS291)。この場合、第1のマーク位置PM1における第1レジスタマークRM1のY方向のずれ量ΔY1は先のステップS279(図32)においてΔY1=ΔM1y1として求められており、第1のマーク位置PM1における第2レジスタマークRM2のY方向のずれ量ΔY2は先のステップS101(図13)においてΔY2=0とされている。したがって、この場合、補正された印刷開始位置PRTST’は、ステップS279で求められた第1のマーク位置PM1における第1レジスタマークRM1のY方向のずれ量ΔY1のみを基準の印刷開始位置PRTSTに加算して補正した位置として得られる。 Then, the CPU 201 reads the amount of deviation ΔY1 in the Y direction of the first register mark RM1 at the first mark position PM1 from the memory M27 (step S289), and the second at the first mark position PM1 written in the memory M74. A deviation amount ΔY2 in the Y direction of the register mark RM2 is read (step S290), and the deviation amount ΔY1 in the Y direction of the first register mark RM1 at the first mark position PM1 is added to the reference print start position PRT ST read in step S288. The corrected printing start position PRT ST ′ is obtained by adding the Y-direction deviation amount ΔY2 of the second register mark RM2 at the first mark position PM1, and is written in the memory M33 (step S291). In this case, the shift amount ΔY1 in the Y direction of the first register mark RM1 at the first mark position PM1 is obtained as ΔY1 = ΔM1y1 in the previous step S279 (FIG. 32), and the second shift at the first mark position PM1. The shift amount ΔY2 in the Y direction of the register mark RM2 is set to ΔY2 = 0 in the previous step S101 (FIG. 13). Therefore, in this case, the corrected printing start position PRT ST ', the first Y-direction of the first register mark RM1 at the mark position PM1 shift amount ΔY1 only a reference print start position PRT ST of obtained in step S279 To obtain a corrected position.

次に、CPU201は、メモリM34から被印刷物4Aに対して定められている印刷長さlを読み込み(ステップS292)、メモリM31から第1レジスタマーク間の伸縮率η1を読み込み(ステップS293)、メモリM77から第2レジスタマーク間の伸縮率η2を読み込み(ステップS294)、印刷長さlに第1レジスタマーク間の伸縮率η1および第2レジスタマーク間の伸縮率η2を乗算し、補正された印刷長さl’(l’=l×η1×η2)を求め、メモリM35に書き込む(ステップS295)。この場合、第1レジスタマーク間の伸縮率η1は先のステップS286(図33)においてη1=LM1/LM1rとして求められており、第2レジスタマーク間の伸縮率η2は先のステップS102(図13)においてη2=1とされている。したがって、この場合、補正された印刷長さl’は、ステップS286で求められた第1レジスタマーク間の伸縮率η1のみを印刷長さlに乗算して補正した長さとして得られる。   Next, the CPU 201 reads the printing length l determined for the substrate 4A from the memory M34 (step S292), and reads the expansion / contraction rate η1 between the first register marks from the memory M31 (step S293). The expansion ratio η2 between the second register marks is read from M77 (step S294), the print length l is multiplied by the expansion ratio η1 between the first register marks and the expansion ratio η2 between the second register marks, and the corrected printing is performed. The length l ′ (l ′ = l × η1 × η2) is obtained and written in the memory M35 (step S295). In this case, the expansion ratio η1 between the first register marks is obtained as η1 = LM1 / LM1r in the previous step S286 (FIG. 33), and the expansion ratio η2 between the second register marks is determined in the previous step S102 (FIG. 13). ), Η2 = 1. Therefore, in this case, the corrected printing length l ′ is obtained as a corrected length by multiplying the printing length l by only the expansion / contraction rate η1 between the first register marks obtained in step S286.

そして、CPU201は、メモリM33から補正された印刷開始位置PRTST’を読み込み(ステップS296)、補正された印刷開始位置PRTST’に補正された印刷長さl’を加算して印刷終了位置PRTENDを求め、その求めた印刷終了位置PRTENDをメモリM36に書き込む(ステップS297)。 Then, the CPU 201 reads the corrected print start position PRT ST ′ from the memory M33 (step S296), adds the corrected print length l ′ to the corrected print start position PRT ST ′, and print end position PRT. END is obtained, and the obtained print end position PRT END is written in the memory M36 (step S297).

また、CPU201は、メモリM37からゴム胴の基準回転速度VBrを読み込み(図35:ステップS298)、メモリM31から第1レジスタマーク間の伸縮率η1を読み込み(ステップS299)、メモリM77から第2レジスタマーク間の伸縮率η2を読み込み(ステップS300)、ゴム胴の基準回転速度VBrに第1レジスタマーク間の伸縮率η1の逆数および第2レジスタマーク間の伸縮率η2の逆数を乗算して印刷中のゴム胴の回転速度VBpを求め(VBp=VBr×1/η1×1/η2)、この求めた印刷中のゴム胴の回転速度VBpをメモリM38に書き込む(ステップS301)。この場合、第1レジスタマーク間の伸縮率η1は先のステップS286(図33)においてη1=LM1/LM1rとして求められており、第2レジスタマーク間の伸縮率η2は先のステップS102(図13)においてη2=1とされている。したがって、この場合、印刷中のゴム胴の回転速度VBpは、ステップS286で求められた第1レジスタマーク間の伸縮率η1の逆数をゴム胴の基準回転速度VBrに乗算して調整した速度として得られる。   Further, the CPU 201 reads the reference rotational speed VBr of the rubber cylinder from the memory M37 (FIG. 35: Step S298), reads the expansion / contraction rate η1 between the first register marks from the memory M31 (Step S299), and reads the second register from the memory M77. Reading the expansion / contraction ratio η2 between the marks (step S300) and multiplying the reference rotational speed VBr of the rubber cylinder by the inverse of the expansion / contraction ratio η1 between the first register marks and the inverse of the expansion ratio η2 between the second register marks. The rubber cylinder rotation speed VBp is obtained (VBp = VBr × 1 / η1 × 1 / η2), and the obtained rubber cylinder rotation speed VBp during printing is written in the memory M38 (step S301). In this case, the expansion ratio η1 between the first register marks is obtained as η1 = LM1 / LM1r in the previous step S286 (FIG. 33), and the expansion ratio η2 between the second register marks is determined in the previous step S102 (FIG. 13). ), Η2 = 1. Accordingly, in this case, the rotational speed VBp of the rubber cylinder during printing is obtained as a speed adjusted by multiplying the reference rotational speed VBr of the rubber cylinder by the reciprocal of the expansion / contraction ratio η1 between the first register marks obtained in step S286. It is done.

〔版胴へのインキの供給〕
そして、CPU201は、メモリM39から版胴の基準回転速度VPrを読み込み(ステップS302)、この読み込んだ版胴の基準回転速度VPrを版胴駆動用モータドライバ218にD/A変換器221を介して出力する(ステップS303)。これにより、版胴1が基準回転速度VPrで回転し始める。
[Ink supply to plate cylinder]
Then, the CPU 201 reads the reference rotation speed VPr of the plate cylinder from the memory M39 (step S302), and the read reference rotation speed VPr of the plate cylinder is transferred to the plate cylinder driving motor driver 218 via the D / A converter 221. Output (step S303). As a result, the plate cylinder 1 starts to rotate at the reference rotation speed VPr.

CPU201は、版胴1を基準回転速度VPrで回転させた状態で、インキ装置235にインキ供給開始指令を出力する(ステップS304)。これにより、インキ装置235から版胴1にインキが供給され始める。   The CPU 201 outputs an ink supply start command to the inking device 235 while the plate cylinder 1 is rotated at the reference rotation speed VPr (step S304). As a result, ink starts to be supplied from the inking device 235 to the plate cylinder 1.

CPU201は、このインキ装置235からの版胴1へのインキの供給中、版胴回転位相検出用カウンタ220よりカウント値を読み込み(ステップS305)、この読み込んだ版胴回転位相検出用カウンタ220のカウント値より版胴の現在の回転位相φRを演算し(ステップS306)、メモリM42より版胴の印刷開始位置φSTを読み込み(ステップS307)、版胴の現在の回転位相φRが版胴の印刷開始位置φSTに達したか否かを確認する(ステップS308)。 The CPU 201 reads the count value from the plate cylinder rotation phase detection counter 220 while the ink is being supplied from the inking device 235 to the plate cylinder 1 (step S305), and the read plate cylinder rotation phase detection counter 220 counts. calculates the current rotational phase phi R of the plate cylinder than the value (step S306), reads the print start position phi ST of the plate cylinder from the memory M42 (step S307), the current plate cylinder rotational phase phi R is of the plate cylinder checks whether or not reached the print start position phi ST (step S308).

そして、CPU201は、版胴の現在の回転位相φRが版胴の印刷開始位置φSTに達したことを確認すると(ステップS308のYES)、版胴回転位相検出用カウンタ220よりカウント値を読み込み(図36:ステップS309)、この読み込んだ版胴回転位相検出用カウンタ220のカウント値より版胴の現在の回転位相φRを演算し(ステップS310)、メモリM43より版胴の印刷終了位置φENDを読み込み(ステップS306)、版胴の現在の回転位相φRが版胴の印刷終了位置φENDに達したか否かを確認する(ステップS312)。 When the CPU 201 confirms that the current rotation phase φ R of the plate cylinder has reached the printing start position φ ST of the plate cylinder (YES in step S308), the CPU 201 reads the count value from the plate cylinder rotation phase detection counter 220. (FIG. 36: Step S309), the current rotation phase φ R of the plate cylinder is calculated from the read count value of the plate cylinder rotation phase detection counter 220 (Step S310), and the printing end position φ of the plate cylinder is stored from the memory M43. END is read (step S306), and it is confirmed whether or not the current rotation phase φ R of the plate cylinder has reached the printing end position φ END of the plate cylinder (step S312).

CPU201は、版胴の現在の回転位相φRが版胴の印刷終了位置φENDに達したことを確認すると(ステップS312のYES)、版胴駆動用モータドライバ218に停止指令を出力すると共に(ステップS313)、インキ装置235にインキ供給停止指令を出力する(ステップS314)。これにより、版胴1の印刷開始位置φSTから印刷終了位置φENDまでの区間にインキが供給され、このインキが供給された状態で版胴1の回転が停止される。 When the CPU 201 confirms that the current rotational phase φ R of the plate cylinder has reached the printing end position φ END of the plate cylinder (YES in step S312), the CPU 201 outputs a stop command to the plate cylinder driving motor driver 218 ( In step S313), an ink supply stop command is output to the inking device 235 (step S314). This will interval supplied ink to the print start position phi ST print end position phi END from the plate cylinder 1, the rotation of the plate cylinder 1 in a state in which the ink is supplied is stopped.

〔版胴からゴム胴へのインキの転写〕
次に、CPU201は、メモリM37からゴム胴の基準回転速度VBrを読み込み(ステップS315)、その読み込んだゴム胴の基準回転速度VBrをゴム胴駆動用モータドライバ223にD/A変換器226を介して出力する(ステップS316)。これにより、ゴム胴2がゴム胴の基準回転速度VBrで回転し始める。この時、ゴム胴2は、版胴1には接触していない。
[Ink transfer from plate cylinder to rubber cylinder]
Next, the CPU 201 reads the reference rotational speed VBr of the rubber cylinder from the memory M37 (step S315), and uses the read reference rotational speed VBr of the rubber cylinder to the rubber cylinder driving motor driver 223 via the D / A converter 226. (Step S316). As a result, the rubber cylinder 2 starts to rotate at the reference rotation speed VBr of the rubber cylinder. At this time, the rubber cylinder 2 is not in contact with the plate cylinder 1.

CPU201は、ゴム胴2を基準回転速度VBrで回転させた後、ゴム胴回転位相検出用カウンタ225よりカウント値を読み込み(図37:ステップS317)、この読み込んだゴム胴回転位相検出用カウンタ225のカウント値よりゴム胴の現在の回転位相ψRを演算し(ステップS318)、メモリM46よりゴム胴の印刷開始位置ψSTを読み込み(ステップS319)、ゴム胴の現在の回転位相ψRがゴム胴の印刷開始位置ψSTに達したか否かを確認する(ステップS320)。 The CPU 201 rotates the rubber cylinder 2 at the reference rotation speed VBr, and then reads the count value from the rubber cylinder rotation phase detection counter 225 (FIG. 37: step S317), and the read rubber cylinder rotation phase detection counter 225 reads the count value. from the count value to calculate the current rotational phase [psi R of the blanket cylinder (step S318), reads the print start position [psi ST of the blanket cylinder from the memory M46 (step S319), the current rotational phase [psi R is blanket cylinder of the blanket cylinder It is confirmed whether or not the print start position ψ ST has been reached (step S320).

そして、CPU201は、ゴム胴の現在の回転位相ψRがゴム胴の印刷開始位置ψSTに達したことを確認すると(ステップS320のYES)、胴着脱装置236に着指令を出力し(ステップS321)、ゴム胴2を版胴1に接触させる。そして、CPU201は、メモリM39から版胴の基準回転速度VPrを読み込み(ステップS322)、その読み込んだ版胴の基準回転速度VPrを版胴駆動用モータドライバ218にD/A変換器221を介して出力する(ステップS323)。これにより、版胴1が基準回転速度VPrで回転し始め、版胴1からのインキがゴム胴2に転写され始める。 When the CPU 201 confirms that the current rotational phase ψ R of the rubber cylinder has reached the print start position ψ ST of the rubber cylinder (YES in step S320), the CPU 201 outputs a wearing command to the cylinder attaching / detaching device 236 (step S321). ) The rubber cylinder 2 is brought into contact with the plate cylinder 1. Then, the CPU 201 reads the reference rotation speed VPr of the plate cylinder from the memory M39 (step S322), and the read reference rotation speed VPr of the plate cylinder is transferred to the plate cylinder driving motor driver 218 via the D / A converter 221. Output (step S323). As a result, the plate cylinder 1 starts to rotate at the reference rotational speed VPr, and ink from the plate cylinder 1 starts to be transferred to the rubber cylinder 2.

版胴1からゴム胴2へインキを転写している間、CPU201は、ゴム胴回転位相検出用カウンタ225よりカウント値を読み込み(図38:ステップS324)、この読み込んだゴム胴回転位相検出用カウンタ225のカウント値よりゴム胴の現在の回転位相ψRを演算し(ステップS325)、メモリM47よりゴム胴の印刷終了位置ψENDを読み込み(ステップS326)、ゴム胴の現在の回転位相ψRがゴム胴の印刷終了位置ψENDに達したか否かを確認する(ステップS327)。 While the ink is transferred from the plate cylinder 1 to the rubber cylinder 2, the CPU 201 reads the count value from the rubber cylinder rotation phase detection counter 225 (FIG. 38: step S324), and the read rubber cylinder rotation phase detection counter. The current rotation phase ψ R of the rubber cylinder is calculated from the count value of 225 (step S325), the printing end position ψ END of the rubber cylinder is read from the memory M47 (step S326), and the current rotation phase ψ R of the rubber cylinder is obtained. It is confirmed whether or not the print end position ψ END of the rubber cylinder has been reached (step S327).

そして、CPU201は、ゴム胴の現在の回転位相ψRがゴム胴の印刷終了位置ψENDに達したことを確認すると(ステップS327のYES)、胴着脱装置236に脱指令を出力し(ステップS328)、ゴム胴2を版胴1から離す。すなわち、胴抜きを行う。これにより、ゴム胴2の印刷開始位置ψSTから印刷終了位置ψENDまでの区間に、版胴1からのインキが転写される。 When the CPU 201 confirms that the current rotational phase ψ R of the rubber cylinder has reached the print end position ψ END of the rubber cylinder (YES in step S327), the CPU 201 outputs a removal command to the cylinder attaching / detaching device 236 (step S328). ) The rubber cylinder 2 is separated from the plate cylinder 1. That is, the body is removed. As a result, the ink from the plate cylinder 1 is transferred to the section from the printing start position ψ ST to the printing end position ψ END of the rubber cylinder 2.

〔ゴム胴の下降〕
CPU201は、版胴1からのゴム胴2へのインキの転写を終えると、版胴駆動用モータドライバ218に停止指令を出力し(ステップS329)、版胴1の回転を停止させる。そして、ゴム胴回転位相検出用カウンタ225よりカウント値を読み込み(図39:ステップS330)、この読み込んだゴム胴回転位相検出用カウンタ225のカウント値よりゴム胴の現在の回転位相ψRを演算し(ステップS331)、メモリM48よりゴム胴の移動開始位置ψMSTを読み込み(ステップS332)、ゴム胴の現在の回転位相ψRがゴム胴の移動開始位置ψMSTに達したか否かを確認する(ステップS333)。
[Dropping of rubber cylinder]
When the transfer of the ink from the plate cylinder 1 to the rubber cylinder 2 is completed, the CPU 201 outputs a stop command to the plate cylinder driving motor driver 218 (step S329), and stops the rotation of the plate cylinder 1. Then, the count value is read from the rubber cylinder rotation phase detection counter 225 (FIG. 39: Step S330), and the current rotation phase ψ R of the rubber cylinder is calculated from the read count value of the rubber cylinder rotation phase detection counter 225. (Step S331), the movement start position ψ MST of the rubber cylinder is read from the memory M48 (Step S332), and it is confirmed whether or not the current rotation phase ψ R of the rubber cylinder has reached the movement start position ψ MST of the rubber cylinder. (Step S333).

そして、CPU201は、ゴム胴の現在の回転位相ψRがゴム胴の移動開始位置ψMSTに達したことを確認すると(ステップS333のYES)、ゴム胴昇降用エアシリンダ用バルブ234に下降指令を出力する(ステップS334)。これにより、ゴム胴昇降用エアシリンダ233が作動し、ゴム胴2がテーブル3に降ろされる(図72参照)。 When the CPU 201 confirms that the current rotational phase ψ R of the rubber cylinder has reached the movement start position ψ MST of the rubber cylinder (YES in step S333), the CPU 201 issues a lowering command to the air cylinder valve 234 for raising and lowering the rubber cylinder. Output (step S334). As a result, the rubber cylinder elevating air cylinder 233 is operated, and the rubber cylinder 2 is lowered onto the table 3 (see FIG. 72).

〔ゴム胴の天地方向への移動〕
次に、CPU201は、メモリM49からゴム胴の天地方向移動速度vBMを読み込み(ステップS335)、ゴム胴天地方向移動用モータドライバ228に正転指令およびゴム胴の天地方向移動速度vBMをD/A変換器231を介して出力する(ステップS336)。これにより、ゴム胴2が回転しながら天地方向の下流側へ、すなわちテーブル4上の被印刷物4Aのある方向へ、天地方向移動速度vBMで移動し始める。
[Moving the rubber cylinder in the vertical direction]
Next, CPU 201 reads the vertical movement velocity vB M of the blanket cylinder from the memory M49 (step S335), the vertical movement velocity vB M of normal rotation instruction and the blanket cylinder to the blanket cylinder circumferential direction movement motor driver 228 D The data is output via the / A converter 231 (step S336). Thus, the blanket cylinder 2 is the downstream side in the circumferential direction while rotating, i.e. the direction of the substrate 4A on table 4, starts to move in vertical movement velocity vB M.

次に、CPU201は、メモリM50にゴム胴の天地方向位置と回転位相による位相偏差の補正が完了していないことを示す値として「2」を書き込む(図40:ステップS337)。そして、このゴム胴2の天地方向の下流側への移動中、ゴム胴の天地方向位置検出用カウンタ230よりカウント値を読み込み(ステップS338)、この読み込んだゴム胴の天地方向位置検出用カウンタ230のカウント値よりゴム胴の現在の天地方向位置PBMRを演算してメモリM52に書き込むと共に(ステップS339)、メモリM33から補正された印刷開始位置PRTST’を読み込み(ステップS340)、ステップS339で演算したゴム胴の現在の天地方向位置PBMRが補正された印刷開始位置PRTST’に達したか否かを確認する(ステップS341)。 Next, the CPU 201 writes “2” in the memory M50 as a value indicating that the correction of the phase deviation based on the vertical position of the rubber cylinder and the rotation phase has not been completed (FIG. 40: step S337). Then, while the rubber cylinder 2 is moving downstream in the vertical direction, the count value is read from the vertical position detection counter 230 of the rubber cylinder (step S338), and the vertical position detection counter 230 of the read rubber cylinder is read. The current top-to-bottom position PBM R of the rubber cylinder is calculated from the counted value and written in the memory M52 (step S339), and the corrected print start position PRT ST ′ is read from the memory M33 (step S340). It is checked whether or not the calculated vertical position PBM R of the rubber cylinder has reached the corrected print start position PRT ST ′ (step S341).

〔ゴム胴の回転位相の調整〕
CPU201は、ステップS341においてゴム胴の現在の天地方向位置PBMRの補正された印刷開始位置PRTST’への到達が確認されるまでの間、ステップS342(図41)〜S362(図42)の処理動作を繰り返す。このステップS342〜S362の処理ではゴム胴の回転位相の調整を行う。このゴム胴の回転位相の調整は次のようにして行われる。
[Adjustment of rotational phase of rubber cylinder]
The CPU 201 proceeds to steps S342 (FIG. 41) to S362 (FIG. 42) until it is confirmed in step S341 that the current vertical position PBM R of the rubber cylinder reaches the corrected print start position PRT ST ′. Repeat the processing operation. In the processing of steps S342 to S362, the rotation phase of the rubber cylinder is adjusted. The adjustment of the rotational phase of the rubber cylinder is performed as follows.

CPU201は、メモリM52からゴム胴の現在の天地方向位置PBMRを読み込み(図41:ステップS342)、メモリM27から第1のマーク位置における第1レジスタマークのY方向のずれ量ΔY1を読み込み(ステップS343)、メモリM74から第1のマーク位置における第2レジスタマークのY方向のずれ量ΔY2を読み込み(ステップS344)、ゴム胴の現在の天地方向位置PBMRに第1のマーク位置における第1レジスタマークのY方向のずれ量ΔY1および第1のマーク位置における第2レジスタマークのY方向のずれ量ΔY2を加算して、補正したゴム胴の現在の天地方向位置PBMR’を求め、この求めた補正したゴム胴の現在の天地方向位置PBMR’をメモリM53に書き込む(ステップS345)。 The CPU 201 reads the current top-to-bottom position PBM R of the rubber cylinder from the memory M52 (FIG. 41: step S342), and reads from the memory M27 the shift amount ΔY1 of the first register mark in the Y direction at the first mark position (step S342). S343), the amount of deviation ΔY2 in the Y direction of the second register mark at the first mark position is read from the memory M74 (step S344), and the first register at the first mark position is read into the current vertical position PBM R of the rubber cylinder. The correction amount ΔY1 in the Y direction of the mark and the shift amount ΔY2 in the Y direction of the second register mark at the first mark position are added to obtain the corrected vertical position PBM R ′ of the rubber cylinder. The corrected vertical position PBM R ′ of the rubber cylinder is written in the memory M53 (step S345).

そして、メモリM54からゴム胴の天地方向位置−あるべきゴム胴の回転位相変換用テーブルを読み込み(ステップS346)、この読み込んだゴム胴の天地方向位置−あるべきゴム胴の回転位相変換用テーブルを用いて、補正したゴム胴の現在の天地方向位置PBMR’より、あるべきゴム胴の回転位相ψmを求める(ステップS347)。 Then, from the memory M54, the vertical position of the rubber cylinder—the rotational phase conversion table of the rubber cylinder to be there is read (step S346). Using the corrected vertical position PBM R ′ of the rubber cylinder, the rotational phase ψm of the rubber cylinder to be obtained is obtained (step S347).

そして、CPU201は、ゴム胴回転位相検出用カウンタ225よりカウント値を読み込み(ステップS348)、この読み込んだゴム胴回転位相検出用カウンタ225のカウント値よりゴム胴の現在の回転位相ψRを求める(ステップS349)。そして、ステップS347で求めたあるべきゴム胴の回転位相ψmよりゴム胴の現在の回転位相ψRを減算し、ゴム胴の現在の回転位相差ΔψRを求め、この求めた現在の回転位相差ΔψRをメモリM56に書き込む(ステップS350)。 The CPU 201 reads the count value from the rubber cylinder rotation phase detection counter 225 (step S348), and obtains the current rotation phase ψ R of the rubber cylinder from the read count value of the rubber cylinder rotation phase detection counter 225 (step S348). Step S349). Then, the current rotational phase ψ R of the rubber cylinder is subtracted from the rotational phase ψ m of the rubber cylinder that should be obtained in step S347 to obtain the current rotational phase difference Δψ R of the rubber cylinder, and the obtained current rotational phase difference Δψ R is written into the memory M56 (step S350).

次に、CPU201は、ステップS350で求めたゴム胴の現在の回転位相差ΔψRよりゴム胴の現在の回転位相差ΔψRの絶対値を求め(ステップS351)、メモリM58よりゴム胴の回転位相差の許容値αを読み込み(ステップS352)、ゴム胴の現在の回転位相差ΔψRの絶対値がゴム胴の回転位相差の許容値α以下であるか否かを確認する(図42:ステップS353)。 Then, CPU 201 obtains an absolute value of the current rotational phase difference [Delta] [phi] R of the current rotational phase difference [Delta] [phi] R of the blanket cylinder of the blanket cylinder obtained in step S350 (step S351), the rotation position of the blanket cylinder from the memory M58 The allowable value α of the phase difference is read (step S352), and it is confirmed whether or not the absolute value of the current rotational phase difference Δψ R of the rubber cylinder is less than or equal to the allowable value α of the rotational phase difference of the rubber cylinder (FIG. 42: step). S353).

ここで、ゴム胴の現在の回転位相差ΔψRの絶対値がゴム胴の回転位相差の許容値α以下でなければ(ステップS353のNO)、CPU201は、メモリM59よりゴム胴の現在の回転位相差−回転速度の補正値変換テーブルを読み込み(ステップS354)、またメモリM56よりゴム胴の現在の回転位相差ΔψRを読み込み(ステップS355)、ゴム胴の現在の回転位相差−回転速度の補正値変換テーブルを用いてゴム胴の現在の回転位相差ΔψRより回転速度の補正値ΔVを求める(ステップS356)。 If the absolute value of the current rotational phase difference Δψ R of the rubber cylinder is not less than or equal to the allowable value α of the rotational phase difference of the rubber cylinder (NO in step S353), the CPU 201 reads the current rotation of the rubber cylinder from the memory M59. A correction value conversion table for phase difference-rotational speed is read (step S354), and the current rotational phase difference Δψ R of the rubber cylinder is read from the memory M56 (step S355), and the current rotational phase difference of the rubber cylinder-rotational speed is calculated. A correction value ΔV of the rotational speed is obtained from the current rotational phase difference Δψ R of the rubber cylinder using the correction value conversion table (step S356).

そして、CPU201は、メモリM37よりゴム胴の基準回転速度VBrを読み込み(ステップS357)、ゴム胴の基準回転速度VBrに回転速度の補正値ΔVを加算し、補正したゴム胴の回転速度VBr’を求め(ステップS358)、この求めた補正したゴム胴の回転速度VBr’をゴム胴駆動用モータドライバ223にD/A変換器226を介して出力し(ステップS359)、ステップS338(図40)に戻って、同様動作を繰り返す。   The CPU 201 reads the reference rotation speed VBr of the rubber cylinder from the memory M37 (step S357), adds the correction value ΔV of the rotation speed to the reference rotation speed VBr of the rubber cylinder, and sets the corrected rotation speed VBr ′ of the rubber cylinder. Obtained (step S358), the obtained corrected rotational speed VBr ′ of the rubber cylinder is output to the rubber cylinder driving motor driver 223 via the D / A converter 226 (step S359), and then to step S338 (FIG. 40). Go back and repeat the same operation.

これにより、ゴム胴2の回転速度が調整され、ゴム胴の現在の回転位相差ΔψRの絶対値がゴム胴の回転位相差の許容値α以下に合わせ込まれるようになる。 As a result, the rotational speed of the rubber cylinder 2 is adjusted, and the absolute value of the current rotational phase difference Δψ R of the rubber cylinder is adjusted to be less than or equal to the allowable value α of the rotational phase difference of the rubber cylinder.

そして、ゴム胴の現在の回転位相差ΔψRの絶対値がゴム胴の回転位相差の許容値α以下になると(図42:ステップS353のYES)、CPU201は、メモリM37よりゴム胴の基準回転速度VBrを読み込み(ステップS360)、この読み込んだゴム胴の基準回転速度VBrをゴム胴駆動用モータドライバ223にD/A変換器226を介して出力し(ステップS361)、メモリM50にゴム胴の天地方向位置と回転位相による位相偏差の補正が完了したことを示す値として「1」を書き込む(ステップS362)。 When the absolute value of the current rotational phase difference Δψ R of the rubber cylinder becomes equal to or smaller than the allowable value α of the rotational phase difference of the rubber cylinder (FIG. 42: YES in step S353), the CPU 201 makes a reference rotation of the rubber cylinder from the memory M37. The speed VBr is read (step S360), and the read reference rotational speed VBr of the rubber cylinder is output to the rubber cylinder driving motor driver 223 via the D / A converter 226 (step S361). “1” is written as a value indicating that the correction of the phase deviation based on the vertical position and the rotational phase is completed (step S362).

CPU201は、ゴム胴の現在の天地方向位置PBMRが補正された印刷開始位置PRTST’へ達するまで、このステップS342〜S362の処理動作を繰り返すが、ステップS353においてゴム胴の現在の回転位相差ΔψRの絶対値がゴム胴の回転位相差の許容値α以下にならない場合には、ステップS360〜S362への処理には進まない。この場合、メモリM50にはゴム胴の天地方向位置と回転位相による位相偏差の補正が完了していないことを示す値として「2」が書き込まれたままとなる。 The CPU 201 repeats the processing operations in steps S342 to S362 until the current top-to-bottom position PBM R of the rubber cylinder reaches the corrected printing start position PRT ST ′. Δψ when the absolute value of R is not lower than the allowable value α of the rotation phase difference of the blanket cylinder, not proceed to the process to step S360~S362. In this case, “2” is still written in the memory M50 as a value indicating that the correction of the phase deviation based on the vertical position of the rubber cylinder and the rotational phase is not completed.

CPU201は、ゴム胴の現在の天地方向位置PBMRが補正された印刷開始位置PRTST’へ達したことを確認すると(図40:ステップS341のYES)、メモリM50に書き込まれている値を読み込み(ステップS363)、メモリM50に書き込まれている値が「1」であるか否かを確認する(図43:ステップS364)。ここで、メモリM50に書き込まれている値が「1」でなければ(ステップS364のNO)、表示器205にエラーを表示するが(ステップS377)、メモリM50に書き込まれている値が「1」であれば(ステップS364のYES)、ゴム胴の天地方向位置と回転位相による位相偏差の補正が完了した状態にあると判断する。 When the CPU 201 confirms that the current top-to-bottom position PBM R of the rubber cylinder has reached the corrected print start position PRT ST ′ (FIG. 40: YES in step S341), it reads the value written in the memory M50. (Step S363), it is confirmed whether or not the value written in the memory M50 is “1” (FIG. 43: Step S364). If the value written in the memory M50 is not “1” (NO in step S364), an error is displayed on the display 205 (step S377), but the value written in the memory M50 is “1”. "(YES in step S364), it is determined that the correction of the phase deviation based on the vertical position of the rubber cylinder and the rotational phase has been completed.

CPU201は、ゴム胴の天地方向位置と回転位相による位相偏差の補正が完了した状態にあると判断すると(ステップS364のYES)、メモリM38から印刷中のゴム胴の回転速度VBpを読み込み(ステップS365)、その読み込んだ印刷中のゴム胴の回転速度VBpをゴム胴駆動用モータドライバ223にD/A変換器226を介して出力する(ステップS366)。これにより、ゴム胴2が印刷中のゴム胴の回転速度VBpで回転し始める(図73参照)。すなわち、補正された印刷開始位置PRTST’から、印刷中のゴム胴の回転速度VBpで回転しながら、ゴム胴2が天地方向の下流側へ移動し、テーブル3上の被印刷物4Aに対して回路(2度目の回路)の印刷が行われて行く。 If the CPU 201 determines that the correction of the phase deviation based on the vertical position of the rubber cylinder and the rotation phase has been completed (YES in step S364), the CPU 201 reads the rotational speed VBp of the rubber cylinder being printed from the memory M38 (step S365). The read rotation speed VBp of the rubber cylinder being printed is output to the rubber cylinder driving motor driver 223 via the D / A converter 226 (step S366). As a result, the rubber cylinder 2 starts to rotate at the rotation speed VBp of the rubber cylinder during printing (see FIG. 73). That is, the rubber cylinder 2 moves to the downstream side in the vertical direction while rotating at the rotational speed VBp of the rubber cylinder being printed from the corrected printing start position PRT ST ′, and with respect to the substrate 4A on the table 3 The circuit (second circuit) is printed.

そして、CPU201は、ゴム胴の天地方向位置検出用カウンタ230よりカウント値を読み込み(ステップS367)、この読み込んだゴム胴の天地方向位置検出用カウンタ230のカウント値よりゴム胴の現在の天地方向位置PBMRを演算し(ステップS368)、メモリM36から印刷終了位置PRTENDを読み込み(ステップS369)、ゴム胴の現在の天地方向位置PBMRが印刷終了位置PRTENDに達したか否かを確認する(ステップS370)。 Then, the CPU 201 reads the count value from the vertical position detection counter 230 of the rubber cylinder (step S367), and the current vertical position of the rubber cylinder from the read count value of the vertical position detection counter 230 of the rubber cylinder. PBM R is calculated (step S368), the printing end position PRT END is read from the memory M36 (step S369), and it is confirmed whether or not the current vertical position PBM R of the rubber cylinder has reached the printing end position PRT END. (Step S370).

CPU201は、ゴム胴の現在の天地方向位置PBMRが印刷終了位置PRTENDに達したことを確認すると(ステップS370のYES)、ゴム胴駆動用モータドライバ223に停止指令を出力し(図41:ステップS371)、ゴム胴2の回転を停止させる(図74参照)。そして、ゴム胴昇降用エアシリンダ用バルブ234に上昇指令を出力し(ステップS372)、ゴム胴2をテーブル3から上昇させる(図75参照)。 When the CPU 201 confirms that the current vertical position PBM R of the rubber cylinder has reached the print end position PRT END (YES in step S370), the CPU 201 outputs a stop command to the rubber cylinder driving motor driver 223 (FIG. 41: Step S371), the rotation of the rubber cylinder 2 is stopped (see FIG. 74). Then, an ascent command is output to the rubber cylinder raising / lowering air cylinder valve 234 (step S372), and the rubber cylinder 2 is raised from the table 3 (see FIG. 75).

そして、CPU201は、メモリM49からゴム胴の天地方向移動速度vBMを読み込み(ステップS373)、ゴム胴天地方向移動用モータドライバ228に逆転指令およびゴム胴の天地方向移動速度vBMをD/A変換器231を介して出力する(ステップS374)。これにより、ゴム胴2が回転を停止した状態で天地方向の上流側、すなわち版胴1が位置している側に向かって、天地方向移動速度vBMで移動し始める。 Then, CPU 201 reads the vertical movement velocity vB M of the blanket cylinder from the memory M49 (step S373), the vertical movement velocity vB M of the reverse rotation instruction and the blanket cylinder to the blanket cylinder circumferential direction movement motor driver 228 D / A The data is output via the converter 231 (step S374). Accordingly, the upstream side in the circumferential direction in a state in which the blanket cylinder 2 is stopped rotating, i.e. towards the side where the plate cylinder 1 is located, starts to move in the vertical movement velocity vB M.

このゴム胴2の天地方向の上流側への移動により、ゴム胴の天地方向の原点位置検出器232がオンとなると(ステップS375のYES)、すなわちゴム胴1が移動を開始する前の最初の位置(原点位置)に戻ると、ゴム胴天地方向移動用モータドライバ228に停止指令を出力する(ステップS376)。これにより、ゴム胴2の天地方向への移動が停止する(図76参照)。   When the origin position detector 232 in the vertical direction of the rubber cylinder is turned on by the movement of the rubber cylinder 2 in the vertical direction (YES in step S375), that is, the first time before the rubber cylinder 1 starts moving. When returning to the position (origin position), a stop command is output to the rubber cylinder top movement motor driver 228 (step S376). This stops the movement of the rubber cylinder 2 in the vertical direction (see FIG. 76).

これにより、第1のマーク位置PM1における第2レジスタマークのY方向のずれ量ΔY2をΔY2=0として、第2レジスタマーク間の伸縮率η2をη2=1として、1度目の回路が印刷されている被印刷物4Aへの回路(2度目の回路)の印刷が行われ、図3に示されるような4つの第2レジスタマークRM2が同時に印刷された最初の被印刷物4Bが得られる。   As a result, the first circuit is printed with the amount of displacement ΔY2 of the second register mark in the Y direction at the first mark position PM1 as ΔY2 = 0 and the expansion / contraction rate η2 between the second register marks as η2 = 1. The circuit (second circuit) is printed on the printed material 4A, and the first printed material 4B on which the four second register marks RM2 are simultaneously printed as shown in FIG. 3 is obtained.

〔印刷終了後のティーチング〕
オペレータは、このようにして4つの第2レジスタマークRM2が同時に印刷された被印刷物4Bを得た後、印刷終了後のティーチングスイッチ209をオンとする。
[Teaching after printing]
The operator thus turns on the teaching switch 209 after completion of printing after obtaining the printed material 4B on which the four second register marks RM2 are simultaneously printed.

平台印刷制御装置200のCPU201は、印刷終了後のティーチングスイッチ209がオンとされると(図45:ステップS377のYES)、メモリM1からカメラ移動用モータの回転速度Vcを読み込み(ステップS378)、カメラ移動用モータドライバ212に正転指令およびカメラ移動用モータの回転速度VcをD/A変換器215を介して出力する(ステップS379)。これにより、カメラ移動用モータ211が回転速度Vcで正転し、図3に示された最初の位置を原点位置として、左カメラ210Lおよび右カメラ210Rがテーブル3上を左方向へ同時に移動する。   When the teaching switch 209 after printing is turned on (FIG. 45: YES in step S377), the CPU 201 of the flatbed printing control apparatus 200 reads the rotational speed Vc of the camera moving motor from the memory M1 (step S378). A normal rotation command and the rotation speed Vc of the camera moving motor are output to the camera moving motor driver 212 via the D / A converter 215 (step S379). As a result, the camera moving motor 211 rotates forward at the rotation speed Vc, and the left camera 210L and the right camera 210R simultaneously move leftward on the table 3 with the initial position shown in FIG.

CPU201は、この左カメラ210Lおよび右カメラ210Rの移動中、カメラ位置検出用カウンタ214のカウント値を読み込み(ステップS380)、このカメラ位置検出用カウンタ214のカウント値より左カメラ210Lおよび右カメラ210Rの現在位置PCMRを演算し(ステップS381)、メモリM4から第1のマーク位置PM1を読み込み(ステップS382)、左カメラ210Lおよび右カメラ210Rの現在位置PCMRが第1のマーク位置PM1に達したか否かを確認する(ステップS383)。 While the left camera 210L and the right camera 210R are moving, the CPU 201 reads the count value of the camera position detection counter 214 (step S380), and the left camera 210L and the right camera 210R are read based on the count value of the camera position detection counter 214. The current position PCM R is calculated (step S381), the first mark position PM1 is read from the memory M4 (step S382), and the current positions PCM R of the left camera 210L and the right camera 210R have reached the first mark position PM1. Whether or not (step S383).

CPU201は、左カメラ210Lおよび右カメラ210Rの現在位置PCMRが第1のマーク位置PM1に達したことを確認すると(ステップS383のYES)、カメラ移動用モータドライバ212に停止指令を出力して(ステップS384)、左カメラ210Lおよび右カメラ210Rの移動を停止する。そして、左カメラ210Lおよび右カメラ210Rに撮像指令を出力し(ステップS385)、テーブル3にセットされている被印刷物4B上の第2レジスタマークRM2R1を含む領域を左カメラ210Lで撮像し、被印刷物4B上の第2レジスタマークRM2R1を含む領域を右カメラ210Rで撮像する。 When the CPU 201 confirms that the current position PCM R of the left camera 210L and the right camera 210R has reached the first mark position PM1 (YES in step S383), it outputs a stop command to the camera movement motor driver 212 ( Step S384), the movement of the left camera 210L and the right camera 210R is stopped. Then, an imaging command is output to the left camera 210L and the right camera 210R (step S385), and an area including the second register mark RM2 R1 on the printed material 4B set in the table 3 is imaged by the left camera 210L. An area including the second register mark RM2 R1 on the printed material 4B is captured by the right camera 210R.

そして、CPU201は、左カメラ210Lに撮像データの送信指令を送り(図46:ステップS386)、この送信指令に応じて左カメラ210Lから撮像データが送られてくると(ステップS387のYES)、メモリM5中のカウント値Yを1とし(ステップS388)、メモリM6中のカウント値Xを1とし(ステップS389)、カウント値X,Yで特定される画素位置の左カメラ210Lからの撮像データをメモリM7の(X,Y)のアドレス位置に書き込む(ステップS390)。   Then, the CPU 201 sends an imaging data transmission command to the left camera 210L (FIG. 46: step S386). When imaging data is sent from the left camera 210L in response to this transmission command (YES in step S387), the memory The count value Y in M5 is set to 1 (step S388), the count value X in the memory M6 is set to 1 (step S389), and the imaging data from the left camera 210L at the pixel position specified by the count values X and Y is stored in the memory. Write to the address position of (X, Y) in M7 (step S390).

そして、CPU201は、メモリM6中のカウント値Xに1を加算し(ステップS391)、メモリM8中のカメラの左右方向の画素数aを読み込み(ステップS392)、ステップS393でカウント値Xがカメラの左右方向の画素数aを超えるまで、ステップS390〜S393の処理動作を繰り返す。   Then, the CPU 201 adds 1 to the count value X in the memory M6 (step S391), reads the number of pixels a in the left-right direction of the camera in the memory M8 (step S392), and the count value X is determined by the camera in step S393. The processing operations in steps S390 to S393 are repeated until the number of pixels a in the left-right direction is exceeded.

そして、カウント値Xがカメラの左右方向の画素数aを超えれば(ステップS393のYES)、メモリM5中のカウント値Yに1を加算し(ステップS394)、メモリM9中のカメラの天地方向の画素数bを読み込み(ステップS395)、ステップS396でカウント値Yがカメラの天地方向の画素数bを超えるまで、ステップS389〜S396の処理動作を繰り返す。   If the count value X exceeds the pixel number a in the left-right direction of the camera (YES in step S393), 1 is added to the count value Y in the memory M5 (step S394), and the camera in the memory M9 in the top-to-bottom direction. The number of pixels b is read (step S395), and the processing operations of steps S389 to S396 are repeated until the count value Y exceeds the number of pixels b in the vertical direction of the camera in step S396.

これにより、メモリM7中に、第1のマーク位置PM1における左カメラ210Lからのa×bの画素の撮像データが記憶されるものとなる。ここでは、図77(a)に示すように、被印刷物4Bの第2レジスタマークRM2L1を含む撮像データがa×bの画素の撮像データとしてメモリM7中に記憶される。なお、メモリM62には、図77(b)に示すように、第2レジスタマークRM2のe×fの画素データがパターンマッチング用のデータとして記憶されている。 Thereby, the imaging data of the a × b pixel from the left camera 210L at the first mark position PM1 is stored in the memory M7. Here, as shown in FIG. 77 (a), the imaging data including the second register mark RM2 L1 of the substrate 4B is stored in the memory M7 as an imaging data of the pixels of a × b. In the memory M62, as shown in FIG. 77B, e × f pixel data of the second register mark RM2 is stored as data for pattern matching.

次に、CPU201は、右カメラ210Rに撮像データの送信指令を送り(図47:ステップS397)、この送信指令に応じて右カメラ210Rから撮像データが送られてくると(ステップS398のYES)、メモリM5中のカウント値Yを1とし(ステップS399)、メモリM6中のカウント値Xを1とし(ステップS400)、カウント値X,Yで特定される画素位置の右カメラ210Rからの撮像データをメモリM11の(X,Y)のアドレス位置に書き込む(ステップS401)。   Next, the CPU 201 sends an imaging data transmission command to the right camera 210R (FIG. 47: Step S397). When imaging data is sent from the right camera 210R in response to this transmission command (YES in Step S398), The count value Y in the memory M5 is set to 1 (step S399), the count value X in the memory M6 is set to 1 (step S400), and the imaging data from the right camera 210R at the pixel position specified by the count values X and Y is obtained. Write to the address position (X, Y) in the memory M11 (step S401).

そして、CPU201は、メモリM6中のカウント値Xに1を加算し(ステップS402)、メモリM8中のカメラの左右方向の画素数aを読み込み(ステップS403)、ステップS404でカウント値Xがカメラの左右方向の画素数aを超えるまで、ステップS401〜S404の処理動作を繰り返す。   Then, the CPU 201 adds 1 to the count value X in the memory M6 (step S402), reads the number of pixels a in the left-right direction of the camera in the memory M8 (step S403), and the count value X is read from the camera in step S404. The processing operations in steps S401 to S404 are repeated until the number of pixels a in the left-right direction is exceeded.

そして、カウント値Xがカメラの左右方向の画素数aを超えれば(ステップS404のYES)、メモリM5中のカウント値Yに1を加算し(ステップS405)、メモリM9中のカメラの天地方向の画素数bを読み込み(ステップS406)、ステップS407でカウント値Yがカメラの天地方向の画素数bを超えるまで、ステップS400〜S407の処理動作を繰り返す。   If the count value X exceeds the number of pixels a in the left-right direction of the camera (YES in step S404), 1 is added to the count value Y in the memory M5 (step S405), and the vertical direction of the camera in the memory M9 is increased. The number of pixels b is read (step S406), and the processing operations of steps S400 to S407 are repeated until the count value Y exceeds the number of pixels b in the vertical direction of the camera in step S407.

これにより、メモリM11中に、第1のマーク位置PM1における右カメラ210Rからのa×bの画素の撮像データが記憶されるものとなる。ここでは、図78(a)に示すように、被印刷物4Bの第2レジスタマークRM2R1を含む撮像データがa×bの画素の撮像データとしてメモリM11中に記憶される。 Thereby, the imaging data of the a × b pixel from the right camera 210R at the first mark position PM1 is stored in the memory M11. Here, as shown in FIG. 78A, the imaging data including the second register mark RM2 R1 of the substrate 4B is stored in the memory M11 as imaging data of a × b pixels.

次に、CPU201は、メモリM1からカメラ移動用モータの回転速度Vcを読み込み(図48:ステップS408)、カメラ移動用モータドライバ212に逆転指令およびカメラ移動用モータの回転速度VcをD/A変換器215を介して出力する(ステップS409)。これにより、カメラ移動用モータ211が回転速度Vcで逆転し、図3において第1のマーク位置PM1に停止していた左カメラ210Lおよび右カメラ210Rが、テーブル3上を右方向へ同時に移動する。   Next, the CPU 201 reads the rotational speed Vc of the camera moving motor from the memory M1 (FIG. 48: step S408), and performs a D / A conversion on the reverse rotation command to the camera moving motor driver 212 and the rotational speed Vc of the camera moving motor. The data is output via the device 215 (step S409). As a result, the camera moving motor 211 reverses at the rotation speed Vc, and the left camera 210L and the right camera 210R that have stopped at the first mark position PM1 in FIG. 3 simultaneously move on the table 3 in the right direction.

CPU201は、この左カメラ210Lおよび右カメラ210Rの移動中、カメラ位置検出用カウンタ214のカウント値を読み込み(ステップS410)、このカメラ位置検出用カウンタ214のカウント値より左カメラ210Lおよび右カメラ210Rの現在位置PCMRを演算し(ステップS411)、メモリM10から第2のマーク位置PM2を読み込み(ステップS412)、左カメラ210Lおよび右カメラ210Rの現在位置PCMRが第2のマーク位置PM2に達したか否かを確認する(ステップS413)。 While the left camera 210L and the right camera 210R are moving, the CPU 201 reads the count value of the camera position detection counter 214 (step S410), and the left camera 210L and the right camera 210R are read based on the count value of the camera position detection counter 214. The current position PCM R is calculated (step S411), the second mark position PM2 is read from the memory M10 (step S412), and the current positions PCM R of the left camera 210L and the right camera 210R have reached the second mark position PM2. Whether or not (step S413).

CPU201は、左カメラ210Lおよび右カメラ210Rの現在位置PCMRが第2のマーク位置PM2に達したことを確認すると(ステップS413のYES)、左カメラ210Lおよび右カメラ210Rに撮像指令を出力し(ステップS414)、被印刷物4B上の第2レジスタマークRM2L2を含む領域を左カメラ210Lで撮像し、被印刷物4B上の第2レジスタマークRM2R2を含む領域を右カメラ210Rで撮像する。 When confirming that the current position PCM R of the left camera 210L and the right camera 210R has reached the second mark position PM2 (YES in step S413), the CPU 201 outputs an imaging command to the left camera 210L and the right camera 210R ( In step S414), an area including the second register mark RM2 L2 on the substrate 4B is imaged by the left camera 210L, and an area including the second register mark RM2 R2 on the substrate 4B is imaged by the right camera 210R.

そして、CPU201は、左カメラ210Lに撮像データの送信指令を送り(ステップS415)、この送信指令に応じて左カメラ210Lから撮像データが送られてくると(ステップS416のYES)、メモリM5中のカウント値Yを1とし(ステップS417)、メモリM6中のカウント値Xを1とし(図49:ステップS418)、カウント値X,Yで特定される画素位置の左カメラ210Lからの撮像データをメモリM12の(X,Y)のアドレス位置に書き込む(ステップS419)。   Then, the CPU 201 sends an imaging data transmission command to the left camera 210L (step S415). When imaging data is sent from the left camera 210L in response to this transmission command (YES in step S416), the CPU 201 stores the imaging data in the memory M5. The count value Y is set to 1 (step S417), the count value X in the memory M6 is set to 1 (FIG. 49: step S418), and the imaging data from the left camera 210L at the pixel position specified by the count values X and Y is stored in the memory. Write to the address position (X, Y) of M12 (step S419).

そして、CPU201は、メモリM6中のカウント値Xに1を加算し(ステップS420)、メモリM8中のカメラの左右方向の画素数aを読み込み(ステップS421)、ステップS422でカウント値Xがカメラの左右方向の画素数aを超えるまで、ステップS419〜S422の処理動作を繰り返す。   Then, the CPU 201 adds 1 to the count value X in the memory M6 (step S420), reads the number of pixels a in the left-right direction of the camera in the memory M8 (step S421), and the count value X is determined by the camera in step S422. The processing operations in steps S419 to S422 are repeated until the number of pixels a in the left-right direction is exceeded.

そして、カウント値Xがカメラの左右方向の画素数aを超えれば(ステップS422のYES)、メモリM5中のカウント値Yに1を加算し(ステップS423)、メモリM9中のカメラの天地方向の画素数bを読み込み(ステップS424)、ステップS425でカウント値Yがカメラの天地方向の画素数bを超えるまで、ステップS418〜S425の処理動作を繰り返す。   If the count value X exceeds the number of pixels a in the left-right direction of the camera (YES in step S422), 1 is added to the count value Y in the memory M5 (step S423), and the camera in the vertical direction of the camera in the memory M9. The number of pixels b is read (step S424), and the processing operations of steps S418 to S425 are repeated until the count value Y exceeds the number of pixels b in the vertical direction of the camera in step S425.

これにより、メモリM12中に、第2のマーク位置PM2における左カメラ210Lからのa×bの画素の撮像データが記憶されるものとなる。ここでは、図79(a)に示すように、被印刷物4Bの第2レジスタマークRM2L2を含む撮像データがa×bの画素の撮像データとしてメモリM12中に記憶される。 Thereby, the imaging data of the a × b pixel from the left camera 210L at the second mark position PM2 is stored in the memory M12. Here, as shown in FIG. 79A, the imaging data including the second register mark RM2 L2 of the substrate 4B is stored in the memory M12 as imaging data of a × b pixels.

次に、CPU201は、右カメラ210Rに撮像データの送信指令を送り(ステップS426)、この送信指令に応じて右カメラ210Rから撮像データが送られてくると(ステップS427のYES)、メモリM5中のカウント値Yを1とし(図50:ステップS428)、メモリM6中のカウント値Xを1とし(ステップS429)、カウント値X,Yで特定される画素位置の右カメラ210Rからの撮像データをメモリM13の(X,Y)のアドレス位置に書き込む(ステップS430)。   Next, the CPU 201 sends an imaging data transmission command to the right camera 210R (step S426). When imaging data is sent from the right camera 210R in response to the transmission command (YES in step S427), the CPU 201 stores the imaging data in the memory M5. 1 is set to 1 (FIG. 50: step S428), the count value X in the memory M6 is set to 1 (step S429), and the imaging data from the right camera 210R at the pixel position specified by the count values X and Y is obtained. Write to the address position (X, Y) in the memory M13 (step S430).

そして、CPU201は、メモリM6中のカウント値Xに1を加算し(ステップS431)、メモリM8中のカメラの左右方向の画素数aを読み込み(ステップS432)、ステップS433でカウント値Xがカメラの左右方向の画素数aを超えるまで、ステップS430〜S433の処理動作を繰り返す。   Then, the CPU 201 adds 1 to the count value X in the memory M6 (step S431), reads the number of pixels a in the left-right direction of the camera in the memory M8 (step S432), and the count value X is read from the camera in step S433. The processing operations in steps S430 to S433 are repeated until the pixel number a in the left-right direction is exceeded.

そして、カウント値Xがカメラの左右方向の画素数aを超えれば(ステップS433のYES)、メモリM5中のカウント値Yに1を加算し(ステップS434)、メモリM9中のカメラの天地方向の画素数bを読み込み(ステップS435)、ステップS436でカウント値Yがカメラの天地方向の画素数bを超えるまで、ステップS429〜S436の処理動作を繰り返す。   If the count value X exceeds the number of pixels a in the left-right direction of the camera (YES in step S433), 1 is added to the count value Y in the memory M5 (step S434), and the vertical direction of the camera in the memory M9 is increased. The number of pixels b is read (step S435), and the processing operations of steps S429 to S436 are repeated until the count value Y exceeds the number of pixels b in the vertical direction of the camera in step S436.

これにより、メモリM13中に、第2のマーク位置PM2における右カメラ210Rからのa×bの画素の撮像データが記憶されるものとなる。ここでは、図80(a)に示すように、被印刷物4Bの第2レジスタマークRM2R2を含む撮像データがa×bの画素の撮像データとしてメモリM13中に記憶される。 Thereby, the imaging data of the a × b pixel from the right camera 210R at the second mark position PM2 is stored in the memory M13. Here, as shown in FIG. 80A, the imaging data including the second register mark RM2 R2 of the substrate 4B is stored in the memory M13 as imaging data of a × b pixels.

そして、CPU201は、左カメラ210Lおよび右カメラ210Rの移動を続け、カメラの原点位置検出器216が左カメラ210Lおよび右カメラ210Rの原点位置(最初の位置)への復帰を検知すると(ステップS437のYES)、カメラ移動用モータドライバ212に停止指令を送り(ステップS438)、左カメラ210Lおよび右カメラ210Rの移動を停止させる。   Then, the CPU 201 continues to move the left camera 210L and the right camera 210R, and when the camera origin position detector 216 detects the return to the origin position (initial position) of the left camera 210L and the right camera 210R (step S437). YES), a stop command is sent to the camera movement motor driver 212 (step S438), and the movement of the left camera 210L and the right camera 210R is stopped.

〔パターンマッチングによる第2レジスタマークの位置の検出〕
次に、CPU201は、メモリM5中のカウント値Yを1とし(図51:ステップS439)、メモリM6中のカウント値Xを1とし(ステップS440)、メモリM14中のカウント値Nを1とし(ステップS441)、メモリM15中のカウント値Mを1とする(ステップS442)。
[Detection of second register mark position by pattern matching]
Next, the CPU 201 sets the count value Y in the memory M5 to 1 (FIG. 51: step S439), sets the count value X in the memory M6 to 1 (step S440), and sets the count value N in the memory M14 to 1 ( In step S441), the count value M in the memory M15 is set to 1 (step S442).

そして、メモリM7中の(X+M−1、Y+N−1)のアドレス位置の左カメラの画素データを読み込み(ステップS443)、メモリM62中の(M,N)のアドレス位置の第2レジスタマークの画素データを読み込み(ステップS444)、この読み込んだメモリM7中の(X+M−1、Y+N−1)のアドレス位置の左カメラの画素データとメモリM62中の(M,N)のアドレス位置の画素データとが一致しているか否かを確認する(ステップS445、図77(a),(b)参照)。   The pixel data of the left camera at the address position (X + M−1, Y + N−1) in the memory M7 is read (step S443), and the pixel of the second register mark at the address position (M, N) in the memory M62. The data is read (step S444). The pixel data of the left camera at the address position (X + M-1, Y + N-1) in the memory M7 and the pixel data at the address position (M, N) in the memory M62 are read. (See step S445, FIGS. 77 (a) and 77 (b)).

ここで、メモリM7中の(X+M−1、Y+N−1)のアドレス位置の左カメラの画素データとメモリM62中の(M,N)のアドレス位置の第2レジスタマークの画素データとが一致していなければ(ステップS445のNO)、その時の(X、Y)のアドレスから(X+e−1、Y+f−1)のアドレスまでの左のカメラ210Lの第1のマーク位置の撮像データのいずれかの画素データが第2レジスタマークの画素データと異なり、(X、Y)のアドレスから始まる範囲に第1のマーク位置PM1の左の第2レジスタマークRM2L1が無いことになるので、CPU201は、メモリM6中のカウント値Xに1を加算し(図52:ステップS446)、メモリM8中のカメラの左右方向の画素数aとメモリM63中の第2レジスタマークの左右方向の画素数eとを読み込み(ステップS447,S448)、ステップS449でカウント値Xが「a−e+1」を超えるまで、ステップS441〜S449の処理動作を繰り返す。 Here, the pixel data of the left camera at the address position (X + M−1, Y + N−1) in the memory M7 matches the pixel data of the second register mark at the address position (M, N) in the memory M62. If not (NO in step S445), one of the imaging data at the first mark position of the left camera 210L from the address (X, Y) to the address (X + e-1, Y + f-1) at that time Since the pixel data is different from the pixel data of the second register mark, there is no second register mark RM2 L1 on the left of the first mark position PM1 in the range starting from the address (X, Y). 1 is added to the count value X in M6 (FIG. 52: Step S446), the number of pixels a in the horizontal direction of the camera in the memory M8 and the second register mark in the memory M63. Reading a pixel number e in the horizontal direction (step S447, S448), in step S449 until the count value X exceeds "a-e + 1", and repeats the processing operation in steps S441~S449.

この処理動作中、カウント値Xが「a−e+1」を超えれば(ステップS449のYES)、左のカメラ210Lの第1のマーク位置の撮像データの左右方向の端を越えたことになるので、CPU201は、メモリM5中のカウント値Yに1を加算し(ステップS450)、メモリM9中のカメラの天地方向の画素数bとメモリM64中の第2レジスタマークの天地方向の画素数fとを読み込み(ステップS451,S452)、ステップS453でカウント値Yが「b−f+1」を超えるまで、ステップS440〜S453の処理動作を繰り返す。   If the count value X exceeds “a−e + 1” during this processing operation (YES in step S449), it means that the left and right ends of the imaging data at the first mark position of the left camera 210L have been exceeded. The CPU 201 adds 1 to the count value Y in the memory M5 (step S450), and calculates the number of pixels b in the vertical direction of the camera in the memory M9 and the number of pixels f in the vertical direction of the second register mark in the memory M64. Reading (steps S451 and S452), the processing operations of steps S440 to S453 are repeated until the count value Y exceeds “b−f + 1” in step S453.

この処理動作中、メモリM7中の(X+M−1、Y+N−1)のアドレス位置の左カメラの画素データとメモリM62中の(M,N)のアドレス位置の第2レジスタマークの画素データとが一致していることが確認されると(図51:ステップS445のYES)、CPU201は、メモリM15中のカウント値Mに1を加算し(図53:ステップS455)、メモリM63から第2レジスタマークの左右方向の画素数eを読み込み(ステップS456)、ステップS457でカウント値Mが第2レジスタマークの左右方向の画素数eを超えるまで、ステップS443〜S457の処理動作を繰り返す。   During this processing operation, the pixel data of the left camera at the address position (X + M−1, Y + N−1) in the memory M7 and the pixel data of the second register mark at the address position (M, N) in the memory M62 are obtained. When it is confirmed that they match (FIG. 51: YES in step S445), the CPU 201 adds 1 to the count value M in the memory M15 (FIG. 53: step S455), and the second register mark is read from the memory M63. The horizontal pixel number e is read (step S456), and the processing operations of steps S443 to S457 are repeated until the count value M exceeds the horizontal pixel number e of the second register mark in step S457.

カウント値Mが第2レジスタマークの左右方向の画素数eを超えると(ステップS457のYES)、CPU201は、メモリM14中のカウント値Nに1を加算し(ステップS458)、メモリM64から第2レジスタマークの天地方向の画素数fを読み込み(ステップS459)、ステップS460でカウント値Nが第2レジスタマークの天地方向の画素数fを超えるまで、ステップS442〜S460の処理動作を繰り返す。   When the count value M exceeds the pixel number e in the left-right direction of the second register mark (YES in step S457), the CPU 201 adds 1 to the count value N in the memory M14 (step S458), and the second value from the memory M64. The number of pixels f in the vertical direction of the register mark is read (step S459), and the processing operations of steps S442 to S460 are repeated until the count value N exceeds the number of pixels f in the vertical direction of the second register mark in step S460.

このようにして、CPU201は、メモリM7中のa×bの画素の撮像データ(左の第1のマーク位置の撮像データ)に対してメモリM62中のe×fの第2レジスタマークの画素データのパターンマッチングを行い、カウント値Nが第2レジスタマークの天地方向の画素数fを超えると(ステップS460のYES)、メモリM7中のa×bの画素の撮像データの(X、Y)のアドレスから(X+e−1、Y+f−1)のアドレスまでの範囲にメモリM62中のe×fの第2レジスタマークの画素データが含まれていたと判断する。すなわち、左カメラ210Lが撮像した第1のマーク位置PM1における画像の中に第2レジスタマークRM2(RM2L1)が含まれていたと判断する。 In this manner, the CPU 201 captures pixel data of the e × f second register mark in the memory M62 with respect to the imaging data of the a × b pixel in the memory M7 (imaging data at the left first mark position). When the count value N exceeds the number of pixels f in the vertical direction of the second register mark (YES in step S460), (X, Y) of the imaging data of the a × b pixel in the memory M7 It is determined that the pixel data of the second register mark of e × f in the memory M62 is included in the range from the address to the address of (X + e−1, Y + f−1). That is, it is determined that the second register mark RM2 (RM2 L1 ) is included in the image at the first mark position PM1 captured by the left camera 210L.

なお、ステップS453でカウント値Yが「b−f+1」を超えた場合には(ステップS453のYES)、左のカメラ210Lの第1のマーク位置の撮像データの天地方向の端を越えたことになり、CPU201は、左カメラ210Lが撮像した第1のマーク位置PM1における画像の中には第2レジスタマークRM2(RM2L1)が含まれていなかったと判断し、表示器205にエラー表示を行う(ステップS454)。 If the count value Y exceeds “b−f + 1” in step S453 (YES in step S453), it means that the top and bottom ends of the imaging data at the first mark position of the left camera 210L have been exceeded. Thus, the CPU 201 determines that the second register mark RM2 (RM2 L1 ) is not included in the image at the first mark position PM1 captured by the left camera 210L, and displays an error on the display unit 205 ( Step S454).

CPU201は、左カメラ210Lが撮像した第1のマーク位置PM1における画像の中に第2レジスタマークRM2L1が含まれていたと判断すると(ステップS460のYES)、その時のメモリM6中のカウント値Xを読み込み(ステップS461)、その読み込んだカウント値Xより第2レジスタマークRM2L1のX方向の測定位置M2x1Lを演算し、メモリM65中のX方向のアドレス位置に書き込む(ステップS462)。また、その時のメモリM5中のカウント値Yを読み込み(ステップS463)、その読み込んだカウント値Yより第2レジスタマークRM2L1のY方向の測定位置M2y1Lを演算し、メモリM65中のY方向のアドレス位置に書き込む(ステップS464、図77(c)参照)。 When the CPU 201 determines that the second register mark RM2 L1 is included in the image at the first mark position PM1 captured by the left camera 210L (YES in step S460), the CPU 201 calculates the count value X in the memory M6 at that time. Reading (step S461), the measurement position M2x1 L in the X direction of the second register mark RM2 L1 is calculated from the read count value X, and written in the address position in the X direction in the memory M65 (step S462). Further, the count value Y in the memory M5 at that time is read (step S463), the measurement position M2y1 L in the Y direction of the second register mark RM2 L1 is calculated from the read count value Y, and the Y direction in the memory M65 is calculated. Write to the address position (see step S464, FIG. 77 (c)).

尚、レジスタマークRM2L1のX方向の測定位置M2x1Lは、左カメラ210Lが設けられた左右方向位置とカウント値Xから求められ、Y方向の測定位置M2y1Lは、第1のマーク位置PM1とカウント値Yから求められる。 The X-direction measurement position M2x1 L of the register mark RM2 L1 is obtained from the left-right position where the left camera 210L is provided and the count value X, and the Y-direction measurement position M2y1 L is the first mark position PM1. It is obtained from the count value Y.

次に、CPU201は、メモリM5中のカウント値Yを1とし(図54:ステップS465)、メモリM6中のカウント値Xを1とし(ステップS466)、メモリM14中のカウント値Nを1とし(ステップS467)、メモリM15中のカウント値Mを1とする(ステップS468)。   Next, the CPU 201 sets the count value Y in the memory M5 to 1 (FIG. 54: step S465), sets the count value X in the memory M6 to 1 (step S466), and sets the count value N in the memory M14 to 1 ( In step S467, the count value M in the memory M15 is set to 1 (step S468).

そして、メモリM12中の(X+M−1、Y+N−1)のアドレス位置の左カメラの画素データを読み込み(ステップS469)、メモリM62中の(M,N)のアドレス位置の第2レジスタマークの画素データを読み込み(ステップS470)、この読み込んだメモリM12中の(X+M−1、Y+N−1)のアドレス位置の左カメラの画素データとメモリM62中の(M,N)のアドレス位置の画素データとが一致しているか否かを確認する(ステップS471、図79(a),(b)参照)。   The pixel data of the left camera at the address position (X + M−1, Y + N−1) in the memory M12 is read (step S469), and the pixel of the second register mark at the address position (M, N) in the memory M62. The data is read (step S470). The pixel data of the left camera at the address position (X + M-1, Y + N-1) in the memory M12 and the pixel data at the address position (M, N) in the memory M62 are read. Are confirmed (see step S471, FIGS. 79A and 79B).

ここで、メモリM12中の(X+M−1、Y+N−1)のアドレス位置の左カメラの画素データとメモリM62中の(M,N)のアドレス位置の第2レジスタマークの画素データとが一致していなければ(ステップS471のNO)、その時の(X、Y)のアドレスから(X+e−1、Y+f−1)のアドレスまでの左のカメラ210Lの第2のマーク位置の撮像データのいずれかの画素データが第2レジスタマークの画素データと異なり、(X、Y)のアドレスから始まる範囲に第2のマーク位置PM2の左の第2レジスタマークRM2L2が無いことになるので、CPU201は、メモリM6中のカウント値Xに1を加算し(図55:ステップS472)、メモリM8中のカメラの左右方向の画素数aとメモリM63中の第2レジスタマークの左右方向の画素数eとを読み込み(ステップS473,S474)、ステップS475でカウント値Xが「a−e+1」を超えるまで、ステップS467〜S475の処理動作を繰り返す。 Here, the pixel data of the left camera at the address position (X + M−1, Y + N−1) in the memory M12 matches the pixel data of the second register mark at the address position (M, N) in the memory M62. If not (NO in step S471), any one of the imaging data at the second mark position of the left camera 210L from the address (X, Y) to the address (X + e-1, Y + f-1) at that time Since the pixel data is different from the pixel data of the second register mark, there is no second register mark RM2 L2 on the left of the second mark position PM2 in the range starting from the address (X, Y). 1 is added to the count value X in M6 (FIG. 55: step S472), the number of pixels a in the left-right direction of the camera in the memory M8 and the second register mark in the memory M63. It reads the number e of the right and left direction pixel (step S473, S474), in step S475 until the count value X exceeds "a-e + 1", and repeats the processing operation in steps S467~S475.

この処理動作中、カウント値Xが「a−e+1」を超えれば(ステップS475のYES)、左のカメラ210Lの第2のマーク位置の撮像データの左右方向の端を越えたことになるので、CPU201は、メモリM5中のカウント値Yに1を加算し(ステップS476)、メモリM9中のカメラの天地方向の画素数bとメモリM64中の第2レジスタマークの天地方向の画素数fとを読み込み(ステップS477,S478)、ステップS479でカウント値Yが「b−f+1」を超えるまで、ステップS466〜S479の処理動作を繰り返す。   If the count value X exceeds “a−e + 1” during this processing operation (YES in step S475), it means that the left and right ends of the imaging data at the second mark position of the left camera 210L have been exceeded. The CPU 201 adds 1 to the count value Y in the memory M5 (step S476), and calculates the number of pixels b in the vertical direction of the camera in the memory M9 and the number of pixels f in the vertical direction of the second register mark in the memory M64. Reading is performed (steps S477 and S478), and the processing operations of steps S466 to S479 are repeated until the count value Y exceeds “b−f + 1” in step S479.

この処理動作中、メモリM12中の(X+M−1、Y+N−1)のアドレス位置の左カメラの画素データとメモリM62中の(M,N)のアドレス位置の第2レジスタマークの画素データとが一致していることが確認されると(図54:ステップS471のYES)、CPU201は、メモリM15中のカウント値Mに1を加算し(図56:ステップS481)、メモリM63から第2レジスタマークの左右方向の画素数eを読み込み(ステップS482)、ステップS483でカウント値Mが第2レジスタマークの左右方向の画素数eを超えるまで、ステップS469〜S483の処理動作を繰り返す。   During this processing operation, the pixel data of the left camera at the (X + M−1, Y + N−1) address position in the memory M12 and the pixel data of the second register mark at the (M, N) address position in the memory M62 are obtained. When it is confirmed that they match (FIG. 54: YES in step S471), the CPU 201 adds 1 to the count value M in the memory M15 (FIG. 56: step S481), and the second register mark is read from the memory M63. The horizontal pixel number e is read (step S482), and the processing operations of steps S469 to S483 are repeated until the count value M exceeds the horizontal pixel number e of the second register mark in step S483.

カウント値Mが第2レジスタマークの左右方向の画素数eを超えると(ステップS483のYES)、CPU201は、メモリM14中のカウント値Nに1を加算し(ステップS484)、メモリM64から第2レジスタマークの天地方向の画素数fを読み込み(ステップS485)、ステップS486でカウント値Nが第2レジスタマークの天地方向の画素数fを超えるまで、ステップS468〜S486の処理動作を繰り返す。   When the count value M exceeds the number e of pixels in the left-right direction of the second register mark (YES in step S483), the CPU 201 adds 1 to the count value N in the memory M14 (step S484), and the second value from the memory M64. The number of pixels f in the vertical direction of the register mark is read (step S485), and the processing operations of steps S468 to S486 are repeated until the count value N exceeds the number of pixels f in the vertical direction of the second register mark in step S486.

このようにして、CPU201は、メモリM12中のa×bの画素の撮像データ(左の第2のマーク位置の撮像データ)に対してメモリM62中のe×fの第2レジスタマークの画素データのパターンマッチングを行い、カウント値Nが第2レジスタマークの天地方向の画素数fを超えると(ステップS486のYES)、メモリM12中のa×bの画素の撮像データの(X、Y)のアドレスから(X+e−1、Y+f−1)のアドレスまでの範囲にメモリM62中のe×fの第2レジスタマークの画素データが含まれていたと判断する。すなわち、左カメラ210Lが撮像した第2のマーク位置PM2における画像の中に第2レジスタマークRM2(RM2L2)が含まれていたと判断する。 In this way, the CPU 201 captures pixel data of the e × f second register mark in the memory M62 with respect to the imaging data of the a × b pixel in the memory M12 (imaging data at the left second mark position). When the count value N exceeds the number of pixels f in the vertical direction of the second register mark (YES in step S486), (X, Y) of the imaging data of the a × b pixel in the memory M12 is obtained. It is determined that the pixel data of the second register mark of e × f in the memory M62 is included in the range from the address to the address of (X + e−1, Y + f−1). That is, it is determined that the second register mark RM2 (RM2 L2 ) is included in the image at the second mark position PM2 captured by the left camera 210L.

なお、ステップS479でカウント値Yが「b−f+1」を超えた場合には(ステップS479のYES)、左のカメラ210Lの第2のマーク位置の撮像データの天地方向の端を越えたことになり、CPU201は、左カメラ210Lが撮像した第2のマーク位置PM2における画像の中には第2レジスタマークRM2(RM2L2)が含まれていなかったと判断し、表示器205にエラー表示を行う(ステップS480)。 If the count value Y exceeds “b−f + 1” in step S479 (YES in step S479), it means that the top and bottom ends of the imaging data at the second mark position of the left camera 210L have been exceeded. Thus, the CPU 201 determines that the second register mark RM2 (RM2 L2 ) is not included in the image at the second mark position PM2 captured by the left camera 210L, and displays an error on the display unit 205 ( Step S480).

CPU201は、左カメラ210Lが撮像した第2のマーク位置PM2における画像の中に第2レジスタマークRM2L2が含まれていたと判断すると(ステップS486のYES)、その時のメモリM6中のカウント値Xを読み込み(ステップS487)、その読み込んだカウント値Xより第2レジスタマークRM2L2のX方向の測定位置M2x2Lを演算し、メモリM66中のX方向のアドレス位置に書き込む(ステップS488)。また、その時のメモリM5中のカウント値Yを読み込み(ステップS489)、その読み込んだカウント値Yより第2レジスタマークRM2L2のY方向の測定位置M2y2Lを演算し、メモリM66中のY方向のアドレス位置に書き込む(ステップS490、図79(c)参照)。 When the CPU 201 determines that the second register mark RM2 L2 is included in the image at the second mark position PM2 captured by the left camera 210L (YES in step S486), the CPU 201 obtains the count value X in the memory M6 at that time. Reading (step S487), the measurement position M2x2 L in the X direction of the second register mark RM2 L2 is calculated from the read count value X, and written to the address position in the X direction in the memory M66 (step S488). Further, reads the count value Y in the memory M5 at that time (step S489), calculates the measurement position M2y2 L of the read from the count value Y of the second register mark RM2 L2 Y-direction, in the memory M66 in the Y direction Write to the address position (step S490, see FIG. 79 (c)).

尚、レジスタマークRM2L2のX方向の測定位置M2x2Lは、左カメラ210Lが設けられた左右方向位置とカウント値Xから求められ、Y方向の測定位置M2y2Lは、第2のマーク位置PM2とカウント値Yから求められる。 The measurement position M2x2 L in the X direction of the register mark RM2 L2 is obtained from the horizontal position where the left camera 210L is provided and the count value X, and the measurement position M2y2 L in the Y direction is the second mark position PM2. It is obtained from the count value Y.

そして、CPU201は、メモリM65のY方向のアドレス位置より第1のマーク位置PM1における第2レジスタマークRM2L1のY方向の測定位置M2y1Lを読み込み(図57:ステップS491)、またメモリM67から第1のマーク位置PM1における第2レジスタマークRM2のY方向の基準位置M2y1rを読み込み(ステップS492)、第1のマーク位置PM1における第2レジスタマークRM2L1のY方向の測定位置M2y1Lから第1のマーク位置PM1における第2レジスタマークRM2のY方向の基準位置M2y1rを減算し、第1のマーク位置PM1における第2レジスタマークRM2L1のY方向のずれ量ΔM2y1Lを求め(図77(c)参照)、この求めた第2レジスタマークRM2L1のY方向のずれ量ΔM2y1LをメモリM68に書き込む(ステップS493)。 Then, CPU 201 reads the second register mark RM2 measurement position L1 in the Y-direction M2y1 L in the Y-direction address location than the first mark position PM1 in the memory M65 (Fig. 57: step S491) first from The memory M67 reads the Y direction of the reference position M2y1r of the second register mark RM2 at the first mark position PM1 (step S492), the second register mark RM2 L1 in the Y-direction measurement position M2y1 L at the first mark position PM1 first the reference position M2y1r the Y direction of the second register mark RM2 and subtraction in mark position PM1, first determine the shift amount Derutaemu2y1 L in the Y direction of the second register mark RM2 L1 at the mark position PM1 (FIG 77 (c) see ), The amount of deviation ΔM2 in the Y direction of the obtained second register mark RM2 L1 y1 L is written into the memory M68 (step S493).

また、CPU201は、メモリM65のY方向のアドレス位置より第1のマーク位置PM1における第2レジスタマークRM2L1のY方向の測定位置M2y1Lを読み込み(ステップS494)、メモリM66のY方向のアドレス位置より第2のマーク位置PM2における第2レジスタマークRM2L2のY方向の測定位置M2y2Lを読み込み(ステップS495)、第1のマーク位置PM1における第2レジスタマークRM2L1のY方向の測定位置M2y1Lより第2のマーク位置PM2における第2レジスタマークRM2L2のY方向の測定位置M2y2Lを減算して左の第2レジスタマーク間の距離LM2Lを求め(図81(a)参照)、この求めた左の第2レジスタマーク間の距離LM2LをメモリM69に書き込む(ステップS496)。 Further, CPU 201 reads the second register mark RM2 L1 in the Y-direction measurement position M2y1 L at the first mark position PM1 than Y-direction address position of the memory M65 (step S494), the Y-direction address position of the memory M66 Then, the measurement position M2y2 L in the Y direction of the second register mark RM2 L2 at the second mark position PM2 is read (step S495), and the measurement position M2y1 L in the Y direction of the second register mark RM2 L1 at the first mark position PM1. than in the second register mark RM2 L2 in the Y-direction measurement position M2y2 L in the second mark position PM2 subtracting seek distance LM2 L between the second register mark on the left (see FIG. 81 (a)), the calculated and writes the distance LM2 L between the second register mark on the left in the memory M69 (step S496)

次に、CPU201は、メモリM5中のカウント値Yを1とし(図58:ステップS497)、メモリM6中のカウント値Xを1とし(ステップS498)、メモリM14中のカウント値Nを1とし(ステップS499)、メモリM15中のカウント値Mを1とする(ステップS500)。   Next, the CPU 201 sets the count value Y in the memory M5 to 1 (FIG. 58: step S497), sets the count value X in the memory M6 to 1 (step S498), and sets the count value N in the memory M14 to 1 ( In step S499, the count value M in the memory M15 is set to 1 (step S500).

そして、メモリM11中の(X+M−1、Y+N−1)のアドレス位置の右カメラの画素データを読み込み(ステップS501)、メモリM62中の(M,N)のアドレス位置の第2レジスタマークの画素データを読み込み(ステップS502)、この読み込んだメモリM11中の(X+M−1、Y+N−1)のアドレス位置の右カメラの画素データとメモリM62中の(M,N)のアドレス位置の画素データとが一致しているか否かを確認する(ステップS503、図78(a),(b)参照)。   Then, the pixel data of the right camera at the address position (X + M−1, Y + N−1) in the memory M11 is read (step S501), and the pixel of the second register mark at the address position (M, N) in the memory M62. Data is read (step S502). The pixel data of the right camera at the address position (X + M-1, Y + N-1) in the memory M11 and the pixel data at the address position (M, N) in the memory M62 are read. Is confirmed (see step S503, FIGS. 78 (a) and 78 (b)).

ここで、メモリM11中の(X+M−1、Y+N−1)のアドレス位置の右カメラの画素データとメモリM62中の(M,N)のアドレス位置の第2レジスタマークの画素データとが一致していなければ(ステップS503のNO)、その時の(X、Y)のアドレスから(X+e−1、Y+f−1)のアドレスまでの右のカメラ210Rの第1のマーク位置の撮像データのいずれかの画素データが第2レジスタマークの画素データと異なり、(X、Y)のアドレスから始まる範囲に第1のマーク位置PM1の右の第1レジスタマークRM2R1が無いことになるので、CPU201は、メモリM6中のカウント値Xに1を加算し(図59:ステップS504)、メモリM8中のカメラの左右方向の画素数aとメモリM63中の第2レジスタマークの左右方向の画素数eとを読み込み(ステップS505,S506)、ステップS507でカウント値Xが「a−e+1」を超えるまで、ステップS499〜S507の処理動作を繰り返す。 Here, the pixel data of the right camera at the address position (X + M−1, Y + N−1) in the memory M11 coincides with the pixel data of the second register mark at the address position (M, N) in the memory M62. If not (NO in step S503), one of the imaging data at the first mark position of the right camera 210R from the address (X, Y) at that time to the address (X + e-1, Y + f-1) Since the pixel data is different from the pixel data of the second register mark, the first register mark RM2 R1 to the right of the first mark position PM1 does not exist in the range starting from the (X, Y) address. 1 is added to the count value X in M6 (FIG. 59: step S504), the number of pixels a in the horizontal direction of the camera in the memory M8 and the second register mark in the memory M63. Lateral direction of reading the pixel number e of (step S505, S506), in step S507 until the count value X exceeds "a-e + 1", and repeats the processing operation in steps S499~S507.

この処理動作中、カウント値Xが「a−e+1」を超えれば(ステップS507のYES)、右のカメラ210Rの第1のマーク位置の撮像データの左右方向の端を越えたことになるので、PU201は、メモリM5中のカウント値Yに1を加算し(ステップS508)、メモリM9中のカメラの天地方向の画素数bとメモリM64中の第2レジスタマークの天地方向の画素数fとを読み込み(ステップS509,S510)、ステップS511でカウント値Yが「b−f+1」を超えるまで、ステップS498〜S511の処理動作を繰り返す。   If the count value X exceeds “a−e + 1” during this processing operation (YES in step S507), it means that the left and right ends of the imaging data at the first mark position of the right camera 210R are exceeded. The PU 201 adds 1 to the count value Y in the memory M5 (step S508), and calculates the number of pixels b in the vertical direction of the camera in the memory M9 and the number of pixels f in the vertical direction of the second register mark in the memory M64. Reading (steps S509 and S510), the processing operations of steps S498 to S511 are repeated until the count value Y exceeds “b−f + 1” in step S511.

この処理動作中、メモリM11中の(X+M−1、Y+N−1)のアドレス位置の右カメラの画素データとメモリM62中の(M,N)のアドレス位置の第2レジスタマークの画素データとが一致していることが確認されると(図58:ステップS503のYES)、CPU201は、メモリM15中のカウント値Mに1を加算し(図60:ステップS513)、メモリM63から第2レジスタマークの左右方向の画素数eを読み込み(ステップS514)、ステップS515でカウント値Mが第2レジスタマークの左右方向の画素数eを超えるまで、ステップS501〜S515の処理動作を繰り返す。   During this processing operation, the pixel data of the right camera at the address position (X + M−1, Y + N−1) in the memory M11 and the pixel data of the second register mark at the address position (M, N) in the memory M62 are obtained. When it is confirmed that they match (FIG. 58: YES in step S503), the CPU 201 adds 1 to the count value M in the memory M15 (FIG. 60: step S513), and the second register mark is read from the memory M63. The horizontal pixel number e is read (step S514), and the processing operations of steps S501 to S515 are repeated until the count value M exceeds the horizontal pixel number e of the second register mark in step S515.

カウント値Mが第2レジスタマークの左右方向の画素数eを超えると(ステップS515のYES)、CPU201は、メモリM14中のカウント値Nに1を加算し(ステップS516)、メモリM64から第2レジスタマークの天地方向の画素数fを読み込み(ステップS517)、ステップS518でカウント値Nが第2レジスタマークの天地方向の画素数fを超えるまで、ステップS500〜S518の処理動作を繰り返す。   When the count value M exceeds the left-right pixel number e of the second register mark (YES in step S515), the CPU 201 adds 1 to the count value N in the memory M14 (step S516), and the second value from the memory M64. The number of pixels f in the vertical direction of the register mark is read (step S517), and the processing operations of steps S500 to S518 are repeated until the count value N exceeds the number of pixels f in the vertical direction of the second register mark in step S518.

このようにして、CPU201は、メモリM11中のa×bの画素の撮像データ(右の第1のマーク位置の撮像データ)に対してメモリM62中のe×fの第2レジスタマークの画素データのパターンマッチングを行い、カウント値Nが第2レジスタマークの天地方向の画素数fを超えると(ステップS518のYES)、メモリM11中のa×bの画素の撮像データの(X、Y)のアドレスから(X+e−1、Y+f−1)のアドレスまでの範囲にメモリM62中のe×fの第2レジスタマークの画素データが含まれていたと判断する。すなわち、右カメラ210Rが撮像した第1のマーク位置PM1における画像の中に第2レジスタマークRM2(RM2R1)が含まれていたと判断する。 In this manner, the CPU 201 captures pixel data of the e × f second register mark in the memory M62 with respect to the imaging data of the a × b pixel in the memory M11 (imaging data at the first mark position on the right). When the count value N exceeds the number of pixels f in the vertical direction of the second register mark (YES in step S518), (X, Y) of the imaging data of the a × b pixel in the memory M11 It is determined that the pixel data of the second register mark of e × f in the memory M62 is included in the range from the address to the address of (X + e−1, Y + f−1). That is, it is determined that the second register mark RM2 (RM2 R1 ) is included in the image at the first mark position PM1 captured by the right camera 210R.

なお、ステップS511でカウント値Yが「b−f+1」を超えた場合には(ステップS511のYES)、右のカメラ210Rの第1のマーク位置の撮像データの天地方向の端を越えたことになり、CPU201は、右カメラ210Rが撮像した第1のマーク位置PM1における画像の中には第2レジスタマークRM2(RM2R1)が含まれていなかったと判断し、表示器205にエラー表示を行う(ステップS512)。 If the count value Y exceeds “b−f + 1” in step S511 (YES in step S511), it means that the top and bottom ends of the imaging data at the first mark position of the right camera 210R are exceeded. Thus, the CPU 201 determines that the second register mark RM2 (RM2 R1 ) is not included in the image at the first mark position PM1 captured by the right camera 210R, and displays an error on the display unit 205 ( Step S512).

CPU201は、右カメラ210Rが撮像した第1のマーク位置PM1における画像の中に第2レジスタマークRM2R1が含まれていたと判断すると(ステップS518のYES)、その時のメモリM6中のカウント値Xを読み込み(ステップS519)、その読み込んだカウント値Xより第2レジスタマークRM2R1のX方向の測定位置M2x1Rを演算し、メモリM70中のX方向のアドレス位置に書き込む(ステップS520)。また、その時のメモリM5中のカウント値Yを読み込み(ステップS521)、その読み込んだカウント値Yより第2レジスタマークRM2R1のY方向の測定位置M2y1Rを演算し、メモリM70中のY方向のアドレス位置に書き込む(ステップS522、図78(c)参照)。 When the CPU 201 determines that the second register mark RM2 R1 is included in the image at the first mark position PM1 captured by the right camera 210R (YES in step S518), the count value X in the memory M6 at that time is determined. Reading (step S519), the measurement position M2x1 R in the X direction of the second register mark RM2 R1 is calculated from the read count value X, and written in the address position in the X direction in the memory M70 (step S520). Further, the count value Y in the memory M5 at that time is read (step S521), the measurement position M2y1 R in the Y direction of the second register mark RM2 R1 is calculated from the read count value Y, and the Y direction in the memory M70 is calculated. The address is written (see step S522, FIG. 78 (c)).

尚、レジスタマークRM2R1のX方向の測定位置M2x1Rは、右カメラ210Rが設けられた左右方向位置とカウント値Xから求められ、Y方向の測定位置M2y1Rは、第1のマーク位置PM1とカウント値Yから求められる。 Note that the measurement position M2x1 R in the X direction of the register mark RM2 R1 is obtained from the horizontal position where the right camera 210R is provided and the count value X, and the measurement position M2y1 R in the Y direction is the first mark position PM1. It is obtained from the count value Y.

次に、CPU201は、メモリM5中のカウント値Yを1とし(図61:ステップS523)、メモリM6中のカウント値Xを1とし(ステップS524)、メモリM14中のカウント値Nを1とし(ステップS525)、メモリM15中のカウント値Mを1とする(ステップS526)。   Next, the CPU 201 sets the count value Y in the memory M5 to 1 (FIG. 61: step S523), sets the count value X in the memory M6 to 1 (step S524), and sets the count value N in the memory M14 to 1 ( In step S525), the count value M in the memory M15 is set to 1 (step S526).

そして、メモリM13中の(X+M−1、Y+N−1)のアドレス位置の右カメラの画素データを読み込み(ステップS527)、メモリM62中の(M,N)のアドレス位置の第2レジスタマークの画素データを読み込み(ステップS528)、この読み込んだメモリM13中の(X+M−1、Y+N−1)のアドレス位置の右カメラの画素データとメモリM62中の(M,N)のアドレス位置の画素データとが一致しているか否かを確認する(ステップS529,図80(a),(b)参照)。   Then, the pixel data of the right camera at the address position (X + M−1, Y + N−1) in the memory M13 is read (step S527), and the pixel of the second register mark at the address position (M, N) in the memory M62. Data is read (step S528), the pixel data of the right camera at the address position (X + M−1, Y + N−1) in the memory M13 and the pixel data at the address position (M, N) in the memory M62 are read. (See step S529, FIGS. 80A and 80B).

ここで、メモリM13中の(X+M−1、Y+N−1)のアドレス位置の右カメラの画素データとメモリM62中の(M,N)のアドレス位置の第2レジスタマークの画素データとが一致していなければ(ステップS529のNO)、その時の(X、Y)のアドレスから(X+e−1、Y+f−1)のアドレスまでの右のカメラ210Rの第2のマーク位置の撮像データのいずれかの画素データが第2レジスタマークの画素データと異なり、(X、Y)のアドレスから始まる範囲に第2のマーク位置PM2の右の第1レジスタマークRM2R2が無いことになるので、CPU201は、メモリM6中のカウント値Xに1を加算し(図62:ステップS530)、メモリM8中のカメラの左右方向の画素数aとメモリM63中の第2レジスタマークの左右方向の画素数eとを読み込み(ステップS531,S532)、ステップS533でカウント値Xが「a−e+1」を超えるまで、ステップS525〜S533の処理動作を繰り返す。 Here, the pixel data of the right camera at the address position (X + M−1, Y + N−1) in the memory M13 matches the pixel data of the second register mark at the address position (M, N) in the memory M62. If not (NO in step S529), one of the imaging data at the second mark position of the right camera 210R from the address (X, Y) at that time to the address (X + e-1, Y + f-1) Since the pixel data is different from the pixel data of the second register mark, the first register mark RM2 R2 to the right of the second mark position PM2 does not exist in the range starting from the address (X, Y). 1 is added to the count value X in M6 (FIG. 62: step S530), the number of pixels a in the left-right direction of the camera in the memory M8 and the second register mark in the memory M63. It reads the number e of the right and left direction pixel (step S531, S532), in step S533 until the count value X exceeds "a-e + 1", and repeats the processing operation in steps S525~S533.

この処理動作中、カウント値Xが「a−e+1」を超えれば(ステップS533のYES)、右のカメラ210Rの第2のマーク位置の撮像データの左右方向の端を越えたことになるので、CPU201は、メモリM5中のカウント値Yに1を加算し(ステップS534)、メモリM9中のカメラの天地方向の画素数bとメモリM64中の第2レジスタマークの天地方向の画素数fとを読み込み(ステップS535,S536)、ステップS537でカウント値Yが「b−f+1」を超えるまで、ステップS524〜S537の処理動作を繰り返す。   During this processing operation, if the count value X exceeds “a−e + 1” (YES in step S533), this means that the left and right ends of the imaging data at the second mark position of the right camera 210R are exceeded. The CPU 201 adds 1 to the count value Y in the memory M5 (step S534), and calculates the vertical pixel count b of the camera in the memory M9 and the vertical pixel count f of the second register mark in the memory M64. Reading (steps S535 and S536), and the processing operation of steps S524 to S537 is repeated until the count value Y exceeds “b−f + 1” in step S537.

この処理動作中、メモリM13中の(X+M−1、Y+N−1)のアドレス位置の右カメラの画素データとメモリM62中の(M,N)のアドレス位置の第2レジスタマークの画素データとが一致していることが確認されると(図61:ステップS529のYES)、CPU201は、メモリM15中のカウント値Mに1を加算し(図63:ステップS539)、メモリM63から第2レジスタマークの左右方向の画素数eを読み込み(ステップS540)、ステップS541でカウント値Mが第2レジスタマークの左右方向の画素数eを超えるまで、ステップS527〜S541の処理動作を繰り返す。   During this processing operation, the pixel data of the right camera at the address position (X + M−1, Y + N−1) in the memory M13 and the pixel data of the second register mark at the address position (M, N) in the memory M62 are obtained. When it is confirmed that they match (FIG. 61: YES in step S529), the CPU 201 adds 1 to the count value M in the memory M15 (FIG. 63: step S539), and the second register mark is read from the memory M63. The left-right pixel number e is read (step S540), and the processing operations in steps S527 to S541 are repeated until the count value M exceeds the left-right pixel number e of the second register mark in step S541.

カウント値Mが第2レジスタマークの左右方向の画素数eを超えると(ステップS541のYES)、CPU201は、メモリM14中のカウント値Nに1を加算し(ステップS542)、メモリM64から第2レジスタマークの天地方向の画素数fを読み込み(ステップS543)、ステップS544でカウント値Nが第2レジスタマークの天地方向の画素数fを超えるまで、ステップS526〜S544の処理動作を繰り返す。   When the count value M exceeds the left-right pixel number e of the second register mark (YES in step S541), the CPU 201 adds 1 to the count value N in the memory M14 (step S542), and the second value from the memory M64. The number of pixels f in the vertical direction of the register mark is read (step S543), and the processing operations of steps S526 to S544 are repeated until the count value N exceeds the number of pixels f in the vertical direction of the second register mark in step S544.

このようにして、CPU201は、メモリM13中のa×bの画素の撮像データ(右の第2のマーク位置の撮像データ)に対してメモリM62中のe×fの第2レジスタマークの画素データのパターンマッチングを行い、カウント値Nが第2レジスタマークの天地方向の画素数fを超えると(ステップS544のYES)、メモリM13中のa×bの画素の撮像データの(X、Y)のアドレスから(X+e−1、Y+f−1)のアドレスまでの範囲にメモリM62中のe×fの第2レジスタマークの画素データが含まれていたと判断する。すなわち、右カメラ210Rが撮像した第2のマーク位置PM2における画像の中に第2レジスタマークRM2(RM2R2)が含まれていたと判断する。 In this way, the CPU 201 captures pixel data of the e × f second register mark in the memory M62 with respect to imaging data of the a × b pixel in the memory M13 (imaging data at the right second mark position). When the count value N exceeds the number of pixels f in the vertical direction of the second register mark (YES in step S544), (X, Y) of the imaging data of the a × b pixel in the memory M13 It is determined that the pixel data of the second register mark of e × f in the memory M62 is included in the range from the address to the address of (X + e−1, Y + f−1). That is, it is determined that the second register mark RM2 (RM2 R2 ) is included in the image at the second mark position PM2 captured by the right camera 210R.

なお、ステップS537でカウント値Yが「b−f+1」を超えた場合には(ステップS537のYES)、右のカメラ210Rの第2のマーク位置の撮像データの天地方向の端を越えたことになり、CPU201は、右カメラ210Rが撮像した第2のマーク位置PM2における画像の中には第2レジスタマークRM2(RM2R2)が含まれていなかったと判断し、表示器205にエラー表示を行う(ステップS538)。 If the count value Y exceeds “b−f + 1” in step S537 (YES in step S537), it means that the top and bottom ends of the imaging data at the second mark position of the right camera 210R have been exceeded. Thus, the CPU 201 determines that the second register mark RM2 (RM2 R2 ) is not included in the image at the second mark position PM2 captured by the right camera 210R, and displays an error on the display unit 205 ( Step S538).

CPU201は、右カメラ210Rが撮像した第2のマーク位置PM2における画像の中に第2レジスタマークRM2R2が含まれていたと判断すると(ステップS544のYES)、その時のメモリM6中のカウント値Xを読み込み(ステップS545)、その読み込んだカウント値Xより第2レジスタマークRM2R2のX方向の測定位置M2x2Rを演算し、メモリM71中のX方向のアドレス位置に書き込む(ステップS546)。また、その時のメモリM5中のカウント値Yを読み込み(ステップS547)、その読み込んだカウント値Yより第2レジスタマークRM2R2のY方向の測定位置M2y2Rを演算し、メモリM71中のY方向のアドレス位置に書き込む(ステップS548、図80(c)参照)。 When the CPU 201 determines that the second register mark RM2 R2 is included in the image at the second mark position PM2 captured by the right camera 210R (YES in step S544), the CPU 201 calculates the count value X in the memory M6 at that time. Reading (step S545), the measurement position M2x2 R in the X direction of the second register mark RM2 R2 is calculated from the read count value X, and written in the address position in the X direction in the memory M71 (step S546). Further, it reads the count value Y in the memory M5 at that time (step S547), calculates the read count value Y from the measurement position in the Y direction of the second register mark RM2 R2 M2y2 R, in the memory M71 in the Y direction Write to the address position (step S548, see FIG. 80C).

尚、レジスタマークRM2R2のX方向の測定位置M2x2Rは、右カメラ210Rが設けられた左右方向位置とカウント値Xから求められ、Y方向の測定位置M2y2Rは、第2のマーク位置PM2とカウント値Yから求められる。 The X-direction measurement position M2x2 R of the register mark RM2 R2 is obtained from the left-right direction position where the right camera 210R is provided and the count value X, and the Y-direction measurement position M2y2 R is the second mark position PM2. It is obtained from the count value Y.

そして、CPU201は、メモリM70のY方向のアドレス位置より第1のマーク位置PM1における第2レジスタマークRM2R1のY方向の測定位置M2y1Rを読み込み(図64:ステップS549)、またメモリM67から第1のマーク位置PM1における第2レジスタマークRM2のY方向の基準位置M2y1rを読み込み(ステップS550)、第1のマーク位置PM1における第2レジスタマークRM2R1のY方向の測定位置M2y1Rから第1のマーク位置PM1における第2レジスタマークRM2のY方向の基準位置M2y1rを減算し、第1のマーク位置PM1における第2レジスタマークRM2R1のY方向のずれ量ΔM2y1Rを求め(図78(c)参照)、この求めた第2レジスタマークRM2R1のY方向のずれ量ΔM2y1RをメモリM72に書き込む(ステップS551)。 Then, the CPU 201 reads the measurement position M2y1 R in the Y direction of the second register mark RM2 R1 at the first mark position PM1 from the address position in the Y direction of the memory M70 (FIG. 64: step S549), and also from the memory M67. It reads the reference position M2y1r the Y direction of the second register mark RM2 at the first mark position PM1 (step S550), the second register mark RM2 measurement position R1 in the Y-direction M2y1 R at the first mark position PM1 first A reference position M2y1r in the Y direction of the second register mark RM2 at the mark position PM1 is subtracted to obtain a deviation amount ΔM2y1 R in the Y direction of the second register mark RM2 R1 at the first mark position PM1 (see FIG. 78 (c)). ), The amount of deviation ΔM2 in the Y direction of the obtained second register mark RM2 R1 y1 R is written into the memory M72 (step S551).

〔第1のマーク位置における第2レジスタマークのY方向のずれ量の算出〕
そして、CPU201は、メモリM68より左の第1のマーク位置PM1における第2レジスタマークRM2L1のY方向のずれ量ΔM2y1Lを読み込み(ステップS552)、この読み込んだ左の第1のマーク位置PM1における第2レジスタマークRM2L1のY方向のずれ量ΔM2y1LにメモリM72に書き込まれている右の第1のマーク位置PM1における第2レジスタマークRM2R1のY方向のずれ量ΔM2y1Rを加算し、この左の第1のマーク位置PM1における第2レジスタマークRM2L1のY方向のずれ量ΔM2y1Lと右の第1のマーク位置PM1における第2レジスタマークRM2R1のY方向のずれ量ΔM2y1Rとの合計値を2で除算して、左右の第1のマーク位置PM1における第2レジスタマークRM2の平均値ΔM2y1を求め(ΔM2y1=(ΔM2y1L+ΔM2y1R)/2)、この求めた左右の第1のマーク位置PM1における第2レジスタマークRM2の平均値ΔM2y1をメモリM73に書き込む(ステップS553)。
[Calculation of Y-direction deviation amount of second register mark at first mark position]
Then, the CPU 201 reads the amount of deviation ΔM2y1 L in the Y direction of the second register mark RM2 L1 at the first mark position PM1 on the left side of the memory M68 (step S552), and at the read left first mark position PM1. by adding the deviation amount Derutaemu2y1 R in the Y direction of the second register mark RM2 L1 in the Y direction deviation amount Derutaemu2y1 L second register mark in the first mark position PM1 of right written in the memory M72 to RM2 R1, this The sum of the amount of deviation ΔM2y1 L in the Y direction of the second register mark RM2 L1 at the left first mark position PM1 and the amount of deviation ΔM2y1 R in the Y direction of the second register mark RM2 R1 at the right first mark position PM1 By dividing the value by 2, the average value ΔM2 of the second register mark RM2 at the left and right first mark positions PM1 y1 is obtained (ΔM2y1 = (ΔM2y1 L + ΔM2y1 R ) / 2), and the obtained average value ΔM2y1 of the second register mark RM2 at the left and right first mark positions PM1 is written in the memory M73 (step S553).

そして、メモリM27から第1のマーク位置PM1の第1レジスタマークRM1のY方向のずれ量ΔY1(ΔM1y1)を読み込み(ステップS554)、第1のマーク位置PM1における第2レジスタマークRM2の平均値ΔM2y1より第1のマーク位置PM1の第1レジスタマークRM1のY方向のずれ量ΔY1(ΔM1y1)を減算し、第1のマーク位置の第2レジスタマークRM2のY方向のずれ量ΔY2(ΔY2=ΔM2y1−ΔM1y1)を求め、その求めた第1のマーク位置の第2レジスタマークRM2のY方向のずれ量ΔY2をメモリM74に書き込む(ステップS555、図81(a),(b),(c)参照)。   Then, the amount of deviation ΔY1 (ΔM1y1) in the Y direction of the first register mark RM1 at the first mark position PM1 is read from the memory M27 (step S554), and the average value ΔM2y1 of the second register mark RM2 at the first mark position PM1 is read. Accordingly, the amount of deviation ΔY1 (ΔM1y1) in the Y direction of the first register mark RM1 at the first mark position PM1 is subtracted, and the amount of deviation ΔY2 in the Y direction of the second register mark RM2 at the first mark position (ΔY2 = ΔM2y1−). ΔM1y1) is obtained, and the amount of deviation ΔY2 in the Y direction of the second register mark RM2 at the obtained first mark position is written in the memory M74 (see step S555, FIGS. 81A, 81B, 81C). .

〔第2レジスタマーク間の距離の算出〕
また、CPU201は、メモリM70のY方向のアドレス位置より第1のマーク位置PM1における第2レジスタマークRM2R1のY方向の測定位置M2y1Rを読み込み(図65:ステップS556)、メモリM71のY方向のアドレス位置より第2のマーク位置PM2における第2レジスタマークRM2R2のY方向の測定位置M2y2Rを読み込み(ステップS557)、第1のマーク位置PM1における第2レジスタマークRM2R1のY方向の測定位置M2y1Rより第2のマーク位置PM2における第2レジスタマークRM2R2のY方向の測定位置M2y2Rを減算して右の第2レジスタマーク間の距離LM2Rを求め(図81(b)参照)、この求めた右の第2レジスタマーク間の距離LM2RをメモリM75に書き込む(ステップS558)。
[Calculation of distance between second register marks]
Further, the CPU 201 reads the measurement position M2y1 R in the Y direction of the second register mark RM2 R1 at the first mark position PM1 from the address position in the Y direction of the memory M70 (FIG. 65: step S556), and the Y direction of the memory M71. reads the measuring position M2y2 R of the second register mark RM2 R2 Y direction from the address position in the second mark position PM2 (step S557), the measurement of the Y direction of the second register mark RM2 R1 at the first mark position PM1 position M2y1 by subtracting the Y-direction measurement position M2y2 R of the second register mark RM2 R2 from R at the second mark position PM2 seek distance LM2 R between the second register mark in the right (FIG. 81 (b) see) writes the distance LM2 R between the second register mark on the right that this determined in the memory M75 (step S 58).

そして、CPU201は、メモリM69から左の第2レジスタマーク間の距離LM2Lを読み込み(ステップS559)、この読み込んだ左の第2レジスタマーク間の距離LM2LにメモリM75に書き込まれている右の第2レジスタマーク間の距離LM2Rを加算すると共に、この左の第2レジスタマーク間の距離LM2Lと右の第2レジスタマーク間の距離LM2Rとの合計値を2で除算して、左右のレジスタマーク間の距離の平均値LM2を求め(LM2=(LM2L+LM2R)/2)、この求めた左右のレジスタマーク間の距離の平均値LM2を天地方向の1対の第2レジスタマーク間の距離としてメモリM76に書き込む(ステップS560、図81(a),(b),(d)参照)。 The CPU 201 reads the distance LM2 L between the left second register marks from the memory M69 (step S559), and writes the right LM2 L written in the memory M75 to the distance LM2 L between the read left second register marks. The distance LM2 R between the second register marks is added, and the total value of the distance LM2 L between the left second register marks and the distance LM2 R between the right second register marks is divided by 2, and left and right The average value LM2 of the distance between the register marks is calculated (LM2 = (LM2 L + LM2 R ) / 2), and the calculated average value LM2 between the left and right register marks is used as a pair of second register marks in the vertical direction. The distance is written in the memory M76 (see step S560, FIGS. 81 (a), (b), (d)).

〔第2レジスタマーク間の伸縮率の算出〕
そして、CPU201は、メモリM29から第1レジスタマーク間の距離(左右の第1レジスタマーク間の距離の平均値)LM1を読み込み(ステップS561)、メモリM76に書き込まれている第2レジスタマーク間の距離(左右の第2レジスタマーク間の距離の平均値)LM2を第1レジスタマーク間の距離LM1で除算し、その除算結果を天地方向に離れた1対の第2レジスタマーク間の伸縮率η2(η2=LM2/LM1)としてメモリM77に書き込む(ステップS562、図81(e)参照)。
[Calculation of expansion / contraction ratio between second register marks]
Then, the CPU 201 reads the distance between the first register marks (average value of the distance between the left and right first register marks) LM1 from the memory M29 (step S561), and between the second register marks written in the memory M76. The distance (average value of the distance between the left and right second register marks) LM2 is divided by the distance LM1 between the first register marks, and the division result is the expansion / contraction rate η2 between the pair of second register marks separated in the vertical direction. (Η2 = LM2 / LM1) is written in the memory M77 (see step S562, FIG. 81 (e)).

〔次の印刷〕
オペレータは、このようにして印刷終了後のティーチングを行った後、被印刷物4B(2度目の回路が印刷された被印刷物4)に替えて、次の被印刷物4A(1度目の回路が印刷されている被印刷物4)をテーブル3上にセットして(図1,図2参照)、印刷準備開始スイッチ207をオンとする(ステップS103(図13))。
[Next printing]
After performing the teaching after the completion of printing in this way, the operator replaces the printing material 4B (the printing material 4 on which the second circuit is printed) with the next printing material 4A (the first circuit is printed). The printed substrate 4) is set on the table 3 (see FIGS. 1 and 2), and the print preparation start switch 207 is turned on (step S103 (FIG. 13)).

すると、平台印刷制御装置200のCPU201は、この印刷準備開始スイッチ207のオンを確認して(図13:ステップS103のYES)、前述と同様にして、「レジスタマークの撮像」、「パターンマッチングによる第1レジスタマークの位置の検出」、「第1のマーク位置における第1レジスタマークのY方向のずれ量の算出」、「第1レジスタマーク間の距離の算出」、「第1レジスタマーク間の伸縮率の算出」を行い、テーブル3上にセットされている被印刷物4Aから第1のマーク位置PM1における第1レジスタマークRM1のY方向のずれ量ΔY1(ΔM1y1)を求めてメモリM27に書き込み、第1レジスタマーク間の伸縮率η1(η1=LM1/LM1r)を求めてメモリM31に書き込む。   Then, the CPU 201 of the flatbed printing control apparatus 200 confirms that the print preparation start switch 207 is turned on (FIG. 13: YES in step S103), and “register mark imaging” and “pattern matching” are performed in the same manner as described above. "Detection of the position of the first register mark", "Calculation of the shift amount of the first register mark in the Y direction at the first mark position", "Calculation of the distance between the first register marks", "Between the first register marks Calculating the expansion / contraction ratio ”, obtaining a displacement amount ΔY1 (ΔM1y1) in the Y direction of the first register mark RM1 at the first mark position PM1 from the printing material 4A set on the table 3, and writing it in the memory M27. The expansion / contraction ratio η1 (η1 = LM1 / LM1r) between the first register marks is obtained and written in the memory M31.

そして、この印刷の準備の終了後、印刷開始スイッチ208がオンとされると(図34:ステップS287のYES)、CPU201は、前述と同様にして、テーブル3上にセットされている次の被印刷物4Aに対して2度目の回路の印刷を行う。この2度目の回路の印刷に際して、CPU201は、メモリM27に書き込まれている今回の被印刷物4Aから求めた第1のマーク位置PM1における第1レジスタマークRM1のY方向のずれ量ΔY1だけではなく、前回の被印刷物4Bから求めた第1のマーク位置PM1における第2レジスタマークRM2のY方向のずれ量ΔY2を用いる。また、メモリM31に書き込まれている今回の被印刷物4Aから求めた第1レジスタマーク間の伸縮率η1だけではなく、前回の被印刷物4Bから求めた第2レジスタマーク間の伸縮率η2を用いる。   When the print start switch 208 is turned on after completion of the preparation for printing (FIG. 34: YES in step S287), the CPU 201 performs the next object set on the table 3 in the same manner as described above. A second circuit is printed on the printed material 4A. At the time of printing the circuit for the second time, the CPU 201 detects not only the amount of deviation ΔY1 in the Y direction of the first register mark RM1 at the first mark position PM1 obtained from the current printing material 4A written in the memory M27, The amount of deviation ΔY2 in the Y direction of the second register mark RM2 at the first mark position PM1 obtained from the previous substrate 4B is used. Further, not only the expansion / contraction rate η1 between the first register marks obtained from the current printing material 4A written in the memory M31 but also the expansion / contraction rate η2 between the second register marks obtained from the previous printing material 4B is used.

すなわち、ステップS291(図34)において、基準の印刷開始位置PRTSTに第1のマーク位置PM1における第1レジスタマークRM1のY方向のずれ量ΔY1および第1のマーク位置PM1における第2レジスタマークRM2のY方向のずれ量ΔY2を加算して補正された印刷開始位置PRTST’を求め、ステップS295(図34)において、印刷長さlに第1レジスタマーク間の伸縮率η1および第2レジスタマーク間の伸縮率η2を乗算し、補正された印刷長さl’(l’=l×η1×η2)を求める。また、ステップS301(図35)において、ゴム胴の基準回転速度VBrに第1レジスタマーク間の伸縮率η1の逆数および第2レジスタマーク間の伸縮率η2の逆数を乗算して印刷中のゴム胴の回転速度VBpを求め(VBp=VBr×1/η1×1/η2)、ステップS345(図41)において、ゴム胴の現在の天地方向位置PBMRに第1のマーク位置における第1レジスタマークのY方向のずれ量ΔY1および第1のマーク位置における第2レジスタマークのY方向のずれ量ΔY2を加算して、補正したゴム胴の現在の天地方向位置PBMR’を求める。 That is, in step S291 (FIG. 34), the amount of deviation ΔY1 in the Y direction of the first register mark RM1 at the first mark position PM1 and the second register mark RM2 at the first mark position PM1 at the reference print start position PRT ST . The Y-direction deviation amount ΔY2 is added to obtain a corrected print start position PRT ST ′. In step S295 (FIG. 34), the print length l is set to the expansion / contraction ratio η1 between the first register marks and the second register mark. The corrected printing length l ′ (l ′ = l × η1 × η2) is obtained by multiplying the expansion ratio η2 between them. In step S301 (FIG. 35), the rubber cylinder being printed by multiplying the reference rotation speed VBr of the rubber cylinder by the reciprocal number of the expansion ratio η1 between the first register marks and the reciprocal number of the expansion ratio η2 between the second register marks. Rotation speed VBp (VBp = VBr × 1 / η1 × 1 / η2), and in step S345 (FIG. 41), the current register position of the first register mark at the first mark position is set to the current vertical position PBM R of the rubber cylinder. By adding the amount of deviation ΔY1 in the Y direction and the amount of deviation ΔY2 in the Y direction of the second register mark at the first mark position, the corrected vertical position PBM R ′ of the rubber cylinder is obtained.

このようにして、本実施の形態では、前処理工程で1度目の回路の印刷が行われている被印刷物4Aへの2度目の回路の印刷が行われ、2度目の回路の印刷では、今回の被印刷物4Aの第1レジスタマークRM1のY方向のずれ量ΔY1と前回の被印刷物4Bの第2レジスタマークRM2のY方向のずれ量ΔY2とに応じて印刷開始位置が調整されるだけではなく、第1レジスタマークスRM1間の距離LM1より求められた今回の被印刷物4Aの印刷される前までの伸縮率η1と、第2レジスタマークスRM2間の距離LM2より求められた前回の被印刷物4Bの印刷された区間の伸縮率η2とに応じて、2度目の回路を印刷する際(2度目の回路の印刷時)のゴム胴2の回転速度が調整されるものとなり、1度目に印刷された回路と2度目に印刷された回路との位置が正確に合わせられるものとなる。   In this way, in the present embodiment, the second circuit is printed on the printed material 4A on which the first circuit is printed in the pre-processing step. The printing start position is not only adjusted in accordance with the amount of deviation ΔY1 in the Y direction of the first register mark RM1 of the printed material 4A and the amount of deviation ΔY2 in the Y direction of the second register mark RM2 of the previous printed material 4B. The expansion ratio η1 of the current printing material 4A obtained before printing from the distance LM1 between the first registration marks RM1 and the previous printing material 4B obtained from the distance LM2 between the second registration marks RM2. According to the expansion / contraction ratio η2 of the printed section, the rotational speed of the rubber cylinder 2 is adjusted when the second circuit is printed (when the second circuit is printed), and the first printing is performed. Circuit and second time It becomes the position of the printed circuit is precisely tailored.

なお、上述した実施の形態では、ゴム胴2を天地方向に移動させるようにしたが、被印刷物4Aがセットされているテーブル3を天地方向に移動させるようにしてもよい。   In the above-described embodiment, the rubber cylinder 2 is moved in the vertical direction. However, the table 3 on which the printing material 4A is set may be moved in the vertical direction.

また、上述した実施の形態では、前処理工程において、被印刷物4Aの左右に天地方向に離れた1対の第1レジスタマークRM1を印刷するようにしたが、図82(a)に示すように、被印刷物4Aの中央にも天地方向に離れた1対の第1レジスタマークRM1(RM1c1,RM1c2)を印刷するなどしてもよく、図82(b)に示すように、被印刷物4Aの中央にだけ天地方向に離れた1対の第1レジスタマークRM1(RM1c1,RM1c2)を印刷するようにしてもよい。被印刷物4Bに印刷する1対の第2レジスタマークRM2についても同様である。 In the above-described embodiment, the pair of first register marks RM1 separated in the vertical direction are printed on the left and right of the substrate 4A in the preprocessing step, but as shown in FIG. 82 (a). A pair of first register marks RM1 (RM1 c1 , RM1 c2 ) separated in the vertical direction may be printed at the center of the substrate 4A. As shown in FIG. 82B, the substrate 4A A pair of first register marks RM1 (RM1 c1 , RM1 c2 ) that are separated in the vertical direction only in the center may be printed. The same applies to the pair of second register marks RM2 printed on the substrate 4B.

被印刷物4Aの中央にだけ天地方向に離れた1対の第1レジスタマークRM1や第2レジスタマークRM2を印刷するようにすると、第1レジスタマークRM1および第2レジスタマークRM2を含む領域を撮像するカメラが1つで済み、平台印刷制御装置200での処理も簡略化される。   When a pair of first register mark RM1 and second register mark RM2 that are separated from each other only in the center of the substrate 4A is printed, an area including the first register mark RM1 and the second register mark RM2 is imaged. Only one camera is required, and the processing in the flatbed printing control apparatus 200 is simplified.

〔実施の形態の拡張〕
以上、実施の形態を参照して本発明を説明したが、本発明は上記の実施の形態に限定されるものではない。本発明の構成や詳細には、本発明の技術思想の範囲内で当業者が理解し得る様々な変更をすることができる。
[Extension of the embodiment]
The present invention has been described above with reference to the embodiment. However, the present invention is not limited to the above embodiment. Various changes that can be understood by those skilled in the art can be made to the configuration and details of the present invention within the scope of the technical idea of the present invention.

1…版胴、2…ゴム胴、3…平台(テーブル)、4(4A,4B)…被印刷物、100…印刷機(平台印刷機)、200…平台印刷制御装置、210(210L,210R)…カメラ、PM1…第1のマーク位置、PM2…第2のマーク位置、RM1(RM1L1,RM1L2,RM1R1,RM1R2)…第1レジスタマーク、RM2(RM2L1,RM2L2,RM2R1,RM2R2)…第2レジスタマーク。 DESCRIPTION OF SYMBOLS 1 ... Plate cylinder, 2 ... Rubber cylinder, 3 ... Flat bed (table), 4 (4A, 4B) ... Substrate, 100 ... Printing machine (flat bed printing machine), 200 ... Flat bed printing control apparatus, 210 (210L, 210R) ... camera, PM1 ... first mark position, PM2 ... second mark position, RM1 (RM1 L1, RM1 L2 , RM1 R1, RM1 R2) ... first register mark, RM2 (RM2 L1, RM2 L2 , RM2 R1, RM2 R2 ) ... second register mark.

Claims (2)

版胴からゴム胴にインキを転写し、このインキが転写されたゴム胴を回転させながら、前処理工程で処理された伸縮し易い基材からなるシート状の被印刷物に電子回路の印刷を行う電子回路の印刷方法において、
前記被印刷物への電子回路の印刷と同時にその被印刷物の天地方向に離れた位置に1対の第1の基準マークを付加する第1基準マーク付加工程と、
前記被印刷物の1対の第1の基準マークのうち一方の第1の基準マークを含む領域を撮像する第1の撮像工程と、
前記被印刷物の1対の第1の基準マークのうち他方の第1の基準マークを含む領域を撮像する第2の撮像工程と、
前記第1の撮像工程で撮像された前記被印刷物の画像から前記一方の第1の基準マークの位置を検出する第1の第1基準マーク位置検出工程と、
前記第2の撮像工程で撮像された前記被印刷物の画像から前記他方の第1の基準マークの位置を検出する第2の第1基準マーク位置検出工程と、
前記第1の第1基準マーク位置検出工程で検出された一方の第1の基準マークの位置および前記第2の第1基準マーク位置検出工程で検出された他方の第1の基準マークの位置より前記1対の第1の基準マーク間の距離を求める第1基準マーク間距離演算工程と、
前記前処理工程で、前記被印刷物の天地方向に離れた位置に1対の第2の基準マークを付加する第2基準マーク付加工程と、
前記被印刷物の1対の第2の基準マークのうち一方の第2の基準マークを含む領域を撮像する第3の撮像工程と、
前記被印刷物の1対の第2の基準マークのうち他方の第2の基準マークを含む領域を撮像する第4の撮像工程と、
前記第3の撮像工程で撮像された前記被印刷物の画像から前記一方の第2の基準マークの位置を検出する第1の第2基準マーク位置検出工程と、
前記第4の撮像工程で撮像された前記被印刷物の画像から前記他方の第2の基準マークの位置を検出する第2の第2基準マーク位置検出工程と、
前記第1の第2基準マーク位置検出工程で検出された一方の第2の基準マークの位置および前記第2の第2基準マーク位置検出工程で検出された他方の第2の基準マークの位置より前記1対の第2の基準マーク間の距離を求める第2基準マーク間距離演算工程と、
前記1対の第1の基準マークが付加された被印刷物を前回の被印刷物とし、前記前処理工程で1対の第2の基準マークが付加された被印刷物を今回の被印刷物とし、前記第1基準マーク間距離演算工程で求められた前回の被印刷物の1対の第1の基準マーク間の距離と前記第2基準マーク間距離演算工程で求められた今回の被印刷物の1対の第2の基準マーク間の距離とに応じて、今回の被印刷物への電子回路の印刷時のゴム胴の回転速度を調整する回転速度調整工程と
を備えることを特徴とする電子回路の印刷方法。
The ink is transferred from the plate cylinder to the rubber cylinder, and the electronic circuit is printed on the sheet-like printed material made of the base material that has been processed in the pretreatment process while rotating the rubber cylinder to which the ink has been transferred. In the electronic circuit printing method,
A first fiducial mark adding step of adding a pair of first fiducial marks to positions separated in the vertical direction of the printed material simultaneously with the printing of the electronic circuit on the printed material;
A first imaging step of imaging an area including one first reference mark of the pair of first reference marks of the substrate;
A second imaging step of imaging a region including the other first reference mark of the pair of first reference marks of the substrate;
A first first reference mark position detecting step of detecting a position of the one first reference mark from the image of the printing object imaged in the first imaging step;
A second first reference mark position detecting step for detecting the position of the other first reference mark from the image of the substrate imaged in the second imaging step;
From the position of one first reference mark detected in the first first reference mark position detection step and the position of the other first reference mark detected in the second first reference mark position detection step. A first inter-reference mark distance calculating step for obtaining a distance between the pair of first reference marks;
A second fiducial mark adding step of adding a pair of second fiducial marks at positions separated in the vertical direction of the substrate in the pretreatment step;
A third imaging step of imaging a region including one second reference mark of the pair of second reference marks of the substrate;
A fourth imaging step of imaging a region including the other second reference mark of the pair of second reference marks of the substrate;
A first second fiducial mark position detecting step of detecting the position of the one second fiducial mark from the image of the substrate imaged in the third imaging step;
A second second reference mark position detecting step of detecting the position of the other second reference mark from the image of the printing object imaged in the fourth imaging step;
From the position of one second reference mark detected in the first second reference mark position detection step and the position of the other second reference mark detected in the second second reference mark position detection step. A second inter-reference mark distance calculating step for obtaining a distance between the pair of second reference marks;
The substrate to which the pair of first reference marks is added is the previous substrate, the substrate to which the pair of second reference marks is added in the pretreatment step is the current substrate, and the first substrate is the first substrate. The distance between the pair of first reference marks of the previous substrate to be printed obtained in the distance calculation process between one reference mark and the pair of the first substrate to be printed this time calculated in the distance calculation process between the second reference marks. And a rotational speed adjusting step of adjusting a rotational speed of the rubber cylinder when the electronic circuit is printed on the substrate to be printed this time according to the distance between the two reference marks .
版胴からゴム胴にインキを転写し、このインキが転写されたゴム胴を回転させながら、前処理工程で処理された伸縮し易い基材からなるシート状の被印刷物に電子回路の印刷を行う電子回路の印刷装置において、
前記被印刷物への電子回路の印刷と同時にその被印刷物の天地方向に離れた位置に1対の第1の基準マークを付加する第1基準マーク付加手段と、
前記被印刷物の1対の第1の基準マークのうち一方の第1の基準マークを含む領域および他方の第1の基準マークを含む領域を撮像する撮像手段と、
前記撮像手段で撮像された前記被印刷物の画像から前記一方の第1の基準マークの位置を検出する第1の第1基準マーク位置検出手段と、
前記撮像手段で撮像された前記被印刷物の画像から前記他方の第1の基準マークの位置を検出する第2の第1基準マーク位置検出手段と、
前記第1の第1基準マーク位置検出手段で検出された一方の第1の基準マークの位置および前記第2の第1基準マーク位置検出手段で検出された他方の第1の基準マークの位置より前記1対の第1の基準マーク間の距離を求める第1基準マーク間距離演算手段と、
前記前処理工程で、前記被印刷物の天地方向に離れた位置に1対の第2の基準マークを付加する第2基準マーク付加手段とを備え、
前記撮像手段は、
前記被印刷物の1対の第2の基準マークのうち一方の第2の基準マークを含む領域および他方の第2の基準マークを含む領域を撮像し、
さらに、
前記撮像手段で撮像された前記被印刷物の画像から前記一方の第2の基準マークの位置を検出する第1の第2基準マーク位置検出手段と、
前記撮像手段で撮像された前記被印刷物の画像から前記他方の第2の基準マークの位置を検出する第2の第2基準マーク位置検出手段と、
前記第1の第2基準マーク位置検出手段で検出された一方の第2の基準マークの位置および前記第2の第2基準マーク位置検出手段で検出された他方の第2の基準マークの位置より前記1対の第2の基準マーク間の距離を求める第2基準マーク間距離演算手段と、
前記1対の第1の基準マークが付加された被印刷物を前回の被印刷物とし、前記前処理工程で1対の第2の基準マークが付加された被印刷物を今回の被印刷物とし、前記第1基準マーク間距離演算手段で求められた前回の被印刷物の1対の第1の基準マーク間の距離と前記第2基準マーク間距離演算手段で求められた今回の被印刷物の1対の第2の基準マーク間の距離とに応じて、今回の被印刷物への電子回路の印刷時のゴム胴の回転速度を調整する回転速度調整手段と
を備えることを特徴とする電子回路の印刷装置
The ink is transferred from the plate cylinder to the rubber cylinder, and the electronic circuit is printed on the sheet-like printed material made of the base material that has been processed in the pretreatment process while rotating the rubber cylinder to which the ink has been transferred. In an electronic circuit printing device,
First fiducial mark adding means for adding a pair of first fiducial marks to positions separated in the vertical direction of the printed material simultaneously with printing of the electronic circuit on the printed material;
Imaging means for imaging a region including one first reference mark and a region including the other first reference mark among a pair of first reference marks of the substrate;
First first reference mark position detection means for detecting the position of the one first reference mark from the image of the substrate imaged by the imaging means;
Second first reference mark position detection means for detecting the position of the other first reference mark from the image of the substrate imaged by the imaging means;
From the position of one first reference mark detected by the first first reference mark position detection means and the position of the other first reference mark detected by the second first reference mark position detection means. A first inter-reference mark distance calculating means for obtaining a distance between the pair of first reference marks;
A second fiducial mark adding means for adding a pair of second fiducial marks at positions separated in the vertical direction of the substrate in the pretreatment step;
The imaging means includes
Imaging a region including one second reference mark and a region including the other second reference mark among a pair of second reference marks of the substrate;
further,
First second reference mark position detection means for detecting the position of the one second reference mark from the image of the substrate imaged by the imaging means;
Second second reference mark position detecting means for detecting the position of the other second reference mark from the image of the substrate imaged by the imaging means;
From the position of one second reference mark detected by the first second reference mark position detecting means and the position of the other second reference mark detected by the second second reference mark position detecting means. Second inter-reference mark distance calculating means for obtaining a distance between the pair of second reference marks;
The substrate to which the pair of first reference marks is added is the previous substrate, the substrate to which the pair of second reference marks is added in the pretreatment step is the current substrate, and the first substrate is the first substrate. The distance between the pair of first reference marks of the previous printed material obtained by the distance calculation means for one reference mark and the first pair of the current printed material obtained by the distance calculation means for the second reference mark. A rotation speed adjusting means for adjusting the rotation speed of the rubber cylinder when the electronic circuit is printed on the substrate to be printed this time according to the distance between the two reference marks;
An electronic circuit printing apparatus comprising:
JP2014261320A 2014-12-24 2014-12-24 Electronic circuit printing method and apparatus Active JP6486677B2 (en)

Priority Applications (4)

Application Number Priority Date Filing Date Title
JP2014261320A JP6486677B2 (en) 2014-12-24 2014-12-24 Electronic circuit printing method and apparatus
TW104143433A TWI592080B (en) 2014-12-24 2015-12-23 Electronic circuit printing method and device
CN201580070465.7A CN107107610B (en) 2014-12-24 2015-12-24 The printing process of electronic circuit and device
PCT/JP2015/086022 WO2016104600A1 (en) 2014-12-24 2015-12-24 Electronic circuit printing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2014261320A JP6486677B2 (en) 2014-12-24 2014-12-24 Electronic circuit printing method and apparatus

Publications (2)

Publication Number Publication Date
JP2016120638A JP2016120638A (en) 2016-07-07
JP6486677B2 true JP6486677B2 (en) 2019-03-20

Family

ID=56326472

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2014261320A Active JP6486677B2 (en) 2014-12-24 2014-12-24 Electronic circuit printing method and apparatus

Country Status (1)

Country Link
JP (1) JP6486677B2 (en)

Family Cites Families (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6199480B1 (en) * 1992-06-06 2001-03-13 Heideiberger Druckmaschinen Arrangement for determining register deviations of a multicolor rotary printing machine
JPH08118610A (en) * 1994-08-29 1996-05-14 Dainippon Printing Co Ltd Paper width controlling method and multicolor printer
JP2005313370A (en) * 2004-04-27 2005-11-10 Toshiba Corp Screen printing method and printing plate
DE102005007435A1 (en) * 2005-02-18 2006-08-24 Bosch Rexroth Ag Method for performing a pressure correction and device therefor
FR2897555B1 (en) * 2006-02-21 2008-04-18 Cer Soc Par Actions Simplifiee MACHINE AND METHOD FOR MARKING SHAPE PIECES
JP2009190254A (en) * 2008-02-14 2009-08-27 Toppan Printing Co Ltd Method for alignment of relief printing apparatus, relief printing apparatus and printed matter
JP5391768B2 (en) * 2009-03-24 2014-01-15 凸版印刷株式会社 Printing apparatus and printing method
JP5549171B2 (en) * 2009-09-30 2014-07-16 凸版印刷株式会社 Removal plate for reverse offset printing, method for producing the same, and method for producing printed matter
JP5552902B2 (en) * 2010-05-20 2014-07-16 株式会社Ihi Offset printing method and apparatus
JP2012025018A (en) * 2010-07-22 2012-02-09 Sony Corp Printer and printing method
WO2013187304A1 (en) * 2012-06-13 2013-12-19 シャープ株式会社 Production method for array substrate, production method for liquid crystal panel, production apparatus for array substrate, and offset printing device
JP2014117920A (en) * 2012-12-19 2014-06-30 Ricoh Co Ltd Printer

Also Published As

Publication number Publication date
JP2016120638A (en) 2016-07-07

Similar Documents

Publication Publication Date Title
CN101992587B (en) Ink supply amount adjustment method and apparatus for printing press
JP5897852B2 (en) Method and apparatus for correcting ink film thickness distribution
WO2016104600A1 (en) Electronic circuit printing method and device
CN102878958B (en) A kind of measuring method of lithographic forme dot area
JP6486677B2 (en) Electronic circuit printing method and apparatus
JP2013075519A (en) Control device of printer and control method
CN100393512C (en) Ink supply amount adjustment method and apparatus for printing press
JP6499859B2 (en) Electronic circuit printing method and apparatus
JP6666710B2 (en) Electronic circuit printing method and apparatus
JP6595764B2 (en) Electronic circuit printing method and apparatus
JP6408902B2 (en) Electronic circuit printing method and apparatus
JP6093151B2 (en) Method and apparatus for correcting ink film thickness distribution
JP6486676B2 (en) Electronic circuit printing method and apparatus
TWI594893B (en) Electronic circuit printing method and device
JP6408901B2 (en) Electronic circuit printing method and apparatus
JP6595763B2 (en) Electronic circuit printing method and apparatus
EP1950037A2 (en) Switch-Over Processing Method And apparatus
JP6148128B2 (en) Ink supply amount adjusting apparatus and method
JP2015054401A (en) Ink supply amount adjusting device and method
JP2013248886A (en) Registration method and apparatus for printing press
EP1691544A2 (en) Misregistration amount detection method and apparatus
JP2015098128A (en) Presetting device and method of printing machine
Calabrèse et al. MNREAD Baseline Data for Normal Vision Across the Lifespan
JP6408900B2 (en) Electronic circuit printing method and apparatus
JP2015100969A (en) Ink supplying method and ink supplying apparatus

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20171102

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20180814

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20180928

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: 20190212

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20190220

R150 Certificate of patent or registration of utility model

Ref document number: 6486677

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150