JPH03280166A - Product inspection device - Google Patents

Product inspection device

Info

Publication number
JPH03280166A
JPH03280166A JP2078957A JP7895790A JPH03280166A JP H03280166 A JPH03280166 A JP H03280166A JP 2078957 A JP2078957 A JP 2078957A JP 7895790 A JP7895790 A JP 7895790A JP H03280166 A JPH03280166 A JP H03280166A
Authority
JP
Japan
Prior art keywords
data
discrimination data
product
discrimination
inspection
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2078957A
Other languages
Japanese (ja)
Inventor
Sumio Otani
大谷 澄男
Masayuki Kanai
金井 誠之
Hiroshi Matsunaga
容 松永
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.)
Anritsu Corp
Original Assignee
Anritsu Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Anritsu Corp filed Critical Anritsu Corp
Priority to JP2078957A priority Critical patent/JPH03280166A/en
Publication of JPH03280166A publication Critical patent/JPH03280166A/en
Pending legal-status Critical Current

Links

Landscapes

  • Investigating Materials By The Use Of Optical Means Adapted For Particular Applications (AREA)
  • Complex Calculations (AREA)
  • Image Processing (AREA)
  • Image Analysis (AREA)

Abstract

PURPOSE:To miniaturize a whole product inspection system by executing arithmetic processing by a CPU by using discrimination data generated by the CPU itself and the discrimination data obtained before by another inspection device. CONSTITUTION:An arithmetic means 32 refers to data held in a RAM 15b at prescribed timing. In response to information from a data control means 34 grasping the address data of the RAM 15b, the discrimination data for the same objective product, namely, the discrimination data obtained for some product Px by the discrimination data generating means 30 of a product inspection device and the discrimination data obtained by inspecting the product Px by another deciding system and taken in this CPU previously by an input control means 31 are read in. Then, necessary processing such as AND or OR, etc., is executed about these two discrimination data, and overall discrimination data is obtained. Thus, a problem that a whole system for executing inspection and discrimination becomes too large is removed.

Description

【発明の詳細な説明】 [産業上の利用分野コ 本発明は、製品ラインによって搬送されてくる製品(被
検査物品)に対して所定の検査の実行を制御するととも
に、その検査によって得られる検査情報信号を解析し、
その解析データに基すいて検査結果としての判別データ
を得ることができる製品検査装置に関するものである。
DETAILED DESCRIPTION OF THE INVENTION [Industrial Application Fields] The present invention controls the execution of a predetermined inspection on products (articles to be inspected) conveyed by a product line, and also controls the inspection obtained by the inspection. Analyze the information signal,
The present invention relates to a product inspection device that can obtain discrimination data as inspection results based on the analysis data.

[従来の技術] 例えば工場の製造ラインにおいては、搬入コンベアライ
ン(以下、ラインという)によって順次搬送されて(る
製品に対して、種別によって判別したり、又は不良品を
排除するために、各製品を撮影した画像によって各製品
を検査することが行なわれている。
[Prior Art] For example, in a factory production line, products are sequentially transported by an incoming conveyor line (hereinafter referred to as a line), and in order to distinguish them by type or to eliminate defective products, each product is Each product is inspected using images taken of the product.

例えば第5図に示すように、ライン1て搬送されてくる
製品Pを)オドセンサ等で構成された検出器2で検出す
ると、その検出信号が製品検査装置3に供給され、製品
検査装置3は検出器2の位置から距離d1だけラインl
の下流側に設置された例えばCCDカメラによる画像セ
ンサ4及びストロボ照明装置5に制御信号を送り、その
製品を撮影する。
For example, as shown in FIG. 5, when a product P conveyed through a line 1 is detected by a detector 2 composed of an odometer or the like, the detection signal is supplied to a product inspection device 3, and the product inspection device 3 line l by distance d1 from the position of detector 2
A control signal is sent to an image sensor 4, such as a CCD camera, and a strobe illumination device 5 installed downstream of the product, and the product is photographed.

なお、この場合、制御信号の供給タイミングは、距離d
1とライン1の速度Vに基ずいて設定され、即ち検出器
2で検出された製品Pが画像センサ4で適正に撮影でき
るように、検出器2の検出信号が得られてから(d 、
 /V)時間の時間差をもって画像センサ4及びストロ
ボ照明5が動作するように設定されている。
In this case, the supply timing of the control signal is determined by the distance d.
1 and the speed V of line 1, that is, after the detection signal of the detector 2 is obtained so that the product P detected by the detector 2 can be properly photographed by the image sensor 4 (d,
/V) The image sensor 4 and the strobe lighting 5 are set to operate with a time difference.

上記撮影動作により画像センサ4から得られた画像デー
タは製品検査装置3において解析され、−例としては、
画像データを2値化することによりその製品の面積を算
出し、その算出結果を予め設定された基準値と比較する
などして、その被検査物品である製品が適正な面積を有
するもの、すなわち正常晶であるかを判断する。
The image data obtained from the image sensor 4 by the above-mentioned photographing operation is analyzed in the product inspection device 3, - for example,
The area of the product is calculated by binarizing the image data, and the calculation result is compared with a preset standard value to determine whether the product to be inspected has an appropriate area, i.e. Determine whether the crystal is normal.

このような判定システム#。によって、製品の良否や種
別を判別することができるため、この判定システム#。
Such a judgment system #. This judgment system # allows us to determine the quality and type of a product.

によって得られた判別データを制御信号としてライン1
の下流に設けられた選別装置6に供給すれば、例えば図
示するように不良製品P°をライン1から排除すること
ができる。ただし、選別装置6に対する制御信号は、良
否の判別データの対象製品と、選別装置6で選別される
製品が一致するように、設置位置の離間距離d2及びラ
イン速度■による時間差を含んで供給される。
Line 1 uses the discrimination data obtained as a control signal.
If the product is supplied to the sorting device 6 provided downstream of the line 1, the defective products P° can be removed from the line 1, for example, as shown in the figure. However, the control signal to the sorting device 6 is supplied with a time difference due to the separation distance d2 of the installation position and the line speed ■ so that the target product of the pass/fail discrimination data and the product to be sorted by the sorting device 6 match. Ru.

[発明が解決しようとする問題点] ところで、現実の製造ライン等では、1つのラインによ
って搬送されてくる製品に対し多種の検査が実行される
ことが多い。
[Problems to be Solved by the Invention] Incidentally, in actual manufacturing lines, various types of inspections are often performed on products transported by one line.

例えば、成る製品に対して外形、面積、ラベルの有無等
、各種検査が実行されることがあり、このような場合は
、第6図に示すようにライン1にそって順次所定の検査
を行なう判定システム#1゜#2.#3が設置され、こ
れらを外部コントローラ7で制御している。つまり外部
コントローラ7では、頷次供給される製品Pに対する各
判定システム#1〜#3から得られた判別データを演算
し選別装置6に対する選別制御信号を生成して出力する
とともに、これら全体の時間差の管理、すなわち、距離
d、、d4.d5及びライン速度Vによって発生する時
差の管理を行ない、各判定システムから人力される各判
別データ及びその判別データに基すいて選別装置に供給
する制御信号が、完全に同一製品を対象としているよう
に制御する。
For example, various inspections may be performed on the product, such as its external shape, area, presence of labels, etc. In such cases, prescribed inspections are performed sequentially along line 1 as shown in Figure 6. Judgment system #1゜#2. #3 is installed, and these are controlled by an external controller 7. In other words, the external controller 7 calculates the discrimination data obtained from each judgment system #1 to #3 for the product P that is supplied next, generates and outputs a sorting control signal to the sorting device 6, and also outputs the sorting control signal for the sorting device 6. Management of distances d, d4. The time difference caused by d5 and line speed V is managed to ensure that each discrimination data manually input from each judgment system and the control signal supplied to the sorting device based on the discrimination data target completely the same product. to control.

しかしながら、このような従来の方式では、外部コント
ローラを利用してシステム化する必要から、検査判別を
行なうための全体のシステムが大型化しすぎ、コスト、
工場内における使用面積、工程上の融通性に問題があっ
た。
However, in such conventional methods, the need to systemize using an external controller makes the overall system for performing inspection discrimination too large, resulting in high costs and
There were problems with the area used within the factory and the flexibility of the process.

[問題点を解決するための手段] 本発明はこのような問題点にかんがみてなされたもので
、製品検査装置自体で、自己で生成した判別データと、
該判別データを得た被検査物品と同一の被検査物品に対
して、他の検査装置によって既に得られていた判別デー
タとで演算処理を行なうことにより、両判別データによ
る総合判別結果としての判別データを得ることができる
ようにしたものであり、そのために、製品検査装置のシ
ステムコントロール部内部において、他の検査装置から
の判別データを入力してメモリに記・世させる外部判別
データ入力制御手段と、自己で実行制御した検査によっ
て得た判別データと外部判別データ入力制御手段によっ
て入力され保持された判別データとで演算処理を行なう
演算手段と、この演算手段によって得られた判別データ
を外部機器に出力する出力手段と、演算手段において演
算処理される各判別データが同一の被検査物品を対象と
した判別データであるように制御するデータ制御手段と
を備えるようにしたものである。
[Means for Solving the Problems] The present invention was made in view of the above problems, and the product inspection device itself uses self-generated discrimination data and
By performing arithmetic processing on the same inspected article as the inspected article from which the discrimination data was obtained, using discrimination data already obtained by another inspection device, discrimination is performed as a comprehensive discrimination result based on both discrimination data. For this purpose, an external discrimination data input control means that inputs discrimination data from other inspection devices and records it in memory inside the system control section of the product inspection device. and an arithmetic means for performing arithmetic processing on the discriminative data obtained by the self-execution-controlled test and the discriminative data input and held by the external discriminative data input control means, and an external device that performs arithmetic processing on the discriminative data obtained by the arithmetic means. and a data control means for controlling so that each piece of discrimination data processed by the calculation means is discrimination data for the same article to be inspected.

[作用] 製品検査装置自体が内部制御手段として、他の製品検査
装置による判別データと、自己の判別データを演算する
ことができるため、当該製品検査装置以前の(ライン上
流の製品検査装置による)検査結果と自己で判別したデ
ータとの総合判定としての判別データを生成することが
できる。
[Function] The product inspection device itself, as an internal control means, can calculate the discrimination data from other product inspection devices and its own discrimination data, so that Discrimination data can be generated as a comprehensive determination of inspection results and self-discriminated data.

[実施例] まず本発明の製品検査装置の一実施例について、その全
体の構成を概略的に説明する。
[Example] First, the overall configuration of an example of the product inspection apparatus of the present invention will be schematically described.

第1図はその回路ブロックを示したものであり、−点鎖
線で囲った10が製品検査装置を示すものである。なお
、この製品検査装置10と、画像センサ(CCDカメラ
)4、照明装置5、及び検出器2によって、前記した第
5図の如き判定システム#。が構成されている。また、
照明装置5は本実施例ではストロボ照明として、画像セ
ンサ4のシャッタタイミングと同期して照明動作を行な
うものとするが、例えば蛍光灯のように連続光を照射す
るものであってもよい。
FIG. 1 shows the circuit block, and numeral 10 surrounded by a dashed line indicates a product inspection device. Note that the product inspection device 10, the image sensor (CCD camera) 4, the illumination device 5, and the detector 2 are used to form a determination system # as shown in FIG. 5 described above. is configured. Also,
In this embodiment, the illumination device 5 performs the illumination operation as a strobe illumination in synchronization with the shutter timing of the image sensor 4, but it may be a device that emits continuous light, such as a fluorescent lamp, for example.

このような判定システム#。における本実施例の製品検
査装置10は、前記第5図で説明した製品検査動作によ
って、ライン上で搬送されてきた製品を画像センサ4で
撮影して得たR、G、Bの画像信号が製品判定用のデー
タとして入力される。
Such a judgment system #. The product inspection apparatus 10 of this embodiment in FIG. Input as data for product judgment.

11R,IIG、IIBはA/D変換器であり、供給さ
れたR、G、B画像信号をそれぞれデジタル信号に変換
する。12R,12G、12Bはデジタル信号に変換さ
れたR、G、B信号をそれぞれ記憶するフレームメモリ
である。
11R, IIG, and IIB are A/D converters, which convert the supplied R, G, and B image signals into digital signals, respectively. 12R, 12G, and 12B are frame memories that respectively store R, G, and B signals converted into digital signals.

フレームメモリ12R,12G、12Bに記憶された画
像データは画像バス13aを介して点線で囲った画像処
理部14に供給され、各種演算処理が行なわれる。
The image data stored in the frame memories 12R, 12G, and 12B are supplied via the image bus 13a to an image processing section 14 surrounded by a dotted line, where various arithmetic operations are performed.

この画像処理部14には例えばハードロジック回路によ
って、2値化処理部14a、重心・傾き演算部14b、
周囲長演算部14C1濃度分散演算部14dなどが設け
られており、製品を撮影した画像データから、その製品
のデータを算出することができるようになされている。
This image processing section 14 includes a binarization processing section 14a, a center of gravity/inclination calculation section 14b, and a hard logic circuit, for example.
A perimeter calculation section 14C1, a density dispersion calculation section 14d, and the like are provided, and the data of the product can be calculated from the image data obtained by photographing the product.

2値化処理部14aでは画像データから特定の色を抽出
することにより、例えばその製品(或はその製品の特定
部分)の面積を算出することができる。また、この2値
化データに基すいて重心・傾き演算部14b、周囲長演
算部14cにおいて各演算が実行され、その製品の重心
、傾き、周囲長等が算出され、また、その周囲長の2乗
から面積を除することにより、その製品の外形の複雑度
等を得ることができる。
By extracting a specific color from the image data, the binarization processing unit 14a can calculate, for example, the area of the product (or a specific portion of the product). Further, based on this binarized data, various calculations are executed in the center of gravity/inclination calculation unit 14b and the perimeter calculation unit 14c, and the center of gravity, inclination, perimeter, etc. of the product are calculated, and the perimeter of the product is calculated. By dividing the area from the square, it is possible to obtain the complexity of the product's external shape.

また、濃度分散演算部14dではフレームメモリ12に
保持されたR、G、Bの輝度データから、その濃度分布
を算出することができるように為されている。
Further, the density distribution calculating section 14d is configured to be able to calculate the density distribution from the R, G, and B luminance data held in the frame memory 12.

その他にも、画像処理部14内において各種画像処理演
算を行なうこともできるが、本発明の主要部と直接関係
はないので、ここではその処理回路及び演算方法等の詳
細な説明を省略する。
Various other image processing operations can also be performed within the image processing section 14, but since they are not directly related to the main part of the present invention, detailed explanations of their processing circuits, calculation methods, etc. will be omitted here.

15はシステムコントローラ(CPU)であり、画像処
理部14において得られた各種算出結果は制御バス13
bを介してCPU15に供給され、CPU15において
は、この算出結果に対して、予め設定された設定値と比
較し、又は演算処理を行なうことなどにより、当該製品
がその設定条件に合致するか否かの判断等を行なう。
15 is a system controller (CPU), and various calculation results obtained in the image processing section 14 are sent to a control bus 13.
b, and the CPU 15 compares this calculation result with a preset setting value or performs arithmetic processing to determine whether or not the product meets the setting conditions. make such judgments, etc.

例えば、ライン上で赤いラベルが貼付された製品を識別
する場合は、画像処理部14を制御して、フレームメモ
リ12に記憶された画像データから2値化処理部14a
によって赤の部分の面積を算出させるとともに、その算
出データを制御バス13bを介して取り込み、その値を
予め設定されている基準値と比較する。そして、その赤
い部分の面積が基準値以上であれば、その検査対象とな
った製品は赤いラベルが貼付されたものであると判別し
、その判別データを例えば前記第6図に示した選別装置
6等に出力することができるように為されている。
For example, when identifying a product with a red label affixed on a line, the image processing unit 14 is controlled and the binarization processing unit 14a uses the image data stored in the frame memory 12.
The area of the red portion is calculated by the controller 13, and the calculated data is taken in via the control bus 13b, and the value is compared with a preset reference value. If the area of the red part is greater than or equal to the standard value, the product to be inspected is determined to have a red label affixed, and the determination data is transmitted to the sorting device shown in Figure 6 above, for example. It is designed so that it can be output to 6 etc.

なお、フレームメモリ12に取り込まれた画像を解析す
る際には、常に、その1画面分全部のデータを対象にし
て解析する必要はなく、CPU15の制御機能によって
、撮像した1画面の画像信号内において1又は複数の領
域(以下、ウィンドウという)を設定し、そのウィンド
ウ単位で演算処理部14における解析動作が行なわれる
ように制御することもできる。この場合において複数(
n個)のウィンドウを設定したときは、ウィンドウ毎の
解析データに対して各々基準値に1〜Knと比較するこ
とにより、ウィンドウ単位の判別データを生成し、この
n個の判別データをさらに演算処理することにより、総
合的な判別データを得ることができる。
Note that when analyzing the image captured in the frame memory 12, it is not always necessary to analyze the entire data for one screen; It is also possible to set one or more areas (hereinafter referred to as windows) in , and control the analysis operation in the arithmetic processing unit 14 for each window. In this case, multiple (
When setting (n) windows, the analysis data for each window is compared with a reference value of 1 to Kn to generate discrimination data for each window, and this n discrimination data is further calculated. By processing, comprehensive discrimination data can be obtained.

また、CPU15は、検出器2からの検出信号に基すい
てタイミングを設定し、画像センサ4及び照明装置5に
対して動作制御信号を出力するものである。
Further, the CPU 15 sets timing based on the detection signal from the detector 2 and outputs an operation control signal to the image sensor 4 and the illumination device 5.

15a、15bはCPU15内のメモリ部(ROM、R
AM)を示し、上記したような判定基準値や各検査時に
おける制御内容等が、検査対象品目や検査内容毎に分け
られて、予め紀・しされている。また、メモリ部15b
 (RAM)は、他の検査装置からの判別データを記′
1することにも使用されるが、その記゛l動作は後述す
る。なお、CPU15における情報の人出力はCPU内
部のインターフェース部を介在して行なわれているが、
説明上インターフェース部については省略する。
15a and 15b are memory units (ROM, R
AM), and the above-mentioned judgment reference values, control contents at each inspection, etc. are classified and written in advance for each item to be inspected and inspection contents. In addition, the memory section 15b
(RAM) stores discrimination data from other inspection devices.
It is also used to write 1, but its recording operation will be described later. Note that the human output of information in the CPU 15 is performed via an interface section inside the CPU.
For the sake of explanation, the interface section will be omitted.

16はCPU15に対して使用者が各種操作を行なうた
めの操作パネル(キーボード)であり、例えば上記メモ
リ部に記憶されている設定値や制御内容を選択するなど
の操作が行なわれる。
Reference numeral 16 denotes an operation panel (keyboard) through which the user performs various operations on the CPU 15, such as selecting setting values and control contents stored in the memory section.

17はフレームメモリ12に保持されている画像及びC
PU15から供給される制御用画像(操作メニュー、画
像ウィンド枠等)を表示するデイスプレィを示す。なお
、画像等の表示は外部CRT等により行なうようにして
もよい。
17 is the image held in the frame memory 12 and C
A display that displays control images (operation menus, image window frames, etc.) supplied from the PU 15 is shown. Note that images and the like may be displayed using an external CRT or the like.

18はメモリカードドライブを示し、外部メモリカード
(例えば自己電源でバックアップを行なうRAMカード
、磁気記録媒体、光記録媒体等)とで情報をやりとりす
ることができるように為され、例えばメモリカードに記
憶された制御データをCPU15に入力したり、フレー
ムメモリ12に保持された画像信号をメモリカードに記
憶させ、外部での使用に供すること等が可能とされてい
る。
Reference numeral 18 indicates a memory card drive, which is designed to be able to exchange information with an external memory card (for example, a RAM card that backs up with its own power supply, a magnetic recording medium, an optical recording medium, etc.); It is possible to input the generated control data to the CPU 15, or to store the image signal held in the frame memory 12 in a memory card for external use.

19は外部機器との間で各種信号の人出力を行なうため
の入出力端子部を示す。例えば入出力端子部19を介し
て、ライン上で搬送される製品を検出する検出器2から
の検出信号が人力されてCPU15内 CPU15から出力される各種外部機器の制御信号が画
像センサ4.照明装置5.及び図示しない選別装置等へ
出力されることになる。
Reference numeral 19 indicates an input/output terminal section for human output of various signals to/from external equipment. For example, via the input/output terminal section 19, a detection signal from the detector 2 that detects a product being conveyed on the line is manually inputted, and control signals for various external devices output from the CPU 15 within the CPU 15 are input to the image sensor 4. Lighting device 5. And it will be output to a sorting device (not shown) or the like.

本実施例の製品検査装置はこのように全体が構成されて
おり、画像センサ4によって撮影した画像に基すいて、
上記したように、その対象製品の各種判別を行なうこと
ができるように為されている。
The entire product inspection device of this embodiment is configured as described above, and based on the image taken by the image sensor 4,
As described above, it is designed to be able to perform various types of discrimination on the target product.

そして、本実施例においては、CPU15内に、上記し
た通常の製品検査動作のための制御手段の他に、特に第
2図に示すような各手段がソフトウェアにより構成され
ている。これにより、本実施例の製品検査装置10は、
第3図に示すように製品搬送ライン1に沿って、製品検
査装置10、画像センサ4.及び検出器2等からなる判
定システムを#1〜#3のように複数単位形成し、一つ
の製品に対して各種検査を行なって、その総合的な判断
により製品選別或は不良品排除等を行なうようなシステ
ムを形成する場合に、外部コントローラによるシステム
化を不要とすることができる。
In this embodiment, the CPU 15 includes, in addition to the above-mentioned control means for normal product inspection operations, various means as shown in FIG. 2, which are constructed of software. As a result, the product inspection device 10 of this embodiment
As shown in FIG. 3, along the product conveyance line 1, a product inspection device 10, an image sensor 4. A judgment system consisting of a detector 2, etc. is formed in multiple units like #1 to #3, and various inspections are performed on one product, and based on the comprehensive judgment, product selection or defective product elimination etc. When forming such a system, it is possible to eliminate the need for systemization using an external controller.

第2図において、3oは判別データ生成手段であり、上
記したように画像処理部14における画像信号処理動作
を制御するとともに、画像処理部14での演算結果に基
すいて判別データを生成するものである。
In FIG. 2, 3o is a discrimination data generation means, which controls the image signal processing operation in the image processing section 14 as described above, and also generates discrimination data based on the calculation results in the image processing section 14. It is.

31は入力制御手段であり、当該製品検査装置10以外
の製品検査装置において検査されて出力された判別デー
タが入力端子19から当該製品検査装置10に入力され
たときに、それをCPU15内に取り込み、RAM15
bに記憶させるように制御する。
Reference numeral 31 denotes an input control means, which inputs the discrimination data into the CPU 15 when the discrimination data inspected and output by a product inspection device other than the product inspection device 10 is input from the input terminal 19 to the product inspection device 10. , RAM15
control so that it is stored in b.

32は演算手段であり、当該製品検査装置10の自己の
検査結果である、判別データ生成手段30による判別デ
ータと、入力制御手段31によって人力処理された他の
製品検査装置の判別データを演算して、両判別データに
基ず(総合結果としての判別データを得るものである。
32 is a calculation means, which calculates the judgment data generated by the judgment data generation means 30, which is the own inspection result of the product inspection apparatus 10, and the judgment data of other product inspection apparatuses that have been manually processed by the input control means 31. Based on both discrimination data (to obtain discrimination data as a comprehensive result).

33は、演算手段32の演算結果を外部に出力するため
の処理を行なう出力制御手段を示す。
Reference numeral 33 indicates output control means for performing processing for outputting the calculation results of the calculation means 32 to the outside.

そして、これらの各手段は、データ制御手段34によっ
て、動作タイミング及びRAM15bの読出及び書込ア
ドレス制御がされることによって、その検査対象の同一
性が保持されるように為されている。この検査対象の同
一性の保持とは、前述したように各判定システム#1〜
#3の設置位置間の距離(dlo、dll、dI□)及
びライン速度■に基ずいて、所定の遅延時間(tr、t
z、ta(tr = d + o/ V、t 2 = 
d z/ V、 t 3= d 12/V))を含ませ
て動作制御を行なうことにより、必ず各判定システム#
1〜#3で同じ検査対象製品に係る判別データを演算手
段32において演算されるようにし、また、選別装置6
に対する制御信号を、その対象製品が選別装置6に達し
た時点で出力して選別装置を制御するように、タイミン
グを設定するものである。(例えばライン上の製品PX
に対して判定システム#1で得られた判別データJ1は
、判定システム#2においては、t1時間経過した後に
判別データ生成手段30から得られた判別データに対応
して演算手段32に入力されなければならない。) なお、各判定システム#内における検出器2の検出タイ
ミングと画像センサ4での撮影タイミングとの間で必要
な時間差も、従来と同様に設定され制御されていること
はいうまでもない。
Each of these means is controlled by the data control means 34 to control the operation timing and read and write addresses of the RAM 15b, so that the sameness of the test object is maintained. This maintenance of the identity of the inspection target means, as mentioned above, that each judgment system #1 to
The predetermined delay time (tr, t
z, ta (tr = d + o/V, t 2 =
By controlling the operation by including dz/V, t3=d12/V), each judgment system #
1 to #3, the discrimination data related to the same product to be inspected is calculated in the calculation means 32, and the sorting device 6
The timing is set so that the control signal for the target product is outputted when the target product reaches the sorting device 6 to control the sorting device. (For example, product PX on the line
In contrast, the discrimination data J1 obtained by the discrimination system #1 must be input into the calculation means 32 in the discrimination system #2 in correspondence with the discrimination data obtained from the discrimination data generation means 30 after the elapse of time t1. Must be. ) It goes without saying that the necessary time difference between the detection timing of the detector 2 and the photographing timing of the image sensor 4 in each determination system # is also set and controlled in the same manner as in the past.

上記した判別データ生成手段30、入力制御手段31、
演算手段32、出力制御手段33は、それぞれデータ制
御手段34にタイミング制御されながら、それぞれ独立
して第4図(a)〜(d)のフローチャートに示す動作
が実行されている。
The above-described discrimination data generation means 30, input control means 31,
The calculation means 32 and the output control means 33 independently execute the operations shown in the flowcharts of FIGS. 4(a) to 4(d) while being timing-controlled by the data control means 34, respectively.

まず判別データ生成手段30は第4図(a)に示すとお
り、所定のタイミングで画像センサ4のシャッタ制御を
行なって画像信号を得てフレームメモリ12に記憶させ
(Floo、FIOI) 、そして、得られた画像信号
に基すいて画像処理部での処理を制御して判定の基準と
なるデータを取り込み(F1021 、例えばROM1
5aから取り込んだ基準値と比較するなどにより判別デ
ータを生成し、データ制御手段34で設定されるアドレ
スによりRAM15bに記憶する(F1O3)。
First, as shown in FIG. 4(a), the discrimination data generation means 30 performs shutter control of the image sensor 4 at a predetermined timing to obtain an image signal and store it in the frame memory 12 (Floo, FIOI). Based on the image signal, the processing in the image processing unit is controlled and the data that becomes the criterion for judgment is captured (F1021, for example, ROM1
Discrimination data is generated by comparing it with the reference value taken in from 5a, and is stored in the RAM 15b at the address set by the data control means 34 (F1O3).

一方、入力制御手段31は第4図(b−1)のとおり、
他の判定システム#から供給された判別データが人力さ
れたら、データ制御手段34で設定されるアドレスによ
り、それをRAM15bに記憶する(F200−1. 
F2O1−1)。或はまた、第4図(b−2)のとおり
、一定インターバルで他の判定システム#からの判別デ
ータを読み取り(F200−2゜F2O1−21、その
結果を、データ制御手段34で設定されるアドレスによ
りRAM15bに記憶する(F202−2)。
On the other hand, the input control means 31 is as shown in FIG. 4 (b-1).
When the determination data supplied from another determination system # is input manually, it is stored in the RAM 15b according to the address set by the data control means 34 (F200-1.
F2O1-1). Alternatively, as shown in FIG. 4(b-2), the determination data from another determination system # is read at regular intervals (F200-2°F2O1-21, and the results are set by the data control means 34. The address is stored in the RAM 15b (F202-2).

また演算手段32においては第4図(C)のとおり、所
定のタイミングでRAM15bに保持されたデータを参
照し、RAM15bのアドレスデータな押押しているデ
ータ制御手段34のからの情報により、同一の製品を対
象とした判別データ、すなわち成る製品P、に対して当
該製品検査装置10の判別データ生成手段30で得られ
た判別データと、その製品Pxに対して他の判定システ
ム#によって検査され、人力制御手段31によって本C
PU15内に取り込まれている判別データとを読み込み
(F3O0,F3O1) 、その2つの判別データにつ
いて論理積、論理和、等必要な処理を行なって、総合的
な判別データを得る(F3O2)。そしてその判別デー
タをRAM15bに記憶させる。
In addition, as shown in FIG. 4(C), the calculation means 32 refers to the data held in the RAM 15b at a predetermined timing, and uses the information from the data control means 34 pressing the address data in the RAM 15b to identify the same product. In other words, the discrimination data obtained by the discrimination data generation means 30 of the product inspection device 10 for the product P, and the discrimination data for the product Px are inspected by another judgment system #, and the product Px is inspected manually. Book C by the control means 31
The discrimination data stored in the PU 15 is read (F3O0, F3O1), and necessary processing such as logical product and OR is performed on the two discrimination data to obtain comprehensive discrimination data (F3O2). Then, the discrimination data is stored in the RAM 15b.

さらに、出力制御手段33は第4図(d)のように、デ
ータ制御手段34によって設定される所定の出力タイミ
ングで、演算手段32で得た所定の判別データを読出し
くF2O3,F2O3) 、これを入出力端子19から
外部機器(他の判定システム#、或は選別装置6)に出
力する(F2O3)。なお、選別装置6に出力する場合
であるなら、この出力タイミングとしては、第3図のt
3の時差を含むようにする。
Furthermore, as shown in FIG. 4(d), the output control means 33 reads out the predetermined discrimination data obtained by the calculation means 32 at a predetermined output timing set by the data control means 34. is output from the input/output terminal 19 to an external device (another judgment system # or sorting device 6) (F2O3). Note that if the output is to be output to the sorting device 6, the output timing is t in FIG.
Include the time difference of 3.

各手段が以上のとおり動作することにより、第3図に示
したように、本実施例の製品検査装置を用いた判定シス
テム#1〜#3をライン1に沿って複数設けるようにし
ても、外部コントローラは不要となる。つまり、第3図
に示すように判定システム#1から出力される判別デー
タJ1は、判定システム#2において、判定システム#
2で得られるJ2と演算され、判定システム#2から判
別データJ、□として出力される。そして同様に判定シ
ステム#3において総合判断され、判別データJ1□3
が制御信号として出力され、最終的に、選別装置6に供
給されることになる。
By each means operating as described above, even if a plurality of determination systems #1 to #3 using the product inspection apparatus of this embodiment are provided along line 1 as shown in FIG. No external controller is required. In other words, as shown in FIG. 3, the determination data J1 output from the determination system #1 is used in the determination system #2
J2 obtained in step 2 is calculated and outputted from the determination system #2 as determination data J, □. Similarly, comprehensive judgment is made in judgment system #3, and judgment data J1□3
is output as a control signal and is finally supplied to the sorting device 6.

[発明の効果] 以上説明したように、本発明の製品検査装置は、CPU
において自己で生成した判別データと、該判別データを
得た被検査物品と同一の被検査物品に対して他の検査装
置によって既に得られていた判別データとで演算処理を
行なうことにより、両判別データによる総合判別結果と
しての判別データを出力することができるように為され
ているため、製品ラインに沿って判定システムを複数設
置する場合でも、外部コントローラを必要とせず、製品
検査システム全体を小型化することができるという効果
がある。
[Effects of the Invention] As explained above, the product inspection device of the present invention
By performing arithmetic processing on the self-generated discrimination data and the discrimination data already obtained by another inspection device for the same inspected article as the inspected article from which the discrimination data was obtained, both discriminations can be performed. Because it is designed to output discrimination data as a comprehensive discrimination result based on data, even if multiple judgment systems are installed along a product line, there is no need for an external controller, making the entire product inspection system compact. It has the effect of being able to be transformed into

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

第1図は本発明の製品検査装置の一実施例を示すブロッ
ク図、 第2図は本実施例におけるCPUにおいて形成されるソ
フトウェア手段の一例を示すブロック図、 第3図は本実施例を使用した複数の判定システムを設置
した場合のシステムの説明図、第4図(a)〜(d)は
本実施例のCPUにおける各手段の動作例を示すフロー
チャート、第5図は製品検査システムの説明図、 第6図は複数の判定システムを設置した場合の従来のシ
ステムの説明図である。 2は検出器、4は画像センサ、5は照明装置、6は選別
装置、10は製品検査装置、12R112G、12Eは
フレームメモリ、14は画像処理部、15はCPU、1
5aはROM、15bはRAM、19は入出力端子、3
0は判別データ生成手段、31は入力制御手段、32は
演算手段、33は出力制御手段、34はデータ制御手段
を示す。 (b −2) 第 図
Fig. 1 is a block diagram showing an embodiment of the product inspection device of the present invention, Fig. 2 is a block diagram showing an example of software means formed in the CPU in this embodiment, and Fig. 3 is a block diagram showing an example of software means formed in the CPU in this embodiment. 4(a) to 4(d) are flowcharts showing operation examples of each means in the CPU of this embodiment, and FIG. 5 is an explanation of the product inspection system. FIG. 6 is an explanatory diagram of a conventional system in which a plurality of determination systems are installed. 2 is a detector, 4 is an image sensor, 5 is a lighting device, 6 is a sorting device, 10 is a product inspection device, 12R112G, 12E are frame memories, 14 is an image processing unit, 15 is a CPU, 1
5a is ROM, 15b is RAM, 19 is input/output terminal, 3
0 indicates a discrimination data generation means, 31 an input control means, 32 a calculation means, 33 an output control means, and 34 a data control means. (b-2) Figure

Claims (1)

【特許請求の範囲】  製品ラインで搬送されてくる被検査物体に対する所定
の検査の実行を制御し、その検査によって得られる検査
情報信号を解析して、その解析データがあらかじめ設定
された条件に適合しているか否かを判別することにより
、当該被検査物体にかかる判別データを生成することが
できる製品検査装置において、 他の検査装置からの判別データを入力してメモリに記憶
させる外部判別データ入力制御手段と、自己で実行制御
した検査によって得た判別データと、前記外部判別デー
タ入力制御手段によって入力され保持された判別データ
とで、演算処理を行なう演算手段と、 前記演算手段によって得られた判別データを外部機器に
出力する出力手段と、 前記演算手段において演算処理される各判別データが同
一の被検査物品を対象とした判別データであるように制
御するデータ制御手段とを備えるようにし、 自己で生成した判別データと、該判別データを得た被検
査物品と同一の被検査物品に対して、他の検査装置によ
って既に得られていた判別データとで演算処理を行なう
ことにより、両判別データによる総合判別結果としての
判別データを得ることができるように構成したことを特
徴とする製品検査装置。
[Claims] Controlling the execution of a predetermined inspection on objects to be inspected that are transported on a product line, analyzing inspection information signals obtained from the inspection, and making the analysis data conform to preset conditions. External discrimination data input that inputs discrimination data from other inspection devices and stores it in the memory in a product inspection device that can generate discrimination data regarding the object to be inspected by determining whether or not it is a control means; an arithmetic means for performing an arithmetic process on the discrimination data obtained by the inspection controlled by the self-execution control means; and the discrimination data input and held by the external discrimination data input control means; comprising an output means for outputting the discrimination data to an external device, and a data control means for controlling so that each discrimination data processed by the calculation means is discrimination data for the same inspected article, By performing arithmetic processing on the self-generated discrimination data and the discrimination data already obtained by another inspection device on the same inspected article as the one from which the discrimination data was obtained, both discriminations can be performed. A product inspection device characterized in that it is configured to be able to obtain discrimination data as a comprehensive discrimination result based on data.
JP2078957A 1990-03-29 1990-03-29 Product inspection device Pending JPH03280166A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2078957A JPH03280166A (en) 1990-03-29 1990-03-29 Product inspection device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2078957A JPH03280166A (en) 1990-03-29 1990-03-29 Product inspection device

Publications (1)

Publication Number Publication Date
JPH03280166A true JPH03280166A (en) 1991-12-11

Family

ID=13676375

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2078957A Pending JPH03280166A (en) 1990-03-29 1990-03-29 Product inspection device

Country Status (1)

Country Link
JP (1) JPH03280166A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010060407A (en) * 2008-09-03 2010-03-18 Juki Corp Apparatus and method for recognizing button
JP2010188326A (en) * 2009-02-20 2010-09-02 Ihi Corp Apparatus of discriminating front and rear of workpiece, apparatus of discriminating front and rear of nut, method of discriminating front and rear of workpiece and method of discriminating front and rear of nut

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010060407A (en) * 2008-09-03 2010-03-18 Juki Corp Apparatus and method for recognizing button
JP2010188326A (en) * 2009-02-20 2010-09-02 Ihi Corp Apparatus of discriminating front and rear of workpiece, apparatus of discriminating front and rear of nut, method of discriminating front and rear of workpiece and method of discriminating front and rear of nut

Similar Documents

Publication Publication Date Title
TWI787296B (en) Optical inspection method, optical inspection device and optical inspection system
TW202209256A (en) Method and device for defect detection, electronic device, and computer storage medium
JPH055709A (en) Screen inspection device
TW559969B (en) Pattern inspection method and inspection apparatus
KR20180061528A (en) System and method for detecting foreign substance using lab color space
JPH03280166A (en) Product inspection device
KR20030013520A (en) Image processing system
JPH04238592A (en) Automatic bundled bar steel tally device
JPH09264856A (en) Article appearance inspection device
JP2710527B2 (en) Inspection equipment for periodic patterns
JP2010230435A (en) Device for inspecting display panel lighting and method for inspecting display panel lighting
JP3054165B2 (en) Appearance inspection device
JP2002296192A (en) Method for inspecting flaw using color illumination
WO2020158630A1 (en) Detecting device, learner, computer program, detecting method, and method for generating learner
TW202209173A (en) Method for defect detection, method for defect classification and system thereof
TWM606740U (en) Defect detection system
JP2886251B2 (en) Product inspection equipment
JPS6227873A (en) Checking device for external appearance
JPH03280165A (en) Appearance inspection device
JPH08186808A (en) Method and device for processing image
JPH03160309A (en) Image quality testing apparatus
JPH03280171A (en) Appearance inspection device
JP3099273B2 (en) Appearance inspection device
EP4010873B1 (en) Use of an hdr image in a visual inspection process
JP2001153813A (en) System and method for visually inspecting bottle