JP2005214659A - Foreign matter detection device and manufacturing method of wiring substrate - Google Patents

Foreign matter detection device and manufacturing method of wiring substrate Download PDF

Info

Publication number
JP2005214659A
JP2005214659A JP2004018569A JP2004018569A JP2005214659A JP 2005214659 A JP2005214659 A JP 2005214659A JP 2004018569 A JP2004018569 A JP 2004018569A JP 2004018569 A JP2004018569 A JP 2004018569A JP 2005214659 A JP2005214659 A JP 2005214659A
Authority
JP
Japan
Prior art keywords
image
color
detected
camera
foreign
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
JP2004018569A
Other languages
Japanese (ja)
Inventor
Hideaki Sugiyama
秀昭 杉山
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.)
Denso Electronics Corp
Original Assignee
Anden 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 Anden Co Ltd filed Critical Anden Co Ltd
Priority to JP2004018569A priority Critical patent/JP2005214659A/en
Publication of JP2005214659A publication Critical patent/JP2005214659A/en
Pending legal-status Critical Current

Links

Images

Landscapes

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

Abstract

<P>PROBLEM TO BE SOLVED: To discriminate even foreign matter in a color having small contrast to the color of a wiring substyrate. <P>SOLUTION: An image processing device part 3 is equipped with a color extraction processing part 31e aiming as a reference color at the surface 7a color of the wiring substrate 7 from an image of a lead 11 of a QFP element 10 photographed by a color CCD camera 1, and extracting the reference color. The surface 7a color of the wiring substrate 7 in the image photographed by the color CCD camera 1 is used as the reference color, and the reference color is aimed at and extracted in this way. Therefore, even if the foreign substance has a color similar to the surface color of the wiring substrate 7, the difference with the reference color becomes clear. Consequently, even the foreign substance in the color having small contrast to the reference color can be discriminated. <P>COPYRIGHT: (C)2005,JPO&NCIPI

Description

本発明は、配線基板に付着した異物の検出を行う異物検出装置および配線基板の製造方法に関するものである。   The present invention relates to a foreign matter detection device that detects foreign matter attached to a wiring board and a method for manufacturing the wiring board.

従来、異物検出装置では、カラーCCDカメラで明るい色から暗い色まで全域をカバーするような照明明度で撮影し、基板表面の濃い緑色とのコントラストの相違に基づき、配線基板上に異物が付着しているか否かを識別している。例えば、配線基板上に付着する異物としてどのようあものがあるかは、配線基板の製造工程から想定され、例えばはんだ屑などが異物となり得ると特定できるため、想定される異物の色を認識しておき、その色と基板表面の濃い緑色とがコントラストに差が生じるため、その差に基づいて上記識別を行っている。   Conventionally, a foreign object detection device takes a picture with an illumination brightness that covers the entire area from a bright color to a dark color with a color CCD camera, and the foreign object adheres on the wiring board based on the difference in contrast with the dark green on the substrate surface. Or not. For example, the type of foreign matter adhering to the wiring board is assumed from the manufacturing process of the wiring board. For example, it can be identified that solder scraps can become foreign matter, so the color of the assumed foreign matter is recognized. Since the contrast between the color and the dark green color on the substrate surface is different, the identification is performed based on the difference.

具体的には、異物検出装置は、撮影対象物となる配線基板の搭載位置に対して、カラーCCDカメラがXY方向(水平方向)およびZ方向(鉛直方向)に相対移動可能となっている。このため、配線基板のうち撮影を行いたい位置にカラーCCDカメラを移動させたのち、ノーマルレンズを用いて画像を拡大し、その拡大された画像を利用して異物の検出を行っている。   Specifically, in the foreign object detection device, the color CCD camera is relatively movable in the XY direction (horizontal direction) and the Z direction (vertical direction) with respect to the mounting position of the wiring board that is the object to be photographed. For this reason, after moving the color CCD camera to a position on the wiring board to be photographed, the image is enlarged using a normal lens, and foreign objects are detected using the enlarged image.

また、従来、異物検出として、配線基板上に搭載される素子のリードに導電性異物が付着して近隣のリード同士が短絡したことを電気的に検査する装置もある(例えば、特許文献1参照)。
特開平10−170583号公報
Conventionally, as a foreign object detection, there is also an apparatus that electrically inspects that a conductive foreign object adheres to a lead of an element mounted on a wiring board and adjacent leads are short-circuited (see, for example, Patent Document 1). ).
Japanese Patent Laid-Open No. 10-170583

しかしながら、上記した従来の異物検出装置によると、以下のような問題点がある。   However, the conventional foreign matter detection apparatus described above has the following problems.

(1)カラーCCDカメラで明るい色から暗い色まで全域をカバーするような照明明度で撮影した場合、例えばRGB256分割の解像度では、異物が黒色や基板表面の濃い緑色などの場合には、コントラストが小さくなる。このため、基板表面の濃い緑色とコントラストが大きい明るい異物(例えばはんだ屑)については識別可能であるが、コントラストが小さい濃い色の異物については判別できなかった。   (1) When photographing with illumination brightness that covers the entire area from a bright color to a dark color with a color CCD camera, for example, with a resolution of RGB256 division, if the foreign material is black or dark green on the substrate surface, the contrast is Get smaller. For this reason, it is possible to discriminate between a dark green color on the substrate surface and a bright foreign material (for example, solder scraps) having a large contrast, but a dark color foreign material having a small contrast cannot be identified.

(2)画像処理による異物検査では、異物対象物となる異物の色を基に抽出する場合、異物の色のバリエーションに応じた検出処理回数が必要となり、処理時間が長くなるという問題がある。   (2) In the foreign matter inspection by image processing, when extracting based on the color of the foreign matter that is the foreign matter target, there is a problem that the number of times of detection processing corresponding to the color variation of the foreign matter is required and the processing time becomes long.

(3)図7(a)に示されるように、ライトガイドJ1からの光が基板表面J2で反射し、正反射光J3となってCCDカメラJ4に映し出される。この正反射光J3、特にフラックス残渣J5の表面での正反射光は、CCDカメラJ4の画像において、はんだ屑などの光沢金属異物と同様に映し出され、CCDカメラJ4の画像によってこれらを区別することができないという問題がある。   (3) As shown in FIG. 7A, the light from the light guide J1 is reflected by the substrate surface J2, and is reflected on the CCD camera J4 as regular reflected light J3. The specularly reflected light J3, particularly the specularly reflected light on the surface of the flux residue J5, is displayed in the image of the CCD camera J4 in the same manner as the bright metallic foreign matter such as solder scraps, and these are distinguished by the image of the CCD camera J4. There is a problem that can not be.

これに対し、図7(b)に示されるように、照射角度θを大きく、例えば45°以上として照明を照射すれば、フラックス残渣J5などの正反射光J3がCCDカメラJ4側に向かわないようにできるため、この問題を解決できると考えられる。しかしながら、図7(c)に示されるように、撮影対象物となる素子J6の近傍にTHD(Through Hole Device)など背の高い実装部品J7があると照明が遮られてしまい、撮影対象物となる素子J6のリード間の空隙へ陰を作らず一様な照明を当てることが困難である。   On the other hand, as shown in FIG. 7B, if the illumination angle θ is large, for example, 45 ° or more, the regular reflected light J3 such as the flux residue J5 does not go to the CCD camera J4 side. This problem can be solved. However, as shown in FIG. 7C, if there is a tall mounting component J7 such as a THD (Through Hole Device) in the vicinity of the element J6 that is the object to be photographed, the illumination is blocked, It is difficult to apply uniform illumination without creating a shadow on the gap between the leads of the element J6.

(4)微小な異物を画像として捕らえるためにノーマルレンズで画像を拡大すると、ノーマルレンズでの被写界深度が深くないため、異物付着高さの相違により異物の大きさが変わってしまい、正確な測定ができないという問題がある。例えば、撮影対象物となる素子のリードに段差があった場合、リードのうち高い位置と低い位置いずれにも異物が付着する可能性があるが、その付着位置に応じて同じ異物であっても画像として捕らえたときの異物の大きさが一致しなくなる。このため、どのような異物がリードに付着したかを測定することができなくなる。   (4) When an image is magnified with a normal lens to capture minute foreign matter as an image, the depth of field with the normal lens is not deep, and the size of the foreign matter changes due to the difference in foreign matter adhesion height. There is a problem that accurate measurement is not possible. For example, if there is a step in the lead of the element that is the object to be photographed, foreign matter may adhere to both the high and low positions of the lead. The size of the foreign matter when captured as an image does not match. For this reason, it becomes impossible to measure what foreign matter has adhered to the lead.

(5)配線基板を冶具に固定する際のずれや配線基板自体の印刷時のずれおよびQFP(Quad Flat Package)など素子の実装ずれにより、一定量の搬送位置決めで撮影したカメラ画像では、検出したいエリアの画像が完全に撮影できなかったり、またその画像の意図する位置へ画像処理の計測ウィンドウが精度良く設定できないという問題がある。   (5) I want to detect in camera images taken with a fixed amount of transport positioning due to misalignment when fixing the circuit board to the jig, misalignment when printing the circuit board itself, and misalignment of elements such as QFP (Quad Flat Package). There is a problem that the image of the area cannot be completely photographed, and the measurement window for image processing cannot be accurately set at the intended position of the image.

また、上記した特許文献1に記載の異物検出においても、導電性異物が完全に付着していなかったり一本のリードにのみ導電性異物が付着したようなルーズコンタクト状態の場合には、異物が付着したことを検出することができないという問題がある。   Also, in the foreign matter detection described in Patent Document 1 described above, if the conductive foreign matter is not completely attached or if the conductive foreign matter is attached to only one lead, the foreign matter is detected. There is a problem that it is not possible to detect the attachment.

本発明は、上記点に鑑み、上記問題点の少なくとも1つを解決できる配線基板の異物検出装置および配線基板の製造方法を提供することを目的とする。   In view of the above points, an object of the present invention is to provide a wiring board foreign matter detection apparatus and a wiring board manufacturing method capable of solving at least one of the above problems.

上記目的を達成するため、請求項1に記載の発明では、基板(7)上に搭載された被検出対象物(10、11)に向けて光を照射する照明装置部(4)と、被検出対象物(10、11)の画像を所定の分解能で撮影するカメラ(1)と、カメラ(1)によって撮影された画像に対して画像処理を行う画像処理装置部(3)とを備え、照明装置部(4)によって光を照射させつつ、カメラ(1)により被検出対象物(10、11)の画像を撮影することで、被検出対象物(10、11)に付着した異物の検出を行う異物検出装置であって、画像処理装置部(3)には、カメラ(1)によって撮影された被検出対象物(10、11)の画像から基板(7)の表面(7a)の色を基準色として照準をあて、その基準色を抽出する色抽出処理部(31e)が備えられていることを特徴としている。   In order to achieve the above object, according to the first aspect of the present invention, there is provided an illuminating device section (4) for irradiating light toward a detection target object (10, 11) mounted on a substrate (7), A camera (1) that captures an image of the detection object (10, 11) with a predetermined resolution, and an image processing device (3) that performs image processing on the image captured by the camera (1); Detection of foreign matter attached to the detection target object (10, 11) by taking an image of the detection target object (10, 11) with the camera (1) while irradiating light with the illumination device (4). The image processing unit (3) includes a color of the surface (7a) of the substrate (7) from the image of the detection target object (10, 11) photographed by the camera (1). A color extraction processing unit (31 for extracting the reference color with the sight as the reference color ) It is characterized in that is provided.

このように、カメラ(1)で撮影された画像の基準色に照準をあて、その基準色を抽出するようにしている。このため、異物(17)が基板(7)の表面に近い色であったとしても、基準色との差が明確となる。したがって、基準色に対してコントラストが小さい色の異物についても判別することが可能となる。   In this way, the reference color of the image taken by the camera (1) is aimed and the reference color is extracted. For this reason, even if the foreign material (17) has a color close to the surface of the substrate (7), the difference from the reference color becomes clear. Therefore, it is possible to discriminate foreign matter having a color with a small contrast with respect to the reference color.

請求項2に記載の発明では、画像処理装置部(3)は、色抽出処理部(31e)によって基準色を抽出した画像を2値化反転するようになっていることを特徴としている。このように、2値化反転した画像とすれば、その2値化反転された画像から、被検出対象物(10、11)とは異なる画像が確認されたときに、その画像部分を異物(17)として検出することができる。   The invention according to claim 2 is characterized in that the image processing unit (3) binarizes and inverts the image from which the reference color is extracted by the color extraction processing unit (31e). In this way, when an image that is binarized and inverted is used, when an image different from the detected object (10, 11) is confirmed from the binarized and inverted image, the image portion is changed to a foreign object ( 17).

請求項3に記載の発明では、照明装置部(4)は、光源(41)と、光源(41)からの光を照射するライトガイド(42)と、ライトガイド(42)の光を反射すると共にその反射光を被検出対象物(10、11)に対して斜めに照射する反射鏡(43)とを備えていることを特徴としている。   In the invention according to claim 3, the illuminating device section (4) reflects the light from the light source (41), the light guide (42) that emits light from the light source (41), and the light guide (42). And a reflecting mirror (43) that irradiates the object to be detected (10, 11) obliquely with the reflected light.

このような構成によれば、ライトガイド(42)が入り込めない隙間にも反射鏡(43)を入り込ませることが可能となり、仮に被検出対象物(10、11)の近傍に背の高い実装部品があっても、照明が遮られないようにでき、被検出対象物(10、11)の被検出箇所へ陰を作らず一様な照明を当てることができる。   According to such a configuration, it is possible to allow the reflecting mirror (43) to enter the gap where the light guide (42) cannot enter, and it is assumed that the mounting is tall in the vicinity of the detection target object (10, 11). Even if there is a part, the illumination can be prevented from being interrupted, and uniform illumination can be applied to the detected part of the detection target object (10, 11) without creating a shade.

請求項4に記載の発明では、カメラ(1)には、テレセントリックレンズ(1a)が装着されていることを特徴としている。   The invention described in claim 4 is characterized in that the camera (1) is equipped with a telecentric lens (1a).

このように、カメラ(1)にテレセントリックレンズ(1a)を取り付けて画像を撮影すれば、ノーマルレンズと比べて測定深度を深くすることが可能となる。従って、高さが異なる部分に異物が付着したとしても、それらによる段差に関わらず、画像として捕らえたときの異物の大きさをほぼ一致させることができ、どのような異物がリードに付着したかを測定することができる。   In this way, if the telecentric lens (1a) is attached to the camera (1) and an image is taken, the measurement depth can be increased as compared with the normal lens. Therefore, even if foreign matter adheres to parts with different heights, the size of the foreign matter when captured as an image can be made almost the same regardless of the level difference between them, and what kind of foreign matter has adhered to the lead. Can be measured.

請求項5に記載の発明では、異物検出方法において、照明装置部(4)によって光を照射させつつ、カメラ(1)により被検出対象物(10、11)の画像を撮影するステップと、画像処理装置部(3)により、カメラ(1)によって撮影された被検出対象物(10、11)の画像から基板(7)の表面(7a)の色を基準色として照準をあて、その基準色を抽出するステップと、基準色を抽出した画像に基づいて被検出対象物(10、11)に付着した異物(17)の検出を行うステップと、を有していることを特徴としている。このような異物検出方法によれば、請求項1に示した効果を得ることができる。   According to a fifth aspect of the present invention, in the foreign object detection method, a step of taking an image of the detection target object (10, 11) with the camera (1) while irradiating light with the illumination device section (4); The processing unit (3) aims the color of the surface (7a) of the substrate (7) from the image of the detected object (10, 11) photographed by the camera (1) as a reference color, and the reference color And a step of detecting the foreign matter (17) adhering to the detection target object (10, 11) based on the image from which the reference color is extracted. According to such a foreign matter detection method, the effect shown in claim 1 can be obtained.

請求項6に記載の発明では、基準色を抽出した画像を2値化反転するステップを有し、異物(17)の検出を行うステップでは、2値化反転された画像から、被検出対象物(10、11)とは異なる画像が確認されたときに、その画像部分を異物(17)として検出することを特徴としている。このような異物検出方法によれば、請求項2に示した効果を得ることができる。   According to the sixth aspect of the invention, there is a step of binarizing and reversing the image from which the reference color is extracted, and in the step of detecting the foreign matter (17), the object to be detected is detected from the binarized and reversal image. When an image different from (10, 11) is confirmed, the image portion is detected as a foreign object (17). According to such a foreign matter detection method, the effect described in claim 2 can be obtained.

請求項7に記載の発明では、被検出対象物(10、11)を搭載したサンプル基板を冶具(8)に載せたのち、カメラ(1)で撮影し、サンプル基板に形成された実装基準マークと、被検出対象物(10、11)のうち異物検出を行う被検出箇所との位置関係を基準データとして記憶すると共に、被検出対象物(10、11)における任意の場所(11a)を基準点として記憶するステップと、被検出対象物(10、11)を搭載した基板(7)を冶具(8)に載せたのち、カメラ(1)で撮影し、基準データに基づいて、サンプル基板に形成された実装基準マークと基板(7)に形成しておいた実装基準マーク(7b)とのズレ量を求め、このズレ量を補正量として、調整機構(5、9)によりズレ量分を補正するように、カメラ(1)と冶具(8)との相対位置を調整するステップと、カメラ(1)により被検出対象物(10、11)を再び撮影したのち、その撮影した画像中における被検出対象物(10、11)の基準点(11e)とサンプル基板に搭載された被検出対象物(10、11)の基準点(11e)とのズレ量を求め、このズレ量を補正量として、画像処理における計測ウィンドウの位置座標を調整するステップとを有していることを特徴としている。   In the invention according to claim 7, the mounting reference mark formed on the sample substrate is taken by the camera (1) after placing the sample substrate on which the detection target object (10, 11) is mounted on the jig (8). And the positional relationship between the detected object (10, 11) and the detected position where the foreign object is detected as reference data, and an arbitrary place (11a) in the detected object (10, 11) as a reference The step of memorizing as a point and the substrate (7) on which the objects (10, 11) to be detected are mounted are placed on the jig (8), photographed by the camera (1), and then taken on the sample substrate based on the reference data The amount of deviation between the formed mounting reference mark and the mounting reference mark (7b) formed on the substrate (7) is obtained, and this amount of deviation is used as a correction amount, and the amount of deviation is adjusted by the adjustment mechanism (5, 9). To correct the camera (1) The step of adjusting the relative position to the tool (8), and the object (10, 11) to be detected again by the camera (1), and then the object (10, 11) to be detected in the captured image. The amount of deviation between the reference point (11e) and the reference point (11e) of the detection target object (10, 11) mounted on the sample substrate is obtained, and the position coordinate of the measurement window in image processing is determined using this amount of deviation as a correction amount. And a step of adjusting.

このように、被検出対象物(10、11)が搭載された基板(7)を冶具(8)に載せたときの位置決め補正と、被検出対象物(10、11)における被検出箇所を撮影したときの位置決め補正とをそれぞれ行うようにしている。このため、検出したいエリアの画像を確実に撮影でき、またその画像の意図する位置へ画像処理の計測ウィンドウを精度良く設定できる。   In this way, the positioning correction when the substrate (7) on which the detection target object (10, 11) is mounted is placed on the jig (8), and the detection location of the detection target object (10, 11) is photographed. In this case, the positioning correction is performed. For this reason, it is possible to reliably capture an image of an area to be detected, and to accurately set a measurement window for image processing at an intended position of the image.

なお、上記各手段の括弧内の符号は、後述する実施形態に記載の具体的手段との対応関係を示すものである。   In addition, the code | symbol in the bracket | parenthesis of each said means shows the correspondence with the specific means as described in embodiment mentioned later.

以下、本発明の実施形態について図に基づいて説明する。なお、以下の各実施形態相互において、互いに同一もしくは均等である部分には、図中、同一符号を付してある。   Hereinafter, embodiments of the present invention will be described with reference to the drawings. In the following embodiments, the same or equivalent parts are denoted by the same reference numerals in the drawings.

(第1実施形態)
以下、本発明の一実施形態が適用された異物検出装置について説明する。図1に、本実施形態における異物検出装置の概略図を示すと共に、図2に、異物検出装置の概略構成を示し、これらの図に基づいて説明する。
(First embodiment)
Hereinafter, a foreign object detection apparatus to which an embodiment of the present invention is applied will be described. FIG. 1 shows a schematic diagram of a foreign object detection device in the present embodiment, and FIG. 2 shows a schematic configuration of the foreign object detection device, which will be described based on these drawings.

異物検出装置は、カラーCCDカメラ1、搬送装置部2、画像処理装置部3、照明装置部4、ロボットコントローラ5および制御部6を備えた構成となっている。   The foreign object detection device includes a color CCD camera 1, a transport device unit 2, an image processing device unit 3, an illumination device unit 4, a robot controller 5, and a control unit 6.

搬送装置部2は、配線基板7を搭載するための冶具8が固定されたロボット9を備えている。ロボット9は、冶具8に搭載された配線基板7をX軸およびY軸に沿って動かすことで、X−Y平面上における位置決めを行うものである。具体的には、このロボット9により、配線基板7のうち異物が付着しているか否かの検出を行う対象物(以下、被検出対象物という)となるQFP素子10のリード11がカラーCCDカメラ1の直下にくるように、配線基板7の搬送、位置決めを行う。   The transfer device unit 2 includes a robot 9 to which a jig 8 for mounting the wiring board 7 is fixed. The robot 9 performs positioning on the XY plane by moving the wiring board 7 mounted on the jig 8 along the X axis and the Y axis. Specifically, the lead 9 of the QFP element 10 that becomes an object (hereinafter referred to as a detected object) for detecting whether or not a foreign substance is attached to the wiring board 7 by the robot 9 is a color CCD camera. The wiring board 7 is transported and positioned so that it is directly under 1.

カラーCCDカメラ1には、テレセントリックレンズ1aが装着されており、カメラケーブル1bを介して画像処理装置部3に画像データを送るようになっている。   The color CCD camera 1 is equipped with a telecentric lens 1a, and sends image data to the image processing unit 3 via a camera cable 1b.

画像処理装置部3は、カラー画像センサー31およびモニター4を有した構成となっている。カラー画像センサー31は、カメラケーブル1bを通じてカラーCCDカメラ1からの画像データを入力し、各種画像処理を行うものであり、モニター4は、カラー画像センサー31によって各種処理された画像を表示するものである。   The image processing unit 3 has a configuration including a color image sensor 31 and a monitor 4. The color image sensor 31 inputs image data from the color CCD camera 1 through the camera cable 1b and performs various image processing. The monitor 4 displays an image processed by the color image sensor 31. is there.

カラー画像センサー31は、具体的には画像入力部31a、画像メモリ31b、位置決め基準データ記憶部31c、計測ウィンドウデータ記憶部31d、色抽出処理部31e、画像処理演算部31f、OK/NG判定値記憶部31g、判定部31hなどを有して構成されている。   Specifically, the color image sensor 31 includes an image input unit 31a, an image memory 31b, a positioning reference data storage unit 31c, a measurement window data storage unit 31d, a color extraction processing unit 31e, an image processing calculation unit 31f, and an OK / NG determination value. A storage unit 31g, a determination unit 31h, and the like are included.

画像入力部31aは、カラーCCDカメラ1によって撮影された画像を入力するものであり、この画像入力部31aに入力された画像のデータを画像メモリ31bによって記憶するようになっている。   The image input unit 31a inputs an image photographed by the color CCD camera 1, and stores image data input to the image input unit 31a in an image memory 31b.

位置決め基準データ記憶部31cは、配線基板7の位置決めを行うための基準データを記憶したものである。基準データは、カラーCCDカメラ1により異物検出前に行ったサンプル配線基板の撮影データに基づいて作成されるもので、被検出対象物が何であるかによって異なる。この基準データに基づき、実際に撮影した配線基板7のズレ量が求められるようになっている。   The positioning reference data storage unit 31 c stores reference data for positioning the wiring board 7. The reference data is created based on the photographing data of the sample wiring board performed before the foreign object detection by the color CCD camera 1, and differs depending on what the detection target is. Based on the reference data, the amount of deviation of the actually photographed wiring board 7 can be obtained.

計測ウィンドウデータ記憶部31dは、カラーCCDカメラ1によって撮影する被検出対象物のうちの計測を行いたい箇所(以下、被検出箇所という)、つまり本実施形態の場合にはQFP素子10のうちリード11のどの場所を計測するかという位置データ(計測ウィンドウ)を記憶しているものである。この位置データも、サンプル配線基板の画像データに基づいて作成されるものであり、例えばサンプル配線基板の画像データ中における任意の場所、例えばリード11e(後述する図5参照)を基準として各リード間に計測ウィンドウ21が設定されるようになっている。この位置データも、被検出対象物が何であるかによって異なる。   The measurement window data storage unit 31d is a portion to be measured (hereinafter referred to as a detected portion) of the detection target object photographed by the color CCD camera 1, that is, the lead of the QFP element 10 in this embodiment. 11 stores position data (measurement window) indicating which place to measure. This position data is also created on the basis of the image data of the sample wiring board. For example, an arbitrary place in the image data of the sample wiring board, for example, a lead 11e (see FIG. 5 described later) is used as a reference. The measurement window 21 is set to the above. This position data also differs depending on what the object to be detected is.

なお、これら位置決め基準データ記憶部31cおよび計測ウィンドウデータ記憶部31dに記憶された各基準データと画像入力部31aを介して画像メモリ31bに記憶された画像データとが画像処理演算部31fにて比較計算されることにより補正量が求められる。そして、その補正量がロボットコントローラ5にフィードバックされることで、配線基板7の位置決め補正が行われ、また画像処理における計測ウィンドウの位置座標を補正している。   The reference data stored in the positioning reference data storage unit 31c and the measurement window data storage unit 31d and the image data stored in the image memory 31b via the image input unit 31a are compared in the image processing calculation unit 31f. A correction amount is obtained by calculation. Then, the correction amount is fed back to the robot controller 5, whereby the positioning correction of the wiring board 7 is performed, and the position coordinates of the measurement window in the image processing are corrected.

色抽出処理部31eは、位置決め補正が行われた後に、カラーCCDカメラ1によってQFP素子10の画像を撮影し、その画像データから所定の色、具体的には基板表面(グリーンマスク)の色である緑色を基準色として、画像を抽出する処理を行うものである。例えば、色抽出処理部31eにより、基準色と同じ色以外は白色となるような2値化処理を行う。このように所定の色を基準色として画像を抽出することにより、その基準色とコントラストが近い色も基準色から区別することが可能となる。   After the positioning correction is performed, the color extraction processing unit 31e takes an image of the QFP element 10 by the color CCD camera 1 and uses a predetermined color from the image data, specifically, the color of the substrate surface (green mask). A process of extracting an image using a certain green as a reference color is performed. For example, the color extraction processing unit 31e performs binarization processing so that a color other than the same color as the reference color is white. By extracting an image using a predetermined color as a reference color in this way, a color having a contrast close to that of the reference color can be distinguished from the reference color.

画像処理演算部31fは、色抽出を行った画像の反転画像を作成し、その画像中に設定される計測ウィンドウ内に、各リード間を架橋するもしくは架橋しうる大きさの異物となり得る物体が存在するか否かを検出すると共に、その物体の大きさを演算するものである。   The image processing calculation unit 31f creates a reverse image of the color-extracted image, and within the measurement window set in the image, an object that can cross-link between the leads or a foreign material having a size that can be cross-linked is provided. It detects whether or not it exists and calculates the size of the object.

OK/NG判定値記憶部31gは、被検出箇所に異物があるとする判定値を記憶している。具体的には、画像処理演算部31fによって異物となり得る物体が存在していることが検出された場合に、その物体を異物と判定する大きさの判定値を記憶している。   The OK / NG determination value storage unit 31g stores a determination value indicating that there is a foreign object at the detected location. Specifically, when the image processing calculation unit 31f detects that an object that can be a foreign object exists, a determination value of a size that determines that the object is a foreign object is stored.

判定部31hは、異物が存在しているか否かの判定を行う。すなわち、判定部31hは、画像処理演算部31fによって検出された異物となり得る物体の大きさとOK/NG判定値記憶部31gに記憶された判定値とを比較し、その物体の大きさが判定値を超えるような場合には、つまり異物と考えられる大きさである場合には、異物が存在していると判定する。画像処理装置部3のプログラムは、基板の種類や計測部位に応じて、制御部6により任意に切替可能である。   The determination unit 31h determines whether a foreign object is present. That is, the determination unit 31h compares the size of an object that can be a foreign object detected by the image processing calculation unit 31f with the determination value stored in the OK / NG determination value storage unit 31g, and the size of the object is determined by the determination value. If it exceeds the value, that is, if the size is considered to be a foreign object, it is determined that a foreign object exists. The program of the image processing device unit 3 can be arbitrarily switched by the control unit 6 according to the type of substrate and the measurement site.

照明装置部4は、光源41、ライトガイド42、反射鏡43およびロボット44、45を有して構成されている。   The illumination device unit 4 includes a light source 41, a light guide 42, a reflecting mirror 43, and robots 44 and 45.

光源41が発する光は、図2に示されるように光ケーブル46を通じてライトガイド42に伝達され、ライトガイド42の照射口から照射されるようになっている。図1に示す光源41からの光量は、制御部6によってリモートコントロール可能となっており、その光量に応じて照明照度を調整することが可能となっている。   The light emitted from the light source 41 is transmitted to the light guide 42 through the optical cable 46 as shown in FIG. 2 and irradiated from the irradiation port of the light guide 42. The light quantity from the light source 41 shown in FIG. 1 can be remotely controlled by the control unit 6, and the illumination illuminance can be adjusted according to the light quantity.

ライトガイド42の照射口と反射鏡43は、カメラを挟んで向き合うように設置され、カメラ光軸に対しθ°の照射角度に固定された照射口より照射された光の経路上に反射鏡43が垂直に配置されている。このような位置関係となっていることから、入射角と等しい反射角で光の経路が変えられ、例えば45°の照射角であれば45°で反射鏡43より反射され、被検出対象物を照らすことができる。   The irradiation port of the light guide 42 and the reflecting mirror 43 are installed so as to face each other with the camera interposed therebetween, and the reflecting mirror 43 is on the path of light emitted from the irradiation port fixed at an irradiation angle of θ ° with respect to the camera optical axis. Are arranged vertically. Because of this positional relationship, the light path is changed at a reflection angle equal to the incident angle. For example, if the irradiation angle is 45 °, it is reflected from the reflecting mirror 43 at 45 °, and the object to be detected is Can illuminate.

これらカラーCCDカメラ1、テレセントリックレンズ1aとライトガイド42と反射鏡43は、一体保持されてロボット44、45に連結されている。   The color CCD camera 1, the telecentric lens 1 a, the light guide 42 and the reflecting mirror 43 are integrally held and connected to the robots 44 and 45.

ロボット44は、カラーCCDカメラ1およびロボット45をZ軸方向、すなわち鉛直方向に移動させることで、カラーCCDカメラ1に取り付けられたテレセントリックレンズ1aとQFP素子10における被検出箇所との距離が所望値となるように高さ調整を行うものである。   The robot 44 moves the color CCD camera 1 and the robot 45 in the Z-axis direction, that is, the vertical direction, so that the distance between the telecentric lens 1a attached to the color CCD camera 1 and the detected position in the QFP element 10 is a desired value. The height is adjusted so that

ロボット45は、ライドガイド42および反射鏡43をθ軸、すなわちカラーCCDカメラ1の中心を軸として回転させるものである。   The robot 45 rotates the ride guide 42 and the reflecting mirror 43 around the θ axis, that is, the center of the color CCD camera 1.

これら各ロボット44、45により、QFP素子10の各辺に直行する方向から照明が可能となるよう上下移動および回転移動が可能となる。そして、ライトガイド42と比べて厚みが薄い反射鏡43を用いていることから、ライトガイド42よりも小さなスペースの場所にも反射鏡43を配置することが可能となる。   These robots 44 and 45 can move up and down and rotate so that illumination can be performed from a direction perpendicular to each side of the QFP element 10. Since the reflecting mirror 43 having a smaller thickness than that of the light guide 42 is used, the reflecting mirror 43 can be disposed in a space having a smaller space than the light guide 42.

このため、配線基板7におけるQFP素子10の近傍にTHD12などの背の高い実装部品が実装されていても、そのTHD12とQFP素子10との間に反射鏡43を挿入することが可能となり、THD12による陰を作ることなくQFP素子10のリードを任意の角度で一様に照明することができる。また、反射鏡43からの斜めの光によって被検出箇所を照明することになるため、フラックス残渣15などの正反射光も排除することが可能となる。   For this reason, even if a tall mounting component such as THD 12 is mounted in the vicinity of the QFP element 10 on the wiring board 7, the reflecting mirror 43 can be inserted between the THD 12 and the QFP element 10. The leads of the QFP element 10 can be uniformly illuminated at an arbitrary angle without creating shadows due to. In addition, since the portion to be detected is illuminated by the oblique light from the reflecting mirror 43, it is possible to exclude regular reflection light such as the flux residue 15.

なお、この照明装置部4とカラーCCDカメラ1の上下動および回転は、必ずしも照明装置部4およびカラーCCDカメラ1側で行う必要はなく、ロボット9もしくは冶具8に回転機構および昇降機構を備えることで、被検出対象物となるQFP素子10側にその動きを代行させても良い。また、ロボット45により、カラーCCDカメラ1を回転させても良い。   The lighting device 4 and the color CCD camera 1 are not necessarily moved up and down and rotated on the lighting device 4 and the color CCD camera 1 side. The robot 9 or the jig 8 is provided with a rotation mechanism and a lifting mechanism. Thus, the movement may be substituted on the QFP element 10 side to be detected. Further, the color CCD camera 1 may be rotated by the robot 45.

ロボットコントローラ5は、制御部6からの制御信号に基づいて、各ロボット9、44、45の各部を制御するものである。このロボットコントローラ5には、配線基板7に備えられる実装基準マーク7b(後述する図3参照)やQFP素子10などの被検出対象物の座標情報が予め登録されている。このため、ロボットコントローラ5は、この座標情報に基づいて実装基準マーク7bとQFP素子10との位置関係を判別できるようになっている。   The robot controller 5 controls each part of each robot 9, 44, 45 based on a control signal from the control part 6. In the robot controller 5, coordinate information of a detection target such as a mounting reference mark 7 b (see FIG. 3 described later) provided on the wiring board 7 and the QFP element 10 is registered in advance. For this reason, the robot controller 5 can determine the positional relationship between the mounting reference mark 7b and the QFP element 10 based on the coordinate information.

制御部6は、各部をコントロールするものである。具体的には、カラーCCDカメラ1のシャッタータイミング(プログラム起動信号)および画像処理プログラム切替、品番情報に基づくロボットコントローラ5の制御を実行している。   The control unit 6 controls each unit. Specifically, the control of the robot controller 5 based on shutter timing (program activation signal) and image processing program switching of the color CCD camera 1 and product number information is executed.

次に、上記構成の異物検出装置による異物検出手順について、図3〜図5を参照して説明する。図3は、冶具8に配線基板7を搭載したときの様子を示した図である。図4は、被検出箇所となるQFP素子10のリード11の各部を示した図である。また、図5は、QFP素子10の一部を撮影した場合の様子を示している。   Next, the foreign substance detection procedure by the foreign substance detection apparatus having the above configuration will be described with reference to FIGS. FIG. 3 is a view showing a state where the wiring board 7 is mounted on the jig 8. FIG. 4 is a diagram showing each part of the lead 11 of the QFP element 10 which is a detected location. FIG. 5 shows a state in which a part of the QFP element 10 is photographed.

まず、図3に示されるように、複数の配線基板7を冶具8の上に搭載し、バネ支持部8aにより冶具8に形成された固定基準となる辺に各配線基板7が接するようにする。そして、ロボット9をX−Y平面上で移動させることにより、冶具8上に精度良く固定された配線基板7を所定寸法量ロボット搬送する。これにより、各配線基板7に備えられた実装基準マーク7bがカラーCCDカメラ1の直下に位置するように位置決めする。この際、カラーCCDカメラ1側を搬送移動させて位置決めさせても良い。   First, as shown in FIG. 3, a plurality of wiring boards 7 are mounted on a jig 8 so that each wiring board 7 is in contact with a fixed reference side formed on the jig 8 by a spring support portion 8a. . Then, by moving the robot 9 on the XY plane, the wiring board 7 fixed on the jig 8 with high accuracy is transported by a predetermined amount of robot. As a result, the mounting reference mark 7 b provided on each wiring board 7 is positioned so as to be located immediately below the color CCD camera 1. At this time, the color CCD camera 1 side may be moved and positioned.

そして、カラーCCDカメラ1で実装基準マーク7bを撮影し、画像処理部3にて、予め位置決め基準として撮影しておいたサンプル配線基板における実装基準マークの画像とのズレ量を算出する。これにより、冶具8への配線基板7の固定時のずれ量が明確となる。そのズレ量をロボットコントローラ5へ伝達し、異物検査を実施するQFP素子10のリード11がカメラ直下となるように、ロボット9を移動させることでズレ量を補正し、配線基板7を搬送位置決めする。   Then, the mounting reference mark 7b is photographed by the color CCD camera 1, and the image processor 3 calculates the amount of deviation from the image of the mounting reference mark on the sample wiring board that has been photographed in advance as a positioning reference. Thereby, the deviation | shift amount at the time of fixation of the wiring board 7 to the jig 8 becomes clear. The amount of deviation is transmitted to the robot controller 5, and the amount of deviation is corrected by moving the robot 9 so that the lead 11 of the QFP element 10 that performs foreign substance inspection is directly under the camera, and the wiring board 7 is transported and positioned. .

また、このとき、ロボットコントローラ5に予め実装基準マーク7bやQFP素子10などの被検出対象物の座標情報が登録されていることから、撮影が行われる各カメラ視野14が例えば図4の各範囲(1)〜(12)のように識別される。このため、各範囲(1)〜(12)を順に撮影できるように、例えば最初に範囲(1)の真上にカラーCCDカメラ1が位置するようにロボット9が移動させられる。   At this time, since the coordinate information of the detection target object such as the mounting reference mark 7b and the QFP element 10 is registered in the robot controller 5 in advance, each camera field of view 14 in which the image is taken is shown in each range of FIG. They are identified as (1) to (12). Therefore, for example, the robot 9 is first moved so that the color CCD camera 1 is positioned immediately above the range (1) so that the ranges (1) to (12) can be photographed in order.

次に、ロボット44、45を駆動することにより、カラーCCDカメラ1および照明装置部4を回転及び下降させ、QFP素子10に備えられたカメラ直下のリード11に対して、図1中のA方向より落射照明を行う。このとき、ライトガイド42より十分な明るさ(例えば30,000Lux以上)の光量が供給され、リード11の立ち上がり部11b、肩部11c、素子パッケージ部11dによる影を作らず、リード11とリード11間の基板表面7aを一様な明るさで明瞭に照らすことができる。   Next, by driving the robots 44 and 45, the color CCD camera 1 and the illuminating device unit 4 are rotated and lowered, so that the lead 11 directly under the camera provided in the QFP element 10 is in the direction A in FIG. Make more epi-illumination. At this time, a light quantity with sufficient brightness (for example, 30,000 Lux or more) is supplied from the light guide 42, and the lead 11 and the lead 11 do not make a shadow by the rising portion 11b, the shoulder portion 11c, and the element package portion 11d of the lead 11. The intermediate substrate surface 7a can be clearly illuminated with uniform brightness.

図5に示すリード11およびその間の基板表面7aを含むカメラ視野14となるようにカラーCCDカメラ1で撮影を行い、カラー画像センサ2における画像メモリ31bへ記録する。このとき、画像処理演算部31fにて、カメラ視野14内に捕らえられた画像と位置決め基準データ記憶部31cの撮影データとから、それぞれの画像の任意の基準点のズレ量が求められる。   An image is taken with the color CCD camera 1 so as to obtain a camera field of view 14 including the lead 11 and the substrate surface 7a between them shown in FIG. 5, and is recorded in the image memory 31b in the color image sensor 2. At this time, the image processing calculation unit 31f obtains a deviation amount of an arbitrary reference point of each image from the image captured in the camera visual field 14 and the photographing data of the positioning reference data storage unit 31c.

なお、ここでいうズレ量は、配線基板7を冶具8に搭載したときに発生するズレ量とは異なり、ロボット9〜45を操作したときに発生するものである。このズレ量は、例えば、位置決め基準データ記憶部31cに記憶されたサンプル配線基板におけるQFP素子10のリードの画像に基づき、記憶された画像内の任意のリード11eと、カメラ視野14において撮影された画像中のリード11eとの距離を求めることにより算出される。   Note that the amount of deviation here is different from the amount of deviation that occurs when the wiring board 7 is mounted on the jig 8, and is generated when the robots 9 to 45 are operated. This amount of deviation was photographed in an arbitrary lead 11e in the stored image and the camera field of view 14 based on, for example, the lead image of the QFP element 10 on the sample wiring board stored in the positioning reference data storage unit 31c. It is calculated by obtaining the distance from the lead 11e in the image.

そして、このズレ量を補正量として、画像処理における計測ウィンドウの位置座標を調整する。これにより、カメラ視野14において、計測ウィンドウデータ記憶部31cに記憶された計測ウィンドウ21が正確な位置に設定される。   Then, the position coordinates of the measurement window in the image processing are adjusted using the deviation amount as a correction amount. Thereby, in the camera visual field 14, the measurement window 21 memorize | stored in the measurement window data storage part 31c is set to the exact position.

画像メモリ31bに記憶された図6(a)に示す画像を基に、図6(b)に示されるように、各リード11の間の基板表面7aの色となる緑色の部分を抽出する。すなわち、基板表面7aの色を基準色として照準をあてることで、基板表面7aとのコントラスト差が僅かしか無くても、カラーCCDカメラ1の分解能で明瞭に、基板表面7aの色と他の色とが識別可能となり、上記抽出が可能となる。   Based on the image shown in FIG. 6A stored in the image memory 31b, as shown in FIG. 6B, a green portion which is the color of the substrate surface 7a between the leads 11 is extracted. That is, by aiming using the color of the substrate surface 7a as a reference color, the color of the substrate surface 7a and other colors can be clearly defined with the resolution of the color CCD camera 1 even if there is a slight contrast difference with the substrate surface 7a. Can be identified, and the above extraction can be performed.

この際、基板表面上に異物15が存在すれば、基板表面7aとの色差より、その部分において緑色が抽出されず、異物15の大きさ分が影16のように欠落する。これを図6(c)に示されるように、2値化処理して反転すれば、欠落した部分を異物17として抽出することができる。なお、例えばはんだ屑のように異物15が明るい色のものであった場合、カラーCCDカメラ1の感度に対してオーバレンジとなる可能性があるが、基板表面7aの色を抽出できさえすれば良いため、異物15が明るくても基板表面7aの色との識別は可能である。   At this time, if the foreign matter 15 is present on the substrate surface, the color difference from the substrate surface 7 a does not extract green in that portion, and the size of the foreign matter 15 is lost as a shadow 16. As shown in FIG. 6C, if the binarization process is performed and the result is inverted, the missing portion can be extracted as the foreign matter 17. For example, when the foreign matter 15 is of a bright color such as solder scraps, there is a possibility that the sensitivity of the color CCD camera 1 is overranged, but it is only necessary to extract the color of the substrate surface 7a. For this reason, even if the foreign matter 15 is bright, it can be distinguished from the color of the substrate surface 7a.

次に、図5に示すように、記録画像中の任意のリード11、例えばリード11eを基準として、各リード11間に計測ウィンドウ21を設定し、その内部にリードを架橋するもしくは架橋しうる大きさの異物の有無と大きさを画像処理演算する。そして、その異物の大きさを予め設定したOK/NG判定値と比較し、それを超える場合にはNG、すなわち異物が存在すると判定する。   Next, as shown in FIG. 5, a measurement window 21 is set between the leads 11 with an arbitrary lead 11 in the recorded image, for example, the lead 11e as a reference, and the lead is bridged or can be crosslinked. The image processing operation is performed for the presence and size of the foreign object. Then, the size of the foreign object is compared with a preset OK / NG determination value, and if it exceeds that, it is determined that NG, that is, a foreign object exists.

このような一連の画像入力および画像処理演算をQFP素子10の全リード間をはじめ、配線基板7上の異物検出が必要なエリア全域に対して実施する。具体的には、カメラ視野14内でカバーできるリード数などを基準に一定のピッチ分ロボットで搬送位置決めし、異物検出の必要なエリア全域を異物検査する。   Such a series of image input and image processing operations are performed on the entire area of the wiring board 7 where foreign matter detection is required, including all leads of the QFP element 10. Specifically, the robot is transported and positioned by a fixed pitch based on the number of leads that can be covered in the camera field of view 14, and the entire area where foreign matter detection is required is inspected.

その際、検査するQFP素子10のリードの辺が変わるもしくは他の素子を検査する場合、制御部6からの信号によりカラーCCDカメラ1および照明装置部4の上昇・回転・下降を自動で行うことで、照明の照射方向を切り替える。カラーCCDカメラ1の焦点については、このときの下降位置により任意に調整可能である。   At that time, when the lead side of the QFP element 10 to be inspected is changed or another element is inspected, the color CCD camera 1 and the illumination device part 4 are automatically raised, rotated and lowered by a signal from the control unit 6. To switch the illumination direction. The focal point of the color CCD camera 1 can be arbitrarily adjusted by the lowered position at this time.

以上説明したように、本実施形態の異物検出装置によれば、以下の効果を奏することが可能となる。   As described above, according to the foreign object detection device of the present embodiment, the following effects can be obtained.

(1)本実施形態の異物検出装置では、カラーCCDカメラ1で撮影された画像の基準色に照準をあて、その基準色を抽出するようにしている。このため、異物が黒色や配線基板7の表面の濃い緑色に近い色であったとしても、基準色との差が明確となる。したがって、基準色に対してコントラストが小さい濃い色の異物についても判別することが可能となる。   (1) In the foreign matter detection apparatus of the present embodiment, the reference color of the image taken by the color CCD camera 1 is aimed and the reference color is extracted. For this reason, even if the foreign matter is a color close to black or a dark green color on the surface of the wiring board 7, the difference from the reference color becomes clear. Therefore, it is possible to discriminate even a dark foreign substance having a small contrast with respect to the reference color.

(2)本実施形態の異物検出装置では、異物の色を基に異物検出を行うのではなく、配線基板7の表面の色を基準色とし、その基準色との差に基づいて異物検出を行っている。このため、従来のように異物対象物となる異物の色のバリエーションに応じた画像処理を行う必要がなく、検出処理時間の低減を図ることが可能となる。   (2) In the foreign matter detection device of this embodiment, foreign matter detection is not performed based on the color of the foreign matter, but the surface color of the wiring board 7 is used as a reference color, and foreign matter detection is performed based on the difference from the reference color. Is going. For this reason, it is not necessary to perform image processing according to variations in the color of a foreign object that is a foreign object as in the prior art, and the detection processing time can be reduced.

(3)本実施形態の異物検出装置では、ライトガイド42の照射口から照射される光を反射鏡43によって反射させて被検出箇所への照射を行うようにしている。このため、ライトガイド42が入り込めない隙間にも反射鏡43を入り込ませることが可能となり、仮に被検出対象物となるQFP素子10の近傍にTHDなど背の高い実装部品があっても、照明が遮られないようにでき、QFP素子10のリード間の空隙へ陰を作らず一様な照明を当てることができる。   (3) In the foreign object detection device of the present embodiment, the light irradiated from the irradiation port of the light guide 42 is reflected by the reflecting mirror 43 to irradiate the detected portion. For this reason, the reflecting mirror 43 can be inserted into a gap where the light guide 42 cannot enter, and even if there is a tall mounting component such as THD in the vicinity of the QFP element 10 to be detected. Can be prevented from being obstructed, and uniform illumination can be applied to the gap between the leads of the QFP element 10 without creating a shadow.

(4)本実施形態の異物検出装置では、カラーCCDカメラ1にテレセントリックレンズ1aを取り付けて画像を撮影している。このため、ノーマルレンズと比べて測定深度を深くすることが可能となる。従って、例えば、リード11の足部11a、立ち上がり部11b、肩部11cのいずれに異物が付着したとしても、それらによる段差に関わらず、画像として捕らえたときの異物の大きさをほぼ一致させることができ、どのような異物がリード11に付着したかを測定することができる。   (4) In the foreign matter detection apparatus of the present embodiment, the telephotonic lens 1a is attached to the color CCD camera 1 to take an image. For this reason, it becomes possible to deepen the measurement depth as compared with the normal lens. Therefore, for example, even if foreign matter adheres to any of the foot portion 11a, the rising portion 11b, and the shoulder portion 11c of the lead 11, the size of the foreign matter when captured as an image is substantially matched regardless of the level difference caused by them. It is possible to measure what foreign matter has adhered to the lead 11.

(5)本実施形態の異物検出装置では、配線基板7を冶具8に搭載したときの位置決め補正と、配線基板7における被検出箇所となるQFP素子10のリード11を撮影したときの位置決め補正とを行うようにしている。このため、検出したいエリアの画像を確実に撮影でき、またその画像の意図する位置へ画像処理の計測ウィンドウを精度良く設定できる。   (5) In the foreign object detection device of the present embodiment, positioning correction when the wiring board 7 is mounted on the jig 8, and positioning correction when the lead 11 of the QFP element 10 serving as a detected portion on the wiring board 7 is imaged. Like to do. For this reason, it is possible to reliably capture an image of an area to be detected, and to accurately set a measurement window for image processing at an intended position of the image.

(6)さらに、本実施形態の異物検出装置では、2値化画像を反転した画像に基づいて、異物が存在するか否かを検出しているため、ルーズコンタクト状態の異物が存在していたとしても、その異物を確実に検出することが可能である。   (6) Furthermore, in the foreign object detection device of the present embodiment, since the foreign object is detected based on the image obtained by inverting the binarized image, there is a foreign object in a loose contact state. However, it is possible to reliably detect the foreign matter.

(他の実施形態)
上記実施形態において、ライトガイド42からの光がカラーCCDカメラ1の軸に対して45°を成すようにしているが、単なる例示であり、これよりも多少角度を小さくしても良いし、逆に角度を大きくしても良い。
(Other embodiments)
In the above embodiment, the light from the light guide 42 forms 45 ° with respect to the axis of the color CCD camera 1. However, this is merely an example, and the angle may be slightly smaller than this. The angle may be increased.

また、上記実施形態では、被検出対象物が配線基板7に備えられたQFP素子10であり、被検出箇所がQFP素子10の各リード11の間である例を示したが、これらも単なる例示であり、他の被検出対象物および被検出箇所に対する異物検出に本発明の異物検出装置を適用しても良い。   In the above-described embodiment, the example in which the object to be detected is the QFP element 10 provided on the wiring substrate 7 and the detected part is between the leads 11 of the QFP element 10 has been described. Thus, the foreign object detection device of the present invention may be applied to foreign object detection for other objects to be detected and detection locations.

本発明の第1実施形態における異物検出装置の概略構成を示す図である。It is a figure which shows schematic structure of the foreign material detection apparatus in 1st Embodiment of this invention. 図1に示す異物検出装置におけるカラーCCDカメラ近傍の拡大図である。FIG. 2 is an enlarged view of the vicinity of a color CCD camera in the foreign object detection device shown in FIG. 1. 冶具に配線基板を搭載したときの様子を示した図である。It is the figure which showed the mode when a wiring board was mounted in a jig. 被検出箇所となるQFP素子のリードの各部を示した図である。It is the figure which showed each part of the lead | read | reed of the QFP element used as a to-be-detected location. QFP素子の一部を撮影した場合の様子を示した図である。It is the figure which showed the mode at the time of image | photographing a part of QFP element. 異物検出を行う際の画像処理プロセスを示した図である。It is the figure which showed the image processing process at the time of performing a foreign material detection. 本発明者らが検討した異物検出装置におけるカラーCCDカメラ近傍の拡大図である。FIG. 4 is an enlarged view of the vicinity of a color CCD camera in a foreign object detection device examined by the present inventors.

符号の説明Explanation of symbols

1…カラーCCDカメラ、1a…テレセントリックレンズ、2…搬送装置部、3…画像処理装置部、4…照明装置部、5…ロボットコントローラ、6…制御部、7…配線基板、8…冶具、9、44、45…ロボット、10…QFP素子、11…リード、12…THD、31…カラー画像センサー、41…光源、42…ライトガイド、43…反射鏡。
DESCRIPTION OF SYMBOLS 1 ... Color CCD camera, 1a ... Telecentric lens, 2 ... Conveying device part, 3 ... Image processing part, 4 ... Illumination device part, 5 ... Robot controller, 6 ... Control part, 7 ... Wiring board, 8 ... Jig, 9 44, 45 ... Robot, 10 ... QFP element, 11 ... Lead, 12 ... THD, 31 ... Color image sensor, 41 ... Light source, 42 ... Light guide, 43 ... Reflector.

Claims (7)

基板(7)上に搭載された被検出対象物(10、11)に向けて光を照射する照明装置部(4)と、
前記被検出対象物(10、11)の画像を所定の分解能で撮影するカメラ(1)と、
前記カメラ(1)によって撮影された画像に対して画像処理を行う画像処理装置部(3)とを備え、
前記照明装置部(4)によって光を照射させつつ、前記カメラ(1)により前記被検出対象物(10、11)の画像を撮影することで、前記被検出対象物(10、11)に付着した異物の検出を行う異物検出装置であって、
前記画像処理装置部(3)には、前記カメラ(1)によって撮影された前記被検出対象物(10、11)の画像から前記基板(7)の表面(7a)の色を基準色として照準をあて、その基準色を抽出する色抽出処理部(31e)が備えられていることを特徴とする異物検出装置。
An illuminating device (4) for irradiating light toward the detected objects (10, 11) mounted on the substrate (7);
A camera (1) that captures an image of the detection object (10, 11) with a predetermined resolution;
An image processing unit (3) that performs image processing on an image captured by the camera (1),
An image of the object to be detected (10, 11) is taken by the camera (1) while irradiating light by the illumination device unit (4), thereby adhering to the object to be detected (10, 11). A foreign object detection device for detecting a foreign object
The image processing unit (3) is aimed with the color of the surface (7a) of the substrate (7) as a reference color from the image of the detected object (10, 11) photographed by the camera (1). And a color extraction processing unit (31e) for extracting the reference color.
前記画像処理装置部(3)は、前記色抽出処理部(31e)によって前記基準色を抽出した画像を2値化反転するようになっていることを特徴とする請求項1に記載の異物検出装置。 2. The foreign object detection according to claim 1, wherein the image processing unit (3) is configured to binarize and invert the image from which the reference color has been extracted by the color extraction processing unit (31 e). apparatus. 前記照明装置部(4)は、光源(41)と、光源(41)からの光を照射するライトガイド(42)と、前記ライトガイド(42)の光を反射すると共にその反射光を前記被検出対象物(10、11)に対して斜めに照射する反射鏡(43)とを備えていることを特徴とする請求項1または2に記載の異物検出装置。 The illuminating device section (4) includes a light source (41), a light guide (42) for irradiating light from the light source (41), and reflects the light from the light guide (42) and reflects the reflected light to the subject light. The foreign object detection device according to claim 1, further comprising a reflecting mirror (43) that irradiates the detection target (10, 11) obliquely. 前記カメラ(1)には、テレセントリックレンズ(1a)が装着されていることを特徴とする請求項1ないし3のいずれか1つに記載の異物検出装置。 The foreign object detection device according to claim 1, wherein a telecentric lens (1 a) is attached to the camera (1). 冶具(8)上の基板(7)に搭載された被検出対象物(10、11)に向けて光を照射する照明装置部(4)と、
前記被検出対象物(10、11)の画像を所定の分解能で撮影するカメラ(1)と、
前記カメラ(1)によって撮影された画像に対して画像処理を行う画像処理装置部(3)と、
前記基板(7)の平面方向において、該冶具(8)と前記カメラ(1)との相対位置を調整する調整機構(5、9)とを備えた異物検出装置を用いて前記被検出対象物(10、11)に付着した異物の検出を行う異物検出方法であって、
前記照明装置部(4)によって光を照射させつつ、前記カメラ(1)により前記被検出対象物(10、11)の画像を撮影するステップと、
前記画像処理装置部(3)により、前記カメラ(1)によって撮影された前記被検出対象物(10、11)の画像から前記基板(7)の表面(7a)の色を基準色として照準をあて、その基準色を抽出するステップと、
前記基準色を抽出した画像に基づいて前記被検出対象物(10、11)に付着した異物(17)の検出を行うステップと、を有していることを特徴とする異物検出方法。
An illuminating device section (4) for irradiating light toward the detected objects (10, 11) mounted on the substrate (7) on the jig (8);
A camera (1) that captures an image of the detection object (10, 11) with a predetermined resolution;
An image processing unit (3) that performs image processing on an image captured by the camera (1);
The object to be detected using a foreign object detection device comprising an adjustment mechanism (5, 9) for adjusting the relative position of the jig (8) and the camera (1) in the plane direction of the substrate (7). A foreign object detection method for detecting a foreign object attached to (10, 11),
Photographing an image of the detection object (10, 11) with the camera (1) while irradiating light with the illumination device section (4);
The image processing unit (3) aims at the color of the surface (7a) of the substrate (7) from the image of the detected object (10, 11) photographed by the camera (1) as a reference color. A step of extracting the reference color,
Detecting a foreign substance (17) attached to the detection target object (10, 11) based on an image obtained by extracting the reference color.
前記基準色を抽出した画像を2値化反転するステップを有し、
前記異物(17)の検出を行うステップでは、前記2値化反転された画像から、前記被検出対象物(10、11)とは異なる画像が確認されたときに、その画像部分を異物(17)として検出することを特徴とする請求項5に記載の異物検出方法。
And binarizing and reversing the image from which the reference color has been extracted,
In the step of detecting the foreign object (17), when an image different from the detected object (10, 11) is confirmed from the binarized image, the image portion is detected as a foreign object (17). The foreign object detection method according to claim 5, wherein the foreign object detection method is detected as follows.
前記被検出対象物(10、11)を搭載したサンプル基板を前記冶具(8)に載せたのち、前記カメラ(1)で撮影し、前記サンプル基板に形成された実装基準マークと、前記被検出対象物(10、11)のうち異物検出を行う被検出箇所との位置関係を基準データとして記憶すると共に、前記被検出対象物(10、11)における任意の場所(11a)を基準点として記憶するステップと、
前記被検出対象物(10、11)を搭載した前記基板(7)を前記冶具(8)に載せたのち、前記カメラ(1)で撮影し、前記基準データに基づいて、前記サンプル基板に形成された実装基準マークと前記基板(7)に形成しておいた実装基準マーク(7b)とのズレ量を求め、このズレ量を補正量として、前記調整機構(5、9)により前記ズレ量分を補正するように、前記カメラ(1)と前記冶具(8)との相対位置を調整するステップと、
前記カメラ(1)により前記被検出対象物(10、11)を再び撮影したのち、その撮影した画像中における前記被検出対象物(10、11)の基準点(11e)と前記サンプル基板に搭載された前記被検出対象物(10、11)の基準点(11e)とのズレ量を求め、このズレ量を補正量として画像処理における計測ウィンドウの位置座標を調整するステップとを有していることを特徴とする請求項5または6に記載の異物検出方法。
The sample substrate on which the detection target object (10, 11) is mounted is placed on the jig (8), and then photographed by the camera (1). The mounting reference mark formed on the sample substrate, and the detection target The positional relationship between the object (10, 11) and the detected location where the foreign object is detected is stored as reference data, and an arbitrary location (11a) in the detected object (10, 11) is stored as a reference point. And steps to
The substrate (7) on which the detection target object (10, 11) is mounted is placed on the jig (8), then photographed by the camera (1), and formed on the sample substrate based on the reference data The amount of deviation between the mounted mounting reference mark and the mounting reference mark (7b) formed on the substrate (7) is obtained, and the amount of deviation is set as a correction amount by the adjusting mechanism (5, 9). Adjusting the relative position of the camera (1) and the jig (8) to correct the minute;
After the object to be detected (10, 11) is imaged again by the camera (1), the reference point (11e) of the object to be detected (10, 11) in the captured image and mounted on the sample substrate Determining the amount of deviation of the detected objects (10, 11) from the reference point (11e) and adjusting the position coordinates of the measurement window in the image processing using the amount of deviation as a correction amount. The foreign matter detection method according to claim 5 or 6, wherein
JP2004018569A 2004-01-27 2004-01-27 Foreign matter detection device and manufacturing method of wiring substrate Pending JP2005214659A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2004018569A JP2005214659A (en) 2004-01-27 2004-01-27 Foreign matter detection device and manufacturing method of wiring substrate

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2004018569A JP2005214659A (en) 2004-01-27 2004-01-27 Foreign matter detection device and manufacturing method of wiring substrate

Publications (1)

Publication Number Publication Date
JP2005214659A true JP2005214659A (en) 2005-08-11

Family

ID=34903043

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2004018569A Pending JP2005214659A (en) 2004-01-27 2004-01-27 Foreign matter detection device and manufacturing method of wiring substrate

Country Status (1)

Country Link
JP (1) JP2005214659A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20160024215A (en) * 2014-08-25 2016-03-04 삼성전기주식회사 Lighting apparatus for vision test and vision test apparatus
EP4235156A1 (en) 2022-02-25 2023-08-30 Proterial, Ltd. Silicon nitride substrate, silicon nitride circuit substrate, and evaluation method, evaluation device, and evaluation system for silicon nitride substrate and silicon nitride circuit substrate
EP4234514A1 (en) 2022-02-25 2023-08-30 Proterial, Ltd. Silicon nitride substrate and method of manufacturing the same

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20160024215A (en) * 2014-08-25 2016-03-04 삼성전기주식회사 Lighting apparatus for vision test and vision test apparatus
KR102004796B1 (en) * 2014-08-25 2019-07-29 삼성전기주식회사 Lighting apparatus for vision test and vision test apparatus
EP4235156A1 (en) 2022-02-25 2023-08-30 Proterial, Ltd. Silicon nitride substrate, silicon nitride circuit substrate, and evaluation method, evaluation device, and evaluation system for silicon nitride substrate and silicon nitride circuit substrate
EP4234514A1 (en) 2022-02-25 2023-08-30 Proterial, Ltd. Silicon nitride substrate and method of manufacturing the same
KR20230127908A (en) 2022-02-25 2023-09-01 가부시키가이샤 프로테리아루 Silicon nitride substrate and its manufacturing method
KR20230127862A (en) 2022-02-25 2023-09-01 가부시키가이샤 프로테리아루 Silicon nitride substrate, evaluation method, evaluation device, evaluation system for silicon nitride substrate, silicon nitride circuit board

Similar Documents

Publication Publication Date Title
JP5421763B2 (en) Inspection apparatus and inspection method
KR101129349B1 (en) Parts mount board inspection apparatus
JPH0572961B2 (en)
JP4434417B2 (en) Inspection equipment for printed wiring boards
KR100281881B1 (en) cream solder inspection apparatus and the method thereof
JP2011158363A (en) Soldering inspection device for pga mounting substrate
KR20080103403A (en) Pattern inspection apparatus and pattern inspection method
KR101737954B1 (en) Inspection apparatus and inspection method
KR100769807B1 (en) Method and apparatus for inspection wiring pattern
JP5272784B2 (en) Optical inspection method and optical inspection apparatus
JP2002107126A (en) Apparatus and method for inspecting substrate
WO2003044507A1 (en) Inspecting method for end faces of brittle-material-made substrate and device therefor
JPH0797022B2 (en) Shape measuring device, shape measuring method, and calibration method of shape measuring device
JP2006118896A (en) Visual inspection method for flexible printed wiring board
KR101079686B1 (en) Image recognition apparatus and image recognition method
EP0871027A2 (en) Inspection of print circuit board assembly
JP4246319B2 (en) Illumination unevenness measuring method and measuring apparatus
JP2005214659A (en) Foreign matter detection device and manufacturing method of wiring substrate
JP2007242944A (en) Method and device for evaluating solder wettability
US6211959B1 (en) Method of checking for the presence of connection balls
JP2629798B2 (en) Board inspection equipment
JP3402994B2 (en) Solder paste quality judgment method
JPH03192800A (en) Component mounting recognition method for printed board
JP3755370B2 (en) Solder fillet inspection method
JP2006258649A (en) Surface inspection device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20060530

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20081118

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20081202

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20090331