JPH11344449A - Appearance inspecting method - Google Patents
Appearance inspecting methodInfo
- Publication number
- JPH11344449A JPH11344449A JP15031498A JP15031498A JPH11344449A JP H11344449 A JPH11344449 A JP H11344449A JP 15031498 A JP15031498 A JP 15031498A JP 15031498 A JP15031498 A JP 15031498A JP H11344449 A JPH11344449 A JP H11344449A
- Authority
- JP
- Japan
- Prior art keywords
- image
- processing
- difference image
- value
- area
- 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
Links
Landscapes
- Investigating Materials By The Use Of Optical Means Adapted For Particular Applications (AREA)
- Electric Connection Of Electric Components To Printed Circuits (AREA)
Abstract
Description
【0001】[0001]
【発明の属する技術分野】この発明は、検査対象物、特
にプリント基板の外観を検査するための外観検査方法に
関する。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an appearance inspection method for inspecting an object to be inspected, in particular, a printed circuit board.
【0002】[0002]
【従来の技術】従来、プリント基板のような検査対象物
の外観を検査するには、カメラによって検査対象物を撮
像し、得られた画像を2値化して、高輝度領域の面積を
計算することにより、その面積の大小等によって判断し
ていた。また、プリント基板に対してクリームはんだが
印刷された箇所のみを検査したい場合には、クリームは
んだに特有の輝度値を有する領域を、例えば、3値化に
より抽出してその面積を計算すること等により判断して
いる。2. Description of the Related Art Conventionally, in order to inspect the appearance of an inspection object such as a printed circuit board, the inspection object is imaged by a camera, the obtained image is binarized, and the area of a high-luminance area is calculated. Thus, the judgment was made based on the size of the area. In addition, when it is desired to inspect only a portion where the cream solder is printed on the printed circuit board, an area having a luminance value specific to the cream solder is extracted by, for example, ternarization, and its area is calculated. It is judged by.
【0003】[0003]
【発明が解決しようとする課題】しかしながら、上述し
た従来の外観検査方法では、一定範囲の輝度条件を満足
する領域は、全て検査対象領域として抽出され、その面
積の計算が行われるため、実際には、検査対象領域では
ない領域までも判断が行われてしまうという不都合があ
る。例えば、クリームはんだ領域のみを検査対象とした
い場合においても、その輝度が、場合によっては、クリ
ームはんだの輝度と近似することがあるシルク印刷部
分、銅箔部分、基板のパターン部分等も検査対象領域と
して抽出されてしまうことが十分に考えられる。However, in the above-described conventional visual inspection method, all regions satisfying a certain range of luminance conditions are extracted as inspection target regions and their areas are calculated. However, there is an inconvenience that the determination is performed even in an area that is not the inspection target area. For example, even when it is desired to inspect only the cream solder area, the luminance of the silk-printed part, the copper foil part, the pattern part of the board, and the like, which may be similar to the luminance of the cream solder, may be the inspection target area. It is quite possible that it is extracted as
【0004】このような場合には、誤った合否判定が行
われるのみならず、不要な計算および判断等の処理を行
うため、判定に要する時間が長くなってしまう不都合が
ある。一方、これらの実際には検査対象領域ではない領
域については、作業者がモニターを見ながら手動で排除
して、真の検査対象領域のみを検査する方法も考えられ
るが、この処理にも多大な時間を要することは明白であ
る。[0004] In such a case, not only erroneous pass / fail judgment is performed, but also unnecessary calculation and judgment processing are performed, so that the time required for judgment becomes longer. On the other hand, it is conceivable that a worker manually removes these areas that are not actually the inspection target areas while looking at the monitor, and inspects only the true inspection target areas. Obviously it takes time.
【0005】本発明は、上述した事情に鑑みてなされた
ものであって、プリント基板のような検査対象物の検査
を行うべき場所のみを、正確かつ迅速に抽出して、精度
の高い外観検査を行うことができる外観検査方法を提供
することを目的としている。SUMMARY OF THE INVENTION The present invention has been made in view of the above circumstances, and accurately and quickly extracts only a place where a test object such as a printed circuit board is to be inspected, thereby achieving a highly accurate appearance inspection. It is an object of the present invention to provide a visual inspection method capable of performing the following.
【0006】[0006]
【課題を解決するための手段】上記目的を達成するため
に、本発明は、検査対象物に対して所定の処理が施され
た特定領域のみを検査する方法であって、処理前の検査
対象物を撮像してその画像を格納するステップと、処理
後の検査対象物を撮像するステップと、撮像された処理
後の画像および格納されている処理前の画像の一方を他
方から減算して差画像を生成するステップと、差画像に
現れた特定領域の画像に基づいて処理の適否を判定する
ステップとを具備する外観検査方法を提案している。In order to achieve the above object, the present invention provides a method for inspecting only a specific area in which a predetermined process has been performed on an object to be inspected. Imaging the object and storing the image; capturing the processed inspection object; subtracting one of the captured processed image and the stored unprocessed image from the other to obtain a difference. There is proposed an appearance inspection method including a step of generating an image and a step of determining whether or not processing is appropriate based on an image of a specific region appearing in the difference image.
【0007】また、上記外観検査方法においては、処理
の適否を判定するステップが、生成された差画像のう
ち、所定値以下の絶対値を有する画素の値をゼロ値に設
定するステップを具備することとすれば、効果的であ
る。In the above-described visual inspection method, the step of determining whether or not the processing is appropriate includes the step of setting a pixel value having an absolute value equal to or less than a predetermined value to a zero value in the generated difference image. It is effective.
【0008】[0008]
【作用】本発明に係る外観検査方法によれば、処理の前
後における画像を減算して差画像を生成するので、処理
の前後において異なる部分、すなわち、処理の行われた
領域のみが確実に抽出される。その結果、処理の行われ
た特定領域の輝度と近似する輝度を有する非処理領域が
存在しても、そのような領域は差画像から抹消され、検
査対象から排除されることになる。According to the appearance inspection method of the present invention, the difference image is generated by subtracting the images before and after the processing, so that only the different part before and after the processing, that is, only the processed area is reliably extracted. Is done. As a result, even if there is a non-processed area having a luminance close to the luminance of the processed specific area, such an area is deleted from the difference image and excluded from the inspection target.
【0009】また、差画像のうち所定値以下の絶対値を
有する画素の値をゼロ値に設定することにより、照明の
変動等の撮像条件の変化により両画像に含まれることと
なった誤差を確実に排除して、処理の行われた特定領域
のみをさらに確実に抽出して、処理の適否を判定するこ
とが可能となる。Further, by setting the value of a pixel having an absolute value equal to or less than a predetermined value in the difference image to a zero value, an error included in both images due to a change in imaging conditions such as a change in illumination can be eliminated. It is possible to more reliably exclude only the processed specific area and to determine whether the processing is appropriate.
【0010】[0010]
【発明の実施の形態】以下、本発明に係る外観検査方法
の一実施形態について、図1を参照しながら説明する。
本実施形態に係る外観検査方法は、プリント基板の銅箔
部分のうち、クリームはんだを印刷する銅箔部分のみを
検査領域として抽出して検査する方法であって、図1に
示されるように、第1の撮像ステップS1と、第2の撮
像ステップS2と、差画像生成ステップS3と、不要画
素除去ステップS4と、判定ステップS5とを具備して
いる。DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS One embodiment of the appearance inspection method according to the present invention will be described below with reference to FIG.
The appearance inspection method according to the present embodiment is a method of extracting and inspecting only a copper foil portion on which a cream solder is printed, as an inspection region, from among the copper foil portions of the printed circuit board, and as shown in FIG. It includes a first imaging step S1, a second imaging step S2, a difference image generation step S3, an unnecessary pixel removal step S4, and a determination step S5.
【0011】前記第1の撮像ステップS1は、クリーム
はんだを印刷する前のプリント基板(ベアボード)を撮
像するステップS11と、撮像されたベアボードの画像
をメモリ(図示略)に格納しておく格納ステップS12
とを具備している。前記第2の撮像ステップS2は、ク
リームはんだを印刷した後のプリント基板を撮像する。The first imaging step S1 includes a step S11 of imaging a printed circuit board (bare board) before printing the cream solder, and a storing step of storing the captured image of the bare board in a memory (not shown). S12
Is provided. The second imaging step S2 captures an image of the printed circuit board after printing the cream solder.
【0012】前記差画像生成ステップS3は、前記第2
の撮像ステップS2において取得されたクリームはんだ
を印刷した後のプリント基板の画像から、前記格納ステ
ップS12において格納されたベアボードの画像を減算
することにより両画像の差画像を生成する。例えば、同
一の照明条件等の理想的な条件下では、クリームはんだ
印刷処理が施される前後の画像において、画素の値が異
なる領域は、クリームはんだが印刷された特定領域のみ
であると推定することができる。したがって、両画像の
対応する画素どうしを減算して得られる差画像には、上
記特定領域のみが抽出されることになる。The difference image generating step S3 includes the step of
The difference image between the two images is generated by subtracting the image of the bare board stored in the storing step S12 from the image of the printed circuit board after printing the cream solder obtained in the imaging step S2. For example, under ideal conditions such as the same lighting conditions, it is estimated that in the images before and after the cream solder printing process is performed, the region where the pixel value is different is only the specific region where the cream solder is printed. be able to. Therefore, only the specific region is extracted from the difference image obtained by subtracting the corresponding pixels between the two images.
【0013】前記不要画素除去ステップS4は、前記差
画像生成ステップS3において得られた差画像に、何ら
かの誤差が含まれる場合に、これを判断対象としての画
像から除去することを目的として行われるものである。
例えば、上述した理想的な条件下において第1および第
2の撮像ステップS1,S2が行われなかった場合、す
なわち、照明条件の変動等により、本来同一輝度として
得られるべき画素の値が異なる輝度を有する画素として
撮像された場合には、差画像には、その照明の変動分の
輝度が現れることになる。この輝度値は、例えば、第1
の撮像ステップS1の照明の方が明るい場合には負の値
となり、逆の場合は正の値となるが、いずれにしても、
その絶対値は小さいものである。したがって、一定のし
きい値を設定しておき、そのしきい値以下の値を有する
画素をゼロ値に設定することにより、これらの不要画素
を検査対象から除去することができることになる。The unnecessary pixel removing step S4 is performed for the purpose of removing any error from the image to be determined when the difference image obtained in the difference image generating step S3 contains any error. It is.
For example, if the first and second imaging steps S1 and S2 are not performed under the ideal conditions described above, that is, the luminance of the pixel that should be originally obtained as the same luminance differs due to a change in the illumination condition or the like. In the case where the image is captured as a pixel having, the difference image shows the luminance corresponding to the variation of the illumination. This luminance value is, for example, the first
If the illumination in the imaging step S1 is brighter, the value is a negative value, and if the illumination is opposite, the value is a positive value.
Its absolute value is small. Therefore, by setting a certain threshold value and setting pixels having a value equal to or less than the threshold value to zero, these unnecessary pixels can be removed from the inspection target.
【0014】そして、前記判定ステップS5において
は、例えば、差画像生成ステップS4において得られ、
不要画素除去ステップS4において誤差を除去された、
特定領域に相当する画像の面積を計算する。その後、計
算された面積を、例えば、予め設定しておいた設定値と
比較し、同等であれば、クリームはんだ印刷処理が適正
であると判定し、設定値に対して大き過ぎたり小さ過ぎ
たりする場合には、不適正な処理であると判定する。In the determination step S5, for example, the difference image is obtained in the difference image generation step S4.
The error has been removed in the unnecessary pixel removal step S4,
The area of the image corresponding to the specific area is calculated. Thereafter, the calculated area is compared with, for example, a set value set in advance, and if they are equal, it is determined that the cream solder printing process is appropriate, and the area is too large or too small with respect to the set value. If so, it is determined that the processing is inappropriate.
【0015】この場合において、本実施形態に係る外観
検査方法によれば、クリームはんだ印刷のような処理の
前後における画像から差画像を生成して、処理が行われ
た特定領域のみを確実に抽出することにより検査が行わ
れるので、特定領域以外の領域を検査対象として処理す
る不都合が回避され、正確かつ迅速な検査を行うことが
できるという効果を奏する。In this case, according to the appearance inspection method according to the present embodiment, a difference image is generated from images before and after a process such as cream solder printing, and only a specific region subjected to the process is reliably extracted. By doing so, the inspection is performed, so that the inconvenience of processing an area other than the specific area as an inspection target is avoided, and an effect that an accurate and quick inspection can be performed is achieved.
【0016】なお、本実施形態においては、検査対象物
としてプリント基板を想定し、処理としてクリームはん
だ印刷処理を想定したが、これに代えて、他の任意の検
査対象物および処理、例えば、部品の存在を発見・検査
する欠品検査装置や、欠陥を検査する欠陥検査装置およ
び異物混入を発見することを目的とする検査装置におい
て実施することにしてもよい。In this embodiment, a printed circuit board is assumed as an inspection object, and cream solder printing processing is assumed as a processing. Alternatively, any other inspection object and processing, such as a component, may be used. The inspection may be performed by a missing item inspection device that detects and inspects the presence of a defect, a defect inspection device that inspects a defect, and an inspection device that aims to find contamination.
【0017】また、上記差画像生成ステップS3におい
ては、クリームはんだ印刷処理後の画像から処理前の画
像を減算することにより差画像を生成したが、これとは
逆に、処理前の画像から処理後の画像を減算することに
より差画像を生成してもよい。In the difference image generating step S3, the difference image is generated by subtracting the image before the processing from the image after the cream solder printing processing. Conversely, the difference image is generated from the image before the processing. A difference image may be generated by subtracting a subsequent image.
【0018】[0018]
【発明の効果】以上、詳述したように、本発明に係る外
観検査方法によれば、処理の前後における画像を減算し
て差画像を生成するので、処理の行われた領域のみを確
実に抽出することができる。その結果、処理の行われた
特定領域の輝度と近似する輝度を有する非処理領域が存
在しても、そのような領域を検査対象から排除した状態
で外観検査を行うので、正確かつ迅速な検査を実施する
ことができるという効果を奏する。As described above in detail, according to the appearance inspection method of the present invention, the difference image is generated by subtracting the image before and after the processing, so that only the processed area can be reliably detected. Can be extracted. As a result, even if there is a non-processed area having a luminance close to the luminance of the specific area where the processing has been performed, the appearance inspection is performed in a state where such an area is excluded from the inspection target, so that accurate and quick inspection is performed. Is achieved.
【図1】 本発明に係る外観検査方法の一実施形態を示
すフローチャートである。FIG. 1 is a flowchart showing one embodiment of a visual inspection method according to the present invention.
S1,S2 撮像ステップ S3 差画像生成ステップ S4 不要画素除去ステップ S5 判定ステップ S1, S2 imaging step S3 difference image generation step S4 unnecessary pixel removal step S5 determination step
───────────────────────────────────────────────────── フロントページの続き (72)発明者 佐藤 義明 神奈川県横浜市金沢区福浦1−1−1 株 式会社シム内 ──────────────────────────────────────────────────続 き Continued on the front page (72) Inventor Yoshiaki Sato 1-1-1 Fukuura, Kanazawa-ku, Yokohama, Kanagawa
Claims (2)
た特定領域のみを検査する方法であって、 処理前の検査対象物を撮像してその画像を格納するステ
ップと、 処理後の検査対象物を撮像するステップと、 撮像された処理後の画像および格納されている処理前の
画像の一方を他方から減算して差画像を生成するステッ
プと、 差画像に現れた特定領域の画像に基づいて処理の適否を
判定するステップとを具備することを特徴とする外観検
査方法。1. A method for inspecting only a specific area in which a predetermined process has been performed on an inspection object, the method comprising: capturing an inspection object before processing and storing an image thereof; Imaging a test object; subtracting one of the captured image after processing and the stored image before processing from the other to generate a difference image; and an image of a specific region appearing in the difference image Determining the suitability of the processing based on the visual inspection method.
生成された差画像のうち、所定値以下の絶対値を有する
画素の値をゼロ値に設定するステップを具備することを
特徴とする請求項1記載の外観検査方法。2. The step of judging whether the processing is appropriate or not,
2. The visual inspection method according to claim 1, further comprising: setting a value of a pixel having an absolute value equal to or smaller than a predetermined value to a zero value in the generated difference image.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP15031498A JPH11344449A (en) | 1998-05-29 | 1998-05-29 | Appearance inspecting method |
KR1019990001753A KR19990087848A (en) | 1998-05-29 | 1999-01-21 | Inspection Region Preparing Method and Visual Inspection Method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP15031498A JPH11344449A (en) | 1998-05-29 | 1998-05-29 | Appearance inspecting method |
Publications (1)
Publication Number | Publication Date |
---|---|
JPH11344449A true JPH11344449A (en) | 1999-12-14 |
Family
ID=15494323
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP15031498A Pending JPH11344449A (en) | 1998-05-29 | 1998-05-29 | Appearance inspecting method |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPH11344449A (en) |
Cited By (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2007187549A (en) * | 2006-01-13 | 2007-07-26 | Tokyo Seimitsu Co Ltd | Visual inspection system for semiconductor, visual inspection method and semiconductor manufacturing apparatus |
JP2007232552A (en) * | 2006-03-01 | 2007-09-13 | Hitachi Plant Technologies Ltd | Solder paste printing inspection method |
JP2007527506A (en) * | 2003-06-19 | 2007-09-27 | ディーイーケー インターナショナル ジーエムビーエイチ | Inspection system and method for inspecting deposits printed on a workpiece |
US7290489B2 (en) | 2004-08-26 | 2007-11-06 | Samsung Electronics Co., Ltd. | Substrate inspecting apparatus and control method thereof |
US7310406B2 (en) | 2004-06-30 | 2007-12-18 | Omron Corporation | Inspection method and system for and method of producing component mounting substrate |
JP2008082714A (en) * | 2006-09-26 | 2008-04-10 | Fuji Mach Mfg Co Ltd | Screen printing inspection method and screen printing inspection device |
JP2008103411A (en) * | 2006-10-17 | 2008-05-01 | Yamaha Motor Co Ltd | Method of identifying cause of packaging failure, and packaging substrate manufacturing apparatus |
JP2009075113A (en) * | 2007-09-21 | 2009-04-09 | Bobst Sa | Surface quality measurement method of substrate and associated machine for converting substrate |
WO2014184855A1 (en) * | 2013-05-13 | 2014-11-20 | 富士機械製造株式会社 | Component mounting machine |
JP2014228274A (en) * | 2013-05-17 | 2014-12-08 | 富士機械製造株式会社 | Method for inspecting foreign matter on circuit board and foreign matter inspection device |
-
1998
- 1998-05-29 JP JP15031498A patent/JPH11344449A/en active Pending
Cited By (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2011081006A (en) * | 2003-06-19 | 2011-04-21 | Dtg Internatl Gmbh | Inspection system for and method of inspecting deposit printed on workpiece |
JP2007527506A (en) * | 2003-06-19 | 2007-09-27 | ディーイーケー インターナショナル ジーエムビーエイチ | Inspection system and method for inspecting deposits printed on a workpiece |
US9791383B2 (en) | 2003-06-19 | 2017-10-17 | Asm Assembly Systems Switzerland Gmbh | Inspection system for and method of inspecting deposits printed on workpieces |
US7310406B2 (en) | 2004-06-30 | 2007-12-18 | Omron Corporation | Inspection method and system for and method of producing component mounting substrate |
US7290489B2 (en) | 2004-08-26 | 2007-11-06 | Samsung Electronics Co., Ltd. | Substrate inspecting apparatus and control method thereof |
JP2007187549A (en) * | 2006-01-13 | 2007-07-26 | Tokyo Seimitsu Co Ltd | Visual inspection system for semiconductor, visual inspection method and semiconductor manufacturing apparatus |
JP2007232552A (en) * | 2006-03-01 | 2007-09-13 | Hitachi Plant Technologies Ltd | Solder paste printing inspection method |
JP2008082714A (en) * | 2006-09-26 | 2008-04-10 | Fuji Mach Mfg Co Ltd | Screen printing inspection method and screen printing inspection device |
JP2008103411A (en) * | 2006-10-17 | 2008-05-01 | Yamaha Motor Co Ltd | Method of identifying cause of packaging failure, and packaging substrate manufacturing apparatus |
JP2009075113A (en) * | 2007-09-21 | 2009-04-09 | Bobst Sa | Surface quality measurement method of substrate and associated machine for converting substrate |
WO2014184855A1 (en) * | 2013-05-13 | 2014-11-20 | 富士機械製造株式会社 | Component mounting machine |
JP6037580B2 (en) * | 2013-05-13 | 2016-12-07 | 富士機械製造株式会社 | Component mounter |
JP2014228274A (en) * | 2013-05-17 | 2014-12-08 | 富士機械製造株式会社 | Method for inspecting foreign matter on circuit board and foreign matter inspection device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR20110040965A (en) | Visual examination apparatus | |
JPH11344449A (en) | Appearance inspecting method | |
JP3589424B1 (en) | Board inspection equipment | |
US7551765B2 (en) | Electronic component detection system | |
JP3447572B2 (en) | Inspection method for component connection | |
JPH1086322A (en) | Method and apparatus for inspecting cream solder print | |
JPH05256791A (en) | Inspecting apparatus of defect of board | |
JP4180127B2 (en) | Cream solder printing inspection apparatus and cream solder printing inspection method | |
JP3018878B2 (en) | Picture inspection equipment | |
JP2006284543A (en) | Method and device for inspecting mounted circuit board | |
JP2006145228A (en) | Unevenness defect detecting method and unevenness defect detector | |
JP2006035505A (en) | Method and device for inspecting printed matter | |
JP2007101415A (en) | Inspection device | |
JP3771329B2 (en) | Electronic component mounting direction inspection method | |
JP2005156381A (en) | Inspection device for electronic device | |
JPH07218343A (en) | Visual inspection device for printed circuit board | |
JPH06174444A (en) | Soldered state inspection method for discrete type electronic component | |
JP2005258724A (en) | Product inspecting equipment | |
JP2000121495A (en) | Screen inspection method | |
JPH0735699A (en) | Method and apparatus for detecting surface defect | |
JP2001343337A (en) | Printed wiring board defect detector | |
KR19990087848A (en) | Inspection Region Preparing Method and Visual Inspection Method | |
JP4889018B2 (en) | Appearance inspection method | |
JP2007147320A (en) | Inspection device | |
WO2012164655A1 (en) | Automatic inspection device and automatic inspection method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20040422 |
|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20050526 |
|
A977 | Report on retrieval |
Effective date: 20070619 Free format text: JAPANESE INTERMEDIATE CODE: A971007 |
|
A131 | Notification of reasons for refusal |
Effective date: 20070703 Free format text: JAPANESE INTERMEDIATE CODE: A131 |
|
A02 | Decision of refusal |
Effective date: 20071218 Free format text: JAPANESE INTERMEDIATE CODE: A02 |