JPS63225111A - Visual inspection - Google Patents

Visual inspection

Info

Publication number
JPS63225111A
JPS63225111A JP5979387A JP5979387A JPS63225111A JP S63225111 A JPS63225111 A JP S63225111A JP 5979387 A JP5979387 A JP 5979387A JP 5979387 A JP5979387 A JP 5979387A JP S63225111 A JPS63225111 A JP S63225111A
Authority
JP
Japan
Prior art keywords
data
inspection
area
inspected
products
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
JP5979387A
Other languages
Japanese (ja)
Inventor
Nobuo Shimizu
志水 伸雄
Akio Aoyama
青山 昭夫
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.)
CKD Corp
Original Assignee
CKD 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 CKD Corp filed Critical CKD Corp
Priority to JP5979387A priority Critical patent/JPS63225111A/en
Publication of JPS63225111A publication Critical patent/JPS63225111A/en
Pending legal-status Critical Current

Links

Landscapes

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

Abstract

PURPOSE:To enable a stable visual inspection to be achieved without the accuracy of judging the adequacy of product being affected by inducers by sequentially updating the reference data on the basis of the measured data of a product to be inspected which is judged as acceptive. CONSTITUTION:The initial reference data A of the images taken from products W-Wn to be inspected which are fed into an inspection station are set in advance. The data A and the measured data A1-An of the products W-Wn, respectively, are compared with each other and whether the products W-Wn are acceptive is judged. The data A are corrected B on the basis of the data A1-An judged to be acceptive. Reference data B thus corrected and the measured data A1-An of the products to be inspected are compared with each other and whether the products being inspected are acceptive or rejective is judged. Further, the data B are sequentially updated at least on the basis of the measured data of the products to be inspected that are judged as rejective. Thus, generated factors can be absorbed by making the data B follow up the generation of the factors that bring about the judgment of the acceptives or rejectives and a stable visual inspection can be performed without being affected by the generation of factors inducing the incorrect judgment on acceptives or rejectives.

Description

【発明の詳細な説明】 発明の目的 (産業上の利用分野) 本発明は視覚装置を用いた検査方法に関するものである
DETAILED DESCRIPTION OF THE INVENTION Object of the Invention (Field of Industrial Application) The present invention relates to an inspection method using a visual device.

(従来の技術) 視覚装置を用いて検査対象物の良否判定を行なう検査方
法では、検査対象物の取り込まれた画像データと予め設
定された基準データとの比較が行われ、基準データと許
容公差とにより設定された範囲内に測定データ、が含ま
れる場合には良品判定、含まれない場合には不良品判定
とする判定方法が採用されている。
(Prior art) In an inspection method that uses a visual device to determine the acceptability of an object to be inspected, the captured image data of the object to be inspected is compared with preset reference data, and the reference data and allowable tolerances are compared. A determination method is adopted in which if the measured data is included in the range set by the above, it is determined to be a non-defective product, and if it is not, it is determined to be a defective product.

(発明が解決しようとする問題点) ところが、視覚検査を行なう場所での光学的環境変化、
電圧変動等に起因する照明光量変化あるいは検査対象物
の被検査状態の変化等により良品の検査対象物の画像デ
ータが前記許容範囲外へ変位する場合があるが、経時的
に不変な前記許容範囲の設定方式ではこのような良否誤
判定を誘発する要因発生に対処できず、安定した検査を
期待することができない。
(Problems to be solved by the invention) However, changes in the optical environment at the place where visual inspection is performed,
Image data of a good inspection object may shift outside the above-mentioned tolerance range due to changes in the amount of illumination light due to voltage fluctuations or changes in the state of the inspection object, etc., but the above-mentioned tolerance range remains unchanged over time. With this setting method, it is not possible to deal with the occurrence of factors that induce erroneous pass/fail judgments, and stable inspection cannot be expected.

発明の構成 (問題点を解決するための手段) そこで本発明では前記のような良否誤判定を誘発する要
因発生に基準データを追随させる観点に立ち、設定され
た検査ステーションへ順次送りこまれる検査対象物の取
り込み画像の予め設定された初期基準データと検査対象
物の測定データとの比較に基づいて検査対象物の良否を
判定すると共に、少な(とも良品判定された検査対象物
の測定データに基づいて初期基準データを修正し、この
修正された基準データと検査対象物の測定データとの比
較に基づいて検査対象物の良否を判定すると共に、少な
くとも良品判定された検査対象物の測定データに基づい
て基準データを順次更新してゆくようにした。
Structure of the Invention (Means for Solving the Problems) Therefore, in the present invention, from the viewpoint of making the reference data follow the occurrence of factors that induce the above-mentioned erroneous pass/fail judgments, the present invention provides inspection objects that are sequentially sent to predetermined inspection stations. The quality of the test object is determined based on the comparison between the preset initial reference data of the captured image of the object and the measurement data of the test object. The initial reference data is corrected based on the corrected standard data and the measured data of the test object is determined based on the comparison, and the quality of the test object is determined based on at least the measurement data of the test object that has been determined to be non-defective. The standard data will be updated sequentially.

(作用) 即ち、検査対象物の取り込み画像のデータが例えば面積
の場合、明暗境界で特定される測定面積が外乱光変動と
いった光学的環境変化により同一の検査対象物に対して
変化するが、測定された面積が予め設定された初期基準
面積との比較で許容範囲内と判定された場合には、少な
くともこれら許容範囲内の測定面積から新たな基準面積
が設定される。この基準面積更新は少なくとも良品の検
査対象物から順次得られる新たな測定面積に基づいて経
時的に行われ、検査対象物の測定面積の比較対象となる
基準面積が良否誤判定を誘発する要因発生に追随する。
(Function) In other words, if the data of the captured image of the inspection object is area, for example, the measurement area specified by the bright/dark boundary changes for the same inspection object due to changes in the optical environment such as disturbance light fluctuations, but the measurement area If the measured area is determined to be within an allowable range by comparison with a preset initial reference area, a new reference area is set from at least the measured areas within these allowable ranges. This reference area update is performed over time based on new measurement areas sequentially obtained from at least non-defective inspection objects, and the reference area to which the measurement area of the inspection object is compared is subject to the occurrence of factors that may induce erroneous pass/fail judgments. Follow.

従って、良否判定精度が前記誘発要因に左右されること
はなく、安定した視覚検査を達成することができる。
Therefore, the accuracy of pass/fail judgment is not affected by the above-mentioned triggering factors, and stable visual inspection can be achieved.

(実施例) 以下、本発明を具体化した一実施例を図面に基づいて説
明する。
(Example) Hereinafter, an example embodying the present invention will be described based on the drawings.

第1図に示すように搬送用コンベア1に整列保持された
検査対象物Wは搬送用コンベアlの間欠送りによりカメ
ラ2設置位置の下方に設定された検査ステーションSへ
順次送りこまれる。検査ステーションSへ送り込まれた
検査対象物Wはカメラ2の側方近傍に設置されたランプ
3の照射を受け、この反射光がカメラ2に捉えられる。
As shown in FIG. 1, the objects W to be inspected that are aligned and held on the conveyor 1 are sequentially sent to an inspection station S set below the camera 2 installation position by the intermittent feeding of the conveyor 1. The inspection object W sent to the inspection station S is irradiated by a lamp 3 installed near the side of the camera 2, and this reflected light is captured by the camera 2.

カメラ2からの画像信号は比較判定装置Cに入力され、
比較判定装置Cは入力画像信号に基づいて検査対象物W
の良否判定を行い、不良品判定の場合には所定の信号を
出力する。
The image signal from the camera 2 is input to the comparison/judgment device C,
The comparison/judgment device C determines the inspection target W based on the input image signal.
A predetermined signal is output if the product is determined to be defective.

比較判定装置Cは、画像信号を2値化データとして記憶
する画像データ記憶手段と、この記憶された画像データ
から検査対象物Wの平面面積を特定する画像データ処理
手段と、予め設定された検査対象物Wの初期基準面積A
及び許容公差±Δを記憶する記憶手段と、検査対象物W
の測定面積と基準面積とを比較して良否判定する比較判
定手段と、良品判定回数をカウントするカウント手段と
、良品判定された検査対象物Wの測定面積を加算する面
積加算手段と、加算面積をカウント数で割る除算手段と
、前記記憶手段に記憶保持された基準面積を前記除算面
積に書換更新する更新手段とからなり、不良の場合には
所定の信号が比較判定手段から出力される。
The comparison/judgment device C includes an image data storage means for storing an image signal as binary data, an image data processing means for specifying the planar area of the inspection object W from the stored image data, and a preset inspection Initial reference area A of object W
and storage means for storing the allowable tolerance ±Δ, and the inspection object W.
a comparison determination means for determining pass/fail by comparing the measured area with a reference area, a counting means for counting the number of times of non-defective determination, an area addition means for adding the measured area of the inspection object W determined as non-defective, and an addition area. and updating means that rewrites and updates the reference area stored in the storage means to the divided area, and in the case of a defect, a predetermined signal is output from the comparison and determination means.

本実施例における視覚装置を用いた良否判定は第3図の
フローチャートに基づいて遂行されるようになっており
、以下にその作用を説明する。
The quality determination using the visual device in this embodiment is performed based on the flowchart shown in FIG. 3, and its operation will be explained below.

さて、検査ステーションSへ送り込まれた検査対象物W
1の平面画像がカメラ2から取り込まれ、この画像の2
値化データが比較判定袋WCに記憶される。検査対象物
W1で反射形成される明部とその他の暗部との境界で特
定される検査対象物Wlの平面面積A1が前記画像デー
タの処理に基づいて抽出特定され、この特定された測定
面積A1が第2図に示すように初期基準面積Aと公差±
Δとから設定される初期許容範囲〔A−Δ、A+Δ〕内
に含まれるか否かが判定される。比較判定装置Cは、測
定面積AIが初期許容範囲〔A−Δ。
Now, the inspection object W sent to the inspection station S
A plane image of 1 is captured from camera 2, and 2 of this image is
The value data is stored in the comparison bag WC. A plane area A1 of the inspection object W1, which is specified by the boundary between a bright area formed by reflection on the inspection object W1 and another dark area, is extracted and specified based on the processing of the image data, and this specified measurement area A1 As shown in Figure 2, the initial reference area A and the tolerance ±
It is determined whether or not it is within the initial tolerance range [A-Δ, A+Δ] set from Δ. Comparison and determination device C has a measurement area AI that is within the initial tolerance range [A-Δ.

A+Δ〕内に含まれない場合には不良品判定信号を出力
し、第2図に示すように測定表示点alで示す測定面積
A1が初期許容範囲〔A−Δ、A+Δ〕内に含まれる場
合には良品判定回数1をカウントすると共に、測逆面積
A1を加算対象とする。
A + Δ], a defective product judgment signal is output, and as shown in Figure 2, if the measurement area A1 indicated by the measurement display point al is within the initial tolerance range [A - Δ, A + Δ] In addition to counting the number of non-defective product determinations, the reversal area A1 is added.

検査対象物W1に続いて検査ステーションSに送り込ま
れた検査対象物W2についても同様の比較判定が行われ
、測定表示点a2で示す測定面積A2が初期許容範囲[
A−Δ、A+Δ〕内に含まれる場合には良品判定回数2
がカウントされると共に、測定面積A2が測定面積A1
に加算される。
A similar comparison is made for the inspection object W2 that is sent into the inspection station S following the inspection object W1, and the measurement area A2 indicated by the measurement display point a2 falls within the initial tolerance range [
A-Δ, A+Δ], the number of good product judgments is 2.
is counted, and the measurement area A2 becomes the measurement area A1.
will be added to.

初期基準面積Aに基づくこのような比較判定は、良品判
定回数が予め設定された値nに達するまで行われ、良品
判定回数がnに達すると、良品判定された検査対象物W
1、W2・・・Wnの各測定面積At、A2・・・An
の加算面積Σ(n)が良品判定回数nで除算される。こ
のように算出設定された除算面積Σ(n)/n=Bは初
期基準面積Aに代わって基準面積に採用され、許容範囲
を設定するための基準面積が初期基準面積Aから基準面
積已に更新される。
Such a comparison judgment based on the initial standard area A is performed until the number of non-defective judgments reaches a preset value n, and when the number of non-defective judgments reaches n, the inspection target W which has been judged non-defective
1, W2...Wn measurement areas At, A2...An
The added area Σ(n) is divided by the number of good product determinations n. The divided area Σ(n)/n=B calculated and set in this way is adopted as the reference area instead of the initial reference area A, and the reference area for setting the tolerance range is changed from the initial reference area A to the reference area. Updated.

以後、新たに良品判定された検査対象物Wの測定面積が
前記と同様にn個分加算され、この加算で得られた面積
がnで除算され、基準面積及び許容範囲が第2図に示す
ように順次更新されてゆく。
Thereafter, the measured area of the inspection object W that has been newly determined to be non-defective is added up by n pieces in the same way as above, and the area obtained by this addition is divided by n, and the reference area and tolerance range are shown in Figure 2. It will be updated sequentially.

このような基準面積の更新は、同一検査対象物Wの測定
面積の変動に繋がる光学的環境変化、電圧変動による照
明光量変化及び温度、湿度等の環境変化等の変動要因に
対応して行われるものであり、これら変動要因発生は基
準面積の更新により吸収され、検査対象物Wの良否判定
は常に一定した精度でもって行われる。従って、同一検
査対象物Wの測定面積の変動をもたらす光学的環境変化
、電圧変動による照明光量変化等の変動要因が発生した
場合にも、検査対象物Wの良否判定は前記誘発要因に左
右されることな(行われ、安定した視覚検査を達成する
ことができる。
Such updating of the reference area is performed in response to fluctuation factors such as changes in the optical environment that lead to changes in the measurement area of the same inspection object W, changes in the amount of illumination light due to voltage fluctuations, and changes in the environment such as temperature and humidity. The occurrence of these fluctuation factors is absorbed by updating the reference area, and the quality determination of the inspection object W is always performed with constant accuracy. Therefore, even if a variable factor such as a change in the optical environment or a change in the amount of illumination due to a voltage change occurs that causes a change in the measurement area of the same inspection object W, the quality judgment of the inspection object W is influenced by the triggering factor. A stable visual inspection can be achieved.

本発明は勿論前記実施例にのみ限定されるものではなく
、例えば前記実施例における相加平均による基準面積更
新方式に代えて相乗平均による基準面積更新方式を採用
したり、検査ステーションへ送りこまれる検査対象物の
所定個数からなる群単位で基準面積を更新する前記実施
例の方式に代えて第4図のフローチャートで示す更新方
式も可能である。この方式では初期基準面積はn個の良
品検査対象物Wの面積加算まで使われ、これ以後におい
では更新基準面積との比較で良品判定された検査対象物
Wの測定面積が先のn個の加算面積内の最先の測定面積
にとって代わってゆき、この加減算で得られた面積がn
で除算されて基準面積が更新さてゆく。又、測定面積と
共に基準面積を新たな基準面積設定のための一要素した
りすることも可能である。あるいは検査対象物内の所定
領域の視覚検査において検査対象物の送り込み位置の変
動を本発明の視覚検査方法の対象としたりすることも可
能である。
The present invention is, of course, not limited to the above-mentioned embodiments. For example, instead of the reference area updating method using the arithmetic mean in the above-described embodiments, a reference area updating method using a geometric mean may be adopted, or an inspection sent to an inspection station may be adopted. Instead of the method of the above embodiment in which the reference area is updated in units of groups of a predetermined number of objects, an updating method shown in the flowchart of FIG. 4 is also possible. In this method, the initial reference area is used until the areas of n non-defective inspection objects W are added up, and after this, the measured area of the inspection object W that was judged to be non-defective is compared with the updated reference area and is used to add up the area of the n non-defective inspection objects W. The first measured area within the addition area is replaced by n.
The standard area is updated by dividing by . Further, it is also possible to use the reference area together with the measurement area as one element for setting a new reference area. Alternatively, in visual inspection of a predetermined area within the inspection object, the visual inspection method of the present invention may be applied to fluctuations in the feeding position of the inspection object.

発明の効果 以上詳述したように本発明は、検査対象物の取り込み画
像の基準データと検査対象物の測定データとの比較に基
づいて検査対象物の良否を判定すると共に、少なくとも
良品判定された検査対象物の測定データに基づいて基準
データを順次更新してゆくようにしたので、良否誤判定
をもたらす要因発生に対しても基準データを追随させて
発生要因を吸収することができ、良否誤判定誘発要因発
生に左右されることなく安定した視覚検査を行なうこと
ができるという優れた効果を奏する。
Effects of the Invention As detailed above, the present invention determines the quality of the object to be inspected based on the comparison between the reference data of the captured image of the object and the measured data of the object, and also determines whether the object is at least determined to be non-defective. Since the reference data is updated sequentially based on the measurement data of the object to be inspected, it is possible to absorb the factors that occur by following the reference data even if the factors that cause an incorrect pass/fail judgment occur. This provides an excellent effect in that a stable visual inspection can be performed without being influenced by the occurrence of factors that induce judgment.

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

図面は本発明を具体化した一実施例を示し、第1図は検
査ステーション付近の斜視図、第2図は基準面積の変位
を示すグラフ、第3図は比較判定のフローチャート、第
4図は別個のフローチャートである。 搬送用コンベア1、カメラ2、検査ステーションS、検
査対象物W1、W2・・・Wn、比較判定装置C1初期
基準面積A、基準面積B、公差Δ。
The drawings show an embodiment embodying the present invention, in which Fig. 1 is a perspective view of the vicinity of the inspection station, Fig. 2 is a graph showing the displacement of the reference area, Fig. 3 is a flowchart of comparison and judgment, and Fig. 4 is a A separate flowchart. Conveyor 1, camera 2, inspection station S, inspection objects W1, W2...Wn, comparison/judgment device C1, initial reference area A, reference area B, tolerance Δ.

Claims (1)

【特許請求の範囲】[Claims] 1 設定された検査ステーション(S)へ順次送りこま
れる検査対象物(W、W1、W2・・・Wn)の取り込
み画像の初期基準データ(A)を予め設定しておき、こ
の初期基準データ(A)と検査対象物(W、W1、W2
・・・Wn)の測定データ(A1、A2・・・An)と
の比較に基づいて検査対象物(W、W1、W2・・・W
n)の良否を判定すると共に、少なくとも良品判定され
た検査対象物(W、W1、W2・・・Wn)の測定デー
タ(A1、A2・・・An)に基づいて初期基準データ
(A)を修正し、この修正された基準データ(B)と検
査対象物の測定データとの比較に基づいて検査対象物の
良否を判定すると共に少なくとも良品判定された検査対
象物の測定データに基づいて基準データ(B)を順次更
新してゆくことを特徴とする視覚検査方法。
1 Initial reference data (A) of the captured images of the inspection objects (W, W1, W2...Wn) that are sequentially sent to the set inspection station (S) are set in advance, and this initial reference data (A) is set in advance. ) and the inspection object (W, W1, W2
...Wn) with the measurement data (A1, A2...An) of the inspection object (W, W1, W2...W
n) and at the same time determine the initial reference data (A) based on the measurement data (A1, A2...An) of the inspection objects (W, W1, W2...Wn) that have been determined to be good. The quality of the inspected object is determined based on a comparison between the corrected standard data (B) and the measured data of the inspected object, and at least the standard data is determined based on the measured data of the inspected object that has been determined to be non-defective. (B) A visual inspection method characterized by sequentially updating.
JP5979387A 1987-03-13 1987-03-13 Visual inspection Pending JPS63225111A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP5979387A JPS63225111A (en) 1987-03-13 1987-03-13 Visual inspection

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP5979387A JPS63225111A (en) 1987-03-13 1987-03-13 Visual inspection

Publications (1)

Publication Number Publication Date
JPS63225111A true JPS63225111A (en) 1988-09-20

Family

ID=13123515

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5979387A Pending JPS63225111A (en) 1987-03-13 1987-03-13 Visual inspection

Country Status (1)

Country Link
JP (1) JPS63225111A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2014202534A (en) * 2013-04-02 2014-10-27 株式会社東芝 Rotor blade measuring device and rotor blade measuring method
JP2022065961A (en) * 2020-10-16 2022-04-28 株式会社東芝 Determination device, determination system, determination method, program, and storage medium
JP7330417B1 (en) * 2022-10-21 2023-08-21 株式会社東芝 judgment device

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS62264894A (en) * 1986-01-17 1987-11-17 山陽国策パルプ株式会社 Method of re-examining number of chipped paper

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS62264894A (en) * 1986-01-17 1987-11-17 山陽国策パルプ株式会社 Method of re-examining number of chipped paper

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2014202534A (en) * 2013-04-02 2014-10-27 株式会社東芝 Rotor blade measuring device and rotor blade measuring method
JP2022065961A (en) * 2020-10-16 2022-04-28 株式会社東芝 Determination device, determination system, determination method, program, and storage medium
JP7330417B1 (en) * 2022-10-21 2023-08-21 株式会社東芝 judgment device
WO2024084675A1 (en) * 2022-10-21 2024-04-25 株式会社 東芝 Determination device
EP4390380A4 (en) * 2022-10-21 2024-11-20 Kabushiki Kaisha Toshiba Determination device

Similar Documents

Publication Publication Date Title
ATE356986T1 (en) ON-LINE TESTING DEVICE FOR AN INNER PART WITH SEVERAL LAMPS ARRANGED ON TWO SIDES
US5187573A (en) Inspection method and apparatus
JPS63225111A (en) Visual inspection
KR100484812B1 (en) Inspection method of surface by image sensor and the same apparatus
CN109596640B (en) Foreign matter detection method and device
GB2046433A (en) Defect inspection system
US4816052A (en) Method for monitoring the width of material in strip form
JPH05312625A (en) Weight sorting system
US4257264A (en) Tire checking apparatus
JPH1073419A (en) Device for inspecting erroneous and missing parts mounted externally on engine
KR102035997B1 (en) Method for Testing of Touch Electrode of Touch Screen Panel
JP5205224B2 (en) Component mounting state inspection device
JPH11264770A (en) Temperature measurement device for coal pile
JPS591978B2 (en) Object condition inspection device
JPS6014104A (en) Method for detecting edge of photographic paper
JPS60210745A (en) Visual sensor system
JP2000035320A (en) Inspection method and device using storage type line sensor
JPH0642935A (en) Appearance inspection apparatus of electronic component
JPS58744A (en) Inspecting method of bottle or the like
JPS58111743A (en) Evaluating device for state of surface
JP2001319223A (en) Pattern period measuring method and apparatus
KR100237304B1 (en) Method for detecting quality and position of image upon image comparisoon
JPH1196812A (en) Illumination device for defect detection
JPH05133907A (en) Printed board inspecting apparatus
JPH09101123A (en) Engine bracket inspection method