JPH07128016A - Method and device for detecting superposition state of two objects - Google Patents

Method and device for detecting superposition state of two objects

Info

Publication number
JPH07128016A
JPH07128016A JP27272493A JP27272493A JPH07128016A JP H07128016 A JPH07128016 A JP H07128016A JP 27272493 A JP27272493 A JP 27272493A JP 27272493 A JP27272493 A JP 27272493A JP H07128016 A JPH07128016 A JP H07128016A
Authority
JP
Japan
Prior art keywords
light
area
article
image pickup
region
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
JP27272493A
Other languages
Japanese (ja)
Other versions
JP3219174B2 (en
Inventor
Ryozo Watanabe
良三 渡辺
Hirotaka Watanabe
博隆 渡辺
Seiichi Fujioka
誠一 藤岡
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.)
Morinaga Milk Industry Co Ltd
Original Assignee
Morinaga Milk Industry 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 Morinaga Milk Industry Co Ltd filed Critical Morinaga Milk Industry Co Ltd
Priority to JP27272493A priority Critical patent/JP3219174B2/en
Publication of JPH07128016A publication Critical patent/JPH07128016A/en
Application granted granted Critical
Publication of JP3219174B2 publication Critical patent/JP3219174B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Length Measuring Devices By Optical Means (AREA)

Abstract

PURPOSE:To detect the superposition deviation between an object with a high light transmittance and that which can detect non-transmission of light by setting the outer- periphery edge of a first object or the inside or outside of the outer-periphery edge of a second object when the first and second objects are superposed without any position deviation at an image pick-up position to an inspection region. CONSTITUTION:Since a container 5 rotating on a pedestal 17 which is retained at a star wheel 18 screens light from a light emitting element 16 when passing a light application region 20, and optical sensor 13 detects the presence of the container 5. A computer 10 receives the position detection signal of an amplification unit 13a and sends it to an image processing device 9 and then enables a video camera 2 to read the still image of the container 5. For example, the position of the outer-periphery edge of a lid 25 when a cup 24 (first object) which is the container 5 and the lid (second object) are not subjected to superposition deviation is used as a boundary line and the inside ring-shaped part (flange part 26) with a specific width is set to an inspection region at the device 9. Then, the area of a region for including the quantity of reception light from this inspection region within a specific range is detected, thus judging deviation.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、2物体の重畳状態のず
れを検出する方法及び装置に関する。本発明は、内容物
を充填したプラスチック容器の開口部を密封するため
に、プラスチック容器の開口部に蓋材を載置し、密封装
置に連続搬送した後の前記プラスチック容器の開口部と
蓋材との重畳状態のずれを検出する際に使用できる。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a method and apparatus for detecting a shift in the superposition state of two objects. In order to seal the opening of a plastic container filled with contents, a lid member is placed on the opening of the plastic container, and the opening and the lid member of the plastic container after being continuously conveyed to a sealing device are provided. It can be used to detect the deviation of the superposition state of

【0002】[0002]

【従来の技術】食品、医薬品等の業界においては、製品
を無菌に充填包装する技術が頻繁に使用されている。か
かる包装製品の形態としては、ビン詰め、缶詰等の伝統
的形態があるが、現在ではプラスチック材料を主体とし
た包装容器が圧倒的に多く、これらは一定の衛生環境の
下で容器充填、蓋体装着が行われるのが一般である。こ
のような包装製品の典型として無菌カップゼリーを例示
することができる。無菌カップゼリーは、容器の開口部
外周縁にフランジ部を有するプラスチック容器(以下カ
ップと記載することがある)に、予め滅菌されたゼリー
を充填し、カップの開口部全体にアルミ箔の蓋を載置
し、前記フランジ部と前記アルミ箔の蓋とをヒートシー
ルによって溶着包装したものである。この際、カップ及
び蓋は予め各々滅菌されており、かつ前記充填操作及び
包装操作は完璧な無菌雰囲気下で行われるため、包装さ
れたカップ内部のゼリーは長期間無菌状態を維持するこ
とができ、かかる製品は数十日間もの賞味期間を消費者
に保証することができる。一般に食品、医薬品等の業界
において、包装製品の製造にあたって最も警戒される事
故は、包装製品の内部と外部とが連通することによって
生じる汚染事故である。例えば前記無菌カップゼリーで
は、内部が完全に密閉されていない製品、即ち、包装状
態が不良である包装品(以下、不良品と記載する)が出
荷された場合は、前記包装品の内部に雑菌が侵入し、賞
味期限前に腐敗する等、諸々の不都合が生じる。
2. Description of the Related Art Aseptic filling and packaging of products is frequently used in the food and pharmaceutical industries. As the form of such packaged products, there are traditional forms such as bottle filling and canning, but nowadays most of the packaging containers are mainly made of plastic materials, and these are filled and covered under a certain hygienic environment. It is generally worn on the body. As a typical example of such a packaged product, a sterile cup jelly can be exemplified. Aseptic cup jelly is made by filling a pre-sterilized jelly into a plastic container (hereinafter sometimes referred to as a cup) that has a flange on the outer peripheral edge of the opening of the container, and covering the entire opening of the cup with an aluminum foil lid. It is placed, and the flange portion and the lid of the aluminum foil are welded and packaged by heat sealing. At this time, since the cup and the lid have been sterilized in advance and the filling operation and the packaging operation are performed under a completely sterile atmosphere, the jelly in the packed cup can maintain a sterile condition for a long time. , Such products can guarantee consumers a shelf life of tens of days. Generally, in the industries of foods, pharmaceuticals and the like, the most cautious accident in manufacturing a packaged product is a pollution accident caused by communication between the inside and the outside of the packaged product. For example, in the case of the aseptic cup jelly, when a product whose inside is not completely sealed, that is, a packaged product having a poor packaging state (hereinafter referred to as a defective product) is shipped, various germs are contained in the packaged product. Invades and spoils before the expiration date, causing various inconveniences.

【0003】この様な不良品の態様には種々のものがあ
るが、特に高い頻度で発生するものには次の(B1)及
び(B2)がある。 (B1)シール部分の接着自体が不完全で、シール部分
の全部又は一部が接着されていない場合 (B2)密閉シールするベき2物体(例えば、カップと
蓋)の重畳ずれが生じ、そのまま2物体が接着された場
合 包装製品の製造にあたっては、衛生性又は無菌性を確保
する観点から、内容物が確実に密封されていることを確
認することが望ましく、包装品の包装状態の良否、特に
前記(B1)及び(B2)の不良品を識別する検査が重
要不可欠なものとなっている。
There are various types of such defective products, and the following (B1) and (B2) occur particularly frequently. (B1) In the case where the seal itself is not completely adhered and the whole or a part of the seal is not adhered (B2) The two objects to be hermetically sealed (for example, the cup and the lid) are misaligned and remain as they are. 2 When objects are adhered When manufacturing packaged products, it is desirable to confirm that the contents are securely sealed from the viewpoint of ensuring hygiene or sterility. Especially, the inspection for identifying the defective products of the above (B1) and (B2) is very important.

【0004】従来、光学的手段により前記(B1)の不
良品を検出する技術として、次の(ア)及び(イ)が知
られている。 (ア)シール部分に光線を照射した上で撮像して画像処
理し、シールの良好な箇所と不良な箇所との透過光量の
差を検出する(特開昭60−204431号公報)。 (イ)シール部分にレーザービームを照射し、シールの
良好な箇所と不良な箇所との透過光量の差を検出する。
又は、透過ビーム像を撮像し画像処理により検出する
(特開昭62−276444号公報)。 また、光学的手段により前記(B2)の不良品を検出す
る技術として、次の(ウ)が知られている。 (ウ)シール部分を挟んで発光素子と受光素子を対向配
置し、受光量の変動によってシール紙のずれを判定する
(特開昭63−317421号公報)。 一方、本発明者らは、前記(B2)の不良品を検出する
技術を開発し、既に特許出願している(特開平2−14
0601号公報(以下先願技術と記載する))。
Conventionally, the following (A) and (A) are known as techniques for detecting the defective product of (B1) by optical means. (A) The seal portion is irradiated with a light beam, imaged and image-processed to detect the difference in the amount of transmitted light between a good seal portion and a bad seal portion (Japanese Patent Laid-Open No. 60-204431). (B) A laser beam is applied to the seal portion to detect the difference in the amount of transmitted light between a good seal portion and a poor seal portion.
Alternatively, a transmission beam image is picked up and detected by image processing (Japanese Patent Laid-Open No. 62-276444). Further, the following (C) is known as a technique for detecting the defective product of (B2) by an optical means. (C) The light emitting element and the light receiving element are arranged so as to face each other with the seal portion sandwiched therebetween, and the deviation of the seal paper is determined by the fluctuation of the light receiving amount (Japanese Patent Laid-Open No. 63-317421). On the other hand, the inventors of the present invention have developed a technique for detecting defective products (B2) and have already applied for a patent (Japanese Patent Laid-Open No. 2-14).
No. 0601 (hereinafter referred to as prior art).

【0005】[0005]

【発明が解決しようとする課題】前記(ア)及び(イ)
の技術は、シール部分を透過した光について種々の処理
を行うため、いずれも接着シールするベき2物体の材質
が光透過性を有するものでなくてはならず、例えば一方
の物体がアルミ箔等の光を遮断する材料である場合には
適用できなかった。更に、従来、包装品のなかでも2物
体を重畳して密封シールする形式の包装品、例えば、容
器に別体の蓋を被蓋する場合等では、前記(B1)の不
良品よりも前記(B2)の不良品が発生するケースが圧
倒的に多く、従って前記(B2)の不良品の検査技術が
強く望まれていた。しかし、前記(ア)及び(イ)の技
術は、本来前記(B1)の不良品を対象としており、前
記(B2)の不良品に対しては事実上その有効性を充分
に発揮できなかった。また、前記(ウ)の技術は、袋に
シール紙を被せる場合に限定された特殊な技術であっ
て、広く一般の包装品に適用することができなかった。
[Problems to be Solved by the Invention] The above (a) and (a)
In the above technology, since various treatments are performed on the light transmitted through the sealing portion, the materials of the two objects to be adhesively sealed must all have a light-transmitting property. For example, one object is an aluminum foil. It could not be applied when the material is a material that blocks light. Further, conventionally, in the case of a packaged product in which two objects are superposed and hermetically sealed among the packaged products, for example, when a separate lid is attached to the container, the above (B1) In many cases, defective products of (B2) are generated. Therefore, the inspection technique for defective products of (B2) has been strongly desired. However, the technologies (a) and (a) are originally intended for the defective product of (B1), and in fact, the effectiveness thereof cannot be sufficiently exerted for the defective product of (B2). . Further, the above-mentioned technique (c) is a special technique limited to the case where the bag is covered with the sticker paper, and cannot be widely applied to general packages.

【0006】従って、前記(B2)の不良品を検出する
技術としては、本発明者らの先願技術が有効な手段とい
えるが、本発明者らの先願技術には、次に記載するよう
にその適用範囲に多少の制約があった。先願技術におい
て検出の対象となる物品は、複合光光源からの照射光に
関して透過色を有する第1の物体と、光源からの照射光
に関して第1の物体とは異なる透過色及び/又は第1の
物体とは異なる透過率を有する第2の物体とが光軸方向
に重畳された物品である。特に、第1の物体が前記照射
光に関して透過色を有することは、前記第1の物体と背
景とを識別するために重要であり、透過色の差を利用し
て透過光量及び/又は波長組成を限定して画像を抽出
し、これによって第1の物体と背景とを識別する。
[0006] Therefore, as the technique of detecting the defective product of the above (B2), the prior art of the present inventors can be said to be an effective means, but the prior art of the present inventors will be described below. As such, there were some restrictions on its application range. The article to be detected in the prior art is a first object having a transmission color with respect to the irradiation light from the composite light source, and a transmission color and / or a first object different from the first object with respect to the irradiation light from the light source. The second object having a transmittance different from that of the second object is an article in the optical axis direction. In particular, it is important for the first object to have a transmitted color with respect to the irradiation light in order to distinguish between the first object and the background, and the amount of transmitted light and / or the wavelength composition can be utilized by utilizing the difference in the transmitted color. To extract the image, which distinguishes the first object from the background.

【0007】しかし、例えば第1の物体が、光源からの
照射光に関して識別可能な透過色及び識別可能な透過量
を有しない場合には、第1の物体と背景とを識別するこ
とが因難であった。具体的に例示すれば次のとおりであ
る。第1の物体がプラスチック製の容器であり、かつそ
の材容が無色透明であって光透過率が高い場合は、容器
を通過する透過光と容器の周囲を透過する照射光(背景
光)とは、両者の透過光量又は光の波長組成の差が少な
いので、第1の物体とこれに重畳された第2の物体との
重畳状態のずれた領域の画像を抽出した場合、抽出した
領域とそれ以外の領域とそれ以外の領域とを2値化して
識別することが因難であった。
However, for example, when the first object does not have a distinguishable transmission color and a distinguishable transmission amount with respect to the irradiation light from the light source, it is difficult to distinguish the first object from the background. Met. A specific example is as follows. When the first object is a plastic container, and the content is colorless and transparent and the light transmittance is high, the transmitted light passing through the container and the irradiation light (background light) passing around the container are Because there is little difference in the amount of transmitted light or the wavelength composition of light between them, when an image of a region in which the superimposition state of the first object and the second object superposed on this is deviated, It was difficult to binarize and identify the other area and the other area.

【0008】また、第1の物体と第2の物体がともに光
を遮蔽する材質である場合、例えば第1の物体が紙製の
容器であり、第2の物体がアルミ箔である場合などで
は、先願技術を適用することが困難であった。結局、先
願技術においては、第1の物体が無色透明、又は厚さが
薄い等の性質を有するとき、又は光を遮蔽する材質であ
るときには、検査精度が充分に確保できず、あるいは適
用すること自体が困難な場合があり、換言すれば、物品
の光学的性質によって適用範囲が制約された。前述の事
情に鑑み、本発明は次の記載内容を技術的課題とする。 (O01)光透過率が非常に高くて光が透過したか否かを
検出することが困難な第1の物体と、光が透過したこと
又は遮断されたことを検出することが可能な第2の物体
との重畳状態(のずれ)を検出可能にすること。
Further, in the case where both the first object and the second object are materials that shield light, for example, when the first object is a paper container and the second object is an aluminum foil, etc. However, it was difficult to apply the prior application technology. After all, in the prior application technology, when the first object has a property such as being colorless and transparent, or having a thin thickness, or when it is a material that shields light, the inspection accuracy cannot be sufficiently secured or it is applied. This may be difficult in some cases, in other words, the optical properties of the article have limited the range of application. In view of the above circumstances, the present invention has the following technical contents as technical problems. (O01) A first object having a very high light transmittance and difficult to detect whether light is transmitted, and a second object capable of detecting that light is transmitted or blocked. To be able to detect the overlapping state (deviation) of the object.

【0009】[0009]

【課題を解決するための手段】次に本発明の理解を容易
にするために作成した、図1(本発明の説明図)によ
り、前記課題を解決するために案出した本発明を説明す
る。
Next, the present invention devised to solve the above problems will be described with reference to FIG. 1 (explanatory view of the present invention), which was created to facilitate understanding of the present invention. .

【0010】(第1発明)前記課題を解決するために、
本出願に係る第1発明の2物体の重畳状態の検出方法
は、光源(1)と、前記光源(1)の光軸に沿って前記
光源(1)に対向配置された撮像手段(2)との間の光
照射領域(20)に、第1の物体(3)と、第2の物体
(4)とが前記光軸方向に重畳された物品(5)を配置
し、その物品(5)を撮像したときの前記撮像手段
(2)の受光領域の中で所定の領域を検査領域に設定
し、前記検査領域から受光した光の光量が所定の範囲に
含まれる領域の面積が許容範囲に有るか否かによって、
2物体の重畳状態を検出する方法において、下記の要件
を備えたことを特徴とする、(Y01)前記第1の物体
(3)が前記撮像手段(2)の所定の画素によって撮像
されるように前記物品(5)を前記光照射領域(20)
内の所定の撮像位置(6)に位置決めして配置するこ
と、 (Y02)前記検査領域は、前記撮像位置(6)において
前記第1の物体(3)又は前記第1の物体(3)と第2
の物体(4)とが位置ずれせずに重畳されている場合の
第2の物体(4)の外周縁に沿う境界線の内側又は外側
のいずれかの領域に設定すること。
(First Invention) In order to solve the above problems,
A method for detecting a superposed state of two objects according to a first aspect of the present application is directed to a light source (1) and an imaging means (2) arranged to face the light source (1) along an optical axis of the light source (1). An article (5) in which the first object (3) and the second object (4) are superposed in the optical axis direction is arranged in a light irradiation area (20) between the article (5) and ) Is set in the light receiving area of the image pickup means (2) as an inspection area, and the area of the area in which the amount of light received from the inspection area is within a predetermined range is an allowable range. Depending on whether or not
A method for detecting a superposed state of two objects is provided with the following requirements: (Y01) The first object (3) is imaged by a predetermined pixel of the imaging means (2). The article (5) on the light irradiation area (20)
(Y02) The inspection area is the same as the first object (3) or the first object (3) at the imaging position (6). Second
When the object (4) is overlapped with the object (4) without being displaced, the area is set either inside or outside the boundary line along the outer peripheral edge of the second object (4).

【0011】(第2発明)また、本出願に係る第2発明
の2物体の重畳状態の検出方法は、前記第1発明の2物
体の重畳状態の検出方法において、記の要件を備えたこ
とを特徴とする、(Y03)前記物品(5)の前記光照射
領域(20)内の所定の撮像位置(6)への配置は、搬
送手段により搬送される物品(5)を前記撮像位置
(6)を通過させること、又は撮像位置(6)に停止さ
せることにより行うこと、(Y04)前記物品(5)が、
前記撮像位置(6)に到達したとき、それを検出して撮
像位置検出信号を出力すること、(Y05)前記撮像位置
(6)を透過又は停止した際の前記物品(5)を撮像す
る撮像手段(2)として前記撮像位置検出信号に応じて
作動するビデオカメラを用いること、(Y06)前記検査
領域から受光した光の光量が所定の範囲に含まれる領域
の面積は、前記設定された検査領域から受光した前記ビ
デオカメラの各画素の中で光量が所定の範囲に含まれる
光を受光した画素の数をカウントすることにより検出す
ること、(Y07)前記カウント値が所定の基準範囲を外
れたことを検出したとき異常信号を出力すること。
(Second Invention) Further, the method for detecting the overlapping state of two objects of the second invention according to the present application has the following requirements in the method for detecting the overlapping state of two objects of the first invention. (Y03) Arrangement of the article (5) at a predetermined imaging position (6) in the light irradiation area (20) is characterized in that the article (5) conveyed by a conveying means is arranged at the imaging position (6). 6), or by stopping at the imaging position (6), (Y04) The article (5) is
When the image pickup position (6) is reached, it is detected to output an image pickup position detection signal, (Y05) Image pickup for picking up the article (5) when the image pickup position (6) is transmitted or stopped As the means (2), a video camera which operates according to the image pickup position detection signal is used, (Y06) The area of the region in which the amount of light received from the inspection region is included in a predetermined range is the set inspection. Detecting by counting the number of pixels that have received light whose amount of light is included in a predetermined range in each pixel of the video camera received from the area, (Y07) The count value is outside the predetermined reference range. An abnormal signal should be output when it is detected.

【0012】(本発明の実施態様1)本出願に係る発明
の実施態様1の2物体の重畳状態の検出方法は、前記第
1又は2発明の2物体の重畳状態の検出方法において、
下記の要件を備えたことを特徴とする、 (Z01)前記検査領域は、前記撮像位置(6)において
前記第1の物体(3)と第2の物体(4)とが位置ずれ
せずに重畳されている場合の第2の物体(4)の外周縁
に沿う境界線で分割された境界線の外側の領域に設定す
ること、(Z02)前記検査領域から受光した光の光量が
所定の範囲に含まれる領域として、前記第2の物体
(4)を透過した光の有する光量が所定の範囲に含まれ
る領域を採用したこと。
(Embodiment 1 of the present invention) A method for detecting a superposed state of two objects according to a first embodiment of the present invention is the same as the method for detecting a superposed state of two objects according to the first or second invention.
(Z01) In the inspection area, the first object (3) and the second object (4) are not displaced in the imaging position (6). Setting in an area outside the boundary line divided by the boundary line along the outer peripheral edge of the second object (4) when overlapped, (Z02) the light amount of the light received from the inspection area is predetermined. As a region included in the range, a region in which the light amount of the light transmitted through the second object (4) is included in a predetermined range is adopted.

【0013】(第3発明)また、本出願に係る第3発明
の2物体の重畳状態の検出方法は、前記第1又は2発明
の2物体の重畳状態の検出方法において、下記の要件を
備えたことを特徴とする、(Y08)前記検査領域は、前
記撮像位置(6)において前記第1の物体(3)又は前
記第1の物体(3)と第2の物体(4)とが位置ずれせ
ずに重畳されている場合の第2の物体(4)の外周縁に
沿う境界線で分割された境界線の内側の領域に設定する
こと、(Y09)前記検査領域から受光した光の光量が所
定の範囲に含まれる領域として、前記第2の物体(4)
を透過していない光の有する光量が所定の範囲に含まれ
る領域を採用したこと。
(Third invention) Further, a method for detecting a superposed state of two objects of a third invention according to the present application has the following requirements in the method for detecting a superposed state of two objects of the first or second invention. (Y08) In the inspection area, the first object (3) or the first object (3) and the second object (4) are located at the imaging position (6). Setting in an area inside the boundary line divided by the boundary line along the outer peripheral edge of the second object (4) when they are superimposed without shifting, (Y09) of the light received from the inspection area The second object (4) is provided as an area in which the amount of light falls within a predetermined range.
A region in which the amount of light that does not pass through is included in a predetermined range is adopted.

【0014】(第4発明)また、本出願に係る第4発明
の2物体の重畳状態の検出方法は、前記第1ないし3の
いずれかの発明の2物体の重畳状態の検出方法におい
て、下記の要件を備えた、(Y010)前記光源(1)と
して複数の波長の光を含む複合光光源(1)を用いるこ
と、(Y011)前記撮像手段(2)としてビデオカラー
カメラを用いること。(Y012)前記検査領域から受光
した光の光量が所定の範囲に含まれるか否かの判定が、
受光した光の複数の波長に対して行われること。
(Fourth invention) Further, a method of detecting a superposed state of two objects according to a fourth aspect of the present invention is the same as the method of detecting a superposed state of two objects according to any one of the first to third aspects of the invention. (Y010) using a composite light source (1) containing light of a plurality of wavelengths as the light source (1), and (Y011) using a video color camera as the imaging means (2). (Y012) It is determined whether the amount of light received from the inspection area is within a predetermined range.
What is done for multiple wavelengths of received light.

【0015】(第5発明)また、本出願に係る第5発明
の2物体の重畳状態の検出方法は、前記第1ないし4の
いずれかの発明の2物体の重畳状態の検出方法におい
て、下記の要件を備えたことを特徴とする、(Y013)
前記光照射領域(20)内にある所定の撮像位置(6)
に物品(5)を配置する操作を、前記物品(5)を嵌入
させる切欠部を外周縁に有するスターホイールと、前記
スターホイールの外周縁に近接して配置されるガイド
と、前記物品(5)を前記ガイドに押圧する押圧手段と
を備えた位置決め装置によって行うこと。
(Fifth Invention) A method for detecting a superposed state of two objects according to a fifth aspect of the present invention is the same as the method for detecting a superposed state of two objects according to any one of the first to fourth aspects. With the requirements of (Y013)
A predetermined imaging position (6) in the light irradiation area (20)
The operation of arranging the article (5) on the article (5) includes: a star wheel having an outer peripheral edge with a cutout portion into which the article (5) is fitted; a guide arranged near the outer peripheral edge of the star wheel; ) Is pressed against the guide by a positioning device having a pressing means.

【0016】(第6発明)また、本出願に係る第6発明
の2物体の重畳状態の検出装置は、光源(1)と、前記
光源(1)の光軸に沿って前記光源(1)に対向配置さ
れた撮像手段(2)との間の光照射領域(20)に、第
1の物体(3)と、第2の物体(4)とが前記光軸方向
に重畳された物品(5)を配置し、その物品(5)を撮
像したときの前記撮像手段(2)の受光領域の中で所定
の領域を検査領域に設定し、前記検査領域から受光した
光の光量が所定の範囲に含まれる領域の面積を検出する
目標面積検出手段を設け、検出された目標面積が許容範
囲に有るか否かを判別する手段(即ち、判別手段)によ
り、2物体の重畳状態を検出する装置において、下記の
要件を備えたことを特徴とする、(Y014)前記第1の
物体(3)が前記撮像手段(2)の所定の画素によって
撮像されるように前記物品(5)を前記光照射領域(2
0)内の所定の撮像位置(6)に位置決めして配置する
位置決め配置手段、(Y015)前記検査領域は、前記撮
像位置(6)において前記第1の物体(3)又は前記第
1の物体(3)と第2の物体(4)とが位置ずれせずに
重畳されている場合の第2の物体(4)の外周縁に沿う
境界線の内側又は外側のいずれかの領域に設定されたこ
と。
(Sixth Invention) In addition, a second object overlapping state detecting apparatus according to the sixth invention of the present application is a light source (1) and the light source (1) along an optical axis of the light source (1). An article (1) in which a first object (3) and a second object (4) are superposed in the optical axis direction in a light irradiation area (20) between the image pickup means (2) arranged opposite to the object (2). 5) is arranged, and a predetermined area is set as an inspection area in the light receiving area of the image pickup means (2) when the article (5) is imaged, and the amount of light received from the inspection area is predetermined. Target area detection means for detecting the area of the region included in the range is provided, and the means for determining whether or not the detected target area is within the allowable range (that is, the determination means) detects the overlapping state of the two objects. (Y014) The first object (3) is characterized in that the device has the following requirements. The light irradiation region the article (5) as imaged by a predetermined pixel of means (2) (2
Positioning arrangement means for positioning and arranging at a predetermined imaging position (6) in (0), (Y015) the inspection area is the first object (3) or the first object at the imaging position (6). (3) and the second object (4) are set in an area inside or outside the boundary line along the outer peripheral edge of the second object (4) when they are superposed without displacement. Was it.

【0017】(第7発明)また、本出願に係る第7発明
の2物体の重畳状態の検出装置は、前記第6発明の2物
体の重畳状態の検出装置において、下記の要件を備えた
ことを特徴とする、(Y016)前記物品(5)が、前記
撮像位置(6)に配置されたとき、それを検出して撮像
位置検出信号を出力する手段、即ち、撮像位置検出信号
出力手段、(Y017)前記撮像位置(6)に配置された
前記物品(5)を撮像する撮像手段(2)として前記撮
像位置検出信号に応じて作動するビデオカメラを用いた
こと、(Y018)前記目標面積検出手段は、前記設定さ
れた検査領域から受光した前記ビデオカメラの各画素の
中で光量が所定の範囲に含まれる光を受光した画素の数
をカウントするカウンタにより構成されたこと、(Y01
9)前記カウント値が所定の基準範囲を外れたことを検
出したとき異常信号を出力する手段、即ち異常信号出力
手段。
(Seventh Invention) Further, the two-object superposed state detecting device of the seventh invention according to the present application has the following requirements in the two-object superposed state detecting device of the sixth invention. (Y016) When the article (5) is placed at the imaging position (6), means for detecting it and outputting an imaging position detection signal, that is, imaging position detection signal output means, (Y017) A video camera that operates in response to the image pickup position detection signal is used as an image pickup unit (2) that takes an image of the article (5) arranged at the image pickup position (6), (Y018) the target area The detecting means is composed of a counter that counts the number of pixels that have received light having a light amount within a predetermined range among the pixels of the video camera that have received light from the set inspection area, (Y01
9) A means for outputting an abnormal signal when it is detected that the count value is out of a predetermined reference range, that is, an abnormal signal output means.

【0018】(本発明の実施態様2)本出願に係る発明
の実施態様2の2物体の重畳状態の検出装置は、前記第
6又は7発明の2物体の重畳状態の検出装置において、
下記の要件を備えたことを特徴とする、(Z03)前記検
査領域は、前記撮像位置(6)において前記第1の物体
(3)と第2の物体(4)とが位置ずれせずに重畳され
ている場合の第2の物体(4)の外周縁に沿う境界線で
分割された境界線の外側の領域に設定されたこと、(Z
04)前記検査領域から受光した光の光量が所定の範囲に
含まれる領域として、前記第2の物体(4)を透過した
光が有する波長及び光量が所定の範囲に含まれる領域が
採用されたこと。
(Embodiment 2 of the present invention) A detection apparatus for a superposed state of two objects according to a second embodiment of the present invention is the same as the detection apparatus for a superposed state of two objects according to the sixth or seventh invention.
(Z03) In the inspection area, the first object (3) and the second object (4) are not displaced from each other at the imaging position (6). That the area is set outside the boundary line divided by the boundary line along the outer peripheral edge of the second object (4) in the case of being overlapped, (Z
04) As a region in which the light amount of the light received from the inspection region is included in a predetermined range, a region in which the wavelength and the light amount of the light transmitted through the second object (4) are included in the predetermined range is adopted. thing.

【0019】(第8発明)また、本出願に係る第8発明
の2物体の重畳状態の検出装置は、前記第6又は7発明
の2物体の重畳状態の検出装置において、下記の要件を
備えたことを特徴とする、 (Y020)前記検査領域は、前記撮像位置(6)におい
て前記第1の物体(3)又は前記第1の物体(3)と第
2の物体(4)とが位置ずれせずに重畳されている場合
の第2の物体(4)の外周縁に沿う境界線で分割された
境界線の内側の領域に設定されたこと、(Y021)前記
検査領域から受光した光の光量が所定の範囲に含まれる
領域として、前記第1の物体3のみを透過して前記第2
の物体(4)を透過していない光の有する光量が所定の
範囲に含まれる領域が採用されたこと。
(Eighth Invention) Further, the two-object superposed state detecting device of the eighth invention according to the present application has the following requirements in the two-object superposed state detecting device of the sixth or seventh invention. (Y020) In the inspection area, the first object (3) or the first object (3) and the second object (4) are located at the imaging position (6). (Y021) Light received from the inspection area, which is set in an area inside the boundary line divided by the boundary line along the outer peripheral edge of the second object (4) in the case of overlapping without shifting. As a region in which the amount of light is included in a predetermined range, only the first object 3 passes through the second
The area in which the light amount of the light that does not pass through the object (4) is included in a predetermined range is adopted.

【0020】(第9発明)また、本出願に係る第9発明
の2物体の重畳状態の検出装置は、前記第6ないし8の
いずれかの発明の2物体の重畳状態の検出装置におい
て、下記の要件を備えたことを特徴とする、(Y022)
前記光源(1)として複数の波長の光を含む複合光光源
(1)が用いられたこと、(Y023)前記撮像手段
(2)としてビデオカラーカメラが用いられたこと。
(Y024)前記検査領域から受光した光の光量が所定の
範囲に含まれるか否かの判定が、受光した光の複数の波
長に対して行われること。
(Ninth Invention) A second object superimposing state detecting apparatus according to a ninth invention of the present application is the following two object superimposing state detecting apparatus according to any one of the sixth to eighth inventions: (Y022)
A composite light source (1) containing light of a plurality of wavelengths is used as the light source (1), and (Y023) A video color camera is used as the imaging means (2).
(Y024) Whether or not the amount of light received from the inspection area is included in a predetermined range is determined for a plurality of wavelengths of the received light.

【0021】(本発明の実施態様3)また、本出願に係
る発明の実施態様3の2物体の重畳状態の検出装置は、
前記第6ないし9のいずれかの発明の2物体の重畳状態
の検出装置において、下記の要件を備えたことを特徴と
する、(Z05)前記物品(5)を嵌入させる切欠部を外
周縁に有し且つ前記切欠部に嵌入した物品(5)を前記
光照射領域(20)内にある所定の撮像位置(6)に搬
送するスターホイールと、前記スターホイールの外周縁
に近接して配置されたガイドと、前記物品(5)を前記
ガイドに押圧する押圧手段とを備えた位置決め装置。
(Embodiment 3 of the present invention) Further, a detection device for a superposed state of two objects according to Embodiment 3 of the present invention is
In the device for detecting a superposed state of two objects according to any one of the sixth to ninth inventions, the following requirements are provided: (Z05) A notch portion into which the article (5) is fitted is provided at an outer peripheral edge. A star wheel that conveys the article (5) that has been fitted into the cutout portion to a predetermined imaging position (6) in the light irradiation area (20), and is arranged close to the outer peripheral edge of the star wheel. Positioning device comprising a guide and a pressing means for pressing the article (5) against the guide.

【0022】(課題を解決するための手段の補足説明)
図1は、木発明の方法及び装置の構成の概略を説明する
説明図である。本発明における検査対象物品(5)(例
えば、プラスチック容器にゼリー等の食品を充填し、ア
ルミ箔などの蓋をシールした製品)は、2以上の物体か
らなり、一の物体(3)(例えばプラスチック容器、以
下、第1の物体(3)という)と他の一の物体(4)で
構成される。後者(4)は前記光源(1)からの照射光
に関して少なくとも光が透過したこと又は遮断されたこ
とを検出することが可能な物体(例えばアルミ箔、又は
照射光に関して透過色を有するプラスチック製の蓋、以
下、第2の物体(4)という)であることが必要であ
る。
(Supplementary explanation of means for solving the problem)
FIG. 1 is an explanatory view for explaining the outline of the configuration of the method and apparatus of the invention. The article (5) to be inspected in the present invention (for example, a product obtained by filling a plastic container with food such as jelly and sealing a lid such as aluminum foil) is composed of two or more objects, and one object (3) (for example, A plastic container, hereinafter referred to as a first object (3)) and another object (4). The latter (4) is an object (for example, an aluminum foil or a plastic having a transmission color with respect to the irradiation light) capable of detecting at least that the irradiation light from the light source (1) is transmitted or blocked. The lid, hereinafter referred to as the second object (4), must be present.

【0023】前記光源(1)としては、単色光、赤外
光、複合光等を発する光源(1)を使用することが可能
である。しかしながら、透過光が種々異なる検査対象物
品(5)を取り扱う場合に、常に高精度で2物体の重畳
状態のずれを検出するためには、複合光光源(1)を用
い、且つ撮像手段(2)としてカラービデオカメラを用
いることが望ましい。その場合、前記検査領域から受光
した光量が所定の範囲に含まれるか否かの判定は、各画
素毎に、受光した光の複数の波長に対して行う。即ち、
カラービデオカメラ(撮像手段)によって検査領域から
の光を受光した場合、各画素は、R,G,Bの波長に分
けて受光する。この場合各画素毎に、R,G,Bの各波
長に対してそれらの光量が所定の範囲に含まれるか否か
を判断し、R,G,Bの全ての波長に対して条件(光量
が所定の範囲に含まれるか否か)を満足する光を受光し
た画素を、前記光量が所定の範囲に含まれる光を受光し
た画素とする。この画素の数により、前記検査領域から
受光した光量が所定の範囲に含まれる領域の面積を検出
する。
As the light source (1), it is possible to use a light source (1) which emits monochromatic light, infrared light, composite light or the like. However, when handling articles (5) to be inspected having different transmitted light, in order to always detect the deviation of the superposed state of the two objects with high accuracy, the composite light source (1) is used and the imaging means (2) is used. It is desirable to use a color video camera as a). In that case, whether or not the amount of light received from the inspection region is included in a predetermined range is determined for each pixel for a plurality of wavelengths of the received light. That is,
When light from the inspection region is received by the color video camera (imaging means), each pixel receives light by dividing it into R, G, and B wavelengths. In this case, for each pixel, it is determined whether or not the light amount of each of the R, G, and B wavelengths is included in a predetermined range, and the condition (light amount of each of the R, G, B wavelengths is determined. A pixel that has received light satisfying the condition (1) is included in the predetermined range is defined as a pixel that has received light having the light amount within the predetermined range. The area of a region in which the amount of light received from the inspection region is included in a predetermined range is detected based on the number of pixels.

【0024】本発明において前記検査対象物品(5)
は、光源(1)とその光源(1)の光軸に沿ってその光
源(1)に対向配置された撮像手段(2)との間に設け
た、べルトコンベアー、ターンテーブル、スターホイー
ル等の工業的搬送手段(図示せず)の搬送路に沿って、
前記2物体が前記光軸方向に重畳された状態で連続的に
搬送する手段を用いるのが便利である。なお、検査対象
物品(5)の搬送手段としては、ロボットアーム又は手
作業等を採用するすことが可能である。図1では、物品
(5)は紙面に垂直方向に搬送する例が示されている。
また、本発明では、前記物品(5)が撮像位置(6)に
到達したときに撮像位置検出信号を出力させて、撮像位
置検出信号に応じて撮像手段(2)により物品(5)の
透過光パターンの撮像を行うことが可能である。また、
物品(5)が撮像位置(6)に近接した所定の位置にき
たことを検出し、その位置検出信号を受けて前記物品
(5)の位置を調節し、光照射領域(20)内の所定の
撮像位置(6)を通過、又は光照射領域(20)内の所
定の撮像位置(6)に停止させるとともに、撮像手段
(2)で透過光パターンを撮像するように構成すること
が可能である。
In the present invention, the article to be inspected (5)
Is a belt conveyer, a turntable, a star wheel, etc. provided between the light source (1) and the image pickup means (2) arranged facing the light source (1) along the optical axis of the light source (1). Along the transportation path of the industrial transportation means (not shown) of
It is convenient to use means for continuously transporting the two objects in a state of being superposed in the optical axis direction. It should be noted that a robot arm, manual work, or the like can be adopted as the transporting means for the article to be inspected (5). FIG. 1 shows an example in which the article (5) is conveyed in the direction perpendicular to the paper surface.
Further, in the present invention, when the article (5) reaches the image pickup position (6), an image pickup position detection signal is output, and the image pickup means (2) transmits the article (5) according to the image pickup position detection signal. It is possible to image a light pattern. Also,
It is detected that the article (5) has come to a predetermined position close to the imaging position (6), the position detection signal is received to adjust the position of the article (5), and the predetermined position in the light irradiation area (20) is detected. Can be configured to pass through the image pickup position (6) or stop at a predetermined image pickup position (6) in the light irradiation area (20) and to image the transmitted light pattern by the image pickup means (2). is there.

【0025】本発明において「所定の撮像位置(6)を
通過させる」は、次々に連続的に移送されてくる個々の
物品(5)の第1の物体(3)を、位置決め装置(図示
せず)で操作することによって、全て同一の撮像位置
(6)を通過させることである。また、本発明において
「所定の撮像位置(6)に停止させる」は、次々に連続
的に移送されてくる個々の物品(5)の第1の物体
(3)を、同一の撮像位置(6)に一度停止させること
である。物品(5)がこの撮像位置(6)を通過する瞬
間、又は停止した後に物品(5)の透過光パターンの撮
像が行われる。前記撮像位置(6)と撮像手段(2)と
は、予め位置関係が固定されているため、撮像された静
止画像においては連続的に移送されてくる個々の物品
(5)の透過光パターンは各々の画像中で同一の場所に
位置することになる。
In the present invention, "passing through a predetermined image pickup position (6)" means that the first object (3) of individual articles (5) successively transferred one after another is positioned by a positioning device (not shown). No.) is to pass the same imaging position (6). Further, in the present invention, "stop at a predetermined image pickup position (6)" means that the first object (3) of individual articles (5) successively transferred one after the other is transferred to the same image pickup position (6). ) Is to stop once. The transmitted light pattern of the article (5) is imaged at the moment when the article (5) passes through the imaging position (6) or after the article (5) stops. Since the positional relationship between the image pickup position (6) and the image pickup means (2) is fixed in advance, the transmitted light patterns of the individual articles (5) successively transferred in the picked-up still image are It will be located at the same place in each image.

【0026】次いで、得られた像を画像処理する。画像
処理装置に到達する光学的映像パタ一ンは、例えば、第
1の物体(3)及び第2の物体(4)が光を透過する性
質を有する場合は、 (A1)何物をも透過しなかった領域(図1(7)の光
線領域) (A2)第1の物体(3)が第2の物体(4)と重なり
あっていない領域(図1(8)の光線領域) (A3)第2の物体(4)のみを透過した領域 (A4)第1と第2の物体(3と4)を透過した領域 (A5)第1と第2の物体(3と4)及びその他の物体
(第3の物体、例えばゼリー)を透過した領域 等の領域を有する。
Next, the obtained image is subjected to image processing. The optical image pattern reaching the image processing apparatus is, for example, (A1) transmitting anything if the first object (3) and the second object (4) have a property of transmitting light. Areas not performed (ray area in FIG. 1 (7)) (A2) Area in which the first object (3) does not overlap with second object (4) (light area in FIG. 1 (8)) (A3) ) A region through which only the second object (4) is transmitted (A4) A region through which the first and second objects (3 and 4) are transmitted (A5) The first and second objects (3 and 4) and other It has a region such as a region through which an object (third object, eg, jelly) is transmitted.

【0027】前記(A1)の領域は光源(1)の全波長
成分を含み、前記(A2)の領域は第1の物体(3)の
透過色のみの波長成分を含み、前記(A3)の領域は、
第1の物体(3)の透過光とは異なる波長成分及び/又
は第1の物体(3)とは異なる透過率によって減ぜられ
た光量を舎み、前記(A4)の領域は、第1の物体
(3)の透過色から更に第2の物体(4)の透過色によ
って制限された波長成分及び/又は第2の物体(4)の
透過率によって減ぜられた光量を含み、前記(A5)の
領域は、前記第1と第2の物体(4)を透過した光から
更に第3の物体の透過色及び/又は透過率によって制限
された波長成分及び/又は光量を含んでいる。
The region (A1) includes all wavelength components of the light source (1), the region (A2) includes wavelength components of only the transmitted color of the first object (3), and the region (A3) The area is
The amount of light reduced by the wavelength component different from the transmitted light of the first object (3) and / or the transmittance different from the first object (3) is housed, and the area of (A4) is the first From the transmission color of the object (3) of (1) further including a wavelength component limited by the transmission color of the second object (4) and / or the amount of light reduced by the transmittance of the second object (4), The area A5) includes a wavelength component and / or a light amount which is limited by the transmitted color and / or the transmittance of the third object from the light transmitted through the first and second objects (4).

【0028】前記(A1)〜(A5)の領域が波長成分と
光量とによって、互いに識別が可能である場合は、2物
体の重畳状態のずれによって変化する前記(A2)〜
(A4)の面積を検出することによって、2物体の重畳
状態のずれを検出することが可能である。しかし、前記
(A1)〜(A5)の領域が波長成分と光量のみでは互い
に識別できない場合、例えば、前記(A1)の領域と
(A2)の領域とが識別できない場合には、以下の操作
を行うことにより2物体の重畳状態のずれを検出でき
る。
When the regions (A1) to (A5) can be distinguished from each other by the wavelength component and the light quantity, the regions (A2) to (A2) which change depending on the shift of the superposed state of the two objects.
By detecting the area of (A4), it is possible to detect the deviation of the overlapping state of the two objects. However, when the areas (A1) to (A5) cannot be distinguished from each other only by the wavelength component and the light amount, for example, when the area (A1) and the area (A2) cannot be distinguished from each other, the following operation is performed. By doing so, it is possible to detect the deviation of the superposed state of the two objects.

【0029】物品(5)を撮像したときの前記撮像手段
(2)の受光領域の中で所定の領域を検査領域に設定す
る。本発明においては、物品(5)の第1の物体(3)
は常に所定の撮像位置(6)において撮像されるため、
静止画像の中で常に同一の位置にある。従って、設定さ
れる検査領域を、前記撮像位置(6)において前記第1
の物体(3)又は前記第1の物体(3)と第2の物体
(4)とが位置ずれせずに重畳されている場合の第2の
物体(4)の外周縁に沿う境界線の例えば内側の領域に
設定すれば、前記(A1)の領域を予め検査対象から除
外することができる。取り込んだ静止画像の中で前記
(A1)の領域と(A2)の領域との境界は常に一定の位
置に存在するため、面積を算出する対象をこの境界に接
する内側の領域(検査領域)に限定すれば、前記(A
1)の領域と(A2)の領域とを前述したような波長成分
と光量とによって識別する必要はなくなる。
A predetermined area is set as the inspection area in the light receiving area of the image pickup means (2) when the image of the article (5) is picked up. In the present invention, the first object (3) of the article (5)
Is always imaged at the predetermined imaging position (6),
It is always in the same position in a still image. Therefore, the inspection area to be set is set at the first position at the imaging position (6).
Object (3) or the boundary line along the outer peripheral edge of the second object (4) when the first object (3) and the second object (4) are superimposed without displacement. For example, if the area is set to the inner area, the area (A1) can be excluded from the inspection target in advance. Since the boundary between the area (A1) and the area (A2) always exists in a fixed position in the captured still image, the object whose area is to be calculated is the inner area (inspection area) that touches this boundary. If limited, the above (A
It is not necessary to distinguish the area 1) and the area A2 by the wavelength component and the light amount as described above.

【0030】前記検査領域の境界線の一部は、前記第1
の物体(3)又は前記第1の物体(3)と弟2の物体
(4)とが位置ずれせずに重畳されている場合の第2の
物体(4)の外周縁に一致させるのが好ましい。またこ
の際、前記第1の物体(3)の外周縁か、前記第1の物
体(3)と第2の物体(4)とが位置ずれせずに重畳さ
れている場合の第2の物体(4)の外周縁かは、第1の
物体及び第2の物体の形状、大きさ、材質等により随意
に選択できる。例えば、第1の物体(3)及び第2の物
体(4)の外周縁が同じ大きさの円形であるならば、前
記境界線は前記第1の物体(3)の外周縁又は前記第1
の物体(3)と第2の物体(4)とが位置ずれせずに重
畳されている場合の第2の物体(4)の外周縁のどちら
の外周縁に一致させても良い。しかしながら、このよう
な場合でも、例えば第2の物体(4)の外周縁が外側に
突出する小さな突出部(例えば、第2の物体(4)を第
1の物体(3)から引き剥がす際の把手部)を有する円
形である場合には、前記検査領域の境界線の一部は、前
記突出部の影響をうけないよう、前記第1の物体(3)
の外周縁に一致さることが望ましい。
A part of the boundary line of the inspection area is the first
The object (3) or the first object (3) and the object (4) of the younger brother 2 are made to coincide with the outer peripheral edge of the second object (4) in the case where they are superposed without displacement. preferable. Further, at this time, the second object in the case where the outer peripheral edge of the first object (3) or the first object (3) and the second object (4) are superposed without displacement. The outer peripheral edge of (4) can be arbitrarily selected according to the shapes, sizes, materials, etc. of the first object and the second object. For example, if the outer edges of the first object (3) and the second object (4) are circular with the same size, the boundary line is the outer edge of the first object (3) or the first object (3).
The object (3) and the second object (4) may be aligned with either of the outer peripheral edges of the second object (4) when the second object (4) is superposed without displacement. However, even in such a case, for example, when the outer peripheral edge of the second object (4) projects outwardly (for example, when the second object (4) is peeled off from the first object (3)). In the case of a circular shape having a grip portion), a part of the boundary line of the inspection region is not affected by the protruding portion, and the first object (3)
It is desirable to match the outer peripheral edge of the.

【0031】前記撮像位置(6)において前記第1の物
体(3)又は前記第1の物体(3)と第2の物体(4)
とが位置ずれせずに重畳されている場合の第2の物体
(4)の外周縁を境界線として、その境界線に接する境
界線内側の領域を前記検査領域に設定した場合、実際の
検査対象物品(5)の2物体に重畳状態のずれが無い場
合には、前記検査領域の透過光は全て第2の物体(4)
を透過する。しかしながら、2物体の重畳状態に位置ず
れがある場合には、前記検査領域の透過光の中に、第2
の物体(4)を透過しない領域が発生する。その検査領
域中で、透過光が第2の物体(4)を透過しない領域の
面積は、2物体の重畳状態の位置ずれの量に関連する。
The first object (3) or the first object (3) and the second object (4) at the imaging position (6).
When the outer peripheral edge of the second object (4) in the case where and are overlapped without being displaced is set as a boundary line and an area inside the boundary line that is in contact with the boundary line is set as the inspection area, the actual inspection is performed. When the two objects of the target article (5) have no deviation in the superposed state, all the transmitted light in the inspection area is the second object (4).
Through. However, if there is a positional deviation in the superposed state of the two objects, the second light may be included in the transmitted light of the inspection area.
A region that does not pass through the object (4) is generated. The area of the region in which the transmitted light does not pass through the second object (4) in the inspection region is related to the amount of positional deviation in the overlapping state of the two objects.

【0032】前記検査領域中で、透過光が第2の物体
(4)を透過しない領域と、透過した領域では、撮像手
段(2)で受光する光量が異なるので、前記第2の物体
(4)を透過しない領域、又はそれ以外の領域(即ち、
第2の物体(4)を透過した領域)の面積は検出するこ
とができる。検出される面積は、2物体の重畳状態の位
置ずれの量に対応しているので、2物体の重畳状態の位
置ずれ量を、検出することができる。なお、前記第2の
物体(4)を透過しない領域、又はそれ以外の領域の面
積は、必ずしもその正確な数値を検出する必要はなく、
面積の大きさの程度が分かれば本発明で利用可能であ
る。
In the inspection area, the amount of light received by the image pickup means (2) differs between the area where the transmitted light does not pass through the second object (4) and the area through which the transmitted light passes, so the second object (4) ) Is not transmitted, or other areas (ie,
The area of the area that has penetrated the second object (4) can be detected. Since the detected area corresponds to the amount of positional deviation in the superposed state of the two objects, the amount of positional deviation in the superposed state of the two objects can be detected. The area of the area that does not pass through the second object (4) or the area other than that does not necessarily need to detect an accurate numerical value,
If the size of the area is known, it can be used in the present invention.

【0033】第1の物体(3)と第2の物体(4)との
重畳状態のずれが大きい場合には、異常信号を発するこ
とが可能である。この異常信号は、作業員に不良品発生
を知らせる警報、警告灯等、又は前記不良品を自動的に
除去する操作等の作動信号として用いられる。
When the deviation of the superposed state between the first object (3) and the second object (4) is large, it is possible to issue an abnormal signal. This abnormal signal is used as an operation signal for an alarm, a warning light, or the like for informing a worker that a defective product has occurred, or an operation for automatically removing the defective product.

【0034】本発明の2物体の重畳状態の検出装置で
は、物品(5)が撮像位置(6)に到達したとき、それ
を検出して撮像位置検出信号を出力する手段を使用する
ことができる。撮像位置検出信号を出力する手段(1
3、16)としては、市販の近接式スイッチ、接触式ス
イッチ等が利用できるが、非接触式のものが望ましく、
特に光電スイッチが推奨される。また本発明の2物体の
重畳状態の検出装置は、物品(5)の第1の物体(3)
の位置を調節して所定の撮像位置(6)を通過させ、又
は所定の撮像位置(6)に停止させる位置決め配置手段
を備えている。この位置決め配置手段は、次々に連続的
に移送されてくる個々の物品(5)の第1の物体(3)
を所定の撮像位置(6)に誘導し、物品(5)の透過光
パターンを静止画像として撮像する際に、個々の物品
(5)の第1の物体(3)を常に同一の撮像位置(6)
に位置させることを目的としており、この目的を達する
ならばいかなるものでも良い。
In the two-object superposed state detecting device of the present invention, when the article (5) reaches the image pickup position (6), means for detecting it and outputting an image pickup position detection signal can be used. . Means for Outputting Imaging Position Detection Signal (1
A commercially available proximity switch, contact switch or the like can be used as 3, 16), but a non-contact type switch is preferable,
Especially photoelectric switch is recommended. Further, the detection device for the superposed state of two objects of the present invention is the first object (3) of the article (5).
Positioning and arranging means for adjusting the position to pass the predetermined image pickup position (6) or stopping at the predetermined image pickup position (6). This positioning and arranging means is provided for the first object (3) of the individual articles (5) successively transferred one after another.
Is guided to a predetermined imaging position (6) and the transmitted light pattern of the article (5) is captured as a still image, the first object (3) of each article (5) is always the same imaging position ( 6)
It is intended to be located at, and any object that achieves this purpose may be used.

【0035】前記物品(5)を撮像したときの前記撮像
手段(2)の受光領域の中で所定の領域を検査領域に設
定し、前記検査領域から受光した光の光量が所定の範囲
に含まれる領域の面積を検出する目標面積検出手段は画
像処理装置(9)を用いて構成することができる。撮像
手段(2)及び画像処理装置(9)は市販のセットを用
いることができる。また画像処理装置(9)には画像を
表示するモニター(12)を接続し、モニター(12)
に検出された前記目標面積を表示することも可能であ
る。検出された目標面積が許容範囲に有るか否かを判別
する手段は前記画像処理装置と別体に構成することが可
能であるが、画像処理装置に前記判別する手段の機能を
持たせることが可能である。前記判別手段は、その出力
導線(11)を、例えば、作業員に不良品の発生を連絡
する警報器、警報灯、あるいは前記不良品を自動的に除
去する装置等(各々図示せ)に結線して使用される。
A predetermined area is set as an inspection area in the light receiving area of the image pickup means (2) when the image of the article (5) is picked up, and the amount of light received from the inspection area is included in the predetermined range. The target area detecting means for detecting the area of the region to be formed can be configured by using the image processing device (9). A commercially available set can be used for the imaging means (2) and the image processing device (9). A monitor (12) for displaying an image is connected to the image processing device (9), and the monitor (12) is connected.
It is also possible to display the target area detected at. The means for determining whether or not the detected target area is within the allowable range can be configured separately from the image processing apparatus, but the image processing apparatus may be provided with the function of the determination means. It is possible. The discriminating means connects the output lead wire (11) to, for example, an alarm device for notifying a worker of the occurrence of a defective product, an alarm light, or a device for automatically removing the defective product (each shown). Then used.

【0036】[0036]

【作用】次に、前述の特徴を備えた本発明の作用を説明
する。 (第1発明の作用)本出願に係る第1発明の2物体の重
畳状態の検出方法では、光源(1)と、前記光源(1)
の光軸に沿って前記光源(1)に対向配置された撮像手
段(2)との間の光照射領域(20)に、第1の物体
(3)と第2の物体(4)とが前記光軸方向に重畳され
た物品(5)(検査対象物品)が、配置される。その
際、前記第1の物体(3)が前記光照射領域(20)の
所定の撮像位置(6)に位置決めして配置される。この
ため、前記第1の物体(3)は常に前記撮像手段(2)
の所定の画素によって撮像される。また、前記第1の物
体(3)に第2の物体(4)が位置ずれせずに重畳され
ている場合には、第2の物体(4)も、前記撮像手段
(2)の所定の画素によって撮像される。前記撮像位置
(6)において前記第1の物体(3)又は前記第1の物
体(3)と第2の物体(4)とが位置ずれせずに重畳さ
れている場合の第2の物体(4)の外周縁に沿う境界線
の内側又は外側のいずれかの領域が検査領域に設定され
る。
Next, the operation of the present invention having the above features will be described. (Operation of First Invention) In the method for detecting the overlapping state of two objects of the first invention according to the present application, a light source (1) and the light source (1) are provided.
The first object (3) and the second object (4) are placed in the light irradiation area (20) between the image pickup means (2) arranged to face the light source (1) along the optical axis of. The article (5) (inspection target article) superimposed in the optical axis direction is arranged. At that time, the first object (3) is positioned and arranged at a predetermined imaging position (6) of the light irradiation region (20). Therefore, the first object (3) is always in the image pickup means (2).
The image is picked up by a predetermined pixel of. Further, when the second object (4) is superimposed on the first object (3) without being displaced, the second object (4) is also a predetermined object of the imaging means (2). Imaged by pixels. A second object (when the first object (3) or the first object (3) and the second object (4) are superposed without displacement at the imaging position (6). The area inside or outside the boundary line along the outer peripheral edge of 4) is set as the inspection area.

【0037】例えば、前記検査領域の境界線として第2
の物体(4)の外周縁を採用し、その境界線の内側を検
査領域に設定する場合、2物体の重畳状態に位置ずれが
無い場合には、前記検査領域を受光する全ての画素は、
前記第2の物体(4)の存在領域を透過した光を受光す
る。しかしながら、2物体の重畳状態に位置ずれが有る
場合には、前記検査領域を受光する画素は、第2の物体
(4)が存在する領域(存在領域)を透過した光を受光
する画素と第2の物体(4)が存在しない領域(非存在
領域)を透過した光を受光する画素とに別れる。第2の
物体(4)を透過した光と透過していない光とが区別で
きる光透過率を第2の物体(4)が有する場合、例えば
前記第2の物体(4)を透過していない光を受光した画
素の数をカウントすることによって、前記検査領域の中
で、第2の物体(4)が存在しない領域(非存在領域)
の面積を検出することができる。この検出面積は2物体
の重畳状態にずれが無い場合には0であるので、その検
出面積が大きい程、重畳状態のずれが大きいことにな
る。なお、前記検出面積は必ずしも正確な数値で検出す
る必要はなく、重畳状態の良否を判別することができる
程度に、前記2物体の重畳状態ずれの程度を判断できれ
ば実用になる。
For example, as a boundary line of the inspection area, the second
When the outer peripheral edge of the object (4) is adopted and the inside of the boundary line is set as the inspection area, when there is no positional deviation in the superposed state of the two objects, all pixels that receive the inspection area are
The light transmitted through the area where the second object (4) is present is received. However, when there is a positional deviation in the superposed state of the two objects, the pixel that receives the inspection area is the same as the pixel that receives the light that has passed through the area (existing area) in which the second object (4) exists. The second object (4) is divided into pixels that receive light that has passed through a region where no object (4) exists (non-existing region). When the second object (4) has a light transmittance that allows the light transmitted through the second object (4) and the light not transmitted through the second object (4) to be distinguished, for example, the second object (4) is not transmitted. An area (non-existing area) where the second object (4) does not exist in the inspection area by counting the number of pixels that receive light
Area can be detected. This detection area is 0 when there is no deviation in the overlapping state of the two objects, so the larger the detection area, the greater the deviation in the overlapping state. The detection area does not necessarily need to be detected with an accurate numerical value, and it is practical if the degree of deviation of the superposition state of the two objects can be determined to the extent that the superposition state can be determined.

【0038】前記のように、画像処理装置に到達する光
学的映像パターンは、前記(A1)〜(A5)の領域を有
しているが、前記(A1)の領域と(A2)の領域との境
界に接する検査領域を設定すれば、前記(A1)の領域
と(A2)の領域とは、敢えて波長成分と光量とによっ
て識別する必要はなくなる。このため、先願技術では検
査が困難であった物品(5)、例えば、第1の物体
(3)が無色透明である等の理由により、第1の物体
(3)の透過光(8)が背景光(7)と識別できない場
合(即ち、前記(A1)の領域と前記(A2)の領域と
で、波長成分と光量に差が少なく、互いに識別が因難で
ある場合)であっても、本発明は問題なく検査すること
ができるのである。
As described above, the optical image pattern reaching the image processing apparatus has the areas (A1) to (A5), but the areas (A1) and (A2) are included. By setting the inspection region in contact with the boundary of (2), it is not necessary to discriminate the (A1) region and the (A2) region by the wavelength component and the light amount. For this reason, the transmitted light (8) of the first object (3) is difficult to inspect by the prior application technique, for example, the first object (3) is colorless and transparent because of the fact that the first object (3) is colorless and transparent. Is indistinguishable from the background light (7) (that is, there is little difference between the wavelength component and the light amount in the area (A1) and the area (A2), and it is difficult to distinguish them from each other). However, the present invention can be tested without problems.

【0039】(第2発明の作用)また、本出願に係る第
2発明の2物体の重畳状態の検出方法では、前記物品
(5)の前記光照射領域(20)内の所定の撮像位置
(6)への配置は、搬送手段により搬送される物品
(5)の第1の物体(3)を前記撮像位置(6)を通過
させること、又は撮像位置(6)に停止させることによ
り行われる。前記物品(5)が、前記撮像位置(6)に
到達したとき、撮像位置検出信号が出力される。撮像手
段(2)としてのビデオカメラは、前記撮像位置検出信
号に応じて作動し、前記撮像位置(6)を通過又は停止
した際の前記物品(5)を撮像する。前記設定された検
査領域からの光を受光した前記ビデオカメラの各画素の
中で光量が所定の範囲に含まれる光を受光した画素の数
をカウントすることにより、前記受光光量が所定の範囲
に含まれる領域の面積が、検出される。前記カウント値
が所定の基準範囲を外れたことを検出したとき異常信号
が出力される。
(Operation of Second Invention) Further, in the method for detecting the overlapping state of two objects of the second invention according to the present application, a predetermined image pickup position (in the light irradiation region (20) of the article (5) ( 6) is placed by passing the first object (3) of the article (5) conveyed by the conveying means through the image pickup position (6) or by stopping it at the image pickup position (6). . When the article (5) reaches the imaging position (6), an imaging position detection signal is output. The video camera as the image pickup means (2) operates in response to the image pickup position detection signal, and takes an image of the article (5) when passing or stopping the image pickup position (6). By counting the number of pixels that have received light having a light amount within a predetermined range among the pixels of the video camera that have received light from the set inspection area, the received light amount is within a predetermined range. The area of the included region is detected. When it is detected that the count value is out of the predetermined reference range, an abnormal signal is output.

【0040】(本発明の実施態様1の作用)本出願に係
る発明の実施態様1の2物体の重畳状態の検出方法で
は、前記検査領域は、前記撮像位置(6)において前記
第1の物体(3)と第2の物体(4)とが位置ずれせず
に重畳されている場合の第2の物体(4)の外周縁に沿
う境界線で分割された境界線の外側の領域に設定され
る。2物体の重畳状態にずれが無い状態では、前記境界
線の外側の前記検査領域では、前記第2の物体(4)は
殆ど存在しない。しかしながら、2物体の重畳状態にず
れが有る状態では、前記検査領域に前記ずれの大きさに
応じた面積の第2の物体(4)が存在するようになる。
前記第2の物体(4)の存在領域を透過した光の光量は
第2の物体(4)の非存在領域を透過した光の光量に比
べて少なくなるので、前記第2の物体(4)の存在領域
を透過した光と透過しない光とは区別されて撮像手段
(2)の各画素で検出されるようになる。前記第2の物
体(4)の存在領域を透過した光を検出した画素の数に
より、第2の物体(4)の存在領域を透過した光が検出
される領域の面積を検出することができる。その検出面
積は、前記2物体の重畳状態のずれの大きさに応じた大
きさとなるので、2物体の重畳状態の良否を判別するこ
とができる。
(Operation of Embodiment 1 of the Present Invention) In the method for detecting the overlapping state of two objects according to Embodiment 1 of the present invention, the inspection area is the first object at the imaging position (6). (3) and the second object (4) are set in an area outside the boundary line divided by the boundary line along the outer peripheral edge of the second object (4) when the second object (4) is superposed without displacement. To be done. In a state where there is no deviation in the overlapping state of the two objects, the second object (4) hardly exists in the inspection area outside the boundary line. However, when there is a deviation in the overlapping state of the two objects, the second object (4) having an area corresponding to the magnitude of the deviation is present in the inspection area.
Since the amount of light transmitted through the existing region of the second object (4) is smaller than the amount of light transmitted through the non-existing region of the second object (4), the second object (4) The light that has passed through the area where the light is present and the light that does not pass through are detected by each pixel of the image pickup means (2). The area of the region where the light transmitted through the existing region of the second object (4) is detected can be detected by the number of pixels which detect the light transmitted through the existing region of the second object (4). . Since the detected area has a size corresponding to the size of the deviation of the superposed state of the two objects, it is possible to determine whether the superposed state of the two objects is good or bad.

【0041】(第3発明の作用)本出願に係る第3発明
の2物体の重畳状態の検出方法では、前記検査領域は、
前記撮像位置(6)において前記第1の物体(3)又は
前記第1の物体(3)と第2の物体(4)とが位置ずれ
せずに重畳されている場合の第2の物体(4)の外周縁
に沿う境界線で分割された境界線の内側の領域に設定さ
れる。2物体の重畳状態にずれが無い状態では、前記境
界線の内側の前記検査領域では、その検査領域の大部分
に前記第2の物体(4)が存在し、第2物体が存在しな
い領域は殆ど無い。しかしながら、2物体の重畳状態に
ずれが有る状態では、前記検査領域に前記ずれの大きさ
に応じた面積の第2の物体(4)が存在しない領域が生
じる。前記第2の物体(4)の非存在領域を透過した光
の光量は第2の物体(4)の存在領域を透過した光の光
量に比べて多くなるので、前記第2の物体(4)を透過
しない光と透過した光とは区別されて撮像手段(2)の
各画素で検出されるようになる。前記第2の物体(4)
を透過しない光を検出した画素の数により、第2の物体
(4)を透過しない光が検出される領域の面積を検出す
ることができる。その検出面積は、前記2物体の重畳状
態のずれの大きさに応じた大きさとなるので、2物体の
重畳状態の良否を判別することができる。
(Operation of Third Invention) In the method for detecting the overlapping state of two objects according to the third invention of the present application, the inspection area is
A second object (when the first object (3) or the first object (3) and the second object (4) are superposed without displacement at the imaging position (6). It is set in a region inside the boundary line divided by the boundary line along the outer peripheral edge of 4). In a state where there is no deviation in the overlapping state of the two objects, in the inspection area inside the boundary line, the second object (4) exists in most of the inspection area, and the area where the second object does not exist is Almost none. However, when there is a deviation in the overlapping state of the two objects, there is a region in the inspection area where the second object (4) having an area corresponding to the magnitude of the deviation does not exist. Since the amount of light transmitted through the non-existing region of the second object (4) is larger than the amount of light transmitted through the existing region of the second object (4), the second object (4) The light that does not pass through and the light that passes through are distinguished from each other and detected by each pixel of the image pickup means (2). The second object (4)
The area of the region where the light that does not pass through the second object (4) is detected can be detected by the number of pixels that have detected the light that does not pass through. Since the detected area has a size corresponding to the size of the deviation of the superposed state of the two objects, it is possible to determine whether the superposed state of the two objects is good or bad.

【0042】(第4発明の作用)本出願に係る第4発明
の2物体の重畳状態の検出方法では、前記光源(1)と
して複数の波長の光を含む複合光光源(1)を用いる。
前記複合光光源(1)から出射して前記第1の物体
(3)と第2の物体(4)とが重畳された物品(5)を
透過した透過光パターンは、撮像手段(2)としてのビ
デオカラーカメラで撮像される。前記検査領域から受光
した光の光量が所定の範囲に含まれるか否かの判定は、
受光した光の複数の波長に対して行われる。即ち、例え
ば、前記複合光光源(1)として白色光(R,G,Bの
全ての波長成分を有する光)を用いた場合、前記検査領
域から受光した光の光量が所定の範囲に含まれるか否か
の判定は、各画素毎に、受光した光の複数の波長に対し
て行う。即ち、カラービデオカメラ(撮像手段)によっ
て検査領域からの光を受光した場合、各画素は、R,
G,BのフィルタによりR,G,Bの波長に分けて受光
することになる。この場合各画素毎に、R,G,Bの各
波長に対してそれらの光量が所定の範囲に含まれるか否
かを判断し、R,G,Bの全ての波長に対して条件(光
量が所定の範囲に含まれるか否か)を満足する光を受光
した画素を、前記光量が所定の範囲に含まれる光を受光
した画素とする。この画素の数により、前記検査領域か
ら受光した光の光量が所定の範囲に含まれる領域の面積
を検出する。
(Operation of Fourth Invention) In the method for detecting the overlapping state of two objects of the fourth invention according to the present application, a composite light source (1) containing light of a plurality of wavelengths is used as the light source (1).
The transmitted light pattern emitted from the composite light source (1) and transmitted through the article (5) in which the first object (3) and the second object (4) are superposed is used as an imaging unit (2). Imaged with a video color camera. The determination of whether or not the amount of light received from the inspection area is included in a predetermined range is
This is performed for a plurality of wavelengths of received light. That is, for example, when white light (light having all wavelength components of R, G, B) is used as the composite light source (1), the light amount of the light received from the inspection area is included in a predetermined range. Whether or not it is determined for each pixel for a plurality of wavelengths of the received light. That is, when light from the inspection area is received by the color video camera (imaging means), each pixel has R,
The R, G, and B wavelengths are separately received by the G and B filters. In this case, for each pixel, it is determined whether or not the light amount of each of the R, G, and B wavelengths is included in a predetermined range, and the condition (light amount of each of the R, G, B wavelengths is determined. A pixel that has received light satisfying the condition (1) is included in the predetermined range is defined as a pixel that has received light having the light amount within the predetermined range. The area of a region in which the amount of light received from the inspection region is included in a predetermined range is detected based on the number of pixels.

【0043】(第5発明の作用)また、本出願に係る第
5発明の2物体の重畳状態の検出方法では、スターホイ
ールの外周縁に設けられた切欠部に物品(5)の第1の
物体(3)を嵌入させ、このスターホイールを回転させ
て前記物品(5)を搬送する。このようにして搬送した
前記物品(5)の第1の物体(3)を押圧手段により、
前記スターホイールの外周縁に近接して配置されたガイ
ドに押圧して物品(5)の第1の物体(3)を所定の撮
像位置(6)に位置決め配置する。
(Operation of Fifth Invention) Further, in the method of detecting the overlapping state of two objects of the fifth invention according to the present application, the first of the article (5) is provided in the notch provided in the outer peripheral edge of the star wheel. The object (3) is inserted and the star wheel is rotated to convey the article (5). By the pressing means, the first object (3) of the article (5) thus conveyed is
The first object (3) of the article (5) is positioned and arranged at a predetermined imaging position (6) by pressing against a guide arranged near the outer peripheral edge of the star wheel.

【0044】(第6発明の作用)本出願に係る第6発明
の2物体の重畳状態の検出装置では、光源(1)と、前
記光源(1)の光軸に沿って前記光源(1)に対向配置
された撮像手段(2)との間の光照射領域(20)に、
第1の物体(3)と、第2の物体(4)とが前記光軸方
向に重畳された物品(5)(検査対象物品)が、配置さ
れる。その際、前記位置決め配置手段は、前記物品
(5)の第1の物体(3)を前記光照射領域(20)内
の所定の撮像位置(6)に位置決めして配置する。この
ため、前記第1の物体(3)は前記撮像手段(2)の所
定の画素によって撮像される。従って、前記第1の物体
(3)に第2の物体(4)が位置ずれせずに重畳されて
いる場合には、第2の物体(4)も、前記撮像手段
(2)の所定の画素によって撮像される。前記検査領域
は、前記撮像位置(6)において前記第1の物体(3)
又は前記第1の物体(3)と第2の物体(4)とが位置
ずれせずに重畳されている場合の第2の物体(4)の外
周縁に沿う境界線の内側又は外側のいずれかの領域に設
定される。
(Operation of Sixth Invention) In the apparatus for detecting the overlapping state of two objects of the sixth invention according to the present application, the light source (1) and the light source (1) along the optical axis of the light source (1). In the light irradiation area (20) between the image pickup means (2) arranged opposite to
An article (5) (inspection object) in which the first object (3) and the second object (4) are superimposed in the optical axis direction is arranged. At that time, the positioning and arranging means positions and positions the first object (3) of the article (5) at a predetermined imaging position (6) in the light irradiation region (20). Therefore, the first object (3) is imaged by the predetermined pixels of the imaging means (2). Therefore, when the second object (4) is superimposed on the first object (3) without being displaced, the second object (4) is also a predetermined object of the imaging means (2). Imaged by pixels. The inspection region includes the first object (3) at the imaging position (6).
Alternatively, either inside or outside the boundary line along the outer peripheral edge of the second object (4) when the first object (3) and the second object (4) are superimposed without displacement. It is set in that area.

【0045】例えば、前記境界線として第2の物体
(4)の外周縁を採用し、その境界線の内側を検査領域
に設定する場合、2物体の重畳状態に位置ずれが無い場
合には、前記検査領域を受光する全ての画素は、前記第
2の物体(4)を透過した光を受光する。しかしなが
ら、2物体の重畳状態に位置ずれが有る場合には、前記
検査領域を受光する画素は、第2の物体(4)の存在領
域を透過した光を受光する画素と第2の物体(4)の非
存在領域を透過した光を受光する画素とに別れる。第2
の物体(4)を透過した光と透過していない光とが区別
できる光透過率を第2の物体(4)が有する場合、例え
ば前記第2の物体(4)を透過していない光を受光した
画素の数をカウントすることによって、前記検査領域の
中で、第2の物体(4)を透過していない領域の面積を
検出することができる。この検出面積は2物体の重畳状
態にずれが無い場合には0であるので、その検出面積が
大きい程、重畳状態のずれが大きいことになる。
For example, when the outer peripheral edge of the second object (4) is used as the boundary line and the inside of the boundary line is set as the inspection area, when there is no positional deviation in the superposed state of the two objects, All pixels that receive the inspection area receive the light that has passed through the second object (4). However, when there is a positional deviation in the superposed state of the two objects, the pixels that receive the inspection area are the pixels that receive the light that has transmitted the area where the second object (4) exists and the second object (4 ) Is divided into pixels that receive light transmitted through the non-existing region. Second
When the second object (4) has a light transmittance that allows the light transmitted through the object (4) and the light not transmitted therethrough to be discriminated, for example, the light not transmitted through the second object (4) is By counting the number of pixels that have received light, it is possible to detect the area of the region that does not pass through the second object (4) in the inspection region. This detection area is 0 when there is no deviation in the overlapping state of the two objects, so the larger the detection area, the greater the deviation in the overlapping state.

【0046】従って、前記目標面積検出手段は、前記物
品(5)を撮像したときの前記撮像手段(2)の受光領
域の中で所定の領域(例えば、第2の物体(4)の外周
縁を境界線とする境界線内側)を検査領域に設定し、前
記検査領域から受光した光の波長及び光量が所定の範囲
に含まれる領域(画素で受光した光が第2の物体(4)
を透過していない領域)の面積(即ち、目標面積)を検
出する。前記判別手段は、検出された目標面積が許容範
囲に有るか否かを判別する。
Therefore, the target area detecting means is configured to detect a predetermined area (for example, the outer peripheral edge of the second object (4)) in the light receiving area of the imaging means (2) when the object (5) is imaged. Is set as the inspection area, and the wavelength and the amount of light received from the inspection area are included in a predetermined range (the light received by the pixel is the second object (4)).
The area (that is, the target area) of the region (that does not pass through) is detected. The discrimination means discriminates whether or not the detected target area is within an allowable range.

【0047】(第7発明の作用)また、本出願に係る第
7発明の2物体の重畳状態の検出装置では、前記物品
(5)が、前記撮像位置(6)に配置されたとき、撮像
位置検出信号出力手段は、それを検出して撮像位置検出
信号を出力する。撮像手段(2)としてのビデオカメラ
は、前記撮像位置検出信号に応じて作動し、前記撮像位
置(6)に配置された前記物品(5)を撮像する。前記
目標面積検出手段のカウンタは、前記設定された検査領
域から受光した前記ビデオカメラの各画素の中で光量が
所定の範囲に含まれる光を受光した画素の数をカウント
する。前記異常信号出力手段は、前記カウント値が所定
の基準範囲を外れたことを検出したとき異常信号を出力
する。
(Operation of Seventh Invention) Further, in the two-object superposed state detecting device of the seventh invention according to the present application, when the article (5) is placed at the image pickup position (6), the image pickup is performed. The position detection signal output means detects it and outputs an imaging position detection signal. The video camera as the image pickup means (2) operates in response to the image pickup position detection signal, and takes an image of the article (5) arranged at the image pickup position (6). The counter of the target area detection unit counts the number of pixels that have received light having a light amount within a predetermined range among the pixels of the video camera that have received light from the set inspection area. The abnormal signal output means outputs an abnormal signal when it is detected that the count value is out of a predetermined reference range.

【0048】(本発明の実施態様2の作用)本出願に係
る発明の実施態様2の2物体の重畳状態の検出装置で
は、前記検査領域は、前記撮像位置(6)において前記
第1の物体(3)と第2の物体(4)とが位置ずれせず
に重畳されている場合の第2の物体(4)の外周縁に沿
う境界線で分割された境界線の外側の領域に設定されて
いる。2物体の重畳状態にずれが無い状態では、前記境
界線の外側の前記検査領域では、前記第2の物体(4)
は殆ど存在しない。しかしながら、2物体の重畳状態に
ずれが有る状態では、前記検査領域に前記ずれの大きさ
に応じた面積の第2の物体(4)が存在することにな
る。前記第2の物体(4)の存在領域を透過した光の光
量は第2の物体(4)の非存在領域を透過した光の光量
に比べて少なくなるので、前記第2の物体(4)の存在
領域を透過した光と非存在領域を透過した光とは区別さ
れて撮像手段(2)の各画素で検出される。前記第2の
物体(4)の存在領域を透過した光を検出した画素の数
により、第2の物体(4)の存在領域の面積を検出する
ことができる。その検出面積は、前記2物体の重畳状態
のずれの大きさに応じた大きさとなるので、2物体の重
畳状態の良否を判別することができる。
(Operation of Embodiment 2 of the Present Invention) In the apparatus for detecting the overlapping state of two objects according to Embodiment 2 of the present invention, the inspection area is the first object at the imaging position (6). (3) and the second object (4) are set in an area outside the boundary line divided by the boundary line along the outer peripheral edge of the second object (4) when the second object (4) is superposed without displacement. Has been done. In a state where there is no deviation in the superposed state of the two objects, in the inspection area outside the boundary line, the second object (4)
Is almost nonexistent. However, when there is a deviation in the overlapping state of the two objects, the second object (4) having an area corresponding to the magnitude of the deviation exists in the inspection area. Since the amount of light transmitted through the existing region of the second object (4) is smaller than the amount of light transmitted through the non-existing region of the second object (4), the second object (4) The light that has passed through the existing area and the light that has passed through the non-existing area are distinguished and detected by each pixel of the imaging means (2). The area of the existing region of the second object (4) can be detected by the number of pixels that detect the light transmitted through the existing region of the second object (4). Since the detected area has a size corresponding to the size of the deviation of the superposed state of the two objects, it is possible to determine whether the superposed state of the two objects is good or bad.

【0049】(第8発明の作用)また、本出願に係る第
8発明の2物体の重畳状態の検出装置では、前記検査領
域は、前記撮像位置(6)において前記第1の物体
(3)又は前記第1の物体(3)と第2の物体(4)と
が位置ずれせずに重畳されている場合の第2の物体
(4)の外周縁に沿う境界線で分割された境界線の内側
の領域に設定されている。2物体の重畳状態にずれが無
い状態では、前記境界線の内側の前記検査領域では、そ
の検査領域の全部又は大部分に前記第2の物体(4)が
存在し、第2物体が存在しない領域は全く又は殆ど無
い。しかしながら、2物体の重畳状態にずれが有る状態
では、前記検査領域に前記ずれの大きさに応じた面積の
第2の物体(4)が存在しない領域(非存在領域)が生
じる。前記第2の物体(4)の非存在領域を透過した光
の光量は第2の物体(4)の存在領域を透過した光の光
量に比べて多くなるので、前記第2の物体(4)の非存
在領域を透過した光と存在領域を透過した光とは区別さ
れて撮像手段(2)の各画素で検出されるようになる。
前記第2の物体(4)の非存在領域を透過した光を検出
した画素の数により、第2の物体(4)が存在しない領
域の面積を検出することができる。その検出面積は、前
記2物体の重畳状態のずれの大きさに応じた大きさとな
るので、2物体の重畳状態の良否を判別することができ
る。
(Operation of Eighth Invention) Further, in the apparatus for detecting a superposed state of two objects of the eighth invention according to the present application, the inspection region has the first object (3) at the imaging position (6). Alternatively, a boundary line divided by a boundary line along the outer peripheral edge of the second object (4) in the case where the first object (3) and the second object (4) are superposed without displacement. Is set in the area inside. In a state where there is no deviation in the superposed state of the two objects, the second object (4) exists in all or most of the inspection area inside the boundary line, and the second object does not exist. There is no or little area. However, when there is a deviation in the overlapping state of the two objects, there is a region (non-existing region) in the inspection region where the second object (4) having an area corresponding to the magnitude of the deviation does not exist. Since the amount of light transmitted through the non-existing region of the second object (4) is larger than the amount of light transmitted through the existing region of the second object (4), the second object (4) The light that has passed through the non-existing region and the light that has passed through the existing region are discriminated and detected by each pixel of the image pickup means (2).
The area of the region where the second object (4) does not exist can be detected by the number of pixels that detect the light transmitted through the non-existing region of the second object (4). Since the detected area has a size corresponding to the size of the deviation of the superposed state of the two objects, it is possible to determine whether the superposed state of the two objects is good or bad.

【0050】(第9発明の作用)また、本出願に係る第
9発明の2物体の重畳状態の検出装置では、前記複数の
波長の光を含む複合光光源(1)から出射して前記第1
の物体(3)と第2の物体(4)とが重畳された物品
(5)を透過した透過光パターンは、撮像手段(2)と
してのビデオカラーカメラで撮像される。前記検査領域
から受光した光の光量が所定の範囲に含まれるか否かの
判定が、受光した光の複数の波長に対して行われる。即
ち、例えば、前記複合光光源(1)として白色光(R,
G,Bの全ての波長成分を有する光)を用いた場合、前
記検査領域から受光した光の光量が所定の範囲に含まれ
るか否かの判定は、各画素毎に、受光した光の複数の波
長に対して行う。即ち、カラービデオカメラ(撮像手
段)によって検査領域からの光を受光した場合、各画素
は、R,G,BのフィルタによりR,G,Bの波長に分
けて受光することになる。この場合各画素毎に、R,
G,Bの各波長に対してそれらの光量が所定の範囲に含
まれるか否かを判断し、R,G,Bの全ての波長に対し
て条件(光量が所定の範囲に含まれるか否か)を満足す
る光を受光した画素を、前記光量が所定の範囲に含まれ
る光を受光した画素とする。この画素の数により、前記
検査領域から受光した光の光量が所定の範囲に含まれる
領域の面積を検出する。
(Operation of Ninth Invention) In the second object superimposing state detecting apparatus of the ninth invention of the present application, the composite light source (1) containing light of the plurality of wavelengths is emitted from the composite light source (1). 1
The transmitted light pattern transmitted through the article (5) in which the object (3) and the second object (4) are transmitted is captured by a video color camera as the image capturing means (2). Whether or not the amount of light received from the inspection area is included in a predetermined range is determined for a plurality of wavelengths of the received light. That is, for example, as the composite light source (1), white light (R,
(Light having all wavelength components of G and B) is used, it is determined whether or not the amount of light received from the inspection area falls within a predetermined range by a plurality of received light for each pixel. For the wavelength of. That is, when light from the inspection area is received by the color video camera (imaging means), each pixel receives light by dividing it into R, G, B wavelengths by the R, G, B filters. In this case, R,
It is determined whether or not the light amounts of the G and B wavelengths are included in a predetermined range, and the conditions (whether or not the light amounts are included in the predetermined range are determined for all R, G, and B wavelengths. A pixel that receives light that satisfies the above condition is a pixel that receives light whose light amount is within a predetermined range. The area of a region in which the amount of light received from the inspection region is included in a predetermined range is detected based on the number of pixels.

【0051】(本発明の実施態様3の作用)本出願に係
る発明の実施態様3の2物体の重畳状態の検出装置で
は、位置決め装置は、スターホイールの外周縁に設けら
れた切欠部に物品(5)の第1の物体(3)を嵌入さ
せ、このスターホイールを回転させて前記物品(5)を
搬送する。このようにして搬送した前記物品(5)の第
1の物体(3)を押圧手段により、前記スターホイール
の外周縁に近接して配置されたガイドに押圧して物品
(5)の第1の物体(3)を所定の撮像位置(6)に位
置決め配置する。
(Operation of Embodiment 3 of the Present Invention) In the detection device for a superposed state of two objects according to Embodiment 3 of the present invention of the present application, the positioning device includes an article in a notch provided in the outer peripheral edge of the star wheel. The first object (3) of (5) is fitted and the star wheel is rotated to convey the article (5). By the pressing means, the first object (3) of the article (5) thus conveyed is pressed against the guide arranged near the outer peripheral edge of the star wheel to press the first object (3) of the article (5). The object (3) is positioned and arranged at a predetermined imaging position (6).

【0052】[0052]

【実施例】次に実施例を示し、本発明を詳細に説明する
が、本発明は以下の実施例に限定されるものではない。 (実施例1) (1)構成 (1−1)物品 図4は本発明の実施例において検査対象とする包装容器
の、不良品の一例の説明図で、図4Aは容器の外観斜視
図、図4Bは平面図、図4Cは正面図である。容器は、
カップ24(透明プラスチック製)、蓋25(アルミ箔
製)、内容物(図示せず。例えばコーヒーゼリー)より
なる。カップ24の開口部24aの外側にフランジ部2
6を備えている。フランジ部26の外周と蓋25の外周
とは略々同一直径である。容器は、カップ24内部に内
容物が充填された後、カップ24の上に蓋25が戴置さ
れ、フランジ部26でヒートシールにより密封される。
この際、通常の良品は、フランジ部26の外周と蓋25
がずれることなく、略々同一円周上に重合してシールさ
れているが、図4に示すものは、カップ24と蓋25と
がずれてシールされ、内容物が外気と導通している不良
品である。
The present invention will now be described in detail with reference to examples, but the present invention is not limited to the following examples. (Example 1) (1) Configuration (1-1) Article FIG. 4 is an explanatory view of an example of a defective product of a packaging container to be inspected in the embodiment of the present invention, and FIG. 4A is an external perspective view of the container. 4B is a plan view and FIG. 4C is a front view. The container is
It comprises a cup 24 (made of transparent plastic), a lid 25 (made of aluminum foil), and contents (not shown; for example, coffee jelly). The flange portion 2 is provided outside the opening 24a of the cup 24.
6 is provided. The outer circumference of the flange portion 26 and the outer circumference of the lid 25 have substantially the same diameter. After the contents of the container are filled in the cup 24, the lid 25 is placed on the cup 24 and the flange portion 26 seals the container by heat sealing.
At this time, the normal good products are the outer periphery of the flange portion 26 and the lid 25.
Although it does not shift, it is superposed and sealed on substantially the same circumference, but in the one shown in FIG. 4, the cup 24 and the lid 25 are shifted and sealed, and the contents are in conduction with the outside air. It is a good product.

【0053】(1−2)位置決め装置 図3は本発明の一実施例の位置決め装置を示す概略平面
図である。本位置決め装置は、台座17(日本自動機器
工業製、特注品)、スターホイール18(硬質ガラス
製、外径φ570mm)、ガイド15(日本自動機器工業
製、特注品)、及びエアーノズル14(φ6mmエアチュ
ーブ、自作品)を備えている。台座17には容器を搬入
する搬入べルトコンべアー22(ワイオープラント株式
会社製、TTUP−826)及び検査後の容器を搬出す
る搬出ベルトコンベアー23(ワイオープラント株式会
社製、TTUP−826)が設置されている。台座17
の上面、搬入ベルトコンべアー22及び搬出ベルトコン
べアー23のべルト面は、全て同一の高さであり、か
つ、台座17の二箇所には切り欠き部17a及び17bが
あり、ここで搬入ベルトコンベアー22の末端及び搬出
ベルトコンべアー23の先端が各々台座17に突出して
いるため、搬入べルトコンベアー22、台座17、及び
搬出べルトコンベアー23の上を容器が、順次水平移動
できる。
(1-2) Positioning Device FIG. 3 is a schematic plan view showing a positioning device according to an embodiment of the present invention. This positioning device includes a pedestal 17 (manufactured by Japan Automatic Equipment Industry, custom-made product), a star wheel 18 (made of hard glass, outer diameter φ570 mm), a guide 15 (manufactured by Japan Automatic Equipment Industry, custom-made product), and an air nozzle 14 (φ6 mm). Air tube, own work). A carry-in belt conveyor 22 (manufactured by Wyoplant Co., Ltd., TTUP-826) for carrying a container into the pedestal 17, and a carry-out belt conveyor 23 (manufactured by Wyoplant Co., Ltd., TTUP-826) for carrying out the container after the inspection. Is installed. Pedestal 17
The upper surface of the conveyor belt, the belt surface of the carry-in belt conveyor 22 and the belt surface of the carry-out belt conveyor 23 are all at the same height, and two notches 17a and 17b are provided on the pedestal 17, where the carry-in belt conveyor is provided. Since the end of the conveyor 22 and the tip of the carry-out belt conveyor 23 project to the pedestal 17, the containers can sequentially move horizontally on the carry-in belt conveyor 22, the pedestal 17, and the carry-out belt conveyor 23.

【0054】台座17の上にはスターホイール18が設
置されるが、スターホイール18の中心軸21は台座1
7を貫通しており、台座17の下側に固設された回転手
段(図示せず。モーター、NSK社製、M−RS060
8FN001、MC13C)に接続されているため、ス
ターホイール18は前記回転手段によって回転する。ス
ターホイール18の外周縁18aの近傍にガイド15
が、外周縁18aと一定のクリアランスをもった状態で
台座17の上に配設される。台座17における容器の通
路の一部では、台座17が円形にくりぬかれ透明部材が
貫入され、複合光照射領域20が形成される。前記複合
光照射領域20の位置には、エアーノズル14が設置さ
れる。位置センサー(オムロン社製、E32−T12
L)は、光センサー13及び発光素子16及びアンプユ
ニット13aから構成されている。エアーノズル14は
スターホイール18の下側で、かつエアーを吹き出す口
がガイド15に向く方向で設置され、発光素子16はス
ターホイール18の上側で、かつ容器5の高さよりも低
い高さで設置される。
The star wheel 18 is installed on the pedestal 17, and the central axis 21 of the star wheel 18 is the pedestal 1.
Rotating means (not shown. Motor, NSK, M-RS060, which penetrates 7 and is fixed to the lower side of the pedestal 17.
8FN001, MC13C), the star wheel 18 is rotated by the rotating means. The guide 15 is provided near the outer peripheral edge 18a of the star wheel 18.
Is disposed on the pedestal 17 with a certain clearance from the outer peripheral edge 18a. In a part of the passage of the container in the pedestal 17, the pedestal 17 is hollowed out and a transparent member is penetrated to form a composite light irradiation region 20. An air nozzle 14 is installed at the position of the composite light irradiation area 20. Position sensor (Omron, E32-T12
L) includes an optical sensor 13, a light emitting element 16 and an amplifier unit 13a. The air nozzle 14 is installed below the star wheel 18 and the outlet of the air is directed toward the guide 15. The light emitting element 16 is installed above the star wheel 18 and at a height lower than the height of the container 5. To be done.

【0055】(1−3)検出機器 図2は本発明の一実施例の検出部を示す拡大断面図であ
る。図2は、図3の位置決め装置の複合光照射領域20
の周辺の拡大断面図も兼ねている。図2において、矢印
Xはスターホイール18の中心方向を示す。スターホイ
ール18の上側で、かつ容器の高さよりも低い位置に発
光発子16が設置されており、発光素子16の同一光軸
上に光センサー13が対向設置され、容器が通過する際
に光軸を遮る形態とする。発光素子16及び光センサー
13はアンプユニット13aに結線されており、アンプ
ユニット13aの出力線は、コンピュータ10(オムロ
ン社製、C40P)に結線される。
(1-3) Detecting Device FIG. 2 is an enlarged cross-sectional view showing the detecting portion of one embodiment of the present invention. FIG. 2 shows a composite light irradiation area 20 of the positioning device of FIG.
Also serves as an enlarged cross-sectional view of the surrounding area. In FIG. 2, the arrow X indicates the center direction of the star wheel 18. The light emitting element 16 is installed above the star wheel 18 and at a position lower than the height of the container, and the optical sensor 13 is installed oppositely on the same optical axis of the light emitting element 16 so that light is emitted when the container passes. The shaft is blocked. The light emitting element 16 and the optical sensor 13 are connected to the amplifier unit 13a, and the output line of the amplifier unit 13a is connected to the computer 10 (C40P manufactured by OMRON Corporation).

【0056】エアーノズル14は、空気供給管(図示せ
ず)を介して空気供給源(図示せず)と接続されてお
り、空気が供給される。また、エアーノズル14は、空
気噴出のオンオフを指令する入力信号を入力するために
コンピュータ10と電気的に結線されている。複合光照
射領域20の下側には、複合光光源1(HAYASI
製、LGB1−83000−R65)が設置されてお
り、複合光照射領域20の上側には、ビデオカラーカメ
ラ2(ソニー製、E32−T12L)が設置されてい
る。ビデオカラーカメラ2は画像処理装置9(オムロン
製、3Z4C−C1)と結線され、画像処理装置9の入
力端子はコンピュータ10の出力端子と結線される。画
像処理装置9はモニタテレビ12を備えている。
The air nozzle 14 is connected to an air supply source (not shown) via an air supply pipe (not shown) and is supplied with air. Further, the air nozzle 14 is electrically connected to the computer 10 for inputting an input signal for instructing on / off of air ejection. Below the composite light irradiation area 20, the composite light source 1 (HAYASI
Manufactured by Sony, LGB1-83000-R65) is installed, and the video color camera 2 (manufactured by Sony, E32-T12L) is installed above the composite light irradiation area 20. The video color camera 2 is connected to an image processing device 9 (manufactured by OMRON, 3Z4C-C1), and an input terminal of the image processing device 9 is connected to an output terminal of the computer 10. The image processing device 9 includes a monitor television 12.

【0057】(2)(実施例1の作用) 実施例1の作用を説明する。容器5が搬入ベルトコンベ
アー22により位置決め装置に搬入される。容器はスタ
ーホイール18の切欠部19に嵌入され、スターホイー
ル18の回転に追動して台座17の上を周回する。スタ
ーホイール18の外縁18aとガイド15とのクリアラ
ンスが容器の外径よりも狭いため、容器はスターホイー
ル18の切欠部19とガイド15との間隙に保持された
まま移送される。容器が、複合光照射領域20を通過す
る際、発光素子16が投光する光を遮蔽し、これにより
光センサー13が容器の存在を検出してアンプユニット
13aが位置検出信号を出力する。位置検出信号は、コ
ンピュータ10に入力される。コンピュータ10は、位
置検出信号に応じてエアーノズル14にオン信号を出力
し、また、画像処理装置9に作動信号を出力する。これ
によりエアーノズル14は空気を噴出し、この空気によ
り容器5はガイド15に押し付けられる。また、画像処
理装置9は、コンピュータ10からの作動信号に応じ
て、ビデオカラーカメラ2のシャッターをきり容器の静
止画像を取り込む。
(2) (Operation of Embodiment 1) The operation of Embodiment 1 will be described. The container 5 is carried into the positioning device by the carry-in belt conveyor 22. The container is fitted into the notch 19 of the star wheel 18 and follows the rotation of the star wheel 18 to orbit the pedestal 17. Since the clearance between the outer edge 18a of the star wheel 18 and the guide 15 is narrower than the outer diameter of the container, the container is transferred while being held in the gap between the notch 19 of the star wheel 18 and the guide 15. When the container passes through the composite light irradiation area 20, the light emitted from the light emitting element 16 is blocked, whereby the optical sensor 13 detects the presence of the container and the amplifier unit 13a outputs a position detection signal. The position detection signal is input to the computer 10. The computer 10 outputs an ON signal to the air nozzle 14 according to the position detection signal, and also outputs an operation signal to the image processing device 9. As a result, the air nozzle 14 ejects air, and the container 5 is pressed against the guide 15 by this air. Further, the image processing device 9 opens the shutter of the video color camera 2 and captures a still image of the container in response to an operation signal from the computer 10.

【0058】本実施例では、画像処理装置9は、前記容
器5を撮像したときの前記ビデオカラーカメラ2の受光
領域の中で所定の領域を検査領域に設定し、前記検査領
域から受光した光の光量が所定の範囲に含まれる領域の
面積を検出する目標面積検出手段としての機能を有して
いる。この画像処理装置は、取り込んだ画像を以下の手
順で処理する。ビデオカラーカメラ2からの入力画像
は、画像処理装置9において波長成分及び光量に応じて
予め定めた基準に基づいて多段階デジタル信号に変換さ
れる。図5は、本発明の一実施例の画像の説明図で、図
5Aはカップ24及び蓋25の2物体が位置ずれの無い
重畳状態でビデオカラーカメラ2で撮像された画像を示
し、図5Bは図4に示す状態(位置ずれの有る状態)の
カップ24及び蓋25をビデオカラーカメラ2に取り込
んだ入力画像を示している。又、図5Cは本実施例の別
な態様を示す図である。この実施例ではカップ24は常
に所定の撮像位置で撮像される。また、カップ(第1の
物体)24と蓋(第2の物体)25とはそれらの重畳状
態にずれがなければ、外形は重なり合い、蓋(第2の物
体)25も常に所定の位置で撮像される。前記重畳状態
にずれの無いときに配置される蓋(第2の物体)25の
外周縁の位置を境界線としてその内側の所定幅のリング
状の部分(即ち、前記フランジ部26が存在する部分)
を検査領域28に設定する。
In this embodiment, the image processing apparatus 9 sets a predetermined area in the light receiving area of the video color camera 2 when the container 5 is imaged as an inspection area, and the light received from the inspection area is set. It has a function as a target area detecting means for detecting the area of a region in which the amount of light is included in a predetermined range. This image processing device processes the captured image in the following procedure. The input image from the video color camera 2 is converted into a multi-stage digital signal in the image processing device 9 based on a predetermined reference according to the wavelength component and the light amount. FIG. 5 is an explanatory diagram of an image according to an embodiment of the present invention, and FIG. 5A shows an image captured by the video color camera 2 in a state in which the two objects of the cup 24 and the lid 25 are superposed with no positional deviation, and FIG. 4 shows an input image in which the cup 24 and the lid 25 in the state shown in FIG. FIG. 5C is a diagram showing another aspect of this embodiment. In this embodiment, the cup 24 is always imaged at a predetermined imaging position. Further, if the cup (first object) 24 and the lid (second object) 25 do not deviate in their overlapping state, the outer shapes overlap each other, and the lid (second object) 25 is always imaged at a predetermined position. To be done. A ring-shaped portion having a predetermined width inside the lid (second object) 25, which is arranged when there is no deviation in the overlapping state, as a boundary line (that is, a portion where the flange portion 26 exists). )
Are set in the inspection area 28.

【0059】そうすると、前記ビデオカラーカメラ2の
前記検査領域を撮像する画素は定まる。即ち、ビデオカ
ラーカメラ2の所定の画素は常に前記検査領域28(即
ち、前記フランジが配置される部分)からの光を検出す
る。前記、所定の画素を特定するために先ず最初に、カ
ップ(第1の物体)24と蓋(第2の物体)25とが位
置ずれ無く重畳された物品を撮像位置に配置して、ビデ
オカラーカメラ2で前記物品の透過光パターンを撮像す
る(図5A参照)。
Then, the pixels for picking up the inspection area of the video color camera 2 are determined. That is, a predetermined pixel of the video color camera 2 always detects the light from the inspection area 28 (that is, the portion where the flange is arranged). In order to specify the predetermined pixel, first, an article in which the cup (first object) 24 and the lid (second object) 25 are superposed without displacement is placed at the image pickup position, and the video color is displayed. The camera 2 images the transmitted light pattern of the article (see FIG. 5A).

【0060】このとき、前記検査領域28からは、前記
フランジ26及びそれに重なった蓋25の両方を透過し
た光がビデオカラーカメラ2に入射する。この検査領域
28からのビデオカラーカメラ2への入射光の光量は、
その他の部分と異なる所定の範囲にある。また、前記検
査領域28からの光を検出するビデオカラーカメラ2の
画素(即ち、検査領域検出画素)は定まっている。前記
検査領域検出画素は、前記2物体24,25位置ずれし
ていない重畳状態での前記検査領域28からの受光量が
他の部分と異なるので、他の画素と区別して特定するこ
とが可能である。
At this time, from the inspection area 28, the light transmitted through both the flange 26 and the lid 25 that overlaps with the flange 26 enters the video color camera 2. The amount of light incident on the video color camera 2 from the inspection area 28 is
It is in a predetermined range different from other parts. Further, the pixels of the video color camera 2 for detecting the light from the inspection area 28 (that is, the inspection area detection pixels) are fixed. Since the amount of light received from the inspection region 28 in the superposed state in which the positions of the two objects 24 and 25 are not displaced is different from that of other portions, the inspection region detection pixels can be specified separately from other pixels. is there.

【0061】前記検査領域検出画素の特定は例えば次の
ようにして行うことが可能である。モニター画面上でマ
ウスを用いて、前記検査領域28の外周縁及び内周縁に
重なる円を描き、それらの円に囲まれた円環状の領域
(検査領域28に重なる領域)を表示する画素を検査領
域検出画素として定める。そして、前記検査領域検出画
素のデータ記憶メモリのアドレスを記憶しておく。
The inspection area detection pixels can be specified as follows, for example. Using a mouse on the monitor screen, draw a circle that overlaps the outer peripheral edge and the inner peripheral edge of the inspection area 28, and inspect the pixels that display the annular area (the area that overlaps the inspection area 28) surrounded by these circles. It is defined as a region detection pixel. Then, the address of the data storage memory of the inspection area detection pixel is stored.

【0062】なお、前記検査領域検出画素の特定は例え
ば次のようにして行うことも可能である。モニタ画面上
でカーソルで前記検査領域28内の任意の位置を指定し
て、その部分の表示データを記憶しているメモリから
R,B,Gの階調データを読出し、その階調データをモ
ニタ画面に表示する。前記読出したR,B,Gの階調デ
ータが例えば、R=R1(R1=0〜31)、B=B1
(B1=0〜31)、G=G1(G1=0〜31)であっ
たとする。この場合に、R、B,Gの各階調データR
1,B1,G1,に対する上下の閾値を例えば±4とし
て、R1−4≦R≦R1+4、B1−4≦B≦B1+4、G
1−4≦G≦G1+4、の閾値内のデータが記憶されてい
る画素を前記検査領域検出画素と定めることができる。
なおこの場合、前記R、B,Gの各階調データに対する
上下の閾値は、前記検査領域28内の1個の画素だけで
なく、複数の画素の階調データを読出して定めることが
好ましい。
The inspection area detection pixels can be specified in the following manner, for example. An arbitrary position in the inspection area 28 is designated with a cursor on the monitor screen, R, B, and G gradation data are read from a memory storing display data of that portion, and the gradation data is monitored. Display on screen. The read gradation data of R, B, and G is, for example, R = R1 (R1 = 0 to 31), B = B1
(B1 = 0 to 31) and G = G1 (G1 = 0 to 31). In this case, R, B, and G gradation data R
The upper and lower thresholds for 1, B1 and G1, for example, are ± 4, and R1-4≤R≤R1 + 4, B1-4≤B≤B1 + 4, G
Pixels in which data within the threshold value of 1−4 ≦ G ≦ G1 + 4 are stored can be defined as the inspection area detection pixels.
In this case, it is preferable that the upper and lower thresholds for the R, B, and G gradation data are determined by reading the gradation data of not only one pixel in the inspection region 28 but also a plurality of pixels.

【0063】なおまた、例えばR1−4≦R≦R1+4、
B1−4≦B≦B1+4、G1−4≦G≦G1+4のデータ
が記憶されている画素にR=31、B=31、G=31
の階調データを付与するとともに、他の画素にR=0、
B=0、G=0を付与し、そのデータに基づいてモニタ
画面に画像を表示すれば、画面上に白、黒の2値表示が
行われる。その画面を見ながら、前記閾値を調整して、
前記図5Aに示すリング状の検査領域28が白く、他の
領域が黒く表示されるように、閾値を調節することも可
能である。前述のようにして調節した閾値内に属するデ
ータが記憶されている画素を検査領域検出画素と定める
こともできる。
Further, for example, R1-4≤R≤R1 + 4,
R = 31, B = 31, G = 31 in the pixels storing the data of B1-4 ≦ B ≦ B1 + 4 and G1-4 ≦ G ≦ G1 + 4
Gradation data of R, 0 to other pixels,
If B = 0 and G = 0 are given and an image is displayed on the monitor screen based on the data, binary display of white and black is performed on the screen. While watching the screen, adjust the threshold,
It is also possible to adjust the threshold value so that the ring-shaped inspection area 28 shown in FIG. 5A is displayed white and the other areas are displayed black. Pixels in which the data belonging to the threshold value adjusted as described above are stored can be defined as inspection area detection pixels.

【0064】前記検査領域検出画素が定まった場合、そ
れらの画素のデータが記憶されたアドレスをアドレス記
憶テーブルに記憶しておけば、物品5を前記ビデオカラ
ーカメラ2で撮像したときの前記検査領域検出画素に記
憶されたデータのみを読出すことが可能である。
When the inspection area detection pixels are determined, if the addresses storing the data of these pixels are stored in the address storage table, the inspection area when the article 5 is imaged by the video color camera 2 is stored. It is possible to read only the data stored in the detection pixel.

【0065】図5A,5Bから分かるように、前記検査
領域28からの光を受光する検査領域検出画素は、図5
Aの状態ではカップ(第1の物体)24及び蓋(第2の
物体)25の両方を透過した光を検出する。ところが前
記検出領域検出画素は、図5Bの状態ではカップ24を
のみを透過した光を受光する画素と、カップ24及び蓋
25の両方を透過した光を受光する画素とに別れる。そ
して、前記カップ24と蓋25とのずれ量が大きくなる
と、前記検出領域検出画素のうち、カップ24のみを透
過した光を受光する画素の数が増加し、カップ24及び
蓋25の両方を透過した光を受光する画素の数が減少す
る。
As can be seen from FIGS. 5A and 5B, the inspection area detection pixel which receives the light from the inspection area 28 is
In the state A, the light transmitted through both the cup (first object) 24 and the lid (second object) 25 is detected. However, in the state of FIG. 5B, the detection area detection pixel is divided into a pixel that receives light that has passed through only the cup 24 and a pixel that receives light that has passed through both the cup 24 and the lid 25. When the amount of displacement between the cup 24 and the lid 25 increases, the number of pixels that receive the light transmitted through only the cup 24 among the detection area detection pixels increases, and the pixels that transmit both the cup 24 and the lid 25. The number of pixels that receive the emitted light is reduced.

【0066】したがって、カップ(第1の物体)24と
蓋(第2の物体)25とのずれ量は、カップ24のみを
透過した光を受光する画素の数、又は、カップ24及び
蓋25の両方を透過した光を受光する画素の数のどちら
によっても検出することができる。すなわち、前記検査
領域28の中のカップ24のみが存在する領域、又はカ
ップ24及び蓋25が重なって存在する領域のどちらの
領域の面積からでも、2物体24,25のずれ量を検出
することができる。以後、前記検査領域の中の2つの領
域のうちの実際に検出する領域を目的領域ということに
する。そして、目的領域からの光を受光する画素を目的
画素ということにする。
Therefore, the amount of deviation between the cup (first object) 24 and the lid (second object) 25 is determined by the number of pixels that receive the light transmitted through only the cup 24 or the cup 24 and the lid 25. It can be detected by either of the number of pixels that receive the light transmitted through both. That is, the shift amount between the two objects 24 and 25 can be detected from the area of either the region where only the cup 24 exists in the inspection region 28 or the region where the cup 24 and the lid 25 overlap. You can Hereinafter, of the two areas in the inspection area, the area to be actually detected will be referred to as a target area. A pixel that receives light from the target area is called a target pixel.

【0067】前記目的画素の特定は例えば次のようにし
て行うことが可能である。カップ24と蓋25とを最大
許容ずれ量だけ位置ずれさせた物品を前記ビデオカラー
カメラ2の各画素で撮像する。撮像した画像の光量を
R,B,Gの各波長毎に0〜31階調のデジタル階調デ
ータに変換して画像メモリに記憶させる。前記画像メモ
リに記憶させたデータを読出して撮像画像をモニター画
面に表示する。モニター画面では、前記検査領域28内
の前記フランジ部26のみを透過した光の領域を目的領
域26aとし、この目的領域26aの位置をカーソルで指
定して、その部分の表示データを記憶しているメモリか
らR,B,Gの階調データを読出し、モニター画面に表
示する。
The target pixel can be specified in the following manner, for example. Each pixel of the video color camera 2 captures an image of the article in which the cup 24 and the lid 25 are displaced by the maximum allowable displacement amount. The light amount of the captured image is converted into digital gradation data of 0 to 31 gradations for each wavelength of R, B, and G and stored in the image memory. The data stored in the image memory is read and the captured image is displayed on the monitor screen. On the monitor screen, a region of light that has passed through only the flange portion 26 in the inspection region 28 is set as a target region 26a, the position of the target region 26a is designated by a cursor, and display data of the portion is stored. The gradation data of R, B, G are read from the memory and displayed on the monitor screen.

【0068】前記読出したR,B,Gの階調データが例
えば、R=23、B=25、G=27であったとする。
この場合に、R、B,Gの各階調データに対する上下の
閾値を例えば15≦R≦31、17≦B≦31、17≦
G≦31のように定め、その閾値内のデータが記憶され
ている画素を前記目的画素と定めることができる。な
お、前記R、B,Gの各階調データに対する上下の閾値
は、前記目的領域26a内の1個の画素だけでなく、複
数の画素の階調データを読出して定めることが好まし
い。
It is assumed that the read gradation data of R, B, and G are, for example, R = 23, B = 25, and G = 27.
In this case, upper and lower thresholds for the R, B, and G gradation data are set to, for example, 15 ≦ R ≦ 31, 17 ≦ B ≦ 31, 17 ≦.
It is possible to define the pixel as G ≦ 31 and to define the pixel in which the data within the threshold value is stored as the target pixel. The upper and lower thresholds for the R, B, and G gradation data are preferably determined by reading the gradation data of a plurality of pixels, not just one pixel in the target area 26a.

【0069】なおまた、例えば15≦R≦31、17≦
B≦31、17≦G≦31のデータが記憶されている画
素にR=31、B=31、G=31の階調データを付与
するとともに、他の画素にR=0、B=0、G=0を付
与し、そのデータに基づいてモニタ画面に画像を表示す
れば、画面上に白、黒の2値表示が行われる。その画面
を見ながら、前記閾値を調整して、前記図5Bに示すリ
ング状の検査領域28の中の目的領域26aが白く、他
の領域が黒く表示されるように、閾値を調節することも
可能である。前述のようにして定めた閾値内に属するデ
ータが記憶されている画素を目的画素と定めることもで
きる。前記目的画素は、前述した画像処理の手順により
抽出して特定することができ、容易にウウントすること
ができる。
Further, for example, 15 ≦ R ≦ 31, 17 ≦
Gradation data of R = 31, B = 31, G = 31 is given to a pixel in which data of B ≦ 31, 17 ≦ G ≦ 31 is stored, and R = 0, B = 0, If G = 0 is given and an image is displayed on the monitor screen based on the data, binary display of white and black is performed on the screen. While watching the screen, the threshold value may be adjusted so that the target area 26a in the ring-shaped inspection area 28 shown in FIG. 5B is displayed in white and the other areas are displayed in black. It is possible. The pixel in which the data belonging to the threshold determined as described above is stored can be determined as the target pixel. The target pixel can be extracted and specified by the above-described image processing procedure, and can be easily hung.

【0070】前述のようにして得られる次の3種のデー
タをメモリに記憶しておく。 (a)設定した検査領域検出画素のアドレス (b)2物体24、25の重畳状態に位置ずれがある場
合の前記目的画素が受光する光量の範囲を定める閾値
(前記R,B,Gの階調データに対する閾値) (c)目的とする画素の画素数について容器が不良品か
否かを判別する基準となる所定値 これらのデータは、複数の容器5の連続検査に先立っ
て、2物体の重畳状態にずれがある物品のサンプルを用
いて予め取得しておく。
The following three types of data obtained as described above are stored in the memory. (A) Address of the set inspection area detection pixel (b) Threshold value (R, B, G floor) that defines the range of the amount of light received by the target pixel when the overlapping state of the two objects 24, 25 is misaligned (Criterion threshold for tone data) (c) Predetermined values that serve as a reference for determining whether or not the container is defective with respect to the number of target pixels. These data are for two objects prior to continuous inspection of a plurality of containers 5. It is acquired in advance by using a sample of an article having a deviation in the overlapping state.

【0071】前述したように、ビデオカラーカメラ2の
撮像画像が、図5Bに示す場合、検出の目的領域を、カ
ップ24のフランジ部26において蓋25が重なってい
ない部分、即ち図5Bにおける26aの領域とする。こ
の目的領域26aからの光を受光した前記検査領域検出
画素(即ち、目的画素)には、前記閾値の範囲内の階調
データが記憶されることとなる。この閾値の範囲内の階
調データを記憶した検査領域検出画素の数(目的画素の
数)は容易にカウントすることができる。そのカウント
値が所定値以上の場合は異常信号を出力する。
As described above, when the image picked up by the video color camera 2 is shown in FIG. 5B, the target area for detection is the portion of the flange portion 26 of the cup 24 where the lid 25 does not overlap, that is, 26a in FIG. 5B. The area. In the inspection area detection pixel (that is, the target pixel) that receives the light from the target area 26a, the gradation data within the threshold range is stored. The number of inspection area detection pixels (the number of target pixels) that store the grayscale data within the threshold range can be easily counted. If the count value is greater than or equal to the predetermined value, an abnormal signal is output.

【0072】本実施例の容器においては、カップ24が
透明プラスチック製であり、かつフランジ26の厚さが
薄いため、フランジ部26が照射光をよく透過する。従
って、目的領域26aの透過光と背景光が極めて近似し
ており、目的領域26aと背景との境界を識別すること
が困難で、従来の方法では目的領域26aの面積を検出
することができない。しかし、前述したように本実施例
では、容器を所定の撮像位置に位置決めするため、容器
の像はウインドウ(表示画面)27内の常に特定の位置
に存在する。従って、画像処理にあたっては、予め検査
領域を限定することができる。このため、前述のよう
に、検査領域28の内部における前記目的領域26aの
面積を求めることができるのである。
In the container of this embodiment, since the cup 24 is made of transparent plastic and the flange 26 has a small thickness, the flange portion 26 transmits the irradiation light well. Therefore, the transmitted light of the target area 26a and the background light are very close to each other, it is difficult to identify the boundary between the target area 26a and the background, and the area of the target area 26a cannot be detected by the conventional method. However, as described above, in this embodiment, since the container is positioned at the predetermined image pickup position, the image of the container always exists at a specific position within the window (display screen) 27. Therefore, in the image processing, the inspection area can be limited in advance. Therefore, as described above, the area of the target region 26a inside the inspection region 28 can be obtained.

【0073】(3)実施例1の効果 以上の実施例1は、次に記載する効果を有する。 (3−1)画像中のフランジ部26に相当する環状領域
を検査領域28としたことによって、フランジ部26を
透過した透過光とフランジ部26の周囲を透過した背景
光とを、敢えて波長成分と光量によって識別する必要が
なく、フランジ部26の厚さが極度に薄い容器、フラン
ジ部26が無色透明である容器等であっても精度良く検
査することができる。又、蓋の大きさや形状等の影響を
受けることがない。 (3−2)位置決め装置においては、容器5をガイド1
5に圧接する方式をとっているため、容器5は切欠部1
9よりも小さければどのようなものでも使用できる。従
って、容器の大きさ、種類等を変更しても、スターホイ
ール18を交換する必要がなく、一台で多くの品種に対
応できる。 (3−3)スターホイール18の材質が硬質ガラスであ
るため、光学的処理を妨げることがない。 (3−4)位置決め装置は、回転式であり、容器5を停
止することなく連続的に検査できる。従って、処理速度
が大きく、検査効率が良い。図3の装置は10000個
/時の能力を有している。 (3−5)位置決め装置の押圧手段は接触式でも良い
が、気体の噴射を利用した非接触式を採用したため、処
理速度が大きく、物品の光学的処理を妨げることもな
い。
(3) Effects of Embodiment 1 The above-described Embodiment 1 has the effects described below. (3-1) By setting the annular area corresponding to the flange portion 26 in the image as the inspection area 28, the transmitted light transmitted through the flange portion 26 and the background light transmitted around the flange portion 26 are intentionally wavelength components. Therefore, it is possible to accurately inspect even a container in which the flange portion 26 has an extremely thin thickness, a container in which the flange portion 26 is colorless and transparent, or the like. Further, the size and shape of the lid are not affected. (3-2) In the positioning device, the container 5 is guided by the guide 1
The container 5 has a cutout 1 because it is pressed against the container 5.
Anything smaller than 9 can be used. Therefore, even if the size, type, etc. of the container are changed, it is not necessary to replace the star wheel 18, and one unit can handle many types. (3-3) Since the material of the star wheel 18 is hard glass, it does not interfere with optical processing. (3-4) The positioning device is a rotary type and can continuously inspect without stopping the container 5. Therefore, the processing speed is high and the inspection efficiency is good. The device of FIG. 3 has a capacity of 10,000 pieces / hour. (3-5) The pressing unit of the positioning device may be a contact type, but since a non-contact type utilizing gas injection is adopted, the processing speed is high and the optical processing of the article is not hindered.

【0074】(実施例2)次に本発明の実施例2を説明
する。 (1)構成 (1−1)対象物品 実施例1と同様である。(1−2)位置決め装置 図6は本発明の他の実施例の位置決め装置を示す概略平
面図である。図6において、実施例1と共通する要素に
は実施例1と同一の符号を付してあり、その場合の各機
器の仕様は実施例1と同一である。容器を搬入する搬入
ベルトコンベアー22の末端に、角状の複合光照射領域
20が一辺を接する形で配置され、更に、容器を搬出す
る搬出ベルトコンベアー23の先端が他辺に配置され
る。搬入ベルトコンべアー22、複合光照射領域20、
及び搬出ベルトコンベアー23の上面の高さは同一であ
る。搬入ベルトコンベアー22の上にガイド15aが設
置されるが、ガイド15aの長手方向が搬入ベルトコン
ベアー22のべルト進行方向に対して垂直になる向き
に、かつベルトの上面から微少なクリアランスをとった
高さで設置される。ガイド15aの近傍には、位置セン
サーとしての発光素子16及び光センサー13が対向配
備される。ガイド15aと並行に、一対の押圧手段14
a、14b(エアーシリンダー、SMC社製、CJ2L1
6)が物品5を挟んで各々対向配置され、複合光照射領
域20上の容器5を搬出ベルトコンべアー23に押し出
すために、押圧手段14c(エアーシリンダー、SMC
社製、CJ2L16)が搬出ベルトコンべアー23の反
対側に配置される。一対の押圧手段14a、14b及び押
圧手段14cはコンピュータ10と結線される。
(Second Embodiment) Next, a second embodiment of the present invention will be described. (1) Configuration (1-1) Target article The same as in Example 1. (1-2) Positioning Device FIG. 6 is a schematic plan view showing a positioning device according to another embodiment of the present invention. In FIG. 6, elements common to those of the first embodiment are denoted by the same reference numerals as those of the first embodiment, and the specifications of each device in that case are the same as those of the first embodiment. At the end of the carry-in belt conveyor 22 for carrying in the container, an angular composite light irradiation region 20 is arranged so that one side is in contact, and further, the tip of the carry-out belt conveyor 23 for carrying out the container is arranged at the other side. Carry-in belt conveyor 22, composite light irradiation area 20,
The height of the upper surface of the carry-out belt conveyor 23 is the same. The guide 15a is installed on the carry-in belt conveyor 22, but the longitudinal direction of the guide 15a is perpendicular to the belt traveling direction of the carry-in belt conveyor 22 and a slight clearance is taken from the upper surface of the belt. It is installed at a height. In the vicinity of the guide 15a, a light emitting element 16 as a position sensor and an optical sensor 13 are arranged so as to face each other. A pair of pressing means 14 is provided in parallel with the guide 15a.
a, 14b (air cylinder, SMC, CJ2L1
6) are arranged to face each other with the article 5 in between, and in order to push out the container 5 on the composite light irradiation area 20 to the carry-out belt conveyor 23, the pressing means 14c (air cylinder, SMC
CJ2L16) manufactured by the same company is arranged on the opposite side of the carry-out belt conveyor 23. The pair of pressing means 14a, 14b and the pressing means 14c are connected to the computer 10.

【0075】(1−3)検出機器 図7は本発明の実施例2の検出機器の構成を示す説明図
である。図7において、実施例1と共通する要素には実
施例1と同一の符号を付してあり、その場合の各機器の
仕様は実施例1と同一である。複合光照射領域20上の
容器5を挟んで、複合光光源1及びビデオカラーカメラ
2が配設される。その他、構成及び機器仕様は実施例1
と同様である。
(1-3) Detecting Device FIG. 7 is an explanatory diagram showing the structure of the detecting device according to the second embodiment of the present invention. In FIG. 7, elements common to those of the first embodiment are denoted by the same reference numerals as those of the first embodiment, and the specifications of each device in that case are the same as those of the first embodiment. The composite light source 1 and the video color camera 2 are arranged so as to sandwich the container 5 on the composite light irradiation region 20. In addition, the configuration and the device specifications are the same as those of the first embodiment.
Is the same as.

【0076】(2)作用 搬入ベルトコンベアー22により容器5が搬入され、ガ
イド15aに当たって動きが止まる。容器5が発光素子
16からの光を遮断し、光センサー13が容器5を検出
してアンプユニット13aがコンピューター10に位置
検出信号を出力する。コンピューター10は一対の押圧
手段14a、14bを作勤させ、容器5が一対の押圧手段
14a、14bによって双方向から挟持される。容器5は
そのまま複合光照射領域20上に移動させられ、ここで
停止する。次いで、コンピューター10は画像処理装置
9に作動信号を出力し、容器5は画像処理装置9によっ
て撮像される。その後、容器5は一対の押圧手段14
a、14bより開放され、押圧手段14cによって搬出ベ
ルトコンべアー23に押し出され、搬出される。以後の
手順は実施例1と同様である。
(2) Action The container 5 is carried in by the carry-in belt conveyor 22, hits the guide 15a, and stops moving. The container 5 blocks light from the light emitting element 16, the optical sensor 13 detects the container 5, and the amplifier unit 13a outputs a position detection signal to the computer 10. The computer 10 causes the pair of pressing means 14a and 14b to work, and the container 5 is sandwiched by the pair of pressing means 14a and 14b in both directions. The container 5 is moved as it is onto the composite light irradiation region 20, and stopped there. Next, the computer 10 outputs an operation signal to the image processing device 9, and the container 5 is imaged by the image processing device 9. After that, the container 5 is pressed by the pair of pressing means 14
It is released from a and 14b, and is pushed out to the carry-out belt conveyor 23 by the pressing means 14c and carried out. The subsequent procedure is similar to that of the first embodiment.

【0077】試験例 前記実施例1の装置を用いて、実際の生産現場において
試験を行った。 (1)試験条件 以上の物品は、フランジ部の厚さが薄く、色も薄いた
め、先願技術を用いても充分な検査精度が得られなかっ
た物品である。
Test Example A test was conducted on an actual production site using the apparatus of the first embodiment. (1) Test conditions The above-mentioned articles are articles which cannot obtain sufficient inspection accuracy even when the prior application technique is used because the thickness of the flange portion is thin and the color is light.

【0078】 (1−2)試験条件 処理能力 10000個/時 目的画素の 光量及び波長組成 R 15〜31 B 17〜31 G 17〜31 検査領域(二重円) 直径画素280以上300以下 (環状部面積) 9100画素 不良品判別基準 1600画素以上を不良品と認定(1-2) Test conditions Processing capacity 10000 / hour Light quantity and wavelength composition of target pixel R 15-31 B 17-31 G 17-31 Inspection area (double circle) Diameter pixel 280 or more and 300 or less (annular Area) 9100 pixels Defective product discrimination standard 1600 pixels or more are identified as defective products

【0079】(1−3) 試験条件の設定法 重畳ずれ量がほぼ許容最大値と思われる状態のコーヒー
ゼリーの容器を複合光照射領域内の所定の撮像位置に置
き、ビデオカラーカメラの露出を適当な値に設定して撮
像し、モニターに表示した。表示された画像の中で、カ
ップの中心を中心点とする直径画素300の円がカップ
のフランジ部の外周縁に重なり、直径画素280の円が
カップのフランジ部の内周縁に重なっているため、この
二つの円で囲まれたを領域を検査領域に設定した。モニ
ター画面上の検査領域は、カップのみの部分及びカップ
と蓋とが重なっている部分の二種類に分けられ、前記カ
ップのみの部分が、前記カップと蓋とが重なっているよ
りも明るく映った。そこで前記カップのみの部分を目的
領域とした。
(1-3) Method of setting test conditions A container of coffee jelly whose superposition deviation amount is considered to be an allowable maximum value is placed at a predetermined image pickup position in the composite light irradiation area, and the video color camera is exposed. The image was taken with the appropriate value set and displayed on the monitor. In the displayed image, the circle of the diameter pixel 300 with the center of the cup as the center point overlaps the outer peripheral edge of the flange portion of the cup, and the circle of the diameter pixel 280 overlaps the inner peripheral edge of the flange portion of the cup. The area surrounded by these two circles was set as the inspection area. The inspection area on the monitor screen is divided into two types, that is, the cup-only portion and the cup-lid overlapping portion, and the cup-only portion appears brighter than the cup-lid overlapping portion. . Therefore, the portion of only the cup was set as the target area.

【0080】本画像処理装置は、抽出したい領域(即
ち、目的領域)をカーソルで指定すれば、当該領域の
R,B,Gの階調を自動的に認識し、当該領域を2値化
抽出するための概略の閾値範囲を算出する機能を有して
いる。また、前記概略の閾値範囲に基づいて画面全体を
2値化し、当該領域を他の領域から抽出して表示する機
能を有している。本試験例では、このようにして自動的
に算出された概略の閾値範囲は、各々10≦R≦31、
20≦B≦31、10≦G≦30だった。この閾値範囲
に基づく2値化画面においては、前記目的領域が略々白
色に表現されている。そこで前記目的領域が更に白色に
近づくように前記閾値の値をマニアル操作で微調節し
た。その結果、最終的に各々15≦R≦31、17≦B
≦31、17≦G≦31の設定で前記目的領域は白色に
なった。次に、抽出された目的領域の画素数をカウント
した。画素数は1800画素であったため、不良品を判
別するための所定値を、安全をみて1600画素とし、
目的領域の画素数が1600画素以上である容器を不良
品として識別する設定とした。また、容器が不良品であ
った場合は、全ての搬送装置及び位置決め装置が非常停
止する構成をとった。
This image processing apparatus, when the area to be extracted (that is, the target area) is designated by the cursor, automatically recognizes the R, B, and G gradations of the area and binarizes and extracts the area. It has a function of calculating a rough threshold value range. Further, it has a function of binarizing the entire screen based on the above-mentioned approximate threshold range and extracting and displaying the region from other regions. In this test example, the approximate threshold ranges automatically calculated in this way are 10 ≦ R ≦ 31,
20 ≦ B ≦ 31 and 10 ≦ G ≦ 30. In the binarized screen based on this threshold range, the target area is expressed in almost white. Therefore, the threshold value was finely adjusted by manual operation so that the target area became closer to white. As a result, finally, 15 ≦ R ≦ 31 and 17 ≦ B, respectively.
With the settings of ≦ 31 and 17 ≦ G ≦ 31, the target area became white. Next, the number of pixels in the extracted target area was counted. Since the number of pixels was 1800 pixels, the predetermined value for distinguishing defective products was set to 1600 pixels for safety,
The setting is such that a container in which the number of pixels in the target area is 1600 pixels or more is identified as a defective product. Further, when the container is defective, all the transporting devices and the positioning devices are configured to stop in an emergency.

【0081】(2)試験結果 良品4600個に不良品(人為的に蓋の位置をずらした
試料)3個の割合で人為的に混入し、これを連続的に検
査した結果、混入していた不良品3個を全部識別した。
またその際、良品を誤検出することは全くなかった。こ
の試験の結果から、先願技術が適用できない範囲にも本
発明が適用でき、かつ精度、安定性、処理能力において
も十分生産に使用できることが立証された。
(2) Test result: 4600 non-defective products were artificially mixed with 3 defective products (samples with artificially shifted lid positions), and as a result of continuous inspection, they were mixed. All three defective products were identified.
At that time, no non-defective product was erroneously detected. From the results of this test, it was proved that the present invention can be applied to the range to which the prior application technique cannot be applied, and can be sufficiently used for production in terms of accuracy, stability and processing capacity.

【0082】(変更例)以上、本発明の実施例及び試験
例を詳述したが、本発明は、前記実施例及び試験例に限
定されるものではなく、特許請求の範囲に記載された本
発明の要旨の範囲内で、種々の小設計変更を行うことが
できる。本発明の変更実施例を下記に例示する。
(Modifications) The examples and test examples of the present invention have been described in detail above. Various small design changes can be made within the scope of the invention. A modified embodiment of the present invention is illustrated below.

【0083】(H01) 例えば、前述の図5Bでは検査
領域を二重円の環状部分にしているが、外側の円の内部
全体を検査領域とすることも可能である。 (H02)検査領域28を第2の物体25の外周縁の外側
に設定する場合、検査領域を第2の物体25の外周縁の
外側の全領域としてしまうと、検査領域検出画素の数が
多くなる。この場合、前記検査領域検出画素を、モニタ
画面上でマウス又はカーソルで閉じた線図を描き、その
線図の内側の画像を表示する画像データを記憶する画素
に限定することが可能である。
(H01) For example, in FIG. 5B described above, the inspection area is the annular portion of the double circle, but the entire inside of the outer circle can be the inspection area. (H02) When the inspection area 28 is set outside the outer peripheral edge of the second object 25, if the inspection area is the entire area outside the outer peripheral edge of the second object 25, the number of inspection area detection pixels is large. Become. In this case, it is possible to limit the inspection area detection pixels to pixels for drawing a line drawing closed by a mouse or a cursor on the monitor screen and storing image data for displaying an image inside the line drawing.

【0084】(H03)これまでは主として第1の物体が
光が透過させる場合を想定して説明してきたが、第1の
物体(3、24)が光を透過させず、完全に遮蔽する場
合であっても本発明を適用することができる。例えば、
検査領域を前記境界線の外側に設定すれば、この検査領
域には第1の物体の透過光(8)は全く含まれず、第1
の物体の光学的性質に影響されることなく重畳状態のず
れを検出することができる。例えば、実施例及び試験例
では、カップ(第1の物体)24が透明な容器を対象と
していたが、カップ24が紙製である場合は、検査領域
28を異なる態様にする必要がある。図5Cは、検査領
域の設定の別な態様を示す図である。カップ24が紙製
であれば照射光を全て遮蔽するため、カップ24の内側
の検出光量、即ち、カップ24の外周縁に沿う境界線の
内側の検出光量は、2物体24、25の重畳状態のずれ
の有無に関わらず常に0となる。従って、検査領域は、
例えば以下のような態様で設定する。フランジ部26の
外周縁に沿う境界線と、その境界線の外側に適度の幅を
もって設定される円28aとによって囲まれた環状部分
を検査領域28′と設定する。そして、この検査領域2
8′においては、カップ24と蓋25とが重畳ずれした
場合、蓋25のうちカップ24からはみ出した部分26
a′が生じるので、そのはみ出した部分26a′を目的
領域とする。前記はみ出した部分26a′を抽出2値化
することにより、そのはみ出した部分26a′の面積、
即ち、カップ24と蓋25との重畳状態の位置ずれを検
出することができる。又、蓋25が光を遮蔽する材質
(例えば、アルミ箔等)である場合は、前記はみ出した
部分26a′における蓋25の透過光量は0となるの
で、同様に面積を求めることができ、重畳状態の位置ず
れ量を検出することができる。
(H03) Up to now, the description has been made mainly on the assumption that the first object transmits light, but when the first object (3, 24) does not transmit light and completely shields it. Even in this case, the present invention can be applied. For example,
If the inspection area is set outside the boundary line, the inspection area does not include the transmitted light (8) of the first object at all.
It is possible to detect the shift of the superposed state without being affected by the optical properties of the object. For example, in the example and the test example, the cup (first object) 24 is intended for a transparent container, but when the cup 24 is made of paper, the inspection region 28 needs to have a different mode. FIG. 5C is a diagram showing another mode of setting the inspection area. If the cup 24 is made of paper, all the irradiation light is blocked. Therefore, the detected light amount inside the cup 24, that is, the detected light amount inside the boundary line along the outer peripheral edge of the cup 24, is the overlapping state of the two objects 24 and 25. It is always 0 regardless of the presence or absence of deviation. Therefore, the inspection area is
For example, it is set in the following manner. An annular portion surrounded by a boundary line along the outer peripheral edge of the flange portion 26 and a circle 28a having an appropriate width outside the boundary line is set as an inspection area 28 '. And this inspection area 2
In 8 ′, when the cup 24 and the lid 25 are misaligned with each other, the portion 26 of the lid 25 protruding from the cup 24
Since a'is generated, the protruding portion 26a 'is set as the target area. By extracting and binarizing the protruding portion 26a ′, the area of the protruding portion 26a ′,
That is, it is possible to detect the positional deviation of the cup 24 and the lid 25 in the overlapping state. When the lid 25 is made of a material that shields light (for example, aluminum foil), the amount of light transmitted through the lid 25 at the protruding portion 26a 'is 0, and thus the area can be obtained in the same manner, and the overlap can be obtained. It is possible to detect the positional deviation amount of the state.

【0085】(H04)実施例1の位置決め装置の各構成
要素においては、各々の目的を達するものであればいか
なるものでも良いが、前記スターホイール18の材質は
透明部材であることが望ましく、実施例1に記載した材
質の他に透明硬質プラスチック等が挙げられる。又、切
欠部19の形状は、多角形その他いかなる形状であって
も良い。
(H04) Each constituent element of the positioning device of the first embodiment may be any one as long as it achieves its purpose, but it is desirable that the material of the star wheel 18 is a transparent member. In addition to the materials described in Example 1, transparent hard plastic and the like can be mentioned. Moreover, the shape of the notch 19 may be polygonal or any other shape.

【0086】[0086]

【発明の効果】前述の本発明の2物体の重畳状態の検出
方法および装置は、下記の効果を奏することができる。 (E01) 光透過率が非常に高くて光が透過したか否か
を検出することが困難な第1の物体と、光が透過したこ
と又は遮断されたことを検出することが可能な第2の物
体との重畳状態(のずれ)を検出することが可能であ
る。
The method and apparatus for detecting the superposed state of two objects of the present invention described above can achieve the following effects. (E01) The first object which has a very high light transmittance and which is difficult to detect whether or not the light is transmitted, and the second object which is capable of detecting that the light is transmitted or blocked It is possible to detect the superposition state (difference) with the object.

【図面の簡単な説明】[Brief description of drawings]

【図1】 図1は本発明の2物体の重畳状態の検出方法
および装置の説明図である。
FIG. 1 is an explanatory diagram of a method and apparatus for detecting a superposed state of two objects according to the present invention.

【図2】 図2は本発明の2物体の重畳状態の検出装置
の実施例1の検出部を示す拡大断面図である。
FIG. 2 is an enlarged cross-sectional view showing a detection unit of the first embodiment of the two-object overlapping state detection device of the present invention.

【図3】 図3は同実施例1の位置決め装置を示す平面
模式図である。
FIG. 3 is a schematic plan view showing a positioning device according to the first embodiment.

【図4】 図4は本発明の実施例において検査対象とす
る包装容器の、不良品の一例の説明図で、図4Aは容器
の外観斜視図、図4Bは平面図、図4Cは正面図であ
る。
FIG. 4 is an explanatory view of an example of a defective product of a packaging container to be inspected in the embodiment of the present invention, FIG. 4A is an external perspective view of the container, FIG. 4B is a plan view, and FIG. 4C is a front view. Is.

【図5】 図5は、本発明の一実施例の画像の説明図
で、図5Aはカップ24及び蓋25の2物体が位置ずれ
の無い重畳状態でビデオカラーカメラ2で撮像された画
像を示し、図5Bは図4に示す状態(位置ずれの有る状
態)のカップ24及び蓋25をビデオカラーカメラ2に
取り込んだ入力画像を示している。又、図5Cは本実施
例の別な態様を示す図である。
5 is an explanatory view of an image of one embodiment of the present invention, and FIG. 5A shows an image captured by the video color camera 2 in a superposed state in which two objects of the cup 24 and the lid 25 are not displaced. 5B shows an input image in which the cup 24 and the lid 25 in the state shown in FIG. 4 (the state where there is a positional deviation) are taken in the video color camera 2. FIG. 5C is a diagram showing another aspect of this embodiment.

【図6】 図6は本発明の実施例2の位置決め装置を示
す平面模式図である。
FIG. 6 is a schematic plan view showing a positioning device according to a second embodiment of the present invention.

【図7】 図7は同実施例2の検出機器を示す断面図で
ある。
FIG. 7 is a sectional view showing a detection device according to the second embodiment.

【符号の説明】[Explanation of symbols]

1…光源、2…撮像手段、3…第1の物体、4…第2の
物体、5…物品、6…撮像位置、9…画像処理装置、1
2…モニタ、(13,16)…撮像位置検出信号を出力
する手段、20…光照射領域、
DESCRIPTION OF SYMBOLS 1 ... Light source, 2 ... Imaging means, 3 ... 1st object, 4 ... 2nd object, 5 ... Article, 6 ... Imaging position, 9 ... Image processing apparatus, 1
2 ... Monitor, (13, 16) ... Means for outputting imaging position detection signal, 20 ... Light irradiation area,

Claims (9)

【特許請求の範囲】[Claims] 【請求項1】 光源と、前記光源の光軸に沿って前記光
源に対向配置された撮像手段との間の光照射領域に、第
1の物体と、第2の物体とが前記光軸方向に重畳された
物品を配置し、その物品を撮像したときの前記撮像手段
の受光領域の中で所定の領域を検査領域に設定し、前記
検査領域から受光した光の光量が所定の範囲に含まれる
領域の面積が許容範囲に有るか否かによって、2物体の
重畳状態を検出する方法において、下記の要件を備えた
ことを特徴とする2物体の重畳状態の検出方法、(Y0
1)前記第1の物体が前記撮像手段の所定の画素によっ
て撮像されるように前記物品を前記光照射領域内の所定
の撮像位置に位置決めして配置すること、(Y02)前記
検査領域は、前記撮像位置において前記第1の物体の外
周縁又は前記第1の物体と第2の物体とが位置ずれせず
に重畳されている場合の第2の物体の外周縁に沿う境界
線の内側又は外側のいずれかの領域に設定すること。
1. A first object and a second object are provided in a light irradiation area between a light source and an image pickup unit arranged to face the light source along an optical axis of the light source. An article that is superposed on the object is placed, and a predetermined area is set as an inspection area in the light receiving area of the image pickup means when the article is imaged, and the amount of light received from the inspection area is included in the predetermined range. A method of detecting a superposed state of two objects depending on whether or not the area of a region to be covered is within an allowable range, the method of detecting a superposed state of two objects, comprising:
1) Positioning and arranging the article at a predetermined image pickup position in the light irradiation region so that the first object is imaged by a predetermined pixel of the image pickup means, (Y02) the inspection region, Inside the outer peripheral edge of the first object or the boundary line along the outer peripheral edge of the second object in the case where the first object and the second object are overlapped without displacement at the imaging position, or Set in one of the outer areas.
【請求項2】 下記の要件を備えたことを特徴とする請
求項1記載の2物体の重畳状態の検出方法、(Y03)前
記物品の前記光照射領域内の所定の撮像位置への配置
は、搬送手段により搬送される物品を前記撮像位置を通
過させること、又は撮像位置に停止させることにより行
うこと、(Y04)前記物品が、前記撮像位置に到達した
とき、それを検出して撮像位置検出信号を出力するこ
と、(Y05)前記撮像位置を通過又は停止した際の前記
物品を撮像する撮像手段として前記撮像位置検出信号に
応じて作動するビデオカメラを用いること、(Y06)前
記検査領域から受光した光の光量が所定の範囲に含まれ
る領域の面積は、前記設定された検査領域から受光した
前記ビデオカメラの各画素の中で光量が所定の範囲に含
まれる光を受光した画素の数をカウントすることにより
検出すること、 (Y07)前記カウント値が所定の基準範囲を外れたこと
を検出したとき異常信号を出力すること。
2. The method for detecting the overlapping state of two objects according to claim 1, wherein (Y03) the arrangement of the article at a predetermined imaging position in the light irradiation region is performed. And (Y04) when the article reaches the image pickup position, the image pickup position is detected by passing the article conveyed by the conveying means through the image pickup position or stopping at the image pickup position. Outputting a detection signal, (Y05) using a video camera that operates according to the imaging position detection signal as an imaging means for imaging the article when passing or stopping the imaging position, (Y06) the inspection area The area of the area in which the light amount of the light received from the predetermined range is equal to the area of the pixel receiving the light whose light amount is included in the predetermined range among the pixels of the video camera received from the set inspection area. It is detected by counting the, (Y07) to output an abnormality signal when the count value is detected to be out of the predetermined reference range.
【請求項3】 下記の要件を備えた請求項1又は2記載
の2物体の重畳状態の検出方法、(Y08)前記検査領域
は、前記撮像位置において前記第1の物体の外周縁又は
前記第1の物体と第2の物体とが位置ずれせずに重畳さ
れている場合の第2の物体の外周縁に沿う境界線で分割
された境界線の内側の領域に設定すること、(Y09)前
記検査領域から受光した光の光量が所定の範囲に含まれ
る領域として、前記第1の物体のみを透過して第2の物
体を透過していない光の有する光量が所定の範囲に含ま
れる領域を採用したこと。
3. The method for detecting the overlapping state of two objects according to claim 1 or 2, wherein the inspection area has an outer peripheral edge of the first object or the first object at the imaging position. Setting the area inside the boundary line divided by the boundary line along the outer peripheral edge of the second object in the case where the first object and the second object are overlapped without being displaced, (Y09) As a region in which the light amount of the light received from the inspection region is included in a predetermined range, a region in which the light amount of the light that transmits only the first object and does not pass the second object is included in the predetermined range Was adopted.
【請求項4】 下記の要件を備えた請求項1ないし3の
いずれかに記載の2物体の重畳状態の検出方法、(Y01
0)前記光源として複数の波長の光を含む複合光光源を
用いること、(Y011)前記撮像手段としてビデオカラ
ーカメラを用いること、(Y012)前記検査領域から受
光した光の光量が所定の範囲に含まれるか否かの判定
が、受光した光の複数の波長に対して行われること。
4. The method for detecting the overlapping state of two objects according to claim 1, wherein the following requirements are satisfied: (Y01
0) Use of a composite light source containing light of a plurality of wavelengths as the light source, (Y011) Use of a video color camera as the image pickup means, (Y012) Light amount of light received from the inspection area falls within a predetermined range. Whether it is included or not is determined for a plurality of wavelengths of received light.
【請求項5】 下記の要件を備えたことを特徴とする請
求項1ないし4のいずれかに記載の2物体の重畳状態の
検出方法、(Y013)前記光照射領域内にある所定の撮
像位置に物品を配置する操作を、前記物品を嵌入させる
切欠部を外周縁に有するスターホイールと、前記スター
ホイールの外周縁に近接して配置されるガイドと、前記
物品を前記ガイドに押圧する押圧手段とを備えた位置決
め装置によって行うこと。
5. The method for detecting a superposed state of two objects according to claim 1, wherein the following requirements are satisfied: (Y013) A predetermined imaging position in the light irradiation area For the operation of arranging an article, a star wheel having a notch in the outer peripheral edge for fitting the article, a guide arranged in proximity to the outer peripheral edge of the star wheel, and a pressing means for pressing the article against the guide Performed by a positioning device equipped with and.
【請求項6】 光源と、前記光源の光軸に沿って前記光
源に対向配置された撮像手段との間の光照射領域に、第
1の物体と、第2の物体とが前記光軸方向に重畳された
物品を配置し、その物品を撮像したときの前記撮像手段
の受光領域の中で所定の領域を検査領域に設定し、前記
検査領域から受光した光の光量が所定の範囲に含まれる
領域の面積を検出する目標面積検出手段を設け、検出さ
れた目標面積が許容範囲に有るか否かを判別する手段に
より、2物体の重畳状態を検出する装置において、下記
の要件を備えたことを特徴とする2物体の重畳状態の検
出装置、(Y014)前記第1の物体が前記撮像手段の所
定の画素によって撮像されるように前記物品を前記光照
射領域内の所定の撮像位置に位置決めして配置する位置
決め配置手段、(Y015)前記検査領域は、前記撮像位
置において前記第1の物体の外周縁又は前記第1の物体
と第2の物体とが位置ずれせずに重畳されている場合の
第2の物体の外周縁に沿う境界線の内側又は外側のいず
れかの領域に設定されたこと。
6. A first object and a second object are provided in a light irradiation area between a light source and an image pickup means arranged to face the light source along an optical axis of the light source, in the optical axis direction. An article that is superposed on the object is placed, and a predetermined area is set as an inspection area in the light receiving area of the image pickup means when the article is imaged, and the amount of light received from the inspection area is included in the predetermined range. A device for detecting a superposed state of two objects is provided with a target area detecting means for detecting an area of a region to be detected, and a means for determining whether or not the detected target area is within an allowable range is provided with the following requirements. (Y014) The object is placed at a predetermined imaging position in the light irradiation area so that the first object is imaged by a predetermined pixel of the imaging unit. Positioning and positioning means for positioning and positioning (Y015 ) The inspection region is on the outer peripheral edge of the first object or the outer peripheral edge of the second object when the first object and the second object are overlapped with each other without displacement at the imaging position. It has been set either inside or outside the boundary line.
【請求項7】 下記の要件を備えたことを特徴とする請
求項6記載の2物体の重畳状態の検出装置、(Y016)
前記物品が、前記撮像位置に配置されたとき、それを検
出して撮像位置検出信号を出力する手段、(Y017)前
記撮像位置に配置された前記物品を撮像する撮像手段と
して前記撮像位置検出信号に応じて作動するビデオカメ
ラを用いたこと、(Y018)前記目標面積検出手段は、
前記設定された検査領域から受光した前記ビデオカメラ
の各画素の中で光量が所定の範囲に含まれる光を受光し
た画素の数をカウントするカウンタにより構成されたこ
と、(Y019)前記カウント値が所定の基準範囲を外れ
たことを検出したとき異常信号を出力する手段。
7. An apparatus for detecting a superposed state of two objects according to claim 6, wherein the following requirements are met: (Y016)
When the article is placed at the image pickup position, a means for detecting the article and outputting an image pickup position detection signal, (Y017) The image pickup position detection signal as an image pickup means for picking up an image of the article placed at the image pickup position (Y018) The target area detecting means uses a video camera that operates according to
A counter that counts the number of pixels that have received light having a light amount within a predetermined range among the pixels of the video camera that have received light from the set inspection area; (Y019) the count value A means for outputting an abnormal signal when it is detected that it is out of a predetermined reference range.
【請求項8】 下記の要件を備えた請求項6又は7記載
の2物体の重畳状態の検出装置、(Y020)前記検査領
域は、前記撮像位置において前記第1の物体の外周縁又
は前記第1の物体と第2の物体とが位置ずれせずに重畳
されている場合の第2の物体の外周縁に沿う境界線で分
割された境界線の内側の領域に設定されたこと、(Y02
1)前記検査領域から受光した光の光量が所定の範囲に
含まれる領域として、前記第1の物体のみを透過して第
2の物体を透過していない光の有する光量が所定の範囲
に含まれる領域が採用されたこと。
8. The device for detecting the overlapping state of two objects according to claim 6 or 7, wherein the inspection area has an outer peripheral edge of the first object or the first object at the imaging position. The first object and the second object are set in an area inside the boundary line divided by the boundary line along the outer peripheral edge of the second object in the case where the two objects overlap each other without displacement (Y02
1) As a region in which the light amount of the light received from the inspection region is included in a predetermined range, the light amount of the light that transmits only the first object and does not pass the second object is included in the predetermined range. The area that is used has been adopted.
【請求項9】 下記の要件を備えた請求項6ないし8の
いずれかに記載の2物体の重畳状態の検出装置、(Y02
2)前記光源として複数の波長の光を含む複合光光源が
用いられたこと、(Y023)前記撮像手段としてビデオ
カラーカメラが用いられたこと。(Y024)前記検査領
域から受光した光の光量が所定の範囲に含まれるか否か
の判定が、受光した光の複数の波長に対して行われるこ
と。
9. A device for detecting a superposed state of two objects according to claim 6, which further comprises the following requirements:
2) A composite light source including light of a plurality of wavelengths is used as the light source, and (Y023) A video color camera is used as the image pickup means. (Y024) Whether or not the amount of light received from the inspection area is included in a predetermined range is determined for a plurality of wavelengths of the received light.
JP27272493A 1993-10-29 1993-10-29 Method and apparatus for detecting superimposed state of two objects Expired - Fee Related JP3219174B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP27272493A JP3219174B2 (en) 1993-10-29 1993-10-29 Method and apparatus for detecting superimposed state of two objects

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP27272493A JP3219174B2 (en) 1993-10-29 1993-10-29 Method and apparatus for detecting superimposed state of two objects

Publications (2)

Publication Number Publication Date
JPH07128016A true JPH07128016A (en) 1995-05-19
JP3219174B2 JP3219174B2 (en) 2001-10-15

Family

ID=17517901

Family Applications (1)

Application Number Title Priority Date Filing Date
JP27272493A Expired - Fee Related JP3219174B2 (en) 1993-10-29 1993-10-29 Method and apparatus for detecting superimposed state of two objects

Country Status (1)

Country Link
JP (1) JP3219174B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2018105652A (en) * 2016-12-22 2018-07-05 澁谷工業株式会社 Seal material positional deviation inspecting device and method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2018105652A (en) * 2016-12-22 2018-07-05 澁谷工業株式会社 Seal material positional deviation inspecting device and method

Also Published As

Publication number Publication date
JP3219174B2 (en) 2001-10-15

Similar Documents

Publication Publication Date Title
US9434591B2 (en) Method for the monitoring, control and optimization of filling equipment for foods and beverages, such as, for beverage bottles
US6473170B2 (en) Linear optical sensor for a closure
CN105339782B (en) For detect include conductive inner seal liner sealing element in defect the method based on thermal imaging
JP2006308437A (en) Device and method for inspecting foreign matter
US8937656B2 (en) Method and inspection device for testing containers
US20060244954A1 (en) System and method for inspecting packaging quality of a packaged food product
US10761033B2 (en) Testing method and testing system
JP2002107307A (en) Soft bag general inspecting system
US7323881B2 (en) Process and apparatus for evaluating the degree of vacuum in closed bodies with transparent walls
EP1293473A2 (en) Method and device for checking the capping of a bottle
JP2006505787A (en) Device for inspecting filled containers with X-rays and devices using the same
JP2017219504A (en) Bottle inspection device
EP3605010A1 (en) Method and device for detecting defects in the closure of encapsulated vials
JPH02265867A (en) Abnormal part detecting method for package
JP4832607B1 (en) Filling equipment
CN109759348A (en) A kind of full-automatic defect bubble-cap medicine plate sorting device and method for sorting
US20170268996A1 (en) Method and device for measuring the gas content of materials packaged in plastic films, glass or other light-permeable materials and sensitive to a gas to be measured
JP3219174B2 (en) Method and apparatus for detecting superimposed state of two objects
JP5993358B2 (en) Inspection device and PTP packaging machine
JP2004003899A (en) Method and apparatus of visual inspection of packed foodstuff or the like
JP3340413B2 (en) Method and apparatus for detecting foreign matter settled in PET bottle
US11624711B2 (en) Method and device for the optical inspection of containers
JPH02140601A (en) Method and device for detecting slippage of superposed state of two objects
JP3026003B1 (en) Inside plug installation inspection method and inside plug installation inspection device
JP5082029B2 (en) Inspection device

Legal Events

Date Code Title Description
R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

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

Free format text: PAYMENT UNTIL: 20080810

Year of fee payment: 7

LAPS Cancellation because of no payment of annual fees