[go: up one dir, main page]

JP6983604B2 - Container mouth inspection device and container mouth inspection method - Google Patents

Container mouth inspection device and container mouth inspection method Download PDF

Info

Publication number
JP6983604B2
JP6983604B2 JP2017188664A JP2017188664A JP6983604B2 JP 6983604 B2 JP6983604 B2 JP 6983604B2 JP 2017188664 A JP2017188664 A JP 2017188664A JP 2017188664 A JP2017188664 A JP 2017188664A JP 6983604 B2 JP6983604 B2 JP 6983604B2
Authority
JP
Japan
Prior art keywords
inspection
area
image
mouth
calculation unit
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
JP2017188664A
Other languages
Japanese (ja)
Other versions
JP2019066198A (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.)
Toyo Glass Co Ltd
Original Assignee
Toyo Glass Co Ltd
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 Toyo Glass Co Ltd filed Critical Toyo Glass Co Ltd
Priority to JP2017188664A priority Critical patent/JP6983604B2/en
Publication of JP2019066198A publication Critical patent/JP2019066198A/en
Application granted granted Critical
Publication of JP6983604B2 publication Critical patent/JP6983604B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Length Measuring Devices By Optical Means (AREA)
  • Investigating Materials By The Use Of Optical Means Adapted For Particular Applications (AREA)

Description

本発明は、ガラスびんの口部の欠点の有無を検査する容器口部検査装置及び容器口部検査方法に関する。 The present invention relates to a container mouth inspection device for inspecting the presence or absence of defects in the mouth of a glass bottle and a container mouth inspection method.

ガラスびんは、口部の天面において、天筋と呼ばれる欠点が稀に発生する場合がある。天面は、口部の上端の環状の平坦な面であり、蓋(スクリュウキャップ)内面に密着することでシールされ、ガラスびんの気密性を確保する。天筋は、口部の天面に形成された極めて細い溝ではあるがガラスびんでは欠点となる。 Glass bottles may rarely have defects called celestial streaks on the top surface of the mouth. The top surface is an annular flat surface at the upper end of the mouth, which is sealed by being in close contact with the inner surface of the lid (screw cap) to ensure the airtightness of the glass bottle. The celestial streak is an extremely narrow groove formed on the top surface of the mouth, but it is a drawback in glass bottles.

このようなガラスびんの口部の欠点の有無を検査する容器口部欠陥検査方法及び装置が提案されている(特許文献1)。この方法及び装置によれば、口部の天面に検査領域(検査ゲート)を的確に作成することにより、天面の天筋だけではなく、天泡の検査も精度よく行うことができるものとしている。 A container mouth defect inspection method and device for inspecting the presence or absence of defects in the mouth of such a glass bottle have been proposed (Patent Document 1). According to this method and device, by accurately creating an inspection area (inspection gate) on the top surface of the mouth, it is possible to accurately inspect not only the heavenly streaks on the top surface but also the heavenly bubbles. There is.

一方、ガラスびんの天面に割型によって形成される合わせ目部が形成されるガラスびんが存在する。合わせ目部は、金型の状態によって、天面の検査画像において、口部の内周面から外周面に延びるラインとして認識される場合がある。合わせ目部は、欠点ではなく、天面と蓋とのシール性を阻害することはないが、合わせ目部も天筋も検査画像では輝度の低い暗い部分として表れるため判別が困難である。そのため、天面に合わせ目部を有するガラスびんの検査においては、検査感度を上げると合わせ目部のラインも欠点として認識することになるため検査感度を上げることができず、溝の深さが比較的浅い天筋を欠点として検出することができない。すなわち、検査感度を上げると良品を排除する可能性が高くなるため、検査感度を上げることができなかった。 On the other hand, there is a glass bottle in which a seam formed by a split mold is formed on the top surface of the glass bottle. Depending on the state of the mold, the seam portion may be recognized as a line extending from the inner peripheral surface of the mouth portion to the outer peripheral surface in the inspection image of the top surface. The seam portion is not a defect and does not hinder the sealing property between the top surface and the lid, but it is difficult to distinguish the seam portion and the celestial streak because they appear as dark parts with low brightness in the inspection image. Therefore, in the inspection of a glass bottle having a seam on the top surface, if the inspection sensitivity is increased, the line of the seam is also recognized as a defect, so that the inspection sensitivity cannot be increased and the depth of the groove is increased. Relatively shallow celestial muscles cannot be detected as a defect. That is, if the inspection sensitivity is increased, there is a high possibility that non-defective products will be excluded, so that the inspection sensitivity could not be increased.

特許第4667457号公報Japanese Patent No. 4667457

本発明は、口部の天面に合わせ目部を有するガラスびんについて口部の天面における欠点の有無を判定することができる容器口部検査装置及び容器口部検査方法を提供することを目的とする。 It is an object of the present invention to provide a container mouth inspection device and a container mouth inspection method capable of determining the presence or absence of defects on the top surface of a glass bottle having a seam on the top surface of the mouth. And.

本発明は上述の課題の少なくとも一部を解決するためになされたものであり、以下の態様または適用例として実現することができる。 The present invention has been made to solve at least a part of the above-mentioned problems, and can be realized as the following aspects or application examples.

[適用例1]
本適用例に係る容器口部検査装置は、
口部に蓋を固定するためのねじ部を有するガラスびんを撮像して、天面とねじ切り始め部を含む前記口部の全周の画像に基づいて欠点の有無を判定する容器口部検査装置であって、
前記画像を処理する演算部を含み、
前記演算部は、
前記画像から予め設定された輝度に基づいて前記ねじ切り始め部を検出し、
前記画像の前記口部の前記天面に、前記ねじ切り始め部からの距離に基づいて合わせ目部を含む2つの第1検査領域と、2つの前記第1検査領域に挟まれる2つの第2検査領域とを設定し、
前記第1検査領域について、前記合わせ目部以外の所定輝度未満の暗い部分を前記欠点として判定し、
前記第1検査領域は、前記合わせ目部の前後に所定の幅を設けて設定され、
前記第2検査領域は、前記第1検査領域の面積よりも広い面積を有し、かつ、前記第1検査領域よりも高い検査精度で検査し、
前記所定輝度の値は、予め実験によりガラスびんの種類により設定されることを特徴とする。
[Application example 1]
The container mouth inspection device according to this application example is
A container mouth inspection device that images a glass bottle having a threaded portion for fixing the lid to the mouth and determines the presence or absence of defects based on the image of the entire circumference of the mouth including the top surface and the thread cutting start portion. And
Includes a calculation unit that processes the image
The calculation unit
The thread cutting start portion is detected from the image based on the preset brightness, and the thread cutting start portion is detected.
The top surface of the mouth portion of the image, and two first inspection region including the seam portion based on a distance from the threaded start part, two second test sandwiched between two of the first inspection region Set the area and
With respect to the first inspection region, a dark portion other than the seam portion having a predetermined brightness or less is determined as the defect.
The first inspection area is set with a predetermined width before and after the seam portion.
The second inspection area has an area larger than the area of the first inspection area and is inspected with a higher inspection accuracy than the first inspection area.
The value of the predetermined luminance is characterized Rukoto set by the type of glass bottles by experiment.

本適用例によれば、合わせ目部の無い第2検査領域については第1検査領域に比べて高い検査感度で検査をすることができるため、従来よりも高い精度で天面における欠点の有無を判定することができる。また、本適用例によれば、画像に第1検査領域と第2検査領域とを設定することにより、第1検査領域と第2検査領域とで異なる検査を行うことができる。また、本適用例によれば、合わせ目部とねじ切り始め部との位置関係は同種の容器であれば同じになるため、ねじ切り始め部を検出することで合わせ目部のある第1検査領域を精度よく設定することができる。 According to this application example, the second inspection area without a seam can be inspected with higher inspection sensitivity than the first inspection area, so that the presence or absence of defects on the top surface can be checked with higher accuracy than before. It can be determined. Further, according to this application example, by setting the first inspection region and the second inspection region on the image, different inspections can be performed in the first inspection region and the second inspection region. Further, according to this application example, the positional relationship between the seam portion and the thread cutting start portion is the same if the container is of the same type. Therefore, by detecting the thread cutting start portion, the first inspection area having the seam portion can be obtained. It can be set accurately.

[適用例]
上記適用例に係る容器口部検査装置において、
前記演算部は、前記第1検査領域における所定輝度未満の暗い部分の面積の合計値が前記合わせ目部として検出される所定輝度未満の暗い部分の面積を超える場合に、前記欠点があると判定することができる。
[Application example 2 ]
In the container mouth inspection device according to the above application example,
The calculation unit determines that there is a defect when the total value of the area of the dark portion having less than the predetermined brightness in the first inspection region exceeds the area of the dark portion having less than the predetermined brightness detected as the seam portion. can do.

本適用例によれば、第1検査領域に合わせ目部が検出される場合でも欠点を精度よく判定することができる。 According to this application example, even when the seam portion is detected in the first inspection area, the defect can be accurately determined.

[適用例]
上記適用例に係る容器口部検査装置において、
前記演算部は、
前記第1検査領域における暗い部分に前記ガラスびんの回転方向でエッジ処理を施して曲線を抽出し、
前記曲線の長さ及び前記曲線の前記回転方向における幅によって前記欠点の有無を判定し、
前記長さと前記幅によって前記欠点が無いと判定した場合に、前記曲線の本数によって前記欠点の有無を判定することができる。
[Application example 3 ]
In the container mouth inspection device according to the above application example,
The calculation unit
The dark portion in the first inspection region is edge-treated in the rotation direction of the glass bottle to extract a curve.
The presence or absence of the defect is determined by the length of the curve and the width of the curve in the rotation direction.
When it is determined that there is no defect by the length and the width, the presence or absence of the defect can be determined by the number of curves.

本適用例によれば、第1検査領域に合わせ目部が検出される場合でも欠点を精度よく判定することができる。 According to this application example, even when the seam portion is detected in the first inspection area, the defect can be accurately determined.

[適用例]
上記適用例に係る容器口部検査装置において、
回転するガラスびんの口部の天面に光を照射する第1発光部と、
前記口部のねじ切り始め部に光を照射する第2発光部と、
前記口部から反射した光を撮像する撮像部と、
をさらに含み、
前記演算部は、前記撮像部で撮像された前記画像を処理することができる。
[Application example 4 ]
In the container mouth inspection device according to the above application example,
The first light emitting part that irradiates the top surface of the mouth of the rotating glass bottle with light,
A second light emitting part that irradiates the beginning of thread cutting of the mouth part with light,
An imaging unit that captures the light reflected from the mouth and
Including
The calculation unit can process the image captured by the image pickup unit.

本適用例によれば、天面を撮像するための光源の他にねじ切り始め部を撮像するための第2発光部を含むことで、ねじ切り始め部の位置を把握することができる。 According to this application example, the position of the thread cutting start portion can be grasped by including the second light emitting portion for imaging the thread cutting start portion in addition to the light source for imaging the top surface.

[適用例]
本適用例に係る容器口部検査方法は、
口部に蓋を固定するためのねじ部を有するガラスびんを回転して天面とねじ切り始め部とを含む画像を撮像する撮像工程と、
前記画像から前記ねじ切り始め部を検出する検出工程と、
前記ガラスびんの前記口部の全周の前記天面の前記画像に、前記検出工程で検出された前記ねじ切り始め部からの距離に基づいて、合わせ目部を含む2つの第1検査領域と、2つの前記第1検査領域に挟まれる2つの第2検査領域とを設定する設定工程と、
前記第1検査領域について、前記合わせ目部以外の所定輝度未満の暗い部分を欠点として判定する判定工程と、
を含み、
前記第1検査領域は、前記合わせ目部の前後に所定の幅を設けて設定され、
前記第2検査領域は、前記第1検査領域の面積よりも広い面積を有し、かつ、前記第1検査領域よりも高い検査精度で検査し、
前記所定輝度の値は、予め実験によりガラスびんの種類により設定されることを特徴とする。
[Application example 5 ]
The container mouth inspection method according to this application example is
An imaging process in which a glass bottle having a screw portion for fixing a lid to a mouth portion is rotated to capture an image including a top surface and a thread cutting start portion.
A detection step for detecting the thread cutting start portion from the image, and
The image of the top surface of the entire circumference of the mouth portion of the glass bottle, based on the distance from the threaded beginning portion detected in the detection step, the two first inspection region including a joint portion, A setting step for setting two second inspection areas sandwiched between the two first inspection areas, and
With respect to the first inspection region, a determination step of determining a dark portion other than the seam portion having a predetermined brightness as a defect, and a determination step.
Only including,
The first inspection area is set with a predetermined width before and after the seam portion.
The second inspection area has an area larger than the area of the first inspection area and is inspected with a higher inspection accuracy than the first inspection area.
The predetermined brightness value is characterized in that it is set in advance by an experiment according to the type of glass bottle.

本適用例によれば、合わせ目部の無い第2検査領域については第1検査領域に比べて高い検査感度で検査をすることができるため、従来よりも高い精度で天面における欠点の有無を判定することができる。また、本適用例によれば、画像に第1検査領域と第2検査領域とを設定することにより、第1検査領域と第2検査領域とで異なる検査を行うことができる。また、本適用例によれば、合わせ目部とねじ切り始め部との位置関係は同種の容器であれば同じになるため、ねじ切り始め部を検出することで合わせ目部のある第1検査領域を精度よく設定することができる。 According to this application example, the second inspection area without a seam can be inspected with higher inspection sensitivity than the first inspection area, so that the presence or absence of defects on the top surface can be checked with higher accuracy than before. It can be determined. Further, according to this application example, by setting the first inspection region and the second inspection region on the image, different inspections can be performed in the first inspection region and the second inspection region. Further, according to this application example, the positional relationship between the seam portion and the thread cutting start portion is the same if the container is of the same type. Therefore, by detecting the thread cutting start portion, the first inspection area having the seam portion can be obtained. It can be set accurately.

本発明は、口部の天面に合わせ目部を有するガラスびんについて口部の天面における欠点の有無を判定することができる容器口部検査装置及び容器口部検査方法を提供することができる。 The present invention can provide a container mouth inspection device and a container mouth inspection method capable of determining the presence or absence of defects on the top surface of a glass bottle having a seam on the top surface of the mouth. ..

本実施の形態に係る容器口部検査装置の構成を示す側面図である。It is a side view which shows the structure of the container mouth part inspection apparatus which concerns on this embodiment. 容器口部検査装置の各部の配置を示す平面図である。It is a top view which shows the arrangement of each part of a container mouth part inspection apparatus. 口部の一部を断面で示す斜視図である。It is a perspective view which shows a part of the mouth part in the cross section. 口部の平面図である。It is a top view of the mouth. 画像を示す図である。It is a figure which shows the image. 曲線を示す図である。It is a figure which shows the curve. 容器口部検査装置の全体フローチャートである。It is the whole flow chart of the container mouth inspection apparatus. 第1検査領域及び第2検査領域を設定するフローチャートである。It is a flowchart which sets the 1st inspection area and the 2nd inspection area. 第1検査領域を検査するフローチャートである。It is a flowchart which inspects a 1st inspection area. 第2検査領域を検査するフローチャートである。It is a flowchart which inspects a 2nd inspection area.

以下、本発明の好適な実施形態について、図面を用いて詳細に説明する。なお、以下に説明する実施形態は、請求の範囲に記載された本発明の内容を不当に限定するものではない。また、以下で説明される構成の全てが本発明の必須構成要件であるとは限らない。 Hereinafter, preferred embodiments of the present invention will be described in detail with reference to the drawings. The embodiments described below do not unreasonably limit the contents of the present invention described in the claims. Moreover, not all of the configurations described below are essential constituent requirements of the present invention.

本実施形態に係る容器口部検査装置は、口部に蓋を固定するためのねじ部を有するガラスびんを撮像して、天面とねじ切り始め部を含む前記口部の全周の画像に基づいて欠点の有無を判定する容器口部検査装置であって、前記画像を処理する演算部を含み、前記演算部は、前記画像から予め設定された輝度に基づいて前記ねじ切り始め部を検出し、前記画像の前記口部の前記天面に、前記ねじ切り始め部からの距離に基づいて合わせ目部を含む2つの第1検査領域と、2つの前記第1検査領域に挟まれる2つの第2検査領域とを設定し、前記第1検査領域について、前記合わせ目部以外の所定輝度未満の暗い部分を前記欠点として判定し、前記第1検査領域は、前記合わせ目部の前後に所定の幅を設けて設定され、前記第2検査領域は、前記第1検査領域の面積よりも広い面積を有し、かつ、前記第1検査領域よりも高い検査精度で検査し、前記所定輝度の値は、予め実験によりガラスびんの種類により設定されることを特徴とする。 The container mouth inspection device according to the present embodiment takes an image of a glass bottle having a screw portion for fixing a lid to the mouth portion, and is based on an image of the entire circumference of the mouth portion including the top surface and the thread cutting start portion. It is a container mouth inspection device for determining the presence or absence of defects, and includes a calculation unit that processes the image, and the calculation unit detects the thread cutting start portion based on a preset brightness from the image. the top surface of the mouth portion of the image, and two first inspection region including the seam portion based on a distance from the threaded start part, two second test sandwiched between two of the first inspection region A region is set, and for the first inspection region, a dark portion other than the seam portion having a brightness lower than the predetermined brightness is determined as the defect, and the first inspection region has a predetermined width before and after the seam portion. The second inspection area is provided and set, has an area wider than the area of the first inspection area, and is inspected with higher inspection accuracy than the first inspection area, and the value of the predetermined brightness is set. previously set by the type of glass bottles by experiments wherein Rukoto.

本実施形態に係る容器口部検査方法は、口部に蓋を固定するためのねじ部を有するガラスびんを回転して天面とねじ切り始め部とを含む画像を撮像する撮像工程と、前記画像から前記ねじ切り始め部を検出する検出工程と、前記ガラスびんの前記口部の全周の前記天面の前記画像に、前記検出工程で検出された前記ねじ切り始め部からの距離に基づいて、合わせ目部を含む2つの第1検査領域と、2つの前記第1検査領域に挟まれる2つの第2検査領域とを設定する設定工程と、前記第1検査領域について、前記合わせ目部以外の所定輝度未満の暗い部分を欠点として判定する判定工程と、を含み、前記第1検査領域は、前記合わせ目部の前後に所定の幅を設けて設定され、前記第2検査領域は、前記第1検査領域の面積よりも広い面積を有し、かつ、前記第1検査領域よりも高い検査精度で検査し、前記所定輝度の値は、予め実験によりガラスびんの種類により設定されることを特徴とする。 The container mouth inspection method according to the present embodiment includes an imaging step of rotating a glass bottle having a screw portion for fixing a lid to the mouth to capture an image including a top surface and a thread cutting start portion, and the image. a detection step of detecting said threading start portion from the image of the top surface of the entire circumference of the mouth portion of the glass bottle, based on the distance from the threaded beginning portion detected in the detection step, combined A setting step for setting two first inspection regions including the eye portion and two second inspection regions sandwiched between the two first inspection regions, and a predetermined portion other than the seam portion for the first inspection region. seen including a determining step in dark portions of less than luminance as disadvantages, a first inspection region is set with a predetermined width before and after the seam portion, the second inspection region, the first It has an area larger than the area of one inspection area and is inspected with a higher inspection accuracy than the first inspection area, and the value of the predetermined brightness is set in advance by an experiment according to the type of glass bottle. And.

1.容器口部検査装置
図1〜図5を用いて容器口部検査装置10について、説明する。図1は本実施の形態に係る容器口部検査装置10の構成を示す側面図であり、図2は容器口部検査装置10の各部の配置を示す平面図であり、図3は口部82の一部を断面で示す斜視図であり、図4は口部82の平面図であり、図5は画像50を示す図であり、図6は天筋85を示す図である。検査対象となる容器はガラスびん80である。
1. 1. Container mouth inspection device The container mouth inspection device 10 will be described with reference to FIGS. 1 to 5. FIG. 1 is a side view showing the configuration of the container mouth inspection device 10 according to the present embodiment, FIG. 2 is a plan view showing the arrangement of each part of the container mouth inspection device 10, and FIG. 3 is a plan view showing the arrangement of each part of the container mouth inspection device 10. FIG. 4 is a perspective view showing a part of the above in a cross section, FIG. 4 is a plan view of the mouth portion 82, FIG. 5 is a view showing an image 50, and FIG. 6 is a view showing a celestial streak 85. The container to be inspected is a glass bottle 80.

図1〜図5に示すように、容器口部検査装置10は、ガラスびん80の口部82の全周の画像50に基づいて欠点の有無を判定する装置であって、少なくとも画像50を処理する演算部22を含む。 As shown in FIGS. 1 to 5, the container mouth inspection device 10 is a device for determining the presence or absence of defects based on the image 50 of the entire circumference of the mouth 82 of the glass bottle 80, and processes at least the image 50. The arithmetic unit 22 is included.

図1に示すように、容器口部検査装置10は、回転するガラスびん80の口部82の天面84に光を照射する第1発光部30と、口部82のねじ切り始め部86に光を照射する第2発光部32と、口部82から反射した光を撮像する撮像部40と、撮像部40で撮像された画像50(図5)を処理する演算部22と、を含む。 As shown in FIG. 1, the container mouth inspection device 10 emits light to the first light emitting portion 30 that irradiates the top surface 84 of the mouth 82 of the rotating glass bottle 80 and the thread cutting start portion 86 of the mouth 82. It includes a second light emitting unit 32 that irradiates the light, an imaging unit 40 that captures the light reflected from the mouth 82, and a calculation unit 22 that processes the image 50 (FIG. 5) captured by the imaging unit 40.

回転台12は、ガラスびん80を中心軸81の周りに回転させながら支持する。中心軸81は、鉛直方向に延びるガラスびん80の中心軸であると共に、回転台12の回転の中心でもある。回転台12は、電動のモータ14により直接的にまたは間接的に設定速度で回転する。モータ14の回転開始、回転速度、回転終了などの制御は、図示しない制御装置、例えばガラスびん80を容器口部検査装置10へ搬送する搬送装置の全体を制御する制御装置で行うことができる。モータ14によるガラスびん80の回転機構は、他の公知の機構例えばガラスびん80の胴部に接触するサイドローラをモータ14で回転する機構などを用いることができる。 The rotary table 12 supports the glass bottle 80 while rotating it around the central shaft 81. The central axis 81 is the central axis of the glass bottle 80 extending in the vertical direction and is also the center of rotation of the rotary table 12. The rotary table 12 is directly or indirectly rotated at a set speed by an electric motor 14. Control of the rotation start, rotation speed, rotation end, etc. of the motor 14 can be performed by a control device (not shown), for example, a control device that controls the entire transfer device for transporting the glass bottle 80 to the container mouth inspection device 10. As the rotation mechanism of the glass bottle 80 by the motor 14, another known mechanism such as a mechanism in which the side roller in contact with the body of the glass bottle 80 is rotated by the motor 14 can be used.

モータ14にはロータリエンコーダであるエンコーダ16が取り付けられており、エンコーダ16はモータ14によるガラスびん80の回転の変位量を検出し、コンピュータ20へ変位量の信号を出力する。エンコーダ16は、ガラスびん80の回転の変位量を正確に測定できればよく、モータ14以外の部分例えば回転台12に取り付けられてもよい。 An encoder 16 which is a rotary encoder is attached to the motor 14, and the encoder 16 detects the displacement amount of the rotation of the glass bottle 80 by the motor 14 and outputs a signal of the displacement amount to the computer 20. The encoder 16 may be attached to a portion other than the motor 14, for example, a rotary table 12, as long as the amount of rotational displacement of the glass bottle 80 can be accurately measured.

コンピュータ20は、容器口部検査装置10の演算及び制御を行う装置であり、装置構成として、演算及び制御を行うCPU、メモリ(RAM,ROM)、外部記憶装置、モニタ、キーボード、マウス及びインターフェースを含む。 The computer 20 is a device that performs calculation and control of the container mouth inspection device 10, and as a device configuration, includes a CPU, a memory (RAM, ROM), an external storage device, a monitor, a keyboard, a mouse, and an interface that perform calculation and control. include.

また、コンピュータ20は、機能構成として、少なくとも演算部22と記憶部24とを含む。コンピュータ20にディスプレイなどの表示装置や公知の入力装置が接続されてもよい。コンピュータ20は、ガラスびん80の搬送装置全体を制御する図示しない制御装置に接続され、演算部22の演算結果を制御装置に出力する。 Further, the computer 20 includes at least a calculation unit 22 and a storage unit 24 as a functional configuration. A display device such as a display or a known input device may be connected to the computer 20. The computer 20 is connected to a control device (not shown) that controls the entire transfer device of the glass bottle 80, and outputs the calculation result of the calculation unit 22 to the control device.

演算部22は、記憶部24から取り出したプログラム、データ等や撮像部40から取り込んだデータ等を用いて予め設定された演算を行う。 The calculation unit 22 performs preset calculations using programs, data, etc. taken out from the storage unit 24, data taken in from the image pickup unit 40, and the like.

図1におけるガラスびん80の検査位置は、図示しない各種検査装置における搬送停止位置の一つにある。回転台12上に支持されて搬送されるガラスびん80は、図1の検査位置まで搬送されてくると、中心軸81を中心に1.2回転以上する。検査が終了すると回転台12に支持されたままガラスびん80は検査位置から搬出され、次のガラスびん80が搬入される。ガラスびん80は検査位置に順次間欠搬送される。 The inspection position of the glass bottle 80 in FIG. 1 is one of the transport stop positions in various inspection devices (not shown). When the glass bottle 80 supported and transported on the rotary table 12 is transported to the inspection position shown in FIG. 1, it rotates 1.2 times or more around the central shaft 81. When the inspection is completed, the glass bottle 80 is carried out from the inspection position while being supported by the rotary table 12, and the next glass bottle 80 is carried in. The glass bottle 80 is sequentially intermittently transported to the inspection position.

1−1.検査対象
図1及び図2に示すように、容器口部検査装置10の検査対象は、回転台12上に配置されてモータ14により回転するガラスびん80の口部82である。口部82は、図示しない蓋の内面(パッキン)と密着して液密にシールする天面84と、蓋を口部82に固定するためのねじ部87と、を含む。特に天面84には天筋85と呼ばれる溝状の欠点が発生することがある。本実施の形態において欠点とは「天筋85」を意味する。なお、容器口部検査装置10では天筋85以外の欠点の有無も検査することができるが、ここでの説明は省略する。
1-1. Inspection target As shown in FIGS. 1 and 2, the inspection target of the container mouth inspection device 10 is the mouth 82 of the glass bottle 80 arranged on the rotary table 12 and rotated by the motor 14. The mouth portion 82 includes a top surface 84 that is in close contact with the inner surface (packing) of the lid (not shown) and seals liquid-tightly, and a screw portion 87 for fixing the lid to the mouth portion 82. In particular, the top surface 84 may have a groove-shaped defect called a heavenly streak 85. In the present embodiment, the defect means "heavenly muscle 85". The container mouth inspection device 10 can also inspect the presence or absence of defects other than the celestial bar 85, but the description thereof is omitted here.

図2に示すように、天面84は、口部82の上端に形成された平坦な円環状の部分である。天面84には、中心軸81に点対象の位置に、割型の合わせ目により形成される合わせ目部83が撮像された画像上に暗い影として表れることがある。合わせ目部83は、口部82を成形する割型のいわゆるパーティングラインである。合わせ目部83は、蓋と天面84とのシールに影響することはないが、後述する画像50(図5)では欠点である天筋85と同様に直線状の暗い影の部分となって表れるため、合わせ目部83と天筋85とを判別しなければならない。 As shown in FIG. 2, the top surface 84 is a flat annular portion formed at the upper end of the mouth portion 82. On the top surface 84, a seam portion 83 formed by a split-shaped seam may appear as a dark shadow on an image captured at a position symmetrical to a point on the central axis 81. The seam portion 83 is a split-type so-called parting line that forms the mouth portion 82. The seam portion 83 does not affect the seal between the lid and the top surface 84, but becomes a linear dark shadow portion similar to the heavenly streak 85, which is a defect in the image 50 (FIG. 5) described later. Since it appears, it is necessary to distinguish between the seam portion 83 and the celestial streak 85.

ねじ部87は、口部82の外周面に突出して設けられる突条であり、図示しない蓋の内周面の螺旋状の溝と合わされて蓋を固定する。ねじ切り始め部86は、図1に示すように、ねじ部87の上側の端部である。ねじ切り始め部86は、図2に示すように、口部82の側面から徐々に突出してねじ部87の高さを有するように形成される。ねじ切り始め部86と合わせ目部83との口部82における位置関係は、双方とも同じ金型によって形成されるものであるため、常に同じである。なお、図2ではねじ部87は略半周だけ示し、残りは省略している。 The threaded portion 87 is a protrusion provided on the outer peripheral surface of the mouth portion 82, and is fitted with a spiral groove on the inner peripheral surface of the lid (not shown) to fix the lid. As shown in FIG. 1, the thread cutting start portion 86 is an upper end portion of the thread portion 87. As shown in FIG. 2, the thread cutting start portion 86 is formed so as to gradually project from the side surface of the mouth portion 82 and have the height of the thread portion 87. The positional relationship between the thread cutting start portion 86 and the seam portion 83 at the mouth portion 82 is always the same because both are formed by the same mold. In FIG. 2, the screw portion 87 is shown only about half a circumference, and the rest is omitted.

図3には、合わせ目部83と天筋85とねじ切り始め部86を示しているが、説明のしやすさの都合上、図2の合わせ目部83と天筋85とねじ切り始め部86との位置関係は異なっている。図3に示すように、ねじ切り始め部86は口部82の側面から水平方向に突出し、天筋85は天面84に溝として形成され、合わせ目部83も天面84に形成される。 FIG. 3 shows the seam portion 83, the heaven bar 85, and the thread cutting start portion 86, but for the sake of ease of explanation, the seam portion 83, the heaven bar 85, and the thread cutting start portion 86 in FIG. 2 are shown. The positional relationship of is different. As shown in FIG. 3, the thread cutting start portion 86 protrudes horizontally from the side surface of the mouth portion 82, the heaven streak 85 is formed as a groove on the top surface 84, and the seam portion 83 is also formed on the top surface 84.

1−2.第1発光部及び第2発光部
図1に示すように、第1発光部30は、ガラスびん80の上方に配置され、天面84に対して光を照射する。第1発光部30が照射する天面84の範囲は、例えば図2において破線で囲んだ四角い範囲(撮像部40で撮像されるライン)である。ガラスびん80がガラスびん80の中心軸81の周りを回転することで、第1発光部30は天面84の全周を照らすことができる。第1発光部30から出射された光は、天面84に正反射して、撮像部40で受光される。
1-2. First light emitting unit and second light emitting unit As shown in FIG. 1, the first light emitting unit 30 is arranged above the glass bottle 80 and irradiates the top surface 84 with light. The range of the top surface 84 irradiated by the first light emitting unit 30 is, for example, a square area surrounded by a broken line in FIG. 2 (a line imaged by the image pickup unit 40). By rotating the glass bottle 80 around the central axis 81 of the glass bottle 80, the first light emitting unit 30 can illuminate the entire circumference of the top surface 84. The light emitted from the first light emitting unit 30 is specularly reflected on the top surface 84 and received by the image pickup unit 40.

第2発光部32は、ガラスびん80の口部82を略水平方向から照射する。第2発光部
32は、ねじ切り始め部86のある口部82の所定高さ位置を照射するように設定され、ガラスびん80が回転することで、口部82の所定高さ位置の全周を照らすことができる。天面84を撮像するための第1発光部30の他にねじ切り始め部86を撮像するための第2発光部32を含むことで、ねじ切り始め部86の位置を容易に把握することができる。
The second light emitting unit 32 irradiates the mouth portion 82 of the glass bottle 80 from a substantially horizontal direction. The second light emitting unit 32 is set to irradiate a predetermined height position of the mouth portion 82 having the thread cutting start portion 86, and the glass bottle 80 rotates to cover the entire circumference of the predetermined height position of the mouth portion 82. Can illuminate. By including the second light emitting unit 32 for imaging the thread cutting start portion 86 in addition to the first light emitting unit 30 for imaging the top surface 84, the position of the thread cutting start portion 86 can be easily grasped.

第2発光部32は、第2発光部32から出射された光の中心線(光軸)が、水平面に対する仰角θ1(図1)が3度〜8度の範囲に設定することができる。また、第2発光部32は、平面視において、第2発光部32から出射された光の中心線(光軸)とその光がねじ切り始め部86に反射して撮像部40へ向かう光の中心軸81とが成す振り角θ2(図2)が120度〜140度の範囲に設定することができる。 The second light emitting unit 32 can be set so that the center line (optical axis) of the light emitted from the second light emitting unit 32 has an elevation angle θ1 (FIG. 1) with respect to the horizontal plane in the range of 3 to 8 degrees. Further, in the plan view, the second light emitting unit 32 has a center line (optical axis) of the light emitted from the second light emitting unit 32 and the center of the light reflected by the thread cutting start portion 86 toward the image pickup unit 40. The swing angle θ2 (FIG. 2) formed by the shaft 81 can be set in the range of 120 degrees to 140 degrees.

第1発光部30及び第2発光部32は、例えば複数の白色LEDを光源とし、白色LEDの光をフレネルレンズ等により口部82の所定範囲に集光する。 The first light emitting unit 30 and the second light emitting unit 32 use, for example, a plurality of white LEDs as light sources, and collect the light of the white LEDs in a predetermined range of the mouth portion 82 by a Fresnel lens or the like.

1−3.撮像部
図1及び図2に示すように、撮像部40は、ガラスびん80の略上方であって、第1発光部30から出射される光がガラスびん80の天面84で正反射して受光できる位置に配置される。撮像部40は、ガラスびん80の少なくとも検査対象部分である天面84の一部及びねじ切り始め部86が視野(図2の破線の枠)内に入るように配置され、ガラスびん80の回転により、天面84の全周(例えば1.2周分)の画像50(図5)が撮像できる。
1-3. Imaging unit As shown in FIGS. 1 and 2, the imaging unit 40 is substantially above the glass bottle 80, and the light emitted from the first light emitting unit 30 is specularly reflected by the top surface 84 of the glass bottle 80. It is placed in a position where it can receive light. The image pickup unit 40 is arranged so that at least a part of the top surface 84, which is the inspection target portion of the glass bottle 80, and the thread cutting start portion 86 are in the field of view (frame of the broken line in FIG. 2), and the rotation of the glass bottle 80 causes the image pickup unit 40 to be arranged. Image 50 (FIG. 5) of the entire circumference (for example, 1.2 laps) of the top surface 84 can be captured.

撮像部40は、天面84で反射した第1発光部30の光によって天筋85が判定可能な画像50(図5)を撮像することができる。本実施形態では天筋85を欠点としているが、他の欠点である天泡(天面84に見える気泡)、天咬み出し(天面84の一部が上方にはみ出した欠点)などを対象として天筋85と共に検査をすることもできる。撮像部40は、多数のセンサが一列に並ぶ公知のラインセンサカメラを用いることができる。ラインセンサとしては、CCD型イメージセンサやCMOS型のイメージセンサなどを用いることができる。 The image pickup unit 40 can take an image 50 (FIG. 5) in which the celestial streak 85 can be determined by the light of the first light emitting unit 30 reflected by the top surface 84. In this embodiment, the heavenly streak 85 is a defect, but other defects such as heavenly bubbles (bubbles visible on the top surface 84) and heavenly bite (a defect that a part of the top surface 84 protrudes upward) are targeted. It can also be inspected with the celestial muscle 85. As the image pickup unit 40, a known line sensor camera in which a large number of sensors are lined up in a row can be used. As the line sensor, a CCD type image sensor, a CMOS type image sensor, or the like can be used.

図3に示すように、撮像部40は一列分のライン画像52をガラスびん80の回転に合わせて複数回撮像する。撮像部40で撮像されたライン画像52を記憶部24が記憶し、演算部22がライン画像52を連結することで連続した画像50(図5)を作成する。ガラスびん80の回転の変位量はエンコーダ16からコンピュータ20に出力されているので、ガラスびん80がライン画像52の一列分回転する度に、コンピュータ20が撮像部40に撮像指令を出力する。図3の上方のグラフのように、ライン画像52からラインセンサの素子配列に沿って画像の輝度を電圧値として認識することができる。 As shown in FIG. 3, the imaging unit 40 captures a row of line images 52 a plurality of times in accordance with the rotation of the glass bottle 80. The storage unit 24 stores the line image 52 captured by the image pickup unit 40, and the calculation unit 22 connects the line images 52 to create a continuous image 50 (FIG. 5). Since the displacement amount of rotation of the glass bottle 80 is output from the encoder 16 to the computer 20, the computer 20 outputs an image pickup command to the image pickup unit 40 each time the glass bottle 80 is rotated by one row of the line image 52. As shown in the upper graph of FIG. 3, the brightness of the image can be recognized as a voltage value from the line image 52 along the element arrangement of the line sensor.

ライン画像52には、ねじ切り始め部86が撮像されるねじ切りはじめ部検出領域53と、天面84の全幅が撮像される天面検査領域54とが含まれる。 The line image 52 includes a thread cutting start portion detection region 53 in which the thread cutting start portion 86 is imaged, and a top surface inspection region 54 in which the entire width of the top surface 84 is imaged.

1−4.演算部
図3に示すように、演算部22は、ライン画像52の電圧値(輝度に対応する)から全てのライン画像52における各検査領域(検査ゲートと呼ぶことがある)を算出する。ここでは、電圧値がEL以上となったGEから所定の幅OFS1を隔てたGE1SとGE1Sから所定の幅WID1を隔てたGE1Eとの間が天面検査領域54であり、また、GEから所定の幅OFS2を隔てたGE2SとGE2Sから所定の幅WID2を隔てたGE2Eとの間がねじ切りはじめ部検出領域53である。なお、ここでは説明しないが、ライン画像52には他の検出領域や検査領域(検査ゲート)を作成してもよい。
1-4. Calculation unit As shown in FIG. 3, the calculation unit 22 calculates each inspection area (sometimes referred to as an inspection gate) in all the line images 52 from the voltage value (corresponding to the luminance) of the line image 52. Here, the top surface inspection region 54 is between the GE1S having a predetermined width OFS1 separated from the GE whose voltage value is EL or more and the GE1E having a predetermined width WID1 separated from the GE1S, and is also predetermined from the GE. The thread cutting start portion detection region 53 is between the GE2S separated by the width OFS2 and the GE2E separated by the predetermined width WID2 from the GE2S. Although not described here, another detection area or inspection area (inspection gate) may be created in the line image 52.

演算部22は、ねじ切りはじめ部検出領域53及び天面検査領域54が作成された全てのライン画像52(図3及び図4)を撮像された順に並べて天面84の全周を表す図5に示す画像50を作成する。全てのライン画像52にねじ切りはじめ部検出領域53及び天面検査領域54を作成しておくことで、例えばガラスびん80の揺れによって各ライン画像52におけるねじ切りはじめ部検出領域53及び天面検査領域54の位置が変化しても、検査領域ごとに目的の検査を実行することができる。 In FIG. 5, the calculation unit 22 arranges all the line images 52 (FIGS. 3 and 4) in which the thread cutting start portion detection region 53 and the top surface inspection region 54 are created in the order in which they are imaged, and shows the entire circumference of the top surface 84. The image 50 shown is created. By creating the thread cutting start part detection area 53 and the top surface inspection area 54 in all the line images 52, for example, the thread cutting start part detection area 53 and the top surface inspection area 54 in each line image 52 due to the shaking of the glass bottle 80. Even if the position of is changed, the desired inspection can be performed for each inspection area.

図4及び図5に示すように、演算部22は、画像50の口部82の天面84に、合わせ目部83を含む2つの第1検査領域55と、2つの第1検査領域55に挟まれる2つの第2検査領域56とを設定する。合わせ目部83の無い第2検査領域56については第1検査領域55に比べて高い検査感度で検査をすることができるため、従来よりも高い精度で天面84における欠点の有無を判定することができる。また、画像50に第1検査領域55と第2検査領域56とを設定することにより、第1検査領域55と第2検査領域56とで異なる検査を行うことができる。第2検査領域56は、第1検査領域55よりも広い面積を有する。第2検査領域56を第1検査領域55よりも広い面積とすることで、天面84の広い範囲で高い精度の検査を実行することができる。また、合わせ目部83と他の欠点とを判別する複雑な検査を行う第1検査領域55を狭い範囲で行うことで演算部22の処理量を抑えることができる。 As shown in FIGS. 4 and 5, the calculation unit 22 has two first inspection regions 55 including a seam portion 83 and two first inspection regions 55 on the top surface 84 of the mouth portion 82 of the image 50. Two second inspection areas 56 sandwiched between the two are set. Since the second inspection area 56 without the seam portion 83 can be inspected with higher inspection sensitivity than the first inspection area 55, it is possible to determine the presence or absence of defects on the top surface 84 with higher accuracy than before. Can be done. Further, by setting the first inspection area 55 and the second inspection area 56 in the image 50, different inspections can be performed in the first inspection area 55 and the second inspection area 56. The second inspection area 56 has a larger area than the first inspection area 55. By making the second inspection area 56 a larger area than the first inspection area 55, it is possible to perform a highly accurate inspection over a wide range of the top surface 84. Further, the processing amount of the arithmetic unit 22 can be suppressed by performing the first inspection area 55 for performing a complicated inspection for discriminating between the seam portion 83 and other defects in a narrow range.

第1検査領域55は、図4及び図5において斜線で示した範囲であり、ガラスびん80の回転のずれや振動による撮像のずれによる誤差を考慮して合わせ目部83の前後に所定の幅を設けている。第1検査領域55に対する天筋85についての検査項目は、第2検査領域56に対する検査項目よりも多く演算部22への処理負担が大きいことや、第1検査領域55よりも第2検査領域56の方が検査感度を高く設定することができることなどから、第1検査領域55は合わせ目部83が確実に入る範囲でできるだけ狭く設定することが望ましい。 The first inspection region 55 is a range shown by diagonal lines in FIGS. 4 and 5, and has a predetermined width before and after the seam portion 83 in consideration of an error due to a deviation in rotation of the glass bottle 80 and a deviation in imaging due to vibration. Is provided. The inspection items for the celestial muscle 85 for the first inspection area 55 are larger than the inspection items for the second inspection area 56, and the processing load on the arithmetic unit 22 is heavier, and the second inspection area 56 is larger than the first inspection area 55. It is desirable to set the first inspection area 55 as narrow as possible within the range where the seam portion 83 can be surely entered, because the inspection sensitivity can be set higher in the above case.

第2検査領域56は、図4及び図5において天面84(図5に示す天面検査領域54)における斜線で示した範囲以外の領域である。 The second inspection area 56 is an area other than the range shown by the diagonal line in the top surface 84 (top surface inspection area 54 shown in FIG. 5) in FIGS. 4 and 5.

画像50に第1検査領域55及び第2検査領域56を設定する処理についてより具体的に説明する。演算部22は、画像50(全てのライン画像52)に対しフィルタ演算をしてノイズを除去した後、ねじ切りはじめ部検出領域53及び天面検査領域54に対して予め設定された輝度(電圧)以上の部分にラベリング処理を行う。演算部22がラベリングされた検出体の中から合わせ目部83、天筋85及びねじ切り始め部86を判定するためである。 The process of setting the first inspection area 55 and the second inspection area 56 on the image 50 will be described more specifically. The calculation unit 22 performs a filter calculation on the image 50 (all line images 52) to remove noise, and then sets the luminance (voltage) preset for the thread cutting start portion detection region 53 and the top surface inspection region 54. Labeling processing is performed on the above parts. This is because the calculation unit 22 determines the seam portion 83, the heaven streak 85, and the thread cutting start portion 86 from the labeled detectors.

次に、演算部22は、画像50におけるねじ切りはじめ部検出領域53からねじ切り始め部86を検出し、ねじ切り始め部86からの第1距離La及び第2距離Lbに基づいて第1検査領域55と第2検査領域56とを設定する。すなわち、演算部22は、画像50におけるねじ切りはじめ部検出領域53でラベリングされた検出体の中から予め設定されたしきい値面積以上の部分を選択し、選択された検出体のうちの最大の面積を有する検出体をねじ切り始め部86とする。この際、演算部22が画像50における検出体に対し収縮処理及び膨張処理を行うことで、ねじ切り始め部86と外乱光による検出体とを判別することができる。ねじ切り始め部86と2つの合わせ目部83との距離は第1距離Laと第2距離Lbである。演算部22は、ねじ切り始め部86から第1距離Laの位置を第1基準位置65(合わせ目部83に対応する位置)に設定し、ねじ切り始め部86から第2距離Lbの位置を第2基準位置66(ねじ切り始め部86に対応する位置)に設定する。演算部22は、第1基準位置65及び第2基準位置66の前後に所定の幅を有する第1検
査領域55及び第2検査領域56を設定する。合わせ目部83とねじ切り始め部86との位置関係は同種のガラスびん80であれば同じになるため、ねじ切り始め部86を検出することで第1検査領域55及び第2検査領域56を精度よく画像50に設定することができる。
Next, the calculation unit 22 detects the thread cutting start portion 86 from the thread cutting start portion detection region 53 in the image 50, and sets the first inspection region 55 based on the first distance La and the second distance Lb from the thread cutting start portion 86. The second inspection area 56 is set. That is, the calculation unit 22 selects a portion equal to or larger than a preset threshold area from the detectors labeled in the thread cutting start portion detection region 53 in the image 50, and is the largest of the selected detectors. The detector body having an area is referred to as a thread cutting start portion 86. At this time, the calculation unit 22 performs the contraction processing and the expansion processing on the detection body in the image 50, so that the thread cutting start portion 86 and the detection body due to the ambient light can be discriminated from each other. The distances between the thread cutting start portion 86 and the two seam portions 83 are the first distance La and the second distance Lb. The calculation unit 22 sets the position of the first distance La from the thread cutting start portion 86 to the first reference position 65 (the position corresponding to the seam portion 83), and sets the position of the second distance Lb from the thread cutting start portion 86 to the second reference position 65. It is set to the reference position 66 (the position corresponding to the thread cutting start portion 86). The calculation unit 22 sets a first inspection area 55 and a second inspection area 56 having predetermined widths before and after the first reference position 65 and the second reference position 66. Since the positional relationship between the seam portion 83 and the thread cutting start portion 86 is the same for the same type of glass bottle 80, the first inspection region 55 and the second inspection region 56 can be accurately detected by detecting the thread cutting start portion 86. It can be set to the image 50.

第1検査領域55及び第2検査領域56は、ガラスびん80の回転不良による誤差等を考慮して、第1基準位置65及び第2基準位置66を中心に所定の幅を有する。 The first inspection area 55 and the second inspection area 56 have a predetermined width centering on the first reference position 65 and the second reference position 66 in consideration of an error due to rotation failure of the glass bottle 80.

1−4−1.第1検査領域
次に、演算部22は、第1検査領域55及び第2検査領域56について、ラベリングされた検出体が欠点であるか否かを判定する。特に、演算部22は、第1検査領域55について、合わせ目部83以外の所定輝度未満の暗い部分を欠点として判定する。所定輝度未満の暗い部分は、ラベリング処理によって演算部22が検出体として認識している。合わせ目部83は画像50において所定輝度未満の暗い部分として天筋85のように撮像される場合があり、合わせ目部83が検出体としてラベリングされるため、天筋85と区別して判定しなければならない。
1-4-1. First Inspection Area Next, the calculation unit 22 determines whether or not the labeled detector is a defect in the first inspection area 55 and the second inspection area 56. In particular, the calculation unit 22 determines that the dark portion of the first inspection region 55 other than the seam portion 83, which has a predetermined brightness or less, is a defect. The dark portion having a brightness lower than the predetermined brightness is recognized as a detector by the calculation unit 22 by the labeling process. The seam portion 83 may be imaged like a heavenly streak 85 as a dark part having less than a predetermined brightness in the image 50, and the seam portion 83 is labeled as a detector. Must be.

所定輝度は、予め実験によりガラスびん80の種類に適合した値に設定され、記憶部24に記憶される。輝度は、図3のように電圧値として演算部22に認識される。 The predetermined brightness is set in advance by an experiment to a value suitable for the type of the glass bottle 80, and is stored in the storage unit 24. The brightness is recognized by the calculation unit 22 as a voltage value as shown in FIG.

演算部22の第1検査領域55の処理について説明する。演算部22は、第1検査領域55について、合わせ目部83以外の所定輝度未満の暗い部分を欠点として判定するために、面積判定、ラベリングされた検出体の曲線の長さ判定(X長さ判定)、当該曲線の回転方向における幅判定(Y長さ判定)、及び当該曲線の本数(本数判定)によって、欠点の有無を判定することができる。 The processing of the first inspection area 55 of the calculation unit 22 will be described. The calculation unit 22 determines the area of the first inspection region 55 and determines the length of the curve of the labeled detector (X length) in order to determine a dark portion other than the joint portion 83 having a brightness lower than the predetermined brightness as a defect. The presence or absence of defects can be determined by the determination), the width determination in the rotation direction of the curve (Y length determination), and the number of curves (number determination).

面積判定として、演算部22は、第1検査領域55における所定輝度未満の暗い部分の面積の合計値が合わせ目部83として検出される所定輝度未満の暗い部分の面積を超える場合に、欠点としての天筋85があると判定する。合わせ目部83が検出される場合の面積以下を欠点として判定しないことで、第1検査領域55に合わせ目部83が検出される場合でも欠点としての天筋85を精度よく判定することができる。面積判定におけるしきい値は、合わせ目部83が検出される場合の最大の面積値以上の値に設定される。検出体が複数ある場合には、それらの合計値としきい値とを比較する。 As an area determination, the calculation unit 22 has a drawback when the total value of the area of the dark portion having less than the predetermined brightness in the first inspection area 55 exceeds the area of the dark portion having less than the predetermined brightness detected as the seam portion 83. It is determined that there is a heavenly streak 85. By not determining the area or less when the seam portion 83 is detected as a defect, the heavenly streak 85 as a defect can be accurately determined even when the seam portion 83 is detected in the first inspection area 55. .. The threshold value in the area determination is set to a value equal to or larger than the maximum area value when the seam portion 83 is detected. If there are multiple detectors, compare their total value with the threshold.

面積判定において、演算部22は、検出体の面積の合計値が予め設定された面積のしきい値を超えている場合に検出体が「天筋85である」と判定し、当該しきい値以下である場合に、検出体が「良品である」と判定する。なお、ここで「良品である」と判定されても、演算部22による他の天筋85に関する判定結果の全てが「良品である」と判定されなければ、当該ガラスびんの天筋85の検査が「良品である」と最終的に判定されない。 In the area determination, the calculation unit 22 determines that the detector is "heavenly streak 85" when the total value of the area of the detector exceeds the threshold value of the preset area, and the threshold value is determined. When the following, it is determined that the detector is "good". Even if it is determined to be "good" here, if all the determination results regarding the other celestial bars 85 by the calculation unit 22 are not determined to be "good", the inspection of the celestial bars 85 of the glass bottle is performed. Is not finally determined to be "good".

X長さ判定及びY長さ判定として、演算部22は、第1検査領域55における暗い部分にガラスびん80の回転方向でエッジ処理を施して曲線を抽出し、当該曲線の長さ及び当該曲線の回転方向における幅によって欠点の有無を判定し、当該長さと当該幅によって欠点が無いと判定した場合に、当該曲線の本数によって欠点の有無を判定する。検出体は、エッジ処理により曲線として演算部22に認識される。曲線の長さは、X長さとY長さに分けて判定する。図5の画像50において、ガラスびん80の回転方向は上から下へ向かう方向であり、Y長さは、曲線の当該回転方向に占める幅であり、X長さは、当該回転方向に交差する方向に延びる曲線の長さである。 As the X length determination and the Y length determination, the calculation unit 22 performs edge processing on the dark portion in the first inspection region 55 in the rotation direction of the glass bottle 80 to extract a curve, and extracts the curve length and the curve. The presence or absence of defects is determined by the width in the rotation direction of, and when it is determined that there are no defects by the length and the width, the presence or absence of defects is determined by the number of curves. The detector is recognized by the calculation unit 22 as a curve by edge processing. The length of the curve is determined separately for the X length and the Y length. In the image 50 of FIG. 5, the rotation direction of the glass bottle 80 is a direction from top to bottom, the Y length is the width occupied in the rotation direction of the curve, and the X length intersects the rotation direction. The length of the curve extending in the direction.

図6を用いて、画像50において認識される天筋85(曲線)のX長さ判定及びY長さ
判定について説明する。天筋85のほとんどは回転方向に直交する方向にほぼ真っ直ぐに延びる図6の一番上に示す直線状の天筋85として認識される。稀に図6の中段や下段に示すような形状として認識される天筋85がある。図6の中段の天筋85の場合は、天筋85が回転方向に占める幅であるY長さと、天筋85の暗い部分の長さであるX長さとを判定の対象とする。天筋85が曲がっていれば、その曲線の長さがX長さとなる。図6の下段の天筋85に回転方向における所定の幅がある場合は、画像50(図5)を画像処理(エッジ処理)されることにより、回転方向の端部が曲線(天筋851,852)として演算部22に認識される。2本の天筋851,852は、それぞれにX長さ判定とY長さ判定が行われる。
The X-length determination and the Y-length determination of the celestial muscle 85 (curve) recognized in the image 50 will be described with reference to FIG. Most of the celestial bars 85 are recognized as the linear celestial bars 85 shown at the top of FIG. 6 extending almost straight in the direction orthogonal to the rotation direction. In rare cases, there is a celestial streak 85 that is recognized as a shape as shown in the middle and lower stages of FIG. In the case of the celestial bar 85 in the middle of FIG. 6, the Y length, which is the width occupied by the celestial bar 85 in the rotation direction, and the X length, which is the length of the dark portion of the celestial bar 85, are the targets of determination. If the celestial line 85 is bent, the length of the curve is the X length. When the heaven bar 85 in the lower part of FIG. 6 has a predetermined width in the rotation direction, the end of the rotation direction is curved (heaven bar 851,) by performing image processing (edge processing) on the image 50 (FIG. 5). It is recognized by the calculation unit 22 as 852). The X length determination and the Y length determination are performed on the two heavenly bars 851 and 852, respectively.

X長さ判定及びY長さ判定は、演算部22によって認識された曲線のX長さが予め設定されたしきい値の長さを超え、かつ、当該曲線のY長さが予め設定されたしきい値の長さを超えた場合に、検出体を「天筋85である」と判定し、当該しきい値以下である場合に、検出体を「判定値以下である」と判定する。 In the X length determination and the Y length determination, the X length of the curve recognized by the calculation unit 22 exceeds the preset threshold length, and the Y length of the curve is preset. When the length of the threshold value is exceeded, the detector is determined to be "heavenly muscle 85", and when the length is equal to or less than the threshold value, the detector is determined to be "less than or equal to the determination value".

演算部22は、X長さ判定及びY長さ判定において、検出体を「判定値以下である」と判定した場合には、さらに、本数判定を実行する。本数判定は、演算部22が第1検査領域55における検出体の本数が予め設定されたしきい値の本数を超えた場合(曲線の本数が所定本数を超える場合)に、検出体が「天筋85である」と判定し、当該しきい値以下である場合に、検出体を「良品である」と判定する。なお、ここで「良品である」と判定されても、面積判定と同様に、演算部22による他の天筋85に関する判定結果の全てが「良品である」と判定されなければ、当該ガラスびんの天筋85の検査が「良品である」と最終的に判定されない。 When the calculation unit 22 determines that the detector is "less than or equal to the determination value" in the X length determination and the Y length determination, the calculation unit 22 further executes the number determination. In the number determination, when the number of detectors in the first inspection area 55 exceeds the preset threshold number (when the number of curves exceeds the predetermined number), the detector is "heavenly". It is determined that the muscle is 85, and if it is equal to or less than the threshold value, the detector is determined to be a good product. Even if it is determined to be "good" here, as in the area determination, if all the determination results regarding the other celestial bars 85 by the calculation unit 22 are not determined to be "good", the glass bottle is concerned. The inspection of the celestial muscle 85 is not finally determined to be "good".

演算部22が面積判定の他に、X長さ判定、Y長さ判定及び本数判定を実行することによって、第1検査領域55に合わせ目部83が検出される場合でも欠点(天筋85)を精度よく判定することができる。 In addition to the area determination, the calculation unit 22 executes the X length determination, the Y length determination, and the number determination, so that even if the seam portion 83 is detected in the first inspection area 55, there is a defect (heavenly streak 85). Can be accurately determined.

1−4−2.第2検査領域
演算部22は、第2検査領域56について、ラベリングされた検出体が欠点であるか否かを判定する。第2検査領域56には合わせ目部83が存在しないので、検出体が合わせ目部83であるか否かを判定する必要が無い。演算部22は、第2検査領域56について、面積判定、X長さ判定、及びY長さ判定を行う。
1-4-2. The second inspection area calculation unit 22 determines whether or not the labeled detector is a defect in the second inspection area 56. Since the seam portion 83 does not exist in the second inspection region 56, it is not necessary to determine whether or not the detector is the seam portion 83. The calculation unit 22 performs area determination, X length determination, and Y length determination for the second inspection area 56.

第2検査領域56における面積判定は、第1検査領域55と基本的に同様であるが、しきい値を合わせ目部83として認識される最大面積よりも低い値に設定することができる。そのため、第2検査領域56における天筋85の検出精度は高くなる。 The area determination in the second inspection area 56 is basically the same as that in the first inspection area 55, but the threshold value can be set to a value lower than the maximum area recognized as the seam portion 83. Therefore, the detection accuracy of the celestial muscle 85 in the second inspection region 56 is high.

第2検査領域56におけるX長さ判定及びY長さ判定は、検出体のX長さが予め設定したしきい値を超え、かつ、検出体のY長さが予め設定したしきい値を超える場合にのみ検出体を欠点としての天筋85と判定する。第2検査領域56におけるX長さ判定及びY長さ判定のしきい値は、第1検査領域55と同じ値に設定することができる。 In the X length determination and the Y length determination in the second inspection area 56, the X length of the detector exceeds the preset threshold value, and the Y length of the detector exceeds the preset threshold value. Only in the case, the detector is determined to be the celestial muscle 85 as a defect. The threshold values for the X length determination and the Y length determination in the second inspection area 56 can be set to the same values as those in the first inspection area 55.

2.容器口部検査方法
図7〜図8を用いて、容器口部検査方法について説明する。図7は容器口部検査方法の全体フローチャートであり、図8は第1検査領域55及び第2検査領域56を設定するフローチャートであり、図9は第1検査領域55を検査するフローチャートであり、図10は第2検査領域56を検査するフローチャートである。
2. 2. Container mouth inspection method The container mouth inspection method will be described with reference to FIGS. 7 to 8. FIG. 7 is an overall flowchart of the container mouth inspection method, FIG. 8 is a flowchart for setting the first inspection region 55 and the second inspection region 56, and FIG. 9 is a flowchart for inspecting the first inspection region 55. FIG. 10 is a flowchart for inspecting the second inspection area 56.

2−1.全体の工程
図7は、図1〜図6で説明した容器口部検査装置10を用いた容器口部検査方法の全体フローチャートであり、演算部22は、検査位置に搬送されてくるガラスびん80に対し撮像工程を実行した後に、撮像された画像50(図5)に基づいてS10〜S18の処理を行う。
2-1. Overall Process FIG. 7 is an overall flowchart of a container mouth inspection method using the container mouth inspection apparatus 10 described with reference to FIGS. 1 to 6, and the calculation unit 22 is a glass bottle 80 conveyed to an inspection position. After performing the imaging step on the image, the processes of S10 to S18 are performed based on the captured image 50 (FIG. 5).

撮像工程は、回転台12に支持されたガラスびん80が検査位置に搬送され、ガラスびん80を検査する準備が整うと、演算部22は、ガラスびん80を回転して天面84とねじ切り始め部86とを含む画像50(図5)を撮像する撮像工程を実行する。撮像された画像50(図5)は、記憶部24に記憶されると同時に演算部22によってS10〜S18の処理が実行される。 In the imaging process, when the glass bottle 80 supported by the rotary table 12 is conveyed to the inspection position and the glass bottle 80 is ready to be inspected, the calculation unit 22 rotates the glass bottle 80 and starts threading the top surface 84 and the thread. An imaging step of capturing an image 50 (FIG. 5) including the unit 86 is executed. The captured image 50 (FIG. 5) is stored in the storage unit 24, and at the same time, the arithmetic unit 22 executes the processing of S10 to S18.

S10:演算部22は、「データ処理指令がONか?」を判定する。例えば、撮像(記憶部24に記憶)された画像50(図5)に対するデータ処理の準備が整うと、「YES」と判定され、S12を実行する。当該準備が整うまでは「NO」と判定されてS10を再び実行する。 S10: The calculation unit 22 determines "is the data processing command ON?". For example, when the data processing for the image 50 (FIG. 5) captured (stored in the storage unit 24) is ready, it is determined as "YES" and S12 is executed. Until the preparation is completed, it is determined as "NO" and S10 is executed again.

S12:演算部22は、「データ処理(不良を検出)する」処理を実行する。データ処理の内容については、図8〜図10を用いて後述する。 S12: The arithmetic unit 22 executes a process of "data processing (defect detection)". The contents of the data processing will be described later with reference to FIGS. 8 to 10.

S14:演算部22は、「不良か?」処理を実行する。例えば、S12の結果において、1つでも不良(「天筋85がある」)と判定されると、「YES」と判定されてS16を実行する。S12の結果において、全てが「良品である」と判定されると、「NO」と判定されてS18を実行する。 S14: The calculation unit 22 executes the "is it defective?" Process. For example, if even one of the results of S12 is determined to be defective (“there is a heavenly streak 85”), it is determined to be “YES” and S16 is executed. If all of the results of S12 are determined to be "good", it is determined to be "NO" and S18 is executed.

S16:演算部22は、「不良を記録する」処理を実行する。例えば、演算部22は、S14で「不良」と判定されると、当該ガラスびん80が不良であることを記憶部24に記憶する。また、当該ガラスびん80が不良である旨の信号を図示しない搬送装置の全体制御部に出力してもよく、この信号を受けて、搬送装置から不良と判定されたガラスびん80を排除してもよい。 S16: The calculation unit 22 executes a process of “recording a defect”. For example, when the calculation unit 22 determines that the glass bottle 80 is “defective” in S14, the calculation unit 22 stores in the storage unit 24 that the glass bottle 80 is defective. Further, a signal indicating that the glass bottle 80 is defective may be output to the overall control unit of the transport device (not shown), and upon receiving this signal, the glass bottle 80 determined to be defective may be excluded from the transport device. May be good.

S18:演算部22は、「次のデータ処理指令」を実行する。例えば、演算部22のこの指令により、次に撮像(記憶部24に記憶)された画像50についてS10を実行する。また、この指令により搬送装置が回転台12と共に検査済みのガラスびん80を検査位置から搬出し、次の検査対象のガラスびん80を搬入してもよい。 S18: The arithmetic unit 22 executes the “next data processing command”. For example, according to this command of the calculation unit 22, S10 is executed for the image 50 subsequently captured (stored in the storage unit 24). Further, according to this command, the transport device may carry out the inspected glass bottle 80 together with the rotary table 12 from the inspection position and carry in the next glass bottle 80 to be inspected.

上記S14の処理は、図8〜図10の各処理を実行する。 In the process of S14, each process of FIGS. 8 to 10 is executed.

2−2.検査領域の設定
図8に示すように、演算部22は、S20〜S27を実行し第1検査領域55と第2検査領域56とを設定する。
2-2. Setting of inspection area As shown in FIG. 8, the calculation unit 22 executes S20 to S27 to set the first inspection area 55 and the second inspection area 56.

S20:演算部22は、撮像部40によって撮像(記憶部24に記憶)されたライン画像52(図3)に「ねじ切りはじめ部検出領域53を作成する」処理を実行する。また、ライン画像52に天面検査領域54を同時に作成してもよい。 S20: The calculation unit 22 executes a process of “creating a thread cutting start portion detection area 53” on the line image 52 (FIG. 3) imaged by the image pickup unit 40 (stored in the storage unit 24). Further, the top surface inspection area 54 may be simultaneously created on the line image 52.

S21:演算部22は、「ラベリング処理をする」処理を実行する。例えば、演算部は、S21の処理として、画像50(全てのライン画像52)に対しフィルタ演算をしてノイズを除去した後、ねじ切りはじめ部検出領域53及び天面検査領域54に対して予め設定された輝度(電圧)以上の部分にラベリング処理を行う。フィルタ演算に加えて収縮・膨張処理の画像処理を行ってもよい。 S21: The arithmetic unit 22 executes the process of “performing the labeling process”. For example, as the processing of S21, the calculation unit performs a filter calculation on the image 50 (all line images 52) to remove noise, and then sets in advance for the thread cutting start portion detection area 53 and the top surface inspection area 54. Labeling is performed on the portion above the brightness (voltage). In addition to the filter calculation, image processing of contraction / expansion processing may be performed.

S22:演算部22は、「検出体がしきい値面積を超える?」判定処理を実行する。具体的には、演算部22は、ラベリングされた検出体と予め設定されたしきい値面積とを比較して、しきい値面積を超える場合に「YES」と判定しS23を実行し、しきい値面積以下の場合に「NO」と判定しS24を実行する。 S22: The calculation unit 22 executes a determination process of "is the detector exceeding the threshold area?". Specifically, the calculation unit 22 compares the labeled detector with the preset threshold area, determines "YES" when the threshold area is exceeded, and executes S23. If it is equal to or less than the threshold area, it is determined as "NO" and S24 is executed.

S23:演算部22は、「検出体の先端をねじ切り始め部86とする」処理を実行する。具体的には、演算部22は、S22でラベリングされた検出体のうちの最大面積を有する検出体の先端をねじ切り始め部86として認識する。 S23: The calculation unit 22 executes the process of "setting the tip of the detector as the thread cutting start unit 86". Specifically, the calculation unit 22 recognizes the tip of the detector having the maximum area among the detectors labeled in S22 as the thread cutting start portion 86.

S24:演算部22は、「ねじ切り始め部86の検出不良判定」処理を実行する。例えば、この処理により検出不良と判定されたガラスびん80は、不良品として搬送装置の搬送経路外へ排出してもよいし、再度同じ検査を行う搬送経路に戻してもよい。 S24: The calculation unit 22 executes the “detection failure determination of the thread cutting start unit 86” process. For example, the glass bottle 80 determined to be defective in detection by this process may be discharged as a defective product out of the transport path of the transport device, or may be returned to the transport path where the same inspection is performed again.

S25:演算部22は、画像50(図5)において「第1基準位置65と第2基準位置66を算出する」処理を実行する。ここで、演算部22がねじ切り始め部86からの距離に基づいて第1基準位置65と第2基準位置66を算出することになるが、具体的な説明は容器口部検査装置10の説明で行っているため重複する説明は省略する。 S25: The calculation unit 22 executes the process of “calculating the first reference position 65 and the second reference position 66” in the image 50 (FIG. 5). Here, the calculation unit 22 calculates the first reference position 65 and the second reference position 66 based on the distance from the thread cutting start portion 86, but the specific description will be given in the description of the container mouth inspection device 10. Since this is done, duplicate explanations will be omitted.

S26:演算部22は、画像50(図5)に対し「第1検査領域55を設定する」処理を実行する。 S26: The calculation unit 22 executes the process of “setting the first inspection area 55” for the image 50 (FIG. 5).

S27:演算部22は、画像50(図5)に対し「第2検査領域56を設定する」処理を実行する。第2検査領域56は、第1検査領域55よりも広い範囲に設定される。 S27: The calculation unit 22 executes the process of “setting the second inspection area 56” for the image 50 (FIG. 5). The second inspection area 56 is set in a wider range than the first inspection area 55.

このように、容器口部検査方法は、画像50(図5)からねじ切り始め部86を検出する検出工程(S20〜S23)と、ガラスびん80の口部82の全周の天面84の画像50に、合わせ目部83を含む2つの第1検査領域55と、2つの第1検査領域55に挟まれる2つの第2検査領域56とを設定する設定工程(S26及びS27)と、を含む。 As described above, the container mouth inspection method includes a detection step (S20 to S23) for detecting the thread cutting start portion 86 from the image 50 (FIG. 5) and an image of the top surface 84 of the entire circumference of the mouth 82 of the glass bottle 80. 50 includes a setting step (S26 and S27) for setting two first inspection regions 55 including a seam portion 83 and two second inspection regions 56 sandwiched between the two first inspection regions 55. ..

容器口部検査方法によれば、合わせ目部83の無い第2検査領域56については第1検査領域55に比べて高い検査感度で検査をすることができるため、従来よりも高い精度で天面84における欠点(天筋85)の有無を判定することができる。また、容器口部検査方法によれば、画像50(図5)に第1検査領域55と第2検査領域56とを設定することにより、第1検査領域55と第2検査領域56とで異なる検査を行うことができる。第2検査領域56は、第1検査領域55よりも広い面積を有する。容器口部検査方法によれば、第2検査領域56を第1検査領域55よりも広い面積とすることで、天面の広い範囲で高い精度の検査を実行することができる。また、合わせ目部83と他の欠点(天筋85)とを判別する複雑な検査を行う第1検査領域55を狭い範囲で行うことで演算部22の処理量を抑えることができる。 According to the container mouth inspection method, the second inspection region 56 without the seam portion 83 can be inspected with higher inspection sensitivity than the first inspection region 55, so that the top surface can be inspected with higher accuracy than before. It is possible to determine the presence or absence of the defect (heavenly muscle 85) in 84. Further, according to the container mouth inspection method, by setting the first inspection region 55 and the second inspection region 56 in the image 50 (FIG. 5), the first inspection region 55 and the second inspection region 56 are different. Can be inspected. The second inspection area 56 has a larger area than the first inspection area 55. According to the container mouth inspection method, by making the second inspection area 56 a wider area than the first inspection area 55, it is possible to perform a highly accurate inspection over a wide range of the top surface. Further, the processing amount of the calculation unit 22 can be suppressed by performing the first inspection area 55 for performing a complicated inspection for discriminating between the seam portion 83 and other defects (heavenly streaks 85) in a narrow range.

設定工程(S26及びS27)は、画像50(図5)について、検出工程(S20〜S23)で検出されたねじ切り始め部86からの距離に基づいて第1検査領域55と第2検査領域56とを設定する。なお、具体的な説明は容器口部検査装置10の説明で行っているため重複する説明は省略する。 The setting steps (S26 and S27) include the first inspection area 55 and the second inspection area 56 based on the distance from the thread cutting start portion 86 detected in the detection steps (S20 to S23) for the image 50 (FIG. 5). To set. Since the specific explanation is given in the explanation of the container mouth inspection device 10, the duplicate explanation will be omitted.

容器口部検査方法によれば、合わせ目部83とねじ切り始め部86との位置関係は同種のガラスびん80であれば同じになるため、ねじ切り始め部86を検出することで合わせ目部83のある第1検査領域55を精度よく設定することができる。 According to the container mouth inspection method, the positional relationship between the seam portion 83 and the thread cutting start portion 86 is the same if the glass bottle 80 is of the same type. Therefore, by detecting the thread cutting start portion 86, the seam portion 83 is formed. A certain first inspection area 55 can be set accurately.

2−3.第1検査領域の検査
容器口部検査方法は、上記設定工程(S26、S27)で設定された第1検査領域55について、合わせ目部83以外の所定輝度未満の暗い部分を欠点(天筋85)として判定する判定工程を含む。判定工程は、図9に示す演算部22によるS30〜S37の処理を実行することにより、第1検査領域55を検査する。
2-3. Inspection of the first inspection area The container mouth inspection method has a drawback of the first inspection area 55 set in the above setting steps (S26, S27), except for the seam portion 83, which is a dark part having a brightness lower than the predetermined brightness (heavenly streak 85). ) Is included. The determination step inspects the first inspection area 55 by executing the processes S30 to S37 by the calculation unit 22 shown in FIG.

S30:演算部22は、第1検査領域55について「天筋判定値を下回っている検出体があるか?」の判定処理を実行する。具体的には、演算部22は、画像50(図5)に対し、例えば5×5の空間フィルタ演算を実行することでエッジの抽出を行い、さらに二値化フィルタ演算を実行して第1検査領域55における天筋判定値を下回る(所定輝度未満)暗い部分の検出体の有無を判定する。対象となる検出体があればS32及びS33を実行し、対象となる検出体が無ければS31で演算部22が「「良品である」と検出結果を出力する」処理を実行して検査を終了する。画像50(図5)から検出された検出体は、エッジ抽出によりガラスびん80の回転方向に交差する方向に延びる細い線として検出され、当該回転方向に幅のある暗い部分であれば当該回転方向における両端部にそれぞれ細い線として2本の検出体となる。なお、画像50(図5)を前処理するためのフィルタ演算は、公知のものを採用することができ、例えば、カラー濃淡処理、コントラスト変換、収縮・膨張処理、差分処理等を実行してもよい。 S30: The calculation unit 22 executes the determination process of "is there a detector below the celestial muscle determination value?" For the first inspection area 55. Specifically, the calculation unit 22 extracts edges by executing, for example, a 5 × 5 spatial filter calculation on the image 50 (FIG. 5), and further executes a binarization filter calculation to perform the first. It is determined whether or not there is a detector in a dark portion (less than a predetermined brightness) below the celestial streak determination value in the inspection area 55. If there is a target detector, S32 and S33 are executed, and if there is no target detector, the calculation unit 22 executes the process of "outputting the detection result as" good "" in S31 to end the inspection. do. The detector detected from the image 50 (FIG. 5) is detected as a thin line extending in a direction intersecting the rotation direction of the glass bottle 80 by edge extraction, and if it is a dark portion having a width in the rotation direction, the rotation direction is used. There are two detectors as thin lines at both ends of the above. As the filter calculation for preprocessing the image 50 (FIG. 5), a known one can be adopted, and for example, even if color shading processing, contrast conversion, shrinkage / expansion processing, difference processing, etc. are executed. good.

S32:演算部22は、S30で検出された検出体に対して、「最大検出体の面積が天筋しきい値面積を超えるか?」の判定処理を実行する。天筋しきい値面積は、合わせ目部83として検出される面積値よりも大きな値に設定される。合わせ目部83を天筋85と誤判定することを防止するためである。S32の判定処理の結果、天筋しきい値面積を超える検出体があればS35を実行し、該当する検出体がなければS36を実行する。 S32: The calculation unit 22 executes a determination process of "does the area of the maximum detector exceeds the threshold area of the celestial muscle?" For the detector detected in S30. The celestial threshold area is set to a value larger than the area value detected as the seam portion 83. This is to prevent the seam portion 83 from being erroneously determined as the heavenly streak 85. As a result of the determination process of S32, if there is a detector exceeding the threshold area of the celestial muscle, S35 is executed, and if there is no corresponding detector, S36 is executed.

S33:演算部22は、S32と並行してS30で検出された検出体に対して、「検出体がX長さしきい値及びY長さしきい値を超えるか?」判定処理を実行する。X長さとY長さの判定方法については、上述した通りである。S33の判定処理の結果、X長さしきい値及びY長さしきい値を超える検出体があればS35を実行し、該当する検出体がなければS34を実行する。 S33: The calculation unit 22 executes a determination process of "does the detector exceed the X length threshold value and the Y length threshold value?" For the detector detected in S30 in parallel with S32. .. The method for determining the X length and the Y length is as described above. As a result of the determination process of S33, if there is a detector that exceeds the X length threshold value and the Y length threshold value, S35 is executed, and if there is no corresponding detector, S34 is executed.

S34:演算部22は、検出体に対して、「検出体が本数しきい値を超えるか?」の判定処理を実行する。本数しきい値は、合わせ目部83を天筋85と誤判定することを防止するため、2本以上の値に設定する。S34の判定処理の結果、本数しきい値を超える検出体があればS35を実行し、該当する検出体がなければS37を実行する。 S34: The calculation unit 22 executes a determination process of "whether the detection body exceeds the number threshold value?" For the detection body. The number threshold value is set to a value of two or more in order to prevent the seam portion 83 from being erroneously determined as the heavenly streak 85. As a result of the determination process of S34, if there is a detector exceeding the number threshold value, S35 is executed, and if there is no corresponding detector, S37 is executed.

S35:演算部22は、「「天筋85がある」と検出結果を出力する」処理を実行する。出力された結果は、記憶部24に記憶する。 S35: The calculation unit 22 executes a process of “outputting a detection result when“ there is a heavenly streak 85 ””. The output result is stored in the storage unit 24.

S36:演算部22は、「「良品である」と検出結果を出力する」処理を実行する。 S36: The calculation unit 22 executes a process of “outputting a detection result as“ good product ””.

S37:演算部22は、「「良品である」と検出結果を出力する」処理を実行する。 S37: The calculation unit 22 executes a process of “outputting a detection result as“ good product ””.

上記S31及びS35〜S37の出力結果に基づいて、図7のS14の処理を演算部22が実行する。 Based on the output results of S31 and S35 to S37, the calculation unit 22 executes the process of S14 in FIG.

2−4.第2検査領域の検査
容器口部検査方法は、上記設定工程で設定された第2検査領域56について、所定輝度未満の暗い部分を欠点(天筋85)として判定する判定工程を含む。判定工程は、図10に示す演算部22によるS40〜S46の処理を実行することにより、第2検査領域56
を検査する。第2検査領域56において、第1検査領域55と重複する処理についての詳細な説明は省略する。
2-4. Inspection of the second inspection area The container mouth inspection method includes a determination step of determining a dark portion having a brightness lower than a predetermined brightness as a defect (heavenly streak 85) in the second inspection area 56 set in the above setting step. In the determination step, the second inspection area 56 is performed by executing the processes of S40 to S46 by the calculation unit 22 shown in FIG.
To inspect. In the second inspection area 56, detailed description of the process overlapping with the first inspection area 55 will be omitted.

S40:演算部22は、第2検査領域56について「天筋判定値を下回っている検出体があるか?」の判定処理を実行する。対象となる検出体が無ければS41で演算部22が「「良品である」と検出結果を出力する」処理を実行して検査を終了する。 S40: The calculation unit 22 executes the determination process of "is there a detector below the celestial muscle determination value?" For the second inspection area 56. If there is no target detector, the calculation unit 22 executes the process of “outputting the detection result as“ good product ”” in S41 to end the inspection.

S42:演算部22は、S40で検出された検出体に対して、「最大検出体の面積が天筋しきい値面積を超えるか?」の判定処理を実行する。天筋しきい値面積は、合わせ目部83として検出される検出体の面積よりも小さな値とすることで、第1検査領域55よりも高い精度の判定を行うことができる。S42の判定処理の結果、天筋しきい値面積を超える検出体があればS44を実行し、該当する検出体がなければS45を実行する。 S42: The calculation unit 22 executes a determination process of "does the area of the maximum detector exceeds the threshold area of the celestial muscle?" For the detector detected in S40. By setting the celestial threshold area to a value smaller than the area of the detector detected as the seam portion 83, it is possible to make a determination with higher accuracy than the first inspection region 55. As a result of the determination process of S42, if there is a detector exceeding the threshold area of the celestial muscle, S44 is executed, and if there is no corresponding detector, S45 is executed.

S43:演算部22は、S42と並行してS40で検出された検出体に対して、「検出体がX長さしきい値及びY長さしきい値を超えるか?」判定処理を実行する。S43の判定処理の結果、X長さしきい値及びY長さしきい値を超える検出体があればS44を実行し、該当する検出体がなければS46を実行する。 S43: The arithmetic unit 22 executes a determination process of "does the detector exceed the X length threshold value and the Y length threshold value?" For the detector detected in S40 in parallel with S42. .. As a result of the determination process of S43, if there is a detector that exceeds the X length threshold value and the Y length threshold value, S44 is executed, and if there is no corresponding detector, S46 is executed.

S44:演算部22は、「「天筋85がある」と検出結果を出力する」処理を実行する。出力された結果は、記憶部24に記憶する。 S44: The calculation unit 22 executes a process of “outputting a detection result when“ there is a heavenly streak 85 ””. The output result is stored in the storage unit 24.

S45:演算部22は、「「良品である」と検出結果を出力する」処理を実行する。 S45: The calculation unit 22 executes a process of “outputting a detection result as“ good product ””.

S46:演算部22は、「「良品である」と検出結果を出力する」処理を実行する。 S46: The calculation unit 22 executes a process of “outputting a detection result as“ good product ””.

上記S41,S44〜S46の出力結果に基づいて、図7のS14の処理を演算部22が実行する。上記S40〜S46の処理は、図9のS30〜S33及びS35〜S37の処理と基本的には同じである。第2検査領域56にはS34の処理がないため、演算部22の処理負担が軽減され、高速処理が可能となる。 Based on the output results of S41 and S44 to S46, the calculation unit 22 executes the process of S14 in FIG. The processing of S40 to S46 is basically the same as the processing of S30 to S33 and S35 to S37 in FIG. Since the second inspection area 56 does not have the processing of S34, the processing load of the arithmetic unit 22 is reduced, and high-speed processing becomes possible.

本発明は、上述した実施形態に限定されるものではなく、さらに種々の変形が可能である。例えば、本発明は、実施形態で説明した構成と実質的に同一の構成(例えば、機能、方法、及び結果が同一の構成、あるいは目的及び効果が同一の構成)を含む。また、本発明は、実施形態で説明した構成の本質的でない部分を置き換えた構成を含む。また、本発明は、実施形態で説明した構成と同一の作用効果を奏する構成又は同一の目的を達成することができる構成を含む。また、本発明は、実施形態で説明した構成に公知技術を付加した構成を含む。 The present invention is not limited to the above-described embodiment, and various modifications are possible. For example, the present invention includes substantially the same configurations as those described in the embodiments (eg, configurations with the same function, method, and result, or configurations with the same purpose and effect). The present invention also includes a configuration in which a non-essential part of the configuration described in the embodiment is replaced. Further, the present invention includes a configuration having the same action and effect as the configuration described in the embodiment or a configuration capable of achieving the same object. Further, the present invention includes a configuration in which a known technique is added to the configuration described in the embodiment.

10…容器口部検査装置、12…回転台、14…モータ、16…エンコーダ、20…コンピュータ、22…演算部、24…記憶部、30…第1発光部、32…第2発光部、40…撮像部、50…画像、52…ライン画像、53…ねじ切りはじめ部検出領域、54…天面検査領域、55…第1検査領域、56…第2検査領域、65…第1基準位置、66…第2基準位置、80…ガラスびん、81…中心軸、82…口部、83…合わせ目部、84…天面、85,851,852…天筋、86…ねじ切り始め部、87…ねじ部、La…第1距離、Lb…第2距離、Lc…第3距離、θ1…仰角、θ2…振り角 10 ... Container mouth inspection device, 12 ... Rotating table, 14 ... Motor, 16 ... Encoder, 20 ... Computer, 22 ... Calculation unit, 24 ... Storage unit, 30 ... First light emitting unit, 32 ... Second light emitting unit, 40 ... Imaging unit, 50 ... Image, 52 ... Line image, 53 ... Thread cutting start part detection area, 54 ... Top surface inspection area, 55 ... First inspection area, 56 ... Second inspection area, 65 ... First reference position, 66 ... 2nd reference position, 80 ... glass bottle, 81 ... central axis, 82 ... mouth, 83 ... seam, 84 ... top surface, 85,851,852 ... heavenly bar, 86 ... thread cutting start, 87 ... screw Part, La ... 1st distance, Lb ... 2nd distance, Lc ... 3rd distance, θ1 ... elevation angle, θ2 ... swing angle

Claims (5)

口部に蓋を固定するためのねじ部を有するガラスびんを撮像して、天面とねじ切り始め部を含む前記口部の全周の画像に基づいて欠点の有無を判定する容器口部検査装置であって、
前記画像を処理する演算部を含み、
前記演算部は、
前記画像から予め設定された輝度に基づいて前記ねじ切り始め部を検出し、
前記画像の前記口部の前記天面に、前記ねじ切り始め部からの距離に基づいて合わせ目部を含む2つの第1検査領域と、2つの前記第1検査領域に挟まれる2つの第2検査領域とを設定し、
前記第1検査領域について、前記合わせ目部以外の所定輝度未満の暗い部分を前記欠点として判定し、
前記第1検査領域は、前記合わせ目部の前後に所定の幅を設けて設定され、
前記第2検査領域は、前記第1検査領域の面積よりも広い面積を有し、かつ、前記第1検査領域よりも高い検査精度で検査し、
前記所定輝度の値は、予め実験によりガラスびんの種類により設定されることを特徴とする、容器口部検査装置。
A container mouth inspection device that images a glass bottle having a threaded portion for fixing the lid to the mouth and determines the presence or absence of defects based on the image of the entire circumference of the mouth including the top surface and the thread cutting start portion. And
Includes a calculation unit that processes the image
The calculation unit
The thread cutting start portion is detected from the image based on the preset brightness, and the thread cutting start portion is detected.
The top surface of the mouth portion of the image, and two first inspection region including the seam portion based on a distance from the threaded start part, two second test sandwiched between two of the first inspection region Set the area and
With respect to the first inspection region, a dark portion other than the seam portion having a predetermined brightness or less is determined as the defect.
The first inspection area is set with a predetermined width before and after the seam portion.
The second inspection area has an area larger than the area of the first inspection area and is inspected with a higher inspection accuracy than the first inspection area.
The value of the predetermined luminance is characterized Rukoto set by the type of glass bottles by experiment, the container mouth portion inspection apparatus.
請求項において、
前記演算部は、前記第1検査領域における所定輝度未満の暗い部分の面積の合計値が前記合わせ目部として検出される所定輝度未満の暗い部分の面積を超える場合に、前記欠点があると判定することを特徴とする、容器口部検査装置。
In claim 1 ,
The calculation unit determines that there is the defect when the total value of the area of the dark portion having less than the predetermined brightness in the first inspection region exceeds the area of the dark portion having less than the predetermined brightness detected as the seam portion. A container mouth inspection device characterized by the fact that the container mouth is inspected.
請求項1または2において、
前記演算部は、
前記第1検査領域における所定輝度未満の暗い部分に前記ガラスびんの回転方向でエッジ処理を施して曲線を抽出し、
前記曲線の長さ及び前記曲線の前記回転方向における幅によって前記欠点の有無を判定し、
前記長さ及び前記幅によって前記欠点が無いと判定した場合に、前記曲線の本数によって前記欠点の有無を判定することを特徴とする、容器口部検査装置。
In claim 1 or 2 ,
The calculation unit
A curve is extracted by performing edge treatment in the rotation direction of the glass bottle on a dark portion having a brightness lower than a predetermined brightness in the first inspection region.
The presence or absence of the defect is determined by the length of the curve and the width of the curve in the rotation direction.
A container mouth inspection device, characterized in that, when it is determined that there is no defect by the length and the width, the presence or absence of the defect is determined by the number of curves.
請求項1〜のいずれか1項において、
回転するガラスびんの口部の天面に光を照射する第1発光部と、
前記口部のねじ切り始め部に光を照射する第2発光部と、
前記口部から反射した光を撮像する撮像部と、
をさらに含み、
前記演算部は、前記撮像部で撮像された前記画像を処理することを特徴とする、容器口部検査装置。
In any one of claims 1 to 3 ,
The first light emitting part that irradiates the top surface of the mouth of the rotating glass bottle with light,
A second light emitting part that irradiates the beginning of thread cutting of the mouth part with light,
An imaging unit that captures the light reflected from the mouth and
Including
The calculation unit is a container mouth inspection device, characterized in that the image captured by the image pickup unit is processed.
口部に蓋を固定するためのねじ部を有するガラスびんを回転して天面とねじ切り始め部とを含む画像を撮像する撮像工程と、
前記画像から前記ねじ切り始め部を検出する検出工程と、
前記ガラスびんの前記口部の全周の前記天面の前記画像に、前記検出工程で検出された前記ねじ切り始め部からの距離に基づいて、合わせ目部を含む2つの第1検査領域と、2つの前記第1検査領域に挟まれる2つの第2検査領域とを設定する設定工程と、
前記第1検査領域について、前記合わせ目部以外の所定輝度未満の暗い部分を欠点として判定する判定工程と、
を含み、
前記第1検査領域は、前記合わせ目部の前後に所定の幅を設けて設定され、
前記第2検査領域は、前記第1検査領域の面積よりも広い面積を有し、かつ、前記第1検査領域よりも高い検査精度で検査し、
前記所定輝度の値は、予め実験によりガラスびんの種類により設定されることを特徴とする、容器口部検査方法。
An imaging process in which a glass bottle having a screw portion for fixing a lid to a mouth portion is rotated to capture an image including a top surface and a thread cutting start portion.
A detection step for detecting the thread cutting start portion from the image, and
The image of the top surface of the entire circumference of the mouth portion of the glass bottle, based on the distance from the threaded beginning portion detected in the detection step, the two first inspection region including a joint portion, A setting step for setting two second inspection areas sandwiched between the two first inspection areas, and
With respect to the first inspection region, a determination step of determining a dark portion other than the seam portion having a predetermined brightness as a defect, and a determination step.
Only including,
The first inspection area is set with a predetermined width before and after the seam portion.
The second inspection area has an area larger than the area of the first inspection area and is inspected with a higher inspection accuracy than the first inspection area.
A method for inspecting a container mouth, wherein the predetermined brightness value is set in advance by an experiment according to the type of glass bottle.
JP2017188664A 2017-09-28 2017-09-28 Container mouth inspection device and container mouth inspection method Active JP6983604B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2017188664A JP6983604B2 (en) 2017-09-28 2017-09-28 Container mouth inspection device and container mouth inspection method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2017188664A JP6983604B2 (en) 2017-09-28 2017-09-28 Container mouth inspection device and container mouth inspection method

Publications (2)

Publication Number Publication Date
JP2019066198A JP2019066198A (en) 2019-04-25
JP6983604B2 true JP6983604B2 (en) 2021-12-17

Family

ID=66340509

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2017188664A Active JP6983604B2 (en) 2017-09-28 2017-09-28 Container mouth inspection device and container mouth inspection method

Country Status (1)

Country Link
JP (1) JP6983604B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP7235583B2 (en) * 2019-05-08 2023-03-08 東洋ガラス株式会社 Glass bottle inspection method, glass bottle manufacturing method, and glass bottle inspection device
JP6954484B1 (en) * 2021-01-20 2021-10-27 オムロン株式会社 Inspection equipment

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS603542A (en) * 1983-06-21 1985-01-09 Mitsubishi Electric Corp Bottle inspecting device
JPH01316647A (en) * 1988-03-31 1989-12-21 Fuji Electric Co Ltd Container inspecting method
JPH0324447A (en) * 1989-06-21 1991-02-01 Shokuhin Sangyo Onrain Sensor Gijutsu Kenkyu Kumiai Bottle-mouth inspecting method
JPH11271240A (en) * 1998-03-23 1999-10-05 N Tec:Kk Inspection method for foreign substances on the inner surface of paper cup containers
US7329855B2 (en) * 2002-10-18 2008-02-12 Kirin Techno-System Corporation Optical inspection of glass bottles using multiple cameras
JP2004271205A (en) * 2003-03-05 2004-09-30 Precision:Kk Defect inspection device of container mouth part
WO2013018207A1 (en) * 2011-08-03 2013-02-07 東洋ガラス株式会社 Container mouth portion inspection method and device
JP2016217764A (en) * 2015-05-15 2016-12-22 キリンテクノシステム株式会社 Container inspection method and apparatus

Also Published As

Publication number Publication date
JP2019066198A (en) 2019-04-25

Similar Documents

Publication Publication Date Title
US7342655B2 (en) Inspecting apparatus and method for foreign matter
KR101986389B1 (en) Apparatus for inspecting bottle can thread
JP7405915B2 (en) Methods and apparatus for analyzing products, training methods, systems, computer programs, and computer-readable storage media
JP2009293999A (en) Wood defect detector
JP6983604B2 (en) Container mouth inspection device and container mouth inspection method
JP5499289B1 (en) Cap inspection device
CN108027329A (en) For carrying out the method for inspection of optical transmission optical check to the container of unlabelled and examining equipment
JP5294427B2 (en) Glass bottle inspection equipment
JP5864404B2 (en) X-ray inspection equipment
US20240420314A1 (en) Foreign material inspection system
JP6619547B2 (en) Inspection device
JP2023169667A (en) Visual inspection assisting device
JP2012122912A (en) Determination method of inspection region and foreign matter inspection device
EP3465168A1 (en) Method and system for testing and inspecting containers using one or more light reflections and positional data
JP2021156832A (en) Method and device for inspecting screw part of bottle can
JP5959430B2 (en) Bottle cap appearance inspection device and appearance inspection method
WO2022065110A1 (en) X-ray inspection device and x-ray inspection method
JP5744414B2 (en) Tablet inspection device and PTP packaging machine
JP2019109072A (en) Cap floating inspection method and cap floating inspection device
JPH11287763A (en) Automatic inspection method of egg, transfer-controlling device of egg suited for it, and automatic inspection device of egg
JP6420065B2 (en) Inspection device
JP5546021B2 (en) Tablet inspection device and PTP packaging machine
JP2008175691A (en) X-ray inspection apparatus and inspection method
JP6207008B2 (en) Inspection apparatus and inspection method
JP6576661B2 (en) Image processing device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20200714

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20210414

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20210427

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20210611

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20211124

R150 Certificate of patent or registration of utility model

Ref document number: 6983604

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150