JPH10307007A - Apparatus and method for inspection of substrate - Google Patents

Apparatus and method for inspection of substrate

Info

Publication number
JPH10307007A
JPH10307007A JP13033697A JP13033697A JPH10307007A JP H10307007 A JPH10307007 A JP H10307007A JP 13033697 A JP13033697 A JP 13033697A JP 13033697 A JP13033697 A JP 13033697A JP H10307007 A JPH10307007 A JP H10307007A
Authority
JP
Japan
Prior art keywords
substrate
light sources
lower light
pair
image
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
JP13033697A
Other languages
Japanese (ja)
Inventor
Mitsuhisa Yamaguchi
満久 山口
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.)
Suzuka Fuji Xerox Manufacturing Co Ltd
Original Assignee
Suzuka Fuji Xerox Manufacturing 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 Suzuka Fuji Xerox Manufacturing Co Ltd filed Critical Suzuka Fuji Xerox Manufacturing Co Ltd
Priority to JP13033697A priority Critical patent/JPH10307007A/en
Publication of JPH10307007A publication Critical patent/JPH10307007A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To obtain an apparatus and a method in which the inspection time of a substrate is shortened by a method wherein the position of a light source on one side out of one pair of upper and lower light sources is adjusted and the range of image data used to find the difference between image data by the pair of upper and lower light sources is regulated by an inspection frame. SOLUTION: First, in a teaching mode, luminances of one pair of upper and lower sources 1, 2, the position of the lower light source 2, an inspection frame and a reference value as a threshold value are set in advance for every substrate 10 in such a way that the difference between a nondestructive substrate 10 and a defective substrate 10 becomes clear. In an inspection mode, the light sources 1, 2 and a CCD camera 81 are moved to a part just above the substrate 10, the lower light source 2 is turned on at a preset luminance, and the lower light source 2 is positioned. At this time, the upper light source 1 is turned off. The CCD camera 81 fetches an image. Then, the upper light source 1 is turned on at a luminance, the lower light source 2 is turned off, and the CCD camera 81 fetches an image. The difference between the respective images inside the inspection frame is found, and whether the substrate 10 is good or not is judged. Since the range of image data is regulated by the inspection frame, the total inspection time of the substrate 10 can be shortened.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、一対の光源の間隔
および照度を、検査する基板毎に調整して、設定した検
査枠内のみ画像処理し、高速処理を可能にする基板の検
査装置および検査方法に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a board inspection apparatus which adjusts the distance and illuminance between a pair of light sources for each board to be inspected, performs image processing only within a set inspection frame, and enables high-speed processing. Related to inspection method.

【0002】[0002]

【従来の技術】従来の基板の検査装置および検査方法
(特開平4−329344、特開平5−52534)
は、上下一対の2光源を下光源および上光源とし、前記
下光源のみ点灯させたときにCCDカメラに取り込んだ
画像を画像1とし、前記上光源のみ点灯させたときにC
CDカメラに取り込んだ画像を画像2として、前記画像
1と画像2との差をとることにより、得られた画像に対
して画像処理を行い、基板検査を行うものであった。
2. Description of the Related Art Conventional substrate inspection apparatus and inspection method (JP-A-4-329344 and JP-A-5-52534).
A pair of upper and lower two light sources are used as a lower light source and an upper light source, an image captured by a CCD camera when only the lower light source is turned on is set as an image 1, and when only the upper light source is turned on, C
By taking the image captured by the CD camera as image 2 and taking the difference between image 1 and image 2, image processing is performed on the obtained image and board inspection is performed.

【0003】[0003]

【発明が解決しようとする課題】上記従来の基板の検査
装置および検査方法は、前記検査する基板に配設されて
いる部品のリードは、検査する基板毎に幅、厚さ等が異
なり、半田付け状態が微妙に異なるため、光源の角度お
よび照度が一定の状態では、明確に良品と不良品との差
を出すことが出来ないという問題があった。
In the above-described conventional board inspection apparatus and method, the leads of the components provided on the board to be inspected have different widths and thicknesses for each board to be inspected, There is a problem that the difference between a non-defective product and a defective product cannot be clearly obtained when the angle and the illuminance of the light source are constant because the attachment state is slightly different.

【0004】また従来の基板の検査装置および検査方法
は、検査に必要なエリア以外の部分の画像データも処理
するため、画像の差をとるために処理時間がかかり、全
体の検査時間が長くなるという問題があった。
In addition, the conventional board inspection apparatus and method also process image data in a portion other than the area required for the inspection. Therefore, it takes a long processing time to obtain a difference between images, and the entire inspection time becomes long. There was a problem.

【0005】本発明者は、基板の表面に光を照射する間
隔をおいて配設された上下一対の光源を異なったタイミ
ングで駆動し、前記上下一対の光源の相対的位置関係を
調整し、相対的位置関係が調整された前記上下一対の光
源によって照射された基板の表面を撮像し、前記撮像さ
れた前記基板の表面の前記上下一対の光源による画像デ
ータの差により良否を判定するという本発明の第1の技
術的思想に着眼した。
The inventor of the present invention drives a pair of upper and lower light sources disposed at intervals to irradiate light on the surface of the substrate at different timings, adjusts a relative positional relationship between the pair of upper and lower light sources, A book for imaging the surface of a substrate illuminated by the pair of upper and lower light sources whose relative positional relationship has been adjusted, and judging pass / fail based on a difference between image data of the imaged surface of the substrate by the pair of upper and lower light sources. The first technical idea of the invention was focused on.

【0006】また本発明者は、ティーチングモードにお
いて、基板と上下一対の光源との角度および該上下一対
の光源の照度を、基板の良品と不良品との差が明確にな
るように設定し、検査モードにおいて、前記設定された
照度で一方の光源を点灯させることにより、前記基板を
照射するとともに他方の光源を消灯し、前記設定された
照度で前記他方の光源を点灯させることにより、前記基
板を照射するとともに前記一方の光源を消灯し、前記上
下一対の光源によって照射された基板の表面を撮像装置
によって撮像し、前記撮像装置によって撮像された前記
基板の表面の画像データの差を画像処理装置により、良
否を判定するという本発明の第2の技術的思想に着眼し
た。
In the teaching mode, the inventor sets the angle between the substrate and the pair of upper and lower light sources and the illuminance of the upper and lower pair of light sources so that the difference between a non-defective substrate and a defective substrate is clear. In the inspection mode, by illuminating one light source with the set illuminance, irradiating the substrate and turning off the other light source, and turning on the other light source with the set illuminance, the substrate And one of the light sources is turned off, the surface of the substrate illuminated by the pair of upper and lower light sources is imaged by an imaging device, and a difference between image data of the surface of the substrate imaged by the imaging device is processed. The second technical idea of the present invention, in which the device is used to determine the quality, was focused on.

【0007】さらに本発明者は、さらに研究開発を重ね
た結果、良品と不良品との差を明確にするとともに、検
査に必要なエリア内の画像データのみを処理するため、
画像の差をとるために処理時間を短くして、全体の検査
時間を短くするという目的を達成する本発明に到達し
た。
Further, as a result of further research and development, the present inventor has clarified the difference between a non-defective product and a defective product, and processes only image data in an area required for inspection.
The present invention has been achieved which achieves the object of shortening the processing time in order to take the image difference and shortening the overall inspection time.

【0008】[0008]

【課題を解決するための手段】本発明(請求項1に記載
の第1発明)の基板の検査装置は、基板の表面に光を照
射する間隔をおいて配設された上下一対の光源と、前記
上下一対の光源を異なったタイミングで駆動する駆動装
置と、前記上下一対の光源の相対的位置関係を調整し得
る相対位置調整機構と、相対的位置関係が調整された前
記上下一対の光源によって照射された基板の表面を撮像
する撮像装置と、前記撮像装置によって撮像された前記
基板の表面の前記上下一対の光源による画像データの差
により良否を判定する画像処理装置とから成るものであ
る。
According to a first aspect of the present invention, there is provided an apparatus for inspecting a substrate, comprising: a pair of upper and lower light sources disposed at an interval for irradiating light to the surface of the substrate; A driving device that drives the pair of upper and lower light sources at different timings, a relative position adjusting mechanism that can adjust a relative positional relationship between the pair of upper and lower light sources, and the pair of upper and lower light sources whose relative positional relationship is adjusted And an image processing apparatus for determining whether or not the surface of the substrate is imaged by the image capturing apparatus based on a difference between image data obtained by the pair of upper and lower light sources. .

【0009】本発明(請求項2に記載の第2発明)の基
板の検査装置は、前記第1発明において、前記相対位置
調整機構が、前記上下一対の光源の一方の光源の位置を
調整する位置調整機構によって構成されているものであ
る。
According to a second aspect of the present invention, in the substrate inspecting apparatus of the first aspect, the relative position adjusting mechanism adjusts a position of one of the upper and lower light sources. It is constituted by a position adjusting mechanism.

【0010】本発明(請求項3に記載の第3発明)の基
板の検査装置は、前記第2発明において、前記撮像装置
によって撮像された前記基板の表面の前記上下一対の光
源による画像データの差をとる画像データの範囲を規制
する検査枠を備えているものである。
According to a third aspect of the present invention, in the substrate inspection apparatus according to the second aspect of the present invention, in the second aspect of the present invention, the image data of the surface of the substrate imaged by the imaging device by the pair of upper and lower light sources is obtained. An inspection frame for regulating the range of the image data from which the difference is obtained is provided.

【0011】本発明(請求項4に記載の第4発明)の基
板の検査方法は、ティーチングモードにおいて、基板と
上下一対の光源との角度および該上下一対の光源の照度
を、基板の良品と不良品との差が明確になるように設定
し、検査モードにおいて、前記設定された照度で一方の
光源を点灯させることにより、前記基板を照射するとと
もに他方の光源を消灯し、前記設定された照度で前記他
方の光源を点灯させることにより、前記基板を照射する
とともに前記一方の光源を消灯し、前記上下一対の光源
によって照射された基板の表面を撮像装置によって撮像
し、前記撮像装置によって撮像された前記基板の表面の
画像データの差を画像処理装置により、良否を判定する
ものである。
According to a fourth aspect of the present invention, in the teaching mode, the angle between the substrate and the pair of upper and lower light sources and the illuminance of the upper and lower light sources are determined in the teaching mode. The difference between the defective product is set to be clear, and in the inspection mode, by turning on one light source with the set illuminance, the substrate is illuminated and the other light source is turned off, and the setting is performed. By illuminating the other light source with illuminance, the substrate is illuminated and the one light source is turned off, the surface of the substrate illuminated by the pair of upper and lower light sources is imaged by an imaging device, and the imaging device is imaged by the imaging device. The quality of the image data on the surface of the substrate is determined by an image processing apparatus.

【0012】本発明(請求項5に記載の第5発明)の基
板の検査方法は、前記第4発明において、前記ティーチ
ングモードにおいて、前記基板の表面の前記画像データ
の差を求める画像データの範囲を規制する検査枠を設定
するものである。
According to a fifth aspect of the present invention, in the fourth aspect of the present invention, in the teaching mode, a range of image data for obtaining a difference between the image data on the surface of the substrate in the teaching mode. Is to set an inspection frame that regulates

【0013】本発明(請求項6に記載の第6発明)の基
板の検査方法は、前記第5発明において、前記ティーチ
ングモードにおいて、前記求めた前記画像データの差を
比較して2値化処理するための基準値を設定するもので
ある。
According to a sixth aspect of the present invention, in the fifth aspect of the present invention, in the fifth aspect of the invention, in the teaching mode, the difference between the obtained image data is compared with a binary process. This is for setting a reference value for performing the operation.

【0014】[0014]

【発明の作用および効果】上記構成より成る第1発明の
基板の検査装置は、前記駆動装置が、前記基板の表面に
光を照射する間隔をおいて配設された前記上下一対の光
源を異なったタイミングで駆動し、前記相対位置調整機
構が、前記上下一対の光源の相対的位置関係を調整し、
前記撮像装置が、相対的位置関係が調整された前記上下
一対の光源によって照射された基板の表面を撮像し、撮
像された前記基板の表面の前記上下一対の光源による画
像データの差により前記画像処理装置によって良否を判
定するので、良品と不良品との差を明確にするという効
果を奏する。
According to the first aspect of the present invention, there is provided a board inspection apparatus having the above-described configuration, wherein the driving device is different from the upper and lower light sources arranged at intervals to irradiate light to the surface of the board. Driving at the timing, the relative position adjustment mechanism adjusts the relative positional relationship between the pair of upper and lower light sources,
The imaging device captures an image of the surface of the substrate illuminated by the pair of upper and lower light sources whose relative positional relationship has been adjusted, and obtains the image based on a difference between image data of the captured surface of the substrate by the upper and lower light sources. Since the pass / fail is determined by the processing device, it is possible to clarify the difference between the non-defective product and the defective product.

【0015】上記構成より成る第2発明の基板の検査装
置は、前記第1発明において、前記相対位置調整機構を
構成する前記位置調整機構が、前記上下一対の光源の一
方の光源の位置を調整するので、簡単な機構により、良
品と不良品との差を明確にするという効果を奏する。
According to a second aspect of the present invention, in the substrate inspection apparatus according to the first aspect, the position adjusting mechanism constituting the relative position adjusting mechanism adjusts a position of one of the upper and lower light sources. Therefore, an effect of clarifying the difference between a non-defective product and a defective product by a simple mechanism is achieved.

【0016】上記構成より成る第3発明の基板の検査装
置は、前記第2発明において、前記撮像装置によって撮
像された前記基板の表面の前記上下一対の光源による画
像データの差をとる画像データの範囲を規制する検査枠
を備えているので、検査に必要なエリア内の画像データ
のみを処理するため、画像の差をとるための処理時間を
短くして、全体の検査時間を短くするという効果を奏す
る。
In the third aspect of the present invention, the board inspection apparatus according to the third aspect of the present invention is the board inspection apparatus of the second aspect, wherein the image data obtained by taking the difference between the image data of the surface of the board captured by the imaging device by the pair of upper and lower light sources. With the inspection frame that regulates the range, only the image data in the area required for inspection is processed, so the processing time for taking the image difference is shortened and the overall inspection time is shortened. To play.

【0017】上記構成より成る第4発明の基板の検査方
法は、ティーチングモードにおいて、前記上下一対の光
源との角度および照度を、基板の良品と不良品との差が
明確になるように予め設定するので、検査する基板に応
じた最適な前記光源の角度および照度による検査を可能
にするという効果を奏する。
According to a fourth aspect of the present invention, in the teaching mode, the angles and illuminances of the pair of upper and lower light sources are set in advance in the teaching mode so that the difference between a non-defective substrate and a defective substrate is clarified. Therefore, there is an effect that it is possible to perform an inspection based on an optimum angle and illuminance of the light source according to a substrate to be inspected.

【0018】上記構成より成る第5発明の基板の検査方
法は、前記第4発明において、前記ティーチングモード
において、前記基板の表面の前記画像データの差を求め
る画像データの範囲を規制する検査枠を設定するので、
検査に必要なエリア内の画像データのみを処理するた
め、画像の差をとるための処理時間を短くして、全体の
検査時間を短くするという効果を奏する。
According to the fifth aspect of the present invention, in the fourth aspect of the present invention, in the teaching mode, an inspection frame for regulating a range of image data for obtaining a difference between the image data on the surface of the substrate in the teaching mode. To set,
Since only the image data in the area required for the inspection is processed, the processing time for obtaining the difference between the images is shortened, so that the entire inspection time is shortened.

【0019】上記構成より成る第6発明の基板の検査方
法は、前記第5発明において、前記ティーチングモード
において、前記求めた前記画像データの差を比較して2
値化処理するための基準値を設定するので、設定された
前記基準値と前記画像の差とを比較して2値化処理する
ため、簡単な処理により、良品と不良品との判別を確実
にするという効果を奏する。
According to the sixth aspect of the present invention, in the method for inspecting a substrate according to the fifth aspect of the present invention, in the teaching mode, the difference between the obtained image data is compared by two.
Since the reference value for the value processing is set, the difference between the set reference value and the image is compared and the binarization processing is performed. This has the effect of

【0020】[0020]

【発明の実施の形態】以下本発明の実施の形態につき、
図面を用いて説明する。
DESCRIPTION OF THE PREFERRED EMBODIMENTS Embodiments of the present invention are described below.
This will be described with reference to the drawings.

【0021】(第1実施形態)本第1実施形態の基板の
検査装置および検査方法は、図1ないし図4に示される
ように基板10の表面に光を照射する間隔をおいて配設
された上下一対の光源1、2と、前記上下一対の光源
1、2を異なったタイミングで駆動する駆動装置3、4
と、前記上下一対の光源の相対的位置関係を調整し得る
相対位置調整機構6と、相対的位置関係が調整された前
記上下一対の光源1、2によって照射された前記基板1
0の表面を撮像する撮像装置8と、前記撮像装置8によ
って撮像された前記基板10の表面の前記上下一対の光
源1、2による画像データの差により良否を判定する画
像処理装置5とから成るものである。
(First Embodiment) A substrate inspection apparatus and an inspection method according to a first embodiment are arranged at intervals for irradiating light to the surface of a substrate 10 as shown in FIGS. And a pair of upper and lower light sources 1 and 2 and driving devices 3 and 4 for driving the upper and lower light sources 1 and 2 at different timings.
A relative position adjusting mechanism 6 capable of adjusting the relative positional relationship between the pair of upper and lower light sources; and the substrate 1 illuminated by the pair of upper and lower light sources 1 and 2 whose relative positional relationship has been adjusted.
An imaging device 8 for imaging the surface of the substrate 10; and an image processing device 5 for judging pass / fail based on a difference between image data of the upper and lower light sources 1, 2 on the surface of the substrate 10 imaged by the imaging device 8. Things.

【0022】前記撮像装置8は、図1および図3に示さ
れるようにCCDカメラ81とレンズ82によって構成
され、図2に示されるように直交座標系のX軸ロボット
11とY軸ロボット12によってX軸およびY軸上の位
置が制御される部材13に配設される。
The imaging device 8 comprises a CCD camera 81 and a lens 82 as shown in FIGS. 1 and 3, and an X-axis robot 11 and a Y-axis robot 12 in a rectangular coordinate system as shown in FIG. It is arranged on a member 13 whose position on the X axis and the Y axis is controlled.

【0023】前記相対位置調整機構6は、図1ないし図
3に示されるように前記上下一対の光源1、2の一方の
下光源2の位置をZ軸方向に調整する位置調整機構60
によって構成され、可動部材61によって、コンベア7
上を搬送するとともに位置決めされ表面にチップおよび
リード線その他の表面実装部品9が配設される前記基板
10と前記下光源2との間の距離および角度を調整する
ように構成されている。
As shown in FIGS. 1 to 3, the relative position adjusting mechanism 6 adjusts the position of the lower light source 2 of one of the pair of upper and lower light sources 1 and 2 in the Z-axis direction.
The movable member 61, the conveyor 7
It is configured so as to adjust the distance and angle between the lower light source 2 and the substrate 10 that is conveyed above and positioned and has a chip, a lead wire, and other surface mount components 9 disposed on the surface thereof.

【0024】間隔をおいて配設された上下一対の光源
1、2は、前記部材13に一端が固着された第1の環状
のリング部材14および前記位置調整機構60の前記可
動部材61に一端が固着された第2の環状のリング部材
24の下面の円周上に一定間隔で複数の光源が配設され
ている。
A pair of upper and lower light sources 1 and 2 arranged at an interval are connected to a first annular ring member 14 having one end fixed to the member 13 and one end to the movable member 61 of the position adjusting mechanism 60. A plurality of light sources are arranged at regular intervals on the circumference of the lower surface of the second annular ring member 24 to which is fixed.

【0025】前記CCDカメラ81とレンズ82は、図
3および図4に示されるように前記第1および第2の環
状のリング部材14および24の中央の円形開口部に同
軸的に配置されるように前記部材13に配設され、前記
一対の光源1、2によって照射された前記基板10の前
記表面実装部品9を撮像するように構成されている。
The CCD camera 81 and the lens 82 are arranged coaxially in the central circular openings of the first and second annular ring members 14 and 24 as shown in FIGS. The surface mounted component 9 of the substrate 10 illuminated by the pair of light sources 1 and 2 is imaged.

【0026】前記駆動装置3は、図1に示されるように
前記上光源1に接続され、前記駆動装置4は、前記下光
源2に接続され、最適な照度で前記光源1、2を駆動す
るように調整されているとともに、一方の光源が駆動さ
れた時には他方の光源は駆動されないように構成されて
いる。
The driving device 3 is connected to the upper light source 1 as shown in FIG. 1, and the driving device 4 is connected to the lower light source 2 to drive the light sources 1 and 2 at an optimum illuminance. The configuration is such that when one light source is driven, the other light source is not driven.

【0027】前記画像処理装置5は、前記駆動装置3お
よび4に接続されるとともに、前記位置調整機構60に
接続されたパソコンによって構成され、前記上下一対の
光源1、2の角度(位置)および照度の設定、および検
査枠および2値化の閾値としての基準値の設定を行うテ
ィーチングモードおよび設定に従い基板10の検査を行
う検査モードにおける各種設定および画像処理の内容が
予め記憶装置に格納されている。
The image processing device 5 is connected to the driving devices 3 and 4 and is constituted by a personal computer connected to the position adjusting mechanism 60. The image processing device 5 includes an angle (position) of the pair of upper and lower light sources 1 and 2, and The contents of various settings and image processing in the teaching mode for setting the illuminance and for setting the inspection frame and the reference value as the threshold value for binarization and the inspection mode for inspecting the substrate 10 according to the settings are stored in the storage device in advance. I have.

【0028】ティーチングモードにおける各種設定およ
び画像処理の内容について、図5を用いて説明する。ス
テップ101において、基板10を前記コンベア7によ
って検査位置に移動させ、ステップ102において、検
査モードの設定を行う。
The contents of various settings and image processing in the teaching mode will be described with reference to FIG. In step 101, the substrate 10 is moved to the inspection position by the conveyor 7, and in step 102, an inspection mode is set.

【0029】ステップ103において、図7に示される
ように画像データ量を減らし、検査に必要な箇所のみを
カバーするように検査枠が設定され、ステップ104に
おいて検査枠ナンバーが設定される。
In step 103, as shown in FIG. 7, an inspection frame is set so as to reduce the amount of image data and cover only a portion necessary for inspection, and an inspection frame number is set in step 104.

【0030】ステップ105において、前記位置調整機
構60によって、基板の良品と不良品との差が明確にな
るように前記下光源2の位置が調整され、ステップ10
6において、前記上下の光源1、2が最適な照度で駆動
されるように設定調整される。
In step 105, the position of the lower light source 2 is adjusted by the position adjusting mechanism 60 so that the difference between a non-defective substrate and a defective substrate is clarified.
At 6, the settings are adjusted so that the upper and lower light sources 1 and 2 are driven with optimal illuminance.

【0031】ステップ107において、前記下光源2の
み点灯させたときの画像1を、前記CCDカメラ81に
よって取り込み、ステップ108において、前記上光源
1のみ点灯させたときの画像2を、前記CCDカメラ8
1によって取り込む。
In step 107, the image 1 when only the lower light source 2 is turned on is captured by the CCD camera 81, and in step 108, the image 2 when only the upper light source 1 is turned on is captured by the CCD camera 8.
Capture by 1.

【0032】ステップ109において、取り込んだ前記
画像1と画像2との差をとり、ステップ110におい
て、基板の良品と不良品との差が明確になるような2値
化を行うための閾値としての基準値を設定する。
In step 109, the difference between the captured image 1 and image 2 is calculated, and in step 110, a threshold value for performing binarization so that the difference between a non-defective substrate and a defective substrate is clear. Set the reference value.

【0033】ステップ111において、設定された前記
基準値に基づき取り込んだ前記画像1と画像2との差を
2値化して、その面積を演算して測定し、ステップ11
2において、測定した面積に基づき前記基板の良否を判
定する。
In step 111, the difference between the captured image 1 and image 2 is binarized based on the set reference value, and the area is calculated and measured.
In 2, the quality of the substrate is determined based on the measured area.

【0034】良否の差が明確であり判定がうまく行える
ようであれば、ステップ113において、閾値としての
基準値の設定を完了し、ステップ114において、前記
光源1、2の照度の設定を完了する。
If the difference between good and bad is clear and the judgment can be made well, the setting of the reference value as the threshold is completed in step 113, and the setting of the illuminance of the light sources 1 and 2 is completed in step 114. .

【0035】ステップ115において、全ての設定を完
了すると、ステップ116において、ティーチングを完
了し、ステップ117において、データをセーブする。
When all the settings are completed in step 115, the teaching is completed in step 116, and the data is saved in step 117.

【0036】検査モードにおける画像処理の内容につい
て、図6を用いて説明する。ステップ201において、
基板10を前記コンベア7によって検査位置に移動さ
せ、ステップ202において、検査モードの読み込みを
行う。
The contents of the image processing in the inspection mode will be described with reference to FIG. In step 201,
The board 10 is moved to the inspection position by the conveyor 7, and in step 202, the inspection mode is read.

【0037】ステップ203において、前記位置調整機
構60によって、前記ティーチングモードにおいて設定
された位置に前記下光源2の位置が調整され、ステップ
204において、前記上下の光源1、2が設定された前
記最適な照度で駆動されるように設定調整される。
In step 203, the position of the lower light source 2 is adjusted by the position adjusting mechanism 60 to the position set in the teaching mode. In step 204, the upper and lower light sources 1 and 2 are set to the optimum positions. The setting is adjusted so as to be driven at an appropriate illuminance.

【0038】ステップ205において、前記下光源2の
み点灯させて、前記CCDカメラ81によって画像1
(図7)を取り込み、ステップ206において、前記上
光源1のみ点灯させて、前記CCDカメラ81によって
画像2(図8)を取り込む。
In step 205, only the lower light source 2 is turned on, and the image 1 is
(FIG. 7). At step 206, only the upper light source 1 is turned on, and the CCD camera 81 captures an image 2 (FIG. 8).

【0039】ステップ207において、取り込んだ前記
画像1と画像2との差(図9)をとり、ステップ208
において、設定された前記基準値に基づき取り込んだ前
記画像1と画像2との差を2値化処理(図10)し、ス
テップ209において、面積プログラムを用いてその面
積(図10中黒の部分の面積)を演算して測定し、ステ
ップ210において、測定した面積に基づき前記基板の
良否を判定する。
In step 207, the difference between the captured image 1 and image 2 (FIG. 9) is calculated, and step 208 is performed.
In step 209, the difference between the image 1 and the image 2 captured based on the set reference value is binarized (FIG. 10), and in step 209, the area (black area in FIG. Is calculated and measured, and in step 210, the quality of the substrate is determined based on the measured area.

【0040】ステップ211において、最終位置かどう
か判定され、ステップ212において、不良品かどうか
判定され、不良品が検出されたら、ステップ213にお
いて、不良ナンバーが表示される。
At step 211, it is determined whether or not it is the final position. At step 212, it is determined whether or not the product is defective. If a defective product is detected, a defective number is displayed at step 213.

【0041】上記構成より成る第1実施形態の基板の検
査装置および検査方法は、ティーチングモードにおいて
は、検査対象物である前記基板10の良品と不良品との
差が明確になるように、前記上下一対の光源1、2の照
度および下光源2の角度(位置)、画像データを必要な
範囲に規制する検査枠および閾値としての基準値を、検
査対象物である前記基板10毎に予め設定しておくモー
ドであって、一度予め行うだけで良く、設定されたデー
タは前記画像処理装置5の記憶装置に記憶される。
The board inspection apparatus and the inspection method according to the first embodiment having the above-described configuration are arranged so that, in the teaching mode, the difference between the non-defective product and the non-defective product of the substrate 10 to be inspected is clarified. The illuminance of the pair of upper and lower light sources 1 and 2, the angle (position) of the lower light source 2, an inspection frame for regulating image data to a required range, and a reference value as a threshold are set in advance for each substrate 10 to be inspected. This is a mode in which the setting is performed only once and the set data is stored in the storage device of the image processing apparatus 5.

【0042】検査モードにおいては、図3に示されるよ
うに検査対象物である基板10の真上に前記光源1、2
およびCCDカメラ81を移動させ、前記ティーチング
モードで設定された照度で前記下光源2を点灯させ、該
下光源2の角度(位置)決めを行う。この時、上光源1
は消灯する。その後、前記CCDカメラ81で画像1を
取り込む。
In the inspection mode, as shown in FIG. 3, the light sources 1 and 2 are placed just above a substrate 10 to be inspected.
Then, the CCD camera 81 is moved, the lower light source 2 is turned on with the illuminance set in the teaching mode, and the angle (position) of the lower light source 2 is determined. At this time, the upper light source 1
Turns off. Thereafter, the image 1 is captured by the CCD camera 81.

【0043】次に、前記ティーチングモードで設定され
た照度で前記上光源1を点灯させ、この時、下光源2は
消灯する。その後、前記CCDカメラ81で画像2を取
り込む。
Next, the upper light source 1 is turned on with the illuminance set in the teaching mode, and at this time, the lower light source 2 is turned off. Thereafter, the image 2 is captured by the CCD camera 81.

【0044】前記ティーチングモードで設定された検査
枠内のみ前記取り込んだ画像1と画像2との差を求め、
その差が設定された閾値としての基準値以上「黒」もし
くは以下「白」の2値化データ(図10)の面積を演算
して、前記基板10の良否判定を行うものである。
The difference between the captured image 1 and the captured image 2 is obtained only within the inspection frame set in the teaching mode,
The quality of the substrate 10 is determined by calculating the area of the binarized data (FIG. 10) of “black” or “white” which is equal to or greater than the reference value as the threshold value at which the difference is set.

【0045】すなわち、基板10において半田が付いて
いない不良品である未半田不良だと、2値化処理後の画
像が、図11に示されるように検査枠全体が「白」とな
り、「黒」の面積を求めて殆どゼロとなり、「黒」の部
分の大きさにより、良品と不良品の判定を行うことが出
来るものである。
That is, if the board 10 is an unsoldering defect which is a defective product to which no solder is attached, the image after the binarization processing is such that the entire inspection frame becomes "white" as shown in FIG. Is almost zero when the area of "" is obtained, and it is possible to determine a good product and a defective product based on the size of the "black" portion.

【0046】上記作用を奏する第1実施形態の基板の検
査装置は、前記位置調整機構60が、前記上下一対の光
源1、2の相対的位置関係を調整し、前記撮像装置8
が、相対的位置関係が調整された前記上下一対の光源
1、2によって照射された基板の表面を撮像し、撮像さ
れた前記基板10の表面の画像データの差により前記画
像処理装置によって良否を判定するので、良品と不良品
との差を明確にして、判定を確実にするという効果を奏
する。
In the substrate inspection apparatus according to the first embodiment having the above-described operation, the position adjusting mechanism 60 adjusts the relative positional relationship between the pair of upper and lower light sources 1 and 2, and
Captures an image of the surface of the substrate illuminated by the pair of upper and lower light sources 1 and 2 whose relative positional relationship has been adjusted, and determines whether or not the image processing device determines pass / fail based on a difference between the captured image data of the surface of the substrate 10. Since the determination is made, the effect of clarifying the difference between the non-defective product and the defective product and ensuring the determination is achieved.

【0047】また第1実施形態の基板の検査装置は、前
記位置調整機構60が、前記上下一対の光源1、2の一
方の光源の位置を調整するので、簡単な機構により、良
品と不良品との差を明確にして、判定を確実にするとい
う効果を奏する。
In the substrate inspection apparatus of the first embodiment, the position adjusting mechanism 60 adjusts the position of one of the upper and lower light sources 1 and 2 so that a non-defective product and a defective product can be obtained by a simple mechanism. This has the effect of clarifying the difference from the above and making sure the determination.

【0048】さらに第1実施形態の基板の検査装置は、
前記撮像装置8によって撮像された前記基板10の表面
の前記上下一対の光源1、2による画像データの差をと
る画像データの範囲を規制する前記検査枠を備えている
ので、検査に必要なエリア内の画像データのみを処理す
るため、画像の差をとるための処理時間を短くして、全
体の検査時間を短くするという効果を奏する。
Further, the substrate inspection apparatus of the first embodiment
An area necessary for inspection is provided because the inspection frame is provided to regulate a range of image data on a surface of the substrate 10 imaged by the imaging device 8 by the pair of upper and lower light sources 1 and 2. Since only the image data in the image data is processed, the processing time for obtaining the difference between the images is shortened, and the effect of shortening the entire inspection time is achieved.

【0049】また第1実施形態の基板の検査方法は、テ
ィーチングモードにおいて、前記上下一対の光源との角
度および照度を、前記基板10の良品と不良品との差が
明確になるように予め設定するので、検査する基板に応
じた最適な前記光源の角度および照度による検査を可能
にして、良品と不良品との判定を確実にするという効果
を奏する。
In the board inspection method according to the first embodiment, in the teaching mode, the angles and the illuminances of the upper and lower light sources are set in advance so that the difference between the non-defective substrate and the defective substrate 10 becomes clear. Therefore, it is possible to perform an inspection based on the angle and illuminance of the light source that is optimal for the substrate to be inspected, and it is possible to reliably determine a good product and a defective product.

【0050】さらに第1実施形態の基板の検査方法は、
前記ティーチングモードにおいて、前記基板10の表面
の前記画像データの差を求める画像データの範囲を規制
する検査枠を設定するので、検査に必要なエリア内の画
像データのみを処理するため、画像処理を高速にし、処
理時間を短くして、全体の検査時間を短くするという効
果を奏する。
Further, the board inspection method of the first embodiment is as follows.
In the teaching mode, an inspection frame is set to regulate a range of image data for obtaining a difference between the image data on the surface of the substrate 10, so that only image data in an area required for inspection is processed. This has the effect of increasing the speed, shortening the processing time, and shortening the overall inspection time.

【0051】また第1実施形態の基板の検査方法は、前
記ティーチングモードにおいて、前記求めた前記画像デ
ータの差を比較して2値化処理するための基準値を設定
するので、設定された前記基準値と前記画像の差とを比
較して2値化処理して、その面積から前記基板の良否を
判定するため、簡単な処理により、良品と不良品との判
別を確実にするという効果を奏する。
In the method for inspecting a substrate according to the first embodiment, in the teaching mode, a reference value for binarization processing is set by comparing the obtained difference between the image data. Since the binarization process is performed by comparing the reference value with the difference between the images and the quality of the substrate is determined from the area thereof, the effect of reliably discriminating the non-defective product from the non-defective product by a simple process can be obtained. Play.

【0052】上述の実施形態は、説明のために例示した
もので、本発明としてはそれらに限定されるものでは無
く、特許請求の範囲、発明の詳細な説明および図面の記
載から当業者が認識することができる本発明の技術的思
想に反しない限り、変更および付加が可能である。
The above-described embodiments have been described by way of example only, and the present invention is not limited to these embodiments. Those skilled in the art will recognize from the claims, the detailed description of the invention, and the drawings. Modifications and additions are possible without departing from the technical idea of the present invention.

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

【図1】本発明の第1実施形態の基板の検査装置の全体
を示す説明図である。
FIG. 1 is an explanatory diagram showing an entire board inspection apparatus according to a first embodiment of the present invention.

【図2】本第1実施形態の基板の検査装置の移動機構お
よび光学系を示す斜視図である。
FIG. 2 is a perspective view illustrating a moving mechanism and an optical system of the substrate inspection apparatus according to the first embodiment.

【図3】本第1実施形態における光学系および下光源の
位置調整機構を示す側面図である。
FIG. 3 is a side view showing an optical system and a position adjusting mechanism of a lower light source in the first embodiment.

【図4】本第1実施形態における下光源および位置調整
機構を示す底面図である。
FIG. 4 is a bottom view showing the lower light source and the position adjusting mechanism in the first embodiment.

【図5】本第1実施形態におけるティーチングモードの
手順を示すチャート図である。
FIG. 5 is a chart showing a procedure in a teaching mode in the first embodiment.

【図6】本第1実施形態における検査モードの手順を示
すチャート図である。
FIG. 6 is a chart showing a procedure in an inspection mode according to the first embodiment.

【図7】本第1実施形態において取り込まれた画像1を
説明する説明図である。
FIG. 7 is an explanatory diagram illustrating an image 1 captured in the first embodiment.

【図8】本第1実施形態において取り込まれた画像2を
説明する説明図である。
FIG. 8 is an explanatory diagram illustrating an image 2 captured in the first embodiment.

【図9】本第1実施形態における画像1と画像2との差
の画像を説明する説明図である。
FIG. 9 is an explanatory diagram illustrating an image of a difference between image 1 and image 2 in the first embodiment.

【図10】本第1実施形態における画像1と画像2との
差の画像の2値化処理後の画像を説明する説明図であ
る。
FIG. 10 is an explanatory diagram illustrating an image after a binarization process of an image of a difference between the image 1 and the image 2 in the first embodiment.

【図11】本第1実施形態における半田不良の場合の2
値化処理画像を説明する説明図である。
FIG. 11 is a view illustrating a case 2 of a solder failure in the first embodiment.
FIG. 4 is an explanatory diagram illustrating a value-processed image.

【符号の説明】 1、2 光源 3、4 駆動装置 5 画像処理装置 6 相対位置調整機構 8 撮像装置 10 基板[Description of Signs] 1, 2 light sources 3, 4 driving device 5 image processing device 6 relative position adjusting mechanism 8 imaging device 10 substrate

Claims (6)

【特許請求の範囲】[Claims] 【請求項1】 基板の表面に光を照射する間隔をおいて
配設された上下一対の光源と、 前記上下一対の光源を異なったタイミングで駆動する駆
動装置と、 前記上下一対の光源の相対的位置関係を調整し得る相対
位置調整機構と、 相対的位置関係が調整された前記上下一対の光源によっ
て照射された基板の表面を撮像する撮像装置と、 前記撮像装置によって撮像された前記基板の表面の前記
上下一対の光源による画像データの差により良否を判定
する画像処理装置とから成ることを特徴とする基板の検
査装置。
A pair of upper and lower light sources disposed at intervals to irradiate light to a surface of a substrate; a driving device for driving the pair of upper and lower light sources at different timings; A relative position adjusting mechanism capable of adjusting a relative positional relationship, an image capturing apparatus that captures an image of the surface of the substrate illuminated by the pair of upper and lower light sources whose relative positional relationship has been adjusted, and an image capturing device that captures an image of the substrate captured by the image capturing apparatus. An image processing device for judging pass / fail based on a difference in image data between the pair of upper and lower light sources on the surface.
【請求項2】 請求項1において、 前記相対位置調整機構が、前記上下一対の光源の一方の
光源の位置を調整する位置調整機構によって構成されて
いることを特徴とする基板の検査装置。
2. The substrate inspection apparatus according to claim 1, wherein the relative position adjusting mechanism is constituted by a position adjusting mechanism for adjusting a position of one of the upper and lower light sources.
【請求項3】 請求項2において、 前記撮像装置によって撮像された前記基板の表面の前記
上下一対の光源による画像データの差をとる画像データ
の範囲を規制する検査枠を備えていることを特徴とする
基板の検査装置。
3. The inspection frame according to claim 2, further comprising an inspection frame that regulates a range of image data obtained by taking a difference between image data obtained by the pair of upper and lower light sources on the surface of the substrate imaged by the imaging device. Board inspection equipment.
【請求項4】 ティーチングモードにおいて、基板と上
下一対の光源との角度および該上下一対の光源の照度
を、基板の良品と不良品との差が明確になるように設定
し、 検査モードにおいて、前記設定された照度で一方の光源
を点灯させることにより、前記基板を照射するとともに
他方の光源を消灯し、 前記設定された照度で前記他方の光源を点灯させること
により、前記基板を照射するとともに前記一方の光源を
消灯し、 前記上下一対の光源によって照射された基板の表面を撮
像装置によって撮像し、 前記撮像装置によって撮像された前記基板の表面の画像
データの差を画像処理装置により、良否を判定すること
を特徴とする基板の検査方法。
4. In the teaching mode, the angle between the substrate and the pair of upper and lower light sources and the illuminance of the upper and lower pair of light sources are set so that the difference between a non-defective product and a defective product of the substrate becomes clear. By illuminating one of the light sources at the set illuminance, the substrate is irradiated and the other light source is turned off, and by illuminating the other light source at the set illuminance, the substrate is irradiated. The one light source is turned off, the surface of the substrate illuminated by the pair of upper and lower light sources is imaged by an imaging device, and a difference between image data of the surface of the substrate imaged by the imaging device is determined by an image processing device. A board inspection method, characterized in that:
【請求項5】 請求項4において、 前記ティーチングモードにおいて、前記基板の表面の前
記画像データの差を求める画像データの範囲を規制する
検査枠を設定することを特徴とする基板の検査方法。
5. The substrate inspection method according to claim 4, wherein in the teaching mode, an inspection frame is set to regulate a range of image data for obtaining a difference between the image data on the surface of the substrate.
【請求項6】 請求項5において、 前記ティーチングモードにおいて、前記求めた前記画像
データの差を比較して2値化処理するための基準値を設
定することを特徴とする基板の検査方法。
6. The substrate inspection method according to claim 5, wherein in the teaching mode, a reference value for performing a binarization process by comparing the obtained difference between the image data is set.
JP13033697A 1997-05-02 1997-05-02 Apparatus and method for inspection of substrate Pending JPH10307007A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP13033697A JPH10307007A (en) 1997-05-02 1997-05-02 Apparatus and method for inspection of substrate

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP13033697A JPH10307007A (en) 1997-05-02 1997-05-02 Apparatus and method for inspection of substrate

Publications (1)

Publication Number Publication Date
JPH10307007A true JPH10307007A (en) 1998-11-17

Family

ID=15031940

Family Applications (1)

Application Number Title Priority Date Filing Date
JP13033697A Pending JPH10307007A (en) 1997-05-02 1997-05-02 Apparatus and method for inspection of substrate

Country Status (1)

Country Link
JP (1) JPH10307007A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110345886A (en) * 2019-07-30 2019-10-18 中国海洋大学 A kind of plant embryos surface area measurement device and method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110345886A (en) * 2019-07-30 2019-10-18 中国海洋大学 A kind of plant embryos surface area measurement device and method

Similar Documents

Publication Publication Date Title
JP2981941B2 (en) Bonding wire inspection device
US6084663A (en) Method and an apparatus for inspection of a printed circuit board assembly
JP2969403B2 (en) Bonding wire inspection device
JP2981942B2 (en) Bonding wire inspection method
JP2014503824A (en) Visual inspection device
JP3235009B2 (en) Bonding wire inspection method
JP2969402B2 (en) Bonding wire inspection device
JP4084383B2 (en) Vision inspection apparatus and vision inspection method using a total reflection mirror
KR101079686B1 (en) Image recognition apparatus and image recognition method
JP2009014696A (en) Illuminance variable illumination section and appearance inspection apparatus for independently moving imaging section
JPH10307007A (en) Apparatus and method for inspection of substrate
JPS639602B2 (en)
KR101123051B1 (en) Vision inspection apparatus
JP2003008295A (en) Method for mounting electronic component and electronic component mounter
KR20130127758A (en) Vision inspection apparatus of improved image visibility
JP3651718B2 (en) Screen printing apparatus and printing method
JP2008241662A (en) Image stabilizing device
KR970002350A (en) Method and apparatus for checking the state of component mounting on a printed circuit board
JP2002277406A (en) Visual inspection method and device therefor
KR0124195Y1 (en) Vision recognition apparatus for p.c.b inspection
JPH05340733A (en) Semiconductor device inspecting device
JPH03208400A (en) Method and relevant device for inspecting electronic component
JP2701872B2 (en) Surface inspection system
KR19990071338A (en) Inspect the Printed Wiring Board Assembly
JPH05302820A (en) Inspection method and device for surface flaw on periodical pattern