JP2013096878A - Light quantity setting method of coaxial episcopic illumination and position deviation inspection method of label - Google Patents

Light quantity setting method of coaxial episcopic illumination and position deviation inspection method of label Download PDF

Info

Publication number
JP2013096878A
JP2013096878A JP2011240729A JP2011240729A JP2013096878A JP 2013096878 A JP2013096878 A JP 2013096878A JP 2011240729 A JP2011240729 A JP 2011240729A JP 2011240729 A JP2011240729 A JP 2011240729A JP 2013096878 A JP2013096878 A JP 2013096878A
Authority
JP
Japan
Prior art keywords
label
edge
illumination
light
level
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2011240729A
Other languages
Japanese (ja)
Inventor
Toru Igarashi
透 五十嵐
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Seiko Epson Corp
Original Assignee
Seiko Epson Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Seiko Epson Corp filed Critical Seiko Epson Corp
Priority to JP2011240729A priority Critical patent/JP2013096878A/en
Publication of JP2013096878A publication Critical patent/JP2013096878A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Length Measuring Devices By Optical Means (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide a light quantity setting method with which, when optically inspecting position deviation or the like of a label deposited on a product, even in the case where the inspection is to be performed with a production lot having a different label print pattern or product color or material, an illumination level can be easily and appropriately set.SOLUTION: Light is radiated in a coaxial direction with a lens of a camera 21 by a coaxial episcopic illumination 22, and the state of depositing a label 12 deposited on a tape cartridge 11 is detected by the camera 21. A light quantity setting section 25 gradually increases a light quantity level of the coaxial episcopic illumination 22 from low light quantity level to high light quantity level, detects two edges generated by an outer edge of the label 12 and an edge of a shallow channel and, when the two edges cannot be determined any more in all portions, multiplies the quantity of light at that time by an experiment coefficient of 1 or less, thereby setting the optimal quantity of light of the coaxial episcopic illumination 22.

Description

本発明は、相互に関連する2つのエッジを同時に画像認識する画像認識装置における同軸落射照明の光量設定方法およびラベルの位置ズレ検査方法に関する。   The present invention relates to a method for setting the amount of light for coaxial epi-illumination and an inspection method for positional deviation of a label in an image recognition apparatus that simultaneously recognizes two mutually related edges.

従来、この種の同軸落射照明の光量設定方法として、商品検査等において行われ、画像認識装置における照明レベルを適切に設定するものが知られている(特許文献1および2参照)。
光学的な検査を行う際に、照明レベルを適切に設定する方法として、例えば特許文献1のものは、照明レベルを段階的に変化させ、照明レベルの各段階毎に線幅を測定し、線幅、この線幅を測定したときの照明レベル、最大輝度および最小輝度をメモリに記憶し、記憶した測定値に基づいて線幅測定の安定領域を検出して、映像信号の輝度範囲を設定するようになっている。
また、特許文献2では、カメラからの画像信号から受光量の算出を行い、算出結果をメモリに記憶されている基準値と比較し、比較結果に基づいて、光量を設定するようになっている。
Conventionally, as a light amount setting method of this type of coaxial epi-illumination, a method that is performed in product inspection or the like and appropriately sets an illumination level in an image recognition apparatus is known (see Patent Documents 1 and 2).
As a method for appropriately setting the illumination level when performing an optical inspection, for example, the method disclosed in Patent Document 1 changes the illumination level step by step, measures the line width at each step of the illumination level, and The width, the illumination level when the line width is measured, the maximum luminance and the minimum luminance are stored in the memory, and the stable range of the line width measurement is detected based on the stored measurement value, and the luminance range of the video signal is set. It is like that.
In Patent Document 2, the amount of received light is calculated from an image signal from a camera, the calculation result is compared with a reference value stored in a memory, and the amount of light is set based on the comparison result. .

特開2010−175324号公報JP 2010-175324 A 特開平9−189522号公報JP-A-9-189522

ところで、製品に貼着するラベルには、製品種別に対応して各種の印刷パターンがあり、また、製品には、各種の色や材質のものがある。生産現場では、このような印刷パターンの異なるラベルや、色や材質の異なる製品ロットの検査が行われる。これに対して、ラベルの位置ズレを光学的な手法で検査する際の適切な照明レベルは、このようなラベルの印刷パターンや、製品の色、材質等により変化する。このため、生産現場では、適切な照明レベルを製品ロットが変わる毎に変更する必要がある。   By the way, a label to be attached to a product has various printing patterns corresponding to the product type, and products have various colors and materials. At the production site, such labels with different print patterns and product lots with different colors and materials are inspected. On the other hand, the appropriate illumination level for inspecting the positional deviation of the label by an optical method varies depending on the print pattern of the label, the color, material, etc. of the product. For this reason, in the production site, it is necessary to change the appropriate illumination level every time the product lot changes.

特許文献1に示されるものでは、照明レベルを段階的に変化させながら、線幅、この線幅を測定したときの照明レベル、最大輝度および最小輝度をメモリに記憶してから、照明レベルを設定する。このため、照明レベルの設定に時間を要し、ラベルの印刷パターンや、製品の色、材質等の変化に柔軟に対応できない問題があった。また、特許文献2に示されるものでは、カメラからの画像信号から受光量と基準値と比較して光量を設定しているため、製品ロットが変わる毎に、基準値を変更しなくてはならず、設定が煩雑になる問題があった。   In the technique disclosed in Patent Document 1, the line width, the illumination level when the line width is measured, the maximum brightness, and the minimum brightness are stored in the memory while changing the illumination level step by step, and then the illumination level is set. To do. For this reason, it took time to set the illumination level, and there was a problem that it was not possible to flexibly cope with changes in the label printing pattern, product color, material, and the like. Moreover, in what is shown by patent document 2, since the light quantity is set compared with the received light quantity and the reference value from the image signal from the camera, the reference value must be changed every time the product lot changes. There is a problem that the setting becomes complicated.

本発明は、被アライメント部材の性状およびアライメント部材の性状に対応して、第1エッジと第2エッジとを画像認識するための照明レベルを、簡単且つ適切に設定することができる同軸落射照明の光量設定方法およびラベルの位置ズレ検査方法を提供することを課題としている。   The present invention provides a coaxial epi-illumination that can easily and appropriately set an illumination level for image recognition of the first edge and the second edge in accordance with the properties of the alignment target member and the alignment member. It is an object to provide a light amount setting method and a label displacement inspection method.

本発明に同軸落射照明の光量設定方法は、被アライメント部材の第1エッジと、所定の許容間隙幅を存して第1エッジに位置合わせされたアライメント部材の第2エッジと、を画像認識する画像認識装置おける同軸落射照明の光量設定方法であって、同軸落射照明の光量を低いレベルから高いレベルに光量アップしながら、第1エッジおよび第2エッジの画像認識を継続する継続認識工程と、光量アップの過程で、第1エッジおよび第2エッジの個々の画像認識が不能となったときの不能光量レベルを取得する不能レベル取得工程と、不能光量レベルに、1以下の実験値係数を乗算して適性光量レベルを求める適性レベル算出工程と、同軸落射照明の光量を、適性光量レベルに設定する光量設定工程と、を備えたことを特徴とする。   According to the present invention, the method for setting the amount of light for coaxial incident illumination recognizes an image of the first edge of the alignment member and the second edge of the alignment member aligned with the first edge with a predetermined allowable gap width. A method of setting the amount of light for coaxial epi-illumination in the image recognition apparatus, the continuous recognition step of continuing image recognition of the first edge and the second edge while increasing the amount of light of the coaxial epi-illumination from a low level to a high level; In the process of increasing the amount of light, an impossible level acquisition step for acquiring an impossible amount of light level when individual image recognition of the first edge and the second edge becomes impossible, and an impossible value level multiplied by an experimental value coefficient of 1 or less And an appropriate light level calculation step for obtaining an appropriate light amount level, and a light amount setting step for setting the light amount of the coaxial incident illumination to the appropriate light amount level.

この構成によれば、第1エッジおよび第2エッジの個々の画像認識が不能となったときの不能光量レベルに、実験値係数を乗算して適性光量レベルを求めるようにしている。このため、被アライメント部材の性状およびアライメント部材の性状を考慮して実験値係数を定めれば、第1エッジと第2エッジとを画像認識するための適切な照明レベルを、簡単に設定することができる。すなわち、被アライメント部材の性状およびアライメント部材の性状に対応して、同軸落射照明の光量レベルを簡単且つ適切に設定することができる。   According to this configuration, the appropriate light quantity level is obtained by multiplying the impossible light quantity level when the individual image recognition of the first edge and the second edge is impossible with the experimental value coefficient. For this reason, if the experimental value coefficient is determined in consideration of the properties of the member to be aligned and the properties of the alignment member, it is possible to easily set an appropriate illumination level for image recognition of the first edge and the second edge. Can do. That is, the light intensity level of the coaxial epi-illumination can be set easily and appropriately in accordance with the properties of the member to be aligned and the properties of the alignment member.

この場合、実験値係数が、0.65から0.75であることが好ましい。   In this case, the experimental value coefficient is preferably 0.65 to 0.75.

この構成によれば、例えば被アライメント部材がカートリッジで、アライメント部材がカートリッジに貼着するラベルである場合、ラベルの下地色や印刷パターン、およびカートリッジの色や材質等に対応して、照明レベルを簡単且つ適切に設定することができる。なお、上記の例では、実験値係数を0.7とすることが、より好ましい。   According to this configuration, for example, when the member to be aligned is a cartridge and the alignment member is a label attached to the cartridge, the illumination level is set according to the background color and print pattern of the label, the color and material of the cartridge, and the like. It can be set easily and appropriately. In the above example, it is more preferable to set the experimental value coefficient to 0.7.

また、継続認識工程では、複数箇所について第1エッジおよび第2エッジの画像認識を行い、不能レベル取得工程では、複数箇所のうち少なくとも1箇所について画像認識が不能となったときに、不能光量レベルを取得することが好ましい。   Further, in the continuous recognition step, image recognition of the first edge and the second edge is performed for a plurality of locations, and in the impossibility level acquisition step, when the image recognition is impossible for at least one of the plurality of locations, the impossible light amount level It is preferable to obtain

この構成によれば、第1エッジおよび第2エッジにおいて、検出に不向きな箇所があっても、照明レベルを適切に設定することができ、光量設定の信頼性を高めることができる。   According to this configuration, the illumination level can be set appropriately even when there are places unsuitable for detection at the first edge and the second edge, and the reliability of light amount setting can be improved.

さらに、アライメント部材がラベルであると共に、第2エッジがラベルの縁端であり、被アライメント部材が、ラベルが貼着されるカートリッジであると共に、第1エッジが、ラベルが貼着される浅溝の縁端であることが好ましい。   Furthermore, the alignment member is a label, the second edge is the edge of the label, the aligned member is a cartridge to which the label is attached, and the first edge is a shallow groove to which the label is attached. It is preferable that the edge is.

この構成によれば、ラベルとこれが貼着されるカートリッジに関係において、照明レベルを適切に設定することができるため、カートリッジに貼着されるラベルの位置ズレ等を精度良く判定することができる。   According to this configuration, since the illumination level can be appropriately set in relation to the label and the cartridge to which it is attached, it is possible to accurately determine the positional deviation of the label attached to the cartridge.

そして、同軸落射照明が、同軸面発光落射照明であることが好ましい。   The coaxial epi-illumination is preferably coaxial surface-emitting epi-illumination.

この構成によれば、カートリッジ上に貼着されたラベルの貼着状態の正反射画像の光量を最適に設定でき、両者のエッジ(縁端)に十分なコントラストを得ることができ、カートリッジに貼着されるラベルの位置ズレ等を精度良く判定することができる。   According to this configuration, it is possible to optimally set the light amount of the regular reflection image of the label attached to the cartridge, and to obtain sufficient contrast at the edges (edges) of the label. The positional deviation or the like of the label to be worn can be determined with high accuracy.

本発明の位置ズレ検出方法は、上記した同軸落射照明の光量設定方法を実施すると共に、光量設定方法により設定された同軸落射照明を有する画像認識装置を用いて行うラベルの位置ズレ検査方法であって、光量設定工程の後、第1エッジおよび第2エッジを画像認識する画像認識工程と、画像認識の結果、第1エッジおよび第2エッジの間隙幅が、許容間隙幅から外れている場合に、ラベルの貼着不良と判定する判定工程と、を備えたことを特徴とする。   The positional deviation detection method of the present invention is a label positional deviation inspection method performed using the image recognition apparatus having the coaxial epi-illumination set by the light quantity setting method while performing the above-described coaxial epi-illumination light quantity setting method. Then, after the light amount setting step, when the image recognition step for recognizing the first edge and the second edge, and as a result of the image recognition, the gap width between the first edge and the second edge is out of the allowable gap width. And a determination step for determining that there is a label sticking failure.

この構成によれば、カートリッジに貼着されたラベルの位置ズレを容易に、且つ精度良く検出することができる。   According to this configuration, it is possible to detect the positional deviation of the label attached to the cartridge easily and accurately.

この場合、ラベルの種別変更時、およびカートリッジの機種変更時に、光量設定方法を実施することが好ましい。   In this case, it is preferable to implement the light amount setting method when the label type is changed and when the cartridge model is changed.

この構成によれば、ラベルの種別変更時やカートリッジの機種変更時に、光量を最適に設定して、ラベルの位置ズレを検出でき、検出の精度と、検出作業におけるタクトタイムの短縮とを同時に達成することができる。   According to this configuration, when changing the label type or cartridge model, the amount of light can be set optimally to detect label misalignment, achieving both detection accuracy and tact time reduction during detection. can do.

また、光量設定方法の継続認識工程において、併せて判定工程を実施し、当該判定工程により貼着不良と判定された場合に、不能レベル取得工程、適性レベル算出工程および光量設定工程の実施を中止し、同種のラベルおよび同種のカートリッジである次の検査対象物に対し、光量設定方法を実施することが好ましい。   In addition, in the continuous recognition process of the light quantity setting method, the determination process is also performed, and when it is determined that the sticking is defective by the determination process, the impossibility level acquisition process, the aptitude level calculation process, and the light quantity setting process are stopped. However, it is preferable to carry out the light amount setting method for the next inspection object which is the same kind of label and the same kind of cartridge.

この構成によれば、光量レベルの最適設定と、カートリッジに対するラベルの位置ズレ検出と、を一連の作業として実施することができ、タクトタイムの短縮を図ることができる。   According to this configuration, the optimum setting of the light amount level and the detection of the positional deviation of the label with respect to the cartridge can be performed as a series of operations, and the tact time can be shortened.

本発明の第1の実施形態に係るラベルの位置ズレ検査方法で用いられるテープカートリッジの外観を示す斜視図である。It is a perspective view which shows the external appearance of the tape cartridge used with the positional offset inspection method of the label concerning the 1st Embodiment of this invention. テープカートリッジにラベルを貼着するときの工程を説明するための斜視図である。It is a perspective view for demonstrating the process when sticking a label on a tape cartridge. 本発明の第1の実施形態に係るラベル位置ズレ検査装置の概要を示すブロック図である。It is a block diagram which shows the outline | summary of the label position shift inspection apparatus which concerns on the 1st Embodiment of this invention. 本発明の第1の実施形態に係るラベル位置ズレ検査装置における位置ズレ検出の説明図である。It is explanatory drawing of the position shift detection in the label position shift inspection apparatus which concerns on the 1st Embodiment of this invention. 本発明の第1の実施形態に係るラベル位置ズレ検査装置における光量設定部での処理を示すフローチャートである。It is a flowchart which shows the process in the light quantity setting part in the label position shift inspection apparatus which concerns on the 1st Embodiment of this invention. 本発明の第1の実施形態に係るラベルの位置ズレ検査方法をテープカートリッジの生産工程で実現した場合の説明図である。It is explanatory drawing at the time of implement | achieving the positional deviation test | inspection method of the label which concerns on the 1st Embodiment of this invention at the production process of a tape cartridge. 2つの光学系をシーケンシャルに用いて位置ズレ検出を行う場合の処理の説明に用いるフローチャートである。It is a flowchart used for description of a process in the case of performing position shift detection using two optical systems sequentially.

以下、添付の図面を参照して、本発明の一実施の形態に係る同軸落射照明の光量設定方法およびラベルの位置ズレ検査方法をついて説明する。この同軸落射照明の光量設定方法およびラベルの位置ズレ検査方法は、テープカートリッジにラベルを貼着し、このラベルの位置ズレを検出し、製品として出荷する一連の作業工程において実施されるものである。   Hereinafter, with reference to the attached drawings, a light amount setting method and a label displacement inspection method for coaxial epi-illumination according to an embodiment of the present invention will be described. The coaxial incident illumination light amount setting method and the label displacement inspection method are carried out in a series of work steps in which a label is attached to a tape cartridge, the displacement of the label is detected, and shipped as a product. .

図1は、ラベル12の位置ズレ検査方法で用いられるテープカートリッジ11の外観を示すものである。このテープカートリッジ11は、サーマルヘッドにより文字等を印刷するラベル印刷装置に装着して用いられる。テープカートリッジ11内には、図示していないが、印刷テープと、インクリボンと、プラテンが収容されている。テープカートリッジ11がラベル印刷装置に装着されると、テープカートリッジ11内において、印刷テープとインクリボンとが重ね合わされ、サーマルヘッドによりインクリボンに塗布されたインクが熱で溶融され、印刷テープに情報が熱転写される。   FIG. 1 shows an external appearance of a tape cartridge 11 used in the positional deviation inspection method for the label 12. The tape cartridge 11 is used by being mounted on a label printing apparatus that prints characters and the like with a thermal head. Although not shown, the tape cartridge 11 contains a printing tape, an ink ribbon, and a platen. When the tape cartridge 11 is mounted on the label printing apparatus, the printing tape and the ink ribbon are overlapped in the tape cartridge 11, the ink applied to the ink ribbon by the thermal head is melted by heat, and information is stored on the printing tape. Thermally transferred.

このようなテープカートリッジ11を製品化して販売する場合、テープカートリッジ11には、メーカー名や印刷テープの種類、品質等の情報を表示するためのラベル12が貼着される。   When such a tape cartridge 11 is commercialized and sold, a label 12 for displaying information such as a manufacturer name, a type of printing tape, and quality is attached to the tape cartridge 11.

図2は、テープカートリッジ11にラベル12を貼着するときの工程を示すものである。図2(A)に示すように、テープカートリッジ11の筐体(上ケースと下ケースとを接合して成る)には、上面および左右側面を囲むように、浅溝15が配設されている。この浅溝15の形状はラベル12に対応しており、その大きさは、幅および長さにおいて、ラベル12より僅かに大きく形成されている。テープカートリッジ11にラベル12を貼着する場合、図2(A)に示すように、テープカートリッジ11の上面の浅溝15に対向して、ラベル12が配置される。この場合、ラベル12の裏面には、接着剤が塗布されており、テープカートリッジ11の上面の浅溝15内に、ラベル12が押し当てられて、貼着される。次に、図2(B)に示すように、ラベル12の両端がテープカートリッジ11の両側面に沿って折り曲げられ、テープカートリッジ11の両側面に押し当てられて、浅溝15内に貼着される。   FIG. 2 shows a process for sticking the label 12 to the tape cartridge 11. As shown in FIG. 2A, a shallow groove 15 is disposed in the casing of the tape cartridge 11 (formed by joining the upper case and the lower case) so as to surround the upper surface and the left and right side surfaces. . The shape of the shallow groove 15 corresponds to the label 12, and the size thereof is slightly larger than the label 12 in width and length. When the label 12 is attached to the tape cartridge 11, the label 12 is disposed facing the shallow groove 15 on the upper surface of the tape cartridge 11 as shown in FIG. In this case, an adhesive is applied to the back surface of the label 12, and the label 12 is pressed and stuck in the shallow groove 15 on the upper surface of the tape cartridge 11. Next, as shown in FIG. 2B, both ends of the label 12 are bent along both side surfaces of the tape cartridge 11, pressed against both side surfaces of the tape cartridge 11, and stuck in the shallow groove 15. The

上述のようにして、テープカートリッジ11にラベル12が貼着されたら、ラベル12の位置ズレ検査が行われる。すなわち、ラベル12をアライメント部材とし、テープカートリッジ11を被アライメント部材として、ラベル12の位置ズレ検査が行われる。ラベル12の位置ズレ検査は、ラベル12の貼着状態をカメラ21で撮影し、この撮影画像を画像認識するような、光学的な手法により行われる。そして、検査の結果、ラベル12の位置ズレが発生しているものは、不良品として排出される。   As described above, when the label 12 is attached to the tape cartridge 11, the positional deviation inspection of the label 12 is performed. That is, the positional deviation inspection of the label 12 is performed using the label 12 as an alignment member and the tape cartridge 11 as an alignment member. The positional deviation inspection of the label 12 is performed by an optical method in which the attached state of the label 12 is photographed by the camera 21 and the photographed image is recognized. As a result of the inspection, the label 12 that is misaligned is discharged as a defective product.

次に、本発明の第1の実施形態に係わるラベル12の位置ズレ検査方法について、詳細に説明する。
図3は、ラベル12の位置ズレ検査装置の概要を示すものである。図3において、カメラ21は、テープカートリッジ11上に貼着されたラベル12の貼着結果を撮影するものである。具体的には、浅溝15の縁端と、これに対峙するラベル12の縁端とを複数箇所に亘って撮像する。
Next, the positional deviation inspection method for the label 12 according to the first embodiment of the present invention will be described in detail.
FIG. 3 shows an outline of the positional deviation inspection apparatus for the label 12. In FIG. 3, the camera 21 captures the result of attaching the label 12 attached on the tape cartridge 11. Specifically, the edge of the shallow groove 15 and the edge of the label 12 facing the shallow groove 15 are imaged at a plurality of locations.

カメラ21とテープカートリッジ11との間には、同軸落射照明22が設けられる。同軸落射照明22としては、例えば、面発光LED(Light
Emitting Diode)を光源として、鏡筒内にハーフミラーを置き、レンズ光軸に沿って光を反射させるような同軸面発光落射照明が用いられる。この同軸落射照明22により、カメラ21のレンズと同軸上から光が照射される。これにより、カメラ21からは、テープカートリッジ11上に貼着されたラベル12の貼着状態の正反射画像が得られる。
A coaxial epi-illumination 22 is provided between the camera 21 and the tape cartridge 11. As the coaxial epi-illumination 22, for example, a surface emitting LED (Light
A coaxial surface-emitting epi-illumination is used in which a half mirror is placed in a lens barrel and light is reflected along the lens optical axis, using an Emitting Diode) as a light source. The coaxial epi-illumination 22 emits light from the same axis as the lens of the camera 21. Thereby, from the camera 21, the regular reflection image of the sticking state of the label 12 stuck on the tape cartridge 11 is obtained.

カメラ21の撮像信号は、カメラ制御部23に送られる。カメラ制御部23は、カメラ21に対する同期信号の制御を行うと共に、カメラ21からの撮像信号の処理を行う。カメラ制御部23の出力は、良否判定部24に送られると共に、光量設定部25に送られる。良否判定部24は、カメラ制御部23を介して送られてきたカメラ21の撮影画像を認識して、ラベル貼着位置の良否を判定する。光量設定部25は、カメラ制御部23を介して送られてきたカメラ21の撮影画像に基づいて、同軸落射照明22の光量制御を行う。なお、請求項に言う「画像認識装置」は、カメラ21、同軸落射照明22、カメラ制御部23、良否判定部24および光量設定部25で構成されている。また、図示では、ラベル12の貼着結果を複数箇所に亘って撮像するために、テープカートリッジ11を移動させる移動機構は、省略されている。   An imaging signal of the camera 21 is sent to the camera control unit 23. The camera control unit 23 controls a synchronization signal for the camera 21 and processes an imaging signal from the camera 21. The output of the camera control unit 23 is sent to the pass / fail determination unit 24 and to the light amount setting unit 25. The quality determination unit 24 recognizes the captured image of the camera 21 sent via the camera control unit 23 and determines the quality of the label attaching position. The light quantity setting unit 25 controls the light quantity of the coaxial incident illumination 22 based on the captured image of the camera 21 sent via the camera control unit 23. The “image recognition device” described in the claims includes a camera 21, a coaxial epi-illumination 22, a camera control unit 23, a quality determination unit 24, and a light amount setting unit 25. Further, in the drawing, a moving mechanism for moving the tape cartridge 11 is omitted in order to image the pasting result of the label 12 over a plurality of locations.

次に、良否判定部24での処理について説明する。前述したように、テープカートリッジ11の浅溝15の形状はラベル12の形状に対応しており、浅溝15の大きさはラベル12の大きさより大きい。よって、テープカートリッジ11にラベル12が正確に貼着されていれば、図4に示すように、上下左右の部分P1〜P6のどの部分でも、ラベル12は浅溝15内に収まり、ラベル12の外縁と浅溝15の縁端との間に所定の幅の間隙が生じ、各部分P1〜P6において、ラベル12の縁端の部分と、ラベル12が貼着される浅溝15の縁端の部分とにより、2つのエッジE1およびE2が検出できる。   Next, processing in the pass / fail determination unit 24 will be described. As described above, the shape of the shallow groove 15 of the tape cartridge 11 corresponds to the shape of the label 12, and the size of the shallow groove 15 is larger than the size of the label 12. Therefore, as long as the label 12 is correctly attached to the tape cartridge 11, as shown in FIG. 4, the label 12 fits in the shallow groove 15 in any of the upper, lower, left and right portions P1 to P6. A gap having a predetermined width is generated between the outer edge and the edge of the shallow groove 15, and in each of the portions P <b> 1 to P <b> 6, the edge portion of the label 12 and the edge of the shallow groove 15 to which the label 12 is attached. Depending on the part, two edges E1 and E2 can be detected.

これに対して、図4におけるラベル12の貼着位置が上側に偏っている場合には、上側の部分P1およびP2では2つのエッジE1およびE2の間隙が所定の間隙幅より小さくなり、下側の部分P5およびP6では2つのエッジE1およびE2の間隙が所定の間隙幅より大きくなる。ラベル12の貼着位置が更に上側に大きく偏っている場合には、ラベル12の外縁と浅溝15の縁端とが重なるため、上側部分P1およびP2で、2つのエッジE1およびE2が検出できなくなる。   On the other hand, when the sticking position of the label 12 in FIG. 4 is biased upward, the gap between the two edges E1 and E2 is smaller than the predetermined gap width in the upper portions P1 and P2, and the lower side In the portions P5 and P6, the gap between the two edges E1 and E2 is larger than a predetermined gap width. When the sticking position of the label 12 is further biased to the upper side, the outer edge of the label 12 and the edge of the shallow groove 15 overlap, so that the two edges E1 and E2 can be detected at the upper portions P1 and P2. Disappear.

また、図4におけるラベル12の貼着位置が下側に偏っている場合には、下側の部分P5およびP6では2つのエッジE1およびE2の間隙が所定の間隙幅より小さくなり、上側の部分P1およびP2では2つのエッジE1およびE2の間隙が所定の間隙幅より大きくなる。ラベル12の貼着位置が更に下側に偏っている場合には、下側の部分P5およびP6では、ラベル12の外縁と浅溝15の縁端とが重なるため、下側部分P5およびP6で、2つのエッジE1およびE2が検出できなくなる。また、ラベル12の貼着角度に誤差が生じている場合には、部分P1〜P6の中で、2つのエッジE1およびE2の間隙にバラツキが生じる。ラベル12の貼着角度に更に誤差が生じている場合には、部分P1〜P6の中で、2つのエッジE1およびE2が検出できる部分と、検出できない部分が生じてくる。   Further, when the sticking position of the label 12 in FIG. 4 is biased downward, the gap between the two edges E1 and E2 is smaller than a predetermined gap width in the lower parts P5 and P6, and the upper part. In P1 and P2, the gap between the two edges E1 and E2 is larger than a predetermined gap width. When the sticking position of the label 12 is further biased to the lower side, in the lower portions P5 and P6, the outer edge of the label 12 and the edge of the shallow groove 15 overlap, so the lower portions P5 and P6 The two edges E1 and E2 cannot be detected. Moreover, when the error has arisen in the sticking angle of the label 12, variation arises in the gap | interval of the two edges E1 and E2 in the parts P1-P6. When an error further occurs in the sticking angle of the label 12, a portion where the two edges E1 and E2 can be detected and a portion where the two edges E1 and E2 cannot be detected are generated in the portions P1 to P6.

このように、テープカートリッジ11にラベル12が正確に貼着されていれば、上下左右の全ての部分P1〜P6で2つのエッジE1およびE2が検出でき、全ての部分P1〜P6におけるラベル12の外縁と浅溝15の縁端との間の間隙幅は所定の大きさとなる。このことから、カメラ21の撮影画像から、部分P1〜P6に相当する部分をウィンドウ抽出処理により抜き取り、部分P1〜P6のどの部分でも2つのエッジE1およびE2が検出できたかどうかを判定し、このエッジE1およびE2の幅が所定の許容値以内かどうかを判断することで、ラベル貼着位置の良否を判定することができる。   In this way, if the label 12 is correctly attached to the tape cartridge 11, the two edges E1 and E2 can be detected in all the upper and lower parts P1 to P6, and the labels 12 in all the parts P1 to P6 can be detected. The gap width between the outer edge and the edge of the shallow groove 15 is a predetermined size. From this, the part corresponding to the parts P1 to P6 is extracted from the photographed image of the camera 21 by the window extraction process, and it is determined whether or not the two edges E1 and E2 can be detected in any part of the parts P1 to P6. By determining whether or not the widths of the edges E1 and E2 are within a predetermined allowable value, it is possible to determine whether the label attaching position is good or bad.

良否判定部24は、上述のように、カメラ21の撮影画像から部分P1〜P6の部分を抽出するウィンドウ抽出処理と、部分P1〜P6で2つのエッジE1およびE2が検出できたかどうかを判定するエッジ判定処理と、2つのエッジE1およびE2の幅が所定の許容値以内かどうかを判断する間隙判定処理を行って、ラベル貼着位置の良否を判定している。   As described above, the pass / fail determination unit 24 determines whether or not the two edges E1 and E2 have been detected in the parts P1 to P6 and the window extraction process for extracting the parts P1 to P6 from the captured image of the camera 21. An edge determination process and a gap determination process for determining whether or not the widths of the two edges E1 and E2 are within a predetermined allowable value are performed to determine the quality of the label attachment position.

次に、光量設定部25での処理について説明する。上述のように、ラベル12の位置ズレ検査装置では、同軸落射照明22によりラベル12が貼着されたテープカートリッジ11の正反射画像をカメラ21により撮像し、カメラ21の撮影画像の各部分P1〜P6で2つのエッジE1およびE2を検出して、ラベル貼着位置の良否を判定している。同軸落射照明22によりテープカートリッジ11を照射してカメラ21で撮影すると、ラベル12の外縁と浅溝15の縁端との間隙部分で輝度が変化し(コントラスト)、2つのエッジE1およびE2が検出できる。光量設定部25は、2つのエッジE1およびE2を確実に検出できるように、同軸落射照明22の光量を最適に設定する。   Next, processing in the light amount setting unit 25 will be described. As described above, in the misalignment inspection apparatus for the label 12, the specular reflection image of the tape cartridge 11 to which the label 12 is attached by the coaxial incident illumination 22 is captured by the camera 21, and each portion P <b> 1 to P <b> 1 of the captured image of the camera 21 is captured. At P6, two edges E1 and E2 are detected, and the quality of the label attaching position is determined. When the tape cartridge 11 is irradiated by the coaxial epi-illumination 22 and photographed by the camera 21, the brightness changes in the gap portion between the outer edge of the label 12 and the edge of the shallow groove 15 (contrast), and the two edges E1 and E2 are detected. it can. The light amount setting unit 25 optimally sets the light amount of the coaxial epi-illumination 22 so that the two edges E1 and E2 can be reliably detected.

光量設定部25では、同軸落射照明22の光量を低いレベルから高いレベルに徐々に光量アップしながら、カメラ21の撮影画像から、部分P1〜P6をウィンドウ抽出処理により抜き取り、部分P1〜P6で2つのエッジE1およびE2が検出可能かどうかを判定し、このうちの1箇所において、エッジE1およびE2が検出できなくなった光量レベルに、1以下の所定の実験値係数を乗算して、適性光量レベルを求めている。   In the light amount setting unit 25, while gradually increasing the light amount of the coaxial epi-illumination 22 from a low level to a high level, the portions P1 to P6 are extracted from the captured image of the camera 21 by the window extraction process, and 2 in the portions P1 to P6. It is determined whether or not two edges E1 and E2 can be detected, and in one of them, the light quantity level at which the edges E1 and E2 cannot be detected is multiplied by a predetermined experimental value coefficient of 1 or less to obtain an appropriate light quantity level. Seeking.

図5は、光量設定部25での処理を示すフローチャートである。図5において、光量設定部25は、部分P1〜P6を抜き取るためのウィンドウの位置とサイズを初期設定した後(ステップS1)、同軸落射照明22の光量を低光量レベルに初期設定する(ステップS2)。同軸落射照明22の光量が低光量レベルに初期設定されたら、光量設定部25は、設定された光量で同軸落射照明22から光を照射し(ステップS3)、ウィンドウ設定された部分P1〜P6でエッジの検出を行い(ステップS4)、全ての部分P1〜P6で2つのエッジE1およびE2が検出可能かどうかを判定する(ステップS5)。   FIG. 5 is a flowchart showing processing in the light amount setting unit 25. In FIG. 5, the light amount setting unit 25 initially sets the position and size of the window for extracting the portions P1 to P6 (step S1), and then initializes the light amount of the coaxial incident illumination 22 to the low light level (step S2). ). When the light quantity of the coaxial epi-illumination 22 is initially set to a low light quantity level, the light quantity setting unit 25 irradiates light from the coaxial epi-illumination 22 with the set light quantity (step S3), and the windows P1 to P6 are set. Edge detection is performed (step S4), and it is determined whether or not two edges E1 and E2 can be detected in all the portions P1 to P6 (step S5).

ここで、全ての部分P1〜P6で2つのエッジE1およびE2が検出可能と判定されると(ステップS5 Yes)、光量設定部25は、同軸落射照明22の光量を低光量レベルから所定の増加分だけアップする(ステップS6)。そして、光量設定部25は、光量の上限に達したかどうかを判定し(ステップS7)、光量の上限に達していなければ、ステップS3にリターンし、新たに設定された光量で、同軸落射照明22から光を照射し(ステップS3)、ウィンドウ設定された部分P1〜P6でエッジの検出を行い(ステップS4)、全ての部分P1〜P6で2つのエッジE1およびE2が検出可能かどうかを判定する(ステップS5)。   Here, when it is determined that the two edges E1 and E2 can be detected in all the portions P1 to P6 (Yes in step S5), the light amount setting unit 25 increases the light amount of the coaxial incident illumination 22 from the low light amount level by a predetermined amount. Increase by the minute (step S6). Then, the light quantity setting unit 25 determines whether or not the upper limit of the light quantity has been reached (step S7). If the upper limit of the light quantity has not been reached, the process returns to step S3, and the coaxial incident illumination is performed with the newly set light quantity. 22 is irradiated with light (step S3), edges are detected in the windows P1 to P6 (step S4), and it is determined whether or not two edges E1 and E2 can be detected in all the parts P1 to P6. (Step S5).

ステップS3からステップS7の処理を繰り返すことで、同軸落射照明22の光量は、初期設定された低光量レベルから、徐々に上昇していく。光量レベルを低光量レベルから高光量レベルに徐々に上昇させていき、光量が過剰になると、2つのエッジE1およびE2が判定できなくなり、ステップS5で、全ての部分P1〜P6で2つのエッジE1およびE2が検出可能でないと判定されることになる。ステップS5で、全ての部分P1〜P6のうちの1箇所でも2つのエッジE1およびE2が検出不能になったと判定されると(ステップS5 No)、光量設定部25は、このときの光量レベルに、1以下の実験値係数を乗算して(ステップS8)、適性光量レベルとして設定する(ステップS9)。   By repeating the processing from step S3 to step S7, the light quantity of the coaxial incident illumination 22 gradually increases from the initially set low light quantity level. When the light amount level is gradually increased from the low light amount level to the high light amount level and the light amount becomes excessive, the two edges E1 and E2 cannot be determined, and in step S5, the two edges E1 in all the parts P1 to P6. And E2 are determined not to be detectable. If it is determined in step S5 that the two edges E1 and E2 cannot be detected even at one of all the portions P1 to P6 (No in step S5), the light amount setting unit 25 sets the light amount level at this time. Is multiplied by an experimental value coefficient of 1 or less (step S8) and set as an appropriate light quantity level (step S9).

つまり、ステップS5で、全ての部分P1〜P6で2つのエッジE1およびE2が検出可能でないと判定されたということは、この光量レベルでは、光量を大きく設定し過ぎたことを意味する。そこで、ステップS8の処理において、全ての部分P1〜P6で2つのエッジE1およびE2が検出可能でないと判定されたときの光量レベルに1以下の実験値係数を乗算することで、適性光量レベルを求めている。より具体的には、この実験値係数は、0.65から0.75であり、実施形態のもの0.7としている。なお、ステップS7で、光量の上限に達したと判定された場合には、ステップS8に処理を進め、上限値の光量レベルに1以下の実験値係数を乗算して(ステップS8)、適性光量レベルとして設定する(ステップS9)。   That is, when it is determined in step S5 that the two edges E1 and E2 cannot be detected in all the portions P1 to P6, this means that the light amount is set too large at this light amount level. Therefore, in the process of step S8, the appropriate light quantity level is obtained by multiplying the light quantity level when it is determined that the two edges E1 and E2 cannot be detected in all the portions P1 to P6 by an experimental value coefficient of 1 or less. Looking for. More specifically, the experimental value coefficient is 0.65 to 0.75, which is 0.7 in the embodiment. If it is determined in step S7 that the upper limit of the light quantity has been reached, the process proceeds to step S8, and the upper limit light quantity level is multiplied by an experimental value coefficient of 1 or less (step S8) to obtain an appropriate light quantity. The level is set (step S9).

このように、本発明の第1の実施形態に係るラベル12の位置ズレ検査方法では、同軸落射照明22の光量レベルを低光量レベルから高光量レベルに徐々に上昇させていき、全ての部分P1〜P6で2つのエッジE1およびE2が判定できなくなったときの光量に、1以下の実験係数を乗算することで、同軸落射照明22の最適な光量を設定している。   As described above, in the positional deviation inspection method for the label 12 according to the first embodiment of the present invention, the light intensity level of the coaxial incident illumination 22 is gradually increased from the low light intensity level to the high light intensity level, and all the parts P1. The optimum light amount of the coaxial incident illumination 22 is set by multiplying the light amount when the two edges E1 and E2 cannot be determined in .about.P6 by an experimental coefficient of 1 or less.

このような光量設定方法では、同軸落射照明22の光量レベルを低光量レベルから高光量レベルに徐々に上昇させながら、カメラ21の画像から2つのエッジE1およびE2が検出できるかどうかを判定するだけで、同軸落射照明22の光量設定が行える。また、このような光量設定方法では、基準となるサンプルが不要である。このため、ラベル12の印字パターンや、テープカートリッジ11の色や材質が変わっても、容易に対応できる。   In such a light amount setting method, it is only determined whether the two edges E1 and E2 can be detected from the image of the camera 21 while gradually increasing the light amount level of the coaxial incident illumination 22 from the low light amount level to the high light amount level. Thus, the light quantity of the coaxial incident illumination 22 can be set. In addition, such a light quantity setting method does not require a reference sample. For this reason, even if the printing pattern of the label 12 and the color and material of the tape cartridge 11 are changed, it can be easily handled.

更に、このような光量設定方法では、カメラ21の撮影画像から部分P1〜P6を抽出するウィンドウ抽出処理や、部分P1〜P6で2つのエッジE1およびE2が検出できたかどうかを判定するエッジ判定処理は、良否判定部24での処理と同様である。このため、ラベル12の種別変更時、およびテープカートリッジ11の機種変更時に、ラベル位置ズレの判定処理と、光量設定処理とを併せて行うことができる。そして、ラベル12の位置ズレ判定処理で、不良と判定された場合には、その検査対象での光量レベルの設定を中止し、次の検査対象に移って、光量レベルの設定を行うことができる。   Further, in such a light amount setting method, a window extraction process for extracting the parts P1 to P6 from the captured image of the camera 21, and an edge determination process for determining whether or not the two edges E1 and E2 have been detected in the parts P1 to P6. Is the same as the processing in the pass / fail judgment unit 24. For this reason, when the type of the label 12 is changed and when the model of the tape cartridge 11 is changed, the label displacement determination process and the light quantity setting process can be performed together. If it is determined that the label 12 is misaligned in the position misalignment determination process, the setting of the light amount level in the inspection object can be stopped, and the light amount level can be set by moving to the next inspection object. .

図6は、本発明の第1の実施形態に係わるラベル12の位置ズレ検査方法を、テープカートリッジ11の生産工程で実現した場合の説明図である。なお、この例では、ラベル12の位置ズレ検査するための光学系を二方向に設けている。
図6において、搬送部101には、生産された複数のテープカートリッジ11(11a、11b、11c、…)が搬送されていく。ここでは、テープカートリッジ11aは位置ズレ検査工程部104の位置にあり、テープカートリッジ11bは側面ラベル貼着工程部103の位置にあり、テープカートリッジ11cは上面ラベル貼着工程部102の位置にある。
FIG. 6 is an explanatory diagram when the positional deviation inspection method for the label 12 according to the first embodiment of the present invention is realized in the production process of the tape cartridge 11. In this example, an optical system for inspecting misalignment of the label 12 is provided in two directions.
In FIG. 6, a plurality of produced tape cartridges 11 (11 a, 11 b, 11 c,...) Are transported to the transport unit 101. Here, the tape cartridge 11a is at the position of the misalignment inspection process section 104, the tape cartridge 11b is at the position of the side label attaching process section 103, and the tape cartridge 11c is at the position of the upper surface label attaching process section 102.

上面ラベル貼着工程部102は、フープ状のラベル紙からラベル12を分離し、テープカートリッジ11cに対して、その上面にラベル12を貼着する処理を行っている。続く、側面ラベル貼着工程部103は、テープカートリッジ11bの側面から突出したラベル12をローラーで押し当て、テープカートリッジ11bの側面に、ラベル12を貼着する処理を行っている。そして、位置ズレ検査工程部104は、左右に設けられたカメラ21aおよび21bと、同軸落射照明22aおよび22bと、制御部110とからなり、テープカートリッジ11cのラベル12の位置ズレを検査している。ここで、制御部110は、図3におけるカメラ制御部23、良否判定部24、光量設定部25の処理を行う。   The upper surface label sticking process part 102 performs the process which isolate | separates the label 12 from the hoop-shaped label paper, and sticks the label 12 on the upper surface with respect to the tape cartridge 11c. Subsequently, the side label sticking process unit 103 performs a process of pressing the label 12 protruding from the side surface of the tape cartridge 11b with a roller and sticking the label 12 to the side surface of the tape cartridge 11b. The positional deviation inspection process unit 104 includes cameras 21a and 21b provided on the left and right, coaxial incident illuminations 22a and 22b, and a control unit 110, and inspects the positional deviation of the label 12 of the tape cartridge 11c. . Here, the control unit 110 performs processing of the camera control unit 23, the pass / fail determination unit 24, and the light amount setting unit 25 in FIG.

位置ズレ検査工程部104では、前述したように、カメラ21a、21bの撮影画像から、部分P1〜P6に相当する部分をウィンドウ抽出処理により抜き取り、部分P1〜P6のどの部分でも2つのエッジE1およびE2が検出できたかどうかを判定し、このエッジE1およびE2の幅が所定の許容値以内かどうかを判断することで、ラベル貼着位置の良否を判定する。また、位置ズレ検査工程部104では、前述したように、同軸落射照明22a、22bの光量レベルを低光量レベルから高光量レベルに徐々に上昇させていき、全ての部分P1〜P6で2つのエッジE1およびE2が判定できなくなったときの光量に、1以下の実験係数を乗算することで、同軸落射照明22a、22bの最適な光量を設定する。   In the misalignment inspection process unit 104, as described above, portions corresponding to the portions P1 to P6 are extracted from the captured images of the cameras 21a and 21b by the window extraction process, and any of the portions P1 to P6 has two edges E1 and It is determined whether or not E2 has been detected, and whether or not the width of the edges E1 and E2 is within a predetermined allowable value is determined to determine whether the label attaching position is good or bad. Further, as described above, the positional deviation inspection process unit 104 gradually increases the light intensity level of the coaxial incident illuminations 22a and 22b from the low light intensity level to the high light intensity level, and two edges are formed at all the portions P1 to P6. By multiplying the amount of light when E1 and E2 can no longer be determined by an experimental coefficient of 1 or less, the optimal amount of light for the coaxial incident illuminations 22a and 22b is set.

不良品排出工程部105は、位置ズレ検査工程部104での検査結果に基づいて、ラベル12の位置ズレが発生しているものを不良品として排出する処理を行う。
上述のように、この例における位置ズレ検査工程部104では、搬送部101に対して左右にカメラ21aおよび21bと、同軸落射照明22aおよび22bとからなる2つの光学系が設けられている。このように2つの光学系を有する構成では、2つの光学系をシーケンシャルに用いて位置ズレ検出を行える。
The defective product discharge process unit 105 performs a process of discharging a label 12 that is misaligned as a defective product based on the inspection result in the misalignment inspection process unit 104.
As described above, in the misalignment inspection process unit 104 in this example, two optical systems including the cameras 21 a and 21 b and the coaxial incident illuminations 22 a and 22 b are provided on the left and right with respect to the transport unit 101. As described above, in the configuration having two optical systems, the positional deviation can be detected by using the two optical systems sequentially.

図7のフローチャートに示すように、位置ズレ検査を行う場合、制御部110は、位置ズレ検査工程部104の所定の位置にテープカートリッジ11aを位置決めし(ステップS101)、左側の同軸落射照明22aを点灯させ(ステップS102)、左側のカメラ21aの撮像信号により、テープカートリッジ11aの左側のラベル12の位置ズレ検出を行う(ステップS103)。次に、制御部110は、左側の同軸落射照明22aを消灯させ、右側の同軸落射照明22bを点灯させて(ステップS104)、右側のカメラ21bの撮像信号により、テープカートリッジ11aの右側のラベル12の位置ズレ検出を行う(ステップS105)。そして、制御部110は、右側の同軸落射照明22bを消灯させ(ステップS106)、ラベル12の位置ズレ検査の総合判定を行う(ステップS107)。   As shown in the flowchart of FIG. 7, when performing the misalignment inspection, the control unit 110 positions the tape cartridge 11 a at a predetermined position of the misalignment inspection process unit 104 (step S <b> 101), and sets the left coaxial incident illumination 22 a. The light is turned on (step S102), and the displacement of the label 12 on the left side of the tape cartridge 11a is detected based on the imaging signal of the left camera 21a (step S103). Next, the control unit 110 turns off the left coaxial incident light 22a, turns on the right coaxial incident light 22b (step S104), and uses the right side label 12 of the tape cartridge 11a according to the imaging signal of the right camera 21b. Is detected (step S105). Then, the control unit 110 turns off the right-side coaxial incident illumination 22b (step S106), and performs a comprehensive determination of the label 12 displacement inspection (step S107).

ステップS103およびステップS105の位置ズレ検出処理は、前述したように、カメラ21a、21bの撮影画像から、部分P1〜P6に相当する部分をウィンドウ抽出処理により抜き取り、部分P1〜P6のどの部分でも2つのエッジE1およびE2が検出できたかどうかを判定し、このエッジE1およびE2の幅が所定の許容値以内かどうかを判断することにより行われる。   As described above, in the position shift detection processing in steps S103 and S105, the portions corresponding to the portions P1 to P6 are extracted from the captured images of the cameras 21a and 21b by the window extraction processing, and any portion of the portions P1 to P6 is set to 2. This is performed by determining whether or not two edges E1 and E2 have been detected, and determining whether or not the widths of the edges E1 and E2 are within a predetermined allowable value.

また、このような生産工程で、ラベル12の種別や、テープカートリッジ11の機種変更があったとする。この場合、ラベル12の印字パターンや、テープカートリッジ11の色や材質の変更に伴い、同軸落射照明22a、22bの最適な光量が変わってくるため、光量の再設定が必要になる。
この場合には、図5にフローチャートで示したような処理を行うことで、同軸落射照明22a、22bの光量を最適に設定できる。このとき、併せて、位置ズレ検査の判定を実施し、この判定工程により貼着不良と判定された場合には、その検査対象物での光量設定処理は終了して、光量設定処理の検査対象を、同種のラベルおよび同種のテープカートリッジである次のものに検査対象を移す処理が行われる。
Further, it is assumed that the type of the label 12 and the model of the tape cartridge 11 are changed in such a production process. In this case, since the optimal light quantity of the coaxial incident illuminations 22a and 22b changes with the change in the printing pattern of the label 12 and the color and material of the tape cartridge 11, the light quantity needs to be reset.
In this case, the amount of light of the coaxial epi-illuminations 22a and 22b can be set optimally by performing the processing shown in the flowchart in FIG. At this time, the determination of the positional deviation inspection is also performed, and when it is determined that the sticking is defective by this determination step, the light amount setting process on the inspection object is finished, and the inspection target of the light amount setting process Is transferred to the next, which is the same kind of label and the same kind of tape cartridge.

すなわち、図6において、例えば、テープカートリッジ11aから、ラベル12の種別やテープカートリッジ11の機種変更があったとする。そして、以後のテープカートリッジ11b、11c、…は、ラベル12の種別やテープカートリッジ11の機種はテープカートリッジ11aと同一であったとする。この場合、制御部110は、先ず、テープカートリッジ11aにより、同軸落射照明22a、22bの光量設定を行うと共に、位置ズレ検査の判定を行う。ここで、テープカートリッジ11aの位置ズレ検査の判定により、貼着不良と判定された場合には、制御部110は、以降の処理(図5におけるステップS4での部分P1〜P6でエッジの検出を行う処理、ステップS5での全ての部分P1〜P6で2つのエッジE1およびE2が検出可能かどうかを判定する処理、ステップS6およびステップS7での光量を徐々にアップする処理、ステップS8での1以下の実験係数を乗算する処理、ステップS9の同軸落射照明22a、22bの最適な光量を設定する処理)を中止し、同種のラベル12が貼着された同種のテープカートリッジ11bに検査対象を移し、テープカートリッジ11bに対して、図5に示す処理を行って光量設定を行う。   That is, in FIG. 6, for example, it is assumed that the type of the label 12 and the model of the tape cartridge 11 are changed from the tape cartridge 11a. In the following tape cartridges 11b, 11c,..., The type of the label 12 and the model of the tape cartridge 11 are the same as those of the tape cartridge 11a. In this case, first, the control unit 110 sets the light amount of the coaxial incident illuminations 22a and 22b by the tape cartridge 11a, and determines the displacement test. Here, when it is determined that the sticking is defective due to the determination of the positional deviation inspection of the tape cartridge 11a, the control unit 110 detects the edge in the subsequent processing (parts P1 to P6 in step S4 in FIG. 5). Processing to be performed, processing to determine whether or not the two edges E1 and E2 can be detected in all the parts P1 to P6 in step S5, processing to gradually increase the light quantity in steps S6 and S7, 1 in step S8 The process of multiplying the following experimental coefficient and the process of setting the optimum light intensity of the coaxial incident illuminations 22a and 22b in step S9) are stopped, and the inspection object is transferred to the same type of tape cartridge 11b to which the same type of label 12 is attached. The amount of light is set by performing the process shown in FIG. 5 on the tape cartridge 11b.

このように、ラベル12の印字パターンや、テープカートリッジ11の色や材質等が異なる生産ロットで検査を行う場合に、同軸落射照明光量を設定と併せて、位置ズレ検査の判定を実施して、照明レベルを適切に設定できる。   As described above, when inspection is performed in a production lot in which the printing pattern of the label 12 or the color or material of the tape cartridge 11 is different, the coaxial incident illumination light quantity is set together with the determination of the positional deviation inspection, The lighting level can be set appropriately.

本発明は、上述した実施形態に限定されるものではなく、この発明の要旨を逸脱しない範囲内で様々な変形や応用が可能である。   The present invention is not limited to the above-described embodiments, and various modifications and applications can be made without departing from the gist of the present invention.

11,11a,11b,11c:テープカートリッジ、12:ラベル、15:浅溝、21,21a,21b:カメラ、22,22a,22b:同軸落射照明、23:カメラ制御部、24:良否判定部、25:光量設定部、101:搬送部、102: 上面ラベル貼着工程部、103:側面ラベル貼着工程部、104:位置ズレ検査工程部、105:不良品排出工程部、110:制御部   11, 11a, 11b, 11c: tape cartridge, 12: label, 15: shallow groove, 21, 21a, 21b: camera, 22, 22a, 22b: coaxial incident illumination, 23: camera control unit, 24: pass / fail judgment unit, 25: Light quantity setting unit, 101: Conveying unit, 102: Upper surface label attaching process unit, 103: Side label attaching process unit, 104: Position shift inspection process unit, 105: Defective product discharging process unit, 110: Control unit

Claims (8)

被アライメント部材の第1エッジと、所定の許容間隙幅を存して第1エッジに位置合わせされたアライメント部材の第2エッジと、を画像認識する画像認識装置おける同軸落射照明の光量設定方法であって、
前記同軸落射照明の光量を低いレベルから高いレベルに光量アップしながら、前記第1エッジおよび前記第2エッジの画像認識を継続する継続認識工程と、
前記光量アップの過程で、前記第1エッジおよび前記第2エッジの個々の画像認識が不能となったときの不能光量レベルを取得する不能レベル取得工程と、
前記不能光量レベルに、1以下の実験値係数を乗算して適性光量レベルを求める適性レベル算出工程と、
前記同軸落射照明の光量を、前記適性光量レベルに設定する光量設定工程と、を備えたことを特徴とする同軸落射照明の光量設定方法。
A light amount setting method for coaxial epi-illumination in an image recognition apparatus for recognizing an image of a first edge of an alignment target member and a second edge of an alignment member aligned with the first edge with a predetermined allowable gap width. There,
A continuous recognition step of continuing image recognition of the first edge and the second edge while increasing the light amount of the coaxial epi-illumination from a low level to a high level;
An impossible level acquisition step of acquiring an impossible light amount level when individual image recognition of the first edge and the second edge is disabled in the process of increasing the light amount;
An aptitude level calculation step for obtaining an aptitude level by multiplying the impossible light level by an experimental value coefficient of 1 or less;
A light amount setting method for coaxial epi-illumination, comprising: a light amount setting step for setting the light amount of the coaxial epi-illumination to the appropriate light amount level.
前記実験値係数が、0.65から0.75であることを特徴とする請求項1に記載の同軸落射照明の光量設定方法。   The method for setting the amount of light for coaxial epi-illumination according to claim 1, wherein the experimental value coefficient is 0.65 to 0.75. 前記継続認識工程では、複数箇所について前記第1エッジおよび前記第2エッジの画像認識を行い、
前記不能レベル取得工程では、前記複数箇所のうち少なくとも1箇所について前記画像認識が不能となったときに、前記不能光量レベルを取得することを特徴とする請求項1または2に記載の同軸落射照明の光量設定方法。
In the continuous recognition step, image recognition of the first edge and the second edge is performed for a plurality of locations,
The coaxial epi-illumination according to claim 1 or 2, wherein, in the impossibility level acquisition step, the impossibility light amount level is acquired when the image recognition becomes impossible at least in one of the plurality of places. Light intensity setting method.
前記アライメント部材がラベルであると共に、前記第2エッジがラベルの縁端であり、
前記被アライメント部材が、前記ラベルが貼着されるカートリッジであると共に、前記第1エッジが、前記ラベルが貼着される浅溝の縁端であることを特徴とする請求項1ないし3のいずれかに記載の同軸落射照明の光量設定方法。
The alignment member is a label, and the second edge is an edge of the label;
4. The device according to claim 1, wherein the member to be aligned is a cartridge to which the label is attached, and the first edge is an edge of a shallow groove to which the label is attached. A method for setting the light intensity of the coaxial epi-illumination described in the above.
前記同軸落射照明が、同軸面発光落射照明であることを特徴とする請求項4に記載の同軸落射照明の光量設定方法。   5. The method of setting the amount of light for coaxial epi-illumination according to claim 4, wherein the coaxial epi-illumination is coaxial surface-emitting epi-illumination. 請求項4または5の同軸落射照明の光量設定方法を実施すると共に、前記光量設定方法により設定された前記同軸落射照明を有する画像認識装置を用いて行うラベルの位置ズレ検査方法であって、
前記光量設定工程の後、
前記第1エッジおよび前記第2エッジを画像認識する画像認識工程と、
前記画像認識の結果、前記第1エッジおよび前記第2エッジの間隙幅が、前記許容間隙幅から外れている場合に、前記ラベルの貼着不良と判定する判定工程と、を備えたことを特徴とするラベルの位置ズレ検査方法。
A method for inspecting misalignment of a label performed by using the image recognizing apparatus having the coaxial epi-illumination set by the light-amount setting method, while performing the light amount setting method of the coaxial epi-illumination according to claim 4 or 5.
After the light quantity setting step,
An image recognition step for recognizing the first edge and the second edge;
A determination step of determining that the label is stuck when the gap width between the first edge and the second edge is out of the allowable gap width as a result of the image recognition. Label misalignment inspection method.
前記ラベルの種別変更時、および前記カートリッジの機種変更時に、前記光量設定方法を実施することを特徴とする請求項6に記載のラベルの位置ズレ検査方法。   The label displacement inspection method according to claim 6, wherein the light amount setting method is performed when the type of the label is changed and when the model of the cartridge is changed. 前記光量設定方法の前記継続認識工程において、併せて前記判定工程を実施し、
当該判定工程により貼着不良と判定された場合に、前記不能レベル取得工程、前記適性レベル算出工程および前記光量設定工程の実施を中止し、
同種の前記ラベルおよび同種の前記カートリッジである次の検査対象物に対し、前記光量設定方法を実施することを特徴とする請求項7に記載のラベルの位置ズレ検査方法。
In the continuation recognition step of the light amount setting method, the determination step is performed together,
When it is determined that the sticking is poor by the determination step, the execution of the impossibility level acquisition step, the suitability level calculation step and the light amount setting step is stopped,
The label displacement inspection method according to claim 7, wherein the light amount setting method is performed on the next inspection target which is the same type of label and the same type of cartridge.
JP2011240729A 2011-11-02 2011-11-02 Light quantity setting method of coaxial episcopic illumination and position deviation inspection method of label Pending JP2013096878A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2011240729A JP2013096878A (en) 2011-11-02 2011-11-02 Light quantity setting method of coaxial episcopic illumination and position deviation inspection method of label

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2011240729A JP2013096878A (en) 2011-11-02 2011-11-02 Light quantity setting method of coaxial episcopic illumination and position deviation inspection method of label

Publications (1)

Publication Number Publication Date
JP2013096878A true JP2013096878A (en) 2013-05-20

Family

ID=48618951

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2011240729A Pending JP2013096878A (en) 2011-11-02 2011-11-02 Light quantity setting method of coaxial episcopic illumination and position deviation inspection method of label

Country Status (1)

Country Link
JP (1) JP2013096878A (en)

Similar Documents

Publication Publication Date Title
US7193696B2 (en) Systems and methods for using light to indicate defect locations on a composite structure
JP7462648B2 (en) Digital Printing System
KR102090856B1 (en) material applicator
US10821762B2 (en) Direct thermal media and registration sensor system and method for use in a color thermal printer
CZ2010740A3 (en) Method of inspecting polarizing film
JP5776949B2 (en) Inspection method
JP2009095831A (en) Apparatus for regulating and controlling adhesive layer for coating upon production of printing product
CN108372660A (en) Method and system for being aligned in the injector for spraying transparent material in printer
JP6276809B2 (en) Substrate position detector
JP2013096878A (en) Light quantity setting method of coaxial episcopic illumination and position deviation inspection method of label
KR101086374B1 (en) Inspection apparatus
WO2014104375A1 (en) Inspection device
TW200839222A (en) Mark detecting method
JP5227246B2 (en) Glue application inspection device
JP6428554B2 (en) Inspection system, inspection method
JP5157471B2 (en) Defect inspection apparatus, defect inspection method and plate-like body manufacturing method
JP2014121727A (en) Laser machining apparatus
KR20110117371A (en) Pattern inspection device
US20140043643A1 (en) Method and device for the control and management of the printing parameters of a printing machine, particularly with a plurality of consecutive printing processes
US11345014B2 (en) Method of detecting proper orientation of material applique
US10823348B2 (en) Lighting apparatus, line sensor assembly, reading apparatus, and printing apparatus
JP2024081716A (en) Digital Printing System
CN114689590A (en) Auxiliary edge inspection device and method for automatic optical inspection machine for polarizing plate
JP2004022866A (en) Method of evaluating mount position precision of electronic component mounting apparatus, tool and dedicated substrate for position precision evaluation
JP2007112078A (en) Device/method for inspecting inkjet head nozzle

Legal Events

Date Code Title Description
RD02 Notification of acceptance of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7422

Effective date: 20130510

RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20130510