JPS63182556A - Method and device for optical inspection of bottle or the like - Google Patents

Method and device for optical inspection of bottle or the like

Info

Publication number
JPS63182556A
JPS63182556A JP1540787A JP1540787A JPS63182556A JP S63182556 A JPS63182556 A JP S63182556A JP 1540787 A JP1540787 A JP 1540787A JP 1540787 A JP1540787 A JP 1540787A JP S63182556 A JPS63182556 A JP S63182556A
Authority
JP
Japan
Prior art keywords
bottle
inspection
data
bottles
light
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP1540787A
Other languages
Japanese (ja)
Other versions
JP2514944B2 (en
Inventor
Michihito Kurahashi
倉橋 通人
Tetsuo Tsutsumi
堤 哲雄
Yuji Doi
土井 勇治
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.)
Suntory Ltd
Original Assignee
Suntory 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 Suntory Ltd filed Critical Suntory Ltd
Priority to JP62015407A priority Critical patent/JP2514944B2/en
Publication of JPS63182556A publication Critical patent/JPS63182556A/en
Application granted granted Critical
Publication of JP2514944B2 publication Critical patent/JP2514944B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01NINVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES
    • G01N21/00Investigating or analysing materials by the use of optical means, i.e. using sub-millimetre waves, infrared, visible or ultraviolet light
    • G01N21/84Systems specially adapted for particular applications
    • G01N21/88Investigating the presence of flaws or contamination
    • G01N21/90Investigating the presence of flaws or contamination in a container or its contents
    • G01N21/9054Inspection of sealing surface and container finish
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01NINVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES
    • G01N33/00Investigating or analysing materials by specific methods not covered by groups G01N1/00 - G01N31/00
    • G01N2033/0078Investigating or analysing materials by specific methods not covered by groups G01N1/00 - G01N31/00 testing material properties on manufactured objects
    • G01N2033/0081Investigating or analysing materials by specific methods not covered by groups G01N1/00 - G01N31/00 testing material properties on manufactured objects containers; packages; bottles

Abstract

PURPOSE:To preclude misdetection, overlooking, etc., by comparing comparatively plural video signals obtained by scanning the outer surface of an empty bottle at plural scanning positions in opposition relation and deciding whether or not the empty bottle is normal/defective according to the obtained comparison data. CONSTITUTION:Inspection areas at the respective scanning positions are four areas A, B, C, and D of a bottle mouth part. In this case, misdetection caused by the curved surface shape of the bottle mouth part is precluded and the accuracy of the normal/defective decision making of the bottle 1 to be inspected is improved. The shape of the mouth part 3 of the empty bottle 1 is normally constant in its peripheral direction and the peaks of video signals of the respective scanning positions appear at nearly the same signal position. When the empty bottle 1 is normal, the values of comparison data at the respective scanning positions which are obtained by comparing the peak values are considerably small. If the empty bottle has a defect or stain, etc., inspection light is reflected irregularly to generate an abrupt raise or fall in brightness level. Consequently, it is accurately decided whether the empty bottle is normal or defective.

Description

【発明の詳細な説明】 [産業上の利用分野] この発明は、瓶類の光学検査方法及びその装置に関し、
特に、飲料、酒類等の瓶詰工程に投入する空瓶を自動的
、連続的に検査するのに適した光学検査方法及びそれに
用いる装置に関するものである。更に、本発明は、検査
条件等の変化に対応し易く、従って条件変化による誤検
出を効果的に防止し得る瓶類の光学検査方法及び装置に
関するものである。
[Detailed Description of the Invention] [Industrial Application Field] The present invention relates to an optical inspection method and apparatus for bottles,
In particular, the present invention relates to an optical inspection method suitable for automatically and continuously inspecting empty bottles introduced into a bottling process for beverages, alcoholic beverages, etc., and an apparatus used therefor. Furthermore, the present invention relates to an optical inspection method and apparatus for bottles that can easily adapt to changes in inspection conditions, etc., and can therefore effectively prevent false detections due to changes in conditions.

[発明の概要] 瓶類に拡散光等の光を照射し、瓶類から得られる光を検
査光とし、瓶類の検査光を複数の走査位置にて走査し、
これを映像(3号に変換し、この映像信号の信号レベル
を同様に他の検査位置で得られる映像信号のレベルと比
較して相対評価し、この結果得られた比較データをもと
に判定データを形成し、この判定データを予じめ設定す
る基べf!データと比較して、判定データと基準データ
の大小を判別して瓶類の良否判断を行うものである。
[Summary of the invention] Bottles are irradiated with light such as diffused light, the light obtained from the bottles is used as inspection light, the bottles are scanned with the inspection light at a plurality of scanning positions,
Convert this to video (No. 3), compare the signal level of this video signal with the video signal level similarly obtained at other inspection positions, perform a relative evaluation, and make a judgment based on the comparison data obtained as a result. This system forms data, compares this judgment data with preset base f! data, and determines the size of the judgment data and reference data to determine the quality of the bottles.

[従来の技術] 瓶類等を光学手段を用いて走査し、これらの欠損、7ら
れを検出して不良瓶類を検知するようにした検査方法が
知られている。この種の検査方法及び装置は、出願人に
よって特開昭58−108441及び特開昭58−10
8442に示されている。従来より知られている方法に
おいては、搬送路に沿って移送される瓶類に、光を照射
し、瓶類から得られる光を検査光とし、この検査光を一
次元撮像手段で撮映することによって映像信号を形成し
、この映像信号の信号パターンを予じめ設定された良紙
の信号パターンと比較して、瓶類等の良誓を判定してい
た。
[Prior Art] An inspection method is known in which defective bottles are detected by scanning bottles and the like using optical means to detect defects and cracks. This type of testing method and device was disclosed by the applicant in Japanese Patent Application Laid-open No. 58-108441 and Japanese Patent Application Laid-Open No. 58-10
8442. In a conventionally known method, bottles being transported along a conveyance path are irradiated with light, the light obtained from the bottles is used as inspection light, and this inspection light is imaged by a one-dimensional imaging means. By doing this, a video signal is generated, and the signal pattern of this video signal is compared with a preset signal pattern of good quality paper to determine the quality of the bottle or the like.

[発明が解決しようとする問題点] しかし乍ら、従来の方法においては、映像信号の信号パ
ターンと比較する基準パターンが固定的に設定されてい
るため、検査条件に変化が生じた場合に、これに対応す
ることが出来ず、従って良瓶類の誤検出又は不良瓶類の
見落しが生じ易くなっていた。
[Problems to be Solved by the Invention] However, in the conventional method, since the reference pattern to be compared with the signal pattern of the video signal is fixedly set, when the inspection conditions change, It has not been possible to deal with this, and as a result, it has become easy to erroneously detect good bottles or overlook defective bottles.

即ち、従来の方法を用いて検査が行われる場合、瓶類等
が水濡しているような場合、瓶類等の表面における反射
率に変化が生じて、基準パターンに対して大きく変化し
てしまう。従って、瓶類に欠損、汚れ等がない良紙であ
っても、不良と判定してしまうことが多いものとなって
いる。また、同様に瓶類の検査光を得るための光源と瓶
類との位置関係、瓶と撮像手段との位置が変化した場合
にも、検査条件が変化してしまい、映像信号に誤差=4
− が生じて、良瓶類の誤検出、不良瓶類の見落しの原因と
なっている。
In other words, when an inspection is performed using the conventional method, if the bottle or the like is wet, the reflectance on the surface of the bottle or the like changes, resulting in a large change from the reference pattern. Put it away. Therefore, even if the paper on the bottle is good and has no defects or stains, it is often determined to be defective. Similarly, if the positional relationship between the light source for obtaining the inspection light for bottles and the bottles changes, or the position between the bottles and the imaging means changes, the inspection conditions will change, resulting in an error of 4 in the video signal.
− occurs, causing false detection of good bottles and oversight of defective bottles.

従って、従来の方法においては、こうした良瓶類の誤検
出、不良瓶類の見落し等を防止するために、検査条件を
一定に保つことが必要となっているために、検査条件の
設定を難しいものとしている。また、たとえ検査条件を
相当厳密に合わせたとしても、未だに誤検出、見落し等
を完全に防+Lできないものとなっている。
Therefore, in conventional methods, it is necessary to keep the inspection conditions constant in order to prevent such erroneous detection of good bottles and oversight of defective bottles. It is made difficult. Moreover, even if the inspection conditions are matched quite strictly, it is still impossible to completely prevent false detections, oversights, etc.

そこで、本発明の目的は従来に於ける」−記のような問
題点を解決して、いかなる検査条件においても正確な良
否判定を行い得る瓶類の検査方法及びその方法を実施す
るための装置を提供しようとするものである。
SUMMARY OF THE INVENTION Accordingly, the object of the present invention is to provide a method for inspecting bottles that can solve the problems described above in the prior art and make accurate pass/fail judgments under any inspection conditions, and an apparatus for carrying out the method. This is what we are trying to provide.

1問題点を解決するための手段] 」−記の目的を達成するために、 本発明の第一の発明
による瓶類の光学検査方法は瓶類に光を照射するととも
に、瓶類から得られる光を検査光とし、光学素子にて前
記瓶類の所定検査部分において前記検査光をあらかじめ
定める走査間隔で走査して各走査位置の瓶類表面の輝度
に対応するレベルの検査借りを発生し、複数の検査信号
を比較して信シシレベルの差に応じた比較データを形成
し、該比較データを所定の基準値と比較して大小判別を
行い、判別結果に基づいで瓶類の良否を判断するするよ
うにしたことを特徴としている。
[Means for Solving Problem 1] - In order to achieve the object described above, the optical inspection method for bottles according to the first invention of the present invention irradiates the bottles with light and detects the amount of light obtained from the bottles. The light is used as an inspection light, and an optical element scans the inspection light at a predetermined scanning interval on a predetermined inspection portion of the bottle to generate an inspection beam at a level corresponding to the brightness of the surface of the bottle at each scanning position, Compare multiple inspection signals to form comparison data according to the difference in signal levels, compare the comparison data with a predetermined reference value to determine the size, and determine whether the bottle is good or bad based on the determination result. It is characterized by the fact that it is made to do so.

また、本発明の第二の発明による瓶類の光学検査方法は
瓶類の所定検査部分に所定の光を照射し、瓶類から得ら
れる光を検査光とし、前記検査部分の検査光を撮像素子
にて所定走査間隔で走査して各走査位置に於ける映像信
りを形成し、この映像信号を当該映像信号の走査位置に
対して所定の位置関係となる走査位置の映像信号と比較
して比較データを形成し、各走査位置の比較データを他
の走査位置の比較データと比較して判定データを形成し
、該判定データを設定値と比較して瓶類の良否を判別す
るようにしたことを特徴としている。
Further, in the optical inspection method for bottles according to the second aspect of the present invention, a predetermined inspection part of the bottle is irradiated with a predetermined light, the light obtained from the bottle is used as the inspection light, and the inspection light of the inspection part is imaged. The element scans at a predetermined scanning interval to form a video signal at each scanning position, and this video signal is compared with a video signal at a scanning position that has a predetermined positional relationship with respect to the scanning position of the video signal. to form comparison data, compare the comparison data of each scanning position with comparison data of other scanning positions to form judgment data, and compare the judgment data with a set value to judge whether the bottles are good or bad. It is characterized by what it did.

史に、本発明の第三の発明による瓶類の光学検査装置は
、瓶類の所定検査部分に光を照射する光源と、瓶類から
得られる光を検査光とし、前記瓶類の検査部分の検査光
を所定の走査間隔で走査して各走査位置における瓶類の
画像を撮影し各走査位置における画像データを発生ずる
撮像手段と、各走査位置の画像データを所定走査位置の
他の画像データと比較して各走査位置における比較デー
タを形成する比較データ発生手段と、及び前記比較デー
タ発生手段により形成された各比較データを比較して判
定データを形成し、この判定データと予じめ設定する基
準データとを比較して瓶類の良否を判定する判定手段と
にて構成したことを特徴としている。
Historically, the optical inspection device for bottles according to the third aspect of the present invention includes a light source that irradiates light onto a predetermined inspection portion of the bottles, and uses light obtained from the bottles as inspection light, imaging means for scanning the inspection light at predetermined scanning intervals to capture an image of the bottle at each scanning position and generating image data at each scanning position; a comparison data generating means for comparing data to form comparison data at each scanning position, and comparing each comparison data formed by the comparison data generating means to form judgment data, and forming judgment data in advance with this judgment data. It is characterized by comprising a determining means for determining the quality of the bottle by comparing it with set standard data.

また更に、本発明の第四の発明による瓶類の光学検査装
置は、瓶類の瓶口部に所定の光を照射する光源と、瓶類
から得られる光を検査光とし、前記瓶口部の周方向に所
定間隔で設定する走査位置にて瓶類の軸線方向の所定の
走査領域の検査光を走査して各走査位置の画像データを
形成する撮像手段と、各走査位置の画像データのピーク
値を所定走査位置の他の画像データのピーク値と比較し
て各走査位置における比較データを形成する比較データ
発生手段と、及び前記比較データ発生手段の各比較デー
タを比較して判定データを形成し、この判定データと予
じめ設定する基準データとを比較して瓶類の良否を判定
する判定手段とにて構成したことを特徴としている。
Furthermore, an optical inspection device for bottles according to a fourth aspect of the present invention includes a light source that irradiates a predetermined light to a bottle mouth of a bottle, and uses light obtained from the bottle as inspection light; an imaging means for scanning a predetermined scanning area in the axial direction of the bottle with the inspection light at scanning positions set at predetermined intervals in the circumferential direction of the bottle to form image data at each scanning position; comparison data generation means for comparing the peak value with the peak value of other image data at a predetermined scanning position to form comparison data at each scanning position; and comparing each comparison data of the comparison data generation means to generate judgment data. The present invention is characterized by comprising a determining means for determining the quality of bottles by comparing the determination data with preset reference data.

[作 用] 上記の本発明の第−及び第二の発明の方法によれば、検
査する瓶類の外表面に光を照射して、瓶類の外表面にて
反射される検査光を光学素子または撮像素子にて走査し
て、反射光の強度を示す走査信号または映像信号を形成
し、各走査位置の信号を、他の走査位置の信号と相対比
較して、信号レベルの差に応じた比較データを形成し、
この比較データを更に比較してその代表値を判定データ
とし、判定データを、予じめ設定する基準データと大小
比較して、判定データが基準データよりも大きい時ある
いは小さい時に、検査対象となっている瓶類に欠損また
は汚れ等が有るものと判断する。
[Function] According to the above-mentioned methods of the first and second aspects of the present invention, the outer surface of the bottles to be inspected is irradiated with light, and the inspection light reflected from the outer surface of the bottles is optically transmitted. A scanning element or an image sensor scans to form a scanning signal or a video signal indicating the intensity of reflected light, and the signal at each scanning position is relatively compared with the signal at other scanning positions, and the signal is calculated according to the difference in signal level. form comparative data,
This comparison data is further compared and its representative value is used as judgment data, and the judgment data is compared in size with preset reference data, and when the judgment data is larger or smaller than the reference data, it becomes the inspection target. It is determined that the bottles are missing or dirty.

また、本発明の第三の発明における光学検査装置によれ
ば、拡散光源等の光源を用いて瓶類の所定検査部分に光
を照射して、瓶類から得られる光を検査光とし、この検
査部分の複数の走査位置の検査光を撮像手段にて走査し
て、各走査位置の画像データを形成し、各走査位置の画
像データを相対評価して比較データを形成し、この比較
データに基づいて判定データを形成し、これと基め値を
比較して、瓶類の良否判定を行っている。 また更に、
本発明の第四の発明に於いては上記第三の発明の画像デ
ータの比較において、画像データのピーク値を比較する
ようにして、画像データのピーク値の変化に基づいで瓶
類の良否が判定される。
Further, according to the optical inspection device according to the third aspect of the present invention, a light source such as a diffused light source is used to irradiate light onto a predetermined inspection portion of the bottles, and the light obtained from the bottles is used as the inspection light. The inspection light at a plurality of scanning positions of the inspection part is scanned by an imaging means to form image data at each scanning position, and comparative data is formed by relatively evaluating the image data at each scanning position. Judgment data is created based on this, and this is compared with a reference value to determine the quality of bottles. Furthermore,
In the fourth invention of the present invention, in the comparison of the image data of the third invention, the peak values of the image data are compared, and the quality of the bottle is determined based on the change in the peak value of the image data. It will be judged.

[実 施 例コ 以下に、本発明の実施例を添付図面を参照して説明する
[Embodiments] Hereinafter, embodiments of the present invention will be described with reference to the accompanying drawings.

第1図は本発明の好適実施例による瓶類の光学検査装置
の概略を示している。この実施例において光学検査装置
は、飲料、酒類等の瓶詰ラインに空瓶Iを供給するため
の空瓶供給ラインの搬送コンベア2に隣接して配置され
、この搬送コンベアにて連続的に供給される空瓶の、特
に瓶口部分3の欠損、汚れ等を検査し、欠損、汚れ等の
有る空瓶を不良紙として供給ラインより排除するための
空瓶の瓶[」検査工程に用いられる。
FIG. 1 schematically shows an optical inspection apparatus for bottles according to a preferred embodiment of the present invention. In this embodiment, the optical inspection device is disposed adjacent to a conveyor 2 of an empty bottle supply line for supplying empty bottles I to a bottling line for beverages, alcoholic beverages, etc., and is continuously supplied by this conveyor. It is used in the empty bottle inspection process to inspect empty bottles, especially the bottle mouth part 3, for defects, stains, etc., and to remove empty bottles with defects, stains, etc. from the supply line as defective paper.

この光学検査装置は、搬送コンベア2」二の空瓶Iの瓶
口部分3に拡散光等の光を照射し瓶類から得られる光を
検査光とする光源IOとCODカメラ等の撮像手段20
とを有している。更に、本実施例の光学検査装置は、」
二足の光源10及び撮像手段20を配設した空瓶供給ラ
インの検査位置にて、検査対象の空瓶1を所定の速度で
回転させるために周知の旋回装置(図示せず)が設けら
れている。この種の空瓶旋回装置は、例えば特開昭58
−108/14+及び特開昭58−108442に開示
されているものを用いることが出来る。
This optical inspection device consists of a light source IO that irradiates light such as diffused light onto the bottle mouth portion 3 of an empty bottle I on a conveyor 2 and uses light obtained from the bottles as inspection light, and an imaging means 20 such as a COD camera.
It has Furthermore, the optical inspection device of this embodiment is
At the inspection position of the empty bottle supply line where the bipedal light source 10 and the imaging means 20 are arranged, a well-known turning device (not shown) is provided to rotate the empty bottle 1 to be inspected at a predetermined speed. ing. This type of empty bottle rotation device is known, for example, from Japanese Patent Application Laid-open No. 58
-108/14+ and JP-A-58-108442 can be used.

図示の実施例に於いては、光源10は空瓶1の上方に配
設された第一の光源10aと瓶口部分3の下方に配設さ
れ、下方より検査光を照射する第二の光源10bとにて
構成されている。第一の光源10aは、好ましくは環状
に形成され、前記の第二の光源10bとともに瓶[]部
分3の検査領域にほぼ均一・な検査光を照射しうるよう
に構成されている。この拡散光源としては、例えば蛍光
灯、白熱灯等が用いられるが、要すればレーザ等の集中
光源と光拡散手段とを組み合わせて用いることも可能で
ある。また、図示の実施例に於いては、拡散光を用いて
瓶[1部分3の検査領域にほぼ均一に照明するように構
成しているが、これに替えて集中光を走査位置のみに照
射するようにし、この集中光の照射位置を順次変位させ
るようにすることも可能である。
In the illustrated embodiment, the light source 10 includes a first light source 10a disposed above the empty bottle 1, and a second light source disposed below the bottle opening 3, which emits inspection light from below. 10b. The first light source 10a is preferably formed in an annular shape, and is configured to be able to irradiate the inspection area of the bottle part 3 with substantially uniform inspection light together with the second light source 10b. As this diffused light source, for example, a fluorescent lamp, an incandescent lamp, etc. are used, but if necessary, it is also possible to use a combination of a concentrated light source such as a laser and a light diffusing means. In addition, in the illustrated embodiment, diffused light is used to almost uniformly illuminate the inspection area of bottle [1 part 3], but instead of this, concentrated light can be used to irradiate only the scanning position. It is also possible to sequentially displace the irradiation position of this concentrated light.

撮像手段20は、所定の走査位置において瓶口部分3の
検査領域に焦点を合わせられており、空瓶lの軸線方向
に、瓶口部分3の外表面を走査して、走査部分の輝度情
報を含む画像データを有する走査信号を発生ずる。画像
データに含まれる輝度情報は、瓶口部分3の検査光の反
射率によって変化する反射光強度に応じて変化する。
The imaging means 20 is focused on the inspection area of the bottle neck part 3 at a predetermined scanning position, and scans the outer surface of the bottle neck part 3 in the axial direction of the empty bottle l to obtain luminance information of the scanned part. generates a scanning signal having image data including image data. The brightness information included in the image data changes according to the intensity of reflected light, which changes depending on the reflectance of the inspection light on the bottle mouth portion 3.

撮像手段20は、信号処理回路30の撮像制御回路31
に接続されており、各走査位置において発生ずる走査信
号を前記撮像制御回路31に送出する。信号処理回路3
0は、CPU32を有しており、このCPUは、インタ
ーフェイス33を介して、撮像制御回路31に接続され
ている。撮像制御回路3Iは、撮像手段20より入力す
る走査信号をアナログ映像信号に変換し、インターフェ
イス33に第2図に示す、あるしきいちをもって1とO
に2値化した映像信号と撮像手段20が走査した区間を
示す走査区間信号を出力する。撮像制御回路31は、こ
れと同時にアナログ映像信号をピークホールド回路34
に出力する。ピークホールド回路34は、ピークホール
ド部35とΔ/D変換部36及び出力部37を有してい
る。
The imaging means 20 includes an imaging control circuit 31 of the signal processing circuit 30
The scanning signal generated at each scanning position is sent to the imaging control circuit 31. Signal processing circuit 3
0 has a CPU 32, and this CPU is connected to the imaging control circuit 31 via an interface 33. The imaging control circuit 3I converts the scanning signal inputted from the imaging means 20 into an analog video signal, and sends the signal 1 and O at a certain point to the interface 33 as shown in FIG.
A binarized video signal and a scanning section signal indicating the section scanned by the imaging means 20 are output. At the same time, the imaging control circuit 31 outputs the analog video signal to the peak hold circuit 34.
Output to. The peak hold circuit 34 includes a peak hold section 35, a Δ/D conversion section 36, and an output section 37.

ピークボールド回路34に入力された映像信号は、ピー
クホールド部35にてピーク値をホールドされる。ピー
クホールド部35は、ホールドしたピーク値に対応する
アナログ信号をA/D変換;1< :’、 6に出力す
る。Δ/D変換部36は、入力するアナログ信号をディ
ジタル変換し、出力部37に送出する。出力部37は、
一時記憶回路を内蔵しており、A/D変換部36より入
力するディジタル信号を、一時記憶回路の走査位置に対
応して割り付けられた記憶部にピーク値データとして格
納する。
The peak value of the video signal input to the peak bold circuit 34 is held by a peak hold section 35. The peak hold unit 35 outputs an analog signal corresponding to the held peak value to an A/D converter; 1<:', 6. The Δ/D conversion unit 36 digitally converts the input analog signal and sends it to the output unit 37. The output section 37 is
It has a built-in temporary storage circuit, and stores the digital signal input from the A/D converter 36 as peak value data in a storage section allocated to the scanning position of the temporary storage circuit.

一方、インターフェイス33は、撮像制御回路31より
取り込む2値化映像信号と走査区間信号を用いて、第2
図に示すように軸線方向の複数の信号区間ABCDに分
割して、各信号区間を示す区間信号を形成する。2値化
映像信号はこの場合、瓶類の位置が軸方向に変化したと
き、その変化に応じて信号区間が変化できるようにする
ための情報である。また、インターフェイス33は、」
二足区間信号をピークホールド部35へ出力し、ピーク
ボールド部35がピークホールドすべき信号の区間を与
える。ピークボールド部35は、撮像制御回路3Iによ
り直接入力するアナログ映像信号のうち、ピークホール
ドする区間を、」二足区間信号により決定され、各信号
区間に於けるピーク値をピークボールドする。なお、出
ツノ部37に設ける一時記憶回路は瓶口部分3の全走査
位置に46ける映像信号の各信号区間のピーク値を記憶
しうる敗の記憶部を何している。従って、各検査対象と
なる空瓶1の全ての走査位置のピーク値は上記の一時記
憶回路中に格納される。また、好ましくは、CPtJ3
2は、前記した旋回装置と撮像手段20の動作を同期さ
せるために、図示しない空瓶位置検出器に接続され、検
出器の検出する空瓶の角度位置に応じて撮像手段20の
動作を制御して、撮像手段20が所定の走査位置にて撮
像動作を行うようにする。
On the other hand, the interface 33 uses the binarized video signal and the scanning section signal taken in from the imaging control circuit 31 to
As shown in the figure, it is divided into a plurality of signal sections ABCD in the axial direction to form section signals indicating each signal section. In this case, the binarized video signal is information that allows the signal section to change in accordance with the change in the position of the bottle in the axial direction. In addition, the interface 33 is
The two-leg interval signal is output to the peak hold unit 35, and the peak bold unit 35 provides the interval of the signal to be peak held. The peak bold section 35 determines the peak-holding section of the analog video signal directly inputted by the imaging control circuit 3I based on the two-legged section signal, and peak-bolds the peak value in each signal section. Incidentally, the temporary storage circuit provided in the outlet part 37 serves as a storage part capable of storing the peak values of each signal section of the video signal at all scanning positions of the bottle mouth part 3. Therefore, the peak values of all scanning positions of each empty bottle 1 to be inspected are stored in the above-mentioned temporary storage circuit. Also preferably, CPtJ3
2 is connected to an empty bottle position detector (not shown) in order to synchronize the operations of the above-described rotation device and the imaging means 20, and controls the operation of the imaging means 20 according to the angular position of the empty bottle detected by the detector. Thus, the imaging means 20 performs an imaging operation at a predetermined scanning position.

第2図に示すように、本実施例に於いては各走査位置に
於ける検査領域は瓶口部分3をA、B。
As shown in FIG. 2, in this embodiment, the inspection areas at each scanning position are A and B for the bottle opening 3.

C,Dの4つの領域に区分している。これは瓶口部分の
曲面形状によって生じる誤検出を防止するためのもので
、検査領域を細分化することによって各走査位置に於け
る映像信号の相対評価による検査対象の空瓶Iの良否判
定の精度を向」−する。
It is divided into four areas, C and D. This is to prevent false detection caused by the curved shape of the bottle opening. By dividing the inspection area into smaller parts, it is possible to judge the quality of the empty bottle I by the relative evaluation of the video signal at each scanning position. Improve accuracy.

第2図及び第3図に示すように、空瓶Iの瓶口部分3の
形状は通常その周方向に於いては一定であり、従って各
走査位置に於ける映像信号のピークはほぼ同一の信号位
置に表れる。即ち、第2図の例に於いては、それぞれの
各検査領域A、B。
As shown in FIGS. 2 and 3, the shape of the bottle opening 3 of the empty bottle I is usually constant in the circumferential direction, and therefore the peak of the video signal at each scanning position is almost the same. Appears at the signal position. That is, in the example of FIG. 2, each of the inspection areas A and B.

C,Dに対応オる膨出部3a、3bの各頂部近傍におい
て検査光の反射率が高く、従って輝度の高い部分3e、
3f、3gが生じる。このため、この高輝度部分3e、
3f、3gに対応する信号位置の輝度レベルは他の信号
区間と比較して高いものとなる。しかし乍ら、検査対象
の空瓶1が良紙である場合には対応する信号位置の映像
信号の輝度レベルは、いずれの走査位置に於いてもほぼ
一定となるので、ピーク値を比較して形成する各走査位
置に於ける比較データの値は相当に小さくなる。一方、
検査対象の空瓶に欠損、汚れ等がある場合には、検査光
の反射が不規則となり、従って映像信号の輝度レベルは
不規則に変化して輝度レベルの急上昇または落ち込みと
なって表れる。
In the vicinity of each top of the bulging portions 3a and 3b corresponding to C and D, the reflectance of the inspection light is high and therefore the brightness is high, such as a portion 3e,
3f and 3g are generated. Therefore, this high brightness portion 3e,
The brightness levels at the signal positions corresponding to 3f and 3g are higher than other signal sections. However, if the empty bottle 1 to be inspected is made of good paper, the brightness level of the video signal at the corresponding signal position will be almost constant at any scanning position, so the peak values can be compared. The value of the comparison data at each scan position formed will be significantly smaller. on the other hand,
If the empty bottle to be inspected has defects, dirt, etc., the inspection light will be irregularly reflected, and therefore the brightness level of the video signal will change irregularly, resulting in a sharp rise or drop in the brightness level.

そこで、CPU32によってピークホールド回路34の
出力部37の一時記憶回路に格納されたピーク値を相対
比較処理すれば、精度良く検査対象の空瓶の良否を判定
することが出来るものとなX5− る。
Therefore, if the CPU 32 performs a relative comparison process on the peak values stored in the temporary storage circuit of the output section 37 of the peak hold circuit 34, it becomes possible to accurately determine the quality of the empty bottle to be inspected. .

第4図は、CI) U 32及びピークホールド回路3
4によって実行される良否判定プログラム及び動作のフ
ローチャートを示している。この良否判定プログラム及
び動作は、空瓶供給ラインの稼働とともに反復して実行
される。
Figure 4 shows CI) U 32 and peak hold circuit 3.
4 shows a flowchart of the quality determination program and operations executed by the computer. This quality determination program and operation are repeatedly executed along with the operation of the empty bottle supply line.

良否判定プログラム及び動作が開始されると、ステップ
+001にて図示しない空瓶検出器の信号がヂエツクさ
れる。これは、空瓶検出器に接続され検出信号を受ける
CPU32の入力ポートのデータレベルを検出して行わ
れる。例えば、検査対象の空瓶lが検査位置に到達する
とCPU32の前記の人力ポートのデータレベルは”0
”から”1”に立ち」ニがるので、このデータレベル”
1”を検出することによって、検査対象となる空瓶1が
検査位置に到達したことを検出する。CPU32は」二
足の人力ポートのデータレベルが”1”に立ち」二がる
までの間、ステップ1001の処理を反復する。
When the quality determination program and operation are started, a signal from an empty bottle detector (not shown) is checked at step +001. This is done by detecting the data level at the input port of the CPU 32 which is connected to the empty bottle detector and receives the detection signal. For example, when the empty bottle l to be inspected reaches the inspection position, the data level of the manual port of the CPU 32 is "0".
``This data level'' goes from ``to 1'' to ``1''.
By detecting ``1'', it is detected that the empty bottle 1 to be inspected has reached the inspection position. , repeat the process of step 1001.

CPU32は、上記の入カポ−1−のデータレベルが”
0”から”1”に立ち上がった時に、これを検出して、
ピークホールド回路34によって得られる各走査位置に
於ける映像信号の各信号区間A、13.C,Dのピーク
値を取り込むためのデータサンプリングルーチンを実行
する。CPU32が第4図のフローチャートに従い動作
しているのに対し、ピークホールド回路34は、第5図
のフローヂャーI・に示す動作を行っている。
The CPU 32 determines that the data level of the above input capo-1 is "
When it rises from “0” to “1”, detect this and
Each signal section A, 13 . of the video signal at each scanning position obtained by the peak hold circuit 34 . Execute a data sampling routine to capture the peak values of C and D. While the CPU 32 operates according to the flowchart shown in FIG. 4, the peak hold circuit 34 performs the operation shown in flowchart I. of FIG.

第5図のデータサンプリングルーチンが開始されると、
ピークホールド回路34は、ステップ1101にて前記
した空瓶位置検出器からの入力される角度信号をヂエツ
クして、検査対象の空瓶Iの角度位置が所定の位置とな
っていることを確認する。この際、空瓶1が回転中であ
るとかまたはその角度位置が所定の位置でない場合には
ステップ1101の動作を空瓶ll01の角度位置が所
定位置となるまで反復する。
When the data sampling routine of FIG. 5 is started,
In step 1101, the peak hold circuit 34 checks the angle signal input from the empty bottle position detector described above to confirm that the angular position of the empty bottle I to be inspected is at a predetermined position. . At this time, if the empty bottle 1 is rotating or its angular position is not at the predetermined position, the operation of step 1101 is repeated until the angular position of the empty bottle 1101 is at the predetermined position.

尚、要すれば、タイマ等によってステップ1101の継
続時間を計測し、またはカウンタ等を用いてステップ+
101の反復回数を計数して、継続時間が゛所定時間よ
りも長くなり、または反復回数が所定回数を越えた時に
、異常信号を発生して警報するようにすることも可能で
ある。
If necessary, measure the duration of step 1101 using a timer or the like, or use a counter or the like to measure the duration of step 1101.
It is also possible to count the number of repetitions of 101 and generate an abnormality signal to issue a warning when the duration becomes longer than a predetermined time or the number of repetitions exceeds a predetermined number.

ステップ!101にて空瓶1が所定の角度位置にあるこ
とが確認されると、ピークボールド回路34は、ステッ
プ1102にてリセット信号をピークホールド部35に
送出してピークホールド部35の記憶内容をクリアする
。これと同時に、撮像手段20より出力される走査信号
は、撮像制御回路31にてアナログ映像信号に変換され
てピークホールド回路34のピークボールド部35及び
インターフェイス33に入力される。インターフェイス
33は撮像制御回路31より入力される2値化映像信舅
・に基づいて、各信号区間A、B、C。
Step! When it is confirmed in step 101 that the empty bottle 1 is at a predetermined angular position, the peak bold circuit 34 sends a reset signal to the peak hold section 35 in step 1102 to clear the memory contents of the peak hold section 35. do. At the same time, the scanning signal output from the imaging means 20 is converted into an analog video signal by the imaging control circuit 31 and input to the peak bold section 35 of the peak hold circuit 34 and the interface 33. The interface 33 outputs each signal section A, B, and C based on the binarized video signal inputted from the imaging control circuit 31.

Dの映像信号をピークホールド部35に出力する。The D video signal is output to the peak hold section 35.

ピークボールド部35は、従って、ステップ1103.
1104.1105、ll06において撮像制御手段3
1より入力するアナログ映像信号の各信号区間Δ、B、
C,Dに相当するピーク値をボールドする。これに同期
して、ステップ1103.1104、+105.110
6にてボールドされたピーク値をA/D変換部36にて
A / D変換しくステップ1107)、出力部37の
一時記憶回路の所定記憶部に格納する(ステップ+10
8、+109、+110、I ] I +)。
The peak bold portion 35 is therefore processed in step 1103.
1104.1105, imaging control means 3 at ll06
Each signal section Δ, B, of the analog video signal input from 1
The peak values corresponding to C and D are bolded. In synchronization with this, steps 1103.1104, +105.110
The peak value bolded in step 6 is A/D converted by the A/D converter 36 (step 1107), and stored in a predetermined storage section of the temporary storage circuit of the output section 37 (step +10).
8, +109, +110, I ] I +).

尚、ピークホールド回路34のA/D変換部36にてA
/D変換されたピーク値は8ビツトのデジタルデータと
して一時記憶回路に記憶される。
Note that the A/D converter 36 of the peak hold circuit 34
The /D-converted peak value is stored in a temporary storage circuit as 8-bit digital data.

ステップ1111にてピーク値データの一時記憶回路の
所定記憶部への書き込みを終了すると、ピークホールド
回路34はステップ1112の処理を終わった時点で、
CP U 32に、ピーク値のデータ読取り可能信号を
出力する。
When writing of the peak value data to the predetermined storage section of the temporary storage circuit is completed in step 1111, the peak hold circuit 34 completes the process of step 1112, and then
A peak value data readable signal is output to the CPU 32.

次いで、CPU32は第4図のメインルーチンのステッ
プ1003にて」二足のピーク値のデータ読取り可能信
号をヂエツクし、読取り可能であれば、ステップ100
4にて続出コマンドをピークボールド回路34の出力部
37に送出して、出力部の一時記憶回路に一時記憶され
たピーク値データを順次読出ず。ステップ1004にて
読出されたピーク値データは、ステップ1005にて、
CP U 32の内部記憶回路にパスライン38を通っ
て転送される。
Next, in step 1003 of the main routine of FIG. 4, the CPU 32 checks the data readable signal for the two peak values, and if the data can be read, the process proceeds to step 100.
4, the successive commands are sent to the output section 37 of the peak bold circuit 34, and the peak value data temporarily stored in the temporary storage circuit of the output section is sequentially read out. The peak value data read out in step 1004 is processed in step 1005.
The data is transferred to the internal storage circuit of the CPU 32 via a pass line 38.

CPU32は、次のステップ1006にて前記した図示
しない空瓶検出器の信号レベルをヂエツクし、瓶口部の
全周を所定の間隔をもって走査完了した場合信号レベル
が”1”から”0”に変わるので、ステップ1006に
おけるヂエックの結果、信号レベルが”l”の場合には
、ステップ1002に戻って次の走査位置に於けるデー
タサンプリングをおこなう。一方、信号レベルが”0”
の場合には、CPU32は、ステップ1007にて第6
図に示すデータ処理ルーチンを実行する。
In the next step 1006, the CPU 32 checks the signal level of the empty bottle detector (not shown), and changes the signal level from "1" to "0" when scanning the entire circumference of the bottle opening is completed at a predetermined interval. Therefore, if the signal level is "1" as a result of checking in step 1006, the process returns to step 1002 to perform data sampling at the next scanning position. On the other hand, the signal level is “0”
In this case, the CPU 32 executes the sixth
Execute the data processing routine shown in the figure.

データ処理ルーチンが実行されると、まづステップ12
0IにてCPU32の内部記憶回路に書き込まれたピー
ク値データが、各信号区間毎に読出される。この時、読
出された各信号区間のピークhliは第7図に示された
ようになる。次いで、スナップ1202及び各信号ステ
ップ■203では、各イ;;壮区間の各走査位置に於け
るピーク値が比較され、最大値Max(Pn)、及び最
小値M i n(Pn)が決定される。ステップ120
4では、ステップ1202及び1203にて決定された
ピーク値の最大値Max(Pn)と、最小値M i n
(Pn)の差が算出される。ステップ1205において
は各走査位置のピーク値がX回前の走査位置に於けるピ
ーク値と比較され、(Pn)−(P。
When the data processing routine is executed, first step 12
The peak value data written in the internal storage circuit of the CPU 32 at 0I is read out for each signal section. At this time, the peak hli of each read signal section becomes as shown in FIG. Next, in the snap 1202 and each signal step 203, the peak values at each scanning position of each A; Ru. Step 120
4, the maximum value Max (Pn) of the peak values determined in steps 1202 and 1203 and the minimum value M i
(Pn) difference is calculated. In step 1205, the peak value at each scan position is compared with the peak value at the scan position X times before, and (Pn)-(P.

−、)の最大値Ma X (Pn−Pn−x)が算出さ
れる。
-, ) maximum value Ma X (Pn-Pn-x) is calculated.

更に、ステップ1206出は全走査位置のピーク値の平
均値  P n / Nが算出される。
Further, in step 1206, the average value P n /N of the peak values of all scanning positions is calculated.

データ処理ルーチンのステップl007が終了すると、
メインルーチンに戻りステップl008にて判定ルーチ
ンが実行される。この判定ルーチンは第8図に示されて
いる。この判定ルーチンに於いては、ステップ1301
.+302.1303、l304.1305にて曲記の
データ処理ルーチンのステップ1202、I2O3、I
204.1205.1206にて求められたMax(P
n)、 Mi n (Pn) 、  (Max (Pn
) −M i n (Pn))、Max (Pn−P、
1.)、   r’n/Nがそれぞれ対応する設定値と
比較される。即ち、ステップl301においてはMax
(Pn)がこれに対応する設定値Rc f M a x
よりも小さいときに良紙と判断し、大きいときに不良瓶
と判断する。
When step l007 of the data processing routine is completed,
Returning to the main routine, a determination routine is executed in step 1008. This determination routine is shown in FIG. In this determination routine, step 1301
.. +302.1303, l304.1305, steps 1202, I2O3, I of the music data processing routine
Max(P
n), Min (Pn), (Max (Pn)
) −M i n (Pn)), Max (Pn−P,
1. ), r'n/N are compared with their respective set values. That is, in step l301, Max
(Pn) is the corresponding setting value Rc f M a x
If it is smaller than , it is judged to be a good paper, and if it is larger, it is judged to be a bad bottle.

ステップ1302においては、Min(Pn)がこれに
対応する設定値Rc f M i nよりも大きいとき
に良紙と判断し、小さいときに不良瓶と判断する。又、
ステップ1303では、(Max(Pn)−Mi n 
(Pn))が設定値RefDifよりも小さいときに良
紙と判断し、大きいときに不良瓶と判断している。更に
、ステップ1304では、M a x (P n−P 
、、−、)が設定値Rc f d M 2LXよりも小
さいときに良紙と判断し、大きいときに不良瓶と判断す
る。またさらに、ステップ1305では、P n / 
Nが設定値Re f A v eよりも大きいときに良
紙と判断し、小さいときに不良瓶と判断する。本実施例
に於いては、前記判断ルーチンのステップ中のいづれか
のステップで不良瓶と判定された空瓶Iを不良瓶として
判断し、いづれのステップにおいても良紙と判断された
もののみを良紙と判断する。
In step 1302, when Min (Pn) is larger than the corresponding set value Rc f Min, it is determined that the paper is good, and when it is smaller, it is determined that the bottle is defective. or,
In step 1303, (Max(Pn)-Min
(Pn)) is smaller than the set value RefDif, the paper is judged to be good, and when it is larger, the bottle is judged to be defective. Furthermore, in step 1304, M a x (P n-P
, , -, ) is smaller than the set value Rc f d M 2LX, it is determined to be a good paper, and when it is larger, it is determined to be a defective bottle. Furthermore, in step 1305, P n /
When N is larger than the set value RefAve, it is determined that the paper is good, and when it is smaller, it is determined that the bottle is defective. In this embodiment, an empty bottle I that was determined to be a defective bottle in any of the steps of the determination routine is determined to be a defective bottle, and only those that were determined to be good paper in any step are determined to be defective. Judged as paper.

」二記の判定ルーチンに於ける判断結果は、メインルー
チンのステップ1009にて空瓶供給ラインを制御する
制御コンピュータに送られる。
The results of the determination in the determination routine described above are sent to the control computer that controls the empty bottle supply line in step 1009 of the main routine.

[効 果] 上記のように本発明の光学検査方法及び装置によれば、
空瓶の外表面を複数の走査位置にて走査して得る複数の
映像信号を相対比較して、その結果得られた比較データ
に基づいて空瓶の良否判定を行うようにしているので、
検査条件が変化してもその変化によって、良否判定結果
に影響を与えないものとなる。従って、本発明の光学検
査方法及び装置によれば、検査条件の変化等による誤検
出、見落とし等が未然に防IFできる効果がある。
[Effects] As described above, according to the optical inspection method and apparatus of the present invention,
Multiple video signals obtained by scanning the outer surface of an empty bottle at multiple scanning positions are relatively compared, and the quality of the empty bottle is determined based on the comparison data obtained as a result.
Even if the inspection conditions change, the change will not affect the pass/fail determination results. Therefore, according to the optical inspection method and apparatus of the present invention, it is possible to prevent erroneous detection, oversight, etc. due to changes in inspection conditions.

なお、」1記の実施例に於いてはM a x’ (P 
n ) 。
In addition, in the embodiment described in "1", M a x' (P
n).

Mi n (Pn)、Max (Pn)−Mi n (
pn)、 M a x (p n−p n−x)及び 
 P n / Nのように映像信号より複数の比較デー
タを形成し、それぞれの比較データを対応する基準値と
比較して空瓶の良否判定行って判定精度を向上している
が、複数の比較データによって良否判定を行うことは本
発明に於いて必須の要件ではなく、単一の比較データに
よって判定することも当然可能である。
Min (Pn), Max (Pn) - Min (
pn), M ax (p n-p n-x) and
Multiple comparison data are generated from video signals like P n / N, and each comparison data is compared with the corresponding reference value to determine whether an empty bottle is good or not, thereby improving the judgment accuracy. It is not an essential requirement in the present invention to make a quality judgment based on data, and it is naturally possible to make a judgment based on a single comparison data.

また更に、L記の実施例に於いては各走査位置の映像信
号のピーク値を比較して比較データを形成しているが、
本発明はこれに特定されるものではなく、例えば、各信
号位置に於ける信号レベルを比較して比較データを形成
することも可能であり、又、信号波形を比較することに
よっても比較データを形成することが出来るものである
Furthermore, in the embodiment described in L, the peak values of the video signals at each scanning position are compared to form comparison data.
The present invention is not limited to this; for example, it is possible to form comparison data by comparing signal levels at each signal position, or it is also possible to form comparison data by comparing signal waveforms. It is something that can be formed.

【図面の簡単な説明】[Brief explanation of the drawing]

第1図は本発明の好適実施例による瓶類の光学検査装置
を示すブロック図、第2図は空瓶の検査位置に於ける検
査光の状態及びこれに対応した映像信号の波形を示す説
明図、第3図は複数走査位置に於ける映像信号を示す波
形図、第4図は第1図の装置によって実行される空瓶検
査プログラムを示すフローヂャート、第5図はピークボ
ールド回路のピーク値データザンブリング動作のフロー
ヂャート、第6図は第4図の空瓶検査プログラムのデー
タ処理ルーチンのフローヂャート、第7図は各走査位置
のピーク値データの相関関係を示す図、第8図は第4図
の空瓶検査プログラムのデータ判定ルーチンのフローチ
ャー1・。 119.空瓶 209.搬送コンベア 399.瓶口部分 10、、、光源 20、、、撮像手段 30、、、信号処理回路 33、、、インターフェイス 34、、、ピークボールド回路 第8図 5TART 3oI Max(Pn)<Refmax ES Mln(Pn)>Ref mlx ES Mox(Pnl−Min(Pnl >Refdtr ES Mox(Pn−Pnlx > Refdrn、lv 第7図
FIG. 1 is a block diagram showing an optical inspection device for bottles according to a preferred embodiment of the present invention, and FIG. 2 is an explanation showing the state of the inspection light at the empty bottle inspection position and the waveform of the video signal corresponding to the state of the inspection light. Figure 3 is a waveform diagram showing video signals at multiple scanning positions, Figure 4 is a flowchart showing an empty bottle inspection program executed by the device in Figure 1, and Figure 5 is a peak value of the peak bold circuit. Figure 6 is a flowchart of the data processing routine of the empty bottle inspection program in Figure 4. Figure 7 is a diagram showing the correlation between peak value data at each scanning position. Flowchart 1 of the data judgment routine of the empty bottle inspection program shown in the figure. 119. Empty bottle 209. Conveyor 399. Bottle mouth part 10, ... Light source 20, ... Imaging means 30, ... Signal processing circuit 33, ... Interface 34, ... Peak bold circuit Fig. 8 5TART 3oI Max (Pn) <Refmax ES Mln (Pn)> Ref mlx ES Mox(Pnl-Min(Pnl > Refdtr ES Mox(Pn-Pnlx > Refdrn, lv

Claims (4)

【特許請求の範囲】[Claims] (1)瓶類に光を照射し、瓶類から得られる光を検査光
とし、光学素子にて前記瓶類の所定検査部分において前
記検査光をあらかじめ定める走査間隔で走査して各走査
位置の瓶類表面の輝度に対応するレベルの走査信号を発
生させ、複数の走査信号を比較・処理して信号レベルの
差比等に応じた比較データを形成し、該比較データを所
定の基準値と比較して大小判別を行い、判別結果に基づ
いで瓶類の良否を判断するするようにしたことを特徴と
する瓶類の光学検査方法。
(1) Light is irradiated onto the bottles, the light obtained from the bottles is used as the inspection light, and an optical element is used to scan the inspection light at a predetermined scanning interval on a predetermined inspection portion of the bottles, and each scanning position is Generate a scanning signal with a level corresponding to the brightness of the surface of the bottle, compare and process the plurality of scanning signals to form comparison data according to the signal level difference ratio, etc., and use the comparison data with a predetermined reference value. An optical inspection method for bottles, characterized in that the sizes are determined by comparison, and the quality of the bottles is determined based on the discrimination results.
(2)瓶類の所定検査部分に所定の光を照射し、瓶類か
ら得られる光を検査光とし、前記検査部分の検査光を撮
像素子にて所定走査間隔で走査して各走査位置に於ける
映像信号を形成し、この映像信号を当該映像信号の走査
位置に対して所定の位置関係となる走査位置の映像信号
と比較して比較データを形成し、各走査位置の比較デー
タを他の走査位置の比較データと比較して判定データを
形成し、該判定データを設定値と比較して瓶類の良否を
判別するようにしたことを特徴とする瓶類の光学検査方
法。
(2) Irradiate a predetermined inspection part of the bottle with a predetermined light, use the light obtained from the bottle as the inspection light, and scan the inspection light of the inspection part with an image sensor at a predetermined scanning interval to each scanning position. This video signal is compared with a video signal at a scanning position that has a predetermined positional relationship with respect to the scanning position of the video signal to form comparison data, and the comparison data at each scanning position is compared with another video signal. 1. A method for optically inspecting bottles, characterized in that judgment data is formed by comparing comparison data of scanning positions of , and the judgment data is compared with a set value to judge whether the bottles are good or bad.
(3)瓶類の所定検査部分に光を照射する光源と、瓶類
から得られる光を検査光とし、前記瓶類の検査部分の検
査光を所定の走査間隔で走査して各走査位置における瓶
類の画像を撮影し各走査位置における画像データを発生
する撮像手段と、各走査位置の画像データを所定走査位
置の他の画像データと比較して各走査位置における比較
データを形成する比較データ発生手段と、及び前記比較
データ発生手段の各比較データを比較して判定データを
形成し、この判定データと予じめ設定する基準データと
を比較して瓶類の良否を判定する判定手段とにて構成し
たことを特徴とする瓶類の光学検査装置。
(3) A light source that irradiates light onto a predetermined inspection part of the bottles, and the light obtained from the bottles is used as the inspection light, and the inspection light of the inspection part of the bottles is scanned at a predetermined scanning interval, and the inspection light is scanned at each scanning position. imaging means for taking an image of the bottle and generating image data at each scanning position; and comparison data for comparing the image data at each scanning position with other image data at a predetermined scanning position to form comparison data at each scanning position. a generating means, and a determining means that compares each comparison data of the comparison data generating means to form determination data, and compares this determination data with preset reference data to determine the quality of the bottle. An optical inspection device for bottles, characterized by comprising:
(4)瓶類の瓶口部に所定の光を照射する光源と、瓶類
から得られる光を検査光とし、前記瓶口部の周方向に所
定間隔で設定する走査位置にて瓶類の軸線方向の所定の
検査領域の検査光を走査して各走査位置の画像データを
形成する撮像手段と、各走査位置の画像データのピーク
値を所定走査位置の他の画像データのピーク値と比較し
て各走査位置における比較データ形成する比較データ発
生手段と、及び前記比較データ発生手段の各比較データ
を比較して判定データを形成し、この判定データと予じ
め設定する基準データとを比較して瓶類の良否を判定す
る判定手段とにて構成したことを特徴とする瓶類の光学
検査装置。
(4) A light source that irradiates a predetermined light onto the bottle mouth of the bottle, and the light obtained from the bottle is used as the inspection light, and the bottle is scanned at scanning positions set at predetermined intervals in the circumferential direction of the bottle mouth. an imaging means that scans the inspection light in a predetermined inspection region in the axial direction to form image data at each scanning position, and compares the peak value of the image data at each scanning position with the peak value of other image data at the predetermined scanning position. a comparison data generation means for generating comparison data at each scanning position, and comparing each comparison data of the comparison data generation means to form judgment data, and comparing this judgment data with preset reference data. 1. An optical inspection device for bottles, comprising: a determining means for determining the quality of the bottles.
JP62015407A 1987-01-26 1987-01-26 Optical inspection method and apparatus for bottles Expired - Lifetime JP2514944B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP62015407A JP2514944B2 (en) 1987-01-26 1987-01-26 Optical inspection method and apparatus for bottles

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP62015407A JP2514944B2 (en) 1987-01-26 1987-01-26 Optical inspection method and apparatus for bottles

Publications (2)

Publication Number Publication Date
JPS63182556A true JPS63182556A (en) 1988-07-27
JP2514944B2 JP2514944B2 (en) 1996-07-10

Family

ID=11887877

Family Applications (1)

Application Number Title Priority Date Filing Date
JP62015407A Expired - Lifetime JP2514944B2 (en) 1987-01-26 1987-01-26 Optical inspection method and apparatus for bottles

Country Status (1)

Country Link
JP (1) JP2514944B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2014224807A (en) * 2013-04-19 2014-12-04 キリンテクノシステム株式会社 Container inspection method and container inspection device

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS60159637A (en) * 1984-01-31 1985-08-21 Kirin Brewery Co Ltd Method and device for defect detection
JPS61107144A (en) * 1984-10-31 1986-05-26 Kirin Brewery Co Ltd Method for inspecting container

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS60159637A (en) * 1984-01-31 1985-08-21 Kirin Brewery Co Ltd Method and device for defect detection
JPS61107144A (en) * 1984-10-31 1986-05-26 Kirin Brewery Co Ltd Method for inspecting container

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2014224807A (en) * 2013-04-19 2014-12-04 キリンテクノシステム株式会社 Container inspection method and container inspection device

Also Published As

Publication number Publication date
JP2514944B2 (en) 1996-07-10

Similar Documents

Publication Publication Date Title
US4775889A (en) Bottle mouth defect inspection apparatus
JPH10132537A (en) Method for inspecting part surface having u-shaped groove form
JP4986255B1 (en) Container mouth inspection method and apparatus
JPH11326225A (en) Method and apparatus for inspecting tubular member
JPS63277960A (en) Inspecting method for defect in threaded neck part
JP3155106B2 (en) Bottle seal appearance inspection method and apparatus
JPS63182556A (en) Method and device for optical inspection of bottle or the like
JPH04118546A (en) Bottle inspection device
JP2990820B2 (en) Surface defect inspection equipment
JPH04216445A (en) Device for inspecting bottle
JPS62229050A (en) Surface detect inspection of object
JPH06118026A (en) Method for inspecting vessel inner surface
JPS6347642A (en) Method for discriminating kind of flaw in surface flaw detection
JPH0470555A (en) Apparatus for inspecting surface of sphere
JPS58744A (en) Inspecting method of bottle or the like
JPH1139651A (en) Hard disk surface inspecting device
JPH04270951A (en) Method for inspecting bottle
JP4253742B2 (en) Saddle bottom inspection method
JPH0324447A (en) Bottle-mouth inspecting method
JPH02190707A (en) Method and device for inspecting surface defect
JP3349494B2 (en) Inspection method and inspection device for disk-shaped body
JPH01214743A (en) Optical apparatus for checking
JP2001066128A (en) Surface inspecting device and its method
JP2007003307A (en) Inspection device of glossy cylindrical surface
JPH08271240A (en) Device and method for testing hollow fiber module